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 |
|---|---|---|---|---|---|---|---|---|---|---|
856,420 | Best way to manually switch between front end servers? | I maintain a web application at work hosted on a cloud platform. I was hoping to use this kind of workflow. While the live site is running, prepare a new environment identical to the production environment, just with new code running on it. Test for a while and if it's found to be good, switch production over to the ne... | You can use Apache as a reverse proxy. It does SSL termination and can also proxy websockets from version 2.4 and up. In the easiest version (without any load balancing since you said traffic is "all front-ended by an application/webserver") you just add use this configuration: [CODE] To change your destination you jus... | 1 | 0 | 408 | 2017-06-17T22:30:12.760 | api_errors | serverfault.com | |
963,097 | Graceful restart of Apache under Windows will shutdown the service | I've a apache2 service (called wampstackApache-1) When I do a graceful restart of the service with [CODE] the service is stopped. What 's the reason? (The config file is immediately changed before the restart command and the config file is correct). When I restart the service with [CODE] everything works fine. The Apac... | I analyzed the Apache Log Files. They say: [CODE] The Problem was with my (old) php Installation. https://github.com/zendtech/ZendOptimizerPlus/issues/167 So I had to disable the OPCache on my installation. (opcache is not a must-have on this machine) Now it is working. | 0 | 0 | 1,168 | 2019-04-15T09:45:05.707 | infrastructure | serverfault.com | |
24,401 | How to develop small workable embeddings for debugging | Processing language data with deep learning models often involves a lookup of a pre-trained embedding model. In the model development phase, it's very annoying that every time the entire embeddings are loaded, as embeddings could be very big (e.g., [CODE] ) and would consume a lot of timing loading it. Is there a way t... | The embeddings are floating point vectors, it's very unlikely that they are exactly the same. And even if they were, it will only minorly impact the performance of your model, which is not what you are after anyway, because you are debugging. That said, if you want to use it for model selection you have a few alternati... | 2 | 1 | 99 | 2017-11-06T10:21:24.577 | data_quality | datascience.stackexchange.com | |
301,180 | Implementing an association between 2 classes | Consider the following association between the 2 classes . Here the association means, In the class [CODE] I have an array of [CODE] . and in class [CODE] there is an object of [CODE] . Here I have a problem in implementation these 2 classes now. If I want to make [CODE] instance, I need an array of [CODE] and when I g... | You don't need a [CODE] instance to create an array of [CODE] objects. You just need a typed array. Therefore it's obvious how to implement this: create an empty array in the [CODE] constructor, and when something noteworthy happens, create a [CODE] that knows its [CODE] , and add it to the array. There are other, more... | 1 | 2 | 138 | 2015-10-29T10:04:15.140 | api_errors | softwareengineering.stackexchange.com | |
423,392 | No trivial god-class refactoring | Consider you have the following code: [CODE] The User have a lot of different responsibility and features, so in the example the user is our god-class. There a lot of methods which are used from outside, from clients So now let us refactor the God-Class into smaller units. like it is described here: http://scg.unibe.ch... | Sprout and Split Take a look at your god class again. You know its doing to much because you can see X responsibilities that its doing. Start by trying to isolate those X responsibilities within the class. This can be pretty easy for some functions and variables as they are only ever used by one responsibility move the... | 1 | 6 | 587 | 2021-03-14T22:33:58.080 | pipeline_ops | softwareengineering.stackexchange.com | |
208,274 | Calculate drawdown and volatility on 3 years | I have a table with daily prices as below and in this SQLfiddle . Each record is associated to a ShareClassID, a currency, a date, and an amount. In my real scenario I can have at least 10 years of daily prices. The goal is to calculate the drawdown and volatility over a 3 year period rather than the full period. The q... | While waiting for support for window syntax like [CODE] , one approach would be to expand the three year window for each source row explicitly: [CODE] Performance may or may not be acceptable. The following index should help: [CODE] It might also be possible to adapt some of the techniques (including a SQLCLR function)... | 5 | 4 | 1,425 | 2018-05-30T16:36:03.813 | warehouse_errors | dba.stackexchange.com | |
42,601 | Where can I download the toy benchmark dataset for RNNs? | I have read the paper: Simple Way to Initialize Recurrent Networks of Rectified Linear Units Where can I download the toy benchmark dataset for RNNs this paper mentions? I need addition problem benchmark. | In https://arxiv.org/abs/1504.00941 the authors describe the toy dataset: We generated a training set of 100,000 examples and a test set of 10,000 examples as we varied T. They give you values, e.g. $T = 400$ . The start of $\S~4.1$ said that values in each example are uniformly drawn from the unit interval. Publishing... | 1 | 0 | 73 | 2018-12-14T09:34:21.483 | data_quality | datascience.stackexchange.com | |
970,856 | Ubuntu secondary IP drops out after a few hours | I'm running Ubuntu 18.10 on a VPS. Ever since upgrading (I'm pretty sure) from 16.04, my secondary IP address just stops receiving traffic after it's been up for a few hours. I'll have two pings running, to my primary IP and my secondary IP, and the secondary one will just spontaneously go down after about 3 to 4 hours... | Best time of troubleshoot is the time of the issue. Check the kernel logs with [CODE] or [CODE] command. Run the [CODE] command to see what events and changes happen. Ping the gateway from both addresses and some hosts behind it by ip address. Check the arp table ( [CODE] ). Address of the gateway should be [CODE] . Ru... | 0 | 0 | 498 | 2019-06-10T20:32:24.047 | infrastructure | serverfault.com | |
84,848 | How to convert a pytorch geometric graph to Networkx Multigraph? | I have a weighted graph stored in Data object, and I want to convert this graph to Networkx MultiGraph. Here is what I have tried: [CODE] . torch.Size([3, 237]) conversion first trial [CODE] ValueError: too many values to unpack (expected 2) second trial [CODE] Result=(18, 18) expected (23,23) What else can I do? Thank... | Check out the provided utility method [CODE] (link to docs). I am not sure how this would handle multigraphs. There's also a [CODE] . | 0 | 1 | 3,998 | 2020-11-02T16:54:42.683 | data_quality | datascience.stackexchange.com | |
778,918 | HAProxy errors configuration | I have problems with my configuration HaProxy : [CODE] Can you help me, I think I have problem with [CODE] because when I test with only IP, the system is functional. | I think your issue is using hdr(host) in your ACL. You could try it with the path option and it should work. [CODE] | 0 | 0 | 43 | 2016-05-25T09:46:12.110 | infrastructure | serverfault.com | |
82,881 | MySQL #1005 - Can't create table 'startet' (errno: 150) | Can anyone figure out why phpMyAdmin won't create the last table? It works fine if I drop the last foreign key, but I need it in there to get my assignment approved... [CODE] Been trying for hours to get this to work, but I get the same error message each time, and I'm not an administrator over the DB so can't get any ... | You need a key on passering.starttid in order to link it as a foreign key. Like this: [CODE] | 0 | 1 | 196 | 2014-11-17T21:36:47.027 | database_errors | dba.stackexchange.com | |
583,333 | Set-AzureStaticVNetIP allocated IP address not persisting over VM de-allocation | I am experimenting with the Set-AzureStaticVNetIP powershell command to allocate a static IP address to VMs. I can get the command to work and allocate an IP address correctly to a VM, either on creation or once it is running, but nothing I do will persuade the VMs to continue to use this allocated IP address once the ... | Interesting - the command works as expected if everything is in the EastUS region, but not in the European regions. | 0 | 0 | 822 | 2014-03-20T07:50:09.533 | infrastructure | serverfault.com | |
113,032 | How to conform to update-rc.d with LSB standard? | This is a migrated question from stackoverflow, as I was told, this is the place for it to be. https://stackoverflow.com/questions/2263567/how-to-conform-to-update-rc-d-with-lsb-standard I have set up a simple script to back up some directories. While I haven't had any problems setting up the functionality, I'm stuck w... | It doesn't make sense to start a service in run level 0 or 6, which are the levels for shutdown and reboot, respectively. There is apparently some magic in update-rc.d that attempts to prevent this case and misparses the arguments in that case. If you use more sensible run levels for start (probably 2 3 4 5), it will w... | 4 | 2 | 24,153 | 2010-02-15T16:10:17.073 | infrastructure | serverfault.com | |
377,197 | How a Garbage Collector follows pointers to discover live objects | I have read through A tour of V8: Garbage Collection and am stuck on this part: Distinguishing pointers and data on the heap is the first problem any garbage collector needs to solve. The GC needs to follow pointers in order to discover live objects. I understand the rest of the document for the most part, talking abou... | I'm sure Erik's answer has lots of great info but I think you are stuck on the fundamentals. I'm more familiar with Java GC but the basic principles are pretty universal. I understand the rest of the document for the most part, talking about how to actually perform the garbage collection once you have the live objects.... | 5 | 9 | 2,012 | 2018-08-20T23:39:00.370 | api_errors | softwareengineering.stackexchange.com | |
879,068 | Apache wordpress permission problems | I'm trying to setup LAMP on my Ubuntu server and got most of it working, but I'm struggling with permissions.. Right now I can't install wordpress b/c it is unable to write the config file.. And on a wordpress installed I moved from my old server, it won't let me upload any images. I guess this is a permission issue, b... | Reviewing your output it looks as if Apache is running under the user account 'www-data". However your files/directories are owned by 'martin:martin'. [CODE] The above chown (change owner) command will make the directory owner 'www-data' which will match the service owner for Apache. The second command sets the correct... | 0 | 2 | 1,284 | 2017-10-18T13:01:02.373 | infrastructure | serverfault.com | |
290,684 | POSTFIX: Limiting the rate at which a particular user can send email | We have a server CentOS server setup which hosts our websites and email server (using POSTFIX). We manage the system using Virtualmin and Webmin respectively. In general for every site that we setup we provide the customer with an email account on our system. One customer in particular has decided it a good idea to sen... | Postfix-Policyd is a great help for that among other things. | 17 | 10 | 57,504 | 2011-07-15T10:30:35.860 | infrastructure | serverfault.com | |
277,972 | PAGEIOLATCH wait and Page Life Expectancy very low | Training for SQL Server, has following scenario: SQL Server on Azure VM, DS-series machine, it has 32 GB of RAM Server has below performance conditions: [CODE] What should be done in order to decrease PAGELATCH_IO waits ? Choose correct answer (need to pick just one): Add more tempdb files Enable large-page support Ena... | It seems that you haven't reproduced the question from the training materials here with complete accuracy. Assuming that the question was about PAGELATCH_** waits, and that the latched pages are in the tempdb database, then those waits can be a common sign of tempdb allocation contention. And the most common solution t... | 0 | 2 | 505 | 2020-10-13T10:26:39.263 | database_errors | dba.stackexchange.com | |
889,788 | How to make terraform assume a different STS role for a single resource change on another account? | I have AWS subaccounts for development, QA and production under a main account that controls all of our route53 zones. I manage everything with Terraform. I use STSAssumeRole Cross account roles from that main account to access the sub accounts. I use the role arn's in my .aws/config file, and tell the aws provider to ... | Terraform supports multiple providers provider.tf [CODE] and in the resource use [CODE] | 3 | 4 | 5,203 | 2017-12-27T17:53:28.747 | pipeline_ops | serverfault.com | |
1,079,955 | Can not access Tomcat servlet using httpd ajp proxy in Docker | Docker, httpd and tomcat is new to me. What I want to do: Access tomcat servlet through httpd ajp reverse proxy. I am making two containers under same bridge network, one runs httpd, another tomcat. Problem: I can not access tomcat through httpd. Httpd returns 403 error. I can access through port 8080 if I expose it to... | Remove the quotes from the secret in your httpd config. [CODE] Afterwards it works. | 0 | 0 | 1,175 | 2021-10-08T09:45:26.197 | pipeline_ops | serverfault.com | |
882,473 | WSUS cleanup - timeout when deleting "unneeded update files" | Performing WSUS cleanup which hasn't been done for quite a while - running the cleanup-wizard with the only selected option being "unneeded update files": After about three minutes of processing, the wizard crashed due to a timeout-exception: This is the message I press "copy to clipboard" in the console: [CODE] ...tri... | This script is old, but I've had good luck running it on my WSUS server. I inherited one that was completely out of control and the console would crash at various places. I also run this reindex WSUS database script as well, which might help. I've been running these as nightly maintenance ever since. | 3 | 1 | 23,173 | 2017-11-08T14:15:35.673 | database_errors | serverfault.com | |
1,027,178 | Windows Server DNS Internal Mixed With External | This may just be a lack of knowledge on my part when it comes to maintaining DNS on Windows so apologies in advance if this is simple. I am wanting to add a Forward Lookup Zone for [CODE] so that I can setup A records for users to access internal applications. [CODE] is also registered with our Domain registrar and has... | Is there a way to mix the two, have internal records setup which it would prioritise but if it cannot resolve, it goes to the registrar to check there? Sort of. Create an internal zone for the specific resource, like www.example.com . Then populate the zone with a "same as parent folder" A record for the ip address of ... | 0 | 1 | 712 | 2020-07-29T11:45:34.547 | infrastructure | serverfault.com | |
378,590 | Wireshark/encryption and openvpn | I have a linux openvpn router and a home dsl modem. The dsl modem has port 1234 open and forwards it onto eth0 on the linux router. I can connect to the router from a remote location no problem. All the traffic is coming through, I can surf the net from the vpn client etc. As a check I opened up wireshark on the client... | Well, look at the data? You have wireshark, if you browse to google.ca and don't see a DNS request and a HTTP stream opening, and you still see the page being rendered, then it's a pretty big clue. Considering OpenVPN runs on UDP, it makes sense for you to see a ton of UDP traffic instead. | 0 | 1 | 1,792 | 2012-04-11T17:43:39.680 | infrastructure | serverfault.com | |
315,286 | Find an open transaction across any session and any database in SQL Server | I know that we can use [CODE] and [CODE] to find if a session has an open transaction in a given database. The problem with these statements is I have to run them in the same window where the transaction was begun. We have 10 different databases in our dev server. I want to know if there is a way to find out if a trans... | You can use sp_whoisactive : In its default mode Who is Active shows any session with an active transaction. This state is reflected in the [open_tran_count] column, the value of which is the depth of nested transactions that have been started—implicitly or explicitly—on the request or session. Once you have listed the... | 0 | 4 | 1,408 | 2022-08-05T19:27:51.907 | database_errors | dba.stackexchange.com | |
109,111 | NFS to share FTP server storage | We use FTP server to distribute a lot of files.Hard links are used extensively as we have a lot of identical files named differently. We also have a secondary FTP/WWW server as failover for the primary one.Files are rscynced via ssh from the primary FTP. Both server have local RAID 1 disks. Unfortunately secondary serv... | NFS would certainly work, but you need to define what you are trying to protect against. If you have two servers for I/O performance or disaster recovery, NFS mounts and LUNs on disks are not really going to get you there. | 2 | 1 | 758 | 2010-02-03T10:47:41.487 | database_errors | serverfault.com | |
61,894 | GETDATE() uniqueness when used on INSERT | Recently I was reading this blog post: Link which contains this section: Picking a Clustered Index There are a couple of strategies for picking your clustered indexes; one of the easiest and best is to add another column of data type datetime and use that column for your clustered index. Here is what you need to do: Ad... | [CODE] is not guaranteed to be unique, no. Especially if it is a datetime, where milliseconds are rounded up or down, and of course when not all data is coming from the same user, you are almost guaranteed to have collisions. Of course, a clustered index does not need to be unique, since SQL Server will make it so if i... | 2 | 5 | 8,073 | 2014-03-27T15:06:11.193 | database_errors | dba.stackexchange.com | |
80,963 | WITH Clause UNION Issue | [CODE] I need help trying to UNION these 3 WITH AS sections. I get the following error: ! Query with only 1 WITH AS being used | You have two problems. First you need commas between the CTEs. Second you can only have one ORDER BY for a group of UNIONed statements. Just use one ORDER BY at the very end. [CODE] | 1 | 3 | 337 | 2014-10-23T17:40:55.260 | warehouse_errors | dba.stackexchange.com | |
12,319 | How to create a "silent" MySQL docker container? | How can I create a [CODE] docker container as below in the background: [CODE] so that it's a bit less spammy? (Yes, I could just switch to another terminal, using something like [CODE] , or route output to [CODE] of course.) | You can run the container in detached mode by passing [CODE] or [CODE] with the run command: https://docs.docker.com/engine/reference/run/#detached-vs-foreground | 0 | 3 | 659 | 2020-09-01T08:32:18.853 | pipeline_ops | devops.stackexchange.com | |
68,733 | COUNT and GROUP BY performance | I have a table where I store visits (id, datetime, country, browser). I want to count how many visits are from which country. I use this query: [CODE] But the dataset is huge. So if I add [CODE] to only get the top 10 countries will it improve the performance? [CODE] Also I don't need exact results I only need some app... | Short answer : No. Detailed answer : Unless you add/already have an index there that covers the [CODE] column the database engine has no way of telling the total number of instances to count. Even if you limit the output the entire table has to be scanned to retrieve every instance first. Of course, since this is a log... | 0 | 1 | 1,905 | 2014-06-21T11:07:24.330 | warehouse_errors | dba.stackexchange.com | |
173,415 | VARGRAPHIC vs VARCHAR CODEUNITS32 | I'm in the process of migrating a number of databases from ISO8859-1 to UTF-8. To fit the old string in new tables I figured there are 3 options: Multiply the number of bytes with a number the corresponds to the distribution of multibyte characters in the domain, and add check constraints for length validation. I.e CHA... | The [CODE] data type seems to be a remnant from the times when there was no widespread Unicode support. It was there to facilitate storage of double-byte characters. In essence [CODE] is equivalent to [CODE] . Apart from the length semantics (1 byte vs. 2 byte characters) [CODE] and [CODE] are functionally equivalent. ... | 1 | 3 | 3,699 | 2017-05-12T11:15:46.840 | data_quality | dba.stackexchange.com | |
476,185 | Usr home is not exist | I am using centos os. I could not activated some wordpress plugin becuause of session.save_path error. on /usr/ directory these folders exist; bin games kerberos lib64 local share tmp etc include lib libexec sbin src But I must add this; ini_set("upload_tmp_dir", "/usr/home/user-name/tmp/"); to wp-blog-header.php file. | ini_set("upload_tmp_dir", "/usr/home/user-name/tmp/"); What this does is set which directory PHP uses for temporary storage of uploads. If /usr/home/user-name/tmp/ doesn't exist, specify a directory that DOES exist to use as the upload temp directory. More info about upload_tmp_dir | -1 | 1 | 35 | 2013-02-06T19:28:18.053 | infrastructure | serverfault.com | |
705,552 | Foreman displays a server as "out of sync", what could be the reason and what is the right way to troubleshoot such an issue? | There's a puppet server in the company I work for with Foreman installed. There are around 200 Linux machines which are being managed by the Puppet server. When looking in the Foreman GUI, most server appear with a green icon saying "No changes" but there are some servers which appear with a yellow/orange icon with a t... | I found the reason for the out-of-sync notifications in Foreman. It seems like in these servers there was a stuck process of [CODE] , is looks like so: [CODE] Once I killed this process and ran [CODE] again - problem solved. | 1 | 1 | 9,953 | 2015-07-14T08:49:23.060 | pipeline_ops | serverfault.com | |
997,444 | Javamail: Email leaves successfully from program but is not delivered Windows Server 2012 r2 | I am severely stuck on this problem. My program successfully delivers emails from my Windows 10 PC and Windows Server 2012 R2 Essential but sending it through any other Windows Server 2012 versions shows as successfully sent but the email is not delivered. Have tried all combinations of SSL/TLS/No authentication as wel... | Normally you would be using port 465 (implicit TLS) or 587 (explicit TLS/“STARTTLS” or, if you have to, unencrypted submission). Port 25 (not 26) should be used for traffic between mail servers. The important question when troubleshooting mail that’s accepted by your MTA but not delivered to the recipient, is how the d... | 0 | 0 | 1,004 | 2020-01-03T06:39:25.897 | api_errors | serverfault.com | |
317,761 | VMWare Fusion 4.0 + Postgres | The setup: Mac OS X Lion, PostgreSQL 9.0.4 Host Windows 7 VM I used to be able to connect from the VM to Postgres via pgAdmin and / or the software I'm developing on Windows just fine. That was with VMF 3.x. Since I've upgraded to VMF 4.0 I can no longer. I've checked Mac firewall settings (it's not running), whether n... | Turns out there were two different "vmnet" interfaces on the Host. The network that serves DHCP leases is not the same as the network where Postgres resides. Using the latter's IP address fixed it. | 0 | 0 | 323 | 2011-10-02T20:13:17.877 | api_errors | serverfault.com | |
203,070 | Interchanging IN with EXISTS produces different result sets | I am attempting to update a query that utilizes the [CODE] operator within a [CODE] clause predicate with [CODE] to compare potential performance improvements and better understand what is happening behind the scenes when the two are interchanged. It is my understanding that in practice, the query optimizer treats [COD... | You didn't rewrite the query properly. When converting an [CODE] subqquery to an [CODE] one, your [CODE] subquery should be correlated. But you defined the [CODE] table again in the subquery, making it uncorrelated. Your query basically says Give me all data from [CODE] if [CODE] has at least one row - and nothing if [... | 4 | 5 | 286 | 2018-04-04T21:01:49.797 | database_errors | dba.stackexchange.com | |
23,657 | What machine learning technique should I use in medical problem | What are the best machine learning techniques to classify responders to a medicine if I have: Clinical data with ~200 features (age, education, marital status etc.) Gene data with around 250K features (genom data (snips) taken from the patient (DNA analysis)) Number of obs. ~ 4K (the data is taken from a study on 4000 ... | Typically you need a much more exact phrasing (in more mathematical terms) of the question to ask. Will a patient respond to medicine X? What is the likelihood? To what amount will patient repond to medicine X? Is patient in the group that is expected to respond to medicine X? Are slightly diffent questions that may im... | 1 | 1 | 72 | 2017-10-10T05:37:02.307 | data_quality | datascience.stackexchange.com | |
688,263 | Having issues with inconsistent application of mod_rewrite rules | So I've been asked to clean up the URL's for the web app that we're currently running on apache (version 2.4.9 if so interested), but after messing around with mod re_write commands for a few hours, I think I'm running around in circles. Here's what I'm attempting to do. If the url is something like this ( http://www.f... | Something like this should work : [CODE] Edit : The first rule could be replaced by this one, which is more straight forward : [CODE] e.g : URL = [CODE] Matched rule = [CODE] Result : [CODE] URL = [CODE] Matched rule = [CODE] Result = [CODE] URL = [CODE] Matched rule = [CODE] Result = [CODE] | 0 | 1 | 56 | 2015-05-03T15:27:42.900 | infrastructure | serverfault.com | |
563,775 | lighttpd 403 forbidden jpeg image access | I am running a stock lighttpd installation with no configuration changes. Client sees a 403 forbidden error trying to access static images (even from an [CODE] tag on a static page). Nothing in the logs about this. Research has turned up a number of 403 solutions regarding lighttpd but all the info I found is about lis... | With some insight from Lighttpd fails with 403 - Forbidden with SELinux enabled I checked sebools. [CODE] to list all sebools. In my case I noticed that [CODE] was off. Enabling this [CODE] solved the 403 issue. | -1 | 1 | 1,217 | 2013-12-27T16:02:27.940 | api_errors | serverfault.com | |
98,060 | Lock in mysql database | My schema 'test' has 3 tables: 'user', 'post' and 'revision'. [CODE] And there is the script creates data: [CODE] I create 2 sessions work concurrently. Session 1 works with query: [CODE] Now session 2 works: [CODE] I don't know what's lock mysql used with query insert in session 1? Is it row lock or table lock or anyt... | Simplified scenario: [CODE] Session1: [CODE] select max(idrevision) AS max_idrevision from revision where idpost=1; The above query will fetch the value from the secondary index 'index1'. Because idpost and idrevision is covered by index1 itself. So index1 is a covering index for this query. It will take S lock on the ... | 2 | 2 | 241 | 2015-04-16T15:56:21.537 | database_errors | dba.stackexchange.com | |
497,476 | Failure to replicate SYSVOL on domain join | I cant seem to get the SYSVOL folder to replicate. Once joined my Event Log spits out the following. [CODE] [CODE] [CODE] I tried everything I can possibly think of but this one just stumps me. EDIT: I added some additional information at https://gist.github.com/michael-manley/5343111 for any other commands I executed. | I Finally Figured out the issue was on the PDC. I found this log entry in the DFSR Logs [CODE] I ran the command, restarted DFSR, and replication finally kicked in. | 1 | 2 | 20,191 | 2013-04-09T03:13:04.110 | infrastructure | serverfault.com | |
7,651 | Postgres client copy (\copy) command doesn't have access to a temporary table? | I'm generating a list of SQL commands to export some data that I ultimately run using psql -f. The queries all get the same subset of data, so I thought I'd factor the qualifications out and put a list of eligible user ids in a temporary tables like so [CODE] then refer back to that in my \copy commands like [CODE] Tho... | [CODE] can use a temporary table. First I tested and confirmed this with version 9.0 at the command line. Then I created a file with SQL and psql meta command [CODE] using multiple temporary tables. That worked for me, too. [CODE] Call: [CODE] Note the terminating semicolon, which is optional at the end of a file (term... | 13 | 20 | 58,642 | 2011-11-07T22:04:24.343 | warehouse_errors | dba.stackexchange.com | |
814,159 | Nginx not caching when Vary headers not being ignored | First off: I don't have much experience with Nginx. I'll just proceed directly to the problem though: Nginx config: [CODE] } When the line 'proxy_ignore_headers Vary;' is set, everything will cache, including the HTML pages. When I remove this line, everything gets cached EXCEPT the HTML pages. Why is this? I would lik... | Fixed: In the source code of Nginx there is set a maximum of 42 characters being used by Vary headers. In my case there where 51 characters thus my Vary headers where being handled as Vary:* (no-cache). Setting the maximum to 84 fixed it for me. This article explains it more in depth. https://www.thedotproduct.org/post... | 0 | 0 | 942 | 2016-11-10T08:50:09.353 | infrastructure | serverfault.com | |
39,590 | mySql Relationships / Index - Checking for duplicates | I have this setup on innoDB: TblUser user details TblConnection User Connection [CODE] also has these indexes: [CODE] where [CODE] is the foreign key of [CODE] and another index: [CODE] where [CODE] is also a foregin key to [CODE] Now I want to make sure that when adding a new row I have complete uniqueness between col... | I'm not sure if I understand correctly. As long as you have a unique key on both columns, it does not matter what order the columns (or combination) they are in. Otherwise, the tuple must also exist in the referencing table in order to enforce it's uniqueness. [CODE] Make sure that you specify a column list when you ma... | 1 | 3 | 73 | 2013-04-09T17:26:57.413 | data_quality | dba.stackexchange.com | |
914,990 | AWS Linux2 Image can't verify repository signatures | I've been using this image for testing, and for almost every app I've faced this issue, today it's with kubectl . While trying to install it, yum says: [CODE] Tried other mirrors, but same result. I'll keep trying, would like to make it work without going to binaries and also know why this happens so often. Thanks! | Redhat/Fedora/Centos make use of GPG package signing to ensure that package integrity has not been compromised and to check if the software package comes from authorized sources. You can import a key into RPM's database by hand using the following command: [CODE] A remedy for your issue can be to import actual GPG keys... | 1 | 1 | 1,028 | 2018-06-03T16:51:07.503 | infrastructure | serverfault.com | |
102,527 | Keras: Custom output layer for multiple multi-class classifications | Hello, I’m quite new to machine learning and I want to build my first custom layer in Keras, using Python. I want to use a dataset of 103 dimensions to do classification task. The last fully connected layer of the model has 103 neurons (represented by 13 dots in the image). Groups of five dimensions of the former layer... | Functional API allows you to design more complicated models, including multi-output models. Check the documentation to see how you can connect specific neurons to others of your choice. You should be able to make custom layers from scratch. Once you build distinct output layers, probabilities within each can be set jus... | 2 | 2 | 243 | 2021-09-27T09:42:56.843 | data_quality | datascience.stackexchange.com | |
227,406 | Rebuild index error: "The job was stopped prior to completion by User" | I have a rebuild index job that is set to run every night. The job used to run fine, but last night for some reason the SQL Server Agent Job was stopped. The rebuild index job was running on 9 different databases and it used to take less than 2 minutes, but it stopped all of a sudden last night with an error in the las... | The user stopped the job, probably because it was running long. That is not an error message, it is telling you what happened. Contact the user and ask them why the stopped the job. | 0 | 2 | 2,396 | 2019-01-17T18:07:54.027 | database_errors | dba.stackexchange.com | |
1,122,800 | How to debug Linux server reboots? | I have a Debian 10 server that keeps rebooting. [CODE] offers possibility to list last boots: [CODE] However it's not clear where the system was rebooted by user, kernel crashed or the power was cut. Is there any tool that would provide such output? | I wrote a simple tool in bash to collect automatically additional information about reboots. The script uses internally [CODE] , so it might work on any Linux distribution using Systemd. The idea is simple, for each session we want to check the logs for additional information, check for known entries: system received [... | 0 | 1 | 1,139 | 2023-02-13T08:36:31.837 | infrastructure | serverfault.com | |
165,073 | Slow to non-existent MySQL on Fedora? | I have a VPS with a few low-traffic personal sites on it, two of which run Wordpress. Occasionally the Wordpress sites just don't want to load. They've taken a minute or more to load. Sometimes I can leave it sitting there for 5 minutes before it just gives up. What leads me to believe this is a MySQL issue is that sta... | Could be a locked table. Run a [CODE] in MySQL when it's not responding. Check the [CODE] log. | 0 | 1 | 84 | 2010-07-28T23:41:41.627 | database_errors | serverfault.com | |
632,117 | CentOS 6.5 DU and DF dont add up | [CODE] There should be over 20GB of file space left! It seems I am missing something big but don't know what. Could swap be taking this? | First, some space is reserved for rootuser. You can check how much space is reserved for root,with: [CODE] This will give you the block count reserved for root user, multiply it by the block size and you will get the size of reserved space (in bytes). Second, most probably some file descriptors are still in use. That m... | 0 | 1 | 1,038 | 2014-09-29T15:06:04.147 | infrastructure | serverfault.com | |
420,366 | Mysql - Performance improvement of "ORDER BY" with index | Can I improve the "ORDER BY" by adding an index on fld_date. [CODE] The query uses the index of (fld1,fld2 - combined index) in the where clause. As the ORDER BY does not match the index exactly, If I do add an index with fld_date will it be useful in improving the ORDER BY fld_date performance. ? | You should add an index on (fld1, fld2, fld_date). Please note it will work only if fld1 and fld2 are set to exact match in [CODE] clause, non-exact expressions like [CODE] or [CODE] will turn the index off for ordering. | 1 | 0 | 1,307 | 2012-08-23T10:44:42.660 | database_errors | serverfault.com | |
1,079,934 | Openstack Wallaby Volume Backup Issue | Recently I am testing kubernetes with 1 master node and 3 worker nodes that built on Openstack(version: Wallaby). It involves lots of testing and therefore I would like to back up the volume to local machine beforehand. The volume backend is using Ceph. Browsing through the internet and it suggests the conversion of vo... | The conversion from volume to image happens on the local disk of the controller. Check [CODE] while the conversion is running, your [CODE] filesystem could be filling up if you haven't enough disk space. Check the directory [CODE] , this is where the volume is temporarily stored before uploading it back to ceph as an i... | 0 | 0 | 104 | 2021-10-08T06:26:16.357 | database_errors | serverfault.com | |
111,206 | How to enforce a constraint over multiple tables? | I have the following five tables: PRODUCT FEATURE PROVIDER PROVIDER_PRODUCT PROVIDER_FEATURE The logic is as follows: A generic [CODE] can have one or more [CODE] s. There are different [CODE] s who are delivering the same product, but with different details, and the same [CODE] s, also with different details. The prob... | This can easily be done by using cascading keys that overlap. Here is an example using the Oracle Data Modeler (note there is a bug in this tool or a configuration issue as the Provider_Feature table should show each column as PF meaning both PK and FK): In this example, the PK to Provider Product includes the Product ... | 5 | 6 | 4,847 | 2015-08-16T15:07:57.100 | data_quality | dba.stackexchange.com | |
618,041 | puppet nis user management | I started using puppet for managing our RHEL servers. At this point I try to setup the user management. We are running a NIS environment on our campus, so until now I added the line +testuser::::: to the /etc/passwd file which then received the user information over NIS. What I want to achieve is that I have a set of a... | Puppet will edit [CODE] on its own accord, when you add [CODE] resources to your manifest, such as [CODE] Ordering of existing lines will be tricky at best. Puppet natively does not support anything like that. My advice would be to use an [CODE] resource like this: [CODE] You would want Puppet to perform that after syn... | 0 | 0 | 439 | 2014-08-05T10:32:03.147 | pipeline_ops | serverfault.com | |
1,772 | What developer skills would translate well into doing QA? | I'm an intermediate-senior developer who got burned out severely with programming last year and I've been exploring possibilities of a career change into Testing/QA (among others such as Technical Writing). I hope this question isn't off topic here. I already asked it on the Programmers site and got directed here by a ... | You describe several skills that are advantageous in a tester: analytical skills, the ability to find flaws, and tolerance for repetition. You also seem to be interested in testing. A potential disadvantage from your own admissions: reluctance to take ultimate responsibility and, to a lesser degree, discomfort with sta... | 13 | 14 | 9,636 | 2011-09-08T22:37:55.083 | data_quality | sqa.stackexchange.com | |
1,106,303 | Force to create admin user, if root was locked | I've created a kickstart file for automated installation of CentOS 7. Idea is to make foolproof oem installation, so root is locked, user have to be created on final part of installation. But here is a problem - user can be created without sudo priveleges, or can be not created at all - anaconda installer OK with that.... | You could agree with EULA using kickstart using [CODE] option, more you could read in official documentation . [CODE] (optional) Use this option to accept the End User License Agreement (EULA) without user interaction. Specifying this option prevents Initial Setup from prompting you to accept the license agreement afte... | 0 | 0 | 117 | 2022-07-22T12:16:14.850 | infrastructure | serverfault.com | |
490,214 | Using dd for backup with a single disk | I have a RHEL5 Amazon cloud instance that I need to image to another instance in order to setup a test environment for some upcoming patching I'm doing. The server to be imaged is a production server. The server has a single disk (xvda1, and yes the actual disk is xvda1, not xvda like it should be). I thought I would u... | The answer is to order additional memory for the cloud instance, and then make a ramdisk. Then dd your local disk to the ramdisk and do what you need to with the image to get it off of the server. | -2 | 0 | 202 | 2013-03-21T19:43:25.173 | database_errors | serverfault.com | |
263,903 | Generate due dates using function in a select statement | I want to create a semi - monthly amortization schedule by using a function. Here is my function: [CODE] Let's say I already have a table of schedule like this [CODE] I want to fill the remaining 4 installments using the function I created or similar. So far, I have tried doing, [CODE] Output should be like this: [CODE... | One solution uses recursion: Setup [CODE] [CODE] Solution [CODE] Try it online at db<>fiddle demo The [CODE] thing is just a way to get [CODE] in the recursive part of a CTE see Performance Tuning the Whole Query Plan for details on that if you need it. If you can use SQL CLR, a faster solution is available using the t... | 4 | 2 | 288 | 2020-03-30T09:17:27.267 | warehouse_errors | dba.stackexchange.com | |
256,207 | Syntax Error in Create Table Statement | I'm using Oracle 12c, I want to create a table with partition by year and subpartition by month like this. [CODE] When I run it, it raise ORA-00922: missing or invalid option error. How can I fix it ? My purpose is create a table with auto create partition each year and It save log in 12 month. If I add one more month,... | You need to specify where partition starts from i.e Year [CODE] | -1 | 0 | 414 | 2019-12-24T04:00:46.440 | database_errors | dba.stackexchange.com | |
41,865 | How can I make a select statement get blocked? | Hello I am trying to intentionally make a SQL select statement get blocked by another simple SQL delete or update statement, for the purpose of learning. I prefer only InnoDB tables. To prepare the test, I created a table [CODE] and inserted 1,000,000 rows into the table. Now I will begin the test. In MySQL client #1, ... | Deadlocking by SELECTs can be done in a variety of ways. I have written posts about them You can have SELECTs get deadlocked by UPDATEs and DELETEs Are InnoDB Deadlocks exclusive to INSERT/UPDATE/DELETE? You can have UPDATEs and DELETEs blocked by SELECTs How are DB locks tied to connections and sessions? Is Oracle DB ... | 5 | 4 | 8,570 | 2013-05-09T19:02:25.857 | database_errors | dba.stackexchange.com | |
470,794 | How can I make mysql recognize root user after install? | I just installed MySQL 5.5 and right after install I was asked to set root password by executing those two commands: [CODE] or [CODE] I executed first command -- OK. I executed second command this time with error: error: 'Access denied for user 'root'@'localhost' (using password: NO)' I re-executed the first one (for c... | The first error you have received: error: 'Access denied for user 'root'@'localhost' (using password: NO)' indicates that you probably did not use -p option in mysql command. Once you have created mysql root password, you should be able to access MySql using: [CODE] Where you will be prompted to enter MySql root passwo... | 0 | 3 | 1,405 | 2013-01-20T11:08:13.467 | database_errors | serverfault.com | |
433,321 | Ranking results from a Question and Answer game | I have a question and answer trivia game app which randomly picks questions from a database and prompts the user to answer the question correctly. The total number of correct answers, the total number of questions attempted, and the elapsed time for the entire quiz session are recorded. What I need is a formula that wo... | I agree with mmathis that this might be a better question for Math/Stats or even GameDev SE. However, here's a suggestion: Points per question Answering questions gets you points and you get more points the quicker you answer. If you are worried about people quessing a bunch of questions in a short time for more points... | 1 | 2 | 89 | 2021-11-05T16:35:31.910 | api_errors | softwareengineering.stackexchange.com | |
660,013 | Outlook 2013 won't connect to Office 365 (Exchange) | I have a multiple users with a roaming profiles on a windows server 2008R2 domian. One of these 2013 Outlook profiles won't connect to Exchange on one of the computers. Here's what I've tested: Let's say the problem is happening for User1 on computer21 (Windows 7). I am connecting to Exchange for the first time: I open... | I would think that it might be a user profile issue (either Outlook profile or Windows profile). Try removing the profile and see if that helps (first try the Outlook profile then the Windows profile for the user). NOTE : Before you remove the Windows profile, make sure to back up the files first (the Windows profile h... | 2 | 1 | 5,739 | 2015-01-15T19:35:06.973 | infrastructure | serverfault.com | |
283,028 | Iptables blocking mysql port 3306 | I got a Tomcat server running a web application that must access a mysql server via Hibernate on the same machine. So, I added a rule for port 3306 to my iptables script but tomcat cannot connect to the mysql server for some reason. I need to reset all iptables rules - Then tomcat can connect to the mysql server again.... | This [CODE] should be [CODE] instead. You want your answer packets to return as well - these will have tcp/3306 set as the source port. BTW: for debugging purposes it would be a good idea to replace your last line dropping all traffic [CODE] with something more intuitive like [CODE] where you would find characteristics... | 0 | 5 | 9,875 | 2011-06-22T14:12:59.997 | database_errors | serverfault.com | |
178,364 | Evaluating a product owner | How do you evaluate a product owner? More specifically, how would one conduct a performance review of a product owner? What qualities or characteristics would one look at when reviewing a product owner? | Ask for feedback from the developers which were part of the team developing the product he 'owned'. You could ask questions like: Was he able to answer requirements related questions in a timely manner? When presented with multiple alternatives in regards to a feature, was he able to make a clear decision with regard o... | 8 | 10 | 4,491 | 2012-12-05T12:21:13.560 | api_errors | softwareengineering.stackexchange.com | |
1,123,855 | Add Network Printer using command /Powershell after exporting it from One Machine to Another Windows 10/11 | AIM : To export Network Printer from one Windows 10 machine to an output file and using that output file import it to another Windows 10 machine on the same network. Research work: The following Powershell cmd shows the Mapped printers for a user: cmdlet 1) [CODE] NOTE: The above cmd does not show the DriverName which ... | Why are you even bothering with WMI and rundll32? You should use the native PowerShell commands [CODE] and [CODE] . Example: On the first computer, use: [CODE] Copy the file to the second computer and use: [CODE] | -1 | 3 | 2,404 | 2023-02-27T03:35:30.163 | infrastructure | serverfault.com | |
307,790 | Where to install SQL on EC2 | If SQL Server and it's system databases are installed on an EC2 local drive, will they be recovered in a crash? My understanding is nothing but temporary files and the OS should be on the local storage but I may not understand EC2 recovery. | You’ll want to follow best practices for your data and log files, whether you’re running on EC2 or on-premise. Think of EC2 just as any other VM, it just happens to be running in AWS. The big difference being how you provision storage. You’ll want to provision a persisted volume in the web console and mount that to the... | 0 | 0 | 46 | 2022-02-21T21:37:35.693 | database_errors | dba.stackexchange.com | |
550,634 | VMware Performance Monitor: How does aggregation work for VM Processor\% Processor Time | I'm monitoring a Windows Server 2008 R2 SP1 VM running on vSphere 5.1 for CPU bottlenecks. I'm using Performance Monitor and configured a few counters. Two of which are Processor\% Processor Time and VM Processor\% Processor time, the latter is provided by VMware if you have VM Tools installed. I'm seeing a big differe... | I found the answer. VM Processor\% Processor Time assigns 100% to each vCPU. therefore VM Processor\% Processor Time (_Total) maximum value will be 100*(no. of vCPUs) | 3 | 2 | 1,517 | 2013-11-04T17:59:57.407 | pipeline_ops | serverfault.com | |
946,245 | Recover from a clean, degraded RAID-5 | Good morning all, I have some NAS software which - for the most part - works great, but when something happens to the Hyper-V host it often fails spectacularly. Today is one of those days. I'm not great at under the hood stuff but have Google'd around and come to the conclusion the whole thing is confused! I only have ... | From the [CODE] output we can see that [CODE] has been readded to the [CODE] and [CODE] arrays. These are two small RAID-1 arrays with a mirror on every disk. With that many mirrors those were not at risk of data loss. Unfortunately [CODE] was not readded to [CODE] and [CODE] which are the RAID-5 arrays currently at ri... | 1 | 2 | 1,329 | 2018-12-21T08:35:41.550 | infrastructure | serverfault.com | |
12,676 | Dropped database still shows but causes errors PostgreSQL | I had dropped a database a couple weeks ago but it still shows with [CODE] . I've tried using [CODE] and the first time it gave me a confirmation message but [CODE] was still showing up with [CODE] . Now when I try that command again I get: [CODE] Every couple of minutes or so it will also give me this error message: [... | I would guess you had open connections / transactions while you dropped the db initially and the DROP is stalled somehow. You can get more info on databases with statistics views . For instance: [CODE] In case you find open backend processes, you might want to shut them down like this: [CODE] More about that in the man... | 5 | 3 | 1,832 | 2012-02-10T15:41:53.130 | database_errors | dba.stackexchange.com | |
213,915 | Where to get the source tar of zend debugger for PHP 5.3.x for linux? | I went here ,but the web debugger only contains the windows version [CODE] , where to get the source tar of zend debugger or better the zenddebugger.so for linux? | Try this site. http://downloads.zend.com/pdt/server-debugger/ | 0 | 0 | 417 | 2010-12-18T01:37:46.253 | infrastructure | serverfault.com | |
78,028 | How to mentor junior programmer who may not be a good fit for programming? | I'm in a bit of a precarious position. I'm working remotely for a client that has recently brought in a junior developer straight out of college into the project. He works physically at their office. I believe he studied computer science (although I can't recall 100% at the moment). He has been with the company a coupl... | Depending on where he went to school he may not have more than a few months experience doing very trivial things in one language. That can be fixed, but make certain it is worth the effort. It sounds like you need to tell if he can be salvaged or not. put the code away for a little while explain a small to medium sized... | 36 | 16 | 8,679 | 2011-05-21T04:30:53.083 | api_errors | softwareengineering.stackexchange.com | |
181,195 | Windows Server 2008 - Will not boot normally, only boots into Safe Mode | I have a less than one month old server on which Windows Server 2008 R2 is installed. I have a 2 mirrored disk drives in there. I attempted a RAM upgrade, which did not go well possibly due to memory density issues. The server refused to even POST, so I rolled back the upgrade and installed all of the original RAM back... | After nearly a month of working on and off this issue, it was finally resolved last week. It may have been a combination of problems that got stacked onto one another, but here's the flow of the issues: 1) RAM upgrade does not go smoothly 2) Dell support asks me to troubleshoot over phone, doesn't go anywhere 3) Dell t... | 1 | 0 | 6,812 | 2010-09-14T22:39:08.417 | infrastructure | serverfault.com | |
959,171 | Mail server proxy suggestions | Currently we I have a mail server for example "mail.example.com". This is a dedicated email server and we are looking to replace it. We are considering outsourcing the email management through multiple possible services (gandi email for domains registered there, opensrs for others). The idea being we don't have to mana... | The way this works is the MSP will provide MX records that you will put in your DNS to point mailflow to their mail servers. Your customers will want to back up their mailboxes prior to the switch, and import after the switch has been made. There will be downtime, so be sure to ask the MSP about it. | 0 | 0 | 194 | 2019-03-20T18:03:41.137 | infrastructure | serverfault.com | |
97,185 | Can a virtual PC find out the identity of its host? | There's a Microsoft Virtual PC instance on my network that runs build scripts and reports problems by sending me an e-mail. I don't what machine it's running on! I can access the machine by Remote Desktop, but I don't know how to work out the host from that. What I'd really like, in the future, is to include the host n... | Unless I am mistaken, outside of server-provided virtualization tools (like VMware's 'vmware tools'), you won't be able to determine even that the VM is a virtual machine. Perhaps running through Hyper-V's admin consoles you could determine which machine it is running on. Outside of that, I know of no such way to deter... | 1 | 4 | 1,873 | 2009-12-24T12:35:24.370 | infrastructure | serverfault.com | |
260,190 | SQL Server Agent fails after installing SQL Server 2019 CU2 | After installing CU2 our SQL server agent randomly stops working. If you go to check on the status of the agent by opening Job Activity Monitor, it comes up blank for a while then throws an error: Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc) For help, click: https://go.microsoft.co... | Thank you for reporting this. There is a feedback item in https://feedback.azure.com/forums/908035-sql-server/suggestions/39754837-ssms-18-4-sqlserver-2019-cu2-object-explorer-fails . All updates will be provided there as we investigate. FYI, the bug introduced in CU2 with [CODE] is now understood and a fix will ship i... | 11 | 10 | 3,444 | 2020-02-20T20:58:43.490 | database_errors | dba.stackexchange.com | |
622,936 | When load balancing, must all copies of static web page be exactly the same? | I am used to get answers for everything on the web, but not this time... Yesterday I enable Amazon DNS weight functionally to load balance 7 websites between two different IP addresses (split 50%-50%). Both servers run IIS 8.5, sites runs well on both sides. Today I found out that Google WebMasterTools is reporting fai... | No, the content can be different. The load balancer will simply send traffic to each. It sounds like one server is having problems rendering the robots.txt and if you say it doesn't, then check again. | 0 | 0 | 112 | 2014-08-21T04:11:25.387 | infrastructure | serverfault.com | |
217,502 | Installing APC on a server with little ram | I'm going to install APC on my server to enhance Drupal performances, however I've read on internet that if I have little ram it might be a risk, and performances could get worse. I have 256MB ram, so I was wondering if it make sense to install APC and how much ram I should assign it. Ps. I'm running lighttpd as web se... | from http://www.php.net/manual/en/apc.configuration.php ... the apc.php script ... Cache full count number (on the left) will display the number of times the cache has reached maximum capacity and has had to forcefully clean any entries that haven't been accessed in the last apc.ttl seconds. This number is minimized in... | 0 | 1 | 156 | 2010-12-30T18:46:17.317 | infrastructure | serverfault.com | |
478,543 | Install X509 certificate into Windows 2008 R2 | I'm trying to install a certificate into my windows 2008 but I'm not able to do it right. I have a .crt file and I click to install from contextual menu. It succeed to import but if I browse the certificate store (personal -> local computer) it is not there. I searched by thumbprint on all repositories and the cert is ... | You're installing the certificate into your user account's certificate store. Use the "Import" functionality inside the Certificates MMC snap-in, targeted at the computer, to import the certificate into the computer's certificate store. | 1 | 4 | 6,121 | 2013-02-13T20:42:39.387 | infrastructure | serverfault.com | |
349,563 | Making an HTTP request for a response without a layout | I'm making an application where the front-end can display resources both as themselves or within a modal. Of course, when the server gets a request for a resource in HTML, it's going to include a layout (with a [CODE] , maybe a header and footer in body, and so on). However, if I want a modal with the resource informat... | Do not invent your own headers. And please avoid using headers to detect which content you should serve. There are legitimate use cases for this, but in general this makes your backend much more difficult to debug. The full-page and modal variant of the page represent the same resource, so it can be argued that they s... | 0 | 1 | 96 | 2017-05-24T22:46:23.890 | api_errors | softwareengineering.stackexchange.com | |
544,214 | How to add nginx file upload module to Debian Squeeze? | I need to use nginx upload module in my Debian Squeeze server. I already have installed nginx and nginx-extras. the nginx version is 1.4.2. From the package description of nginx-extras, it seems that upload module should be included however nginx -V gives me this list: [CODE] which does not include upload module. This ... | Nginx upload module has been removed from Debian package/s, as of this writing. Ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729003 Whenever you post the output of [CODE] , please consider formatting it. I use [CODE] to format its output. There are other ways to format too, such as a few mentioned at https://... | 1 | 1 | 2,137 | 2013-10-07T07:13:15.350 | infrastructure | serverfault.com | |
89,200 | Where are connections to databases made from when using SSRS? | If I have SSRS set up in the following format Server 1 : Running SQL Server, hosting the SSRS database Server 2 : Running SSRS, configured to store metadata on Server 1 database And SSRS reports are configured to connect to say, Server 3 Will the connection to server 3 take place from server 1 or server 2? | From Server2 to Server3. The SSRS service is what connects to the database which contains the database which the report is querying. | 0 | 2 | 53 | 2015-01-13T19:26:27.763 | bi_errors | dba.stackexchange.com | |
18,644 | Receive strange error during mysql auto-repair check optimize | I am running the command: [CODE] And up until this past week, this command has always run just fine. Last week however, I started receiving the error: [CODE] This is not a table I created or recognize. I have no idea why the error would suddenly start occurring. Has anyone seen this or have any idea what might be causi... | Here is the original command that you ran [CODE] Since you are running mysqlchk against the database, you need to specify the [CODE] option [CODE] Give it a Try !!! | 2 | 1 | 263 | 2012-05-31T15:51:16.903 | database_errors | dba.stackexchange.com | |
1,000,121 | Nginx HTTP authorization only for git push | I host a private git server using Nginx. I'd like anyone to clone into my repos (without authorization) but require authorization if they try to push a commit. My Nginx configuration is as follows: [CODE] From my understanding, a [CODE] request sends a [CODE] to my server. My simple solution was to capture this suffix ... | git could send different requests on push (e. g. [CODE] or similar), and you was trying to use equal comparision. Try something like that: [CODE] But also as working scenario you can use something like that: [CODE] or simply different URL (and location) for push that rewrite it after authorization. Then you can configu... | 0 | 0 | 435 | 2020-01-23T15:14:28.823 | infrastructure | serverfault.com | |
105,825 | Canonical Redirect on Dynamic Mass Virtual Hosts on Apache | I have a Web app on Apache that allows users to point their domain to the server. Right now I'm using Apache's dynamic mass virtual hosts with an entry VirtualDocumentRoot /www/hosts/%0/docs So with www.companydomain.com it points to /www/hosts/www.companydomain.com/docs The problem is when the user goes to companydoma... | I think I would look into the [CODE] option for RewriteCond to test if a directory exists for this vhost, and if it does not exist, redirect to www.example.com explicitly. This lets people not be shocked when they get a page they do not expect, and it prevents multiple indexing by search engines. | 0 | 0 | 370 | 2010-01-24T14:43:10.950 | infrastructure | serverfault.com | |
265,956 | non-www domains prevent hosting of static content on the same domain, correct? | Flaw to using non-www domain a canonical? I love the idea of short, clean urls like example.com over www.example.com, and certainly whichever one is used should redirect to the other. However, as I have researched the matter over time, I've come to the conclusion that using the non-www url as the canonical url is a lia... | I don't really see it as a problem, as cookies aren't that big and the server doesn't have to send them back in the response. So while yes, one or more cookies set by example.com will "balloon" the request to static.example.com, static.example.com doesn't have to send it back in the response, so the server's response i... | 4 | 2 | 2,541 | 2011-05-03T19:44:25.630 | infrastructure | serverfault.com | |
928,826 | geoip block/ mass ip blocks in windows firewall | i got issue with ransomware attacks day and night from Russia/Ukraine... even with secure rdp some of them get passes now and then and make me suffer... so i want to block geo block whole Russia/Ukraine till Microsoft actually think of something and patch this issue... there is no GeoBlock as far as i know in firewall ... | This is entirely the wrong approach. First, if you have "secure RDP", how come the attackers get through anyway? This is not normal. Second: This would be unreliable, as you are now still vulnerable to non-russian IPs attacking you... Solution: Don't expose the RDP port directly. Put all your stuff except things that n... | -2 | 1 | 3,499 | 2018-08-31T06:20:55.667 | infrastructure | serverfault.com | |
573,647 | Exim4 SMTP server allows unauthenticated users to send emails | I use Debian 7.x amd64 + Exim 4.82 on a dedicated server, I also have a working SMTP server on a shared hosting. I would like to setup an SMTP on my VPS that will have some special delivery scripts/filters (e.g. send a copy of all the out-coming emails for some accounts) Currently the situation on the VPS is the follow... | Remove the [CODE] from [CODE] . This allows anyone to relay. If you are relaying for your local network put its IP-range(s) in [CODE] . If you want to allow authenticated users to send mail from anywhere you need an accept rule for authenticated users. The default configuration should include the appropriate rules to b... | 1 | 3 | 7,490 | 2014-02-06T13:08:15.397 | api_errors | serverfault.com | |
214,202 | T-SQL trigger to update columns | I've been working with SQL queries for a couple of weeks and I'm trying to learn and understand from my mistakes. I have a table with two columns [CODE] and [CODE] and when one is changed to update the other one also like: - if added a ~ in front of the ShortName to set [CODE] to 1 and if ~ is removed to set it to 0 - ... | Here is the problem: You update the table It triggers the update trigger: [CODE] In the trigger you update the table again so it triggers the [CODE] trigger and then it keeps doing that so you end up triggering the trigger many times in a sort of recursive fashion without even realizing. SQL server will allow this call... | 7 | 10 | 1,032 | 2018-08-06T16:09:27.463 | warehouse_errors | dba.stackexchange.com | |
95,620 | Local Apache on Windows XP not finishing page requests | I have Apache 2.2.11 installed locally on my Windows XP (SP3) dev machine, which I setup about 3 months ago. I have just started having a strange problem in the last few week. Apache is serving some basic PHP applications like phpMyAdmin. When I make a page request, Apache appears to not finish serving all resources fo... | Update - Fixed! William Rowe from the Apache mailing list gave me the answer, which apparently is a known thing. XP [personal operating system] only supports two simultaneous applications of the TransmitFile API. Please try the 'stock answer' of 'EnableSendfile Off' in your config. With that change, this issue has disa... | 1 | 1 | 4,544 | 2009-12-18T06:25:18.457 | infrastructure | serverfault.com | |
973,004 | unable to SSH into my AWS EC2 | My security group has the following [CODE] I used an AWS Marketplace Virtual Machine (CentOS 7.4 Minimal) and I've associated an Elastic IP to the instance. I created an SSH Key and downloaded the keys to my computer. when I try to ssh, i get timed out. [CODE] Link to document that I was following | First try to stop and start the intance... second check at you instance security group if your ip is open to use ssh with yor IP at port 22 third force to your your sshkey ssh -i /location/of/.ssh/key centos@34.238.96.7 | 0 | 0 | 92 | 2019-06-26T16:26:21.220 | database_errors | serverfault.com | |
113,686 | Bayesian state description in Reinforcement Learning | What's the best approach to feed a bayesian description of an observed state to a Reinforcement Learning agent? Brief context: I have an agent situated in an environment, which it perceives through a series of noisy sensors. Using Bayesian inference (outside of the RL agent) a number of sensed variables of interest are... | If the state uncertainty affects the decision making then there are possibly two avenues that you can take: Incorporate the uncertainty in the state and formulate the problem as a Partially Observable Markov Decision Process (POMDP). An example of this is the RockSample domain. Some indicative links that could help you... | 0 | 1 | 30 | 2022-08-19T15:32:52.530 | airflow_errors | datascience.stackexchange.com | |
517,465 | Email routing to local server instead of remote | I'm not an expert on servers but have identified an issue with my webhost and their email setup. I've approached the hosting company about it, but being Hong Kong based a language barrier is preventing me from getting my issue across to them. I'm hoping someone here can clarify the details and provide a solution for me... | If it is really just the domains hostet by the Hong Kong hoster, then all they have to do is make sure the MX-records point to the right mail server (which can be the same for all of your domains). It is then the duty of your mail server admin (maybe thats you) to make sure the mail server accepts emails for all of you... | 0 | 0 | 223 | 2013-06-21T07:22:40.810 | infrastructure | serverfault.com | |
282,775 | Problem trying to access local website (settings in hosts file) on Host PC (Win XP SP3) from Guest PC (VM Win 7) | Host PC : [CODE] Guest PC : [CODE] Host PC IP Address : [CODE] Guest PC IP Address : [CODE] On my Guest PC I'm trying to access a website running on my Host PC. My Host PC's hosts file has the entry of: [CODE] When I modify my Guest PC's hosts file to: [CODE] and open up Internet Explorer 9 and type in http://www.dev.c... | I figured it out. It doesn't matter that the IP's are different. I just needed to use the same hosts file settings as my host. I don't know why I hadn't tried that already, but simply changing [CODE] back to [CODE] did the trick! | 0 | 0 | 202 | 2011-06-21T20:52:02.097 | infrastructure | serverfault.com | |
507,773 | Increasing the metric of default route in CentOS with DHCP | I am setting up a server (VM to be precise) that runs CentOS 6.4. I have an [CODE] adapter on the CentOS machine that has connection to the Internet (through a bridged network on the host). The eth0 adapter is configured through DHCP. So far, so good. I also want to have a VPN client running on the server and to have i... | So if I understand the problem correctly then you basically have a computer with an interface set to DHCP, and you want to connect to a VPN and pass all your traffic through the VPN. You are having problems when the DHCP server renews the lease it is re-adding the gateway provided by the DHCP server. I suggest you upda... | 0 | 3 | 5,473 | 2013-05-14T19:33:44.160 | infrastructure | serverfault.com | |
543,012 | ELB can't proxy traffic to my EC2 instance | For some reason ELB isn't correctly forwarding requests to my instance on EC2. My setup is simply a [CODE] instance with [CODE] / [CODE] , listening on ports [CODE] and [CODE] . The instance gets the health checker requests through ELB perfectly. 10.185.1.190 - - [01/Oct/2013:15:26:18 +0000] "GET / HTTP/1.1" 302 40 "-"... | Your server is returning a 302 (redirect) response code, and ELB looks for a 200 response code to consider an instance in service. You need to have healthcheck look at a page that doesn't redirect. | 0 | 2 | 2,254 | 2013-10-01T15:55:43.340 | infrastructure | serverfault.com | |
36,662 | How to select second value in drop using Katalon Chrome Extention? | I'm trying to make Katalon chrome extension to click the dd/mm/yyyy language. But the problem is when I record the click on dd/mm/yyyy Katalon records [CODE] Now for this, when the test case is run, it selects the Select Language value BUT, if I select mm/dd/yyyy from the drop-down Katalon records [CODE] And now when I... | How about we enter the xPath ourselves using li tag and text() ? For Example -: [CODE] | 3 | 0 | 1,047 | 2018-12-03T14:16:23.900 | data_quality | sqa.stackexchange.com | |
22,564 | What ML/DL approach better suits this problem? | We have a huge dataset with us that looks like below [CODE] and we have about 10 million of such data points. We also have a test set with about .2 million data points where we need to accurately call them out into different classes. At this point, we are trying a mix of K-means & Random Forest approach coded in (pytho... | Yes, you can use DL network to solve this problem. It is a easy multi-classes classification task. And just a full connected network will do this work. To construct the network I recommend using Keras which is easy to use. And before training the network, it is better to preprocess the data(standardizing the numeric co... | 1 | 2 | 207 | 2017-08-25T06:32:37.883 | data_quality | datascience.stackexchange.com | |
335,524 | Tool to organize and arrange various monitoring pages? | we recently added a MacPro with eight (yes 8) monitors on it. We have various tools for monitoring our website (Chartbeat, Nagios, internal statistics, Jenkins, Smartfox, etc.) and they are currently free-flowing in various browser windows on the various screens. I'd like a better way to organize them into a more fixed... | Looks like you want a tiling window manager . The description is complicated, but the idea is simple: A tiling WM arranges windows so that there's no overlap. There's a question on tiling WMs for OSX at SuperUser, I'd use one of their recommendations to tile the browser windows across the 8 screens. If your tools are i... | 2 | 3 | 197 | 2011-11-28T18:33:01.767 | pipeline_ops | serverfault.com | |
81,787 | MySQL tmpdir on /dev/shm with SELinux | On RHEL5, I have a small MySQL database that has to write temp files. To speed up this process, I would like to move the temporary directory to /dev/shm by putting the following line into my.cnf: [CODE] I can create /dev/shm/mysqltmp just fine and do [CODE] I've tried to make SELinux happy by applying the same settings... | [CODE] This means, that SELinux deny access to [CODE] dir, which is a parent of [CODE] . [CODE] You have 3 options: 1) Change [CODE] type label from [CODE] to [CODE] 2) Run SELinux in permissive mode, and collect all denies in [CODE] [CODE] You should check, if myMySQL.te contains only necessary allows. Finally, you lo... | 2 | 2 | 5,622 | 2009-11-05T16:27:01.607 | database_errors | serverfault.com | |
946,444 | Docker Compose up -d for wordpress just returns one line | I am attempting to run [CODE] on a wordpress [CODE] configuration from the official docs on dockers website. It doesn't run anything it just returns the following [CODE] Here is my configuration [CODE] This is the documentation I am following https://docs.docker.com/compose/wordpress/ I checked to see if wordpress happ... | This was so stupid, I had copied this [CODE] from here https://hub.docker.com/_/wordpress/ and then followed the instructions from here https://docs.docker.com/compose/wordpress/ and they have set different ports one [CODE] and one [CODE] so I was just typing in [CODE] in my browser and it was set to [CODE] omg so stup... | 0 | 0 | 420 | 2018-12-23T18:05:02.313 | pipeline_ops | serverfault.com | |
445,426 | Lync & TLS: Event 36874 - how to handle? | Setting up a new Lync 2013 install in the Company Network I got everything nearly working except Client Login. here seems to be a mismatch of capabilities or some Settings in the TLS area - Connection Fails, and I get quite a lot of Schannel Events 36874. EventData is: [CODE] The General text is: An TLS 1.2 connection ... | I found a solution on http://social.technet.microsoft.com/Forums/en-US/lyncprofile/thread/41718327-203f-445f-8657-87b0a8545ead/ from User Matt. I Quote: I have been working with Microsoft for a couple of weeks on this and we have identified a workaround that resolves the issue. To be clear on my environment: I am using... | 3 | 4 | 34,823 | 2012-11-05T05:15:02.730 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.