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 |
|---|---|---|---|---|---|---|---|---|---|---|
120,702 | Proper Postgresql vacuuming practices | Some tables are very dynamic in terms of additions and subtraction of records. The application (rails 4.2) deletes a large number of records daily. However, the size of the database to the OS - or dumped via [CODE] does not seem to go on a diet. As a test, all records from three related tables were deleted by the appli... | Database size as measured by [CODE] or using [CODE] at the file system level won't usually go down when you delete records. Even after [CODE] has had time to run. Instead, when you next add new records it won't go up because the free space inside the database gets re-used. [CODE] can sometimes shrink a table and free s... | 0 | 3 | 737 | 2015-11-11T08:13:03.263 | database_errors | dba.stackexchange.com | |
1,132,918 | Trouble with password rules in Linux-PAM | Ubuntu 20.04. I've installed pam_pwquality.so. Here's the contents of [CODE] : [CODE] The intention here is that all passwords: Must be at least 10 characters long Must have at least one uppercase letter Must have at least one lowercase letter Must have at least one digit Must have at least one symbol, which may be one... | I found the answer here: https://askubuntu.com/questions/1189848/ubuntu-16-04lts-pwquality-conf-pam-pwquality-registering-incorrect-passwords The rule needs [CODE] . | 0 | 0 | 1,084 | 2023-06-08T20:33:53.400 | infrastructure | serverfault.com | |
2,754 | How do you test reports and analytic engines like BI/BW? | I'm working with several companies that are deploying SAP HANA (in memory appliance that compresses data from the DB and moves the entire structure into memory resulting in query times that are ~3600 times faster). Our problem is we need to functionally test the system to ensure the right data arrived, no corruption oc... | No steak dinner for me and a bit of a general reply but do you have a way in your apps to capture the query/results going to/from the database? We have done a similar thing with SQL Server Analysis Services and then written an application to "replay" the traces and verify the response. Once you have the queries and res... | 7 | 1 | 1,502 | 2012-03-06T01:15:26.127 | data_quality | sqa.stackexchange.com | |
41,475 | MySQL InnoDB does not return the last row on select with DESC order | We have a table scheme like following: [CODE] On each new offer by the user we check if the last order is given by the same user with: [CODE] if the user_id is same we prevent the new offer to protect the user from accidental double clicks. if there is not any problem with the offer we insert the offer with: [CODE] But... | Transaction isolation levels and database locking can make it very difficult to handle the problem you've described. Hopefully ypercube's suggestion does the trick. If it's valid to have multiple [CODE] combinations, just not within seconds of each other, you might want to consider adding a column with the user's web/a... | 1 | 2 | 576 | 2013-05-03T14:10:05.397 | database_errors | dba.stackexchange.com | |
656,331 | Where did my RAM go? | Note: before you jump in too fast, yes I read linuxatemyram.com ! I have a server with 64GB RAM. [CODE] says that my RAM is full, and it's not because of disk caching: [CODE] However, [CODE] ordered by memory usage does not add up to 64GB: [CODE] MySQL uses 54.3% alone, this is perfectly normal as it has an [CODE] of [... | [CODE] You say it's not because of disk caching, but clearly it is. My bet is that you have code that makes lots of fetches for files that do not exist and you get a ton of negative caching. Linux will remove these entries if it's under memory pressure, so it may not be anything to worry about. For example, like in thi... | 15 | 23 | 4,335 | 2015-01-05T10:48:20.027 | database_errors | serverfault.com | |
951,529 | Ansible - delete all partitions on a given list of disks | I'm having serious trouble to do something that seems very trivial, I guess I'm probably going on the wrong way. The scenario is quite simple, I have a host_group in which I have a list of disks like: disks: "['sdb', 'sdc']" Then on a task I have: [CODE] This will read the information of the disks and store it in 2 var... | Register to single variable info . [CODE] Use subelements to iterate the disks and partitions. For example [CODE] gives [CODE] | 2 | 4 | 5,008 | 2019-01-30T16:09:21.797 | pipeline_ops | serverfault.com | |
570,657 | How to set up 2 separate VLANs on one switch (HP v1910-48G switch) | I need some advice on how to set up 2 VLANs (on one switch, I have HP v1910-48G switch) that separate broadcast domain and also share a single internet connection. The two Vlans must remain separate, and cannot communicate with each other. I did some searching and then found this example And this is what I tried (Editt... | NEW RESPONSE: FIRST UNDERSTAND THESE TERMS: Frame: When packets operate on a Layer 2 level of the OSI model they have been broken down into a Frame/Ethernet Frame. 802.1q VLANS: we will be setting VLANS by putting a VLAN tag on the packets/frames - tags can be removed and added to a packet/frame (this introduced Taggin... | 0 | 4 | 40,220 | 2014-01-29T09:16:27.187 | infrastructure | serverfault.com | |
785,227 | Elasticsearch high RSS memory consumption | I am seeing too high memory consumption in my elasticsearch instance. I set ES_HEAP_SIZE=4g. The starting command for ES starts with: [CODE] So far so good. But I am seeing more than 7GB RSS memory consumption. Here is /proc/status output: http://pastebin.com/mXW6Vnfc But when I run [CODE] everything looks normal, I se... | The issue is probably in the JVM and if you launch multiple instances of ES, look into it with Java Mission Control http://www.oracle.com/technetwork/java/javaseproducts/mission-control/java-mission-control-1998576.html or jconsole https://docs.oracle.com/javase/8/docs/technotes/guides/management/jconsole.html . This w... | 1 | 0 | 855 | 2016-06-21T09:11:33.103 | database_errors | serverfault.com | |
298,920 | Update XML file versus overwriting XML file | I have a console application that will make modifications to 1200 systems remotely using SCCM. One of the items to be modified is a GUI menu app that is XML driven to display buttons that launch other applications. I need to change the XML. Changing the XML wouldn't be terribly hard, but overwriting the file would be a... | What are the expected sizes of the files you are going to be dealing with? In place updates are more complex, and without a significant reason to do otherwise replacement is the way to go. It is easier to understand and code and as an added benefit, if you have to worry about an interrupted write, it is easier to make ... | 0 | 4 | 1,722 | 2015-10-03T19:04:57.567 | api_errors | softwareengineering.stackexchange.com | |
185,716 | How to select on folder structure in a query | I have a table with the following columns: [CODE] The challenge I have with this is that I need a list of files in the /data/docs folder for instance. My query result would be: [CODE] I created several queries, but all resulting in errors because of incorrect syntax or to much info. One of them is where I selected ID a... | Here's a third approach: [CODE] (Mine is shorter, but not necessarily faster.) | -1 | 1 | 548 | 2017-09-12T13:49:02.077 | warehouse_errors | dba.stackexchange.com | |
541,146 | Hyper-V: Guest external internet access | Following setup: Host machine has 1 physical NIC Host OS = Win Server 2008 R2 (hosted in data center) Guest OS = Win Home Server 2011 Network setup basically as described here or here . Goal: Connect from within the guest VM to the internet. Question #1: How is this supposed to work? My guest OS has a static IP "A" (a ... | Question 1: NO - if you set up a public network in Hyper-V then the host IP and the Client IP coexist. The NIC basically gets routed through a virtual switch - clients and host are on the same ethernet segment connected to the outside world. NO ROUTING. Question 2: Either a DHCP server somewhere or an automatic local A... | 0 | 1 | 4,373 | 2013-09-24T00:01:23.167 | infrastructure | serverfault.com | |
52,023 | When is the sum of models the model of the sum? | The response variable in a regression problem, $Y$ , is modeled using a data matrix $X$ . In notation, this means: $Y$ ~ $X$ However, $Y$ can be separated out into different components that can be modeled independently. $$Y = Y_1 + Y_2 + Y_3$$ Under what conditions would $M$ , the overall prediction, have better or wor... | The two models are not equivalent in general, either it might happen they provides similar results. There are multiple issues here. What you have actually in $Y$ is something like: $$Y = \tilde{Y} + \epsilon = \tilde{Y_1} + \epsilon_1 + \tilde{Y_2} + \epsilon_2 + \tilde{Y_3} + \epsilon_3$$ where $\tilde{Y}$ and $\tilde... | 7 | 1 | 490 | 2019-05-15T16:53:46.510 | data_quality | datascience.stackexchange.com | |
175,675 | Can I log ALL Apache traffic? | I'm talking about all the traffic, including complete incoming and outgoing HTTP requests and responses. I'm using the latest Ubuntu, Apache2 and PHP, and need both the headers and the page data--the whole nine yards. I'm aware of mod_dumpio, but I'm only getting the headers logged that way, and not the rest of the dat... | tcpdump perhaps? ...and then something to parse the dump into something useful. wireshark has the ability to interpret packets from a tcpdump packet dump as a specific protocol | 1 | 5 | 2,673 | 2010-08-28T17:32:17.620 | infrastructure | serverfault.com | |
279,486 | Troubleshooting high memory usage on MariaDB 10.5.4 | I am experiencing very high memory usage on MariaDB server. I am not sure if it is due to misconfiguration or a bug. [CODE] We are running MariaDB 10.5.4 Our server is configured to use 140G for bugger and 9G for log. [CODE] However, our server is currently using 225G without any load on server, and frequently spikes o... | POSSIBLE MEMORY LEAK ISSUES There have been three releases since version 10.5.4 [CODE] : MariaDB 10.5.7 [CODE] : MariaDB 10.5.6 [CODE] : MariaDB 10.5.5 There have been some memory issues fixed since version 10.5.4 Memory Issues Fixed in 10.5.5 Revision #d1bb7f9143 2020-06-24 12:51:55 +0300 Fixed memory leak in item_sum... | 2 | 2 | 6,716 | 2020-11-11T00:44:56.667 | database_errors | dba.stackexchange.com | |
272,319 | Puppet offloading using NGINX, 403 forbidden error | I'm currently trying to offload some of the file serving puppet does using NGINX (As displayed here http://www.masterzen.fr/2010/03/21/more-puppet-offloading/ ), however I keep having 403 errors on both file and catalog retrieval. One thing that did fix it was adding "auth any" to the first definition in my auth.conf y... | Puppet authentication is based on the IP of origin, not on what a header file is saying. After all, header files are easily faked. I don't know if Puppet can be configured to take the IP it checks from a header file. | 2 | 2 | 1,111 | 2011-05-22T00:27:14.800 | pipeline_ops | serverfault.com | |
561,793 | Dynamic vhost giving 403 forbidden on OSX Apache | I have followed this guide and am trying to create dynamic vhosts on OSX by allowing [CODE] to direct to the web folder [CODE] . My difference being that I am using [CODE] as my web folder instead of the Mac HD as in the guide. It uses dnsmasq which I believe is installed and working correctly. So in my ~/Sites folder ... | What's the content of your 2nd site? There are two possible reasons: If a directory has no index document (index.php, index.html, default.html, etc) and directory listing is not allowed, Apache will display a 403 error page. I notice that you didn't enable ExecCGI in sites.dev . Could you try enable it? Updated: Percen... | 2 | 2 | 9,556 | 2013-12-16T22:47:03.513 | api_errors | serverfault.com | |
421,733 | DRY polymorphic object creation (always valid) | Assuming we have polymorphic entities such as the following, with constructors enforcing invariants (assume there could be lots of sub-classes). What would be an effective/elegant approach to construct each concrete instance type while avoiding excessive code duplication? [CODE] For instance, assume [CODE] and [CODE] a... | Let us assume you don't want to turn [CODE] into a mutable class (of course, a blurry name like [CODE] isn't particular helpful to evaluate such design decisions, but let us assume this makes most sense for this case). Without introducing a DI container, your solution #1 is the straightforward solution to this I would ... | 7 | 1 | 418 | 2021-02-01T19:31:00.693 | data_quality | softwareengineering.stackexchange.com | |
826,795 | SPF issue with different HELO FQDN | I am trying to setup SPF/DKIM/DMARC on my email server on a VPS. Here is my DNS configuration (DKIM & DMARC removed for readability) : [CODE] Emails seem to work, and port25.com reports nothing wrong : [CODE] However Yahoo reports a failure on SPF : [CODE] It seems Yahoo is checking on the HELO name (here [CODE] ), whi... | Hopefully this is a better approach than the previous answer : to modify the HELO/EHLO name within the MTA. With [CODE] , I added the following content to [CODE] : [CODE] Then after [CODE] and [CODE] , the HELO/EHLO name is the same as the domain name of the sender address. Update : It seems this approach is wrong, sin... | 0 | 0 | 2,752 | 2017-01-17T16:15:25.887 | infrastructure | serverfault.com | |
66,994 | Not able to send mail through smtp.gmail.com | I want to send mail through "telnet smtp.gmail.com 25" but an error is prompted when sending a message "530 5.7.0 Must issue a STARTTLS command first". I am working on Ubuntu Linux Server. I googled out, and installed ssmtp and tried to add a few lines in ssmtp.conf file so that I could send mail through telnet. UseSTA... | On Ubuntu you need to use sudo when modifying the files. The account you use isn't running with administrator privileges. | -2 | 2 | 1,837 | 2009-09-19T16:42:21.200 | infrastructure | serverfault.com | |
909,819 | Configure Postfix and Dovecot to only listen to unencrypted ports on localhost | How can I configure Postfix and Dovecot to only bind to port 587 and 143 for unencrypted submission and imap, respectively, on localhost, but bind to port 465 and 993 for encrypted connections on all interfaces? I need to do this as Thunderbird defaults to the unencrypted ports when it sees that they are open. Currentl... | The fact that you listen on ports [CODE] and [CODE] doesn't necessarily mean the connection is unencrypted. It's common to use opportunistic TLS i.e. [CODE] with these ports: the connection starts as unencrypted, but is soon upgraded to be encrypted. The only reason to avoid [CODE] would be mitigating man-in-the-middle... | 0 | 0 | 3,347 | 2018-04-28T16:43:48.443 | infrastructure | serverfault.com | |
809,682 | Lost ability to ssh to ec2 instance after adding a second network interface with an EIP | I have an environment with a public and a private subnet. One of the servers in the private subnet requires both an Elastic IP address that resides on a network interface that is connected to the public subnet and a second network interface that connects the EC2 instance to the private subnet. Before associating the EI... | You should not (cannot) assign a Elastic IP to a private subnet. A private subnet has a route table that specifies a NAT instance to get to the public Internet. If you assign an Elastic IP to a private subnet, then your routing will not work. To make routing work you would have to add a route to the IGW (Internet Gatew... | 0 | 0 | 770 | 2016-10-18T07:10:25.557 | database_errors | serverfault.com | |
85,904 | How to score the health of a company? | i'm currently doing dual apprenticeships. My main mission is to represent the health of a company based on accounting records for multiple companies over multiple years. The part of an accounting record i'm interested in is simply the date and the amount spend or receive. We're in a context of [CODE] . The objective is... | To me it looks like your question is more about expert knowledge than ML approach: the main problem is how to build a sensible score based on the available indicators. I have zero knowledge about this domain, but in general this kind of problem requires a lot of back and forth with domain experts in order to correctly ... | 1 | 0 | 39 | 2020-11-24T22:00:13.437 | data_quality | datascience.stackexchange.com | |
491,356 | rsync over ssh fails as cronjob works on shell - NAS4Free | This is my rsync.sh in the home directory of my backup user [CODE] when I run ./rsync.sh as backup user on the shell it works as it should (passwordless) [CODE] Now my cronjob [CODE] When I try to run the job, it fails and client.log shows [CODE] Why is the command running when I execute it manually and why does it fai... | When you run the command manually, all your own environment settings will be used. When you run it from cron, neither your environment settings nor e.g. your ssh agent settings will be available to the script. In this case, since you're using SSH as a transport agent, I'd guess that something goes wrong with your ssh c... | 0 | 0 | 2,067 | 2013-03-26T09:03:35.077 | database_errors | serverfault.com | |
927,135 | AWS cli: set permission to public only to files inside specific "folders" | So we have 300GB+ of files, in folders like the example above: 1000 [CODE] 2000 [CODE] How to I set permission to allow anyone to read all objects inside "big" and "medium" in entirely bucket? | You should use policy as mentioned here . [CODE] | -1 | 0 | 152 | 2018-08-20T05:40:24.467 | infrastructure | serverfault.com | |
1,023,196 | MariaDB 10.4.13 on Fedora 31 | Learning MariaDB on Fedora 31. Installed successfully, able to connect; however, cannot seem to get the error log global variables to register. Steps taken: Created maria.log file in [CODE] Added [CODE] to [CODE] Restarted mariadb service. Changed permission based on "How to view mariadb log?" thread on this forum. Whe... | Your section heading is misspelled: [CODE] It should instead read as: [CODE] | 0 | 1 | 54 | 2020-06-27T23:32:41.393 | database_errors | serverfault.com | |
366,187 | Bridging DSL wifi router to a PacketCable modem | I used to use a DSL based Internet connection (an AirLive WT-2000ARM). Recently I changed my Internet connection and it is now provided through PacketCable . The provider gave a modem for it (Thomson THG570), it has one Ethernet output and works fine. But I would like to take advantage of the wifi router I have. How ca... | Connect the WAN port of the router to the Ethernet port of the modem. The connect your other devices to either the router's wifi or one of its switch ports. | 0 | 1 | 193 | 2012-03-04T13:22:13.120 | infrastructure | serverfault.com | |
378,257 | Nginx Global Error Page | I see this question was also asked here: Configure Nginx global error page but there wasn't a suitable answer. I am currently allowing only certain IPs addresses to some of my sites and would like Nginx to drop connections from the rest of the IP addresses instead of returning a 403. Ideally, I would like to do this wi... | So you can do a few things [CODE] Or you can do something like [CODE] for the 403.html would be in /some/path/that/has/file | 1 | 5 | 4,717 | 2012-04-10T19:33:18.380 | api_errors | serverfault.com | |
115,099 | IIS: Content-Length 0 for CSS, Javascript and Images | After a clean re-installation of my Windows 7 system, I can't get IIS 7 to properly deliver any static content. Dynmic content (ASPX pages and content served by ASP.NET MVC controllers) works fine, but static files such as CSS, Javascript and Images give me a 200 OK status code and a Content-Length of 0. The problem oc... | Check your "Windows Features" for Internet Information Services > WWW Services > Common HTTP Features > Static Content | 25 | 41 | 7,625 | 2010-02-21T12:27:28.237 | api_errors | serverfault.com | |
1,119,475 | Jenkins Plugins Error After Update - "Errors Checking Update Site" | I'm running Jenkins on a RHEL 7.9 server, with OpenJDK 11.0.17 . I recently updated Jenkins to version 2.361.4 from 2.346.3 . After updating I went to the plugins manager page to see what plugins needed to be updated and I noticed the following: If I click Check Now button nothing changes and the error message remains.... | Please check whether you have set proxy for plugins. That is [CODE] It seems that jenkins tries to check plugins page, but proxy stops. Although, I suppose it should timeout the connection not reset the connection, but well, advanced IT is like a magic, right? | 0 | 0 | 800 | 2023-01-04T21:37:47.123 | pipeline_ops | serverfault.com | |
2,744 | Testers Performance Indicators / Metrics | What are the key performance indicators which you all are using in your company with respect to testers? As with any metric it can easily be skewed as testers and developers will often play to the metric, but are you all successfully utilizing any metrics in your projects? How can one best offset people working only to... | There are several things that you need to remember before starting this task: You do not want to measure just for the sake of measurement; instead, you want to achieve a clearer view of what you have (or do) and how can you make it happen better. You do not want to for your team nor their performance to be only driven ... | 11 | 13 | 3,564 | 2012-03-02T19:52:38.020 | data_quality | sqa.stackexchange.com | |
1,089,565 | Set HTTP/HTTPS man-in-the-middle proxy for webserver (Apache2) | To log all http/https requests by a specific application, we use man-in-the-middle proxies (set as http or SOCKS5 proxies). On our local Windows and Mac machines, we usually 'proxify' apps or temporarily set a system-wide proxy. This works like a charm for any app we can think of. On our remote Linux boxes, truly syste... | Thanks to Bob for pointing me in the right direction. Sometimes things are truly just a Google search away once you know what to look for. @Bob commented: A fairly conventional way to run a proxy for applications that don't honor proxy settings is to use firewall rules to rewrite all outgoing traffic with a web port as... | 1 | 1 | 641 | 2022-01-10T14:56:08.697 | pipeline_ops | serverfault.com | |
293,645 | C# async/await: Pedantry vs. the Debugger | I'm playing around with async and await , and they seem pretty intuitive, but some of the things I'm reading about these keywords doesn't make sense to me. In fact, some of it seems to me to be flat-out wrong, or at least misleading, even though it's coming straight from Microsoft. Consider the code below: [CODE] This ... | You could rewrite your code this way in a pure async/await paradigm. [CODE] The fact a thread is created is up to the CLR to decide. What the await does in the button1_Click method is that it returns the control to the calling thread of button1_Click (UI thread) which can do other work. The compiler introduces automati... | 5 | 4 | 2,515 | 2015-08-13T17:21:22.727 | api_errors | softwareengineering.stackexchange.com | |
628,594 | RabbitMQ not closing dead connections with unacked messages | I'm having some problems with RabbitMQ and dead connections. I have a RabbitMQ server and many ec2 instances that connect and comsumes messagens from this server. The problem is that sometimes when I need to terminate an ec2 instance, its conection with RabbitMQ server is not closed. Because of this we start to see una... | We saw similar problems and we are using a PHP client which does not support heartbeat. Our solution is to shut down all consumer processes before the instances are terminated, so all connections are disconnected cleanly. AFAIK EC2 will attempt a shutdown, and you will have a minute or so before the machine is powered ... | 4 | 1 | 6,392 | 2014-09-15T13:57:44.243 | infrastructure | serverfault.com | |
326,420 | [[FATAL]] [[DBT-06103]] The port (5,500) is already in use in Docker Container | I'm trying to use Oracle 19c DB Container for my test cases in Jenkins Job but DB Container is intermittently failing with this error [CODE] I referred this answer [[FATAL]] [[DBT-06103]] The port (5,500) is already in use but how to achieve this in container where hostname is always dynamic. | The hostname (actually, the container name) is only dynamic if you don't specify one, so -- specify one. – mustaccio | 1 | 0 | 121 | 2023-04-25T18:04:24.063 | database_errors | dba.stackexchange.com | |
545,588 | TCP DOS: How to terminate CLOSE_WAIT connections? | One of my servers is getting DOS'ed - there are a large number of connections in the [CODE] state which are preventing legitimate users from connecting to the system. So is there any way to close the [CODE] connection without killing the underlying server process? Killing the process would result in downtime which I wa... | As far as I know there is no way to close the CLOSE_WAT connection without killing the process. Perhaps you could use iptables and its recent module to stop multiple connection attempts in a short space of time to the same TCP server port and from the same IP. Here an example (change eth0 for your network interface or ... | 0 | 3 | 2,067 | 2013-10-12T14:04:23.473 | infrastructure | serverfault.com | |
128,769 | Can't resolve offline file conflicts | We use roaming profiles on our Server 2008 R2 domain, with folder redirection for 'desktop', 'my documents' and 'application data'. But as our network is split across two sites, we have one file server at each site, which are configured to use domain based DFS namespaces and DFS replication to keep things in sync. The ... | How are these conflicts occurring? Some kind of simultaneous access by more than one user, or by more than one machine logged on at the same time? If so, see this note on DFS being incompatible with concurrent offline files usage: http://technet.microsoft.com/en-us/library/cc773238%28WS.10%29.aspx#BKMK_005 | 2 | 1 | 2,861 | 2010-04-02T11:29:25.603 | database_errors | serverfault.com | |
602,096 | Timer_EntityBody, Timer_ConnectionIdle and Connection Closed Unexpectly | We have a windows application, it connects to a web service (XML web service hosted on a Windows 2008 Server IIS 7.5, no antivirus) and fetches some data to the client. But sometimes (around 5%-10% of the requests), it gives an error when trying to connect web service. Here is the client application error log; [CODE] F... | You're looking at the HTTPERR logs, but they might not be the whole story. There's a reference for what each code means here: 820729 and in short, the only point of concern above is the POST which was disallowed for taking too long (Timer_EntityBody - i.e. the entity body was not received before the HTTPAPI-configured ... | 0 | 0 | 4,698 | 2014-06-05T15:50:09.393 | api_errors | serverfault.com | |
1,145,023 | How to make postfix sign non-delivery notifications with DKIM? | I have set up my "postfix" server to sign outgoing messages with DKIM and verified that it works correctly for SMTP users using authentication. However, "non-delivery notifications", i.e. mails that are sent automatically from the server itself, are not being signed and are therefore rejected by some recipients during ... | After reading Postfix MILTER Readme more carefully I found this paragraph: Signing internally-generated bounce messages Postfix normally does not apply content filters to mail that is generated internally such as bounces or Postmaster notifications. Filtering internally-generated bounces would result in loss of mail wh... | 3 | 3 | 352 | 2023-10-03T15:44:40.343 | api_errors | serverfault.com | |
985,445 | How to allow Linux networking into the internet on Hetzner cloud server while the routing table contains only 169.254.0.0 IP? | i am having virtual server from Hetzner and after installing the CentOS 6 linux, i do not know how to make the default installation available from the internet, how to setup the routing. The Hetzner says that the gateway IP should be 172.31.1.1 ( https://wiki.hetzner.de/index.php/CloudServer/en#What_are_Routes.3F - "Th... | They told me i need to use static configuration and it worked (after restarting network / rebooting). (Note that the IPs under that link are likely specific only to a Hetzner servers) Adjusting the configuration files was very difficult via Hetzner console (which does not accept Ctrl key, | > $ " ' etc.). These were th... | 0 | 0 | 1,870 | 2019-09-24T12:16:09.623 | infrastructure | serverfault.com | |
394,099 | When self-referencing in a table, do you prefer `parent_id = null` or `parent_id = id` for a row referencing to itself? | For the discussion, I will provide my example. But I am interested in the broad guidelines. I save in my postgres DB legislation (law texts) composed of a single header (H), paragraphs (P), sub-paragraphs (SP) and sub-sub-paragraphs (SSP). Every level owns some content, rules, applications, etc. Every block has the sam... | What I got from talking with Robert : Why no row self-referencing ? in the real life we are modelising in the DB, there is no parent to the header : by lemma "we want DB to match closely real life", we want null for parent_id. There is no parent => no parent_id. That's the main argument. Issue with nullable parent_id :... | -1 | 1 | 1,655 | 2019-07-01T14:33:04.463 | data_quality | softwareengineering.stackexchange.com | |
726,639 | Demoted Windows Server 2008 R2 domain controller remote desktop services not responding on external interfaces | I have removed all member servers from a single domain A. I have demoted the single Windows Server 2008 R2 domain controller (old dc). Windows firewall is disabled and remote desktop (termserv) services is running. The issue is that old dc will not respond to requests on the external IP address. netstat shows termserv ... | just an idea, never had that situation: might be a problem of authorization just thought of, because it is a demoted dc check group memberships, especially all that deal with services and remoteaccess | 1 | 0 | 411 | 2015-10-04T17:54:57.500 | infrastructure | serverfault.com | |
14,530 | How do I not lose my Windows XP router wired connection upon Ubuntu shutdown? | When I shut down Ubuntu, my router's Ethernet light goes off. When I reboot into Windows, it says a cable is disconnected. If I reboot into Ubuntu again, the Ethernet light goes on again. If I then forcibly shut down the machine (i.e. hold the power button for 5 seconds until it goes down without shutdown), then Window... | Performing an unsafe shutdown of any OS is a bad idea - it could easily cause data loss including file system corruption to the point where the OS may not boot successfully afterwards. It is unlikely that Linux is affecting the router at all really. It is most likely that it is putting the network adapter in the PC int... | 2 | 3 | 270 | 2009-05-29T13:31:18.757 | infrastructure | serverfault.com | |
531,262 | Network-Manager with bridge interface and OpenVPN | I'm running Debian Wheezy with Gnome-Shell. My current network interface configuration is this: [CODE] I'm using br0 for virtualisation. My problem is now that I'm losing the support of Network-Manager for eth0. So I can't use the OpenVPN plugin anymore to quickly connect to my VPN. Has anyone done such a setup and kno... | A couple of things, you didn't bind your bridge to a device Your still attempting to use you Ethernet device normally try this: - [CODE] [CODE] | 1 | 1 | 2,276 | 2013-08-15T14:55:09.043 | infrastructure | serverfault.com | |
940,654 | hyper-v failed to start worker process: ran out of memory 0x800700E | I have a Windows Server 2016 DataCenter with 0.5TB of RAM (there is a 497GB of RAM currently available) and I have three hyper-v virtual machines there. They have been running perfectly until we added a few discs into the physical server. Suddenly I cannot start any of them and even newly created VM cannot be started a... | I had the same issue today. I checked Drive space, which had 800GB free so that should be way more than plenty. Then I remembered that I had switched settings to dynamic memory allocation and upped the virtual processors from 1 to 2 the last time I was playing with the VM. I don't know enough about hyper-v to understan... | 2 | 0 | 4,421 | 2018-11-19T07:41:05.470 | infrastructure | serverfault.com | |
320,294 | VMware High availability, does it protects from unexpected OS crashes ? | We have an legacy but very important app running on windows server 2003. App itself doesn't support any kind of HA and it's not the most reliable piece of software. Last week we had a special emergency when OS on application server crashed and it didn't go up again. As far as I know when you use vmware HA the vmware ke... | I think you may be confusing HA and Fault Tolerance HA doesn't keep two versions of the virtual machine running. If it detects a failure of the host OS then it will automatically restart the VM. Effectively your VM will have been rebooted and you will have lost any state information. With fault tolerance a 'shadow copy... | 3 | 7 | 1,387 | 2011-10-10T21:52:16.543 | infrastructure | serverfault.com | |
500,990 | In sql-server, how do I give server-level permission to user to make backups on any database | I need to give a user server-level permissions, once and for all time, to back-up any existing or future database on the server instance, without making the user sysadmin. How can I do that? I've tried giving users: dbcreator, serveradmin, setupadmin, but the user still can't backup a database unless she is a db_owner.... | I don't know of any server level options per se, but a few options might works. Modify the model DB so that it has the backup operators role assigned to a group with your user in it. Run a t-sql script nightly that loops through each db and assigns the role. Also, just to re-affirm, see here... https://dba.stackexchang... | 1 | 3 | 2,991 | 2013-04-19T16:07:20.120 | database_errors | serverfault.com | |
3,326 | Network Traffic Monitoring | What is the best tool to monitor/analyze network traffic on an entire network (several subnets)? I'm looking for something that will help me toubleshoot bandwidth problems when, for instance, users start complaining that the "network is slow" | I'm assuming you have a commercial router/switch, it most likely has SNMP which you can combine with MRTG for a nice traffic graph. | 18 | 10 | 4,917 | 2009-05-02T23:01:42.593 | pipeline_ops | serverfault.com | |
252,872 | Slower response time on server caused by CentOS version | We have a number of servers, all in the same datacenter, all similar spec, all run the same application (LAMP ecommerce app), all have similar traffic levels and all have similar average load. However, one of these servers regularly scores much worse than all the other servers in response time reports from Pingdom. All... | Try running [CODE] to see if it's using swap space from RAM. Very common on similar builds but different OS. -edit- On the last line look for anything above zero in the middle column Swap entries: [CODE] [CODE] [CODE] [CODE] My machine is saying the "262"MB of RAM is free in the Mem line and no swap file has been used ... | 0 | 1 | 2,020 | 2011-03-28T19:56:46.917 | infrastructure | serverfault.com | |
289,482 | How to use SOLID principles in this example | I have reading about SOLID principles last week and decided to try to solve real world problem by using them. So I got the problem of real world ecommerce site managing totals. Problem Statement: We have to calculate some totals like subtotal, taxes, vouchers, coupon, total on a cart products. So I have decided to make... | I see you use php, try to stick to the psr coding styles: psr-1 and psr-2 . Look into the decorator pattern. this is a pattern commonly used in this kind of situations. You probably have some kind of [CODE] class that is used to represent items in your cart. They probably look something like this: [CODE] With then an i... | 6 | 1 | 2,407 | 2015-07-12T06:58:30.453 | api_errors | softwareengineering.stackexchange.com | |
490,691 | What does it mean to grant/set permissions for NETWORK SERVICE on a network share? | I'm confused about the NETWORK SERVICE account (group?) works on network shares: On one hand, NETWORK SERVICE is generally described as an account that's local to a given machine. (See, e.g., here on serverfault or in Microsoft's Access Control in IIS 6.0 document.) So it's not a domain-wide account. And, for instance,... | NETWORK SERVICE is a well known account. It has the same SID on every machine. You are correct that NETWORK SERVICE on MachineA will not authenticate as NETWORK SERVICE on MachineB. It's not a group, it is an account. It's very rare that you would be setting NETWORK SERVICE permission (share or NTFS) on a share. This w... | 8 | 7 | 30,542 | 2013-03-23T04:05:20.117 | api_errors | serverfault.com | |
1,034,381 | Cron is not running from docker container... failed | I am trying create cron a task in docker container. Everything are configured according to the @VonC 's answer My dockerfile looks like this [CODE] But the cron service doesn’t start up by default [CODE] the cron service starts work after pushing it explicitly from the container [CODE] what's wrong? | You were close, here is the modified Dockerfile that does not give the error and starts cron: [CODE] Having said that this Dockerfile is fine if you testing water. However, to run things in production you may want to look into how services are bundled within docker images (use exec etc) | 2 | 2 | 10,677 | 2020-09-18T07:49:17.883 | pipeline_ops | serverfault.com | |
406,967 | MS Access Database slower than normal all of a sudden | I have a client with an Access Database that has been experiencing slow queries in the past few days. Here is some background first. it is currently running on Windows Server 2008 the mdb file is on the server and there are some local installed front end parts on the workstations. we run over a gigabit ethernet and gig... | I second Zoredache's question about compacting the mdb file. When our apps were all Access based, i used to use Microsoft's Jet Database command line tool. It works great and keeps you from having to open and close the mdb in Access which could take a bit if it is already having issues. Check it out here. http://suppor... | 2 | 3 | 3,527 | 2012-07-12T00:31:43.287 | infrastructure | serverfault.com | |
73,725 | how to design a database's table to store mysql spatial data in a parent child relation? | I want to store locations and polygon data in a parent-child relationship. I am using spatial data in MySQL and Google maps for polygon. Examples: [CODE] etc. [CODE] | Your location table should have a self-reference. Use the Polygon 1 type for your geography. eg: [CODE] So, your table might have: [CODE] | 1 | 1 | 1,015 | 2014-08-12T05:41:00.283 | database_errors | dba.stackexchange.com | |
498,172 | Iptables drops ACK FIN package in my AP | I have a Access Point on my Ubuntu machine with iptables. The machine has eth0 and wlan0 that is bridged to form the interface br0. There should not be any firewall between eth0 and wlan0, I want the traffic to flow freely and unrestricted. If traffic stops at either eth0 or wlan0 the firewall kicks in So I tried this ... | If you want traffic to flow unrestricted , then make it so: [CODE] For more information on the meaning of TCP flags, see: here | 1 | 2 | 1,411 | 2013-04-10T20:15:29.453 | infrastructure | serverfault.com | |
198,057 | How can I benchmark concurrent key-value stores? | I have some concurrent key-value store implementations that are implemented with hash tables and search trees that I would like to compare. I would like to benchmark them with a real world application where several threads stresses the key-value stores. I already have some micro-benchmark that stresses the key-value st... | Why not take your existing random KVP (key value pair) operation testing to the next level? Presumably, your current set of tests includes a list of potential KVPs and then performing CRUD operations against whichever KVP was selected. In effect, the list of KVPs drives the benchmarks against your system. An Actor rand... | 6 | 1 | 1,131 | 2013-05-14T12:33:05.767 | api_errors | softwareengineering.stackexchange.com | |
357,783 | VirtualHost on Lion navigates to wrong document root | I'm struggling with getting Virtual Hosts running on my local Lion development machine. Here's the scenario. I have Site-A.dev and Site-B.dev sitting in my [CODE] folder, like this: [CODE] [CODE] My [CODE] file has the following entries: [CODE] And my [CODE] file looks like: [CODE] Eventhough all instances of Site-A ar... | After running [CODE] I discovered that the location of my httpd-vhosts.conf file had been moved to [CODE] . Heres what the [CODE] reported: [CODE] Once I discovered that I was editing the wrong [CODE] file I was able to fix the problem. | 1 | 1 | 364 | 2012-02-07T20:43:26.903 | infrastructure | serverfault.com | |
396,419 | Use a linux (Ubuntu) live cd to read a hardware RAID array | I've got a Dell Poweredge 2900 server on it's face. We have had issues with it's PERC 6/i RAID controller over and over this last week. The server's OS is Small Business Server 2008 and it's RAID 5 I'm trying to figure out a way to not boot to the server OS and still see what is on the array (if anything). I've used Ub... | If the array is still in tact, and as long as the live CD you're booting has support for the hardware RAID controller and the file system on the RAID then you shouldn't have any problem pulling files off the array in the way you describe - it should just show up as a normal volume. Support for hardware RAID controllers... | 1 | 1 | 6,496 | 2012-06-07T11:43:09.283 | infrastructure | serverfault.com | |
487,292 | Which Package has net_tstamp.h? | I attempted to compile the source code here: http://os1a.cs.columbia.edu/lxr/source/Documentation/networking/timestamping/timestamping.c?a=x86;v=2.6.32 However, I got a compiler error: error: linux/net_tstamp.h: No such file or directory I looked at /usr/include/linux, and indeed I don't have that file. Then, I searche... | [CODE] [CODE] | 0 | 5 | 958 | 2013-03-13T04:44:24.300 | infrastructure | serverfault.com | |
748,684 | 304 with CORS on apache | I have an REST API that returns a [CODE] status code for some request (that have If-Modified-Since header). The problem is that the apache2 software strips any CORS header prior to the response being sent to the browser. This happens only when the status code is [CODE] . Any other end-point works great with CORS. All t... | 304's don't need to include the CORS headers. Browsers should see the 304 and use the cache. https://bz.apache.org/bugzilla/show_bug.cgi?id=51223#c1 CORS doesn't require those headers on a 304, and indeed browsers work without them present on it. This is because many 304s are generated from intermediary caches that can... | 7 | 2 | 2,333 | 2016-01-13T04:37:22.853 | api_errors | serverfault.com | |
710,541 | Centos 7/1503 -- Getting Error setting up base repository during installation | I've created bootable USB flash drive using recommended LiveUSB Creator using [CODE] . Now being at Installation Summary screen I'm getting Error setting up base repository . When I click on Verify at Installation Source screen I get This media is not good to install from . Rather cryptic error message... I've also tri... | You have an error in the mirror URL (and extra x at x64) it should be [CODE] . | 9 | 13 | 45,687 | 2015-08-03T16:56:51.777 | infrastructure | serverfault.com | |
482,173 | Is there any other reason for "no space left on device"? | I am using Dirvish on a Ubuntu server system for backing up a hd to an external usb 3.0 drive. Until a few days ago, everything worked fine, but now every backup fails with "no space left on device (28)" and "file system full". Unfortunately it is not that simple: There is > 500 GB free on the device. Details: rsync_er... | My suspicion (see EDIT3) apparently was right: Adding acl support to the file system made rsync/dirvish think that all the files had changed. So instead of making an incremental backup and just create hard links to the already existing files, it tried to create a full backup which of course failed because the hard disk... | 15 | 5 | 75,349 | 2013-02-25T08:54:33.323 | database_errors | serverfault.com | |
431,097 | Importance of loading/saving complete aggregates at once in DDD | In the context of a web application where we handle only one command per request in a stateless fashion, do we always have to load/save aggregates as one atomic unit? Why is it recommended not to partially load/save aggregates? What are the fundamental reasons behind this rule of thumb? Some references where I found th... | There may not be a direct and detailed answer, because DDD itself is not a well defined thing. I just wanted to draw your attention to the fact, that not all interpretations of DDD end up loading/storing structures of data without context. Even Eric Evans seems to shift his views, in essence telling us to concentrate o... | 4 | 3 | 2,861 | 2021-08-16T11:59:37.983 | api_errors | softwareengineering.stackexchange.com | |
969,832 | nginx, gunicorn, Django 499 error 60s | I get a 499 error after 60s whatever the config I try. I use Docker on a 8 core/32GB server and there is another nginx/lets-encrypt reverse proxy in front for the others containers. I am more on the dev side of the craft. I suppose I need to run my batch in background and I am going to explore that if I can't fix this,... | did you solve this problem? I'm with the same problem and I don't have any idea what is causing this 499 error. I cofigurated my server and everthing the same way you did. EDIT 1: Hey guys, I discovered the source of this problem in MY CASE. For some reason saving info in session: django.session['value1'] = 'value2' Th... | 2 | 0 | 4,631 | 2019-06-02T09:59:18.027 | pipeline_ops | serverfault.com | |
893,023 | Valid CA issued SSL certificate gives privacy error in browser | (I had originally asked this question on StackOverflow and did not get any answers for more than 5 days. Since I found more SSL related discussions in this forum I deleted from SO and have re-asked here) I have a valid SSL certificate for “services.infomotif.com” issued by "COMODO RSA Domain Validation Secure Server CA... | Yes, the warnings are because you redirect to an IP address but the certificate is for a domain name. This can't work like this, as the two don't match naturally ... Why do you even do this? This looks terrible unprofessional ... | -3 | 4 | 309 | 2018-01-19T12:03:13.413 | data_quality | serverfault.com | |
170,945 | Why does XCode convert PNGs to CgBI format? | According to the research done here http://imageoptim.com/tweetbot.html , Xcode's conversion of PNGs to the proprietary Apple CgBI format does not create a noticeable performance improvement. Their claim is that the conversion only reduces PNG loading speed by 1 nanosecond. If this is true, why does apple bother with t... | This blog post describing the patent that Apple filed for the CgBI format implies that Apple thought there were some technical benefits from the conversion. Specifically: [CODE] [CODE] [CODE] The first and last benefit are more likely to be of value, but I'm not a graphics expert. With the post you displayed in your qu... | 5 | 2 | 1,504 | 2012-10-23T00:04:11.783 | api_errors | softwareengineering.stackexchange.com | |
366,151 | Postfix: Allow unauthenticated incoming mail, but only authenticated outgoing mail? | I'm new to the world of mail server's and have been working on setting up my own via Postfix on Ubuntu 11.10. So far, I have SASL authentication working over TLS so that's good; I'm worrying about security now. In short: I want Postfix to accept all unauthenticated incoming mail, but only allow authenticated outgoing m... | As you have understood that to apply options in [CODE] to override options in [CODE] on a per-port basis. To achieve your goal you want to place the restriction as [CODE] rather than [CODE] . The key is to [CODE] instead of just [CODE] : [CODE] This prevents an unauthenticated client from sending to any domain you're n... | 3 | 4 | 6,097 | 2012-03-04T08:46:23.357 | api_errors | serverfault.com | |
343,223 | .htaccess & httpd.conf | I'm trying to get the directories in my /var/www/html/ directory to not show the "index of..." and all files residing in it. Do I need to edit httpd.conf and put .htaccess files in each directory to ensure the contents are hidden? I have Apache version 2.2.3 on CentOS 5. Is this the part of httpd.conf I need to edit? [... | If you can edit the main config file then add [CODE] to your Options line [CODE] and restart your apache service. It's doing this because there is no DirectoryIndex file. You could just put a blank index.html file in your directory. You could add the -Indexes to a .htaccess too. | 2 | 6 | 616 | 2011-12-21T18:43:45.500 | infrastructure | serverfault.com | |
275,934 | SQL Server 2019 Database stuck In Recovery state after restart | SQL Server was restarted by mistake, when it came online, database came back in "In Recovery" mode. Check from error it says "Recovery of database 'DB1' (5) is 8% complete (approximately 27146 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required. It says it will 8 hours to br... | There's not really anything you can do. Your database is going through crash recovery, and it needs to process the transaction log. I've written about this exact scenario more in depth here . If SQL Server hadn't completed a CHECKPOINT recently, there would be database changes that were committed, but had only been mad... | 0 | 1 | 2,269 | 2020-09-23T07:44:53.357 | database_errors | dba.stackexchange.com | |
775,280 | Impossible configuration in gitolite? | I am banging my head on a wall with this one and getting nowhere. I hope that someone here has a clue or just confirm my impression that it's impossible to do. I am using gitolite 2.3 on an internal repository to apply advanced ACLs. I have been asked to modify the configuration so that users in a special group, say [C... | I believe this can be accomplished: The "conf" file (conf/gitolite.conf) http://gitolite.com/gitolite/conf.html#what-does-a-rule-look-like http://gitolite.com/gitolite/conf.html#refex | 0 | 0 | 60 | 2016-05-06T15:55:11.093 | infrastructure | serverfault.com | |
469,087 | Using NFS mount script with grandfather father-son script but only getting 6 daily backups. I should also have 4 weekly and 2 monthly backups | I'm using rsync to clone changes from a remote server(MT DV4.0) to a local one(ubuntu 11.10). I'm then using the following copy/paste script to compress then archive the files. [CODE] The daily backups seem to be working great, however I'm only getting 6 daily backups. Saturday is missing (this should be the day the we... | Your script seems to work fine, but it's a little hard to follow; I've removed a few minor errors (unportable to use == with test, it's =) and removed the cascading ifs with a simpler solution; it now works with plain sh. [CODE] What's the actual problem? When running it today (Saturday), I find it tries to make a tar ... | 2 | 4 | 1,093 | 2013-01-15T00:55:46.330 | database_errors | serverfault.com | |
180,298 | Check Constraints on SQL Server Database advisable for number range & year & month? | I'm busy designing a website and I have a requirement for the following columns in my SQL Server database: allocation (values from 0 to 100) year (only) month (only) I have read about check constraints and I'm wondering if the following would be feasible / and if it would be the best solution for the above: [CODE] I wi... | Yes, use check constraints Yes, you should add check constraints in your database to ensure valid values, as well as checking in your app. The database side makes for a double-check in case your app’s code has a hole or bug. Also, you may use other apps such as db admin tools to interact with your data, so it is good t... | 2 | 6 | 560 | 2017-07-20T05:29:28.110 | database_errors | dba.stackexchange.com | |
822,682 | Windows tries to access the IPC$ share before the provided one | I have a samba server where I have disabled access to the [CODE] share [1] for security reasons (users and shares enumeration, user info query, ...). I can access the data shares on this server without problem from any Unix based computer with [CODE] . However, when I try to access them from Windows computers (tested w... | So my question is how can I prevent Windows to do this useless request...? Or at least how can I force Windows to access the real share after..? The answer is that you can't! Sorry to say, but this is the case. However, although this is the true answer to your question - I don't want to sound unhelpful. I do want to he... | 4 | 4 | 9,883 | 2016-12-25T22:07:55.410 | infrastructure | serverfault.com | |
230,691 | IIS Server not serving ASP.Net application | I am getting the following exception on my IIS server: aspnet_wp.exe could not be started. The error code for the failure is C0000005. This error can be caused when the worker process account has insufficient rights to read the .NET Framework files. Please ensure that the .NET Framework is correctly installed and that ... | Have you tried running Aspnet_regiis.exe to repair IIS mappings for ASP.NET? Here is a link (specifically for IIS 6) that might help you. http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/187d0e2c-8e89-49ad-a89d-e26e4d76ee68.mspx?mfr=true | 0 | 0 | 271 | 2011-02-03T16:07:34.053 | infrastructure | serverfault.com | |
44,899 | How do I interpret the log when I run DBCC TRACEON (3502, 3504, 3605, -1) | I have been using DBCC Traceon (3502, 3504, 3605, -1) because it was recommended in a blog for discovering performance issues related to I/O. I'm running MS SQL Server 2008 R2 SP1 Results in my SQL Log file look something like this (numbers fudged a little): about to log checkpoint end last target outstanding 2, avgWri... | The trace flags that you have turned on will tell you what a checkpoint is doing behind the scenes. 3502: writes to the error log when a checkpoint starts and finishes 3504: writes to the error log information about what is written to disk 3605: allows trace prints to go to the error log Refer to Paul Randall's blog po... | 3 | 6 | 3,315 | 2013-06-20T00:55:59.523 | database_errors | dba.stackexchange.com | |
75,595 | CSVs: how to output missing data to make processing easier? | If supplying data (that can be either string or numeric) via CSVs, what's a good strategy for marking that a value is missing? Some non-empty sentinel, like [CODE] Some non-empty sentinel, but quoted like [CODE] The empty string, e.g. in the CSV the value will be 0 characters long. The quoted empty string [CODE] Someth... | Both pandas and readr allow flexibility on the marker used to indicate missing values, allowing to specify values that should be treated as missing when reading csvs: readr https://readr.tidyverse.org/reference/read_delim.html pandas https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_csv.html given ... | 0 | 2 | 56 | 2020-06-06T20:46:28.133 | data_quality | datascience.stackexchange.com | |
1,099,634 | Simple haproxy TCP passthrough results in very slow network transfer speed | I've setup a simple haproxy instance on a clean install of Debian 10 Buster. I've added some simple necessary config to enable the passthrough to the IP address in question (which has been redacted in the below config). The config file: [CODE] The changes I did (if I do a diff with the original file) (redacted ip): [CO... | Answering because I don't have enough rep. In [CODE] , you want to find this line: [CODE] Replace [CODE] with your FQDN, like haproxy.domain.com or whatever it is. It should be the same as your server's hostname. On Debian, you can set the hostname with this command: [CODE] | 0 | 0 | 834 | 2022-04-27T19:19:12.783 | api_errors | serverfault.com | |
196,521 | Aids for capacity planning? | Are there any resources (Templates, tools, etc) that a sys admin would use to perform a capacity planning study? I am going to setup some servers on the cloud but I need to know how many I will need for my usage patterns (e.g. whether some can be consolidated or not), and the memory etc required. Thanks | IMHO, the best capacity planning tools that exist are trending/graphing solutions like Cacti , Munin or Ganglia . Monitor and graph everything you can: cpu usage, load, memory usage, swap, disk space, disk i/o, network traffic, etc. Graph not only system metrics, but also application ones (number of users, what are the... | 2 | 2 | 491 | 2010-10-30T23:18:45.153 | infrastructure | serverfault.com | |
60,275 | Source control makes sure my code is never lost, how do I make sure my users/orders database is never lost? | Everyone is recommending the use of git, automated tests, continuous integration, automated deployment and so on, to reduce human error during all stages of web development. I have yet to come across a clean, automated way of doing this for databases. Currently, I'm using the Symfony2 framework for PHP and doctrine to ... | You can dump databases with a cron job, but your database schema should be under version control just like all the other code. For MySQL, see mysqldump . Copy or move the backup files to a safe place. (Or to two different safe places.) The database server is not a safe place. | 1 | 3 | 21 | 2014-02-03T00:23:09.450 | database_errors | dba.stackexchange.com | |
926,720 | Non-Administrator domain account cannot remote managing Hyper-V 2016 core | I have a Hyper-V 2016 core server installed. We can authenticate using the Hyper-V Manager with the network domain account. We want to use the 'BUILTIN\Hyper-V Administrator' group to delegate access. Currently, using GPO we have a test user assigned via Restricted Groups to 'BUILTIN\Hyper-V Administrator' and 'BUILTIN... | I was able to get this to work. The Domain User needs to be added to the following local groups. Which can be done via GPO 'Restricted Groups' BUILTIN\Hyper-V Administrators BUILTIN\Remote Management Users BUILTIN\Remote Desktop Users Do a gpupdate /force on the Hyper-V server afterwards | 2 | 1 | 2,228 | 2018-08-16T15:48:10.413 | infrastructure | serverfault.com | |
370,589 | DDD: How to work with entity variations? | Let's say I have an Entity that represents an employee: [CODE] Now, imagine I have a website with 2 pages: A home page and a profile page. On the home page, there will be the name and the gender of the last 10 employees registered. Like this: [CODE] When I click an employee name, I'll be taken to the profile page which... | The problem is that in general, in any application design, that there are 2 kinds of models: a write model and one or more read models. The classic application architecture style merges the two types of models into one and this leads to problems in implementing the models. The solution is CQRS, more exactly to think in... | 4 | 4 | 977 | 2018-05-08T05:07:46.907 | api_errors | softwareengineering.stackexchange.com | |
66,905 | What value can I gain by doing exploratory data analysis on features (and thus data) before doing clustering? | This might not be a very good question, but I would still ask if it's beneficial to do EDA before running a clustering algorithm? I understand that EDA helps us generate good and helpful insights into the data, which is crucial in data understanding. If we leave aside standard checks and manipulations like - removing o... | How would you know you have to do cluster analysis before looking at your data ? Setting aside data quality questions (which you should never do), a bare minimum of EDA will help you : Know if it's relevant to do a clustering analysis (rarely imo) Know if K-means is the best clustering tool (rarely imo) Get an idea of ... | 3 | 0 | 608 | 2020-01-22T22:14:25.463 | data_quality | datascience.stackexchange.com | |
511,126 | Dell UPS Management Software (ULNM) Shutdown Script Execution Failure | I got a Dell Server (PowerEdge R420) and a QNAP NAS (TS-412-U) connected to the UPS (Dell 1000W Rack), the ULNM Software is installed at the Server, the UPS is hooked up to the Server via USB. In the case of a shutdown event, i want to run a .bat File that is shutting down the NAS via plink prior to the Server shutdown... | The Problem was accepting the fingerprint, I did this with my user account but not with the account that executed the shutdown command initiated over the web-interface. (-batch just surpresses the prompt, not answears it neither negative or positiv...) To resolve the Problem, its possible to pipe in a y like this: [COD... | 0 | 1 | 998 | 2013-05-27T10:58:09.630 | infrastructure | serverfault.com | |
559,510 | Postfix noqueue reject | I have own a vServer and multiple domains. The server is mainly used for Websites but I've also set up postfix and dovecot to deliver mail. Everything is working as expected. Even for different domains I am able to add [CODE] , [CODE] and [CODE] in a MySQL database, send and receive mail. Everyday I find this strange e... | This is a check performed by the [CODE] Reputation list ; it basically ensures that you're not an open relay as if your server would have accepted the mail and delivered it back to their servers you would end up on their Blacklist (OpenRelay). You can safely ignore these entries along with others containing the [CODE] | 1 | 1 | 1,636 | 2013-12-05T16:50:00.047 | database_errors | serverfault.com | |
709,047 | MSE changed windows firewall settings and win server 2008 r2 can not be access by it's name anymore | i have installed Microsoft Security Essentials on Win server 2008 R2 and it modified the Windows firewall, this caused an access problem, win server 2008 R2 can not be accessed by it's name anymore and i turned Public Networks off on firewall, now i can access, i dont know what causes the problem, can you help me? than... | Set your firewall to a private profile, or be sure those rule in the 'Advance' section are allowed. (The one in red and the other for File and Printing Sharing are allowed) | -1 | 0 | 100 | 2015-07-28T13:05:16.070 | infrastructure | serverfault.com | |
851,942 | can not having a PTR record affect website performance? | I moved my ptr from my maindomain.com to my mail.maindomain.com. Now i could swear my website was faster before, but i can't prove it. Could not having a PTR record affect performance in any way? Maybe there's apps that do a callback somehow? | No, it doesn't affect. You have done correctly, since [CODE] records are nowadays only commonly used by spam filters for detecting poorly configured servers; with [CODE] you are avoiding [CODE] != [CODE] != [CODE] hostname mismatch. The only requirements for [CODE] record itself is that there must be only one [CODE] re... | 0 | 0 | 721 | 2017-05-24T07:51:27.703 | infrastructure | serverfault.com | |
271,458 | PF rules and configuration to allow a local IP alias to NAT on FreeBSD? | Here's exact details of my configuration: Firewall/DNS Server: 192.168.2.1 (local lan) which routes out to the internet. "Inside" of my server, I have a jail. (I will have more, once my firewall rules are working..) I'm setting this up using ezjail, and that much is working. I want to assign it an alias on my FreeBSD s... | [CODE] Thanks to jhell on freenode #freebsd (and thanks to me, finally figured most of it out) | 0 | 0 | 7,019 | 2011-05-19T13:14:27.407 | infrastructure | serverfault.com | |
14,223 | How do I diagnose missing rows on a MySQL slave? | I'm running traditional master/slave replication on MySQL 5.1.52, my master is set for statement based replication. A few tables are missing rows on the slave (differing row counts), these tables are insert only on the master using "load data infile ...", with auto-increment Pks. It is strange that the missing rows on ... | The traditional way would be to use pt-table-checksum and pt-table-sync I like doing things a little different. I immediately run [CODE] with the [CODE] options. Here is the --sync-to-master option --sync-to-master Treat the DSN as a slave and sync it to its master. Treat the server you specified as a slave. Inspect SH... | 5 | 6 | 5,048 | 2012-03-01T19:33:21.630 | database_errors | dba.stackexchange.com | |
207,886 | Help understanding why a deadlock occurred on row level index lock | I have the following deadlock xml [CODE] As far as I can understand, we have 3 row level locks on the [CODE] index. I'm not sure why some of them ( [CODE] ) has an X-lock on this index, but the others don't. Also the execution plan for this delete looks like this I don't understand why the deadlock is happening. Everyt... | I don't understand why the deadlock is happening. For this execution plan, the sequence of locking operations involved in deleting each row is: [CODE] lock nonclustered index (taken at the index seek) [CODE] lock clustered index (taken at the delete operator) [CODE] lock clustered index (at the delete operator) [CODE] ... | 7 | 10 | 3,618 | 2018-05-25T17:21:45.513 | database_errors | dba.stackexchange.com | |
716,622 | Configuring two different application server in one nginx? | I have two different app servers one is my custom application and other is CRM. My custom app will get request and it will request crm server for some data and at the end server the customer. I have one nginx which is handling the crm and I want the same nginx deal with my application and let those app communicate in b... | You are doing it wrong. How it should be: [CODE] Read how nginx process request: http://nginx.org/en/docs/http/request_processing.html It short it will find two server for this IP address, then it will check "Host" header in HTTP request and process request in server which have corresponding server_name. | 0 | 3 | 3,708 | 2015-08-25T13:11:33.550 | infrastructure | serverfault.com | |
255,643 | Mysql GROUP BY is really slow on a simple view | I have these tables. [CODE] and this view called "movements_items_view". [CODE] The first table has 5913 rows, the second one has 144992. The view is very fast, it loads 20 result in PhpMyAdmin in 0.0011s but as soon as I ask for a GROUP BY on it (I need it to do statistics with SUM()) es: [CODE] time jumps to 0.2s or ... | First things first: Does the query continue to perform slowly if you bypass the view and run the underlying query with the [CODE] ? In my experience, MySQL is notoriously bad with views that are used with anything except [CODE] statements. If that fixes the problem, then just create a second view with the actual inform... | 2 | 3 | 1,400 | 2019-12-15T09:43:28.560 | database_errors | dba.stackexchange.com | |
755,532 | Prevent monit from checking while restarting | We have the following monit config which restarts tomcat if unable to connect to it: [CODE] The problem is that it takes quite a while to start up, and monit seems to keep checking. This means that while tomcat is starting up, monit seems to think it is down "again" and initiate another restart, turning it into a resta... | Try this: [CODE] When monit performs its checks, it will only check Tomcat-Foo every 2 cycles, giving it more time to start up. Adjust the number of cycles if you require more/less time. | 1 | 0 | 1,587 | 2016-02-11T12:20:01.193 | infrastructure | serverfault.com | |
172,349 | wbadmin system state backup fails | When trying to backup the system state to shared drive the backup fails. This share is a samba share. The samba server is not on AD but I mapped a network drive so the credentials would be saved (Can't actually backup to the network drive, wbamin prevents that). When I run the backup over it fails. Both the log files m... | The default allocation method for *nix OS's (of allocating disk blocks only when they're needed) is throwing Windows Backup for a loop. You need to pre-allocate the space. Add the [CODE] to your smb.conf and give it a shot again. (See http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html for details about the ... | 3 | 3 | 3,827 | 2010-08-19T13:53:07.540 | database_errors | serverfault.com | |
415,049 | What is a good naming convention for Interface Adapters, Use Cases / Interactors, Entities? | I'm using MVVM + Clean Architecture in my app. And I sometimes don't have any idea if my namings are good enough for each Interface Adapters, Use Cases / Interactors, Entities. For View Models, it's pretty simple. I can just use xxxViewModel as the name. But what about those before? FYI this is my usual namings: Interf... | Class and method names are supposed to be abstractions that conceal implementation details, not set them in stone. When you let implementation details leak into a name you make it very hard to change that implementation. Worse you start to brainwash those who come later into thinking this pattern you've enshrined is th... | 3 | 1 | 1,961 | 2020-08-21T11:53:01.083 | api_errors | softwareengineering.stackexchange.com | |
168,534 | How to implement isValid correctly? | I'm trying to provide a mechanism for validating my object like this: [CODE] Then when I'm testing my code I'm doing it like this: [CODE] Now the test passes correctly, but I noticed a design problem here. What if the user called [CODE] before calling [CODE] ? The test will fail because the user has to validate the obj... | There are two ways to get around this issue: To set [CODE] to an error indicating that the validation has not happened yet, or To go "completely stateless": make [CODE] return the array of errors, and check the size of the array to determine if the validation succeeded or not The first path is easier for an existing sy... | 5 | 2 | 294 | 2012-10-11T19:59:06.060 | data_quality | softwareengineering.stackexchange.com | |
199,706 | MySQL very slow on VMware | I have Windows 7, VMware Worstation 7, and Ubuntu Hardy 8.04 client (I tried 64 bit client and 32). I have gotten phpmyadmin running on the host under Apache. I have changed the [CODE] to add multiple hosts so I can access my MySQL instance running on a VMware Ubuntu Hardy client. It is terribly slow. It takes 13 secon... | I fixed it, well Google fixed it, it's always Google or Stackoverflow that fix it! I added skip-name-resolve to my.cnf in the [mysqld] section and thank goodness it worked! It now flies. It has taken me all day to get this development environment up and running, hopefully it will help someone else. Cheers Rich | 1 | 4 | 5,151 | 2010-11-09T04:55:32.460 | database_errors | serverfault.com | |
30,302 | Combining DNS wildcards and search domain | I have a setup where one webserver (bar.com) is serving lots of subdomains, so it would be convenient to use a wildcard DNS entry. At the same time I'd like to use bar.com as search domain, so that foo resolves to foo.bar.com. The problem now is that if I set it up like this, foo.com resolves to the webservers IP if th... | You shouldn't mix a wildcard domain, and a search domain in the same [CODE] . If you want to try, switch [CODE] for [CODE] ; [CODE] | 2 | 2 | 666 | 2009-06-23T13:37:19.323 | infrastructure | serverfault.com | |
538,662 | Apache SSL configuration - Invalid method in request \x16\x03\x01 | I'm trying to set up https service on my VirtualBox guest instance running Debian Squeeze and Apache 2. When trying to load my virtual host's test page in a browser from my Win7 host machine, I'm getting an error " ssl_error_rx_record_too_long ". At the same time, the Apache error log says " Invalid method in request \... | I suspect my case is the same as user242156, and very possibly, the original poster. The issue was that my configuration files in sites-enabled/ were not in fact being read, because the distro's apache2.conf only included sites-enabled/*.conf and my files did not use that extension, as it is not required on, e.g., Ubun... | 5 | 4 | 26,492 | 2013-09-13T11:38:26.047 | infrastructure | serverfault.com | |
1,090,910 | Matrix Synapse admin UI behind NGINX reverse proxy | I set up a Matrix Synapse server and everything is working fine so far. My only problem is accessing the admin UI which I got from github Awesome-Technologies / synapse-admin I symlinked the index.html into nginx webroot at [CODE] and wrote another server block in my config as well as customised the config on my revers... | This is what happens when you request [CODE] . The request hits first [CODE] block in the reverse proxy virtual host configuration. The reverse proxy nginx makes a request to [CODE] . The default mode for [CODE] is to append the URI after the domain name / IP when no URI is specified in [CODE] . This request hits the m... | 1 | 1 | 4,028 | 2022-01-23T22:03:19.913 | warehouse_errors | serverfault.com | |
780,176 | ELB and IGW, or just ELB? | I saw AWS architecture that IGW is placed in front of ELB (i.e., see page 8 in http://www.slideshare.net/AmazonWebServices/high-availability-application-architectures-in-amazon-vpc-arc202-aws-reinvent-2013 ); and I also see ELB is placed directly to Internet connection (i.e., see page 14/15 at http://www.slideshare.net... | IGW is implied on the second slides too, because otherwise your VPC won't be connected to the World. An Internet gateway is a (..) VPC component that allows communication between instances in your VPC and the Internet. ( from doc ) Update: Have just tested: IGW cannot be deleted until you have a route to 0.0.0.0/0 and ... | 0 | 3 | 1,686 | 2016-06-01T05:45:52.760 | infrastructure | serverfault.com | |
177,728 | How do I copy one 500GB file from win2003 to lan/usb without impacting the source server? | I have to copy (periodically) a MSSQL backup file large 500 GB to another pc (windows or linux) within lan. The normal copy (or xcopy, robocoy, teracopy) command to a network share (or external usb disk) takes a lot of time (about 12 hours) and the server with the backup file become very slow (because there is only one... | With windows, unfortunately, your options are a bit more limited. You could simply try setting up a FTP server (don't use the IIS one) and set a max bandwidth. This should effectively lower the impact on the server. In all honesty however, If you're running into a noticeable slow-down when doing a single-threaded copy ... | 1 | 3 | 1,609 | 2010-09-03T13:08:33.420 | database_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.