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 |
|---|---|---|---|---|---|---|---|---|---|---|
154,118 | I've been hacked, and now I'm a bit confused about some things | I noticed yesterday that my site has been hacked, and I'm really confused about some things at this point. All of the files - as far as I can tell - that were edited or added were done so with a specific user account; one that was associated with some software that isn't being used anymore so should have been removed, ... | The wordpress side is all owned by www-data. Is this appropriate? Generally it is not appropriate. It is true that wordpress does need a data directory that www-data can write to, but for the most part www-data should not own any files or folders. Anything that www-data owns could be updated by the web server. If you h... | 1 | 2 | 1,231 | 2010-06-23T17:53:44.573 | infrastructure | serverfault.com | |
14,390 | How to detach corrupt database in SQL Server | I have Sql server data files saved on external storage. I want to detach specific database. If external storage is not connected I want to drop database. Is this safe way to do that: [CODE] | Like gbn commented, if the database is on storage that is not accessible, it is going to be set to suspect and the attempt to set it to single-user will always fail. The call to sp_dbremove will properly remove the entry from the database list, and it won't be attempted to be brought online next time you start the SQL ... | 7 | 6 | 9,092 | 2012-03-05T15:12:03.747 | database_errors | dba.stackexchange.com | |
12,816 | Jmeter plugin webdriver sampler | JMeter web driver is used for measuring performance metrics of browsers, but it requires writing of scripts. Is there any way I could record these scripts? | For the moment it is not possible to record these scripts. There is Selenium IDE project which can record browser actions and export the recording into several programming languages, however supported languages list doesn't include JavaScript. Besides Selenium IDE produces quite "dirty" code. So I would suggest develop... | 1 | 1 | 389 | 2015-04-25T10:47:27.147 | data_quality | sqa.stackexchange.com | |
495,819 | SBS 2003 to Server 2012 -architecture | I have an SBS 2003 box that is being "refreshed" (replaced). I need to replicate core functionality without the SBS package (due to MS dropping it). Key functionality is: Proxied Remote Desktop AD File/Print Exchange I have little HyperV experience, more so with VMWare. From an architecture standpoint, do I go with two... | The hypervisor to use is largely a matter of personal preference. It may be in your interests to go for a Hyper-V host using Windows Server 2012 Standard - the virtualisation rights now included for a particular number of VMs (and unlimited in the Datacentre edition, I do believe) can now make this pretty cost effectiv... | 0 | 2 | 125 | 2013-04-03T16:58:50.617 | infrastructure | serverfault.com | |
1,133,064 | Transparent HTTPS proxy with squid using SNI | Final update: I ended up using [CODE] as [CODE] proved to be difficult to work with, see last update at the end for more detail What I'm trying to do is setting up a transparent HTTPS proxy with squid using SNI (without decrypting), but it is not working. I don't know what I'm doing wrong, I would appreciate you'r help... | Try putting your [CODE] above your [CODE] config. Also not having worked with squid inside a docker. I have always had to configure my [CODE] with intercept which requires forwarding from [CODE] . EG [CODE] | 1 | 0 | 4,210 | 2023-06-11T16:31:38.203 | hadoop_errors | serverfault.com | |
57,322 | MySQL Subquery returns more than one row | I have a table namely tbl_plays. It has the following columns and data [CODE] I am running this simple query. [CODE] This query is run as a subquery which returns the [CODE] column data to a variable. Now my question, why do I get the error SUBQUERY RETURNS MORE THAN ONE ROW where as it returns only one row. In Workben... | You need to add the LIMIT clause [CODE] This is an oversimplified answer. If there is a row with PK=1, you find it. If not, a full table scan may ensue because of gameid not being indexed. You are better off splitting the query with a UNION. Perhaps, like this: [CODE] Since I do not know the data, I cannot predict any ... | 1 | 0 | 15,430 | 2014-01-22T20:28:38.383 | database_errors | dba.stackexchange.com | |
625,855 | vSphere CPU/vCPU Performance | This might be a rookie question but if I'm currently on a 4:1 oversubscription of my CPU ressources does that mean that my processors performances are divided(splitted) into 4 lower perf. vCPU? Will a vm using 4 vCPU will just divide a pCPU into 4 to actually be as fast as the pCPU itself? | If I understand your question correctly the answer is "no". However, it depends on your workload. ESXi schedules your vCPUs to run on pCPUs. You have a vCPU/pCPU ratio of 4:1. If 25% of your VMs request 100% CPU time and the rest is running at 0MHz, the 25% will get the full CPU performance. (Minus hypervisor overhead,... | -1 | 0 | 243 | 2014-09-03T02:49:35.473 | infrastructure | serverfault.com | |
258,550 | How to diagnose frequent "500 Internal Server Error" on Oracle Apex | I have an Oracle 10g XE database running on OEL 5 on an Amazon EC2 instance. On it I run a public website (actually, 2 web sites) written in Oracle Application Express 4.0.1. Most of the year, the site is primarily used by people just viewing information. As such it works fine - no errors, not much activity. Around thi... | I don't yet know if this is the answer, but - during the recent outage at Amazon US-East, I noticed I was getting [CODE] when trying to connect to the database. I've since upped the number of processes (thus increasing the number of sessions). Since the outage, I've noticed the error hasn't happened again. NOTE: Next t... | 3 | 1 | 8,320 | 2011-04-12T02:01:36.300 | api_errors | serverfault.com | |
64,484 | Database design for handling 1 billion rows and counting | We receive real-time GPS data at a rate of around 5000 pr. minute (from 4 TCP servers). Each server uses a single connection to insert the data, and buffers data in between inserts. Every 15 minutes or so, a service fetches this data, and processes it into trips. Once the trips have been generated, the actual GPS data ... | 5000 inserts per minute are about 83 inserts per second. With 5 indexes that's 400 physical rows inserted per second. If the workload was in-memory this would not pose a problem even to the smallest of servers. Even if this was a row-by-row insert using the most inefficient way I can think of. 83 trivial queries per se... | 10 | 8 | 6,794 | 2014-05-05T14:22:23.600 | hadoop_errors | dba.stackexchange.com | |
257,909 | Is it okay to use MySQL Workbench with MariaDB? | Workbench 8 gives me a warning when connecting to MariaDB , but it appears to work fine. Since MariaDB is based on MySQL, would it be a problem to keep using it? | This warning is shown for any other but the supported MySQL versions (at the time being these are 5.6, 5.7 and 8.0). The application uses language features and other resources that may or may not work with other servers. It's actually not tested, which is the main reason why this warning comes up. MariaDB might be base... | 0 | 2 | 1,062 | 2020-01-22T00:15:43.280 | database_errors | dba.stackexchange.com | |
433,601 | How can I add wildcards in DNS like www2.*.domain.com and www1.*.domain.com? | I have two servers which are load balanced. When I do the deployment I want to make sure the production users are not affected. Here is what I'm planning: Remove the webservers 2 (www2) from the load balancer. Deploy to the www2. do some quick testing (just over 100 mini sites all under one domain) Bring www2 back in t... | I'm not sure that from your problem statement I understand all of your constraints, so I'm not sure I can suggest a general answer to your question, but I wish to point out that changing any externally-facing DNS for your test is probably a bad idea -- remember that even after you change it back any other entity on the... | 1 | 0 | 305 | 2012-10-01T08:56:53.293 | pipeline_ops | serverfault.com | |
197,852 | Best place to write SQL queries | I've been working on this project for my company. Currently I am embedding my SQL statements inside the program itself as and when they are needed. I do have two seperate classes - QueryBuilder Class (Contains all the queries) DbConnection Class (Executes the queries against the database, takes care of connectivity and... | Resource files , as well as a simple App.config file may do the work. Having the queries in a separate library is a good way too, especially if you're using it as a plugin (and so you don't have to recompile the application itself, nor even restart it if it's currently running). Since the library contains only constant... | 0 | 8 | 13,295 | 2013-05-12T18:06:06.033 | api_errors | softwareengineering.stackexchange.com | |
812,556 | cannot ping link-local address from other subnet when defaut gateway route is seted | I have a problem with my route table I don't know why it doesn't work. I have two test cases, I did draw a network map for each case. currently I can't resolv the goal . The goal: laptop-1 can ping raspberry pi over zeroconf ip laptop-2 can ping raspberry pi over zeroconf ip raspberry pi can ping 8.8.8.8 over the defau... | Your Firewall does not seem to know about the network 192.168.1.6 is in icmp redirects are not accepted. Try adding a route to 192.168.1.0/24 (presumably) dev eth0 on raspi which should make testcase-1 work for you. [CODE] | 0 | 0 | 1,167 | 2016-11-01T16:49:56.330 | infrastructure | serverfault.com | |
339,623 | Is BSD-3 compatible with dual licensing? | I am planning to write some financial modeling software targeting enterprises. It will be based on an existing open-source project that already has a BSD-3 license. I do not own the copyright to the original project but will be using it to create my derivative work. I would like to keep my project open-source as well b... | The answer to the first question is clearly yes. You own the copyright and can issue copies of your work under different licenses. You would need the approval of any joint copyright owners (people who have contributed to the project but have not transferred copyright to you) to change the license, but it's still permit... | 1 | 1 | 131 | 2017-01-06T23:09:59.093 | api_errors | softwareengineering.stackexchange.com | |
382,759 | Running Linux Script from Windows in backgound | I'm using following script from my windows machine to run on linux and do backup. [CODE] Problem with this script is that, i have to keep my session live. as backup takes 30 minutes or so , so I want to know if there is any way I run this script and after that backup command keeps working even if i turn off my system. ... | I'm a fan of, [CODE] which will tell the remote server to start the script in 1 minutes time. Note that because this is running the script via the scheduler, you may need to ensure the script sets up the environment correctly, it might not be exactly the same environment as when run through an interactive session. | 2 | 2 | 3,289 | 2012-04-24T21:22:31.227 | database_errors | serverfault.com | |
323,066 | Are MySQL metadata lines not filtered by the Pager? | In Mysql 8.0.28 I've noticed that some metadata lines, such as "N rows in set" are displayed even though they do not match the Pager settings. For instance: [CODE] At what level are these metadata lines added, and at what level is the Pager applied? Are the metadata lines sent as an alternative file descriptor, akin to... | The pager is solely a feature of the mysql client. The metadata lines are not included in the paged output. They are output to stdout after the pager file handle has been closed. | 1 | 1 | 18 | 2023-02-05T07:08:18.993 | database_errors | dba.stackexchange.com | |
358,562 | Fedora 15 setting gnome-fallback as default for all users | I apologize in advance for my ignorance. We just switched from Fedora 8 to Fedora 15. I would like to make gnome-fallback the default desktop environment for all users. Via google I've found that: [CODE] will set it for the current user only. I've done a little reading about [CODE] and [CODE] . Apparently there's a way... | Use this command (as root, from a console to avoid the per user setting): [CODE] | 0 | 0 | 1,484 | 2012-02-09T21:58:25.533 | infrastructure | serverfault.com | |
956,939 | wevtutil without admin permissions | Is it possible to install a provider without admin permissions? whenever I try something like [CODE] I got 'Access is denied.'. If I run the same command in an admin command prompt it works. | No as stated on the wevtutil documentation , you should have looked at the EventLog SDK here which reads: [CODE] | 0 | 0 | 278 | 2019-03-06T04:09:02.273 | infrastructure | serverfault.com | |
305,304 | Best practices in exposing interface | Let's assume I have a class that downloads data from API, cleans it and saves to database. What methods should I expose? [CODE] and usage [CODE] My thoughts: In Approach 1 when somebody want to use class he have to call method in proper order, which can create bugs if he not. On the other hand in approach 3 is easy to ... | Case #1 and #2 are not easy to unit test, they are in fact more difficult to properly unit test. They have lots of invalid call sequences that you have to specify the behavior of. Case #3 is simplest to both use and test; this is generally true because tests should mirror usage. Greater complexity of usage is almost al... | 0 | 2 | 1,084 | 2015-12-17T11:11:39.597 | api_errors | softwareengineering.stackexchange.com | |
825,807 | OpenVPN left a SSL certificate… How to remove it? | Well a while ago I tried OpenVPN Access Point to use my server as VPN. Then I wanted to get letsencrypt then everything failed then I removed OpenVPN Access Point then the stupid certificate is still there I have tried purging OpenSSL... Nothing Help... EDIT: This is on Ubuntu 16.04 Xenial. DigitalOcean. 512MB RAM. Als... | For *nix systems I would try [CODE] For Windows I would try [CODE] | -5 | 0 | 1,016 | 2017-01-12T10:42:22.763 | api_errors | serverfault.com | |
147,846 | Bad idea to keep htop running? | I'm now monitoring multiple servers (3) and in the coming weeks that'll increase (towards 5 or 6). I've been keeping three terminal windows open running htop via SSH and I'm now wondering if there are any downsides to having a connection constantly open to production servers? | What i usually do is running a screen session for every server i need to monitor/manage, so i can detach it, disconnect from SSH and when i need to reconnect i still have there... btw i've been keeping terminals connected via ssh for most of the day (8/9 hrs.) for the last 5 years and never had a problem related to it. | 4 | 4 | 1,882 | 2010-06-03T14:55:54.870 | pipeline_ops | serverfault.com | |
914,689 | SSH Hangs after being logged in for ~30 seconds | This is likely an issue with my network however I thought someone here might have some steps to help troubleshoot. I currently can log into the server just fine via SSH but about 30 seconds to 40 seconds later it completely hangs. From the packet capture I can see that packets are being sent back and forth between the ... | This sounds like a path mtu issue. It is common enough to have a FAQ entry in the snail book . | 3 | 1 | 1,837 | 2018-05-31T22:54:20.877 | api_errors | serverfault.com | |
498,575 | Xenserver an local Storage (Xenserver Broken) | my Xenserver 6.1 was broken and i was using local storage on this server. now i want to recover the local storage with the usual adding methods i delete the whole disk, but i want to keep the datea on the disks. can anybody please help me!! | While you are reinstalling, do NOT select your local storage as a SR. You can then Add (rather than Create) the SR after you've installed. Have a look at the Upgrade manual, it details how to Upgrade (reinstall) without loosing your SR. | -1 | 2 | 1,084 | 2013-04-11T22:10:19.227 | infrastructure | serverfault.com | |
617,612 | proFTPD with FTPS (openssl) | Have installed [CODE] from webmin and it works... Then I would like to support FTPS command line [CODE] /etc/proftpd/proftpd.conf [CODE] nmap localhost [CODE] Log FileZilla (client) [CODE] | [CODE] Port 22 is ssh. Which means you are trying to use sftp (file transfer over ssh) and not ftps (ftp with ssl). But with proftpd you have to use either ftp or ftps. | 1 | 2 | 2,613 | 2014-08-03T18:38:34.853 | infrastructure | serverfault.com | |
491,237 | Postgresql 9.2 "invalid locale name" on Ubuntu 12.04 | Today I installed Postgresql 9.2 on Ubuntu precise via apt.postgresql.org – all was relatively painless until I got stuck in a "invalid locale name: it_IT.utf8" error: [CODE] I did run [CODE] though, and in fact: [CODE] Logs don't seem to have any meaningful information on why postgres isn't recognizing it_IT.utf8... c... | If PostgreSQL hasn't been restarted after the new locale has been created, that would be the reason. [CODE] should suffice. This is presumably due to how locales are implemented in Linux [CODE] . The new locales don't get seamlessly imported into the environment of already running processes. | 10 | 23 | 22,527 | 2013-03-25T20:35:42.440 | database_errors | serverfault.com | |
298,779 | Observer for two independent events in the observable class | Observer pattern aim: the observer class responds to the changes of the observable class state. Problem. There are different processes inside observable class that should be observed. Those events are independent and the state is not single value but rather itself is a set of different processes. That might be bad desi... | It should be two observers. Your Reader object should not have observer-specific attach and detach methods. Rather, it should have two methods for registering and de-registering concrete observer objects in a single observer collection. Wikipedia You can still use [CODE] in your concrete observers to determine whether ... | 3 | 1 | 4,215 | 2015-10-01T21:54:18.643 | data_quality | softwareengineering.stackexchange.com | |
918,913 | systemd cannot restart service file | I have written a bash script which I want to run every 60s (don't worry, I have tried the Script out, it runs perfectly). Now I wanted to implement it in systemd [CODE] file, but so far it doesn't restart. The script is beeing executed one time and ends with returncode 0 and then the service stops (for ever). So, it ju... | [CODE] You've misspelled "always" on "Restart=". | 0 | 3 | 335 | 2018-06-29T22:14:41.253 | infrastructure | serverfault.com | |
879,830 | openvpn - different routes for different clients | I have an openvpn server (11.11.11.11) that I use to route only specific IPs for the clients. I'm using a vanilla client config to generate the ovpn files that I sent the clients. [CODE] My server config specifies a number of target IPs that are routed through the server. [CODE] In the current setup only traffic to srv... | Yes: you can have per-client configuration snippets via the [CODE] OpenVPN options (and the [CODE] configuration file settings). These settings are read from filesystem directories named after the clients' CNs, and there you can have overrides of various settings, including [CODE] and [CODE] . | 2 | 3 | 12,523 | 2017-10-23T13:54:59.307 | infrastructure | serverfault.com | |
432,051 | Update server version for postgres 9.1.2 | I'm trying to run a postgis sql script and I'm running into the following error. Am I correct to say that updating my server version will fix it? If so, how can I go about updating it? I'm on Mac OSX Lion and installed Postgres via brew. Apparently I have an older version installed which is 9.1.2 but installing postgis... | My fix: [CODE] I had previous versions of postgres floating around. [CODE] [CODE] | 1 | 1 | 1,110 | 2012-09-26T06:05:10.123 | infrastructure | serverfault.com | |
165,998 | Is "AlwaysOn" not always "Always On?" | We created a Windows Failover Cluster, then added two instances of SQL Server as nodes of a SQL Server failover cluster. We set the servers to use "AlwaysOn Availability Groups" in SQL Configuration Manager. To test a failover, I loaded up and ran a long query, then brought the active node down by using Failover Cluste... | You have a bunch of different questions in here. Q: What is the "Always On" thing? Microsoft uses that brand name (which was written without a space before 2016) to describe two different features: Failover Clustered Instances (FCIs) - what your grandpa used to call an active/passive cluster Availability Groups (AGs) -... | 8 | 19 | 2,064 | 2017-03-01T21:57:42.040 | database_errors | dba.stackexchange.com | |
1,853 | Specify Connection in Management Studio T-SQL Query | When adding users are roles to DB servers I often use the "Script this action" function from the GUI. I then just go to "Connection :: Change Connection" to do the same on my other servers. Is there a way I can specify the connection in the scripted action so I don't have to do that second Change Connection step? | No way to do this as part of a script from SSMS, but you do have two options. One thing you can do is use SQLCMD mode and the ::connect command in order to have a script that will connect to multiple servers and run the script. This works well if you save the script for the user and use the :r command to load the scrip... | 9 | 12 | 4,079 | 2011-03-22T17:00:49.777 | warehouse_errors | dba.stackexchange.com | |
8,928 | SQL Server Alert Based On Severity Level Not Working | I am new to SQL Server alerts, and I am trying to setup an alert That will run a job and send a notification, based on severity level. In order to test if the alert works correctly I have downloaded a sample corrupted database from MSDN Blogs , and I have restored the database and issued a query against the database wh... | The SQL Agent may need to be restarted to pick up the configuration changes. | 4 | 1 | 1,600 | 2011-12-07T23:16:44.817 | database_errors | dba.stackexchange.com | |
1,021,171 | WAP Assigns same IP addresses for 2 or more devices occasionally | I am new to being a sysadmin and am still learning so apologies if I say anything incorrect or flat out wrong. Where I work we have a wifi network consisting of several different WAPs that spread the wifi out over the entire building. These WAPS are all cheap and nasty budget ones that use the same SSID and passkey to ... | Normally you should really only have one device on the network assigning IP addresses in a given range, If you can't do this then your WAPs need to be configured to have different none overlapping ranges. e.g. if you whole network is using 192.168.1.0/255.255.255.0 as it's subnet then the WAPs should have: WAP 1 192.16... | 1 | 3 | 271 | 2020-06-12T09:44:26.980 | infrastructure | serverfault.com | |
974,247 | upgrade fedora from 29 to 30 | I wanna update fedora from 29 to 30 and I used regular commands to update fedora that u can find them in fedoramagazine or other websites listed in google. but I have got an error after I entered: [CODE] and fedora answered: [CODE] I can not find anything related to this error. system is not ready!!! is there any sugge... | Try below sequence(Remember to take backup if something you need) [CODE] | 0 | 2 | 766 | 2019-07-07T07:47:37.897 | infrastructure | serverfault.com | |
967,612 | Subdomain that uses Route 53 without migrating parent domain | I currently have a domain (asoba.co) that is hosted on Linode, and for which I use Linode nameservers. This site currently works as expected. My goal is to have an additional subdomain for a webapp that is being served from an EC2 instance. I initially followed the instructions from AWS here on this procedure. The inst... | I currently have a domain (asoba.co) that is hosted on Linode, and for which I use Linode nameservers. Unless you changed something very quickly after posting your question, it's looking like Linode isn't being used for your domain: [CODE] As a result, you did the work in Linode to delegate a subdomain, but since the m... | 0 | 0 | 417 | 2019-05-16T14:27:19.687 | database_errors | serverfault.com | |
396,839 | Prevent master to fall back to master after failure | I'm using keepalived to setup a virtual ip that points to a master server. When a failover happens it should point the virtual ip to the backup, and the IP should stay there until I manually enable (fix) the master. The reason this is important is that I'm running mysql replication on the servers and writes should only... | I had same problem as you. Solved it by setting nopreempt on both keepalived servers, and also (which is very important according to http://article.gmane.org/gmane.linux.keepalived.devel/1537 ) setting both servers in state BACKUP (with different priorities). Works great! :-) | 3 | 2 | 4,997 | 2012-06-08T10:04:38.587 | database_errors | serverfault.com | |
1,043,282 | How is 'mdadm' stopped from doing an auto scan at startup? | Debian 10 VM has no software based RAID config, neither is there any intention of creating a software based (mdadm) RAID array. mdadm is installed purely as a dependency for cockpit-storaged mdadm service is disabled. mdadm-waitidle service is disabled. With ' dpkg-reconfigure mdadm ' the ' MD monitoring deamon ' is di... | MD array auto assembly is done via udev rules, so it happens on boot as well as when devices are hot-added to the system. Frustratingly, they never make this explicitly clear in the manpages, but you should be able to edit [CODE] so that it's exactly this: [CODE] That should stop your scanning woes. If this scan turns ... | 3 | 1 | 4,040 | 2020-11-19T23:35:12.247 | pipeline_ops | serverfault.com | |
94,969 | Techniques to increase logic at programming | I am into programming since last 3 years. But I seems to be lost in it. I am not able to get good at it even though I code everyday. suppose I solve one problem, I will wander from solution to solution and implement some other solution. I cant focus much. I get many defects for the code I write. I afraid of code I dont... | I personally would suggest begin with smaller hurdles; try taking on coding in smaller chunks and get more in to the intermediate victories. It sounds like you either get overwhelmed or bored if something lasts too long or doesn't show progress. I can say definitively I've been in the same boat. Think of it like tackli... | 21 | 12 | 66,639 | 2011-07-21T19:33:03.843 | api_errors | softwareengineering.stackexchange.com | |
916,225 | PowerShell: do not execute specific code on -Whatif | Is there any way to ignore a line when executing the [CODE] flag? After adding [CODE] to a command in a .psm1 module, it errors when executing [CODE] on the target function. The affected piece of code is basicly trying to determine if $Path has been set and if not, it will check if it can use the given name as a path: ... | It turns out that [CODE] is where the magic is at. more info on it here: https://docs.microsoft.com/en-us/dotnet/api/system.management.automation.cmdlet.shouldprocess?view=powershellsdk-1.1.0 | 0 | 0 | 272 | 2018-06-12T10:06:46.607 | infrastructure | serverfault.com | |
246,225 | How to set a correct value for wiredTiger concurrentTransactions | I have a single instance in server with 7 Processor and 15 Gb. In value default for [CODE] and [CODE] is 128. But is value default, how to calculate the ideal value for [CODE] ? [Reference] https://www.datadoghq.com/blog/monitoring-mongodb-performance-metrics-wiredtiger/ https://docs.mongodb.com/manual/reference/parame... | The read/write ticket values are set to 128 to prevent overwhelming WiredTiger with concurrent requests. They are chosen to cater for the typical server hardware. It's generally not recommended to change these values. If you see stalling and observed that the read/write tickets to be maxed out, it's extremely likely th... | 2 | 3 | 1,715 | 2019-08-26T00:44:29.767 | pipeline_ops | dba.stackexchange.com | |
29,736 | SSRS max upload size limitations | We are working on a WiX project for deploying our large application (the server side of the application, that is.) The customer has the choice to have the application server, the SQL Server and the Reporting Server all on the same box, on 2 boxes or on 3 separate boxes (or VM's.) Here is one of our current issues that ... | From my understanding, This is a restriction specified on the server piece. So you would have to modify it's web.config to change the max upload size. I'm not aware, although I could be wrong, of a way to change this setting through options within the reporting services management site. You could ask your client to tem... | 3 | 3 | 3,379 | 2012-12-03T21:02:02.027 | database_errors | dba.stackexchange.com | |
302,335 | I think SQL Docs are wrong for sys.dm_db_index_physical_stats | Go to this documentation page: https://learn.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-db-index-physical-stats-transact-sql?view=sql-server-ver15 Then go to the index_level column explanation: The nonleaf levels of indexes are only processed when mode = DETAILED. Now go to the ... | The docs are correct in my opinion. LIMITED mode uses the same mechanism as readahead. It makes use of the fact that all parent-level/non-leaf-level pages contain a list of (pointers to) all pages at the leaf-level in key order. That's why it can use those page IDs to figure out whether the pages are in the same logica... | 0 | 2 | 188 | 2021-11-09T01:05:00.657 | database_errors | dba.stackexchange.com | |
1,019,157 | Create a second WebAccess RDS connection to servers already in a collection | All of our staff who are working from home use Windows RD Web Access to connect in to our Remote Desktop Servers. We currently have a 2012-r2 RD Broker with 1 collection consisting of 5 RDS 2012-r2 Servers and a second collection with just a Remote Apps Server. Currently the RDS collection is set-up to display the RDS ... | You can't add a RD Session Host server to more than 1 collection. However, your question is mainly about a client issue: in the Remote Desktop Connection client, just go to the "Display" tab, and uncheck "Use all my monitors for the remote session" | 0 | 0 | 864 | 2020-05-29T11:06:10.617 | infrastructure | serverfault.com | |
130,458 | Create New Database user to login to SQL Server Management Studio | Please see the T-SQL below: [CODE] After running this I try to login to SQL Server Management Studio as [CODE] and I am prompted with this error: login failed for user: standard What am I doing wrong? PS: I cannot even login as sa. I have enabled 'SQL Server Windows Authentication mode'. I am a developer (not a DBA) tr... | I had to enable: 'SQL Server and Windows Authentication Mode', then restart the SQL Server 2012 service. | 0 | 2 | 171 | 2016-02-25T14:18:27.317 | database_errors | dba.stackexchange.com | |
29,876 | How to check if web app speed issues are due to a slow network connection? | Sometimes, while testing a web application, the app responds much slower than usual. There could be many reasons for this such as bugs in backend, outage in some of the servers, slow internet on client etc. How do I rule out that internet issues on the client are making the web app seem slow ? | Use a local tool that allows you to slow down your network (e.g. network link conditioner on a mac). Use this to try different network conditions and measure how the application responds in terms of time. A great option today for all platform is chrome tools which now has throttling built in. See the "network" tab with... | 6 | 2 | 5,337 | 2017-09-29T19:03:55.340 | data_quality | sqa.stackexchange.com | |
89,720 | How to shard a database like that of SO? | I know a bit about sharding but I cannot wrap my head around that fact that say eventually SO cannot scale vertically then how would they shard their SQL DB? Even if we assume SO will not reach that day consider this a theoretical problem. We have questions by timestamp, by vote, by answers, by users and so on. How thi... | Sharding, or database partitioning, is usually done to allow parallel processing of chunks of data. Groups of records residing in different shards (partitions) can be processed independently of one another, thus effectively multiplying the database server capacity. The biggest problem to solve when deciding the partiti... | 1 | 1 | 101 | 2015-01-20T15:24:02.240 | warehouse_errors | dba.stackexchange.com | |
46,064 | How to make a good portfolio for IT student (who loves programming) like me? | I am currently a college student, and going to apply for an university in probably next month. Unlike art student who easily put on their works such as models, designs and so on on their portfolio; I am hitting a dead corner trying to find a "creative" way to showcase my work as a programmer. It would be normal if prog... | Do it like most successful programmers do and keep it simple. Keep it to one page if you can. Make a list of things you've done. That's your showcase. Link to Github, LinkedIn, StackOverflow account and so on. That's your social proof. You can make it pretty later and you've still done more than what the majority of pr... | 6 | 2 | 4,222 | 2011-02-09T22:03:54.707 | api_errors | softwareengineering.stackexchange.com | |
244,262 | How to handle large number of users in SELinux? | A while back we started authenticating users on our Linux servers against Active Directory. As far as the actual authentication part goes, things are working great. However, one of the side effects is that Linux thinks (sort of correctly) that it has several thousands (~15-20k) of users. We've seen several issues that ... | This feels like a oversight regarding libselinux to me. A 'fix' here would be to rename the old /etc/selinux/targeted/contexts/files/file_contexts.homedirs to something else. Create a new one (typically containing a few generic regular expressions which you can find at the top of the original file) and then setting tha... | 5 | 4 | 403 | 2011-03-07T16:55:22.103 | database_errors | serverfault.com | |
421,633 | Cannot write file with apache despite 777 permissions on Directory | I did a clean install of Ubuntu 12.04 and then added a php script that was working fine on Ubuntu 10.04. The script writes a new file to a directory. The Directory is owned by www-data:www:data and has permissions set to 777. I have googled and searched SO & SF and tried many different approaches. I have restarted apac... | show output of mount(8) to see what file attributes you have on that filesystem also try using su to switch to user that apache and use touch $FILE in same directory I know you said you not running SELinux but try "getenforce" just to make sure. | 0 | 1 | 4,850 | 2012-08-27T14:58:49.780 | infrastructure | serverfault.com | |
125,831 | Migrating BLOB in Oracle into PostgreSQL | I use the data type [CODE] in an Oracle table to store images and document files. Now for Postgres(9.4.5), I have two options, i.e., [CODE] or [CODE] . With consideration of passing the params (SAVING) from the Java side as follows: [CODE] For the purpose mentioned above, which Postgres data type is a better candidate ... | From a conceptual point of view the equivalent to Oracle's [CODE] datatype is [CODE] in Postgres. [CODE] only allows you to read and write the complete data (you can't just retrieve 100KB from a 1GB value). Which means that this is kept in the memory on the JVM while reading it. This is the same as with Oracle's [CODE]... | 3 | 7 | 8,559 | 2016-01-11T02:18:56.853 | database_errors | dba.stackexchange.com | |
562,414 | Using gpg-agent over ssh | I'm having a problem using the gpg-agent over ssh via a single command line. Here is my configuration : Server A : triggering the command via ssh. [CODE] Server B : Executing the script requiring a passphrase signature. System info : Ubuntu 12.04 I've setup the gpg-agent on the server B, I've added this configuration t... | When you login with [CODE] then manually execute the script it will prompt you for the passphrase the first time, then when you execute the script shh-agent will provide the stored passphrase. However when you run [CODE] you are doing a new login each time, and I don't think ssh-agent would support saving the passphras... | 8 | 1 | 3,638 | 2013-12-19T09:53:46.330 | infrastructure | serverfault.com | |
659,990 | Unbound, exceptions to local-zone rules for specific subdomains and main domain | I have a simple rule to point my [CODE] to a local address [CODE] . It takes everything; all subdomains [CODE] as well as the main domain itself. [CODE] I have my load balancer at [CODE] so for making requests working internally I need to do this. However, my mail server is located outside this network, so I need to ma... | Use this style, multiple level wildcard subdomains: [CODE] | 5 | 4 | 9,173 | 2015-01-16T08:04:20.573 | infrastructure | serverfault.com | |
486,897 | Yum History and History Undo in Centos 6 | I have a Centos 6 server and I have upgraded several packages. I can, supposedly, downgrade them with [CODE] but all I get is [CODE] for every single package. In the documentation it says that it downgrades if there is an older version in the repositories. So my question is: Which repositories? Obviously the ones I hav... | Note [CODE] takes transaction id (not package name) as an argument and clearly communicates that to you if you get it wrong [CODE] but since you got [CODE] message, I'm going to assume that's just a typo and you do have transaction id from [CODE] . Answer This is likely due to archive repository being disabled. For exa... | 1 | 1 | 2,394 | 2013-03-12T09:20:27.860 | infrastructure | serverfault.com | |
208,512 | Using On-Premise SQL Data Warehouse Data for OLTP applications | Quick Information: Our EDW group has created On-Premise SQL Data Warehouse by collecting information from several systems. These SQL DW databases are made up of: SQL Version: SQL Server 2016 (SP2) Partitioned by: Year Total Database Size: 10TB For HA: Utilizing Always On (1-Primary & 1-Secondary) Environment: VMWare Ch... | Can you have your cake and eat it, too? nope. But there are some things you can do. I've worked with this EHR software called Nextgen. It has an OLTP database that never deletes/archives any data, so it's also the data warehouse. Short story: it sucks. less-short story: You can keep things kinda-not-slow if you cluster... | 2 | 1 | 681 | 2018-06-01T17:40:23.880 | warehouse_errors | dba.stackexchange.com | |
113,422 | Unable to start IIS Admin service with HResult 0x80010119 | I'm unable to start the IIS admin service, or run IIS Reset. Whenever I do this I get the following error appear in the event log: The IIS Admin service terminated with service-specific error 2147549465 (0x80010119). | I fixed this by killing the process [CODE] . Apparently [CODE] might also have this effect. See http://blogs.msdn.com/sajoshi/archive/2006/08/31/733549.aspx | 0 | 0 | 2,925 | 2010-02-16T15:31:26.300 | infrastructure | serverfault.com | |
33,626 | Scalable alternative to Selenium Grid | For many reasons, including security, our company cannot use external Selenium Grid provider like BrowserStack . So, I want to run SeleniumGrid in-house. We are already running SeleniumHub with Selenium nodes on docker containers (Firefox, Chrome) and VMs (IE, Safari) and learned that: scales well because it has decent... | At my last employer we were unable to use selenium grid. I can't remember what the reason was. As an alternative we used CircleCI with 4 servers and it worked well, balanced the tests well between them, etc. | 3 | 2 | 1,675 | 2018-05-10T13:15:06.857 | pipeline_ops | sqa.stackexchange.com | |
253,173 | Hot Swappable Root Partition in Ubuntu Server 10.04 LTS | My company runs small NAS boxes that we distribute into businesses and homes for personal or business networking use. These machines run Ubuntu Server 10.04 and are set to boot from a flash drive. The bulk of the storage and shares is on a 4-drive RAID5 array. We clone the flash drives using dd and swap them out for qu... | So ... this is actually a neat question. I'll first tell you why it won't work, then I'll tell you how it might work. :-) Your "OS" (more specifically your kernel) provides all of the necessary interfaces for your devices. Including your disk arrays. It also keeps a list of descriptors that tell processes where to send... | 1 | 2 | 245 | 2011-03-29T13:42:05.717 | infrastructure | serverfault.com | |
312,686 | Why am I getting drive critical warnings and how can I fix this? | I receive these emails (on my cPanel Linux Cent OS 5 Server) every day and haven't a clue what they mean or what to do; [CODE] How can I sort this easily? I have full root and SSH access | Actually I was in the middle of a lengthy answer, when I realized the real answer is: get some shell scripting skills get an overview of directory sizes under the filesystem in question get an overview of file sizes for the filesystems in question for each directory and file find out to which package it belongs to if i... | -3 | 5 | 262 | 2011-09-18T11:49:18.893 | infrastructure | serverfault.com | |
618,005 | Nginx: index mapping | I'm trying to install Nging as a frontend server for HTTP requests but the welcome page does not work: [CODE] If I call [CODE] I got a 403 error. If I call [CODE] it works. index.htm does not exist: it is a java generated page. How can I fix this problem? EDIT: I have duplicated the location with another mapping to fix... | You need to use the "index" directive at location section. As Tero said you don't need the .htm location for this setup. Example: location / { index index.htm; proxy_pass ........ } Optionally you can rename the index file to index.html since it's the default value. http://nginx.org/en/docs/http/ngx_http_index_module.h... | 0 | 0 | 52 | 2014-08-05T08:20:11.377 | data_quality | serverfault.com | |
155,980 | Increasing enough RAM for OS from Total Physical RAM | Here is my situation: Total Physical RAM : 128 GB Assigned to SQL Server : 122 GB (Lock pages in memory for SQL Server Account) So for OS we have close to 6 GB left now. Now we are facing issue like below: SQL Server:Buffer Manager Page writes/sec has exceeded the threshold of 90 Now we are planning to decrease the ass... | (Full disclosure: I created the Max Server Memory Matrix and associated script that you are referring to in your question.) Per this excellent blog post , which contains a detailed explanation of the issue you're experiencing, you'll find this little quote: The recommended Page reads/sec value should be under 90. Highe... | 1 | 3 | 353 | 2016-11-22T05:59:51.430 | pipeline_ops | dba.stackexchange.com | |
652,386 | How to exclude ip's from Nginx ngx_http_limit_req_module | I try to limit ip's connections using on main Nginx config file this: [CODE] and on my domain nginx config file this: [CODE] And all are working great !!! But now i want to exclude Cloudflare ip's from this as i am getting a lot of connections from them and i don't want to get them blocked but how? Cloudflare's ips: [C... | If you want to block the IPs, you have to use something like fail2ban. Just install fail2ban and create a nginx filter file: [CODE] Add following content in it: [CODE] Create a new jail config in: [CODE] If you don’t see jail.local, simply run: [CODE] Add following towards end: [CODE] findtime and maxretry values are i... | 0 | 0 | 2,336 | 2014-12-13T17:22:15.697 | infrastructure | serverfault.com | |
679,095 | PDFTK: unable to open file for output | I am making use of PDFTK to watermark PDF files using the following command: [CODE] However the above results in: [CODE] The above is a strange error because PDFTK should be creating that output file! If I put [CODE] infront of the command, no error is thrown. But I am writing to the tmp folder and this is writeable by... | You should not be fiddling around with the permissions for [CODE] . It's an important part of the system. I suspect that the reason your [CODE] command is failing is because [CODE] is incorrectly set up. To restore the permissions on [CODE] run the following commands as root: [CODE] The result will leave the permission... | 2 | 1 | 10,035 | 2015-03-29T14:30:53.670 | infrastructure | serverfault.com | |
917,992 | Monit not restarting process on kill | I've installed monit on my Deabian server with the following configuration: [CODE] on issuing: [CODE] the service goes up and starts [CODE] properly. If I manually kill myprogram, I expected monit to restart it automatically, but seens that monit gets lost. It not only does not restart the process but the monit proeces... | a) What is the default interval that monit checks for the process? This is defined either: set globally with SET DAEMON set at rule level with EVERY [number] CYCLES EVERY [cron] NOT EVERY [cron] b) Will monit rely on /var/run/myprogram.pid? Monit will check is a program is running with the pid number contained in the f... | 0 | 0 | 969 | 2018-06-24T15:52:33.003 | infrastructure | serverfault.com | |
35,147 | When a new testing tool is purchased it should be used first by? | This question has been asked before, but it was a couple of years ago, so things could have updated now and people could have had new thoughts on the matter, I had tried to find the official definition but have so far failed my search. When a new testing tool is purchased it should be used first by? A) A small team to ... | The answer should be B because when a new tool is purchased by the management eventually it has to be used by all the team member. Option A will come on the scenario before the tool has been purchased a small team has to analyse a variety of tools for exploring the pros and cons of that tool whether this will satisfy t... | 0 | 0 | 2,801 | 2018-08-09T09:31:20.007 | data_quality | sqa.stackexchange.com | |
48,283 | Oracle 9i Instance Memory Usage? | My question deals specifically with a way to tell how much memory is being used by an Oracle instance on a UNIX (Solaris) server. For example (I'm gonna really oversimplify this...), if I see that there's 8GB of RAM in use, is there a "simple" method (either through TOAD or some UNIX tool) to identify what portion of t... | There's two types of memory for an Oracle instance. The SGA is shared memory, and PGA is memory only accessible to the individual processes. If you connect to an instance with appropriate privileges (eg DBA or with SELECT_CATALOG_ROLE) you can [CODE] [CODE] to see the totals for each of those. | 0 | 1 | 1,641 | 2009-07-30T20:30:09.673 | database_errors | serverfault.com | |
1,041,289 | 403 when using Terraform to attach Lambda Function to Target Group w/ ALB | I'm able to create Instances, Target Groups, and ALBs just fine with Terraform, but am getting stuck when trying to use Lambda Functions. It looks like the Lambda function gets created OK along with an ALB and a Target Group, but fails on the step when attaching the Lambda function to the target group. [CODE] Error mes... | There are two additional resources needed for this to work: aws_lambda_alias aws_lambda_permission Much thanks to this blog post | 2 | 1 | 2,390 | 2020-11-04T16:22:02.590 | pipeline_ops | serverfault.com | |
326,410 | Using Structs to organize code | I recently ran across some code during a review that baffled me a bit. The dev was using structs to organize code within a larger file. I personally don't like the practice but wanted to hear others thoughts. Assumptions: This was an ASP.MVC app with several app specific areas. The Settings.CS file has a lot of differe... | Examples with terms like "Foo", "Bar", "Other" and "More" are seldom helpful when it comes to design issues. So lets assume the "real" code looks more like this: [CODE] (could be also classes instead of structs, but for this case, it does not make a big difference). This might not be the "perfect", final design, but at... | 3 | 3 | 724 | 2016-08-02T13:36:16.170 | api_errors | softwareengineering.stackexchange.com | |
163,597 | Restore Error: Could not upgrade the metadata | I am trying to restore a database from a Prod environment (11.0.6020.0) to a lower environment server (11.0.3128.0). I realize the lower has an older SP, we are working on correcting that now. The restore should still work though, it has for months, but I'm getting the following error message. We just recently enabled ... | We were able to resolve the issue by upgrading the lower environment to SP3. Once that was done the restore completed without any errors. | 0 | 0 | 1,544 | 2017-02-08T15:50:48.967 | database_errors | dba.stackexchange.com | |
928,823 | VPN Connection to Windows Network behind Firewall | We have a Windows network with a single Windows Server 2012 server which works domain server as well as a file server, which is protected by pfSense firewall. We want to allow a specific user (with company-owned laptop joined to the domain) to connect to our LAN (mainly the file server) from home. Can anyone suggest wh... | I use Bitvise, an SSH Client and Server System to do exactly that. It allows Remote Desktop to the Windows Server, and I find is a little more integrated and security focused than other solutions e.g. putty, MobaXterm for example. | 0 | 0 | 608 | 2018-08-31T05:40:31.850 | infrastructure | serverfault.com | |
129,127 | Does @@FETCH_STATUS have (or need) an equivalent to SCOPE_IDENTITY? | MSDN advises that [CODE] be used with care because it's global : Because @@FETCH_STATUS is global to all cursors on a connection, use @@FETCH_STATUS carefully. After a FETCH statement is executed, the test for @@FETCH_STATUS must occur before any other FETCH statement is executed against another cursor. This leads me t... | As long as they are not nested, you should be fine. @@FETCH_STATUS is set at the time the FETCH NEXT is performed. @@FETCH_STATUS is global to the session, not the entire server. There is no equivalent to SCOPE_IDENTITY() for @@FETCH_STATUS. If you need to nest looped FETCH NEXT operations, make sure that your outer FE... | 3 | 7 | 1,124 | 2016-02-12T16:53:24.483 | database_errors | dba.stackexchange.com | |
580,563 | Why are additional DNS records only returned when the query isn't cached? | I'm trying to track down an issue we're having sending mail to a particular domain. We noticed that we're not getting consistent results from nslookup/dig when querying their MX records, and I'm not sure if we're chasing a non-existent DNS problem or if it could be an issue. When the result is not cached, I get the fol... | Yes, the RRs are actually the A records that [CODE] and [CODE] are CNAME'd to. [CODE] is a CNAME for [CODE] which has multiple A records, which are all listed. The same with 2 substituted for smtp2 As dmourati stated, the real reason your mail is going nowhere will be in your logs. DNS is working as expected. | 1 | 4 | 922 | 2014-03-07T17:04:48.650 | infrastructure | serverfault.com | |
750,047 | deploying nodejs app with forever | Hello I am trying my first deploy in my life on a 'production' server, and i have the following question: after setting everything up on the server, and run [CODE] I can connect to the node server (I have redirected the requests from :80 to :3000) But if I run it with [CODE] ERR_CONNECTION_REFUSED Do you have any idea ... | Maybe the script is throwing an error, e.g. your port is in use - if you run [CODE] that will show you processes and their log files. You can then open the file to view, e.g. [CODE] before you restart, ensure you run 'stopall' first, so that ports aren't in use. [CODE] | 0 | 0 | 358 | 2016-01-18T23:42:45.217 | api_errors | serverfault.com | |
197,120 | How to implement multi-theme PHP application | I am developing an application which will handle many virtual stores and I would like to have many themes that the user could choose anytime. I would to know what's the main ideia to implement it. I will be developing it using Symfony 2. I was thinking about implementing own views and assets for each theme Resources vi... | I'd second what Jim Martens writes. Unfortunately I can't leave a comment yet due to too few rep points over here. Let me add this, though: A few years back, some 10 years, actually, I emulated the CMS project from which joomla was forked from the ground up, with several features of my own like a completely multilingua... | 0 | 1 | 2,106 | 2013-05-06T00:45:40.513 | api_errors | softwareengineering.stackexchange.com | |
630,787 | Postfix stopped sending to the internet | I am quite new in server managing, and I have a vps with Centos 6.5 / Plesk 11.5. My problem is that after having two mail accounts hacked, and used to send spam mail, I now can't send to most parts of the net. I can send to gmail, but yahoo, hotmail and many other get only a connection timed out message. [CODE] These ... | Whenever your server was compromised and starting to pump out a spam flood, then you might consider that everyone is going to blacklist you. For first step, you should stopped the spam flood. Find out what causing it and ensure that this incident will be likely happened again. Then, you can try to send the removal requ... | 1 | 1 | 156 | 2014-09-24T06:37:02.323 | infrastructure | serverfault.com | |
214,137 | Is it good practice to put bug analysis and fix code in bug report? | When I fix a bug I mention briefly what was the issue and in which revision its fixed. But this way nobody would know how much tricky the issue was and how much effort went in analysis and findings. What is the best practice for a developer to show such things to higher management to get noticed? | To put bug analysis in there is a good practice, for the reasons you mentioned (just avoid being overly verbose). This way, people reading it (including your future self) would know how much tricky the issue was and how much effort went in analysis and findings. Also, this way simplifies maintenance in the case when fu... | 5 | 8 | 1,340 | 2013-10-11T11:09:28.427 | api_errors | softwareengineering.stackexchange.com | |
319,126 | "Unrelated" stored procedures causes deadlock | The title says "unrelated" because that's what they are supposed to be but apparently not... I've got two stored procedures ( [CODE] and [CODE] ) that causes a deadlock and I've got no clue to why. They are called by the same Python app in different threads through PYODBC with autocommit off. The threads do a max of 20... | Since you have autocommit off, you're probably writing a transaction runs both stored procedures, and still holds locks from a previous invocation. So a session that owns an X lock on v_daily_fact_se tries to get a range lock v_daily_fact_sequence, but another session already owns an X lock on a key in the range, and s... | 0 | 2 | 121 | 2022-11-03T06:04:33.780 | database_errors | dba.stackexchange.com | |
1,028,675 | MySQL error starting | I can't start mysql and when I run any type of start command, whether it be [CODE] or [CODE] , I get the same error: [CODE] And when I run [CODE] I get this: https://hatebin.com/iefidgteub Or if I run [CODE] I get [CODE] so I looked around, and I ran [CODE] to try and locate the [CODE] file but in the output, [CODE] wa... | Your error is in the log that you posted: [CODE] Ensure the directory [CODE] exists and MySQL should start. | 0 | 0 | 2,511 | 2020-08-03T11:32:43.587 | database_errors | serverfault.com | |
515,120 | Plesk 11 - Custom Error Documents, URL fails with "Wrong URL format" | I am setting up a new Plesk account and want to add a custom error document, 404, specifying a URL to a PHP file. In another account, which uses an earlier version of Plesk (v10, if not mistaken), the following method works, just not in Plesk 11. Go to Websites & Domains | Virtual Directories [Manage] for domain Select... | Well, it looks like behaviour was changed. What about add permanent redirect in not_found.html file or use absolute URL to index.php? | 1 | 1 | 1,207 | 2013-06-11T21:27:41.043 | infrastructure | serverfault.com | |
325,255 | MySQL restore of "mysql" database fails with error 3723 | I have a backup process that once a day dumps all the mysql databases on one server (with mysqldump), rsyncs them to another, and then they are imported there (one at a time). I did it this way to follow the traditional rule of never touching the database files, always dump and restore with the provided tools. Thus all... | In the past, I had no problems. Now after upgrading to MySql 8.0 (via Ubuntu 20), the restore of the "mysql" database fails with this error: ERROR 3723 (HY000) at line 25: The table 'columns_priv' may not be created in the reserved tablespace 'mysql' From Chapter 2 Server Error Message Reference Error number: 3723; Sym... | 1 | 1 | 410 | 2023-03-27T13:25:00.203 | database_errors | dba.stackexchange.com | |
154,663 | Excel --> MS SQL; skip blank calculated rows | Trying to put the final touches on a workflow I've been setting up and am running into a bit of a problem. What I am hoping to do is as follows: Have an Excel spreadsheet with multiple tabs that I give to an "end user" Have one tab on which the end user inputs data and have another tab that has a bunch of values that a... | I would import the entire spreadsheet into an empty "temp" table, then run a sql statement to copy the rows I want across to my permanent table. This way it is easy to setup rules so that you only get the rows you want and it is easy to test both the import and the copy jobs separately. | 2 | 1 | 298 | 2016-11-08T23:57:21.030 | warehouse_errors | dba.stackexchange.com | |
815,679 | CLOUD DEPLOYMENT MANAGER: Internal Load Balancer create issue | I am using the following to try and create an internal load balancer via Deployment Manager using the following code [CODE] It errrors when run with the following [CODE] It would appear to be creating using the [CODE] instead of [CODE] I know this is beta functionality, but trying to develop this solution using [CODE] ... | Please see https://stackoverflow.com/questions/40498889/cloud-deployment-manager-internal-load-balancer-create-issue for how to solve this. In essence it says that we need to use [CODE] | 1 | 2 | 298 | 2016-11-18T06:58:07.530 | pipeline_ops | serverfault.com | |
1,040,100 | NFS/krb5 authentication server lookup fails due to wrong principal name | When mounting an NFSv4 with Kerberos, authentication fails and krb5kdc.log shows the wrong principal name for the NFS server. [CODE] Principal nfs/containershost.internal.domain.tld should be nfs/nfs.internal.domain.tld . Am I correct in assuming that a reverse DNS query is being performed which is returning containers... | The nfs server resolves it's own name to containershost.internal.domain.tld . Thus, it looks for that name in keytab file. You probably should explicitly set the container name to nfs.internal.domain.tld (with -name option or host directive in docker-compose) or add yet another entry into keytab file. | 3 | 0 | 1,077 | 2020-10-26T13:32:50.647 | pipeline_ops | serverfault.com | |
251,954 | Azure SQL Server Trigger Not Firing | Using Azure SQL Server, on a managed instance (i.e. a single server running multiple databases, where the db in question is one of them). I've created a trigger on [CODE] to table A, that performs an insert of the same data (with some massaging) to table B. When checking the [CODE] table, it seems that the trigger is t... | One of the more likely reasons for this is (as you confirmed) Bulk Insert. By default, Bulk Insert does not fire triggers. You can change this behavior in the options for the bulk insert when your application/code is setting up the operation. How to do that can vary by the specifics of your code, Powershell, .Net, etc.... | 1 | 1 | 1,569 | 2019-10-25T14:30:05.927 | database_errors | dba.stackexchange.com | |
117,233 | SharePoint / SQL Server "out of memory" error | After months of preparation, we launched a new SharePoint intranet portal today. Immediately, some users began getting a "server out of memory" error when they tried to log in. The SharePoint server appeared to be fine, but the SQL Server was reporting 100% memory use. (It has 4 GB.) We rebooted the server and have not... | Well, first thing to note is by default SQL server will suck up all memory available on the server over time. You can change this setting by going into the management studio, going to the server properties, memory and modifying the "maximum server memory" option to some number smaller than your 4GB of memory. If the se... | 0 | 1 | 1,539 | 2010-02-26T17:48:21.300 | database_errors | serverfault.com | |
835,794 | systemd restart jobs on condition | I have a Windows-only daemon running on a linux box with wine and Xvfb. Due to this quite experimental setup, the daemon crashes periodically and i'd like to implement some kind of mechanism to automatically restart the daemon. Currently i have a systemd unit definition with the [CODE] setting. However, i have noticed ... | Okay, i discovered the power of systemd.path. I created a second service unit with [CODE] and [CODE] . After that, i created a third unit, a path unit with [CODE] and [CODE] . It works now. I only have to make sure that no other process is writing to the output directory, but this is solvable with multiple different wi... | 2 | 7 | 4,765 | 2017-03-02T08:15:09.387 | infrastructure | serverfault.com | |
1,040,689 | Unable to delete .gitconfig folder in user home wsl2 | I want delete the .gitconfig folder in my user's home directory on Ubuntu 20-.04 (WSL2) but I'm getting this strange error: [CODE] I've tried testing through lsof but no results show up. | I had the same issue: I could delete this folder from Windows, by going to [CODE] and deleting [CODE] folder, but it was immediately recreated. Turns out that what was keeping it busy is the Docker integration for WSL2. I stopped the (Windows) process, and I was able to [CODE] from windows. I then created the file ~/.g... | 0 | 1 | 1,299 | 2020-10-30T18:53:08.833 | infrastructure | serverfault.com | |
282,618 | SmtpMail.Send(_MailMessage); doesn't work | I am using default smpt virtula server to send mail using c# but it doesn't send any mails and also it doesn't throw any exceptions public static void SendEmail(string _FromEmail, string _ToEmail, string _Subject, string _EmailBody) { [CODE] please help! | I'm going to guess that the SMTP service on "localhost" is not setup properly for mail relay. This means that the mail server needs to have a parent mail server it communicates to in order for messages to be sent. This is a common mistake I see. The MSDN article on how to setup the IIS SMTP service for mail relay shoul... | 0 | 0 | 231 | 2011-06-21T14:40:48.143 | infrastructure | serverfault.com | |
485,654 | IIS 7.5 - Disable Overlapped Recycle property not being obeyed when web.config is updated | I have a site which holds an exclusive lock on some resources. I used the .NET Application_Start and Application_End events to acquire and release the lock on these resources at the appropriate time. For this to work properly, there can only ever be one instance of my application running at any given time. To get this ... | From this MSDN Post: https://blogs.msdn.microsoft.com/tess/2006/08/02/asp-net-case-study-lost-session-variables-and-appdomain-recycles/ So as part of your code deploy process, it looks like your pool will recycle when you deploy any one of these changes: Immediate Recycle Web.config changes Machine.config changes Globa... | 25 | 1 | 6,448 | 2013-03-07T15:43:48.383 | infrastructure | serverfault.com | |
208,925 | Add Argument to IndexOptimize.sql to Execute Custom Command After Each Index Is Processed | I need some way to check the space usage and backup the transaction log of the database before it gets full when we run your [CODE] script. Our databases are mirrored, so I cannot change their recovery model. Btw, our log files grow hundreds of Gigabytes. One possibility could be to execute custom commands after each i... | If you are on SQL Server 2016 SP2 or later, you could use the new smart transaction log functionality. That could trigger frequent log backups, when a lot of transaction log is generated (e.g. during index maintenance). [CODE] There is no option to execute log backups from within the IndexOptimize stored procedure. | -2 | 2 | 137 | 2018-06-06T18:07:41.363 | database_errors | dba.stackexchange.com | |
119,957 | Windows Server 2003 DCDiag error message "delegation is broken for foo.com.foo.com on dns server" | It started as a simple diagnostic: [CODE] when it ran it gave me the following error from the DNS portion of the DCDIAG test delegation is broken for foo.com.foo.com on dns server on dns server 192.168.1.1 and delegation is broken for foo.com.foo.com on dns server on dns server 192.168.1.2 Those IP's correspond to the ... | The delegation test checks for broken delegations by ensuring that all NS records in the Active Directory domain zone in which the target domain controller resides have corresponding glue A records. Try: 1) Setup DNS servers in TCP/IP config for your servers as folowing: own IP as primary DNS, other DC as secondary DNS... | 1 | 2 | 6,570 | 2010-03-07T02:06:02.540 | infrastructure | serverfault.com | |
928,673 | Can't see files when browsing nginx webserver. Incorrect permissions? | I am using centos 7 with nginx 1.12 to host a yum repository locally. When I try to browser the files via the browser, I can see the folders, but no files inside them. Im wondering if i might not have set the correct permissions or ownership. This is my setup: I have synced all the packages for extras, updates etc into... | In addition to regular file-system permissions RHEL and CentOS have SELinux mandatory access controls enabled by default. Most likely your files are not labelled correctly. Since you're using the default file-system location for web content, you can restore the default SELinux security contexts with [CODE] [CODE] Moire... | 0 | 2 | 1,784 | 2018-08-30T08:57:26.537 | infrastructure | serverfault.com | |
643,624 | Corosync/Pacemaker + Haproxy Failed Actions: insufficient privileges | I setup a Corosync/Pacemaker cluster + HAproxy using the following guide on Ubuntu 14.04 LTS: http://www.sebastien-han.fr/blog/2012/04/15/active-passive-failover-cluster-on-a-mysql-galera-cluster-with-haproxy-lsb-agent/ I have not added the virtual ip setup, only two nodes, both with Haproxy installed on them. I am usi... | I think the problem is in the init script , it does not respect the LSB spec . If you look at the function [CODE] , in file [CODE] : [CODE] In particularly, the line [CODE] . This makes the case that the process is killed the return value is 4, which according to the spec this is: user had insufficient privileges . Whi... | 3 | 3 | 4,501 | 2014-11-11T21:02:50.817 | database_errors | serverfault.com | |
627,012 | Puppet not running PowerShell script on Windows 2008 server | The Puppet agent on my Windows VMs is not executing PowerShell scripts. I have tested it with a very simple script as well. The script is stored on the C drive as test.ps1. Its contents are as follows: [CODE] When I run this as ./test.ps1 from the PowerShell console manually, it works fine and the file z.txt is created... | A Puppet resource of the [CODE] type does not synchronize of its own accord. It only "refreshes" itself, meaning that the command is run only if the resource receives a signal from another resource that successfully changes from an unsynchronized state. [CODE] This is not a very good mode of operation, because if your ... | 0 | 1 | 1,626 | 2014-09-08T14:08:35.743 | pipeline_ops | serverfault.com | |
331,493 | How is SQL server engine account able to access disk drive folder without permission? | I have recently changed the SQL engine account to mydomain\sqlengine. This evening I setup SQL audit into F:\audits. I'm surprised to see the SQL server is able to create a file in this folder without any permissions to this folder. The above account is not a local admin. How is SQL server engine account able to access... | By default users can write to subfolders on a drive. eg [CODE] If you break inheritance on this this folder and remove the permissions for Authenticated users, SQL Server won't be able to write, and you'll have to add back permissions for the service account or the service virtual account (which is still active after y... | 0 | 2 | 85 | 2023-09-22T16:54:34.800 | database_errors | dba.stackexchange.com | |
105,776 | ODBC Driver tracing not capturing any logparser events | I have enabled Driver Tracing using these directions . I am running SQL Server 2014, which uses the 2012 native driver . I run the start batch file then the following LogParser command: "c:\Program Files (x86)\Log Parser 2.2\LogParser.exe" "SELECT SUBSTR(Field1, 0, 2) AS CountryCode, SUBSTR(TO_STRING(Field2), 0, 5) AS ... | I've gotten data to show up in the ETL. The two things I did were as follows: I had to modify the batch file to also set the 32 bit BitInterface Loader: [CODE] I modified the providers.txt as follows: {BA798F36-2325-EC5B-ECF8-76958A2AF9B5} 0xFFFFFFFF 128 SQLNCLI {A9377239-477A-DD22-6E21-75912A95FD08} 0xFFFFFFFF 128 SQL... | 1 | 1 | 576 | 2015-07-02T12:06:33.823 | database_errors | dba.stackexchange.com | |
135,201 | Query against sys.schemas and sys.synonyms runs very slow for one user | Scenario: SQL Server 2014 (v12.0.4100.1) .NET Service runs this query: [CODE] ...which returns about 6500 rows but it often times out after 3+ minutes. The [CODE] above is not 'dbo'. If I run this query in SSMS as UserA, the query returns in less than a second. When run as UserB (which is how the .NET service connects)... | You may want to re-write your query as follows (I'm using [CODE] rather than [CODE] so that I do find some synonyms on my testing database). This is similar to the re-write you found to be more efficient, but avoids the need to declare a variable and use two queries. [CODE] This yields a plan like the following: One ve... | 9 | 7 | 2,813 | 2016-04-13T17:54:15.227 | database_errors | dba.stackexchange.com | |
84,031 | Predicting which drug is most appropriate for which patient returns an accuracy of almost 0 | I have a dataframe that looks like this: [CODE] => [CODE] The real df has > 10000 rows (=patients) and 34 different drugs but seemingly I cant upload a csv here for a more usable example? I would like to train a model that predicts which drug is most effective for which patient given the patient’s age, sex, disease typ... | I can't say exactly why you get null accuracy, but I have some comments that may help: you are mixing continous data and categorical data. You might already be aware: when standardizing your data: you are although standardizing your categorical data (sex, disease_type), just be sure that it makes sense (depending on th... | 2 | 3 | 31 | 2020-10-15T06:16:21.557 | data_quality | datascience.stackexchange.com | |
238,403 | Installing libraries in Amazon Linux AMI | I'm trying to setup uWSGI for nginx on a default Amazon AMI Linux instance. To do that, I need to install these libraries: libxml2-dev python2.6-dev python-libxml2 However, when I try a yum install, I get this: [CODE] How do I proceed? I installed rpmforge myself, but I don't know what other repos I can install that ha... | Use Ubuntu or Debian. They are much easier(libxml2-dev python2.6-dev python-libxml2 are Debian packages) In CentOS install python26-devel(EPEL) and libxml2-devel. | 0 | 1 | 1,669 | 2011-02-21T23:59:56.997 | infrastructure | serverfault.com | |
1,011,857 | IIS URL Rewrite rule test pattern error: The input data to test does not match the pattern | I am using this as a guide to work on an IIS Rewrite Rule: https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module Sorry - also asked on SO ( https://stackoverflow.com/questions/61149139/iis-url-rewrite-rule-test-pattern-error-the-input-data-to-test-does-not-... | It's because you must escape the [CODE] like this: [CODE] in the pattern. Here is the correct version : [CODE] | 1 | 1 | 2,523 | 2020-04-11T09:30:02.617 | infrastructure | serverfault.com | |
904,627 | Response from Cloudfront from S3 Origin keeps changing CORS Headers | here is my problem : CORS are set as supposed to be on the S3 : [CODE] when I try to fetch a file (using jQuery with option CrossDomain = true) from A.example.com -> B.example.com/file.js (works with correct Headers) When I try the same request from another domain : C.dev.example.com -> B.example.com/file.js // (it fai... | This is related to : Chrome S3 Cloudfront: No 'Access-Control-Allow-Origin' header on initial XHR request More info in here : https://forums.aws.amazon.com/thread.jspa?messageID=796312 | 0 | 0 | 2,381 | 2018-03-26T14:46:13.247 | api_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.