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 |
|---|---|---|---|---|---|---|---|---|---|---|
96,159 | Reject recipient in postfix mail relay | I have about 3 knows email addresses in my domain, which don't exist and to which a lot of spam is sent. Some of this spam is pretty heavy, and I'm wasting a lot of traffic on it, so I don't want to even receive emails if their destination is one of those 3 addresses. Since I know that the users don't exist I would lik... | Take a look at [CODE] (5), and the [CODE] value for [CODE] . | 2 | 2 | 1,859 | 2009-12-21T00:37:54.080 | infrastructure | serverfault.com | |
569,890 | Trying to create an ElementaryOS PV guest on Xen | I am trying to install ElementaryOS as a pv guest on my server for testing purposes. Elementary OS is a fork of Ubuntu Precise. Elementary does not come with PV support, however, I can obtain the corresponding ubuntu images from: [mirror]/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/xen/initrd.gz [m... | Original post : Xen project Mailing List http://goo.gl/nDsyo5 [CODE] In my case, i've changed in filename.cfg xvda1 to xvda (see example): [CODE] | 0 | 0 | 560 | 2014-01-25T20:28:06.477 | infrastructure | serverfault.com | |
417,163 | Long running requests blocks all subsequent requests | For some reason nginx is not accepting any new requests whenever a slow request is being handled. A simple test is to have a script with a [CODE] and call the script from different browsers/devices. The first request is accepted then the second waiting and only accepted once the first request is completed. Is there a w... | It seems my problem was due to the php-fpm settings pm.*. The reason why the requests were not handled by nginx is because there were no php-fpm process idle to process the request. Technically, nginx accepted the request but was waiting for a free php-fpm process. | 1 | 1 | 901 | 2012-08-13T21:08:45.960 | infrastructure | serverfault.com | |
437,642 | Could not evaluate: certificate verify failed while using ssl proxy | One of our machines was recently put behind an SSL proxy and since then I can't connect to puppet with "Could not evaluate: certificate verify failed." I have checked that the dates match, regenerated the certificates but to no avail. Debugging the verification with "openssl s_client -showcerts -connect puppetmaster:pu... | This seems to have solved my problem: you need to add the top level ca pub key to it to /var/lib/puppet/ssl/certs/ca.pem Reference: https://groups.google.com/forum/?fromgroups=#!topic/puppet-users/VVGkYArpYfI | 0 | 1 | 882 | 2012-10-12T08:10:21.157 | api_errors | serverfault.com | |
939,592 | Permission denied when adding audit rule in audisp plugin | I'm trying to write an audisp plugin on a Linux CentOS 7 VM. Instead of statically setting the audit rules via /etc/audit/rules.d/, I wanted to add rules dynamically in the plugin using libaudit interfaces (based on some system settings). My code looks somewhat like the following: [CODE] The problem I'm facing is with ... | Managed to solve above problem by disabling "don't audit" rules with [CODE] . Then I was able to get AVC logs and fix the sepolicy rules with [CODE] . Seems I was missing [CODE] access rights. | 1 | 1 | 474 | 2018-11-12T06:01:23.853 | infrastructure | serverfault.com | |
31,164 | Relating changes of a value in time to known events | I work with two datasets. The first dataset contains fluor values measured every minute. The second dataset contains certain events and their time. We know that these events cause peaks in fluor values shortly before and shortly after the event time. A simplified reproducible example in R: Here I provide a simplified v... | You seem to be looking for a clustering mechanism for your event sequence data based on a dissimilarity/ distance measure. I would recommend you to explore TraMineR package. | 2 | 0 | 62 | 2018-05-03T14:46:03.003 | data_quality | datascience.stackexchange.com | |
588,125 | openssl update 1.0.1f to 1.0.1g broke sendmail (SSL23_GET_SERVER_HELLO:tlsv1 alert decode error) | Two days ago I updated openssl 1.0.1f to 1.0.1g. Everything seemed fine. But after a while an error popped up in the sendmail log: OpenSSL 1.0.1g fails Apr 10 10:13:45 mail sendmail[17568]: STARTTLS=client, error: connect failed=-1, reason=tlsv1 alert decode error, SSL_error=1, errno=0, retry=-1 Apr 10 10:13:45 mail se... | Circumstances forced me to compile openssl 1.0.1g from sources and I encountered behavior identical to that reported above. This is under Fedora 18 on a 64-bit Intel. Like the original poster reports, most mail went out OK but one mail destination suffered the same TLS handshake failures. The openssl change log (brief ... | 0 | 2 | 5,799 | 2014-04-10T15:24:38.020 | api_errors | serverfault.com | |
381,776 | Connect to Oracle Database that is hosted in a Virtual Machine from the host machine | Good day, I've just setup a Virtual Machine (using VirtualBox) of Oracle Linux with Oracle Database in it. After setting it up, I can verify that I can connect to it using sqlplus (sqlplus of the Virtual Machine) [CODE] However, when I try to connect using JDeveloper from the Host Machine, I am getting Status : Failure... | I've figured out what "Status : Failure - Test failed: IO Error: The Network Adapter could not established the connection." means. As it turns out, it couldn't establish the connection due to proxy configuration. | 1 | 0 | 8,732 | 2012-04-21T06:41:26.567 | database_errors | serverfault.com | |
1,003,552 | apache error "no macro defined before Use" | REVISED I inherited this apache server from a Perl shop that I now work. When this web server was on ubuntu 14.04, I had no issues starting apache. I upgraded the server to ubuntu 18.04 and now apache does not start, here is the error [CODE] line 225 of main apache config [CODE] line 61 of vhost file [CODE] This is whe... | The error is trying to tell you that you need to define the macro Pconf before using a macro named Pconf. The mod_macro: Usage documentation has an example that should help get you going. | 1 | 2 | 583 | 2020-02-18T15:06:51.160 | infrastructure | serverfault.com | |
308,735 | Renaming Domain Controller Went Weird... Help? | I have a small network with a single domain controller, running Windows Server 2008 R2. All was going well until just now. I had previously had a Windows Server 2003 DC. I demoted it to a workstation and promoted the new 2008 R2 to a DC successfully and used it like that for a couple weeks. However, to completely migra... | After renaming back (see above edit) and then deleting the lingering (old) SERVER object in Sites & Services, the instructions from the tutorial I originally tried to follow actually worked properly! I then followed Microsoft's instructions here: http://technet.microsoft.com/en-us/library/cc794759(WS.10).aspx to correc... | 4 | 2 | 7,629 | 2011-09-06T21:38:27.390 | database_errors | serverfault.com | |
1,113,294 | How do allow a range of IPs in /etc/hosts.allow but deny a single IP within that range in /etc/hosts.deny? | My [CODE] file contains: [CODE] My [CODE] file contains: [CODE] The problem I'm facing is that if I try to SSH from [CODE] or [CODE] the server is allowing me to SSH in. The scenario I want is that all IPs in the range [CODE] or [CODE] are allowed in except hosts with the IPs [CODE] or [CODE] . I would be grateful if s... | You can use the EXCEPT operator in [CODE] like this: [CODE] See man hosts.allow: EXCEPT Intended use is of the form: [CODE] ; this construct matches anything that matches list_1 unless it matches list_2. | 0 | 1 | 1,838 | 2022-10-17T16:38:22.550 | infrastructure | serverfault.com | |
11,786 | Frequent or Infrequent Commit | I'm trying to run an update query but still taking to long I have a commit in it. Is it better to set the commit to a higher value (5000) or lower (1)? I have to update 15 million records in a table of 21 million edit here's my query for the update but I need to know how low/high I should set the commit [CODE] | Not know a huge amounts about what version (I've assumed 11g) you are using and other environment issues, something like this might be useful. I'd set the commit level to be as high as your environment can comfortably handle as the fewer commits the faster it will be. What you can confortably handle will be dictated by... | 1 | 3 | 3,360 | 2012-01-27T12:28:37.357 | api_errors | dba.stackexchange.com | |
58,773 | Trouble hosting asp.net on xp iis | I'm doing some test hosting of an asp.net program I created I can access it fine from the local machine (both debugging and pointing the virtual directory to it) I can also access (local) by using the localhost or using the ip however when i get on a different machine on the same network (i can ping my machine) I get t... | firstly, look at your web.config file verify whether everything is as it is supposed to be next, check your iis manager see if it allows connections from other machines ip address should be 'all unassigned' port - 80 what is the connection timeout? (default is 900) is http keep-alives enabled? | 1 | 1 | 293 | 2009-08-26T01:55:35.267 | infrastructure | serverfault.com | |
1,005,031 | Mixed ocfs2 clusters: direct access and iscsi | Good morning, I have this configuration: diagram of configuration One "shared disk" with one partition formatted as OCFS2 Host A and host B with direct access to the "shared disk" Host C with direct access to the "shared disk" used as iSCSI target with linux tgt (iSCSI) configured for access to the "shared disk" Host D... | After some digging into the problem I think I could have found a solution. Instead of using /dev/sd* device file for backing-store at the iscsi target i used the /dev/sg* counterpart with this configuration: [CODE] As I thought, maybe the solution could be related to the page cache on block device, maybe instead sg usi... | 0 | 0 | 210 | 2020-02-28T20:19:47.463 | data_quality | serverfault.com | |
1,128,177 | Fail2ban ban action error on debian | I'm not sure where to start looking for the issue here This is on debian 11 (using nftables) It seems like the [CODE] command is failing [CODE] My jail.local [CODE] part of my nft ruleset [CODE] And the error [CODE] | edit: if the nft table is failling here is what you can try, check if you have the package [CODE] , that the directory exist [CODE] if not, [CODE] , and give it the proper permission, check for syntax error in [CODE] There is a problem with the nftables rules generated by the [CODE] , fix the port value in your [CODE] ... | 1 | 0 | 971 | 2023-04-08T04:38:49.587 | infrastructure | serverfault.com | |
999,168 | DAG failover during the backup | I've 2 Windows servers R2 hosting Exchange 2013 in DAG. Every night during backup time ( 1:00 a.m) users notice unavailability of OWA (endless mailbox loading) or they can successfully login but can't see any messages or send mail. Also during that time I'm getting "Microsoft-Windows-Failover Clustering" error code 113... | VSS writers freeze databases when they capture a snapshot to ensure that no data changes as the backup is being taken. The only time you should ever see a major pause will be during the agent's first backup, when a full backup of the entire server is needed. This can be done during the night to prevent impact to the da... | 0 | 0 | 664 | 2020-01-16T05:33:30.567 | airflow_errors | serverfault.com | |
148,171 | How to map "localhost:8080" to simply "localhost"? | Using the hosts file, I can't do something like this: [CODE] Therefore I will have to write [CODE] in order to do the same thing. The problem is that I need to be able to access the IP without entering any port. Do I have any options to do such a thing? | You can set up a reverse proxy to serve at port 80, and forward all requests to 8080. Apache is one of the web servers that can do this for you. There is a basic reverse proxying example in the mod_proxy documentation. | 0 | 5 | 7,679 | 2010-06-04T12:11:14.137 | infrastructure | serverfault.com | |
1,036,910 | Apt update fails with bionic release no longer has a release file (Mariadb) | Tried to update the apt cache with [CODE] and it failed with: The repository 'http://mirror1.imageworld.fi/pub/mariadb/repo/10.4/ubuntu bionic Release' no longer has a Release file Environment: Ubuntu 18.04.4 LTS MariaDB 10.4.12 How do I get around this? TIA. | That URL does not contain a valid MariaDB mirror. It appears to return 404 for pretty much everything except the host's homepage. Go back to MariaDB's web site and select a valid mirror . | 2 | 2 | 5,521 | 2020-10-08T12:55:11.343 | database_errors | serverfault.com | |
560,114 | Alias with regex | I want to forward an email from [CODE] to [CODE] using [CODE] The incoming email has the following syntax: [CODE] and should be forwarded to [CODE] The problem is that the part behind the [CODE] (recipient_delimiter) is random but still has to be forwarded. I looked into regex for the aliases but it seems this only wor... | Solved it using regex in the virtual alias table in postfix' [CODE] [CODE] and then [CODE] | 1 | 1 | 2,259 | 2013-12-09T12:16:12.063 | infrastructure | serverfault.com | |
154,613 | MySql trigger having null variables during bulk inserts | I have an SQL trigger. (mysql). when am doing bulk inserts the summed values become null, PS. single inserts work.bulk inserts don't. [CODE] So i need to figure out why that happens and fix it. | Looks like i needed to take care of null, Here is what i did, though the columns might have changed [CODE] | 1 | 0 | 870 | 2016-11-08T15:22:03.880 | database_errors | dba.stackexchange.com | |
859,618 | Cant connect to AWS EC2 instance after start/stop IP Reassigning | My EC2 instance kept going offline. Ihave httpd service start on it. Apparently there was no way to solve the issue. I had a hack that I tried to connect via in-browser (using Mozilla, Chrome has deprecated) and then after some time it just worked automatically. However, eventually I was forced to stop/start thus leadi... | So your original IP on the instance was 35.154.222.25 and then it was restarted and got a new IP 13.126.184.237? And when you connect to the new IP you get HTTP redirect to http://www.fitolicious.com/ which is resolved back to the original IP 35.154.222.25? Do I understand that right? If that's the case you must update... | 0 | 1 | 845 | 2017-07-06T06:18:02.230 | infrastructure | serverfault.com | |
83,481 | How to save and then restore permissions after refreshing a database | A database in a STAGING environment is overwritten every N weeks with a PRODUCTION copy that is more recent. What is the proper way to save and then restore users, roles and explicitly granted permissions as they were before the existing database was overwritten by the production copy? I do not want to restore users an... | @AaronBertrand is right. You should consider a different method of refreshing your staging environment. If for no other reason that any sensitive data that you have in production is now available to a new group of users who may not be as carefully restricted as in production. However I realize that changing your proces... | 4 | 6 | 15,173 | 2014-11-24T14:19:59.383 | database_errors | dba.stackexchange.com | |
897,352 | filtering spam emails with Chinese subject | A client have ton of Chinese spam. All look similar to this one: [CODE] There is no body on the emails and subject is different each time. qq.com is not present in all emails either. I tried to block using spamassassin, but it can not do much, so I decided to use sieve to move all emails with Chinese / Japanese / Korea... | You should block all IPs found in https://intodns.com/qq.com Here is the list of IPs I have blocked, but you should check every now and then because IPs keep getting changed/added: [CODE] They are still coming but at least they go straight to queue and eventually to garbage. | 0 | 1 | 1,048 | 2018-02-15T09:07:00.580 | infrastructure | serverfault.com | |
1,103,632 | Openvpn multiple client same gateway | I have two clients that need to connect to one OpenVPN server. Is it possible to use the same gateway for both clients in the ifconfig parameter? [CODE] The situation on the server is the following: [CODE] Now all is working fine but might it give some problem time going on? I was told to use different gateway like thi... | It is possible and correct. The gateway parameter defines the configuration on the client which is used to send data to the VPN, to be possible to define routing as usual in IP. Once the packet is sent to the OpenVPN process, it takes care of its routing (until it leaves some other OpenVPN process). In particular, you ... | 0 | 0 | 1,160 | 2022-06-19T18:57:32.850 | infrastructure | serverfault.com | |
404,756 | MySQL Unite Two Tables | Situation: after crash (or hack, I'm not still sure) some in table vB_users disappeared. I have march backup of that table, but since that time there were new records. Is there a fast way to add all the rows from crashed table to the backup table and rewrite the existing rows? I mean, unite them, but the crashed versio... | Assuming that your crashed table is in a DB called current, your restored backup is in a DB called backup, and there's a primary key called id: [CODE] | 1 | 1 | 59 | 2012-07-04T14:56:35.387 | database_errors | serverfault.com | |
559,806 | How to recover Hyper-V Guest Domain Controller from Stop Error 0xc00002e2 | Host is Server 2012 with single Hyper-V guest which is a Domain Controller. When booting the DC it gives a Blue Stop Error: 0xc00002e2 and then reboots. After third reboot it shows a recovery console with options for *Continue *Troubleshoot *Turn off your PC I choose troublehsoot and open a command prompt and when I tr... | I'm going to go out on a limb and assume that this is not your only domain controller. Delete the DC's computer object from Active Directory Users and Computers using a version of RSAT for Vista/2008 or later. Then, go into the AD Sites & Services snap-in and delete any reference to it in there. Then, reinstall the OS ... | 3 | 2 | 14,122 | 2013-12-07T01:08:18.050 | infrastructure | serverfault.com | |
817,832 | Active Directory groups and local builtin groups: any best practice out there? | We are running an Active Directory consisting of several different Windows machines (Vista, Windows 7, Windows 10, 2008 R2, 2012 R2, ...). I have to come up with a concept that allows for granular management of local permissions. Currently too many people got full rights on the machines. I am planing to do the followin... | The number of groups itself is not the problem, it's finally scriptable - the number of group memberships is!(for example due to the kerberos max token size). I prefer the following (Example for local Administrator Members) Site A Host A1: HostA1-Admin, SiteA Admin Host A2: HostA2-Admin, SiteA Admin Site B Host B1: Hos... | 2 | 1 | 347 | 2016-11-30T07:02:10.127 | database_errors | serverfault.com | |
158,822 | How to set up postfix to download incoming mesages from another server via IMAP? | How can I set -up a postfix-based mail server so that it will not only receie messages incoming via SMTP, but also act actively and download (via IMAP) messages from another server if there are any there? | You don't. You use fetchmail for that. | 0 | 3 | 161 | 2010-07-09T05:08:28.953 | infrastructure | serverfault.com | |
304,593 | How to store ordered information in a Relational Database | I am trying to understand how to properly store ordered information in a relational database. An example: Say I have a Playlist, consisting of Songs. Inside my Relational Database, I have a table of [CODE] , containing some metadata (name, creator, etc). I also have a table called [CODE] , containing a the [CODE] , as ... | Databases are optimized for certain things. Updating lots of rows quickly is one of them. This becomes especially true when you let the database do its work. Consider: [CODE] And you want to move [CODE] to the end, you would have two queries: [CODE] And that's it. This scales up very well with very large numbers. Try p... | 42 | 56 | 20,478 | 2015-12-08T21:49:49.377 | api_errors | softwareengineering.stackexchange.com | |
380,980 | Keep alive and Max_client issue in Apache | I have installed Apache/2.2.17 on ubuntu 11.4(64bit) ,with 48 GB of RAM, and set [CODE] But the problem is Apache is usually reaching its max-clients even with 10-20 users,and after restart its reaching near to 185 with in first 10-15 minutes and not coming down.Can anyone help in finding the reason for it.. | Without knowing fully what is going on with your system when this happens (see below), here are a couple of suggestions: First, lower your start servers to something like 10, and same for MinSpare and MaxSpare. The high numbers you have might be eating up your memory when the web server starts up. Second, try setting y... | 0 | 0 | 442 | 2012-04-19T06:20:43.600 | infrastructure | serverfault.com | |
386,700 | Daemonizing a C program and location of copying the file | I have to run a C program using monit. so I had to demonize it. what i did was i took a daemon template made some changes and arrived at this file as below, which is a script file: [CODE] when i execute this file # ./queue i get errors [CODE] I am not sure what should be the source function library path. I have given i... | You need first to compile your C program. The following command can do it if your program does not depend on any library to be linked with: [CODE] This will produce the binary [CODE] if it goes well. It seems your script is trying to execute this binary. You need just to make sure to set the correct path. Don't source ... | -3 | 3 | 700 | 2012-05-07T14:20:24.037 | infrastructure | serverfault.com | |
978,409 | Are there powershell commands for administering multiple IIS servers from one machine? | I have multiple IIS servers running on different machines. These are all connected via remote web management service to a single machine where I do most of the management. I want to automate some tasks via powershell. One task I can't find out how to do via powershell is add new connections to the machine where I am do... | The linked article has several steps. Let's see what Powershell can do for each of them. The first step is to add the Management Service Role. Per this Microsoft documentation : [CODE] Using [CODE] , I find that the name of the IIS Management Service role is [CODE] , we'll use this: [CODE] Once installed, you need to s... | 0 | 1 | 359 | 2019-08-08T04:58:44.943 | infrastructure | serverfault.com | |
1,109,943 | Docker nginx ssl error | When I raise the container, I get the following errors: [CODE] Although in the DockerFile, I copied the certificate files that are in the command invocation folder. nginx conf: [CODE] DockerFile: [CODE] docker-compose: [CODE] | You are copying the certificate files and the nginx config in the [CODE] container. You need to mount the files in the [CODE] container as volumes instead. [CODE] | 1 | 0 | 2,254 | 2022-09-04T23:19:25.247 | pipeline_ops | serverfault.com | |
774,155 | What is the solution for daily backup only changed files (with log) in Windows Server | We are a small team and working on a project that has huge file sizes which shared from a Windows Server running machine. After some losing important files, corrupted files and etc... we decided to make a daily backup procedure to prevent that issues. Now, What is the solution to make an automatic daily backup system t... | Just use a regular Windows Backup to a large enough storage. What kind of storage does only matter if backup speed is an issue. | -2 | 0 | 943 | 2016-05-01T16:33:37.000 | data_quality | serverfault.com | |
297,675 | Oracle. Old Partitions having Stale Statistics | Our production database tables are range partitioned based on date. Some of the tables and indexes have hundreds of partitions. And some of partitions which are old ( based upon partition key ) have stale statistics. Some of these partitions are most likely not being accessed by our queries. Sometimes the server exhibi... | Normally it does not hurt to make sure that your statistics are up to date. Statistics are up to date if since the last gathering there have been no significant number of updates/deletes/inserts/truncates in the partition. For large partitioned tables it would be good to use incremental statistics and have the granular... | 0 | 2 | 470 | 2021-08-06T12:15:11.493 | database_errors | dba.stackexchange.com | |
994,012 | Iptables - allow "reply" traffic | In iptables I drop all incoming traffic. But I want e.g. PING to work when sent to the blocked addresses. What works is if I allow ESTABLISHED. But this also allows existing (=established) connections to continue even if the iptables rules say they should be blocked/dropped. In man iptables : ESTABLISHED meaning that t... | If I understand you correctly, your problem arises when your firewall rules where to permissive and you add a rule to block traffic that was allowed before. Then the traffic that was already allowed and has an open connection in the conntrack module is allowed after the new rule is in place. You should have a look at t... | 2 | 1 | 2,474 | 2019-12-02T14:14:59.423 | infrastructure | serverfault.com | |
370,718 | Poor ZFS (raidz) i/o performance in Debian | The problem I am facing is on my Debian box (HP MicroServer N40L) running ZFS, which is compiled from source downloaded from zfsonlinux.com, seems to perform poorly. The pool is created from 3 identical 2TB harddrive (Seagate, SATA, 5900rpm, 6GB/s). System is running on another 250GB (7200rpm, unraid) hard drive.The co... | I suspect your hard-disk to report 512 bytes sectors while it really has 4 K ones. This is well known to have a very negative impact on performance, especially with RAID-Z configurations. The workaround is to add the [CODE] option at pool creation time. Some details here | 1 | 1 | 1,869 | 2012-03-17T15:34:48.810 | infrastructure | serverfault.com | |
294,521 | When estimating with a fresh team on a new project, is there a reason not to use default velocity for estimating? | Generally when estimating using an Agile points system on an experienced project team, the points have meaning relative based on past experience - that take into account: understanding of the business domain skill and experience of the team obvious traps in the technical environment (service integrations and environmen... | Yes there is a reason - because a default velocity is meaningless. The velocity is the speed at which your team can progress tasks, but that measure is created by using the sped at which your team has completed tasks. That's the only way of calculating a velocity. So by using a default one, you might as well stick your... | 1 | 2 | 589 | 2015-08-25T10:49:21.927 | api_errors | softwareengineering.stackexchange.com | |
198,711 | Indexing of a PostgreSQL bitstring (up to 20,000 bits each) | I am building a table that contains chemical compounds (many millions of rows) and of those compounds certain predetermined features/fragments are flagged in a fixed length bitstring. This bitstring will have between 2000 and 20000 bits, further research needs to be done to determine more precise figures there. When se... | I did test some index strategies for bitwise operation. A little long procedure, sorry. First of all, This is just a test on my RDS environment. Your database performance depends on your environment and data (CPU, Memory, Disk, number of rows in your table, cardinality of your column and so on) I am not familiar with P... | 9 | 5 | 3,542 | 2018-02-23T22:18:22.307 | database_errors | dba.stackexchange.com | |
601,978 | Dell PERC 5 - RAID-10 keeps rebuilding drive 2 every day | I have a Dell PowerEdge 2950 with this card: RAID bus controller [0104]: Dell PowerEdge Expandable RAID controller 5 [1028:0015] and six disks in a RAID-10. I replaced drive 2, because it didn't show up, and then it started to rebuild itself: [CODE] The rebuild finishes, then the virtual drive becomes optimal, and driv... | To give you a preliminary.. It sounds to me like this is a double data fault/puncture, which means that you have bad blocks which are propogated within the RAID. This can cause some really really strange issues in my experience. You can read up on it here : http://www.dell.com/support/Article/us/en/04/438291/en Any cha... | 1 | 0 | 830 | 2014-06-05T08:03:07.997 | infrastructure | serverfault.com | |
331,940 | MySQL filled all RAM on the system | Good Day, I've faced a problem when MySQL began to use all memory in system. After MySQL restart memory goes free but after some time filles again. graph of memory usage: http://netmaster.com.ua/files/sys_mem_stat.png There was no changes either in MySQL or system settings. Such situation appear presumably after adding... | Interesting question and nice job of presenting relevant background. That mysqltuner is reporting [OK] Maximum possible memory usage: 16.6G (52% of installed RAM) implies that either this is not the case and somethnig very weird is happening or that the memory usage is occurring somewhere other than in mysql. I assume ... | 3 | 1 | 1,658 | 2011-11-17T13:10:43.760 | database_errors | serverfault.com | |
1,078,833 | MySQL performance issue due to caching | [CODE] One of our production server has some performance issue, I have found that it was mostly related to MySQL, and after running MySQLTuner, I have found a few things of interest. Surprisingly, there's no join without indexes, so I don't think I can do much and it seems to be due to caching, and I know we're using W... | All your tables seem to be MyISAM tables. It is recommended that all table set up as InnoDB tables nowadays. MySQL query cache is a deprecated feature due to various issues , therefore it is best to disable it. After changing all tables to InnoDB, run MySQLTuner again and adjust InnoDB buffer pool according to its reco... | 0 | 0 | 1,172 | 2021-09-27T20:12:49.863 | database_errors | serverfault.com | |
450,177 | Is low code quality and lack of testing the norm in B2B software development? | I've been working at this company for about a year now. it's a growth company working in B2B. I'm one year out of university, with a major in computer science. I work in the web team, using an Angular frontend and node as the backend. Throughout my time here it's always irked me how little effort seems to be put into t... | Kind of, but you are being fobbed off. these books that you've been reading are all written by developers in B2C companies No, B2C companies are just as bad/good as B2B and everyone writes books Why put time into writing code that has a 50% chance of being thrown away within the next year. If you want to write perfect ... | 1 | 7 | 411 | 2023-12-18T09:12:16.653 | pipeline_ops | softwareengineering.stackexchange.com | |
97,538 | Why after each restart, my local .NET sites take time to load for the first time? | I'm developing sites based on .NET platform. I usually deploy these sites on my local IIS, so that I can test them and see their functionality before going live. However, each time I restart windows, it seems that sites take a long time to run for the first time. I know about JIT and I'm also aware of this question , b... | This problem is the JIT compile. The application pool needs time to build the libraries before it can begin processing them. This can be sped up by using a warmup script, but it's something that needs to happen. It also depends on whether you're using a website or a web application project. A website is JIT for every p... | 34 | 35 | 51,725 | 2011-08-01T10:09:03.490 | api_errors | softwareengineering.stackexchange.com | |
992,806 | How do I use an external SMTP on Google Cloud Hosting Wordpress? | We have just setup a brand new Google Cloud Hosting account and installed a WP website on it. We aren't using Gmail on it, as we want to connect outgoing mail via SMTP to our external Server. When we do this on a non GCH account, it works. But on it, it fails. It times out. So is this because GCH simply refuses to let ... | By default, Compute Engine allows outbound connections on all ports but port 25,so if you need to send an email from the instance you have to use port 465 or 587. GCP explecitely recomends using other third-party tools such as SendGrid, Mailgun, and Mailjet because they offer a free tier package, you can skip all that ... | 0 | 1 | 3,111 | 2019-11-21T20:20:08.140 | infrastructure | serverfault.com | |
267,218 | How does word size affect the amount of virtual address space available? | So, I should really know this stuff already, but I am starting to learn more about the lower levels of software development. I am currently reading Computer Systems: A Programmer's Perspective. by Bryant O'Hallaron. I am on chapter 2 and he is talking about the way data is represented internally. I am having trouble un... | The idea is that one word of memory can be used as an address in the address space (i.e., a word is wide enough to hold a pointer). If an address were larger than a word, addressing would require multiple sequential words. That's not impossible, but is unreasonably complicated (and likely slow). So, given an w -bit wor... | 7 | 6 | 4,236 | 2014-12-23T17:58:22.107 | api_errors | softwareengineering.stackexchange.com | |
855,656 | PHP Warning: Missing boundary in multipart/form-data POST data in Unknown on line 0 | I'm logging every error on my server into a file and time to time I'm solving the cause of them. I have several log entry with the PHP warning: [CODE] The problem that I have no clue what is the trigger for this. So my question is that how and where should adjust my log to store the request headers with this warning? A... | Typically, the trigger for this kind of thing is a file upload or a form with a large amount of data. If all you want is the next steps in how and where to adjust your log, I would start by logging information in PHP for the superglobal [CODE] (and maybe even [CODE] , although tracking POST data over a period of time w... | -1 | 1 | 12,678 | 2017-06-14T05:44:19.120 | infrastructure | serverfault.com | |
381,184 | Redesign Issue (Multiple Inheritance without Multiple Inheritance) | I am currently working on a game engine for work and have hit a wall on my idea. I have multiple objects (called prefabs) that have very common properties such as [CODE] , [CODE] , and [CODE] . There are more, but let's just focus on those for this particular issue. The idea was to create a base class called [CODE] in ... | Changing the type of a property in a derived class is going to be a maintenance headache. It's very confusing. You also haven't saved yourself from creating Vector2d objects. Every time you retrieve RenderObject2d.Position, you're instantiating a Vector2d. I would just do this: [CODE] | 3 | 2 | 120 | 2018-11-08T18:36:07.513 | api_errors | softwareengineering.stackexchange.com | |
1,142,884 | Does reverse proxying the WebSockets servers make sense from scaling perspective? | I have reverse proxy and multiple WebSocket servers behind it. I'm confused whether it makes any sense from scaling perspective, because I see it like that: The WebSocket server A has 30,000 active connections The WebSocket server B has 20,000 active connections All connections are through reversed proxy. So I guess th... | Scaling, yes. Manageability, yes. Fault tolerance/high availability - mostly yes. It adds nothing in terms of performance - indeed its adding latency. Significantly it does add security in isolating your origin servers from attacks targeting the TCP/IP stack. (Yes, there will be a 1:1 relationship between connections t... | 0 | 1 | 321 | 2023-09-01T17:51:55.517 | api_errors | serverfault.com | |
139,245 | MongoDB not using all memory in Windows server | I have a stand-alone MongoDB instance running in windows. It's recently experiencing slowness and my troubleshooting has found the following symptoms. The slowness normally occurs after a full text search query against a huge collection. I guess this is because it swaps many pages in the collection from disk into memor... | Figured out why, here is the explanation. wiredTiger has a default cache size limit of 60%RAM - 1GB, should be overwritten in a system with large memory. | 3 | 0 | 1,001 | 2016-05-23T10:24:30.040 | database_errors | dba.stackexchange.com | |
457,295 | Removing port forwardings programmatically on a ControlMaster SSH session | Quite a while ago I got an answer telling me how to add a port-forwarding on a running SSH ControlMaster process. To know that helps a lot, but I'm still missing a way to remove such a port forwarding after I don't need that anymore. As far as I know, you can do that through the internal command key sequence on normal ... | As my previous answer notes, the ssh man page explains the [CODE] in detail, where [CODE] is one of [CODE] , [CODE] , [CODE] , or [CODE] . [CODE] You can use the [CODE] 's to accomplish the automation you want for your scripts. You'll need to first create a [CODE] socket with the [CODE] like and ssh to the remotehost l... | 6 | 6 | 4,133 | 2012-12-12T03:13:52.323 | infrastructure | serverfault.com | |
599,918 | Is 'which' command always showing the right file / which binary is really being run? | I am using Ubuntu 12.04 LTS and I have apparently messed up my system with various versions of duplicity installations: first I had 0.6.18 installed from the default repo, then I tried using 0.6.23 from the PPA in the end I built 0.6.24 from the source and installed it (I list this for completeness but I don't really t... | Comments are often not in sync with the code. You could [CODE] to check this. If that doesn't give any results, it could be that the version string is stored in multiple variables, so you might want to search for [CODE] or [CODE] . As far as I know no distro has a cache of executables. I expect the security implication... | 0 | 1 | 63 | 2014-05-31T15:34:07.690 | infrastructure | serverfault.com | |
807,892 | How to recover from "Invalid Drive Movement" (HP SmartArray P411) | Due to hurricane Matthew, our company shutdown all servers for two days. One of the servers was an ESXi host with an attached HP StorageWorks MSA60. When we powered things back up today and logged into the vSphere client, we noticed that none of our guest VMs are available (they're all listed as "inaccessible"). And wh... | Right, this is a very precarious situation... So the HP Smart Array controller can handle a certain number of physical drive movements before it breaks the array configuration. Remember that HP RAID metadata lives on the physical drives and not the controller... The MSA60 is a 12-bay 3.5" first-generation SAS JBOD encl... | 7 | 5 | 2,043 | 2016-10-08T17:45:48.120 | database_errors | serverfault.com | |
721,611 | RAID 0 arrangement for max IOPS with mechanical drives | We need to run a high number of low-resource VMs concurrently in 2012 R2 Hyper-V. We've experimented with various configurations and using Perfmon.exe for reporting, we've found we're bottlenecking hard on IO. Storage and data retention are of no concern for these boxes, so given a maximum combination of 4 mechanical d... | Disk I/O is subject to the tragedy of the commons . With sheep mechanical disks, you have a hard ceiling for your grass random I/O. The only way to keep one bad actor from starving out the rest of the sheep VMs is to keep it on it's own patch of grass set of disks. Confining the greedy sheep VMs to their own pen will a... | 0 | 1 | 191 | 2015-09-10T22:52:19.517 | infrastructure | serverfault.com | |
47,467 | Can we execute our test manually on one device and replay the same tests on multiple devices? | I want to test a shopping website, a portal where users can view/filter products (clothes, shoes, etc) the actual buying happens somewhere else, it's kind of an aggregator. [The website is UI heavy - Angular] I want to test this on multiple mobile devices + browser combinations, of course doing it manually on physical ... | I think the best way would be to have a look at BrowserStack website, they actually answer all of your questions. However, to point you a bit to the right direction, as of May 2021, BrowserStack offers these products: Out of these, you will likely be interested in these 3: because they let you test in desktop, tablet, ... | -1 | 1 | 53 | 2021-05-15T14:45:26.277 | data_quality | sqa.stackexchange.com | |
5,360 | Insert Into MySQL over linked server when a medium text is the last column breaks Int fields | I have a table with [CODE] When I do an insert over the linked server connection: [CODE] The row ID is set to 0 instead of 1. If I flip the table structure to put the Details before the Statename, so that the MEDIUMTEXT is not the last column, and do the same insert statement. [CODE] Then the insert works exactly like ... | I'm going to go out on a limb and say that there's probably a bug somewhere - especially given the [CODE] data type. Here's a little work I did, obviously there're a few additional tests that you can run. Here is a SQLFiddle for your reference. DDL [CODE] DML [CODE] renders: [CODE] while [CODE] renders: [CODE] Finally,... | 2 | 2 | 3,233 | 2011-09-02T19:18:34.170 | database_errors | dba.stackexchange.com | |
278,774 | Oracle 12cR2 RMAN - ORA-01547, ORA-01194, RMAN-06054 | Oracle 12cR2. Error: channel default: deleting archived log(s) archived log file name=+RECO/.../thread_1_seq_166200.26582.1054942673 RECID=62 STAMP=1054943183 archived log file name=+RECO/.../thread_1_seq_166201.11529.1054941077 thread=1 sequence=166201 channel default: deleting archived log(s) archived log file name=+... | 1871183871663 is bigger than 1871183322646. You do not have the necessary archivelog in the backups for recovering the database beyond SCN 1871183322646. You simply specified a point in time recovery target that is not included in the backups. | 0 | 0 | 590 | 2020-10-27T22:40:29.393 | hadoop_errors | dba.stackexchange.com | |
182,849 | Deployment routine for WAR archive on Windows / Tomcat 6 without downtime? | We have an web application running on Tomcat 6 (on WS2K3) which is updated every week as of a new release. Currently, we have a very simple batch script that every night checks the content of one folder on the server, if a war file exists it closes the Tomcat service, removes the old application directory and war file,... | For one thing, you can use the standard Tomcat manager application to redeploy an application from a WAR without having to stop Tomcat itself. Downtime is only what's needed for deploying that single app. But for near-0 downtime you really do want a load balancer and multiple Tomcat servers. Apache HTTP server with mod... | 1 | 2 | 382 | 2010-09-20T14:17:29.687 | pipeline_ops | serverfault.com | |
456,696 | Samba users are writing files with the same owner | I created a Samba share and 3 users (Marc, Mary and Paul), both in Ubuntu (12.04 LTS) and Samba. Then I configured 3 Win7 computers to access the share, each with different credentials. I created 3 folders, one for every user, and chown'd them to the related user, chmod'd them to 0700 and even restarted Samba. Every ti... | I double-checked the smb.conf before posting it, and suddenly I realized that there was a [CODE] in the middle of it. I removed it and now everything is working fine. Thanks for asking, it was helpful! :) | 0 | 1 | 103 | 2012-12-10T11:06:30.467 | infrastructure | serverfault.com | |
403,863 | Does anybody wish to help a poor researcher publish a paper? | I don't know if this is a good place to beg for help, but here it goes: basically, I need to run a secure recommender system simulation (C++ console application) in order to meet tonight's deadline, and the faculty's server grid decided to go offline. I could really use something like 10+ (actually, about 16 would be r... | Amazon Elastic Computing Cloud is what you're looking for. Those are relatively cheap servers rent on demand. 32 Extra Large servers for 8h will cost you a bit under $164. Those are 15 GB, 4 core, 8 thread machines with 1690GB of storage. If you don't need something as big, there are machines from 1 core, 1 thread, 1.7... | -2 | 4 | 103 | 2012-07-01T13:00:27.583 | infrastructure | serverfault.com | |
279,082 | PostgreSQL multi-version install on same server | Possible Duplicate: How to install Postgres on LINUX with two verions? I've installed multiple [CODE] version(9.0.3, 8.4.6) on same server . I've changed [CODE] also. I used to run: [CODE] It is working fine. But showing old version (8.3) instead of 8.4. what is my mistake? Please help me... | You probably mean the version output of your [CODE] binary. Try to make the server version visible: [CODE] To avoid problems, I'd recommend to either use the [CODE] binary from PostgreSQL 9 or to use the [CODE] binary that matches the server version. Unter Debian/Ubuntu you'll find the binaries under [CODE] . | 0 | 1 | 1,490 | 2011-06-10T09:15:01.417 | data_quality | serverfault.com | |
361,105 | How to access my site with ip address? | I've put my files in public_html but i can't access them with direct ip address? When i got to my ip it displays: "If you feel you have reached this page in error, please contact the web site owner..." I'm new to cpanel and hosting stuffs, have i missed an extra step to make it work? | No. Simpl set - normally web servers use the domain name to distribute to different virtual hosts. As such, accessing via IP only is not working. Point. Either give it a dedicated IP address and set it up (if necessary by hand) not to bind to a host name, or get a domain (the "right one") pointing to the Ip or use a ho... | -2 | 4 | 27,726 | 2012-02-17T07:33:16.980 | infrastructure | serverfault.com | |
60,352 | Windows 7 client - No permissions to manage Hyper-V server | I am running Windows 7 ultimate and im trying to manage VM's on my Hyper-V server via the MMC. I can connect to the machine, but I get the "You do not have the required permissions to complete this task. Please contact..." message. I have used the HVRemote script and ran all of the required commands on another Windows ... | A coworker was running into this issue, and had to change a DCOM permission setting. Walkthrough is here , though the issue had nothing to do with VPN in our case, this still resolved it. | 1 | 1 | 4,613 | 2009-08-29T17:57:31.877 | infrastructure | serverfault.com | |
889,323 | Only one SAN when issuing certificate using Windows | I'm trying to issue a SAN application using Certificate Enrollment in Windows . I have an AD CS I'm using. I'm trying to use the Computer certificate template and in Properties I've specified multiple SANs. But, when the certificate has been issued, only 1 SAN is left (the first one specified), leaving the certificate ... | It is because [CODE] certificate template ignores user-supplied subject and builds the subject automatically based on AD information. You have to use different template where subject is constructed from a user-supplied values, for example, [CODE] template. | 2 | 4 | 158 | 2017-12-22T10:18:50.880 | infrastructure | serverfault.com | |
574,532 | Upload OVA with multiple vmdk's to OpenStack via Glance | I am trying to upload a OVA file to Openstack. The ova file contains 5 files: volume1.vmdk volume2.vmdk volume3.vmdk server.mf server.ovf I uploaded the files with the following command: [CODE] However when I try to create a server off of the uploaded image, I get an error (viewable via the console) stating that there ... | On the controller node, check your image status and formats. a. Get your image id # glance image list b. Check the status on the image glance show IMAGE_ID glance image-show IMAGE_ID c. When you upload the image, check the api logs. #> tail -f /var/log/glance/api.log c. Check the logs, when you fire up the instance #> ... | 2 | 1 | 4,417 | 2014-02-10T18:33:21.180 | infrastructure | serverfault.com | |
19,455 | How can you decide the window size on a pooling layer? | On the convolutional neural network, there used one or more pooling layers. As far as I know many tutorials instruct you to set it either [CODE] or [CODE] for the window size. For example, in this tutorial : Pooling Layers After some ReLU layers, programmers may choose to apply a pooling layer. It is also referred to a... | When you get a bit more insight into network topologies these hyperparameters will make more sense, but in general this is just like any other hyperparameter, you will have to test some settings and see what works better. In the case of pooling layers it is actually relatively interpretable. Why do we use pooling? To d... | 8 | 9 | 9,396 | 2017-06-03T22:15:35.817 | data_quality | datascience.stackexchange.com | |
956,832 | Internal HDD keep being dropped | I own a server on which I run flexraid and since a couple of weeks, I get the issue that whenever the server is doing some heavy operations on the RAID, one or more harddrives get dropped. In order to investigate where the problems originate from I already checked the following: I'm quite sure the hard drives themselve... | So to make this useful for somebody later on having the same issue; as quite some people mentioned, this was indeed a problem at the level of the SATA controller. It was the SATA controller which dropped the connected drives under heavy load. Eventually I replaced my old sata controller with this one: https://www.nowth... | 0 | 0 | 71 | 2019-03-05T12:39:19.020 | infrastructure | serverfault.com | |
958,912 | Helm under MicroK8S giving: "Error: could not find a ready tiller pod" | I need learn about Kubernetes, Helm, conjure-up and also need install Eclipe-Che, and to it I did: On a fresh install of [Ubuntu 18.04.2 Server X64] running as virtual machine inside vmware workstation Im installing MicroK8S and Helm. Its on a fresh Ubuntu install and the 0nly script block im pasting on terminal is: [C... | All was need is: [CODE] The full set of commands here : [CODE] | 2 | 2 | 8,492 | 2019-03-19T06:43:09.500 | pipeline_ops | serverfault.com | |
378,100 | Find text, then insert linebreak and some php code across multiple files | I have a certain php code comment that appears in about 75 files across several users. This command succsessfully locates it. (I didn't bother looking for the double slashes because I wasn't sure about escaping them and they really don't matter for this match.) [CODE] After I find it, I need to add a line break and som... | [CODE] can do inserts and appends when it sees a pattern: [CODE] | 0 | 2 | 390 | 2012-04-10T12:52:01.463 | infrastructure | serverfault.com | |
219,187 | Is it really necessary to call /bin/sync twice before an unmanaged power-off? | My company sells an "embedded device" which is implemented as a headless Linux box with ext4 on an internal SSD. Some of our users have a habit of doing a "save current settings" on this box, and then cutting power to the unit as soon as the unit reports that the save completed (ie two seconds later). This was causing ... | This link sums it up pretty well -- One call to [CODE] should suffice. Doing it more than once is definitely a holdover (and one I stick to myself), but if you're doing it programmatically you aren't gaining anything - it's the delay it takes you to type out those 5 keystrokes that you were really going for. Of course ... | 3 | 8 | 3,400 | 2011-01-05T22:34:36.180 | data_quality | serverfault.com | |
115,788 | CONCAT with multiple INSERT INTO ... SELECT ... WHERE | I have a number (currently 6) of tables within multiple schemas, and I need to insert a number of (2000) rows into a table in each schema. The idea is that I have the procedure below, and simply change the variable at the start ( [CODE] and [CODE] ), and run for each table, rather than having to run multiple inserts, a... | This is doable. What you need is 5 [CODE] with one [CODE] [CODE] | 1 | 1 | 1,100 | 2015-09-22T15:52:50.173 | warehouse_errors | dba.stackexchange.com | |
247,406 | Proliant RAID 1 Rebuild Questions | I have a HP Proliant ML350 G5 server that experienced a power supply failure overnight. The power supply was replaced but unfortunately it got restarted with only 1 disk in the RAID 1 set plugged in. (The raid controller is the build in E200i). The raid BIOS then said on start-up that it had entered Interim Recovery Mo... | You've got something funky going on there, though I'm not exactly sure what it is. The server should boot and operate normally with just 1 drive in it. All that should happen is the controller marks the array as degraded, but Operating Systems don't care (or even know) about this condition and should carry on as normal... | 3 | 2 | 17,456 | 2011-03-14T23:53:57.540 | infrastructure | serverfault.com | |
1,113,127 | fstrim is very slow on xfs and always return same value unlike ext4 | I just noticed if I do [CODE] the 2nd call usually print [CODE] and finished immediately. However if I do same thing on XFS, 2 of the calls are taking exactly same time and print exactly same amount of trimmed bytes. This makes me wonder does the trim really worked? If yes, is there any flag I can turn on to make the X... | Ext4 caches extents that have already been trimmed in memory and doesn't retrim them until reboot. XFS does not cache this information and retrims everything on every fstrim start. Source: Fstrim calls FITRIM IOCTL on file system that eventually calls into a FS specific internal function: https://github.com/util-linux/... | 3 | 5 | 1,945 | 2022-10-15T10:07:20.817 | infrastructure | serverfault.com | |
306,280 | PHP Warning: mail(): SMTP server response: 501 Must specify to address <address> | Cannot understand why I am getting this error - both to & from email addresses are valid (I use them daily) so cannot figure out how this is happening - any help would be appreciated. NOTE: This is working in production but is throwing errors in dev. I have stricter config in dev. NOTE: I am testing locally on PC using... | Your $to must be only the mail address. The SMTP dialog expects a mail address in angle brackets and you are feeding it the contents of the To: header. The same for $from too. | 1 | 1 | 1,628 | 2011-08-30T02:48:18.280 | infrastructure | serverfault.com | |
1,155,974 | Upgrade mysql 5.6 to 8 not working on AWS Linux based EC2 | I am working with EC2 for MySQL DB. The OS of EC2 is AWS Linux-based Ubuntu. The current version of MySQL is 5.6.50. I am going to upgrade it to 8.0. I tried to upgrade it with this command: [CODE] , but it shows me these kinds of errors. [CODE] How can I solve this problem? My current OS version details is here: | It could be that you are running Amazon Linux 1.0, that version doesn't support systemd. So I think you might need to upgrade the os first before you can upgrade myswl | 1 | 1 | 148 | 2024-03-09T14:27:04.167 | database_errors | serverfault.com | |
64,181 | Training machine learning models from log files | Im starting to learn about ml and most of examples show very simple examples on how to train your ml modell. For me this looks more like statistic calculations than actual ml. These kind of examples could very easily been written in sql server etc. What Im looking for is the ml to find pattern within data that i dont k... | Hi and welcome to the community! Sure you can use ML. I would start with brainstorming to formulate the problem. So one idea could be Sequence Learning: Injecting a unique and recognizable number instead of F and training a NN-based model ( RNN s are used in this case e.g. ESN s or LSTM s) will learn the dynamic of the... | 2 | 2 | 1,086 | 2019-12-04T08:05:05.813 | database_errors | datascience.stackexchange.com | |
119,452 | WSRM error on Server running SQL databases | I have a Server Running Windows Server 2008 Enterprise Edition With SQL 2005. There is no problems with the server in its day to day functions but i am getting a Warning in the Event Log every 5 minutes with the following: Windows System Resource Manager encountered the following error 0x80010117. User Name will not be... | 0x80010117 means: RPC_E_CALL_COMPLETE Call context cannot be accessed after call completed. Not that it helps! Are you using WSRM? It may not be properly configured. If your not using it then remove the Feature from Server Manager. | 1 | 1 | 1,689 | 2010-03-05T10:08:41.940 | infrastructure | serverfault.com | |
962,545 | Looking for nginx rules to differentiate if a subfolder is listed or not | For example, if there is any subdirectory listed, keep the subdirectory. But if it's just the URL listed, then forward the user to localhost:3333/publiclink [CODE] | You want the single URI [CODE] to be internally rewritten to [CODE] before passing it upstream, but everything else passes upstream transparently. You can internally rewrite a single URI by using an exact match [CODE] with a [CODE] statement: [CODE] Or, use [CODE] within the main [CODE] : [CODE] The first option is the... | 1 | 0 | 46 | 2019-04-11T01:41:40.010 | infrastructure | serverfault.com | |
244,696 | Incomplete dumps using mysqldump | I am running Mysql server with master and slave replication. From past few days i found that backups on my master server are incomplete. When i ran manually on master it's returning the below error "mysqldump: Error 1317: Query execution was interrupted when dumping table [CODE] at row: 36705562" Command i am using to ... | I have dealt with this in the past. [CODE] : MySQL - MySQLDump problems with large table [CODE] : Client times out, while MySQL query remains running? There are three(3) aspects you need to consider ASPECT #1 : Table Corruption Please take note of the row number [CODE] . If that row number comes back in the error messa... | -1 | 1 | 2,789 | 2019-08-06T18:16:14.070 | database_errors | dba.stackexchange.com | |
312,172 | How could this be considered performant code? | I came across this (Java) code yesterday and can't figure out why someone would have done this in any language. In what scenario, language, paranoid delusion would "removing" values from an ArrayList like this improve performance? Try to avoid getting dragged in to the general design of the worker. I know it's bad and ... | Removing an element in an ArrayList requires shifting all the remaining elements with a higher index down one. Marking an element with a zero does not. So if N is the number of elements in tradeIdList and M is the number of elements in tradeIdArray, this approach is O(M × N) whereas actually removing the elements on ea... | 0 | 6 | 345 | 2016-03-09T10:55:27.170 | data_quality | softwareengineering.stackexchange.com | |
29,684 | Timing Page Load in Selenium | I am working with Selenium C# .NET. What I want to accomplish is elegant, extendable page load time logging within my page object architecture. Most new pages are loaded as the result of some action, such as a click on a previous page. The problem is that when an action is performed, the WebDriver does not give control... | The browser already collects performance data, not sure you need to collect your own. You can retrieve it with the JavaScript Executor by returning the object window.performance . PerformanceTiming.domInteractive: This property can be used to measure the speed of loading Web sites that users feels. https://developer.mo... | 3 | 2 | 5,417 | 2017-09-19T22:33:40.563 | data_quality | sqa.stackexchange.com | |
236,666 | Alias to SQLEXPRESS | I have developer edition from SQL Server 2008, but now I have a piece of software with a hardcoded connection string: [CODE] Now I tried adding an Alias in the configuration tool to SQLEXPRESS, but it just doesn't want to use this new alias. I enabled TCP/IP and restarted the service. | Follow these steps to add an alias: Open SQL Server Configuration Manager Expand SQL Native Client Configuration Right-click Aliases and select [CODE] On the New Alias window: Enter [CODE] for the Alias Name. Select the appropriate protocol (e.g., Named Pipes) Enter [CODE] for the server name (that's equivalent to [COD... | 18 | 29 | 10,500 | 2011-02-17T10:18:32.003 | database_errors | serverfault.com | |
530,652 | Background discard on swap partitions on Linux + SSD | Problem I want to enable background TRIM operations on a swap partition within a SSD disk on Linux. According to several articles, e.g. this one , the kernel detects this configuration and automatically performs discard operations, but on my tests seems that it’s not working although “discard” mount option is used to f... | It seems that discard_swap_cluster is only called from scan_swap_map which in turn is called from get_swap_page or get_swap_page_of_type . So if I'm correct, the discarding only happens when a new swap page is going to be allocated, not when a page is freed. | 11 | 1 | 4,475 | 2013-08-13T14:09:27.173 | infrastructure | serverfault.com | |
670,230 | PowerDNS authoritative name server works but non-authoritative name server servfail | In my current role as Devops I have been assigned a few tasks that are new to me including setting up a PDNS server with MySQL backend. After initial setup of the server I tested responses from the new PDNS server with DIG and NSLOOKUP while specifying the ip of my server. All responses came back positively as I was ho... | The delegation seems to be in place and your nameservers appear to be responding. However, your nameservers would appear to deny the existance of any [CODE] records for the zone, something which is definitely not a good thing. (Whether or not it fully explains the problem is unclear to me as the problem description its... | 0 | 1 | 3,349 | 2015-02-20T17:52:43.267 | api_errors | serverfault.com | |
16,078 | Failed line of communication… rebooting for morons? | I work at a large corporation where we use many legacy systems. To note some of the systems: HP-UX 10.20, Windows 2000, VMEBus systems, systems designed 30+ years ago that do not communicate via TCP/IP protocols, and more. Throughout the work week we are constantly plagued with these legacy systems losing communication... | The answer is "it depends". Rebooting can fix issues or make it easier to detect issues by providing better logging or easily observed problems. (Hmmm... rebooting shouldn't take 10 minutes) Resorting to reboots as a standard troubleshooting technique is a bad practice, however. Somebody needs to understand how things ... | 7 | 2 | 360 | 2009-05-31T07:03:11.717 | data_quality | serverfault.com | |
167,669 | Window aggregate resulting in slow query on postgres 9.6 | I'm using Postgresql 9.6 and I'm running into a performance issue. I have a relatively simple query: [CODE] The [CODE] table is actually a view over monthly tables union-ed together, you can see that in the plan. This query takes over 2.5 minutes to run and you can see the lions share of that time is used by quicksort,... | Your window function has to sort [CODE] rows. Look at cutting that down. Sorting 10.2 million rows in 158 seconds isn't too bad. [CODE] I also think there is something wrong with your partitioning. [CODE] Why does this query search a table called [CODE] when the timestamp clearly exists in [CODE] , and [CODE] . The que... | 2 | 1 | 1,354 | 2017-03-20T18:20:05.747 | database_errors | dba.stackexchange.com | |
323,645 | .htaccess rewrite issues with homepage | I have the following rewrite rule: [CODE] The issue is that when I try to access my homepage by www.site.com, it rewrites it as well to parser.php, why is this and how do I prevent this? | Exempt the root from the rewrite: [CODE] | 0 | 0 | 63 | 2011-10-21T14:24:57.110 | infrastructure | serverfault.com | |
34,520 | Multiple @tests but did not execute the priority 2 and priority 3 | Can someone let me know why it stops execute after the first @test(priority=1)? It ran the @beforeclass, then @test(priority 1) then @aftermethod. So it skipped @test(prority=2) and @test(priority=3) [CODE] | You are mixing TestNG annotations with different behavior to set up and tear down the WebDriver: [CODE] : Runs once before the first test method of the class. [CODE] : Runs once after the last test method of the class. [CODE] : Runs before each test method. [CODE] : Runs after each test method. Change [CODE] to [CODE] ... | 1 | 1 | 2,877 | 2018-06-29T20:32:30.587 | data_quality | sqa.stackexchange.com | |
507,753 | using vmkfstools to move a snapshot | I am trying to move a snapshot from an esxi 5.0 vm to another datastore, but when I tried to use the datastore tools I got the following error, "error caused by file" with a path to the vdmk file. So I am to use vmkfstools to move the snapshot but can't find how to move the snapsot. I found how to migrate a virtualdisk... | So hopefully this will help someone else who has seen the same issue where using the datastore snapshot tool to copy. The issue was that we had the file system formatted as reiserfs, when we reformatted it as ext4 the we were able to use the datastore tools successfully. | 1 | 0 | 911 | 2013-05-14T17:45:31.090 | infrastructure | serverfault.com | |
32,078 | What should tester do when user stories/documentation is outdated or simply wrong? | We are doing 'scrum', but we are also developing side feature (project) that has extremely hard time with defining correct business requirements. This feature is not properly included in scrum, meaning work starts on empty, not well defined/planned tasks, often they are made in middle of sprint and so, mostly extremely... | Well, each individual employee (for example a tester) takes the decisions in the are of their competence. You as a tester is responsible for the product quality. Hence what you should do is to report the problem to your Scrum Master since Scrum Master should work with a product owner to make the stories clear and testa... | 2 | 1 | 97 | 2018-02-15T16:46:20.137 | data_quality | sqa.stackexchange.com | |
8,207 | Predictive models with class value belonging to a set of observations | I would like to know whether it's possible to build a predictive model where I could define a set of rows with their attributes, and a class belonging to that set of rows, instead of having the typical model one observation - one class. What I'm trying to do is to create a model which should be able to predict the futu... | Looks like you have two problems: time-dependant predictive modeling and feature engineering. 1) Time-dependant data Key words: create a model which should be able to predict the future level of a rider in professional cycling The future Level of the Rider. That means there is current Level. And Level in the past . And... | 5 | 1 | 184 | 2015-09-25T23:04:36.723 | data_quality | datascience.stackexchange.com | |
815,729 | MySQL server does not start after moving data dir | I am trying to move MySQL's data dir to an external drive on an odroid (raspberry-like mini computer). I am using Ubuntu 14.04. I changed the paths in all configuration files containing [CODE] and moved all mysql folders on my new drive. The service does not start anymore and I dont know how to fix that. Here are all c... | I just found a solution for this (years after it happened to me time). The problem simply was that ubuntu server shipps with the malware apparmor . I only noticed that after inspecting [CODE] . To get rid of it I simply ran [CODE] and this made mysql start with my new mysql datadir (and fixed other problems too). | 3 | 2 | 1,646 | 2016-11-18T12:14:18.960 | database_errors | serverfault.com | |
381,296 | Lots of requests for same URL at new IP address | Just got a new VPS with two IPs. I'm getting a tonne of requests from multiple different client IPs for a single path on one of the IPs, almost one per second. The path is "/lzb/gz.php". Any ideas what this is? And should I be concerned? Should I request a new IP from my VPS provider, or just hope the volume dies down ... | [CODE] doesn't jump out as anything nefarious. It appears to be a file in the xwall firewall package, so perhaps the former owner of that IP was running that application. You have three options that I see: You can most certainly request a new IP from your provider if this behavior bothers you, but one request per secon... | 1 | 1 | 842 | 2012-04-19T20:26:14.397 | infrastructure | serverfault.com | |
1,104,192 | Change the name of a cloned VM without losing the source VM | I have an ESXi host on a domain, and I am having some issues with cloning VMs that the IT consultants don't seem to be able to help with. I am able to clone a VHD, make a new VM with that VHD, flag it as copied not moved (to get a new MAC address) and launch the resultant VM. But according to the IT folks I can't then ... | They are right in a certain way, that is you can't directly use this cloned VM on a domain network without first dealing with the issue that after cloning you have two computers with the same name and domain account on the network. But you can work around it. First, disconnect a clone from the network while it is power... | 1 | 2 | 3,928 | 2022-06-27T05:41:57.943 | infrastructure | serverfault.com | |
135,652 | Identical tables, identical query, completely different execution times | We have two tables with identical columns and indexing (No indexing at all, basically). We run the same query, which in case of the original table takes 5 seconds to run; in the case of the new table we let it run for 30 minutes and then killed the query. We updated statistics, but that had no result. We tried a rebuil... | ...the original table contains more data than the new table, which should theoretically mean that the new table should finish the query faster. If the execution plans were the same, this would most likely be true, but they're not. The number of rows expected (and the distribution of the data according to the statistics... | 4 | 4 | 1,650 | 2016-04-18T14:23:53.403 | database_errors | dba.stackexchange.com | |
294,852 | Samba - permission issue | I am trying to get samba to work properly... I have a "Movies" share (//server/Movies), I want only root account to be able to upload and delete. Guest can view "Movies" share without password/login but they cant delete/update (only view). [CODE] I can access to Movies share as guest but when I try to add new file I ge... | When you initially access (map/mount/...) the share, you provide a username. Any further access is then performed with this username. To change the account you would need to stop the connection and restart the access. The popup privilege-escalation pop-up you think of: here is no such functionality inside Windows. Sorr... | 2 | 1 | 2,636 | 2011-07-28T01:40:12.733 | infrastructure | serverfault.com | |
561,686 | AT command w/ 2008 R2 unexpectedly schedules task as repeating | In my organization we recently upgraded some servers from Windows Server 2003 to 2008 R2. In doing so we found a strange bug in how the AT command works. This is critical to an internally developed tool that deploys remote tasks to a large number of servers via AT. e.g.: I schedule a one-time job for the next Friday, b... | Nope. Microsoft built a better mousetrap and you will need to start using it. [CODE] replaces [CODE] . [CODE] is deprecated. From here : Schtasks replaces At.exe, a tool included in previous versions of Windows. Although At.exe is still included in the Windows Server 2003 family, schtasks is the recommended command-lin... | 4 | 5 | 918 | 2013-12-16T16:15:22.037 | infrastructure | serverfault.com | |
778,956 | Allow remote desktop service to dc from specified computers | I'm planning an architecture of secure terminals only to access DC's. So i have 2 computers which are secure and if i want to connect to the dc's i will have to log into those computers So what i did is deploy GPO's block the logins of ADM users in the workstations and soforth i'm not being detailed here because i have... | Windows firewall advanced settings allow you to restrict RDP to certain source IPs. Alternatively, you can use certificates on the clients . | 1 | 0 | 335 | 2016-05-25T12:53:44.380 | infrastructure | serverfault.com | |
1,089,365 | Why does SSH hang when using following nftables rules? | [CODE] Connection eventually works, but it takes much longer than anticipated. Running [CODE] , I see [CODE] before connections is finally established. If I run [CODE] , connection works immediately. | For incoming connections ALL external incoming packets match this rule: [CODE] as they come on interface which is not a local loopback and their destination address is definitely not in 127.0.0.0/8 network. I am surprised it goes through even after some timeout unless you also have IPv6 up and running. For all locally ... | 0 | 0 | 1,766 | 2022-01-07T22:17:13.307 | infrastructure | serverfault.com | |
736,350 | nginx force http header overwrite | We had some misplaced http headers on our sites set up for around one day which creates problems on some of our subdomains. Resolving this fault is pretty hard because the headers we sent are valid for a long time (182,5 days(!)) and so we cannot ask every user to reset their whole browser cache. Is it possible to set ... | It's not a server-side problem. This is how Strict-Transport-Security works, and if it didn't, it would be useless - it's browsers that remember this setting, and there's nothing you can do once visitors have seen them. The solution is to be very careful, and do not set this header unless you really mean it. That said,... | 2 | 0 | 2,282 | 2015-11-14T10:34:25.537 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.