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 |
|---|---|---|---|---|---|---|---|---|---|---|
9,783 | Logging/profiling an unpredictably slow stored procedure | I have a stored procedure that sometimes runs significantly slower than others. I have two different timers measuring the execution time at different scopes. One is in the client code, measuring only the OCI execute call. The second is inside the PL/SQL procedure itself, timing the inside of the procedure's main block.... | The simple answer is that [CODE] is CPU time not wall-clock time . The client was using wall-clock time and the discrepancy was an entirely normal difference between CPU time and wall-clock time. (See http://en.wikipedia.org/wiki/CPU_time for an explanation.) When using [CODE] instead, PL/SQL timings matched the client... | 3 | 2 | 2,005 | 2011-12-27T20:52:25.903 | database_errors | dba.stackexchange.com | |
853,157 | AWS EC2 instance cannot ping certain address | I have encountered strange problem when I was deploying our application to AWS (more precisely Elastic Beanstalk which is based on EC2). We are using certain VOIP provided whose address is [CODE] . Application works normally on localhost (even on different hosting) however on AWS it fails to connect to this address. I ... | That server doesn't respond to ping requests. Ping uses ICMP which many servers block at the firewall. A bit more background: ping runs over ICMP ( read this article ), which is different and separate from the TCP protocol that http/https run over. There's generally very little to gain for a website to allow people to ... | 0 | 1 | 4,104 | 2017-05-31T08:27:11.163 | database_errors | serverfault.com | |
15,574 | Docker performance when running on LVM | It seems that when using overlay2 storage driver, docker is much slower when using a LVM compared to without a LVM (ext4 filesystem in both cases, same machine). Questions: Is this intended/expected? Is a LVM a recommended setup for docker usage? Is it worth to try other storage drivers (e.g. devicemapper with direct-l... | I'm not an docker expert, just responding from my experience and limited knowledge. It's expected, yes. That's a matter of opinion. I'd say no, but that's very subjective. Yes. https://docs.docker.com/storage/storagedriver/device-mapper-driver/ | 2 | 0 | 308 | 2022-03-07T14:41:15.550 | pipeline_ops | devops.stackexchange.com | |
644,681 | Server 2012 Can't Ping Local Network | I have four Windows Server 2012 servers hosted on ESXi 5.5. The first one is the firewall box with two network adapters. One with an external connection to the internet, that is shares its connection with the second internal network adapter with no external connection. The other three servers are only on the internal n... | Open file explorer, and then click network. Along the top something should pop up saying something along the lines of network discovery is not enabled, click here to enable it. Click that, and choose the yes enable network discovery public network option (There's only two options yes or no) This should resolve both the... | 1 | 3 | 22,202 | 2014-11-16T02:35:39.653 | infrastructure | serverfault.com | |
1,115,085 | NGINX 302 redirect / proxy | I have an icecast server that runs on port 8000 however when I set up a proxy using NGINX I seem not to be able to make it look like it is the original server. I am wondering is there anyway to kinda like make a NGINX that is parked and pointed at port 8000 but allow traffic from port 80 [CODE] I have also tried [CODE]... | There have been previous questions on this topic Generally it is not recommended to reverse proxy Icecast as it is very hard to cover all bases and make things work correctly. Things can break in subtle and unexpected ways. That said, someone has posted their NginX setup to StackOverflow , but again this is very much n... | 1 | 0 | 683 | 2022-11-08T05:38:14.103 | infrastructure | serverfault.com | |
404,681 | Is there any type of development platforms for systems which have both electronic and mechanical components together with software components? | I am starting to work in a company. In this company, we have a set of products. These products are inherently related and have many shared functionalities and parts. Each of our products consists of a number of components. Types of these components are small software code, electronic boards, and mechanical pieces. Afte... | Sharing my personal answer for getting started. It won't answer all of your question. It is too broad for a post. Even combining with hardware, it is still a kind of version control. Electronical design is rotaing slower than software I'd suggest don't take the combination as a "version". Taking care of each control so... | -2 | 1 | 75 | 2020-02-04T14:25:23.353 | api_errors | softwareengineering.stackexchange.com | |
222,106 | UNC vs. SFTP vs. SSH for uploading to a Windows server | I understand that UNC (Uniform Naming Convention), SFTP, and SSH are different interfaces (protocols?) that can be used to upload files to a server. But feature-wise, how do they differ? Are there things you can do with one that you cannot do with another? Is one more secure than another? The situation I want to fix is... | Your question is a bit vague. I assume that you mean the Uniform Naming Convention ( Wikipedia ) by UNC. UNC is not a way of sharing files, but just the addressing mechanism for Windows file shares. The underlying protocal that actually transports the data is SMB/CIFS . If you search for information about the Windows f... | 0 | 3 | 3,198 | 2011-01-13T17:27:15.367 | api_errors | serverfault.com | |
639,845 | Script to copy auth keys to remote servers needs password four times | I work on multiple servers through ssh. I have automated the copying of ssh auth keys with the script below. The only problem is it asks for the remote servers password 4 times. How can I change this to ask just once. [CODE] | Remember that SSH on the remote server uses your shell (e.g. [CODE] ) to run the commands. So this will work: [CODE] (Because the commands prior to [CODE] don't read from STDIN, [CODE] gets the input.) | 0 | 1 | 1,962 | 2014-10-27T03:04:59.130 | infrastructure | serverfault.com | |
90,433 | Unable to find how a table is being populated | Using SSMS2014 w/ SQL Server 2008 R2. I have a table that I am trying to find out how and from where data inside it is coming from. (I didn't create the table and am unable to contact the person who did) I've tried the following: RMB on the table -> View Dependencies. Result: This comes back empty. I've tried running t... | Index statistics should tell you when the table was last updated, so maybe it really has been just populated once. Of course you could for example add a trigger to the table to track of someone inserts / updates it, but don't forget to remove it later. | 2 | 2 | 20,745 | 2015-01-28T17:44:42.700 | database_errors | dba.stackexchange.com | |
581,377 | 7zip command line - cannot find code that works with archives | We are in the process of a server move, both to a new host and from a Server 2k8 box to a Server 2012 box. The server in question has a few drives that hold our sites and some utilities. These drives were duplicated exactly during the move. Data, folder structures, and permissions should all be identical. Recently, whe... | Make sure you have the 7-zip command line version installed; it's separate from the GUI. YOu can download it here: http://www.7-zip.org/download.html | 5 | 6 | 24,595 | 2014-03-11T19:28:17.077 | database_errors | serverfault.com | |
402,366 | KB2667402 update fails to install with 0x80004005. Yet it's also showing as installed | I've got 15 Windows 2008 R2 x64 servers that I manage with SCCM2012. I've noticed during my Windows updates reporting that there's two boxes that are showing as 'error' for total updates installed. Digging around, it looks like the update that is failing to install is KB2667402. The Software Centre on the server itself... | This thread looks to have a solution that worked for people. KB2667402 fails with a 8024200D error in Win 2008R2 x64 Had same problem. The update already exists in the list of installed updates. Removed the update and installed it again | 2 | 1 | 18,382 | 2012-06-26T14:42:17.910 | infrastructure | serverfault.com | |
68,131 | New to a project , how to deal with it? | I just joined a team who has been working in a project for over a year and a half, there's a lot of docs to read (specs, requirements etc..) , and project's repository is full of branches and tags also their are a lot of defects and bugs that need to be corrected , so i'm just kind of in a scary situation now. I should... | I wouldn't focus too much on ALL the docs, chances are they won't be uptodate. Pick and choose which ones to look at. Try and get some time with someone with the buisness knowledge, even if it is a dev, they will know the real lay of the land. Get the system running on your machine. Step through the code, figure out ho... | 1 | 0 | 237 | 2011-04-14T14:46:47.557 | api_errors | softwareengineering.stackexchange.com | |
206,607 | Pure C Vector Implementation | I am implementing a vector in C. I am doing this for the fun of programming, for the fun of learning, and for the use of the data structure in later projects. This is not homework. My question is regarding methodology, not necessarily implementation, therefore I am not really looking for a code review. Now, I have read... | Yes, the design of your [CODE] is 'wrong'. Such a vector is usually thought of as a resizeable array, with the associated expectation that, like an array, it directly contains the elements. Your requirement that [CODE] stores pointers to allocated elements breaks that expectation. Storing pointers is inefficient if the... | 6 | 8 | 2,333 | 2013-07-31T03:28:12.077 | api_errors | softwareengineering.stackexchange.com | |
593,678 | Postfix Pipe then forward to original recipient | I may well be on the wrong track here with what I'm trying to do, so I'd appreciate any advice. Is it possible to pipe email to a script (which I have working), and then have Postfix forward it on to its original recipient using transport_maps, virtual_alias_maps or some other Postfix type thing? Looking at the Postfix... | You can use feature always_bcc . Add this parameter in main.cf . [CODE] Then you can put mypipe@example.com to the alias file e.g [CODE] [CODE] Don't forget to postalias the alias file. Note : domain example.com should be a local domains , because pipe must be in local classes domain UPDATE If your case is sender-depen... | 1 | 1 | 577 | 2014-05-07T15:27:30.313 | infrastructure | serverfault.com | |
327,373 | Unable to create SSH login for the EC2 instance | I have created a micro instance in EC2. When I followed to login into instance using putty (I have followed all steps given in amazon to login through putty). It is throwing error "server refused our key". I have created two tags with name admin and root(with different passwords). (I am using same as a users for loggin... | When you launched your server you would have specified an SSH key pair. If you launched an Ubuntu server, that key pair is likely for the [CODE] user. Otherwise it's probably for the [CODE] user. Make sure you have a local copy of that private key on your computer. Using Putty, SSH as the [CODE] or [CODE] user with tha... | 0 | 1 | 756 | 2011-11-02T08:26:45.687 | infrastructure | serverfault.com | |
475,957 | Ubuntu iptables drops ACCEPT:ed packets | I have a Ubuntu server where my SIP proxy server is currently running. I've configured iptables on my proxy server according to following statements: [CODE] And by executing [CODE] i can see that packets, that i have sent from my Jitsi (a audio/video and chat communicator that supports protocols such as SIP, XMPP/Jabbe... | You are accepting packets with state [CODE] or [CODE] , but not [CODE] . The [CODE] state may be assigned to packets which are starting a new connection (or whatever conntrack considers a “connection” for UDP), but are related with another existing connection. This state is used for protocols that use more than a singl... | 0 | 2 | 536 | 2013-02-06T09:14:45.467 | infrastructure | serverfault.com | |
171,815 | AND is better or using Internal "IF" | In a situation like this:" [CODE] do you recommend to keep the code as it is above? Or is it better to make a nested "if" statement and breaks the condition into two sections where "outer if" makes sure metadata is not null and inner if does the rest of the checking. I think a nested if takes care of possible null refe... | The [CODE] and [CODE] in many languages (C, C++, Java, C#) are short-circuiting , which means that as soon as the answer is known, it stops evaluating. If your language is one of short-circuiting languages, you do not need a nested [CODE] , because as soon as [CODE] evaluates to [CODE] , the evaluation of the overall e... | 8 | 11 | 2,447 | 2012-10-29T22:05:46.400 | api_errors | softwareengineering.stackexchange.com | |
424,291 | Counting subnets | I'm reading about subnetting but have problems with these topologies. The book says that network1 has 4 subnets and network2 has 12 subnets. But I count only 11 subnets in netork2 ? If there is a switch between 2 routers, you have to count it only once i thought? Thanks in advance for helping me Network 1: http://i50.t... | There are 12 subnets total. Perhaps you just mis-counted? You are correct, the switch is (presumably) a L2 device, and doesn't do routing. It's all one subnet. | -2 | 1 | 126 | 2012-09-04T19:43:05.150 | infrastructure | serverfault.com | |
54,218 | HTTPS vs. VPN for communication between business partners? | A business partner has asked to set up a site-to-site VPN just so that a few servers can communicate with each other over HTTPS. I'm convinced this isn't necessary, or even desirable. To be fair it must be part of a wider policy, potentially even a legal requirement. However I'd like to convince them to simply offer an... | I would say that the VPN can be considered defense in depth. Look at all the recent attacks against SSL and HTTPS, which render the communication breakable. If you have a VPN between the sites which is not SSL based, then you are just adding another layer of defense. Also, if they want to extend past HTTPS in the futur... | 7 | 8 | 18,243 | 2009-08-14T13:47:41.150 | infrastructure | serverfault.com | |
377,428 | HP P212 hangs on Initializing | I'm in trouble... Server: HP Microserver N36L Storage: HP P212/256 with BBWC Drives: 4 WD 2 Tb While expanding the RAID 5 array from 3 to 4 drives, the server rebooted itself. Expansion was at 76%. Now at boot the P212 seems to hang on initializing. After some time screen resets and the server boots, but in the os (Win... | The P212 only supports HP branded disks, you're not using them are you, yet you wonder why the whole setup's suddenly broke - use supported parts and you'll be fine, don't and you're on you own. Did you not read our FAQ? this site is for professional sysadmins, who don't just throw things together in the vague hope tha... | 1 | 5 | 5,409 | 2012-04-06T22:21:31.733 | infrastructure | serverfault.com | |
61,159 | What's wrong with my IIS/JNLP configuration? | I'm attempting to serve up Java applications via JNLP. It's MicroSoft Server 2008 IIS, with the ".jnlp application/x-java-jnlp-file" mime-type added. The application launches fine from Solaris/FireFox clients. However, when a JNLP launch is attempted from a Windows Vista client, the JNLP file opens in Wordpad! JNLP lau... | Ugh. Turns out to just be broken JRE plug-ins on the boxes I was using for testing. Nevermind. | 0 | 0 | 2,042 | 2009-09-01T14:19:39.443 | infrastructure | serverfault.com | |
709,281 | rudder-agent 3.1 : different output between nodes | I'm using rudder-agent 3.1 (rudder server 3.0.6), when I'm forcing inventory with "rudder agent inventory" I don't have the same output size between node, it's like the verbose was different (see bottom). Any idea ? [CODE] and [CODE] | The first output doesn't exhibit any reports, while the second is ( StartRun , EndRun , and in between you have success reports) You have most probably configured your nodes to use the "Change Only" reports mode. This mode is designed to minimize number of reports sent over the network, by not sending success nor log r... | 3 | 4 | 176 | 2015-07-29T07:52:37.957 | infrastructure | serverfault.com | |
1,085,383 | Apache, redirect a client instead of showing HTTP/HTTPS error | If a web admin configures an HTTPS/SSL vhost on a custom port (e.g. 4433) and a browser connects to that vhost but using HTTP (http://vhost:4433), is there any way to configure apache to rather issue a redirect to the browser, sending it to HTTPS (https://vhost:4433), instead of displaying the well-known error: Bad Req... | Seems like you can get the behavior you want by setting something like: [CODE] Source: Apache: insecure request sent to secure port...want to redirect | 3 | 2 | 1,336 | 2021-12-04T12:36:45.830 | infrastructure | serverfault.com | |
508,126 | SSL install issue on Apache2 for virtual host | I"m trying to get an ssl cert installed but i'm getting an error when reboot apache. I get this error [CODE] Invalid command 'SSLCertificate', perhaps misspelled or defined by a module not included in the server configuration Now the conf for the domain looks like this [CODE] What am I missing? Thanks! | The directive that should be is [CODE] . | 0 | 1 | 181 | 2013-05-15T21:50:43.557 | api_errors | serverfault.com | |
949,836 | "Invalid Fingerprint" Instance Group rolling out update fails | Rolling update for an instance group fails with "Invalid Fingerprint" error message at console. Earlier rollouts had no issues but observing this error since today and updates are failing. Any clues please? Thanks | Please use the command-line rolling update: [CODE] | 0 | 0 | 838 | 2019-01-19T07:24:46.777 | infrastructure | serverfault.com | |
430,946 | Ubuntu precise, postfix, google apps - outgoing mail | a n00b question from a developer, not an server admin. I'm learning - built out a linode box and have included Wordpress multisite. I have Google Apps (free) setup to handle incoming. WP sends emails via Postfix on my box. I have SPF setup so these get an SPF 'pass'. My question - can i get Google Apps dkim (its in my ... | I would recommend you ssmtp as MTA agent with Google Apps. Simple yet powerful. This is how . | 1 | 0 | 177 | 2012-09-22T15:03:57.007 | infrastructure | serverfault.com | |
925,335 | partly no connection over sfp+ | I have a really weird problem with a fiber connection. I have 2x2 fibers OM4 G50/125 between two rooms, room A & B (fiber length approximately 20m). I have two switches, a Huawei CE6810 and a HP 2530-48G-2sfp+ (each has a sfp+ module). 1) When I have the switches side by side, connected via fiber it works. 2) When I ha... | I feel so stupid, of course I should have just checked the polarity of the cable (is it called polarity in english?) 2 Patch Cables --> not patched 3 Patch Cables --> patched again. | 0 | 1 | 43 | 2018-08-07T17:41:41.273 | infrastructure | serverfault.com | |
1,101,398 | FSRM Auto apply template not applying to exisiting folders | I have set up an auto-apply template using FSRM to a path with a number of existing subfolders but when I apply it, the exisiting folders are not getting a quota created for them. There are 174 sub-folders, combined size is ~6.5GB, 13k files. New sub-folders created after the quota get a quota applied to them, likewise... | So writing out the question basically led me to the answer. I made one edit to the question adding If I copy the parent folder and all contents to a new folder, it applies the auto-quota I did this quickly with Powershell and got a few long path name errors but ignored them as they don't affect quotas. So I decided to ... | 0 | 0 | 160 | 2022-05-20T09:37:54.437 | infrastructure | serverfault.com | |
641,212 | Unexplicable extreme slowness on Dell PowerEdge R320, fixed only by cold reboot | At this customer's site, there are two new Dell PowerEdge R320 servers with the following configuration: A single 6-core CPU 16 GB of RAM 2x500 GB SATA disks in a RAID 1 array The O.S. is Windows Server 2012 R2, used as a Domain Controller; all firmwares and drivers are up to date, and Windows is fully patched; the sys... | This happened to our T320. It was a bug in the bios. Dell released an updated bios and the issue was fixed. A workaround is to set the bios as follows: In the PowerEdge Bios, change the System Profile to Performance Optimized. This will disable C-States and C1E. Instructions: http://www.ponjavic.com/wordpress/2014/09/3... | 2 | 1 | 16,878 | 2014-10-31T18:10:55.270 | api_errors | serverfault.com | |
323,065 | Azure MySql - Adding AD User To MySQL DB | I am trying to add an Azure AD user to my Azure MySQL DB, so that he can authenticate using a token (instead of needing username / password). I am set as the Azure AD administrator of this DB. I am signing in to MySql Workbench using my Azure AD user and a token generated in Azure CLI. Then, I am running the following ... | I had the same issue and finally got it working. Read these two articles and follow the instructions: https://learn.microsoft.com/en-us/azure/mysql/flexible-server/how-to-azure-ad https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-azure-ad-authentication The keys are to make sure that MySQL Flexible... | 0 | 1 | 979 | 2023-02-04T20:01:09.153 | api_errors | dba.stackexchange.com | |
916,381 | centos 7 persistent static route | I have a centos 7 server, with 4 interfaces. i am trying to give each of these interfaces a different [CODE] , [CODE] and [CODE] . I want each interface to respond requests itself. so if a request has came in on interface [CODE] , i want [CODE] to respond to request. I have one interface for [CODE] (guess [CODE] ) and ... | I have configured static and persistent rule using [CODE] utility. You can play around with route metric to give proper gateway precedence. Attached an example of route config across two NICs. And here is the sample o/p: [CODE] nmtui edit ens192 | 0 | 1 | 5,172 | 2018-06-13T05:00:05.203 | infrastructure | serverfault.com | |
839,660 | Printers start printing white pages for print jobs on Citrix | We use an application installed on a Windows 2003 server through Citrix Metaframe. Since Friday 17 march, most printers on the clients start printing white on white all distant print jobs. We are using native printer drivers, not EasyPrint. Restarting the server does not have any effect. What could be the culprit ? EDI... | As you use a no longer supported product you don't have many possibility to resolve that dilemma. (metaframe and windows server 2003.) Temporary fix your users problem by uninstalling that update except on one computer. Isolate a computer with that update to make the testing on it. For your test : Be sure all update ar... | 1 | 1 | 439 | 2017-03-21T14:40:37.897 | api_errors | serverfault.com | |
94,170 | OCIEnvCreate failed to create environment handle after installing oracle_fdw | I'm want use Postgresql 9.3 in CentOS 7 and add extention oracle_fdw. but when use this extenstion i get error OCIEnvCreate failed to create environment handle after installing oracle_fdw. my roadmap: install postgresql 9.3 from postgres rpm. install oracle instant client 11.2g with rpm files from oracle site. install ... | If you install from an rpm then it's installed as a service. If you start postgresql from a custom script as user postgres then the process will catch the environment variables but if you start postgresql as a service it won't. You should look for how to pass environment variables to systemd (or sysv) services. I used ... | 3 | 1 | 1,735 | 2015-03-02T13:24:01.070 | database_errors | dba.stackexchange.com | |
387,079 | HP iLO2/3 cli: send NMI | I want to send a Non-Maskable Interrupt (NMI) to the system over the HP iLO2/3 cli. Unfortunately I don't know the correct syntax or target: hpiLO-> nmi [CODE] Maybe you can help me out, thanks in advance! | Type [CODE] at the "hpiLO->" prompt to generate an NMI to the system via the CLI. "server" is the target requested in the error message you posted. | 1 | 1 | 1,957 | 2012-05-08T13:06:40.037 | infrastructure | serverfault.com | |
598,665 | Relation between server_name in nginx sites-available, /etc/hosts file and A-records | I have the following two server-blocks in my config-file in sites-available: [CODE] I also created an A-record for both www.domain.be and sub.domain.be with the IP of my server as value. Yet, when I try to reload my nginx configuration with service nginx reload it fails. When I remove the second server-block, it reload... | Tracked down the problem (which isn't related to A-records or to the /etc/hosts file) Initially I got a fail without any explanation. Using [CODE] I got this message [CODE] after uncommenting [CODE] in nginx.conf the problem was resolved. | 3 | 1 | 1,914 | 2014-05-26T20:38:12.437 | infrastructure | serverfault.com | |
398,010 | Centralized virtualization (ESXi, XenServer) in a completely Windows-free environment | I'm looking into deploying a small (one or two host servers) non-production virtualization initiative for our company. We need it to be high performance and host shared resources for a number of users. I'm moderately familiar with both VMWare ESXi and Citrix XenServer, and know that we would be happy with either. Where... | With vSphere 5, there is a vCenter Virtual Appliance, so you can have the management of vCenter without a Windows server. There is also a web-based configuration option, which can be used instead of the vSphere Client. Neither option is feature-complete when compared to the Windows versions, but it may do everything th... | 6 | 6 | 667 | 2012-06-12T17:49:07.997 | infrastructure | serverfault.com | |
199,783 | Ola Maintenance Solution and striped Azure URL backups - possible? | We've been using the defacto standard Ola Hallengrin maintenance solution for many years, even after we moved to Azure and started using blobs for backup targets. However, for performance reasons, I've been looking into backing up via block blob rather than page blob, leveraging a storage container with a shared access... | I have added support for striping of backups to Azure Blob Storage. https://ola.hallengren.com/versions.html Here is how it works: [CODE] | 2 | 7 | 1,221 | 2018-03-09T05:20:38.623 | database_errors | dba.stackexchange.com | |
324,321 | Use one query that fetches redundant data from linked tables or multiple queries and join them in code? | I have three tables with a chain of two one-to-many relationships. There are two ways I can think of of fetching the data based on the primary key of the first table. [CODE] each table (or [CODE] if there are nonexistent rows) in a single query ( [CODE] ) Run three queries linking to the first table's primary key each ... | Such kind of questions cannot be answered in a sensible manner on an abstract level, without the surrounding context. One has to try this out using the real system : a real database, filled with real data, a real network, a real client machine running a real client application. Then it will be possible to profile both ... | 2 | 4 | 714 | 2016-07-08T00:44:23.357 | api_errors | softwareengineering.stackexchange.com | |
759,602 | Add existing wildcard SSL certificate to Amazon EC2 Nginx | I'm trying to add a pre-existing wildcard SSL certificate to a single Ubuntu instance on Amazon EC2, where the webserver is Nginx, and I run a single subdomain. I have - from the original vendor who provides the certificate - files named private.key, selfsigned.crt, and ssl-shared-cert.inc. I've uploaded these files to... | If the certificate is not actually self-signed then there's two possibilities that I can think of. The first is that curl is missing the bundle of trusted authorities (Debian keeps a set of trusted certs in a package named [CODE] ). If this is the case then no https site would work with it. Can you check that your curl... | 1 | 1 | 1,095 | 2016-02-24T23:06:03.007 | api_errors | serverfault.com | |
748,304 | ext2 or ext3 without journaling | I've recently came across several servers with different "strategies" for their /boot partition (btw, always as /dev/sda1, 512M) Some servers use ext2 for /boot, some use ext3 for /boot, and for the latter some have turned off journaling or turned off journaling and added the sync option. I won't take relatime and simi... | From a functional standpoint, ext3 is ext2 + journaling. Using ext3 without journaling means to use an ext2 filesystem, but with a more recent code base (ext3's one). However, there is not reason why you can't use ext4 as a boot partition, as Grub supports it since years. The 512 MB limit for a boot partition is a vest... | 4 | 4 | 1,145 | 2016-01-11T20:41:34.667 | infrastructure | serverfault.com | |
736,204 | Vm goes to saved state when removing CSV | I have a 5 node Hyper-V cluster running. All 5 servers are running Server 2012 R2, each node is attached two devices using iSCSI. The device I'm having problems with had a single volume that was used as a CSV. This was presented to the servers under [CODE] I have gone through the process of moving all VM storage on to ... | I don't have much experience with Hyper-V in 2012 R2 but do have plenty with Hyper-V, Clusters etc. on 2008 R2 so will guess at the possible issue here. I found that with Failover Clustering (in 2008 R2) when you add a VM into a failover cluster it will inspect the attached VHDs and the storage on which they reside and... | 1 | 2 | 937 | 2015-11-13T17:52:30.140 | database_errors | serverfault.com | |
89,605 | IterativeImputer Evaluation | I am having a hard time evaluating my model of imputation . I used an iterative imputer model to fill in the missing values in all four columns. For the model on the iterative imputer, I am using a Random forest model, here is my code for imputing: [CODE] My problem is how can I evaluate my model. How can I know if the... | When imputing data, one is looking not to modify the actual distribution of your data. So a way to test how good your imputation was is to make a test to contrast the true distribution of every feature that has been imputed vs the true (via KS test, for example) distribution of the feature (prior imputing) if you can s... | 1 | 2 | 788 | 2021-02-19T13:54:23.977 | data_quality | datascience.stackexchange.com | |
288,775 | When should you avoid iterative and incremental development? | I'm currently reading some literature about software development process models. Everywhere I look, I only read the problems with the Waterfall model and how the iterative and incremental development approach solves these problems. But, I cannot find any information about when you should avoid this approach. So, for wh... | The need for iterative and incremental development on most software projects comes from the fact that those projects' requirements are in constant flux, and the fact that quickly delivering a prototype then iterating on it seems to produce better results than trying to produce a comprehensive specification before start... | 0 | 1 | 1,309 | 2015-07-05T16:23:03.220 | dbt_errors | softwareengineering.stackexchange.com | |
411,001 | Is my TCP connections sabotaged by my country's government? | I am suspicious that my country's government is destroying the received ACK packet on TCP connections, somehow. When I try to establish a TCP connection to an outside host on ports other than 80 the TCP handshake will not be successful. I captured the pcap file (gmail.pcap : http://www.slingfile.com/file/aWXGLLFPwb ) a... | From the cmd line: [CODE] This should verify if you can SSL connect to the remote host. Perhaps make a Wireshark of this traffic. If you don't have openssl , then you can [CODE] . We must determine where the RST is being generated. Does it happen to all SSL sites? Do you have a direct connection to your NAT-gateway? Ar... | 14 | 6 | 986 | 2012-07-25T09:47:01.900 | infrastructure | serverfault.com | |
660,289 | how to avoid timeouts during server reboot | I am running into issues with a site that is using DNS round robin for failover. There are two webservers. When I turn off apache on one box, everything is fine. When browsers try to go to the webserver with apache turned off, it gets a connection refused and it automatically tries the other one. However, when rebootin... | As an ad hoc workaround (only in the regretful absence of a loadbalancer), you could accompany the server reboot with suitable configurations at one of its next hops (a switch, a router, a firewall), e.g., stop apache Make the next hop respond with explicit "not reachable" messages reboot the server Undo changes made s... | 4 | 1 | 572 | 2015-01-17T15:02:08.977 | database_errors | serverfault.com | |
340,558 | backuppc exclude syntax (SMB) | I am trying to do a full backup of a Windows Server 2008 R2 machine using backup PC (via SMB). My server is running Scientific Linux 6.1, with Backup PC 3.2.1. I have changed the local security policy on the server 2008 machine to allow me to connect via smb, however, every time I do a full backup, I get about 80 error... | Try doubling the initial backslash. Also, don't bother trying to escape the spaces with backslashes: that doesn't work. For example, the following setting (entered through the BackupPC web GUI) works for me: [CODE] Although the "Official" BackupPC documentation is generally very good, it really does fall short in this ... | 2 | 2 | 2,957 | 2011-12-13T17:43:34.313 | database_errors | serverfault.com | |
839,458 | Adding DKIM DNS record - can something go wrong? | I have a working external managed mail system for our company domain. Additionally I am currently trying to setup a second mailserver (which I have control over) for the same domain with DKIM with postfix. The externally managed main mail server should continue to send emails normally via its own DKIM signatures, the n... | The short answer is that they shouldn't interfere, but that unless your setup is more complicated than you explained, something is weird. In more details, DKIM has a built-in feature called selectors which is designed to handle multiple hosts/daemons actually signing emails for the same domain. See section 3.1 of RFC 6... | 0 | 0 | 492 | 2017-03-20T16:04:54.257 | infrastructure | serverfault.com | |
912,181 | How to access apps that have been deployed in k8s on Google Cloud Platform using a Google Cloud Engine HTTP(S) Load Balancer? | Aim: to access apps that reside in a kubernetes (k8s) namespace using an HTTP(S) Load Balancer (HLB) Methods TCP load balancing (TLB) (layer 4) A k8s cluster has been created on Google Cloud Platform (GCP) A static IP was created A TLB was created, the static IP was assigned and the DNS has been updated Navigating to s... | Please take a look at below GCP documentation: Setting up HTTP(S) Load Balancing with Ingress - This documenation provides a tutorial on how to run a web application behind an external HTTP(S) load balancer by configuring the Ingress resource, which is a great help. Exposing applications using services - Here you creat... | 1 | 0 | 315 | 2018-05-14T20:10:32.093 | pipeline_ops | serverfault.com | |
311,892 | Allow using php_value and php_flag in .htaccess | I am running an Apache web server with PHP5 as a module (notice: as an Apache module, not CGI!). In some of my .htaccess files (the one that comes with the gallery3 software, http://gallery.menalto.com/ ), there are php_value and php_flag statements. They cause a 500 server error when trying to access files in that fol... | Try to add the " Directory " directive inside the virtualhost rather than in the default apache2.conf. Also if this is in ubuntu/debian, you will need to make the changes in /etc/apache2/sites-available/default , if you are not using any additional virtualhosts. | 10 | 4 | 32,380 | 2011-09-15T18:13:44.163 | api_errors | serverfault.com | |
412,176 | ASP.NET4.0 MVC4 IIS7.5 Error 403.14 I'm Literally Pulling Out My Hair | I want to get away from developing in PHP but doing that is proving to be a massive headache. I am trying to set up a website with MVC 4, ASP.NET 4.0, on Win7 Professional (64-bit). The website is just the basic site that is set up with Visual Web Developer 2010 Express selecting New Project > C# > Website > ASP.NET MV... | Try naming your sample application [CODE] when you copy it into the web root. Start by creating a simple hello world app as [CODE] and see if it works. This will isolate any issues with IIS: [CODE] Also check to make sure IIS is actually configured to serve a default document such as [CODE] . | 0 | 2 | 2,736 | 2012-07-28T21:27:21.053 | api_errors | serverfault.com | |
3,423 | Windows XP hanging on login screen | I have been given two Eee PC 100HA to manage for some people, they are both running the same hardware and XP home but one is having some strange problems with logging on. The main problem is that it hangs at the login screen for ages and sometimes never gets to the desktop. The strange thing is it only seems to do it a... | The main problem is that it hangs at the login screen for ages and sometimes never gets to the desktop. If this is before you login, DNS is likely to blame. If it's after you login, I'd guess a profile issue. Create a new user and profile and try with that. Some additional things to try: Disconnect from network (wirele... | 3 | 10 | 5,219 | 2009-05-03T03:02:07.770 | infrastructure | serverfault.com | |
1,148,738 | Trying to use setfacl to allow script owner to delete cache file | I want to use setfacl to allow a php script owner to delete fastcgi_cache_path files that are owned by nginx. The user has been added to the nginx group. I have tried: [CODE] , but it's not working. The script is not even seeing the file using [CODE] though I've verified it does exist at that location. What do I need t... | A thought of permissions, are you sure that the designated user has at least 'x' access to the all elements in the entire directory path? For example, suppose you have a path such as /a/cache. If the user has NO access to directory /a then the user will be unable to see, much less access, the file cache regardless of i... | 1 | 0 | 56 | 2023-11-28T16:03:49.373 | infrastructure | serverfault.com | |
959,520 | php-fpm generated a lot of load when resetting opcache, rendering server unresponsive | In recent weeks we experienced a negative phenomenon when deploying code: the server becomes unresponsive sometimes for a few minutes. Here's an example of the load on the server when this happened: The only related log I can find is from [CODE] and sometimes (but not always) I see entries like this (note: this is from... | By default PHP checks the file timestamp to invalidate the opcache entry. This can be turned off, and that is the only scenario I can think of in which [CODE] would be used. Of course, it also causes the problem you are having. I recommend going back to the defaults : [CODE] | 2 | 1 | 1,134 | 2019-03-22T15:07:38.110 | hadoop_errors | serverfault.com | |
2,262 | Sharing Gems between Chef and System Ruby | I know about the [CODE] resource obv, but in the interests of good system hygiene I would like to avoid as much as possible duplication, so I would like to share Gems between the embedded Ruby within Chef, and the system-wide one. Additionally I have become aware of a troubling situation: the Gems I have in the system ... | To take your points one by one: but in the interests of good system hygiene I would like to avoid as much as possible duplication Can you ensure your system ruby will evolve at the same pace as the Chef's ruby ? Main point of chef coming as a bundle with its own ruby comes back from Chef 10 which was installed via a si... | 2 | 2 | 301 | 2017-10-07T15:53:44.780 | pipeline_ops | devops.stackexchange.com | |
245,555 | Slow query in production, bad execution plan or bad index? | I've just fixed a production performance issue by dropping an index and recreate it. I suspect dropping the index also dropped executions plans that used it and one of them happen to be bad. Arguments in favor of bad execution plan : Before dropping the index, I looked up the last update date for the statistics on the ... | Here's a timeline of the events you described, as well as my commentary on what was the likely cause of your bad plan. You're alerted of a slow query that was previously fast Bad times, I empathize! You go crazy and run "the forbidden dbcc freeproccache" and it doesn't help Usually, clearing the cache fixes problems li... | 1 | 4 | 1,617 | 2019-08-16T18:49:35.220 | database_errors | dba.stackexchange.com | |
356,847 | Paradigm for handling list of things or single elements | Very often when coding in Python (or any language where type is not specified) I run into the following problem: I want to write a function that can accept either a thing, or a container of such things in general. For example consider this subset function: [CODE] I would now like to be able to call this both with a lis... | Use an argument list: [CODE] It's easiest for users of your api to understand how things work when functions work in exactly one way. Behaving differently depending on what you're passed can be very confusing. | 8 | 11 | 1,099 | 2017-09-05T12:52:54.797 | pipeline_ops | softwareengineering.stackexchange.com | |
218,258 | Get entities ids from two similar collections using one method | I've got two lists: [CODE] These operations will return collections of values: [CODE] What I want to achieve is to get list of all zoo ids. [CODE] Of course I can create two methods to do what I want: [CODE] As you can see those two methods are very similar and here is my question: Is it good to create one method (for ... | Generics aren't the answer here, because all your data objects are [CODE] objects. If you had related classes such as [CODE] , [CODE] and [CODE] it would make sense to have a generic method dealing with "something that has an ID", but that's not the case here. What you do have is things, collections of things and neste... | 0 | 1 | 902 | 2013-11-12T18:38:14.240 | api_errors | softwareengineering.stackexchange.com | |
1,065,548 | I have deleted all the Azure AKS Kubernetes Nodes, how to restore back the Cluster to it's original state? | I am new to the Azure AKS Cluster world, and while messing with a test cluster i have deleted all its Nodes with [CODE] , thinking that the cluster will heal itself. Boy, was i wrong. Now, let me explain the issue, so, when i run [CODE] , i get [CODE] . In the "Node Pools" in the portal, i can see that there are 3 Node... | If you have run kubectl delete node, then the node is no longer registered with Kubernetes. If you were using scale set's then the best option would be to scale down and then back up again, to get new nodes and have them re-register. In your scenario with availability sets you don't have that option. You could look at ... | 1 | 2 | 3,475 | 2021-06-03T10:51:59.637 | database_errors | serverfault.com | |
278,514 | Upgrade with DistributedAG vs adding a node with SQL Server 2019 | We would like to migrate from SQL Server 2016 to SQL Server 2019. The databases are part of an Availability Group. I added a new replica using SQL Server 2019 on a new node and made that replica part of the AG and then failed over successfully to it. Would a Distributed AG also provide me the same functionality? What i... | Per the Microsoft Docs, a Distributed Availability Group is : a special type of availability group that spans two separate availability groups. The availability groups that participate in a distributed availability group do not need to be in the same location. They can be physical, virtual, on-premises, in the public c... | 2 | 1 | 287 | 2020-10-22T16:00:32.690 | database_errors | dba.stackexchange.com | |
382,315 | Apache virtual host issue with modrewrite and css files | I have an Apache virtual host for a project I have done using Silex which is based on Symfony2 however the routing works fine with the modrewrite rules but all calls to javascript or css seem to turn into routes to a controller. Could you help me with the virtual host please. [CODE] | [CODE] is relative the the DocumentRoot. The above works within a [CODE] block (or .htaccess file). Try changing it to: [CODE] | 0 | 2 | 834 | 2012-04-23T17:27:23.187 | infrastructure | serverfault.com | |
248,950 | A Tale of Two Domain Names - One resolves the other fails | I have setup two domains on a server local to my LAN. The first one is registered with GoDaddy and resolves fine behind the router. The Second domain is using zoneedit.com to handle the dns settings and isn't resolving behind the router locally. It is resolving outside of my lan though. I can't figure out the issue... ... | So, second domain is correctly solved outside of your network, that means your DNS cache should be cleaned: [CODE] from command line, and try again. | 0 | 2 | 80 | 2011-03-18T12:01:40.597 | infrastructure | serverfault.com | |
747,997 | HTTP/2 returning weird symbols | So I switched my nginx server over to use HTTP/2, and it works for Edge and Chrome. On IE11 however I'm getting no response, only this: https://i.stack.imgur.com/MUFFV.png On firefox the page simply refuses to redirect or load, not even an error message. My SSL settings look like this: [CODE] What would be causing an i... | I believe HTTP/2 only works over TLS1.2. Try taking out 1.0 and 1.1. Also remove the caching for diagnosis. Here's my working HTTP/2 configuration with a Let's Encrypt certificate. HTTP/2 support is still relatively new, suggest upgrading to the latest nginx, currently 1.9.9. [CODE] This may not solve your problem but ... | 3 | 0 | 1,034 | 2016-01-10T12:22:02.087 | data_quality | serverfault.com | |
335,102 | How to write the first test for an "add" functionality | I had problems finding a good question title, so feel free to improve on that. I want to implement an Entity Component System in C++, and wish to use TDD for the first time. Now I have doubts about how useful TDD is when the target "architecture" is already specified, but want to try it anyway. My problem is more of a ... | Your first test is a good start. Maybe think about error checking: is there a return code from add, to tell that it did work or not ? Or is it supposed to throw an exception if something goes wrong ? Preferred approach Knowing that you'll need a method [CODE] for the [CODE] class, just add it to the class definition, w... | 4 | 4 | 327 | 2016-11-01T17:02:25.907 | api_errors | softwareengineering.stackexchange.com | |
1,142,258 | Passing a user input to an ssh command | I'm currently trying to create a shell script that will execute a mysqldump on a remote mysql database and then copy the output file back to my local machine. The problem I'm running into is that I don't want to hard code the password into the script. I tried using 'read' to prompt for user input, but that variable doe... | You have a space between [CODE] and the password variable, but according to the [CODE] man page: If given, there must be no space between --password= or -p and the password following it. | 0 | 3 | 260 | 2023-08-23T18:09:05.297 | database_errors | serverfault.com | |
181,716 | Multiple 32bit processes on 64bit IIS - memory limit? | I've got a legacy ASP web application that uses a VB6 DLL. The app is quite memory hungry. I need to run multiple instances of the app on one machine. Now since VB6 DLLs are 32bit only, running in a 64bit process is out - but what if I ran multiple 32bit IIS app pools? Would the memory limit of 1.2 GB per kick in per a... | but what if I ran multiple 32bit IIS app pools? Would the memory limit of 1.2 GB per kick in per app pool, or would there by a memory limit for all app pool processes aggregated? The per process limit applies per process, and each app pool is in its own process. So you can make use of an arbitrary large amount of memor... | 3 | 7 | 7,555 | 2010-09-16T09:09:43.077 | infrastructure | serverfault.com | |
142,132 | ERROR 1091 (42000): Can't DROP 'PRIMARY'; on "mysql_upgrade" | I updated MySQL from 5.5.50 to 5.6.31 on a Centos 6.8 box with Plesk 12.5.30. Using those steps . The upgrade was successful but I ran into trouble with [CODE] . I had to rebuild the permission table manually from a [CODE] db backup after a failed Plesk update between 12 and 12.5. The Database is fully functional. I ca... | I finally figured it out. The main reason for the crashes and the [CODE] error was related to missing and/or corrupted primary keys of the [CODE] table. There were also a couple missing records in the [CODE] table, which likely couldn't update previously due to the GRANT crashes and would have been related to Plesk "Da... | 1 | 2 | 3,203 | 2016-06-24T09:32:19.450 | database_errors | dba.stackexchange.com | |
607,207 | DirectoryIndex not working properly for rewritten URL | I have [CODE] and [CODE] pointing to the same server and I'm using mod_rewrite to rewrite URLs for [CODE] to the [CODE] subdirectory. I have the following [CODE] file in the document root: [CODE] Within the [CODE] directory I have [CODE] and no [CODE] , but requests to [CODE] seem to ignore [CODE] altogether and return... | I have a similar issue after upgrading to Ubuntu 14.04, which includes Apache 2.4.7. Here is my workaround . Emulate [CODE] with [CODE] , and disable [CODE] . [CODE] Hope this helps. UPDATE : Upgrading to Apache 2.4.10 fix the issue for me. Thanks to Ondřej Surý this can be done easily on Ubuntu 14.04 with apt: [CODE] ... | 4 | 2 | 6,818 | 2014-06-23T08:42:59.900 | infrastructure | serverfault.com | |
214,081 | problem with service broker in always-on | one of my clients has a database that works with service broker, last week we tried to move the database to an always on environment without knowing the application uses the service broker. after there were complaints that it didn't work(scheduled meetings were not added to the calendar and did not close when old ones ... | In order to have Service Broker work in combination with Availability Groups, you have to enable Service Broker for the database before adding it to an Availability Group. Your question suggests that you created the AG, then tried to configure Service Broker afterwards. Also, be aware there are certain patch level requ... | 2 | 4 | 6,184 | 2018-08-05T07:23:59.047 | database_errors | dba.stackexchange.com | |
1,145,866 | failed to get disk format of disk /dev/nvme1n1: exit status 127 | What happened? I had an old AWS EKS kubernetes cluster, running 1.21, so i decided to upgrade it. While upgrading to 1.23 if not mistaken i was prompted that i need to install the AWS EBS CSI driver, so i did through the AWS Console --> Clusters --> Addons (latest version) After installing the plugin however, a redis d... | AWS EKS with a1 family has issues with recent CSI driver version, but v1.21.0-eksbuild.1 works fine with them. Maybe older too, but haven't tried. | 1 | 0 | 78 | 2023-10-14T07:15:49.840 | pipeline_ops | serverfault.com | |
318,507 | Redundancy for WordPress sites | For static websites I'm using HAProxy (one master, several nodes with static HTML files on them). What services in addition would you recommend to allow WordPress sites to be hosted in the same way in terms of MySQL and files across the nodes changing. Thanks for any advice/pointers. Edit: I'm using Ubuntu currently wi... | A wordpress instance with a decent cache ( Wordpress SuperCache comes to mind) should help a lot in serving a very heavy wordpress site. But the first thing you need to do is identify where your bottleneck is. If your database engine is fairly light on, but there's a lot of server-side post-processing of data, then sim... | 2 | 3 | 1,932 | 2011-10-04T21:41:28.633 | database_errors | serverfault.com | |
58,694 | 2D-Input to LSTM in Keras | I have following problem: I would like to feed LSTM with train_datagen.flow_from_directory The input is basically a spectrogram images converted from time-series into time-frequency-domain in PNG format that has a dimension of: timestep x frequency spectrum. 1 sample = 1 PNG image in uint8 . In my example: 3601 timeste... | Why do you define the last dimension of [CODE] as $3$ ? Just put your desired input dimensions accordingly and it should be fine: [CODE] Update with the full code: The best way would be to use [CODE] instead of [CODE] but there seems there not [CODE] method meeting your needs. So, I think the best solution is to squeez... | 3 | 2 | 12,156 | 2019-09-04T22:52:53.357 | data_quality | datascience.stackexchange.com | |
132,738 | Installing SSL Certificate for use in IIS7, installation "works", but cert listing disappears | Windows Server 2008 R2, IIS7. We have an SSL cert from Go Daddy. It's a wildcard cert, so it will work across subdomains (e.g. *.domain.com). I followed the instructions located at http://support.godaddy.com/help/article/4801/installing-an-ssl-certificate-in-microsoft-iis-7 for installing the certificate. I get to the ... | The certificate was not exportable, so I was unable to use Roberts suggestion. Ultimately, I had to rekey the certificate at the Go Daddy account management page, and install it on both servers again. Some of the options during the wizard for the install on IIS6 were grayed out for me, and my initial attempt on that se... | 12 | 5 | 29,626 | 2010-04-15T14:58:56.880 | database_errors | serverfault.com | |
8,234 | How can I tell when it is time to defrag my SQLServer database? | What is the best practice for measuring SQLServer database fragmentation/performance rolloff and determining when to defrag a SQLServer database table? I'm most interested in learning what the useful metrics are and what level of performance degradation should trigger the defrag. | I'm sure there will be some interesting answers to this, as there is a lot of disagreement on what metrics to look at. I wrote DBCC INDEXDEFRAG, SHOWCONTIG and designed their replacements for 2005, plus wrote the Books Online content, so I'll give you my view, and explain the numbers in Books Online and the maintenance... | 9 | 22 | 1,266 | 2009-05-14T15:22:55.030 | infrastructure | serverfault.com | |
40,448 | Unable to launch Firefox driver using selenium | I'm getting error like [CODE] and above are the full screen shots: | You need to tell it where the FirefoxDriver exe is located. e.g. [CODE] | 0 | 1 | 202 | 2019-08-19T08:07:16.963 | data_quality | sqa.stackexchange.com | |
274,651 | Cronjob stderr to file and email | I need my cronjobs to still continue to output errors in some files, but I also want them to be emailed at the same time. That doesn't seem to be possible without some tricks. I found this but didn't helped me. What would be the most simple way to do that ? | If I understand your question correctly, you want to send the errors (not output) to a logfile, and also send them via email. To do this, use a combination of [CODE] and stdout/stderr redirection. According to the cron(8) manpage, cron can handle the email for you. No need to duplicate this effort needlessly. When exec... | 7 | 8 | 7,725 | 2011-05-27T19:52:57.580 | infrastructure | serverfault.com | |
1,066,714 | HTTP Methods blocking does not work on subdomain | I performed the blocking of methods other than GET, POST and OPTIONS in apache.conf, and when I try to run the server via IP the blocking works. But when configuring the same blocking on a subdomain (via sites-available), this blocking does not occur. What could I have done wrong? apache2.conf [CODE] sites-available/su... | You should stop using that complicated old way to restrict methods. Load mod_allowmehtods.so and define what you want to allow instead in a more simple fashion. [CODE] Unless you override this in a subdirectory with something else, this will work serverwide. Try and let us know. | 0 | 2 | 86 | 2021-06-14T22:52:21.207 | infrastructure | serverfault.com | |
149,290 | How do I install a CentOS 5.5 in Xenserver? | When I try to install CentOS 5.5 in a new VM, I get an error that the installer is unable to retrieve stage2.img. I have verified the URL and I am able to download this file from a web browser. I suspect it is a networking/routing issue, but I can't figure out what is wrong. This is a new install of XenServer 5.6 on a ... | Were you guided through the network setup before this screen appeared? Either the virtual network card isn't being detected, or more likely, Xen isn't running DHCP so you have to manually configure the IP/DNS/Gateway settings before you can complete the netinstall. | 0 | 1 | 2,969 | 2010-06-08T16:13:46.317 | infrastructure | serverfault.com | |
54,842 | Should I disable "auto update statistics" in a data warehousing scenario? | I have 200 GB data warehouse in SQL Server. I have been experiencing really slow execution times for some queries; for example 12 hours for a simple [CODE] query with an [CODE] . After doing some research with the execution plans, I've updated the statistics of the 2 tables involved in the query, using the [CODE] optio... | Here is a whitepaper on when auto_update of stats occurs . Here are the salient points vis-a-vis automatic updates to statistics: The table size has gone from 0 to >0 rows (test 1). The number of rows in the table when the statistics were gathered was 500 or less, and the colmodctr of the leading column of the statisti... | 12 | 11 | 3,341 | 2013-12-11T13:27:16.317 | warehouse_errors | dba.stackexchange.com | |
103,062 | Why binlog capture only postions | Please help me out, why master server records only position not statement. [CODE] . . . . . . . and sql_thread stuck on slave. Thanks in advance. | Your MySQL Instance is using binlog_format as [CODE] and not [CODE] . You can check with one of the following: [CODE] This should be OK for you because it keeps the table layout a secret, known only to your developers, DBAs, and Project Managers. You will now be able to see the SQL with your current binary logs. I just... | 0 | 1 | 414 | 2015-06-01T13:15:34.167 | warehouse_errors | dba.stackexchange.com | |
101,052 | What are some effective ways of helping someone learn a programming language/framework in a focused way? | Here's some background: I have someone who is motivated to help me out on a project that already has a good chunk of code written The person does not have a CS background, but knows the basics (functions, variables, objects, classes, etc) The goal isn't to make this person a rockstar developer overnight - they just nee... | I think the most important thing you can do is show them how to fix their own problems . There are so many threads on this site about interns or new workers or someone of that stature asking for help over every little issue. You also see the other side about young developers who just toil through and waste so much time... | 1 | 2 | 982 | 2011-08-14T20:03:15.670 | api_errors | softwareengineering.stackexchange.com | |
265,617 | Should fields that are set to Not Null also have a constraint refusing empty strings? | Any field that I would expect a value (Like an orderNumber or customerNumber) I would set as not nullable. If I'm expecting the value of the field to be not null, shouldn't I also always have a constraint that does not allow for zero length strings or space only strings? | I hate empty strings . That being said, disallowing empty string as a policy doesn't solve the underlying problem; which is "garbage in=garbage out". If I'm a developer who knows what I'm not allowed to use but I think it's stupid, I'll find an exception. no empty string? I'll insert [CODE] no single character? I'll in... | 1 | 3 | 713 | 2020-04-22T19:21:09.553 | data_quality | dba.stackexchange.com | |
805,992 | Is vlan tagging on guest allowed in sr-iov on KVM? | I am using KVM on Centos 7. I have created a VM with SR-IOV VFs to pass traffic. I notice that I am unable to pass traffic when I tag the interface inside the VM. I have read through the internet and the data sheet from Intel but none give me a clear picture of how it is done. Server1 Eth0 - PF SR-IOV Enabled eth0-vf-1... | I checked, and it looks like with VFs, the tagging needs to be done on the host, via libvirt. The way this looks in the domxml is as follows [CODE] Link: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Host_Configuration_and_Guest_Installation_Guide/sect-Virtualization_Host_... | 2 | 2 | 8,167 | 2016-09-29T01:09:33.603 | infrastructure | serverfault.com | |
426,869 | 10GbE sfp+ cross over cable required? Is there such a thing? | To preface, this is my first experience with 10GbE networking and I have encountered an issue which my research does not seem to locate a solution for... I have two servers (older DL580G5 and DL380G5), each with a HP NC522SFP, 10GbE dual sfp+ port adapter. I have purchased copper "passive" direct connect adapter cables... | The "crossover" is already built in to these cables. When working with cables like these you don't have a concept of a DTE side and DCE side as you do with ethernet cables. On a typical ethernet cable the DTE(terminal) side will have transmit on pins 1 and 2, with receive on pins 3 and 6. The DCE(switch) side or the ot... | 17 | 6 | 39,268 | 2012-09-12T20:24:00.700 | infrastructure | serverfault.com | |
685,907 | Is there a catchable event trigger where is fired when I get a IIS error that needs to restart the application pool? | Due a error that frequently occurs in an application and only is solved when its application pool is restarted, I'm trying to know if is possible to bind a trigger in order to do a treatment by command line. Sure that an alternative of automatic restart would be pretty welcome as well. Although I already has identified... | If the error condition causes an event to get logged in an event log, you can attach a task to such an event - simply set up the task to recycle the apppool: Go to the event viewer and find an instance of the event/error Right-click and select "Attach Task To This Event..." A task scheduler wizard pops up - click next ... | 0 | 2 | 1,087 | 2015-04-27T15:37:05.923 | infrastructure | serverfault.com | |
256,228 | What to expect from a benchmark? | I'm using [CODE] to test a cloud SAN (similar to EBS). The problem is, I don't really know what to expect given any system configuration. Meaning, that even before I start tuning PostgreSQL configuration, I would like to understand if what I'm seeing in the benchmark results correlates to the physical reality of the ha... | I'm not a hardware expert, but why do you think a SAN should be comparable to a NVMe? Sorry, there is no simple formula. At what scale did you initialize the benchmark tables? that is, what number for [CODE] ? How many clients did you run the benchmark? (What numbers did you provide for [CODE] and [CODE] ?) Did you run... | 0 | 1 | 181 | 2019-12-24T09:20:40.827 | database_errors | dba.stackexchange.com | |
112,708 | How to install PHP5.3 and SQLite3 on Ubuntu 8.04 | I got a Ubuntu Hardy VPS and I am trying to install PHP5.3 with SQLite. I added the dotdeb PHP5.3 repository and succeeded in installing PHP5.3. But I need to install SQLite as well. When I'm trying to install php5-sqlite3 ( [CODE] ) this is the output: [CODE] Obviously, downgrading PHP is not an option. Please help me... | do an apt-cache search sqlite ... see if dot deb has a sqlite package.. if not then.. I wrote this blog post last year, most of it should apply for 8.04 as well. http://thirdpartycode.com/2009/08/building-php-5-3-packages-on-ubuntu-9-04-jaunty-for-apache-2/ | 0 | 1 | 3,171 | 2010-02-14T13:48:35.013 | infrastructure | serverfault.com | |
305,635 | Balanced folder increment | I want to map an integer (let's say 32bits) to a valid path. The integer is an autoincrement value stored in the database. I also don't want at any case any folder to have more than N subfolders. That is because in WIN-NTFS (for example) after a specific number (around 1000) things are going really slow. So I devised a... | Start with the modulo operation . That gives you X folders to start. As your ids grow, add an offset. An example, groups of 10 folders, 10 files per folder: [CODE] Of course, you'll want a different modulo (# of folders per group) and files per folder (1000?). | -1 | 1 | 172 | 2015-12-22T10:59:32.637 | api_errors | softwareengineering.stackexchange.com | |
135,046 | Windows SBS 2008 problem | I was today on clients site that has Windows 2008 SBS installed with Symantec EndPoint Protection. Problem is that after I logged in tried multiple commands like services.msc, msconfig typed in "Run" but nothing was started. For the first 5 minutes i can click around Start Menu, choose some applications (non microsoft ... | Turns out the problem was with IPv6 and Exchange 2007 services being in constant state stopping/starting. Issue was similar to IPv6 being disabled that was heavily commented on the internet with the only difference that IPv6 for my server was enabled (!) and it had some values filled in so it wasn't easy to spot on. Fi... | 0 | 1 | 4,140 | 2010-04-22T21:21:39.807 | infrastructure | serverfault.com | |
55,509 | Query optimization ndbcluster + order by | I'm not really all too familiar with the ndbcluster storage engine of MySQL, but I've recently written an application that does some very simple queries. However, a co-worker of mine (who is now on vacation, or I'd ask him about it, of course) left a TODO in the comments next to what I thought to be a pretty harmless q... | Right, I've found the answer to my own question, and thought I'd post it here in case anyone else would ever have the same basic question: Given that a cluster shard the data across numerous nodes, there is no real guarantee that an [CODE] primary key will reflect the order in which records were added. Especially when ... | 0 | 0 | 195 | 2013-12-23T15:19:18.357 | database_errors | dba.stackexchange.com | |
594,542 | (8)Exec format error: exec of ' /usr/local/download/abc.zip' when access file through apache | I had configure mod-auth-token in Apache install on Linux server. I had configure it to enable security in access file while download from server.( As per given on its website here ). Apache configuration : [CODE] I had generate URL for downloading file from server by simple java program ( which is same as example give... | You have [CODE] , which tells Apache to run all of the files in /usr/local/download as CGI scripts, instead of just serving them up. That's why it says [CODE] . See ScriptAlias . The solution is to replace [CODE] by [CODE] . | 2 | 5 | 3,325 | 2014-05-12T13:31:47.213 | infrastructure | serverfault.com | |
702,137 | Windows Server 2012: Cannot install SMTP-Server, system always requires restart | I'm not able to install the "SMTP-Server" feature on a Windows 2012 server. The installation process always fails with a "restart required" message. After the restart and (re)starting the SMTP-Server feature, the system requires a new restart. I tried to install the feature using the installation wizard and PowerShell.... | I found the problem: The cause was not the SMTP-Server feature itself but the IIS-ODBCLogging feature that was required by the SMTP-Server. The installation of this IIS related feature failed due to a permission problem: It seemed that the installer had problems to update the IIS configuration which is stored on a netw... | 9 | 3 | 4,697 | 2015-06-28T09:22:56.317 | infrastructure | serverfault.com | |
1,132,674 | IIS 10 (Server 2022) error 500 with name, 404 with ip | I've got a new server 2022 setup I'm just getting up and running, and when pulling a page from IIS, I get a 500 error if I use the name in the URL, but get a 404 if using IP. The difference between the two URLs it what is throwing me off, so I honestly don't know where to look next. Why would a 500 error be thrown? Nam... | Within IIS in the Bindings for your website, have you got a binding entry for the IP and port with no hostname? Since IIS allows you to have multiple websites, using multiple combinations of hostnames, IP addresses and port numbers, it determines which website you're trying to reach by taking your request and finding t... | 3 | 2 | 1,034 | 2023-06-06T01:21:22.960 | api_errors | serverfault.com | |
840,224 | Getting User group members using Powershell | I got a script [CODE] which only work in server 2012 & not in server 2008R2, getting error as mentioned below, even though "WinRM already is set up to receive requests on this machine." Connecting to remote server failed with the following error message : The client cannot connect to th e destination specified in the r... | The Windows RM issue is coming up because you're using Invoke-Command to run a CMD against your AD system/repository. That command may or may not be running with the appropriate privs to query AD for the admin listing. Try using the Powershell equivalent: Get-ADGroupMember https://technet.microsoft.com/en-us/library/ee... | 0 | 0 | 831 | 2017-03-23T17:00:00.243 | infrastructure | serverfault.com | |
586,294 | nslookup problems when disable recusion and forwarders | I had been getting errors looking up external sites (ex. yahoo.com) using [CODE] on one of my member workstations. After trying [CODE] specifying our other DNS server (call it serverB), [CODE] resolved successfully. I went to the DNS configuration on the first server that was unsuccessful for resolving nslookups and no... | My question is is this a bad practice to have two DNS servers for our domain, but have one with forwarding turned off? Depends. Not enough information to say, one way or the other. Maybe it's accessible from the outside, and they don't want it being used for an amplified DDoS attack. Maybe the additional DNS traffic ge... | 0 | 2 | 289 | 2014-04-02T22:57:35.263 | infrastructure | serverfault.com | |
887,483 | Nginx config best practises for reverse proxying 3 different type of apps | I'm struggling at finding "best" (I know this is subjective, I'll explain in a minute) config for a nginx server. My server is responsible of : Reverse proxying from 3 apps Delivering ssl certificates and I'm looking for proxy config good practises for each case. Here's the architecture [CODE] I'd like to have : [CODE]... | From the point of view of nginx you can add a rule to manage the in-memory lifespan of static files alongside in-browser caching with something like this: [CODE] but it's worth reading up on that or testing your sites with Google Sitespeed or similar and following the recommendations there. You can also enabled compres... | -1 | 1 | 369 | 2017-12-11T07:19:22.607 | api_errors | serverfault.com | |
1,084,204 | postfix not listening on port 25, netstat shows nothing on port 25 | The output of netstat shows nothing on port 25 I understand dovecot >= 2.3.0 uses submissions protocol I don't know if it's relevant to the postfix smtpd daemon | Dovecot has no relevance to postfix not listening on port 25. They're two completely separate programs and one has no affect on the functionality of the other. The simple way of explaining it is this: Dovecot handles POP3 (110, 995) and IMAP (143, 993) ports for checking mail and postfix handles the SMTP ports (25, 465... | 0 | 1 | 2,939 | 2021-11-21T23:04:50.847 | infrastructure | serverfault.com | |
736,694 | How to select different backend based on URI when using "mode tcp" | I am using haproxy version 1.6.2 I have enabled http2 using the config below which I need to use "mode tcp". But once I have switched from "mode http" to "mode tcp" I couldn't use acl path_beg to [CODE] How do I make path_beg and http2 works again? or is there a way to enable http2 without mode tcp? | To use protocol specific features you have to use the appropriate mode. Mode tcp gives you only access to tcp specific features, but to get http specific features like choosing the backend based on the URI you need to have mode http. Unfortunately HTTP/2 looks very different from HTTP/1.x and is not support by mode htt... | 1 | 5 | 3,851 | 2015-11-16T12:31:14.893 | infrastructure | serverfault.com | |
1,085,054 | After= option not working in systemd service file | I have two shell scripts name first.sh and second.sh. The contents of first.sh and second.sh are given below: [CODE] Similarly, the content of first.service is: [CODE] The content of second.service is: [CODE] Note the [CODE] in the first.service code. According to the docs, the first service should not be running until... | You misread the documentation. Quote : If unit [CODE] contains the setting [CODE] and both units are being started , [CODE] 's start-up is delayed until [CODE] has finished starting up. [CODE] is the inverse of Before= Highlight by me. This only has an effect if both units are being started. If you disable one of them,... | 0 | 0 | 3,504 | 2021-12-01T09:12:15.063 | infrastructure | serverfault.com | |
987,643 | How can I ensure that server can handle the load of new users to email marketing tool? | My situation is that I have just taken over a web team who host all of their clients websites using a server provided by Clook The websites have a functionality where the client's customers can sign up for a mailing list via a web form and the client then will be able to sign in to the marketing tool, which is Interspi... | The only way you tell whether your server can support 300-500 users is testing it and measuring response time, number of requests per second, number of errors, resources consumption, etc. So you basically need to mimic a real user which does what it is supposed to be doing on HTTP protocol level. Choose a load testing ... | 0 | 0 | 37 | 2019-10-11T12:33:13.433 | api_errors | serverfault.com | |
31,197 | Why max_allowed_packet is larger in mysqldump than mysqld in my.cnf? | If you look at the sample config such as [CODE] , you will find.. [CODE] What is the point? Because when you export a dump using [CODE] with [CODE] that might not able import successfully to the current mysql? E.g. https://stackoverflow.com/questions/93128/mysql-error-1153-got-a-packet-bigger-than-max-allowed-packet-by... | The [CODE] variable limits the size of a single result set. In the [CODE] section, any normal connection can only get [CODE] worth of data in a single query. In [CODE] you typically produce "extended INSERT" queries, where you list multiple rows within the same [CODE] command. It's better, then, to have this variable s... | 5 | 4 | 12,807 | 2012-12-30T16:42:31.393 | database_errors | dba.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.