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 |
|---|---|---|---|---|---|---|---|---|---|---|
326,404 | Where does the burden of responsibility and support from shared components/services lie? | This is an issue that has somewhat been raised by the left-pad incident with NPM but I'm also interested in it from an internal business perspective. For example imagine an organisation with 3 teams, A, B and C. Team A build a component for their site, it fits their needs perfectly because they built it themselves. Tea... | The burden of responsibility ultimately lies with whoever is responsible for coordinating the work of these teams. (Someone at every company is responsible for that, whether they recognize it or not.) From a technical standpoint, team B should have notified team A that they were using team A's component. Normally, this... | 2 | 2 | 162 | 2016-08-02T13:07:18.480 | api_errors | softwareengineering.stackexchange.com | |
284,160 | Is there any advantage to c-style bit manipulation over std::bitset? | I work almost exclusively in C++11/14, and usually cringe when I see code like this: [CODE] This is just an example; I'm talking about bit-wise manipulation in general. In C++, is there really any point? The above is mind-warping and error-prone, while using an [CODE] allows you to: more easily modify the size of the [... | From a logical (non-technical) point of view, there is no advantage. Any plain C / C++ code can be wrapped within suitable "library construct". After such wrapping, the matter of "whether this is more advantageous than that" becomes a moot question. From a speed point-of-view, C / C++ should allow the library construct... | 26 | 17 | 24,185 | 2015-05-18T00:42:05.870 | pipeline_ops | softwareengineering.stackexchange.com | |
71,284 | How performance schema in mysql 5.6 improve performance? | Since MySQL 5.5 [CODE] database has been added likewise [CODE] . As we know that tables in information_schema contains statistical information like tables, plugins, partitions, processlist, status and global variables etc. Just like, performance_schema contains a lot of tables. But, how can we use these tables to impro... | Please note the difference between the [CODE] and [CODE] databases INFORMATION_SCHEMA The information_schema database is an inventory of all objects within the MySQL instance Such objects include: databases tables columns constraints indexes (called statistics) processlist locks I wrote a nice post about this 3 years a... | 3 | 7 | 3,281 | 2014-07-11T16:37:21.923 | database_errors | dba.stackexchange.com | |
141,923 | Importing from CSV and sorting by Date | I have the following script that parses an HR output file looking for employees and outputs information such as Hire Dare, First Name, Last Name, Supervisor etc. The problem I have is that in the current format I think the Hire Date column is being treated as a string so in effect it orders the output by month (i.e. 1/... | You can add a new (DateTime typed) field to your CSV in-line using the value from Hire Date to seed it, and then use that for your sorting. You can still print the standard Hire Date though. This should work for you: [CODE] Also, you have a typo in the [CODE] clause, First Name is misspelled. | 4 | 4 | 10,101 | 2010-05-14T15:13:28.880 | infrastructure | serverfault.com | |
1,088,095 | `kubectl` connection to the server was refused | I've been following Kelsey Hightower's Kubernetes the Hard Way which walks you through manually setting up a k8s cluster. This is not running on minikube - it's running on a remote VPS. I'm on the step where I set up the k8s control plane. However when trying to run a health check on [CODE] I get the following: [CODE] ... | I’ve followed the same guide step by step to recreate the deployment. I found that you might be running the command outside the controller vm. Please issue the following command to login to the controller vm: [CODE] Then, retry the cluster-info command [CODE] Here is my output when doing the test. Example from controll... | 1 | 0 | 3,573 | 2021-12-23T15:47:54.903 | pipeline_ops | serverfault.com | |
156,311 | PXE boot and DHCP server configuration Failing Auto Installation | I have a ISC DHCP Server installed on Ubuntu 9.10 . I have managed to successfully boot a PXE client , obtain a DHCP address and load the initrd.gz file. But I am facing a vague problem when the debian installer starts up and tries to get a DHCP server The client send a DHCP request and I verified that is the same MAC ... | What version of syslinux are you using (syslinux provides your pxelinux.0 file)? If it's not recent, try upgrading. Are you using IPAPPEND 1 in your pxelinux.cfg file? This tells pxelinux to explicitly pass the IP address and gateway to the installer. One issue I see with your configuration is your router value is outs... | 4 | 1 | 2,785 | 2010-06-30T14:09:31.003 | infrastructure | serverfault.com | |
202,995 | Can't connect to SQL Server DB from SSMS network error | Here some background on the setup. The app server and the db server are on a workgroup no domain. Both are AWS EC2 instances. A partner went and install an evaluation copy of SQL Server 2014. I apply the licence key (SQL Server 2014 Standard) on the instance and run the upgrade wizard since then nothing is working as i... | As you said that the SQL Server Error code : [CODE] is coming with state: [CODE] . Mostly the Error code : [CODE] with state : [CODE] coming due to user authentication . As per MSDN Blog here [CODE] . For Troubleshooting Error 18456 As [CODE] of @AaronBertrand here , you can find out every error details with descriptio... | 0 | 0 | 320 | 2018-04-04T09:48:59.240 | database_errors | dba.stackexchange.com | |
280,950 | installing Rails on Centos server | I am tryng to install ruby on rails in centos server on AWS. I can't install rails on the server. It is giving some error. Here is what I am getting while installing rails. [CODE] | Make sure you have Ruby 1.9.2 installed. Rails 3 requires Ruby 1.8.7 or 1.9.2. Ruby-1.9.2 has a better performance. Use "file" to determine the type of the 'gem' file you downloaded If possible, use 'rvm' to install and manage Ruby, Rails and other gems. Warning: compilation on AWS is slow. | 1 | 1 | 257 | 2011-06-16T06:28:55.003 | infrastructure | serverfault.com | |
111,803 | Error rate of a class from confusion matrix | My professor gives a multiclass confusion matrix and asks for the error rate of a certain class . Unfortunately, the professor refuses to give a definition. I think the closest value to an error rate for a class $j$ is the conditional probability $\mathrm{P}(\mathrm{Pred} \neq j ~|~ \mathrm{Truth} = j)$ , i.e. the sum ... | I don't know if this is the definition that you're supposed to use, but usually in multiclass classification the most standard method to apply a binary classification measure is one-vs-rest : given a target class $C$ (positive class), consider all the other classes as a single negative class (i.e. as if they are all me... | 4 | 3 | 267 | 2022-06-14T05:05:29.203 | data_quality | datascience.stackexchange.com | |
255,401 | SQL Server 2017 Stored Proc & TVF Performance Problem | I have a SQL Server 2017 Enterprise Edition instance where a stored procedure was taking approx. five minutes to execute. After reviewing the stored procedure code, I could see that there was an inline scalar UDF referenced several times in the SELECT list and also in the predicate WHERE clause of the stored procedure ... | You can replace your TVF with a view (or keep the TVF, but use the view for your performance-critical sproc): [CODE] This is simply the content of the TVF's main [CODE] query, with the [CODE] clause from the second [CODE] incorporated as a [CODE] . I'm trusting that all records in [CODE] have records in [CODE] and [COD... | 2 | 2 | 510 | 2019-12-11T14:08:19.493 | database_errors | dba.stackexchange.com | |
777,645 | Forcing OpenLDAP connections to use STARTTLS not allowing user to login | I have a basic OpenLDAP server running on [CODE] which authenticates users perfectly fine but I really wanted to make it more secure so I decided to use STARTTLS and How To Encrypt OpenLDAP Connections Using STARTTLS tutorial to help make it all happen. Everything went perfectly fine until this point as depicted in the... | This was a very simple fix where I just had to install [CODE] on the client side instead of installing [CODE] on the client side. Once I ran that it gave me the option to use [CODE] . | 1 | 0 | 217 | 2016-05-18T22:27:31.007 | infrastructure | serverfault.com | |
1,066,006 | Optimal number of Start-JobThread simultaneously | How do I calculate the optimal number of Powershell ThreadJobs? I have a script that hands out jobs to multiple servers but these servers do not have the same number of CPU cores and RAM always. Is there some equation for dynamically calculating this optimal number to set as the ThrottleLimit? The tasks are not very RA... | Such things can't easily be calculated. You have to tune it based on previous runs until it's (mostly) optimized. Tuning consist of running a number a test setups with a set of config params that will affect the outcome and then deciding on the most effective one measured to use. | 0 | 0 | 59 | 2021-06-07T19:14:33.180 | infrastructure | serverfault.com | |
1,005,607 | HP NC523SFP no link detected | I have two HP NC523SFP 10Gb 2-port (1 on a HP DL380e Gen8 and the other on Dell PowerEdge 2950) both systems have Centos 7, the cards are detect and are running the same firmware. I have connected directly the servers with 10Gtek SFP-H10GB-CU2M cable which according to some other posts found online looks compatible (I'... | Problem solved, it's the port enp8s0f0 on Dell 2950 broken.. I have moved the DAC cable on enp8s0f1 and I have the link now. The test to determinate this was: Looping the DAC cable on HP -> Link OK Looping the DAC cable on Dell -> Link KO | 0 | 0 | 700 | 2020-03-04T19:45:50.723 | infrastructure | serverfault.com | |
346,494 | Opinion about server slowness? | We have 2 servers for IIS with Load Balancer and 2 clustered MS SQL servers. Each servers has aprrox. 262GB RAM, 64 core processor(not all physical cores), etc. I mean servers are really powerful. The very strange problem i am experiencing is this : When I publish my application to IIS servers it just works fine and su... | I'd download the SPA3 tool from Microsoft, let it do most of the analysis for you. | 4 | 2 | 211 | 2012-01-04T13:25:41.293 | database_errors | serverfault.com | |
601,870 | My server keeps sending emails to hostmaster@xxx.com | When I type mailq on my server, I get: [CODE] (there is probably about 50 of these, and I've cleared the queue today), do you know where these could be coming from ? is it my server sending some logs to "hostmaster" ? I've replaced my actual domain, with "MYDOMAIN". How can I find what could be sending these emails ? T... | Check to make sure your server isn't acting as an open relay. You can use http://mxtoolbox.com/SuperTool.aspx# with the Test Email Server option. | 0 | 1 | 8,159 | 2014-06-04T19:45:46.833 | infrastructure | serverfault.com | |
655,914 | How Can I Enable MSS Group Policy Settings Windows Server 2012 | In the past I have gone through a server hardening checklist on a Windows Server 2008 web server for PCI compliance. Basically there are a lot of Group Policy, Registry, and other settings that need to conform to the industry best practices for security, encryption, etc. When looking at one particular section, it state... | Officially, you cannot. (On Server 2012 R2 as of the time of this writing.) Unofficially? Maybe... The "MSS" Group Policy settings are not and never have been included with a default, out-of-the-box installation of Active Directory. They were an add-on developed by a consulting group out in the field, and the settings ... | 4 | 4 | 40,674 | 2015-01-02T15:14:25.773 | infrastructure | serverfault.com | |
824,098 | slow apache/php-fpm in local server accessing with domain (through nat) | I have setup a local webserver to develop my php apps, everything should be working ok (no problem testing the domain through a proxy website), but when I navigate from local, sometimes the request won't finish loading (it keeps loading for a while but never throws a 500 error or something like busy server, it eventual... | I came up with a solution after getting wrong the hosts file format, instead of domain -> IP it's the other way around: [CODE] | 0 | 0 | 788 | 2017-01-04T13:41:31.523 | api_errors | serverfault.com | |
853,179 | Redirect all urls to the root except /wp-admin and wp-json | I try to redirect all urls to the root except for the wordpress administration and the wordpress REST API. I have these rules in my [CODE] : [CODE] It's work perfectly for all redirections expect for the [CODE] route where I get 404 errors. Also, I have these errors types in my apache log file: [CODE] Can you please he... | You seem to have destroyed the WordPress front-controller, so any requests for the [CODE] and [CODE] will not be correctly routed (hence the 404s you are seeing). You should leave the WP directives as they were, but implement an additional redirect at the start of the file. For example: [CODE] Note that, as in your ori... | 7 | 6 | 14,414 | 2017-05-31T10:08:05.510 | api_errors | serverfault.com | |
1,115,836 | HTTP 401.2 Error when using Azure Application Gateway | I have an ASP.Net site hosted in IIS 10 on Windows Server 2019 DataCenter in Azure. This site has only Windows Authentication enabled. When I access the site directly ( http://mysite-backend.example.com ) I'm prompted for credentials, after which all works as expected. When I access the site via the App Gateway (config... | NTLM ("Windows Authentication") is not supported by the App Gateway ( MS Docs ). It seems that generally reverse proxies don't implement NTLM support due to security concerns ( MS YARP NTML Discussion ). There are some alternate reverse proxies which can handle this; e.g. nginx plus (the commercial nginx offerring). | 1 | 1 | 895 | 2022-11-16T13:49:10.293 | api_errors | serverfault.com | |
427,008 | Understanding usage of quadtree to store location data | I was reading this article, which talks about storing location-based information. The author says that while Latitude and Longitude info for the locations can be stored in a SQL database, retrieving and searching through that information using SQL queries can be expensive, even with Latitude and Longitude mapped to the... | That is a few questions. Its generally best to ask one, and if you want to ask another, to ask it seperately. But to the answers... Its a data structure, but you can map each leaf to an id, and store that id against each co-ordinate in the database. When you've decided which leaves you want to investigate, its simple t... | 4 | 3 | 1,747 | 2021-06-03T22:20:05.277 | api_errors | softwareengineering.stackexchange.com | |
300,197 | Physical proximity of Disaster Recovery site | We are researching a hosting company to hold our DR site. The problem is that they are in neighboring states. One host is in Herndon, Virginia. The other is in Charlotte, NC. Are these too close together for a primary and DR? Does anyone know of best practices documentation that can help guide us? | It depends on what kind of a disaster you're planning for. A storm that knocks out the city's power? Tornado? Fire? For these they are probably far enough apart that it won't matter. Nuclear strike? Regional data outage? For these maybe not. What are the odds that any particular disaster will take out both facilities? ... | 2 | 3 | 165 | 2011-08-11T17:53:19.527 | infrastructure | serverfault.com | |
80,799 | ODBC SQL Server driver on Linux/nginx | Writing here because really can't figure out what to do. I have a site located at ftp server. And now it moves to a new server based on Linux/nginx. And everything is fine except SQL Server ODBC driver. I need to connect to a SQL Server database on my php code through [CODE] function. I asked administrators of nginx to... | I'd say you miss a post for your instance in /etc/freetds.conf. The post should look something like this [CODE] Then in your connection string you should use that alias. The host and port part shouldn't be needed as they are picked up from the configuration file. You may have to say which driver to use. This works for ... | 1 | 1 | 4,748 | 2014-10-22T06:26:34.150 | bi_errors | dba.stackexchange.com | |
769,227 | My SSL configuration aren't working. Ubuntu apache 2.4 | My ssl config arent working now. I just move a site from one host (I moved the certs files. When I try access I have this error. (Chrome and Firefox say to me that SSL protocol is invalid) Solved: Finally I forgottednto enable the site :( Sorry and thanks for the help with the SSL config. I see this in my apache log (I... | you will see more in your logs with debug level warnings [CODE] you are defining the CA certificate twice here: [CODE] a Chained certificate file can contain, the root certificate issuer, intermediate trusted issuers and your certificate. the CA certificate should be enough here since your are referring to your own cer... | 0 | 1 | 275 | 2016-04-09T17:06:56.813 | infrastructure | serverfault.com | |
761,001 | mysql authentification plugin is not loaded | Problem: I am encountering an login problem when setting up users in mysql. Old users can login as expected, for newly created users I cannot login and get an error message. Executed SQL: [CODE] Expected: I would now expect to be allowed to login as user monty from my client code (what works with already existing users... | Turns out this is because I forgot to run mysql_upgrade on the database after rebuilding the docker container with the latest mysql version. After running a mysql_upgrade everything works again as expected. More information can be found here. https://bugs.mysql.com/bug.php?id=79622 | 5 | 1 | 63,943 | 2016-03-02T13:57:52.053 | pipeline_ops | serverfault.com | |
991,876 | Rate limiting HAProxy connections from clients behind another proxy or NAT | We have HAProxy running on our pfSense hardware, forwarding a single frontend to a number of backend services (using cookies). Everything is working great. We'd like to add basic "rate limiting" to HAProxy. In the Frontend configuration, I've added [CODE] However, one of our customers has several hundred users at the s... | I guess you're only options are to use cookies or possibly (but unlikely) the x-forwarded-for header. The cookie option would be similar to black Friday protection: http://www.loadbalancer.org/blog/black-friday-black-out-protection-with-haproxy/ It would be very interesting to know if you could get a working example fo... | 0 | 0 | 1,613 | 2019-11-14T17:15:40.893 | api_errors | serverfault.com | |
174,915 | mySQL trigger - prevent insert won't work for multiple inserts | This is not another "how to prevent insert with triggers" thread. I have done my research and I found a couple of ways but unfortunately, they won't work in my case. I have a table in my database with a numeric column called "value". I want to cancel a new insert if its value is near the value of a previous insert. So ... | This is expected behaviour: if you raise a [CODE] , the entire statement is rolled back; if you set [CODE] to NULL, you insert NULL (I guess your client is messing with you by showing zeroes for NULL values). You could work around this problem by not inserting ineligible records in the first place, something like this:... | 1 | 1 | 706 | 2017-05-30T14:00:03.100 | database_errors | dba.stackexchange.com | |
56,967 | MySQL/MariaDB stored procedure compiles with typos | I just asked a similar question to this, but that turned out to be because MySQL column names are case insenstive and I was creating an ambiguity. I took the advice given and prefixed all my params with p. The problem is that if I type the param value with a misspelling the SP still compiles, but then fails at run time... | The explanation here is related to the same situation found in the other question ... the expression here is at least potentially ambiguous, so it can't reasonably be validated at define time. It could refer to something that's not yet defined. MySQL validates the syntax of stored procedures at define-time, but it does... | 3 | 5 | 1,009 | 2014-01-17T01:33:28.580 | database_errors | dba.stackexchange.com | |
228,758 | Should I use a RDBMS JSON field or a NoSQL database to store large JSON datasets that I don't need to query? | I am building a website that allows users to retrieve a bunch of open source chart (eg UN data ). I don't need to be able to query the data itself. I will instead extract certain meta data (keywords, date ranges, etc) that will be stored separately in a structured format for querying. Since I don't need to query the da... | Neither. What you need is a file system, or cloud blob storage. Choose one with high compression ratios. Typically data is used intensely for a short while then touched only infrequently thereafter. Choosing a storage service with tiers will allow further cost saving. As the service becomes popular it is likely several... | 1 | 2 | 243 | 2019-02-02T19:52:50.627 | warehouse_errors | dba.stackexchange.com | |
93,668 | Can I use a Windows Server 2003 Domain Controller but my home router for DNS? | Probably easiest to start with a description of my current setup, which works (oh, and this is a home setup not an office or anything): I have an ADSL modem with a static IP address (192.168.128.1), and its DHCP capability is disabled. I have a permanently powered up Windows Server 2003 machine with a fixed IP (192.168... | I'd recommend ditching Active Directory and just using your router for everything. The current versions of Windows Server aren't as "power saavy" as you'd like them to be, let alone Windows Server 2003. Having server computers that "wake up" isn't something that W2K3 (or even W2K8) were designed to do. BTW: Specifying ... | 1 | 2 | 1,237 | 2009-12-12T10:55:22.037 | infrastructure | serverfault.com | |
950,503 | AWS S3 and Route 53: www redirect does not work | I have hosted my static website on AWS S3, like in, http://example.net I have configured two S3 buckets, one for http://example.net , and another one for http://www.example.net , whose 'Static web hosting' has been setup to redirect to http://example.net . Since my domain name was bought with some other provider, I hav... | Your DNS for the real domain that you shared with me seems incompletely configured. This is the " [CODE] " record: [CODE] While this is the " [CODE] " record: [CODE] Apparently the record for [CODE] doesn't exist. Re-check your Route53 settings. Hope that helps :) | 1 | 0 | 2,727 | 2019-01-24T06:06:50.730 | infrastructure | serverfault.com | |
1,143,422 | unable to authenticate socks5 (danted) with username | I'm unable to setup username auth for socks5 using dante and [CODE] method. [CODE] /etc/danted.conf [CODE] created the user: [CODE] trying to connect : [CODE] and in logs I see this: [CODE] full logs: [CODE] | The reason the connection is blocked by Dante is that you have set the wrong password. The "--password" option to usermod(8) expects the password argument to be the encrypted password. To quote: " -p, --password PASSWORD defines a new password for the user. PASSWORD is expected to be encrypted, as returned by crypt (3)... | 0 | 0 | 391 | 2023-09-10T20:02:35.527 | infrastructure | serverfault.com | |
701,331 | Unable to get apache.exe working as windows service | I am trying to get [CODE] to run as a service on [CODE] . If i start Apache.exe from the command prompt, it works fine. But when i add i start it as windows service, it throws me an error. This is how i am adding it as windows service: [CODE] This is what i see in the event viewer: [CODE] 0x01d0adf337a5bbaf. What am i ... | Turns out that Windows 2008 has this security feature called "User Account Control" that prevents apache from installing properly as a service. This can be disabled by clicking on Control Panel-> User Accounts. Turn it off, reboot, and reinstall apache and everything is fine. Oh, don't turn UAC back on or Apache will a... | 0 | 0 | 1,249 | 2015-06-24T14:43:54.963 | infrastructure | serverfault.com | |
332,730 | Exclude specific domains from Apache2 serverAlias while using a catch all *(wildcard) alias | I have a web application that needs to support custom domains, in that regard I have set-up the following name based virtual server: [CODE] Notice the * as the server alias? that catches all the domains on that server. However, I have other sites on this server which I want to be excluded from this list. It is more eco... | Apache searches for a match in the order that the domains are defined. If I understand your problem correctly then it can be solved by defining your hosts to be excluded before the catch all host. Example: [CODE] | 12 | 15 | 10,629 | 2011-11-19T17:12:37.007 | infrastructure | serverfault.com | |
176,476 | Converting lib from other language to python and Rights issue | If I take a program, and basically translate its source from some language to python, with some small changes, can I do a entirely my new lib or I have to make a "version" of the old one? would this be a copy of the first or a new lib based in the ideas of the first? OBS: Consider the original lib is using Apache Licen... | I am not a lawyer, this is not legal advice. Which means, if you follow my advice, and it turns out to be wrong, don't sue me for it. A copyright owner's permission is required for doing anything that is covered under copyright law. A copyright license gives you that. Copyright law recognizes copyrights even after ever... | 2 | 2 | 107 | 2012-11-20T00:15:10.560 | api_errors | softwareengineering.stackexchange.com | |
199,459 | Confirming a Hard Drive Write Error | I've been having issues with a hard drive in a dedicated CentOS server with the following symptoms: Random MySQL Database Corruption -- Tables have been corrupted and repaired multiple times. Several hours after each repair they get corrupted again. MySQL has been completely uninstalled and a new version installed and ... | Harddrive errors tend to be caught by the kernel. Does your server have ECC RAM (it should)... without it memory errors can be missed. Same with any cache RAM on RAID adapters and the like. Pull the DIMMs, clean the contacts and try again, or try running Memtest. Checking for SMART errors on the drives can be helpful. ... | 1 | 1 | 486 | 2010-11-08T16:31:22.667 | data_quality | serverfault.com | |
203,960 | Problem with JOINS | I have a problem with my database or query. I've three tables, one for videos, another for tags of the videos and other for the tags descriptions and theirs id. I want to access to the TAG_DES. For example: In my table tags I have: [CODE] l [CODE] In my table tag_media I have: [CODE] l [CODE] (it means that the video w... | You should use foreign keys and primary keys to join the tables, and then use WHERE clause to filter rows: [CODE] Postgres allows to use [CODE] instead of [CODE] : Quoted from docs: The USING clause is a shorthand that allows you to take advantage of the specific situation where both sides of the join use the same name... | 0 | 1 | 41 | 2018-04-14T14:48:36.730 | warehouse_errors | dba.stackexchange.com | |
167,808 | Stale monitoring errors? | After setting a cluster with 3 shards, 3 config server with 2 mongos. I see these errors in the monitoring agents Failure during discovery. What do they mean I tried to see it on the internet but no luck. | The answer came in with adding a documents into the seetings collection inside the config database. syntax: [CODE] This worked for me. | 1 | 1 | 122 | 2017-03-21T22:50:59.493 | database_errors | dba.stackexchange.com | |
294,614 | Fresh SQL Server 2019 can't query Excel files | I've been using the same query for ages to query Excel files: [CODE] But with this fresh install I'm receiving an error I've never seen before: Msg 7399, Level 16, State 1, Line 13 The OLE DB provider "Microsoft.ACE.OLEDB.16.0" for linked >server "(null)" reported an error. The provider did not give any information abo... | The first error message seems to indicate the SQL Server cannot access the source .xlsx file. Perhaps the account being used by SQL Server does not have access to the file because of filesystem rights, or perhaps the .xlsx is already opened exclusively by some other app, such as Excel. Also, for a new installation you ... | 0 | 1 | 3,979 | 2021-06-21T18:25:42.063 | database_errors | dba.stackexchange.com | |
532,068 | Demystifying HP VC-FC 4Gb Module on c7000 Chassis | has anyone used the HP VC-FC 4Gb Modules before in a c7000? If so could you help me understand the "Connect To" column? It shows a WWPN, but when looking at our FC switch it is connected to I don't see that WWPN in the FLOGI database...Am I missing something with these FC module? Here is a screen shot of the VC-FC Mana... | That VC-FC manager screenshot is showing the WWN of a Cisco device, presumably the switch it is connected to. I haven't used FC in a C7000 yet, but my instinct says: Check the 'Server Connections' tab instead to see the local node/port WWN. | 1 | 1 | 289 | 2013-08-19T16:03:01.470 | infrastructure | serverfault.com | |
60,132 | Foreign key constraint on array member? | Suppose I have a table containing job roles: [CODE] Suppose I further have a table, users, and each row (a specific user) can have an arbitrary number of job roles: [CODE] I should probably make sure that each member of [CODE] exists in roles.role. It seems to me that what I want is a foreign key constraint on each mem... | Support for array foreign keys was worked on with the goal of getting it into PostgreSQL 9.3, but it didn't make the cut for the release due to performance and reliability problems. It doesn't seem to be being worked on for 9.4. At this time, you need to stick to the usual relational approach of using a "join table" to... | 31 | 24 | 35,938 | 2014-03-04T20:21:20.103 | data_quality | dba.stackexchange.com | |
246,683 | Trigger: Insert Into For Update IF Update - but with custom insert based on what type of update? | [CODE] This works but I want that indicated line to be dynamic based on 3 situations. IF i.ColumnName is not null and d.ColumnName is not null THEN 'Column value has been altered' IF i.ColumnName is null and d.ColumnName is not null THEN 'Column value has been deleted.' IF i.ColumnName is not null and d.ColumnName is n... | Use a CASE to evaluate it value: [CODE] | 0 | 1 | 29 | 2019-08-30T23:05:31.757 | warehouse_errors | dba.stackexchange.com | |
791,079 | set WAN IP in pfsense openvpn site to site connection? | I am new to networking, I am trying to connect two networks using pfsense openvpn site to site connection but upto now I can't successful. Please see my configuration here . basics idea is most of the one suggest your WAN is look like private that is why it does not access from internet, actually in WAN interface I set... | You can't just assign your WAN IP. The modem or whatever upstream device you have has to either be in bridge mode, so the firewall behind it gets your public IP, or otherwise configured to pass through the public IP. Without knowing what you're plugged into upstream, can't offer any specific suggestions. Look into how ... | 0 | 1 | 722 | 2016-07-21T04:49:08.057 | infrastructure | serverfault.com | |
259,167 | Can a rollback/commit occur, independent, for each iteration inside a cursor? | We have this ecosystem of accounting solutions and, basically, it got two tables: [CODE] We have a few applications using it and all use a stored procedure to insert new records. [CODE] We pass the list os details to the SP as a custom user table type. It makes lots of validations to ensure all records have at least on... | After testing a lot I found the answer. Yes, it can since you run it AD HOC, without transaction control. [CODE] The application got a solid transaction control. The problem originated because someone was tampering with the base. I guess someone put a profile to run and tried to mimic some app calls. | 1 | 0 | 396 | 2020-02-07T17:11:22.197 | data_quality | dba.stackexchange.com | |
752,702 | WinSXS Backup folder - empty | We have recently experienced a spate a blue screens with some virtual machines. From BSOD dump analysis, courtesy of Microsoft, they have stated this is due to a corruption in the WinSXS directory. Looking at the server disks (attached to working VMs) one thing of note is the the WinSXS\Backup folder for all 4 VMs is e... | The usage is essentially correct, and not having any files in that folder would break one of the recovery options. "Windows Resource Protection To preserve the integrity of the many components involved in the boot process, as well as other critical Windows files, libraries, and applications, Windows implements a techno... | 0 | 0 | 630 | 2016-01-29T15:46:48.100 | database_errors | serverfault.com | |
593,648 | Transfer from RAID-1 to RAID-0 -- easy as cloning? | I have a RAID-1 of 1TB drives using on-board RAID. I have 2 new 240GB SSDs I want to place in RAID-0. This is Windows Server 2012. I know with disk cloning/transferring that it is important going from small to bigger sized disks. Do I need to drop all my free space to it's own partition then copy/clone the partition wi... | If the cloning software operates at a filesystem level, then yes it is just that easy. You could also use some sort of dircopy type program (I'm more familiar with linux, myself) - basically, anything that simply copies recursively from the old RAID-1 to the new RAID-0 will work. | 0 | 0 | 201 | 2014-05-07T12:58:12.380 | database_errors | serverfault.com | |
7,440 | How can I disconnect clients from MySQL? | I need an efficient way to disconnect all clients with a given username from MySQL. I thought about changing the users password but I think that is only checked when the connection is made. Ideas? | You could use "SQL to SQL" method below (just pass in extra connection options to mysql client as needed): [CODE] Note: This works with MySQL 5.1 and 5.5. This would have to be implemented differently for older MySQL versions as information_schema does not have the processlist table. Options used: [CODE] Explanation of... | 10 | 7 | 15,460 | 2011-10-31T18:44:33.077 | database_errors | dba.stackexchange.com | |
1,116,592 | Connecting to hosts postgresql from django app running in a docker container | I am trying to connect to my hosts postgresql server (version 14) from my django app running in a docker container. here are my settings docker-compose.yml: [CODE] pg_hba.conf: [CODE] ifconfig: [CODE] postgresql.conf: [CODE] however when I start the container I get the error: [CODE] I have tried all sorts of online res... | The problem is quite litereally in that error message. There is no hba entry for the host 172.19.0.2. You only allow connections from 172.16.0.0/16. What you Probably want is 172.16.0.0/12 | 1 | 1 | 2,009 | 2022-11-25T10:14:06.480 | database_errors | serverfault.com | |
87,145 | How to measure or find cost of creating a query plan? | I have a typical case where parameter sniffing causes a "bad" execution plan to land in the plan cache, causing subsequent executions of my stored procedure to be very slow. I can "solve" this problem with local variables, [CODE] , and [CODE] . However, I can also dive into the query and try to optimize it. I'm trying ... | How to find out what the cost of creating a query plan is? You can look at the properties of the root node in the query plan, for example: (screenshot from the free Sentry One Plan Explorer ) This information is also available by querying the plan cache, for example using a query based on the following relationships: [... | 20 | 19 | 5,455 | 2014-12-29T10:16:21.730 | database_errors | dba.stackexchange.com | |
297,191 | DHCP requests from wlan client not reaching server | I have a dhcp (and dns) server running on a centos/linux pc, which is the only dhcp server on my network. I have two wireless routers - a Netgear DG834G, and a Netgear DGND3700. The DGND3700 is also the ADSL Router so it is specified as the gateway in the [CODE] . The DG384G is being used as just a wireless access poin... | So, just to just re-iterate. You've got DSL going into the 3700. That plugs into a switch (I'm assuming) to which the 384g, centos, and other wired computers are plugged into? You've then got the 384g and 3700 as wireless. Is the 384g's wireless bridged with the ethernet connecting to the 3700? Or is it acting as a ful... | 0 | 2 | 1,591 | 2011-08-03T16:54:30.150 | infrastructure | serverfault.com | |
269,536 | Building a SAN with a MD3000(i) | I've been by here as a lurker a few times in the past, and have found it nothing but helpful, now I have a question of my own. I'm charged with creating a VM cluster solution and have been looking into the MD3000(i) series DAS/iSCSI storage. I currently have 2 PowerEdge 1950s that I can hook up to a MD3000 via PERC5 SA... | I've reread your 3rd paragraph several times but I'm still confused by it so I won't comment on that part. Dell used to sell a PowerEdge 1950/MD3000/optionalMD1000/optionalMD1000 as a NAS bundle with Microsoft Storage Server installed on the 1950. You could easily recreate that config with your existing 1950 and MD3000... | 2 | 1 | 2,391 | 2011-05-13T18:59:04.147 | infrastructure | serverfault.com | |
347,676 | Linux bridge (brctl) is dropping packets | I have been researching this problem for a few days and have not found an answer yet. Your help will be really appreciated! I have a few VMs (Virtual Machines) running on a physical server. The server uses Linux bridge (br100) to connect these VMs together: [CODE] vnet0 and vnet1 are VMs' virtual NICs. br100 (physical ... | Found the answer! Linux ethernet bridge consults ebtables to decide which packets to forward and which to drop. Flushing ebtables solved my problem. | 5 | 4 | 21,732 | 2012-01-07T16:11:00.250 | infrastructure | serverfault.com | |
174,202 | Why doesn't FIND_IN_SET return on NULL values | Can anybody explain why FIND_IN_SET isn't returning the row with the NULL value? To me it seems obvious, the string "test", isn't part of NULL, so it should return it? http://sqlfiddle.com/#!9/389043/2 [CODE] | Well, NULL is not a string, not even an empty one. When you compare to NULL special operators are of need, like [CODE] or the NULL-safe comparator [CODE] . Usually this is solved with a query like [CODE] I for one think, that the [CODE] function shouldn't exist at all. It makes it seem like having comma separated value... | 0 | 2 | 5,343 | 2017-05-22T11:09:31.907 | data_quality | dba.stackexchange.com | |
249,550 | How to prevent LCK_M_IX waiting/locking on the following Delete and Insert queries | *Edit: Solution turned out to be nothing in the answers here, I was using SQLAlchemy in Python, which is an ORM. I was executing the delete statement below in a transaction, but never committing it. This lead to around 10 open transactions occuring that eventually all needed to be rolled back, thus locking the entire t... | Your problem has a name of [CODE] . You can read more on this here: How to resolve blocking problems that are caused by lock escalation in SQL Server . By default, SQL Server will acquire the finest-grain lock possible, in order to attain the greatest concurrency. In most cases, this means SQL Server will acquire row (... | 2 | 5 | 7,880 | 2019-09-25T04:14:46.493 | warehouse_errors | dba.stackexchange.com | |
56,026 | Anyway to optimize complex view? | In the system, Files can belong to either products, clearances, business_lines or titles. Clearances are records that represent a combination of a title and a product. Products are collections of titles (through clearances) and have a business_line_id The file_associations view is created to retrieve the correct files ... | While you might be able to improve the performance somewhat, you're never going to get respectable performance out of this view, because of the [CODE] . MySQL has 2 view processing algorithms , called [CODE] and [CODE] . A view that's processed with [CODE] takes the view definition and merges it with the statement that... | 0 | 1 | 245 | 2014-01-02T20:49:00.357 | warehouse_errors | dba.stackexchange.com | |
376,742 | Cache vs DB design decision? | Number of times this question comes to my and my team mind, should we persist or cache the data. I understand some time there is functional requirement that we need to persist in DB. But in my case there is not any. But here I mainly talking in context of scalability/performancewhich design is better. Lets take an exam... | You may consider the following: While Redis can persist data, this was not its original goal. It was originally designed as a cache solution, not a database. This is especially important if you expect to stay flexible and be able, eventually, to switch to another cache solution such as memcached. Redis is extremely fas... | 0 | 3 | 5,485 | 2018-08-12T08:18:31.067 | database_errors | softwareengineering.stackexchange.com | |
194,462 | Any way to copy the schema from one MySQL database to another? | I have a MySQL database that contains almost 100 tables. I want to set up N additional MySQL databases on the same server, each running on a different port. And I want each additional database to have the same schema/table structures as the original database. Is there any way to automatically make N duplicates of the o... | Have a look at mysqldump and it's [CODE] option to get a copy of the schema. Once you have that you will have to make a script to source in mysql e.g. [CODE] will generate a copy of the schema for database [CODE] . If you had a script like below in a file called for example makedbs.sql [CODE] set permissions here [CODE... | 6 | 10 | 22,508 | 2010-10-25T11:09:49.513 | database_errors | serverfault.com | |
334,210 | Can I see a log of IIS loading (or not loading) a .net httpmodule? | I have a site that uses a .net security module to secure certain areas of the website. It's not working, the pages that should be password protected are not. Other than that, the site doesn't throw any errors. I don't have access to the code, and the module doesn't seem to log anything. Is there an IIS or .Net log of l... | Is this security module compiled into its own separate assembly (DLL)? If so, you might be able to detect whether the DLL is being successfully accessed by the IIS process (w3wp.exe) by using SysInternals procmon . Perhaps it's as simple as a file system permissions issue. Have you checked the Windows Event log for any... | 2 | 1 | 1,864 | 2011-11-23T20:02:09.427 | infrastructure | serverfault.com | |
223,305 | Framework in which views are defined in the database - design flaw or reasonable? | I'm working with a framework where the fields displayed on each web page are defined in the application database. Administrators can add new fields to pages or hide/completely delete old fields. The logic for each page is in a Java class - sometimes there's a one-to-one relationship between a page and a class, sometime... | If your actual software requirement is that views be customizable by the customer, then storing the view definitions in the database is not an unreasonable approach at all. I think you will find that the conventional Model-View-Controller design breaks down when your requirement is user customization, for all but the s... | 2 | 2 | 335 | 2014-01-06T20:44:34.100 | api_errors | softwareengineering.stackexchange.com | |
214,517 | Are we queueing and serializing properly? | We process messages through a variety of services (one message will touch probably 9 services before it's done, each doing a specific IO-related function). Right now we have a combination of the worst-case (XML data contract serialization) and best-case (in-memory MSMQ) for performance. The nature of the message means ... | Here are some queue benchmarks you might be interested in. MSMQ should be capable of handling 10K messages per second. Could it be a configuration issue or perhaps the clients aren't keeping up with reading the queue? Also note how blazingly fast ZeroMQ is in those benchmarks(around 100K messages per second), it doesn'... | 13 | 1 | 2,125 | 2013-10-15T19:21:19.830 | data_quality | softwareengineering.stackexchange.com | |
765,697 | Migrate Data & Applications Windows 2012 to Windows 2012 | We recently upgraded our web server from Windows 2003 to Windows 2012. Since all the applications needed to be upgraded we didn't use much in the way of migration tools except the a database migration tool. Files and source code were migrated from local backups. But ... it turns out we are unhappy with our service prov... | Since Xen is an open source project, companies can create their own distributions. So basically OnApp XenServer and Citrix XenServer are based on the same underlying technology (Xen) and are generally compatible with other Xen distros. Because of that and as long as you have XenCenter access to the XenServer management... | 0 | 1 | 64 | 2016-03-23T18:39:22.987 | database_errors | serverfault.com | |
264,630 | MAXDOP Value of 0 compared to Value <=8 | I have been researching dozens of sites regarding MAXDOP but I seem to be missing something basic. MAXDOP=0 enables SQL to use all available CPU's. MS recommended settings is to set MAXDOP = number of CPU's if less than 8, and MAXDOP = 8 if 8 or more CPU's (noted, there are some finer points, e.g., NUMA, etc., but this... | MAXDOP=0 enables SQL to use all available CPU's. - This is true upto 64 logical processors . If you have more like 128 MAXDOp=0 will still only use 64 logical processors. For cores Also for cores less than or equal to 8 on single numa , ideally is asked to keep as # of processors which is where confusion arises. Ideall... | 1 | 1 | 1,807 | 2020-04-08T20:27:40.883 | warehouse_errors | dba.stackexchange.com | |
281,131 | Performance issues summing a count column over a date range | In our application, we have a query which on an API endpoint to return users who have 'activity' to a named client or matter (one or many - specified by ID). This query takes about 15 seconds to return when the activity table has 30 million rows (note there is also ~600k rows in the 'Asset' table and 2700 'users'). The... | I can't speak for the query accessing the view but the samples you provided give a quick insight into the performance of the view. You are getting a filter operator at the end of all of your joins ( [CODE] & [CODE] ) to be able to satisfy the where clause: [CODE] Splitting the view up further with the use of [CODE] put... | 4 | 5 | 307 | 2020-12-08T20:05:31.333 | api_errors | dba.stackexchange.com | |
120,337 | Consultants using old version of Hibernate ORM for new application - should I be concerned? | My company currently has consultants developing a Java-based application. They are using Hibernate ORM 3.5 (released 5 1/2 years ago in 2010) in this application. The back-end is SQL Server 2012. Should my company be concerned that they are using such an old version of Hibernate? Browsing the Hibernate change logs, I s... | There could be several reason they continue to use an older version. It may be they've run into issues with newer versions and know to stay away from them. It could also be that they know the version they're on and can be much more efficient working in it which translates in to dollars. I see later versions lost suppor... | 0 | 0 | 100 | 2015-11-06T17:32:47.443 | database_errors | dba.stackexchange.com | |
810,603 | High TCP reset and packet drop count on CentOS Linux | I have a small farm of web servers (HP Proliant and IBM x, with Broadcom Corporation NetXtreme II BCM5 NIC's) running Apache 2.2.15 on CentOS 6, behind a Cisco ACE load balancer, serving a PHP/JS based web portal. This farm receives a lot of requests daily (it serves a whole small country) trying to access a splash pag... | A TCP reset is an immediate close of a TCP connection. This allows for the resources that were allocated for the previous connection to be released and made available to the system. causes of RST generation Ack, Reset sent in response to a Syn. An Ack Reset sent in response to a Syn frame is sent to acknowledge the rec... | 2 | 4 | 9,677 | 2016-10-22T04:35:17.717 | pipeline_ops | serverfault.com | |
38,173 | data analysis EDA issues, indent or type | I am a newbie in DS world, right now i am working on some EDA practice, and run into an issue here. Here is my code: Convert some columns to numeric values [CODE] error 1: File "", line 4 return auto ^ SyntaxError: 'return' outside function I tried to change return's indent: Convert some columns to numeric values [CODE... | Try something like this (the function also needs to know what [CODE] is - perhaps pass that in as another parameter?): [CODE] | 0 | 1 | 46 | 2018-09-12T19:11:57.770 | data_quality | datascience.stackexchange.com | |
862,490 | vSphere Client unable to attach the virtual machine console | I was using vSphere Client to connect my ESXi 6 server, but can't attach to any virtual machine console via Internet. vSphere Client has error message: Unable to connect to the MKS: Login(username/password) incorrect Can telnet the ESXi 443 and 902 port. | As far as I remember, solved this issue by allowing few ports by host firewall (902, 903, 443). Make sure it isn't blocked on both sides. Also, there are some options here https://communities.vmware.com/thread/238478 | 1 | 1 | 1,578 | 2017-07-17T07:13:13.753 | infrastructure | serverfault.com | |
3,766 | predict with Multinomial Logistic Regression | If I execute the following code I have no problem: [CODE] but if I try: [CODE] it returns [CODE] , why? | That's not the error I get and I'm thinking that you left out some code. I get: predict(test$finalModel, newdata = dses, "probs") Error in as.data.frame(newdata) : object 'dses' not found I don't know why I see this so much, but you should avoid using the [CODE] object for prediction. [CODE] is doing some things that t... | 2 | 2 | 1,238 | 2014-12-26T16:25:27.373 | data_quality | datascience.stackexchange.com | |
118,256 | ASP.NET/mono performance on Linux | Anybody knows how asp.net/mono performance is on Linux ? I mean, which server gives you the best performance/delivery time (Apache/Apache2, xsp2, lighthttp, nginx, other) ? Since all asp.net goes via xsp2, I'd say xsp2 would certainly be fastest, but it's probably missing a lot of features, which lighthttp offers (e.g.... | The best combination I have found, currently using in production, is fastcgi-mono-server2 or fastcgi-mono-server4 using nginx. A good alternative, that also is known to perform better than apache is, lighttpd. I use Ubuntu Server 11.10 for my web servers due to very good package support (and updated) packages for the r... | 0 | 1 | 1,107 | 2010-03-02T12:03:05.457 | infrastructure | serverfault.com | |
423,280 | Foreign Keys and Eventual Consistency | We have a project that loads metric data from various etls and services into an AWS SQS queue, where that data is processed and inserted into a metrics database, also running on AWS RDS. When we initially designed the database schema, we chose postgres and enforced things like referential integrity via foreign keys. We... | So the foreign keys come from a source system (maybe an OLTP database) where they are immutable, and the metrics database (a kind of analytics DB) reuses them. For such a situation, I would say it is perfectly find to drop all FK constraints in the metrics database, or at least the constraints where you expect the even... | 3 | 3 | 495 | 2021-03-11T18:44:21.873 | data_quality | softwareengineering.stackexchange.com | |
297,772 | How does SQL Telemetry get installed on a server? | Can someone help me please? How is [CODE] different from [CODE] that you get during a SQL install? I installed a successful [CODE] instance, verified the installation, failed over and back all successfully. Then needed to restart the services the following day and had problems doing so, for no obvious reason. The probl... | How would this have been installed and what is it? The [CODE] Service is the [CODE] that sends telemetry data back to Microsoft. When you install Microsoft SQL Server, the [CODE] Service is installed too. You can’t disable it during installation: it shows up in your services list whether you want it or not. https://www... | 2 | 1 | 1,906 | 2021-08-09T10:58:42.310 | warehouse_errors | dba.stackexchange.com | |
113,136 | How to create a cctv monitoring ML solution to classify images? | I have a cctv that records video of products that move over a factory line. I want to stream the cctv into a ML solution that will classify the products, and if it detects that it is a certain type then send an email to manager. Is this an image or video classification problem? Using OpenCV (python) I can access the cc... | Video classification is nothing but when we send each frame of video which is a image and classify it individually and independently to predict the largest probable outcome. For the presented use case it seems that you want the result to be real time then we need to treat it as video classification problem. What we can... | 0 | 2 | 44 | 2022-08-01T05:54:10.183 | pipeline_ops | datascience.stackexchange.com | |
11,746 | Error MSB4226: Microsoft.WebApplication.targets" was not found | I was wondering if someone has ran into this problem as I have tried everything to fix. I have a DevOps build pipeline in Azure running visual studio 2015 version (which matches my local machine) and I am running into this error Error MSB4226: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\En... | It is possible that your project is referring to VS 2017 somewhere. Double-check all your solution and proj files for any reference to VS 2017. Try to enable debug mode and gather more info. | 3 | 0 | 3,048 | 2020-06-01T15:52:08.407 | pipeline_ops | devops.stackexchange.com | |
700,752 | MySQL Replication: Don't propagate failed queries to slaves | I have a simple MySQL replication setup with one master and two slaves. Occasionally there are queries that get executed on the Master which fail due to duplicate unique keys or other reasons. What I'm seeing is that the failing queries are getting replicated to the slave servers, which causes errors there too. It's an... | The MySQL replication happens through binlog. To the binlog only successful transactions will be written, so if a query fails on a master it won't appear in binlog. That means this kind of queries will not appear on replicas. If you have errors like replication stops on slave1 because there is no column for update (etc... | 2 | 1 | 303 | 2015-06-22T16:54:10.283 | database_errors | serverfault.com | |
124,528 | Is it possible to connect MS SQL Server Express 2012 through DAC Connection? | Is it possible to Connect MS SQL Server 2012 Express Through DAC. After moving from SQL Server 2012 Enterprise to MS SQL Server 2012 Express, some performance problem were there. When i have checked out using this TSQL [CODE] The schedular is not showing DAC (Dedicated administrator connections) scheduler ID. Any idea ... | To use the DAC in Express, you need to enable startup trace flag 7806. This is documented here and in more detail here . Open Configuration Manager, in your SQL Server Services pane right-click the Express instance and select Properties. On the Startup Parameters tab add [CODE] , hit Add, then OK, and restart the servi... | 4 | 6 | 194 | 2015-12-24T13:51:29.007 | database_errors | dba.stackexchange.com | |
924,148 | Does it make sense to create a database user for each system admin at my company, or should we share a database account? | Should I be creating a Mongo user for each physical developer that needs access to MongoDB, or should we just share a "sysadmin" account? There's three of us that need full access, and everyone needs the same permissions. We only have a few thousand users and don't have any special compliance requirements (not healthca... | A shared account means it's harder (r impossible without proper system/access logging) to determine who actually logged if something goes wrong. Also if one of those people is terminated/quits, you can't remove ONLY their access, you'd have to change the password for the shared account, as you said. If people are reall... | 0 | 0 | 55 | 2018-07-30T18:56:32.087 | api_errors | serverfault.com | |
206,361 | Exchange Notes connector is appending Domino Domain to external email addresses | We are currently migrating to Exchange 2003 from Lotus Domino 7. I have the Notes connector installed, directory synchronization is happening and mail is being routed between the two domains nicely. All inbound internet email is being routed through our Domino server and is correctly delivered to Exchange users. Howeve... | This issue is addressed here: http://support.microsoft.com/kb/255160 | 0 | 0 | 616 | 2010-11-26T17:21:10.170 | infrastructure | serverfault.com | |
303,829 | Moving entire server data to another server | I would like to ask if its possible. I have recently ordered a new dedicated server for my website. The server is slightly different from the current one. Both are quad core xeons, the differences are the current one is 500GB Hard disk - new one is 160GB hard disk (but I havent consumed 50gb). Next is the memory, 24GB ... | Quick answer, no! Moving stuff like nginx, php etc is not a good idea. You'll end up with a corrup RPM database (presuming you have installed these applications via rpm) and you could accidently over write existing config files (such as passwd/fstab etc). Trying to find a shortcut to do this will just lead to wasting m... | 2 | 2 | 170 | 2011-08-22T16:44:15.193 | api_errors | serverfault.com | |
221,245 | How to increment identity without add a row and get the skipped value? | I'm trying to preserve value in identity column in manner to be added later. The value should be used in implicit foreign key when there is no constraint. For example: I have this table: [CODE] I want to increment the id without adding line, and get the id, (similar to oracle sequence) I'm trying to read current sequen... | You could use DBCC CHECKIDENT (RESEED) for this purpose, but keep in mind you need special permissions, and I'm not sure it worth. Permissions Caller must own the schema that contains the table, or be a member of the sysadmin fixed server role, the db_owner fixed database role, or the db_ddladmin fixed database role. [... | 0 | 1 | 1,507 | 2018-10-29T11:12:14.413 | database_errors | dba.stackexchange.com | |
1,046,404 | You must use multi-factor authentication to proceed. Please ensure MFA is enforced for your account, and then sign in again using MFA | In Azure , new requirement since Nov 9, 2020 is that all new Application Registrations must have MPNID Configured. I keep getting this error. No documentation on what to fix. You must use multi-factor authentication to proceed. Please ensure MFA is enforced for your account, and then sign in again using MFA. [VjpDekCBS... | I fixed it after multiple trial and errors. Double check if your MPN associated Azure AD and current AD are same. You cannot associate MPN with different AD other than one approved. | 0 | 1 | 835 | 2020-12-16T11:18:52.207 | api_errors | serverfault.com | |
286,658 | MainService vs. Application | My conceptual question circles around Android. What I like to do is running a service that acts as the central point for application-wide things and combine this with an event-system. For instance, when a user clicks a button that causes IO, this button dispatches an event (Broadcast, Intent, greenrobot.EventBus, whate... | Application object is not responsible for delegating events to different part of the app. I would suggest not to clutter it with such responsibilities. From what I understand, your [CODE] class is some sort of dispatcher that initiates some service or activity when it gets a particular event. This should be a separate ... | 0 | 1 | 207 | 2015-06-13T08:43:44.277 | api_errors | softwareengineering.stackexchange.com | |
997,474 | Can't create EC2 instance with Keypairs for ssh access | I am trying to launch a new EC2 instance with docker installed on it on AWS. Later on I need to ssh into this instance. I can create it without a problem doing: [CODE] This creates a new machine and also a keypair. Problem is it doesn't download the .pem file I need later on to ssh into it. Thus, I tried to create a ne... | Leaving this for future readers who struggle with the same problem: So what AWS actually does when creating an instance with the command line is that it creates a keypair and downloads it to your local machine. To find out where it is located one can: List all docker-machines [CODE] Inspect the machine of the EC2 insta... | 0 | 0 | 1,222 | 2020-01-03T10:35:31.357 | pipeline_ops | serverfault.com | |
774,809 | Truncated/missing logs with systemd on Ubuntu 16.04 | I am using Ubuntu 16.04 server, have created a basic nodejs script and packaged it in a simple systemd service. Content of api.service at [CODE] : [CODE] When I watch the logs with [CODE] , it seems that some of my script output lines are not recorded, in particular when the script produces a lot of log lines in a shor... | This is happening probably because of rate limiting in journalctl conf. Check [CODE] and [CODE] in [CODE] file. | 2 | 6 | 1,812 | 2016-05-04T13:56:46.200 | api_errors | serverfault.com | |
369,380 | mail server: retry timeout issues to and from specific domain | we have a dv server with mediatmeple, running apache 2.2, and plesk panel 10.3. for some reason, when sending mail from our domain to theirs, or when they send email to ours, the messages bounce back with the ' [CODE] ' error. before messages bounce back which we send out to this domain, i see them stuck in the mail qu... | Start from fixing IN PTR records for MX-hosts (they are domain-emitters also, yes?!) Shit 1 - mail.floridaseating.com [CODE] Shit 2 - sitconf.com [CODE] But now [CODE] show us banal troubles of connectivity Cheap solution Find SMTP-server, from which both sides are SMTP-reacheable and build backup-MX for domains on it.... | 2 | 2 | 6,080 | 2012-03-13T22:31:25.843 | infrastructure | serverfault.com | |
918,858 | Windows Loopback adapter not participating in local network | I have created a Windows loop back adapter with 'Obtain IP address Automatically' enabled. [CODE] So I believe the adapter has taken a Link Local address. Now we have an embedded networking device in which I hard code the same Link Local address to test AUTO IP Link Local address functionality. This embedded code is de... | Should not the Loopback adapter reply back stating the same? No. The loopback adapter is a software construct. It is entirely internal to the host. | 0 | 0 | 1,383 | 2018-06-29T15:21:12.130 | infrastructure | serverfault.com | |
707,369 | dns a records become static | So here's a weird one... I'm managing a Windows AD environment. For whatever reason, when it was built, DNS was not integrated with AD. A month or so ago I went ahead and integrated DNS with AD and all was well, or so I thought. Now I'm looking in my main Forward Lookup Zone and I'm seeing that the vast majority, but n... | Static records are never scavenged. If you have old static records you want to be deleted, they need to be manually deleted, or converted to dynamic records so that they CAN be scavenged. Build a TEST domain that mimics your production (without AD integrated DNS) and then convert it the way you did your prod domain. Re... | 2 | 1 | 1,535 | 2015-07-21T13:55:12.943 | infrastructure | serverfault.com | |
516,568 | Not able to connect to the MS SQL server | Am getting error as show below. It was working fine with no issues but recently started taking long time in query execution and connection: [CODE] | Either there is a firewall between you and the SQL server or you have the server name wrong. Can you telnet to port 1433 (or whatever port SQL is listening on)? | 0 | 1 | 1,162 | 2013-06-18T09:07:23.643 | database_errors | serverfault.com | |
109,338 | all rows from left table with sum of amount from right table | I'm trying to return a list of customers and the sum of their transactions in the last week, but have the query return customers who didn't wager at all. I am trying to do this with a left join, but the query only returns a row if a customer did wager, which is not how I expect the left join to work. What can I do to m... | Figured it out myself. My where clause is telling sql to only show rows that are 'Bet' and have that date criteria, so without me realising it I'm telling sql to show me rows that had bets. Here is my alternative query... [CODE] Putting the conditions in the join clause instead of the where clause makes the left join b... | 0 | 1 | 238 | 2015-08-07T10:30:11.613 | warehouse_errors | dba.stackexchange.com | |
49,617 | mysqld_safe at 100% CPU | I've seen this discussed in several places on the web, never with a clear answer. What does [CODE] do? What would cause it to go to 100% CPU and stay there? How can I make sure it doesn't happen again? Is there a way to at least make it run at a lower priority, so it doesn't prevent me from logging in to my server? Cur... | mysqld_safe is a shell script responsible for starting MySQL itself, so if you find it eating 100% of your CPU, I recommend you report a bug to http://bugs.mysql.com/ | 3 | 2 | 1,285 | 2009-08-04T05:51:17.973 | database_errors | serverfault.com | |
163,266 | How do inheritance and composition differ? | I'm wondering about the differences between inheritance and composition examined with concrete code relevant arguments. In particular my example was: Inheritance : [CODE] vs Composition : [CODE] (Note for composition I'm missing code so it's not actually shorter) Can you name particular advantages of one or the other? ... | Conceptually speaking, composition models "consists of" relationships, whereas inheritance models "is a". Using the car analogy, "a car has wheels" is a textbook example for composition, and it makes sense to have a class [CODE] , and a class [CODE] with a property [CODE] of type [CODE] . In theory, an example of inher... | 1 | 6 | 2,355 | 2012-09-01T09:47:27.877 | api_errors | softwareengineering.stackexchange.com | |
895,245 | Resetting / Modifying network configuration in Centos 7 Rescue mode | I've a dedicated server [CODE] and i made a wrong configuration for it [CODE] So after restarting the network drive, the server went down .. So i've a copy of the original file and want to reset it from [CODE] mode . but the problem is i'm unable to reach [CODE] although of i mounted the disk so how can I solve this pr... | I noticed that i've to enter the correct path inside the mounted drive [CODE] | 0 | 0 | 2,757 | 2018-02-01T20:37:53.500 | infrastructure | serverfault.com | |
769,039 | nginx reverse proxy get time-out response | Am getting The connection has timed out after configuring a reverse proxy to some internal server. Knowing that if i run wget i get 200 OK response and the correct page is downloaded. [CODE] nginx.conf [CODE] Under /etc/nginx/vhost/*/exmaple.conf I have tried these two configurations: [CODE] | As using port other than 80 is not possible (unknown reason) the workaround involved using a subdomain & listening to ip-address:port. [CODE] | 1 | 0 | 2,006 | 2016-04-08T13:03:35.093 | infrastructure | serverfault.com | |
592,329 | Nginx redirecting instead of proxy passing | I'm changing Apache to Nginx at my laboratory and we have lots of projets under subdomains, so I user an approach where every subdirectory has its server running at a high port (8000 and above), and the main server at 80 just proxies to them. My 80 server is configured like this: [CODE] So I have three another services... | You don't need to make your configuration that complex. Try this way: [CODE] | 2 | 2 | 1,934 | 2014-04-30T17:28:11.387 | infrastructure | serverfault.com | |
219,524 | Running MySQL Backups to network location | We have a MySQL server with several databases for development work and we want to back up some of the DBs to a NAS device. These have been backed up previously but the backups have not worked for some time I have found. There is a scheduled task in the Windows scheduler to run a batch script, this script should run the... | The problem was the missing double hyphen in front of the databases switch. The line in question should have read like this: [CODE] | 0 | 0 | 716 | 2018-10-08T11:35:15.907 | database_errors | dba.stackexchange.com | |
271,379 | Mix ;WITH NAMESPACES and schema collections? | I'm getting these xml files from a vendor, and it's a wrapper of NITF (news) schema and the http://www.xmlnews.org/namespaces/meta# news metadata schema (from Space 1999!) Unfortunately, they don't declare any namespaces at all on the outer document. This is what they give us: [CODE] I was trying to see if I could impr... | The part of the XML you are parsing is not constricted by a schema but by a DTD so you can't use a schema collation to make the parsing by SQL Server any different. That said, I have not seen a case yet where a schema is helpful in the scenario where you are shredding XML documents to tables, and there is adding the ov... | 3 | 1 | 533 | 2020-07-21T21:20:08.030 | database_errors | dba.stackexchange.com | |
122,688 | 2.6.9 Kernel on virtual server (non upgradable) - any expected problems? | I'm considering to rent a virtual server (for me personally). The product I'm currently looking at offers IMO fair pricing, very good hardware etc. The only problem is, that I won't be able to do an upgrade to a newer kernel than 2.6.9 (running Debian Etch). Also, I can't install my own kernel modules. (The server runs... | Decided to take a different product from a different site. The machine's network connection is a bit slower, and it costs 50% more, but a newer kernel and also a more open information policy (including detailed FAQs and a forum) give me a much better feeling. | 1 | 0 | 175 | 2010-03-15T17:11:35.147 | infrastructure | serverfault.com | |
883,578 | Calling a utility by name, without the full path, from cron doesn't work | I have some console utility installed. It's in [CODE] . I can call it as [CODE] and it works well. I've created a cron task which runs a bash script. That bash script calls [CODE] . The error which occurs only when I can the bash script via cron is "my_utility: command not found". Why isn't it found? Running the bash s... | The system looks through the directories in [CODE] to find executables if you don't specify the full path. As such this is almost certainly because the [CODE] variable used by cron does not include [CODE] . It's also possible that the utility is a script, and is not specifying the full path to its interpreter on the fi... | -1 | 1 | 736 | 2017-11-15T14:52:40.950 | infrastructure | serverfault.com | |
238,832 | How should I use the <If> directive in .htaccess? | I'm trying to add a conditional statement using Apache's If directive in my .htaccess file. I have referenced this page http://httpd.apache.org/docs/trunk/mod/core.html#if but it doesn't elaborate much / give many examples. Two incomplete examples it gives are: and So I've tried to add this to my .htaccess file: #nothi... | The [CODE] directive is only available in Apache 2.4+ and not 2.2 or earlier. http://httpd.apache.org/docs/2.4/mod/core.html#if Documentation not present in 2.2: http://httpd.apache.org/docs/2.2/mod/core.html#if | 23 | 21 | 70,886 | 2011-02-22T20:03:37.737 | api_errors | serverfault.com | |
147,541 | Is this package missing and if so, how do I fix? | I am following the given link. https://oracle-base.com/articles/10g/oracle-data-pump-10g I'm an Oracle newbie. Oracle 12c is the target version. I have a Development database running in a docker image and I'm logged in as [CODE] user to make sure that I can see everything. I'm using DataGrip as a client. I'm looking fo... | Data Pump is a fully integrated feature of Oracle Database 11g. Data Pump is installed automatically during database creation and database upgrade... more It should be installed during the database creation. I found logical error in your query to check whether or not the data pump package is installed. The object type ... | 0 | 3 | 1,147 | 2016-08-22T20:58:57.327 | database_errors | dba.stackexchange.com | |
290,299 | Window Task Scheduler Problem | I would appreciate if somebody could help me sort out a problem. I have Window Server 2003. I am running some task with the Microsoft default scheduled tasks utility. I am using an active directory account (who is member of administrator group) to run that task. The problem is my scheduled task stopped working so many ... | It could be that the event log file(s) are corrupt. I found this thread that may be helpful. Good luck! http://www.winserverkb.com/Uwe/Forum.aspx/windows-server/14754/Windows-task-scheduler-keeps-stopping | 0 | 0 | 118 | 2011-07-14T12:10:50.007 | infrastructure | serverfault.com | |
1,018,267 | Suspicious ksoftirqd_1 process using high cpu | I run this webserver that serves data to a couple of apps. In the last couple of days I have noticed that some requests take some more time than usual, so I did a top to find out what's running and this is what I get: [CODE] There is this ksoftirqd_1 taking almost half of the cpu usage, and it is run by the redis user.... | Just for the record, yes, those processes where malicious. Apparently, they were some crypto mining programs that were installed in the system taking advantage of some redis vulnerability, using the server instance that I forgot to disable... and as @yoonix said they were trying to look like system processes. Just in c... | 1 | 1 | 645 | 2020-05-22T17:15:17.220 | database_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.