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 |
|---|---|---|---|---|---|---|---|---|---|---|
107,909 | Checking the configuration of two systems to determine changes | We are standing up a replicant data center at work and need to ensure that the new data center is configured (nearly) identically to the original. The new data center will be differently addressed and named than the original and will have differing user accounts, but all the COTS, patches, and configurations should be ... | Perhaps you need something like Cfengine | 2 | 2 | 152 | 2010-01-30T16:45:44.323 | data_quality | serverfault.com | |
120,271 | Can not login user SEC_MGR in SQLPLUS | I can login user SEC_MGR when I use the TOAD tool. But, It has error when i login by SQLPLUS: | Because this version I am using is Oracle 12c, so user SEC_MGR is replaced by SYSTEM user. Try to login with user SYSTEM/manager to access. | 0 | 0 | 155 | 2015-11-06T05:16:44.780 | warehouse_errors | dba.stackexchange.com | |
595,219 | "Anonymous Logon" vs "NTLM V1" What to disable? | Working on getting rid of NTLM V1 logins all together in the AD environment; found lot of events, almost all of them from the user "Anonymous Logon"(4624 events) other 1(4624 events) percent coming from some users. So, here I have some questions. Is it better to disable "anonymous logon" (via GPO security settings) or ... | The question you posed, "Is it better to disable "anonymous logon" (via GPO security settings) or to block "NTLM V1" , is not a very good question, because those two things are not mutually exclusive. You can do both, neither, or just one, and to various degrees. There are lots of shades of grey here and you can't cond... | 5 | 7 | 17,336 | 2014-05-15T03:44:52.283 | infrastructure | serverfault.com | |
969,819 | Host connected to IPSec tunnel, docker not able to talk to VPN hosts | Host can ping hosts in vpn, docker container cannot ping any hosts that are in vpn. [CODE] tcdump showing the ping goes to the VPN, and it returns to host, but not to the container. I believe the host has no idea what to do with the package it receives back from the vpn. I tried some iptables rules but to no avail. Can... | After changing networking on the host, including connecting to a VPN, try restarting the docker daemon ( [CODE] ). The daemon configures various iptables rules when it first starts up which may not work when new networks are attached to the host. | 0 | 0 | 655 | 2019-06-02T05:28:36.620 | pipeline_ops | serverfault.com | |
284,449 | CREATE TABLE IF ONLY NOT EMPTY RESULT SET | I'd like to create a table that consists of errors (incorrect format of data for my table, invalid geometry, etc). I have tried both [CODE] and [CODE] queries, but both of them creates a table even if the resulting set is empty (0 records). Is there an option to perform this kind of query which won't create a table if ... | You can create your tables in PL/pgSQL [CODE] blocks (or functions if it makes sense). Check if a table is empty after creation and throw an exception if it is. Catch that exception (and do nothing). That rolls back all the changes the block (or function) made, i.e. the creation of the table, but none of the outer tran... | 1 | 1 | 601 | 2021-02-01T15:26:06.937 | warehouse_errors | dba.stackexchange.com | |
256,841 | XEN Server - can it send RAID warnings or errors? | I have XEN Server installed and running several VM's on a newer dell server with hardware raid. My concern is what happens if one of the drives fails? Can XEN server be configured to receive that error and alert someone? | Since this is a Dell server, you should install OMSA managed node on it, and use that to send email and SNMP alerts about hardware issues. Another option is to use the alerts in the DRAC, but those don't cover storage issues iirc. | 0 | 1 | 570 | 2011-04-07T13:16:46.340 | infrastructure | serverfault.com | |
291,717 | Is there any reason to write delegates/events for one class? | I have a game with such events as GameOver, GameStart, PlayerWin, etc. I only have one class that is listening on these events, for the purpose of sending these events as TCP json messages to a client (player). But for every important game function I write, I have to write an [CODE] and then call [CODE] I could as easi... | The benefit of events compared to your approach is that more than one or less than one objects can listen to an event. In your case, there could be one and one only game listener. You may stick with YAGNI and KISS: right now, you have only one object listening to the event, so why bothering? On the other hand, using ev... | 2 | 2 | 165 | 2015-08-03T21:30:37.330 | api_errors | softwareengineering.stackexchange.com | |
133,965 | MySQL Explain gives different result for same query, query performance changes | I've been having some performance issues on my production server. The main issue, I think is the table pricelist_entries, which has approximately 6 million rows. Basically its holds all of the products available. The query below usually takes a second to execute but ever since the table pricelist_entries grew past 3 mi... | Thanks for confirming that [CODE] is OK. Here are some ideas; I don't know which will be best: Plan A [CODE] Plan B [CODE] Please provide [CODE] for each table; there could be some more clues there. More [CODE] -- Whenever [CODE] , the datatypes must be the same (or 'close'). Those two value are probably close enough -... | 0 | 1 | 2,406 | 2016-03-31T15:02:30.440 | database_errors | dba.stackexchange.com | |
354,183 | Two factor mechanism to differentiate lan from wan side users | I'm in a situation where a customer of mine would like 2-factor authentication (e.g. log in and receive e-mail with access URL) according to the following rules: If the users is on the LAN, do not require 2-level authentication (AD credentials). If the user isn't on the LAN, require 2-level authentication >> Log in wit... | We concluded on creating a mechanism that will be issue an encrypted secret to the client when on the LAN. If this secret is unavailable from the client machine he is de facto outside the LAN. We see that it has some holes, but we will focus on a tough encryption and short lifetime to reduce the risks. | 0 | 0 | 176 | 2012-01-27T09:14:53.063 | api_errors | serverfault.com | |
102,997 | Indexed VIEW in SQL Server with PIVOT | A simplified version of my problem is as follows: I have three tables Records, Inputs, and Outputs. Records [CODE] [CODE] [CODE] [CODE] ... Inputs [CODE] [CODE] [CODE] [CODE] [CODE] [CODE] [CODE] [CODE] ... [CODE] [CODE] [CODE] [CODE] ... Outputs [CODE] [CODE] [CODE] [CODE] [CODE] [CODE] [CODE] [CODE] ... [CODE] [CODE]... | Given that the data is changing very infrequently and there will therefore be very little overhead in maintaining the indexed views, an approach using indexed views could help performance. As you likely noticed when trying to create an indexed view that uses [CODE] , there are a lot of restrictions on what syntactic co... | 3 | 7 | 5,916 | 2015-06-01T23:27:03.197 | data_quality | dba.stackexchange.com | |
351,757 | How to: Make X.509 Certificates Accessible to WCF | I have followed the instructions here http://msdn.microsoft.com/en-us/library/aa702621.aspx I runnning windows 2003 IIS6 with a seperate user account for the Application pool I give this user access to the private key using cacls.exe. This works fine. However whenever something changes with the asp.net site or IIS the ... | To fix this issue, you first need to know what to fix. To determine what causes the private keys DACL to changes, enable Object Access Auditing and add an auditing entry for Permissions changes to the private key, applying the [CODE] . To do so, follow these simple steps. Enable Object Access Auditing Goto Control Pane... | 0 | 0 | 5,049 | 2012-01-20T03:55:54.617 | api_errors | serverfault.com | |
377,570 | Missing mod_access_compat.so - how to compile | I upgraded to Apache 2.4 from 2.2 and noticed that I am missing the [CODE] file in the modules directory. My question is simple, how do I compile this file? | It seems to have been deprecated and replaced by mod_authz_host . Though there are RPMs (I see no DEB packages) that claim to be compatible with appache 2.4. | 3 | 3 | 8,376 | 2012-04-07T16:22:47.003 | infrastructure | serverfault.com | |
602,333 | How to set up cluster with SESSION replication in Coldfusion 10? | I am not able to set up a cluster with session replication. I have successfully set up a cluster with sticky session. When googled I found a lot of links explaining the same issue, like http://cfmlblog.adamcameron.me/2012/11/problem-with-session-replication-with.html https://forums.adobe.com/thread/1238702?start=0&tsta... | Cross posting here from my answer on StackOverflow to this same question From the article you included by Adam Cameron he mentions having trouble with session replication - Problem with session replication with CF10 clustering . The key here is that a bug was entered for ColdFusion 10 (3361502) not having the option to... | 1 | 0 | 3,145 | 2014-06-06T12:08:16.637 | database_errors | serverfault.com | |
741,950 | Should a Load balancer be bypassed via server specific URLs? | We have a web farm with an F5 load balancer on Windows 2012 R2. Previously it was configured so that a single url redirected users to a specific machine in the load balanced farm. For example: [CODE] Navigating directly to a specific machine in the farm was disallowed. The following URLS did not work... [CODE] This mad... | If the individual server names ever leak to users, they might bookmark that and use it forever. This causes grief when that host is under maintenance or replaced. If the load balancer provides security features like terminating TLS or does some sort of application security, you may not want users to be able to bypass i... | 0 | 0 | 503 | 2015-12-09T19:00:21.453 | infrastructure | serverfault.com | |
273,077 | Determining client's real IP address in VPN connection | Is it possible to extract The IP of my PC when I'm connected to a VPN connection and surf internet? By saying "IP of my PC" I mean the IP address of my system when I'm not connected to the VPN connection. In general, is it possible for a website to determine whether I'm connected to a VPN connection or not when I'm vis... | It depends on your VPN Endpoint, is your VPN Endpoint in Iran or elsewhere? Google will see your VPN Endpoints IP Address. Nothing additional is sent in the http header, if you are connecting through VPN. However you might want to checked your routing table to make sure that your data is going through the VPN and not t... | 0 | 1 | 1,581 | 2011-05-24T08:57:12.313 | infrastructure | serverfault.com | |
617,467 | Linux console login with screwed up home permissions | I have an Ubuntu 12.04 server where the /home perms have been mucked up. Now when I try and login I get: [CODE] Any suggestions on how I can salvage this server. I have sudoer rights. | This is a bit of a weird one. Assuming /bin/bash still exists and is executable by root, you should be able to reboot the machine in single user mode - edit Grub or equivalent by adding init=/bin/bash to the command line which will give you a command prompt without anything extra. (You might need to mount / -o remount,... | 0 | 1 | 759 | 2014-08-02T20:02:51.240 | infrastructure | serverfault.com | |
1,064,714 | Restrict outgoing email from some subdomain to internal domains only using postfix | I am new to email servers and after some time and hard work I managed to configure a mail server, all the certs, all the ports etc... Everything is working really fine! And now I was requested to create an internal subdomain so that the email accounts from this subdomain can only send an receive internal email. Just le... | You should use header_checks to achieve it, may be necessary to include some if statement on it. | 1 | 0 | 190 | 2021-05-26T02:34:22.740 | infrastructure | serverfault.com | |
121,698 | How would I design a database structure for a feature store? | I have a personal project to create predictions for tennis matches. It currently consists of a Python application and a MySQL database. I extract data from various websites and APIs and store it in the database. I've also developed a feature pipeline that calculates a number of features from data. As the features can t... | A common approach is to keep audit information separate from the current version of the data. So in your case, the [CODE] table would contain just the current version of each row and another table (say [CODE] ) would contain the information needed to reconstruct past versions of the rows. This solution allows you to ef... | 0 | 1 | 237 | 2023-05-22T22:10:05.293 | database_errors | datascience.stackexchange.com | |
84,320 | Options for software licensing for plugins? | I'm creating a software application where up until now, the majority of code and assets have been produced by me. There are smaller bits of code that I've taken from other places; these have all been licensed as "do what you want with it". I've gotten to a point however, where I want to incorporate fairly large parts o... | You don't have to use the GPL for your own part, just one of many GPL-compatible FOSS licenses . Using "plugins" is not always a safe way; if the main application cannot do it's work without the plugin, someone could easily claim that the whole application is a derivative work. (IANAL) | 2 | 2 | 141 | 2011-06-15T22:08:02.000 | api_errors | softwareengineering.stackexchange.com | |
185,163 | Permissions of Shared Folder on Windows Server 2003 | I Have a VM of Windows Server 2003 running on Windows 7. On Windows 2003 there is a folder I have shared, how would I set up permissions to allow access of this folder in Windows 7? I am not sure how to add the user from my Windows 7 account to Windows 2003. I am not running an Active Directory, both systems are on Wor... | you can't, in a workgroup configuration. That's what AD and its groups are for. Your login will strictly be destination\user (where the destination is the actual machine where the share is - in your case, your host). | 0 | 0 | 564 | 2010-09-27T19:15:17.543 | infrastructure | serverfault.com | |
273,316 | Windows 7 Group Policy to delete old user profiles does not work | Background information: I currently manage a series of computer labs (127 machines running Windows 7 x64 Enterprise) for the engineering school of a university. These machines are used constantly by ~2000 undergraduate students. We use Symantec Ghost Solutions Suite 2.5 to image these machines every 2-3 weeks. Currentl... | I just did a little research and I believe the reason group policy is not deleting the profiles is that they are not roaming profiles, but local based on your post. I found that A LOT people swear by is adding your student's group to the local or domain guests group. You can keep them in other groups so they can access... | 2 | 1 | 4,416 | 2011-05-24T18:03:20.570 | infrastructure | serverfault.com | |
177,649 | Quickly appending data to text-column | I'm using a statement similar to the following to append data to a column of type mediumtext to a bunch of rows: [CODE] At first this is really fast. But the more data there already is the slower it gets. It seems that when appending data, the whole field is read, merged with the new bit and then inserted again. This m... | My guess is the answer is NO. You won't make this any faster. A database (at least all the ones I've worked with) doesn't treat text as you would with a Java StringBuilder , but rather like a Java String , which will suffer exactly the same problem (as would strings in most programming languages, except, maybe the V8 i... | 0 | 0 | 876 | 2017-06-30T00:39:25.930 | database_errors | dba.stackexchange.com | |
1,100,084 | unknown directive "rtmp" in /etc/nginx/nginx.conf | My os info: [CODE] I have installed module [CODE] with command [CODE] You can see the output info: [CODE] Now set rmtp in config file. [CODE] Restart nginx. [CODE] How to solve the issue ? | At first I thought you have to build the nginx with the module included, but it appears that's not needed when doing it through apt install. You probably have to load the module manually (check if the module exists in the modules directory): [CODE] And another directory I've seen mentioned: [CODE] | 2 | 1 | 6,213 | 2022-05-04T00:16:07.340 | infrastructure | serverfault.com | |
323,936 | How can I get sudo to authorize me on multiple pty's with one password? | I'm running [CODE] version 1.7.4 on Debian squeeze. In this version, unlike some older versions, every pty has to be authorized separately with a password and timeout. In older versions, one password was good for any pty during the timeout period. I'd like to persuade [CODE] to revert to that older behavior, so that I ... | Have a look at the tty_tickets option From the man page tty_tickets If set, users must authenticate on a per-tty basis. With this flag enabled, sudo will >use a file named for the tty the user is logged in on in the user's time stamp directory. If >disabled, the time stamp of the directory is used instead. This flag is... | 4 | 5 | 239 | 2011-10-22T16:40:15.157 | infrastructure | serverfault.com | |
566,300 | PTR records with Windows DNS Server not working | I am trying to create a PTR record on my domain (kentrosecafe.com.au) so that I can get reverse DNS lookups working. The DNS Server I am using is the Windows DNS server which is on a Wiindows 2012 Server VM that is hosted on Azure. I believe I have configured the DNS server correctly because if query my DNS server dire... | [CODE] records need to be setup by the own of the IP address range. Contact your ISP/network provider and have them create the necessary [CODE] record(s). It is possible to have then delegated to your servers, but few ISPs will do so. | 0 | 1 | 2,047 | 2014-01-10T06:28:48.577 | infrastructure | serverfault.com | |
54,581 | When upgrading a package with make install, should I run make uninstall for the pre-existing package first? | If I fail to run make uninstall first, is the typical result no worse than simply having unused files lying around? If the given is yes, is the answer universally applicable, or does it depend on the package? The automake docs state that an uninstall target is created, but perhaps there are exceptions. Thanks | There is no way to guarantee that the make uninstall process for the new version will do the right thing with the version you have installed. You'd also need to make sure that you had identical configure options with your new and old version. The risk that it will do the wrong thing is just too great, especially if you... | 3 | 3 | 1,276 | 2009-08-15T13:40:29.687 | infrastructure | serverfault.com | |
62,272 | about build process | I have programmed in Obj C and C, but until now found that I dont fully understand the steps in taking the software from source code to executable, I found this image kind of explaining it (sorry couldn't upload as I'm new but I still not get when the debugger, make, builder come into action, when it goes to asm and wh... | The debugger doesn't do anything before runtime. Well, you need to instruct the compiler to include information for debuggers in the output if you want the debugger to be more useful, but such options just adjust details of the "compile" step. [CODE] is just a tool for automating the build, i.e. specifying all those st... | 0 | 1 | 149 | 2011-03-26T15:33:54.883 | api_errors | softwareengineering.stackexchange.com | |
1,038 | Moving tables to another SQL2008 database (including indexes, triggers, etc.) | I need to move a whole bunch (100+) of large (millions of rows) tables from one SQL2008 database to another. I originally just used the Import/Export Wizard, but all the destination tables were missing primary and foreign keys, indexes, constraints, triggers, etc. (Identity columns were also converted to plain INTs, bu... | We actually did it using a lot of manual scripting in conjunction with the Import wizard, but this morning I found a better answer, courtesy of Tibor Karaszi's blog article . Part of our frustration here was that the SQL 2000 "DTS Import/Export Wizard" actually makes this almost trivially easy by selecting "Copy Object... | 16 | 9 | 34,728 | 2011-02-03T00:29:19.193 | data_quality | dba.stackexchange.com | |
628,124 | Memcached cachesize 512M or 1G for VPS 2G? | I just started to use [CODE] on a [CODE] with 2Go of RAM. I set the cache size at 512 Mb, but I am wondering if I can go for 1024Mb. On the [CODE] there are: a local business website with very few connections (like up to 10 sessions a day at best, only anonymous users), once in a while a webmaster updates content. An a... | You are most likely good with something very little like 32mb... Only a very busy application using memcache that stores great diversity of data may be able to make use from more memory... If you have busy application memcached items will expire very quick if diversity is high. Memcache memory is split in multiple slab... | 2 | 2 | 1,798 | 2014-09-12T16:27:27.700 | infrastructure | serverfault.com | |
694,956 | Website in IIS not serving static files | I have an ASP.NET MVC website in IIS 8.5 running on Windows Server 2012 R2 which refuses to load static content. .NET 4.5 extensibility and ASP.NET 4.5 are installed on the server, as well as the static files module. The static file handler is set up and correctly configured on the website. Still, I just get a 500 - In... | The IIS failed request trace logs showed that there was an error with impersonation when reading the static files. The group [CODE] did not have the [CODE] user right in the computer's Local Security Policy. After adding this, the files now load as expected. Can anyone explain why, though? Why would this user right be ... | 4 | 3 | 10,674 | 2015-05-28T10:32:58.910 | api_errors | serverfault.com | |
176,706 | Hook to run code when Postgres DB launches | I need to run code when a database/catalog in a Postgres cluster comes online, before any client has connected. Specifically I need to do some cleanup such as dropping/truncating a particular table. Is there a place for my code to be automatically run with a guarantee it will finish before any incoming client connectio... | You have two methods of doing this, Step back, your best bet is to use [CODE] TEMPORARY or TEMP If specified, the table is created as a temporary table. Temporary tables are automatically dropped at the end of a session, or optionally at the end of the current transaction (see ON COMMIT below). Existing permanent table... | 1 | 3 | 360 | 2017-06-19T23:01:06.603 | warehouse_errors | dba.stackexchange.com | |
59,407 | self-signed certificate issue in IIS 7.0 | I am setting up IIS 7.0 on a Windows Vista box. I am using self-signed certificate (by using built-in Create Self-Signed Certificate feature of IIS 7.0) on a web site. The I can browse from the local machine (the machine with IIS and web site) for the https address, for example, https://machinename/test.html , it works... | Using a self-signed certificate just means the browser is going to display a warning everytime you access that page as it cannot verify the identity as the CA is not recognised. For a quick test can you enable only SSL traffic and request HTTP from another machine and verify you get an error message? Once you have ensu... | 0 | 1 | 558 | 2009-08-27T06:30:02.137 | infrastructure | serverfault.com | |
104,082 | Tracking the update or changes in mysql table | I need to stream the changes to elasticsearch to keep in sync with my database(mysql). What will be best way to do this ? I have thought for below approaches Using trigger( but my table will have billions of data and the application will have frequent update so trigger may be costly) . 2 Using delta/history table (this... | This topic is very interesting for me now, so because it Up, some last information: Replication is good, but what if You need replicate data to different technology Target System (for example Redshift) I found and test few implementations for change data capture: 1) MariaDB MaxScale CDC - my personal test was unsuccess... | 0 | 1 | 3,816 | 2015-06-15T14:30:05.717 | database_errors | dba.stackexchange.com | |
208,789 | Lots of DNS lookup | Our internal application website that is hosted on a LAMP is very slow to load. With firebug, we get this : Most of those files are .js and everything is on the same domain. We can't find why there are so many DNS Lookup, it's insane ! Can you please help us ? Thanks ! | We found that the KeepAlive was at off on the Apache conf, this partially solve our issue because now our website isn't working on Chrome/Safari. | 0 | 1 | 146 | 2010-12-03T14:41:19.627 | infrastructure | serverfault.com | |
220,155 | SQL Fastest Way to find Data Difference Between Two Tables | I am trying to locate fastest way to find difference between two tables. The first table is populated from text files daily, the second table is maintained in our database. We need to add data that is new or has changed from the text files. The comparison is done on the primary key. [CODE] So row values Table 1: (1,'Bo... | There is no firm answer. David Lozinski conducted a study below, and found different methods succeed depending on row count, statistics, cardinality. Fastest way to insert new records where one doesn’t already exist I had an opportunity to test the tablediff utility, for some reason it was performing lot slower (2-3x s... | 2 | 1 | 6,778 | 2018-10-15T18:13:44.343 | database_errors | dba.stackexchange.com | |
215,676 | Multiple Memcached server /etc/init.d startup script that works? | I install memcached server via source and can get standard start up script installed for 1 memcached server instance, but trying several scripts via google, can't find one that works to manager auto start up on boot for multiple memcached server instances. I've tried both these scripts and both don't work, service memc... | To add a service to chkconfig you will normally need a couple of special comments below the shebang of a shell script: [CODE] After adding the lines to /etc/init.d/memcached you can then issue [CODE] There are of course additional run levels a process can start at so to check that you would issue [CODE] A common run le... | 6 | 5 | 9,684 | 2010-12-23T14:14:10.627 | infrastructure | serverfault.com | |
220,515 | s3fs: how to force remount on errors? | I use s3fs 1.33 on Ubuntu 9.10. Regularily it gives me errors like this: rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32) rsync: close failed on "/mnt/s3/mybucket/filename": Software caused connection abort (103) rsync error: error in file IO (code 11) at receiver.c(731) [receiver=... | Upgrade to Ubuntu 10.10 helped. | 3 | 0 | 4,796 | 2011-01-10T06:13:45.220 | infrastructure | serverfault.com | |
70,064 | How gradients are learned for pooling layers in Convolution Neural Network? | Assuming we could compute a layerwise Hessian of the error function when training a neural network, the error sub-surface of pooling layers will be flat.?? Is that correct? There is no weights to be learnt for pooling layer but for eg. max pool can have different values at different iterations? Will that effect the err... | 1) Will the error subsurface be flat? One cannot find the hessian or any such error subsurface of the pooling layer because common pooling layers like max and avg pooling do not have any parameters to learn (as you mentioned)! 2) But, we can speak for the effect of the pooling layers on the error surface of the previou... | 1 | 1 | 313 | 2020-03-22T10:34:38.493 | data_quality | datascience.stackexchange.com | |
139,507 | Optimal query to show active records by date | I'm trying to determine what the optimal query might be for associating a date with a record that would have been active for that day. Here is a setup to demonstrate what I'm trying to do ( demo at SQL Fiddle ): DDL: [CODE] [CODE] Sample Data: [CODE] [CODE] Sample Data: [CODE] Query: [CODE] In the real world scenario, ... | So I happened to have stumbled on a more efficient pattern for this sort of operation (based on how much faster this is in testing). Given the above, here's what it would look like (I've excluded fields beyond what are necessary to point to a [CODE] record): Updated Query: [CODE] | 1 | 1 | 135 | 2016-05-25T15:05:47.563 | warehouse_errors | dba.stackexchange.com | |
17,094 | How do you configure IIS to display at proper size on mobile devices, is it viewport? | I have a web app that is targeted to mobile devices. It displays fine on old devices with a screen size around 320px wide, but it displays as a little postage stamp in the corner of the screen on newer devices with higher screen resolutions. I've been looking at browser capabilities files on the IIS config side and the... | This is something that needs to be handled in code, not through IIS config. You'd be better off taking this over to StackOverflow.com | 1 | 2 | 1,129 | 2009-06-01T19:27:49.327 | infrastructure | serverfault.com | |
148,224 | SQL Login keeps losing access to databases | We created a SQL Login account for reporting use only (SSRS), we'll call it ' MyReportAcct '. We've used this account for some time and it is created for every newly installed instance. It has been working as you'd expect, except on a couple of mirrored instances. I've not seen this issue on any standalone instances in... | Short answer: The SIDs for the ‘ MyReportAcct ’ SQL login are different on each server instance. Long answer: The [CODE] database houses the security database for each instance of SQL Server (think Active Directory for a database server). In this scenario we have two different [CODE] databases, since it is a mirrored p... | 3 | 3 | 5,226 | 2016-08-29T15:48:16.180 | bi_errors | dba.stackexchange.com | |
919,349 | How to setup Traefik for HA? Need a reverse-proxy in front of Traefik? | I am trying to setup Traefik on a production site, and I'm struggling with some high availability issues. I think we still need a reverse-proxy in front of the Traefik cluster. Here are the potential setups that I've considered, and why the reverse-proxy seems to be needed: Setup DNS A records to point to each of the T... | there are different kind of solutions. 1) Build you own HA Loadbalancer in front of your Swarm/Kubernetes Cluster to distribute the traffic and perform failover. There lot of different Appliances out there: Netscaler Kemp F5 While this approach is HA it is usually not cheap. An cheaper alternative to this could be a Ng... | 8 | 1 | 10,546 | 2018-07-03T17:32:07.900 | pipeline_ops | serverfault.com | |
727,435 | Trying to downgrade MongoDB on CentOS | I'm running CentOS 6.7 on a Hyper-V, which means that I can't do an in-place upgrade to 7.0. Today I did a server restart, and some time between the last time I did a restart and today my installation of MongoDB was upgraded to the latest version (3.0.6). I don't know who did the update, but now it requires some librar... | Spin up a new VM and install the correct version of MongoDB and it's dependencies. Then copy the data from he old machine to the new. If you don't know how it got upgraded then, on the old system look in [CODE] to see when it happened. Then take a look at all the system cron jobs, the smoking gun will be yumcron. You c... | 1 | 1 | 834 | 2015-10-07T19:37:08.173 | database_errors | serverfault.com | |
594,894 | sshfs mounts from command line but not through fstab | I'm able to mount an sshfs network share from the command line (using Ubuntu 14.04), like this: [CODE] but I can't make it persistent using fstab. Here's my [CODE] It's not a permissions problem, because - sometimes, at least - a "shared-things" directory is created in the mount directory, but it's empty. Inexplicably,... | @Stretch has identified the correct methodology: I stripped the arguments down to "defaults" and added one argument at a time. "fuse comment=sshfs,defaults,allow_other 0 0" has the share up and running. I'll experiment with the others later. | 1 | 1 | 1,744 | 2014-05-13T20:58:30.550 | infrastructure | serverfault.com | |
482,798 | Windows Server Backup, drive is doing full backup instead of incremental | We currently have a windows small business server 2008, that is being backed up using the default SBS tools (windows server backup). Things seem to work properly, but the backups are taking a very long time (up to 12 hours). Everything is configured to use incremental backups, but when I look through the logs I notice ... | What are you backing up to? If you're backing up to a shared network folder, WSB will only store one full backup per server, each new backup wiping out the last. Also yes you need VSS. And it could also happen if more than 50% of the source files have changed since the last backup. | 1 | 2 | 2,324 | 2013-02-26T22:57:24.163 | database_errors | serverfault.com | |
674,668 | What can happen with wrong rDNS? | I noticed, that i had the rDNS for some server wrong. It did not cause any problems, but i am wondering, what can happen with wrong rDNS except from obviously getting spam point or even mail rejected, if it happens on a mail server. So, what can happen for these errors: rDNS missing forward DNS missing (NXDOMAIN) for r... | Many spam filters check that the reverse DNS of a server that sends mail matches its forward DNS. In other words, if you use the DNS system to look up the IP address of your outgoing mail server you should get the host name, and if you look up that host name you should get the same IP address. Apart from that, it's not... | 1 | 2 | 558 | 2015-03-11T17:31:39.407 | infrastructure | serverfault.com | |
585,465 | Getting 502 bad gateway after updating php to 5.5 | On my ubuntu 12.10 server I upgraded php to 5.5. After getting 502 errors on my wordpress site I did some googling and discovered I need to change my nginx configs to match the passing of php scripts to [CODE] rather than port 9000. So I changed my site's config file to the below: [CODE] I then did [CODE] . But the 502... | I had this problem too, and I solved it by using TCP connections. Quoting this answer Error 502 in nginx + php5-fpm (found following the link from danmash): The issue is socket itself, its problems on high-load cases is well-known. Please consider using TCP\IP connection instead of unix socket, for that you need to mak... | 4 | 1 | 2,859 | 2014-03-30T14:24:58.810 | infrastructure | serverfault.com | |
46,284 | How do you manage a complexity jump? | It seems an infrequent but common experience that sometimes you're working on a project and suddenly something turns up unexpectedly, throws a massive spanner in the works and ramps up the complexity a whole lot. For example, I was working on an application that talked to SOAP services on various other machines. I whip... | What comes to my mind reading this is the agile adage: tackle the riskiest and/or least well understood tasks first within the project lifecycle . I.e. try to put together a working skeleton of the project as early as possible, to prove that the concept works. This in turn also enables one to run any sort of cruel test... | 13 | 8 | 1,200 | 2011-02-10T14:51:18.033 | api_errors | softwareengineering.stackexchange.com | |
480,578 | SMBD daemon spikes at 100% cpu usage when Windows 8 clients connect | I have a server running Ubuntu 12.04 running as a Samba server. The file system is an XFS formatted virtual drive on an LVM pool of physical drives. I recently upgraded our clients to Windows 8 and I've noticed that there's a 6-8 second delay for the client connecting the SMB share on the Ubuntu server. With Windows 7,... | I was able to resolve the delay with logging in from Windows 8 by making the following change in smb.conf: [CODE] | 6 | 5 | 2,017 | 2013-02-20T08:05:33.227 | api_errors | serverfault.com | |
20,488 | Disabling DBMS_SCHEDULER queue | Despite a lot of searching, I can't seem to find a solution to this problem we are having. Our system enables users to submit certain processes to be run in background while they continue working. These processes are submitted as jobs using DBMS_SCHEDULER and we have a couple of job classes for serial and parallel proc... | I can't test it right now but I think you could do this with open/close scheduler window: first define a window with [CODE] . This window could have a 24 hour duration and repeat every day so that it is always open. modify your job submission so that they run under this window (parameter [CODE] of the [CODE] procedure)... | 4 | 5 | 1,903 | 2012-07-06T09:12:40.703 | warehouse_errors | dba.stackexchange.com | |
156,944 | Lazy loading can lead to stale data, violates IoC? | Trying to be a better programmer I have an application that keeps track of Roles and Permissions, I had classes for Role and Permission which were just value objects. [CODE] If I wanted to get the permissions for a Role I would do [CODE] But for convenience (it's a Desktop application) I had to move the permission coll... | Yes, this behavior is common in lazy-loaded data objects based on rapidly-changing data stores. You force a change here, but similar concurrency issues can happen in a multi-user system even when you're looking at data in a read-only fashion. The easiest solution to your specific issue is to add the permission to the P... | 3 | 2 | 858 | 2012-07-16T04:40:16.877 | api_errors | softwareengineering.stackexchange.com | |
40,088 | Test and developer of the psychological approach. Avoidance of tensions implement, but how? | Many testers are aware that sometimes it is not easy to mediate between developers and testers or to find a common approach. Sometimes, anger also tends to rule on both sides. Within ISTQB this area is also described and some right points are mentioned. From my experience, one should approach certain issues very carefu... | I'm not sure about this. the part where devs and testers are having "tension" are so year 2005... anyway to give my personal opinions How do you avoid tensions in the processes? respect is the key How can the testers be better integrated into the processes? Include the testers in all plannings, meetings or just anythin... | -2 | 1 | 68 | 2019-07-22T08:52:49.333 | data_quality | sqa.stackexchange.com | |
64,494 | Concurrent MySQL requests are really slow on OS X | The backend of one of our web applications uses MySQL on Linux. It all works very well and fast. But I also do a lot of my development on OS X, and have the complete live environment mimicked there. It all works correctly, but when several MySQL queries are run concurrently (due to some simultaneous Ajax calls), the My... | If you're running a good chunk of memory, you should set your MySQL install to use the my-huge.conf configuration file. If you're using the default install the defaults are probably far too conservative for your hardware. HERE is a good article about MySQL configuration files | 1 | 2 | 3,155 | 2009-09-11T13:35:26.970 | database_errors | serverfault.com | |
97,307 | Why can a neural network solve XOR if it is not a continuous function? | My understanding is that a typical neural network without any fancy activation functions can only solve problems that can be modelled as a continuous function. If this is the case, why can a standard neural network (1 hidden layer) solve xor? I'm not looking for a solution to xor here but an explanation as to why this ... | I guess the observation you need is that a neural network is typically a function $f \colon \mathbb{R}^2 \to \mathbb{R}$ or something along those lines, whereas the XOR function is a map from $\{0, 1\}^2$ to $\{0, 1\}$ . It's easy to construct a function that, when restricted to $\{0, 1\}^2$ , is the XOR function, but ... | 3 | 5 | 507 | 2021-07-01T10:23:31.283 | data_quality | datascience.stackexchange.com | |
289,363 | Blocking on readable secondary replica | We recently migrated from LogShipping [CODE] setup to Multi Subnet AG setup with readable secondaries. Generally on old setup we have select queries running for longer duration as the database in question is over 20 TB and has mix of read write workload on primary. After moving to new setup of AG we have started seeing... | Queries against read-only secondary replicas implicitly run in snapshot isolation regardless of the session isolation level or RCSI setting. This avoids blocking due to DML changes. Read-only queries still acquire schema stability locks , which will block DDL operations by redo threads and visa-versa. SPID 129 blocks a... | 3 | 5 | 1,326 | 2021-04-06T14:13:26.103 | warehouse_errors | dba.stackexchange.com | |
213,348 | Exclude Duplicates With Certain Value | I'm been beating my head up against a wall with this all day. I have a SQL Server table called Accounts [CODE] I'm trying to eliminate the duplicate rows with 0 as the FirstName and LastName. The non duplicate rows with zeros I want to keep. I want to eliminate only the rows that contain zeros that have a duplicate IDN... | If I understand your question correctly, how about something like this: [CODE] OR [CODE] Both of these solutions produce the results you're looking for. [CODE] UPDATE 8/2/18 - Excluding records instead of deleting them. Based on your comment What about excluding those records from the resultset? So don't delete them ju... | 2 | 3 | 1,130 | 2018-07-26T20:05:48.673 | database_errors | dba.stackexchange.com | |
41,972 | Xen vs. KVM in performance | What is faster on the same hardware, Xen or KVM? I'm trying to pick-up a virtualization technology to work, which gives the best performance. There are some benchmarks here that I found on the subject: http://virt.kernelnewbies.org/XenVsKVM They show KVM as a winner, with significant difference in performance - which g... | That benchmark is only comparing the speed of the native OS to a single guest OS. It is hardly a real-world test. I don't think I would put much weight on it. Most of the KVM camp argues that Xen requires too many interrupts and hops between kernel and user space, but from most of the more real-world benchmarks that I'... | 40 | 35 | 73,283 | 2009-07-17T03:07:37.953 | infrastructure | serverfault.com | |
922,000 | Enabling Cloudflare Proxy on Ghost.io hosted blog | I've got a Ghost blog hosted on Ghost.io. In the setup process they help provision a CloudFlare DNS record and SSL certificate to serve the site. In the setup their configuration seems to only use the Cloudflare DNS features, so Web Workers, Page Rules and other features of Cloudflare are not working on my main domain.... | Both Ghost and Cloudflare gave a bit of feedback. Due to the fact that Ghost has taken cloudflare control over my domain, only they can control the settings. This is currently a limitation of cloudflare and in the future select settings may come under control of the domain owner. Ghost is currently using a fixed setup ... | 1 | 0 | 499 | 2018-07-15T13:07:35.257 | bi_errors | serverfault.com | |
699,653 | New unwanted/unidentifed connection using NoMachine | New unidentified/unwanted connection appears in my windows Nomachine. 3-5 minutes after a start it is here: after couple minutes it disappears: The connection is configured with an IP address from my work network and mask. Incoming connections are disabled. What does it mean when the connection logo has 3 joined pipes ... | Three joined pipes indicates a computer that is being broadcast on your local network: See figure 3 in the tutorial here: https://www.nomachine.com/finding-other-nomachine-computers-on-the-same-network . The sessions with the !M symbol are your traditional connections already started. See fig 4 in the same tutorial. | 0 | 1 | 70 | 2015-06-17T12:47:38.380 | infrastructure | serverfault.com | |
136,235 | Group daily schedule into [Start date; End date] intervals with the list of week days | I need to convert data between two systems. First system stores schedules as a plain list of dates. Each date that is included in the schedule is one row. There can be various gaps in the sequence of dates (weekends, public holidays and longer pauses, some days of the week may be excluded from the schedule). There can ... | This one uses a recursive CTE. Its result is identical to the example in the question . It was a nightmare to come up with... The code includes comments to ease through its convoluted logic. [CODE] Another strategy This one should be significantly faster than the previous one because it doesn't rely on the slow limited... | 18 | 6 | 4,472 | 2016-04-22T13:40:44.837 | warehouse_errors | dba.stackexchange.com | |
722,159 | Server 2012 Environment Variables not properly resolving | I've got a Server 2012 R2 server with the RDS roles installed. When attempting to add a new app I'm getting told that the server 'isn't online', despite the fact I am on that same server and am able to launch other applications. I've narrowed it down to the environment variables not resolving correctly - as per this ex... | I suspect it's broken syntax in your path environment variable. C:\Program Files (x86)\Sybase\SQL:\Program Files (x86)\Sybase\Shared\win32; Should be: C:\Program Files (x86)\Sybase\SQL;C:\Program Files (x86)\Sybase\Shared\win32; Note the missing ;C | 1 | 4 | 3,722 | 2015-09-14T11:45:45.847 | infrastructure | serverfault.com | |
140,464 | guessing unused junk space in table. (innodb mysql/mariadb ) | We have in every site (a dozen) one big database with lots of tables and record, using innodb as default and with innodb_file_per_table. from time to time we have space issue on some site and I am able to reclaim space from big table with a [CODE] . Hopefully that works, but I don't know table will return useful unused... | After digging the question, I went with a SELECT like this one: [CODE] So I have a list of table to process. a scripted form would be : [CODE] | 1 | 0 | 301 | 2016-06-06T03:56:02.067 | database_errors | dba.stackexchange.com | |
597,749 | Nginx URL virtual host rewrite issues with Magento e-commerce | I've been running into some problems with my URL rewrites. When I click a link in my Magento back-end it completely messes up the URL. We start with this link: http://icanttellmydomain.nl/index.php/paneel/dashboard/index/key/26f665360ac9f2e3e9b5c69b09 7fcb6b/ But we are redirected here: http://icanttellmydomain.nl/in... | Posting my working nginx php config, found here: http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/configuring_nginx_for_magento [CODE] | 0 | 1 | 5,690 | 2014-05-22T10:00:25.033 | bi_errors | serverfault.com | |
249,853 | Does mysqldump return a status? | I am creating a script that backups a mysql db using the mysqldump utility. I am writing this script in the shell "sh". I would like to capture the output status of mysqldump in the script (i.e. if the mysqldump command failed or succeeded) so I can report if the script was successful or not. Does mysqldump return an o... | mysqldump returns [CODE] It also prints an extended error message to stderr e.g. [CODE] You can inspect the returned value like so [CODE] | 17 | 20 | 24,629 | 2011-03-21T13:51:00.400 | database_errors | serverfault.com | |
236,189 | IPTables masquerading with one NIC | I am running an OpenVPN server with only one NIC. This is my current layout: [CODE] The Cisco firewall forwards the requests to the oVPN server, thus so far everything works and clients are able to connect. However, all clients connected should be able to access 3 networks: [CODE] So tun0 is mapped to eth1. Iptables ou... | Apparently VPN was working all the time from outside the office. It was just not routing anything for people inside the 192.168.110.0 network (office). vpn.domain.tld was pointing to 192.168.22.70 in the LAN. By changing vpn.domain.tld to point to the public IP address of the VPN server the problem was resolved weirdly... | 1 | 0 | 1,435 | 2011-02-16T13:24:57.033 | infrastructure | serverfault.com | |
2,394 | Approaching user adds and edits with Ansible | I am going to be attached to a small project that basically organizes the users in a cluster of AWS Linux servers. The servers users assigned have different UIDS and maybe different GUIDs. I am hoping to use Ansible to fix this up and organize users better. I can get Ansible to run on a test environment but one thing h... | If editing critical flat-files across multiple servers in one place is too scary.. One approach I have often recommended is to let system users reside in /etc/passwd files, and to add an additional Name Service Switch (NSS) source for humans that need to log in. For big projects (lots of users authenticating against th... | 5 | 4 | 295 | 2017-10-23T13:42:16.803 | api_errors | devops.stackexchange.com | |
262,045 | Is performance the only reason not to use SignalR (websockets) entirely in lieu of a traditional REST API? | I have used [CODE] to achieve real-time messaging functionality in several of my projects. It seems to work reliably and is very easy to learn to use. The temptation, at least for me, is to abandon developing a Web API service and use [CODE] for everything. I feel like this could be achieved by thoughtful design, and i... | Those two technologies have a very different purpose. REST is for ordinary calls to an API, with client being an active actor of the exchange. When the client needs to find GPS coordinates of an address, the client initiates the call to the API and waits until it receives the coordinates, or a error occurs, or a timeou... | 59 | 66 | 50,966 | 2014-11-07T10:39:40.767 | api_errors | softwareengineering.stackexchange.com | |
229,562 | Do any package managers provide select-one dependencies | With jquery very slowly being phased out you get into more and more situations where library X will run with either jquery or zepto.js (but at least one is required). No package managers that I can think of however allow you to express dependencies like this. If I was to propose this feature to - say - bower, is there ... | [CODE] / APT has supported this for ages. There are two mechanisms for this. One is alternate dependencies by simply declaring the dependency like this: [CODE] You will declare that the package depends on either [CODE] or [CODE] . The other mechanism is Virtual Packages . A package can declare that it [CODE] a virtual ... | 0 | 4 | 64 | 2014-02-19T16:03:26.730 | api_errors | softwareengineering.stackexchange.com | |
161,483 | SQL Server displayed 'Grantor' vs system tables result | When I select server properties -> permissions, SQL server appears to display the 'grantor' as the (sa-level) login of the person who created the login. But when I select from the system tables (see below), the 'grantor' is "correctly" displayed as 'sa'. If this is correct, where does properties -> permissions get its ... | SQL Server Management Studio executes a series of dynamic SQL statements to obtain the list you're seeing. You can capture the statements it executes with an Extended Events session, or by running a trace against a non-prod instance while viewing the permissions tab. I just did that, and it looks like SSMS is pulling t... | 3 | 1 | 520 | 2017-01-18T16:16:36.300 | database_errors | dba.stackexchange.com | |
127,902 | RT database scaling | Recently I heard someone suggest that RT request tracker may have scalability issues due to its non-normalized database (someone at a Perl meeting I went to referred to it in a positive light as hyper-normalized, but I think he may have misunderstood what normalization is all about). On the other hand I know that large... | How busy do you expect a bug tracker to be? My suspicion is that the working set is relatively small, and should be easily cached by the DB. The only reports of RT scaling problems I can find are from 2003, and only in searching. The main users of RT will probably be email, which should be relatively light compared to ... | 3 | 1 | 304 | 2010-03-31T00:11:11.553 | infrastructure | serverfault.com | |
174,771 | How to TRIGGER/RETURNING this generator function in PostgreSQL? | I am providing a key table to my users in various categories so I am thinking how to TRIGGER/RETURNING the function with each [CODE] . Functions to generate shorthand unique IDs The thread answer Generating human-readable/usable, short but unique IDs but no salt so no. http://hashids.org/ can be a valid option as propo... | I am thinking if the database can do the generation task for you i.e. how to bind your primary key to any algorithm that can generate such shorthand forms Since you mention a salt, I assume you're looking for short strings that are hard to guess or reproduce by an outsider, despite being originated with a database sequ... | 3 | 3 | 1,087 | 2017-05-28T07:34:48.280 | database_errors | dba.stackexchange.com | |
11,078 | Creating Keycloak Realm via Ansible | Currently there is no module to create a Keycloak realm with Ansible. There is a PR but it is stucked since half a year or so. So I though, there is a Keycloak REST API ( https://www.keycloak.org/docs-api/9.0/rest-api/index.html#_realms_admin_resource ) and I could call it with [CODE] to create a Token and then send a ... | As @JSapkota mentioned the URL was wrong. It must be [CODE] . [CODE] Take care about the return status code. It is "201 created" and the [CODE] module must know, that this is fine. This works one time. Because in the next run the REST API responses with 409 the [CODE] module fails. To be idempotent, you need to check f... | 7 | 4 | 5,688 | 2020-03-15T16:25:21.170 | api_errors | devops.stackexchange.com | |
1,065,432 | Debian 9 PHP7.4 can't install curl | I already searched answer for this question and checked Bartek Chanda answer , but not working with me. I have debian 9.13 and already done what Bartek Chanda answered, but not working. Still got this error: [CODE] | You say you have Debian 9 but you appear to have added an apt source intended for Ubuntu 21.04. Remove it and replace it with the correct apt source, then try again. | 0 | 0 | 1,157 | 2021-06-02T13:12:47.480 | infrastructure | serverfault.com | |
121,114 | World Wide Web Publishing Service stops after IISReset | There is an automated task on our web server that performs an IISReset /noforce every night. For the second time today (in over a month) the World Wide Web Publishing Service stopped after the IISReset. The websites obviously didn't run after that. I had no problems restarting the service this morning and the websites ... | With WSS or MOSS on IIS and when we do IISRESET /noforce.. sometimes IISRESET does not completes and leave the service in an unhealthy state. Restart the service upon failure will trigger when there is a failure in reset.. I would be interested to know if the IISRESET event you see in the Event log is for the task conf... | 0 | 1 | 4,956 | 2010-03-10T14:35:27.163 | infrastructure | serverfault.com | |
486,208 | Sharing wifi signal without internet signal | At live events with 20+ wifi signals, I often find I can't get my iOS devices (iPod Touch and iPad) to stay connected to my wireless networks. Simply put, the devices connect and have reasonable signal strength + bandwidth, but after an indeterminate amount of time (sometimes 30 seconds, or times 3 hours), the iDevice ... | You need to do multiple site surveys at various times of day and over as long a period as possible. It is critical that you are on a clear channel as interference will be an issue if many APs are on same channel as your AP. It sounds like you have done some of the work but in many cases new APs pop up and cause interfe... | -1 | 1 | 88 | 2013-03-09T09:14:59.737 | infrastructure | serverfault.com | |
111,760 | LSTM RNN regression: validation loss erratic during training | While training my NN, I am getting unfamiliar behaviors which I don't understand. Firstly: highly erratic validation loss while training loss goes down steadily. Secondly: training loss goes down very slowly (not the usual exponential decay curve) My model architecture is: [CODE] Training set: composed of 30k sequences... | Try using a 'relu' activation function, it might help. Other than that, increase the batch size to check if the loss descent is smoother or not. Even though the graph is erratic, the overall trend of the loss is going down. Try to overfit the data as much as you can (increase LSTM / Dense layers, epochs), to see if the... | 0 | 0 | 363 | 2022-06-12T23:50:19.283 | data_quality | datascience.stackexchange.com | |
1,054,087 | Partition of mdadm raid0 array passed through to win10 20H2 via virto driver is suddenly lost. How can I figure out why? | I have checked the logs. System has been working for a month then suddenly they could not see the drive on network. It is a linux file server with a virtual windows on top of it ... Virtual windows has the virtio drive of 12*10 TB Disks shared over network... The error on windows is : you should format this disk. The e... | Even though there is no sensible logs in either virtual win10 or /var/log/libvirt/qemu and similar. I figured out whenever virtual machine or host machine change state such as sleep, hybrid-sleep, hibernate, suspend. There is risk of data corruption with default virtio SCSI drive settings. I have disabled these states ... | 0 | 0 | 205 | 2021-02-18T08:05:59.250 | infrastructure | serverfault.com | |
344,985 | /var/log is gone, what are the possible reasons? | My system is CentOS 6.1, /var/log directory was gone, what are the possible problems? I created a new /var/log , and 6 hours later it was gone again. Is there any system log that I can inspect? | Most probable answers: your server was hacked you installed a program that removes files you wrote a program that removes files The first answer is much more likely... | 2 | 9 | 509 | 2011-12-29T11:13:32.407 | infrastructure | serverfault.com | |
767,730 | How many CPUs should be utilised with Hyperthreading? | Let's say I have a server cpu with 18 cores, with hyperthreading on, which means I can see 36 cpus in htop. To fully utilise the CPU and not impact single-thread performance, should I be aiming for all 36 "cores" to run at 100%, and the HT cores will just do less work and still report 100%, or would having that mean th... | If the second virtual core is allowed to contribute when the first would otherwise be stuck, it's better than not , so you get (at least) a little extra work done. The question becomes: when does having two different threads cause one to run worse? The branch prediction and dependencies between instructions won't chang... | 24 | 15 | 2,756 | 2016-04-02T12:58:45.263 | infrastructure | serverfault.com | |
126,264 | MySQL process stuck on “cleaning up”, locking table forever | It was suggested I post here as opposed to StackOverflow. I'm new to debugging mysql/innodb issues so here is the best I have: I'm trying to run an integration test so these results are near identical each time, the test is consistently hanging at the same spot while trying to execute the same update. I'm getting a con... | What is your MySQL version? I think it's maybe the bug of MySQL. MySQL bug cleaning up It's fixed in version 5.6.17 MySQL 5.6.17 Release notes InnoDB: SHOW ENGINE INNODB STATUS output showed a “cleaning up” state for > an idle thread. Thread state information was not reset after statement execution. (Bug #21974225, Bug... | 4 | 1 | 4,671 | 2016-01-14T16:46:24.753 | database_errors | dba.stackexchange.com | |
1,045,207 | Storage Spaces Pool - MediaType incompatible with type | Failing to create a virtual disk in Server 2019 due to 2 of the 6 drives having unknown MediaType. Tried setting media type whilst they are in and out of the pool but always same error: Set-PhysicalDisk -UniqueId "50014EE0AD6D766F" -MediaType HDD Set-PhysicalDisk : The value supplied is incompatible with the type. At l... | Well, don't I feel like an idiot. I assumed as I was admin, commands would run with admin rights. Wrong. Opened powershell as admin, low and behold command worked first time. | 1 | 0 | 758 | 2020-12-06T14:29:05.310 | api_errors | serverfault.com | |
13,341 | Salt - Need state to check pillar and perform a if/else check | This is salt 101 I think, but I'm really a salt N00b and need assistance. I need to disable specific services on all of our servers by default, but I need to create a pillar that allows me to override this, and allow the specific servers mentioned in pillar to have those services running. For the sake of discussion, le... | It looks like you are on the right approach here, the issue seems to be one of debugging. I have found this jinja2 live templating engine to be helpful with debugging in the past. In python (on which jinja is based) "True" is a keyword which is probably getting interpreted as a boolean data type . This would be in cont... | 0 | 1 | 2,001 | 2021-02-09T23:14:44.357 | pipeline_ops | devops.stackexchange.com | |
241,527 | SQL server AlwaysOn database not automatically seeding, cannot find logs with reason | I've added a database to an availability group that already has a few databases, all of which seeded and syncing fine to the secondary. This last one gets added to the availability group, it would seem, but is marked as "not synchronizing" and no errors are returned. I've tried it multiple times with the same result. I... | On the secondary replica, you should be able to see the status / outcome of seeding attempts in the [CODE] DMV. This includes columns like [CODE] , [CODE] , and [CODE] , as well as timing related columns, that should give you a decent overview of seeding issues. I have often seen seeding errors written to the SQL Serve... | 3 | 6 | 3,288 | 2019-06-27T10:30:22.067 | bi_errors | dba.stackexchange.com | |
7,023 | SYMMETRIC key & certificates role in sql server? | 1) [CODE] I'm trying to figure out about the SQL Server encryption. once I've executed the code above , is there any way to find out later what is the password value for the [CODE] ? 2) If now i'm doing this with [CODE] : I'm ( the admin) created [CODE] only I know the password. later I : [CODE] until now , Its all ok.... | You are protecting agains accidental media loss (a lost laptop with the database, your drive showing up on a flea market with a copy of the database or of a backup) etc etc. Any scheme in which the processing itself (the database engine or the application) requires to access the data without the user providing a passwo... | 3 | 7 | 2,552 | 2011-10-20T16:01:27.810 | database_errors | dba.stackexchange.com | |
292,916 | Upgrade Apache from source if the original was installed from an rpm? | (migrated from stackoverflow.com ) Recently I've inherited a set of machines running Red Hat Enterprise Linux 5.4. They have been provisioned with Apache Server v2.2.3 installed from rpms. I need to upgrade Apache to v2.2.19. For various reasons I'm building Apache from source. Installing my new version of Apache is no... | You really, really want to create an RPM. You shouldn't have to do it from scratch; there'll be any number of existing packages out there you can use (or at least use as a base) -- including the existing RPM package. Installing from source in a package-managed environment is just asking for trouble, from anyone who has... | 2 | 3 | 1,679 | 2011-07-22T03:04:52.840 | infrastructure | serverfault.com | |
366,203 | Routing all SQL queries through a single micro-service | I currently have a website, made of about 20 micro-services and a (still too large) main monolithic web application. The monolith and multiple micro-services each run queries to the same database, each time having to deal with login to the DB and formatting/running the queries. I may switch our databases from SQL to No... | What would be the drawbacks of such an architecture? Single point of failureness. Coupling that microservice to all others, hindering deployments and versioning. That DB access service is going to be very large. Is passing the queries as strings a reasonable idea, or should I create a wrapper function inside the micro-... | 4 | 7 | 604 | 2018-02-19T13:53:04.000 | api_errors | softwareengineering.stackexchange.com | |
132,805 | Give third-party access to AWS hosted MySQL | I have a production MySQL database hosted on AWS for an eCommerce store I work with. Employees in the firm are requesting access to our live SQL database to use with BI tools like Tableau/Qlikview. How can I grant these users read-only permissions to analyze data from the live database and not the ability to write data... | [CODE] It's explained in detail here (sample code below). Don't forget though that people with [CODE] privileges can cripple a database as surely as if they had [CODE] privileges by running complex reports. Code from website: [CODE] | 0 | 0 | 483 | 2016-03-20T21:32:29.573 | bi_errors | dba.stackexchange.com | |
1,082,479 | DELL R320, Xeon E5-2450 v1, Oracle Linux 8 marks clocksource 'tsc' as unstable, random crashes under load | I recently acquired used [CODE] with [CODE] , all firmware's are updated to most recent versions using [CODE] . On boot dmesg reports: [CODE] Then if i run [CODE] system after aprox. one minute become unresponsive. During test i see watchdog events from network adapter: [CODE] If i add [CODE] to kernel command-line par... | Switching CPU to E5-2470v2 solved the problem, seems previous CPU was somehow broken. | 1 | 0 | 243 | 2021-11-03T05:24:01.547 | database_errors | serverfault.com | |
286,782 | Has variable width types been replaced by fixed types in modern C? | I came across an interesting point today in a review over on Code Review . @Veedrac recommened in this answer that variable size types (e.g. [CODE] and [CODE] ) be replaced with fixed size types like [CODE] and [CODE] . Citation from the comments of that answer: The sizes of int and long (and thus the values they can h... | There is a common and dangerous myth that types like [CODE] save programmers from having to worry about the size of [CODE] . While it would be helpful if the Standards Committee were to define a means of declaring integers with machine-independent semantics, unsigned types like [CODE] have semantics which are too loose... | 22 | 7 | 3,488 | 2015-06-14T22:50:16.950 | api_errors | softwareengineering.stackexchange.com | |
271,094 | how to replace with default value when querying a JSONB column with a key that is not present in a particular row giving empty result | I have a table that has a jsonb column as 'result' which has an array of objects. Looks like this for every row: [CODE] When I am querying this way [CODE] I get correct result but problem arises when I query for a particular row with an id wherein this result column has an empty array data. Then it neither gives any re... | Use a left join: [CODE] | 1 | 1 | 1,133 | 2020-07-16T18:43:02.017 | warehouse_errors | dba.stackexchange.com | |
85,434 | What sandboxing environment can be used in shared hosting (no root access)? | I want to let users run custom programs in my web server without compromising the security. I have tried installing plash for days to amd64 server on Debian Etch (using Dreamhost web hosting) but failed in many cases when compiling from source. Any other suggested sandboxing programs? For example: [CODE] | The usual sandboxing solutions involve either [CODE] or some type of (para-)virtualization, such as VMWare or User Mode Linux . Both options require root access however ( Edit: UML might run without root access). Still, this would probably be the easiest way to go (mature software, widely deployed, many docs), so I'd c... | 0 | 2 | 421 | 2009-11-17T07:02:04.550 | infrastructure | serverfault.com | |
623,940 | Putting My RSA Public Key on RSA Key-Secured Server | Hello and thanks for reading, Basically, I'm taking over for someone on some system admin duties, learning as I go, but one problem I've run into is not having my public RSA key put onto a particular server--one that already has RSA-only access enabled. So, basically, I can't SSH remotely into the server, but I do have... | This article in ubuntu's knowledge base tells you all of the steps required. https://help.ubuntu.com/community/SSH/OpenSSH/Keys Here is the relevant information (I used this method myself on my company server, editing the file on my box): (First, copy the file to a memory stick or to a location where you can download i... | -1 | 0 | 751 | 2014-08-25T22:50:14.487 | infrastructure | serverfault.com | |
116,590 | The conversion of a varchar data type to a datetime data type resulted in an out-of-range value | I have two users in my database. When I execute following query under user [CODE] it successfully executes; however when I execute it under user [CODE] it generates a error message: Query: [CODE] Error Msg: Msg 242, Level 16, State 3, Line 11 The conversion of a varchar data type to a datetime data type resulted in an ... | The condition that is responsible for the error: [CODE] is trying to do this comparison: [CODE] but is using the [CODE] style code (US, [CODE] ) to first convert the [CODE] to [CODE] , effectively chopping off the time part and then converting back to [CODE] - but without explicitly specifying * a style code for the se... | 3 | 15 | 50,779 | 2015-09-30T12:45:04.430 | warehouse_errors | dba.stackexchange.com | |
45,016 | Dynamic Oracle Pivot_In_Clause | I'm kinda stuck. I want to do a user-role-relationship pivot table and my query so far looks like this: [CODE] It works really fine and does the job, but I don't want to write to write any role I want to search for in the [CODE] , because we got like tons of them and I don't want to check every time if there are any ch... | If you want to implement some sort of dynamic list of columns for a PIVOT, then you can look at using a procedure that generates dynamic SQL. The basic syntax of the procedure will be: [CODE] Then you can test the result using: [CODE] This will gives a result similar to this: [CODE] | 3 | 3 | 24,830 | 2013-06-21T06:03:10.103 | database_errors | dba.stackexchange.com | |
839,904 | How to determine why MySQL suddenly stops on Ubuntu | How do you determine why MySQL stops running? I recently upgraded an Ubuntu server to 16.04, and now MySQL will suddenly stop after a few hours. It's acting as the backend for a Wordpress install. My MySQL version is now: [CODE] Checking [CODE] shows the server hasn't rebooted in a few days, so it's not an issue with M... | It can be stopped due to OOM (out of memory killer). In short: when memory, swap included, is almost completely full, the Linux Kernel can kill some demanding processes to alleviate memory pressure. Does [CODE] report something? | 1 | 1 | 3,645 | 2017-03-22T13:37:17.733 | hadoop_errors | serverfault.com | |
899,268 | Curl SSL verification issue on CentOS 5.7 (bypassing doesn't work) | I'm on a CentOS 5.7 server trying to install ssl cert through GitHub script . First when I execute, I get [CODE] and if I set [CODE] in [CODE] then I still get [CODE] . I also tried updating [CODE] from [CODE] but that did not solve anything, still same error. I also looked into see if we have update for openSSL_0.9.8e... | No support for TLSv1.1 or TLSv1.2 in CentOS 5 Your peer probably disabled protocol version TLSv1. With the openssl and curl on CentOS/RHEL 5 (which had its End of Life on March 31st 2017) TLSv1.1 or TLSv1.2 will not work, so you have to upgrade openssl and curl. However, this cannot be done in a sane way on CentOS/RHEL... | 0 | 3 | 4,251 | 2018-02-28T09:42:28.027 | api_errors | serverfault.com | |
121,568 | SQL Server 2008 R2 SP1 - Can't install "Full-text Search" | I have a "Microsoft SQL Server Express 2008 R2 SP1" installation on a machine without the "Advanced Services". Now I want to install the "Full-text Search", so I downloaded the setup "SQLEXPRADV_x64_DEU.exe". The problem is, if I start the setup, select my existing sql-instance and go further to the feature-selection m... | For all people which have the same problem, I solved it this way: I installed a completely new "SQL Server 2012 SP2" instance (with fulltext-search), transferred my databases to the new instance and uninstalled the old one. | 0 | 1 | 565 | 2015-11-19T12:54:42.647 | database_errors | dba.stackexchange.com | |
439,030 | windows server 2008 dns: adding zone for existing external domain | Our local domain is set up as [CODE] . Our web assets are hosted remotely by a third party ( [CODE] ). Currently, there is only 1 Forward Lookup Zone on the machine ( [CODE] ). I need to add an entry for subdomain ( [CODE] ) that points to a local server (10.0.0.22). I tried adding another .com zone and set the nameser... | If you are going to set up split DNS, you need to take ownership of the records in the internal zone that you need the A record for. In theory, you should be able to add a stub zone for domainname.com and then add a record for sub.domainname.com, but in practice I have found this to be unstable in the long run. The bet... | 0 | 2 | 3,528 | 2012-10-16T17:28:27.917 | infrastructure | serverfault.com | |
826,027 | Azure's suspended subscription messed up our website | Due to exceeding the allotted credit spending limit on Azure, our Azure WebApp suspended by Azure. After resuming our subscription we realized that our .Net Core 1.1 WebApp no longer works and it throws error 404! We have not removed anything from the website i.e. binary, etc. How can we recover from this situation? Sh... | Restart your web app, if that doesn't work contact MS support as this isn't what should happen in this situation. | -4 | 1 | 84 | 2017-01-13T04:35:32.290 | infrastructure | serverfault.com | |
1,130,308 | ansible backups for cisco asa devices: ERROR: % Invalid input detected at '^' marker | I have been tasked with backing up all of our network devices, so natuarally I chose ansible. I am no expert but I sure need help on this one! I have tried everything under the moon and cannot figure it out, neither has chat-gpt. The ansible ping module works successfully and the debug output shows its getting some of ... | If you're using [CODE] module, it is advised not to reinvent the wheel and use [CODE] designed specifically for this very purpose. [CODE] You will then have current configuration in [CODE] . | 0 | 0 | 421 | 2023-05-03T23:18:22.650 | database_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.