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 |
|---|---|---|---|---|---|---|---|---|---|---|
127,757 | Can't get port based virtual hosts working in Apache2.2 CentOS 5.2, Plesk 8.6 | I have installed Google Sitemap Generator on my CentOS server, which is running plesk 8.6. Google Sitemap Generator adds an include to an external conf in my httpd.conf as follows: [CODE] After installation I should be able to navigate to myserverip:8181 and access the GSG console. Unfortunately my browser throws up "S... | Thanks for everyones input. It turns out that my VPS provider operates a firewall on the VPS containers. By some massive fluke, any previous services I had configured (including SSH) I had set on some of the few ports open on their firewall. I had never considered another firewall to be the issue, having successfully u... | 1 | 1 | 1,298 | 2010-03-30T16:21:14.150 | infrastructure | serverfault.com | |
579,651 | What network based file system for linux allows for read only access,remote access and allows for mounting at any time? | I'm brainstorming at the moment, but basically this is what I need: A remotely accessible and mountable file system for Linux That requires no password or key to access. Is read only Allows multiple connections from different servers (over 100 servers without issue). Security isn't important (beyond being read only) as... | I would use NFS with autofs. Your server will boot if it isn't avaiable and it will mount it when you need it. | -1 | 4 | 229 | 2014-03-04T06:32:34.683 | api_errors | serverfault.com | |
1,033,870 | Google Anthos setup with VMware on premise | I am working on proof of value implementation for Anthos on premise. I went through the VSphere requirements and found a standard requirement stack on the docs which frankly is Little high (on price n size) to implement just a concept. Is there a way to create a small setup like on a single VM (performance is not the c... | From what I can find from the research I have done, the only way for you to try out small scale anthos would be to use the sample deployment [1]. This would be a small scale anthos deployment, not gke on prem, but gke on prem doesn't have a demo so this would be the only option for demo purposes I can suggest. I have a... | 0 | 0 | 341 | 2020-09-14T17:09:32.433 | pipeline_ops | serverfault.com | |
30,241 | Schema for multiple identical queue tables | I am migrating a message processing application that was built on MSMQ to SQL Server 2012 (preferably Standard Edition). Messages are received and distributed via TCP/IP endpoints and the typical installation has between 100 and 500 such endpoints. Each endpoint has its own queue to enforce strict FIFO processing of it... | Answer originally left in comments by the question author After reading up on partitioned tables, it seems that I could store multiple independent ring buffers in one since the partitions can be stored in separate filegroups, but I doubt I'm going to be able to sell the requirement for Enterprise Edition. I am going to... | 2 | 1 | 440 | 2012-12-12T03:16:15.017 | database_errors | dba.stackexchange.com | |
356,596 | Proper way to deploy and test ASP.NET applications with databases in 2017 | I'm currently developing a quite large ASP.NET application which uses SQLExpress as the underlying database. The project is currently under heavy development and is covered with unit tests and regression tests . Subversion (SVN) is used as a version control system. Those tests are very important, we need to make sure t... | Well there are a number of options and its quite detailed. Also your case is perhaps unusual in that you deploy on the customers server as well as your own. If you have a website/application then changes are you are continuously updating it. Your CI platform might look like Github: with gitflow branching Teamcity: trig... | -1 | 1 | 145 | 2017-08-31T19:50:27.770 | pipeline_ops | softwareengineering.stackexchange.com | |
42,185 | Missing or lost transaction and no errors to show what went wrong | I have 2 missing records in SQL Server and I am trying to identify the problem that caused this issue. New records are inserted using a stored procedure, which will return an error code to the application if something goes wrong. The Application, SQL Server, System Logs do not show any errors during the time when these... | You can use ApexSQL Log to read the transaction log (online, backup, detached). Even in the trial, it shows in GUI all transactions it finds in logs. That can help you troubleshoot the issue. | 1 | 3 | 4,005 | 2013-05-14T19:09:31.707 | database_errors | dba.stackexchange.com | |
559,204 | Apache virtual host serves default vhost for port 443 despite server name match for port 80 | I have two servers that are clones of each other save for a few minor configuration changes. I am getting some unexpected behaviour when trying to visit their monitoring.*.com sub domains. Running [CODE] on each server gives the following: Staging Server [CODE] Production Server [CODE] The configuration of 000-default ... | I solved this by change the [CODE] config on staging to the follow: [CODE] The change being the ServerName from www.production.com to staging.com I don't know why this fixed the issue so I am more than happy give a correct answer tick to anyone that can explain the behaviour and what Apache is doing. | 0 | 1 | 1,307 | 2013-12-04T16:11:19.957 | pipeline_ops | serverfault.com | |
510,082 | Postfix time in queue manager very high | http://screencast.com/t/7Ok2PwDDj I have been running Postfix 2.6.6 for the last 5 months. There has not been any server changes and the config allowed me to send 150,000 emails per hour with no problems. Now, things have slowed down and are progressively getting slower since about a week ago. The snapshot I linked sho... | First you need to check your server ip address in DNSSBL for blacklist and check the /var/log/maillog and look at mail status that mail are getting delivered,bounce,differed or sent according to mai status if it is sent than no problem if it is bounce or differed than this may be the reason that your server has been bl... | 0 | 0 | 2,128 | 2013-05-23T00:12:17.840 | infrastructure | serverfault.com | |
255,770 | Best practices for mounting Sun SAN NFS on Linux (Debian Squeeze) | Anyone got bestpractices for how to mount a nfsshare from Sun(Oracle) Unified Storage? We run the usual hard and nfs4 on debian squeeze. We run our VMs through this NFS share with Xen. When our SAN on friday losed a disk and started resilvering(rebuilding), all the nfs shares stailed and one of our Dom0 crashed quite b... | I don't know much about Debian and neither about NFSv4. But if the mount options are still the same as with NFSv3 my favorites (for any nfs-client-mount an any os) are: hard (so keep retrying without exponential backoff of retry times) bg (keep trying in the background without stopping anything "behind" the mount) intr... | 1 | 1 | 1,519 | 2011-04-05T07:45:49.513 | database_errors | serverfault.com | |
116,712 | Log Server Packets | Hey, Some script kiddies are crashing my clients' game servers (that are based on Linux). In order to serve the best service, I'm looking for a way to find what packets does the crashers send, so I can block it later. So, I need a simple program, that will log every packet that sent or get to/from the server software, ... | Wireshark comes to mind - or tshark for console version. Both should be available in Karmic Koala repositories. Note that all traffic could mean tens, hundreds, or thousands of Mb/sec, so check your server's average traffic and prepare for that (the data needs to be stored somewhere, NOT on a network on the same interf... | 2 | 1 | 283 | 2010-02-25T12:56:01.670 | infrastructure | serverfault.com | |
197,040 | Galera Failures | I have 2 nodes. One a VPS on NFO Servers and another on Azure. I have setup the firewalls/disabled the firewalls. The nodes are CentOS 7, Latest Kernel. The configs are as follows: Node 1 (Master DB) /etc/my.cnf.d/server.cnf [CODE] Node 2 (Secondary Node) /etc/my.cnf.d/server.cnf [CODE] Node 2 LOG: [CODE] NODE 1 LOG: [... | A few observations / ideas: You're doing geo-distributed replication since you're replicating across the Internet between two different hosting providers. Make sure you use appropriate config values to allow for the increased latency and connectivity failures. See e.g. Galera's documentation , including this part . The... | 0 | 1 | 745 | 2018-02-05T04:26:56.520 | warehouse_errors | dba.stackexchange.com | |
694,505 | Download startup config from Cisco device using SCP | I can successfully download the config from Juniper network devices using SCP - I'd like to do the same for a Cisco router. SSH access is already working, and I've enabled SCP using [CODE] . Problem is that I don't know the name or location of the file I need to download, and GUI tools like WinSCP don't seem to work (c... | Cisco doesn't require scp enabled to copying from itself.Enough to properly configure ssh server on remote machine. FreeBSD [CODE] Then run from Cisco device: [CODE] File will be saved in your home dir. | 1 | 1 | 1,898 | 2015-05-26T14:18:25.050 | infrastructure | serverfault.com | |
1,141,367 | why read is faster when using O_DIRECT flag? | I copied a 10GB of file in my SSD which has read bandwidth of around 3.3GB/s, benchmarked using fio command. Here is the ref: https://cloud.google.com/compute/docs/disks/benchmarking-pd-performance I cleared out the cache using this "sync; echo 3 > /proc/sys/vm/drop_caches". After that I tried to read the file in small... | O_DIRECT is faster than a generic read because it bypasses the operating system's buffers. You are reading directly from the drive. There are a couple of reasons this could be faster though keep in mind at this level things get insanely setup specific. Example of what I mean by setup specific factors: if you have a dri... | 6 | 3 | 910 | 2023-08-11T22:45:56.183 | pipeline_ops | serverfault.com | |
196,956 | Does hard drive space affect performance? | I saw a presentation years ago that said hard drives had the best performance when they were On the other side, with today's caching, and sometimes read ahead in products like SQL Server, a longer outside track, with no track to track movement, might be negating factors. Is this true? Is there a reason to keep space fr... | In my experience, worrying about outer track versus inner track is no longer worth the effort. The difference in performance is just too small, when factored against other performance impacting things (RAID, caching, filesystem fragmentation, etc). However, to answer your question directly, there is definitely still a ... | 3 | 8 | 7,600 | 2010-11-01T16:01:51.083 | database_errors | serverfault.com | |
170,691 | FTP - 550 Access is Denied | I have a virtual Windows Server 2008 machine that I am trying to FTP a file onto. When I enter ftp://[ipaddress] from my local machine, I can successfully login with my admin credentials. However, when I try to upload a file, I receive the following error: [CODE] I logged into the server and checked the firewall settin... | Do you have the FTP site permissions set to READ and WRITE? If not then that's the problem. | 3 | 3 | 17,942 | 2010-08-15T14:29:20.463 | infrastructure | serverfault.com | |
585,384 | Windows server mirror drive as primary backup | I was assigned to maintain an accounting server (2008 r2) in a small office recently. Then I found out they only have 1 hdd on it, didn't have a backup system at all - not even a backup of the databases. I read up about windows drive mirroring (since the server does not have a hardware controller) and thought of settin... | RAID or other forms of mirroring in the same machine are NOT a backup. What if the whole server dies and takes its disks with it? What if there is a power surge or a fire or flood? And what if someone accidentally deletes a file or database? Those deletes get mirrored too. Get a proper backup solution in place. If you ... | 2 | 8 | 2,176 | 2014-03-29T20:40:33.860 | database_errors | serverfault.com | |
596,572 | Unable to access samba server | I can't connect to my samba server running CentOS 6.4 (minimal installation) that is not located within my network. When I try to connect with my Windows 7 client, the connection fails and I get the default "unable to access " dialog displayed. What I've tried so far: Opened ports 137, 138, 139, 445 on my samba server ... | Most ISPs filter the netbios ports. If you nmap from your windows client you'll probably see the port is listed as [CODE] because your ISP is blocking it. Try configuring a tunneling protocol such as [CODE] and try using this setup instead. | 0 | 5 | 1,836 | 2014-05-16T17:31:55.930 | infrastructure | serverfault.com | |
630,282 | Restart failed processes on available machine | I'm working on a system that has about 50 processes distributed across about 4 different machines. The architecture allows for any process to run on any machine, but only allows each process to run on one machine. Having the same process running twice on the same machine or twice on different machines causes big proble... | Product recommendations are off-topic, but the term your looking for is a cluster manager and high availability clustering . | 0 | 1 | 21 | 2014-09-22T10:40:11.320 | infrastructure | serverfault.com | |
1,001,968 | Authentication in .htaccess file for sub directories | I have the following structure: [CODE] I want to add a AuthType Basic to my .htaccess in root directory, so that webiste1/ and website2/ require authentification and website3/ should be still accessible without. All three websites have there own domain. I tried: [CODE] But its not working | You can't use [CODE] containers in [CODE] files. (The [CODE] file itself is essentially a directory container and directory containers cannot be nested.) Assuming you're on Apache 2.4 and [CODE] and [CODE] appear as part of the requested URL-path, then you can use an Apache Expression. For example: [CODE] Note that the... | 1 | 1 | 687 | 2020-02-05T23:05:42.963 | api_errors | serverfault.com | |
1,005,845 | Is there a way to request other machine sizes in Google Cloud Builds? | Google Cloud Builds appears to offer three different machine sizes for running the builds, as specified here . We can see that these map onto three of the available compute machine types here . So our options are: 1 CPU, 3.75GB memory 8 CPU, 7.2 GB memory 32 CPU, 28.8 GB memory I want to run Cypress tests as part of my... | For anyone having similar problems in 2022: Cloud Build now also offers private pools with 15 additional machine types: e2-medium e2-standard-2 e2-standard-4 e2-standard-8 e2-standard-16 e2-standard-32 e2-highcpu-2 e2-highcpu-4 e2-highcpu-8 e2-highcpu-16 e2-highcpu-32 e2-highmem-2 e2-highmem-4 e2-highmem-8 e2-highmem-1... | 4 | 2 | 2,834 | 2020-03-06T11:38:06.177 | pipeline_ops | serverfault.com | |
1,005,009 | After running certbot run -d mydomain.com, the domain remotely verifies but site does not come up; what next? | Wanting to "join the modern age" of enabling https on established Apache-server based virtual hosts (some 54 of them!) I finally got around to trying "Let's Encrypt" (by EFF.org ), which, by the way, now seems to be renamed " certbot ". As I have so many domains, I decided to be conservative and start with just one dom... | It turns out there was nothing wrong with the configuration! I had a friend try it and he got the encrypted site just fine, and I could see his accesses in the log. Therefore... Most probably this was a browser cache issue! Don't YOU, TOO become a victim of the dreaded browser-cache! | 0 | 0 | 44 | 2020-02-28T17:20:14.353 | infrastructure | serverfault.com | |
14,383 | Ansible: Does the `hosts: all` pattern in a play only match hosts specified in inventory, or does it also match playbook `add_host` hosts? | I know "all" doesn't match the implicit localhost; the title succinctly expresses my question. Motivation: I have a playbook that needs to be run on cloud hosts generated dynamically and added to groups with [CODE] during a playbook, but I also need to run the whole playbook on a vagrant vm, as well as in CI (molecule)... | Q: " Does the [CODE] pattern only match hosts specified in inventory, or does it also match [CODE] hosts? " A: Simple test shows [CODE] includes also added hosts by [CODE] . In the same playbook, of course. The dynamic groups live inside a playbook only. Given the inventory [CODE] The playbook [CODE] gives [CODE] | 1 | 2 | 211 | 2021-07-24T21:51:46.097 | data_quality | devops.stackexchange.com | |
613,967 | MySQL: mysqld_safe works but unable to start mysql service, why? | I'm using MySQL 5.6.19 on a Centos 5 machine. I removed the data dir and created a new one with: [CODE] When I run: [CODE] all works fine, but when I try to start the service I get the following error: [CODE] and the error log shows: [CODE] All files in [CODE] are owned by [CODE] . I tried putting [CODE] in different l... | The problem was related to SELinux. The SELinux permissions on the newly created directories were not set properly. I discovered that by looking at [CODE] . It had entries like: [CODE] To fix it I used: [CODE] The first command was probably not necessary, since I got [CODE] The second command did the trick. | 2 | 0 | 10,970 | 2014-07-20T10:46:52.937 | database_errors | serverfault.com | |
742,837 | Web server set up for load balancing and forwarding | We are working on a networked service, where all the functionality of our software is exposed via an in-house web-server. The company's clients connect to it via a browser, does their tasks, log out, work is done. But this in house web server is a pretty straightforward software, or how to say, it's not so configurable... | Are you wanting the public facing server to operate as a caching reverse proxy? You can configure Apache (and most web servers) to do this, but you might want to consider Squid: http://wiki.squid-cache.org/SquidFaq/ReverseProxy | 0 | 0 | 144 | 2015-12-14T09:39:52.560 | infrastructure | serverfault.com | |
644,890 | How do I check output of salt command that runs in background? | I've got a salt script written by someone else that is executing a bunch of commands. It runs for a very long time. My connection to the machine that runs it broke, but it is still running. How do I get back to it to see what it does? I did not start it using [CODE] . Here's what the command looks like: [CODE] There ar... | Use the job cache. First list recent jobs with [CODE] or [CODE] . $ sudo salt-run jobs.list_jobs Note I've only included one entry here [CODE] Then get the returned output for a particular jid: $ sudo salt-run jobs.lookup_jid 20141204125446199193 | head -22 [CODE] | 7 | 12 | 15,056 | 2014-11-17T10:52:06.340 | pipeline_ops | serverfault.com | |
397,466 | RRAS won’t start with 8007042a or event ID 7024, aka the “routing remote access unable to load Iprtrmgr.dll” | History: The history of this error, which has mostly gone unsolved, dates back to Windows 2000. Platforms affected: Windows Server 2008 R2, Server 2008, Server 2003 R2, Server 2003, Server 2000 (both 32-bit and 64-bit installs are affected). Error Messages [CODE] [CODE] [CODE] [CODE] [CODE] . (32-bit installs). [CODE] ... | (This is KCotreau's original answer, but he included it in the question. Re-posting as an actual answer) Cause : There are two basic causes for this error. An incorrect key in the registry if you are running IPv6. TCP/IPv4 corruption. Related causes This has happened to me on a couple of Dell Windows 2003 R2 64-bit ser... | 3 | 3 | 35,569 | 2012-06-11T05:14:44.520 | infrastructure | serverfault.com | |
56,965 | When is it okay to ship a product with a known bug? | When is it okay to ship a product with a known bug? | I assume you are talking of a "known" bug (the question is meaningless otherwise). Well, the answer depends on these factors: 1) Who is the user and how will he/they accept the bug in case it is found? 2) What is the potential impact (damage) of the bug? 3) Is it feasible to delay shipment of the software in order to f... | 20 | 12 | 4,515 | 2011-03-11T08:10:31.430 | api_errors | softwareengineering.stackexchange.com | |
286,696 | Is it possible to run a stored procedure automatically on a new database when it is attached? | Replication is causing issues on our daily snapshots. What we would like to do is remove replication automatically on a database when it is attached to the SQL server. Is this possible? | This Link may answer your question. An hourly job as pointed out by David Browne would be my choice. | 1 | 0 | 105 | 2021-03-08T20:45:29.943 | database_errors | dba.stackexchange.com | |
882,669 | HP SmartArray disk not responding in bay 2 during boot | I've RAID 5 array that started acting wonky lately. During POST it shows this error: [CODE] Then it boots (after a 45 second delay) and starts rebuilding: [CODE] (This takes about 40 minutes.) We've tried replacing the disk in bay 2, with no perceptible difference. We've added a spare disk into bay 5, added it to the a... | You're supposed to press [CODE] when prompted. See: HP ProLiant disk failure, proceed or do not proceed I'll add that the HP Smart Array P600 is a very old PCI-X controller, dating back to 2004/2005... So, are you dealing with a 11+ year-old server, controller and disks? | 2 | 1 | 613 | 2017-11-09T14:44:30.477 | infrastructure | serverfault.com | |
718,731 | Handling the potential risk of writing random bits to storage during power loss with RAID | Is it possible for a power failure to cause some part of a machine to write one or more random bits to a storage device? Someone proposed the following idea to address such a risk: create multiple partitions on a single disk which together form a single RAID1 array; then assemble multiple such arrays together as anothe... | Is the threat of writing random data during power loss a real one? For power loss: Random? Unlikely. Corrupted (half written data, etc)? Sure. For a power surge: I guess there might be a possibility that random data might be written, but if the surge has reached far enough into the system to affect memory it's more lik... | -1 | 2 | 75 | 2015-09-03T03:34:11.193 | data_quality | serverfault.com | |
197,452 | SQL Server kicking off multiple SSIS processes for same job | I've seen this bug before and I don't know what made it go away in the past. I have a test server that has three jobs that each kick off their own SSIS package. In production this works fine and there are only ever three ISServerExec processes in Task Manager, but on this one test server the number just goes up and up ... | I found the fix but I can't explain what changed to make the fix necessary. I added the "SYNCHRONIZED" parameter to the package parameters of the Agent job step and then the job acted normally, waiting for the package to finish and marking the job as successful only when it actually was. | -1 | 0 | 380 | 2018-02-09T00:25:08.547 | database_errors | dba.stackexchange.com | |
243,165 | Retrieve LOGINPROPERTY information via linked server | When I run the below query on a linked server it returns nulls in the "DaysUntilExpiration" column as per resultset. [CODE] The result set of the above query: [CODE] The expected result: (The same query, excluding the link server detail, was executed on the server directly) [CODE] Will it be possible to get the number ... | I was able to retrieve the correct information by wrapping your original query up in [CODE] . Using [CODE] ensures the entire query (including the [CODE] stuff) runs on the remote server. See if this works for you. [CODE] | 0 | 0 | 176 | 2019-07-18T08:44:12.350 | warehouse_errors | dba.stackexchange.com | |
275,758 | How to completely un-install SQL Server | I had installed SQL Server 2008 SP2 Eval and got into some problems. Another post in this forum helped me to retry installation - Problems installing SQL Server 2008 SP2 However when i rerun installation it just loops back with no results. Is there one batch of commands which will make the PC just forget it ever had SQ... | Try manually unstalling SQL: http://support.microsoft.com/kb/955404 | 1 | 1 | 125 | 2011-06-01T04:27:26.063 | database_errors | serverfault.com | |
823,176 | Same Postfix aliases for different domains | I've got Postfix managing two different domains [CODE] and [CODE] , included in the [CODE] variable of the [CODE] file. I need an [CODE] file including something like this: [CODE] Since [CODE] syntax does not allow me to do this, how can I solve? | You can use the [CODE] like so: [CODE] with content like this: [CODE] Of course, postfix needs to know how to handle the addresses. After that, don't forget to [CODE] and to reload Postfix. Read http://www.postfix.org/VIRTUAL_README.html | 1 | 2 | 628 | 2016-12-29T10:58:52.680 | infrastructure | serverfault.com | |
55,434 | Replication Monitor Missing Subscriptions in Watch List | In Replication Monitor, for one of our publications (transactional replication), none of the subscriptions are showing up in the Subscription Watch List. This is new behavior that just started recently. The other publications associated with this distributor don't exhibit this behavior, the subscriptions are visible un... | Update for resolution if someone is having similar situation. I faced similar scenario where I could not get subscription agent list pulled up when launched replication monitor neither I could get the result from Sp_replmonitorhelpsubscription and the query kept on running without result. When checked currently executi... | 0 | 0 | 2,639 | 2013-12-21T17:50:28.267 | database_errors | dba.stackexchange.com | |
380,464 | Optimising network data usage in vehicle tracker | I'm currently working on an Android application that broadcasts the location of the device every 5 seconds. Pseudo showing current app process: [CODE] This is the actual Java code used to send the put request: [CODE] My question is twofold: 1) Can any optimisations be made to the HTTP PUT request written above to reduc... | Perspective Some back of the envelope calculations to put things into perspective: Let's assume that handling a single such request consumes 2 kB of data. That's 24 kB of data per minute, 1.44 MB per hour. 34.56 MB per day, 1.04 GB monthly. That's neither a big nor a small number (at least for a typical consumer/busine... | 0 | 2 | 67 | 2018-10-23T18:04:01.373 | api_errors | softwareengineering.stackexchange.com | |
466,190 | How to make Tomcat 7 log debugging info? | Tomcat 7 takes more than 21 minutes to start: [CODE] When it finishes it says that it's scanning JARs that don't contain TLDs: [CODE] A paste of the entire log can be found here . After searching the error, I discovered that someone had resolved the same issue by modifying [CODE] to log more verbose information. But wh... | In tomcat 7, logging.properties contains an entry: [CODE] , which is commented out by default. Would removing the comment help give you the information you are looking for? | 4 | 1 | 43,694 | 2013-01-11T14:58:25.987 | infrastructure | serverfault.com | |
286,498 | How can I define a one to many constraint between columns of the same table? | I'm creating an IDs table in PostgreSQL to represent the relationship between multiple foreign IDs - call them [CODE] , [CODE] and [CODE] . I happen to know that the foreign IDs have one-to-many relationships between them: [CODE] [CODE] I'd like to represent them as a single table (see below), but enforce the one-to-ma... | This has to be done by [CODE] , because it is too complex for [CODE] constraint For updating you need a similar trigger/function [CODE] [CODE] [CODE] [CODE] ERROR: The column c111 already with b11 CONTEXT: PL/pgSQL function check_insert() line 4 at RAISE [CODE] ERROR: The column b21 already has already a column CONTEXT... | 1 | 2 | 348 | 2021-03-05T13:24:43.277 | database_errors | dba.stackexchange.com | |
775,808 | icinga NRPE vs. SNMP | Is there a list of the pro/s and con/s of NRPE vs. SNMP when using icinga? I have no idea what's the best way to handle the returned data of plugins back to my icinga monitoring machine. Usage of SSH as connection is no option for me. | I see no where that Icinga or Nagios use snmp to handle returned data of plugins. Icinga use nrpe and you don't need a ssh connection, nrpe bind a socket that listen on port 5666, so you have only to open tcp connection on that port. | 0 | 0 | 578 | 2016-05-10T07:59:46.900 | pipeline_ops | serverfault.com | |
811,194 | Failed to open /etc/webmin/apache/site for writing : No space left on device | Im running centos 6.8 with virtualmin My server is from kimsufi.com with a disk space of 2tb the file system is 20gb below I have df -h output: [CODE] with df -i 48% is 100% Im a newbea but my server was working fine since one month ago. I tried to clear the cache after searching google with the following command: [COD... | You probably have some program that creates a lot of very small files, in my experience on RH6 some cron script that produces output that get's sent by local mail. Check the output of: [CODE] If the number at the fifth column is high with respect to the other files that's it. Update From the output of ls -l /var/spool/... | 0 | 0 | 3,661 | 2016-10-25T15:09:03.033 | database_errors | serverfault.com | |
495,817 | Why is my nodejs application with forever not starting with Upstart on EC2 instance? | I am trying to start a nodejs application with [CODE] ( [CODE] simply restarts the program if it crashes), but [CODE] itself is not auto started on boot. So I am using upstart to initialize [CODE] . I have tried hundreds of ways to achieve this (many trial and error attempts), but nothing really seems to work for me. S... | As shown in init(5), the export line is invalid (Upstart syntax is not shell). You need to specify: [CODE] Please see: http://upstart.ubuntu.com/cookbook/#checking-how-a-service-might-react-when-run-as-a-job http://upstart.ubuntu.com/cookbook/#see-the-environment-a-job-runs-in http://upstart.ubuntu.com/cookbook/#respaw... | 1 | 1 | 2,778 | 2013-04-03T16:49:38.730 | infrastructure | serverfault.com | |
982,043 | 2 Hyper-V VMs in separate Hosts connected to each other through secondary NICs on each host | So, I have two host servers each with an integrated NIC and then another 4-port NIC. Host A is running the primary copy of a VM and host B is running its redundant copy. the redundancy is done at the application level and requires that the servers have a dedicated connection between each other, no switches, just a cros... | requires that the servers have a dedicated connection between each other, I guarantee that is not the case. They may need secondary NIC's, but they can be virtual. I mean, seriously, I run multiple clusters over dual 100g NIC and - the VM's all only have ne NIC each as sstandard. how would I configure my Hyper-V VMs to... | 1 | 1 | 1,334 | 2019-09-05T15:13:49.710 | pipeline_ops | serverfault.com | |
53,234 | How to properly split train and test to measure performances? | Have specific question about how to measure a model's performances: Is it correct to have common samples between the train and the test sets? Is it correct to have duplicates samples in the test set? | welcome to the forum. I dont know what you exactly mean with 1) „common samples“. But train and test should have no common rows/observations. They should be two distinct sets. Having duplicates in test is not a good idea since you want to test how well your model works on data not seen so far by the model. Duplicates i... | 0 | 1 | 53 | 2019-06-05T08:55:54.293 | data_quality | datascience.stackexchange.com | |
412,121 | Mail server name keeps changing | I have a server running Snow Leopard and I'm having an issue with mail. Occasionally (and seemingly without reason) the mail server's domain and host names change to "local" and when this happens, no one can send mail and any mail received is lost. Any idea what is causing this change? At worst, I'll change permissions... | Take a look here . Seems that this behavior can be a result of OSX not being able to resolve its FQDN from its assigned DNS servers. So, check to make sure you have a working DNS entry for whatever you want the server's name to be in whatever DNS servers you're using on this server. | 3 | 2 | 112 | 2012-07-28T16:31:40.203 | infrastructure | serverfault.com | |
548,194 | txt file descriptor in lsof | In my experience, files that have the file descriptor of [CODE] in [CODE] output are the executable file itself and shared objects. The [CODE] man page says that it means "program text (code and data)". While debugging a problem, I found a large number of data files (specifically, ElasticSearch database index files) th... | On Solaris, everything that is mapped into the memory space of the process will be listed by [CODE] as [CODE] , regardless of being the started executable, or an executable shared object mapped by ld.so, or any data file mapped directly by the application. On Linux, only the started executable will be listed as [CODE] ... | 2 | 2 | 1,671 | 2013-10-23T21:41:53.573 | database_errors | serverfault.com | |
565,107 | When does Postfix use IPv6 and when IPv4? | I've configured my mail server for IPv6 and IPv4 but in the most cases it uses IPv4 while IPv6 is available on the remote host. I use Postfix in version 2.9. So my thought was that postfix uses IPv6 if available and has a fallback to IPv4 or am I wrong? | Have you set the smtp_address_preference option to expliclity prefer IPv6? From postconf(5): [CODE] | 14 | 20 | 18,425 | 2014-01-05T00:54:38.090 | infrastructure | serverfault.com | |
296,991 | Development environment for lots of websites with Git | I have 5 different websites that use exactly the same code, apart from they have an uploads folder with different contents (AKA images that aren't consistent through every site) and also a config file which has a few settings like whether this is a production environment, which database to use etc. My problem is I have... | It sounds like you are trying to get the site configuration into your version control system (git). This sounds like a bad idea, especially if you want 1 branch per config. You'd be best served by only storing the source code in git, and keep the rest as configuration on the server, outside of git. Either as a config f... | 0 | 3 | 104 | 2015-09-11T13:19:00.650 | api_errors | softwareengineering.stackexchange.com | |
260,532 | Setting up Multi-server Infrastrure? Advise the best options | We are setting up a number of Virtual Machines (around 250) for a customer who is basically using an application written in LAMP + Java with a bit of customizations in each of these 250 instances. Essentially each app can be considered as a web app, which can scale to around 200 -500 GB of data ( mostly files), and app... | We are in fact considering running RAID 0 based 30 TB arrays, with each array being mirrored to another array. So in case of any failure the redundant box takes over, giving us ample time to switchover. Unless I'm missing something here this is a dangerous setup. A single disk failure in the second array will lose your... | 2 | 0 | 147 | 2011-04-17T00:18:06.083 | database_errors | serverfault.com | |
331,357 | Commit messages in a multi-platform project | I have a project which supports multiple cpu architectures and multiple compiler toolchains. Some part of the code is the same for all architectures/compilers, but the other part is architecture- and/or compiler-specific. I think this is quite a common situation. So I'm wondering, what people write in their commit mess... | If you change something in your code, you document the change in the commit log. If you have to apply the same kind of change in two places (for example, because the code A is written in assembly language X, similar code B is written in assembly language Y), and it is really "the same thing" you change, you will also h... | 0 | 0 | 80 | 2016-09-18T14:21:05.037 | api_errors | softwareengineering.stackexchange.com | |
175,323 | Sql Server Configuration Manager | I have two SQL Server named instances, [CODE] and [CODE] on one computer, and they correctly show up under [CODE] | [CODE] . However, when I try to configure [CODE] | [CODE] , there is no option to specify to which instance the setting will be applied. It appears that this is server (machine) level setting that would a... | You are confusing Server Network Protocols and Client Network Protocols. Essentially, Server Network Protocols change the way in which SQL Server listens for incoming requests and Client Network Protocols change the way in which an application sends a request to SQL Server. As the Client Network Protocols are a shared ... | 3 | 3 | 1,064 | 2017-06-03T04:51:40.757 | database_errors | dba.stackexchange.com | |
749,759 | Catch all forwarders for multiple domains on Postfix (Ubuntu) | I'm trying to figure out catchall forwarding for multiple domains on my Ubuntu server. I have it working for a single domain (maindomain) but cannot get the addons 1 and 2 to work. My /etc/postfix/virtual looks like [CODE] and /etc/postfix/main.cf looks like: [CODE] Originally I had example.com in the mydestination lis... | I could be wrong on this, but please execute [CODE] If [CODE] is listed before [CODE] , then you need to execute [CODE] . You need to do that every time you change the file. | 0 | 1 | 881 | 2016-01-17T16:58:36.740 | infrastructure | serverfault.com | |
330,630 | Code review and then what? | In my team we have a policy that each code should be reviewed by at least one other developer. When the review is done the reviewer just clicks the merge button so the code ends up in development. Recently a idea came up that the reviewer should not be able to merge directly, but should pass the code review to a member... | The idea of a required code review before it ends up in a shared branch is a good idea. Of course, the people who are doing the code review should be the people with the knowledge of the system under development (including the requirements, architecture, and future direction) rather than just any team members. It doesn... | -1 | 3 | 225 | 2016-09-09T14:28:18.663 | api_errors | softwareengineering.stackexchange.com | |
33,428 | Select Table Vs Select View? | I was told from a SQL-DBA that there is a huge gap in performance between these statements, both statements are called from a stored procedure: [CODE] The SQL-DBA told me that selection from table is faster because when you select from a View, all data will be selected first then filtered, but from table it will apply ... | The SQL-DBA told me that selection from table is faster because when you select from a View, all data will be selected first then filtered, but from table it will apply filtration directly. As a general statement this is nonsense. The view definitions are expanded out during query optimization and the predicates are pu... | 1 | 7 | 3,645 | 2013-01-23T08:15:11.460 | database_errors | dba.stackexchange.com | |
96,483 | SSH if command output is more than about 5 lines | I've been advised to ask this question here: I'm baffled by the following issue I'm currently experiencing. I have a Debian 5.0 Linux server connected via an ethernet cable to my DSL router. My laptop is running Windows 7 and is connected wirelessly (802.11b/g) to the same DSL router. If I SSH into the server using Put... | sounds like a wired MTU issue. slightly... is it possible that you have jumboframes enabled? probably not. anyway - try setting lower mtu on the debian and see if it helps. | 14 | 11 | 10,214 | 2009-12-21T22:07:16.570 | infrastructure | serverfault.com | |
434,840 | Flexible virtualization infrastructure Design with libvirt | I'm going to install a CentOS6 Server with Virtualization ( libvirtd ) capabilities on a DELL Server with Hardware RAID5 of around 6T of disk space ( It has 4x2T disks in a PERC700 RAID Controller ). I'm going then to install some guests which requires few resources except one that needs 500GB of disk space, 8/16GB of ... | Performance is a matter of opinion and a question of what task are you looking at trying to perform? Until you can describe the "type" of performance you need... all answers will be just a random shot in the dark. And of course... many of the answers will also depend on your hypervisor. (libvirt is just an abstraction ... | 1 | 1 | 183 | 2012-10-04T14:41:47.750 | api_errors | serverfault.com | |
448,114 | How clean is deleting a computer object? | Though quite skilled at software development, I'm a novice when it comes to Active Directory. I've noticed that AD seems to have a lot of stuff buried in the directory and schema which does not appear superficially when using simplified tools such as Active Directory Users and Computers. It kind of feels like the Windo... | Even long after I got it all working, I've stumbled upon the old name hidden away in LDAP. The rename of a domain controller is actually pretty good at getting objects and references renamed after a reboot, in my experience - can you be more specific about what objects you had problems with? (As an aside, doing this in... | 0 | 2 | 7,507 | 2012-11-13T08:17:25.133 | infrastructure | serverfault.com | |
403,221 | SQL Server Rights to backup drive | I'm trying to copy a backup I've made from one server to another using either an SSIS or Powershell step in a job. I've run into the same error on both systems when running the step under the sql agent. I receive errors that the path does not exist. I've tried granting the agent rights to e:\backups, where the file is ... | Given that you indicate you are copying to E:\Backups that it represents another server, it sounds like you are using mapped drives. Whatever agent you are using is probably being run in non-interactive logon mode, which precludes the use of mapped drives. I suggest you try to use UNC paths instead, ex: \\servername\ba... | 1 | 0 | 63 | 2012-06-28T21:50:05.220 | database_errors | serverfault.com | |
315,992 | Migrate databases between Azure managed Instance and Azure SQL VM | (scroll to the end of the post to see latest development) There's a necessity for migration of 3 databases from Azure MI to Azure SQL VM (OS 2022, SQL 2019 standard). Each database has 500GB+. Each database also contains partitioning schemes, functions, multiple filegroups, user data types and external assemblies. The ... | If this is a one off migration, where you won't need to keep the SQL Server databases in sync with the MI databases, you could potentially use snapshot replication. Unlike transactional replication, snapshot replication doesn't require primary keys in articles that are replicated. There might be some things that don't ... | 0 | 1 | 682 | 2022-08-24T09:08:17.857 | database_errors | dba.stackexchange.com | |
406,912 | If my development machine is slow and has low end specifications, why can't I just rent a VM on Azure? | I need 16GB RAM on my development machine to do some Android programming but I can't really afford to buy a new one. So, what's there to stop me from just creating a VM on Azure, use it for just a few hours every day (since its billed per second) and save a lot of costs? If I am using Azure's spot instances, I am getti... | AWS offer a remote desktop product which maintains state and basically acts like a normal desktop. At first I was skeptical of how fast this kind of thing would be for heavy tasks like running a dozen VS instances etc. But I was pleasantly surprised. If you have a good internet connection it works well. I think you wil... | -4 | 2 | 90 | 2020-03-24T10:01:16.797 | pipeline_ops | softwareengineering.stackexchange.com | |
233,729 | Dividing database between MySQL and NoSQL | Mine is a typical website developed with LAMP stack. Due to scalability issues we are planning to incorporate NoSQL for the application. For the implementation, we are planning to implement hybrid solution: using NoSQL only for few of the high volume tables in database and keep on using MySQL for all the other. So, we ... | Your best bet to improve scalability is to focus on removing calls to the database, rather than to remove data from the database. (although that may happen with things like session data) If your web application is like most I've seen, a single page load triggers multiple HTTP requests. Each of these requests is likely ... | 1 | 1 | 292 | 2014-03-26T05:14:39.933 | database_errors | softwareengineering.stackexchange.com | |
1,057,829 | Unable to compress 18GB file on Ubuntu Linux 18.04 | It never happened to me before, but I'm unable to do a simple task such as compressing a 18.5 GB file on Ubuntu Linux 18.04 with any of the popular compressing tools such as gzip , bzip2 and 7z . All of them report a similar warning (not error) message claiming that the file size has changed during compression, when ac... | OK, I'm answering my own question which may serve someone else for realizing if he/she is actually having hardware problems. After trying multiple times to compress the problematic file (even with different compressors), I just tried to copy the file to another directory using [CODE] , which dumped an I/O error while r... | 5 | 3 | 538 | 2021-03-22T08:03:38.673 | database_errors | serverfault.com | |
264,944 | Designing a scalable schema for college database | I am trying to build back end for college ERP system. The system will be based on LAMP. These is the scenario: Colleges have 5 branches There are 4-6 classes in each branch. There are 80 students in each class. Each class has almost 6-7 subjects. There are around 250 Faculties. Each of them teaches one or more subjects... | Initial response Some preliminary matters: As a practical matter I find it's helpful to throw in date fields for created/modified times; it makes your life much easier when debugging data problems. Pretty much any table that's not a lookup table would benefit from it. If a table is write-once, consider foregoing the mo... | 5 | 7 | 32,376 | 2014-12-09T06:45:27.240 | api_errors | softwareengineering.stackexchange.com | |
956,110 | vCenter Server crashed after improper removal of VMware tools on a client | We administer a small business network (3 Dell servers and about 20 Windows workstations). The installation is mostly Microsoft based Active Directory, Windows Servers, WSUS, etc. All machines and PCs have current VMware 6.5 and Microsoft updates. Two days ago the vCenter Server Appliance 6.5 crashed and we needed to r... | No, this is not a known scenario. The VMware tools are not really necessary to run a VM, they only make it smoother (and allow some features to work in the first place). The removal of the VMware tools should not affect the vCenter appliance in any way. Additionally, it should not be necessary to restart all hosts just... | 1 | 2 | 136 | 2019-02-28T08:30:44.967 | database_errors | serverfault.com | |
70,691 | What could be causing SVCHost to leak handles? | I have a problem that has been causing me all sorts of grief recently. SVCHost appears to be leaking resources all over the shop. This is the SVCHost run with the arguments "-k netsvcs". At the moment it is sitting at around 5,700 Handles being used. Before I rebooted the machine it was sitting at around 33,000 handles... | Just in case anyone is interested I discovered that I had a slight error inside some WMI using code. The system was failing to release a WMI object. Once the code was modified the problem went away. Alas it never occurred to me that a leak in MY code would cause a leak in svchost :( Now don't get me started on the non-... | 2 | 1 | 3,497 | 2009-10-02T09:28:45.707 | infrastructure | serverfault.com | |
34,024 | sklearn .fit error | I am trying to copy some code from a video to do a decision tree program, which will predict if a student will pass or not depending on 30 parameters given. I did exactly as written but get an error as below: [CODE] And the output is: [CODE] If possible, could you please explain to me how to fix it? edit: solved it aft... | I cannot see your data (included in student-por.csv) but I suspect that it includes strings (maybe for student names). You should either drop the string variables or convert them to categorical (one character for each different value of the variable). This means that if you have a column with subject names, you should ... | -1 | 1 | 2,774 | 2018-07-05T08:52:54.723 | data_quality | datascience.stackexchange.com | |
313,360 | MySQL query with both inner joins and left joins? | I had a problem where I need to query multiple tables, but one of them needed to be LEFT JOIN as well as my normal inner joins, so I could see nulls in the result set, if there were missing values. Took me forever to get it right, so I am posting the answer below. | This is from a Drupal site, which is why the table names are weird. [CODE] Just FYI: What I am trying to accomplish with this query is I am looking for tasks where the due date is set, but no "due date email" has been sent yet. So to explain a little-- the tables listed next to my FROM are in parenthesis, and you can s... | 0 | 0 | 58 | 2022-06-14T23:09:18.687 | database_errors | dba.stackexchange.com | |
420,223 | Setup two NICs, one public and one private | I have two servers in a datacenter, both running Windows Server 2008 R2. Both of these servers have 2 NICs. I am trying to setup one NIC to be used for public access and the other for a private network between the two servers (I have been assigned 2 private IP addresses by the datacenter). I setup the first NIC (public... | You should empty the gateway setting on the private NIC if you are still able to control the server or ask someone who can do this if you lost control over it. You can try to reach the first server from another one by its private IP if you still have control over the second server. | 1 | 4 | 1,543 | 2012-08-22T22:10:13.630 | infrastructure | serverfault.com | |
218,823 | Can a VM perform better when only two cores instead of four cores are presented to it? | We had a VMWare VM at work with two cores allocated to it that ran a pretty heinous process in IIS. Under load the process was maxing out the CPU usage on both cores, so we asked our system engineers to present the other two cores of the physical processor to the VM. The engineer immediately said that this would not im... | I'll chime in here and say that what your engineer was likely talking about is the fact that a VM with multiple vCPU's has a distinct disadvantage when scheduling CPU cycles. A 1 vCPU VM can execute instructions as soon as a single core is available. If a VM has 4 vCPU's, then it literally cannot execute any instructio... | 7 | 9 | 16,375 | 2011-01-05T05:04:20.193 | infrastructure | serverfault.com | |
585,173 | Windows server 2012 VPN + RDP | I'm trying to connect my Windows Server 2012 to a VPN while working on it on rdp but when I connect the VPN my rdp connection is closed and I cannot reconnect. How should I do to be able to connect to a VPN (client) from my Server and rdp (server) at the same time ? | I could be wrong, but it sounds like split tunnelling issue. Try unchecking [CODE] in the [CODE] connection properties | 0 | 1 | 833 | 2014-03-28T14:50:14.930 | infrastructure | serverfault.com | |
14,673 | Continuous integration of an operating system | I want to hire a VPS but my problem is that most if not all of the VPS companies out there expect me to work with it as is and if I want to majorly upgrade it, I must, backup everything I have added on top of it, delete the OS and then install a new version of the OS from the VPS hosting company's own interface (the on... | You could use Major Public Cloud Providers (AWS, Azure, GCP) or any other Location (Hetzner Cloud, Linode, digitalOcean etc) [ list ]that is supported by Packer . With Packer you can build and maintain your system image and customize it. Each time you want to upgrade you can build a new image. By building the new image... | 0 | 1 | 45 | 2021-09-14T12:03:13.307 | database_errors | devops.stackexchange.com | |
434,110 | How to redirect a Hyper-V COM port named pipe to a file? | I would like to redirect the serial port output on RedHat 5.7 to some recordable or reviewable medium. The normal way to do this on a physical machine is to add the console parameters to the kernel in grub like what's below, connect it to another machine via a serial port and null modem cable and use minicom, hyperterm... | Under Windows 10 Run PuTTY as administrator In the session options, select Serial Set the Serial Line to the named pipe, e.g. [CODE] Set the Speed to something faster if desired | 1 | 1 | 4,485 | 2012-10-02T16:19:05.073 | infrastructure | serverfault.com | |
710,033 | Issue with permissions on MongoDB data directory | TL;DR: MongoDB complains about permissions on a directory where everything is allowed. I am running [CODE] on [CODE] . I'd like to store data on an external drive, which is formatted to [CODE] and mounted via [CODE] with the following line: [CODE] The permissions on [CODE] are: [CODE] They were set after the drive was ... | Setting the owner of just [CODE] and [CODE] to [CODE] solves the problem. However, this solution will not work if the drive is formatted to NTFS and mounted via [CODE] , unless the owner of the entire drive is set to [CODE] . I'm marking the question as solved, since from the formal viewpoint this is indeed a solution ... | 1 | 0 | 1,563 | 2015-07-31T17:21:56.040 | database_errors | serverfault.com | |
582,422 | Supervisor cannot correctly stop uwsgi | Supervisor can start uwsgi but after stopping uwsgi, when i try to start it again I get this error: [CODE] It seems it didn't correctly stop uwsgi as when it tries to restart it there is a problem. My config for uwsgi for supervisor is as follows: [CODE] I have also tried this with stopsignal=quit. Where have I gone wr... | You need to give [CODE] the pidfile of the process you're trying to stop: http://uwsgi-docs.readthedocs.org/en/latest/Options.html#stop | 4 | 0 | 2,004 | 2014-03-16T12:44:20.900 | infrastructure | serverfault.com | |
836,842 | routing all network traffic over a internet host | i would like to replicate what openvpn redirect-gateway does, routing all traffic over a internet server into the internet and back. my client pc -> home router -> internet -> 1.2.3.4 -> internet this is my normal "route -n" output with a working internet connection: [CODE] now i would like to send all traffic over 1.2... | Your approach won't work because the way IP routing works in general. Explaining IP routing here is not suitable for a Q&A site like Serverfault, it would take far too much text. The way to make it happen is like this: Create a tunnel for IP packets between source and your desired router. Ensure that your routing table... | -1 | 0 | 643 | 2017-03-07T18:07:33.750 | infrastructure | serverfault.com | |
1,046,287 | missing ssh key in results returned by ssh-keyscan? | in short [newbie here] Why can't I find my SSH key with which I connect to my server in what is returned by [CODE] ? I rent a dedicated server based on Debian 10 ( OVH ) The server is configured with an ECDSA SSH key (henceforth named [CODE] ) and I connect without any warning/error message to the server without ever g... | You seem to be confusing the host keys with your personal user keys. These are separate and distinct. [CODE] retrieves the host keys for a given host. It does nothing with user keys. | 0 | 1 | 727 | 2020-12-15T15:12:14.240 | infrastructure | serverfault.com | |
99,316 | Will a Bachelor of Science in something other than Computer Science hurt a career in software development? | I have a BSc in Geology. Once I was half-way through my bachelors only, I found where my real talents are. Will my basic degree be a problem for me to progress in the Software field (I feel lot of leading companies are considering the basic degree)? Also what would you recommend to put my self in an equally competent p... | Any of the hard sciences will be fairly even with CS as far as mathematical requirements go, just in different directions. It might help to seek out jobs in Geographic Information Systems, Embedded Systems in the Oil or Mining industries or Remote Sensing applications before transitioning to something more "pure" as fa... | 12 | 19 | 1,622 | 2011-08-08T05:15:34.733 | api_errors | softwareengineering.stackexchange.com | |
332,701 | Does SQL implementations (or at least SQL Azure) skip obvious duplicate data with joins when returning data? | Say I have: very wide table A where I need all columns that I need to join with a small table B that has a LOT of rows. Of course when I join these two tables I get returned all the content of A for every row of B. Is this internally being optimized away or does all this data being sent over the wire? Because if it's t... | It will repeat the content. SQLServer does not try to second guess why you wanted all this data, nor does it try to interpolate to reduce the overall volume sent. If you join tables together & over partial keys (ie, not 1:1) then you will get this multiplication effect (ie, 1:n) per row in table A. If you are getting a... | 1 | 2 | 74 | 2023-11-01T14:09:19.800 | data_quality | dba.stackexchange.com | |
870,589 | Deploying EC2 instances within AZs in the same region using Terraform | I need to deploy 3 EC2 instances within 3 availability zones inside the same region using Terraform. I was trying to use the following structure: [CODE] and [CODE] However it did not help much. It simply does not work I'm getting the following error: [CODE] Does anybody knows how I can use variable type map, instead of... | You define AVZ as a map, but you do not use a key to access it. A [CODE] is normally used in old code with string values instead of lists. So try this interpolation: [CODE] | 0 | 1 | 161 | 2017-08-26T16:28:12.513 | pipeline_ops | serverfault.com | |
709,120 | G-Wan uses all available memory | I've installed the latest at the moment g-wan web server (4.3.14 x64) on a KVM VPS with Ubuntu 14.04.02 x64 server edition provided by Vultr ( 1GB RAM, 1 CPU core and 2GB swap ). The VPS setup is absolute barebones - just Ubuntu and g-wan. I've copied g-wan to /opt/gwan/ and started it as a service by using the init sc... | [CODE] Look no further, one day the KVM hypervisor might get CPU virtualization right by updating the /proc/sys kernel variables correctly... In the meantime, KVM will break every [CODE] application, like G-WAN. The "fix" is to run G-WAN like this: [CODE] This will force using 1 CPU Core, despite bogus system informati... | 1 | 1 | 344 | 2015-07-28T07:04:17.877 | infrastructure | serverfault.com | |
45,574 | Should Development / Testing / QA / Staging environments be similar? | After much time and effort, we're finally using maven to manage our application lifecycle for development. We still unfortunately use ANT to build an EAR before deploying to Test / QA / Staging. While we made that leap forward, developers are still free to do as they please for testing their code. One issue that we hav... | My question is, should we develop on the same application server we're deploying to? Not exactly the same server. You can't test upgrades and new releases if you make the silly rule that all servers are identical. [Some folks try to pass the rule. It can't work because it prevents upgrades or creates a special case tha... | 3 | 5 | 4,248 | 2010-03-24T17:48:17.103 | api_errors | softwareengineering.stackexchange.com | |
511,909 | Multi MX records with nonidentical e-mails | I have two domains, one forwarded to the other. I want to use 2 e-mail accounts on both domains as aliased but some e-mails only on the other domain. I will create 2 MX records for both domains with different priorities. I wonder that if a mailserver checks domain MX and couldn't find the e-mail account on MX 10 priori... | I'm not sure I've completely understood your question, but I'll try and answer. MX priorities are there more for high availability or backup purposes, if two servers are going to be receiving mail for a single domain, they need to have the exact same users and aliases, though they could have different destinations, the... | 0 | 2 | 240 | 2013-05-30T11:12:33.817 | infrastructure | serverfault.com | |
549,637 | PPTPD not work when connecting from Internet | I have VPN server on Debian stable. People in LAN (gray network) use this server for access to internet (WAN). But I also want to use this VPN server as something like "proxy" (connect from internet, and browse the web). I can connect to server from internet, but internet not work: client get IP from server, also can p... | Reading your story my guess is you should explicitly allow ppp interfaces: [CODE] | 1 | 0 | 1,315 | 2013-10-30T12:55:23.983 | infrastructure | serverfault.com | |
839,904 | How to determine why MySQL suddenly stops on Ubuntu | How do you determine why MySQL stops running? I recently upgraded an Ubuntu server to 16.04, and now MySQL will suddenly stop after a few hours. It's acting as the backend for a Wordpress install. My MySQL version is now: [CODE] Checking [CODE] shows the server hasn't rebooted in a few days, so it's not an issue with M... | It can be stopped due to OOM (out of memory killer). In short: when memory, swap included, is almost completely full, the Linux Kernel can kill some demanding processes to alleviate memory pressure. Does [CODE] report something? | 1 | 1 | 3,645 | 2017-03-22T13:37:17.733 | database_errors | serverfault.com | |
270,166 | How to detect client character encoding? | I programmed a telnet server using C as programming language but I have a problem to send characters with emphases (é, è, à ...). The character encoding is different between the telnet clients (windows, linux, putty, ...). What can I do to detect the character encoding of the clients which are connected to my server ? | Guessing the encoding of a message based on its byte values is always imperfect, although it can be made to give relatively accurate results. There are libraries available to do this, e.g. IBM's ICU. But the preferable option is always either to standardize client and server on one encoding and always use that, or to f... | 2 | 5 | 1,269 | 2015-01-15T10:47:35.057 | api_errors | softwareengineering.stackexchange.com | |
256,946 | How to transfer differences between local and remote directory using a disk | I have several large directories containing hundreds of GB of files that I'd like to keep synchronized between home at work. Rsync is the obvious choice for transferring new files (both machines are Linux) but the bandwidth usage is a problem. Is there a way to use rsync to store the deltas in a directory (on a portabl... | You can rsync from one disk location to another, but as far as I know there's no way to store the deltas rsync would use (because there's no way to guarantee that the files are still identical from one box to the next). You COULD do what you're asking with a 500GB or 1TB external hard drive (rsync to that, take it home... | 0 | 2 | 420 | 2011-04-07T16:18:18.393 | infrastructure | serverfault.com | |
50,636 | What content blocker is this? | I was using browsershots.org to check out what our redesigned Web site looks like in different browsers. One of the distributed VMs giving results (specifically, vm-fab-964 ) apparently lives behind a content-blocking filter, and gave this error message : Access Denied (content_filter_denied) Your request was denied be... | Looks exactly like a generic Bluecoat proxy message to me Bluecoat can use a number of filtering engines including their own, i-FILTER, InterSafe, IWF, Optenet, Proventia, SmartFilter, SurfControl, Websense, and Webwasher. Administrators can also define websites manually to be in a certain category. If you google "cont... | 2 | 7 | 7,339 | 2009-08-05T21:13:48.737 | infrastructure | serverfault.com | |
251,971 | FreeBSD - 'cd ~' takes me to /root instead of home directory | I just created a new user (I was logged in as root to do so) with the adduser utility. I gave the new user his own home directory. If I check the /etc/passwd file, it shows the users home folder is correct and even when I ssh into the server as that user it starts me off in the correct folder. However, whenever I type ... | There are a few things to check: If you [CODE] to the new user using [CODE] , make sure you pass the [CODE] flag, so that it will set the HOME environment variable, like so: [CODE] . If you use [CODE] , make sure you use [CODE] so that it will launch a login shell, which will explicitly set your HOME variable. If you a... | 1 | 4 | 1,058 | 2011-03-25T20:15:57.983 | infrastructure | serverfault.com | |
373,345 | How to make a configurable design in restaurant delivery problem? | The problem is like there are few restaurants and few delivery guys available. Each restaurant has a meal order and the delivery guys are to be assigned to the restaurant. Now there may be many criteria for assignment of the guy to a restaurant. For example, the distance between delivery guy and restaurant, the priorit... | You could make a rules engine. | -3 | 0 | 70 | 2018-06-29T16:04:53.720 | api_errors | softwareengineering.stackexchange.com | |
136,089 | directoryperdb issue | I installed MongoDB to run as a Windows Service on Win 7 and everything runs well. However, when I attempt to use the command --directoryperdb, it does not recognize this command. Does anyone know how to resolve this issue? | A couple of issues which come to mind that may or may not help you: Are you using 1.3.2 or later? [CODE] Specify use of an alternative directory structure, in which files for each database are kept in a unique directory. (since 1.3.2) Source Does it work without this argument as a service, and/or with the argument whil... | 0 | 0 | 651 | 2010-04-25T17:18:17.220 | database_errors | serverfault.com | |
105,766 | Sum of points and rank according to points | I am creating a game where I am calculating the user points on the basis of user activities. Everything is working fine - I got the sum of points and on the basis of points I calculated the rank. I have two columns for points calculation: [CODE] (contains up points) and [CODE] (contains down points) [CODE] Everything i... | Try this query [CODE] | 3 | 4 | 1,357 | 2015-07-02T10:13:20.100 | warehouse_errors | dba.stackexchange.com | |
82,977 | Why "SET LOCAL statement_timeout" does not work as expected with PostgreSQL functions? | My understanding is that PostgreSQL functions are executed similar to a transaction. However, when I tried to "SET LOCAL statement_timeout" within a function, it did not work. Here's how it works within a transaction: [CODE] where the results are (as expected): [CODE] However, if I put the same commands within a functi... | The way [CODE] works, the time starts counting when the server receives a new command from the client. Queries launches inside server-side functions are not commands from a client, they don't reset that timer or push a new one onto a stack of timers. This is why [CODE] has no effect. And if a function does [CODE] it wi... | 14 | 20 | 21,926 | 2014-11-18T20:14:10.613 | database_errors | dba.stackexchange.com | |
623,573 | Why does m4 error "linux-gnu.m4 - No such file or directory" appear the first time after updating sendmail.mc? | SendMail 8.14.x | CentOS 5.x I've noticed that if I manually update /etc/mail/sendmail.mc (for example, enable TLS support), and then bounce sendmail, I get the following error: [CODE] This only happens one time after I update a sendmail.mc file. If I bounce sendmail again (without making any other change), I don't see... | sendmail.mc errors after upgrade [CODE] Your [CODE] file is buggy. It contains [CODE] directive without support for linux-gnu parameter for [CODE] . You get the above error message when sendmail package regenerates/recompiles [CODE] into [CODE] after upgrade. Suggested fixes : comment out OSTYPE line ( [CODE] ) [Your s... | 1 | 2 | 461 | 2014-08-23T19:00:52.313 | infrastructure | serverfault.com | |
852,722 | Deleting user profiles using Delprof2 and Windows Task Manager | I'm having problems with using Windows Task Manager and Delprof2 utility to delete user profiles. I setup a task in Windows Task Manager to execute Delprof2.exe with /q parameter at each system start (reboot) to delete all profiles. This setup works sometimes but not all the times and I cannot figure it out the reason ... | How to Automatically Delete User Profiles Older Than a Certain Number of Days Using Group Policy | 0 | 0 | 817 | 2017-05-29T02:50:58.620 | infrastructure | serverfault.com | |
210,649 | Attribute values to "pervious" and "next" rows for aggregation (and allow exceptions) in query + view? | I have a table in a database built on SQL Server 2014 which contains rows for "events", some events are attributed to User IDs while others events are not attributed to any user ID, values are '-'. Table1 [CODE] I wish to sum durations for all events and attribute duration time (seconds) to users Durations where there ... | Here are scripts to achieve this, by using Window Functions solution. I have included: one data preparation script (for you to check the answers) two scripts as answers for the two questions Answers: 1. How can I do this in a query? [CODE] 2. How can I do this in a view? [CODE] For more information on the used solution... | 3 | 1 | 94 | 2018-06-26T21:54:44.367 | database_errors | dba.stackexchange.com | |
1,115,570 | HP Raid Controller p420i 18TB disk support on DL380 Gen8? | I have some 18TB Seagate Disks on a DL380 Gen8 HP server with p420i raid controller, with 2GB cache module. I have created a RAID5 with 16TB disks but with 18TB disks, all disks are recognized but when I want to create a RAID volume, all disks fail. (a pic enclosed) I did not find any HP document that help me find out ... | I Can Confirm that 20TB Seagate Exos X20 Drives will work on the P420 Controller Pic of working Raid 1 Setup with 2x 20TB HDDs The Creation Wizards Page in Raid BIOS | 0 | 0 | 675 | 2022-11-13T18:09:28.917 | infrastructure | serverfault.com | |
299,488 | PostgreSQL relative update breaks unique constraint | I have unique index on column for UPSERT. When I am trying to update column using [CODE] expression my unique index breaks. SQL [CODE] [CODE] What I've tried: Using deferred constraint, but it doesn't work with UPSERT. Using [CODE] to order rows on disk, so update will have specific order and won't break index. Problem... | I second Laurenz' comment: typically it's best to avoid such an update on a [CODE] column to begin with. If that's not possible, one workaround would be to order rows in a subquery and self-join: [CODE] db<>fiddle here This usually works. But no rows are locked in the subquery, so the command is not bullet-proof agains... | 2 | 2 | 1,815 | 2021-09-13T11:13:16.290 | database_errors | dba.stackexchange.com | |
391,193 | Aggregating events in event-driven system | Lets say there are two services. One generates event [CODE] and the other event [CODE] . We need to build a new service that implements the function [CODE] , which produces the result [CODE] . But as [CODE] and [CODE] are asynchronous events, they may reach (and invoke) the new service separately. Depending on what is ... | Whether it breaks the event-driven paradigm should not be your primary concern. The question is if this solves your business problem. There are a number of questions that need to be answered: If [CODE] and [CODE] are events, it doesn't really make sense to query them. But I believe you mean they represent some state, a... | 2 | 4 | 88 | 2019-04-30T17:43:18.643 | api_errors | softwareengineering.stackexchange.com | |
1,025,505 | Some docker containers fail to start with OCI runtime error after uprade to Virtuozzo 7 | the hosting provider of my KVM (Strato) recently upgraded the version of Virtuozzo they were using from 6 to 7. Since then a few of my docker containers fail to start with the following error message: [CODE] The only thing the containers that won't start seem to have in common is that they contain a java webapp. Other ... | Yep, thats a Strato issue... happened after their maintenance 15./16. July 2020. I have already submitted a ticket... lets see if there is a response. Needless to say, Strato had major performance problems in the past 3..4 months and just got that fixed recently. Now this new maintenance last week messed up everything ... | 2 | 1 | 2,224 | 2020-07-16T14:51:18.873 | pipeline_ops | serverfault.com | |
695,467 | Outlook constantly repair itself | I have a XP PC with Outlook 2003 connected to SBS2003/Exchange 2003 SP2 (75GB Limit on Exch Store). Outlook constantly hangs when trying to forward ANY email. So whenever I tried to restart Outlook, it goes thru several minutes of repair, but the same problem continues. When I look at .OST file, the file size is over 1... | As Dan pointed out in the comment above, try renaming your .ost files and see if that resolves the issue. The fact that Outlook works fine via RDP suggests that the problem is the user's local install. (Since you already know your RDP workaround is not recommended this will be my only reference to it.) | 0 | 1 | 142 | 2015-05-30T09:56:33.960 | data_quality | serverfault.com | |
44,915 | Help in NLP Problem | I am trying to solve an NLP problem and, since I am new to NLP I would like to ask for some insight. I have a data-set with 300000 and 14 features. This data set is about customer complaints, and the data set includes the company the complaint was made, the date, the issue (and sub-issue), the product, and most importa... | Next steps should be : Build a "Bag of Words" classifier as a baseline. Example : https://medium.freecodecamp.org/text-classification-and-prediction-using-bag-of-words-8aeb1396cded Build a classifier with "Doc2Vec" These should help with solving the problem. For example, "phone keeps dropping calls" might point to one ... | 0 | 2 | 59 | 2019-02-01T13:30:06.947 | data_quality | datascience.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.