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 |
|---|---|---|---|---|---|---|---|---|---|---|
705,955 | NGINX gzip_static not working | I have the following conf on nginx: [CODE] My goal is to serve the static content in that folder in gzipped form when available. I of course created files like: [CODE] I can reach each file and all the headers are correctly set as well as the etags. However, the gzip retrieving is not working. For example, I tested it ... | you're doing proxy_pass, that's the problem. serve those files from server itself, i.e. using "root /some/path" directive, and everything should work. | 1 | 1 | 3,119 | 2015-07-15T14:52:32.957 | infrastructure | serverfault.com | |
81,221 | updating millions of rows in multiple tables sql server 2005 | I have a situation where I am going to need to update millions of rows in 11 different tables. I only have to update 1 column in each of the tables but I was wondering what would be the most efficient way to do this? One thought was to drop the indexes on the tables temporarily and run update statements in batches of 1... | Most efficient is a fuzzy term. You're talking about updating about 122 million rows. If you start running naive updates now, it will probably finish before you can create a useful estimate. (I'd expect it to take about half an hour on my development machine. Updating 50 million rows takes 12 minutes.) Dropping indexes... | 0 | 2 | 192 | 2014-10-24T21:22:54.503 | database_errors | dba.stackexchange.com | |
471,464 | yum not updating /etc/rc.d/init.d/iptables | I have been hit by the bug https://bugzilla.redhat.com/show_bug.cgi?id=493226 (restarting iptables ignores values in /etc/sysctl.conf). This bug has been fixed by RH quite a while ago. The server has had yum update run many times since the RH fixed this bug. The lastest run, yum said everything was updated. However tha... | The solution seems to be in /etc/sysconfig/iptables-config to uncomment the line IPTABLES_SYSCTL_LOAD_LIST=".ip_conntrack .bridge-nf" Of course this only works if the patch has been applied. | 0 | 0 | 555 | 2013-01-22T18:03:34.430 | infrastructure | serverfault.com | |
1,141,090 | MariaDB 10.3.38 does not start after change from MySQL 5.7.41 | I replaces MySQL 5.7.41 with MariaDB 10.3.38 on Ubuntu 20.04. Unfortunately MariaDB does not start by itself over [CODE] : [CODE] If I try getting access with the command line I can access the databases and all tables are existing. [CODE] In the MySQL 5.7.41 I see that this SQL code is executed: [CODE] From MariaDB I g... | When mysqld starts up it automatically runs mysql-upgrade (or mariadb-upgrade in your case) as root. This startup mechanism does not know the password for the root user. On a default installation, the root user is configured with SO_PEERCRED authentication (i.e. does not need a password for localhost). You can revert t... | 0 | 0 | 646 | 2023-08-09T07:56:01.300 | database_errors | serverfault.com | |
318,872 | ADFS Encountered error during federation passive request | I have an ADFS Farm and 2 ADFS proxy servers. The proxies are NOT members of the domain. This morning the proxy servers stopped being able to serve up FederationMetaData.xml. The FS servers are working fine. The proxy server event logs are getting filled with errors of Event ID 364 which says "Encountered error during ... | It turned out to be an IIS issue. The fix that finally resolved the issue was to delete the "Default Web Site" which also includes the adfs and adfs/ls apps. After that I re-ran the ADFS Proxy wizard which recreated the IIS web sites and the afds apps. Note that running the ADFS proxy wizard without deleting the Defaul... | 1 | 2 | 20,919 | 2011-10-05T21:19:51.090 | infrastructure | serverfault.com | |
735,948 | Does launching more then one web container on a single docker host make sense? | Say there is an application powered by docker. There could be containers for database, redis, etc and actual web containers (in my case it is php-fpm & nginx). Alternatively, it could be a purely web node with only web containers running. My question - is there any benefit to have more then one such web container (php-... | It's unlikely to increase performance, unless each of your containers is constrained in the resources it can utilise, either by application configuration (eg. an insufficient number of [CODE] workers) or by the container itself (CPU or RAM limitations). The main benefit that multiple web containers on a single physical... | 1 | 1 | 239 | 2015-11-12T20:56:12.350 | pipeline_ops | serverfault.com | |
958,697 | Roundcube 1.3.8 + Memcached + PHP 7.3 | I'm testing out moving my Roundcube 1.3.8 install over to php 7.3. It's load balanced and I have been using memcache for session storage with php 5 without any issues: $config['session_storage'] = 'memcache'; [CODE] When I try out this same config on php 7.3.3 I get the following error: [CODE] I've been able to run a s... | TL;DR: Switch to redis. PHP 7 no longer supports php-memcache , and the project appears abandoned. Only php-memcached is supported. These are two different PHP APIs for using memcached. Roundcube hasn't been updated to use the new API, and apparently never will . A few distros are maintaining a fork of the old API but ... | 1 | 1 | 1,509 | 2019-03-17T19:23:34.380 | infrastructure | serverfault.com | |
989,805 | Syntax of proxy directive in virtual host - httpd | I came across a cofig file at work, but I am unsure if the syntax is correct. Based on the documentation from apache: https://httpd.apache.org/docs/current/mod/mod_proxy.html#proxy the proxy directive's context is "virtual host", which is absolutely correct. It seems it's perfectly fine to have a config like this one b... | Syntax-wise, both are correct. Choice should be entirely based on the requirement. It is also possible to place the whole [CODE] block inside a [CODE] . For instance, your above code can be rewritten as: [CODE] | 1 | 1 | 1,418 | 2019-10-29T17:06:41.840 | infrastructure | serverfault.com | |
594,128 | SCCM 2012 Client Auto-remediation breaks client | Our environment is running SCCM 2012 SP1 CU2. Our workstation base is 99% Windows 7, most of which are 64 bit. This post ( link ) shows details similar to what is going on. Basically, something goes wrong (doesn't matter what - I can find no pattern) and ccmeval decides to remediate the client. Unfortunately, it launch... | Ended up calling Microsoft. While I was working with them, which took a while, we upgraded to R2. The upgrade fixed the issue. So the moral of the story is, if you can, migrate to R2. | 1 | 0 | 864 | 2014-05-09T12:33:09.380 | infrastructure | serverfault.com | |
124,233 | Why is it impossible to produce truly random numbers? | I was trying to solve a hobby problem that required generating a million random numbers. But I quickly realized, it is becoming difficult to make them unique. I picked up Algorithm Design Manual to read about random number generation. It has the following paragraph that I am fully not able to understand. Unfortunately,... | One should look for a cryptographically secure pseudo-random number generator . Most PRNG are linear congruence generators (so [CODE] is a linear function of [CODE] ), so if you plot [CODE] vs [CODE] you'll get a chart of parallel lines. A CSPRNG will not do that. The trade-off is that they're slow. I group random numb... | 54 | 67 | 71,712 | 2011-12-09T15:54:44.487 | api_errors | softwareengineering.stackexchange.com | |
208,051 | How do I know what server specs an application will require? Metrics/KPI question | If you don't want to read all of this, the TL;DR is below... Background : We're a medium-sized eCommerce store which operates parallel to several brick and mortar stores under the same brand. We're switching from an older open source shopping cart to one of todays eCom beasts: Magento. We have an existing relationship ... | If it's for a product you've never used, then any formula that you've used in the past for other products will be meaningless. You're changing too many variables. Thoughts : Since you're moving to a commercial product, do they provide guidelines? If you're piloting this new product in their new environment already, why... | 0 | 2 | 184 | 2010-12-01T20:44:04.813 | infrastructure | serverfault.com | |
1,081,061 | How to install security patches on CentOS 7.x | I need to install several security and apllication patches. An example of a patch considered critical is below: Vulnerabilities 134087 - CentOS 7 : kernel (CESA-2020:0374)- Synopsis The remote CentOS host is missing one or more security updates. Description An update for kernel is now available for Red Hat Enterprise L... | [CODE] does not work with CentOS, due to the repos missing security tag information. You need to issue a more invasive, system wide update with [CODE] or, alternatively, to only update the affected packages. | 1 | 1 | 2,278 | 2021-10-19T21:28:37.760 | infrastructure | serverfault.com | |
169,994 | Prevent Flash file hotlinking from Amazon S3 | How does one prevent hotlinking of swf files from an Amazon S3 file system? Flash files don't send http referrers, so I've tried to set a bucket policy that restricts to certain referrers at Amazon, but no luck. And this typical anti-hotlinking .htaccess at my server doesn't work: [CODE] .htaccess and mod_rewrite does ... | The best way to do this is on your page have the code generate an S3 pre-signed URL that has a short lifetime. If, for example, the object is always downloaded in You can read more about signed URLs here: http://docs.amazonwebservices.com/AmazonS3/latest/dev/ShareObjectPreSignedURL.html | 3 | 3 | 392 | 2010-08-12T22:43:45.010 | infrastructure | serverfault.com | |
905,482 | LSI SCSI Card Slow With LTO4 | In a Ubuntu system I have an LSI card with a 53C1030 controller and I'm getting write speeds to LTO4 tape at only 4MiBps. The drive should be capable of 120MBps. I have found a copy of [CODE] and attempted to enable write caching but I don't have the proper options under the RAID menu. Is there some other form of confi... | Caching does not work on tape/sequential devices. Make sure that each SCSI channel is properly set up: exactly two active, LVD or LVD/SE terminators at least one device providing termination power no mixing of single-ended and differential devices no branches decent LVD cables - LVD cables use twisted pairs, no straigh... | 1 | 0 | 490 | 2018-04-01T04:01:19.057 | infrastructure | serverfault.com | |
219,612 | The result from Print (@SQLquery) differs from stored procedure exact result set | This is my query [CODE] I see something weird when executing this query. the problem is in "DateKe" column . as you can see below it gives me the exact form of the datekey I want But i see something different in the result set as you can see below : | You are missing quotes around the DateKey value. Without quotes it looks like (and is treated like) a number: 1397 divided by 01 divided by 01 is 1397. | -2 | 0 | 34 | 2018-10-09T07:06:55.107 | database_errors | dba.stackexchange.com | |
597,562 | Can't SEND attachments on Exchange 2013 OUTGOING emails | I have a fairly new installation of Exchange 2013 on Windows Server 2012 R2 on Hyper-V VM. I cannot seem to send any attachments other than text on any outbound emails. When I try, the email arrives with a short text file in place of the attachment, that says: The Attachment has been Removed. I thought attachment manag... | Check the file extension. For several versions, Outlook or Exchange (I forget which exactly) will always strip out certain files like EXE, VBS, PS, BAT, etc. Try a TXT file and see if the same thing happens. If that isn't it, check the Transport Rules. http://technet.microsoft.com/en-us/library/jj674307(v=exchg.150).as... | 1 | 1 | 2,018 | 2014-05-21T16:25:46.617 | infrastructure | serverfault.com | |
919,716 | Unable to access TeamCity when running under port 80 | After completing a fresh install of TeamCity and attempting to run TeamCity on a different port than the default (8111) using the below configuration in the [CODE] : [CODE] I am unable to access TeamCity on localhost. Running [CODE] yields the following results: [CODE] | Because port [CODE] is a privileged port, root access must be given during TeamCity's start up for it to be able to run on port [CODE] . [CODE] | 0 | 1 | 577 | 2018-07-06T04:57:27.653 | infrastructure | serverfault.com | |
35,563 | Unable to launch uiautomatorviewer in mac os high sierra | While clicking on UI-automatorviewer I'm getting below error: [CODE] PATH ARE LIKE THIS: [CODE] | The issue seems to be with the JDK version you have installed. From your Mac: Install JDK 8 . After installing it, update the JAVA_HOME with your JDK version: JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk[version].jdk/Contents/Home export JAVA_HOME Start a new terminal window Attempt to launch the uiautomatorviewer T... | 5 | 3 | 5,775 | 2018-09-09T16:01:46.300 | data_quality | sqa.stackexchange.com | |
693,029 | How to require password confirmation on file-delete? | Is there some way to require a group of users to confirm their password (or prompt them for an elevated password) when deleting files off some directories on the file server? We're having an issue with agents in one department deleting necessary files prematurely. There's ongoing work trying to retrain them not to blin... | Give them the read-only flag & some agent (like team leader) the modify flag. nb, We do that at our job in helpdesk team, or team that got a high number of new employees per year. (as usually those post get newcomer hired in the enterprise). That give time to those team leader to train the agent correctly. | 0 | 0 | 1,074 | 2015-05-19T14:16:16.153 | infrastructure | serverfault.com | |
329,438 | Should I create a new Model for a filtered view of Existing model? | I am new to MVC, and just inherited a project that is still in it's early stages. The scope is a user interface to manage a single SQL table. There is a model that represents the entire table (select * from table). The previous programmer also created several models that represent a single column (select columna from t... | A filtered view is a view. Not a model. A model is what owns state. Showing that state in different ways is not the job of the model. That's a view. That you have the same field existing in several models is a problem. That field needs one authoritative place to live. It's state there is what it IS. Everything else is ... | 1 | 3 | 45 | 2016-08-26T17:31:57.817 | data_quality | softwareengineering.stackexchange.com | |
47,591 | Should I be concered by large SERIAL values? | I have a Django application that uses PostgreSQL to analyze data from tweets. The data set increases by thousands of records with each request. I am using the database primarily as a cache, so I had planned to delete all records every 24 hours to permit new requests without needlessly increasing the size of the databas... | TLDR : If you're going to have more than 2 31 possible values change the column type to [CODE] . Explanation : The [CODE] type is a signed 32-bit integer and is designed for values less than 2 31 ( NOTE: that's 2 31 , not 2 32 as they're signed integers ). Here's the snippet from the PostgreSQL docs: The type names ser... | 1 | 4 | 3,108 | 2013-08-05T20:46:02.990 | database_errors | dba.stackexchange.com | |
326,355 | Can I have a PgBouncer connection pool per db instead of per role/db pair? | Users of my web app can create kubernetes jobs from the web app's UI. Each user has a dedicated role and password in a postgres database (hosted outside of the k8s cluster). Having a dedicated role and password is necessary because users provide a script that is executed in a job. A malicious user could read the env va... | Can I have a PgBouncer connection pool per db instead of per role/db pair? No. You need a role (user) name to establish a database connection. The purpose of the connection pool, such as PgBouncer, is to keep established database connections and reuse them, instead of opening a new one each time. While you can change a... | 2 | 1 | 405 | 2023-04-24T15:28:03.750 | database_errors | dba.stackexchange.com | |
1,013,897 | Forwarding separate Twilio menu options to separate FreePBX inbound routes | I have a phone number with Twilio that goes to a large Twiml application. Within the Twiml application, there are three certain menu options that forward the caller to a phone. Until now, the calls have been forwarded to several cell phones. Now we have a FreePBX server (RasPBX) with SIP phones and we want to use that ... | The trick to make it work is to use only numeric SIP Registration IDs. Then those IDs can be used as the DIDs in the Inbound Routes. I changed my SIP registrations from [CODE] , [CODE] , etc. to [CODE] , [CODE] and then I could use [CODE] , [CODE] , etc. as the DIDs for the Inbound Routes. | 1 | 0 | 111 | 2020-04-24T04:34:24.857 | infrastructure | serverfault.com | |
33,812 | Show processlist / Max concurrent connections seem to max out at 131 | When I put my database under a load test (basically just a basic write and basic read from our app), and run [CODE] in the middle of it, there is always 131 rows in the set and that's it. I'm running a master slave with 16GB of memory on each on a Joyent Percona instances which is based on Solaris 10. They are configur... | I once wrote about the kind of things to tweak when seeing output from mysqltuner.pl : Understanding mysqltuner Recomendations w/ Unused Catalogs Here is the kind of output it generates [CODE] From the output, you should keep watch on [CODE] [CODE] [CODE] If you see the [CODE] value, remember that is is made up of join... | 1 | 1 | 3,999 | 2013-01-30T08:13:24.547 | api_errors | dba.stackexchange.com | |
780,945 | High CPU Load on Synology by smbd | I have a Synology DS213j which I access through a VPN via the build-in VPN Server (I use OpenVPN) using Windows Explorer. Copying files to my local hard drive is very slow in the range of only ~170 KB/s. This seems to be limited by the Synologys CPU which is at 100%. Looking at the ressource monitor in DSM, it shows th... | First, this seems a common problem with DS213j and DSM 5.1+ . Someone reported that after a reboot, the problem went away: have you tried it? From your [CODE] data, it seems that the CPU is busy with [CODE] time, ie: doing some syscall. Try changing the following parameters in the [CODE] file and then restart the NAS: ... | 4 | 6 | 27,445 | 2016-06-04T11:50:25.537 | infrastructure | serverfault.com | |
31,783 | SQL Server 2008 R2 Database Diagram Error Code | I have sysadmin privileges on a SQL Server 2008 R2 server. I'm working with the development database and want to save a database diagram I created. When I try to save I get the following error message: =================================== [CODE] [CODE] I don't want to [CODE] the database at all. My goal is the save the ... | This can happen if your database was created in a previous version of SQL Server. You need to recreate the table [dbo].[sysdiagrams] or if you do not want to lose already existing diagrams try this: [CODE] | 3 | 1 | 1,100 | 2013-01-11T17:17:06.320 | database_errors | dba.stackexchange.com | |
557,484 | 12.04 Migration Process time delay | We have an issue in our server that is the migration process in taking time and also the load in the server is getting high due to that. [CODE] Have any one come across with this issue ? please let me know if there is any suggestion | "migration" is the kernel proces that distributes processes over cores, you should see one process for each core. Typically those threads consuming a lot of resources is only a symptom of another issue, not the cause of a high load. But: one method to prevent processes from migrating is to pin them to a specific single... | 0 | 0 | 926 | 2013-11-26T10:06:40.697 | infrastructure | serverfault.com | |
875,785 | Desired State for MsSQL and IIS (puppet or chef) | In our infrastructure, some developers/consultants change some mssql or iis configurations without any notification which cause us problems. For example, if somebody change mssql recovery simple to full our backup agent cannot take any backup. I wonder if there any way to set the desired state for both services and whe... | Install a monitoring system which checks for symptoms caused by those configuration changes. You also should remove permissions from consultants / developers to make changes to those settings, and tell them to ask sysadmins for configuration changes. You can also install Puppet agent as a service, which will run the co... | 0 | 0 | 79 | 2017-09-27T15:23:51.903 | database_errors | serverfault.com | |
336,319 | Debian + Nginx + Unicorn Rails 3 project permissions | Is there a security risk in running a web server like Unicorn as root? The Nginx master process runs as root, the Nginx worker runs as the limited www-data user, but I can't set another user like www-data to run the Unicorn master/workers without messing around with www-data's [CODE] . | it is absolutely a security risk. It means that if someone were to exploit unicorn into doing something it shouldn't be doing, they get to have root permissions on your box instead of the extremely limited www-data permissions. You should be able to just modify the PATH in the scripts which start unicorn. In any case, ... | 0 | 0 | 354 | 2011-11-30T17:46:03.560 | infrastructure | serverfault.com | |
726,907 | Why was I able to delete a file owned by root in my home directory without being root? | So I was doing some maintenance on my server earlier today and noticed I was able to delete a file owned by root in my home directory. I was able to reproduce a sample: [CODE] My question is how was I able to delete a file that's owned by root and has permissions [CODE] , while I'm not root? | The permissions, content and all attributes are part of the inode. The name is in the directory entry. The permissions are not inherited recursively (except when you use default in Posix ACLs). When you delete a file, internally you just remove a hard link from the directory entry to the inode. When all hardlinks are r... | 48 | 39 | 10,743 | 2015-10-05T21:07:01.097 | infrastructure | serverfault.com | |
401,726 | Is defining an empty class for representing a domain entity necessarily a sign of bad architecture design? | I am currently facing the following scenario: When defining the requirements of my system on a piece of paper, I described two different entities [CODE] and [CODE] (e.g. [CODE] and [CODE] ) After listing what [CODE] and [CODE] should do, they ended up having the exact same behavior requirements (e.g. the behavior of an... | After all, my requirements talk about dogs and cats, not animals. But at the same time, empty classes are usually a smell. Have a discussion with your domain experts about why they specifically use the words "dog" and "cat" instead of a more generic word like "animal" or "pet". I can think of a few possible outcomes: D... | 4 | 14 | 434 | 2019-11-27T20:29:41.800 | api_errors | softwareengineering.stackexchange.com | |
952,547 | How can Amazon send emails from other email services? | Suppose I register an Email address on Gmail for instance. I verify my address(not domain) in Amazon Simple Email Service. Then I send emails using Amazon from this address. Who actually does the sending? Amazon or Gmail? How can Amazon connect to Gmail and any other Email service when there are so many of them? Does G... | Emails are sent using the SMTP Protocol that originates in the early 80’s. Back in those days everyone connected to The Internet pretty much trusted each other, it was very much an academic / research network. Hence, thanks to these origins, the SMTP protocol provides virtualy no protection against the current threats ... | 0 | 8 | 993 | 2019-02-06T09:28:15.117 | infrastructure | serverfault.com | |
134,006 | lack of update in xen kernel has any relation to guest operating systems? | due to these two problems I've coped not able to install g++ and gcc on debian also there is another link but due to my low reputation I couldn't put it through. I just wondering whether the hosted operating system (XEN) has any relation to its guest operating system or not? and when I type uname -r on my VPS it shows ... | As far as I can tell, there is no relation between host (dom0) and guest (domU). For dom0, you can even use NetBSD or OpenSolaris, while running a Linux domU. The kernels used need to have the appropriate modifications, however. For Linux, the dom0 server patches have not been incorporated in the kernel. The last kerne... | 0 | 1 | 245 | 2010-04-20T08:41:15.410 | infrastructure | serverfault.com | |
625,590 | Troubleshooting blocked/dropped ports on Sonicwall firewalls | Short of enabling packet capture/monitor on specific rules/policies, is there an easier way to see or to setup a Sonicwall to show blocked ports/services (realtime or as a report)? I think packet capture is an overkill. I do not want to see content of packets, I do not want to see Accepted/Forwarded packets, I just wan... | According to SonicWALL's Log Event Reference Guide , the UTM only logs up to 32k and then flush the logs. Log Persistence SonicOS currently allocates 32K to a rolling log buffer. When the log becomes full, it can be emailed to a defined recipient and flushed, or it can simply be flushed. Emailing provides a simple vers... | 1 | 1 | 16,913 | 2014-09-02T02:26:45.857 | infrastructure | serverfault.com | |
324,884 | MySQL - Show Month and Dates | MySQL version 5.7.29-log My table (events) has EventID, EventTypeID, StartDateTime, EndDateTime I want to extract the month's name and then the dates of the records for that month, and output as follows: "September: 21, 22, 30". Each row should show the output for any records that have events in that month, e.g. [CODE]... | It's still not awfully clear what you want to achieve, as your sample only contains one even per month per event type, but perhaps this will get you going: [CODE] fiddle (which you should have created by the way). | -1 | 0 | 42 | 2023-03-17T20:22:35.527 | database_errors | dba.stackexchange.com | |
667,148 | SNMP error setting up Cacti with CentOS | I'm trying to get Cacti, which runs on one VM, to graph the data from another VM. However I'm facing an SNMP error despite my efforts. The two VMs are running as NAT connection on VMWorkstation. The I.P. for the cacti host is 192.168.1.33 while the I.P. of the CentOS system I am trying to get into is 192.168.111.130 . ... | Seems like a NAT traversing issue. Your VMs are in different subnets, so they are communicating through the router. You should take tcpdump and diagnose whether VMs are seeing each other requests/replies. | 0 | 0 | 1,843 | 2015-02-12T16:09:16.147 | infrastructure | serverfault.com | |
58,326 | Restore PostgreSQL data using PITR | I am unable to restore the database to a previous time using the PITR steps mentioned on PostgreSQL website Article 23.3.3. Recovering with an On-line Backup ( http://www.postgresql.org/docs/8.1/static/backup-online.html#RECOVERY-TARGET-XID ) The following are the steps I followed: I made the below changes to postgresq... | First, never, ever, ever delete anything from [CODE] , ever. You will corrupt your database. Now, on to what you've misunderstood about all this: I have checked multiple times by dropping tables and trying to restore the database to an earlier state. Is there anything that I am missing? PITR doesn't work like that. It ... | 0 | 7 | 2,939 | 2014-02-05T22:06:57.910 | database_errors | dba.stackexchange.com | |
919,928 | Can't login to IMAP/POP3 server external | I have installed Postfix, Dovecot and MySQL via this tutorial ( https://www.linode.com/docs/email/postfix/troubleshooting-problems-with-postfix-dovecot-and-mysql/ ). When I do the following command, I get the following response: [CODE] I can login to my virtual accounts via the console, but when I'm using this PHP-scri... | Basically you [CODE] an IMAP stream to a mailbox, do nothing with it and leave it open without [CODE] . As there's nothing to print out, yet the script hasn't finished, empty page keeping loading is expected . You can probably confirm this from [CODE] showing the connection. After your [CODE] , try e.g. this from examp... | -1 | 0 | 2,170 | 2018-07-07T17:02:10.910 | database_errors | serverfault.com | |
386,757 | Use different relay in postfix | In our application, we send different kind of mails. On a broad view we can generalize it in two category, Mails which monitor the health of the app. Mails which we send to end user. Is there any way(Setting some header/configuring some parameter in postfix), such that for the same sender address, we can use different ... | In postfix, you can use transport_maps to specify different relay hosts for different domains. In file [CODE] , you need to include a line: [CODE] The transport maps file has the following syntax: [CODE] Don't forget to run [CODE] to generate the [CODE] file and then reload/restart postfix process. | 3 | 3 | 5,154 | 2012-05-07T16:50:16.767 | infrastructure | serverfault.com | |
138,915 | CASE with max() | I know how to do this in SQL Server but Postgres is different. I want to return the max employee pay. [CODE] This produces an error: ERROR: argument of CASE/WHEN must be type boolean, not type integer How can I return the pay from [CODE] ? The [CODE] table datastructure is [CODE] , [CODE] , [CODE] , and [CODE] . This t... | There are many ways to do this. Many will work both in SQL Server and Postgres, like using the [CODE] function: [CODE] By the way, if you want the latest pay, why is the [CODE] should be used and not the [CODE] ? It would make more sense. Another, proprietary Postgres way to do this is using [CODE] : [CODE] And another... | 0 | 3 | 15,203 | 2016-05-18T17:28:11.590 | database_errors | dba.stackexchange.com | |
512,961 | Need an efficient data container. Moving from storage to memory as quickly as possible | Problem : I need to copy a large block of data from a remote location into system memory as quickly as possible. Scenario : I have a data processing system. The system is built via shell scripts on-the-fly using multiple components that are pulled in from remote locations. One of those components is a large block of da... | My initial research into the ISO container was apparently incomplete. The ISO container seems to be the most efficient, for purpose of being able to quickly get to the contents. This is based on what my research has been able to uncover, and could of course change. Packaged in an ISO I am able to: store the data remote... | 7 | 0 | 265 | 2013-06-03T22:14:59.420 | pipeline_ops | serverfault.com | |
29,201 | Xen 64bit Install | Trying to install Xen on my 64bit O/S (Centos 5). Using this guideline: http://www.howtoforge.org/paravirtualization-with-xen-on-centos-5.3-x86_64 [CODE] I created a new one called vm02 But I'm stuck at the configure tcp/ip screen. The "sending request for IP..." disappears and shows the default configure tcp/ip screen... | Regarding the first error, try looking in /etc/xen for a file called 'vm01' and deleting it, also, try running 'virsh' and then 'list --all' to find the "offending domain". You can the use "undefine " to remove it. As for the second problem, are you sure you have a DHCP server on the network? Are you sure you've connec... | 0 | 1 | 1,733 | 2009-06-20T19:30:48.263 | infrastructure | serverfault.com | |
667,995 | Forward proxy for webservices with SSL client certs | I have lots of servers which access various external webservices, most of which use SSL, some of which require client certificates. I would like to centralize the configuration of client certs and dissociate the presentation layer from the underlying servers. While I could use Squid to proxy the requests, I can't see f... | After digging in further I decided to use back to back instances of pound. I also considered using stunnel or haproxy, but pound deals with the SSL stuff and has a basic capacity for manipulating http headers. | 7 | 0 | 4,976 | 2015-02-16T10:40:33.747 | infrastructure | serverfault.com | |
221,010 | XML/SQL Server 2008 Error: XQuery...Cannot implicitly atomize or apply 'fn:data()' to complex content elements | Update 10/30/2018. Just in case anyone is interested, I have started to document at the end of this post what I'm actually doing to solve this, just because I've found some interesting things. Disclaimer! I'm new to a lot of this. I've had fairly limited self taught exposure to SQL server, VBA, XPATH, XSD, XML and a ye... | What am I doing wrong with that xpath expression in the query? You should put the [CODE] element in the predicate [CODE] A working query would look something like this where [CODE] has the entire XML: [CODE] What can I do to speed up the import of the XML file into the column? Nothing as far as I know. I would however ... | 3 | 2 | 678 | 2018-10-25T16:02:39.670 | database_errors | dba.stackexchange.com | |
277,900 | Migrating puppet clients to new puppetmaster | How can I migrate our existing puppet clients to point to a new puppetmaster server? I'd rather not manually go to each client box and generate a new certificate. When trying the obvious -- rsync all the files from /etc/puppet and /var/lib/puppet to the new server -- we got the certificate error [CODE] I was able to wo... | Are you looking to keep both puppet masters up and running for a time, and migrate clients over a little at a time? If so, you're stuck touching each client system regardless; whether it's to point to a new master, or add a hosts file entry, or some such. If that's the case, then you might as well just start the new ma... | 8 | 3 | 6,576 | 2011-06-07T16:10:51.410 | database_errors | serverfault.com | |
878,087 | Executing image file on a shared folder fails but opening from explorer works | On a computer with Windows 7 (virtualized PC on a server) I have a shared folder [CODE] Security is set to [CODE] can [CODE] , [CODE] , [CODE] . Sharing is set to [CODE] & [CODE] for the domain user in question. I have a problem when I try to run an image file by entering its UNC path to Run dialog, or doubleclicking t... | Change the share permisisons to Everyone Full. This will exclude it from being a possible cause. Then change permissions to everyone read, then re-test and if still an issue reduce the permissions further. It does sound like the permissions on the folder CH0 are different to the permissions on THUMB. Are the permission... | 0 | 1 | 149 | 2017-10-12T08:19:20.777 | infrastructure | serverfault.com | |
83,041 | How do I stop MySQL from loading Mono libraries when it won't start? | I am getting an error when I try to start MySQL on my Ubuntu Server 9.04 machine: /usr/sbin/mysqld: /etc/mono-1.9/lib/libz.so.1: no version information available (required by /usr/sbin/mysqld) This prevents the MySQL daemon from starting. It appears that Mono integrates into MySQL, but I am not sure how this is done. H... | Mono does not integrate into MySQL (that I know of), but it sounds like the version of libz that ships with Mono is being given priority over the one that ships with Linux (typically in /usr/lib or /usr/lib64). You should probably check your [CODE] environment variable, and anything else that affects where shared libra... | 0 | 2 | 268 | 2009-11-09T21:18:10.013 | database_errors | serverfault.com | |
348,181 | How to test functionality that only creates input to a large middle-ware dependency | I am a new lead developer that has recently started at a new company, I have been assigned to a project that is trying to consolidate functionality from lots of different applications already in widespread use in the business. The problem is that their software development/project management are in the dark ages. I hav... | A large piece of middle-ware that contains the vast majority of the business logic and controls the data access If you know the data source, you can start from there. If it is basically doing CRUD operations behind the scenes, you can test those by querying the database, running the tests, then querying the database ag... | -1 | 0 | 77 | 2017-05-02T08:54:41.760 | api_errors | softwareengineering.stackexchange.com | |
187,157 | Quesiton about sub-domains | If I'm using a sub-domain for my clients access to a web application (e.g. [CODE] ), and I want client's to optionally use their own domain (e.g. [CODE] ), do you think it is advisable to have them point their [CODE] CNAME to [CODE] and forward all [CODE] to [CODE] so that [CODE] is always accessed via the [CODE] versi... | from a URL perspective the domain CNAME could work. However, depending on your webserver you should be able to create for example a virtual host in apache that listens for either the domain or subdomain address and so all that would be needed is a proper A record in their DNS. As for the mapping. I don't know how CNAME... | 0 | 1 | 86 | 2010-10-03T22:36:16.100 | infrastructure | serverfault.com | |
42,987 | Running out of memory while processing csv file data | I'm getting an error while processing 0.2 million of text data. I'm using CNN text classification in tensorflow. Output raw data shape is 204177x22000. while passing to numpy.array(out_raw), here it is consuming 100% memory(Using 8GB RAM). Tried with data in batch but didn't work. If i need to increase my RAM size then... | Like @Sagar said, you could convert your pipeline to pyspark (So Spark with python API), and you can set your memory usage to not go above 1G of RAM for example and this will be faster because of the parallelization. You can try to use generator with Tensorflow, that will fit back and forth your data so it never explod... | 2 | 2 | 788 | 2018-12-21T04:42:31.150 | data_quality | datascience.stackexchange.com | |
123,622 | GNU watch - how do I make it read my environment (aliases, functions, etc) | This one has been bugging me for a while: I want to use the marvelous GNU [CODE] command to run a few custom aliases and functions that are defined in my .bashrc, but it is never able to run anything except bash built-ins or binaries. [CODE] The output is always: [CODE] How can I make it inherit my environment or use t... | Do something like this [CODE] this should call bash, load your settings and then run whatever command you have after the [CODE] | 5 | 7 | 2,922 | 2010-03-17T23:09:41.467 | infrastructure | serverfault.com | |
1,118,377 | Use OpenSSH to make a key exchange with NTRU Prime | I would like to make a key exchange for a symmetric key from the client to the server with the NTRU Prime algorithm (for test reasons). I already installed OpenSSH 9.1 on both sides and checked already if everything is working (connection, key exchange part of it etc.). It is. However, I am not sure how I do exactly ke... | In simple terms, SSH first uses a key exchange algorithm to securely exchange a symmetric key, which is used in encrypting the connection. Add the option "-v" to your command and you'll see all the gory details of establishing a ssh connection. Look for a line containing "kex: algorithm:" showing you the actual key exc... | 2 | 1 | 328 | 2022-12-19T08:44:23.230 | infrastructure | serverfault.com | |
117,272 | Anti-spam software for Cent OS 4.8 w/ cPanel | My company has a dedicated server running CENTOS Enterprise 4.8 with cPanel. We host our own websites as well as about three dozen client websites. We recently migrated our clients over from a Rackspace email solution and many of our clients are complaining that they are getting a lot more spam now. We do have SpamAssa... | I recommend MailScanner . It's a significant improvement from SpamAssassin alone, and can provide anti-virus protection as well. I've used it for 5+ years. Recently, we upgraded to a cluster of hardware-based anti-spam/anti-virus scanners. | 1 | 1 | 158 | 2010-02-26T19:09:36.480 | infrastructure | serverfault.com | |
78,112 | SQL Server 2008 data directiories in SSD | I am going to install a new SQL server 2008 instance on my development/testing machine. My machine have one 7200rpm 500GB SATA Disk (C:OS) and one Intel X25-G2 80GB SSD(D:). Details machine config is as follow: CPU:i7 860 RAM:8GB Microsoft said I have an option to place following directories in different disk. So I pla... | So this is your personal machine and not a server? I'd put all the database files on the SSD. SQL actually writes changes to the data files infrequently. Changes are written to the transaction log immediately and then written out to the data file by lazy writer at some point in the future when the IO subsystem isn't bu... | 1 | 1 | 2,252 | 2009-10-25T16:06:51.220 | database_errors | serverfault.com | |
357,130 | CURL not working in node.js in CentOS 5.7, but works fine in debian 2.6.32-5 | working on an app in node.js, On the test server (debian 2.6.32-5) it works flawlessly, on CentOS 5.7 I get an error. using the curlrequest node.js library, and the error that comes up is "failed to initialize". I tested curl from the command line and it works fine. I'm thinking it might be a permissions problem? | The issue was with --no-keepalive being used in the curlrequest package. The version of curl that is installed on the CentOS machine doesn't support it. Removing that solved the problem. | 0 | 0 | 524 | 2012-02-06T05:48:51.117 | infrastructure | serverfault.com | |
262,932 | Can Dell power vault nx 300 work without active directory? | I am struggling to find this solution... Dell customer support is not helping with this issue. They are asking money for the support. I cant get any info from google regarding the configuration. | It is just windows 2008 underneath. Without AD it'll work but you'll have to sync local passwords up manually and some features eg. domain based DFS will be unavailable. | 0 | 1 | 167 | 2011-04-24T15:31:56.500 | infrastructure | serverfault.com | |
1,146,508 | keytool error: java.security.cert.CertificateParsingException: signed fields invalid | I have a X509 certificate pem file I got from Mongo Atlas. I'm trying to import it into the keystore like so: [CODE] But I get this error: [CODE] My pem file contains a cert and a private key: [CODE] So I separated them into cert.pem and key.pem and then tried adding them: [CODE] I get a different error for the cert, b... | The issue was that the alias name was the same as my keystore alias, causing a conflict. So doing this fixed is: [CODE] | 1 | 0 | 1,035 | 2023-10-24T20:29:36.037 | pipeline_ops | serverfault.com | |
642,767 | Querying for Disabled AD Users in PowerShell | When running a query such as [CODE] the Enabled column has a lot of null values (I was expecting true or false only). Why is this? Is there a better command to get the enabled/disabled status of user accounts? This is on a 2008R2 domain. | Are you running this from an account that has the permissions to read these ADUser properties? Do you, perhaps, need to elevate the Powershell session? I ran this on my 7000+ account domain and all values were either true or false, no blanks. | 1 | 4 | 1,672 | 2014-11-07T15:51:55.920 | data_quality | serverfault.com | |
243,143 | SQL Server 2016 - Disparity Between View Definition and View Design | I've run into an interesting issue with some databases I've inherited, and could use some help unpacking it all. The Issue After adding a column to a table, views selecting * from that table are now breaking in strange ways. The best way for me to illustrate is to repro it, so here goes. Repro Here's my table definitio... | The view will run according to it's metadata, which is no longer correct. If you run sp_refreshview, it should work correctly. [CODE] | 1 | 2 | 107 | 2019-07-18T04:47:32.500 | database_errors | dba.stackexchange.com | |
318,446 | MS SQL Performance Monitoring over longer period | I am having an issue where the DB resources are being used up by someone in the business external to the application. Ignoring how unsafe and incompetent this is as it's not my business, how can I see the CPU usage of the DB server over a longer period of time. I use SysGauge to monitor the live statistics of the serve... | There is quite a lot. DBADash is opensource and great Database Health Monitor Solarwinds DPA RedGate SQL Monitor Quest's Spotlight Nagios Plugins Microsoft System Center Managment Packs to name but few. | 1 | 5 | 226 | 2022-10-20T09:09:02.747 | pipeline_ops | dba.stackexchange.com | |
1,141,195 | Hyper-V cluster-joined host chooses wrong NIC to send SMB traffic | I have the following scenario: Four Hyper-V host servers running Windows Server 2019, joined in a Hyper-V Failover Cluster. Each server has the same network config - a Management network (Cluster and Client communication configured), and a couple of other networks - for CSV, LM and iSCSI traffic, etc., all of which hav... | This is the default behavior of Windows Server Failover Cluster nodes. It will routinely test every possible internode pathway looking for superior routes and increased redundancy. Unless it's causing problems, it's best to let it be. I have not explored any way to force it to stop doing this, but any solution would am... | 1 | 0 | 223 | 2023-08-10T08:02:29.463 | data_quality | serverfault.com | |
269,074 | How to split a list of number into ranges with a fixed interval with SQL? | Let's say I have a table like this I want to calculate the frequency ( How many times that product exists in that price range ), in intervals of "50" So eventually it will give me a table like Interval for range will be lets pretend a fixed 50 We don't know highest and lowest price of these each products. So I will run... | [CODE] | 1 | 0 | 2,111 | 2020-06-13T08:27:16.417 | warehouse_errors | dba.stackexchange.com | |
14,974 | pg_upgrade fails with an unspecified error | I’m running Postgres 9.1’s pg_ugrade to migrate from 9.0 to 9.1 on Windows x64. After editing the permissions to allow full trust, running the tool as the postgres user, and working around a bug whereby pg_upgrade leaves the "old" store locked and refusing to run again ("there seems to be a postmaster servicing old clu... | Basically pg_upgrade is production ready. Unfortunately the early builds of 9.1 had some bugs related to pg_upgrade and Windows. These were fixed in 9.1.3 as far as I know. | 1 | 2 | 1,477 | 2012-03-14T10:42:43.767 | warehouse_errors | dba.stackexchange.com | |
287,203 | Exchange 2003 > 2010 Migration | I have an Exchange migration in progress at the moment. A few users are on Exchange 2010 and most of them are still on 2003. Now, the issue is that things like calendars can't be viewed across 2003 and 2010 users. 2003 users can only access other 2003 calendars and such. I expect that this is because the public folders... | Microsoft has docs describing the procedure in both the GUI and from PowerShell. This assumes you're using Exchange 2010 SP1 (which you really should be). You'll need a public folder database on the E2K10 server to replicate into, obviously. You can background about creating one from Microsoft, too. Once you've got the... | 1 | 4 | 137 | 2011-07-05T18:08:43.430 | infrastructure | serverfault.com | |
85,933 | SELECT permission denied trying to import data into Excel | We recently migrated to a newer version of a program and migrated its database from SQL Server 2000 to SQL Server 2008 R2. We had some Excel files which ran a few custom queries to pull data. I changed the values in the connection string to reflect our 2008 R2 setup: [CODE] Trying to do a refresh in Excel gives the err... | After reviewing your error. I tried to setup in my TEST environment and I have received an error. If you setup connection from Excel and after selecting specific tables to test go to connection properties. You will be able yo see connection string. Try to verify it with your query and see if it is changing any paramete... | 4 | 1 | 4,450 | 2014-12-11T15:34:55.517 | database_errors | dba.stackexchange.com | |
1,052,466 | Nginx subdomain + subfolder to subfolder | The goal is to load pages from blog.example.com/blog using example.com/blog and all the posts, categories and authors. [CODE] Gives a 500 error | If the URI is passing through unchanged (e.g. [CODE] -> [CODE] ) then you do not need a [CODE] and you do not need the optional URI part on the [CODE] statement. See this document for details. The syntax of your [CODE] statement is wrong. You are using a regular expression without the appropriate operator [CODE] or [CO... | 1 | 0 | 192 | 2021-02-05T06:16:29.043 | api_errors | serverfault.com | |
269,133 | Configuring second NIC knocks server off the network | Yesterday I spent 4 hours trying to get my network's DHCP/DNS/SMB server back online. Long story short, it took numerous wildly frustrated shots in the dark (no DNS = no internet resources for help) and no fewer than half a dozen reboots to finally restore my server to functioning order. What precipitated this was conf... | Couple of notes: If you have a bond with two ports connected to the same unmanaged switch, it won't support the necessary protocols to bond the ports together. You must use [CODE] No, your previous configuration won't affect your setup now. The martians are a result of having two NICs on the same subnet. They're being ... | 0 | 2 | 1,824 | 2011-05-12T17:44:24.777 | database_errors | serverfault.com | |
904,798 | Firefox ESR 52.5.2 Auto Enable Add-On | Is there a way to force a specific add-on to always be enabled? During certain software updates the add-on in question is automatically disabled (No idea why) and because this add-on is required to use the web applications that our users use on a daily basis. While some users call a few times and are able to remember t... | It's not that easy to force a single add-on to be enabled without affecting other addons, as there's no own configuration parameter for each extension. To see what would be needed to modify, you can use [CODE] and compare configuration parameter [CODE] when a single extension is enabled and disabled: enabling an extens... | 0 | 0 | 172 | 2018-03-27T13:34:27.570 | infrastructure | serverfault.com | |
230,872 | Using a single table for identity and metadata | I'm in the early design phase of a project to provide an e-commerce platform that will require several entities to be modelled, products, customers, orders, CMS pages, etc. They will all have a few things in common (ID, creation timestamp, last modified timestamp, etc). My first thought was the usual one of giving the ... | You are designing your system in the incorrect order. You need to develop your business objects first. I know you are developing your DB first because you are trying to impose patterns on it that belong in your business objects. You are also making the common mistake of thinking that there can only be one ID because yo... | 2 | 3 | 1,400 | 2014-03-01T11:17:38.320 | database_errors | softwareengineering.stackexchange.com | |
244,085 | SMTP host name vs. domain in "From:" address vis-a-vis Email Deliverability | I'm trying to implement (or make sure that I'm correctly following) email sending best practices to improve deliverability, but the role of the smtp server's host name vs the domain name of the [CODE] email address seems to be unclear, even after reading dozens of people's articles/input. Specifically, I understand tha... | Note: There's some opinionated ranting in this. You're free to ignore it :) Ok, this is email we're talking about, so we should start by saying there is simply no way to guarantee deliverability of a message. SMTP was devised in a quieter, more trusting time. Since then, many people have implemented what they see as th... | 6 | 8 | 8,893 | 2011-03-07T07:07:44.250 | infrastructure | serverfault.com | |
1,089,560 | PHP socket connection through XR300 router to a receipt printer | I have a PHP application which is attempting to open a socket connection to a printer through my router. A couple things to note - my networking skills are lacking so I may be missing something obvious or this may not even be possible in the way I want it to be. That being said, I have done a bunch of searching on the ... | Then I wonder about the 0.0.0.0 gateway in the printer's network config. It would mean that your printer can connect to any IP address directly. Under normal circumstances, a system will only be able to communicate directly with other systems in its subnet (see the mask). For wider reach it'll need to go through a gate... | 0 | 1 | 196 | 2022-01-10T14:22:49.517 | pipeline_ops | serverfault.com | |
243,566 | Execute SSIS procedure from stored procedure using non-privileged SQL login | I have a web app running on a different server that uses a SQL based login (not a windows based login) to connect to the SQL server. That app is calling a stored procedure that is located in a database other than SSISDB and the stored procedure is attempting to call the following SSIS procedures: [CODE] When the attemp... | As far as I know session started with SQL Server authentication will not let you create security context outside of SQL Server (because the only external context available is SQL Server service account and EXECUTE AS will not let you impersonate SQL Server service account for external access). SSISDB procedures has to ... | 0 | 1 | 1,143 | 2019-07-23T16:11:11.757 | database_errors | dba.stackexchange.com | |
535,826 | Getting 504 Browser Errors, SSH accessable | I'm getting a 504 Bad gateway error when I try to browse to my site directly by entering the URL, however I can SSH into the publicly accessible machine by using the ip address and the url instead of the ip. On my android phone I see the bad gateway, and in chrome browser it simply says the :Oops! Google Chrome could n... | First find out where that 504 message is comming from. Apache doens't have that error page defined in its conf file by default (check it anyway to make sure) so I bet you are getting this error from some other intermediate system that acts as a manager for the http protocol, try to narrow that down first. If you are us... | 0 | 1 | 365 | 2013-09-03T08:58:18.923 | database_errors | serverfault.com | |
574,374 | Apache Error - child process [xxx] still did not exit, sending a SIGTERM & ServerContext: 1 leaked_rewrite_drivers on destruction | I have many error log entries called [CODE] AND [CODE] does anyone has any idea on how to fix these errors ? | Issue regarding child process does not stop... and in case many child make same case it going to KILL and Stop Apache2. I found same concern with Apache2 with proxy. On my cloud server have huge traffic and lot customer instance so same issue whole week I monitor and found, connectiontimeout=150 timeout=600 #SnippetBuc... | 2 | 0 | 7,060 | 2014-02-10T03:15:13.833 | infrastructure | serverfault.com | |
376,881 | Is it good practice to use data API for access cross platform | All, Question : Should I have a common data access API between various cross platform applications or keep the data access specific to the UI even though it would result in duplication? Background : I’ve been developing various applications many with sub applications to interact with various pieces of our internal serv... | What you appear to be missing here is a good story for what happens between your data access layer and your user interface. Should you have a common data access API? Of course. But your UI will not necessarily be getting data directly from your data access layer. Why? Because the data that your UI needs might look diff... | 1 | 2 | 228 | 2018-08-14T20:00:17.420 | data_quality | softwareengineering.stackexchange.com | |
58,217 | How to correctly set a target for a time series based model? | I need help determining the best way to go about creating the target variable for a machine learning model that is trading a financial instrument (stocks, foreign currencies, crpyto, etc). Below is some sample data to help with answering the question. [CODE] My ideal scenario is when price_good occurs before price_bad.... | You've got an interesting, if over analysed question. I would just say your question itself limits your potential profit. You want to give your computer more choice in this matter. the whole price_good, price_bad approach is price_bad. The computer should decide EVERYTHING in this game and you will want to build in a c... | 3 | 1 | 331 | 2019-08-26T14:59:42.027 | data_quality | datascience.stackexchange.com | |
72,359 | Windows Server 2003 SBS cannot download files | I have an extremely bizarre issue on one of SBS2003 servers, belonging to my client. Server cannot access some URLs. I can access simple sites, such as google, but every time I'm trying to go to msn.com, or mozypro.com the site will timeout. With that said, server is responsive, it will access network, open files. Othe... | The issue turns to be not in the server itself. DSL router was running firmware which somehow messed up the traffic going from the server. | 0 | 0 | 1,227 | 2009-10-07T23:50:55.310 | infrastructure | serverfault.com | |
87,661 | group similar subjects and train only using them | I have a dataset with 5k subjects. It's a binary classification problem where I have 3000 positive and 2000 negative subjects. Now to build a model, I don't like to train the usual way (where we build a generalised model). Instead I would like to group similar patients together like group1, group2, group3, group4 etc. ... | Clustering would indeed give you something like group1, group2, etc., i.e. it would assign every instance to a group meant to represent similar instances together. With the model you could also assign any new instance to one of the groups in the model, i.e. find the group that this instance is the most similar to. In g... | 1 | 2 | 472 | 2021-01-08T01:42:57.303 | data_quality | datascience.stackexchange.com | |
538,890 | Nginx: expires header not working | I'm having issues with the [CODE] header field. The following nginx rules give me this header (no expire header). Ideas why the expires headers arn't being passed? Header for: /css/v1/afile.css [CODE] Nginx config: [CODE] | The following should work to display the expires header that was set in the same location block... [CODE] As per Nginx wiki, try_files should end with a URI or with a status code. You may get more information on why expires aren't set, if you enable debugging in Nginx . Update : Ideas why the expires headers arn't bein... | 2 | 6 | 6,013 | 2013-09-14T07:36:28.797 | infrastructure | serverfault.com | |
8,043 | Optimizing parameters for a closed (black-box) system | I am working on a problem that involves finding optimal parameter values for a black-box system. This system consists of 6 inputs and produces a single output. I can compare the returned values to observed values to determine whether the system is well calibrated based on the parameter values I specified. The main prob... | There are lots of function optimising routines that could be applied, based on the description so far. Random search, grid search, hill-climbing, gradient descent, genetic algorithms, simulated annealing, particle swarm optimisation are all possible contenders that I have heard of, and I am probably missing a few. The ... | 5 | 3 | 2,260 | 2015-09-08T17:51:50.850 | data_quality | datascience.stackexchange.com | |
1,029,789 | How to change the default certificate chain in Kubernetes Ingress | I'm using AKS on Azure and Ingress with Let's Encrypt certificate (configured by https://docs.microsoft.com/en-us/azure/aks/ingress-static-ip ) The certificate chain defaults to [CODE] but I would like to change it to alternative [CODE] https://letsencrypt.org/certificates/#cross-signing says Almost all server operator... | If you are using cert-manager , optional control of the intermediate certificate isn't available yet . That doesn't stop you from issuing your own certificate with certbot which has added support to select the chain and installing that on the ingress . [CODE] Any unknown value for [CODE] will give you the default chain... | 3 | 2 | 2,123 | 2020-08-12T09:34:53.753 | pipeline_ops | serverfault.com | |
260,160 | IIS: "The resource cannot be found" over https, but everything works fine over http | I am configuring a REST Service using IIS, and everything works fine over http. However, when I switch to https, I see: [CODE] I'm new to IIS and have no idea what the problem could be. Any help would be appreciated. Thanks! | I had this problem, but for a completely different issue. Make sure you compile your site before deploying it. I had some pages that were compiled and some pages that were not compiled. It took me so long to figure out because when I tried viewing these pages on the application server (Windows Server 2008), it wouldn't... | 2 | 2 | 18,484 | 2011-04-15T15:49:40.567 | infrastructure | serverfault.com | |
65,834 | External routing for local interfaces in a virtualized network | Current setup: [CODE] The pipe program is a custom program that forwards data back2back between two tun interfaces. The idea is puting 2 programs in .2 and .3 while keeping .1 as the local interface in the current machine. The main problem is that I want to route packets to .2 and to .3 through .1 and br0, but as they ... | So you want to have programs using different IP addresses than the 'main' IP address of the system, but these programs are actually running on this system? Do you want other computers external to your box to be able to access your programs directly? I'm pretty sure your tun/pipe/tun arrangement isn't going to get you t... | 0 | 1 | 575 | 2009-09-16T09:56:39.593 | infrastructure | serverfault.com | |
58,641 | What proxy server gives this authentication error message? | I'm trying to do customer support for a web application that we develop and host. A client just sent me screenshots of "our application" putting up a standard Windows username/password box, then failing to authenticate. The logs, and everything else I know about our system, indicate that it wasn't actually our applicat... | Based on this similar question , I would say it's BlueCoat . | 0 | 2 | 438 | 2009-08-25T19:59:52.500 | api_errors | serverfault.com | |
329,590 | Can I force a BLOB to be stored externally in MySQL? | I have a table which, for historic reasons contains some HTML and PDF contents. It also contains a filenames/URLs in the case that the HTML and PDF contents have been written to storage. Currently the application will write the PDF and HTML to the table, then another process reads those, writes them to disk and puts [C... | Short answer: MySQL has no control over BLOB location, but your workaround is sound. Long answer: No, although InnoDB does put big [CODE] in a different place, you have no control over this "off-record" storage mechanism. And you must continue to use [CODE] , [CODE] , etc to access them. The problem is that an InnoDB t... | 0 | 1 | 59 | 2023-07-24T12:16:15.363 | database_errors | dba.stackexchange.com | |
1,142,631 | applying a GPO to all users for a specific server | first time writer here. My situation is as follows: we have an active directory, that is more or less organized. All users are in a single OU, and working on a Terminalserver (WINS 2012R2), lets call him "TS01". Now we are setting up a new TS, "TS02", with WINS 2019, and wanted to change a few details. One of which is ... | Thank you very much for the quick responces. It was indeed the missing loopback processing , exactly as written in the comments. Just added this setting to my GPO and it worked like a charm. thanks again | 0 | 1 | 274 | 2023-08-29T12:00:13.847 | infrastructure | serverfault.com | |
255,521 | Transfer image files from MongoDB to S3 | I have a NodeJS app that stores all of its data, even images , to MongoDB. Now I want to use an S3 (DigitalOcean Space) to store my app's files (images, 43gb) and so, I need to transfer there all files that I have in my mongo. I found the [CODE] tool that can transfer my files to the S3 instance (DigitalOcean space), b... | In MongoDB, this is called GridFS , but [CODE] can only upload files from your operational system filesystem . You need to make a script to query GridFS, create a temporary file, then use [CODE] to upload it. Read this article describing how to use GridFS on Node.JS: https://mongodb.github.io/node-mongodb-native/api-ar... | 0 | 1 | 286 | 2019-12-12T21:58:46.667 | database_errors | dba.stackexchange.com | |
855,721 | MySQL Versioning bring all schemas to the same baseline | So, I'm introducing Flyway into our environment to have all schema changes in version control, so I can automate any changes. The issue is that I have multiple DBs (let's say 30) that all have different versions of the schemas. I'm looking for a tool that would help me bring everything to a common baseline, eg. compare... | OK, so what I have figured out is that I can do a full baseline update with Liquibase: Create an updatefile from gold database image Append a skip on fail tag to all the changes in the updatefile Script a run on all databases, credentials from file. | 1 | 0 | 120 | 2017-06-14T10:47:05.290 | database_errors | serverfault.com | |
120,015 | VPN problem with internal websites | I have installed a VPN server on Windows Server 2008. I can connect to and use it, but when I connect the to VPN I can't browse internal website on my server however I can ping them. | It appears to be a DNS related issue. Check Incorrect DNS server being used when using ISA VPN (Windows XP SP3 built-in client) | 2 | 1 | 1,368 | 2010-03-07T09:34:49.470 | infrastructure | serverfault.com | |
67,129 | Is there a link between Training, Test errors based on k fold CV and not doing CV? | I am using Matlab to train a feedforward NN using Cross validation (CV) approach. My understanding of CV approach is the following. (Please correct me where wrong) Let [CODE] be the entire dataset with [CODE] as the label set. Split [CODE] into 90/10 ratio to get: [CODE] using holdout approach by calling the [CODE] App... | It is expected that [CODE] : the former is the accuracy on the test folds (averaged over all the splits), so represents models' scores on unseen-to-them data. Similarly, you would expect [CODE] . There are two main reasons to evaluate a model, whether by k-fold cross-validation or simple train/test split: for hyperpara... | 1 | 2 | 39 | 2020-01-27T17:46:26.513 | data_quality | datascience.stackexchange.com | |
404,643 | Synchronizing video playback in LAN over UDP (no master, same HW & SW) | I have devices thay play video files from their local disk basing on a pre-defined playlist (every device plays exactly the same movie in the same order, every device knows in advance what videos will be played and what is their duration). There is no master device, every one is equal (there is a server though, but it'... | There has been some research on detecting clock skew. Check out "Real Time Clock Skew Estimation over Network Delays" and detecting spoofed messages . Also, I don't have a good source for this, computers while running have very precise clocks. It's the battery powered RTC that runs when they are off that tends to skew. | 3 | 1 | 243 | 2020-02-03T20:27:08.460 | api_errors | softwareengineering.stackexchange.com | |
87,836 | NFS cluster: how do I find out what is causing a file deletion? | I have a NFS server and a group of systems that involves about 50 machines using it for home directories. I have an intermittent bug where all the files at the top level of my home directory get deleted. How on earth can I track down what's causing this? root_squash is on. Therefore I suspect a rogue cron job running u... | You might like [CODE] on the 'homes' folder: when it reports file deletion activity, write down this date and look into [CODE] logs which will tell you who, when, where, and what for :) I haven't tried it, but believe that's the right path. | 0 | 0 | 1,031 | 2009-11-24T16:30:47.200 | infrastructure | serverfault.com | |
109,088 | Terminal Services printing | We are using a hosted terminal server to run some applications on. We have three users who connect to the server through RDP and try to print to a networked printer called: HP Photosmart C7280. One of the users is using Windows XP Pro 32-bit on the host and when they print through the terminal server it works fine. Ano... | You can also try TSPrint from terminalworks. Their application isn't as expensive. http://www.terminalworks.com/tsprint.php | 1 | 1 | 436 | 2010-02-03T08:43:49.883 | infrastructure | serverfault.com | |
69,584 | How to Visualise a CNN model using Python | I am new to Deep Learning and have been trying to show a plot of the CNN architecture using Python in Google Colab. Besides importing the necessary libraries, I have noticed from other resource that normally, we would declare a model {model = sequential()}, and then model.add (Conv2d or MaxPool or Activation etc.) and ... | Add this two lines below of your code. [CODE] | 1 | 1 | 251 | 2020-03-10T17:32:16.257 | data_quality | datascience.stackexchange.com | |
116,588 | Deployment in development phase for Agile projects | I'd like to know the Agile stance on the following situation: A contractual, payable milestone states a working version must be installed and run at customer's location; Development is still ongoing, not all user stories and issues are addressed; A later deployment will be required My understanding was that the product... | Ask your client to create a test environment that mimes the production one. Do not, under any circumstances, install a new update on the living system, before you test and demonstrate it to the client, because if you screw up your milestone, you also screw up the client's operation; Make your QA team use this test envi... | 4 | 5 | 530 | 2011-10-27T18:22:01.010 | pipeline_ops | softwareengineering.stackexchange.com | |
901,687 | config settings for libguestfs to use software emulation | When I ran [CODE] on an ESXI VM I got some errors which appear to get resolved when I use software emulation. The man page for [CODE] says: [CODE] However, our application has many services (run by different users) which make use of [CODE] tools, and it is painful to have to set this environment variable for each scrip... | It's an environment variable; you can simply put it into everyone's environment, e.g. in a shell script in [CODE] , or in the [CODE] setting in services' systemd units. Of course, for performance reasons you could instead enable nested virtualization for this VM in its ESXi configuration. This would allow KVM to work i... | 1 | 1 | 207 | 2018-03-14T21:14:41.397 | infrastructure | serverfault.com | |
84,887 | MEF & Circular dependencies in MonoDevelop / VS | (I think the problem described below is also affecting VS although I only tested it in MD) I have some trouble regarding circular dependencies. I know they are bad practice and should be avoided. In recent MonoDevelop Releases, you can't even create circular dependencies. However, I can't find an easy way out in the fo... | I've done a lot of work with MEF. Here's how I always structured it: ApplicationA ApplicationA.Contracts Plugin1 Plugin1.Contracts Plugin2 (In this example, Plugin1 is has extension points, and Plugin2 extends both ApplicationA and Plugin1.) So, ApplicationA, Plugin1, and Plugin2 all have a dependency on ApplicationA.C... | 1 | 0 | 537 | 2011-06-17T16:05:01.853 | api_errors | softwareengineering.stackexchange.com | |
278,984 | pg_restore showing errors when specifying schema when backing up with pg_dump | I have created two different dump files one without specifying the schema, another specifying the [CODE] schema without specifying the public schema' [CODE] and the pg_dump statement when specifying the public schema [CODE] When using pg_restore to restore the dump files, I get errors with the dump file that was genera... | As Postgres does exports with [CODE] in both commands, but you can make the database be dropped before inserting the backup use When you create the dump [CODE] Output commands to clean (drop) database objects prior to outputting the commands for creating them. (Unless --if-exists is also specified, restore might genera... | 0 | 1 | 4,169 | 2020-10-31T16:06:51.180 | database_errors | dba.stackexchange.com | |
83,497 | Does the mysql table type matters? | I am new to mysql. Along create the project, I didnt pay attention to tables type and collation type. Now, I already have 20 tables, 15 tables are MyISAM type, the rest are innoDB type. I notice my application becomes very slow. Is it because of the table type? More information: The 15 tables collation is utf_unicode_c... | The basic differente between MyISAM and InnoDB is that the later can use transactions for atomic changes to the database. MyISAM is usually faster for simpler tables but it shouldn't be a problem with your setup. Have you created the right indexes on the table to make updates faster? | 0 | 1 | 512 | 2009-11-11T03:45:46.757 | database_errors | serverfault.com | |
38,461 | Is there still a reason why binding to port < 1024 is only authorized for root on Unix systems? | On Unix systems, binding to tcp port What was the initial reason and is it still valid ? For example http server don't need root privileged to serve html page. What process/protocol a Unix's user need to be sure that it runs with root privileged ? Thanks | That port range is not supposed to be programmer defined. It is reserved by IANA , The Well Known Ports are those from 0 through 1023. DCCP Well Known ports SHOULD NOT be used without IANA registration. The registration procedure is defined in [RFC4340], Section 19.9. For differing opinions check, From a linuxquestions... | 6 | 11 | 3,395 | 2009-07-09T17:07:24.650 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.