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 |
|---|---|---|---|---|---|---|---|---|---|---|
686,478 | Nginx TCP Fast Open Issue | I have configured Nginx and Apache on one of my servers. The nginx server listens on port 80 and Apache on port 81. Nginx works as a reverse proxy. In nginx I configured TCP Fast Open: [CODE] TCP Fast Open is also enabled on the server itself: [CODE] In order to test if this works I configured Chrome on a PC running Ub... | I've done some tests using the TCP fast open test code at https://github.com/yuryu/tfoecho My count TCPFastOpenPassive does go up when using the test code. [CODE] So I think your method of analysing is correct. And running wireshark, you can clearly see the Fast Open Cookie under TCP options. I tested with the same pai... | 5 | 2 | 3,032 | 2015-04-29T14:57:20.900 | infrastructure | serverfault.com | |
990,968 | How can I solve "No input file specified" error on IIS for URLs with a slash and content after the PHP file? | I am running a PHP 7.3 application on IIS using the FastCGI handler to execute the files. When requesting URLs which end on *.php in the browser, everything works fine. However, some paths of the application look like this: [CODE] , i.e., there is some more content after the file name of the PHP file, which is not a qu... | To parse URLs like this, PHP scripts use path information provided by PHP. Using the FastCGI handler seems to mess up this path information. Luckily, PHP has a configuration option to fix these paths: Navigate to your [CODE] file and set the following option: [CODE] This is the setting recommended by Microsoft when hos... | 1 | 1 | 3,658 | 2019-11-07T13:03:56.740 | infrastructure | serverfault.com | |
1,019,898 | Re-routing DNS queries with iptables properly without resolv.conf | I run a custom DNS service on 127.0.0.1:53 and I dont just want all queries to go through it, I also want only that service to respond back. Which is where the problem arises. My NAT iptables setup: [CODE] Here tcpdump of me, pinging [CODE] : [CODE] 1) process with local port 54387 sends request and it is being redirec... | The request in point 1) above is seen AFTER DNAT in one of the prerouting chains took place. This is why you see destination address of 127.0.0.1 instead of the ORIGNAL destination address of 1.1.1.1. This packets and up at your resolver and then you seem to proceed with DNS over HTTPS. When the response back from your... | 1 | 2 | 573 | 2020-06-03T16:55:50.443 | infrastructure | serverfault.com | |
495,965 | Error getting data from Mongo Monitoring Service - ConnectionFailure: unknown encoding: idna | I am having issues installing MMS. I have it installed on an agent. I can connect to a mongos instance from the server the agent is installed on. In the agent log, I see the following messages repeated: [CODE] Getting the same error for non-blocking data. Not sure what the unknown encoding error is. However, some addit... | Found the problem. This error log was coming from an agent I had attempted to install on a staging server a while back which I guess was blocking the newer agent. As soon as I shut down the agent on the staging server, the data started coming in through the new agent I installed. | 0 | 0 | 324 | 2013-04-04T02:21:48.220 | pipeline_ops | serverfault.com | |
656,271 | SQL 2008 R2 automated install w/ configuration file - The credentials you provided for the SQL Server Agent service are invalid | I am doing an automated installation of SQL Server 2008 R2. I have a new VMware guest with Windows 2008 R2 and ran the SQL Server 2008 R2 setup to create a configuration file. I am only installing the database engine and the Management tools. During the setup process when it asked for accounts, I entered AD accounts cr... | Seems like if your password has two $$ in it, it will cause the password to be saved with only 1 $ in the configuraiton.ini file. Make sure there is only 1 $ in the password if you can. That was my solution for this issue. | 1 | 1 | 5,670 | 2015-01-05T04:18:11.320 | database_errors | serverfault.com | |
159,232 | cpanel virtual host problem | Hi have my own website hosted in cpanel (linux). I want to do some testing on website with httpd.conf file modification. but I don't have access on this file. Can any body help me, how I can use virtual host for my website without the server side limitation. I want use redirect map and redirect rule on my website and f... | (you don't state your level of access to the server and cPanel in your question, so I've assumed that you are a base user or reseller, rather than root or other admin) You can't edit the httpd configuration files unless you have root access (or similar privedges by other means) on the server. Even then it is generally ... | 0 | 1 | 327 | 2010-07-10T15:48:51.847 | infrastructure | serverfault.com | |
56,747 | How to use Chi-square test in dataset with negative values | I could not fully explain the title. In order to use the Chi-square test in my dataset, I am finding the smallest value and add each cell with that value. (for example, the range of data here is [-8,11] so I added +8 to each cell and the range turned to [0,19]). dataValues variable is DataFrame type that holds my all d... | First and foremost, it does not matter to the chi-square test whether your data is positive, negative, string or any other type, as long as it is discrete (or nicely binned). This is due to the fact that the chi-square test calculations are based on a contingency table and not your raw data. The documentation of sklear... | 1 | 3 | 8,150 | 2019-08-01T09:49:50.063 | data_quality | datascience.stackexchange.com | |
301,505 | iSCSI Transfer Rate Using Standard Gigabit Networking | We just purchased a dell storage server with (12) 7200 RPM SATA drives running RAID 10 and (4) gigabit network interface cards. Additionally it has a PERC H700 controller card with 512MB of on-board cache. We will be attaching hypervisors to the dell server (block level storage), which will store virtual machines. Our ... | I'd say you'd be lucky to break 100MB/s. In theory, yes, you could transfer 1000Mbps, or 125MB/s, but between the various layers of overhead (Ethernet and IP headers, iSCSI itself, the fact that some time has to be spent between packets) you will never actually see that. Also, don't forget that 125MB/s (or less) is wha... | 3 | 7 | 45,701 | 2011-08-16T06:05:33.697 | infrastructure | serverfault.com | |
138,954 | Unable to install MySQL 5.7.12 in RedHat in a separate directory | I am trying to install the MySQL version 5.7.12 into RedHat in a non default data path. The installation syntax used [CODE] [CODE] is a softlink to [CODE] I got the following error. [CODE] | [CODE] I specified [CODE] parameter and the error no longer appearing. [CODE] | 0 | 1 | 899 | 2016-05-19T02:56:45.370 | database_errors | dba.stackexchange.com | |
731,238 | Contacting DNS server via command line interface | So, we are on the DNS chapter in our class, and I was wondering if there's any way possible though which I can connect to a DNS server on port 53 via command line interface (i.e Telnet or netcat) like we do for SMTP or HTTP or POP on their specific ports; I tried: [CODE] But the connection was closed as soon as it was ... | As you note, DNS primarily uses UDP but service is actually also provided over TCP (typically used for large responses and zone transfers). This is why you managed to establish a connection in the first place when you tried [CODE] . Your connection was closed because you weren't interacting with the service in the expe... | 14 | 24 | 68,670 | 2015-10-23T16:22:37.477 | infrastructure | serverfault.com | |
243,487 | htaccess and addhandler problem | htaccess addhandler not working when changed. Main site.com - is running php4 sub.site.com - needs to run php5 i've added in the following Addhandler: AddHandler application/x-httpd-php5 .php .php4 .php3 .phtml .tpl .html AddHandler application/x-httpd-php .php .tpl .html .phtml no luck on any of those. 3. i added a te... | Yes you can only load one php module. When you want to set the Handler in .htaccess for different php versions you should run fastcgi with the different modules. Here is a short manual HowToForge | 1 | 1 | 2,187 | 2011-03-05T00:32:18.037 | infrastructure | serverfault.com | |
908,820 | 502 Bad gateway nginx ubuntu | i have problem to configure my server with laravel application i get the message 502 bad gateway nginx i tried to configure nginx conf but with no success. server info: Distributor ID: Ubuntu. Description: Ubuntu 16.04.4 LTS. Release: 16.04. Codename: xenial nginx site-available default: [CODE] | is working when i changed line listen = /var/run/php5-fpm.sock in etc/php5/fpm/pool.d/www.conf to match with this fastcgi_pass unix:/run/php/php7.2-fpm.sock; | -3 | 0 | 4,433 | 2018-04-21T11:22:38.623 | infrastructure | serverfault.com | |
278,696 | How can I figure out what the minimum MaxMem value could be without causing issues. MSSQL 2017 Enterprise CU18 | I am running several 2017 CU18 instances in failover clusters with "standby" instances for planned growth. I want to configure those standby instances with the least amount of RAM (lowest possible MaxMem). MS Documentation states that the minimum setting is 128GB, but if I go anywhere near that the instance crashes. Th... | MS Documentation states that the minimum setting is 128GB, No I guess you misread somewhere, the minimum amount of RAM required for non express edition is 1 GB but that value is absurd if you ask me. IMHO it should be 4 GB. Here is hardware and software requirement for SQl Server 2016/2017 . Ideally the RAM should be s... | -1 | 1 | 49 | 2020-10-26T16:09:43.820 | database_errors | dba.stackexchange.com | |
1,016,290 | Misbehaving NVLINK with 2080 ti cards? | I am running into problems with nvlink'd RTX videocards, and I wonder if someone more experienced with this tech could kindly look at the output below and tell me if there is a problem? Using a pair of MSI 2080 ti cards and an RTX NVLINK bridge by ASUS, Ryzen/X370 system, running Ubuntu 18.04 Linux and several versions... | I have very similar experience and the root cause was NVLINK does not inserted correctly. you may double check that nvidia-smi command output speed as expected when you remove NVLINK bridge. NVLINK has two side connectors which should be contact properly on GPUs otherwise nvidia-smi NVLINK --status commands shows "inac... | 1 | 0 | 1,604 | 2020-05-08T14:34:50.873 | infrastructure | serverfault.com | |
809,130 | Procmail seems not being executed when fetching emails with fetchmail | I have the following problem: I got a new working PC (Debian testing, codenme: stretch) recently and had to reinstall [CODE] and [CODE] in order to read my emails with [CODE] . Now, [CODE] works well as also [CODE] is doing, only the spool mailbox of my mails seems to stay the same default one, which is [CODE] . In my ... | The [CODE] assignment prevents Procmail from doing anything at all. Examining Procmail's output on standard error with [CODE] should readily reveal that it is forever waiting on the lock, and eventually giving up. See also http://www.iki.fi/era/procmail/mini-faq.html#locking and http://www.iki.fi/era/mail/procmail-debu... | 1 | 1 | 2,644 | 2016-09-27T14:43:40.997 | infrastructure | serverfault.com | |
23,525 | google result redirect virus | I'm not so sure if this is the appropriate place for this, however I accidentally clicked this link which opened a video and infected my windows 2003 std server with this virus which not only creates popup ads but also redirects whatever link I click on within google's search results. IT seems to always go to [CODE] I ... | If it's a server, it's time to reload. There's no telling what it might have done. sorry. | 3 | 18 | 1,125 | 2009-06-10T17:49:08.197 | infrastructure | serverfault.com | |
377,541 | Is it a risk to post my varnish default.vcl file publicly? | Recently, I solved a problem in my server by adjusting the default.vcl file. The problem is with wordpress... Another person also have that problem and have asked whether i can show my default vcl file to him... is it safe to post it one that forum? | It depends highly what is inside your default.vcl file. If it is simple and doesn't reveal too much detailed information about your environment for crackers to use (like open ports other than 80 and 443 or operating system usernames) I'd say it is safe to post it to a forum. | 1 | 1 | 138 | 2012-04-07T12:44:04.977 | infrastructure | serverfault.com | |
389,092 | apache returns 301 error after apache & php upgrade on ubuntu 10.04 | I just upgraded a bunch of packages, including apache2 and php5, on a Ubuntu 10.04 VPS. Apache is serving php as the backend to an nginx reverse proxy. Now all of a sudden all connections attempted by nginx to apache are refused. I haven't changed any of the nginx, apache2, or firewall configurations. The nginx logs in... | This is almost guaranteed to be a rewrite rule gone awry (try saying that five times fast). From the scenario you described, it sounds like you don't actually need Apache just to have PHP functionality. You can use PHP-FastCGI and (probably) get the same functionality. Here's a tutorial on how to do this correctly. Rem... | 0 | 0 | 439 | 2012-05-15T03:23:57.173 | database_errors | serverfault.com | |
146,592 | ORA-01555: Snapshot too old rollback segment with name "" too small error | I have created a trigger which works on two fields, first field(blob) and second field(varchar2). This trigger updates the blob when there is some changes in second field, from a blob value of another table. While trying to update the table row. It generates an error: ORA-01555; Snapshot tool old rollback segment with ... | 01555, 00000, "snapshot too old: rollback segment number %s with name\"%s\" too small" Cause: rollback records needed by a reader for consistent read are overwritten by other writers Action: If in Automatic Undo Management mode, increase undo_retention setting. Otherwise, use larger rollback segments In Oracle Database... | -1 | 3 | 34,857 | 2016-08-12T05:41:40.793 | warehouse_errors | dba.stackexchange.com | |
328,601 | What can I do to optimise this MariaDB query? | The query has been anonymised for sharing on this site; the comparative example is that we are a book seller who needs to cross-reference new books, against an archive of ALL books and identify category matches. Individually, each of the following queries returns the correct data, but the sheer volume of data being han... | This is not Sargable ; [CODE] change to [CODE] Index : [CODE] Are you sure about [CODE] ? [CODE] When the [CODE] does not find a matching row in the "right" table ( [CODE] ), it will deliver all [CODE] for those columns. Was that intentional? Or did you need a plain [CODE] ? And the [CODE] will have a row with [CODE] f... | 0 | 1 | 23 | 2023-06-23T23:06:51.447 | warehouse_errors | dba.stackexchange.com | |
1,067,241 | Apache Caching disabled when client sends If-Modified-Since header | I'm trying to get Apache to cache the results from running an expensive PHP script (it accesses a third party server which has rate limiting) but it seems if the client sends an [CODE] header the cache is bypassed. [CODE] The php script sets the following headers in its response: [CODE] set to the current time, e.g. [C... | Mod-Cache Manual from Apache.org https://httpd.apache.org/docs/2.4/mod/mod_cache.html Using Custom Logs to identify the problem [CODE] Enable the X-Cache-Detail header CacheDetailHeader on Set to Ignore Query Cache Control Strings [CODE] Using a Session token like url.com/my.php?jsessionid=123 should not be cached or e... | 0 | 0 | 923 | 2021-06-20T11:42:55.363 | api_errors | serverfault.com | |
923,526 | Why is OpenDMARC using my (the recipients) configuration for incoming mail? | Recently I've had some incoming emails be rejected by my mail server for failing DMARC checks. Upon closer inspection I noticed that the logs mentioned that the rejection was because OpenDMARC was applying my policy instead of the sender's policy. A, slightly redacted, example of a failed exchange sending mail from [CO... | Configure matching [CODE] for all local milters. Alternatively: add all your trusted IDs to [CODE] in opendmarc . Simply removing the line is usually sufficient as well, as it defaults to MTA name in both opendkim and opendmarc . [CODE] opendmarc only considers trusted results when evaluating a message, hence the [CODE... | 2 | 0 | 1,935 | 2018-07-25T19:06:27.747 | infrastructure | serverfault.com | |
1,060,571 | PHP and Nginx on docker, curl get Connection refused in php container | I am working in a local environment with docker. I have an nginx web container and a php container which are in the same network. I build the php container from my own dockerfile (with phpfpm and phpcli); and, the nginx I compose it in a docker-compose from the [CODE] hub image. I have 2 projects: a symfony( [CODE] ) a... | I solved the problem by adding an alias in the network of the web container through which I can access from the php container. [CODE] and of course, I needed to add the url aliases in config nginx : [CODE] | 0 | 0 | 6,189 | 2021-04-16T08:01:31.143 | pipeline_ops | serverfault.com | |
1,131,112 | nftabels rules and rc.local | i have problem like this this is my iptables rules [CODE] i want to change these rules to nftables what should i do ? also i always add these to nano /etc/rc.local and then chmod +x /etc/rc.local so how could i build rc.local nftables and save them for always ?? | This probably would look like below: [CODE] Please note that the rules as they are may redirect ALL traffic to your servers (nothing will ever get delivered to the host with the rules) and also will masquerade ALL traffic leaving the host. The rules seem too broad (and definitely the PREROUTING rules should match on de... | 0 | 0 | 87 | 2023-05-14T08:56:03.940 | infrastructure | serverfault.com | |
1,061,732 | Modify Apache rewrite rule for Nginx | How to rewrite this Apache rewrite rule for Nginx? [CODE] I tried this but it doesn't work, I'm getting [CODE] in [CODE] [CODE] | The nginx way to implement front controller pattern like in your question is: [CODE] | -1 | 1 | 87 | 2021-04-27T14:18:11.407 | infrastructure | serverfault.com | |
967,093 | Hybrid on-prem connector - Won't validate - Backlog of emails | We're having an issue with our on-prem Exchange 2016 validating as a connector with our O365 portal, below error; 450 4.4.316 Connection refused [Message=Socket error code 10061] [LastAttemptedServerName=hybrid.X.com] [LastAttemptedIP=X.X.X.X:25] [X.eop-eur04.prod.protection.outlook.com] I believe this is something to ... | Did you get any error message when you run HCW? According to the error message, yes, a likely cause for this error is your firewall is blocking connections from Office 365 IP addresses. If you have mailboxes in your on-premises environment, you need to modify your firewall settings to allow connections from Office 365 ... | 0 | 0 | 4,360 | 2019-05-13T19:36:03.553 | api_errors | serverfault.com | |
577,769 | iSCSI devices added to storage server during DPM 2012 SPI backups | We have a Windows Server 2012 Failover cluster running a number of virtual machines. Storage for the cluster is provided by a Windows Storage Server 2012 instance and mapped to the nodes via iSCSI. In addition, I use DPM 2012 SP1 to protect the clustered VMs - these backups are stored to a different server from the one... | First things first. I would run this solution by your Microsoft Support Technician before using the suggestion! We have a very similar issue with our cluster and brought it to Microsoft's attention. In our situation, the volumes are appearing on each node of our cluster in the registry under the keys: \HKLM\SYSTEM\Curr... | 4 | 1 | 1,254 | 2014-02-24T04:03:39.643 | database_errors | serverfault.com | |
212,967 | Active Directory login history by machine | Can I check in Active Directory to see who has logged to a machine in recently? The machine in question is joined to the domain. The problem is that it's also protected using DeepFreeze, and therefore any history on the machine itself is wiped during it's nightly reboot. | The closest you'll get is by examining the Domain Controller security logs as they record the logins by the user and workstation itself. If those have scrolled off the Security log, you're pretty much out of luck. This is how companies like Splunk make their money. | 0 | 2 | 1,980 | 2010-12-15T17:32:38.507 | infrastructure | serverfault.com | |
140,682 | Tricking SQL server into thinking it's a different date | I have a unique problem (at least for me) that I have solved in one way but would like an easier way if possible :) I often have to test our Windows app with dates in the past. Our app queries a SQL server which uses GETDATE. I have setup a VM with our app and SQL server on it. I can change the system date backward or ... | The short answer: no. Ask the developers to fix the problem. The long answer: it is possible to detour system calls. See for example Modifying application behavior with Detours (for Application Compatibility reasons) . This allows you to modify the result of a system call for a specific process. In the linked example i... | 7 | 9 | 3,581 | 2016-06-08T03:31:13.513 | database_errors | dba.stackexchange.com | |
1,155,772 | Postfix - can't limit active queue | One of the destinations I send email to has unusual performance characteristics. The active queue can fill up with messages for this domain, blocking sending to other domains. I want to limit the number of slots in the active queue used by this domain. As a temporary measure, the traffic for this domain is routed via a... | After further investigation it appears there no way to limit the messages added to the active queue OTHER THAN the number defined in $qmgr_message_active_limit. The directives I listed above handle expansion of delivery lists after the message is in the active queue. It has been suggested that the appropriate response ... | 1 | 1 | 63 | 2024-03-06T10:22:58.117 | pipeline_ops | serverfault.com | |
67,875 | Return a record with PL/pgSQL function - to speed up the query | I have a non-forking game daemon written in Perl, which uses async queries to write player stats into a PostgreSQL 9 database. But when I need to read something from database (like if a player is banned or if the player has a VIP status), then I use synchronous queries. This makes the game stop for a short moment, unti... | Using [CODE] parameters achieve basically the same thing as in @klin's answer, but without creating user-defined types. Just move all your variables from the declare block into the argument-list as [CODE] parameters: [CODE] This will return a record (exactly one), so you can select its values as a normal record: [CODE] | 13 | 21 | 41,806 | 2014-06-09T14:21:42.530 | database_errors | dba.stackexchange.com | |
155,955 | Postgres function return table with extra column | Newbie to Postgres here.. I have a Postgres / plpgsql function that will return a table. I want to return everything from a query plus a logical value that I create and return along with it. However, after searching around I can't seem to figure out how I can return this data along with a logical value that I generate ... | Just add the variable to the [CODE] list: [CODE] I simplified with table aliases. Since your function returns a single row by definition, the value is also returned only once. I would use [CODE] combined with [CODE] parameters instead of [CODE] since you return exactly 1 row anyway. [CODE] [CODE] is redundant noise whi... | 4 | 3 | 13,171 | 2016-11-22T00:12:36.890 | warehouse_errors | dba.stackexchange.com | |
285,859 | Apache: Prevent .htaccess banned IP from recording errors in logs | On my Apache-hosted Ruby on Rails website, an IP address (always identical) from Russia was hammering the website every twenty minutes, based on the path requests I think it's trying to seek out comment forms to submit spam comments onto. Anyway, I did the following in my .htaccess file to completely boot them off whil... | You cannot do this from within apache. The easiest method would be to send the logs to a filter script rather than straight to a file. | 1 | 1 | 421 | 2011-06-30T17:25:43.193 | infrastructure | serverfault.com | |
887,163 | running wordpress blog as directory location within nginx server configured for rails | I've been running a site on puma / rails setup under nginx. Now we have to setup wordpress under path /blog, i.e. [CODE] is the rails app, and [CODE] is the wordpress blog. the location setup done for Wordpress blog is as follows [CODE] my assumption is that /blog get's processed by PHP while rest goes to upstream puma... | You need to use [CODE] to map URIs which begin with [CODE] to a root that ends with something else. See this document for more. The cleanest solution is to use a nested [CODE] block. The [CODE] modifier on the outer block avoids any side-effects. See this document for more. [CODE] Avoid [CODE] with [CODE] due to this i... | 3 | 2 | 1,949 | 2017-12-08T07:05:21.237 | infrastructure | serverfault.com | |
399,494 | Customized access control using OAuth 2.0 | I'm designing a enterprise infrastructure monitoring application which has customized needs of access control, beyond roles and authorities. The architecture include multiple nodes of REST API being load balanced, an angular client and an authorization server based on OAuth 2.0 using JWT. These Rest API nodes are gener... | here's a list of few things worth pondering: Resources are responsible for their own access control. The types of clients and use cases can inform how you want to break down or group together permissions into roles and similar, but ultimately those should all be things whose semantic is understood by the resource- and ... | 2 | 3 | 79 | 2019-10-09T11:09:27.403 | api_errors | softwareengineering.stackexchange.com | |
435,373 | Storing large data shared between microservices running in containers at AWS | I'm dealing with an application that does the following: we have a microservice running on EKS called by jobs that pull XML data off an external system. The data volume can be fairly large (700MB-1GB at times). We cannot control the volume of data, there's no pagination or way to pull a delta. the data gets written to ... | Have you considered using EFS ? You could try mount the same volume on to all processes (including lambda) that handle the data. Now, my experience with EFS is not much, since I've used it only once as a case study for a specific problem that needed to get around Lambdas memory limits. It didnt work in my case, since i... | 1 | 0 | 661 | 2021-12-16T16:26:44.780 | api_errors | softwareengineering.stackexchange.com | |
178,287 | SQL-Sum Over Partition By Issue | I wrote a statement similar to this one. I am new to SQL and wondering how I can or if I can use [CODE] to sum all the NonUsableTotal parts inventory for that PartID. The issue is that [CODE] is a numerical value either [CODE] to define it as usable or nonusable. Here is the statement: [CODE] Here is what I want the re... | You can use a [CODE] expression inside [CODE] : [CODE] By the way, I don't see why you need [CODE] in the query. | 3 | 7 | 7,055 | 2017-07-07T17:25:37.713 | warehouse_errors | dba.stackexchange.com | |
378,312 | ASP.NET Web API returns 404 for PUT only on some servers | Ok, I have been racking my brain and the internet for a solution to this. I just can't figure it out. I have written a site that uses ASP.NET MVC Web API and all working nicely until I put it on staging server. The site works fine on my local machine and the dev web server. Both dev and staging servers are Win Server 2... | Some have WebDAV, which provides the PUT verb, and some don't. As a best practice, you should ensure all the servers in all your farms have the same binaries installed. Having different binaries installed on different servers in the same farm is Not Good . | 0 | 0 | 2,220 | 2012-04-10T23:03:45.433 | infrastructure | serverfault.com | |
10,005 | Having some trouble getting service running with Docker and Terraform | I'm very new to DevOps but I'm trying to learn some of it a bit. I'm working with Terraform, trying to get a service to run on AWS using Fargate and Docker. I've successfully set up my ECR repositories, and I walked through this tutorial on getting a service set up in Fargate. However, I'm having a bit of a problem. Wh... | Seems like, because the application has security enabled, the health check was not able to hit the / endpoint and the health check was failing. When I removed the health check block I was able to access the application. I'll add a globally-open health check endpoint and that should fix the problem I think. | 2 | 1 | 98 | 2019-12-03T15:24:01.877 | pipeline_ops | devops.stackexchange.com | |
316,751 | postfix, relay local domain | I have virtualmin and settings on virtualhost: mailname and hosts mydomain.com I have all my emails accounts on gmail e.g. support@mydomain.com However when sending emails in Joomla (PHP Mail setting) I have in mail.log [CODE] It treats mydomain.com as local, this domain is on gmail. When sending to other than mydomain... | Try this: 1) Have a look in /etc/postfix for any mention of mydomain.com 2) Add the following line to /etc/postfix/transport mydomain.com smtp:SERVER where SERVER is the correct mail server (MX record) for your domain at gmail.com. You could try putting gmail.com, but I'm not sure. Have a look for the right answer usin... | -1 | 1 | 2,450 | 2011-09-20T17:45:53.273 | infrastructure | serverfault.com | |
303,706 | Factory of factories? | I have concrete factory classes which implement [CODE] interface. I want to get concrete factory objects based on parameter. How to do this? One way is to create factory of factories[FoF], and FoF would be parameterized factory. Is there any more elegant way to do this? This is purely intellectual exercise, I am not fa... | Indeed, when using the Abstract Factory pattern, somewhere in your program a decision must be made which of the concrete Factory classes will be instantiated. And the method which does this will typically be a Factory method . It will be less confusing if you distinguish clearly between these two terms. | 4 | 7 | 14,165 | 2015-11-27T12:50:11.370 | api_errors | softwareengineering.stackexchange.com | |
740,687 | Running a MTR in Screen through SSH | I recently was introduced to a command that will ssh in our proxy server, then ssh into a network: [CODE] I tried modifying the command as follows to run MTR against our SIP server: [CODE] As soon as the command finishes, it seems to disconnect and [CODE] shows nothing. I also tried [CODE] and it worked, but as soon as... | I've never managed to get this kind of thing to work as you hope. If you search the internet there don't appear to be any solutions either. The best I've managed is to not use [CODE] and to manually detach [CODE] then manually detach Ctrl - a d . | -2 | 0 | 646 | 2015-12-04T00:31:01.280 | infrastructure | serverfault.com | |
972,479 | Nginx proxy pass even if file do not exists | I have this piece of code at my nginx configuartion [CODE] This code above is working! But if the file does not exists, the redirect does not work. How can I fix this? I want to redirect if the file does not exists on current server. Thank you. | If you want to process 404 responses in the reverse proxy, you will need to intercept them. See this document for details. For example: [CODE] | 1 | 0 | 955 | 2019-06-22T07:06:40.830 | infrastructure | serverfault.com | |
107,563 | Should we embed virtual machines rather than languages | Ok, so I am trying to learn front-end programming. Trying to figure out how javascript is a pain, and various projects (GWT, Coffeescript, Capuccino's objective/j...) are trying to fix this with languages that compile to JS. What would you do if you were to reinvent the browser? I think I would embed a VM rather than a... | An embedded language IS an embedded virtual machine, and vice versa. Each has a defined interface to the browser, each has a defined user interface (syntax or instruction set or call it what you will). If I were going to reinvent the browser, and provide a language for extensions, I would provide a LISP. Most probably,... | -2 | 1 | 273 | 2011-09-12T08:35:01.650 | api_errors | softwareengineering.stackexchange.com | |
223,337 | Statement Based Replication still giving duplicate Entry Error | New to the replication. I am configuring multi-master replication. I did the following steps: made one slave. configured two masters to it. Now i am performing following scenario: disconnect both masters from this slave. (TEST_TABLE having the last row with P_ID 30 ) After discoonecting, add an entry (into TEST_TABLE) ... | Replication behaved exactly how it is supposed to be - you wrote the same row (as in, it had the same id on both masters, even if data was different), but a multi-master setup is not a tight cluster- it just redos what on the replicas the same things that happened on the master , up to the ids. It does not handle confl... | 1 | 0 | 664 | 2018-11-24T19:01:02.210 | data_quality | dba.stackexchange.com | |
288,104 | Tricky architecture in C# involving a symmetric operation and a viewing class | I'm trying to build an architecture in C#, and I can't figure out a way to accomplish the task. Basically, there's a set of classes [CODE] , [CODE] , [CODE] and [CODE] that inherit from [CODE] . Each of these classes has an operation [CODE] that operates on one of the other classes, and returns an object of type [CODE]... | It sounds like your method [CODE] should not exist in your [CODE] subclasses. As you mentioned, with your suggested approach adding a new [CODE] subclass violates the Open/Closed principle. Instead, try moving [CODE] to a new class responsible for the symmetrical operation [CODE] And implement a concrete [CODE] for eve... | 1 | 1 | 616 | 2015-06-28T17:35:50.000 | api_errors | softwareengineering.stackexchange.com | |
723,751 | Azure AD Connect powershell requirement | I am trying to install Azure AD Connect on my domain controller (Windows 2008 R2). During the install, I get the following error: I have dowloaded the Windows Management Framework 4.0 but it doesnt seem to help make the error go away. What am I missing? | I attempted an installation of Azure AD Connect on a 2008R2 SP1 DC this weekend and ran in to this exact same error. I ended up downloading these two items: Windows Management Framework 4.0 (which I know you stated you have already downloaded and installed): http://www.microsoft.com/en-us/download/details.aspx?id=40855... | 1 | 1 | 1,222 | 2015-09-21T13:19:28.013 | infrastructure | serverfault.com | |
304,716 | Oracle 10g cannot start after cloning server with dd | I used dd to clone a x4100 server with Linux Red Hat. The hardware is identical for old and new servers. Then I changed IP address and host name. The newly restored server is up and running but Oracle gives following errors and cannot start. Database start: [CODE] Trying to log into SQL*Plus.... [CODE] If I run [CODE] ... | dd is a low level unix copying tool. This is not a good way to clone a database, because there are too many places where host and instance information is stored. You say you changed "IP address and host name" but where? how? The recommended approach would be to use RMAN. The process is defined in the documentation. Fin... | 1 | 2 | 415 | 2011-08-24T12:35:58.527 | database_errors | serverfault.com | |
567,110 | Why is Ubuntu/Linux /proc/mounts lying to me? | I've got a broken HDD for the rootfs - this probably caused the filesystem to be mounted read-only... however [CODE] still says it's mounted [CODE] : [CODE] However the filesystem is read-only: [CODE] That's pretty unfortunate because the Nagios/Icinga Script I use [CODE] checks [CODE] for exactly this. It works with o... | There are multiple entries for [CODE] in [CODE] , and the second entry shows information about your real root filesystem (note the [CODE] flag there): [CODE] The first entry with the [CODE] filesystem type appears because the Linux kernel creates a RAM-based filesystem internally during boot and unpacks the initramfs a... | 0 | 5 | 2,367 | 2014-01-14T11:15:38.933 | infrastructure | serverfault.com | |
418,162 | How to inform the controller why the object creation has failed so an appropriate response can be returned? | In my MVC web application the controller calls a service layer which takes any relevant request parameters and builds the model for the view e.g. Controller [CODE] If there are multiple reasons why the model service will fail to build a valid model, how do I communicate that to the controller so it can return an approp... | The simplest way is to beef up the service layer. So instead of the controller puzzling out the reason, you can have the result and errors/messages returned from the service layer. [CODE] Where an error might look like: [CODE] This way, the service layer deals entirely with the entities and returns validation messages,... | 0 | 1 | 74 | 2020-10-20T13:41:00.297 | api_errors | softwareengineering.stackexchange.com | |
208,054 | MySQL - admin user is able to change password of the super user | I am new to MySQL administration and hence this question - I wanted to create a MySQL admin user who wasn't the super-user. I assumed Amazon RDS MySQL community server will be a good template to work from. Hence I created a MySQL 'admin' user with exactly the same permissions as the RDS. This worked well until a fellow... | The problem is when you try to "replicate" your problems in Amazon RDS; since it's not exactly the same. With Amazon RDS you will never have SUPER privilege From https://aws.amazon.com/es/premiumsupport/knowledge-center/rds-mysql-functions/ : "...the MySQL SUPER privilege, which is restricted for RDS MySQL DB instances... | 1 | 2 | 2,161 | 2018-05-28T14:53:29.320 | pipeline_ops | dba.stackexchange.com | |
900,599 | Google DNS SERVFAIL for PTR Lookup, ISP Not Helping | I am in dire need of help! Some of our hosted Exchange users recently are getting NDRs when sending to some domains. I believe error is 554 NO PTR IP FOUND. I swore we had our ISP put in a PTR and indeed it was there. However, my other colleague noticed that Google's DNS is not returning the results and instead provide... | I would say that the your http://dnsviz.net link makes it very clear how this is a DNSSEC issue. Yet, if you want to illustrate using [CODE] I would go with [CODE] . it sets the "CD (checking disabled) bit in the query" , explicitly telling the resolver to skip DNSSEC validation. In the example below I'll be using the ... | 0 | 2 | 1,075 | 2018-03-08T08:05:06.193 | data_quality | serverfault.com | |
1,017,560 | POSTFIX how to use a relayserver just for a specific domain? | I have two email servers: [CODE] (IMAP, SMTP) and [CODE] (SMTP gateway). [CODE] is handling email for [CODE] , [CODE] and [CODE] . [CODE] is configured as a gateway for [CODE] (I want him to send out all mails that originate from [CODE] ) Now I want to send the emails from [CODE] and [CODE] via [CODE] normally from [CO... | you cannot use transport as it is used to transport emails to the MAILBOX, you need to use [CODE] it works like this in your main.cf : [CODE] /etc/postfix/relaymap looks like this : [CODE] | 6 | 5 | 17,227 | 2020-05-18T01:44:16.557 | infrastructure | serverfault.com | |
754,058 | Nagios nrpe custom plugin command not defined on localhost | I have written a custom nagios plugin which is returning a command not defined error. I have not yet placed the command in nrpe.cfg or defined the service, etc as this is controlled by puppet and any failure sends an sms to all the tech staff every 5 minutes. I think I should be able to test it from the command line be... | For any custom NRPE command to work, you need to add an additional command definition for it in your local NRPE config (usually [CODE] ), like: [CODE] Then restart NRPE and try again with: [CODE] | 0 | 2 | 999 | 2016-02-04T16:53:12.603 | pipeline_ops | serverfault.com | |
1,073,012 | Conntrack, failed to NAT its own TCP packets from another VRF | I came across a tricky problem with source NAT when using multiple VRF on a Debian based router. It's a bit complex to explain, so I will try to be clear, but it will not be short, sorry for that. The problem should be easy to reproduce though. To isolate the "management" part of the router (ssh and other services) fro... | The issue was present on debian 10 with a kernel 4.19.0-12-amd64, but after an upgrade to debian 11 with a kernel 5.10.0-11-amd64, it works as expected, even for TCP flows. | 2 | 1 | 980 | 2021-07-29T15:40:04.180 | infrastructure | serverfault.com | |
554,853 | How can I secure the dracut shell? | When there are errors during the initrd part of a system boot, dracut will drop to a shell (so you can fix things). Is there a way to require a password before going into the shell, in the manner that Debian's initramfs-tools rescue shell works? I have several Fedora machines (currently Fedora 17, soon to be Fedora 20)... | I think you should be able to disable it by adding [CODE] to your kernel command line. Then if the boot fails it will print a message but not drop to a shell, and you will have to go into grub and reboot with a modified command line to get the shell. | 3 | 5 | 2,141 | 2013-11-13T22:04:09.670 | infrastructure | serverfault.com | |
50,342 | Conditional statement in cypress | I have a scenario that I'm having difficulty with - in 2 separate environments I have 2 expected outcomes due to multi factor authentication. In one environment I have a popup notification that needs to be closed before other actions can take place. This is how I'm currently interacting with the button(no great locator... | Just like jonrsharpe said in the comments, [CODE] will not return [CODE] depending on whether the element is there. In fact, it won't return anything of interest, as Cypress commands are asynchronous. What you are trying to do can be a bit complicated, because you forget to account for time, and you can't be sure when ... | 0 | 3 | 1,222 | 2022-07-08T22:40:58.660 | api_errors | sqa.stackexchange.com | |
563,494 | nginx is running but not serving? | I've been trying to set up nginx as a proxy to jetty. I have one laptop running ubuntu server. Now I made jetty working at localhost:8080 and it serves the home page for the app at [CODE] . I configured nginx like this ( I adapted it from this page ): [CODE] And I can connect to nginx from my home network and I see the... | Can you try the following steps? Make sure that the nginx.conf file in parent nginx directory has the include directive pointing to the default file in the sites-available directory If you need to proxy to another service (e.g. jetty), use the upstream option (in the sites-available/default file) as shared below. You c... | 8 | 11 | 78,765 | 2013-12-25T19:05:09.893 | infrastructure | serverfault.com | |
799,197 | Nginx proxy_pass connection timeout with very basic config | First off, I'm pretty new to nginx. I'm trying to get a prerender going for our site, which involves doing a rewrite & proxy_pass, but I cannot for the life of me figure out what's making it fail. This config I'm using below is only for troubleshooting, but it still gives me connection timeouts after 60 seconds. I can ... | Our network team made a web proxy exception for a few different domains, purple.com for example to test, I changed the proxy_pass to hit purple.com, and it works. As far as I can tell, proxy_pass was having a problem understanding the responses from our web proxy, where CLI commands such as wget & curl were not. | 1 | 0 | 3,386 | 2016-08-25T23:50:05.310 | infrastructure | serverfault.com | |
123,501 | How can I get the MySQL super_read_only setting to work? | I can't seem to get the new super_read_only configuration option to work. Logged in as root or a user with SUPER privileges, I can still insert a row. If the user doesn't have super privileges, I get the correct error that the server is running with the -read-only option. Here is an example: [CODE] | This seems to be a consequence of MySQL Bug#79328 . I'm assuming you started MySQL Server with either command-line or configuration file options to enable [CODE] mode. Because of the referenced bug, the [CODE] option is not properly processed at server startup. Until this is fixed (hopefully soon!), [CODE] must to be s... | 2 | 2 | 2,701 | 2015-12-12T01:40:32.117 | database_errors | dba.stackexchange.com | |
277,614 | How do you set up internal sites in Apache? | I have a CentOS linux machine hosting web pages for internal sites. How do I configure Apache to serve internal sites? example virtual host config: [CODE] so if someone has access to the domain and navigates to: http://myipaddress/folder they get the index html of that folder | Using the example config you posted, you'd need to create a DNS A record for [CODE] , pointing to the IP address of your server. After doing that, users navigating to [CODE] in their browser will be served by the VirtualHost you created. | 0 | 1 | 1,584 | 2011-06-06T21:13:04.463 | infrastructure | serverfault.com | |
683,995 | Website redirects on old ip | A couple of weeks ago, we had a problem with our main server. After moving everything to a new server, we pointed our domain to the new IP. However, if the browser history is cleared, or if the website is opened from an incognito window, it still redirects to the old IP. The same happens if I browse website.domain.com ... | If the DNS is correctly configured to point the domain to the new IP maybe it's the Windows DNS caching. Try to run on a Windows machine cmd : [CODE] And test again. | 1 | 0 | 358 | 2015-04-20T09:50:26.570 | database_errors | serverfault.com | |
574,669 | How to add /home/user/public_html as virtual host in apache - centos | In Directadmin (I used it before) when we create a reseller, a new user with a home directory was created and user could add domains in a home directory like /home/user/domains/example.com/public_html How i can add /home/user/public_html as virtual host to apache web server? I want to config apache like direct admin to... | Depends a bit on the error message in your log files, a missing IndexDocument i.e. no index.html in the documentroot could be one obvious cause for that error. The other common cause would be because you have SELinux enabled. Check that with [CODE] . And of course file system privileges on the path to the documentroot ... | -1 | 1 | 12,563 | 2014-02-11T11:26:16.887 | infrastructure | serverfault.com | |
740,065 | SMTP not reachable | for some time now I am not able to reach SMTP on port 25 or 587 on a server of mine from the outside though both ports are open and postfix is listening on them: [CODE] Sending mails from the server itself works (through command line & web interface) and fetching mails through IMAP is also possible. Any suggestions? | [CODE] will tell you which host is blocking port 25 (compared to mtr or traceroute mydomain) | 0 | 2 | 1,425 | 2015-12-01T18:44:41.260 | infrastructure | serverfault.com | |
46,240 | Backing up the database without compromising performance | I have a data base with a size up to 120 Gb and I need do a backup every night. The problem is that the system needs stand operative all the 24 hours. In this moments the backup takes up to 2 hours to complete. How I can do the backup without compromising server performance? Thanks, Andrés | 120GB should not take 2 hours Do you have a separate disk array for backups, with a separate network interface to move the backups off the server? If you have Enterprise Edition, can you use mirror backups Can you do weekly full backups and daily differentials? Is backup compression turned on (Standard in SQL Server 20... | 3 | 9 | 85 | 2013-07-12T10:33:55.890 | database_errors | dba.stackexchange.com | |
888,995 | ansible ssh connections with two factor auth | I'm setting ansible to manage a whole farm of servers. My approach is the following: Allow a user to connect to all servers protecting his connections with a heavy RSA key, passphrase protected, and user password. In order to automate as much as possible the process I would like to pass the RSA passphrase and the user ... | I doubt you can use ssh key's passphrase from Ansible vault, but the general 2-factor workflow is as follows: On the server side, enable 2-factor Auth with [CODE] in [CODE] . On the client side (Ansible): Setup ssh-agent, add password protected key to agent when connection is required Define [CODE] in Ansible vault for... | 3 | 2 | 3,686 | 2017-12-20T09:24:28.480 | pipeline_ops | serverfault.com | |
1,151,347 | Ensuring Windows 10 computer joins correct subnet via DHCP | I'm setting up a proxy/firewall and I want it to be the DHCP server for windows clients. The problem is that if I set DHCP to automatic on the windows clients, they will sometimes select the network's modem as their DHCP server instead and join the wrong subnet. Obviously if I set the IP address configuration manually,... | How do I ensure that the windows clients always use the proxy's DHCP server instead of the modem's? You should not have two DHCP servers on a network. There's no way for clients to know which DHCP server is legitimate and not. Disable DHCP server on your modem. I know that this just works in an Active Directory domain ... | 0 | 1 | 149 | 2024-01-12T00:26:59.207 | infrastructure | serverfault.com | |
200,668 | Remote Fedora system unresponsive, odd but consistent behavior when trying to log in | I have a bunch of websites running on a year-or-so old Fedora installation. Tonight, all the sites stopped responding. I've been trying to log in to investigate, but can't, and I'm clueless about what to do. Pinging the server works, response times are decent, ~200ms. When I shh, the "Last login: ..." text appears, but... | This sounds like your system is under very heavy load. It's most likely swapping a lot or otherwise using disk I/O. What I suspect that happens is that for some reason*) your site suddenly receives a flood of http requests to some heavy dynamic page, which makes Apache consume all of your server resources. The real rea... | 0 | 1 | 396 | 2010-11-11T06:13:29.730 | infrastructure | serverfault.com | |
259,636 | Help with diffs - Neither WebSVN or OpenGrok are diffing | I'm having issues which may or may not be related (excuse the vagueness). In Web SVN, I can't select multiple revisions and compare - when I hit compare, I get a page with nothing on it other than showing the revisions. However, I can select compare previous at the top which will do a diff of the two most recent commit... | Use the command line tools? It sounds like your web services are mis-configured, but debugging them might take quite a lot of your time. From the command line you can diff any version to any version in a few seconds. | 0 | 0 | 755 | 2011-04-14T13:16:36.197 | infrastructure | serverfault.com | |
51,153 | What JVM are you using with ColdFusion 8.01 and Windows 2003? | I have CF 8.01 on Windows 2003 (both 64 bit and 32 bit versions). I need to do some performance tuning on the JVM but wanted to start with what the community thought was the best JVM. In a production environment which JVM version are you all having the best performance and stability with? | I am currently running 1.6.0_11 with my CF 8.0.1 servers, and 1.4.2_17 with my CF 7.0.2 production servers (32-bit). We've found these to be very stable when the JVM settings are tuned properly. There are newer versions of the 1.6 line, but I have not tested them in production environments yet. Java SE 6 HotSpot VM GC ... | 1 | 2 | 352 | 2009-08-06T19:32:13.917 | infrastructure | serverfault.com | |
571,961 | How to translate from statement-based to row-based replication in MySQL | I have a production system that uses MySQL statement based replication for hot failover should a master database die. Running version 5.5 Percona. I have to use statement based replication for reasons that are immutable for the purposes of this question. Now, I'd like to see the row-based replication stream of the same... | I have to use statement based replication for reasons that are immutable for the purposes of this question. I assume, for the purpose of this question, that there may indeed be compelling reasons for using statement-based logging¹ but it is not generally recommended, because statement-based logging is relatively fragil... | 2 | 6 | 4,076 | 2014-02-03T22:54:46.417 | hadoop_errors | serverfault.com | |
342,231 | What Layer does a Query Builder belong in? | In my project I have specified 5 sublayers for my DBAL: Database Layer ( the database itself) Database Connection Layer ( \PDO and a class that handles the database connections) Database Request Layer( classes that actually query the database ) Database Model Layer ( All classes that represent 1 Database table each and... | It feels like Layer 3, the Database Request layer needs this. First, to be honest, the layering could use fixing. If you have "layers" and the question "which layer does this go in?" is not easily answered then you either don't have enough layers, or don't have the right layers. What you have: Database layer Database c... | 5 | 2 | 1,520 | 2017-02-14T12:09:20.433 | api_errors | softwareengineering.stackexchange.com | |
251,258 | Distributed Microsoft SQL server deployment - Cluster? | I have a website, I want to host on two diffident very far deployments. I have a rather good connection between them. But the users have a good connection only to what's near them. My Idea is to duplicate the database servers, but I need complete consistency between them, I.E. a transaction should be considered complet... | Your idea already makes no sense to start with, unless ou have TWO websites, not one (i.e. two domains). DNS will not care about where your sites are, so users will get distributed randomly. And with your setup you do NOT have the possibility to rediret them (which would require an AS and then the use of an Anycast arc... | 0 | 0 | 109 | 2011-03-24T11:23:26.177 | pipeline_ops | serverfault.com | |
5,033 | mysqldump with INSERT ... ON DUPLICATE | I want to merge data from one database to another. So I create dump with [CODE] and then import it to another database (with same tables structure). I don't have any problems (such as duplicate entries or something else) in this case. But I do some merges for testing purposes and I'll do final merge later. So, I want t... | There are options to help you in this: [CODE] Keep this paradigm in mind mysqldump everything from DB1 into DUMP1 load DUMP1 into DB3 mysqldump everything from DB2 using --replace (or --insert-ignore) and --no-create-info into DUMP2 load DUMP2 into DB3 | 29 | 50 | 39,949 | 2011-08-25T14:46:54.360 | data_quality | dba.stackexchange.com | |
82,530 | How mysql (innodb) handles auto increment column | I am working on a OLTP environment with multiple parallel write operation. I found this in documentation about auto increment locking but still i am interested to know much about it in details. Can any one tell me how mysql handles auto_increment column in below cases by using AUTO-INC locking. 1. [CODE] 2. [CODE] 3. [... | Auto increment values are assigned sequentially. In the event there is a rollback or deadlock you will find gaps in the auto inc value. The auto inc is always assigned [CODE] . If a value is manually bumped you will get another gap in ids according to this rule. If there are gaps you could manually specify a value for ... | 2 | 1 | 1,078 | 2014-11-12T23:47:52.950 | database_errors | dba.stackexchange.com | |
363,703 | IBM ServeRAID: how to use email alerts? | I just installed a brand old IBM server with a ServeRAID 4Lx card. I installed the driver, and the ServeRAID manager software v9.30. Everyting works as expected. My problem is: Yesterday, when not-so-randomly clicking here and there, I saw an email option in the ServeRAID manager software. It allow to configure a SMTP ... | I had the same problem several years ago. This was because the parameter local only was checked. I don't know why but this prevent the app to talk even with the local service. Also check if the serveraid service is running because the app talk with it. Once the app is connected with the service, you see the configure i... | 5 | 2 | 1,831 | 2012-02-25T14:17:28.460 | infrastructure | serverfault.com | |
356,041 | Exchange 2010 and FPE Content Filtering | I have a box running Server 2008 R2, Exchange 2010 SP1, and Forefront Protection for Exchange 2010. The issue is that I cannot for the life of me get my content filters to quarantine a single message that is supposed to be tripping the filters. I've been sending myself emails that should be quarantined from several per... | You seem to have configured the Target Action in your keyword filter list to the "Identify in Subject line" option. Select either Purge or Delete as the action type and opt Yes to Quarantine files The messages matching your keyword filter will now only be available from the Quarantine View Be sure to enable the keyword... | 1 | 1 | 1,632 | 2012-02-02T02:57:32.637 | bi_errors | serverfault.com | |
720,897 | iptables nat not work for sctp | i have a server in internal network and i want to access it from external. the network is like this: Server A (132.196.28.229) is in external network Server B (10.35.202.24) can access both network Server C (192.168.10.99) is in internal network So, i configure iptables on Server B to forward all traffic from Server A ... | I guess you have already installed SCTP, if so, you are probably missing the [CODE] module. This module is required for iptables to work with SCTP. Try this: [CODE] | 1 | 2 | 3,108 | 2015-09-08T13:44:18.093 | infrastructure | serverfault.com | |
329,517 | Internet Backup if DSL & Cable Fail | We have a T1, a DSL Line and a cable modem in each building to assure that we can connect to the internet in case one fails. However during the latest power outage we also lost all of them and were cut off from the world. I purchased a few aircards and we managed to retrieve email and do bare necessities on the interne... | I'm unsure why searching for "3g wan router" doesn't give you the expected brands and models? But this won't prevent you from Internet loss. Without electricity the GSM antennas of your provider may also be out of order. | 0 | 0 | 116 | 2011-11-09T22:38:05.507 | database_errors | serverfault.com | |
985 | How to detect any changes to a database (DDL and DML) | There are a lot of databases on my client's SQL server. These databases are under development, so developers can design, refactor, do data modifications and so on. There are some databases that change rarely. My client has to keep all of them safe (backed up) and spend some time managing the environment. (There is no D... | One idea would be to make a snapshot every day and monitor the snapshot file size on the disk using a file monitor. The snapshot is increasing its size only when data is added there, so it would be a valid idea if you would find a tool to monitor the real size (reported size). Now.. I didn't use this, so can't give you... | 15 | 7 | 50,191 | 2011-01-30T00:21:07.680 | database_errors | dba.stackexchange.com | |
32,816 | What are the common ways of testing the UI of a project while being Agile | I'm working at a startup company and feel like they get into a deadlock by testing UI in wrong ways. They are creating a brand new project from scratch with a new UI and this is how they perform testing: They run constant ad hoc testing each sprint and open bugs if a specific color is off, even-though we are still in d... | There's a couple of issues here I see: color. This stuff is worked out just like other design elements with the UI folks or the folks doing the UI if not separate roles. brittle tests. This sounds like you have HTML element identifiers that are based on layout. So when the layout breaks (say for a form someone is filli... | 6 | 1 | 269 | 2018-03-30T14:21:51.737 | database_errors | sqa.stackexchange.com | |
743,466 | tcpdump on bridge interface (virbr) does not receive any packets destined for one of its addresses | Here's the configuration for the interface: # ifconfig virbr0 virbr0: flags=4355 mtu 1500 inet 192.168.11.1 netmask 255.255.255.255 broadcast 255.255.255.255 ether 52:54:00:99:e3:0d txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dro... | [CODE] operates at the link level by opening a packet socket[1]. It sits right beneath the interface, so it intercepts inbound packets off the hardware and outbound packets from an interface. When you send a packet to that interface in the kernel, the packet has reached its destination and is not sent out via the inter... | 2 | 2 | 3,074 | 2015-12-16T16:11:26.733 | api_errors | serverfault.com | |
175,030 | pt-table-checksum and mysql 5.7 with binlog_format=ROW | How to use [CODE] in mysql 5.7 where [CODE] is default I also need [CODE] to be set this way in relation to other parameters in the mysql configuration [CODE] I have tried to read about the limitations, but doesn't really understand what would/could happen if [CODE] is used If I set [CODE] I still get the error!? | with --no-check-binlog-format you would not be able to checksum from master to cascading slaves aside from master's immediate replicas, --no-check-binlog-format also sets the tool's session to STATEMENT format but does not change the global status. there should not be any issues when you use the option but we recommend... | 2 | 1 | 1,079 | 2017-05-31T12:35:24.383 | database_errors | dba.stackexchange.com | |
1,063,507 | Django caused Unable to connect with Docker | I found a Django project and failed to get it running in Docker container in the following way: [CODE] [CODE] #psycopg2==2.6.0 # if use postgreSQL as DB backend I have the following Dockerfile: [CODE] Next, I ran: [CODE] Finally, I typed [CODE] and got [CODE] . What did I miss? Thank you in advance | In your requirements.txt, change kombo version to 3.0.30. This will solve the first error: I've just reproduced your steps. By doing docker logs some-django-app I've seen this: [CODE] And it seems to be exactly this issue . As you fix the kombo version, a new error will appear (checked by using docker logs): [CODE] And... | 0 | 1 | 423 | 2021-05-14T06:59:14.947 | pipeline_ops | serverfault.com | |
568,449 | Multiple Amazon EC2 instances for a single application | I'm new to AWS and currently using a single m1.medium EC2 instance to run an application. I've been reading up on AWS terminology, but there's one thing I haven't gotten a clear answer on. I know how to launch instances from the EC2 console, but how can I launch another EC2 instance and associate it with the one I curr... | You reference a few different facilities in your question - one is Elastic Load Balancing, multiple EC2 instances, and DNS. You need to provide a bit more detail to get a clear answer. If your 'domain name' is just pointed at a single IP, then you would not be able to have it associated with more than one instance. You... | 1 | 1 | 3,559 | 2014-01-20T04:41:42.287 | database_errors | serverfault.com | |
513,706 | Apache memory usage with 404 | We're facing a problem with an apache server serving static files. When there are lots of requests for a resource that doesn't exist the apache starts to grow in number of processes and memory usage until it uses all the memory available and stops answering the requests. The machine has 2GB of RAM and it has the defaul... | The workaround is writing correct HTTP applications handling 404 well. In case of apache-prefork, the webserver self-regulates quite well. Please have a look to the [CODE] directive to fit to your memory availability. | 0 | 1 | 223 | 2013-06-06T09:57:04.650 | infrastructure | serverfault.com | |
307,841 | How can I store incomplete records but enforce data correctness? | I'm in the planning/design stages of a new project, and I'm having trouble coming up with a good way to handle one of the requirements: Users must be able to create a new record and save it as "Incomplete" without filling out all required fields. This is a requirement that will apply to almost all user-editable record ... | You could have a separate table for works in progress. You would use more or less the same table scheme, just with each field set as nullable. When a record is initially created, it goes into the incomplete records table (you could have a check to put first time completed records directly into your completed records ta... | 6 | 5 | 963 | 2016-01-20T02:29:36.183 | database_errors | softwareengineering.stackexchange.com | |
628,371 | Centos7 not allowing nfs to be served | I just did a fresh centos7 and fedora 20 install on 2 systems. I have several current systems running on the network and can connect to an existing nfs share no problems. when any system triest to connect to the centos7 for rpc or nfs they get rpc errors. "mount.nfs4: mount(2): No route to host" for example. list rpc o... | sadly enough even though I told the firewall to allow all it did not. a tutorial on www.unixmen.com for nfs had the best solution I have seen so far firewall-cmd --permanent --add-port=111/tcp ... etc for the related ports. | 0 | 1 | 6,569 | 2014-09-14T00:59:29.870 | infrastructure | serverfault.com | |
796,857 | Copy files from non-booting VPS | It’s a good thing this is my ‘practice’ server, rather than a production server… I have a VPS that was running Ubuntu 16.04. I started an upgrade to 16.04.1 LTS – and then I lost my SSH connection when there was a dialog on screen. I tried [CODE] No luck. After some googling, I followed the top answer at https://askubu... | From here I can't see what's going wrong with your VPS and why you can't open a SSH session to your bootable Mint. Be sure the ssh service is running and listening to port 22. However, if you have a working internet connection on your Mint OS, you can upload the files you need as example over FTP to an external server.... | 0 | 0 | 82 | 2016-08-15T10:12:16.843 | infrastructure | serverfault.com | |
895,752 | Adding a static route with networkd | I'm trying to use systemd-networkd to configure a static route. The actual IPs are different, but here's the gist of what I'm trying to do: [CODE] If I run this command, my networking setup works exactly as intended. I just need to establish connectivity between this host and the 10.17.12.0 subnet. My host is on a diff... | If you run [CODE] , you'll get this in [CODE] : [CODE] Note the [CODE] part. So try this in your [CODE] configuration: [CODE] Specifying a dummy gateway address should not be necessary then. | 2 | 2 | 4,035 | 2018-02-05T18:57:36.907 | infrastructure | serverfault.com | |
94,634 | synchronization web service methodologies or papers | I am building a web service (PHP+JSON) to sync with my iphone app. The main goals are: Backup Provide a web view for printing / sorting, manipulating. allow a group sync up and down. I am aware of the logic problems with all of these items, Ie. if one person deletes something, do you persist this change to other users,... | So I think in summary your questions relate to disconnected synchronization. So here is what I think should happen: Initial Sync You retrieve the data and any information associated with it (row versions, file checksums etc). it is important you store this information and leave it pristine until the next succesful sync... | 1 | 1 | 1,485 | 2011-07-20T20:30:13.030 | database_errors | softwareengineering.stackexchange.com | |
419,668 | bind: override single SRV record only, forward the rest | Prerequisites To get our internal libravatar server working, I need to setup a SRV record for our public domain [CODE] : [CODE] As you see the avatar server is on an internal domain that is not accessible from outside, thus the SRV record should not be available publicly. Problem We have a BIND DNS server that resolves... | Add a zone for the specific name ( [CODE] ) to your internal DNS server, containing the single record you wish to override. A SRV record is not special - it is just a DNS record, and it behaves like any other DNS record. The override zone should look similar to what's below [CODE] | 1 | 2 | 4,728 | 2012-08-21T14:40:23.040 | infrastructure | serverfault.com | |
655,317 | Simulate slow connection between two ubuntu server machines | I want to simulate the following scenario: given that I have 4 ubuntu server machines A,B,C and D. I want to reduce the network bandwidth by 20% between machine A and machine C and 10% between A and B. How to do this using network simulation/throttling tools ? | To do this you can make usage of [CODE] alone with [CODE] filters or combined with iptables marking (maybe more straightforward if you don't want to learn the complex filters syntax). I'll in the following post detail the former solution. Simulating your setup As an example, let's consider A, B, C and D running 10 Mbit... | 10 | 16 | 2,974 | 2014-12-29T22:46:25.097 | infrastructure | serverfault.com | |
495,132 | Linux to windows ssh/scp/sftp differential backup solutions? | Here is the setup: Large amounts of large files (many over 4gb, multiple TBs in total) in a simple tree structure that need to be backed up without compression from a handful of linux boxes to a windows backup server. Every day a few hundred gigs are generated and backups are currently done by hand with WinSCP. My goal... | I use Backuppc on both Linux and Windows systems for differential incremental backups. For Windows, we just go the CIFS route, but one could do rsync via Cygwin/Gow. | 4 | 0 | 3,660 | 2013-04-01T15:21:22.897 | pipeline_ops | serverfault.com | |
158,428 | Dynamic except query PostgreSQL | I know this has been asked about multiple times in the past, sorry for the repeat I'm just trying to brainstorm a solution. I'm looking for a way to query a table while excluding a small minority of the columns without having to query information_schema manually every time (since a lot of my tables consist of 50 or mor... | In SQL, it's not possible to have a function that simultaneously figures out what columns it should return and return them. It's a consequence of the fundamental rule that the output structure of a SQL query must be known when parsing a query, before executing it . If the client-side cooperates, that's not a problem. J... | 2 | 3 | 1,702 | 2016-12-17T02:05:27.090 | database_errors | dba.stackexchange.com | |
86,723 | Windows 7 XP mode shutting down VMWare virtual machines | On my development workstation i use VMWare Server to run the different servers i develop against. I have run into an annoying problem because i have to use Visual Studio 6.0 and that wont run on Windows 7, but it will run i Windows XP Mode, so that's how i have installed it. But when i start the XP Mode app. All VMWare... | No way round with the current version of W7 sorry. | 1 | 1 | 466 | 2009-11-20T16:50:52.037 | infrastructure | serverfault.com | |
372,951 | Working on issue that relies on changing code | I work in a small team making software, we run pretty close to scrum, tickets and sprints, and use git. I however work in a different timezone, so communication can be a bit disjointed, though otherwise very good. Recently I have been working on some tickets that rely on a feature that has not passed PR. This can lead ... | There's no solution* for the underlying problem of "what if someone changes the code I was working on before I finish my changes", you can only manage the process. Traditionally feature branches mitigate the problem, because you can work on your version of the code and periodically pull in other peoples changes at your... | 3 | 4 | 260 | 2018-06-21T13:07:29.227 | api_errors | softwareengineering.stackexchange.com | |
807,105 | What happen to the REST requests inside the AWS cloud? | I´m using the PHP AWS SDK and I was looking for the best way to aviod networking issues. The principal question is: If a EC2 server makes a REST request via SDK, could be possible that this request were redirected someway outside and then inside the Amazon Cloud? Does Amazon have any extra fee if the request makes "ext... | For S3 specifically, the pricing page states that same-region data in/out from S3 to EC2 is free. That strongly suggests it's routing internally (and if it isn't, there's not much reason to care - they're billing it as if it's internal, and it'll be over HTTPS for security). | 0 | 0 | 46 | 2016-10-04T22:47:06.410 | infrastructure | serverfault.com | |
583,859 | Nginx in front of Apache | My understanding is that Nginx is good at rapidly delivering static content but requires Apache to deliver dynamic content. I am only a few hours into Nginx right now so I suppose my understanding is terribly flawed. However, I am reading this to mean that such a stack would deliver little by way of performance and loa... | "(nginx) requires Apache to deliver dynamic content." - No, Nginx can also deliver dynamic content besides acting as a proxy for another backend like Apache. | 0 | 2 | 254 | 2014-03-22T15:07:01.447 | infrastructure | serverfault.com | |
329,461 | Can access website publically but not from machine on same network? | This problem has only started to happen over the past few days, and nothing has changed (that I am aware of) so struggling to see what has happened. I have a network setup that all run off the same router. One of the machines on that network is used to host websites which runs Microsoft Exchange Server 2003 & IIS 6.0. ... | Given that you already said nothing changed with your firewall and router, I doubt this is the case, but I felt compelled to comment. On some routers/firewalls, when you nat a (web)server, the inside IPs have trouble accessing the webserver using the external IP. Basically the firewall isn't smart enough or is missing ... | 1 | 2 | 3,763 | 2011-11-09T20:34:28.173 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.