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 |
|---|---|---|---|---|---|---|---|---|---|---|
810,009 | Which intermediate certificates are required (Apache)? | I am receiving the following error on my HPUX/Apache server: Certificate Verification: Error (20): unable to get local issuer certificate When I look at my root certificates, I have the DoD Root CA-2 Root certificate included on the server. My site certificate has the chain of DoD Root CA-2 -> DoD CA-28 -> Certificate.... | For Apache HTTPD you only "require" the RSA key and the X509 signed certificate or self-signed. No CA's are needed. Although, some clients will complain if they don't see you have the complete chain or at least the chain of CA's except for the root one if they have it. Let's assume there is a signing authority called w... | 1 | 0 | 975 | 2016-10-19T15:17:59.413 | infrastructure | serverfault.com | |
6,879 | How to prevent cheating by manual testers? | I'm the guy who is motivated to bring some quality assurance into our team. The problem is, that our developers very often hate testing and even if they have a test protocol, not all of them are really testing. Very often they are asking their colleagues instead of testing themselves where the bugs were and practices l... | As user246 says, tricks to force developers to test can always be gamed: you're much better off finding out why they don't like testing and what the actual problem is then building a culture of testing and quality from that. You're working in PHP - there are unit test frameworks available for PHP that your devs can use... | 9 | 10 | 978 | 2013-09-26T13:12:06.510 | data_quality | sqa.stackexchange.com | |
702,031 | Lotus Domino - split mail | Here is my environment: My email server is hosted externally (not on Lotus Domino) - let's call it domain.com I have an existing Lotus Domino Application Server (9.01) [ServerA] A new Domino Application Server (9.01) [ServerB] Configuration: Any emails generated by the application are sent to an ISP (authenticated) usi... | This sounds like there is a connection document missing, which explains that Server 02 should route emails to server 01. Did you have any connection documents in place? If not please create a connection document to route the emails to your master SMTP Server. This one might help (however do not fully know your environm... | 0 | 0 | 990 | 2015-06-27T12:29:23.147 | api_errors | serverfault.com | |
256,047 | How to use a recursive CTE to get ancestors in a hierarchy | [CODE] given the above schema, i'm experimenting with different ways to speed up querying for the sum of each [CODE] aggregated at either Division2 or Division1. right now, what i do is [CODE] the above query runs in about 4.8s locally with a row count a bit shy of 55k reports for 2019. this is just the base data, with... | I would stick with one model. If you store both nested set information and parent information, you will have to maintain both, and you may end up with inconsistent information about your tree. If your main focus is on reporting both for div1 and div1, div2, you may consider [CODE] . They are a [CODE] in disguise: [CODE... | 1 | 1 | 389 | 2019-12-20T15:14:22.523 | warehouse_errors | dba.stackexchange.com | |
373,286 | Setting up VSFTPD for upload access | I've been trying to configure my ftp server and end goal I want the following: -No anon read/write access. -A single user with read/write access for myself I've followed a tutorial to setup a pam login with db4-utils, and I do have read access. I can also download files from the server. However I can't upload! I get th... | You have the [CODE] option enabled. This means that operations by non-anonymous users are performed as the [CODE] user (which defaults to [CODE] ). You either want to disable [CODE] , or make sure that the [CODE] user has write access to the directory you're trying to upload to. | 0 | 1 | 5,506 | 2012-03-26T00:47:26.253 | infrastructure | serverfault.com | |
570,818 | PHP Files downloading (source code) instead of running Nginx&PHP5-FPM | When browsing to a page on the site the page is being download instead of running Nginx Config - [CODE] Virtual Site config - [CODE] | I don't think your server_name's are reflecting what you want to do. The configuration is fine, but all three "localhost" mean the first one catches. There is no php location in the first one. | 1 | 1 | 293 | 2014-01-29T18:11:12.280 | infrastructure | serverfault.com | |
611,972 | Server sending spam - how to find out why? | I have a CentOS 6 on a dedicated server. I'm the only one with shell access to it. I host 2 Wordpress and few simple PHP sites there. My hosting company just emailed me that they blocked my port 25 as I'm sending spam. [CODE] All of the above is SPAM. How can I find out where it's being sent from? Is it a hole in WordP... | From your log it appears that the messages were originally delivered to an email address on your server, which is set up to forward to a Gmail address. Because the messages are spam, they are being seen as such when you send them back out. My recommendation would be to not forward mail in this manner at all, and simply... | 1 | 1 | 958 | 2014-07-11T17:06:27.043 | infrastructure | serverfault.com | |
15,724 | Restoring a DB issues | I am trying to copy over the live database from one server and restore it on the dev server using SQL Server 2005. I have made a backup of the live db and copied the [CODE] file over to the dev server. I am trying to run this script and I keep getting errors: [CODE] Errors: Msg 5052, Level 16, State 1, Line 2 ALTER DAT... | You cannot set your database to single-user mode or offline because your database is already in a RESTORING state. Second, your script tries to use the stored procedure sp_fixusers. This is a custom stored procedure to fix orphaned users . If you need to use this stored procedure, you need to re-create it first, using ... | 2 | 2 | 3,339 | 2012-03-26T19:18:28.707 | database_errors | dba.stackexchange.com | |
121,678 | Dante (SOCKS server) not working | I'm trying to set up a SOCKS proxy using dante for testing purposes. However, I can't even get it to work with a web browser, after looking at several tutorials on how to do that. I've tried in both IE and Firefox, in both cases, using "Manual proxy configuration", leave everything blank except for SOCKS host, and then... | this is bacuse of wrong config for your version of dante-server. here is correct config for Dante v1.4.2 [CODE] | 9 | 2 | 12,148 | 2010-03-11T21:22:15.247 | infrastructure | serverfault.com | |
9,863 | why are people advised not to update through views | During College it was banged into our heads to not update tables through views, and again when I got into the workplace we where told do not update the database through views. Where there/Are there significant performance implications to doing this? Or is this more a case of senior developers/DBAs' telling junior perso... | For a view to be updatable without using [CODE] triggers "SQL Server must be able to unambiguously trace modifications from the view definition to one base table." . There is no performance disadvantage to Updating these Views as SQL Server will just generate a query plan for the base table affected. One possible disad... | 8 | 11 | 4,354 | 2011-12-28T12:44:54.837 | warehouse_errors | dba.stackexchange.com | |
137,192 | My HyperV Virtual Server stops with critical error | I on microsoft hyper v create a server, i installing on it linux debian, but while installation this server stopped with critical error and if I start it, he stops after approximaly 1 minute. How to debug it? Where i can find information about this critical error because in a events viewer I can't find any information ... | What version of Hyper-V (RTM or R2), do you have all the latest hotfixes installed? I assume the VM is server that is experiencing the critical error? Debian isn't supported on Hyper-V (see supported guest list - http://www.microsoft.com/windowsserver2008/en/us/hyperv-supported-guest-os.aspx ).. saying that people have... | 0 | 0 | 484 | 2010-04-29T22:33:53.210 | infrastructure | serverfault.com | |
653,480 | Asterisks Dialplan Extensions | I'm playing around with a very simple asterisks setup. My asterisks server is 192.168.1.10 (Ubuntu 12.04), my 2 sip clients are 192.168.1.20 and .21 (both using ubuntu 12.04 and Jitsi as a sip client). I have 2 users (user1 and user2) who can successfully register with the asterisks server. I followed this guide here h... | I see two issues in your Configuration. The context defined in [CODE] is set to [CODE] . According to your dialplan, it should be set to [CODE] . As far as I know, the dialplan should be build like this [CODE] | 0 | 1 | 759 | 2014-12-18T14:02:04.360 | infrastructure | serverfault.com | |
949,548 | Nginx Proxy Pass - Return Status code form upstream site | How do I return the HTTP STATUS CODE from the http://127.0.0.1:8080/ Example: http://127.0.0.1:8080/api/example returns a 500 then when accessing ttp://127.0.0.1/api/example it should also return 500, and so on for the any other status code, please help??? spent a few hours with this one... [CODE] | It seems you have 3 host:port combinations at play here: [CODE] or simply [CODE] - which nginx is serving [CODE] - first app server with the endpoint [CODE] [CODE] - second app server with the endpoint [CODE] http://127.0.0.1:8080/api/example returns a 500 then when accessing ttp://127.0.0.1/api/example it should also ... | 1 | 1 | 6,872 | 2019-01-17T14:56:10.013 | api_errors | serverfault.com | |
335,647 | OUTPUT clause returning 0 for newly inserted identity value due to INSTEAD OF trigger | Consider the following minimal, complete, and verifiable example code (see dbfiddle here ): [CODE] With an [CODE] trigger: [CODE] I'm running an insert into the table, hoping to get the inserted identity value, however the value returned is [CODE] : [CODE] Results are: i d 0 test and i d 1 test The desired outcome woul... | The behaviour is confusing and poorly documented. It used to be slightly better documented in INSTEAD OF INSERT Triggers (link to 2008 R2 docs): The explanation is that at the time the values are captured—before the trigger fires— SQL Server cannot know how many rows will actually be inserted by the trigger. It does no... | 8 | 11 | 452 | 2024-02-08T18:51:11.777 | warehouse_errors | dba.stackexchange.com | |
1,084,170 | Freeradius: Authenticate users on certain condition | There is a network where users are using PPPoE to establish connections to the Access servers. We have lost the billing system and users' DB. The only condition that we know is that 'Valid credential should be credential where username and password are the same value. (i.e. username: johnsmith, password: johnsmith)'. W... | This is easy to do in unlang, the FreeRADIUS configuration "language". You copy the (known) [CODE] to [CODE] , which is what the incoming password is then compared to. See my full answer to the same question on StackOverflow for an example: https://stackoverflow.com/a/70620187/5857272 | 1 | 0 | 1,863 | 2021-11-21T15:02:13.240 | infrastructure | serverfault.com | |
38,019 | use machine learning to predict a next day of visit for customer | I have a problem a need your suggestion , I am working in a retail data , and want to predict the behavior of the customer , the data contains information about the customer who visits the shopping center, it only contains the customer unique identifier and the customer visits for 143 weeks so for each record I have vi... | You can approach that problem as time-series prediction problem. Below is one of articles or tutorials about time-series forecasting/prediction. https://machinelearningmastery.com/time-series-forecasting/ | 1 | 1 | 3,226 | 2018-09-10T03:21:18.970 | data_quality | datascience.stackexchange.com | |
900,764 | Nginx invalid host error | I'm getting an error in my Nginx config file. Running [CODE] I get: [CODE] Here's my config file: [CODE] I'm using Nginx as a reverse proxy to a NodeJS server (running a Meteor app). Where did I go wrong? | You have [CODE] when you should have [CODE] . | 1 | 1 | 7,158 | 2018-03-09T00:47:36.680 | infrastructure | serverfault.com | |
580,689 | mongodb 2.4.9 is crashing on wheezy when running as root | I installed mongodb-10gen v2.4.9 on a debian Wheezy, and I'm having this really weird behavior: if I run it as root I can't get it starts: [CODE] If I run it manually I can see it crashing: [CODE] But if I run it with sudo, It's working fine: [CODE] Has anyone an idea why ? | Apparently root's locale isn't set up correctly. Compare the output of [CODE] when running as [CODE] vs. when running that as [CODE] . You can likely fix root's locale by modifying [CODE] . | 2 | 0 | 385 | 2014-03-08T11:34:16.473 | database_errors | serverfault.com | |
10,016 | Exchange 2003 SMTP Error - 'Is Restricted' | We're getting the following Error when emailing a client. [CODE] The SMTP logs aren't much better: [CODE] I believe the error is on their end, but I was curious what the 'is restricted' error message meant. I haven't seen that before, and quick google search didn't return and concrete answers. | The message is originating from their end as a 553 response from their mail server. The remote server probably has the account set to be able to receive mail from local users only and not messages from the Internet. If they want this user to receive mail from the outside they will need to update the account settings on... | 2 | 1 | 3,017 | 2009-05-19T18:02:25.240 | infrastructure | serverfault.com | |
159,884 | Developing software for a company outside a company | I work for an IT company as a developer. We are currently working on a large software project, a multi-vendor automatic database clustering solution. We've upheld good coding standards and as a result our code is highly modular and reusable. Many of the modules we've developed could be of great benefit to the open-sour... | Your contract probably says something like "we own you body and soul hah hah" (in slightly more legal language) How enforceable this is depends on where you live and how many lawyers your employer has. But generally the courts have ruled on the: "job uses computer, hobby uses computer, therefore job and hobby are some ... | 3 | 4 | 367 | 2012-08-07T16:17:05.073 | api_errors | softwareengineering.stackexchange.com | |
960,106 | Dovecot sieve forwards a copy to non authorized email address | Recently, dovecot started to resend a copy of all emails received on a few accounts to a non authorized email address: puncheseurope23@gmaiil.com. Aparently the message is generated locally (127.0.0.1) but I cannot find out where or how it is being generated. [CODE] Edit 1 I have ISPConfig 3 installed in the server, an... | I finally found the answer: I have ISPConfig 3 installed in the server, and those email accounts had the non authorized address in the cc field. Somehow ISPConfig got compromissed and they logged in and changed those values. After changing the value in the ISPConfig interface the issue was still happening so I grep all... | 0 | 0 | 395 | 2019-03-26T18:50:15.543 | infrastructure | serverfault.com | |
333,935 | Monitoring message delivery on Postfix (or Cyrus IMAP) | Possible Duplicate: Monitoring message delivery on Postfix (or Cyrus IMAP) There's mail server based on Postfix. I need to monitor which messages are delivered to end-user? and which are not. In processing of each message I need to get some information from its attachment in XML format. How can I monitor delivery messa... | you can verify this by by running this script: tail -f /var/log/maillog | grep -i status Through this command, you will see a list of all emails, which are Being sent , rejected or else. you can see count of sent mails through this command grep -i status /var/log/maillog | grep -i sent | wc -l | 0 | 0 | 288 | 2011-11-08T09:45:12.740 | pipeline_ops | serverfault.com | |
172,106 | linux raid 1 to lvm or not to lvm | I am getting ready to create a (hardware) RAID 1 array spanning three disks. Performance is not key here, just redundancy and ability to recover from data failure. The question: Should I use LVM? I haven't used it before, but I've heard that it's fairly simple to do a "snapshot" of a filesystem which it sounds like wou... | Do you mean RAID5 with three disks? RAID1 needs a multiple of two disks to work (mirroring), so either two or four would work. LVM snapshots are (unfortunately) not suitable for long term archival, as performance degrades heavily with many snapshots, but they are great to create a definite state for a (long running) ba... | 1 | 3 | 534 | 2010-08-18T22:42:01.663 | database_errors | serverfault.com | |
220,976 | Ubuntu (desktop) server needed for school | I need to build an ubuntu server for school, but I hate with a passion command line interfaces. I need a server with a desktop, like the current win server 2003 (which has crashed, ugh). This server needs to host the school network domain, have an active directory, and handle the roaming profiles that the students and ... | Unlike windows server (which I understand to be a very different operating system to windows xp), ubuntu server uses the same packages as ubuntu desktop (the only difference is that each version has a different selection installed by default). So, if you want to use ubuntu desktop as a server, you should simply install... | 1 | 2 | 692 | 2011-01-11T05:50:55.877 | infrastructure | serverfault.com | |
213,481 | MySQL DB causing high IO running Zabbix server | My VPS host is complaining that I am using by far the highest IO on the host. Im running a Zabbix monitoring server with a MySQL innodb database. The VPS has 512MB ram. I dont understand why the mysqltuner.pl script is recommending innodb_buffer_pool_size > 1G when I only have 512MB. Any advice on where I should start ... | [CODE] , because your dataset size is 1,8GB. To decrease number of reads you need to increase [CODE] . To decrease number of writes you need to edit your zabbix templates (disabling some unnecessary items like free inodes, increase intervals between checks). You have Reads / Writes ratio at 57% / 43%, so enabling Query... | 2 | 2 | 14,298 | 2010-12-16T22:36:09.210 | pipeline_ops | serverfault.com | |
95,428 | Left over domain controllers | In our Windows 2003 network we have two active domain controllers. I say active because listed in the Active Directory Sites and Services (Sites, Default-First-Site-Name, Servers) there are 4 servers listed. One of these, let's call it Server-X, has no objects associated with it and it has long been powered down, two a... | I would use /forceremoval only as a last resort, it is probably stopping you for what it considers to be a very good reason. First question, are all your Operations Masters accounted for. Active Directory won't like removing a DC that is acting in one of those Single Master roles. | 0 | 2 | 166 | 2009-12-17T19:24:01.197 | infrastructure | serverfault.com | |
126,359 | mod_proxy incorrect redirect behaviour | In chrome this configuration causes an infinite redirect loop and in every other browser I have tried a request for https://www.example.com/servlet/foo is resulting in a redirect to https://www.example.com/foo/ instead of https://www.example.com/servlet/foo/ however this only occurs when I do not include a trailing / a... | Switching from mod_proxy_ajp to mod_proxy_http seems to resolve this problem. [CODE] Unfortunately this has the side effect of not passing along the ip address of the remote connection. Another alternative is to add a rewrite rule to match the url with the missing slash at the end: [CODE] | 2 | 2 | 6,357 | 2010-03-25T18:50:21.200 | infrastructure | serverfault.com | |
753,964 | Can't scan to a shared folder but can write to it from computer - windows server 2012 | I have a Toshiba network scanner/copier that is configured to send scanned files to a shared folder. It was working fine when the shared folder was on a windows server 2003 computer. I installed Windows server 2012 on a new computer and set up a shared folder. Now, I can access that shared folder from any computer and ... | Use Group Policy to set [CODE] to [CODE] This will prevent the server requiring SMB signing, which the copier cannot do. | 0 | 0 | 1,186 | 2016-02-04T10:25:00.780 | infrastructure | serverfault.com | |
315,696 | Catch-22 Errors in Configure Replication Wizard on a Failover Cluster Named Instance | I'm attempting to setup replication on a new SQL 2019 install but I'm encountering a catch-22 in errors. I have two (2) named instances setup side by side, each setup as a cluster role. The cluster role names, we'll call them: [CODE] As installed, if I run on [CODE] and [CODE] , respectively: [CODE] ...they return: Ser... | It sounds like you installed your SQL Server as a named instance called [CODE] . Replication requires that you are connected directly to the named instance (instead of the default name) in order to be able to configure it for that server, else the first error you received " SQL Server is unable to connect to server 'to... | 0 | 1 | 137 | 2022-08-16T21:37:03.007 | database_errors | dba.stackexchange.com | |
538,384 | MTA handling of too large emails | If an MTA receives an email that exceeds the message size limit, which bevaviour is preferred? What is the default for common mail servers? Reject the email during the SMTP session. The delivering MTA must send a bounce message to the original sender. Accept the mail and send a bounce message to the original sender imm... | RFC 1860 Section 6.1(2) states that upon reciept of a mail message that is larger than the maximum size limit, the receiving server may respond to the sending server with an SMTP status of " [CODE] " The MTA isn't required to respond to the rejection with a 522, but that is the preferred method (and expected by most ot... | 3 | 4 | 1,170 | 2013-09-12T13:32:01.930 | infrastructure | serverfault.com | |
64,027 | VBA @ Access on replacing values on a huge list | I have a question (that's why I'm here actually :P ) about VBA @ MS Access. So, I have a huge database (well, for me it is huge, about 23K+ ID) on shoes. It has 5 columns: ID, Article number, size (mm),pairs (avaliable on stock) and EAC13 codes. It is updated daily. Everyday I get the update on it, on CSV (all those ID... | I think I can guess why your VBA is only changing around 150 records instead of all of them, but more importantly, you need to know that the specific method you're using--changing all the fields using VBA--can lead to incorrect data in your table. And, you can accomplish what you want much more easily with a SQL query ... | 1 | 1 | 2,098 | 2014-04-28T00:22:37.897 | warehouse_errors | dba.stackexchange.com | |
1,003,806 | XenServer bad network config during initial Pool Creation | I believe I made a terrible mistake. I had a XEN8.0 (Citrix Hypervisor) for tests running on a local machine here in the office. It has a local IP adress. Classic. Then I wanted to move my VM guests to a dedicated server in the cloud. XEN installed, configured, cool. Then, the transfer with in/export function in XenCen... | Checking further you are having issues with network connectivity since XEN_2 local is not having static IP address. You can have a VPN solution and add both Citrix Xen servers with private networks in order to migrate the VM from the same pool. | 0 | 0 | 684 | 2020-02-19T23:06:37.733 | database_errors | serverfault.com | |
52,981 | Insert into an empty table with or without clustered primary key? | I will need to insert some rows in an empty temp table. The table has PK of (month date, id char(10)). The source table is partitioned by [CODE] . Which of the following is faster? 1a) the target table has clustered PK pre-created. [CODE] 1b) Same as (1a). But the insert will try to sort the data first. [CODE] 2) Inser... | SQL Server under the covers always does row by row processing. That means if you insert a bunch of rows into a table with a clustered index, each row gets inserted at the (up to then) correct position. That algorithm is called insertion sort and has an average complexity of O(n^2). If you insert all rows into a heap an... | -1 | 2 | 1,957 | 2013-11-07T21:59:02.817 | warehouse_errors | dba.stackexchange.com | |
199,323 | Five tables or a single table with an identifier column? | Do I go with: Multiple Tables Method [CODE] Or Single Table Method [CODE] Knowing that I may have [CODE] values, which scheme, using 5 separate queries for multiple scheme: [CODE] Or one query defined by [CODE] column value for single scheme: [CODE] I will not call all tables all the time, only one per time as example ... | Tables with the same structure but different sets of rows are sometimes called orthogonal tables. I don't believe in universal truths in the database world (which means: your use case could have peculiarities that I am not considering), but in general I consider orthogonal tables a bad idea. From a theoretic perspectiv... | 0 | 3 | 68 | 2018-03-04T12:13:47.140 | warehouse_errors | dba.stackexchange.com | |
416,259 | centralized authenticaion with OpenLDAP for Red Hat Linux with slapd.conf configuration | I am currenty working on to setup a centralized authenticaion with OpenLDAP for Red Hat Linux . Objective - Setup a Centralized OpenLDAP authentication for Red Hat Linux Servers where client can connect with ssh , user administration can be done from one server. Please I am not looking for rpm or yum installation no cn... | You should configure [CODE] and [CODE] on the client, to allow the LDAP directory servers to be used as a primary source of name service information for users, hosts, groups, and other. Now all depends wich client you have, for fedora and rhel the " Deployment Guide " is a good resource. Anyway you can configure them w... | 1 | 2 | 1,428 | 2012-08-10T11:33:45.380 | api_errors | serverfault.com | |
565,680 | Cisco IOS, restrict IP addresses per ethernet port # | I am configuring a Cisco 881, and am interested in restricting individual ports on the LAN (FastEthernet 0-3). I would like to be able to limit the IP addresses that someone can use based on which port they are connected to. This way IP ACLs in another location can be used to determine whether the user was physically c... | If you create one VLAN per physical switch port (the 881 seems to support up to 8 VLANs), you can give each VLAN a separate ip subnet. For example: [CODE] i.e. if a connection is made from [CODE] you will know it connected through [CODE] and interface [CODE] . The syntax for assigning VLANs to interfaces is described h... | 1 | 1 | 1,352 | 2014-01-07T21:06:08.473 | infrastructure | serverfault.com | |
576,880 | LDAP Breaking when moving user | Since I've been working at this company we've had a very basic AD setup. Users go in the user CN and there is a few OUs for computers, like desktops and servers. Recently I've been planning a more comprehensive design to allow for custom department GP settings (specifically printers). I want to move users into OU's cre... | Sniff the LDAP traffic during an attempted authentication to see what it's actually doing. That's the best way to figure it out. I'll go out on a limb and speculate a bit. Since you talk about it "importing" users I wonder if it isn't maintaining some persistent record of the user's old DN and, when you move the user, ... | 2 | 5 | 833 | 2014-02-19T22:38:21.810 | infrastructure | serverfault.com | |
134,754 | Postfix unable to find local server | I'm working with postfix on fedora 9 and I'm attempting to make some changes to a system setup by my predecessor. Currently the postfix server on [mail.ourdomain.com] is setup to forward mail sent to two addresses to another server for processing. The other server [www01.ourdomain.com] receives the email and sends it t... | Found the answer if anyone is interested, here it is. Turns out the instructions I received from my predecessor were missing a key command which needs to be run after the transport file is updated. [CODE] Found thanks to this blog post http://www.nooblet.org/blog/2007/postfix-transport-maps-diverting-mail-traffic/ | 1 | 0 | 70 | 2010-04-22T05:17:00.500 | infrastructure | serverfault.com | |
361,974 | How should IEqualityComparer<T>.Equals and IEqualityComparer<T>.GetHashCode behave on invalid data? | In my application I have a service method which loads some data. The key identifying the data consists of a key type - which is defined as an enum - and some key values. [CODE] Which key values are necessary depends on the key type. For instance for key type [CODE] only [CODE] is needed while for key type [CODE] both [... | You can return [CODE] or [CODE] and be consistent with your [CODE] implementation. Note that you dereference [CODE] without checking it is null. A safer first check would be [CODE] | 0 | 5 | 1,003 | 2017-12-07T12:56:36.323 | api_errors | softwareengineering.stackexchange.com | |
673,478 | Blocking SSH Brute force from a HAProxy LB | We're trying to grant access to an internal SSH server using a HAProxy setup on a public DMZ. This works as expected however connections into the server are originated from the HAProxy (tproxy won't work as the HAProxy is not the default route for the server which is buried in a different subnet). We wish to block brut... | The way I do this is to use policy based routing with a normal NAT setup on both firewalls. You have two firewalls: [CODE] is your normal default route firewall, [CODE] is your ssh inbound firewall. The server has two IP addresses assigned to it (on eth0 and eth0:1) the server's default route points at eth0 and goes ou... | 1 | 0 | 1,349 | 2015-03-06T12:14:29.480 | api_errors | serverfault.com | |
692,270 | Install RSAT-Hyper-V-tools fails on Windows Server 2012 R2 Server Core | When I try to install Rsat-Hyper-v-tools with powershell command: add-windowsfeature rsat-hyper-v-tools -includeAllSubFeature It fails with error saying that: [CODE] Also : [CODE] I have tried googling issue without success. Might be something to do with Windows updates or not. Im running hyper-v on this PC and cannot ... | Okey went to look in to one russian forum(i think) and there was english command: Add-windowsfeature hyper-v-powershell Which successfully installed powershell cmdlets (phew). | 2 | 3 | 1,538 | 2015-05-15T10:43:11.830 | infrastructure | serverfault.com | |
148,288 | Non-Blocking MySQL Backup | I'm running a MySQL server with a couple of customer databases, some of which are quite large. We are doing a complete mysql dump once a day . It takes about half an hour to complete. During this time, every request to the MySQL server gets a ridiculously slow response (sometimes around 1 s instead of something like 10... | Indeed the bottleneck was IO . Since I was using [CODE] to compress the files and the CPU was so performant, the drive simply couldn't handle all the data coming so fast (although we use mirrored RAID volumes). The [CODE] itself is no problem at all, but [CODE] was slowing down the whole system massively . I'm now usin... | 5 | 7 | 4,384 | 2016-08-30T07:53:48.990 | database_errors | dba.stackexchange.com | |
211,167 | Find locations in table that are within a certain radius distance of a given latitude/longitude | We have a table named areas with column - id, name, lattitude, longitude and position. The position column is of POINT type in MySQL and has latitude, longitude value. To get areas within 25 kilometers of given latitude, longitude i.e. (28.638753, 77.073803) and order them based on proximity to this point, we are using... | There are lots of Q&A here . As a first cut, use a "bounding box". [CODE] and [CODE] are irrelevant. You mention [CODE] , but you don't have such a column. Either go with [CODE] and [CODE] , or go with [CODE] and [CODE] ; it is probably folly to mix them. | 2 | 2 | 3,428 | 2018-07-02T16:45:47.333 | database_errors | dba.stackexchange.com | |
1,102,337 | Only the PC that is plugged into the same switch as the printer can ping the printer, but other devices can ping the PC on the same switch. Why? | In my store I have sever POS computers running Windows 10 and a Brother network laser printer. Suddenly none of the POS systems can reach the printer. When I installed the printer in the showroom I added a Netgear switch so that I could plug both devices into the network. It was working fine until about a week ago. The... | I have had this happen to me and the problem was the switch. Try power-cycling the switch and see if the problem resolves. If it does, try replacing the switch. | 0 | 1 | 93 | 2022-06-02T15:53:56.860 | infrastructure | serverfault.com | |
1,008,523 | ubuntu 18.04: clamav running, tomcat dying | Ubuntu 18.04. 2Gb RAM + 512mb swap. When running clamav, it consumes 800+mb of memory because it loads all the signatures into the memory. Because of that, I set it to run every day at 3am instead of ongoing. So far, tomcat and clamav got along very well. Last night, at 3am, tomcat service was shut down when clamav sta... | Java did not use 4.5 GiB of physical memory, that figure refers to virtual memory. You have about 128 TiB of virtual memory address space (cf. this answer ) and it is used to access physical memory, but also files as if they were in memory. Most of the allocated virtual space does not use any physical memory and contai... | 0 | 1 | 543 | 2020-03-26T14:02:16.403 | infrastructure | serverfault.com | |
65,667 | Using EXECUTE IMMEDIATE inside PL\SQL Block | Using EXECUTE IMMEDIATE inside PL\SQL block makes the whole block commit immediately. [CODE] As you realized I do not even use COMMIT. About above code, "Insert into" statement works, but "create table" statement throws exception because there is already a table with the same name in the database. Both I did not have a... | In Oracle when you create a table or execute an alter statement there is an implied commit. You may want to create the table in a separate function returning a boolean value with "PRAGMA AUTONOMOUS_TRANSACTION" then the calling procedure would get a true/false response as to whether or not the table was created. you wi... | 2 | 3 | 10,677 | 2014-05-22T10:03:12.160 | warehouse_errors | dba.stackexchange.com | |
713,028 | MySQL Ram Usage & Improve it with mysqltuner | how can i improve my server ram usage: Server Ram = 1GB after install the mysqltuner , I have this result : [CODE] and my.cnf file have this content : [CODE] How Can I change my.cnf ? Thanks | You can see your main problem here: [CODE] As per your configuration, every thread can take up to 4.5 MB RAM and there's a maximum of 400 threads: [CODE] Put your [CODE] down to 100 or below to lower your maximum memory usage. | 0 | 1 | 4,231 | 2015-08-10T08:39:33.603 | database_errors | serverfault.com | |
14,492 | How to gain understanding of large systems? | Possible Duplicate: How do you dive into large code bases? I have worked as a developer developing C/C++ applications for mobile platforms (Windows Mobile and Symbian) for about six years. About a year ago, however, I changed job and currently work with large(!) enterprise systems with high security and availability re... | Personally I don't think anything beats just slogging through the code and learning it. There is not quick way to understand. When I go to a new job, I spend a week, doing almost nothing but understanding the design of the database (I'm a database specialist). If diagrams don't exist, I make them. I track things throug... | 6 | 7 | 693 | 2010-10-25T14:37:52.063 | data_quality | softwareengineering.stackexchange.com | |
854,043 | I can't connect to my L2TP server from Windows and Android clients | On my Ubuntu 16.04 server [CODE] service running successful. My [CODE] : [CODE] My [CODE] : [CODE] My [CODE] : [CODE] My [CODE] : [CODE] My [CODE] : [CODE] My [CODE] : [CODE] [CODE] output: [CODE] | In your log I cannot see evidence of xl2tp running, maybe service is not started or active (configuration errors?). Try this setup, it helped me a lot: ( source: strongSwan + xl2tpd VPN server: how to configure several config files? ) Don't use the aggressive mode, the connection will be less secure. Anyway try with th... | 0 | 0 | 2,575 | 2017-06-05T14:47:23.457 | infrastructure | serverfault.com | |
51,775 | SQL Server 2012 SQL Agent Job with PowerShell step fails on Out-File cmdlet with "ReportWrongProviderType" error | We've recently upgraded to SQL Server 2012 (from SQL Server 2008 R2) on Windows Server 2012 (from Windows Server 2008 R2), and a SQL Server Job Agent job that was previously running without error is now failing. The job has a Powershell job step: [CODE] When the job is run, it fails with this error message: A job step ... | The problem is that the PowerShell session is using the SqlServer provider by default. I added this statement into the script before the Out-File cmdlet: [CODE] This changed the provider to the FileSystem provider, and allowed the Out-File cmdlet to correctly find the file share and create the file. This article contra... | 6 | 21 | 12,282 | 2013-10-18T18:30:28.550 | database_errors | dba.stackexchange.com | |
104,550 | TSQL insert table using view -- performance issue | I have a big view joining multiple tables that in a regular basis materialists itself into a table (this step occurs for viz's tool read a table instead of a view during data source refresh): [CODE] This process takes around 5 hrs to complete. Any Ideas how to approach to this insert statement to get better performance... | The first thing I would check is the fnGetUSD -function. It looks like currency conversion, and you're now calling the function 5 times for every single row. That can be a huge performance issue. At least look into changing it to a inline table valued function (the multi-statement function will not help) or adding the ... | 1 | 3 | 183 | 2015-06-19T04:04:33.573 | warehouse_errors | dba.stackexchange.com | |
45,470 | Get the Time of Last update of a column | This command gives the date of the last update for a table [CODE] But I want to find the time of last update of a particular column of a table. I can't use triggers because I want to know the time of last update of a specific column from a system table. I hope I explained well my problem. | None of the system tables (that is, nothing in the INFORMATION_SCHEMA database ) exist that has that kind of information recorded anywhere. In other words, there is no native mechanism to put any timestamps on column changes. Any time that one or more columns change in any row a new row is added an old is deleted an AL... | 10 | 6 | 47,461 | 2013-06-29T22:41:18.747 | warehouse_errors | dba.stackexchange.com | |
215,663 | Fedora14 serial console how-to needed | Has anyone ever got a serial console working in fedora 14 ? Is it as simple as adding to grub: [CODE] and add to the kernel lines: [CODE] If so, this isn't working for me. I have agetty installed, and I'm using minicom. The [CODE] file suggests it should pick up the kernel lines and begin working, but i get just nothin... | Im not sure about the grub load and serial but i managed to get the getty or the login part working through serial on fedora 13 Create a file in [CODE] called [CODE] Where [CODE] is the serial port Number and in this file add this [CODE] | 3 | 1 | 2,375 | 2010-12-23T13:16:51.953 | infrastructure | serverfault.com | |
883,980 | macOS will not print to an LPR printer on different subnet | We have a fairly extensive campus network consisting of multiple subnets connected by a core router. Everything has been working fine for years, but recently I have a number of macosx clients that refuse to print to a network printer (LPR) on a different subnet than the client machine. This is causing some consternatio... | We never did isolate the change that gave rise to this problem, but it persists to this day. I haven’t had the time to debug it with wireshark. My best guess as to the cause is some change to macOS stemming from an OS update. I don’t think it’s related to changing our core router, as Windows workstations using LPR stil... | 1 | 1 | 2,160 | 2017-11-17T18:07:34.710 | infrastructure | serverfault.com | |
676,025 | puppet Could not find dependency | I have inherited a puppet server. It has a couple of dozen hosts under management and it is mostly working fine. When I say mostly there are a few hosts that fail when checking in: [CODE] I have poked around and have determined that the class definition in question is in the file "default.pp" [CODE] Now, it is my (poss... | It is definitely a problem with the manifests on the puppetmaster, but it is presumably triggered by some variation on the clients causing a different bit of the puppet manifests to be evaluated, somewhere in the postfix module. Somewhere in the postfix module will be an augeas resource with a dependency on File['/etc/... | 3 | 0 | 4,557 | 2015-03-17T05:27:48.420 | pipeline_ops | serverfault.com | |
1,059,557 | Multiple forwardfor commands in HAProxy config | In HAProxy, I would like to [CODE] everything except a few networks like below (multiple networks) [CODE] This doesn't work, instead of not forwarding ALL of the specified networks it only works on the last one (the 4th network). Each [CODE] command overwrites the previous one instead of appending them. How can I achie... | I ended up using a somewhat hacky solution, it was not my first choice but it works for my needs. In the haproxy config I am using an acl whitelist that contains all the ips that I do not wish to forwardfor. If the request comes from an ip that exists in the whitelist, haproxy will use a second backend that is identica... | 3 | 2 | 1,074 | 2021-04-06T20:09:30.483 | infrastructure | serverfault.com | |
50,248 | What permission is needed for my SQL Server 2005 DB for a WebUser? | I have a connection string in my asp.net code that looks at a SQL Server 2005 database. I created a UserName called WebUser and granted him db_datawriter and db_datareader in SQL Server 2005. Both under Login and under the database the user must be able to read and be able to make updates? Is this all I need or the cor... | It you want to risk your database being downloaded or deleted by a hacker than yes that's all you need to do. If you'd like your database to be secure from all sorts of attacks, then you'll want to create stored procedures to handle all the inserting, updating and deleting of data in the database, then call those store... | 4 | 1 | 313 | 2009-08-05T09:50:25.963 | database_errors | serverfault.com | |
835,561 | CentOS 7.3 stuck when reboot after disabling SELinux and editing the fstab | I disabled SELinux and edited the [CODE] to mount an LVM partition. After that I restart the machine but stuck in this process The operating system is CentOS 7.3. Does anyone have same issue and have the solution? | SELinux defines the access and transition rights of every user, application, process, and file on the system. fstab is the place from where system mount the filesystem. So login in the maintenance mode and chek your fstab information, there is a problem. | -2 | 0 | 2,207 | 2017-03-01T07:25:58.473 | infrastructure | serverfault.com | |
835,191 | Does a Wi-Fi repeater handle any networking on behalf of the router? | I have an unbranded Wi-Fi repeater from China. I was reading over the setup instructions and pretty much every sentence had a spelling mistake which has made me worry. The quality isn't so much a concern, but I'm wondering now is it possible for them to have installed some software that will act as a spy on the network... | Does a wifi repeater have the ability to sniff the network data that it is boosting or is it nothing more than a signal booster? Well, all of the traffic is passing through it, so the answer is: yes . If you find yourself having to ask this question at all, don't even consider using the equipment. If at all possible, s... | 1 | 16 | 3,822 | 2017-02-27T16:00:03.370 | infrastructure | serverfault.com | |
57,771 | LinkSys RV042 Dual WAN Router: Utilize backup link in Smartlink mode | I have a LinkSys RV042 Dual Wan Router in my office. I am using it in smartlink mode, so that when primary fails, the backup link takes over. The problem is that backup link is highly under-utilized. I have a dev machine that periodically replicates data from a production server. I would like to route all of this dev's... | If you put the RV042 in Load Balancing mode, you can set it to send traffic from an IP address or service over a specific WAN interface. You can find more details in this Cisco support doc (you might need to register before you can view it) | 1 | 2 | 1,427 | 2009-08-24T04:22:53.243 | database_errors | serverfault.com | |
683,519 | How to get the DHCP-controlled DNS domain name for my Ubuntu machines in a Windows network? | I've been going in circles for a while trying to figure this out. I have a number of Ubuntu machines (some virtual) on a Windows network. From a Windows machine, I can [CODE] or [CODE] the Ubuntu machines, but not the reverse unless the Ubuntu machines specify fully qualified DNS names. But I can't seem to get the qual... | You need to configure your DHCP server so it set on the DHCP client the domain-search http://linux.die.net/man/5/dhcp-options option domain-search domain-list; The domain-search option specifies a 'search list' of Domain Names to be used by the client to locate not-fully-qualified domain names. The difference between t... | 3 | 1 | 10,398 | 2015-04-17T12:55:23.723 | infrastructure | serverfault.com | |
372,665 | Need to move a debian server from i686 to x86_64 architecture | I have a [CODE] server that I need to move from one hosting provider to another. I don't really know how the old server was setup, all I know is that it's running a [CODE] application with a lot of custom libraries installed and that I should prepare myself for a painful migration. Old server: -os: [CODE] -used disk sp... | There is a step-by-step guide in the Debian Wiki to upgrade from 32 to 64 bit. http://wiki.debian.org/Migrate32To64Bit This is really ugly plus you have the problem with your Ruby installation. Are you sure your Ruby libs are running with 64 bit? I would do definitley do a full backup/image/whatever of the machine, so ... | 3 | 5 | 529 | 2012-03-23T07:58:53.140 | infrastructure | serverfault.com | |
1,005,946 | Does the destination computer of a Remote Desktop Connection count as a Remote Desktop Session Host? (in terms of GPO configuration) | For example - If you open a Remote Desktop Connection to Dets-PC likes this: "Normal" Remote Desktop Connection Note: Dest-PC is just a normal Out-of-the-box Windows Server with no additional Windows-Features installed Is the Remote Desktop Connection to Dets-PC effected by Group Policies set in: Computer Configuration... | Yes, some of the settings do, such as the setting in your example. Other settings may not. RD Connection Broker and Licensing would not apply to workstations. | 0 | 0 | 165 | 2020-03-06T23:57:52.403 | api_errors | serverfault.com | |
849,649 | nginx - cURL retrieves PHP files but accessing via web browser gives source code | I'm having some trouble with nginx. I setup nginx on a Raspberry Pi B+ (Raspbian Jessie) and PHP with FastCGI. When I try using cURL to retrieve pages, it returns the PHP-generated HTML. nginx server block that serves fastcgi requests [CODE] PHP FILE [CODE] Browser Response: Either downloads it (chrome) or displays it ... | I think I know why this is so. My second server block which is resolving all names with the RegEx [CODE] is set to listen on port 80 which is IPv4, and it has no CGI handler. However, the default server block is set to listen on port 80 for IPv6. Since nginx fallbacks to the default server only after testing the other ... | 0 | 0 | 2,505 | 2017-05-12T04:23:39.867 | infrastructure | serverfault.com | |
261,931 | IIS Request Filtering blocks Application Request Routing | Using one box, I have an IIS server and a tracd server running. Via ARR, any request on the IIS server matching */trac/** is proxied through to the tracd server. Everything is working fine, except when a user requests something like /trac/Test/browser/trunk/Test.cs . Because requests for .cs file extensions are blocked... | Got it. I added the following to my [CODE] . [CODE] | 0 | 0 | 867 | 2011-04-20T20:59:09.077 | infrastructure | serverfault.com | |
276,043 | How to compare the data type of a query value in Postgresql | How to compare the data type of a query result value? For example, to check if something is an 'interval' [CODE] gives the error [CODE] | You need to convert the string [CODE] to a type OID: [CODE] | 2 | 2 | 879 | 2020-09-24T19:06:49.607 | database_errors | dba.stackexchange.com | |
299,104 | How to stress test web server? | Is there a tool (preferably a web service) that can stress test our site? We're having problems with our site going down once we have about 100 concurrent users. Forums seem to suggest I need to tweak my [CODE] . I plan to try to tweak httpd.conf, but need to know if the tweaks actually did anything. So stress testing ... | If you're using Apache you can use a utility called [CODE] (Apache Bench). From the fine manual: SUMMARY [CODE] is a tool for benchmarking your Apache Hypertext Transfer Protocol (HTTP) server. It is designed to give you an impression of how your current Apache installation performs. This especially shows you how many ... | 4 | 7 | 13,737 | 2011-08-09T04:57:02.783 | infrastructure | serverfault.com | |
420,937 | How to add APM/observability/tracing in a monolithic architecture? | I keep reading articles analyzing Monitoring and Observability , or having lots and lots of text regarding how the latter is the extension of the first, or how they are complementary, or how tracing is the next step in APM (Application Performance Monitoring/Management), or any other random opinion on the subject. I ho... | Tracing is usually more than just adding labels. Tracing is a feature of an APM solution that lets you follow a request from its entry point into the system through the entire system. With the APM solutions that I've used, this often involved instrumenting the runtime environment to understand down to individual method... | 0 | 1 | 575 | 2021-01-11T23:40:22.053 | bi_errors | softwareengineering.stackexchange.com | |
8,389 | How do I keep a Juniper ScreenOS interface IP up when no one is plugged into it? | I have a VPN connection to a remote site and whenever nothing is plugged into the remote sites LAN bgroup the interface IP isn't managable or pingable. Anyone know what command I skipped on CLI for setting this up? Or if there is a checkbox on the web interface I should go hit? | The correct answer is to create a loopback interface. When nothing is plugged into the LAN bgroup, the interface goes "down", and all routes associated with it are removed from the routing table. That's a behavior you want, actually, as it helps when using route-based redundant VPNs - it's the only way for a device to ... | 2 | 3 | 7,809 | 2009-05-14T21:45:29.633 | infrastructure | serverfault.com | |
325,259 | MariaDB: Large INSERT SELECT query failed without generating an error | I have a large complicated neuroscience dataset that I am attempting to organize in a database for concurrent and consistent access with my lab. This is my first foray beyond much smaller experiments with SQLite, and I have bitten off more than I can chew. The primary table that contains the neural recordings has ~10 b... | Why might this query have failed? (The error log files were silent during the relevant time window.) It's possible that you might've hit the statement level timeout that's controlled by [CODE] . The fact that the [CODE] output shows the status as [CODE] could point to this as being the reason. It might also be a timeou... | 1 | 2 | 252 | 2023-03-27T15:40:56.280 | pipeline_ops | dba.stackexchange.com | |
304,162 | nginx rewrite rule to replace .php endings with / | Basically, I want the ".php" to be replaced with a "/". I tried to just put my rule in the same location where the fastcgi is located. [CODE] However, when I restart nginx with these settings, it gives me an 500 Internal Server Error and I can't even get the server to show me anything. Is this because of fast cgi? How ... | Essentially, your general plan has a lot of problems with it. First, since you are removing the .php, the rewrite has to be outside of [CODE] since the URL won't end in .php until after it is rewritten. Second, your [CODE] is backwards. You want the URL [CODE] to run [CODE] , so the rewrite would need to be [CODE] But ... | 1 | 3 | 1,741 | 2011-08-23T15:03:53.597 | api_errors | serverfault.com | |
751,383 | MySQL Error Code: 1017 permission denied | I have downloaded the German version of the Northwind sample database. I moved the folder to [CODE] and set the rights to [CODE] . Here is an output of [CODE] [CODE] However I am able to use the DB but as soon as I try to access to any table I get the following error: For example: [CODE] Here is an output from /var/lib... | You have SELinux enabled, and you moved the files instead of copying them. Therefore they have their original context (probably [CODE] or something similar) rather than the necessary context for MySQL to use them. To solve the problem, put the files in the correct place in the directory structure (probably [CODE] and r... | 1 | 1 | 884 | 2016-01-24T16:26:37.163 | database_errors | serverfault.com | |
938,833 | Failed to create directory or subvolume "/var/run/celery": Permission denied | I'm trying to create folders in [CODE] for pids for celery processes. I've created (as root) a [CODE] file at [CODE] containing only the following line: [CODE] However, when I run [CODE] I get: [CODE] What am I doing wrong? | Figured this out while writing the question: [CODE] needs to be run as root. | 0 | 0 | 782 | 2018-11-06T13:57:40.550 | infrastructure | serverfault.com | |
392,040 | Tracking 5.1.1 User Unknown in Exchange | We recently discovered that one of our mailboxes was missing an important email alias, because the person that did our marketing forgot to ask for it to be created. Is there any way in Exchange that we can track any emails that may have been sent to an un-known alias? They all received a [CODE] NDR. I don't expect to k... | Probably the best method for tracking that down would be the transport/message tracking logs on the hub servers. But, they automatically rotate (I believe the default is 30 days) - do yours go back far enough to cover the timeframe that you're interested in? | 2 | 2 | 466 | 2012-05-23T22:05:37.443 | infrastructure | serverfault.com | |
1,000,156 | Setting IgnoredUID for AWS for AppMesh Envoy Sidecar in ECS | I'm configuring an ECS Task Definition to use AWS AppMesh for virtual networking. I'm using Envoy, which AWS recommends running as a sidecar; they have native support for it using the [CODE] block in the ECS [CODE] configuration. One of the properties available for configuration in the proxy is [CODE] . This purportedl... | The UID that a docker process runs as can be fairly arbitrary. By default, all docker processes run with UID 0 (root). There are a few ways in which this changed: By baking a different default user into the image via the USER command in your Dockerfile Specifying a user in docker's cli using [CODE] Setting [CODE] or [C... | 0 | 1 | 373 | 2020-01-23T19:53:57.850 | infrastructure | serverfault.com | |
567,119 | Virtual network interfaces starting on boot even though they are set to onboot=no , what could be the reason? | I've re-installed my main database server with CentOS 6.5 . I've configured the relevant NIC's including 3 virtual interfaces, called em2:0, em2:1 and em4:0. For some unknown reason the NetworkManager daemon was not installed by the default installation (I chose "SQL Server"). Here are the configuration files for the v... | It is expected behavior. You can see from "sysconfig.txt" [CODE] Now, why to use ONPARENT, because of this stanza down the same file: [CODE] So even if you have "ONBOOT=no" "ONPARENT=yes" will prevail and activate your virtual interfaces. | 2 | 4 | 4,783 | 2014-01-14T11:51:29.670 | database_errors | serverfault.com | |
303,812 | Quick and Easy Backup of Remote Server? | I'm switching from a slower remote server to a faster one. (In a nutshell.) Everything seems to have been migrated properly, but just incase some things didn't get transferred properly, I'd like to make a complete filesystem backup of the older server just incase. (Something I can navigate easily, like a .tar.gz. I'm e... | So you get the best backup, first stop any service or process that is writing files. Ideally you would stop everything except your SSH connection. If you have SSH access you could do the whole operation in a single command [CODE] This will create the archive on the remote system, and save the backup onto your local sys... | 1 | 1 | 1,122 | 2011-08-22T16:11:17.977 | database_errors | serverfault.com | |
170,057 | MS licensing of multiple RDP sessions for non-MS products in Windows XP Pro | Question 1) and 2) were moved into separate thread Which Windows remote connections bypass LSA? What is the definition of a login vs. logon session? 3) Do I understand correctly that multiple remote RDP sessions are supported by Windows XP but require additional (or modified) licensing? Which one? Or it is always illeg... | I share the annoyance that a lot of Server Fault members share for these "dickering" questions about software license agreements. Arguing about technicalities is futile because, frankly, the legal venue you'd be placed into to defend your infringing use of software isn't going to be welcoming to such arugments. The End... | 0 | 6 | 982 | 2010-08-13T04:54:42.533 | infrastructure | serverfault.com | |
939,681 | TASK ERROR: command 'systemctl start pve-container@102' failed: exit code 1 | I executed this command [CODE] . After that, all container start except the ftp container. Launch this error: [CODE] . When I execute the command [CODE] this is what showed: And the command [CODE] showed: How can I fix it? | Line 6 in your second debug-window says [CODE] Something is wrong with the EXT4 file-system in your container. Try to fsck it! Note1: Make sure the container image is not mounted before running fsck. Note2: In case the fs contain important data, backup the image file before you proceed. Try to fix the journal: [CODE] .... | 3 | 1 | 8,215 | 2018-11-12T16:34:00.420 | pipeline_ops | serverfault.com | |
366,863 | Open source desktop application and security | I'm currently working on a desktop application in Java (using JavaFX). This application stores some user information, parts of which are sensitive. For example, if the user configures a proxy, it will store it into a file with encryption. Moreover, my application is calling a web API to execute auto-updates (with a bas... | The only way to ensure that the credentials used by a particular installation of your program cannot be abused is: A) Use a private key that only you know to generate a password hash and not an actual password. B) Add a random component in generated password hash such that each installation will have its own password h... | 0 | 3 | 945 | 2018-03-02T08:26:31.593 | api_errors | softwareengineering.stackexchange.com | |
162,438 | Help debugging Sendmail/Mailman configuration issue | I'm trying to configure a server with Sendmail and Mailman. I've been getting "Broken pipe" errors for a while, and have slowly been debugging. I fixed some permission issues, and changed the user that Mailman expects to be called from, among other things. Finally, I'd gone through everything I could think of, so I add... | I think the issue is sendmail restricted shell, smrsh which only allows sendmail to execute programs that are in the /etc/smrsh directory | 0 | 0 | 1,111 | 2010-07-20T23:16:04.767 | infrastructure | serverfault.com | |
275,509 | How is the value of row column is estimated in EXPLAIN statement in mysql? | I have the following setup: [CODE] And I'm running this query: [CODE] In v8.0.12 I'm getting 6 in the Rows column. Is it a bug? Since there are only 5 rows. In v8.0.21 I'm getting 5. | That actually depends on which version of mysql you use https://www.db-fiddle.com/f/4yPorU6k3SjQ5nmhgi1wGo/23 [CODE] The definition of rows is Estimate of rows to be examined see https://dev.mysql.com/doc/refman/8.0/en/explain-output.html#explain-output-columns This means: That it only gives the estimated number of row... | -1 | 1 | 46 | 2020-09-14T17:17:09.033 | database_errors | dba.stackexchange.com | |
61,754 | Steps after restoring to a different server | We have a 30 GB Database on SQL Server 2008 R2 Standard Edition. Yesterday we backed up the database and restored it to a different Virtual Machine which has exactly the same specs as the previous machine - The only exception being the new VM has a lot more RAM. However we found that the performance of the older VM was... | Should we re-create / refresh all the indexes in the Database after such a restore ? If so then is there a good way to refresh all indexes with ease (as opposed to one index at a time). Its always a good idea to do a reorg/rebuild and update stats after a database refresh to a different server. This is one of the post ... | 5 | 3 | 9,175 | 2014-03-25T23:51:42.000 | database_errors | dba.stackexchange.com | |
801,763 | Monit: ping a website url then restart application server | I am using this configuration for monitoring apache2 (ubuntu): /etc/monit/conf.d/apache2 : [CODE] Accessing 'request /' results in the ubuntu-apache default page: if you can reach it, then Apache is working. And that's ok. Now I need to monitor my application server, too. So I have a second configuration file: [CODE] I... | Based on sample [CODE] try to put instead [CODE] | 0 | 1 | 2,770 | 2016-09-08T07:31:21.820 | pipeline_ops | serverfault.com | |
475,701 | iptables allow only certain ip's from a certain port | I always get nervous when editing iptables as I know how simple it can be to end up blocking all traffic to the server, a rather large issue when your server is sitting on the cloud. Would these be the correct series of commands? [CODE] | This doesn't answer your question - others are doing a nice job of that - but it does address your other concern: locking yourself out of your remote server. Whenever I'm doing a big [CODE] change on a system, I always check that [CODE] is running, then put an [CODE] job for about 10 minutes in the future to take the f... | 1 | 5 | 1,797 | 2013-02-05T17:05:40.133 | infrastructure | serverfault.com | |
554,072 | Linux PC is not reachable through hostname when static ip is configured | I'm using Ubuntu 12.04 on PC. when the PC is configured to use [CODE] , the pc is accessable through it's [CODE] . but when I set [CODE] , I can't reach the PC through the hostname. What is the problem, and how can it be fixed ? | It seems that DHCP server is also the DNS server (your router probably). When it gives a DHCP ip-address to the PC it will also register the name/ip-address combination in its own DNS system. That DNS is what helps the other computers in your LAN to find the machine by name. When you give it a static address it will NO... | -2 | 2 | 3,451 | 2013-11-11T07:30:38.373 | infrastructure | serverfault.com | |
533,950 | Why are my Macs failing to authenticate to my SAMBA file sharing server? | I have recently set up a SAMBA file share. After going through a series of steps, I have finally been able to have most of my computers see this server. The primary requirements were: 1) it had to be password protected, 2) have multiple users, 3) each user can own a file, but all users can write to each others' files. ... | It seems as though no one can answer this question. After some thorough reading, it appears as though the issue most likely has to do with how OS X authenticates passwords with SAMBA (LM, NTLM, NTLMV2). As some Macs were able to connect and others not, I decided to simply install Netatalk and use the AFP protocol for a... | 1 | 0 | 5,311 | 2013-08-26T19:40:11.207 | infrastructure | serverfault.com | |
267,330 | Query to insert records from one table into another table based on the column of the first table | I have a table with the structure below : [CODE] and some example data for this table is : [CODE] and the final result I want in the output is : [CODE] is there a better solution rather than using continuous [CODE] queries? Cause with this query I will have many nulls in my final table!And I also won't have the result ... | You're looking for the PIVOT clause. You can see a working example in this db<>fiddle . The query is: [CODE] | 0 | 1 | 200 | 2020-05-17T14:06:54.087 | warehouse_errors | dba.stackexchange.com | |
120,286 | Slow MySQL searching from millions record | My table looks like this. [CODE] I've an index on hash which is in binary mode. I have about 3 million rows right now. But if I query with the following query, it takes about 4 seconds. [CODE] What should I do to make it faster? EDIT: The result from using EXPLAIN [CODE] EDIT 2: I've mysql version 5.6.26. [CODE] | [CODE] is unique? If so, change it from [CODE] to [CODE] . That will save some space, but not change the performance much. It sounds like your [CODE] is small. It should be set to about 70% of available RAM. Let's analyze what is happening. You have about 100 hashes and a [CODE] (of any type) on [CODE] . It will reach ... | 1 | 1 | 116 | 2015-11-06T08:41:45.020 | database_errors | dba.stackexchange.com | |
356,479 | Duplicate Entry in outlook room list | I have created a room list in exchange 2010 and every seems to working fine, except for one small problem. When I drop down the room finder menu, I get the list twice. I have ensured that the list only has one existence in AD, and I have also rebuilt the address book but it still seems to be showing the list twice. | Ok i have just figured this out, it was something to do with the registry. Go into the registry, click start, type regedit and hit enter. I then went into HKEY_CURRENT_USER/Software/Microsoft/Office/14.0/Outlook/preferences within here their was a string called RoomFinderRecentRoomList I deleted this entry (i backed up... | 4 | 4 | 6,589 | 2012-02-03T09:48:55.873 | data_quality | serverfault.com | |
1,103,446 | oom_reaper: MongoDb out of memory | We run a small mongodb replica set on three bare metal servers (no virtualization, no docker/kubernetes) with Debian 11 and mongodb 5.0.6: machineA: 128GB RAM, 1TB disk, PRIMARY machineB: 128GB RAM, 1TB disk, SECONDARY machineC: 8GB RAM, 20GB disk, ARBITER All of a sudden we experience outages with error in our applica... | We found out that one of our app services was running wild in certain circumstances and it was a bit hard to see for us. When constantly hammering against MongoDb it seems that the memory usage is getting higher and higher, instead of more CPU resources being used as I would expect it. At a certain point the mongod pro... | 2 | 0 | 433 | 2022-06-16T13:48:56.373 | pipeline_ops | serverfault.com | |
216,414 | What blocks a query in Postgres | I have a query running in Postgres 9.3 for more than 24h now (namely an [CODE] , linked to another question ). I check the "Server status" in pgAdmin which shows the query "Active". I ran some standard lock detection but it didn't return anything. I'm not sure why it's taking so long: is it waiting for a lock that it c... | That your query on the lock table didn't return anything provided the answer to your question--it was not waiting on a lock. (Assuming you did it correctly). It is still kind of annoying and error-prone to have to open a new session and run the query and interpret the results, so I wrote a patch to send NOTICE when you... | 0 | 2 | 797 | 2018-08-31T13:01:51.277 | database_errors | dba.stackexchange.com | |
546,315 | vmware iscsi adapter not seeing LUNS | Have three virtually identical boxes. However one box after enabling the storage adapter and adding dynamic targets (where it actually sees the targets) after a rescan I still don't see the available LUNS. Any ideas ? Edit Update: I dumped the logs, there are some errors about an authentication error to the iscsi targe... | Have you tried rebooting the ESXi server? In my experience the iSCSI software stack sometimes locks up connections (a little like zombie processes) if your connection has suffered from some of these highlights: Cable disconnect while LUN was mounted iSCSI target temporary disconnected / taken inactive for NAS reboots /... | 1 | 0 | 9,845 | 2013-10-16T03:44:26.677 | api_errors | serverfault.com | |
671,908 | modem rejects logon credentials If I try to connect through http://modem/. works fine if I connect with http://<ipaddr>/ | This is a real bugger:) My modem is a ZTE ZXHN H108L, connected to a linux firewall/router/gateway. The gateway is a Slackware 14.0 system on which DNS, DHCP, VPN and transparent PROXY run. The gateway has 2 hardware NICs. [CODE] is connected to the modem (192.168.231.117), and [CODE] is connected to the intranet (192.... | The modem's web server isn't designed to handle something other than its IP in the [CODE] HTTP header, thus you obtain undefined behavior and in this case it means the authentication fails when you send something other than its IP in that [CODE] header. Normally unless you're using virtual hosts (which allows hosting m... | 0 | 1 | 100 | 2015-02-27T15:15:33.483 | api_errors | serverfault.com | |
14,418 | SQL Server 2005 uses 1GB of RAM | Is this normal? To be exact it uses 1,068,000 KB. It occasionally shoots up to 1,400,000 if query takes too long. My total system memory is 3GB and I am running WinXP. Is there a specific amount of RAM recommended for SQL Servers? The reason I am asking this question, could our database have problem, if it uses this mu... | SQL Server 2005 Express Edition is limited to 1GB of RAM for the buffer pool. Non-express editions, by default, will not be limited unless configured to set a max. In either case, the usage will typically not decrease unless memory pressure forces it, or the service is restarted. Multiple instances will definitely impa... | 6 | 8 | 972 | 2012-03-05T19:56:11.353 | database_errors | dba.stackexchange.com | |
134,564 | Should I add MSDN notes or Stack Overflow links to source code? | Possible Duplicate: Is it OK to put a link to Q&A sites in a program's comments? I'm creating a powershell / C# host and want to add the following comment [CODE] Is this an appropriate comment? What would you improve about it? | An external link is fine, perhaps with a brief synopsis on why said link is interesting. If at all possible, keep the whole comment on a single line. If you are concerned that the link will be invalid in the future then make a local copy of the web page (Internet Explorer allows saving a whole webpage including images ... | 7 | 12 | 658 | 2012-02-11T15:33:47.800 | data_quality | softwareengineering.stackexchange.com | |
4,293 | How not to break Jenkins Pipeline when adding new parameters (declarative pipeline) | An Issue I have been struggling with is whenever I add a new parameter to a Jenkins Pipeline, the next job will not correctly get this parameter. This is especially an issue if those parameters are required for certain pipeline procedures like determining agent. This issue is further frustrating because on a job that a... | Here is a solution which seems almost like a workaround that I have found which works for declarative pipelines. First, we need to add some code at the start of our file before we enter into the [CODE] section. The code we add will run before the pipeline section, and will check if the env/param exists, and if it does ... | 8 | 7 | 15,899 | 2018-06-13T11:41:27.753 | pipeline_ops | devops.stackexchange.com | |
328,309 | How to detect real time change in API response | I have an API endpoint written for version and health of tomcat applications. It returns a json response with details. I wanted to know, how can i monitor any change in the json response in real time. I am building a dashboard on top of the endpoints. I will be using django channels consumers to consume events in real ... | You can't push information from the end point itself. But since you control the deployment process you can add a push interface as part of the deployment. For example. Add a second interface which you can connect to with a push methodology such as long polling, queues or nservicebus. Have your clients connect to this i... | 1 | 2 | 2,687 | 2016-08-13T07:21:43.390 | api_errors | softwareengineering.stackexchange.com | |
108,948 | What to do about a predictor with a feature importance so high above the others that it is the only determining factor in my machine learning model? | I created a logistic regression model with scikit-learn which predicts the outcome of an NFL football game. It predicts the result based on features such as the team's record, opponent's record, pass yards, rush yards, etc. I created the model and calculated the coefficients of each predictor and found the team's recor... | With the info provided, as a generic approach I would have a look at: data quality : is your data complete, reliable and with the info you would expect with not so many missing values? Sometimes the clue is the data quality before going on modeling did you have a look at the correlation of each input feature with the t... | 1 | 0 | 191 | 2022-03-10T18:05:05.557 | data_quality | datascience.stackexchange.com | |
499,626 | Why this script in cron.daily won't run? | I wrote this small Python script to make daily backups of a directory containing some files (the backups should rotate after one week). This is it: [CODE] when I run it manually, it works as expected, creating a backup directory named after current week's day, but it is not being run daily: I left it inside /etc/cron.d... | This is happening because your script has a [CODE] extension. The files in [CODE] are run by the run-parts(8) command and it's default is to ignore programs that don't match various rules. You should be able to just remove the [CODE] extension. run-parts runs all the executable files named within constraints described ... | 3 | 11 | 4,658 | 2013-04-15T21:06:53.793 | database_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.