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 |
|---|---|---|---|---|---|---|---|---|---|---|
882,415 | innodb-read-only prevent mysql replication? Table 'gtid_slave_pos' is read only | I set up a couple of [CODE] containers with the official docker image . Master can read/write and slave is read-only with this my.cnf. [CODE] Replication was working well for a while but it stopped with the following error: [CODE] I added this line into slave's my.cnf and set it up again from the beginning but still go... | As well explained here slave should be read_only. Are you sure that nobody is trying to write to slave? Check if available the binlog. | 1 | 1 | 3,082 | 2017-11-08T08:55:38.870 | pipeline_ops | serverfault.com | |
221,034 | SQL Server Report Builder from Citrix | We would like to allow users accessing the system via citrix to create their own reports using SQL Server Report Builder. Has anyone tried this? Did it work or were there any problems? | I have managed to get this to work quite easily and in fact it's the only way we provide access to Report Builder. Citrix XenApp 4.5 Windows Server 2003 (enterprise) MS SQL Server 2005 Different versions may have different nuances! Make sure you run Report Builder on the Citrix XenApp server as an account with Administ... | 0 | 2 | 1,503 | 2011-01-11T09:47:26.867 | database_errors | serverfault.com | |
861,789 | 500 server error on after turning anon auth off and NTLM on | I'm pretty sure this is a permissions issue but can't seem to track down where at. We have a local intranet site that is running on IIS 6.1 and running PHP. We turned on NTLM on so we can pull user-info, for this to work fully we turned off anonymous authentication, as soon as we did that we noticed that we get 500 ser... | PHP by default “impersonates” the user who is loading the browser. When Windows Auth was off it likely ran as a system user. So I increased user’s permissions on the machine since it seems to be executing as user context now that we have Windows Auth on. It won’t show you the error details unless it trusts you, I guess... | 0 | 0 | 602 | 2017-07-12T15:07:02.783 | api_errors | serverfault.com | |
602,395 | SQL Reporting service unable to start after restoring on new hardware | I have a SQL server that the hardware is failing. As a solution we restored the image of the server on a multicore (more less new) server. The problem is that SQL 2000 cannot be started if number of CPUs is not in power of 2. I found this article that helped me with a nice trick to load SQL just fine but the reporting ... | I was able to solve the issue my selecting the amount of cores on the server using the HP ROM based utilities. Instead of using all 12 cores from each CPU (a total of 24), I downgraded to 8 per CPU for a total of 16. Since it is a power of 2, problem solved. Thanks! | 0 | 0 | 311 | 2014-06-06T15:48:50.433 | database_errors | serverfault.com | |
140,404 | Downloads are consistently corrupt, what are the potential causes? | I am consistently experiencing corrupt downloads over TCP/IP and Ethernet on a small LAN, the downloads are coming from different sources on the Internet. WAN is comcast cable.. NIC is brand new. My theory is that this is being caused by a bad ethernet cable. What are the possible causes? I am in the process of testing... | The cable should be ruled out by the network protocol - I'm not that deep into tcp, but would expect that tcp handles cable errors through some kind of checksums, so that corrupt packets are detected. Disintermediate the cabling theory and (almost) everybody on the outside: Test downloads through https. This way you ca... | 3 | 5 | 5,263 | 2010-05-10T20:12:01.623 | data_quality | serverfault.com | |
855,070 | TeamCity Upgrade Issue | We are trying to migrate our production TeamCity from version 9.1.4 to version 10.0.5 The upgrade process works well and everything works once I get onto the web UI. The problem is that, after a couple of minutes the build queue suddenly starts to build up and it goes all the way up to 3,000. I'm not sure how to clear ... | Issue ended up being a couple of missing flags in the maintaindb command. Needed to make sure -L was set as a parameter, so that when TeamCity backed up it also grabbed all the historical data | -1 | 0 | 112 | 2017-06-10T22:56:14.703 | database_errors | serverfault.com | |
450,751 | Why does this procedure lead to a merge conflict? | I am very new to Git and trying to follow along with Git Prodigy by Ebenezer Don to learn about it. I am at the (early) stage wherein I am learning about [CODE] . I produce the text file prac.txt [CODE] I then make this my first commit ( [CODE] followed by [CODE] ), with first 6 characters of my commit code as 5b0a47. ... | The aim of [CODE] is to reverse the change caused by a given commit. But sometimes things that happen in between change the situation so that that commit is not directly reversible - at least not unless you either reverse those other things first, or tell git how to deal with the conflict. The change made by the origin... | -2 | 6 | 238 | 2024-01-25T23:46:45.787 | api_errors | softwareengineering.stackexchange.com | |
298,893 | When should I Switch In from Stage Table to a SQL OLTP Partitioned Table | I have an OLTP Database with a big table (30M records a day / 400TPS). I want to implement Partitioning & Sliding Window on that table with Monthly Partitions plus a temp Stage-Table. The time to Switch-Out (Archive) my data is clear for me: 'End of Month' for the Last Month of my window. But my problem is when should ... | In OLTP you would rarely, if ever, switch-in partitions for exactly the reasons you state. Instead consider using Columnstore with compression delay. See Get started with Columnstore for real-time operational analytics | 0 | 3 | 72 | 2021-09-01T12:30:21.693 | hadoop_errors | dba.stackexchange.com | |
76,081 | Print, transaction and cursor performance in Transact-sql | I'm having some performance issues when I run a script. I was reading about the problem with print and its performance, but I cannot figure out how to reduce the impact. The algorithm is O(n^2). The main loop goes through around 50k elements. For each of them it performs some selects to retrieve data from different tab... | You could declare a table variable, insert to that rather than printing and dump it in toto at the end of your process: [CODE] The identity column will keep things in chronological order. @tables' contents survive a rollback so are preferable over #tables or normal tables for this purposes. I haven't profiled this sugg... | 1 | 2 | 554 | 2014-09-09T11:43:50.853 | database_errors | dba.stackexchange.com | |
1,027,045 | Windows 10 Error Message Location for editing | Does anyone know the location of this error message, so I can edit the text? I tried searching the registry and the .vbs files in the C:\windows\ directory, but wasn't able to find any reference to that error. | This error message is in the translation subsystem database as a (non-readable) binary string. You definately should not edit this critical system component, as those files are all signed and can be overwritten at any point by updates. You would most probably destroy your Windows installation. Additionally, the text co... | -1 | 1 | 53 | 2020-07-28T13:24:48.130 | infrastructure | serverfault.com | |
399,447 | How to handle frequent update requests to an API which is connected to the database? | In a document editing web application such as Google Docs or Evernote, sync/save has to happen almost instantaneously to make sure data loss is minimal in case of a connection failure or a client crash. A straight forward solution seems like to have the update end point called at short time duration or each time user p... | You can keep updated data in a memory cache (such as REDIS) on the server side that is flushed into the database less frequently. But the general rule of thumb for optimization is that you don't do it before you: clearly see that there is a performance problem, either by experience or by calculations based on hard data... | 2 | 4 | 491 | 2019-10-08T05:21:18.770 | api_errors | softwareengineering.stackexchange.com | |
865,681 | SSL Cipher Suite Order GPO | Thanks in advance for reading. I'm using Win Server 2012 R2 to dish out group policies. I've created a GPO to define the SSL Cipher Suite Order under Policies > Admin Templates > Network > SSL Confugration Settings and have set it to "Enabled" . I'm using a list of strong cipher suites from Steve Gibsons website found ... | Please make sure the SSL Cipher suites box does not exceed more than 1023 characters. | 1 | 0 | 2,770 | 2017-07-28T12:44:54.890 | infrastructure | serverfault.com | |
24,651 | Bias in Naive Bayes classifier | I am building a document classifier using Naive Bayes. There are 10 classes. My question is that : 1 Should each class contain the same number of documents for training? What if the number of training example in each class is different? 2 Does the number of classes and classification algorithm have any relation? say is... | Unbalanced class distributions First, unbalanced datasets will cause your model to have a bias towards the over-represented classes. If the distribution of the classes is not very drastic then this should not cause a significant problem with any algorithm you will employ. However, as the difference between the class di... | 0 | 3 | 2,455 | 2017-11-13T04:41:23.223 | data_quality | datascience.stackexchange.com | |
151,498 | tomcat server can not be accesed remotly | I am running tomcat server on Fedora machine. when I run tomcat using following command, service tomcat start it runs on localhost , but when i try to connect to the server using public ip address of the server as follows remotly http://xxx.xxx.xxx.xxx:8080 it does not start could someone help me with this issue Thanks... | I suspect that the IP address you have your tomcat server bound to is 127.0.0.1, which is the loopback interface only available to the local machine. Hence it is not available to remote machines. | 0 | 1 | 304 | 2010-06-15T21:45:33.890 | infrastructure | serverfault.com | |
247,428 | Importing Chinese characters via SSIS | I'm trying to import file that contains Chinese characters into a table. File encoding is Big5 (Traditional). Here is a sample file like one that I need to import: https://www.pastiebin.com/5d7782d9b63fa Table where file has to be imported into has such a structure: [CODE] If I import using [CODE] then all the data is ... | The problem appears to be that the lines that are not importing correctly have characters that, encoded in code page 950, having a trailing byte of [CODE] , which is valid, but also happens to be the pipe symbol, which you are using as a delimiter. For example: [CODE] Each of those two characters has a trail-byte of [C... | 4 | 2 | 2,849 | 2019-09-10T11:50:44.050 | warehouse_errors | dba.stackexchange.com | |
133,646 | Designing a web app that will be used from distant geographic locations | I have designed/built a number of small web apps. Most have been used by clients who operate in a specific geographic area, mostly within the same state/province. For these I would follow best practices but normally didn't worry too much about issues caused by distance from the server. I have a potential client whose l... | Well it will depend on details of your client but what I would ask includes the following What Kind of network connection will the end users have? Both bandwidth and latency Will they have Modern browsers? If using HTML5's offline options may make sense Can we put servers near the main places where the clients will be?... | 5 | 1 | 178 | 2012-02-07T00:51:23.567 | api_errors | softwareengineering.stackexchange.com | |
67,552 | How to output library test/benchmark data in a web framework? | I am writing an MVC framework. I have a folder full of library classes, each are self contained, and could be ripped out of the framework and used by themselves. The only problem is that a few of these libraries (benchmarking, unit testing) display HTML to report results. I am wondering, do I display this HTML in a vie... | A testing/benchmarking reporting tool should use its own output framework and not rely on that of the main site/application. So, absolutely don't use your "print_view" method (as you call it) from the main site to output library analysis HTML (this would be a reverse/circular dependency), but absolutely do embed some k... | 2 | 1 | 160 | 2011-04-12T17:45:33.773 | api_errors | softwareengineering.stackexchange.com | |
200,153 | Accessing Oracle DB from SQL Server DB | I am looking for the best and simplest way for accessing an Oracle db from an SQL Server db. Both are on separate physical servers. I am looking for a one-way access in read-only mode. SQL Server Database would be used by one system for now but would scale to be used by multiple applications in the future. I currently ... | in order to prevent impacting original DB performance. All three options you are considering will impact performance on the Oracle DB. If you don't want to impact performance at all, apply archivelog files from Oracle to a standby DB and query that (you could try Linked Servers first to find out if it's fast enough for... | 1 | 1 | 80 | 2018-03-13T20:19:31.823 | database_errors | dba.stackexchange.com | |
315,202 | How many keys in mySql are too many? | I am currently designing a MySQL database that has [CODE] tables. Some of the tables has [CODE] foreign keys. Is this going to hamper database query performance in the long run? How many foreign keys are considered as standard practice and how much foreign key constraints are considered as too many? | Foreign keys will impact INSERT, UPDATE and DELETE statements because they are data checking. The main benefit of foreign keys is that they enforce data consistency, meaning that they keep the database clean. There is no standard practice on how much foreign key constraints are considered to many. Is this going to hamp... | 0 | 1 | 287 | 2022-08-04T06:32:00.753 | data_quality | dba.stackexchange.com | |
177,623 | Settings up SNMP between a Cisco Router and Linux Box | My end goal is just to see some sort of data out from a Cisco Router 3662. Data like total connections and bandwidth used. I am attempting to use SNMP. I think I have snmp running correctly but I have no idea where the snmp data goes. I am having zero luck on the web. I saw a server-fault post on using perl get objects... | If you want to retrieve SNMP data from the cisco router from your Linux box, you don't need the SNMP daemon, what you need is a tool that will get the SNMP data and graph it. SNMP data needs to be pulled by something. Popular tools include MRTG, Cacti, RRDTool, and then all of the heavier network managment systems like... | 1 | 6 | 4,683 | 2010-09-03T07:09:31.247 | infrastructure | serverfault.com | |
331,955 | Why does Java have primitives for different size numbers? | In Java there are primitive types for [CODE] , [CODE] , [CODE] and [CODE] and the same thing for [CODE] and [CODE] . Why is it necessary to have a person set how many bytes should be used for a primitive value? Couldn't the size just be determined dynamically depending on how big the number passed in was? There are 2 r... | Like so many aspects of language design, it comes to a trade-off of elegance against performance (not to mention some historical influence from earlier languages). Alternatives It is certainly possible (and quite simple) to make a programming language that has just a single type of natural numbers [CODE] . Almost all p... | 20 | 17 | 2,512 | 2016-09-25T00:59:13.673 | api_errors | softwareengineering.stackexchange.com | |
258,947 | pre login initialization =29237; handshake=26244 | Connecting to one of my servers ( no mirror or availability group running ), from a local machine and I get this error message below related to handshake when the firewall is up. when the firewall is down it connects straight away. the question I would like to address is: is it always these [CODE] that sql server uses ... | as per the comment by Dominique Boucher those number seems to be indication of time, as per the picture below they vary. "The duration spent..." I would assume that those number are the time spend (probably in milisecond) to do the initialization and the handshake (an not port number)... | 0 | 0 | 922 | 2020-02-05T13:29:57.313 | api_errors | dba.stackexchange.com | |
212,014 | Installing GDChart at CentOS fails: pecl/gdchart requires PHP extension "gd" | has anybody solved the problem of installing GDChart on CentOS 5.5 Linux (I've tried both 32 and 64 bit versions)? I have: [CODE] And the "pecl" seems to find GDChart in its repository: [CODE] But installing it fails: [CODE] Ok, then I try the suggested "URL": [CODE] But I do have both "gd" and "php-gd" rpms installed ... | pecl command is horrible at telling you why something is erroring out. I'll recreate what you are going though [CODE] A lot of stuff [CODE] So install gd-devel [CODE] Then your pecl install should work | 0 | 0 | 2,551 | 2010-12-13T13:32:02.837 | infrastructure | serverfault.com | |
50,991 | Recover oracle 10g database from old data files | I have an Oracle 10g database. Unfortunately, our machine and system crashed and all the backups and Oracle archive logs, but we have old image copies of our data files and one of the control file (copy & paste) How can I restore our database from these copies? I tried to create a new database and replace the old files... | Try to " [CODE] " before doing "open resetlogs". You'll need the online redo logs to perform this (not clear from your question whether you have them or not) | 1 | 1 | 1,007 | 2013-10-03T22:19:03.087 | hadoop_errors | dba.stackexchange.com | |
310,762 | Creating Random Set Values For Each Cross Join from CTE | I am trying to load up a table with values that are generated randomly based on another table. The issue is that the result set from the final [CODE] , is not unique (random) for each of the rows of the final cross joined table. Deconstructed CTE [CODE] [CODE] The final step is to create a cross reference table by [COD... | [CODE] is evaluated once and hence you get the same value for all rows. You can use [CODE] to simulate a random value. [CODE] to convert it to integer and [CODE] to return absolute value. To get into the your required minimum and maximum range [CODE] Changes to your [CODE] cte [CODE] | 1 | 1 | 442 | 2022-04-10T23:22:53.957 | warehouse_errors | dba.stackexchange.com | |
41,262 | Cisco FC SAN switch decision | I've got to buy a bunch of FC SAN switches in the next week or so, I have to, and want to, buy Cisco MDSs. Servers are HP BL490c G6's in C7000 chassis with Virtual-Connect Flex-10 ethernet interconnects and VC FC interconnects (Emulex HBAs btw), all running ESX 3.5U4 (for now). I think I've only really got two choices;... | For starters I would never use a dual supervisor FC switch as a replacement for having separate redundant pathways from your blade to your storage device. I would always use two separate switches. With that as a baseline I think it's all about comfort level. If you have a single supervisor and it fails in a switch, the... | 4 | 3 | 612 | 2009-07-15T20:15:59.353 | infrastructure | serverfault.com | |
709,442 | Migrate VPS to Same Machine Without Losing Emails | I have a centos 6 VPS running ispconfig that isn't in good shape at the moment. Yum is broken beyond repair and it looks like my best option for fixing is a reinstall. I'm planning to backup, install centos 7 and all my server software, recreate accounts, and restore files on the same machine. Getting a 2nd machine mig... | The first answer from jornane is correct so far as it goes, however I do not believe it addresses what the OP is really trying to get at - which is how best to handle migration of email and accounts, rather than how to handle DNS. Ordinarily there are many ways to handle this task, but because we are dealing with only ... | 1 | 4 | 320 | 2015-07-29T16:23:40.100 | database_errors | serverfault.com | |
605,909 | Apache logging - root user changes groups | I have an issue where I get the following error when trying to download apache logs: rsync: send_files failed to open "/var/log/apache2/log-filename": Permission denied (13) The command I'm running is: [CODE] (I've censored company information with things like 'serverdirectory, log-filename, servername etc) When lookin... | Turns out someone had actively gone and changed the logrotate configuration file to the adm group rather than the primary group. Therefore breaking the permissions for logaccess. | 0 | 0 | 131 | 2014-06-18T00:49:23.693 | infrastructure | serverfault.com | |
824,355 | My Ubuntu webserver serves the wrong content | We host our website in an internal physical server, we are using Ubuntu Server 16.10. The website actually is not reachable via domain name or public IP address, but I can reach it when I use local network of the server (192.168.1.2). When I use curl command to browse the site (domain name or public IP) via server term... | This doesn't look hacked. It looks like the login screen to a connected device on your network. Sagem Communications (mentioned in the meta tags) manufactures set top boxes, routers etc. My guess would be that you added a device to your network recently and it has the same IP address as your server. According to the ti... | -3 | 10 | 157 | 2017-01-05T10:36:09.310 | infrastructure | serverfault.com | |
144,114 | IPSec Tunnel to Amazon EC2 - Netkey, NAT, and routing issue | I'm working on getting an IPSec VPN working between Amazon EC2 and my on-premise. The goal is to be able to safely administer stuff, up/download data, etc. over that tunnel. I have gotten the tunnel up in openswan between a Fedora 12 instance with an elastic IP and a Cisco router that's also NATted. I think the ipsec p... | You know about Amazon Virtual Private Cloud , right? I spent weeks working on a scheme of OpenVPN and fancy routing to accomplish the same thing, after which Amazon released this service and obsoleted my work. | 3 | 3 | 4,423 | 2010-05-21T14:14:42.733 | database_errors | serverfault.com | |
300,792 | Designing a table with foreign keys to multiple "parent" tables | Pictured is the visual representation of tables I'm about to describe. From a high level in plain English, there are 3 levels: Capabilities (Communication, Industry, etc.) Competencies (Objectivity, Questions, etc.) Skills (I listen and read objectively, etc.) Capabilities contain a number of competencies and competenc... | Seems you need one of the new features in EF Core 5... Many-to-Many. You can find that feature description here https://learn.microsoft.com/en-us/ef/core/modeling/relationships?tabs=fluent-api%2Cfluent-api-simple-key%2Csimple-key#many-to-many Also here is a good breakdown of the code for the feature and how to implemen... | 0 | 1 | 2,102 | 2021-10-07T05:58:05.073 | warehouse_errors | dba.stackexchange.com | |
902,020 | Does IKEv2 support initiator authentication by pre-shared key _and_ password? | I'd like to configure an IKEv2 VPN gateway for multiple remote users to access a private network. I have a test setup where the responder authenticates itself with a self-signed certificate. The initiator authenticates with a username and password. A couple issues: The certificate is overcomplicated. I'll not be settin... | Client and server authentication in IKEV2 are unrelated. So in theory, you can authenticate the server with a PSK and the client with EAP. However, the RFC states the following regarding EAP authentication: In addition to authentication using public key signatures and shared secrets, IKE supports authentication using m... | 0 | 2 | 3,488 | 2018-03-16T13:53:46.983 | database_errors | serverfault.com | |
780,334 | i am getting the following error MSSQL$SQLEXPRESS Application log on my server | TDSSNIClient initialization failed with error 0x80092004, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. Cannot find object or property. TDSSNIClient initialization failed with error 0x80092004, status code 0x80. Reason: Unable to initialize SSL support. Cannot f... | SQL Server is telling you it can't find some of your system databases (model and MSDB). Verify that the files exist and that SQL Server has permission to access them. SQL is looking in [CODE] , and that's where they should be. If they're not there, restore them from backup. (Did someone delete them?) | 0 | 0 | 1,388 | 2016-06-01T16:29:54.527 | api_errors | serverfault.com | |
168,414 | sybase errors - meaning and resolution | We have a server that connects to 40+ different remote computers which are running Sybase 11.0.1.2596. Our server is hosted on an aws ec2 AMI Linux instance, and the connections are set up using FreeTDS. The server has several different command-line PHP scripts that use PDO with dblib to connect and select data. 99+% o... | TDS: unexpected token [CODE] (transaction Data Stream) is the application layer protocol of Sybase & MS SQL for communication between [CODE] & [CODE] The sample messages in the post point to [CODE] exchange between ASE & [CODE] client not being in sync according to the [CODE] protocol The network exchange machine state... | 0 | 0 | 748 | 2017-03-28T18:06:48.963 | warehouse_errors | dba.stackexchange.com | |
927,142 | Setup 802.3ad bonding under Debian Jessie with a HP 1920G switch | I've got a Debian Jessie server with two Intel i350 onboard 1Gbps NICs which I would like to bridge using 802.3ad protocol to my HP 1920G 48port managed switch. Here is the kernel I'm running [CODE] I've setup the switch's LACP ports 3 & 4 for the 802.3ad, but when I try to connect my bonded network it complains that '... | Your individual interfaces and the [CODE] interface have configuration that differ from each other enough to prevent them from becoming part of the link aggregation. Your configuration should look something like the following: [CODE] | 3 | 2 | 3,515 | 2018-08-20T07:16:10.533 | infrastructure | serverfault.com | |
322,615 | How to make LAN PCs (Windows) accessible from a SonicWALL L2TP VPN connection | We have several LAN devices connected via a physical wired network to a SonicWALL TZ210 on subnet 192.168.2.0/24. Several of those devices are assigned DHCP addresses in the range 192.168.2.100 to 192.168.2.199 and some of them have static addresses below 192.168.2.100 or above 192.168.2.240. On the SonicWALL, I have e... | Well the Windows clients are working correctly as far as I'm concerned. The route to the local network is the interface connected to that network that has an ip address in that network. When communicating with another host connected to the same network, the Windows clients will ARP for the MAC address of the destinatio... | 0 | 0 | 5,195 | 2011-10-18T16:08:11.060 | infrastructure | serverfault.com | |
263,867 | Under which circumstances does it make sense to lose track of where an exception was thrown from? | Is there any valid reason why a [CODE] block on a lower layer would throw back an exception caused by a higher, unknown layer using the following syntax: [CODE] ... rather than: [CODE] ... ? In the first case, not only the [CODE] block doesn't deal with the exception, but it also reset its [CODE] property, making it mo... | First off, having a [CODE] block which only rethrows the exception is usually useless. But, the only real world scenario i can think of which makes sense to use [CODE] instead of [CODE] is if you're developing some sort of third party library which you by all means dont want anyone in the outter scope who's using your ... | 2 | 1 | 112 | 2014-11-26T20:23:26.013 | api_errors | softwareengineering.stackexchange.com | |
256,124 | What is a good design pattern to implement REST services on mobile? | It is easy to implement calls to API endpoints, then to parse JSON and handle the data - but what is a good design pattern for this? Here are some ways I have tried but I feel like there should be a better way: Create a singleton class that manages all networking code and all data parsing code for the entire applicatio... | Treat the REST API as any other data source, and create an abstraction (e.g. AppointmentRepository, etc.) that your controllers use. My examples are in Java, but I think you'll get the idea. [CODE] Using an abstraction in this way decouples your controller from the concrete source of data, so the two can change without... | 5 | 5 | 12,109 | 2014-09-12T17:16:12.010 | api_errors | softwareengineering.stackexchange.com | |
1,063,267 | HUH721010AL5200 drives with different number of sectors (WD vs Dell) | I ordered some spare hard drives to replace a failed hard drive in my zfs pool (raidz2 with 12 10TB hard drives on a supermicro server running Ubuntu). I made sure to order hard drives with the exact same model number as those already in the pool (HUH721010AL5200). However, it appears that the new ones I received are D... | The two drivers probably use a different Host Protected Area (HPA) settings. Please check it by using [CODE] EDIT: based on your [CODE] output, the first (smaller) disk is formatted with additional sector integrity data - for example, with 520-byte physical sectors. This will naturally means a smaller portion of the av... | 4 | 6 | 530 | 2021-05-11T22:18:16.427 | api_errors | serverfault.com | |
190,914 | Linux permissions for WinSCP'ing into Apache site | I'm running an Ubuntu server with apache2/mod_mono Ive got: [CODE] The only way I've been able to get this all working is by: [CODE] I'd like to be able to connect as 'user' using WinSCP and edit the contents of [CODE] but I've tried all sorts of user and group permissions and cant get it working. I'm sure there are so... | Add [CODE] to the [CODE] group: [CODE] Set proper permissions on the target folder: [CODE] The two above commands set the file/directory ownership properly and then grant the group owner write permissions. | 0 | 1 | 980 | 2010-10-14T12:51:40.340 | infrastructure | serverfault.com | |
1,147,421 | Statefulset Pods : Issue with Multiple Persistent Volume Claims | Since I have 5 shared NFS folders: [CODE] I added in cassandra-statefulset.yaml the second volumeMount with its volumeClaimTemplate: [CODE] It seems working fine at the beginning: [CODE] But the statefulset remains in a "not-ready" state: [CODE] The corresponding pod remains in "Pending" State : [CODE] With only one of... | My fault I didn't create the second [CODE] Once I created it, the stateful pod went in Running State | 0 | 0 | 173 | 2023-11-08T11:46:04.940 | database_errors | serverfault.com | |
390,955 | Modify a property of an aggregate's entity | Suppose I have a house-lending service, like Airbnb. I have a [CODE] entity, which can have a name. There's also the [CODE] entity, which has a start date, an end date, and a name (which isn't needed but it's to ask the question). The business rule would be then that no two reservations can overlap. So my aggregate roo... | You are correct in that you have more than two entities here. The problem (as you have already laid out) is that [CODE] needs to "own" it's [CODE] collection in order to enforce the invariant regarding overlapping date ranges, but there is a whole bunch of data that comes along for the ride. The "DDD-y" solution, of co... | 0 | 0 | 562 | 2019-04-25T22:53:40.970 | api_errors | softwareengineering.stackexchange.com | |
323,027 | SSH config file is not being applied | I'm running Mac Os Lion and have the following ssh config file: [CODE] This should result in ssh connecting always on port 123, no? Well, what happens is that it still tries to connect on 22: [CODE] Any ideas of why this config is not applied? Is ssh config file cached? | What happens if you add a [CODE] directive to that config file? [CODE] | 3 | 7 | 4,872 | 2011-10-19T19:47:25.997 | infrastructure | serverfault.com | |
234,253 | Why is CPU cache memory so fast? | What makes CPU cache memory so much faster than main memory? I can see some benefit in a tiered cache system. It makes sense that a smaller cache is faster to search. But there must be more to it. | In the case of a CPU cache, it is faster because it's on the same die as the processor. In other words, the requested data doesn't have to be bussed over to the processor; it's already there. In the case of the cache on a hard drive, it's faster because it's in solid state memory, and not still on the rotating platters... | 62 | 119 | 45,321 | 2014-03-31T00:00:32.803 | api_errors | softwareengineering.stackexchange.com | |
434,843 | Apache2 proxypass | i'm trying to figure out why my apache2 reverse proxy doesn't work... hope someone can clarify. i'm using an apache server as a gateway with proxy pass: 10.184.1.2 is the IP. these are PP instructions i inserted in the 000-default config file. ProxyPass / [CODE] ProxyPassReverse / [CODE] the host 192.168.102.31 is an i... | It sounds like the ProxyPassReverse isn't matching a 301/302 being returned from the remote Apache server (192.168.102.31), some client-side code is redirecting the browser incorrectly or some server-side code is incorrectly building the redirect location. Check client side activity using Chrome's dev tool/Firebug/Wire... | 0 | 0 | 368 | 2012-10-03T11:43:41.323 | infrastructure | serverfault.com | |
557,662 | DNS Resoluition of Child Domain Workstation(s) | I have three domain controllers: [CODE] All three have replication set to All DNS servers in the forest and I can see all three zones in each controller's DNS consoles. I've added a workstation, [CODE] , to [CODE] , but I can't ping it from [CODE] because it's not resolving the name. What am I missing? I thought now th... | You need to add the necessary domain suffixes to the search list on all DNS clients (which is every machine; even DNS servers are also DNS clients.) http://support.microsoft.com/kb/275553 | 2 | 3 | 1,155 | 2013-11-26T22:20:54.953 | database_errors | serverfault.com | |
26,746 | Need recommendations for a system for storing test cases, test results, build details, etc | I am working on a process improvement effort, and I need to get our QA operations up to the industry standards. I am exploring the various systems available in the marketplace which help to store information associated with software development. We currently are using Wrike for defect tracking, but Wrike is task-orient... | I've tried many of those tools in several different companies. I consider my ideal choices to be: Jira Github CircleCI I've found Jira to be more flexible and as a better UI IMO than Trello, VSTS and Pivotal Tracker that I have used. Jira also integrates well with Confluence from the same company. Github and gitflow is... | 2 | 0 | 706 | 2017-04-13T05:03:17.210 | data_quality | sqa.stackexchange.com | |
692,164 | Scheduled PS Script Not Running | I'm trying to run the script from https://gallery.technet.microsoft.com/Password-Expiry-Email-177c3e27 I've corrected the variables for my environment and I'm able to run it from my workstation and the server just fine when running it manually but when I try to schedule it with Task Scheduler the task seems to run fine... | It sounds to me like the user assigned to run this task has not been given the right to Logon as Batch. This is a user right that is not automatically assigned to any user, even Administrators. If you are on a member server you can set it in local policy. Fire up SecPol.msc and locate User Rights Assignment, make sure ... | 3 | 1 | 1,286 | 2015-05-14T21:00:28.217 | infrastructure | serverfault.com | |
314,310 | shell script won't work in cron | I have very smiple script to do a backup, and it is working fine when I run it from the command line, but I am having problems running it as cron job. My cron entry is this: (running it every minute for testing atm) [CODE] And I can see in /var/log/cron that it gets executed [CODE] But it's not doing what it is suppose... | I guess cron is not amused by all those [CODE] commands. Remove sudo and run the script from cron as root or at least as a user with necessary prileges to needed directories. | 0 | 2 | 515 | 2011-09-22T11:19:52.843 | hadoop_errors | serverfault.com | |
512,772 | WebSVN with dav_svn authentication | I'm trying to provide an access to WebSVN in my server but I can't. The goal is to show some repos only to people who are logged in and admin of that repo. For instance, I have two repos, one of them totally open to all users (repo1) and the other restricted to some users (repo2). So my dav_svn.access file is: [CODE] T... | I believe, but am not sure, that WebSVN cannot take credentials and pass them along to SVN. Instead, WebSVN is designed to use its own set of credentials to talk to the SVN server. What you may want to do instead is setup multiple copies of WebSVN. One WebSVN URL that is protected with a password or Apache authenticati... | 1 | 0 | 1,338 | 2013-06-03T10:31:52.860 | api_errors | serverfault.com | |
333,402 | Apache mod_rewrite adding extra slash at the end of URL | I'm running CentOS 6.0 and am trying to make mod_rewrite remove the www from any URL's prefixed with it. Here's the code I have in my httpd.conf: NOTE: I am using a VPS with full root access so I am not using .htaccess files or any "per-directory" settings. [CODE] This is working fine for all pages except that the URL ... | Since it's in your main config file, and not a per-directory ( [CODE] or [CODE] ), then the leading slash is not being stripped for context. It's actually adding (or trying to add - not sure if Apache's removing the extra in most cases, or if the client browser is) the second slash to every rewrite. Just account for th... | 3 | 3 | 5,524 | 2011-11-21T22:15:46.363 | infrastructure | serverfault.com | |
244,371 | Cygwin sshd service starts but only produces errors | I know this has been asked before, but I looked at the other questions and they didn't help, so here goes... I installed cygwin (only OpenSSH and whatever else it automatically chose for it). I ran the [CODE] and entered 'yes' for everything (basically a manual ssh-host-config -y). It installed the service. However, ev... | Found the problem, in case anyone else has the same issue: There were two versions of 'cygwin1.dll' on the system. It was looking at the wrong one. If you have this issue, search for the file, and remove one of them (depending on which version you are keeping). | 0 | 0 | 1,418 | 2011-03-07T21:43:26.910 | infrastructure | serverfault.com | |
646,519 | openssl s_client ignoring custom root CA certificate in /usr/share/ca-certificates | I've set up an Active Directory server and configured LDAP-over-SSL, which works fine for machines on the domain, however because it's using certificates provisioned by AD's Certificate Services it causes issues elsewhere. I'm trying to connect to the LDAP-over-SSL port from a Debian box using [CODE] , and I'm getting ... | OpenSSL can be a bit.. twitchy.. about what certificates it trusts - sometimes it won't use the system's trusted certificate store. Adjust its config in the [CODE] if you're so inclined to make it trust the right store. For [CODE] , same kind of deal - you'll want to set the trusted certificate in [CODE] to make it act... | 2 | 2 | 7,431 | 2014-11-24T00:11:58.070 | infrastructure | serverfault.com | |
224,508 | MySQL schema design - how to decide between an `enum` vs. a table join | In designing a MySQL schema, should I avoid using an [CODE] type altogether , as I have been reading really strong, but favored opinions on this subject, such as: Stackoverflow post on efficiency of enum vs a join [CODE] is data, not code Blog: Reason why MySQL's enum data type is evil Right time to use an [CODE] Or, i... | (Yes, there have been many heated discussions of ENUM vs TINYINT vs VARCHAR, both here and on stackoverflow.com. I have put my 2-cents in on some of them. I am addressing this Question to discuss nuances of the examples brought up.) Currency is a tricky one. When, for example, a devaluation occurs, does the currency_co... | 2 | 2 | 1,768 | 2018-12-09T17:23:05.613 | database_errors | dba.stackexchange.com | |
68,853 | Remote Linux machine to Windows VPN Server | I have our Win2K3 server setup as a VPN pptp server. It works 100% no problem from remote clients. I've setup a remote linux server running samba. Its sole purpose is to be an offsite backup for our backup server. Basically an offsite NAS BOX. I want to connect the remote linux server over VPN. So should the remote lin... | I'd just VPN into the Windows Server machine using a VPN client on the Linux server. Just makes things easier and has the same effect. pptpclient.sourceforge.net FTW!! =) | 0 | 3 | 195 | 2009-09-26T00:05:25.210 | database_errors | serverfault.com | |
828,310 | Squid3 a lot of access.log | Well, i'm new in Squid3 and i configured only one machine to use this proxy, just for test. But the access.log don't stop to grown, like someone is using right now, but i know that only machine should use it, is turn off right now. This is a peace of my access.log copy right now: [CODE] Do you guys think someone is usi... | If you don't set up access control and have it available over the internet, you implicitly gave everyone permission to use it. And yes, it's getting used because there are scanners searching for such open proxies. Turn it off until you setup authentication and encryption. | 0 | 1 | 735 | 2017-01-24T15:58:12.077 | infrastructure | serverfault.com | |
851,996 | hwclock: Cannot access the Hardware Clock via any known method | On a Debian server, I'm having problem with [CODE] : [CODE] System runs on backports kernel [CODE] . Here's debug output: [CODE] clocksource: [CODE] Finally, [CODE] device exists: [CODE] | The problem seems to be connected to [CODE] , check [CODE] : [CODE] Based on answer to "What does “clocksource tsc unstable” mean?" it looks like TSC (Time Stamp Counter) is not very reliable. By updating [CODE] you can switch to another available clocksource. I'm using HPET . [CODE] and updating grub: [CODE] After reb... | 7 | 6 | 40,162 | 2017-05-24T12:54:45.437 | infrastructure | serverfault.com | |
7,364 | MySQL: trying to create root user | Upgrading MySQL database to 5.5 and it seems that the root user has disappeared. I'm trying to create it again using this commands: [CODE] Then I do: [CODE] Any help? EDIT: Solved, well… I just should do a backup of the user [CODE] since I'm removing the database before upgrading to 5.5. | When you start mysql with --skip-grant-tables, you cannot use GRANT/REVOKE commands. You can INSERT directly into the mysql.user table. Whereas this command cannot work using --skip-grant-tables: [CODE] This command should be run instead: [CODE] and restart mysql. You may also want to backup your grants from the previo... | 2 | 4 | 3,783 | 2011-10-28T15:41:08.480 | database_errors | dba.stackexchange.com | |
172,521 | Difference between inline view and WITH clause? | Inline views allow you to select from a subquery as if it were a different table: [CODE] I've seen this referred to using different terms: inline views, WITH clause, CTE and derived tables. To me it seems they are different vendor specific syntax for the same thing. Is this a wrong assumption? Are there any technical/p... | There are some important differences between inline views (derived tables) and WITH clause(CTE) in Oracle. Some of them are quite universal, i.e. are applicable to other RDBMS. [CODE] can be used to build recursive subqueries, inline view -not (as far as I know the same is for all RDBMS that support CTE) Subquery in [C... | 9 | 10 | 32,384 | 2017-05-02T14:07:12.147 | warehouse_errors | dba.stackexchange.com | |
280,955 | Getting catagory title total number of questions and answers order by number of questions | I have three tables. Which is in at this fiddle, http://sqlfiddle.com/#!9/4cadb2 Which is like this?. [CODE] I want to get a resultant table which has count - Name(Name is from material_univarcity_list) Total number of questions to that particular name. Here id of [CODE] table is the [CODE] of [CODE] and I want total n... | [CODE] Since you use MySQL 5.7 which doesn't support window functions like ROW_NUMBER you need to use user variables to emulate it. | 1 | 0 | 18 | 2020-12-05T09:26:47.727 | warehouse_errors | dba.stackexchange.com | |
56,667 | What are the licensing issues involved in the Oracle/Apache java dispute? | I've just started following with interest the soap opera involving Oracle's acquisition of Java and the detriment of goodwill it seems to have generated in the open source community. Specifically, I'm now trying to get my head around the implications of Oracle's decision to refuse Apache an open source license for Harm... | Harmony is Apache's clean room version of J2SE without the patent liability issues and a friendly open source license. The truth of the matter is that a significant percentage of the current J2SE stack is Apache code. This includes the XML parser (Apache Xerces) and XSLT engine (Apache Xalan), just put in a different p... | 4 | 6 | 1,107 | 2011-03-10T12:14:02.187 | pipeline_ops | softwareengineering.stackexchange.com | |
99,134 | Error with Auto admin logon in Vista | I have a script that I run to set up computers to auto login as administrator. I use Vista home premium on these computers. I install them with MDT 2010 and after that is finished I have placed a script that I run to set auto admin logon by writing to the registry. The problem is that for some reason the keys in the re... | The problem was that AutoLogonCount was 0, if it is zero windows clears DefaultPassword and sets AutoAdminLogon to 0 at shutdown therefore removing my recent changes. The Solution was to delete the key AutoLogonCount. | 0 | 0 | 583 | 2010-01-04T09:01:12.783 | infrastructure | serverfault.com | |
275,063 | Certain web page cannot be retrieved | I have a simple web site in php served over apache running on ARM Linux. It normally works fine. But sometimes, certain pages cannot be retrieved at all. I have 5-6 pages. All the other pages would work fine when this happens. There is no timeout error either. When it happens, Firefox or Chrome would just keep saying "... | Look in the apache access and error logs around the time frame that you're getting the error and see what they are reporting. I don't know enough about PHP to know if it logs errors separately from the web server, but if so, check the php logs for the same time frame. With the details from the logs, it may be easier to... | 1 | 0 | 113 | 2011-05-29T20:09:32.453 | infrastructure | serverfault.com | |
174,751 | Pure Java web browser, is it practical? | I know that a Java web browser is possible, but is it practical? I've seen the Lobo project and must admit I am impressed, but from what I've gathered it seems that development stopped in 2009. Would a browser coded in pure Java (no WebKit java bindings of any type) be able to compete with those among the ranks of Chro... | The programming language is, most likely, not going to be the stumbling block. The JVM's mandatory memory management may be a disadvantage in some performance-critical parts (e.g. memory hunger; but then, Java's GC might actually be better at preventing memory leaks than anything you could roll yourself), and there are... | 32 | 48 | 20,229 | 2012-11-06T04:50:16.927 | api_errors | softwareengineering.stackexchange.com | |
238,095 | Dealing with similar objects with different method signatures | I am fairly new to OO design and have problems with the design of some software and looking for a pattern or a combination of patterns that could help me solving my problem. I have a type that has a collection of different geometric shapes (say lines, rectangles, and cubes). I actually even have composites of these sha... | Contrary to many (perhaps most) object-oriented design tutorials out there, inheritance hierarchies should not necessarily match up with a domain's real-world taxonomy. In other words, just because all your objects are shapes in the real world doesn't necessarily mean they should all inherit from [CODE] in your program... | 1 | 3 | 1,804 | 2014-05-06T13:52:55.527 | api_errors | softwareengineering.stackexchange.com | |
403,672 | Automated code navigation for finding all types of exceptions thrown? | There is a java code base based on the Spring Boot framework. As an activity I want to navigate the code path of every API method to check for the checked exceptions that are thrown at different points in the code path. Now I am aware that the exceptions thrown in the code path would have to be either caught & handled ... | Maybe this is not exactly what you are looking for, but with swagger you can annotate controller methods to create documentation. The advantage is, that you can see more directly, what kind of exceptions may happen, because you have your code already open in front of you or have it even written some minutes ago. At thi... | -1 | 0 | 64 | 2020-01-11T12:39:48.723 | api_errors | softwareengineering.stackexchange.com | |
181,922 | Does the state Pattern violate Liskov Substitution Principle? | This image is taken from Applying Domain-Driven Design and Patterns: With Examples in C# and .NET This is the class diagram for the State Pattern where a [CODE] can have different states during its life time. Only certain transitions are allowed between the different states. Now the [CODE] class is an [CODE] class and ... | This particular implementation, yes. If you make the states concrete classes rather than abstract implementors then you will get away from this. However the state pattern you're referring to which is effectively a state machine design is in general something I disagree with from the way I've seen it grow. I think there... | 17 | 4 | 4,513 | 2013-01-08T18:30:38.647 | api_errors | softwareengineering.stackexchange.com | |
158,404 | How often should I be compiling? | For the longest time I've just done small app development. Building and debugging took a matter of seconds (or should I say - second?). I got fairly used to just debugging to test literally everything (and it's nice to see my stuff working - like a programming high almost). The problem is that as of late I've been work... | How can I get out of this irrational compile/debug habit Practice. What has helped me is by solidifying my program design skills. Needing to 'make sure it works' is a sign that you're lacking confidence in what you've done. You get confidence via practice of course, but also by using things you know will work. Taking k... | 2 | 6 | 2,207 | 2012-07-26T23:49:03.253 | api_errors | softwareengineering.stackexchange.com | |
587,817 | Send an email from exim to another SMTP server strippping the local envelope | I manage a service that recently switched to AWS/EC2 but we have several IP addresses with great email reputation that we'd like to keep sending the email through. We've set up exim to be a satellite on the EC2 instances so that email sent with sendmail locally on that machine will be sent through our existing SMTP ser... | It was the [CODE] option that I was looking for. At first I tried it on the satellite server, but of course that didn't work because these particular [CODE] headers weren't added until it was actually received by the smart-host server. So it needed to belong on the smart-host's exim configuration. This directive needs ... | 0 | 3 | 1,312 | 2014-04-09T16:10:14.560 | infrastructure | serverfault.com | |
101,771 | How to block external connections for an Oracle database? | I have an oracle database (11g-r2) on my (windows) computer for development, and I am trying to forbid any outside connections. Is there a way to do this? | The solution is really dependant on your environment. There are numerous options, from hardware firewalls, to software firewalls, to sqlnet.ora parameters. The first two are beyond the scope of this site. The quickest, probably, is sqlnet.ora. Have a look at the tcp.invited_nodes parameter: https://docs.oracle.com/cd/E... | 0 | 1 | 1,805 | 2015-05-18T06:05:36.060 | database_errors | dba.stackexchange.com | |
15,915 | Setup multiple Raspberry Pi different network configurations | For multiple projects we are setting up 2 to 6 RPi's per project. Each project runs on a different network and for some of these networks we can use DHCP, for others the RPi's have to connect using a static IP address. Also every RPi needs a different hostname in sequential order. For instance for a project with three ... | Even without Ansible or other config management tool, there's no reason any of those steps need to be manual: you could drive everything with a shell script, thus reaping all the benefits of automation: no more errors, consistent deployments, and faster configuration. Using Ansible can help make the process more modula... | 1 | 2 | 390 | 2022-05-05T08:52:46.927 | pipeline_ops | devops.stackexchange.com | |
165,070 | How to zero fill a virtual disk's free space on windows for better compression? | How to zero fill a virtual disk's free space on windows for better compression? I would like a simple open source tool (or at least free) for that. It should probably write an as big as possible file full of [CODE] and erase it afterwards. Only one pass (this is not for security reasons but for compression, we are back... | On windows use the sysinternals tool sdelete to zero out all the empty space. The command you want would look like this [CODE] . Usage: sdelete [-p passes] [-s] [-q] ... sdelete [-p passes] [-z|-c] [drive letter] ... -a Remove Read-Only attribute. -c Clean free space. -p passes Specifies number of overwrite passes (def... | 64 | 61 | 94,287 | 2010-07-28T23:39:13.597 | infrastructure | serverfault.com | |
390,613 | Application/Database design where two tables have both 1-to-many and 1-to-1 relationships | I have an application where the requirements are to show a list of (just for example) car manufacturers. When you click on one of the manufacturers, a list of car models show up. You can then click on the car model to show other data related to the model. My problem is that one of the manufacturers is to be treated as ... | My problem is that one of the manufacturers is to be treated as a car model. There will be only one car model under this manufacturer. Ok. When you click on the MegaCar manufacturer, it should directly load the MegaCar model instead of showing the list of models. Stop! You are mixing up concerns here, persistence and p... | 0 | 5 | 525 | 2019-04-19T01:03:35.780 | api_errors | softwareengineering.stackexchange.com | |
127,580 | Using Memcached: is it good practice to update the cache when updating the database? | This question is about best practices in architecture. Our Current Architecture I have a PHP class that accesses MySQL for user info. Let's call it [CODE] . [CODE] is accessed many times, so we have implemented layers of caching to reduce load. The first layer is what we call the "per request" cache. After the data has... | My recommendation is to look at your usage profile and your requirements for the cache. I can see no reason why you would leave stale data in memcached. I think you have picked the right approach ie: update the DB. In any case, you're going to need a wrapper on your DB update (which you've done). Your code to update th... | 15 | 12 | 12,563 | 2011-12-29T16:37:09.653 | database_errors | softwareengineering.stackexchange.com | |
858,839 | Unable to get Stackdriver Trace information in Google Cloud Console | I have a few microservices running in Container Engine (GKE) and I'm trying to get trace information in Google Console, but something goes wrong. Here is my checklist: Stackdriver Trace API is enabled in API Manager. API Manager dashboard shows 99.98% error ratio. GKE has permissions: Stackdriver Trace: Write Only Stac... | You can look directly at the API reporting graphs to see that your calls to [CODE] fail with [CODE] errors. 403 Forbidden is caused when a request to a server is not authorized. Therefore, your calls from your Container Engine (GKE) cluster to 'cloudtrace.PatchTraces' are not authorized. This could be due to the limite... | 0 | 4 | 2,068 | 2017-07-01T02:09:59.877 | pipeline_ops | serverfault.com | |
549,475 | Anonymous access to SVN server | I am using SVN via apache2. I have Ubuntu as OS. Below are my configurations: [CODE] Is there a way to allow only registered users to view/checkout svn? I don't want anonymous users to access. I can still access the SVN via browser and SVN client. I tried to remove the tag " [CODE] " but then Apache gives "Internal Ser... | You're missing the digest module. Find this line in your [CODE] (or [CODE] ) and uncomment: [CODE] If you can't find it, add it to the existing list of LoadModule lines. | -1 | 1 | 1,114 | 2013-10-29T18:45:59.057 | infrastructure | serverfault.com | |
549,916 | nginx: SSI working on Apache backend, but not on gunicorn backend | I have nginx in front of an Apache server and a gunicorn server for different parts of my website. I am using the SSI module in nginx to display a snippet in every page. The websites include a snippet in this form: For static pages served by nginx everything is working fine, the same goes for the Apache-generated pages... | Just found out what happened there: It seems that nginx is not able to parse SSI includes if it receives zipped responses. In my Django settings.py I had the [CODE] enabled. After removing this, the SSI includes are working fine. | 0 | 0 | 327 | 2013-10-31T14:46:56.013 | infrastructure | serverfault.com | |
214,610 | Need to configure multiple default gateways for four seperate physical network ports for a FreeBSD Webserver | I need to configure default gateways for four separate physical network interfaces for a FreeBSD Webserver. Basically, this is a web server that needs to be accessed by multiple WANS. I've been using various online resources, and a combination of setfib, pf, and ipfw. This web server will be deployed in multiple sites ... | Quite old thread, replying in case it's still helpful for someone. I remember doing something similar with [CODE] 's [CODE] and [CODE] directives to get the similar effect. | 2 | 3 | 2,634 | 2010-12-20T21:32:44.193 | infrastructure | serverfault.com | |
9,490 | How Often Should I Update our Linux Server? | I am responsible for managing both our production server (mail, web, database are all on one server) and our test server. Both are built on Debian. However as I am very new to system administration, I have only been installing updates as I come across things that have to be updated so that I can have newer features and... | I run apt-get update -qq; apt-get upgrade -duyq daily. This will check for updates, but not do them automatically. Then I can run the upgrades manually while I am watching, and can correct anything that might go wrong. Besides the security concerns of maintaining a patched system, I find that if I leave it too long bet... | 63 | 37 | 17,483 | 2009-05-18T15:33:41.023 | infrastructure | serverfault.com | |
185,150 | Validating Objects With XSDs: Is Re-Serializing Redundant or Negligible? | Context: I've got a web service that deals with request / response objects. There are strict, externally-defined schemas constraining both the structure and the content of both requests and responses. I need to validate all requests as they are received and all responses before they are sent back (on the web service en... | To answer my own question: yes re-serializing would have been redundant . The answer I was looking for was to use Message Inspectors - job done. | 2 | 1 | 3,313 | 2013-01-29T11:58:54.087 | data_quality | softwareengineering.stackexchange.com | |
331,042 | Ignore duplicate rows in a join - and take only one of them | In MySQL I have tables, simplified as follows: [CODE] I want a single row for each company containing: Name of company Number of orders Total of all subtotals Company notes To simplify it here I am selecting just one company, with [CODE] . It has 68 orders: [CODE] The problem There are 68 orders for this company but I ... | Making [CODE] unique per your comment, will certainly solve the problem (once you've removed or merged the extra entries to allow the constraint to be applied). But in the meantime, what you need to do is preprocess [CODE] to ensure there is only one entry per [CODE] , before attempting to join onto it. There are vario... | 2 | 4 | 581 | 2023-09-08T17:03:55.547 | database_errors | dba.stackexchange.com | |
197,347 | What are the disadvantages of using stored procedures, SSIS, and SSRS to implement business applications? | Recently, it was suggested that many projects (where I work) should be implemented using some combination of stored procedures (on SQL Sever / T-SQL), SSIS, and SSRS. In one specific project, SSIS would get a file from a SFTP server. The file contains the daily price of ten stocks. A data warehouse will store the daily... | One problem with this solution is that it pre-supposes that the solution be database driven, that the database be a relational database, and that it is acceptable to put the logic in the database. There are several challenges here. Have you tried spikes using non-relational technologies like MongoDB? MongoDB itself is ... | 6 | 6 | 10,965 | 2013-05-07T22:36:51.350 | database_errors | softwareengineering.stackexchange.com | |
109,422 | Low CPU Utilization but High Signal Waits | I have a server with 16 CPUs that is configured with a [CODE] of 8 and a [CODE] setting of zero. For a given hour, my signal waits were 20% yet my OS CPU utilization during that time never went over 25%. Can someone explain why my signal waits were so high? My vendor has a best in class scoring system that expects us t... | Community Wiki answer generated from comments on the question by Aaron . Unless you are having performance issues, the high percentage of [CODE] waits may only be an indicator that a large portion of the queries are going parallel and not actually a problem. What is the CXPACKET wait type and how do you reduce it? High... | 9 | 3 | 2,602 | 2015-08-07T19:23:19.553 | warehouse_errors | dba.stackexchange.com | |
62,851 | MySQL vs. Microsoft Access | I'm trying to aggregate about 500-1000 MS Excel files that deal with various small business issues (inventory, purchase orders, etc) and I'm currently trying to decide what kind of RDMS I should use. To give you more detail, the database will be mainly used by 1 maybe 2 people hosted on network server. Currently, I've ... | MS Access Vs MySQL MS Access works only on Windows whereas MySQL works on almost all platforms. MS Access does not support Partitioning feature whereas MySQL has composite, Range partitioning support. MySQL is opensource so no cost involved. Performance in MySQL is way better than MS Access MS Access database is more s... | 2 | 6 | 74,239 | 2014-04-09T15:07:26.593 | api_errors | dba.stackexchange.com | |
1,032,410 | Proxying services through remote with traefik reverse proxy | For my homeserver project I'm hosting multiple services on my local server with services that I want to have outside access to (for example a minecraft game server) port forwarded with reverse ssh tunnels to my remote VPS in order to conceal my residential IP. Recently I added a traefik ( https://traefik.io ) instance ... | Take a look at Inlets . It uses WebSockets to securely connect services across networks. It does not require opening ports on the LAN like you would need to do if using a VPN. | 1 | 0 | 1,082 | 2020-09-02T11:57:40.583 | pipeline_ops | serverfault.com | |
765,141 | Downstream IBM Httpd Server returns 404 only when accessed through another upstream IHS web server | We have a current setup like the following: HTTPServer - IBM HTTPD Server v? WASServer6.1 - WebSphere Application Server v6.1 (Running App "A") The basic communication is as follows on the listed ports. [All port numbers listed are the listening ports.] The [CODE] is appropriately configured, and this same topology has... | I didn't see "ProxyPreserveHost" in your post. Have you tried it? It seems to me a likely cause for a 404 generated by the IHS server on port 8081 (due to no match in plugin-cfg.xml and handled as a static file) or by the AppServer itself (when it checks its own notion of host aliasts to determine a web app mapping). | 0 | 0 | 642 | 2016-03-21T16:55:32.170 | pipeline_ops | serverfault.com | |
397,354 | Jenkins CI fails to initialise | I've just installed Jenkins-CI on Ubuntu 11.10 as according to the instructions found here , However the service fails to start. The error log shows this: Running from: /usr/share/jenkins/jenkins.war 10 Jun 2012 16:24:06 winstone.Logger logInternal INFO: Beginning extraction from war file 10 Jun 2012 16:24:10 hudson.We... | Fixed it myself - [CODE] and reinstalling seemed to fix the problem. Not sure why as they were up to date in the first place. Maybe some dependencies were broken. | 0 | 0 | 1,206 | 2012-06-10T15:54:04.877 | pipeline_ops | serverfault.com | |
567,377 | Weblogic server as Windows Service | I have problem while installing weblogic server as windows service , After creating installation script and service created when I'm trying to start the service I got this message : The service on Local Computer started then stopped. Some services stop atuomatically if the are not in use by other services or programs. ... | I have no experience installing Weblogic as a service. That having been said, seeing the "Files\Java..." string in your error message makes me think that you've got a path being passed as an argument that contains "Program Files" but isn't quoted. Something is parsing that path and breaking it at the space. Double chec... | 0 | 2 | 453 | 2014-01-15T09:00:00.337 | database_errors | serverfault.com | |
761,463 | mod_rewrite to replace all dots with underscores after path | I've been through all tagged questions here and on SO, but my problem is different because of either/both needing to replace " [CODE] " with " [CODE] " comes after a particular path and I'm running through a [CODE] . I am trying to change: http://somedomainname.com/grafana/dashboard/db/generic-ping?var-device=SF-some.m... | [CODE] is part of the [CODE] , not the [CODE] . Your last rule looks kinda correct except you need to escape the periods. [CODE] where [CODE] = [CODE] , [CODE] = [CODE] and [CODE] = [CODE] . | 0 | 1 | 1,021 | 2016-03-03T23:36:17.293 | bi_errors | serverfault.com | |
975,780 | SMTP header rewrite rules | We have an SMTP relay (postfix) where we need to rewrite headers on the fly based on certain criteria: if> header contains x-custom-header: type 1 and if> to: @customer1.com rewrite> from: [CODE] to from: Friendly Name [CODE] Currently I'm using 3 instances of postmulti just for once client, with a header_check for eac... | I took a different approach using postfix pipe to a script as suggested in some of these resources: https://thecodingmachine.io/triggering-a-php-script-when-your-postfix-server-receives-a-mail http://postfix.1071664.n5.nabble.com/Conditional-sender-rewrite-based-on-recipient-address-td93497.html and just because I ran ... | 0 | 0 | 1,190 | 2019-07-18T15:09:41.523 | infrastructure | serverfault.com | |
151,083 | FreeBSD 8 and Samba 3.3 smb_panic | What is causing samba to crash? Need help diagnosing ... [CODE] Edit: A bit more info -- log.smbd: [CODE] smb.conf [CODE] | You're rc.conf file looks good, though you might want to just simplify to [CODE] Having a pid file in [CODE] doesn't mean anything necessarily. It could be an old file, or any one of a hundred other things; it's not procfs. Check the /var/log/samba directory for log files; there should be several in there, the one with... | 2 | 1 | 617 | 2010-06-14T14:53:40.330 | infrastructure | serverfault.com | |
1,116,903 | Cloning a repo from Azure DevOps at a client | We are running into a weird issue while cloning a repo from Azure DevOps at a client. Error: RPC failed; curl 56 Failure when receiving data from the peer So far we tried; [CODE] Please let me know if anyone dealt with this issue before and have any suggestions that we can try. Thank you all. | My guess would be some configuration at your client site having issues with the outbound connection to Git, probably some sort of SSL intercept or similar meaning the HTTPS validation is failing. | -1 | 0 | 383 | 2022-11-29T15:47:14.603 | infrastructure | serverfault.com | |
390,995 | Bin packing with "flexible" items: Does this algorithmic problem have a name? | I have stumbled upon the following problem: I have one list of containers with "capacities", and a list of items with quantities. I want to assign those items to the containers. The total capacity of all containers equals the total number of items. Here is an example. That's the input: [CODE] Obviously, there are lots ... | Your problem definition is a bit vague, however: -If you would consider that the cost of assigning one unit of Item 1 to Container A is not the same as the cost of assigning one unit of Item 1 to Container B, then you could argue that what you are facing is a min cost flow problem. -If you want to minimize the number o... | 1 | 1 | 188 | 2019-04-26T12:50:53.813 | pipeline_ops | softwareengineering.stackexchange.com | |
258,321 | How can I reduce resource usage when copying a large file? | I need to move a large file (corrupt MySQL table ~40GB) onto a seperate server in order to repair it. (When trying to repair on my production server, it quickly killed the server). In order to do this, I want to rsync the .frm, .MYI and .MYD files from my production server to a cloud server. I am copying the files from... | Have you tried [CODE] prefixed to the command ? [CODE] is default value. The range goes from [CODE] (highest priority) to [CODE] (lowest). | 8 | 5 | 15,244 | 2011-04-11T14:47:21.250 | hadoop_errors | serverfault.com | |
80,178 | Which is better: Cross validation or a validation set for hyperparameter optimization? | For hyperparameter optimization I see two approaches: Splitting the dataset into train, validation and test, and optimize the hyperparameters based on the results of training on the train dataset and evaluating on the validation dataset, leaving the test set untouched for final performance estimation. Splitting the dat... | The $k$ -fold cross-validation (CV) process (method 2) actually does the same thing as method 1, but it repeats the steps on the training and validation sets $k$ times. So with CV the performance is averaged across the $k$ runs before selecting the best hyper-parameter values. This makes the performance and value selec... | 2 | 3 | 349 | 2020-08-12T15:26:25.490 | data_quality | datascience.stackexchange.com | |
327,908 | CentOS - hardware raid 1 of two drives not being treated as single drive by fdisk | I am a bit new to hardware configuration in general, much less with linux, so please give me a little slack :) I have the following setup: 1 320GB Drive that contains the OS (centOS) and 2 250GB drives that have a hardware RAID1 configuration (accomplished via my ASUS motherboard raid utility, they are mirrored as one ... | What you have is evidently not hardware RAID but software RAID with a BIOS interface , often called fakeRAID . The main job of putting the disks in an array is done by the Windows driver. Related reading: How do I differentiate “fake RAID” from real RAID? There are two advantages to hardware RAID over software RAID: it... | 3 | 18 | 5,981 | 2011-11-04T18:25:13.087 | infrastructure | serverfault.com | |
797,015 | Putting WD Datacenter drives in a NAS | I want to put a RAID10 array of 4x5TB WD Datacenter drives in a server. What happens if I don't want to use the server anymore and I want to use those drives in a NAS instead? Does it have to be a NAS drive like the WD Red? I think there is an obvious answer to this question, but I just want to make sure the drives I b... | Assuming they are compatible, they should work just fine. What's the concern here? Are you worried about something you aren't saying? You know NAS is just a generic term for a storage server that resides on a network right? https://en.wikipedia.org/wiki/Network-attached_storage | -2 | 0 | 72 | 2016-08-16T03:16:57.853 | infrastructure | serverfault.com | |
731,894 | ejabberd: logging to /var/log/ejabberd/ejabberd.log is incomplete even with debug log level (5) | I have ejabberd 15.09 from the Testing repository running on the Debian 8.2 "Jessie" ( Stable ) server. Since upgrade from ejabberd from the Stable the logging to /var/log/ejabberd/ejabberd.log seems broken. User activity is not logged even when [CODE] is set to [CODE] (debug). Here is my [CODE] : [CODE] With the [CODE... | Well, my suspicions were right, some [CODE] package should be upgraded to the version from the Testing repository. I've upgraded all my installed [CODE] packages and logging started to work. Not sure which one was responsible for logging, but I believe to upgrade them all is essentially a good idea. Here is the command... | 1 | 2 | 1,005 | 2015-10-27T08:57:57.513 | infrastructure | serverfault.com | |
6,255 | Root Mean Squared Error (RMSE) - significance of square root | What is the significance of the square root in root-mean-square-error? Essentially, my question is: what is the difference between (rms error) and (rms error) $^2$ ? | It depends on what you are using the RMSE for. If you are merely trying to compare two models/estimators, then there is no significance to the square root. However, if you are trying to plot the error in terms of the same units as you made the measurements/estimates, then you need to take the square root to transform t... | 3 | 0 | 4,235 | 2015-06-29T13:09:52.317 | data_quality | datascience.stackexchange.com | |
1,012,829 | NGINX/Gunicorn/Django not serving custom error pages | I am attempting to serve custom error pages in my Django application running under NGINX. I have URLs defined for four pages, and navigating to them is successful; it shows the appropriate page with the appropriate status code. The trouble arises, however, when I try to produce an error via normal means. When I try to ... | A callable, or a string representing the full Python import path to the view that should be called if the HTTP client has sent a request that caused an error condition and a response with a status code of 400. There is still other option for setting error handler function, i.e, callable. django's default error handler ... | 0 | 0 | 1,537 | 2020-04-17T18:48:27.773 | api_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.