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 |
|---|---|---|---|---|---|---|---|---|---|---|
80,232 | mysql "can't create test file" error on Centos | When starting mysql on Centos servers with a custom data directory you might get an error similar to the following: [CODE] | If your chmod and chown settings are already correct you might need to look into selinux. This page explains how to configure selinux for mysql: https://blogs.oracle.com/jsmyth/entry/selinux_and_mysql | 5 | 4 | 15,822 | 2014-10-15T11:30:21.517 | database_errors | dba.stackexchange.com | |
477,613 | Exchange 2007 iOS 6.1 protection | In case you hadn't heard there is a 6.1 bug that will be causing us headaches http://www.zdnet.com/ios-6-1-banned-from-corporate-servers-due-to-exchange-snafu-7000011064/ I have seen an article on how you can block exchange 2010+ from allowing syncing with 6.1 devices but it doesn't cover Exchange 2007 http://exchanges... | http://www.zdnet.com/apple-releases-ios-6-1-2-fixes-exchange-bug-lock-screen-bug-still-open-7000011510/ Supposed fix is 6.1.2...we'll see. | 2 | 1 | 346 | 2013-02-11T13:44:30.993 | infrastructure | serverfault.com | |
592,336 | How can I make an internet facing TFTP server secure? | I have many Cisco IP phones that operate in the following manner (oversimplified): Negotiate with DHCP for IP, DNS, TFTP, etc. Look for SEPXXXXXXXXXXXX.cnf.xml configuration file on TFTP server where X is the MAC address of the phone Parse the configuration file to load its configuration and update firmware (also store... | You would make TFTP access over the internet secure the same way you'd make access to anything over the internet secure. By going through a VPN. Cisco's IP phones can be set up to use a VPN , and someone even put together a handy doc around common issues with this setup that you might want to take a look at . | 6 | 13 | 12,351 | 2014-04-30T17:36:33.390 | infrastructure | serverfault.com | |
78,931 | IIS6 windows authentication failure in secondary domain | Technical Setup We have a website set with no anonymous access on a webserver (webtest. work.local ), and making use of two hostheader values (with appropriate DNS entries created): 1. mySite.uat. work.local 2. mySite.uat. companyName.co.uk The domain we use is work.local IIS Directory security is set to: [CODE] Proble... | By default, Internet Explorer only performs "transparent" authentication for sites in the "Local Intranet" security zone. Your "mySite.uat.companyName.co.uk" is probably being identified as being in the "Internet" security zone and, thus, no automatic logon is occurring. You can add that site to the "Local Intranet" zo... | 0 | 0 | 531 | 2009-10-27T23:03:07.220 | api_errors | serverfault.com | |
1,143,217 | Svn CLI cannot connect to repo, but TortoiseSVN inside Wine and CLI on other Computer in same network *can* | [I hope this is the right StackExchange network for this, was not sure whether this belongs more here or in the Unix+Linux one] Previously, I was simply using the svn CLI on my linux laptop, everything worked fine. Now that I migrated to a new desktop linux machine (same Arch Linux distribution, copied over all config ... | Turns out this was an IPv6 issue! When doing a [CODE] , I got [CODE] so putting the ipv4 address into [CODE] like [CODE] fixed the issue! | 0 | 0 | 104 | 2023-09-06T19:09:10.017 | infrastructure | serverfault.com | |
329,574 | copy data between 2 databases with same tables, but different identities | I have tables [CODE] and [CODE] which is a child table of [CODE] and linked based on [CODE] in "source" database, and I have the same tables in "destination" dabase. copy all listings to destination table Listings and its children to destination [CODE] table keeping in mind that the destination [CODE] table has to get ... | This can be accomplished with a simple loop and SCOPE_IDENTITY(), but depending on the size of your data set, could run for quite some time. Also, for any hope of this finishing, you need to have a nonclustered index on Media.ListingId. [CODE] This works by inserting records from the source Listings table into the targ... | 1 | 0 | 34 | 2023-07-23T21:37:15.197 | warehouse_errors | dba.stackexchange.com | |
252,531 | Update dynamic column names using keys from jsonb argument | I'd like to write a generic procedure for Postgres 12 that updates a table's columns depending on what data is supplied in a [CODE] argument. It could be done in application logic instead of course, but I'm trying to push as much code down into the db layer as possible. This is the kind of thing I naively hoped might w... | Your case is too dynamic for [CODE] : it takes a record type which you don't know (nor have) at the time of calling. [CODE] calling [CODE] for each JSON key Proof of concept to show what did not work in your attempt. [CODE] Call: [CODE] Column names cannot be dynamic, so format the query (with [CODE] for convenience) a... | 2 | 1 | 2,869 | 2019-11-04T19:09:30.043 | warehouse_errors | dba.stackexchange.com | |
509,944 | Email rejected as spam goes through on a reply | Having some problems with mail messages which are rejected as spam when sent directly to a user at a certain company address but if that users sends us a message and we reply, it is accepted. If I try connecting via smtp on command line from our server, the connection is received. Any ideas why a direct message is reje... | Quite a few spam filtering systems rank incoming e-mail lower if it references e-mail that was send from the receiving organization. The replying party adds a [CODE] header referencing the original e-mail to the message. A quick lookup verifies the reference and mail gets through. Your original e-mail is probably marke... | 1 | 5 | 78 | 2013-05-22T15:46:08.827 | infrastructure | serverfault.com | |
126,691 | Is a cluster the most cost effective redundancy method for windows server 2003? | We had a server with bad ram which caused a long outage while they figured it out and our client facing apps had to go down for a while. We are coming up with a solution for instant fail-over but are not sure what the most cost effective method would be. Is a windows server cluster the best method for this? Also note w... | Redundancy comes in a few different forms. If you're talking about hardware redundancy, Windows clustering is a pretty good option. In your badRAM situation, you would have failed over to the passive node and had a minute or so of downtime and then could have focused on fixing the other node without all the pressure of... | 1 | 1 | 233 | 2010-03-26T18:24:23.973 | infrastructure | serverfault.com | |
515,354 | In Amazon EC2, what's the best way to clone a private github repository on boot? | I need to configure an autoscale group of EC2 instances that on boot will clone a particular branch and commit from a private github repository, then execute code from inside that repository. I'm using an Ubuntu-derived AMI that has the cloud-init launch system on it, so it seems to me the simplest way to implement thi... | Normally, I would recommend that you create a working EC2 instance with the SSH key and git repo clone (a working instance with your ideal configuration). Then create a AMI of that instance and in the launch configuration enter your scripts in the userdata so that the scripts would run each time (basically update git a... | 2 | 4 | 6,486 | 2013-06-12T18:55:26.427 | infrastructure | serverfault.com | |
439,940 | Tight coupling between micro services | I have got the following scenario, which I have been thinking what would be the "best" way to solve it. Request comes from the FE, which changes the status of a delivery, and that should trigger different things depending on the value of the new status. -if confirmed, send email and also create pdfs -if dispatched, cre... | First let's point out that having an http call in between is not tight coupling. Tight coupling means that the interfaces are designed in such a way that every minimal change on one side (provider/consumer) will cascade requiring a similar a change on the other side. If your interface has only the fields strictly neede... | 1 | 1 | 152 | 2022-07-21T12:52:30.100 | data_quality | softwareengineering.stackexchange.com | |
282,284 | Exchange 2010 transport rules | I have some users that I do not want to mail outside of my company. In the EMC i go to Organization config>hub transport>transport rules. In there I made a rule that limits certain people in a distribution list to not being able to email outside. The text of the rule is as follows: [CODE] The rule works fine but here i... | The "good" solution: Give her access to company email on the cell phone. The "bad" solution: Have her forward the email via a mailbox rule instead of having you change it on the exchange recipient - this would generate a second outbound message instead of letting exchange resolve straight to the external address when e... | 0 | 0 | 839 | 2011-06-20T17:17:40.787 | infrastructure | serverfault.com | |
1,070,479 | Nginx Basic Authentication | I want to implement some basic authentication so that when I check my netdata dashboard at the domain it won't be wide open and viewable by everyone. And I do have other apps I plan to run. Including ZNC which is already running. Problem is that after I log into to the netdata subdomain, I cannot get into the znc web i... | Solution is found. Add the line below if you are using nginx's basic auth module. Otherwise the nginx authentication header would be forwarded to the app, which would cause all HTTP requests to fail. Adding the line also means that you can't access certain APIs via nginx with basic authentication [CODE] | 0 | 0 | 745 | 2021-07-23T22:16:59.770 | bi_errors | serverfault.com | |
827,058 | Connection problems with DHCP solved setting a DHCP client ID. Why? | We are using DHCP in the office and from time to time when I try to connect for first time, my connection is stuck: I get an IP from the DHCP server but the connection doesn't work (I keep the [CODE] command running to check that). But "magically" I found this morning that the problem was solved after setting a DHCP cl... | This happened to me long ago and I think it was something to do with IP release time I made it 24 hours only. Also if there are bridges or wifi extenders don't let them handle the DHCP and forward it to the main router or use AP isloation | 0 | 0 | 788 | 2017-01-18T15:37:06.753 | infrastructure | serverfault.com | |
196,383 | kernel patch .diff file | i need to apply patch .diff file to kenerl how to apply it which command should i use after i save the patch on patch.diff file ps patch is https://bugzilla.redhat.com/show_bug.cgi?id=248716 | You can use the patch tool. The general syntax is as follows: [CODE] For more info see: [CODE] | 1 | 2 | 489 | 2010-10-30T07:54:11.417 | infrastructure | serverfault.com | |
979,140 | Is it possible to disable new bluetooth connections for non-admin accounts(Windows 10)? | I can disable bluetooth entirely, but I want the previously attached bluetooth keyboard & mouse to continue working, but the guest/non-admin users unable to pair new devices. I looked at stopping Bluetooth Support Service, but that looks like it will also stop currently paired devices from working. | You could try Bluetooth discoverability : Block option once you have configured with the desired device. When it configured it prevents | 0 | 1 | 537 | 2019-08-13T18:57:14.023 | infrastructure | serverfault.com | |
281,808 | internet connection in debian 6's recovery mode | I've broken my window manager on my Debian 6 machine, and so I am stuck to recovery mode for now. That is, I got a plain root shell. Now here's my problem: how can I get a internet connection, so I can pull new sources and compile my window manager? [CODE] does not work. eth0 is up, but I cannot access the internet. Wh... | Try [CODE] if it's a direct connection to your ISP or there's a DHCP server in your network. Can you ping hosts in your network, if any? Please post the output of [CODE] and [CODE] . | 8 | 10 | 8,288 | 2011-06-18T19:36:28.990 | infrastructure | serverfault.com | |
155,164 | Having trouble with interface table structures in MSSQL | Hi I'm currently working on a project that involves a third party database and application. So far we are able to successfully TEST and interface data between our databases. However we are having trouble when we are extracting a large set of data (ex 100000 rows and 10 columns per row) and suddenly it stopped at the mi... | Did you consider to run in loop and extract each time TOP 10000 (or 5000)? It is possible only if you can identify them later for delete / bitcolumn update. For example, if you have and identity column ID, it could look like [CODE] | 0 | 1 | 35 | 2016-11-14T04:20:46.803 | warehouse_errors | dba.stackexchange.com | |
41,212 | It is fair to jail my SFTP users to their home directory? | roots . I'm running an Ubuntu 9.04 (home) Server on my LAN. I currently use it to store little web apps, photos, some subversion repository and stuff like that. My (few) users are friends of mine and I always provided them with a jailed FTP access to their home directory. Now, recently I realised that FTP is not so sec... | chrooting users using ssh is not a desirable configuration in most cases. When they're jailed into their home dir, they won't be able to use any programs outside their home dir. This makes unix almost unusable as a shell server. You can use FTPS instead of SFTP/SCP, which will send passwords over SSL, but uses an ssh s... | 4 | 8 | 4,032 | 2009-07-15T19:06:11.957 | infrastructure | serverfault.com | |
726,503 | Docker command error (repository name component must match "[a-z0-9]+(?:[._-][a-z0-9]+)*") | Why won´t this command work? sudo docker run --name guacamole --link guacd --link mysql \ -e MYSQL_DATABASE=guacamole_db \ -e MYSQL_USER=guacamole_user \ -e MYSQL_PASSWORD=password123 \ -d -p 8181:8080 glyptodon/guacamole Output is: [CODE] http://wiki.univention.com/index.php?title=Cool_Solution_-_Guacamole and http://... | If you want to use backslashes "\", make sure you enter the text after that in a new line. Backslashes here are used to just split out a long command into multiple lines in the shell. For your example, this should work for you if you wish to use backslashes. [CODE] | 0 | 1 | 1,119 | 2015-10-03T15:16:50.273 | pipeline_ops | serverfault.com | |
336,378 | Zabbix monitoring system | I want to monitor some things and I was wondering what of the following can be done using Zabbix easily, what can be done with some extra effort and what can't be done with it: All computers are running either Windows or Linux Login/Logout of a computer Turning a computer on/off Interent connection Trigger network cabl... | Login/Logout of a computer Sure, you can monitor # active connections, which will give you this. Turning a computer on/off Yes Interent connection Not sure what an interent connection is, but if you mean internet connection, then yes Trigger network cable being disconnected Sort of. If the NIC is unplugged though, Zabb... | -2 | 3 | 1,276 | 2011-11-30T20:28:15.887 | pipeline_ops | serverfault.com | |
330,118 | deriving , derived decorator classes. How? Does it sound like a good idea or are there more suitable ways? | I follow this example on decorator patterns to implement objects who's functionality can be dynamically be coupled together. Namely: [CODE] Normally instantiating an object that has all the functionality would look like: [CODE] OR [CODE] The latter group are especially useful if I want to use a function such as [CODE] ... | I have a strong feeling your "decorator pattern" doesn't match conventional usage of that term. Commonly, the usage of this pattern implies extra functionality in the methods provided by the interface , e.g. logging ("method X was called with params Y and Z") or bounds checking (method on A expects param X to be betwee... | 3 | 2 | 245 | 2016-09-03T17:51:39.863 | api_errors | softwareengineering.stackexchange.com | |
306,086 | Pick specific column value in a group of rows based on condition | I am working with mariadb server version 10.6.4. This is my table definition: [CODE] Here is some example data: [CODE] What I would like to achieve is determine the MIN(arrival) of each group of case_id and client_id and in case departure is not null MAX(departure) should be displayed otherwise null. I want to end up w... | What code do you have so far? I assume you are using [CODE] . To discover whether any [CODE] is [CODE] (across a group) is with [CODE] . This is because [CODE] counts all rows; the other counts only rows where [CODE] . So, this is how you might make the departure expression: [CODE] More Your proposed solution has the "... | 0 | 0 | 349 | 2022-01-14T14:46:52.840 | database_errors | dba.stackexchange.com | |
154,714 | Duplicate entries in query with sum | I have the following tables: players: Columns: name, school_name, gender double: Columns: player_name_fkey, school_name_fkey, category, tournament_number, score My entries in the simple table will be similar to this. Each line is the score by a player at a specific tournament number. [CODE] What I am looking to do is t... | Simple answer, you grouped by your sum. Solution is simply to remove that from your group by statement, eg: http://rextester.com/EOH13219 [CODE] | 0 | 1 | 6,181 | 2016-11-09T15:43:52.300 | data_quality | dba.stackexchange.com | |
455,276 | BEAST (Browser Exploit Against SSL/TLS) Vulnerability on Port 25 for Postfix | I am failing a PCI Compliant scan. I have successfully used RC4 ciphers for Apache setup but my Postfix configuration is still not fixed. What TLS configuration should i use in my main.cf file. my current configuration is as follows [CODE] | Your auditor is aware that the B in BEAST stands for BROWSER right? It is pretty impractical (though yes, not entirely impossible) for a non-browser client like a MUA to leak enough information to compromise security. That said, you should be able to use the various [CODE] parameters as you did for Apache. You should m... | 3 | 3 | 1,002 | 2012-12-05T12:31:42.720 | infrastructure | serverfault.com | |
66,159 | Insert into a view derived from a table with a discriminator field | I am in a situation in which I have a base table with some fields and a discriminator field which could have one out of a specific set of values. From that base table, I have derived many views, one for each possible discriminator value, but such views do not include the discriminator column themselves. The problem is,... | You should do your INSERTs into the base table only That way you can INSERT queries like these [CODE] If you do INSERT queries like these [CODE] then you should assign a default value of 1 for [CODE] in the table definition [CODE] Otherwise, you should only INSERT into [CODE] since there exists no mechanism for dynamic... | 2 | 1 | 3,602 | 2014-05-29T12:58:50.600 | database_errors | dba.stackexchange.com | |
605,250 | Why is Router IP Address Repeated in Trace Command? | I have a network that is a branch of our central office. The central office is located in another city and I connect to the central office with a Cisco router using a leased line E1 cable(using Telco). When the telco line is down and I ping the branch office it gives me a [CODE] message, and if I turn off the router it... | This is definitely not a routing loop, I too faced this kind of issues. But not in the Router instead on the server. We tried rebooting the server. It did not fixed the trouble, Later Server team upgraded the firmware then it started working fine. | 2 | 1 | 1,654 | 2014-06-15T11:29:13.893 | infrastructure | serverfault.com | |
920,572 | Cant get Ubuntu server to configure network | Coming from Ubuntu server 16.04 I flashed my server and put 18 on it and didn’t realize they changed the way networking happens on the server. I have been using ifupdown forever now Ubuntu is now using netplan I have tried to get the config file made up but every time I run netplan try it says error has occurred on the... | YAML is really sensitive to indentation and the block you posted has wrong indentation. Be careful not to mix tabs and spaces in indentation. Also the empty address block might cause problems. Here is a fixed config using 4 spaces as indentation: [CODE] | 0 | 0 | 228 | 2018-07-12T02:24:39.487 | infrastructure | serverfault.com | |
296,875 | Tomcat's falling again and again | We are a happy group of developers in venezuela who developed a tomcat5.5+java+spring+hibernate+mysql+jstl+(flex) application. Now we installed them to customers and make them happy, each of them in their own domain. We use Linode as hosting provider, and cpanel's WHM software to help us create accounts rapidly, and ma... | If the whole server falls you are posibly allocating too much memory for the JVM. You must leave some room for the os, network connections and buffers. On the JVM side, if your memory usage is continuously growing you have some kind of leak or are keeping sessions too much time, or simply allocated memory is not enough... | 1 | 0 | 404 | 2011-08-02T22:01:14.107 | database_errors | serverfault.com | |
522,964 | Multiple instances of APC cache when refreshing apc.php | Hope you guys can provide some info on an issue I'm seeing. I'm running a Centos server with mod_fcgi and APC cache. APC cache is running, but when refreshing the apc.php, I see what look like different caches. The uptime and cache sizes for them are different. All of them show decent hit rates (over 90%) and low fragm... | FCGI workers do not share an APC cache - each has its own. https://bugs.php.net/bug.php?id=57825 Using the PHP-FPM manager or a shared cache like memcached is the way to go. | 0 | 0 | 314 | 2013-07-12T20:03:01.140 | infrastructure | serverfault.com | |
771,039 | PostgreSQL can't authenticate from localhost, but only from remote | I have a server with postgreSQL running. A few days ago I set it up so that I can access the database remotely from my home PC and that worked (based on this guide: http://www.cyberciti.biz/tips/postgres-allow-remote-access-tcp-connection.html ). Now I noticed that for whatever reason, I can not access the database via... | ok I found out the problem. Going to the file [CODE] , looking for the line [CODE] and replacing [CODE] with [CODE] apparently fixed the issue. | 0 | 1 | 1,960 | 2016-04-17T22:53:52.200 | database_errors | serverfault.com | |
154,036 | DAC connection port SQL Server 2005 SP3 | We have a named instance of SQL Server 2005 SP3 on an active/active cluster. We find that the Dedicated Admin connection (DAC) is not on one consistent port, the port changes whenever we reboot. We want it to be on a consisten port for monitoring. Does anyone have any ideas on how to do this, thanks. | This is an excerpt from MSDN : SQL Server listens for the [CODE] on [CODE] [CODE] if available or a [CODE] port dynamically assigned upon Database Engine startup. The error log contains the port number the [CODE] is listening on. By default the DAC listener accepts connection on only the local port. For a code sample t... | 2 | 1 | 221 | 2010-06-23T14:35:14.097 | database_errors | serverfault.com | |
499,639 | page does not end up directly under domain | I'm trying to set up a java page using Apache and tomcat on a Ubuntu server. The problem I'm having is that the page does not end up under the domain but in a virtual folder on the domain like this. [CODE] If i enter example.com the page can not be found. How do i get the page to show up under example.com? Here is my s... | I mangage to solve this by making a directory in my webpage directory named ROOT and moved all content in to it. Not a perfekt solution but it works. | 0 | 0 | 216 | 2013-04-15T21:53:17.540 | infrastructure | serverfault.com | |
745,849 | mongodb sharding - launch mongos with mongos.conf | We are currently setting up a sharded cluster with MongoDB, config servers have been set up using a configuration file : mongod.conf pointing out alternative paths for data and logs folders : [CODE] Using the docs ( https://docs.mongodb.org/manual/reference/configuration-options/ ), I've seen that it is possible to lau... | Yes, you use a configuration file for the [CODE] , and many of the options are the same for the [CODE] as the [CODE] . You will need to consult the MongoDB configuration file options documentation for more explicit instructions on which options are viable for which MongoDB server role. I see that you already found that... | 0 | 1 | 2,887 | 2015-12-29T22:28:56.467 | database_errors | serverfault.com | |
643,902 | Does LDAP allow User Permission at Application Level? | Following is the scenario in the picture, We have one server at back and five other servers (running 5+ applications). We are developing [CODE] instead of basic Database authentication rule in which we have to set it manually. Obviously, We have different roles like: Developer, Support, Managers, Directors, etc. So, Ou... | Yes, you can use LDAP for handling permissions with a wide range of options, depending on what your app supports. If you use LDAP as an NSS source for users and groups, you can hand out [CODE] rights to it just like users coming from [CODE] . | 1 | 0 | 583 | 2014-11-12T20:25:29.233 | api_errors | serverfault.com | |
156,769 | Clear Cisco ASA connection count | Here's what I'm doing to get a connection count on my ASA asa# show conn count 100 in use, 3389 most used asa# I want to reset the most used count. How do I do that? | The command you are looking for is below: [CODE] See this Cisco reference for more details. | 0 | 2 | 2,624 | 2010-07-01T18:20:37.413 | infrastructure | serverfault.com | |
179,592 | SSIS flat file import - Issue with datetime format | I have a flat file with datetime format [CODE] , and when I try to insert this data into a table using SSIS transformation I am getting these errors: [Flat File Source [2]] Error: Data conversion failed. The data conversion for column ""DT_Date"" returned status value 2 and status text "The value could not be converted... | Try adjusting your input column type to [CODE] . I've seen this fix similarly annoying Date conversion issues. Here's a full list of what those input types mean. | 3 | 1 | 11,384 | 2017-07-11T18:25:39.237 | warehouse_errors | dba.stackexchange.com | |
883,280 | postfix: send email from same connection ip | I'm new on postfix , until now i worked with exim and i can not do a configuration on postfix that i manage to do it with exim I have 3 domains and each one have 5 emails addresses domain1.com with user11@domain1.com, user12@domain1.com ... user15@domain1.com domain2.com with user21@domain2.com, user22@domain2.com ... ... | Take a look at Postfix Architecture Overview . In your [CODE] you have configured multiple [CODE] s for receiving mail using different settings (both IPs and protocols). However, Postfix delivers mail using a different component: [CODE] . You need to configure additional SMTP clients (outgoing transports ) in your [COD... | 0 | 2 | 590 | 2017-11-13T22:14:20.253 | infrastructure | serverfault.com | |
142,848 | Which linux-based firewall? | We are looking to replace our current aging firewall/router with a new one. We would prefer it to be free/opensource if possible. Our minimum requirements would be: [CODE] Any suggestions? and why you chose yours. | PFsense is easier solution for you. you may want to check monowall, ipfire (ipcop with 2.6 kernel) or untangle but all of them except pfsense has no web gui for multiwan setup. in fact most of them is not supporting multiwan solutions. but pfsense has different options for multiwan. because multiwan is not an easy to s... | 6 | 13 | 1,481 | 2010-05-18T04:29:27.533 | infrastructure | serverfault.com | |
306,012 | Apache File does not exist but all links work | I have thousands of "File does not exist" in the apache error logs. The strange thing is that the referer is my website and when you view the source code there is no URL request for /images. What could be causing this? [CODE] The big problem here is that I have fail2ban setup with apache-noscript which means that innoc... | I was looking through some of your pages and came across a 404 that might be relevant. It is in your HTML Header: [CODE] I wonder if that is what is mapping to [CODE] I looked at the first page for the [CODE] error and I didn't see any errors for media in that directory. I'll try to keep looking for it. | 0 | 0 | 2,920 | 2011-08-29T10:44:16.880 | infrastructure | serverfault.com | |
48,054 | What are the ways to partition a large file that does not fit into memory so it can later be fed as training data? | Is there any other way to partition a large file that does not fit into memory so it can be fed as training data other than using spark? or hadoop? | Yes, of cause. But, it's insignificant, because Spark and Hadoop are better. This is my idea. Suppose that your memory can take in 100,000 examples. So splitting your data set to files with size lower than 100,000. The key and most complex step is how to train classify with those data. Good luck, For Gradient descent s... | 1 | 0 | 82 | 2019-03-26T21:02:22.663 | spark_errors | datascience.stackexchange.com | |
1,008,669 | Cost reasonable failover architecture between 2 datacenters | I would like to get your thoughts on an architecture to handle failover between 2 application servers hosting multiple applications (.NET based websites, SQL Server) in Switzerland. The goal is to have a limited downtime in case of failure to switch over secondary server ( Remarks : DNS failover is not applicable for u... | I wouldn't exactly call this concept "cost reasonable", more "avoid cost"... Assuming you're using nginx as proxy, the requests aren't redirected there - but flow through that server . That may quickly become a bottleneck and delays responses in general. Additionally, you're 100% depending on the Azure cloud - that may... | 0 | 3 | 149 | 2020-03-27T11:21:23.630 | database_errors | serverfault.com | |
535,371 | Redirecting sub-domains of different domains to the same site | I have a cloud VPS on which I am hosting a few sites on behalf of a few clients. My Apache is configured with VirtualHosts (I use Zpanel), so each site has its own root folder, and from the DNS settings I just add an A record from *.sitedomain.com to the server's IP. I also run an email server (Postfix/Dovecot) to rece... | In your Apache setup you can create one main [CODE] Then add aliases to that name: [CODE] And they should all access the exact same site. I have no clue whether ZPanel can do that for you... | -1 | 1 | 1,194 | 2013-08-31T16:09:01.453 | infrastructure | serverfault.com | |
384,494 | Rate limiting *un*-authenticated requests | Say we have a load balancer that also does rate limiting. Rate limiting seems pretty straightforward for logged-in users - just look at the JWT and maybe use an in-memory data-store to see how many requests in the last 10 seconds for that user. However, what about non-logged in (unauthenticated) users? We don't know fo... | However, what about non-logged in (unauthenticated) users? We don't know for sure who they or where the request is coming from exactly, so can't easily rate-limit those requests or..? There are a couple approaches you can take. One is that you need a reasonably reliable origin identifier, for example IP address. You ca... | 20 | 15 | 2,396 | 2018-12-24T02:46:30.627 | api_errors | softwareengineering.stackexchange.com | |
218,317 | Nginx and 1000 WordPress Installs - Optimization | I'm trying to create a rather unusual (imo) configuration where I have: nginx php-fastcgi mysql 1000 seperate WordPress installs (with WP Super Cache). Each WP install corresponds to a separate subdomain. Furthermore, I have 1000 cron jobs being called every hour that in turn call a WP plugin (using wget) which retriev... | 1) 1000 unique installs will remove any benefit that caching can provide you. Ideally you would run one install (which would be cached in memory via APC or similar), with a bunch of different databases. WP-SuperCache might help with your caching issues though, as it should render everything to static HTML files. Basica... | 0 | 2 | 450 | 2011-01-03T20:57:21.863 | database_errors | serverfault.com | |
1,095,752 | proxing everything with Haproxy | is it possible to not define backend in Haproxy configuration to make a proxy for every TCP connection? So if I will try to connect from host A(sftp,ssh,smtp) through HAproxy it will always reach destination. | I'm not aware of a method to "proxyfy" all TCP connections in HAProxy. You should set up a front end and bind it to multiple ports, like: [CODE] Then, based on port, set an ACL and a backend to that ACL, for every interesting port/service: [CODE] | 0 | 1 | 444 | 2022-03-09T12:29:08.430 | infrastructure | serverfault.com | |
24,310 | MySQL Partitioning: Is there a performance tradeoff between number of partitions and size of each partition? | I have a large table (several 100 million rows) that I would like to efficiently partition. My question is whether there is a tradeoff between partition size and number of partitions. As far as I understand, most queries on a column used in the partition will be faster because the query will (for most queries) only hav... | Let's compare them PARTITION SIZE If you have the following: 100 million rows in a table BTREE indexing Each Page in the BTREE holds 1024 keys What would the metrics look like? Since LOG(100000000)/LOG(2) = 26.575424759099, a BTREE index with 1024 keys per page treenode would have a tree height of only 3 (CEILING(LOG(1... | 11 | 7 | 6,680 | 2012-09-14T06:49:13.667 | database_errors | dba.stackexchange.com | |
1,081,272 | Printer GPO Error Code '0x80070bcb' | When trying to deploy label printers via GPO, I am receiving the error of Group Policy Object did not apply because it failed with error code '0x80070bcb The specified printer driver was not found on the system and needs to be downloaded.' in event viewer. There are a few different label printers I am trying to deploy,... | I hope this helps someone else. Microsoft has an article which gave me part of what I was looking for. Modifying not only the key mentioned in the article, but two others resolved the issue and I am able to deploy the printers from the print server through GPO. The three I modified were: RestrictDriverInstallationToAdm... | 0 | 0 | 8,744 | 2021-10-21T13:32:08.007 | infrastructure | serverfault.com | |
52,476 | How to Use Shap Kernal Explainer with Pipeline models? | I have a pandas DataFrame X. I would like to find the prediction explanation of a a particular model. My model is given below: [CODE] Now for prediction explainer, I use Kernal Explainer from Shap. This is the following: [CODE] When I run the code, I get the error: [CODE] Can anyone please help me? I'm really stuck wit... | The reason is kernel shap sends data as numpy array which has no column names. so we need to fix it as follows: [CODE] Then, [CODE] | 9 | 13 | 18,080 | 2019-05-23T14:57:11.200 | pipeline_ops | datascience.stackexchange.com | |
12,892 | How to send Basic Authentication headers in Selenium? | I'm using [CODE] and I'm trying to send the following custom header: [CODE] in the following way: [CODE] which is similar way as shown here , but I'm guessing it's using completely different driver. However I've the error: [CODE] I've checked the old issue #2047: How to add a header to a request? , but it's closed as d... | I've tested using format [CODE] and it works. So in Python (in [CODE] class) this should look like: [CODE] In Java based on #34 at code.google , the following code should work as well: [CODE] or: [CODE] or: [CODE] or: [CODE] or eventually by sending keys using [CODE] : [CODE] or by using Alert API. See also: Basic Auth... | 12 | 15 | 120,634 | 2015-05-03T14:39:02.733 | api_errors | sqa.stackexchange.com | |
172,747 | How to administer large databases? | This is my situation right now: I'm working with SQL Server 2012, and I have 2 databases, one is 3.5 GB and the other one is 7.6 GB, and the company I work with is going to migrate the server to a new (better) one, I need to move these databases to the new server, the problem is, that these databases are in Production ... | First, always remember "large" is in the eye of the beholder. I've regularly worked with databases that were 100 - 400 GB. so yours don't seem that big to me. That said: The primary purpose of (most) databases is to serve the needs of a user base, usually via an application of some sort. If application performance is g... | -3 | 2 | 278 | 2017-05-04T18:19:21.297 | database_errors | dba.stackexchange.com | |
196,706 | Creating a coding standards document | I work in a control systems company, where the primary work is SCADA and PLC , along with other control systems stuff. Software development is not really something the company does, apart from little bits here and there, until there was a decision to create an internal project management and appraisal system. This proj... | What are the key aspects and contents of a good coding standards document? Being supported by tools which enable automated checking of the code . If I know that I can't commit to version control any piece of code which doesn't match some rules, I would be encouraged to follow those rules in my code. If, on the other ha... | 29 | 33 | 52,977 | 2013-05-01T11:08:24.597 | api_errors | softwareengineering.stackexchange.com | |
129,395 | Postgres 9.5 xlog fills all disk space in replication setup with replication slot | I have replication set up on Postgresql 9.5 using replication slot. I have one primary and one slave machine, both Ubuntu 14.04 with a cluster called main that is in a directory other than the default. On both servers separately the database worked as expected (before setting up replication), including access from anot... | If you just want a hot standby master/slave setup, without, eg point in time recovery, just set archive_mode to false or remove it from your postgres.conf. Otherwise you'll have to come up with a storage plan so you have enough space which might involve setting up archive_command to copy the archive to a disk with enou... | 3 | 0 | 2,537 | 2016-02-16T11:01:36.673 | hadoop_errors | dba.stackexchange.com | |
163,166 | ODBC and ADO connection to SQL Server: What protocol is used when connecting to <server>\<instance name>? | We understand when connecting to SQL server that specifying: , That the ADO or ODBC client will typically use tcpip to connect. However, we observe that when a client asks to connect to: \ that it seems the client (ODBC in this case) does NOT use tcpip. We believe in some cases, connecting to: May also result in a name... | If you don't specify the protocol in the connection string, then it will use the protocol specified for the database driver. The protocol order, by default, is [CODE] , [CODE] and then [CODE] . You could also set a default protocol. To specify which protocol to use in a connection string, add [CODE] before the server n... | 3 | 4 | 4,671 | 2017-02-03T17:57:58.963 | database_errors | dba.stackexchange.com | |
565,201 | bugzilla installation on debian | I wanted to setup bugzilla on my debian vm. Everything runs pretty smooth until i do the test suggested by the official manual: [CODE] which returns: [CODE] the things i have done up until this point: changed the localconfig of bugzilla: [CODE] surfing to [CODE] results into a site not found error. the bugzilla folder ... | With regards to the issue of [CODE] : Bugzilla will only run with Apache's prefork multi-processing module [MPM]. If your Apache build is running another MPM, then Bugzilla will throw this error. I was having the same issue and was finally able to get the default [CODE] page to load in my browser by changing the multi-... | 1 | 1 | 3,323 | 2014-01-05T19:19:00.003 | database_errors | serverfault.com | |
241,672 | How can I create a unique and random alphanumeric string using MySQL's Default Value? (v 5.6) | I am building a MySQL database and think using implicit DEFAULTS seems very promising. I am successfully using [CODE] and [CODE] for on insert timestamps and on update timestamps. I would like to add a default for a public key. A 32 character unique and random alphanumeric string. Is this possible using the DEFAULT fie... | I'm a bit late, but I've been having difficulty finding a way to insert cryptographically secure alphanumeric text, so here's what I've come up with. I created a function to generate the strings and a stored procedure to insert data into the table. It uses INSERT IGNORE and checks ROW_COUNT() to see if the insert succe... | 1 | 0 | 3,378 | 2019-06-29T04:13:36.833 | data_quality | dba.stackexchange.com | |
947,182 | Mount a SSHFS volume into a Docker instance | I use SSHFS to mount a remote filesystem on my host and I want to be able to access it from inside a Docker container. I mount the remote filesystem [CODE] And, using Docker, I get the following errors depending on me using [CODE] : [CODE] or [CODE] : [CODE] Is it possible to mount a sshfs mountpoint into a container? | Requires the following steps: uncomment [CODE] in [CODE] unmount the FUSE filesystem remount the FUSE filesystem with [CODE] (making sure to include the [CODE] option) try starting the container again | 26 | 33 | 24,456 | 2018-12-31T21:02:14.707 | pipeline_ops | serverfault.com | |
583,534 | What Server dns template I need to make to meet denic requirements | I have problem with denic dns propagation at some .de domains. I have on my configuration dns server this template: [CODE] At SOA dns record I have: [CODE] At http://www.denic.de/hintergrund/nast.html I got this errors: [CODE] Can someone to explain what I do wrong here, because I have some good websites which are offl... | Your NS records given here do not match your glue records given to your domain registrar: [CODE] Contact your domain registrar to change these records to the values you wish. | 0 | 0 | 855 | 2014-03-20T21:26:12.513 | infrastructure | serverfault.com | |
445,183 | Unicorn, USR2 and the config file | My Bash script has the following code that doesn't throw an error. [CODE] The lack of error and the issuing of the new pid makes me think this works, but the old master or [CODE] stays around forever. Is it normal for the old pid to stay around for a long time? I get scared and just kill the thing, but I'm finally mann... | TLDR: This blog has a cool unicorn based gist that helps with creating the file and resetting the unicorn with USR2. | 0 | 0 | 782 | 2012-11-04T00:13:11.633 | infrastructure | serverfault.com | |
200,270 | Should I worry about failed login attempts on SQL Server | I have a couple SQL Server Express Databases which are accessible through a number of asp.net/IIS websites plus Remote Desktop (me only). The web sites use integrated security and I have one user account that I use. The problem is the logs show almost continuous attempts at failed logins. These occur every 5-10 seconds... | If possible, you should change your security approach to be denied by default, allowed by permission. Block access from all unknown IP's. Allow access from trusted IP's. | 0 | 3 | 1,447 | 2018-03-14T17:14:29.590 | database_errors | dba.stackexchange.com | |
219,295 | Is a @CATALOG argument required in linked server to connect to READ-ONLY secondary? | I have 1 primary and two secondaries. Node 3 is READ-ONLY. I created a linked server as follows (as described in Microsoft Docs): [CODE] When using this linked server it will always connect to Node 1 (primary). I verify my connection as follows: [CODE] This returns: READ_WRITE If I specify a database (catalog) in the l... | Am I configuring the linked server incorrectly or is the @CATALOG argument required? Regardless of the style in which you connect (SSMS, Linked Server, SQLCMD, JDBC Client, Whatever), there are a few things required in the connection string in order for Read Only Routing to properly work: TCP/IP must be the protocol us... | 1 | 2 | 217 | 2018-10-04T15:55:30.317 | warehouse_errors | dba.stackexchange.com | |
315,460 | Munin email notification | I am trying to get munin to notify me via email. I have configured munin and it reports critical and warning values but no alerts are being sent neither is any script being called. Can you please help me out with this? I have included part of the munin.conf below [CODE] None of this works. Here is the munin-limits.log ... | There are two things you need to set for Munin to send out alerts. If both items are not set, mails will not be sent. This is how I have Munin configured to send e-mail via [CODE] on the machine Munin is running on. Please compare to what you have & adjust accordingly: [CODE] And then under the host tree I have this se... | 4 | 9 | 12,746 | 2011-09-26T07:35:39.690 | infrastructure | serverfault.com | |
439,431 | VMWare-ESXi server dropping packets, shaky connection | I have a few virtual servers running on a VMWare-ESXi server. One of those is a mailserver running Windows server 2003, Has been running quite well for a while now. About 4 days ago, the mailserver runs beautifully for about 5-8 hours at which point it slows down to an unusable crawl. When I try to VM into the server i... | I'm ashamed to admit that the problem was resolved by reseating the hard drives, reseating the memory and giving the server a good shake in the process. Thanks to all who took interest. Moderators should probably close this one. | 1 | 1 | 4,007 | 2012-10-17T17:13:40.043 | infrastructure | serverfault.com | |
303,134 | Database Tuning for 3rd Party Software Database | I'm starting out as a SQL Server consultant trying to focus on maintenance and performance improvements. I'm using Brent Ozar's first responder's kit and tools. I've had good success with one client with an in-house developed application. I have a new client that is asking for maintenance performance tuning on a databa... | You have a (presumably) paying client that asks you to improve their database performance. You realise that the database is part of/set up by a 3d party software package. I'm going to assume that there is indeed a tangible performance issue and you have some ideas how to address it. You have alternatives. Your client i... | -1 | 1 | 75 | 2021-11-26T01:11:15.657 | database_errors | dba.stackexchange.com | |
452,281 | Permissions Issue with Files Generated by PerfMon | We are trying to implement some data logging to CSV files using a Data Collector Set in PerfMon (on a windows Server 2008R2 system). The issue we are running into is that we (seemingly) can't control the permissions being set on the log files created by perfmon. What we want is for the log files created by perfmon to h... | Data Collector Sets can contain sensitive information about the computer, so access to them typically requires the user at least be a member of the Performance Log Users group. I don't believe you can make a DCS with automatically modified permissions (Everyone FullControl) like you're talking about. How's this for a w... | 4 | 2 | 2,574 | 2012-11-26T17:02:18.853 | infrastructure | serverfault.com | |
126,084 | Why did error messages change after upgrading to MySQL 5.7.9? | I am running MySQL 5.7.9 on a Windows machine, upgraded recently from a 5.6.17. I used to get explicit error message with my previous versio, but somehow since the upgrade I get very mysterious error message. For example I get: [CODE] While I used to have something like stated in the doc : [CODE] It's way easier to deb... | An off-the-wall guess: You have a column (or something) that matches a new reserved word. 5.7 adds GENERATED, OPTIMIZER_COSTS, STORED, VIRTUAL as "Reserved" words, plus a number of "non-reserved" words. Details in keywords.html . In some contexts, use of a keyword can lead to a cryptic error message. When you find the ... | 2 | 1 | 147 | 2016-01-13T03:58:14.107 | database_errors | dba.stackexchange.com | |
50,557 | Using an enum index to limit records | A common issue, just not sure on the keywords. I have a table of assessments (14k+ records). Each assessment can be in many different states ('draft', 'proofing', 'amends', etc... and 'done'). Most records (13k) are 'done'... so doing a: [CODE] It should ignore most records, however MySQL ignores the index (presumably ... | While similar queries with [CODE] or [CODE] or [CODE] will consider (and depending on cardinality estimates will use) an index on [CODE] , a query with a condition of this type will not use an index.: [CODE] Things you can do instead: write the condition as: [CODE] use [CODE] : [CODE] write the condition with [CODE] / ... | 0 | 1 | 284 | 2013-09-26T11:27:49.363 | database_errors | dba.stackexchange.com | |
385,309 | How to name and organize unit tests with combinations of multiple parameters? | I am new to unit testing, but finally getting started. I have been running into a situation where my unit test names apparently grow too long to readable due to the multiple parameters and combinations of them. For example, consider these hypothetical test case names resembling my actual test case names: [CODE] I feel ... | Have a look at Data Driven Tests Essentially you can refactor your tests to something like : [CODE] The test framework will pass in the parameters from the data block and name the tests accordingly so you can see them in the results. | 1 | 4 | 671 | 2019-01-11T02:55:53.257 | api_errors | softwareengineering.stackexchange.com | |
414,201 | Config squid for Windows with basic authorization, but squid still denied access after I input correct username/password | I installed squid-2.7-stable8 for Windows , try to let only authorized user can access the internet. But unfortunately after I entered username/password in client browser, squid still return HTTP 403 Access Denied error (configure was done and squid was restarted). What am I missing? file [CODE] (use the default one wi... | Remove the -i in the proxy_auth acl, it's not required. Looks like REQUIRED keyword is not written properly or may be there is an unprintable char there. Remove and write it again to be sure. | 4 | 1 | 12,239 | 2012-08-04T03:38:01.890 | api_errors | serverfault.com | |
48,262 | Dynamic SQL is not allowed error for creating function in MySQL | According to this question and answer of Angelo I create a MySQL function as below: [CODE] But It has following Error: [CODE] What should I do? | You want to use a stored procedure instead of a stored function You can rewrite it like this [CODE] Then use it [CODE] | 4 | 2 | 19,301 | 2013-08-16T20:35:54.227 | database_errors | dba.stackexchange.com | |
315,664 | MySQL won't start | [CODE] from web admin: [CODE] Every time I access the DB, it crashes as far as I can tell | MySQL was failing to read parts of the database due to a failing HDD. mysqldump would fail because of this as well. I ended up writing a python script to pull out all the readable parts of the Innodb database. In summary: img'd hard drive with dd ( http://www.thegeekstuff.com/2010/10/dd-command-examples/ ) backed up da... | 1 | 1 | 9,024 | 2011-09-26T19:13:14.390 | database_errors | serverfault.com | |
789,547 | Copy a Windows Server Firewall address list from one rule to another using Powershell | I'm a little stuck on the documentation for the Firewall cmdlets in Windows server. I am trying to copy the address lists for the remote and local ips from one rule to another. I can get the list using [CODE] Now I was trying to set this for another rule like this: [CODE] This is obviously wrong, as I immediately get a... | What you need to do is: Get the original rule by name Get the address filter out of it Get the new rule by name Set the address filter in it And yes, you can merge a lot of those into a one-liner, but for example I think this will do it: [CODE] (and if you have the Windows Firewall with Advanced Security GUI open, refr... | 4 | 5 | 2,762 | 2016-07-13T10:57:27.553 | infrastructure | serverfault.com | |
1,098,424 | Docker can't pull images behind proxy server | am using docker version 20.10.14 with CentOS Linux 7, i just installed docker and set up the proxy settings in /usr/lib/systemd/system/docker.service and my proxy settings are [CODE] i get an error like [CODE] and when changing HTTPS_PROXY from https --> http i get [CODE] and when trying to curl "https://registry-1.doc... | [CODE] Here you configure your proxy server to available over plain HTTP and HTTPS on the same port . That is extremely unlikely to be the case. Either your proxy server is configured with its own TLS certificate and will listen on different ports for http and https. Or, and that is usually the case, the proxy server o... | 1 | 1 | 7,643 | 2022-04-12T11:57:12.993 | pipeline_ops | serverfault.com | |
964,241 | java.lang.ClassNotFoundException: Class org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem not found | I am trying to dockerize my pyspark application to run on HDInsight Spark Cluster. For a simple job invoked from the docker, it throws the error: [CODE] I see this property is is set in the core-site.xml file on my HDInsight cluster. Where do I get this jar so I can install it on my docker as well? A basic google searc... | You need hadoop-azure.jar from http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-azure/ | 2 | 1 | 3,385 | 2019-04-23T14:33:34.237 | hadoop_errors | serverfault.com | |
315,889 | MySQL query very slow on Amazon RDS but really fast on my laptop? | I would love to know if anybody knows why this is happening. i've just migrated over to Amazon RDS for our website and our biggest query which takes .2 seconds to execute on my macbook takes 1.3 seconds to execute on the most expensive RDS instance. Obviously i've disabled query cache (and tested this) on my local comp... | Try experimenting with the Provision IOPS that RDS offers. Regardless of instance size, the IO is limited, and you can use the Provision IOPS settings, at an additional cost, to improve IO performance. You can provision up to 3TB storage and 30,000 IOPS per database instance. For a workload with 50% writes and 50% read... | 9 | 2 | 15,324 | 2011-09-27T10:24:48.850 | database_errors | serverfault.com | |
89,487 | Delay of mail delivery - Hosted exchange provider | I recently signed up to a new hosted email provider. When I send mail (from OWA, OR Outlook) there is a delay of up to 3 minutes from when i send the message, to when it's received (in my gmail account for example) I've listed the headers below. Is there anything I can advise my new email host to do? My previous email ... | It could be a function of how many hops the email is going through now as opposed to how many it went through previously. Each hop is going to add some time to the delivery process. Also, as there's nothing in the RFC's that states any time requirements or even a guarantee of delivery of email you probably need to come... | 1 | 1 | 1,185 | 2009-11-30T17:01:48.533 | api_errors | serverfault.com | |
90,203 | Why is + so bad for concatenation? | Everybody keeps saying that one of JavaScript's problems is using [CODE] [ example ] for string concatenation. Some say the problem is not using [CODE] , it's type coercion [see the comments from the previous example]. But strongly-typed languages use + for concatenation and coerce types without any problem. For exampl... | Consider this piece of JavaScript code: [CODE] This will log result is 1020 Which most likely is not what was intended, and can be a hard to track bug. | 48 | 73 | 144,569 | 2011-07-06T19:20:18.987 | api_errors | softwareengineering.stackexchange.com | |
49,237 | Word 2007 document corrupt on a single PC | One of my users has a word document about 8mb in size. It's about 30 pages and contains a number of pictures. When she tries to one the file it appears to be corrupt, with all her formatting lost and with the document now about 5000 pages long. Opening the same document from another PC on the network works correctly. B... | Try using the Microsoft Word Viewer - this should just be able to view the document straight-out without using any of the pre-installed Word dependancies. This should help you define whether it's the document or the application. Link | 0 | 3 | 130 | 2009-08-03T11:24:31.827 | api_errors | serverfault.com | |
298,292 | Is this true? `Members of the local computer administrator group can always elevate their privileges to sysadmin.` | Link: https://learn.microsoft.com/en-us/sql/relational-databases/security/authentication-access/determining-effective-database-engine-permissions?view=sql-server-ver15#summary Is this true that [CODE] I am confused because the local administrator group is not automatically added to the sql security post 2008. And so th... | Yes, a user with Local Administrator level access can do literally anything they want to the system. Take a look at this question-and-answer that explains how to add a user to the sysadmin SQL Server role when no current sysadmin is available. | 1 | 4 | 747 | 2021-08-20T04:15:01.777 | database_errors | dba.stackexchange.com | |
50,946 | Initializing Transactional Replication From two Different Database Backup | I have two different large Database (200GB for each) which I want to replicate their data to a central database (3rd DB). I followed this link and it was very useful for a single database. But my problem is I have to restore two different backups to a single database. Is that possible at all? I am working for a company... | The replication topology that you are describing is known as the Central Subscriber Model which is comprised of two or more Publishers replicating to one Subscriber. The dilemma you are having is how to go about initializing the Central Subscriber, which is a common conundrum. I have talked about this in detail in my p... | 4 | 2 | 753 | 2013-10-03T11:54:37.157 | database_errors | dba.stackexchange.com | |
203,963 | Representing floating-point numbers in bytecode | How do interpreted languages typically go about representing floating-point numbers in their bytecode? For example, suppose I've got a Java program with the line [CODE] What does [CODE] look like in the program's bytecode? I see two possibilities: 1) Writing the bit-level representation of the in-memory number into the... | Most languages do something like #1, that is, they specify a particular binary encoding, but said encoding is almost invariably IEEE-754 because that is the floating-point standard that a majority of architectures implement. A “double-precision” IEEE-754 floating-point number is defined to be 64 bits. Examples: The Jav... | 4 | 6 | 644 | 2013-07-07T02:20:45.133 | api_errors | softwareengineering.stackexchange.com | |
115,582 | Normalising Image Data | Hi I am wondering when it comes to normalising images across each of the channels, do you use the same scaling factors that is used for training for testing set as well or separate ones. In traditional ML problems using scikit-learn, the usual procedure is normalise the training data and apply the same scaler for testi... | The method is the same as it is for traditional ML problems, i.e. you need to apply the same mean and standard deviation to the test data as you do for the training data. The mean and standard deviation used are derived from the training data, but depending on the type of problem and data used you can also use the valu... | 0 | 2 | 66 | 2022-10-25T16:08:35.483 | data_quality | datascience.stackexchange.com | |
848,423 | Virtualize SCO 5v6.0.0 P2V | I try to virtualize old SCO server and i Have a little problem with that. When i try to startup VM i see somethink like that: SCO error Physical server: HP ProLiant DL380 G5 with six harddisk's ( Combined into raid ) - On this server we have SCO 5v6.0.0 And i Try to virtualize this into Esxi. I do a backup by aomei bac... | The HP DL380 G5 is only supported on ESXi 5.0u3and lower and although I'm not exactly sure what you mean by 'SCO 5v6.0.0' the only SCO support with ESXi 5.0u3 is for OpenServer 5 and UnixWare 7. That said it appears your problem relates to the VM not providing a HP CCISS compatible virtual disk controller - which it's ... | -3 | 2 | 202 | 2017-05-05T10:01:25.457 | database_errors | serverfault.com | |
135,504 | Creating relationships between tables that where not specified in the given UML diagram | Good evening! I'm working on designing my very first actual database from the following UML class diagram (in French unfortunately): I'm at the point of creating the relational sketch of it which I created this way: Yet, it creates some issues when trying to ask to the database which are the clients that never ordered ... | UML class diagrams do not include relations in a class' attributes list, so when creating database tables representing those classes, the database designer must identify and specify them, much like the software developer must create the pointers and lists to support the related objects. In your diagram, [CODE] relates ... | 5 | 1 | 2,455 | 2016-04-16T15:01:32.990 | warehouse_errors | dba.stackexchange.com | |
97,033 | What is an easy query to fix up historical columns valid_from and valid_to? | I have a table with typical history rows using valid_from and valid_to dates. My table might look like this: [CODE] I'd like run a SQL update such that it would update valid_to of a row to next historical valid_from date minus 1 day if possible. So therefore the table might look like this when the query is done: [CODE]... | There a lot of differences between the two DBMS. Oracle supports window fundtions, the [CODE] statement and several other features that MySQL doesn't. They have different datetime functions (but you are lucky here, [CODE] will work in both). Different [CODE] syntax - apart from very simple, one table update statements.... | 0 | 1 | 493 | 2015-04-04T15:30:56.490 | database_errors | dba.stackexchange.com | |
29,489 | How do I master the UNIX find command? | I think I am fairly advanced in my use of find but EVERY time I use it I cannot for the life of me remember the method to close the -exec option. I spend a good deal of time reading every time I use it. Am I simply not using it enough or expecting too much of myself? Lets start with a typical example that gets me frust... | Well, as far as the [CODE] syntax goes, you could do like a lot of people, give up and use [CODE] : [CODE] (or the files-with-spaces-and-other-nonsense-in-them-safe version) [CODE] Or, to try to remember the right thing to do with the semicolon, what you need to drill into your head is that you're using a semicolon to ... | 14 | 20 | 8,194 | 2009-06-22T00:23:58.343 | infrastructure | serverfault.com | |
185,959 | Is it fine to use logs in the Helper Methods? | I have been doubting for a long time whether or not to have a logger in methods (usually helper methods) like the one below. Whether we can print it in the method or print the response where the method is called. [CODE] | Logs are supposed to be put in every part of your application to provide meaningful information to developer/tester/debuggers or any other stake holder. Just be careful to put appropriate logging level in your helper classes/utilities especially if you going to distribute it as jar. | 5 | 6 | 582 | 2013-02-05T11:17:27.073 | api_errors | softwareengineering.stackexchange.com | |
1,054,314 | Nginx what is the right configuration for Socket.io? | If I have a node express server running on port 5003 [CODE] And a client connecting the socket.io to the server [CODE] What would the nginx server block configuration be? The url where this app is at is like this: [CODE] And my server blocks are: [CODE] | Here is an example NGINX configuration block for webscokets. Notice how the connection is upgraded if a valid websocket connection is made to the end point [CODE] More at NGINX as a WebSocket Proxy [CODE] | 1 | 3 | 12,463 | 2021-02-19T18:16:58.700 | api_errors | serverfault.com | |
68,435 | When/how should I use the validation set for hyper-parameter sweeps for neural networks? | I know similar questions have been asked so many times, but I couldn't find the answer to this one particularly, at least not in a way that satisfied me. I am very confused about how to use validation sets. I know they are used to perform hyper parameter sweeps but I'm not quite sure in what way. For example, suppose I... | Let's take a step back and look at why we make these splits: Model selection: estimating the performance of different models in order to choose the best one. Model assessment: having chosen a final model, estimating its predic- tion error (generalization error) on new data. (Source: "The Elements of Statistical Learnin... | 1 | 1 | 386 | 2020-02-21T04:51:53.327 | data_quality | datascience.stackexchange.com | |
81,220 | simple monitor for xp systems | I'm looking for a simple network monitor to run on users' PCs to track network disconnects. Specifically: Be able to ping up to 5 hosts, either IP or name Be able to log or redirect output to a file Prefer to have a unique log file for each host being monitored! Be able to select icmp ping or a wget-style connection to... | It wouldn't be too hard to write a simple C# app to do this and then add it in as a scheduled task. Something like this would work. The try catch block is probably not ideal but it'd only be run once so it isn't too bad. [CODE] I'm happy to try and knock something together if you like - could do with the C# experience! | 1 | 1 | 112 | 2009-11-04T00:41:57.893 | infrastructure | serverfault.com | |
188,448 | Why does the optimizer choose nested loops over merge joins here? | I have 3 tables. [CODE] is main one and two secondary tables, [CODE] and [CODE] . [CODE] If I join main table [CODE] with only one secondary table, there will be Merge Join in query plan. [CODE] But if I join main table [CODE] with both secondary tables, there will be only Nested Loops. [CODE] Why does it work like tha... | Why does it work like that and what should I do to get two Merge Joins? With three table references (the minimum required), the query qualifies for the Transaction Processing (aka search 0) stage of cost-based optimization. This stage is aimed at OLTP queries, which normally benefit from a navigational (index-based) st... | 6 | 8 | 7,578 | 2017-10-13T20:19:55.910 | database_errors | dba.stackexchange.com | |
100,494 | Machine Learning in Tensorflow | I am doing a work that is based on analyzing different Python libraries for Machine Learning. I chose to analyze Scikit-Learn, Keras, Tensorflow and Pytorch for being the most known ones. The idea was to train different models, both supervised and unsupervised learning, as well as classification and regression. Using d... | TensorFlow is specifically for implementing neural networks architectures, i.e. Deep Learning. Imho your objective is too broad, you should focus on some specific type of problem/task for example. It's impossible to compare ML methods in general, because different methods perform differently with different types of pro... | 0 | 0 | 52 | 2021-08-25T12:12:37.427 | data_quality | datascience.stackexchange.com | |
157,035 | connecting to an EC2 instance via ssh on a created user | I can connect to my EC2 instance as root but if I create a user I get a Permission denied(public key) error. Here is the output from [CODE] [CODE] | found the solution had to set permissions to 700 on the .ssh keys thanks for the help | 1 | 1 | 426 | 2010-07-02T15:32:12.043 | infrastructure | serverfault.com | |
434,478 | Remote Folder Access | I have a file server that stores our users home drive (about 40 users). They is no problem accessing this folder internally to the network, but I would like to be able to give the users the ability to access their home drives remotely. Any suggestions would be great! | You'll need to facilitate some sort of mechanism by which they can access the share remotely. Two common solutions are VPN - Set up a VPN with your gateway device / firewall and provide credentials for your users to log in with. This will essentially fool your users computers into thinking they're plugged into your net... | 1 | 2 | 367 | 2012-10-03T15:40:07.543 | infrastructure | serverfault.com | |
1,093,562 | Nginx api gateway warehouse with subdomain support | I am following a tutorial to setup an API proxy, I am running production and development server apps on the same VPS https://www.nginx.com/blog/deploying-nginx-plus-as-an-api-gateway-part-1/ I have my domains managed with SSL via certbot on both [CODE] and [CODE] I am stuck on "Defining the Warehouse API" The issue is ... | Everything is almost fine in your configuration,except that you've tricked yourself with those includes and [CODE] blocks, and not including the second vhost configuration part. You just need to put the live.domain.com and dev.domain.com [CODE] blocks in the corresponding [CODE] blocks and that's all (one containing [C... | 0 | 1 | 378 | 2022-02-13T22:35:10.150 | warehouse_errors | serverfault.com | |
541,504 | mdadm: failed to write superblock | I'm quite new to RAID, and I'm having a problem. My server warned me that some drive is faulty, so I investigated: [CODE] It looks like that sda1 and sda2 are faulty. So I tried to remove sda1 [CODE] I'm trying to understand what should I do now: if I try to add the device again I get this message: [CODE] I suppose I'm... | mdadm has marked the drive as faulty and your log is showing errors on the drive. This means the drive is broken and has to be replaced. There's no point in readding it to the RAID. | 3 | 1 | 4,831 | 2013-09-25T08:46:38.087 | database_errors | serverfault.com | |
24,408 | How to find optimal sample weights in binary classification/regression problem | I'm training a model (NN) that gets some data as input and outputs a single value in the range of $[0, 1]$. Right now, the average of the outputs in my dataset is around 0.5, but I know that future data will largely consist of 0.0s, and thus there will eventually be a strong data imbalance towards 0.0. I want the train... | There are a few things which are unclear so I am going to have to make some assumptions. You say it is binary classification/regression. Are you trying to find the probability of each binary class? When you say "future data", do you mean future training data or future test data? If it is test data then you do not need ... | 1 | 1 | 1,831 | 2017-11-06T14:36:45.360 | data_quality | datascience.stackexchange.com | |
93,038 | Myserious VPS slowdown but only over HTTP | I have a fairly large VPS in Sweden on a small hosting provider. Usually my bandwidth to it is about 2mb/s which is very good. But today, something very strange has happened: Bandwidth from my home computer to the VPS over HTTP is limited to about 4kb/s. This is measured using "wget http|//serverip/path". Bandwidth fro... | Someone could be throttling your HTTP traffic (at the application layer) between your home and server. I'd be curious if any other protocols (besides SSH) have fast transfers while HTTP does not. You should try https, ftp, and maybe even something like rsync, git, or svn. Between A and B and the VPS, you should also tr... | 0 | 1 | 89 | 2009-12-10T15:20:49.087 | api_errors | serverfault.com | |
299,594 | Recovery via fsck | I was recently hit by the AWS issues in Ireland, lost a volume, and need to attempt a recovery.. I've attached the problem volume to /dev/sdf - I'm completely new to this, not entirely sure what's going on, but this doesn't look promising>> > sudo fsck /dev/sdf fsck from util-linux-ng 2.17.2 e2fsck 1.41.12 (17-May-2010... | Before even running the fsck, make a image of the filesystem, and then work on it. So if something goes wrong, you'll have the original. Do not work on the file system itself. Also, it's highly unlikely that sdf is the filesystem, sdf is the drive itself, and the filesystem is on some partition on it. Run fdisk -l /dev... | 5 | 3 | 6,089 | 2011-08-10T10:34:16.607 | database_errors | serverfault.com | |
534,483 | LVM volume falsely reporting itself as full | I am standing up a new CentOS 6 system to do some data processing. As I load the data into a brand new 100gb LVM volume, I reach about 35% full, and it starts to report that there is no space left on the device, for both user accounts and for root. I do not see anything new being written to either dmesg or /var/log/mes... | Sometimes error messages are a little misleading, and could report "disk full" or "no more space" when you still have space but have actually run out of free inodes . Check that with the [CODE] utility and its option: [CODE] | 1 | 1 | 685 | 2013-08-28T13:26:37.970 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.