question_id int64 1 1.16M | title stringlengths 10 191 | question_body stringlengths 6 2k | answer_body stringlengths 0 2.5k | tags stringclasses 73
values | question_score int64 -15 1.65k | answer_score int64 0 2.91k | view_count int64 4 1.24M | creation_date stringdate 2008-08-01 18:45:00 2025-06-19 04:44:02 | category stringclasses 12
values | source_site stringclasses 8
values |
|---|---|---|---|---|---|---|---|---|---|---|
182,815 | Sharepoint 2007: Two entire site collections went read-only overnight, the other 5 are fine | Myself and a coworker are both Site Admins for every site collection we've got. Well, until Friday night. Most admin privileges were disabled for two entire site collections. There is no custom code running anywhere in MOSS, and there are no workflows set up at all. On both of the affected site collections, my Site Act... | Fixed. We don't have any quotas turned on, but somehow those two site collections got locked. Central Administration -> Application Management -> Site Collection Quotas and Locks. The "Site Lock Information" setting was set to Read-only for both site collections. No clue how it happened, but when we set both back to "N... | 4 | 2 | 925 | 2010-09-20T12:25:14.643 | infrastructure | serverfault.com | |
58,260 | Changing program associations | We currently have two versions of an application (CS3 and CS4) on our XP build. It defaults to the wrong version (CS4) when opening documents. What registry changes do we need to make to change the defaults? (Or a similar scriptable fix)? Thanks | This InformIT article should give you what you need. | 0 | 1 | 62 | 2009-08-25T06:00:57.737 | infrastructure | serverfault.com | |
46,035 | Can I force mysql server to resolve the external ip to localhost? | I'm finally succeeded with ssh tunneling. My point is to open the mysql server to local users only (user@localhost etc.) while providing a remote control to my customers through ssh tunneling. The problem is when I connect through the mysql command line tool ( [CODE] ) I've got a [CODE] (the tunnel redirects from 127.0... | Great, here is the solution I found. I'm chosing to post it here instead of just removing the question since I believe it may be relevant for further reference. Basically the idea is to leave mysql alone but to tell the server to resolve the ip. In the case of my centos6 configuration it means editing the [CODE] file a... | 1 | 0 | 1,706 | 2013-07-10T02:53:56.627 | database_errors | dba.stackexchange.com | |
1,132,070 | Display metric for multiple servers on a single grafana panel, using a Snowflake datasource populated from Kafka | I have a collection of servers which submit metrics to a single kafka topic. This data is stored as a row in a snowflake database in this format: [CODE] I'm using this snowflake plugin: https://github.com/michelin/snowflake-grafana-datasource What I'm trying to do is represent this [CODE] metric on a single grafana pan... | Just add location coulmn to your select, so Grafana can actually differentiate between metrics. Something like this should help: [CODE] | 1 | 0 | 70 | 2023-05-28T03:32:55.790 | bi_errors | serverfault.com | |
40,579 | Restoring a database backup to a local machine in MySQL | I have downloaded my [CODE] file of my database server. It is in the [CODE] drive of my Windows machine. I want to restore the back up in my this machine. I used: [CODE] Where database is my new database name in this machine. My confusion is that my [CODE] is in the [CODE] drive and thus I guess there is error. [CODE] | You should login to mysql like this [CODE] Next, select the database you want to load the data into [CODE] Then, run the script [CODE] Give it a Try !!! | 5 | 8 | 15,742 | 2013-04-22T07:54:33.947 | database_errors | dba.stackexchange.com | |
357,799 | Improving TCP performance over a gigabit network with lots of connections and high traffic of small packets | I’m trying to improve my TCP throughput over a “gigabit network with lots of connections and high traffic of small packets”. My server OS is Ubuntu 11.10 Server 64bit. There are about 50.000 (and growing) clients connected to my server through TCP Sockets (all on the same port). 95% of of my packets have size of 1-150 ... | The problem might be that you are getting too many interrupts on your network card. If Bandwidth is not the problem, frequency is the problem: Turn up send/receive buffers on the network card [CODE] Will show you the current settings (256 or 512 entries). You can probably raise these to 1024, 2048 or 3172. More does pr... | 42 | 23 | 120,883 | 2012-02-07T22:10:16.990 | infrastructure | serverfault.com | |
117,250 | Setting pythonpath for Trac running as fast-cgi | I have a trac install set up using fast-cgi on a server. I'm trying to install the bitten extension to it so I can do continuous integration - however the environment on which trac is running for some reason doesn't have ~/lib/pythonX.X/ in its python path - only /usr/lib/pythonX.X/ this is problematic since I can't in... | Figured this out about ten minutes after posting the question (which was about two hours after starting to try to figure it out) When dealing with trac as fastcgi, in your trac environment directory there is a file called index.fcgi. This file allows you to set environment variables for that particular trac install. I ... | 0 | 1 | 453 | 2010-02-26T18:20:24.850 | infrastructure | serverfault.com | |
249,601 | How can I reduce time spent acquiring the mongodb schema lock? | We have a mongodb 4.0.10 cluster, backed by WiredTiger, in production, with a 3 node replica set consisting of a master and two slaves. One of the slaves has another service co-located that queries the slave extensively. In addressing some slowness in the co-located service I'm seeing a lot of surprisingly slow queries... | This is a general architectural problem with the WiredTiger storage engine. It is now being discussed here: https://jira.mongodb.org/browse/WT-5479 Long story short, your number of open files is too high. If you can, consider removing unnecessary indexes, e.g. indexes on small collections. You could also explore the ne... | 8 | 6 | 1,474 | 2019-09-25T16:15:35.123 | pipeline_ops | dba.stackexchange.com | |
146,215 | Insert Does Not Increment Primary Key Correctly | I need to figure out how to insert into this table without breaking the application that runs on it. When I run an insert statement outside the application, I select the max uid (which is the indexed primary key) and add one, then insert the data with that uid. The application is our ERP and was purchased from a vendor... | The application is our ERP and was purchased from a vendor. Their support does not extend to SQL help so I have no way of seeing how it is doing the insert. There are no sequences in the database at all either. You could run a trace using SQL Profiler to catch the exact statement that your application is executing. Als... | 2 | 1 | 1,956 | 2016-08-08T17:45:11.853 | warehouse_errors | dba.stackexchange.com | |
168,382 | Speed to read small table | I am trying to react to a Sql Table change very quickly. I have set-up a SqlDependency in c# and on receipt I query the table for "New" records. My table contains a few thousand rows. There are 2 areas where delays slip in: SqlDependency. On Average there is a 3 ms delay before I get notified. Table Read. I select all ... | SqlDependency was not really intended for real time type processing. 3 ms is still pretty good. You should only retrieve required columns and you should use a Reader. DataTable has a lot of overhead. And you should be using [CODE] . [CODE] | 0 | 2 | 301 | 2017-03-28T11:02:20.923 | database_errors | dba.stackexchange.com | |
49,518 | How to count categorization instances in a NN? | Say one-hot encoding is the perfect way to represent a series of objects such as clothing items. Ie: A hat is [1 0 0], a tie is [0 1 0]. I want to predict what a customer buys if they spend a certain amount of money, which will serve as an input to the NN. Eg: For one example, the customer spends $22. The thing is, the... | But your intuition about regression is right. Basically, you have multi target regression problem. Each category is a separate target. If your get float output as prediction, you can round it. Float output also makes sense, because it shows you how confident is your model about prediction and the expectation of the num... | 2 | 2 | 48 | 2019-04-18T07:04:45.203 | data_quality | datascience.stackexchange.com | |
532,056 | DFS Namespace / Windows Server 2008 R2 / Win 8 - missing entries | We have a DFS namespace at \\company.example.org\dfs\ and inside that are entries for half a dozen folders. There is one namespace server, and no replication. The shares are all now on one server. Very basic. I use Windows 8 Pro as a desktop, with a drive mapped to \\company.example.org\dfs\companyshare\ Suddenly, and ... | DFS (for some ungodly reason) uses NetBIOS style names (DOMAIN instead of domain.com) by default. This document from Microsoft tells you how to fix it. I suspect your issue is that at times it's able to resolve these names (via WINS, broadcasts etc) and other times not. If that is not it try following this doc on DFS t... | 1 | 2 | 9,977 | 2013-08-19T15:19:19.433 | database_errors | serverfault.com | |
269,289 | How do I check how many HTTP connections are open currently? | I want to know how many people are connected to my server. Since I'm doing comet applications, this is important | There are about a zillion ways to do this but: [CODE] Keep it mind that http is a stateless protocol. Each line can represent one client opening multiple sockets to grab different files (css, images, etc) that will hang out for awhile in a timewait state. | 8 | 29 | 164,656 | 2011-05-13T04:30:52.203 | infrastructure | serverfault.com | |
167,784 | How to map a VPN (tun0) network adapter on host Ubuntu to a VirtualBox guest Windows? | I have a Ubuntu 10.04 running Oracle VirtualBox 3.2.6 with a Windows XP guest. I use a VPN that I would like to be accessed by the guest VM, on a ifconfig it shows as: [CODE] Using NAT or Bridge adapters on the VM only gives me the non-vpn adapter. How can I map the tun0 adapter to VirtualBox? | You can probably do it, but I would recommend against it. The way to go about this is to have the VM establish it's own VPN connection to the target server/network. Now, if you really want to do this, you would need to create another bridge on the host, then create the tunnel interface as a static interface (i.e. not c... | 3 | 2 | 6,343 | 2010-08-06T12:43:39.650 | database_errors | serverfault.com | |
791,783 | Connection speed between blades | a local company sponsored our university a bladecenter (HP c7000) equipped with 16 HP c460 blades. Our main issue is, that we don't know at which network speed the blades talk to each other. Our goal is: building a private cloud with opennebula on 15 blades use the 16th blade as storage (maybe we buy a hp 2200sb storag... | It depends on the server generation. The downplane connections of G6 and newer blades have the capability of 2 x 10GbE LOMs per server. While your backplane connections sound like they're 1GbE, the blades should be able to communicate at 10GbE between other blades housed within the same chassis. | 2 | 2 | 621 | 2016-07-25T11:57:53.457 | infrastructure | serverfault.com | |
63,817 | Random Forest Overfitting, issues with mtry=1? | I am constructing what is known as an 'Expected Goals' model for football. This metric measures shot quality and a probability is assigned to a shot to achieve this, i.e. the chance a shot will be converted. To create this model I am using a random forest classifier. For evaluation purposes I am only interested in the ... | While the bagging of random forests is meant to reduce overfitting, they generally will overfit more than e.g. a parametric model like logistic regression. Having a larger gap between training and testing scores is not necessarily a problem; you may still prefer the model if its testing score is higher than other model... | 0 | 0 | 1,850 | 2019-11-26T20:51:49.143 | data_quality | datascience.stackexchange.com | |
53,399 | Compute gradients in parallel | Here is part of my code: [CODE] So I need the gradient of the output layer with respect to some node (this is a simple example, the real one has more layers in between), which I calculate using [CODE] . However the way I do it now requires that for loop, over each element of the batch which is very slow. Is there a way... | The developers docs for torch specify that the arguments can be tensors, so you can just pass the tensors directly, but you need to reshape your output so that j is the last index. First, rewrite your code so that j is the last index and in your for-loop you have [CODE] And then drop the for-loop and remove the j-indic... | 0 | 0 | 350 | 2019-06-07T15:36:54.250 | data_quality | datascience.stackexchange.com | |
1,053,863 | Catch logs of containers created by a Docker executor of a GitLab Runner | Given a Docker Engine client (GitLab Runner) which creates and destroys containers dynamically through the Docker Engine API. Constraints The [CODE] is always set to [CODE] and can not be changed; see also https://gitlab.com/gitlab-org/gitlab-runner/-/commit/aa96ed52c7a8bea6b6679d0bca682404bfed14e4 . Docker Engine remo... | You can use the Docker Engine API. Write a program that: attaches to the event stream attaches to the log stream of already running containers attaches to the log stream of newly started containers detaches from the log stream of destroyed containers Pipe e.g. the log streams as JSONL to STDOUT. Based on that you shoul... | 0 | 0 | 933 | 2021-02-16T17:47:31.810 | pipeline_ops | serverfault.com | |
291,111 | How to restore percona database from kubernetes? | I got the backup works by setting these on the helm chart values (it works according to the documentation): [CODE] It's uploaded successfully on the google cloud storage: Then I tried to restore the backup: [CODE] The documentation said: [CODE] The problem is, I could not find any file named [CODE] or [CODE] in the bac... | The [CODE] can be found on the repo Then following the commands on the documentation will produce [CODE] file. | 0 | 0 | 237 | 2021-05-06T14:16:56.707 | pipeline_ops | dba.stackexchange.com | |
61,179 | Python First Project: Algorithm that find a book and its author from a quote | I hope this is the good site for my question. I am new with Python and I am neither a programmer nor a data scientist. I would like to code an algorithm that given a book quote can find the book's name and author. Do you have any suggestion/sources that can help me with my project? I think that the simplest approach wi... | This is not really a data science project. It's more a programming problem as you are trying to build a program with multiple functions to gather data, sort data, etc. Data science is about finding, researching, analyzing relationships within data itself. Data scientists don't work on APIS, neither SQL or other data so... | 1 | 1 | 229 | 2019-10-03T08:59:22.490 | data_quality | datascience.stackexchange.com | |
243,164 | Why are there two different kinds of linking, i.e. static and dynamic? | I've been bitten for the n-th time now by a library mismatch between a build and deployment environment. The build environment had [CODE] and the deployment environment had [CODE] . One ruby was built with RVM, the other was built with [CODE] . The reason I ran into a problem was because zookeeper was compiled in a bui... | Static With a statically linked application, everything that you need to run the application is part of the application itself. It depends on nothing else. If there is a fatal error in a dynamically linked library, it doesn't 'care'. If the dynamically linked version of a library it uses isn't there (someone accidental... | 6 | 8 | 3,995 | 2014-06-06T00:45:22.140 | pipeline_ops | softwareengineering.stackexchange.com | |
686,551 | Directory setting in Supervisor | I was configuring supervisor daemon to be able to start/stop Celery. It did not work. After debuging back and forth I realized that the problem was that it did not change the working directory to the one mentioned in the directory option in supervisord.conf under program section. Hopefully there is a [CODE] in Celery b... | I had the same problem and managed to resolve it by reversing the order of [CODE] and [CODE] options: e.g. working: [CODE] NOT working: [CODE] | 20 | 30 | 34,235 | 2015-04-29T18:55:46.340 | infrastructure | serverfault.com | |
502,624 | Granting access to a virtual machine? | I have an internal website running on IIS 6 that denies access to everyone except for a few select IP addresses. This is set by going to "Directory Security -> IP addressees and domain name restrictions" and entering the ip addresses that are allowed to access. When I try to access this site from my laptop after VPNing... | You could try to set the VM to used bridged mode instead of NAT. This would have the VM pull an IP from the network (closest DHCP source) and you could try and test with that IP to see if you get the same results. | 0 | 1 | 87 | 2013-04-25T17:07:01.713 | api_errors | serverfault.com | |
8,895 | With unbalanced class, do I have to use under sampling on my validation/testing datasets? | I’m a beginner in machine learning and I’m facing a situation. I’m working on a Real Time Bidding problem, with the IPinYou dataset and I’m trying to do a click prediction. The thing is that, as you may know, the dataset is very unbalanced : Around 1300 negative examples (non click) for 1 positive example (click). This... | Great question... Here are some specific answers to your numbered questions: [CODE] You should cross validate on B not B`. Otherwise, you won't know how well your class balancing is working. It couldn't hurt to cross validate on both B and B` and will be useful based on the answer to 4 below. [CODE] You should test on ... | 17 | 12 | 5,542 | 2015-11-18T20:14:30.133 | data_quality | datascience.stackexchange.com | |
902,042 | Nginx still redirecting to HTTPS after changing config | I need to temporarily disable HTTPS on our site because I accidentally got rate limited by letsencrypt when renewing the certificate. When I go to the site I get redirected to https, but our cert is still expired so it gives a warning. I can't figure out how to get it to stop redirecting to https. I've also tried "Dele... | The browser might be redirecting to https. You can confirm with curl with: curl -i http://example.site.com Your nginx should also not have port 443 open , "telnet example.site.com 443" should fail. If this is not the case, you might have another configuration file opening that port. | 1 | 0 | 606 | 2018-03-16T15:55:53.440 | api_errors | serverfault.com | |
86,996 | What is the best Domain Registrar? | Possible Duplicate: Who is a good registrar these days? What is your favorite (US) Domain Registrar? While this is not specifically a programming question, I host a good number of websites. I've used a handful of different registrars in the past, but to be honest, I've never really been happy with any of them. I'm spec... | I've used GoDaddy, but never will in the future. They happen to be a customer of ours, and knowing how their environment is setup scares me. I've heard many good things about pairnic.com . | 8 | 4 | 2,481 | 2008-10-08T11:43:50.090 | data_quality | serverfault.com | |
450,175 | How can I force a merge of all WAL files in pg_xlog back into my base "data" directory? | Question: Is there a way to tell Postgres (9.2) to "merge all WAL files in [CODE] back into the non-WAL data files, and then delete all WAL files successfully merged?" I would like to be able to "force" this operation; i.e. [CODE] or archiving settings should be ignored. The filesystem WAL buffer ( [CODE] ) directory s... | . . . something tells me your DBA isn't a Postgres guy? :-) Based on your comments it sounds like the closest thing to the solution you're looking for is starting up the database (using your base backup) and issuing a [CODE] , then shutting down that DB and backing it up. This will flush the WAL data in the "catch-up" ... | 4 | 3 | 5,444 | 2012-11-19T16:22:11.663 | data_quality | serverfault.com | |
670,642 | Migrating Windows Server 2003 Active-Directory to Windows Server 2008 | I would like to migrate a Windows Server 2003 to Windows Server 2008. I installed Active-Directory on the Windows Server 2003. During the installation of Active-Directory on my Windows Server 2008, there is an error: Zum Installieren eines Domänencontrollers in dieser Active Directory-Gesamtstruktur muss die > Gesamtst... | [CODE] Source | 0 | 0 | 257 | 2015-02-23T08:04:43.480 | infrastructure | serverfault.com | |
166,458 | High resolution graphical representation of the Earth's surface | I've got a library, which I inherited, which presents a zoomable representation of the Earth. It's a Mercator projection and is constructed from triangles, the properties of which are stored in binary files. The surface is built up, for any given view port, by drawing these triangles in an overlapping fashion to produc... | Sometimes the correct answer in programming is to not program. It sounds like your question is in the "expert" level of knowledge for rendering, but neither your skills nor the existing documentation are there to back you in this quest. As it sounds like you're running solo, I'm willing to guess that the topographical ... | 7 | 4 | 839 | 2012-09-27T16:46:43.870 | api_errors | softwareengineering.stackexchange.com | |
304,986 | Mysql user can see all databases, but should only see his own | We're using Virtualmin to do most of our database management, but apparently it has a bug that sets a user's permissions too broadly in some cases. Also, the MySQL manual mentions nothing about restricting a user's ability to see other databases with the "show databases" command. When I run "show grants for 'user'@'loc... | Not sure what your actual question is, but if it's why can the user still see everything, it's because those grants are additive. You need to remove the grant you don't want (the first one) as well as include the second one. i.e. remove [CODE] and keep, [CODE] Try, [CODE] | 1 | 6 | 8,686 | 2011-08-25T17:47:31.990 | database_errors | serverfault.com | |
580,317 | Can Apache be made to not send responses to specific requests? | In an effort to harden a public-facing webserver, my colleague and I came up with a plan that involves getting Apache to "Black-hole" certain requests. For instance, requests for phpmyadmin (which isn't running) or other obvious hacking/malicious attempts, we want apache to not even respond. I know Apache can be made t... | Large sites that need to protect their application use something called a Network IDS (Intrusion Detection System, also known as an IPS (Intrusion Prevention System) which can reject packets based on certain criteria (Source IP, behavior, fingerprint, etc). Many IDSes will allow you to drop a packet on the floor (e.g. ... | 1 | 3 | 984 | 2014-03-06T19:12:20.353 | infrastructure | serverfault.com | |
634,732 | Force <a href="/"></a> to resolve to root of virtual directory rather than site | I'm still fairly new to IIS coming from an Apache background so please bear with me. I have setup a virtual directory on our hosting space for one of our clients. My aim is to make it so that we have a virtual directory for each client that is password protected and that our core site simply provides a list of the avai... | Please add this right after the [CODE] : [CODE] | 2 | 0 | 1,621 | 2014-10-09T13:02:41.240 | infrastructure | serverfault.com | |
267,199 | losing connectivity in Linux with Dell blades and such | So we have some dell blades and chassis (blades are M600's, chassis M1000's) and other systems (R710 with MD3000 array). The R710 exports a source tree via nfs for the blades to build and test with. The problem is the blades loose the nfs mounts. Blades in the same chassis, with what seem like identical configurations,... | Here is what I would check. route tables: ip route show route cache: ip route show cache check for any wierd iptables rules. iptables -t nat -L -n -v; iptables -L -n -v; iptables -t mangle -L -n -v check log files. check kernel version. check sysctl/proc settings such as rp_filter, which important in routed / multi-int... | 0 | 1 | 236 | 2011-05-07T01:49:54.610 | infrastructure | serverfault.com | |
562,466 | Anyone knows how to install davfs2 on a free (vps.me) vps server? | Our security regulations requires me to save logs outside the vps server. I need to install davfs2. The following procedure works on my laptop but not at an Ubuntu 13.04 server from vps.me [CODE] I guess | For a user, not. davfs2 is a usermode filesystem, and thus its mounting required root privileges. But if you have root privileges, but don't have the required knowledge, I suggest to ask somebody for the job. The real meaning of the message of the support is the following: "We don't do anything for you, because we know... | 0 | 3 | 869 | 2013-12-19T13:01:35.197 | infrastructure | serverfault.com | |
230,447 | SQL Creating Error Log Table Benefits | We are conducting a datawarehouse project, moving data from Staging database to Kimball Data Warehouse. What is the purpose of creating a custom stored procedure Error Log Table? I am seeing a lot of websites recommend this. SQL server already has an Error log table in SSMS (Option a). So why create another error log t... | The picture (a) shows us not "SSMS error log table", it's the content of [CODE] [CODE] file. The errors occured at the [CODE] and [CODE] level are stored here. The examples are: [CODE] could not start because the [CODE] was alredy occupied, [CODE] were not found, [CODE] was configured to 0, etc. The errors ot this type... | 1 | 2 | 7,945 | 2019-02-22T03:04:11.687 | database_errors | dba.stackexchange.com | |
87,600 | AttributeError: 'numpy.ndarray' object has no attribute 'nan_to_num' | I'm trying to run a Random Forest model from sklearn but I keep getting an error: [CODE] I tried following steps in ValueError: Input contains NaN, infinity or a value too large for dtype('float32') [CODE] on my pandas dataframe still gave the ValueError. So I tried working with my numpy array: [CODE] But I keep gettin... | You are using the right method but in a wrong way :) [CODE] is a method of [CODE] module, not [CODE] . So instead of calling [CODE] on you data, call it on numpy module giving your data as a paramter: [CODE] prints: [CODE] In your example: [CODE] | 2 | 1 | 11,669 | 2021-01-06T18:31:05.607 | data_quality | datascience.stackexchange.com | |
984,241 | Hyper-V Connecting to host to VM w/ External Switch | TL;DR - the short question: Can a host be configured to be able connect to a VM being hosted by the host itself, when the VM is set to use an [CODE] with the [CODE] enabled? If so, how? The details: I'm trying to run a VM on a Windows 10 (1903) PC using Hyper-V (i.e. the host itself ). I have three overarching goals: 1... | Simple answer is yes. You just need to make sure they can talk to each other the same way you need to make sure computers on a network can talk to each other (i.e. compatible network settings). Re your point 1 - there are a TON of settings that can be wrong, starting with firewall settings. The host talking to the VM i... | 3 | 1 | 2,527 | 2019-09-14T16:00:18.220 | infrastructure | serverfault.com | |
966,161 | Can you run Docker natively on the new Windows 10 Linux kernel? | My understanding was that the primary limitation of running docker on other OSs was the Linux Network containers that made it possible. (Certainly for Macs). Recently Microsoft announced a plan to provide a Linux kernel running natively packaged with Windows 10. My question is: Can you run Docker natively on the new Wi... | It's possible yes, it's one of the main "highlights" of Windows Subsystem for Linux 2. The main reason is that WSL 2 runs a Hyper-V container with the full Linux kernel, instead of just something that looks and feels like Linux like WSL 1 does. https://devblogs.microsoft.com/commandline/announcing-wsl-2/ | 3 | 1 | 660 | 2019-05-07T10:32:56.270 | data_quality | serverfault.com | |
241,836 | How to run CGI binaries in Apache with "nice" priority | I have an apache server that runs some binary CGI programs. Those programs behave nicely most of the time, but on rare occasions they gult up all the RAM, or run for a very long time, taking 100% cpu. When that happens, it becomes very hard to SSH to that machine (it's CentOS, BTW) and manually fix things. Is there a w... | For each cgi script, you could write a wrapper script that adjusts its own niceness and then execs the cgi script. [CODE] However, I'm not sure how much effect this would have. Linus Torvalds himself calls nice broken . A better solution would be to set up cgroups to limit the share of the CPU or amount of memory Apach... | 1 | 0 | 1,062 | 2011-03-01T19:20:17.150 | infrastructure | serverfault.com | |
186,736 | Monitoring and statistics through libvirt | Is it possible to monitor and gather statistics in realtime (CPU, memory, HDD, network, ... - something like dstat) of guest systems with libvirt through console from host system (KVM based)? If yes, do those guests need to be created through libvirt? | virt-manager has some of this built in, but if you want more detail, look at nagios-virt . Alternatively, you can monitor it by installing the same tools (nagios, ZenOSS, etc) on the guest that you'd use on a non-vm system. | 4 | 3 | 7,150 | 2010-10-01T19:30:36.987 | pipeline_ops | serverfault.com | |
47,554 | TAB completon and mc problems | [CODE] This is the server version. When I ssh into it, I encounter the following problems: Problem 1 tab completion behaves weird to the point of being unusable: [CODE] Is there a way to fix that? Problem 2 I use mc quite a lot. I often do a Ctrl+O to hide panels and work in the shell. In my case: Ctrl + O hides panels... | Ok. It turns out the solution was dumb and simple. The key was — no interactive shell in mc. The answer lies here: http://www.ibiblio.org/mc/FAQ 6.6 When I use Ctrl-O I don't get a subshell. How do I fix this? Only bash, tcsh and zsh can be used as subshell. Use one of those shells as your default shell, and it will be... | 4 | 3 | 2,880 | 2009-07-29T13:32:06.453 | infrastructure | serverfault.com | |
871,333 | Not able to connect to VPN 1194 port | I have set up a vpn server with service status: running [CODE] checked tun kernel module is also enabled. but when trying to connect to it, not able to connet. not even from local. How to work around it .. | If your server listens on 10.8.0.1, you can't connect it on localhost/127.0.0.1, because it doesn't listen on 127.0.0.1. You might want to check with [CODE] If it is 10.8.0.1, you have to connect to 10.8.0.1, if it is 0.0.0.0, you can connect to any address you have configured on any of you network interfaces, includin... | 2 | 1 | 4,184 | 2017-08-30T20:41:18.420 | infrastructure | serverfault.com | |
440,595 | SQL databases - what will happen if dozen of users edit the same record at the same time? | I know that we have the functionality to lock records or setting isolation level, but this is not my question. By default if dozen/hundred of users edit the same record at the exact same time what will happen - is the database having built-in locking that will reject some users or some users will have to wait a little ... | A "user who edits a record" assumes there is not only a database involved in the process, but also an application where a user can edit data in some user interface. And here it boils down to what the programmer of that application implemented: for example, they could have built a pessimistic locking strategy, where the... | 0 | 8 | 192 | 2022-08-24T14:53:55.967 | api_errors | softwareengineering.stackexchange.com | |
248,701 | PostgreSQL storing vectors and computing dot product | I am working on a small NLP project in Python that involves performing text similarity on documents(news articles, blog posts etc) and I am thinking of storing each document features vector in Postgres, for instance say I have a document with the content [CODE] , assuming after all the Python preprocessing it would bec... | You should write the function in C if you want it to run as fast as possible. Then it might also be a good idea to write your own data type that is stored with a hash table. If that is too hard, and you don't need that last little bit of performance, you could try to rewrite your function in Perl or Python — both can b... | 4 | 3 | 1,957 | 2019-09-13T07:59:12.720 | api_errors | dba.stackexchange.com | |
320,469 | How to impersonate a USER (not LOGIN) in Sql Server? | I have a database which we want to create database USERS that are NOT mapped to server LOGINS. Then we want to have one server login, but it will [CODE] to run queries against that ONE db. But when I try to run my sql block with the [CODE] statement at the top, I am getting the error: Cannot execute as the database pri... | Okay... so in digging in to put together code to repro this in isolation like Tibor asked in the comments, I wound up finding the problem. This db was restored from a backup of a db from another server. The user I was trying to impersonate was associated to a login on that other server. That login doesn't exist though ... | 0 | 2 | 1,472 | 2022-12-01T23:39:05.910 | database_errors | dba.stackexchange.com | |
868,700 | Job submitted to Torque does not generate error/log file | As stated, I have just installed Torque on a Ubuntu 16.04 machine. The submitted jobs complete just fine but the [CODE] and [CODE] flags seem to not be working. No error and log files are created even though I have given the flag an absolute path to the log directory. creating the log file in the directory before submi... | Anything in the torque server log files? This looks like an issue with your spool setup. Do you see a undelivered directory in /var/spool/torque/spool? Do you have a mom node/service running? I think by default stdout and stderr files are generated in placed in the spool directory as $JOBID.OU and $JOBID.ER then copied... | 2 | 0 | 1,825 | 2017-08-15T10:04:52.153 | infrastructure | serverfault.com | |
601,475 | CentOS: OpsCenter does not see other node's agent | I'm new with Apache Cassandra. I am trying to install a little sample cluster using two CentOS server. I followed the documentation (Tarball installation) and the nodes are up. However, when I go to OpsCenter, the nodes cannot see each other's agent (there is always "1 of 2 agents connected"..I tried to fix, but nothin... | I don't know much about your configuration, but experienced a similar use case myself, where the opscenter only had data from the local datastax agent. My initial setup was: 3 cassandra nodes, all 3 running opscenter and datastax-agent, with the agent configured for the local node. It seems that this was wrong, as the ... | 0 | 1 | 1,311 | 2014-06-03T14:40:31.763 | database_errors | serverfault.com | |
169,682 | prerequisites to work as sysadmin? | HI, this question is not a technical problem. I'm student and I will finish my trainee-ship in September and obtain my degree of master in administration and security of networks but the problem is that I don't have big experiences and during my studies we have done more theories (algorithms and protocols) than practic... | I'm probably echoing other people's sentiments to a high degree, but that never stopped me before. I have a degree in computer science, but it really means nothing in sysadmin work other than adding some more theory of "why things in a starship work." (If you know the reference, that may be a good sign.) In my experien... | 1 | 4 | 508 | 2010-08-12T08:08:24.577 | infrastructure | serverfault.com | |
732,957 | Graylog failing to send emails (SMTP) | i am trying to let greylog2 send me email alters but i am getting this error no matter what i try? i am trying to use smtp.gmail.com as email server. This is the error message i am getting The Graylog server encountered an error while trying to send an email. This is the detailed error message: org.apache.commons.mail.... | I diffed your config with mine: [CODE] Don't know if that's any help. What version of graylog are you running? | 3 | 0 | 9,441 | 2015-10-31T11:10:40.407 | infrastructure | serverfault.com | |
102,803 | Cleaning rows of special characters and creating dataframe columns | Below is my Dataframe format consisting of 2 columns (one is index and other is the data to be cleaned) [CODE] I want to remove special characters create a data frame for all comma separated items. I have managed to first remove ans from all rows using: [CODE] Then I try to apply replace regex, see below: [CODE] I get ... | You can first split on [CODE] , and then on [CODE] and then remove unnecessary columns: first [CODE] and [CODE] finally remove rest. | 1 | 0 | 302 | 2021-10-05T07:56:53.000 | data_quality | datascience.stackexchange.com | |
882,523 | IPTables Forwarding Port 8080 to 80 | My hardware firewall has port 8080 open My goal is to have my server receive the requests over 8080 and via iptables route the request to be handled by httpd. This seems simple (in my head), but I am missing something. Here are my IPTable Rules: [CODE] When I attempt to request a site I am getting a 301 redirect and no... | Your 301 redirect is coming from WordPress. You need to put the correct port number in Settings > General if you intend to run WordPress on a nonstandard port. | 0 | 2 | 572 | 2017-11-08T19:20:36.657 | infrastructure | serverfault.com | |
321,719 | MariaDB - Host is blocked because of many connection errors | We have a simple monitoring that opens a TCP connection on port 3306 of the mariadb server to check if the server is reachable. mariadb logs this with the following message: [Warning] Aborted connection to db: 'unconnected' user: 'unauthenticated' host: 'xxx' (This connection closed normally without authentication) aft... | I fixed the abnormally noisiness of logs by pushing it down a warning level in MDEV-12274 : Too many connections warning in error log ( #2213 ). The max_connect_error was mentioned in MDEV-21456 but I missed it. Attempts at a fix which is about to be reviewed. There isn't a good workaround other than the two you've com... | 3 | 1 | 1,732 | 2023-01-04T14:48:47.437 | database_errors | dba.stackexchange.com | |
117,606 | Alter ON DELETE CASCADE in 1 table | I'm really new to [CODE] . How can I delete child comments when the parent comment gets deleted in a table? Table Schema [CODE] Current Query (fails) [CODE] Error Code: 1452. [CODE] This SQLFiddle shows my situation. It works in SQLFiddle but not in MySQLWorkbench. | The error indicates that you have invalid references in the [CODE] column. This error shows when you are trying to insert a row with an invalid reference, update an existing row with an invalid reference, or delete a row that is referenced. You also get it when you are trying to create a foreign key constraint on a col... | 5 | 7 | 1,776 | 2015-10-10T00:20:23.900 | database_errors | dba.stackexchange.com | |
274,631 | 2 methods that are 75% the same? | I have code that violates the [CODE] principle and I would like to consolidate 2 methods as much as I can, but the problem I am facing is that they have some differences, I would say they are about 75% the same, but the other 25% is different in certain areas. What kinds of design patterns or design approaches can I do... | This is difficult to answer without looking at the code. However, it is clear that these methods are trying to do too much. They are almost certainly violating the SRP. I would suggest that you begin by looking at where the methods are different and why. Perhaps you could use method injection to inject different code i... | 0 | 6 | 336 | 2015-02-27T05:42:12.360 | api_errors | softwareengineering.stackexchange.com | |
253,522 | cron job script - the script does not work from the cron (or it does not start) | I created a script to do something (after I reduced it just to echo "IS FINALLY WORKING" for testing purpose). If I type [CODE] it works ok. The problem is that I need a cron to access it and it doesn't work. To set up the cron I used: [CODE] [CODE] or [CODE] I see no result at all. Also I tried to log it [CODE] The lo... | Make sure [CODE] doesn't rely on anything outside cron's default PATH. CentOS has the default PATH set to [CODE] . You may wish to create cron jobs like this: [CODE] or [CODE] to get an execution environment similar to that of your command line. | 1 | 1 | 2,616 | 2011-03-30T07:30:10.523 | infrastructure | serverfault.com | |
846,932 | Very slow AWS EC2 machine after replacing its root volume | I have a production machine (c4.2xlarge) that works fine. But, when I do the following: Take a snapshot of root volume while the machine is running (I know, it is recommended not to do so, but this works fine for me) Create a volume from the snapshot Attach the newly created volume to a pre-production machine (c4.xlarg... | EBS snapshots are stored on S3. When you create a new EBS volume from a snapshot the data is streamed from S3 to EBS as the blocks are required. I suspect it may also bring down the whole volume, but it can take some time, which is why it prioritizes blocks you need right now . To fix this you pre-warm your volume. The... | 3 | 5 | 1,467 | 2017-04-27T15:35:17.893 | infrastructure | serverfault.com | |
653,847 | How do I set up docker containers to communicate on private network? | I have a small cluster at rackspace with a private network in the range 192.168.3.0/24. I would like my worker services to talk to each other using this network but can't figure out how to get docker to allow that. My ideal configuration would be a single public-facing container that proxies the connections to a worker... | You can try implementing your architecture in a container manager like Kubernetes on top of CoreOS. There are many guides out there. This is a walk-through from a presentation at DockerCon https://www.brighttalk.com/webcast/11427/136165 about Container Cluster Management. | 5 | 0 | 322 | 2014-12-20T01:56:34.300 | pipeline_ops | serverfault.com | |
412,971 | How far to go when decoupling Microservices by use of Integration Events (Messages)? | I am reading the architecture guide from the .net core project . They state: The integration events can be defined at the application level of each microservice, so they are decoupled from other microservices, in a way comparable to how ViewModels are defined in the server and client. What is not recommended is sharing... | One of the greatest promise of microservices is that you will have independently deployable services. There is a lot forces which fights against this so you should make wise decisions when you introduce anything which is shared amongst different services (a static xml file, a library, a database, etc..) Whenever you ha... | 5 | 5 | 658 | 2020-07-21T19:32:59.940 | pipeline_ops | softwareengineering.stackexchange.com | |
18,360 | Is it possible to display the assertion results in the View Results Tree listener itself in Jmeter? | Is there anyway we can display the assertion results in the View Results Tree listener itself? Also, the Assertion Results listener displays only failed assertions, is there a simple way to display both the failed as well as the passed assertions preferably in a verbose manner? | View Results Tree Listener displays failed assertions: If you're doing some functional testing with low number of virtual users (threads) and need to see verbose assertion results you need to choose a more advanced assertion, i.e. Beanshell Assertion or JSR223 Assertion which have full control of response data, headers... | 0 | 1 | 1,787 | 2016-04-28T10:09:01.233 | data_quality | sqa.stackexchange.com | |
420,959 | Is it ok to use redis scan extensively? | In redis docs, it is stated that [CODE] command should not be used in production, since it blocks other processes while executing, it is better to use scan iteration over all keys with some batch size. I've read in docs that redis use hash index, so I assume it can't use it for range queries like scan and keys. But our... | Note Redis is single-thread, so any operation could block another. (It tried to address this issue in its recent release by delegating the time spent reading and writing to I/O sockets over to other threads, so the Redis process can devote more cycles to manipulating, storing, and retrieving data—boosting overall perfo... | 1 | 2 | 2,894 | 2021-01-12T15:37:03.613 | database_errors | softwareengineering.stackexchange.com | |
888,375 | SCOM does not detect Apache or MySQL instances | Problem After installing SCOM Linux Agent, the SCOM is properly monitoring Linux server, but detects no instance of Apache or MySQL, ie. no entry appears in SCOM either at following views: [CODE] [CODE] According to all guides, docs and step-by-steps, above entries should be filled with those Linux servers, in which th... | The problem was caused by incorrect RunAs account configuration. The profile assigned for monitoring was configured with sudo elevation enabled. SCOM uses two profiles to monitor UNIX/Linux hosts: [CODE] [CODE] Most guides advise you to use a single account for both purposes, but do not clearly state, that this single ... | 0 | 1 | 1,115 | 2017-12-15T21:29:09.823 | pipeline_ops | serverfault.com | |
10,026 | How to test a toaster? (interview question) | I want to know how we should approach for testing real world objects. The problem that I faced before is to get the list of use cases from the interviewer. Whenever I asked what the real world object should do interviewer just say - the way you have used it. I personally prefer to have the use cases first. Is this a st... | If I was being interviewed and was asked this question, first of all I would start off by trying to quench my curiosity. How much time do I have? What type of a toaster is it? How much power limit does it operate on as per the vendor? Does the vendor provide any user manual or claims documentation? How does it work? Is... | 11 | 22 | 29,147 | 2014-10-18T19:09:44.417 | data_quality | sqa.stackexchange.com | |
128,428 | Time Series Analysis and Price Elasticity | Introduction: As of now, I am a fourth year data science student. As of now, I also have my own company where I work parttime (8/12 hours per week) to gain some more experience in the domain. As you can imagine, I am not as experienced and have some difficulties bringing all theory from my studies together in practice.... | Can I ask what the logic is for dividing the log-differenced number of sales by the log-differenced moving average of price? Not saying the logic is wrong, I just haven't really seen this before. Wouldn't the scale of the elasticity be on the differenced series rather than the original series? IMO, an easier way would ... | 2 | 1 | 29 | 2024-03-24T12:45:18.923 | database_errors | datascience.stackexchange.com | |
217,190 | How do I use a different domain and username in a SQL Server BACKUP LOG command? | I looked here, https://learn.microsoft.com/en-us/sql/t-sql/statements/backup-transact-sql?view=sql-server-2017#security I want to backup my log to a different server. When I do this through the SSMS, I get access denied because my SQLServer Service user is not what the other machine expects, and I did not want to run t... | Powershell won't help, it is just a wrapper for the BACKUP command. Your problem is that it is indeed the database engine that produces the backup file, and there is no option for impersonation here. So, you really need to sort out that service account, I'm afraid. (There used to be something called a nullsession-share... | 0 | 1 | 361 | 2018-09-10T16:13:10.573 | data_quality | dba.stackexchange.com | |
230,940 | Convert SQL Server results to a text file that PowerShell can access and use | The query below is used to create a text file with a list of server names. The problem I have is that the text file gets created like [CODE] but I need it as follows [CODE] The query: [CODE] The PowerShell Script: [CODE] | This answer assumes multiple comma's are in a single row of the [CODE] column, and these need to be removed & Line feed + Carriage returns added instead of each comma. There could be better ways to get your endresult, but to write to a text file without the comma's, you could use the [CODE] function. [CODE] will only g... | 1 | 5 | 669 | 2019-02-28T10:37:43.077 | database_errors | dba.stackexchange.com | |
225,920 | What does it mean to "materialize"? | While learning about "data layout", I came across the term "materialize" , which does not have a clear definition and explanation. What is materialize and what does materialize do? This question is not related to materialized views, and is not specific to any particular DBMS. Context The source that I am learning from:... | My video is about the different mappings that have to be made in order to map relations all the way down to hardware. In practice, these different mappings and linearization steps are often confused and mixed up. This is unfortunate as the different, often hard-coded, decisions taken for certain mapping steps then may ... | 7 | 3 | 5,750 | 2018-12-28T14:23:48.107 | warehouse_errors | dba.stackexchange.com | |
118,913 | How to determine the best index on a table with 3 nullable columns? | I am examining a [CODE] table similar to this: [CODE] I am not sure if I need a big index comprising the 3 primary searched and identifiers : [CODE] , [CODE] , [CODE] . I need all of these fields to be searched as quick as possible. Main queries contain [CODE] conditions on either [CODE] and [CODE] or [CODE] . As well ... | @Decebal, Please consider the following, as the current answer is incomplete, flawed and built on an assumption. First I will attempt to explain my previous statement. 1.) Incomplete (cardinality, prefixing and data types): Composite indexes and indexes in general need to remain lean to fit in memory, actually benefit ... | 1 | 2 | 121 | 2015-10-22T16:18:26.973 | warehouse_errors | dba.stackexchange.com | |
330,889 | Create named PK when create table | I'm creating a table in Postgresql-11, and I need create a primary key for it at same time, to prevent from duplicated data being inserted before the PK created, so I want to these two operations be accomplished within a same transaction. I know this can get it: [CODE] But I want also set a name for this PK, instead of... | You can specify a constraint name both with the "column constraint syntax" and the "table constraint syntax" in [CODE] : [CODE] or [CODE] Side remark: I'd avoid [CODE] . You can never be certain what you have got after the statement succeeds. There may have been a table with that name, but with wrong columns/owner/perm... | 0 | 1 | 53 | 2023-09-05T02:01:29.057 | data_quality | dba.stackexchange.com | |
534,264 | full text search and date field | I have problem with full text search for one application. I cannot search for dates for a field that is defined as date/time. The full text search dialog for Condition "By field" and the field in question give us the option "contains/does not contain" when we instead want the search options "is on/is after" etc. -> del... | It sounds like an issue with the UNK table. The field was probably not created as a date/time field in the first place. Delete the FT index, do an offline compact, and re-build the FT index. See http://www-01.ibm.com/support/docview.wss?uid=swg21261002 for more info. | 1 | 2 | 1,697 | 2013-08-27T20:16:08.883 | infrastructure | serverfault.com | |
219,337 | How do I limit a SQL stored procedure to be run by one person at a time? | I have a stored procedure that basically selects values from one table and inserts them to another, a sort of archiving. I want to avoid multiple people from doing that at the same time. While this procedure is running, I don't want anyone else to be able to start it, however I don't want serialization, the other perso... | To add to @Tibor-Karaszi's answer, setting a lock timeout doesn't actually produce an error (I've submitted a PR against the docs). sp_getapplock just returns -1, so you have to check the return value. So like this: [CODE] | 14 | 17 | 9,596 | 2018-10-05T09:35:23.060 | database_errors | dba.stackexchange.com | |
147,045 | Apache+FastCGI Timeout Error: "has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds" | I've recently installed mod_fastcgi and Apache 2.2. I have a simple cgi script as below (test.fcgi): [CODE] But when I invoke 'mysite.com/test.fcgi' I see "Internal Server Error" after a short period of time. The error.log file shows this error message: [CODE] This is my .htaccess file: [CODE] What could the problem be... | You're trying to run a CGI script through the FastCGI interface. That won't work. You can only run a FastCGI script, that follows the FastCGI specification, using the FastCGI interface. The server keeps running your script and trying to send it FastCGI requests and it keeps terminating without ever having received or p... | 1 | 1 | 3,942 | 2010-06-01T10:55:47.387 | infrastructure | serverfault.com | |
241,187 | tomcat vs FULL J2EE Solutions | We are getting ready to make a major revision in our Web Application architecture which currently is running on JBoss 4.2. At first we were looking at moving from 4.2 to JBoss 6 but after some research tomcat may be a better solution for us. My first question is their anything that JBoss can do that tomcat cannot do as... | I've managed complex J2EE applications running on Tomcat that were later migrated to Oracle BEA Weblogic so I think Tomcat can support most of your needs. But only you can decide based on the requirements of your application. Here are some links that might give more insight to make this decision. http://www.slideshare.... | 1 | 2 | 1,266 | 2011-02-28T15:17:32.757 | database_errors | serverfault.com | |
296,940 | Web Server sercurity (used only for web services) | I am using a Virtual Private Server for accessing Web-Services used only on the Mobile devices, there are many entries in the access and error log, even there is nothing on the web server. I am little worried about server security. Things I have done.. [CODE] I am using Server with LAMP configuration. What other securi... | It seems you have now protected the back door of your bank, but forgot to lock the front door. Why I'm saying that? You seem to be worried about your ssh security. Great, it's definitely an area worth protecting well! But the most likely (successful) attack vector will be from the web. Typical botnets will just blindly... | 0 | 6 | 103 | 2011-08-03T04:31:34.950 | infrastructure | serverfault.com | |
314,574 | Does murmur3 hash have memory? | This implementation of Murmur hash yields different results when called twice in a row: [CODE] Nowhere in Murmur description on wikipedia it is mentioned, that the hash should take into account previous hashed values, or maintain/check sequence of what was hashed. Is it a bug in this implementation? Did I misundestand ... | The ComputeHash method in the code you link just calls ProcessBytes and then returns the hash. ProcessBytes is used for incremental hashing of large quantities of data, so retains memory between calls. In this implementation, you should not call ComputeHash more than once, as the later calls do not start from the corre... | 3 | 5 | 287 | 2016-04-02T23:06:34.290 | api_errors | softwareengineering.stackexchange.com | |
894,336 | cannot connect to aws rds mysql from aws ec2 instance via web browser | I have set up an AWS RDS instance and AWS EC2 instance, and I believe I set up the security group to allow both EC2 instance's internal ip and public ip to access the RDS instance. if I ssh to EC2 instance via a ssh client, and type command: [CODE] The connection is sucessful. I created test php file named index.php in... | I think this is answered already in another SO thread.. But I had the exact same issue. In my case I was using centos 8 as my EC2 instance. The issue is with SELinux sudo setsebool -P httpd_can_network_connect_db=1 If you can already connect using the mysql command line tool; then obviously it's not a firewall or permi... | 0 | 1 | 2,991 | 2018-01-26T20:50:20.150 | database_errors | serverfault.com | |
970,414 | AWS ECS deployment Error using Cross Account | I created a jenkins job runing inside account A that connects using cross accounts IAM roles to account B, where we have a ECS cluster. I manageg to build and upload the docker images from account A jenkins to account B, but when I use: [CODE] I was promted by an error: [CODE] I have checked the Update-Service document... | Run the command with a CLI [CODE] which assumes the IAM role on [CODE] : [CODE] In [CODE] : [CODE] You can only apply a command on a resource in an account with an (assumed) role or user which is defined in that account. | 2 | 3 | 1,796 | 2019-06-06T16:54:49.083 | pipeline_ops | serverfault.com | |
398,443 | WDS Driver Installs Cause Error After Imaging | We use Windows Deployment Services on Server 2008 R2 to deploy images to all of our computers. To simplify the process, I put driver packages for display & network in WDS so our techs don't have to install them manually. This worked like a charm up until mid-morning today, when all new images, upon first starting up, w... | Chances are that, while the machines might be the same model number, there is a slight hardware change under the hood. Perhaps a different revision of video card, NIC, whatever. I'd check on the vendor's website for updated versions of the drivers and replace the existing ones with the new drivers. If that doesn't work... | 2 | 1 | 1,915 | 2012-06-13T19:38:06.203 | pipeline_ops | serverfault.com | |
117,291 | How can I start Fedora Directory Service with SELinux enabled? | I just did a fresh base install of fedora 12, and did a yum install 389-ds. I went through the included setup script (setup-ds-admin.pl) and everything started fine and was working normally. I could access the directory server and login using the directory manager account created during the setup. After a reboot I trie... | This is a known bug . Try updating your SELinux Policy to minimum 3.6.32-59. | 0 | 1 | 811 | 2010-02-26T20:03:00.330 | infrastructure | serverfault.com | |
105,941 | What's the purpose of 'so that' clause in user story definition? | A user story can be defined in a sentence like: [CODE] Just Google for 'user story formula' and first links all propose this formula. My question is, what is the purpose of so that clause? Is it there for managers? Is it there so that project managers and stakeholders can understand the priority of the item better? Why... | The purpose is to avoid unnecessary work by forcing the user/customer to supply a solid, tangible business benefit as a reason for the existence of this feature. It is not unheard of that features get added just because someone thought they sounded cool, or because other software has it, so ours must have it, too. More... | 11 | 22 | 4,024 | 2011-09-05T13:44:24.600 | api_errors | softwareengineering.stackexchange.com | |
949,904 | AWS - EC2 : How to use a different public address for outbound connections | I have an AWS Ubuntu EC2 instance with an elastic IP address assigned to it and running a web application. I would like to run a web scraping script on my server and I do not prefer my server / domain to be back-traced from the IP address my script connects to external websites. For this purpose I decided to enable and... | As @Michael - sqlbot says if you’re trying to do something you shouldn’t be doing - don’t do it. NAT Gateway IP is still traceable back to you. It won’t help make you anonymous. | 0 | 2 | 129 | 2019-01-19T22:35:42.560 | database_errors | serverfault.com | |
318,818 | The "Offer Remote Assistance" option is not working. Error: Your offer could not be sent | I am having problems with a few of the workstations in my domain. For some reason a couple of the computers won't allow the "Offer Remote Assistance" feature. The error that we receive is "Your offer to help could not be sent". We are applying this option via group policy and it is working on all but 2 computers. We ar... | I've had a similar problem and never got around to fixing it. On my computers I suspect that it's because of LOCAL group policy on a few of the machines (they were customised before I inherited them). Unfortunately there's no way to set LOCAL group policy to factory without re-imaging the machine, and I don't fancy com... | 1 | 0 | 1,697 | 2011-10-05T18:09:20.573 | infrastructure | serverfault.com | |
835,797 | Remove domain from HPKP preload list | So, this is a fun story regarding HTTP Public Key Pinning (HPKP) and HTTP Strict Transport Security (HSTS). I was playing with the HTST Always and HPKP preload options, not being fully aware of the consequences. About the same time, I discovered that my "test" account that I used to 'test' on how I can fully secure use... | Actually there is no way you can change this. Usually you don't have access to the browsers of your web site visitors. HSTS - HTTP Strict Transport Security I assume that you have only set HSTS via header and not via list (register a domain to be https only via HSTS preload). If this is the case all browsers that have ... | 2 | 2 | 905 | 2017-03-02T08:20:40.037 | infrastructure | serverfault.com | |
20,602 | Oracle listagg forces SORT (GROUP BY) execution plan | I have the following query [CODE] Both type and id are short strings. The execution plan for when I comment out listagg and leave count aggregation in is a HASH GROUP BY (even without the hint) and works fast. With the listagg aggregation Oracle always chooses SORT GROUP BY which is an order of magnitude slower. Is the... | The queries are an order of magnitude different ! The access paths themselves shouldn't have such an impact but you're comparing the simplest aggregation function ( [CODE] ) to one of the most complex ( [CODE] ) ! Furthermore, you have specified an [CODE] clause in your [CODE] , this will force Oracle to sort, which ex... | 4 | 3 | 11,796 | 2012-07-09T20:58:09.843 | database_errors | dba.stackexchange.com | |
1,004,529 | access an http server as localhost from an external pc over ssh | I have an application server at work that can accept http request only from localhost. At home I access the server through ssh. Once on the server I can [CODE] I would like to do the same from my web browser at home, i.e. in some way redirect my browser traffic over ssh and access test.html as if I were on the server. ... | The right syntax for create an SSH tunnel is this one: [CODE] So according to your output the command should be something similar to this: [CODE] After establish the tunnel you don't need to configure anything on firefox just type in the URL http://localhost:9090 Hope this help | 8 | 8 | 18,695 | 2020-02-25T16:33:13.730 | infrastructure | serverfault.com | |
56,561 | Combine tables only if no results | We have a table [CODE] that has a huge amount of data in it, most of which is only used infrequently and by (slow) user-interaction. We would like to move all data that is more than 12 months old to an archive table, [CODE] . That will make the frequent reads and writes into [CODE] fast enough. There are many complex s... | You can't say "UNION ALL ONLY IF SOME CONDITION" but you could do: [CODE] | 0 | 1 | 52 | 2014-01-10T17:15:33.367 | pipeline_ops | dba.stackexchange.com | |
946,219 | How to install mysql server using ansible playbook? | I am trying to install mysql server on centos using ansible playbook. My yml file looks like above. [CODE] But it getting error. [CODE] How can i fix this issue? | I had to download and add the repository and then update. [CODE] | 2 | 2 | 17,708 | 2018-12-21T03:22:58.957 | database_errors | serverfault.com | |
909,666 | Apache HTTP/2 connections are not persistent | So I decided to implement HTTP/2 through Apache mod_http2. It was working fine, however every request, except for those with under 1 sec between them , is non-persistent. I am sure of this because as per the browser's network tools, the SSL connection is reinitialized every time: Whereas, accessing the same page over H... | This looks to be a bug to me and started in mod_http2 1.10.16 (released with Apache 2.4.30 - though a few issues with this meant it wasn't actually released until 2.4.33). Prior to that version it worked as you expected. Have raised it with the mod_http2 author: https://github.com/icing/mod_h2/issues/160 This was quick... | 1 | 3 | 789 | 2018-04-27T06:10:36.090 | infrastructure | serverfault.com | |
268,024 | Very slow ssh, snmp, telnet network connections but http, sftp are fast | I have a small network with about 8 linux servers, a Cisco 2600 router, and a Cisco 3500XL switch. The router and switch have been configured and working properly for years. About 6 hours ago the time to establish a connection via certain protocols skyrocketed. Connecting to a server via SSH can take a couple minutes t... | Your name resolution has broken. | 3 | 6 | 3,032 | 2011-05-10T05:02:16.360 | api_errors | serverfault.com | |
340,285 | Efficiency considerations: nested loop vs recursion | I would consider myself an intermediate Python programmer. One of my recent challenges was creating a list of all possible solutions to a given Countdown problem. Without getting into too much detail, I have approached the problem through: first generating a list of all possible Number-Operator arrangements using RPN a... | Let's walk though a few steps of the 'fast' solution: [CODE] is called with the problem. It calls [CODE] which yields two iterators. The first iterator provides each [CODE] one at a time. The loop in [CODE] checks each one to see if it is the answer if so, it is yielded (one at a time, via iterator) to the main program... | 2 | 2 | 3,197 | 2017-01-16T15:35:51.637 | database_errors | softwareengineering.stackexchange.com | |
802,133 | pfSense CARP seems to cause NIC issues | Within 12 hours of turning on HA we can't reach the webGUI, ping the pfSense machine, or have the pfSense machine ping anything. Prior to doing HA everything was working fine. After having this issue before, we did a fresh install/config and are experiencing the same problem with HA again. Our setup is 2 pfSense 2.3 fi... | Turns out there must be some sort of hardware issue in the desktops we were using. It was failing even after we disabled CARP. Once we switched to using a server everything worked fine. | 1 | 0 | 1,037 | 2016-09-09T15:23:41.340 | infrastructure | serverfault.com | |
246,452 | Protecting an older Exchange server | I have a server on one of my networks that is running Exchange 2003. Yes, we will be upgrading to 2010 in about 6 months with new hardware and all, but for now I need to make sure this is stable and safe. So for now I wanted to ask advice for backing up and disaster recovery of this server. Here are the specifics: This... | Mirrors are are for high-availability, not backup. NTBACKUP is the easiest bang for the buck for a single isolated WS03/Exch03 server. | 0 | 3 | 59 | 2011-03-12T00:40:57.440 | database_errors | serverfault.com | |
989,951 | When nginx reports about limiting requests, what do theese numbers mean? | When you setup nginx with [CODE] directive , it logs excessive requests like [CODE] I wonder, what means 10.210 here? I suppose, that 10 is a burst size, defined in [CODE] as [CODE] , but what is 210 here? | https://dzone.com/articles/nginx-rate-limiting states this is: Number of requests per millisecond over the configured rate that this request represents. | 3 | 1 | 7,303 | 2019-10-30T14:47:50.500 | infrastructure | serverfault.com | |
1,104,846 | Importing cert from Ubuntu certificate authority to Windows Server 2022 | In our environment we have recently created a Ubuntu based CA, we want to utilise this on our windows environments. I was following a tutorial for how to implement the CA and I don't know if I'm just not googling the right thing but I couldn't find anything related to what I was doing and it feels like I'm going round ... | You will need to export the certificate somewhere that it can be imported into a GPO for your Windows AD environment. Create an SSL Certificate Authority on Linux and Use It in Windows AD will walk you through the steps. I would recommend NOT using the default domain policy but instead creating a new GPO called "Distri... | 1 | 1 | 800 | 2022-07-05T14:41:54.150 | infrastructure | serverfault.com | |
175,887 | When shrinking log files what difference does TRUNCATEONLY make? | When using DBCC SHRINKFILE (Transact-SQL) to shrink log files does adding TRUNCATEONLY do anything different? if so what? Scenario: I have used DBCC LOGINFO and discovered I have too many VLFs, I only have a single .ldf I am not making any changes to the data files. My database is in FULL recovery and I can run t-log b... | I see no difference when using TRUNCATEONLY when compared to regular SHRINKFILE on the log file. Here's the script I built for testing (2016 dev edition, note the DROP IF EXISTS syntax): [CODE] | 2 | 2 | 916 | 2017-06-09T12:23:15.783 | database_errors | dba.stackexchange.com | |
246,266 | Oracle Linked Server Long Preemptive_COM_Cocreateinstance Waits | I have a Linked Server using the OraOLEDB.Oracle provider from the 11g Oracle Client and it was working fine for a while. However, an Oracle 12c Heterogeneous Connection was setup recently. This caused the 11g Client to not be able to connect to the Oracle Instances because of the PATH variable using the 12c TNSnames i... | These calls are all part of loading the Oracle OleDb provider. Not sure why they would block instead of failing, but it suggests that your Oracle client setup is still not not right. The 11g OraOLEDB.Oracle provider not only needs to access the correct TNSNAMES.ORA file. It also needs to load the correct OCI.DLL, which... | 0 | 2 | 538 | 2019-08-26T13:44:46.407 | database_errors | dba.stackexchange.com | |
236,473 | Advantages and disadvantages of making one DB per customer | I'm starting to design a web application, and I'm evaluating some decisions regarding the general structure of it. My use case is as follows: I plan to have multiple customers on a single server. Initially there won't be many customers, probably two to start (but the system should be ready for more, of course). As I'm ... | There are potential problems with storing customers together in the same database--you hit on two of them. The third that comes to mind deals with data statistics. If one customer uses the service lightly, and another heavily, it can throw off the statistics for everyone, making all the queries perform badly. I've seen... | 1 | 2 | 1,124 | 2014-04-20T19:17:20.253 | api_errors | softwareengineering.stackexchange.com | |
53,997 | Unable to access sql database with login and password | I'm writing Windows Service in C# and inside of it I'm unable to connect to the database. This is the question I've asked recently: SqlException: Cannot open database "path\db.mdf" requested by the login. The login failed. Login failed for user 'NT AUTHORITY\SYSTEM' What I've done so far: 1) In server properties set fl... | The error indicates that the SQL Server Service does not have permissions to the folder that the mdf file is located in. Since SQL Server 2008 the account running SQL Server has by default a minimal permissions set. If you want it to access files in non default directories, you need to explicitly grant access to that l... | 2 | 2 | 5,467 | 2013-11-26T21:20:45.240 | database_errors | dba.stackexchange.com | |
465,637 | SSH 'connection reset' when attempting multiple simultaneous outbound connections to the same host | I have a script that executes a Rake remote task which executes once for each of two roles. Both roles are users on the same Vagrant instance. So essentially the task is opening two SSH connections to the same VM in parallel and executing some commands on each connection. I often find that when this task executes, it p... | Have you tried setting up a control master connection? this will allow you to multiplex several ssh sessions over a single connection. To setup the control master use [CODE] -o "ControlMaster=yes" tells ssh this connection will be the master process. The control path is a socket set up to allow other ssh sessions over ... | 4 | 2 | 2,582 | 2013-01-10T03:05:14.540 | pipeline_ops | serverfault.com | |
436,678 | Ping reply not getting to LAN machines but getting in Linux router Gateway | I have configured Ubuntu 12.04 as Gateway machine.its having two interfaces [CODE] ip-forwarding is enabled in router box. Client machine is configured as: [CODE] Client machines can ping router box(192.168.122.39).but when pinged 8.8.8.8 reply is not reaching Client machines but in the tcpdump output on gateway i can ... | Your modem doesn't know how to reach 192.168.122.0/24 network. You have to do NAT on your router or you have to tell your modem that 192.168.122.0/24 should be routed through 192.168.2.3. For NAT try with these rules: [CODE] Restart your firewall to flush old rules. | 0 | 2 | 8,986 | 2012-10-10T06:25:57.960 | api_errors | serverfault.com | |
366,898 | Hardlinking Git Repo for Deployment: Possible Downsides? | I've got a production server I'm managing right now, but it's becoming incredibly inefficient to either: SSH into the remote server, and develop server-side Develop on my local machine and transfer changes to remote server A possible remedy that came to mind was keeping a git repo that mirrored the filesystem of the re... | "If you have to ssh to your prod box, your automation has failed" (q). Consider: [CODE] / [CODE] for immediate feedback (if you can't run enough things locally); a git post-receive hook on push to do something when you push a branch to a repo hosted on your "prod" machine (it's trivial); ansible for more complex workfl... | -2 | 1 | 67 | 2018-03-02T16:36:09.103 | pipeline_ops | softwareengineering.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.