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 |
|---|---|---|---|---|---|---|---|---|---|---|
1,061,256 | Will I be blocking the IP of some google related service? | In my sites I have created a script that sends me an email every time a new ip claiming to be google visits the site. When I see the email I go to check (for example on whois.com) if the ip that claims to be google is really google, and if not, I block it with the firewall. Normally I find one or two fake googles a wee... | It is not complex to verify whether a googlebot is fake or not. Google suggests to use reverse + forward DNS lookup for this - Verifying Googlebot . Just you can easy catch issues like this - fail2ban # 2951 , where a DNS lookup takes very long time (or even fails with timeout). So if you want implement some banning fo... | 0 | 3 | 337 | 2021-04-22T22:04:05.277 | infrastructure | serverfault.com | |
476,069 | Abort MDT 2012 task sequence and deployment if pre-requisites are not met | For an automated deployment of Windows 7 created using MDT 2012, we would like the installation to abort if certain required pre-requisite conditions are not met. For example, the computer receiving the deployment must have a specific group membership in order to assure that post-deployment configuration is applied cor... | Simply telling ZTIUtility to report an error doesn't inform the task sequencer that it failed. I believe you need to set iRetVal to anything other than "0" and then return. What I would do if in your shoes would be to configure the web service to report group membership and then add some logic to determine if the valid... | 1 | 1 | 1,200 | 2013-02-06T15:24:21.773 | pipeline_ops | serverfault.com | |
934,297 | Configuration change for Apache + PhP-FPM 7.2 necessary? | Until now, I was using Ubuntu 16.04.5 Server with Apache, Nginx as a reverse proxy, PHP 7.0 + FastCGI + FPM, everything updated to last version. Everything went fine. This is one Apache virtualhost, for, say, x.com: [CODE] This is one FPM-pool .conf file for x.com: [CODE] Now I'm using the same but with Ubuntu 18.04.1 ... | Well, the difference is simple. Your working approach with handlers is being backed by [CODE] whereas the second one requires [CODE] and [CODE] within your configuration and proxies requests to FPM socket. The latter being preferred because it does not require separate configuration and memory overhead [CODE] brings al... | 1 | 4 | 10,136 | 2018-10-06T18:31:01.000 | infrastructure | serverfault.com | |
217,573 | Cloning a NAS drive which hosts a SQL Server DB | We have a system in the field running a server application which is suffering with major performance issues. The system in question has 2 onboard 300gb sas drives in RAID 0+1 from which it boots Windows Server 2003, and a 6tb buffalo terastation NAS unit (RAID 5) to which the server app does all of its reading and writ... | The Terastation is definitely slowing you down, probably by a significant amount but your description of the setup makes it a bit hard to say by how much. You can't have RAID 5 on a two drive pack - it's probably RAID 1. The simplest approach, if it's possible with your hardware, is to add another two internal drives i... | 0 | 2 | 362 | 2010-12-30T22:45:48.740 | data_quality | serverfault.com | |
284,088 | MySQL server will not start/stop | I am currently in the process of setting up a database in MySQL for an application where I will be running PowerBI to do analyses on the data in the database and in a further stage to design an application to upload/download data from this db. I tried to install the 8.0.23.0 Community Edition through the MySQL Installe... | I managed to get it working but not through workbench nor through CMD. I installed the server as a Windows service and wrote 2 batch files to start and stop the service. Because of the difficulties and the limited resources on my own machine, I decided to go to an Azure SQL server, thank for the help! | 0 | 0 | 764 | 2021-01-27T12:49:54.587 | bi_errors | dba.stackexchange.com | |
9,868 | Assign Directory Read/Write Privileges to Azure Service Principal from the command line? | I am trying to provision a user in Azure Active Directory using Terraform's AzureAD provider . At the top of the [CODE] documentation , it states: NOTE : If you're authenticating using a Service Principal then it must have permissions to [CODE] within the [CODE] . I have created the Azure Active Directory User using th... | What you need here are the az ad app permission commands. Here is a complete example (assuming powershell): [CODE] For reference, Microsoft has a list of the GUIDs used for various applications. On some occasions I have been unable to find documentation for the magic GUIDs required for a particular app/permission, in w... | 1 | 2 | 740 | 2019-11-20T17:36:01.470 | pipeline_ops | devops.stackexchange.com | |
166,519 | Recover Oracle Database until cancel and noresetlogs | I have to recover an Oracle database from a backup with a controlfile. I want to avoid that archivelogs written after the backup are taken for a recovery. I want to a avoid resetlogs. I have to switch from rman to sqlplus to issue this statement. [CODE] Is there a way to do this from rman and to avoid resetlogs? | If you want to cancel, you have no way of using noresetlogs. You have create a new incarnation of your database. Ps: I don't know what your problem was with switching to sqlplus, but you can execute sql statements (alter database.....) in rman . | 1 | 1 | 7,961 | 2017-03-08T08:32:01.747 | hadoop_errors | dba.stackexchange.com | |
313,336 | Java: Why's this For-Loop thousands of times slower? | So I have a simple method I'm calling millions of times a second, and I noticed that it was taking 16% of all processing time!! The offensive routine is as follows: [CODE] Coming in with a self-time of 27015ms, or 14.5% (Excluding further method calls) Horrified, I switched to this instead: [CODE] Now the self-time is ... | Your second version looks like an attempt at expanding a [CODE] loop, but unfortunately it's entirely inaccurate. The outcome is that it is about as far from "the exact same result" as could be. It sort of only runs one iteration regardless of the input variables, although within that iteration you're running the "loop... | -10 | 7 | 2,318 | 2016-03-21T03:19:35.780 | api_errors | softwareengineering.stackexchange.com | |
576,001 | Debian local apt repo | Using debians ftpsync I've synced amd64 to my local file server, and installed debian over the network using ipxe. It dawned on me, that the content I've downloaded needs to be shared as an apt repo, in addition to just being rsync'ed. Is this correct? But here's something I don't get (and I don't have that much experi... | There is no package ansible in wheezy repository https://packages.debian.org/search?suite=wheezy&keywords=ansible If you want to install ansible, change your repo to jessie | 0 | 2 | 358 | 2014-02-16T15:46:10.743 | pipeline_ops | serverfault.com | |
12,261 | Jmeter: Could anyone explain me detailed explanation of the following terms in Graph Results? | Jmeter: Could anyone explain me detailed explanation of the following terms in Graph Results? I have looped single user request for 100 time (i.e no of samples :100) for www.google.com and then i got following result in graph results: [CODE] and also which parameters are most important to observe to get its performance... | First of all check JMeter Glossary for definition of basic load testing terms In regards to median and average, as per The Load Reports guide #Samples is the number of samples with the same label. Average is the average time of a set of results. Median is a number which divides the samples into two equal halves. Half o... | 1 | 3 | 746 | 2015-02-25T06:59:39.070 | data_quality | sqa.stackexchange.com | |
160,363 | When you won't need a language anymore, should you still use it? | My first main language was Java. However, over the years I've dropped Java in favor for Python, JavaScript, bash, etc. I still have advanced reading knowledge of Java, but since I haven't coded in it for so long, my writing knowledge is intermediate at most. The other day, while looking at some old code written in Java... | Consider your end result - an online game, written in JavaScript. As such, by all means, take inspiration from your old codebase and plan ahead. The way I would approach this would be to figure out what refactoring I would do and use both the old codebase and the refactoring plan as a blueprint for a new codebase using... | 4 | 5 | 428 | 2012-08-10T17:15:59.247 | api_errors | softwareengineering.stackexchange.com | |
299,553 | How to get SQL statement in Db2 database for application that is holding lock on table? | I am trying to get SQL statement that is holding the lock on table. Sample: Create table: [CODE] Insert data: [CODE] In first db2cmd connect to database and execute: [CODE] In second db2cmd connect to database and execute: [CODE] Now we know that application on step 3 is holding locks, so app in step 4 is unable to fin... | Statements cause locks to be requested and acquired, but they don't hold those locks; the application does. An application can execute multiple statements during a unit of work, but it is not possible to attribute a particular lock held by an application to a specific statement. You can see statements that the applicat... | 1 | 0 | 2,001 | 2021-09-14T12:32:52.463 | database_errors | dba.stackexchange.com | |
10,931 | How do I get a list of AD groups used for SharePoint site permissions? | Is there a query or powershell command to retrieve a list of AD groups used for permissions in SharePoint sites? We need to find out what groups are being used (actually which ones are not being used) so we can delete unused groups in AD. | You could collect the information by using STSADM -o enumusers command. It will output XML with a list of users (or AD Groups) associated with SharePoint sites. Unfortunatly you have to do this for each site so it might take some time to put together the script to run it. We looked at a tool from Quest to manage securi... | 2 | 2 | 3,009 | 2009-05-21T18:37:17.497 | infrastructure | serverfault.com | |
190,165 | SQL Import text files | I have a directory that will regularly have text files dumped in it that I'm trying to get imported into a single SQL table. Basic format of the text files is as such: [CODE] The 'Graph' section can vary in length so the solution would need to know when to stop. The data I'm wanting to import is Test Test Date Test Tim... | That shouldn't really be done on a single table, it will cause you all sorts of grief. Do it over two tables. Have your first table however you want, but without the "graph" values (time and load). Instead have simply a "graph_id" value or something similar. e.g. (based on your example): [CODE] Then have another table ... | 0 | 2 | 479 | 2017-11-05T23:24:10.247 | warehouse_errors | dba.stackexchange.com | |
813,992 | Run PowerShell-Script from Server in unattend.xml | Currently we are Deploying our Windows 10 Machines with Windows Deployment Services(WDS) with a unattend.xml file for basic settings. From time to time there are machines which won't activate windows automatically(we are using OEM licences). This seems to happen only with new machines on which Windows wasn't activated ... | To execute [CODE] scripts automatically via [CODE] you are going to want to configure the [CODE] entry(s) for your script. Open [CODE] to the unattend file that you would like to mod. open the components tab and expand the [CODE] entry. After you have added the item to the [CODE] , You can configure the command that is... | 2 | 10 | 39,003 | 2016-11-09T12:21:39.317 | pipeline_ops | serverfault.com | |
191,497 | Sql servers are using Kerberros and NTLM Authentication | Lately I have been facing failed connection errors mainly due to servers using NTLM Authentication. In our environment the servers have a combination of ntlm and kerberoos. My question is If i ask my Domain admin to manually register all the service accounts to use the kerberoos instead of ntlm authentication will ther... | Kerberos authentication should be faster and it is definitely more secure, so if you are at all concerned about security it should be enabled. The only issue that I can think of that might occur is if the Service Principal Names (SPNs) incorrect, then logins will fail. Accordingly, if you are adding SPNs to get it set ... | 1 | 0 | 588 | 2017-11-22T14:02:39.380 | database_errors | dba.stackexchange.com | |
93,839 | Redhat Software RAID 1 not syncing | I setup a software RAID 1 on a Redhat server, everything went sweet and it synced the first time. The other day the raid failedover for some reason and the disks hadn't been syncing since that first time, so it went back to 2 weeks ago when we did the first sync. We got the system back up running off the master only. H... | I've had this happen before. First, check [CODE] and the system log files for any details. If the drive seems good you can force it to re-join the pool by doing something like: [CODE] | 3 | 1 | 713 | 2009-12-13T05:38:21.540 | infrastructure | serverfault.com | |
90,879 | X345 and ServeRaid 5i - Defunct Drives | I have an old IBM X345 server with a ServeRaid 5i card that I was running as a fileserver/test-server. It was running VMWare ESXi 3.5, with a virtualised OpenSolaris machine inside of this this (as well as other machines) with ZFS as the filesystem. Anyhow, recently, after a reboot, on startup, ServerRaid complains tha... | The orange led doesn't mean that the drive is broken: it means that it's marked as failed. Recently I had the same issue on a ServeRaid 6i: two drives disappeared. The raid was level 5. I put one of the two online and I rebuilt the second. At the end of the process I got my array rebuild. Of course it was not a broken ... | 1 | 1 | 3,542 | 2009-12-03T23:07:48.017 | data_quality | serverfault.com | |
57,723 | Superuser is not permitted to login | I created a superuser portal with the following command [CODE] When I tried to login into postgres with portal user I am getting the following error in rails. [CODE] I can't follow what is going on. of course I can alter user with login command to enable portal user to login. I would like to understand why super user c... | You didn't specify the [CODE] right: [CODE] If you use [CODE] instead of [CODE] the [CODE] right is granted automatically; otherwise you must specify it in the [CODE] clause of the [CODE] statement. Superusers do not inherently have the [CODE] right; a permissions check is still performed for superuser for this right. ... | 34 | 61 | 56,899 | 2014-01-28T07:29:10.730 | warehouse_errors | dba.stackexchange.com | |
20,007 | Citrix degrades with 100% CPU | We have a Citrix PS4.0 farm made up of 2 physical and 2 virtual Citrix servers. Any one of them at some point or another will eventually degrade in performance due to hitting 100% CPU usage. I can see the CPU usage spike in the Virtual Infrastructure Client when this happens on either of the VMware servers. This is not... | Windows 2003 SP1 went out of support in April, so your OS does not get any security patches anymore. You need to upgrade to SP2 ASAP. SP2 also has lots of random bug fixes in it - your issue could go away. If your OS has that old a patch level, there is a good chance some drivers - specifically print drivers - could be... | 3 | 5 | 9,384 | 2009-06-04T19:40:10.473 | infrastructure | serverfault.com | |
716,840 | Apache Subversion with active directory authentication not working | I'm trying to configure Apache Subversion with active directory but the credentials of a domain user are not working. I'm new to Subversion but what I had first was: [CODE] This worked using the credentials created with htpasswd. I have now edited the [CODE] file like this: [CODE] When I check the /var/log/httpd/access... | I found an answer in this link saying you should change the port number to 3268. It is working now! My [CODE] file looks like this now: [CODE] | 0 | 0 | 3,957 | 2015-08-26T05:57:35.473 | api_errors | serverfault.com | |
252,579 | Getting a lot of hits on my web server and it's taking down my httpd. Possible DDoS? | I'm getting a lot of hits on my server. This server normally gets little to no traffic yet there's is constant hits every time I bring the server back up. I get the following error first [CODE] then sooner or later my httpd runs out of memory and my server becomes unresponsive. Any ideas on how to fix it? latest head o... | Are these domains you are hosting? I suspect not. I've seen a big increase lately in scanning for open http proxies on my machines - it looks like you may running an open http proxy (which is just as bad as running an open mail relay - worse even, since most people now implement carious mitigations like RBL and SPF). D... | 0 | 1 | 1,604 | 2011-03-28T07:09:12.213 | infrastructure | serverfault.com | |
136,739 | Importing Oracle12c database | i am using Oracle 12c in debian Jessie i want to import an old database exported with expdp on oracle 12c when i try to launch the commande 'impdp' i got those errors : 'ORA-39002: invalid operation' 'ORA-39070: Unable to open the log file' 'ORA-39087: directory name DUMPS is invalid' Can you help me please? | Looks like your oracle directory doesn't exists. You will need to log into the database, create a directory, and retry your import [CODE] And retry your import. Pending on the user you are using to do the import, you may need to grant read/write access. | 1 | 1 | 340 | 2016-04-27T14:31:51.670 | database_errors | dba.stackexchange.com | |
1,097,218 | Can keepalived have one virtual IPv4 address shared between 2 nodes with IPv6 addresses? | I'm in an environment with a serious lack of IPv4 addresses, but a whole lot of IPv6 addresses. I have all sorts of nice services going on on IPv6, among them MySQL replication. Now, I just want the 2 servers to have a single IPv4-address that can be reached by the outside world. I've tried the following config: Runnin... | As keepalived told you, you cannot mix address families on one instance. VRRP is too deep in neighbor discovery implementation for it to abstract away address family. Replace the IPv4 VIP with an IPv6 one. With IPv6 addressing on the high availability, you can provide IPv4 services on top of that. If the applications c... | 0 | 0 | 723 | 2022-03-28T14:28:04.610 | database_errors | serverfault.com | |
10,421 | Unable to run `conda activate` from Jenkins pipeline | I'm running Conda 4.6.14 on Ubuntu 16.04. I thought about using virtual environments with Conda in my Jenkins pipelines that needed Ansible, by having all nodes use the same environment, [CODE] to run playbooks. While the process seems pretty straight forward, I'm unable to call [CODE] , because it results in the follo... | What we do is download and install miniconda in the first step in our (declarative) pipeline and create the environment(s) from a yaml file. [CODE] In each step we start the conda environment like so: [CODE] | 1 | 2 | 6,212 | 2020-01-07T19:35:44.303 | pipeline_ops | devops.stackexchange.com | |
371,760 | Converting Java code run by dependency to native code | Is it, at least theoretically, possible to convert a Java application into native code that can be run by something else written in Java? One example of this could be a Minecraft Spigot server. You can code plugins and stick them in the plugins folder of the Spigot server. The server then runs and then runs the plugins... | Am I thinking about any of this wrong? Yes! Very much yes. But this is an assumption, since i don't really know what you are trying to do; the true answer is probably. Can I convert something that needs to be run by something else written in Java? How is this 'something else' running the code? If it expects Java byteco... | -2 | 0 | 685 | 2018-05-29T18:19:04.237 | api_errors | softwareengineering.stackexchange.com | |
324,887 | script SQL equivalent | I have this SQLite script: [CODE] I need an equivalent script for MS SQL Server. I'm learning C# and I'm converting everything through regex, but first I need the correct script. I don't know much about SQL. I tried this as an equivalent code, but it gives me an error: SQL Error [207] [S0001]: Invalid column name 'ACCT... | SQL Server's triggers work very differently than SQLite. They operate per statement not per row. So you need to join the [CODE] and [CODE] (by primary key) and join that to [CODE] to do the delete. Do not assume that there will be exactly one row in [CODE] and [CODE] , there may be zero or multiple. The [CODE] function... | 2 | 4 | 83 | 2023-03-17T21:55:58.633 | database_errors | dba.stackexchange.com | |
168,812 | how do I know whether I am currently in chained or unchained mode | In Sybase server-side language how can my code test whether it's running in chained or unchained (auto-commit) mode? Examining the status of [CODE] is not really conclusive. I gather that there must be a way as for instance, JDBC provides getAutoCommit which is able to detect whether the connection is in auto-commit (u... | Sybase ASE's default mode is unchained, as I suspect you already know. You can use [CODE] to see the status for the current session's transaction chaining mode. The result is either 0 or 1, per the following: [CODE] Transaction chaining mode can be modified with [CODE] or [CODE] | 2 | 2 | 2,163 | 2017-03-31T20:04:01.040 | database_errors | dba.stackexchange.com | |
841,254 | Self-signed certificate for haproxy causes chrome warning of insecure connection | I try to setup SSL termination with haproxy as a test stand. It serves the test page on 80 port well, but on 443 port chrome shows a warning that ssl connection is not secure and the icon with https stricken through. I created certificate with these commands: [CODE] with Common name defined as [CODE] Also I put [CODE] ... | A self-signed certificate is not trusted by any browser, as you are the one who signed the certificate and not a certificate authority. You can import the root certificate in the trust store of the browser, but this will only make your connection a trusted one, while others will receive the same warning message. | 1 | 5 | 1,530 | 2017-03-29T10:42:22.823 | infrastructure | serverfault.com | |
61,041 | How to maintain MySQL performance at high concurrency | The following has been observed using "mysqlslap". [CODE] So with 4 concurrent users, the query time increases. How can we maintain similar query times even when there is a rise in concurrency ? The my.conf file is as below: [CODE] | There is something missing from the my.cnf innodb_read_io_threads and innodb_write_io_threads are both 4 by default. You need to increase it to get InnoDB to use more CPU. innodb_thread_concurrency , which set to 0 (now defaulted to 0 since 5.5) lets InnoDB decide to create as many concurrency tickets as it needs. The ... | 1 | 7 | 12,935 | 2014-03-14T15:02:27.463 | database_errors | dba.stackexchange.com | |
205,111 | CSS Files not getting updated on Cloudfront | Been having this problem with my website not displaying updated CSS files. The last time I had this problem, I ended up erasing my S3 bucket and CloudFront distribution, and re-creating the whole bucket & distribution with new names. Now the problem is re-occuring. Whenever I make changes to the site's CSS file, the fi... | If anyone else is having the same problem, here is how to solve it. This is how my website runs at the moment: Pair.com web hosting --> Amazon S3 --> Amazon CloudFront (CDN) The Wordpress installation is on Pair.com's hosting. When I make a change, the W3TC plug-in will update the file on the S3 server. Otherwise you c... | 3 | 4 | 4,782 | 2010-11-23T11:18:23.037 | infrastructure | serverfault.com | |
278,215 | In mysql, how to add a primary key and a composite key to a table so that it forbids duplicate rows, when there are null values within the columns? | In the following table (8 mi rows), every column has Null values. However, there can never be two identical rows (there will be always at least one column with a different value for each row). How can I alter this table so that it has a composite key which enforces that no duplicate rows exist? Also, the table below do... | Possible solution: add into the table structure one more column which is generated and concatenates the whole row, then define this column unique. Of course if you'll realize this directly then this index will be larger than the table body itself, and it will decrease processing speed dramatically. To avoid this select... | 0 | 1 | 907 | 2020-10-16T17:57:55.113 | database_errors | dba.stackexchange.com | |
625,268 | Deny connection to and from a specific hostname on Ubuntu/Apache2 | My wordpress EC2 server was probably hacked. When running [CODE] command I can see that my server sends and recieves data from a hostname name "i157panamamails.com". This hostname never goes away and eating lots of bandwidth. I want to prevent the server from communicating with this hostname and deny it completely. I t... | Okay, first of all you can run tcpdump on your server to analyze traffic. [CODE] Then you can read from this file with command: [CODE] or download it your computer and check it with wireshark. Also you can use iptables to log all of your outgoing traffic(here is rule): [CODE] By default log of this traffic will be in /... | 0 | 2 | 1,894 | 2014-08-31T06:24:26.857 | infrastructure | serverfault.com | |
456,251 | What is an Offloaded SQL server? | My job has pushed me far along enough to build a web app on a VPS. I've decided to go with an unmanaged KVM VPS through http://buyvm.net There are some features that I am unfamiliar with. I can not find anywhere to explain what this means: For an additional $1.00/month, customers may purchase access to an offloaded MyS... | Ask them for the details, but it looks like it is another VM, which happens to be on hardware slightly tuned for DB usage. | 0 | 2 | 1,437 | 2012-12-08T01:13:47.193 | database_errors | serverfault.com | |
1,021,380 | Understanding and resolving dependencies on Centos 7 | I've resolved many dependencies problems in many years as hobbyist administrator: I just removed some package until the whole thing get resolved or (if the consequences would have been to big) waited until the problem would solve by itself. [CODE] Now I would like to understand what the following means: [CODE] I suppos... | You can interpret the errors as follows from this example: [CODE] First, the [CODE] is the affected package. Because the repo name is prefixed with an [CODE] , the package is already installed. This package declares that it [CODE] . The package [CODE] shows that it provides [CODE] . The package [CODE] (which is not yet... | 1 | 3 | 2,468 | 2020-06-14T09:15:22.907 | infrastructure | serverfault.com | |
224,537 | Help putting together an Open Source Friendly contract but does not allow day job work to be Open Sourced | So I just was hired at a place that had only one Developer and that was the co owner. Their employee handbook had something to the effect of the following. All IP, inventions or software you develop while at X company is the property of the company. Additionally you will have to provide a list of all prior inventions, ... | Company ownership of software that you develop is a legal matter; see Joel Spolsky's excellent description and analysis for more details. As such, it's really up to a lawyer to figure out wording that's acceptable. Regarding the rationale of asking for past work, see this question . If you're looking for non-legal-qual... | 4 | 2 | 1,243 | 2014-01-17T15:18:10.323 | api_errors | softwareengineering.stackexchange.com | |
514,100 | P812 "forgot" RAID6 - can't see disks at boot time in ORCA | We have an MSA60 with 12x4TB non-HP issue Seagate Constellation ES.3 drives connected to a P812/FBWC, on which I created a RAID6 over all of those disks with hpacucli and started to copy data on them. Also, I pulled one of the drives during the early part of the copying procedure and replaced it, just to see how badly ... | Your array is probably gone. I suspect that you probably ran into a firmware issue. Chances are that your P812 controller wasn't at a good revision level. Also, the MSA60 went end-of-life back in 2008-2009. Did you run any updates prior to configuring this array? What version firmware is the Smart Array P812 controller... | -5 | 4 | 1,448 | 2013-06-07T12:45:45.013 | infrastructure | serverfault.com | |
31,556 | OpenVPN Hardware Requirements | I am planning an new network. All the traffic coming out of this network will be fowarded into a VPN in order to exit out onto the Internet on a distant server. This will be done via OpenVPN. There will be only one tunnel. We're looking at a very high speed Internet connection with a downstream speed of 100 Mbit/s and ... | I would guess an Atom CPU will handle 100mbit of OpenVPN traffic. Under load you might find an Atom will introduce a little more latency than a faster CPU but this will probably not be significant when considered against the latency of any long distant links you have between the server and the clients. Some unscientifi... | 2 | 4 | 22,363 | 2009-06-25T13:47:42.043 | infrastructure | serverfault.com | |
394,651 | mysql my.cnf ignored | The Issue I'm trying to modify a my.cnf value on my production server but the changes aren't taking effect after a [CODE] , using an exact copy of the my.cnf (downloaded and replaced original) on my development server the changes made are visible from show variables in mysql commandline. my.cnf is located at /etc/mysql... | Anything interesting in [CODE] ? The version of Mysql you're using should parse [CODE] then, anything in [CODE] in order of the config file names. In previous versions the order could be somewhat non deterministic. Whatever value is set last in the chain should win, which might explain why your changes in [CODE] aren't... | 10 | 6 | 22,734 | 2012-06-01T09:52:08.080 | database_errors | serverfault.com | |
23,085 | Web app cannot write to a file on my server that seems to have the right permissions | I have a rails app on an Ubuntu server. In my Apache config I have set the user and group to www-data. I want my rails app to write to a file. I have set the file permissions as follows: [CODE] Seems like rails should be able to write because the permissions are correct. But I keep getting permission denied. What are p... | Are you running your Rails application under Apache via mod_rails/ passenger ? You may need to set the user that passenger runs the Rails application with "PassengerDefaultUser". Since you mention www-data, I'm assuming an ubuntu or debian server, so this would probably be a separate vhost file in /etc/apache2/sites-av... | 1 | 2 | 1,397 | 2009-06-10T03:07:58.237 | infrastructure | serverfault.com | |
664,634 | gzip_ratio not printing in nginx logs | I'm configuring the [CODE] [CODE] to output in [CODE] format to use with other tools. The data I want includes info about the compression. I have gzip on, but the only thing I'm getting for the [CODE] is [CODE] . To confirm, the embedded var is [CODE] . http://nginx.org/en/docs/http/ngx_http_gzip_module.html Here's the... | Either you are using a buggy version of nginx or your test method had some flaws. I have just confirmed that [CODE] in a [CODE] definition works perfectly fine in nginx 1.9.1. I have seen [CODE] to only equal [CODE] when no compression was performed. In all other cases it held a numeric value. | 4 | 1 | 2,845 | 2015-02-03T15:01:15.320 | infrastructure | serverfault.com | |
347,223 | upload file to server via rdc in command line | I have access to server only via RDC, and I was wondering if is it possible to upload file to it via command line? I've got application that only can be run on the server, and modyfing some files and send it to server via typical RDC client is to slow. So maybe I could do this via command line to make this faster? | If the Remote Desktop file sharing functionality (aka the File System Virtual Channel) isn't working fast enough for you your best hope is going to be find some other protocol to transfer the files via. Whether or not you're using a command-line tool is really irrelevant to the speed. Assuming the remote server isn't p... | 0 | 0 | 240 | 2012-01-05T09:43:57.117 | infrastructure | serverfault.com | |
135,091 | ASP.Net application can no longer write to DB after having run out of disk space | I'm a software developer troubleshooting a sticky problem on a client's production server, and I've got a bit of a problem. They have a virtual server running Windows Server 2008, SQL Server 2008 R1 and IIS7. It was provisioned with two partitions: one that has the OS (~15 Gig), and the other has IIS' web sites (anothe... | I can't explain the solution, but here are the two actions I did this morning: Last night, I grabbed a copy of the database and transferred it to my local machine, to run a few processes against it that are required daily. This morning, I transferred it back to the server, and replaced the server's database with this n... | 1 | 0 | 356 | 2010-04-23T00:20:29.420 | database_errors | serverfault.com | |
55,262 | Moving primary key constraint from one index to another | I have a SQL Server database, and have run [CODE] against it. This pulled out that there are a couple of heaps on moderate size tables (a few hundred thousand rows in one case). Most of these tables have a primary key (one does not, but I'll deal with that later). The primary key itself has an unusual name - i.e. not t... | The following script illustrates an efficient way to convert the existing nonclustered primary key to clustered, and to rename it: [CODE] | 7 | 14 | 742 | 2013-12-18T18:38:41.203 | data_quality | dba.stackexchange.com | |
57,248 | What is the term that describes the use of OFFSET and LIMIT in a query | I am looking for a technical term (or phrase, or something concise) that describes the process of limiting the number of records returned from a query through the use of [CODE] and [CODE] . For example, I have an application that displays a bunch of records in a table. If I do something naive like this [CODE] It might ... | It's generally called paging . Different vendors have implemented it in different ways. SQL Server was late in adopting the standard (OFFSET/FETCH in SQL Server 2012); prior to that you had to use wacky tricks with CTEs and ROW_NUMBER(), and I forget what we did in SQL Server 2000. #temp tables? MySQL chose to one-fing... | 1 | 2 | 264 | 2014-01-22T04:16:45.953 | warehouse_errors | dba.stackexchange.com | |
207,030 | How to enable IIS compression for Web Services? | How do I enable compression for the Web Services request? I've an IIS 6 server that, using the ISAPI filder from Apache, routes the incoming connection to a set of web application running on JBoss. Because the routing happens using the AJP protocol we've decided to enable compression in IIS 6 enabling the "do" extensio... | Check out this walkthrough However, the extensionless compression in IIS6 is going to be more difficult. Since the URL is rewritten at the ISAPI Level I assume that it's actually hitting a URL with an exception, and it may work for you still. Just make sure that the target page is compressed and the friendly URL should... | 0 | 0 | 327 | 2010-11-29T16:01:13.833 | infrastructure | serverfault.com | |
78,172 | How do you handle the task of changing the schema of a production MySQL database? | One of the biggest complaints I have heard about MySQL is that it locks up a table if you try to change its schema like adding a column or adding an index. By "locking up the table" does it mean I can neither read nor write to the table? Sometimes for hours? That seems a pretty severe limitations. I was going to use My... | Yes, MySQL locks the table completely whilst it does the ALTER TABLE statement. Most of this time is spent in physically copying the table, which is why it is recommended you put all your necessary changes together in the one ALTER TABLE statement. There are several approaches to mitigating this problem on a live datab... | 2 | 2 | 1,515 | 2009-10-25T22:10:30.217 | database_errors | serverfault.com | |
273,771 | Cisco NAT failing on 3700 series | I recently fubared the public interface to an SSH connection. I'm trying to set up a NAT that will forward to the [CODE] interface with a local address. The set up is a cisco 3750 -> 3560 switch -> servers. All hosts are pingble via the router. The NAT is being set up similar to this: [CODE] With [CODE] I can see the m... | The Cisco 3750 does not support NAT . | 0 | 1 | 743 | 2011-05-25T08:57:29.363 | infrastructure | serverfault.com | |
691,319 | Why can't I capture AWS EC2 CLI Output in Bash? | I am trying to capture the output of an [CODE] in a Bash script command but I cannot get anything to capture the output. I have tried [CODE] , [CODE] etc. but when I try to echo [CODE] there is nothing there. Here is some example output. [CODE] I need to automate creation and deletion of snapshots, but I can't capture ... | The [CODE] operator only redirects [CODE] ("standard output"), or "file descriptor [CODE] ". Error messages are usually printed on a different file descriptor, [CODE] , [CODE] , ("standard error"). On your terminal screen, you are seeing both [CODE] and [CODE] . The [CODE] operator is really more just a shortcut for [C... | 9 | 13 | 20,644 | 2015-05-12T05:36:07.763 | infrastructure | serverfault.com | |
58,009 | How can I search a column in MySQL containing unix timestamps with a query referencing a different format? | I have a mysql table that contains something like: [CODE] FOOTIME uses unix timestamp. I want to run a query that essentially says "how many rows contain foo time older than January 1st 2012? I thought I'd want to do something like [CODE] but that didn't work. What am I missing? | Try this: SQL code: [CODE] Sample data: [CODE] SQLFiddle demo | 0 | 1 | 5,224 | 2014-01-31T19:24:42.187 | database_errors | dba.stackexchange.com | |
152,792 | Catching unresponsive / high load mysql, perhaps with monit? | I'm having intermittent occurrences of mysql causing high load on the machine, making the web app unavailable. I'm using monit to monitor it, but it doesn't catch the issue, apparently because it can still connect to mysql. Here's my monit script for mysql: [CODE] When the issue occurs load on the machine is high with ... | Check the processlist via the MySQL client. ( [CODE] ) From that point, you can isolate where the query is running and whether optimization is necessary or if it should be stopped. From that point, you can [CODE] to terminate the problem connection as opposed to restarting MySQL. Restarting something that is already ru... | 0 | 3 | 922 | 2010-06-19T16:15:03.177 | database_errors | serverfault.com | |
193,521 | How to make support for bindings for a scripting language | Main I'm making a scripting language using C++. I plan to use it with a simple test game editor. But I have to make a support for bindings to call game engine's nodes' methods to update positions, rotations, etc. What are the main approaches for this? The game engine I plan to use also supports lua, so maybe I can also... | I think the better search term for this might be "bridge", have a try with that. The simplest approach is to use a C function to dispatch from the scripting language into your engine. Imagine a function [CODE] ; if you can write the scripting language engine such that it can call [CODE] with arbitrary arguments, you ca... | 6 | 1 | 1,831 | 2013-04-01T07:38:32.887 | api_errors | softwareengineering.stackexchange.com | |
1,059,653 | Exchange 2013 and 2010 coexistence - OWA Premium UI touch layout does not automatically load on mobile devices | As an interim migration step, that will last at least for a year, I have an Exchange 2010 server co-existing with an Exchange 2013. Both fully updated with latest Windows and Exchange updates. After moving the DNS namespace to the new Exchange 2013 CAS I was doing some tests with a test mailbox named "xch2013setup" pla... | Seems OWA premium version not compatible with those Android browsers (which all use the same underlying rendering engine of Android hence the same results for each). This thread ends with same conclusion: https://community.spiceworks.com/topic/1301372-exchange-2013-2007-coexistence-oddity-with-owa-on-android For an ove... | 0 | 1 | 123 | 2021-04-07T16:42:09.917 | infrastructure | serverfault.com | |
840,046 | Why is there no php.ini file when I install PHP in a docker container? | I'm using [CODE] to setup a minimal [CODE] + [CODE] application but for some reason there is no php.ini file on the docker container (I know because [CODE] says [CODE] ). Here's my [CODE] file: [CODE] [CODE] is pretty straightforward as well: [CODE] And finally I have the most basic [CODE] possible: [CODE] I really don... | The container also has [CODE] and will read and parse every configuration file in that directory. Notice that it will still say [CODE] , but that it will also say [CODE] and there you will see it walking through that directory ... and the various files that the container puts there: [CODE] . (So it's rather misleading ... | 6 | 4 | 34,600 | 2017-03-23T02:30:55.670 | pipeline_ops | serverfault.com | |
404,175 | How can I lock a SQL Server Login programatically. Emulate a users invalid attempts | I need to programatically lock a SQL Server Login. The goal is to emulate the automatic function in SQL That will lock out a user that makes several connection attempts with a bad password. I can easily unlock a login, but I need to lock it as well. I have tried looping through 20 times with a vb.net sqlConnection that... | How about just scripting our a sqlcmd request? Seems like you could easily create a script that calls some resource on the server very quickly and very often to do this. | 0 | 0 | 121 | 2012-07-02T20:24:01.250 | database_errors | serverfault.com | |
432,746 | Is publishing to the same event store stream from multiple places an anti pattern in a distributed transaction? | Below is a little context to the problem I'm trying to solve. There are two separate microservices with separate frontends , APIs and databases. Customer Microservice - Manages customers Orders Microservice - Manages orders Orders table has a dependency on customers and so in Orders Microservice database customer schem... | Presumably, you would never want an Order without a customer , but, you might have a customer without an order ? In which case; you can make it two separate calls. Create the customer (raise the CustomerCreated event) Listen for the CustomerCreated event in your Orders service and create a customer record When the orde... | 0 | 1 | 209 | 2021-10-16T09:17:41.860 | data_quality | softwareengineering.stackexchange.com | |
477,401 | SSHd not logging Failed publickey attempts | On Debian Squeeze I have sshd set up to not permit password logins and require key based authentication. I notice that when I attempt to log in from the WAN into my box with a bad SSH key, I do not get the "Failed publickey...." message in auth.log. I only get "Connection from...." logged and that's it. When I log in f... | I generally recommend increasing the default logging for sshd.The default loglevel is INFO, which gives you some minimal levels of information, but certainly not all. I recommend cranking that up to VERBOSE which will give you such events as the fingerprint of the key used for authentication, a log message when the use... | 2 | 5 | 3,430 | 2013-02-10T18:32:37.870 | api_errors | serverfault.com | |
268,475 | Monitor freeradius for failed login attempts and trigger email to user | We have 2 freeradius authentication servers which service around 12k users. Users often enter incorrect credentials and this causes significant strain on the helpdesk. I'd like to write a script to monitor the radius logs for authentication failures (or alternatively the mysql postauth table) and then lookup the custom... | You could try using perl in Post-Auth-Type REJECT [CODE] references Freeradius FAQ , Post-Auth-Type docs , rlm_perl . | 1 | 2 | 2,802 | 2011-05-11T08:01:41.057 | api_errors | serverfault.com | |
40,598 | How to tune parameters for Time Series Analysis, when forecasting is only dominated by one feature and error is not getting reduced? | I am trying to predict time series based on 150 features. When I plot correlation of these features, I am getting 20 features with more or less importance but every model I use, it is completely dominated by only one feature which is competently in sync with predicted output but not actual output . Please refer to the ... | The current method of XGboost and tree ensemble appears to not be closely modeling the actual times-series pattern. It might be better to use times-series-centric algorithms like AutoRegressive Integrated Moving Average (ARIMA) or Long Short Term Memory (LSTM). | 3 | 1 | 475 | 2018-11-02T01:34:44.240 | data_quality | datascience.stackexchange.com | |
80,191 | Overfitting while fine-tuning pre-trained transformer | Pretrained transformers (GPT2, Bert, XLNET) are popular and useful because of their transfer learning capabilities. Just as a reminder: The goal of Transfer learning is is to transfer knowledge gained from one domain/task and use that transfer/use that knowledge to solve some related tasks. This is done by training a m... | What makes you think your model is overfitting? Are you concerned about the difference between the training loss and validation loss? If so, this is not overfitting. Overfitting is when the weights learned from training fail to generalize to data unseen during model training. In the case of the plot shown here, your va... | 4 | 4 | 9,956 | 2020-08-12T18:03:26.737 | data_quality | datascience.stackexchange.com | |
862,014 | Disappearing Hard Drive Space - Server 2012 R2 - Exchange 2016 | I have an issue that hard drive space appears to be going missing on my Windows Server 2012 R2 DataCentre virtual machine running Exchange 2016 CU5. By "missing" I mean that the amount of free space as reported by explorer for the drive (20.1Gb) is wildly different from the value I get by taking total hard drive size (... | Are you sure that its not caused by the Volume shadow copy (VSS) as reported here ? It sounds like exactly as written in that article here . So please check with: [CODE] If you see the missing space here. | 3 | 4 | 5,303 | 2017-07-13T15:06:55.047 | infrastructure | serverfault.com | |
273,317 | MySQL seek-method / keyset pagination? | I am trying to change the pagination from OFFSET, LIMIT to keyset pagination. My problem is, the resultset consists of several groups ( [CODE] ) ordered by [CODE] . I added a fiddle, see http://sqlfiddle.com/#!9/62a380/10 . Query to get the results [CODE] Resultset [CODE] To paginate through the results I use [CODE] Pr... | You effectively have a 2-column ordering. So, when "remembering where you left off", you must include both columns. Then, the [CODE] becomes more complex. I discuss that in a couple of places: Should I store data pre-ordered rather than ordering on the fly? http://mysql.rjweb.org/doc.php/deletebig#iterating_through_a_c... | 1 | 0 | 1,447 | 2020-08-06T10:44:19.693 | database_errors | dba.stackexchange.com | |
524,477 | Options ExecCGI is off in this directory: /var/www/index.py | I have looked at alot of posts with a similar question but none seem to work for me i have the following /etc/apache2/httpd.conf file: [CODE] When i try to access the homepage as : just the host name: http://exampleHost.com i get the following error on the error log: [CODE] but when i go to http://exampleHost.com/index... | I had to modify the follwing file: [CODE] Changed the /var/www directory to inlcude the +ExecCGI and AddHandler like so: [CODE] | 6 | 1 | 42,562 | 2013-07-18T17:08:36.683 | infrastructure | serverfault.com | |
509,672 | Server crashes Sundays at 6 a.m. - out of memory | I have a weird problem: Every Sunday at 6 am my LAMP server crashes. Looking at the logs I see about 500 apache2 processes at the time (this is a test server without any load - especially not at 6 am) The syslog states the following: [CODE] It seems that the server is running out of memory thus killing some processes. ... | The problem was that the settings for Apache contained [CODE] which led to a server load >>10 the whole time on a single core test server. | 4 | 2 | 1,227 | 2013-05-21T19:55:23.437 | api_errors | serverfault.com | |
141,535 | Optimal Database design regarding functionality of letting user share posts by other users | I want to implement functionality which let user share posts by other users similar to what Facebook and Google+ share button and twitter retweet. There are 2 choices: 1) I create duplicate copy of the post and have a column which keeps track of the original post id and makes clear this is a shared post. 2) I have a se... | It's the classic "link vs copy". I reccomend making a duplicate copy. Although "duplicate" may not be the correct term since you are sharing a snap shot of time. It's "unique" with regard to that context. For example if you have a history table you want to store copies of the data, not foriegn keys. With a history you ... | 0 | 5 | 760 | 2012-03-26T12:51:23.597 | data_quality | softwareengineering.stackexchange.com | |
317,087 | Why is MySQL suddenly getting a lot of queries in a "Waiting for table flush" state? How can this be fixed? | Recently my database started, several times a day, to get stuck with a lot of queries in a [CODE] state. Usually there's a very long query in execution that when killed unlock the other queries. We don't execute automatically [CODE] , [CODE] , [CODE] , [CODE] , [CODE] and [CODE] commands that could cause a flush. The t... | After further debugging the issue with the provider, as suggested by @RickJames , I found out that they executed an hourly cron that analyzed every table and was the cause of the flushes. I wasn't able to view this queries in the PROCESSLIST because they were executed with an administrative account. Thanks all for the ... | 2 | 2 | 561 | 2022-09-19T09:03:14.623 | database_errors | dba.stackexchange.com | |
38,733 | Communication vs. Technical skills ,how to choose in a given hiring QA position? | Context : As been involved in QA hiring positions from last couple of years in different companies, I have been seeing the trend as QA is getting more and more technical.Now it is reaching to a point where line is getting blurred between QA & Developer in teams working on cutting edge technologies.On the other hand com... | It depends, mainly on the current skill gaps of the team. I would map them, before you make an decision. You could try the Agile Skills Project as it covers all needed skills for a software engineering team. Technical skills are becoming more important for Testers. I believe we can teach technical skills to everyone wh... | 5 | 3 | 393 | 2019-04-14T13:30:11.767 | data_quality | sqa.stackexchange.com | |
289,246 | How common are encrypted connections between email servers? | [CODE] On the route from sender to server, and server to receiver, encrypted connections (STARTTLS, etc) seem to get more and more common. All major freemail providers and email programs offer encryption meanwhile. But what about the connections between/among the various email service providers? Do they use encrypted c... | I do this every day. When you work in healthcare you encrypt everything. We have clients that insist that we move email to them TLS only AND require that our mail filters in the DMZ must use TLS to talk inbound to our main server. About 50% of our (legit) email comes and goes TLS now since more and more high-end server... | 3 | 4 | 288 | 2011-07-11T23:28:47.930 | infrastructure | serverfault.com | |
991,865 | How to use splatting to pass parameters to commands in PowerShell inside DOUBLE QUOTES | I'm trying to deploy a Windows Service using msdeploy.exe. In here I'm using hashtables to make it clear and readable. For this example, I use the following variables [CODE] # Hashtable for the windows service [CODE] In order to make sure I can get correct values using the splatting operator, I used the following comma... | You can't pre-expand a splat variable inside a string. It's directly interpreted by the PowerShell command parser. Also, the command you are sending to msdeploy is ultimately starting its own PowerShell session. So if you want to use a variable (such as a splat variable), it has to be defined within the code you've wri... | 1 | 0 | 1,246 | 2019-11-14T16:13:08.063 | infrastructure | serverfault.com | |
606,762 | Unable to Run WCF Services (.SVC) on Windows Server 2012 | I got a server with windows server 2012; however, I was unable to run svc files with it. I was able to run asmx files on it. I decided I wanted to figure out how to run svc files. I tried the the contents of this link : http://msdn.microsoft.com/en-us/library/ms732012(v=vs.110).aspx However, that did not fix my problem... | I think you will want to reinstall IIS completely, then when you are installing the web server features, be sure to enable WCF Services | HTTP Activation as @Michelz pointed out. | 3 | 4 | 14,294 | 2014-06-20T13:15:34.093 | hadoop_errors | serverfault.com | |
373,633 | Programming cleanly when writing scientific code | I don't really write large projects. I'm not maintaining a huge database or dealing with millions of lines of code. My code is primarily "scripting" type stuff - things to test mathematical functions, or to simulate something - "scientific programming". The longest programs I've worked on up to this point are a couple ... | This is a pretty common problem for scientists. I've seen it a lot, and it always stems by the fact that programming is something you pick on the side as a tool to do your job. So your scripts are a mess. I'm going to go against common sense and say that, assuming you're programming alone, this is not so bad! You're ne... | 172 | 164 | 25,863 | 2018-07-06T00:56:09.520 | api_errors | softwareengineering.stackexchange.com | |
1,080,787 | my nextcloud server uses too much RAM (apache) | I'm using Apache with following configuration: [CODE] Then this is my external.conf (where the traffic from varnish's gonna be encrypted): [CODE] This is internal.conf: [CODE] Please note that I didn't include comments or like log-settings here When I download anything using the web browser the apache server's using mo... | Disable Modsecurity body-scanning and bypass the varnish cache for downloads Here's an issue: https://github.com/varnishcache/varnish-cache/issues/2964 | -1 | 0 | 626 | 2021-10-17T08:17:02.510 | database_errors | serverfault.com | |
653,361 | ASA is not forwarding packets to egress interface | We are seeing some very strange behaviour from our Cisco ASA 5505 running [CODE] We have a SIP PBX inside our network. It's got a bit of an odd configuration, it listens for inbound SIP requests for our trunk on [CODE] . So in our ASA, I have a Port Forwarding from [CODE] to [CODE] on our outside interface. 90% of this... | So, not entirely helpful here, but we have replaced that ASA with a Mikrotik router and this issue has gone away. It's clearly some sort of bug or issue with the Cisco ASA, but I've basically got fed up with these small ASA's and started replacing them. | 0 | 0 | 1,006 | 2014-12-18T00:40:22.570 | infrastructure | serverfault.com | |
58,434 | Why my Keras CNN model isn't learning | My project have to decide if a image is 'pdr' or 'nonPdr', and I have 391 images (22 of PDR class, and the 369 of nonPdr).. In my first model i was trying this: https://stackoverflow.com/questions/57663233/my-keras-cnn-return-the-same-output-value-how-can-i-fix-improve-my-code .. and my return was always the same... No... | It seems that you have an output size of 2 in your final layer, while you should rather have size 1 (because of your sigmoid output and binary cross entropy loss). Also, don’t use the [CODE] transformation as you only have two classes so no need to one-hot encode. Try to change this and see if training improves. | 0 | 0 | 55 | 2019-08-30T18:17:43.963 | data_quality | datascience.stackexchange.com | |
1,070,056 | How to add missing property to AdminSDHolder | I am trying to delegate permissions for a service account to modify a single extended property on active directory user accounts. The property is [CODE] . Our AD user objects have this property, and so it is easy to delegate the proper permissions at the OU level. However, protected user accounts (such as domain admins... | In order to do this I had to use the Active Directory Schema MMC. Once open, navigate in to [CODE] and then right-click [CODE] . Choose, [CODE] . Under the [CODE] tab, [CODE] the missing attribute/property and apply. Close and re-open Active Directory Users and Computers, and the [CODE] object will now have the new att... | 3 | 3 | 494 | 2021-07-19T20:53:14.460 | infrastructure | serverfault.com | |
280,871 | do a sum for each entry in table | i got two tables a and b table a contains some names like cobol, php, cmd and a refnumber name ref Cobol 1 php 2 cmd 3 ... table b contains multiple projekts where i used one of table a like year, mm, and a reference to table a that means f.e year mm ref 1982 8 1 1982 4 2 1983 5 3 1983 1 1 1982 6 3 1994 12 1 1995 12 2 ... | Something like the following (untested) should do what you want: [CODE] | 0 | 1 | 48 | 2020-12-04T05:31:38.260 | database_errors | dba.stackexchange.com | |
215,813 | php-cgi memory usage higher than php's memory limit | I'm running apache with a worker MPM and php with fastcgi. the following are my mpm limits: [CODE] I've also setup my php-cgi with the following: [CODE] I'm noticing that my average php-cgi process is using around 200+mb of RAM, even as soon as they are started. However, my php memory_limit is only 128M. How is this po... | There are instances where PHP can exceed the configured memory limit (memory malloc'ed directly in extensions) however I suspect this may not be the case. I'm noticing that my average php-cgi process is using around 200+mb How did you measure this? Most of the TXT segments will be shared - so actual memory usage is a l... | 0 | 1 | 2,682 | 2010-12-23T22:48:37.030 | infrastructure | serverfault.com | |
816,354 | ansible hash summ of vaiables | Help please, the second day can not solve the problem. I need to add checksum sha1 in file that is created from a template Example: {{ item.some_var1 | hash('sha1') }} - work fine But when I'm trying to get something like this {{ item.some_var1 'some_string' | hash('sha1') }} - not work {{ item.some_var1 item.some_var2... | Not sure what you want to achieve, but probably this would help: [CODE] | 0 | 0 | 179 | 2016-11-22T15:27:27.037 | pipeline_ops | serverfault.com | |
103,169 | dedicated server windows 2003 with HELM, or 2008R2 64 without | Thinking about getting a new dedicated server, having played with a shared solution and not very happy with it I am going to go back to dedicated For the same amount of money I can get either a windows 2003 32bit server that comes with the helm control panel, versus windows 2008R2 64bit without the helm control panel (... | Go with the 2008 box. It's newer tech 64bit = good While Helm is one of the more stable packages I've used, nothing beats being able to control it yourself! (IMHO) 2008/IIS7 supports much of your app environment out of the box, or with minor tweaks | 0 | 1 | 88 | 2010-01-15T19:29:20.643 | pipeline_ops | serverfault.com | |
22,297 | UDF in check constraint -- downside? | I have a table where all actions affect single rows (insert and update, no delete's but if there were, they would be individual as well). I'm considering using a UDF in a check constraint so I can make sure that a field value is only used in combination with another value (two FK's, the first time A=1 is used, B=x beco... | You can store A and B columns in a separate table. Make sure your table has a primary key on A, and a unique constraint on (A,B) Refer to (A,B) from your table. The primary key on A will guarantee only one B per A. The foreign key without ON UPDATE CASCADE will make sure B does not change as long as the row is referred... | 2 | 5 | 1,299 | 2012-08-10T16:25:41.770 | data_quality | dba.stackexchange.com | |
355,669 | Apache becomes unresponsive on Sundays | For some reason, most Sundays around 5-6AM local time Apache is not working properly. I can't find the reason, and I'm stuck troubleshooting. I'm running Magento on Apache2 with an SSL certificate, and around that specific time random pages stop functioning resulting in no orders being placed. Sometimes it's the catego... | Not quite a programming problem, but there's this [CODE] which indicates Apachex is trying to take on more requests (at once) than it's configured for. Upping this number may be a good idea. There's also these two lines [CODE] Which indicate someone is upgrading server packages, which may interfere with performance of ... | 1 | 1 | 2,117 | 2012-01-30T16:26:33.490 | api_errors | serverfault.com | |
1,091,147 | UDP Packets Lost (Ubuntu 18.04 into Windows 10) | I am trying to send UDP packets from Linux machine (Ubuntu 18.04 ) to a windows 10 machine. But the packets are not received at the Windows machine. I have already send UDP packets from Windows 10 to Linux machine and was successful. I have wireshark installed on both machines to debug. Pings are working from Linux to ... | The problem was due to active Symantec End Point Protection. So created an exception rule for the respective Sender IP address and everything works fine | 0 | 0 | 432 | 2022-01-25T20:44:58.007 | infrastructure | serverfault.com | |
317,151 | Ambient dependency injection through static service locator | After some googling I found some debates about whether constructor injection or property/field injection is better, but there is yet another alternative that strikes me as more beneficial. In most programming environments, there is something called "the call context", which is information implicitly passed from caller ... | Are there any other objections? Are there any legitimate, real-world reasons why DI with a static/global service locator would be bad? Ugh, yes. Statics/globals are horrible. They assume that the runtime of your application is homogenous - all of your instances require all the same sort of instances all over. That is n... | 8 | 5 | 2,104 | 2016-04-29T16:49:56.317 | api_errors | softwareengineering.stackexchange.com | |
285,797 | How to write and read files from client machine SQL Server 2019 | I need to prepare a stored procedure which export as many files as many tables I have in schema, but files need to be written on local machine on specific path e.g. C:\Temp\ not on SQL Server destination. When file exists it should be overwritten, if not simply created. I need also read from local files: with parameter... | I'd like to emphasize point 3 in J.D's post. This is something you definitely want to do outside of SQL Server, if at all humanly possible. That "outside of SQL Server" could be things like SSIS, Powershell, something you write in your favorite programming language (C#, python), some client app, etc. | 1 | 1 | 1,943 | 2021-02-22T12:34:35.527 | database_errors | dba.stackexchange.com | |
1,045,394 | passing real IP address from one nginx instance to another and writing it in the logs | Moving a request to my internal nginx server I add to the call: [CODE] when I try to print this value in the log the internal nginx the container crashes: [CODE] What am I doing wrong? (I also tried with "" around the variable, it didn't help.) | The server receives [CODE] as one of the headers in the HTTP request. Nginx makes each of the request header values available as a variable. The variable name for http request header values begins with [CODE] . The header name is converted to lowercase, and each hyphen is replaced with an underscore. For example [CODE]... | 2 | 3 | 5,350 | 2020-12-08T09:42:08.867 | pipeline_ops | serverfault.com | |
224,511 | Duplicate Ips for cluster nodes causing backup issues | We have a four node cluster (SQL Server 2014 on Windows 12) and we recently setup heart beat network on the nodes following a best practices source after experiencing some cluster instability issues. Ever since a couple of secondary nodes are returning multiple IPs in the DNS. We have removed the entries from the DNS s... | We have a four node cluster (SQL Server 2014 on Windows 12) and we recently setup heart beat network on the nodes following a best practices source after experiencing some cluster instability issues. Health checking goes across any available interface, some interfaces have metrics lower or higher than others but the lo... | 0 | 2 | 540 | 2018-12-09T18:33:36.730 | data_quality | dba.stackexchange.com | |
29,943 | How to determine the collation of a table in PostgreSQL? | I want to script a check of the collations used on my tables in PostgreSQL, but googling for [CODE] is not working well for me, and the documentation is not making this an easy search. Can anyone tell me how I would check this? | To check for non-default collations on columns, you can use the following query: [CODE] To find the collation of the database, you need to query [CODE] : [CODE] Here are the relevant pages of the PostgreSQL manual: http://www.postgresql.org/docs/current/static/infoschema-columns.html http://www.postgresql.org/docs/curr... | 38 | 50 | 52,826 | 2012-12-06T17:02:48.230 | database_errors | dba.stackexchange.com | |
95,987 | Network Restore of OS to Non-System Drive - is it possible? | I've got an intriguing goal with an equally intriguing problem to overcome: how to restore an OS to a set of blank disks attached to a running computer. This computer is running the very OS I want to restore to the blank disks, and I when the restore is complete, I want to be able to bring the new disks online as if no... | I don't think you're going to get what you want with the method you're proposing. Switching the type of disk controller that Windows 2003 boots from hasn't been tremendously reliable in my experience. Backup Exec also isn't going to write out the bootloader bits necessary to make these disks bootable when you restore o... | 0 | 1 | 126 | 2009-12-20T00:41:13.293 | database_errors | serverfault.com | |
80,063 | "Could not insert a backup or restore history/detail record in the msdb database" While restoring msdb | Today I found msdb database was in suspected mode, so I restored MSDB from my latest backup(As I have daily backup for this database). When I restore the MSDB database using Tsql i got below errors, but database restore was successful. [CODE] But after restore I found that SQL server instance is running proper and all ... | Violation of PRIMARY KEY constraint 'PK__backupse__21F79AAB0E391C95'. Cannot insert duplicate key in object 'dbo.backupset'. The duplicate key value is (60979). This might happen if someone have done a reseed on the [CODE] . From table definition : [CODE] --> [CODE] --> [CODE] To fix that error : [CODE] Now run [CODE] ... | 3 | 2 | 3,824 | 2014-10-13T13:02:52.670 | database_errors | dba.stackexchange.com | |
125,650 | Virutal Machine loses network connectivity on Hyper V Cluster | We're running a number of VMs on a 6 node failover cluster of blades using Hyper V. We have an intermittent issue (every few days at different times - not a fixed frequency) of VMs losing network connectivity. Console access to the VM suggests all is fine and the underlying blade has normal connectivity. To resolve the... | Not the ideal answer that I'd hoped for but in this case it worked for our set-up... We took the affected VMs out of the cluster, removed the NICs and then re-created them. In conjunction each blade was pulled from the cluster and had all drivers updated before they were pulled back in. The loss of connectivity problem... | 5 | 0 | 10,174 | 2010-03-24T09:02:55.793 | database_errors | serverfault.com | |
437,345 | Not possible to extract tar.gz archive in Centos | I have just uploaded tar.gz archive to my Centos server from my home Windows 7 computer. Before that, it was extracted from .zip archive. When I try to extract it: [CODE] It always give me error: "not in gzip format" The archive is not corrupted, because it is possible to extract it in Windows with Winrar. The archive ... | Are you sure you transferred the file from Windows to Linux in BINARY mode (if using FTP)? Otherwise: If under linux system to extract files from the archive, use this: [CODE] This will both UNgzip and UNtar the files and directories. | 0 | 2 | 4,073 | 2012-10-11T15:00:49.077 | data_quality | serverfault.com | |
449,474 | Service networking restart not working on ubuntu | This one has been cracking my head for quite a bit and I can't seem to find a decent answer for it, hoping you guys can shed some light to it... [CODE] When i reboot the machine i'm able to have the correct ip addresses [CODE] However when I change anything on the networking file i can only get it to apply by doing a m... | Old question, I know. But to answer anyway: you cannot have two default gateways. That's where the [CODE] error comes from when issuing [CODE] and [CODE] . Remove the [CODE] line from either eth0 or eth1. And more general: [CODE] or [CODE] were never really supported and are not guaranteed to work correctly. The suppor... | 1 | 2 | 2,581 | 2012-11-16T15:51:17.657 | infrastructure | serverfault.com | |
962,201 | php72-php-fpm failed to start | I have two versions of PHP on my CentOS 7 Apache server: 5.6 7.2 It was working but now I'm getting some weird errors that I can't decipher or use to debug. Doing: [CODE] showed me this: [CODE] Running: [CODE] Showed: [CODE] and [CODE] Showed nothing to do with the service. How do I go about debugging and fixing this? | From pasted error, you have installed oci8 extension without having oracle library (version 18.3). Install the library from Oracle site , and fix LD_LIBRARY_PATH for FPM. You can either global set linker path (will work all SAPI) [CODE] Or Set FPM service environnement (only for FPM) [CODE] And add a Environnement dire... | 0 | 2 | 14,313 | 2019-04-09T11:38:17.340 | infrastructure | serverfault.com | |
735,629 | Azure NAT blocking connections | When I try to connect to a port on the public IP address of a node, 50% of the time Azure doesn't respond and nmap marks it as "filtered". When I try to connect to the same port from the node using localhost, it works 100% of the time. I see this behavior consistently on Azure, and never on AWS & DigitalOcean. Any thou... | Closing this for now as at the moment this issue is confounded by a DC-wide networking issue. I'll delete this if I can repro after this issue has been resolved. Network Infrastructure and Storage - East US 2 - Partial Service Interruption 24 mins agoStarting at approximately 16:40 UTC on 11 Nov, 2015 engineers are inv... | 0 | 0 | 446 | 2015-11-11T17:43:27.290 | infrastructure | serverfault.com | |
762,969 | I get other website's tls certificate when visiting my website | i have a weird issue while visiting my website using https... I can't track how often this happens, but sometimes T get a TLS certificate of another website.... and the browser warns me that the certificate is fake. however I set the certificate using "let's encrypt" and there shouldn't be any problem with that... I re... | Your certificate is for the root domain only, it doesn't include the www domain. You have a server listening for https connections on the www domain that is using a certificate that's not valid for the www domain, which causes a certificate warning. You will get a certificate warning when you go to https://www.doctoric... | -3 | 3 | 68 | 2016-03-10T17:57:09.143 | infrastructure | serverfault.com | |
38,069 | Sonicwall VPN only working for one remote subnet | We have acquired a small company which uses a Sonicwall PRO 1260 firewall and I have configured a Site-to-Site VPN tunnel from the Sonciwall to our Cisco ASA firewall. Behind the Cisco ASA firewall I have 8 different subnets. I have configured the VPN connection on the Sonicwall to use an Address Object Group which con... | Do you have each of the subnets in question defined as VPN subnets in the Sonicwall network object configuration? If you have them classified as LAN or WAN, then your "LAN to VPN" rules won't apply to them even if you have them defined in the VPN tunnel. I'm not sure if this applies to the model you have (ours are TZ17... | 0 | 1 | 7,059 | 2009-07-09T02:16:44.990 | infrastructure | serverfault.com | |
403,866 | Sequence diagram: explicitly show websocket creation? | I am trying to draw up a sequence diagram to show how my web client will interact with my backend over a websocket connection. I am using a websocket middleware to manage the stream connections. What is the best practice of sequence diagram in this case? Should I include the stream creation in it? Or it is simply showi... | The diagram should fit your purpose. The "best" practice therefore depend on your intentions and your focus: Is it a high-level design model to show the responsibilities of your core classes? Then, focus on the core interactions between [CODE] and [CODE] . Is it a detailed design for implementing a complex communicatio... | 1 | 4 | 1,566 | 2020-01-16T02:16:56.037 | api_errors | softwareengineering.stackexchange.com | |
150,428 | Can a Key Preserved Table have a Composite Primary Key, on Oracle db? | I'm trying to create an updatable view. I understand that the db must be able to identify one single row that I'm trying to update. I believe I satisfied this requirement. There are no aggregates. Each row in the view has a 1-to-1 relationship with rows in the source table which I'm trying to update ( [CODE] below). Bu... | The problem is that we know that the join will produce only 1 row (and no more) in the view for every row in [CODE] but Oracle doesn't. As described in OraFAQ: Updatable Join Views (emphasis mine): Clearly the view cannot contain DISTINCT, GROUP BY, CONNECT BY, aggregate functions, UNION, INTERSECT, or MINUS clauses: s... | 2 | 2 | 397 | 2016-09-22T17:25:57.650 | database_errors | dba.stackexchange.com | |
676,550 | Configure Sympa: Command output usage error | I have a problem on configuring Sympa. I've created a new list [CODE] , but when I try to send mail to this list, I get an error in my maillog: [CODE] Can anybody tell me what command argument Sympa needs? I have configured [CODE] and [CODE] . Every member that subscribed to this mailing list gets mail. In [CODE] I hav... | I've tried to reproduce your case, but I wasn't successful. Based on your maillog lines [CODE] Postfix piped email to [CODE] because of [CODE] parameter instead [CODE] . To debug further you can do this step Create file [CODE] with content [CODE] it will echo all arguments. Set appropriate permission [CODE] Change [COD... | 1 | 1 | 782 | 2015-03-18T20:58:05.420 | infrastructure | serverfault.com | |
262,499 | Cisco port not forwarding | I have a Cisco 3750 stack. When I try and ping a device connected to one of the interfaces, the output packets counters on the interface do not increase. The input packets counter on the interface is increasing however (irrespective of whether I'm pinging the device). None of the error counters are increasing, and I am... | I wouldn't be terribly concerned about the output counters not incrementing - cisco always has "interesting" counter bugs. Try unshutting VLAN1, sometimes it is shutdown by default. | 0 | 1 | 391 | 2011-04-22T10:57:56.760 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.