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 |
|---|---|---|---|---|---|---|---|---|---|---|
953,171 | SQL Server 2014 setup fails: SSL Provider, error: 0 - The token supplied to the function is invalid | I am attempting to install SQL Server 2014 Standard edition on a new Windows Server 2016 set up as a domain controller that replaces a retired DC. (I know it's not recommended, but we are a small operation and have combined Windows Server domain controllers and SQL Server without problem for years. Performance has been... | Thanks. I took the advice to enable TLS 1.0 and 1.1 among others on our DCs along with some weaker ciphers. That did not correct the problem. I finally succeeded in installing SQL Server 2014 leaving the default service accounts in place. Then I fiddled later with attempting to change them to domain accounts. For the S... | 1 | 0 | 2,086 | 2019-02-09T22:51:19.607 | database_errors | serverfault.com | |
64,723 | PHP and MySQL remote host | How to run a PHP script which needs to connect to a MySQL at a remote host? When I run this: [CODE] ...I get: [CODE] What settings should I change? | By default MySQL users are allowed to access databases from localhost only. You need to add access from your IP or all IPs by using GRANT . [CODE] | 0 | 4 | 1,380 | 2009-09-12T03:12:42.177 | database_errors | serverfault.com | |
626,922 | No mysqld or mysql.server after mariadb-server install | So... likely I'm an idiot, but I'm stuck. I just set up a CentOS 7 on Digial Ocean and I can't seem to get the MariaDB/MySQL server running. Some output [CODE] So it's installed, can we at least see the client? [CODE] Let's try and start the server, just for fun [CODE] And this is where I get lost. Looking at what is a... | Should anyone stumble across this, i found the solution here: https://ask.fedoraproject.org/en/question/43459/how-to-start-mysql-mysql-isnt-starting/ Repost below To start MariaDB on Fedora 20, execute the following command: [CODE] To autostart MariaDB on Fedora 20, execute the following command: [CODE] After you start... | 38 | 47 | 266,429 | 2014-09-08T07:45:01.787 | database_errors | serverfault.com | |
960,980 | Kubernetes nginx ingress session affinity | TL;DR: I can't get session affinity in Kubernetes work using the official nginx ingress helm chart . I've tried these instructions: Sticky Sessions - nginx ingress controller Using Session Affinity on Kubernetes I've also tried to read up on the service handling . However, I get no effect whatsoever, with requests bein... | I found the answer, and whaddyaknow! It was my own fault, of course. The problem was that I tried to configure the nginx ingress chart, which was not the way to go. The nginx ingress only provides the functionality - the services you run yourself provide the requested behaviour. In my own service that I had deployed, I... | 0 | 2 | 2,146 | 2019-04-01T16:36:52.757 | pipeline_ops | serverfault.com | |
210,457 | Apache sends 400 instead of 404 | I've got an odd problem. Apache is replying with a 400 error code instead of 404 when ever a client requests a non existing jsp page (html request are answered correctly with a 404). The only time Apache serves correctly with a 404 is when the request to the non existent page is to a file in the root directory. I'm awa... | The error is coming from tomcat. Hit tomcat directly. Also the rewrite rules for [CODE] is catching root level jsps. That is - any jsp in the top level directory. So when there is a /gfoo.jsp is run - it is rewritten to /sb/jsp/foo.jsp - otherwise it is not rewritten. | 2 | 1 | 1,578 | 2010-12-08T15:09:50.040 | infrastructure | serverfault.com | |
299,728 | Avoid Deadlock on concurrent insert | I am trying to avoid a future problem. Table has 2 fields: [CODE] [CODE] there will be concurrent inserts into the table for hash. I need the last insert id So question: [CODE] Generate deadlocks if there are 30-50 threads, there is a high chance that these threads will try to insert the same blah? OR do I need to do: ... | So to summarize the problem, input is a hash that needs to be stored. And the auto_increment of that ID is needed. You've done the right thing and made [CODE] a [CODE] . [CODE] Is correct. In the application API or SQL ( [CODE] ) you will get a rows affected. 0 indicates that it already existed. If it already existed y... | 1 | 1 | 1,750 | 2021-09-16T20:30:29.950 | database_errors | dba.stackexchange.com | |
373,890 | EC2 hosted asp.net not stable | I moved our web hosting to Amazon EC2. At first everything was working well. In the last few days I have been getting this error: [CODE] This seems to be a DNS issue, and I have no idea how to deal with this. Has anyone seen this error from an EC2 instance? More Info: It is a windows instance. The look up is a reverse ... | This is a Windows issue that is not specific to Amazon EC2. Others who have experienced this error message have reported resolving it in the following ways: Simply rebooting the server Resetting the Windows TCP/IP stack with [CODE] Modifying the ASP.NET application's source code: Example 2 | 2 | 2 | 5,095 | 2012-03-27T11:52:14.057 | infrastructure | serverfault.com | |
435,001 | apache2 defaultsite redirect but not virtual host | I'm trying to set up a new server with several virtual hosts but also such that if the requested fqdn doesn't match a virtual host then the request is redirected to http://example.com/log.php?url=fqdn I have got the default host redirecting as desired however the virtual host that I have defined doesn't work. I'm testi... | The solution to achieve what I originally wanted which is that the fqdn of the server should show a page but any fqdn for which there was not a name VirtualHost defined would be redirected as above is quite simple once I realised what the problem was. Because the fqdn of the server was always going to show the default ... | 0 | 1 | 833 | 2012-10-04T23:28:01.507 | infrastructure | serverfault.com | |
228,461 | Where does Attunity's CDC services write error data? | We use Attunity's CDC services to move data from Oracle to SQL Server. Using the Oracle CDC Designer snap-in tool, I can see the current status of the service and an error message if a problem has occurred. I can click 'Collect Diagnostics' in the tool to gather messages for a date range and write to a file. I want to ... | I found the data I was looking for. In each target database there are a series of system tables within the schema cdc. The error messages I wanted are in the cdc.xdbcdc_trace table. [CODE] There is a similar table in the MSXDBCDC database, but it is currently empty on my system. There is also information regarding the ... | 0 | 1 | 308 | 2019-01-30T15:53:57.330 | database_errors | dba.stackexchange.com | |
11,696 | Scripts in JMeter run successfully but doesn't do the required functionality on my application | I just started using JMeter. I recorded a test script successfully. Now that I replay my test scripts it doesn't do the required functionality that it was meant to do. More over the process i recorded took me about 5mins to record but the scripts run successfully in 30seconds. Can anyone please help me? JMeter doesn't ... | Make sure that you have HTTP Cookie Manager enabled Make sure that you properly handle any dynamic mandatory parameters like "VIEWSTATE", "SESSIONID", etc. Record the same sequence several times and look for any request parameters which are different. If they are, you'll need to correlate them by extracting dynamic bit... | 1 | 1 | 2,273 | 2015-01-05T08:09:35.377 | data_quality | sqa.stackexchange.com | |
223,624 | INSERT AFTER trigger failing with multiple rows | I have a trigger ( [CODE] ) that has been working in single inserts, and I believed it would work for multiples but its not. I researched it and am currently stuck as what I'm reading implies it should work. Any advice on the below would be appreciated: - [CODE] I referred to this article (Create DML Triggers) and to m... | Try taking out the [CODE] clause in your final [CODE] (See the commented line below which give your error) and replace it with a simple insert (see the final insert below). [CODE] | 1 | 1 | 9,878 | 2018-11-28T09:31:46.180 | database_errors | dba.stackexchange.com | |
12,379 | Mysql takes up to 50% cpu after aborting DELETE query | I have a problem I have never met before. I was clearing yesterday client's db and table with stats of visits that had 15GB of data. I decided to delete all rows older than 1 Feb, because we have all that data stored in daily stats and there's no need to keep those old single stats. I tried to run [CODE] (index on date... | Since [CODE] is a MyISAM table, I would expect a backlog of DB Connections attempting to write to the table in a high-traffic environment. In fact, any DML (INSERT, UPDATE, DELETE) against the [CODE] table will result in a full table lock on [CODE] . You should still run a [CODE] as a precaution. Please keep in mind th... | 3 | 2 | 578 | 2012-02-07T11:39:11.683 | data_quality | dba.stackexchange.com | |
31,432 | Ionic Isapi Rewrite error on IIS6, Windows 2003 Server | First of all my setup is a VPS running Windows 2003 Server with multiple domains on it IIS 6, Plesk IsapiRewrite4.ini [CODE] This is one of their basic examples. Ionic is installed and setup proper because if I use another rule (a simpler one ... like the one following) it works instant [CODE] This one works in the Tes... | RedirectRule is the new syntax. The old Syntax for 301 or 302 redirects was RewriteRule with a [R] flag, but it got to be very confusing, so it was changed. With the current version of IIRF, to do a redirect, you use a RedirectRule directive. NB : As of IIRF v2.1.1.5, the RewriteRule syntax with the [R] flag is once ag... | 3 | 2 | 1,257 | 2009-06-25T07:13:43.737 | infrastructure | serverfault.com | |
297,796 | What does a process named "error" mean? | ps -ax is showing me this weird process running on a Debian server: [CODE] This appears several times. Kernel version is 2.6.18.8-xen. Debian Lenny. Any clue on what this process is? Thanks in advanced! | It's part of the Postfix MTA as @akramer replied to you. But, as a tip for your future :) if you ever again wonder if some process is part of another program, use [CODE] . It formats the output in a tree like format, linking child processes to parent process. Or alternatively you can use command [CODE] . | 0 | 2 | 650 | 2011-08-04T21:26:15.413 | infrastructure | serverfault.com | |
613,306 | CentOS: Apache cannot see the NAS drive | I have a new CentOS installation which I'm setting up as a new local dev machine. My files are on a NAS & I've setup access to the NAS on '/var/www/websites/' using the mount command. I can 'ls /var/www/websites/' and see a list of files. But when I put this into the Apache configuration file, I get the message "Warnin... | My solution - install Webmin and setup Apache using this! I dunno why yet, but it now works... | 0 | 0 | 174 | 2014-07-17T11:44:42.573 | infrastructure | serverfault.com | |
268,266 | Site not resolving on Att 3g network through Iphone | I have a website www.example.com and it works fine everywhere except when using 3g on my iphone, even works on Edge network. I have installed ping on my iphone and when on 3g it is says unable to DNS lookup host address. I do not have an A record for www.example.com, instead have a cname to an ELB on Amazon. I did try ... | That's a DNS issue at AT&T; they're probably using different resolvers for 3G vs. EDGE. Try browsing to your site using just the IP first to make sure it's not a routing issue, of course, but if ping is reporting a failure on lookup then it's assuredly a DNS issue. Probably. (Unless it's having issues routing to the re... | 1 | 1 | 1,158 | 2011-05-10T17:37:53.543 | infrastructure | serverfault.com | |
246,875 | how limit the number of open TCP streams from same IP to a local port? | i would like to limit the number of concurrent open TCP streams from the the same IP to the server's (local) port. Let's say 4 concurrent connections. How can this be done with ip tables? the closest thing, that i've found was: In Apache, is there a way to limit the number of new connections per second/hour/day? [CODE]... | just checkout connlimit in the iptables man: http://unixhelp.ed.ac.uk/CGI/man-cgi?iptables+8 [CODE] the advantage over iplimit is, that you don't have to install something. it's gonna run out of the box... | 2 | 3 | 1,786 | 2011-03-13T15:11:34.837 | infrastructure | serverfault.com | |
234,270 | Incorrect datetime value Mysql | Good morning. Mysql 5.7.25: [CODE] return error "#1292 Incorrect datetime value" but: [CODE] return no errors. (the type of the field is timestamp) Where am I wrong ? Thanks Chico | If this gives you an error: [CODE] But this doesn't: [CODE] You are most likely using a EU-like timezone , in particular, CET (I strongly suggest not to use tz on databases, and just use UTC, it is just easier). EU (and other countries) changed the clocks from 2 -> 3 am that Sunday for summertime adjustment , so it is ... | 3 | 6 | 20,886 | 2019-04-09T06:38:20.907 | database_errors | dba.stackexchange.com | |
355,004 | Unable to add certificate to the Trusted Root Certification Authorities in Windows 7 | I am trying to add an apple developer certificate for sending Push notifications to my Trusted Root Certification Authorities section. I get an error like so: "The import failed because the store was read only, the store was full or the store did not open correctly" I am logged in as an administrator. I can't think of ... | I managed to solve a similar problem I was having by following the instructions here (here adapting steps 3 and 12 to read "Trusted Root Certification Authorities" instead of "Trusted Publishers"): Download and save the certificate. Open the Certificate Manager Hit Windows+R, or click on the Blue Vista icon in the lowe... | 12 | 14 | 78,635 | 2012-01-30T13:15:50.683 | infrastructure | serverfault.com | |
826,971 | Same domain emails are bouncing back others are working fine | I have moved recently my website to a VPS everything working well except for the email. Emails are delivering well on any domain other than the domain where website is hosted. E.g. emails are sent to @gmail.com @yahoo.com or @anyotherdomain.com. But on domain www.mywebsite.com this is where website is hosted and if i s... | How do you send emails that do not reach? From the same web site or from an external system? If you have email delivery problems from external systems, and little experience in the administration of mail systems, then you can quickly identify common problems using mxtoolbox.com or similar service. | 0 | 0 | 98 | 2017-01-18T10:30:30.693 | infrastructure | serverfault.com | |
170,773 | Sharepoint user can view site collections he is not a member of | as i understand sitecollection security ,member of a given sitecollection can not view another site collection where he has no membership ,my problem is that any user from a given site collection can view other site collection easily ,how is that ? by the way ,this user is not an administrator ,he is a domain user ,wit... | Thanks Dan for your attention ,i figured it out ,our previous sharepoint admin added authenticated users group to every site collection which allowed any user who has account on sharepoint to view other sitecollection | 0 | 1 | 93 | 2010-08-15T21:35:41.370 | infrastructure | serverfault.com | |
135,633 | Validation of Partitioned table Performance | We are testing partitioning on a table which contains a datetime column (DateColumn). Partition function I am using is: [CODE] How do I verify that partitioning the table is improving query performance? There is one Clustered index on [CODE] , do remaining non clustered indexes get statistics of partition? I am testing... | Why would you expect performance to be different with partitioning? Partitioning improves manageability but performance depends greatly on the workload and queries. For example, if you have a useful index on the [CODE] , you will likely get the same performance with and without partitioning. With no index on the column... | 1 | 4 | 512 | 2016-04-18T11:56:29.423 | database_errors | dba.stackexchange.com | |
417,929 | ASA 5505 Unable to launch device manager | I've seen similar errors posted but I think mine is a little different. I'm new to Cisco, and was given an ASA 5505 to configure. I intended to do a factory reset, but ended up running an erase, which of course wiped everything out. I've worked through formatting and putting ASA825 back on the device, and I've installe... | You'll need the ASA software, [CODE] , along with the corresponding ASDM software, [CODE] . (search the Google) You probably don't have web access, so you'll need to do this via the command line . The important portion once you've uploaded the files to the device is to set the boot and ASDM image: [CODE] | 3 | 3 | 34,313 | 2012-08-15T19:38:15.573 | infrastructure | serverfault.com | |
84,224 | Display apps for all users | I am a librarian in a rural public library, and as such, am the default IT person (no particular training, just lots of time trying). We have a domain network, and I had some help setting up an image and group policies to control what patrons can/cannot do. I recently set up two new computers as Administrator, then add... | Good job having your public users run as non-Administrators. You're doing right to do that. You have multiple items to respond to. I'll start w/ the application shortcuts: It's unclear what you mean by "moving" machines "into groups". I think you might be talking about Active Directory Organizational Units. Computers c... | 1 | 3 | 346 | 2009-11-12T21:23:47.360 | infrastructure | serverfault.com | |
177,545 | Looking for advice on how to integrate data from 100+ client DB's into a centralized reporting database | I am a SQL Developer (not DBA or Architect) for a small (~50 employees) SaaS company. I am tasked with figuring out how to: Offload operational reporting from our 100+ OLTP databases Allow those reports to run against data from multiple client databases Position our company to provide more analytics-based solutions in ... | Do we need to consider replicating each database individually and then perhaps use some sort of data virtualization technique to combine data from the various replicated sources? Yes. You can host multiple subscriber databases on a single instance, and then query across them with views, or load them into a consolidated... | 10 | 1 | 283 | 2017-06-28T21:20:59.707 | database_errors | dba.stackexchange.com | |
890,954 | apache not serving requests even though cpu usage is very low | I am working through tuning an apache server in a LAMP stack on an m3.medium ec2 instance running Amazon Linux. Some weeks ago, mysql started crashing all the time and it seemed it was apache (2.2) causing the problem due to memory issues. We did some analysis and changed the config to much lower numbers of Servers. Th... | There seems to be an inconsistency between the [CODE] and [CODE] listings. Something not listed is using a lot of CPU. Try changing the sort order of top to %CPU to see where the CPU is going. It looks like you have a severe memory leak in the application you are running under apache. Try reducing MaxRequestsPerChild t... | 2 | 1 | 855 | 2018-01-05T23:01:48.913 | database_errors | serverfault.com | |
318,707 | Optimizing the exponential smoothing of a big array | I have a large set of values (let's say 1M entries) where I need to apply an exponential smoothing algorithm, but only incrementing one value at a time (all others decay to zero). The trivial implementation would be (pseudo-code): [CODE] This is rather slow, as every element of [CODE] need to be scanned at every iterat... | After thinking twice about your solution, I am sure that your algorithm works well. IMHO it could be seen as a variant of lazy evaluation . Here is another variant. Change [CODE] so it only puts the pairs [CODE] into a queue (lets call the arrays [CODE] and [CODE] ). [CODE] Here is the method to calculcate the smoothin... | 2 | 2 | 303 | 2016-05-17T12:20:06.123 | api_errors | softwareengineering.stackexchange.com | |
1,109,294 | BIND Nameserver - $ORIGIN in zonefile include always appends to its previous value | There is a a basic zonefile for "example.com" with an include of another zonefile for the subdomain, which has another include for each server. Now the usage of $ORIGIN without trailing dot always appends to its previous value. For simplicity i have renamed the includes without using the full path. Question : Is it pos... | No, there is no way to revert to a previous origin value. You'll have to just set the origin to the new value that you want, either in the form of an absolute name (ie, with a trailing dot) or relative to the current origin (which does not seem to fit what you want in the question). | 1 | 1 | 263 | 2022-08-28T14:26:49.427 | infrastructure | serverfault.com | |
1,114,078 | Divide one .pem file containing several certificates to several new .pem files | I am currently trying to figure out how I can divide one .pem file, containing several certificates to several new .pem files, but I do not know where to start... The first .pem file looks like this: -----BEGIN CERTIFICATE----- bla bla bla bla bla bla bla lba bal -----END CERTIFICATE----- Bag attributes: subject=blabla... | Just use [CODE] and nothing else to handle certificates in a loop. [CODE] doesn't flush file descriptors it's using and always reads the minimum. You have to ensure that there's a single input stream feeding the loop. [CODE] Or even: [CODE] [CODE] could itself be the output of an other certificate processing command li... | 1 | 0 | 671 | 2022-10-26T15:00:30.380 | infrastructure | serverfault.com | |
77,881 | Mongo DB Replica set Stuck at RECOVERING state | We have created a replica set and now the problem is 2 members of replica set [3 members set] are in recovering mode from 48 hours. Initially the size of recovering nodes was increasing and now even that has stopped. So in recovering nodes they are stuck after 90 GB of data with 60+ GB of local data. How to come out of... | The easy, albeit a bit unsecure way Stop the first secondary Delete the content of it's [CODE] Restart the secondary Wait for it to catch up with the primary Repeat process with the second secondary This is a bit unsecure as it is unknown why the secondaries entered the Recovering state. The more secure, but also more ... | 16 | 15 | 32,355 | 2014-09-28T08:54:55.897 | database_errors | dba.stackexchange.com | |
861,615 | CloudFormation stack yaml syntax? | I'm trying to create a SecurityGroup which has a tag like [CODE] . This code works perfect in json: [CODE] Now I'm trying to convert it to yaml: [CODE] The stack build fails with error "Key not found in Tags property". Where is the error in the template? | You have an extra '-' character in the Tags definition. It should look something like the snippet below (I'm not sure of the Join syntax, personally I use Sub normally): [CODE] | 1 | 5 | 2,958 | 2017-07-11T20:10:56.887 | infrastructure | serverfault.com | |
465,557 | CA and Primary Domain Controller on the same server | I am setting up a Microsoft AD to be my CA. After research, it looks like I need to have a domain controller before I can issue certs thru the CA. Would it be possible to place both the CA and the DC on the same server? | You need to be joined to a domain to be an Enterprise CA, but you do not need to be domain joined in order to be a standalone CA. An Enterprise CA adds features that come along with being integrated with Active Directory, but the downside is that you cannot take it offline as you would do with a high-security root CA. ... | 7 | 11 | 21,962 | 2013-01-09T20:52:47.657 | infrastructure | serverfault.com | |
416,315 | How to cache duplicate fetch and save calls that are fired within the same second | I have a service which provides an endpoint that fetches from another service, saves, and returns an record. Here are the details: The caller calls the endpoint using an identifier (say a customer's student ID number) The service checks DB for that student ID. If no record that has not expired is found, the server call... | Instead of caching the results your cache could store [CODE] objects (or whatever your language calls it) whose value is the result. If a request for a value is in flight when a second request is made, both requestors will wait on the same promise. | 1 | 2 | 415 | 2020-09-28T03:48:04.083 | data_quality | softwareengineering.stackexchange.com | |
140,692 | "Upsert" trigger writing mass duplicates from SSIS | I have a problem with an "upsert" trigger, being triggered by a SSIS package with fastload. (FIRE_TRIGGERS is enabled) [CODE] Inserting new rows works fine, but all existing rows get updated with one set of values. [CODE] Do I have to disable fastload in SSIS, or is there some other way to fix it? (It's SQL Server 2005... | I suspect the issue appears because you are referencing the view twice in the [CODE] statement, once in [CODE] clause and then in [CODE] clause and the second time you are giving it an alias. But you are not using the alias in the [CODE] clause, only the first reference. The result is that the the two references are un... | 3 | 4 | 526 | 2016-06-08T06:46:38.137 | data_quality | dba.stackexchange.com | |
126,611 | How do you manage private queue permissions on a windows server 2008 cluster? | On windows server 2003 there was an option to allow a resource to interact with the desktop, this allowed you to run computer management mmc snap-in on the virtual name of the cluster, allowing you to manage permissions of the private message queues on the cluster. Windows Server 2008 failover clustering has removed th... | Right Click on the MSMQ Cluster application and select "Manage MSMQ". this will launch a Computer management window in which the cluster MSMQs can be managed. | 1 | 1 | 1,290 | 2010-03-26T13:48:24.317 | database_errors | serverfault.com | |
80,986 | Transforming a relation to 3NF | I'm trying to transform the following relation to 3NF but can't figure it out. The relation is (a student can only have 1 major): [CODE] I tried the following transformation, splitting it into 2: [CODE] But I don't think it is correct because there are still anomalies. For example, if the school decides to introduce a ... | I think this is better choice when student can choose multiple [CODE] at a time. [CODE] You Second Try will be a better choice when student can choose only one [CODE] at a time [CODE] Now one more step, I can think of here is, as [CODE] value is some fixed set of variable(limited in number), This will gives the option ... | 1 | 1 | 615 | 2014-10-23T23:29:54.057 | warehouse_errors | dba.stackexchange.com | |
9,112 | tutorial/training creation tools | I've used Wink to create Flash tutorials for employees on setting up and using various programs. It's a nice tool, but sometimes I wish I had more options. Have you used a tool or tools to do this type of work that you've found indispensable? I doesn't have to be Flash, but something that is easy to distribute without ... | Acrobat Connect Pro and Captivate look awesome. Many people swear by Camtasia . I used it in the past, and indeed, it's a great product. Here's an open source alternative: CamStudio . And here's a round-up of several screencasting tools . | 3 | 5 | 242 | 2009-05-17T16:24:22.300 | infrastructure | serverfault.com | |
162,441 | What could cause this Java UnsatisfiedLinkError? | The first part of the stack-trace is as follows: "UnsatisfiedLinkError (/usr/lib/jvm/java-1.5.0-sun-1.5.0.19/jre/lib/i386/libawt.so: libmlib_image.so: cannot open shared object file: No such file or directory):" Both libawt.so and libmlib_image.so exist and are in the same directory. Does libawt.so look in a different ... | You may need xorg-libs installed on your host. Also you could try to launch the process using -Dawtheadless=true and see what the result is. | 0 | 0 | 170 | 2010-07-20T23:26:02.100 | infrastructure | serverfault.com | |
294,650 | Is using of subqueries more efficient than using Limit offset and order by in MySQL? | For instance, we have a problem of finding the employee with the second highest salary in the table. This is my table [CODE] Then I would write a subquery like this. [CODE] And I would use limit and offset like this: [CODE] Which of the following would be more efficient? and why? | There's a lot of variables when it comes to performance and query tuning, so there's no guaranteed answer to which one will be more performant for your data at any given time without testing and observing their query plans. But in general, the second example using [CODE] and [CODE] is likely to be more efficient since ... | 3 | 6 | 536 | 2021-06-22T11:54:53.967 | database_errors | dba.stackexchange.com | |
98,214 | Indexes in a big table. (About 400 mil of rows) | I have a little deal. I have this table in a SQL Server 2012 Standard edition database. The table contains about 400 mil of rows. [CODE] It's a table with sales. So most of the query will include column partner, store, date, id_prod, price per unit * amount and distinct count on column id_paragon for baskets. Column id... | Since you are optimizing for reads you could simply add one optimal index per query. So if your query is [CODE] Create the index [CODE] . You say that writes and disk spaces are not of significant concern. So add the optimal indexes to support your reads. | 0 | 1 | 59 | 2015-04-18T15:54:26.573 | database_errors | dba.stackexchange.com | |
857,771 | What could cause an LTO drive to write at half its capacity? | I have an LTO4 drive that when given even new LTO4 tapes, only writes around 460GiB to the tape even though the tape's uncompressed capacity is supposed to be 800GB. I have noticed that in one direction the drive writes close to the stated 80MB/sec, however in the reverse direction it only manages close to 40MB/sec. Th... | It sounds like clogged tape drive head. The only thing you can try is: Clean multiple times with a preferably new cleaning tape the drive. Run a test backup to see if something changes. Contact Vendor for replacement (crossing fingers that if you need this you will have still warranty). Forgot to mention to check if th... | 5 | 3 | 1,736 | 2017-06-25T15:28:12.330 | infrastructure | serverfault.com | |
87,136 | Train spamassassin with POP3 or copied emails | I am still new at this so be gentle. I have setup a server with postfix, dovecot, apachce2, PHP5, PHPmyadmin, spamassassin, clamav, amavis. Now to train spamassassin apperently I need to use IMAP. But can I use POP3 saved emails in any way? Is it possible to copy mails from Thunderbird to the server and train spamassas... | Thunderbird stores its mail folders as mbox files (see the Thunderbird FAQ ). If you locate the file for the spam folder, you can train from it using the [CODE] switch: [CODE] | 1 | 4 | 945 | 2009-11-22T17:03:44.697 | infrastructure | serverfault.com | |
835,384 | Why is my postfix running as relay? | OK, so this is hugely embarrassing: A while ago I set up a server and installed postfix to send email. Now I have implemented SPF, DMARC and DKIM (using Mailgun for everything else except this one server - or so I thought) and was expecting my emails coming from the server to be rejected. However, they were not, and up... | Oh, ouch! Just ouch! It was doing this because I sent to an email at my own domain! Thus mailgun's servers are the MX servers for the recipient, so it's sending there. I wish I could delete this question as it's way too embarrassing... | 0 | 0 | 89 | 2017-02-28T11:48:22.783 | infrastructure | serverfault.com | |
125,856 | PL/SQL block fails in job but succeeds in SQL*Plus | I created a PL/SQL block which gathers certain data from tables in my Oracle 12c database and writes them into a .csv file. I cannot share the whole PL/SQL block but can outline the code [CODE] When I run my code in SQL*Plus it works fine. But when I turn it into a job with the following options Raise Events: None Maxi... | What happened is that I had all the permissions and privileges set right except I forgot to create the directory on the second node too. So whenever the job ran on the second instance (which it by chance did) the error was raised that the file could not be written. Of course it had to be as simple as that but I want to... | 1 | 1 | 330 | 2016-01-11T09:44:14.903 | database_errors | dba.stackexchange.com | |
219,908 | Select unique records from multiple records based on max date | I have table like below [CODE] need to check below multiple conditions before populating the data If record has a combination of duplicate id, addr and Ind, then select the max(update_date) from that record. If record has a combination of duplicate id, addr, Ind and update_Date, select only one record from the duplicat... | Query below gives me the desired result : [CODE] | 4 | 1 | 12,926 | 2018-10-11T21:40:29.583 | data_quality | dba.stackexchange.com | |
937,710 | Closing All Shared Files on the Network | I am trying to close all of the open files in the shared folders of a server via PowerShell script. I found the following script which only close files on one drive (F:), however, this server has 3 drives (F:\, G:\, H:) which I want to close all. [CODE] Is there a way to add missing drives into this script or I have to... | The command you are using is not a native PowerShell command. However, PowerShell does come with a lot of functions to control SMB connections and shares. What you are looking for could be this: [CODE] This will close all files opened via file shares. You can also manage SMB Connections (Get-SMBConnection) and other th... | 5 | 8 | 3,425 | 2018-10-29T15:14:24.117 | infrastructure | serverfault.com | |
280,523 | How do I copy a SQL Server Database Schema and Objects between servers using VS2019 | I've inherited a database with about 1500 tables, and 3600+ objects overall. I want to copy the schema - and just the schema - across to a different server, where I can get it into source control (TFS), and generally work out what to do with the various bits of it. Here is what I have tried so far: Schema compare and u... | not exactly database project solution, but might be able to help you out with the filegroups if you don't find any other way. dbatools offer this function - Export-DbaScript. With that, you could try to export any object you want using SMO. [CODE] | 0 | 1 | 797 | 2020-11-29T09:42:54.920 | database_errors | dba.stackexchange.com | |
849,029 | Postgres DB HDD needs expanding | I have an Azure VM running Postgres on Unix, supplied by Bitnami: PostgreSQL 9.6.2-0 (Ubuntu 14.04) The DB works fine and I am populating it, but after some time, the DB reaches about 25GB in size and then my code (populating the DB) crashes... [CODE] I thought it would be a simple resize of my VM. Nope. The VM now has... | The easiest thing to do would be to mount /dev/sdb1 where your data lives. How to find where data lives here: ( https://stackoverflow.com/questions/1137060/where-does-postgresql-store-the-database ) So once you know that stop your database and move the data to your /mnt directory. Then you will place the larger drive w... | -1 | 0 | 988 | 2017-05-09T12:08:04.767 | database_errors | serverfault.com | |
365,799 | Receive data in random order, send in order | I am facing an issue where I have a data stream that sends unordered data. I'm trying to find a way to receive the data in random order, but send it in order. As an example, I'll receive [CODE] and then [CODE] and then [CODE] . I'll need my system to store [CODE] and [CODE] when they arrive and immediately send [CODE] ... | I think your approach is fairly spot-on, though I would recommend that you keep items received thus far into a sorted list using insertion sort. Insertion sort works best when the item is being inserted into a list that has already been sorted. By having a sorted list, you have the added advantage that after sending an... | 2 | 2 | 213 | 2018-02-12T14:47:48.143 | data_quality | softwareengineering.stackexchange.com | |
64,489 | Calibrating Correlation | I am facing a weird problem in my on going project and thought if someone here could help me out with this. Actually I have large data set. I have to perform a regression task on top of that. While doing the initial analysis and feature selection task, I did correlation of all the features with the target variable. Whe... | First what comes to my mind: "the only statistics you can trust are the ones you have falsified yourself" - Churchill However, to answer your question. The correlation coefficient is defined as: You can find data points that are negatively correlated by looking at the covariance, that is defined as: First, you calculat... | 0 | 1 | 691 | 2019-12-09T15:30:28.773 | data_quality | datascience.stackexchange.com | |
66,444 | How to restore Network backup to Network Path in SQL Server 2005? | I am trying to restore network backup file to network path.. is there any way to do it? I am using SQL Server 2005 and code.... [CODE] Error: Msg 5110, Level 16, State 2, Line 2 The file "\NetworkPath\DATA\DB.mdf" is on a network path that is not supported for database files. Msg 3156, Level 16, State 3, Line 2 File 'D... | Microsoft has documented their "Description of support for network database files in SQL Server" at: http://support.microsoft.com/kb/304261 Trace flag 1807 bypasses the check and allows you to configure SQL Server with network-based database files. However, this is not without risk and you can fairly easily wind up wit... | 1 | 4 | 1,706 | 2014-06-03T10:59:48.107 | database_errors | dba.stackexchange.com | |
543,565 | Determine why logs were purged | We had some issues with a user connecting through OWA. This user used to be a server admin. Upon checking today, all IIS logs have been removed up to and including sept 30 (the day the issues were diagnosed). We do have a back-up and of course all the passwords on the servers and accounts have been changed, and I've ch... | Logs are automatically purged (on a time- or size-based rotation) because disk space is finite. Keeping every log entry forever would fill even the largest of disks quickly, and every operating system does some kind of log pruning. While that answers your question, it doesn't solve your problem: Someone who should not ... | 5 | 1 | 108 | 2013-10-03T12:58:05.420 | infrastructure | serverfault.com | |
949,352 | Preview or debug (dry-run or trace) systemctl actions (start, stop, restart, etc.) | Without having to manually trace dependencies, e.g. with [CODE] or [CODE] , and manually inspect the state of the system with [CODE] and [CODE] , is there a way to preview what a [CODE] would do? Failing that, after the fact, is there a way to show a trace of which jobs were queued and why? The kind of trace I would li... | It depends: If other units do not rely on your unit, you could replace the actual commands you unit executes with a dummy command that just prints or logs its parameters. However for daemon-like processes it would be a bit tricky as they should not terminate. As some units can only work when other units were started ac... | 1 | 0 | 3,911 | 2019-01-16T12:24:52.497 | infrastructure | serverfault.com | |
201,905 | What are my SQL Server 2005 Disaster Recovery options if I can't have Enterprise edition? | We currently have a number of SQL Server 2005 Standard edition instances which support an intranet and need to be integrated into our disaster recovery plan. I was hoping to use database mirroring, on the grounds that the description of this on the package made it out to fit the situation, but the price of SQL Server E... | Were I you I'd go with log shipping. Yes you'd want it to be on a frequent schedule, however no it does not kill your applications accessing that server. Your secondary server (the one you are log shipping TO) will be unavailable during the restore of the log shipped files - however the source machine (your production ... | 0 | 2 | 283 | 2010-11-15T10:00:32.450 | database_errors | serverfault.com | |
305,851 | Strong vs weak entity types on SQL | I have a 3NF normalized database design and was trying to understand the concept of strong vs weak entity types and my understanding is weak entity types are tables that don't have a primary key. However, surely all tables should have a primary key thus making them all a strong entity? So all my tables are strong entit... | I've seen it mentioned in blogs and tutorials that a weak entity "doesn't have a primary key," but this is misleading. You are correct that every table needs a primary key. This is necessary for the table to qualify as a relation. Every relation has one or more candidate keys , and one of the candidate keys is chosen a... | 0 | 5 | 2,859 | 2022-01-09T18:15:21.000 | warehouse_errors | dba.stackexchange.com | |
1,081,659 | Samba allow SMB1 protocol for a single IP only | I have an old network printer in my Linux network supporting SMB1 only. How can I limit the potential security issue to this IP only? Enabling the SMB1 protocol in the [global] section of smb.conf is working as expected but is not what I want. Is there any way to limit the SMB1 version to a single IP address within the... | SMB1 and SMB3 use same network ports and it is impossible to allow SMB1 only to specific IP with either smb.conf or TCP firewall. You need to run separate smb instance as NiKiZe mentioned. Another approach would be to look at “Application” layer firewalls, which may distinguish SMB1 and SMB3. | 2 | 3 | 1,030 | 2021-10-25T19:21:31.473 | hadoop_errors | serverfault.com | |
47,150 | How can I make my PHP development environment more efficient? | I want to start a home-brew pet project in PHP. I've spent some time in my life developing in PHP and I've always felt it was hard to organize the development environment efficiently. In my previous PHP work, I've used a windows desktop machine and a linux server for development. This configuration had it's advantages:... | Sandbox . If at all possible, you should have a complete environment on your machine including database, web server, caches and what else that is part of the actual live installation. This does not mean you need 10 load balancing web servers or a million row database, rather it should contain enough of it to be represe... | 7 | 6 | 2,815 | 2011-02-12T22:03:12.363 | database_errors | softwareengineering.stackexchange.com | |
262,840 | What are v$database, SID, ServiceName, istance in Oracle 18c? | I have set up Oracle 18c (18.4) on Windows 10 on a company laptop (localhost should be the same as my company's domain name). Once I've created user [CODE] with password at the installation I tried to connect to DB with these settings: hotsname: localhost Port: 1521 database: XEPDB1 (connection with ServiceName) Access... | In Oracle terminology: a database is a set of physical files and V$DATABASE records some of this information: the database physical name is V$DATABASE.NAME a database instance is the set of running processes and related memory: database instance is identified by the instance name (the SID or ORACLE_SID environment vari... | 0 | 1 | 1,586 | 2020-03-28T11:28:15.550 | api_errors | dba.stackexchange.com | |
1,061,854 | Linux confused by identical mounts on different disks after attaching disk | We are having a weird problem when attaching an EBS volume to a running Linux (NixOS in this case) instance (for the purpose of growing the file system on that attached volume; on it is the NixOS root file system for another machine that we shut down). Before the attach ing, all is normal: [CODE] After the attaching, [... | The reason is [CODE] mounts. For reasons of declarative automation (we have many machines), each of our machine's root file systems has the same ext4 file system label [CODE] : [CODE] [CODE] Attaching two of those to the same machine confuses Linux. So the solutions are: Do the file system growing by attaching the EBS ... | -1 | 0 | 152 | 2021-04-28T12:33:56.093 | infrastructure | serverfault.com | |
97,543 | Rolling update to all rows in innodb table (no rollback if aborted) | I have the following table, which stores the Social Security Death Master File database (~86M rows): [CODE] I tried populating [CODE] using [CODE] Unfortunately, there was an unrelated issue which caused the server to restart, thus killing the transaction midstream. Now I'm looking at [CODE] in my [CODE] , which is blo... | I ended up doing this, to do it in batches of 1krow (which takes about .2s per batch if there's nothing to update, 2s otherwise; basically it has the same total speed per row if it's in batches of 10k, 5k or 1k): [CODE] … so this'll probably take 2 days to run, plus more for the [CODE] afterwards. :-/ Also, I haven't f... | 0 | 0 | 152 | 2015-04-10T13:56:00.330 | warehouse_errors | dba.stackexchange.com | |
102,686 | Deleting other files during maintenance plan | I have an SQL Server 2012 maintenance plan which does the normal stuff (rebuild indexes and update statistics, back up DBs, deletes .bak files older than X days, etc). Everything is working fine with it, except one Maintenance Cleanup Task: This should be deleting all .7z archives (equivalent to .zip or .rar) which get... | As per MS here The Maintenance Cleanup task removes files related to maintenance plans, including database backup files and reports created by maintenance plans. By using the Maintenance Cleanup task, a package can remove the backup files or maintenance plan reports on the specified server. The Maintenance Cleanup task... | 5 | 3 | 4,113 | 2015-05-28T14:21:27.960 | database_errors | dba.stackexchange.com | |
798,769 | How does IMAP/POP Server fetch emails from my SMTP server? | I have a domain abc.com with MX record/SMTP server mx1.example.com. My IMAP/POP server (incoming server) is imap.example.com and pop3.example.com. How does my IMAP and POP server fetch emails from mx1.example.com ? Do IMAP/POP Server use any protocols to fetch emails from mx1.example.com. How does my IMAP server knows ... | It's quite simple: Postfix just hands the mail over to Dovecot automatically as soon as it arrives instead of storing the mail itself. | -1 | 1 | 1,058 | 2016-08-24T09:06:19.490 | infrastructure | serverfault.com | |
368,577 | Powershell - Cloning ACL's for whole drive - Error Log? | I am in the process of migrating all the data from one (1 TB) volume (not C:) on an AD server to a new 4 TB one. I have copied all the data including the FolderRedirection and Profile stuff. I am just in the process of cloning the security ACL's with a little bit of PowerShell. Can anyone point me in the right directio... | To redirect just errors to from [CODE] to a regular output stream, put [CODE] on the end of your query. So it becomes: [CODE] | 3 | 3 | 1,463 | 2012-03-11T17:59:40.030 | infrastructure | serverfault.com | |
3,007 | Continuous Integration and Isolated Feature Testing | I've been given the task at work to move everyone from using TFS Source Control to Git as the Development Team has been lead to believe that Git may well be the silver bullet that will fix alot of the teams issues. I carried out the migration a month back and fortunately Git has fixed one thing for the team - code revi... | First of all, git is certainly not to blame for merges taking a long time. Clean merging is the hallmark of git, unless it is used in some broken way. So I encourage you to look at what exactly seems to be the underlying problem. If your devs regularly make sweeping changes to the same files, then it's likely more a pr... | 4 | 6 | 277 | 2017-12-31T21:04:38.410 | pipeline_ops | devops.stackexchange.com | |
819,513 | Linux server kiosk | I want to build a dedicated machine I can use for testing candidates in our company. The machine should run Linux with SSH server listening for connections. I would like to send each candidate a user and password(the same one). Upon connection, he will be presented with a message on how to proceed with the test and sub... | Per-user messages could be an echo statement in $HOME/.bashrc or similar. Even if the user alters that file, they need to login first to do that and even then they would have already seen the message. A better way may be something in [CODE] . That's what that file is used for. Have a look at Patrick's answer here for e... | 4 | 1 | 115 | 2016-12-08T12:49:33.613 | infrastructure | serverfault.com | |
474,192 | Tridion 2011 SP1 HR1 - error after installing publisher | We have a 2011 SP1 CM server that we've recently updated with HR1 - it didn't have the Publisher installed as this was on a separate server. This other server is being re-purposed, so I went and installed the Publisher from the 2011 SP1 CM installer. Sadly the Publisher service won't start - I get "Error 1068 The depen... | The only service in the dependencies I can think of are the Transport Service and the Distributed Transaction Controller . Can you validate that that the Transport Service installed and running on that machine? Both of the services in turn depend on Remote Procedure Call . The DTC also uses the Security Accounts Manage... | 2 | 2 | 151 | 2013-01-31T13:01:32.217 | infrastructure | serverfault.com | |
27,897 | Struggling to debug high CPU usage on Amazon RDS MySQL instance | We're running an m1.xlarge MySQL RDS server and having some issues with high CPU usage. We had some problems a couple of weeks ago with CPU utilization reaching 100% on a large instance. When we upgraded the size to xlarge that stabilised things for a while but CPU usage gradually crept up again. For the last week or s... | Managed to solve this, these are the steps I followed: Firstly, I contacted the Amazon RDS team by posting on their discussion forum, they confirmed it was the mysqld process taking up all this CPU - this eliminated a configuration fault with something else running on the physical server Secondly I tracked down the sou... | 21 | 16 | 43,916 | 2012-10-30T17:58:52.547 | database_errors | dba.stackexchange.com | |
1,147,496 | Storage configuration for GPU servers (ML training) | We have recently purchased a couple of high performance GPU servers to use in training AI/ML models and the job of set up and administration has fallen upon me. I'll preface this by saying I am definitely not a sysadmin. I am an academic, so the less time I can spend on setting up and maintaining the servers the better... | Certainly putting the OS/applications on the R1 (2 x 480GB) makes sense. Obviously you've not mentioned your actual storage needs for the data, clearly you don't need oceans of storage and as you say you're not too worried about the actual data itself. So the question is whether or not you are happy to lose all that lo... | 2 | 2 | 106 | 2023-11-09T09:39:49.393 | infrastructure | serverfault.com | |
111,408 | What are good techniques for keeping your place in code? | I understand using bookmarks to remember a single point in your code. However, how does one keep track of the flow of the code they are investigating? Eg: multiple bookmarks and the order in which they were made. Example: Bug report: "Collisions aren't working on the corners of walls" Reproduction of the bug puts it do... | The bubbles interface attempts to solve this problem by showing a bunch of bits of code at once. (You're stuck with your browser for Googling). It looks amazing but I haven't tried it. This version of the idea is a Visual Studio implementation for Visual Studio Ultimate. | 20 | 13 | 868 | 2011-09-28T23:17:29.213 | api_errors | softwareengineering.stackexchange.com | |
1,075,555 | What routing algorithm does the docker mesh use? | We want to know what algorithm the Docker mesh uses to route requests to containers. Here's why: We deploy our applications to self-hosted docker swarms. We use the docker routing mesh to direct traffic to the individual nodes, like this: internet -> firewall -> load director (nginx) -> nginx "least connection" routing... | Mesh routing is most likely round robin only I took a dive into the docker source . I found references to various routing methods, but the only one that appears to be used is round robin. I also found a question on the docker forum that seems to confirm that mesh routing is round-robin only. Examining the source In ven... | 3 | 2 | 371 | 2021-08-24T22:54:13.727 | pipeline_ops | serverfault.com | |
75,662 | Choosing the Most Recently Entered Non-Blank Value When Many Values Exist | I have run into a problem where some IDs have multiple names associated with them. That is, if I have a location ID from one table and need to pull the location's name from another table based on the location ID, the query is returning multiple names. I want to choose the newest name based on a timestamp, if that one i... | What you're looking for is generally known as a "greatest of group" solution. There are several patterns for this. A search of dba.SE or SO will show you some. The posted question and the SQL Fiddle have the table names swapped. This code is from the Fiddle: [CODE] | 0 | 0 | 46 | 2014-09-04T02:14:32.973 | database_errors | dba.stackexchange.com | |
119,176 | How to deal with changes that need further testing while working on another test? | TDD means to test before you start writing production code. So I start writing a test for [CODE] called [CODE] . It fails and I start to implement the wanted functionality in [CODE] . During the implementation phase of [CODE] I encounter that changes on another class (e.g. [CODE] ) are needed to be done. [CODE] has a t... | IMO this question is more about organizing one's work efficiently than about TDD. I usually strive to organize my tasks to keep myself efficient and focused. So if I find other to-do tasks while working on a specific task, I usually make TODO notes to myself (either in the code or on a piece of paper) and keep the focu... | 3 | 3 | 113 | 2011-11-11T09:30:07.763 | api_errors | softwareengineering.stackexchange.com | |
5,545 | What is the best way to put on a repository for a docker image with multiple tags? | I've seen a lot of repositories with Docker images and I think (correct me if my guessing is wrong) that the projects that handle a docker image with multiple tags can be grouped into three groups: Dockerfiles with different names in the same directory. Dockerfiles with the same name (i.e. "Dockerfile") in different di... | If you think of the Dockerfile as a kind of " bill of materials " for your containers, then there is the following consideration: container environments are mostly same - you can use many Dockerfiles in same folder, or even just one Dockerfile with parametrized builds container environments are or might divert in terms... | 2 | 2 | 498 | 2018-11-26T21:56:50.247 | bi_errors | devops.stackexchange.com | |
839,231 | ddwrt + Freeradius + LDAP | I am trying to set up an LDAP server for authenticating multiple servers such as ftp and radius (maybe even ssh?) I have a router (ddwrt) which I have been able to authenticate with plaintext passwords in freeradius. Now I want to use an ldap server to store the users and passwords I have set up my ldap server and I ca... | Apparently You have to store the passwords in cleartext on the ldap server for PEAP to work. I followed this tutorial (Very basic setup): https://www.youtube.com/watch?v=weTfRslHhZY Steps: In /etc/freeradius/modules/ldap modify the settings: [CODE] In /etc/freeradius/sites-available/default authorize section: [CODE] In... | 1 | 0 | 3,668 | 2017-03-19T10:53:23.150 | infrastructure | serverfault.com | |
340,863 | Nginx error pages not working | I have the following vhost entry [CODE] } However, 404's and 50x errors are still be re-directed to the horrible nginx default pages.Any ideas as to why? This syntax works on one of my other servers. | You need this: http://wiki.nginx.org/HttpProxyModule#proxy_intercept_errors | 1 | 2 | 3,464 | 2011-12-14T13:56:53.420 | infrastructure | serverfault.com | |
716,480 | SQL Server 2012 Native Client returns missing DLL error on install | OS: Windows 7 Pro SP1 Whenever I try to install the SQL Server 2012 Native Client x64 the install process gets to the end, the "removing backup files" stage then throws up this error: "There is a problem with this Windows Installer Package. A DLL required for this installation to complete could not be run. Contact your... | Are you running 64 bit Windows 7? What is result of this command?: [CODE] | 1 | 0 | 4,140 | 2015-08-25T02:01:37.777 | database_errors | serverfault.com | |
681,494 | MariaDB crashing with "Assertion failure in thread xxx in file rem0rec.cc line 580" | I have three MariaDB servers set up in a Galera cluster. I use one server at a time as a "primary" master (i.e., Galera is just for failover, the app doesn't actively use multiple masters). About once every two weeks or so, the primary master fails. The other two servers in the cluster are fine, and I can restart the c... | Yes. always submit stack traces to mariadb as a bug. I can't see anything similar reported. I definitely would update to the latest stable 10.0 version first. Try running with log-slave-updates and binary logging enabled. This should help identify the SQL statement that caused the crash. | 1 | 0 | 1,796 | 2015-04-09T08:37:19.200 | database_errors | serverfault.com | |
439,379 | Configure IIS Web Site for alternate Port and receive Access Permission error | When I configure IIS to run a Web site on Port 1414, I get the following error: --------------------------- Internet Information Services (IIS) Manager --------------------------- The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020) However, as according t... | According to IBM documentation , mq defaults to 1414, so you won't be able to have both a website and mq using the same port. (Unless I'm misunderstanding your question.) | 5 | 1 | 1,910 | 2012-10-17T15:12:00.387 | infrastructure | serverfault.com | |
80,154 | Permissions needed to call DBMS_DATAPUMP from within package | I am attempting to write a procedure (within a package) that calls [CODE] to copy an existing schema into a different schema. The code works when executed from an anonymous block, but from a procedure I get the following error. [CODE] This error is being generated from the [CODE] call. Since it works in the anonymous b... | Short answer: [CODE] must be explictly granted to the object owner for [CODE] to be called from within a package or stored procedure. Long Answer: In an effort to solve this question, I interrogated the data dictionary to get all of the object and system privileges granted by the [CODE] and [CODE] roles (and all roles ... | 5 | 7 | 21,920 | 2014-10-14T14:17:26.017 | warehouse_errors | dba.stackexchange.com | |
957,351 | How do I suppress logs in a kubernetes container? | I have set up a freeradius container in a kubernetes cluster. By default freeradius doesn't log authentication attempts or log passwords in plain text, however, if the service is started with the "-X" arg (debugging mode), it overrides the default configuration and logs EVERYTHING to STDOUT. I have tried not specifying... | Ok, so it turns out there was a completely different way of achieving my goal than what I expected. I was able to get the freeradius container to start without debugging mode by creating EmptyDir volume mounts for /var/run/freeradius and /var/log/freeradius so that those directories would be writable (not sure why /var... | 0 | 0 | 474 | 2019-03-08T12:23:47.507 | api_errors | serverfault.com | |
607,102 | What is the workaround for WMI remote connection failure with Access Denied error when client runs with Local System account? | What is the workaround for WMI remote connection failure with Access Denied error when client runs with Local System account? I tried to run script under local system account on the client which connects to remote WMI (namespace: root\cimv2) using local administrator credentials of remote machine. But WMI connection fa... | http://msdn.microsoft.com/en-us/library/aa826699(v=vs.85).aspx refer to above link. solution: To solve the problem, UAC filtering for local accounts must be disabled by creating the following DWORD registry entry and setting its value to 1: [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] LocalAccountTo... | 4 | 8 | 26,566 | 2014-06-22T14:25:39.037 | infrastructure | serverfault.com | |
683,679 | Windows Server: Is it possible to run Certificate Authority while having Essentials experience installed? | I have a Windows Server 2012 machine running a certification authority, but also need the same server to run Windows Server Essentials Media Pack. This requires the Essentials Experience role to be installed, which cannot be installed when CA is. So what I'm wondering before I reinstall the CA is whether or not I'd be ... | The best way to answer this is to try it in a VM. I installed a new OS added the [CODE] added the [CODE] and all dependencies Used the [CODE] wizard to configure a root Standalone CA This all worked fine on a 2012 R2 Standard OS, I don't have any 2012 images for testing anymore. If you are using 2012 Essentials, then t... | 3 | 2 | 1,767 | 2015-04-17T23:49:18.423 | infrastructure | serverfault.com | |
472,390 | Can't make httpd use correct SSL | I have a signed CA, issued by my university. I generated my CSR using their public key file as so: [CODE] I sent them the CSR, they sent me back the signed .crt file. I created a directory for my CA keys and certs and placed them in there. The relevent part of my httpd.conf looks like this: [CODE] But it's not using th... | SSLCACertificateFile /var/cosign/certs/CA/publickey.pem Unless that PEM file actually contains the CA certificate for the client certificates you wish to grant access, this is incorrect; to provide apache with a certificate chain, use [CODE] instead. Apache must have the actual certificate and any intermediate certific... | 7 | 11 | 27,968 | 2013-01-25T13:48:08.763 | infrastructure | serverfault.com | |
99,416 | SELECT and UPDATE in a single query while updating selective fields of duplicate records only | I have a MySQL table named Contacts_table with, say, the following contents: [CODE] *ID: Primary key; auto-increment *NUMBER: Unique key And I am using PHP to read a comma-separated text dump of values for these fields, parse those values, and add them to the table. Say, a sample text dump has the following contents (s... | Since there is a [CODE] constraint/index on [CODE] , you can use [CODE] syntax - which can be combined with [CODE] so all the rows are inserted/updated in one statement. The additional requirement that new [CODE] values do not update existing ones can be satisfied using [CODE] function. Example: [CODE] Test at SQLfiddl... | 4 | 4 | 4,240 | 2015-05-02T13:49:49.633 | data_quality | dba.stackexchange.com | |
40,682 | Customers can almost never submit or monitor bug reports or otherwise communicate with development, even indirectly. Why? | This is "a site for software quality control experts..." Why do most software-based companies seem to have a wall to prevent customers from submitting or monitoring bug reports, via support or directly to development? IOW, rarely can customers submit bug reports that (even if 'good' in the technical sense) have more th... | The main answers to your question are lack of scalability with user reported bugs, and management (and users) emphasis on new new features vs fixing problems. A typical consumer product might have hundreds of thousands of users up to more than a billion for successful ones (for example Office) Each product have hundred... | 0 | 0 | 200 | 2019-09-06T01:56:36.817 | pipeline_ops | sqa.stackexchange.com | |
444,376 | No 'Instance Features' in installation setup of Sql Server 2012 | I try to install SQL Server 2012 Express on my personal computer (fresh install of Win 8). I downloaded the installation files on the Microsoft Website. The filename is SQLManagementStudio_x86_ENU.exe (about 614 Mb). When running this file, I got the 'Feature Selection' Screen (see below). As you can see there is nothi... | You downloaded the wrong file. SQLManagementStudio_x86_ENU.exe is just SQL Management Studio. You want one of the ones that start with SQLEXPR from this page: http://www.microsoft.com/en-us/download/details.aspx?id=29062 | 1 | 1 | 9,968 | 2012-11-01T14:28:04.703 | database_errors | serverfault.com | |
20,178 | T-SQL query using completely different plan depending on number of rows I'm updating | I have a SQL UPDATE statement with a "TOP (X)" clause, and the row I'm updating values in has about 4 billion rows. When I use "TOP (10)", I get one execution plan that executes almost instantly, but when I use "TOP (50)" or larger, the query never (at least, not while I'm waiting) finishes, and it uses a completely di... | The index on dimTime is changing. The quicker plan is using a _dta index. First off, make sure that isn't marked as a hypothetical index in sys.indexes. Thinking you could be bypassing some parameterization by using the #mac table to filter instead of just supplying the start/end dates like this WHERE t.TimeValue betwe... | 20 | 3 | 2,824 | 2012-06-29T20:08:33.993 | database_errors | dba.stackexchange.com | |
65,628 | User Profile Import Failing | I have a SharePoint 2007 farm (SP2, June Cumulative Update) where the User Profile Import job is now failing. The last log entry on the User Profile and Properties page shows the error message "The parameter is incorrect". This persists whether the job is run manually or via the defined schedule. What is interesting is... | I opened a case with Microsoft and after many hours we were unable to identify the issue inside the SSP that was the cause of the problem. The next step was to build a new SSP and see if it had the problem and then migrate to that. But I wasn't comfortable with the risk involved with that so for now we're just going to... | 2 | 0 | 1,834 | 2009-09-15T18:04:24.210 | infrastructure | serverfault.com | |
302,183 | Using ntdsutil to remove dead DC, won't remove all the way | I have a old DC that was never properly demoted and I no longer have access to it (it's offline) I followed this guide to remove the DC from AD: http://www.petri.co.il/delete_failed_dcs_from_ad.htm it has worked before but for this server I am getting the following error: [CODE] I get this error when I try to remove th... | There was special permissions missing from the administrator account. Once they were added back in the server was able to be removed. | 1 | 0 | 1,197 | 2011-08-17T17:56:53.667 | infrastructure | serverfault.com | |
12,152 | Jenkins Not pulling the latest commit into master or slave | I have a Jenkins pipeline where after every build I change a file(increase build version in a property file) and checkin back to the git repository. After a build, I commit some differnt code change to the git repo and run the build. One of the following two things happen Jenkins does not pull the latest code change fr... | You can use a plugin called "Workspace Cleanup Plugin" which wipes out the workspace post build. This can be a part of the pipeline and would not require manual cleanup every time when a build should be triggered. For the second issue, I would recommend you to check if you're able to checkin to the same repository with... | 0 | 1 | 4,983 | 2020-08-05T05:42:28.827 | pipeline_ops | devops.stackexchange.com | |
247,437 | Loading Custom Rules into unaccent postgresql hosted into an amazon aws instance | The default unaccent module has no or little support for Greek Letters using the [CODE] module as seen in following links: https://stackoverflow.com/q/49845063 https://www.postgresql-archive.org/BUG-15347-Unaccent-for-greek-characters-does-not-work-td6035023.html Also this is my problem in my case as well. So I wanted ... | In the example CREATE TEXT SEARCH CONFIGURATION fr ( COPY = french ); where the ( COPY = french ) is located? Text search configurations are stored in [CODE] . They can also be displayed with [CODE] in psql. Can be the copy statement ( COPY = french ) use data from the STDIN with my own rules? No. The COPY clause in CR... | 1 | 1 | 313 | 2019-09-10T13:07:27.977 | database_errors | dba.stackexchange.com | |
311,035 | Help with tmux1.5 on Centos | I installed tmux 1.5 on Centos. The installation went ok after installed libevent and other libraries, but when I run [CODE] I keep getting the following error. [CODE] Any idea what's causing this? | [CODE] It means that your [CODE] is not a character device and has wrong permission. Below is my: [CODE] Do the following command as root to recreate it: [CODE] and try again. | 2 | 1 | 560 | 2011-09-13T19:36:45.973 | infrastructure | serverfault.com | |
254,001 | Can't get appsession setting in HAProxy to work | My haproxy.cfg has a frontend which then redirects to a bunch of backends, here is a sample backend (note that connections into this have already been through stunnel to rip out SSL : [CODE] I'm sure I'm simply missing a setting somewhere, but I must be missing it when reading the config documentation . I'm using HAPro... | You also need to use [CODE] . | 1 | 1 | 1,120 | 2011-03-31T07:03:03.327 | infrastructure | serverfault.com | |
774,641 | Python ssh user validation | 4:15 PM (3 minutes ago) Hello, Im wondering if there is a way without using send_pexpect to validate a host. I have hundreds of IPs where i need to validate if my tacacs username is valid and if not then to expect a comment. The issue im running is that im unable to validate the expect was due to my credentials or the ... | Alternatively you can use: [CODE] | 0 | 0 | 1,114 | 2016-05-03T20:20:49.030 | data_quality | serverfault.com | |
1,067,899 | Jenkins SSH Connection EC2 Instance | In CICD Configuration, I'm Using Jenkins as CI Server, Deployment should happen on EC2 Amazon Linux.. I tried adding my SSH configs in Jenkins, I'm getting SSH connection failed..! The problem here is My EC2 Instance SSH authentication requires PublicKey, Keyboard-interactive..! I have enabled google authenticator for ... | You can use AWS CodeDeploy that has an agent on the instance and can install your artifacts from Jenkins without SSH. Alternatively you can use AWS Systems Manager , again it’s an agent-based way to execute scripts on the EC2 instance without the need to SSH. Or disable SSH 2FA for certain users or for connections from... | 0 | 1 | 940 | 2021-06-26T08:17:49.003 | pipeline_ops | serverfault.com | |
150,450 | Error Referencing wp_users as Foreign Key | I'm fairly new to SQL. I'm trying to create a FK for one of my tables ( [CODE] ) to one of the Wordpress tables ( [CODE] ). But I'm hitting an error and I'm not entirely sure why that is. This is my SQL statement to create the table [CODE] : [CODE] Here's an image of the Wordpress database schema: When I take out this ... | The MyISAM engine doesn't support foreign keys. Use the InnoDB engine instead. Other observations: The referenced table has no index on [CODE] . As per documentation, it is required to have an index on the referenced field. It is better however to use the [CODE] field from [CODE] table to be referenced, and use this ID... | 3 | 2 | 1,138 | 2016-09-22T20:30:22.353 | warehouse_errors | dba.stackexchange.com | |
240,503 | Will Postgres perform the computation of calculated columns that aren't selected in a view? | I'm trying to understand the performance impact of selecting data from a view, where one of the columns in a view is function of other data in the original table. Does the computation get performed irrespective of whether or not the computed column is in the list of selected columns? If I had a table and the view decla... | As @Laurenz said, your analysis is correct: the optimiser will avoid evaluating column expressions which do not affect the outcome of the query (and your attempt to force a divide-by-zero error is proof of this). This depends on which columns you're selecting, but it also depends on the volatility category of the colum... | 8 | 6 | 1,615 | 2019-06-13T15:46:58.810 | warehouse_errors | dba.stackexchange.com | |
916,101 | How do I fix OpenShift permission denied error? | I'm try to run OrientDB docker container in OpenShift. I encounter a permissions error when it tries to deploy. I'm using a Mac. This is the error: [CODE] This is the Dockerfile that came with the official OrientDB-Docker GitHub repository. [CODE] | That image is built as root and needs to run as the root user. By default, OpenShift won't allow it to run as root but you can enable it by adding the permission to the service account that runs the container: oc adm policy add-scc-to-user anyuid -z default Be aware that this is a security risk and recommended best pra... | 3 | 1 | 16,520 | 2018-06-11T13:12:15.210 | pipeline_ops | serverfault.com | |
40,370 | What is meant by "streaming data access" in HDFS? | According to the HDFS Architecture page HDFS was designed for "streaming data access". I'm not sure what that means exactly, but would guess it means an operation like seek is either disabled or has sub-optimal performance. Would this be correct? I'm interested in using HDFS for storing audio/video files that need to b... | Streaming just implies that it can offer you a constant bitrate above a certain threshhold when transferring the data, as opposed to having the data come in in bursts or waves. If HDFS is laid out for streaming, it will probably still support seek, with a bit of overhead it requires to cache the data for a constant str... | 4 | 2 | 17,148 | 2009-07-14T10:13:54.840 | hadoop_errors | serverfault.com | |
6,659 | running a phpUnit test within a docker container | i want to run a specific version of phpUnit WITHIN a docker container. This container will use a specific version of php. i.e php:5.6-apache Its a lareval application. i have install phpunit via composer on the hostfiles and then used the volume command to transfer this to the container. my composer.json file has follo... | Don't quote the command you're trying to run, just do: [CODE] Your image is looking for a file called "php ./vendor/bin/phpunit" instead of looking for "php" and passing everything else on the line to it. This is the real reason docker requires all your parameters before the image, because the parameter after the image... | 2 | 1 | 2,885 | 2019-03-19T09:06:05.180 | pipeline_ops | devops.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.