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 |
|---|---|---|---|---|---|---|---|---|---|---|
711,277 | HAProxy - backend with subdirectory | I have simple haproxy configuration: two servers, one is frontend, two is backend with jboss application. Here is config: [CODE] I want to simplify url. Now if I want to enter to webapp I must type subdirectory in url https:// www.example.com/webapp/ I want to enter https:// www.example.com and haproxy will serve me pa... | Problem solved by adding redirect in frontend section. [CODE] | 0 | 2 | 10,141 | 2015-08-06T10:42:05.283 | infrastructure | serverfault.com | |
290,122 | Does Postgres read through entire WAL when starting replication from later point? | I have been investigating an inefficiency in our ETL pipeline, where on one side we have Postgres database with logical replication slots. A consumer keeps track of the LSN where it's at, and sometimes disconnects by design. Upon return, it tells the database the LSN where it would like to begin. However, the time it t... | I think I found the explanation by looking at open file descriptors while running through some scenarios and waiting for the replication slot to start sending anything. It appears that Postgres does indeed parse a potentially large block of WAL before the replication slot send its first message. Transactions spanning a... | 2 | 2 | 672 | 2021-04-20T13:39:20.597 | database_errors | dba.stackexchange.com | |
724,064 | Extremely flaky connection to our EC2 instance through one connection, but not others | We have a robotic coffee barista deployed at the Dell campus in North Austin, with internet service through Time Warner Cable. We have been fighting intermittent connection losses between 10PM - 1AM for 3 of the past 5 nights. Time Warner has been analyzing and has issued two tech dispatches. From their end, everything... | It's possible it could be a combo issues with the way the Time Warner lines run and all the construction they're doing down Parmer and Dessau. I'm literally right down the road from you and have had odd connection problems with Time Warner around those same times. But the fact that you're not dropping any packets from ... | 0 | 0 | 1,096 | 2015-09-22T16:33:22.423 | database_errors | serverfault.com | |
326,425 | Unable to start nodes after upgrading from Cassandra 3.11.13 to 4.0.5 | I have 3 nodes cluster with version 3.11.13 built on Ubuntu 22.04 on EC2 and tried to upgrade to 4.0.5. I used apt install with openjdk-8-jdk for 3.11.13 and built the cluster with simplesnitch since all 3 nodes are in the same VPC subnet. Based on the document I installed 4.0.5 with openjdk-11-jdk on the same nodes an... | Without information on what the problem is, it's impossible for us to give meaningful advice. You will need to review the Cassandra logs for clues. In particular, focus on the error(s) which indicates why the startup failed. The full error message and the full stack trace is what you're looking for to determine why it ... | 0 | 0 | 79 | 2023-04-25T20:40:21.670 | database_errors | dba.stackexchange.com | |
83,332 | Summarizing Pay Checks Based on Employee's Job Code | What I'm trying to do is summarize an employee's earnings for each job code they worked in for the year. Employees are assigned a job code based on an effective date. I'm trying to line up the job code with the pay check in which those earnings were earned. Paychecks are issued bi-weekly on Friday with the close of the... | I was able to figure out my own problem. The HR system is based on Peoplesoft and it includes something called an effective sequence. For this specific employee they had more than one effective sequence on the 01/20/14 effective date which was causing the duplication. Here is the finished SQL: [CODE] | 0 | 1 | 128 | 2014-11-22T02:12:21.637 | data_quality | dba.stackexchange.com | |
460,406 | Why my server has high load despite mere 1.5% CPU usage | In this is what whm apache status says: [CODE] I have increased the maximum connection and maximum server in whm to 1500 and 3000 respectively. The server uses hard disk a lot for caching. It only has 10 mbps connection. However, I do not bother increasing it because it only has 38.9 kB/second. If indeed the bottle nec... | I filed a ticket at cpanel. The competent guy there told me that the problem is kjournald wrote 5-10MB files each time. I am not really sure why it wrote so much. I moved to SSD and it sort of works. Basically I need to run [CODE] and see that kjournald is the culprit. It causes so much IO writes that the disk utilizat... | 3 | 1 | 1,490 | 2012-12-23T11:20:32.653 | api_errors | serverfault.com | |
815,311 | postfix does not reject forged mails | I'm running a mailserver and I want to prevent forged e-mails. As soon as an user is authenticated he can forge his e-mail. This is the part of my [CODE] which should contain the related config: [CODE] One strange thing is that no matter if I make a mistake in this config (e.g. replace [CODE] with [CODE] ) postfix seem... | Today I learned... that things thunderbird displays have nothing to do with things thunderbird actually does. After I did not have this issue with evolution it was clear it's not the client, then I blocked port 25 on serverside and then thunderbird did not send any mails (could not reach the server) - so despite config... | 0 | 0 | 99 | 2016-11-16T16:08:49.563 | infrastructure | serverfault.com | |
108,077 | Login with Twitter or Facebook - How to link accounts | I've been developing a site and I've been trying to come up with a method to make sure all Social Network accounts of a certain user are linked together. I've had one snag from the start, and maybe someone here has an idea of what to do. This is the problem. Let's say someone comes to my site and they click login with ... | Take a look at how StackExchange does it. Go to your profile page and click "edit logins" and follow that flow. Honestly, it seems to be the most reasonable of those that I've seen. Essentially, you'll store a single user object in your database and add login providers (through a table with a FK perhaps) as your user c... | 2 | 2 | 755 | 2011-09-14T02:28:54.390 | database_errors | softwareengineering.stackexchange.com | |
1,112,313 | How do I find architectures supported by an emulator for use when defining a libvirt domain? | When creating a libvirt guest using XML, how do I determine what 'arch' values are valid for [CODE] ? The problem is, for example, [CODE] is invalid and must be [CODE] instead. How is one supposed to know that? The documentation says: There are also two optional attributes, arch specifying the CPU architecture to virtu... | The [CODE] output will show you all the emulator architectures that libvirt has been able to detect, by looking for [CODE] binaries across $PATH. If you're not seeing architectures you expect listed in that output, then you likely have missing [CODE] binaries from your installation, or your OS vendor doesn't support th... | 0 | 0 | 787 | 2022-10-05T15:37:21.227 | infrastructure | serverfault.com | |
645,815 | How to disable TLS v1 in Apache v2.2 (Openssl 1.0.1) | I’ve been asked to disable SSL v3 and TLS v1 on our web servers. But Apache reports: [CODE] when I include –TLSv1 in the SSLProtocol stanza below. If I remove –TLSv1 it works fine but TLS version 1 is of course then enabled. AFAIK ‘All’ means +SSLv2 +SSLv3 +TLSv1 +TLSv1.1 +TLSv1.2 in OpenSSL v 1.0.1, which is the versi... | It's a little bit old but if this can help someone... Here we go! It is more related to the first "-" character codification, it is not a standard UTF-8 Minus sign, and Apache does it not recognizes it. [CODE] This is the error I get in my server: [CODE] Just remove it and write a Minus sign manually, without pasting i... | 0 | 1 | 4,680 | 2014-11-20T13:34:42.537 | infrastructure | serverfault.com | |
311,466 | Does my Remote Procedure and Event Protocol complete? | I recently wrote a protocol I call RPEP ( https://github.com/Tixit/RPEP ), partially in response to the unfortunately named WAMP protocol. I'm looking for feedback as to whether the protocol is specified completely enough. In particular, I'm wondering if my specification about connection establishment and closure is sp... | I do not know what RPEP in detail is. This is a good starting point for this question. I imagine taking your library and programming my own communication mechanism, based on your protocol description. Here is what I understand: The situation is: two partners are in an established communication, and it is now about clos... | 1 | 1 | 35 | 2016-03-01T08:33:21.637 | api_errors | softwareengineering.stackexchange.com | |
918,201 | Nginx cache-control / expire headers will just not work | I've searched everywhere for a working answer to this issue, but none of the answers seem to work. I'm also sorry for the super long post but I just need to ask for help on this. I've tried to be as detailed as possible. I have an nginx webserver with ngx_pagespeed installed on CentOS 7 I built from source and for the ... | With some direction from Tero Kilkanen , I was able to set the [CODE] and [CODE] header from the S3 bucket that the media is being hosted on and not from my nginx webserver. Thank you! | 2 | 1 | 2,913 | 2018-06-26T03:35:20.177 | infrastructure | serverfault.com | |
252,702 | Squid, allow access to local servers not remote servers | I have a small business network consisting of XP clients and linux servers, the XP clients use squid as a proxy server. I am trying to configure squid to allow some P.C.s access to internal network servers and external websites and others only access to internal network servers. So far I have : Allow manager localhost ... | I needed to add an allowed acl containing the internal servers, with a type as "Web server addresses" : Allow manager localhost Deny manager Allow purge localhost Deny purge Deny !Safe_ports Deny CONNECT !SSL_ports Allow Int_servers Deny denied Allow localnet Allow localhost Deny all | 0 | 0 | 3,529 | 2011-03-28T12:49:39.087 | infrastructure | serverfault.com | |
15,627 | What is the best tutorial to quickly learning machine learning in R | I want to learn machine learning methods, preferably high-performance methods, by R in the quickest way possible. I am totally familiar with R but very less experience with ML packages. I know some resources like books but what I intend by opening this topic is to find the quickest way possible. I also need to see some... | There is the Wikibook Data Mining Algorithms In R and some useful examples at rdatamining.com | 0 | 1 | 104 | 2016-12-08T21:43:41.223 | data_quality | datascience.stackexchange.com | |
43,355 | SQL Server 2005 xp_sendmail error | I have come across a SQL 2005 server that uses SQL mail to send emails. This setup works fine as long as the MAPI profile points to an Exchange 2003 server, but breaks when the profile points to an Exchange 2010 server. The error: xp_sendmail: failed with mail error 0x80004005 Would updating the MAPI client help fix th... | A better option if possible would be to change out to using database mail instead of SQL mail. This uses SMTP and takes the MAPI client out of the config. It would require that anything that's calling xp_sendmail be changed to use sp_send_dbmail. If you are only using this for SQL Agent emails then this is a very easy ... | 0 | 3 | 249 | 2013-05-29T18:58:54.670 | database_errors | dba.stackexchange.com | |
149,947 | Optimal Configuration for five 300 GB 15K SAS Drives | I recently acquired an HP Z800 workstation that has five 300 GB 15K SAS Drives. This system will be dedicated to running multiple virtual machines under VMware Workstation (Note: I'm not using ESXi because I do plan to use the system for other purposes.). For the host OS, I plan to install RHEL 5. My number one concern... | I'd use a single disk for OS and code then R10 the remaining four to use for VM guest storage. | 0 | 0 | 360 | 2010-06-10T06:21:49.003 | infrastructure | serverfault.com | |
55,205 | SQL Server : How to make "Update Statistics" faster? | We have a table with a 1 column Primary Key on and an UNIQUE Non-Clustered Index with 16 columns. This table has more than 20695780 Rows and on every day new records inserted between 30000 and 35000. After insertion process, we have many other processes those refer this table. On every day, before proceeding further, a... | I would start by seeing if you have any statistics that aren't being used. Unfortunately that isn't possible directly but you could start by looking at your indexes and seeing if any of them are worth getting rid of. If you can eliminate some of your indexes and/or statistics that will improve your run time for the [CO... | 2 | 1 | 2,455 | 2013-12-17T14:11:05.967 | database_errors | dba.stackexchange.com | |
78,469 | How to convert regression into classification? | So I have a regression problem with bunch of features X, and labels in the amount (price $). How can I convert it to classification problem? I have read about convert label from continuous to categorical possibly thesholding at some points for instance 0-50 (0 class) 51-100 (1 class) and so on till 500 maybe (here thre... | To add to the number of methods you can use to convert your regression problem into a classification problem, you can use discretised percentiles to define categories instead of numerical values. For example, from this you can then predict if the price is in the top 10th (20th, 30th, etc.) percentile. These values you ... | 3 | 3 | 8,557 | 2020-07-29T06:21:31.703 | api_errors | datascience.stackexchange.com | |
333,048 | best way to debug nginx rewrite rules in config file? | I have a bunch of rewrite rules that I have to port from apache to nginx. It's a rather painful process because I'm not able to see if my rewrite rules and "if" conditions are working as I want them to. Apache did have debugging for its rewrite module. Whats can I do for nginx? | Enable [CODE] : [CODE] and set debug level in [CODE] directive: [CODE] | 68 | 70 | 98,472 | 2011-11-21T02:01:09.540 | infrastructure | serverfault.com | |
332,666 | DHCP Relay setup in ubuntu server | I have a network appliance (QNO) that works as traffic load balancer and dhcp server. I would like to add a linux server in between the network appliance and the client computers. The linux server will be used to monitor bandwidth usage. My problem is I still want DHCP to be served by the network appliance so that load... | In the simplest case it is [CODE] See the man page to dhcrelay for details. | 0 | 4 | 14,528 | 2011-11-19T10:08:31.580 | infrastructure | serverfault.com | |
505,651 | FTP ip reached by using SFTP command but not FTP | I've been given by a company their FTP IP where I should connect to. I got also username and password. That is supposed to work with port 21, right? I tried to use FTP command-line but it didn't work; I tried my chance with sftp command-line and, using their credentials, I am authorized and connect without any problem.... | The company may only allow SFTP, they don't have to allow both. They are two different protocols, SFTP being the [CODE] and really isn't related to FTP much. This is keeping it extremely simple, differences between the two are beyond the scope of this question. It's possible they didn't specify that you should use SFTP... | -1 | 6 | 465 | 2013-05-07T13:53:23.203 | infrastructure | serverfault.com | |
62,774 | Best Open Source Mail Server for Windows | I'm looking for a mail transfer agent that is free, preferably open source that can run on Windows natively. I've used Postfix before, but Postfix doesn't really run on non-Unix machine. | I am using hMail server , which works like a charm and is free / oepn source | 3 | 4 | 11,150 | 2009-09-05T23:11:58.367 | infrastructure | serverfault.com | |
116,749 | Postgresql equivalent to sqlite pragma | What would be the equivalent of the sqlite pragma below if I want to get the best performance out of postgresql. [CODE] | Most of what these pragmas do for SQLite can be best accomplished by using an UNLOGGED table or a TEMPORARY table . This also makes it very obvious that these are ephemeral tables, that aren't crash or restart safe. It also highlights that there are very real tradeoffs for blazing speed versus data durability. Going of... | 1 | 6 | 3,078 | 2015-10-01T17:29:40.343 | database_errors | dba.stackexchange.com | |
27,473 | The best MySQL configuration for my server | I'm little newbie in configuring mysql and I need some advices. Few days ago I made little home server on Ubuntu Server 12.04 with samba, mysql 5.5, apache 2.2, PHP 5.4.6 etc. I'm using it to sharing files per samba and hosting my local projects in PHP/MySQL - I'm programmer, and I'm often testing new solutions etc It ... | You may find this surprising but MySQL 5.5 can be configured to access multiple cores for InnoDB. The features are not on by default. In fact, there are occasions when older versions of MySQL run faster "out-of-the-box" than MySQL 5.5. I have written posts about this before: [CODE] : How do I properly perform a MySQL b... | 2 | 1 | 6,797 | 2012-10-23T14:50:06.643 | database_errors | dba.stackexchange.com | |
423 | How do I relay mails to another machine with Postfix? | How do I set up my colo box to relay email for my domain (xcski.com) to my home box? Both are currently running postfix, and currently the colo box receives email for a bunch of domains and my home box receives the email for xcski.com. I'd rather receive the mail on the colo box since it's on a static IP. Ideally since... | Apart from the obivious (changing the DNS to make your colo box the mail server for your domain), you can use the postfix transport map to forward mail for a domain to another machine. Your colo box will act as a forwarder/relay for your domain, but this will be invisible to the outside world. If you want to selectivel... | 1 | 4 | 4,522 | 2009-04-30T11:30:35.780 | infrastructure | serverfault.com | |
132,673 | How to get response from stored procedure before it finishes? | I need to return partial result (as simple select) from a Stored procedure before it is finished. Is it possible to do that? If yes, how to do that? If not, any workaround? EDIT: I have several parts of the procedure. In the first part I calculate several string. I use them later in the procedure to make addtional oper... | You probably are looking for the [CODE] command with the [CODE] option. Per the remarks : RAISERROR can be used as an alternative to PRINT to return messages to calling applications. This doesn't return the results from a [CODE] statement, but it will let you pass messages/strings back to the client. If you want to ret... | 9 | 11 | 4,711 | 2016-03-18T17:24:00.677 | database_errors | dba.stackexchange.com | |
1,011,470 | Jenkins with Nginx, need to listen only https port | I have Jenkins instance in AWS EC2. I have installed Jenkins with port [CODE] . And I have [CODE] as a [CODE] . My [CODE] : [CODE] Everything is fine. It works. But, I don't want to have opened [CODE] in security group. So, when I am deleting [CODE] from [CODE] , I am able to to look [CODE] with [CODE] But when I am ma... | I have these lines in my Jenkins [CODE] block: [CODE] Especially the latter is important, it tells Jenkins that it should generate [CODE] URLs. Further information on running Jenkins behind nginx reverse proxy: https://wiki.jenkins.io/display/JENKINS/Jenkins+behind+an+NGinX+reverse+proxy | 0 | 1 | 1,175 | 2020-04-08T16:48:55.173 | pipeline_ops | serverfault.com | |
93,294 | Keras very low accuracy, saturate after few epochs while training | I am very new to the data science domain and directly jumped to TensorFlow models. I've worked on examples provided on the website before. My first time doing any project using it. I am building a Cricket Score Predictor using Keras, Tensorflow. I have a dataset of details of players in a csv containing columns - "stri... | Everything seems correct to my non-expert eyes in your code, exept lr in the code you shared (0.00001) seems low for a SGD, but as you mentionned, you tried different rates, so this probably is not the issue there. I'm not familiar with [CODE] or [CODE] activation functions and usually use [CODE] in all my layers, yet ... | 1 | 0 | 2,645 | 2021-04-20T09:20:32.973 | data_quality | datascience.stackexchange.com | |
791,243 | Apache ServerName not in any virtual host but still get's redirected to https | I've got three virtualhosts enabled 000-default.conf (*:80) => supposed to be default for everything not in any other vhost domain.conf (*:80 redirects to https) => ServerAlias domain.local domain-le-ssl.conf (*:443)(made by certbot) => ServerAlias domain.local My situation is that I can access my web server with the I... | If you only want the SSL VirtualHost to be used on one domain, set the [CODE] and [CODE] directives accordingly. Anything that doesn't match will then fall through to the default VirtualHost. For clarity, you may also want to numerically identify the order of your configuration files. Note: if any traffic arrives on th... | 0 | 0 | 2,781 | 2016-07-21T20:04:14.633 | api_errors | serverfault.com | |
2,761 | Running unmanaged Hardware Security Modules (HSMs) in the Cloud | I have to admit to never having asked, or been asked, the question if it is possible to have a Hardware Security Module in a public cloud, by which I mean Google, Amazon or Azure. Has anyone found any techniques for enabling organizations to use HSMs that they fully manage? It seems to me that the two concepts, Cloud a... | So having gone backwards and forward over this for a couple of weeks, Azure has confirmed to me in-person that the only way to utilise FIPS-140 Level 2 certified hardware security modules in Microsoft Azure is to use Azure Key Vault . | 8 | 1 | 581 | 2017-12-01T12:36:58.623 | pipeline_ops | devops.stackexchange.com | |
545,094 | How to mount a filesystem in a read-only environment? | I have the problem that my machine turned the root filesystem into readonly mode and remounting it as writeable won't work: [CODE] I want to copy some data away from that system and I attached a USB drive and tried to mount it: [CODE] [CODE] is an empty directory, so mounting there should usually work, but it seems tha... | The first error message is telling me that you'll need to reboot - there's something wrong with the disk device itself that the kernel can't resolve without a reboot. If you're booted from SAN, look carefully at your boot LUN and make sure there's nothing wonky with it, or the zoning for the SAN, or the export of the L... | 3 | 7 | 75,258 | 2013-10-10T11:01:01.587 | infrastructure | serverfault.com | |
861,427 | How to make linux server query second or third or fourth nameserver IPaddress from resolv.conf | In our environment we have a very uniq requirement. Let me explain you our environment first. We have DEV,TEST,PRE-PROD & PROD environment, and every environment has its own DNS server ( Primary and slave ) to resolve the hostnames. What we want now is create one mamangement server , who will be able to resolve all env... | Presentation of internal domains is handled by your recursive DNS servers, not by the resolvers present on individual devices. Configuring a device to rely on multiple recursive servers with different configurations is an inconsistent user experience in the best case scenario, and extremely hard to diagnose and trouble... | 1 | 2 | 139 | 2017-07-11T06:18:23.287 | infrastructure | serverfault.com | |
800,055 | Can 'vagrant share' be used from behind firewall, that blocks pretty much everything? | My configuration: ordinary PC computer Debian 8 GNU/Linux 32bit as OS ( fresh, stock install w/o configuring any firewalls if they are configured they are done by installer ) latest vagrant installed from vagrant .deb package from vaagrant page virtualbox installed from contrib repo of Debian ( method: as mentioned at:... | You can use httptunnel to mask your traffic as a "common HTTP" traffic. See here: https://unix.stackexchange.com/questions/190490/how-to-use-ssh-over-http-or-https I've seen three solutions: http://http-tunnel.sourceforge.net/ http://www.nocrew.org/software/httptunnel.html http://proxytunnel.sourceforge.net/ | 0 | 0 | 452 | 2016-08-30T18:32:13.910 | infrastructure | serverfault.com | |
660,429 | Cannot connect to port over the internet (works from localhost) | I'm running something (=Faye server) on port 9292: [CODE] The problem is that from elsewhere I cannot reach it: [CODE] Port 80 works: [CODE] I'm not using any firewalls. Is faye bound to 9292 only locally for some reason? Wasn't like that before... What else can I try? Thank you, David | According to your output the application is only listening on lo (127.0.0.1) This is what you're aiming for [CODE] You most likely need to amend the configuration of whatever it is you're trying to get working to make it listen on either on all interfaces, or the interface that 188.226.243.223 is bound to. | 0 | 2 | 735 | 2015-01-18T16:20:12.800 | infrastructure | serverfault.com | |
290,928 | ForeFront TMG 2010 - Topology Question | Total 4 NICs NIC1 - LAN interface NIC2 - WAN 1 (ISP - A) NIC3 - WAN 2 (ISP - B) NIC4 - DMZ (ISP - C with Public IP Pool) Hi All, 3 ISP Connections 2 For Internet use (Local LAN Internet Access – browsing, email etc) 1 WAN for DMZ (Where I will keep our servers on Public IP’s – as we have a Static Public IP Pool) 1 NIC ... | You do all your routing setup from within the TMG MMC. It then goes and adds the routes via the RRAS service for you. If the NIC4 is configured correctly and TMG has firewall policies and network policies that permit it, the traffic will stay inside your network. This is a fairly common setup, nothing out of the ordina... | 0 | 1 | 740 | 2011-07-16T05:03:18.407 | infrastructure | serverfault.com | |
797,224 | How to Track Sockets per port per processes via PerfMon? | I'm trying to chase down how many sockets are being opened per a specific processes per a specific UDP port over time. Is there a perfmon counter to track this in Windows 2008 -> 2012R2? IE: Snmp agent appears to be spinning up a lot of requests to dest port 161 and not closing them after it's done. I want to see the r... | You should install wireshark on your server and use tshark to save the traffic in pcap files with a rotating rule. For example : you will capture during 1 hour and create some pcap files with a size of 1 Mo [CODE] Moreover, you can use procmon os the [CODE] and save the activity of your process snmp. | 0 | 0 | 978 | 2016-08-16T21:55:44.903 | infrastructure | serverfault.com | |
50,942 | Transaction(s) still alive: How do I find the cause? | I can tell that something is hogging the transaction log on the DB2 for one of our Websphere Commerce installations. Basically I have a burst of transaction log files that are timestamped 5 days ago. I expect that this means that something was started 5 days ago and its transaction is still active. How do I debug this ... | If you're using a recent version of DB2 on Linux, Unix, or Windows (LUW), you can use the db2pd tool to view all current transactions and how much log space they use (the LogSpace column): [CODE] | 1 | 4 | 631 | 2013-10-03T11:13:38.103 | database_errors | dba.stackexchange.com | |
155,943 | SQL - Design question for almost identical tables | I am doing a project for my badminton club. Intro I want to create a database for players registration, such as the following: [CODE] Note: It is not displayed here, but each column besides "Selected" is basically a foreign key to another table. Question For the registration section, I have entries for single play and ... | Below is my first pass at a relatively simple system. Don't know what RDBMS you're using, so your SQL may vary a bit depending. [CODE] For the first pass, I've decided to split the registration tables into singles and doubles - there may be better/more sophisticated methods of dealing with this. You could think of havi... | 0 | 2 | 219 | 2016-11-21T22:04:13.887 | warehouse_errors | dba.stackexchange.com | |
193,363 | Distributed Issue Tracking | Distributed issue tracking seems like a belting idea to me, but it has never really taken off in a big way. Is there a good reason for that? I am aware of: bugz everywhere too complex to set up too many requirements reasonably successful, used by some large projects fossil tries to integrate too many things, and ends u... | Just because source control + distributed was a huge success, issue tracking + distributed isn't necessarily a good idea. What do we gain from distributed source control and would it apply to issue tracking? Easy branching and merging : not really. Actually it is crucial that everybody is on the same page. So branching... | 8 | 13 | 1,891 | 2013-03-29T21:07:22.933 | api_errors | softwareengineering.stackexchange.com | |
56,274 | How to interpret the information spit out by innochecksum? | MySQL is using up a lot of the disk space. Running [CODE] on the data directory shows a humongous [CODE] file (around 1.7 terabytes). I found a very helpful article online and ran a modified version of the [CODE] program on the file as it instructed. Here's the (partial) output of the program: 0 bad checksum 96334276 F... | You should see what is inside ibdata1 from an artist's conception (brought to you by Percona) Before you decide to shrink ibdata1 , you need to know the following: From the size of the ibdata1 file (1.7TB), I can safely assume you are using innodb_file_per_table=0 . Thus, data and index pages for all InnoDB tables sits... | 2 | 1 | 1,155 | 2014-01-07T14:40:12.170 | database_errors | dba.stackexchange.com | |
325,632 | Is a Postgresql UNLOGGED table completely lost on process crash? | I use UNLOGGED tables for a few very large tables in a data warehouse style application. Until recently, I understood UNLOGGED to mean “won’t write to the WAL” - which in turn means that recent changes maybe lost on a process crash / unclean termination, and that there will be no replication Maybe I’m misunderstanding ... | Yes, the table will be empty after crash recovery. There is no other way to ensure consistency. One thing you can do is to regularly backup the unlogged table with [CODE] . | 1 | 1 | 320 | 2023-04-05T11:52:20.620 | database_errors | dba.stackexchange.com | |
10,555 | Moving MySQL database from UniServer to Ubuntu Server? | I have set up Ubuntu Server 11.10, and plan to host my website on it. Until this point I was using UniServer to host it in a portable fashion. Using the built in MySQL. This is fine, and through testing, I have gathered a decent amount of info in my database that I really don't want to have to re-enter. The problem is;... | The simplest option is to just back up everything in the filesystem and carry it over. To find out where your data is, look at the datadir variable with in mysql [CODE] Note Your actual value may differ. Then from your shell shut down mysql, back it up and copy it over. Something like: [CODE] Copy your db.tgz over to y... | 1 | 1 | 727 | 2012-01-11T20:49:38.693 | database_errors | dba.stackexchange.com | |
676,826 | change owa password complexity message | When changing the password in OWA 2007 i'm getting a generic error "The password does not meet the complexity requirements". Is there a way to actually give the detailed message about what that complexity is? | Nope. Windows account password complexity requirements are binary: they're set, or they're not. (Unless you've compiled a custom filter DLL for password requirements.) https://technet.microsoft.com/en-us/library/cc786468(v=ws.10).aspx Passwords must contain characters from three of the following five categories: Upperc... | 0 | 0 | 446 | 2015-03-19T19:48:49.060 | infrastructure | serverfault.com | |
550,935 | nginx serving php for download (previously: nginx multiple location alias 404) | Im having issues with the alias location in the following configuration [CODE] while / works well, im getting a 404 for /webgrind and /phpmemcachedadmin. If i switch the root directory to /srv/http and alias the / location, die /phpmemcachedadmin and webgrind work, but not the / location. UPDATE: I managed the probems ... | I got it... i removed!!! the try_files statement... so my configutation for phpmemcachedadmin is: [CODE] | 0 | 0 | 1,535 | 2013-11-05T23:01:04.417 | infrastructure | serverfault.com | |
799,760 | Nagios: combining passive checks with event handlers | Objective: I need to monitor a cloud environment with a multitude of remote hosts. My problem: I have a DB with the current low-level details of the configuration and state of hosts, created on initial scan of the environment. I want the data on my DB to be updated when problems occur, e.g. some network interface is ma... | You can make it work using a static config for your service. Heres my static config to execute my python script for disk alerts. [CODE] Firstly, You will need to create a command in Nagios CCM. (In my case the command is my_command.py) Define the command name and arguments that should be passed with it. You can keep yo... | 0 | 0 | 627 | 2016-08-29T14:20:25.370 | infrastructure | serverfault.com | |
195,654 | SQL Server Parallelism Disabled | I came up with a strange issue where the performance of select queries was degraded after creating missing indexes on tables. Initially, it looks like all the queries are affected but when looked into details we found that queries that have inner join with a view were affected. A view contains a couple of tables but th... | Parallelism it not disabled after adding an index, so the reason is some where else. From your text I understand that you ran the query on a restored database on a different server ( legacy server you say), is that correct? If yes, then I would check that both instances have same configuration, specially MAXDOP and the... | -1 | 0 | 260 | 2018-01-18T05:59:52.277 | database_errors | dba.stackexchange.com | |
1,030,588 | Need help for TLS1.2 Cipher disabling in RHEL satellite server version - 6.5.2 | We need to disable TLS_RSA_WITH_AES_256_GCM_SHA384 running on port 8008 and 9090 . Below processes are running on ports 8008 and 9090 respectively - [CODE] Below is the configuration file of /etc/foreman-installer/custom-hiera.yaml Foreman Proxy [CODE] Dynflow [CODE] Apache [CODE] Tomcat / Candlepin [CODE] QPID Dispatc... | I had the same issue on Satellite 6.7.2. You might need to restart that service which controls ruby processes, so it can re-read the configuration [CODE] | 0 | 0 | 827 | 2020-08-18T12:16:47.213 | infrastructure | serverfault.com | |
128,389 | Use of NotImplementedException | Is it considered bad practice to throw [CODE] for code you haven't written yet? Possibly TODO comments would be considered safer? | I believe [CODE] is actually a good practice. Indeed, if you forget to implement a method, and you use it later on in your project (and believe me, it happens), you might spend a long time debugging looking for what went wrong step by step. If you have the exception, the program will stop directly, prompting the except... | 15 | 33 | 5,400 | 2012-01-04T20:50:33.313 | api_errors | softwareengineering.stackexchange.com | |
116,266 | Set web browser (or other program) to use specific network | my PC is connected to 3 different networks: 2 different LAN connections and a VPN connection. when i am connected to the vpn, i cannot browse to the LAN intranet as the DNS is all going through the vpn and it cannot see the domains on the LAN. Is there a way to set firefox/chrome/etc to use a specific connection, so th... | The network routing table determines how your connections are utilized. You potentially have a subnet conflict between the LAN and your VPN. Change your LAN to a subnet outside of your VPN. | 0 | 1 | 955 | 2010-02-24T15:23:46.597 | infrastructure | serverfault.com | |
922,175 | DNS Entry to Re-Direct WU to WSUS for non Domain Devices | A little background, I'm not a systems administrator but overheard ours discussing this very issue and wanted to do some looking into it myself. We run an internal network with numerous VMs (and some physical hosts) which have no internet access. The VMs are constantly created, modified, removed, and more added. Howeve... | In a simplified nutshell, Windows Update works by sending a series of web service requests to a known Microsoft-managed endpoint -- let's say, for example's sake only, that endpoint is https://update.microsoft.com . From there it makes further requests to other Microsoft-managed endpoints, because the original response... | 2 | 1 | 3,122 | 2018-07-16T20:39:08.430 | infrastructure | serverfault.com | |
323,532 | How to create a large demo table in quick time in MySQL And checking execution time, execution path | I am trying to understand what is the easiest way to create a demo table with large data(say 10million) for performance testing purpose in mysql? Just to clarify a bit, say for example in Oracle or postgress we use something as below to create large data volume in quick time. But as I understand mysql doesn't have such... | A simple stored procedure is one way. Consider the following data [CODE] Stored Procedure [CODE] Execute using the following statement [CODE] Execution plan [CODE] Demo | 1 | 0 | 57 | 2023-02-15T08:51:50.513 | database_errors | dba.stackexchange.com | |
380,737 | Apache, mod_wsgi, Django Error When Not SSH'd In To Server | I'm getting some strange errors that I've worked through to this point. I have an Ubuntu server setup with Apache + mod_wsgi + Django. When I'm SSH'd into the server, I can access the website fine from a browser on a different machine, and everything looks splendid. When I'm not SSH'd in, I get a 404 Not Found on my Br... | After two days of searching, I found someone else with the same issue . Basically, the server was setup with an Encrypted Home Directory (unbeknownst to me), so when I was logged in and testing everything went as expected. But as soon as I wasn't, the home directory was no longer available to Apache. Hopefully, if anyo... | 2 | 2 | 705 | 2012-04-18T15:24:26.560 | api_errors | serverfault.com | |
185,255 | in-memory table quota reached in error | Edit 1: From article posted by first answer > this: Additionally, if you are using memory optimized table in the context of table valued parameters repeatedly, you may encounter this error even you use them in a separate batch and memory gets released. We are looking to address this issue in future cumulative updates. ... | You may be running into this: https://blogs.msdn.microsoft.com/psssql/2017/06/07/you-may-see-out-of-user-memory-quota-message-in-errorlog-when-you-use-in-memory-oltp-feature/ | 0 | 1 | 1,435 | 2017-09-06T23:25:02.307 | database_errors | dba.stackexchange.com | |
180,344 | How to plan a client/server app networking architecture to cope with multiple unrelated exchanges of data? | I'm coding a server/client application pair in Java, as I learn about it. I have basic functionality of sending a message to the server and parsing it but in thinking about the big picture of their communication, I'm stumped about where to go from here. Both the client and the server have to be able to initiate an exch... | Using multiple connections per user could be problematic because you will hit the servers connection limit earlier when you have a lot of users. TCP, however, has the advantage that packets are always received in whole and in order. You can use that to implement your own application-level session handling system which ... | 2 | 1 | 1,579 | 2012-12-19T19:06:05.210 | api_errors | softwareengineering.stackexchange.com | |
527,827 | Sub-domain delegation in MyDNS, Pointing sub domain to another ns record | I have been trying to delegate my sub-domain to another nameserver but cannot do it. I have read through all the documents and posts that might be helpful but still I cannot accomplish my task. What I have done so far: mydomain.com in my ns1.myserver.com,ns2.myserver.com Which is running good. Now I have used "MyDNS" f... | Make sure that "subdomain.mydomain.com" only has the two NS records you listed. Make sure that "ns1.anotherserver.com" does exist. Check that [CODE] returns an IP address Make sure that "ns1.anotherserver.com" is configured with the "subdomain.mydomain.com" zone, and is answering queries for it. (Check that [CODE] retu... | 0 | 0 | 666 | 2013-08-01T02:12:54.967 | infrastructure | serverfault.com | |
1,134,469 | Google Firebase Cloud Functions: Error: Your project is being set up. Please wait a minute before deploying again | I have a Google Cloud / Firebase project, let's call it A, to which I can normally deploy Cloud Functions via the [CODE] command. Recently I've had to set up a parallel project that is supposed to run the same functions, just with a separate database, so I set up a second project, let's call it B, to which I thought I'... | Just had a similar problem, in our case, the issue was that we didn't initialize the Storage Bucket in our Project B, so [CODE] failed while trying to upload our [CODE] file. Have you made sure that you have initialized everything that you need in your Project B? | 1 | 0 | 1,253 | 2023-06-21T17:24:18.757 | infrastructure | serverfault.com | |
348,913 | How to design the datamodel of nested categories connected to a note? | I am building a personal app to store my [CODE] in. It is not a new concept, of course, but it is giving me a great project to learn Node.JS together with trying out a graph database: Neo4j. What I am having issues with, is coming up with a good data model for my app. Requirements: A [CODE] contains content in the form... | I have read this question several times, and fundamentally, it seems to me that there appears some uncertainty about the function of [CODE] s in the domain. In one place you show: [CODE] Here this looks as if the [CODE] contains an ordered list of categories. Yet in the diagram that immediately follows this description... | 1 | 1 | 1,472 | 2017-05-13T19:12:11.437 | database_errors | softwareengineering.stackexchange.com | |
377,218 | Server keeps crashing | I just recently rented a new server which is being used for hosting files and converting them. however for some reason the server keeps crashing every few hours, how can I find out the reason why my server is crashing? is there a log apart from apache's ? I am currently running apache and nginx on the server (centos), ... | Check the logs. The answer is there: Apache Logs Some nginx logs Linux Logs: /var/log/message /var/log/auth.log /var/log/kern.log /var/log/secure | -3 | 2 | 192 | 2012-04-06T01:14:38.283 | database_errors | serverfault.com | |
109,663 | Is poolmon or an Equivalent Tool Available for Windows Server 2008? | Is there a version of poolmon available for Windows Server 2008 64-bit? This KB article says it only applies to versions up to Server 2003. Is this tool (or something equivalent) available for Server 2008? (I'm new to the Windows Server world, and looking for tools to help track down an apparent kernel-space memory lea... | this version of poolmon works on my Windows 7 X64 bit, and on 2008 i am pretty sure | 3 | 0 | 17,277 | 2010-02-04T16:27:41.113 | infrastructure | serverfault.com | |
283,770 | How Do I Create A Module* For A Class That Relies On Another Module? | *I'm using "Module" to mean some extension of a class, either through inheritance or composition. Say I have one of the following declarations of an [CODE] : [CODE] or [CODE] And the declaration of [CODE] / [CODE] : [CODE] What if I want to create a class called [CODE] that can be used to cause the [CODE] (or any other... | Some alternatives: Have RandomWalk inherit from Positional. With this definition, a RandomWalk is a Positional entity which can walk randomly or to specific locations. I don't really like this approach; it leaves no way to handle arbitrary permutations walkers (e.g., RandomWalk, SquareDanceWalk, etc.). Have RandomWalk ... | 0 | 1 | 75 | 2015-05-13T14:19:43.450 | api_errors | softwareengineering.stackexchange.com | |
80,433 | Smtp server on localhost | I have installed a SMTP server on my localhost. Now I want to give host address of that SMTP server to my mail client so that client can send emails to that SMTP server on the same computer. I have tried "localhost" as the server name with port no. "25" but it is not working. I am sure that my SMTP server is listening ... | It is possible that something else might listening or using that port as well. Have you tried telnet-ing that SMTP server? I would simply just re-configure the SMTP server to listen on another port that you are sure nothing else is using. | 0 | 2 | 4,974 | 2009-11-02T06:51:27.060 | infrastructure | serverfault.com | |
144,308 | Dapper and object validation/business rules enforcement | This isn't really Dapper-specific, actually, as it relates to any XML-serializeable object.. but it came up when I was storing an object using Dapper. Anyways, say I have a user class. Normally, I'd do something like this: [CODE] Since a SIN is required, I'd just create a constructor with a sin parameter, and make it r... | Generally speaking, your database is going to assign the ID on an insert operation, not you. If you fail to provide the ID for an read, edit or delete operation, the operation will simply not work. In other words, the database is performing the validation on the ID, not your DTO class. Often, DTO classes are populated ... | 4 | 2 | 1,641 | 2012-04-13T14:34:04.737 | data_quality | softwareengineering.stackexchange.com | |
223,991 | Hex \x hacking attempts on web server | I've been seeing a lot of these in my [CODE] logs recently: [CODE] I imagine these are hex encoded strings, but looking on the net I couldn't find much info about this kind of attack, also due to Google making it very hard (or should I say impossible) to exactly match strings like [CODE] (and this is a real bug IMHO). ... | Someone is attempting to pass binary data to your server. Likely an overflow attempt. | 0 | 2 | 1,100 | 2011-01-18T23:03:41.300 | infrastructure | serverfault.com | |
216,485 | Why doesn't join elimination work with sys.query_store_plan? | The following is a simplification of a performance problem encountered with the Query Store: [CODE] The [CODE] column is documented as being the primary key of [CODE] , but the execution plan does not use join elimination as would be expected: No attributes are being projected from the DMV. The DMV primary key [CODE] c... | The documentation is a little misleading. The DMV is a non-materialized view, and does not have a primary key as such. The underlying definitions are a little complex but a simplified definition of [CODE] is: [CODE] Further, [CODE] is also a view, though one needs to connect via the Dedicated Administrator Connection t... | 10 | 17 | 499 | 2018-09-01T14:22:32.547 | data_quality | dba.stackexchange.com | |
44,846 | NEWB Getting to KNow New Database and Understand Where Relationships Are | I'm teaching myself SQL using MYSQL and a textbook. While working through the textbook I'm using a database I'm kinda familiar with - an exported copy of my CMS driven websites database. My website collects and sends emails to people who subscribe each time a new article is added. When I log in to the back end of my CM... | I'm not a DBA but I've looked at many "new to me" databases. I don't know if there is a trick to understanding a database. What has worked for me is just to explore the db and query it to see what it returns. Many times as a new developer to a project I'm given a task to fix or update something. I usually look at the t... | 2 | 1 | 56 | 2013-06-19T14:48:46.117 | database_errors | dba.stackexchange.com | |
1,052,950 | i'm able to create raidz with diff sized of hard disk. where im missing? | i read about raidz5 cannot create with diff sizes of hard disks but i'm able to create raidz with diff sized of hard disk please tell me where im missing? [CODE] [CODE] | You are missing the fact that the various component devices used size will be rounded down to the smallest capacity - ie: supposing you create a RAIDZ with 3x 2TB disks and 1x 1TB disk, total pool capacity (including parity overhead) will be 4x 1TB (or 3TB excluding parity). Similarly, a 2-way mirror between 1x 2TB dis... | 0 | 1 | 55 | 2021-02-09T12:50:58.370 | infrastructure | serverfault.com | |
625,630 | Postfix refuses to send mail to some recipients | I got a third-party application running on [CODE] trying to send mails with postfix via smtp on the same machine. The problem is that postfix seems to refuse mails to some recipients: Content of [CODE] [CODE] Meanwhile the sending application says: [CODE] This error only happens with some recipients. I checked my [CODE... | Summarize the comments to answer section Maillog entry [CODE] means that your client disconnect itself after postfix announce [CODE] in SMTP transaction. In normal transaction, client would send the header and body of emails after [CODE] . Your client behavior was abnormal because it disconnect without send a single by... | 1 | 3 | 4,560 | 2014-09-02T08:19:38.913 | infrastructure | serverfault.com | |
319,053 | DSE Services automatically shutting down | Hello Cassandra Experts, We're observing an unusual situation where the Cassandra services are shutting down on their own, we have setup a 3-node Cassandra cluster. We have automated the Cassandra startup using a script that would start the Cassandra services for 1st node, then sleep for 60 seconds, and then begin the ... | A friendly note to let you know that asking for someone to review logs isn't something you would normally ask in a public forum. You need to review the logs yourself for clues because this isn't a paid support service. What I did notice is that the log files you posted shows multiple entries for the same thing which le... | 0 | 1 | 269 | 2022-11-01T11:43:22.583 | database_errors | dba.stackexchange.com | |
678,498 | Create Google Container Cluster with custom kubernetes version | I'm trying to use Google cluster container and faced very odd issue. Google preinstalls and preconfigures kubernetes+coreos in this cluster. It has version 0.12.2 and looks like it's buggy: https://github.com/GoogleCloudPlatform/kubernetes/issues/5920#issuecomment-86205610 Is there a way to install newer version of kub... | Answering here as well, since we resolved this on github as well : Unfortunately that is a known issue with 0.12.2 on GKE that we found shortly after making it available. We've since pulled that release from GKE but clusters that are still running it won't be able to create external load balancers. Your best bet is to ... | 3 | 2 | 159 | 2015-03-26T15:40:17.800 | pipeline_ops | serverfault.com | |
589,017 | After upgrading openssl, unable to bind to server: Can't contact LDAP server | It was working like this, in /etc/openldap/ldap.conf [CODE] I was able to connect our secured ldap server. Because the heartbleed issue, I install openssl to 0.9.8e-fips-rhel5. Now I have "unable to bind to server: Can't contact LDAP server". Update Thanks alxgomz for picking up the typo. The typo means my server is al... | First of all, your LDAP.conf doesn't uses a TLS_REQUEST option that is unknown to openldap. You probably meant TLS_REQCERT which allow you to use insecure server certificates. Possibly, due to this typo, ldap client is trying to validate the server certificate and fails miserably. Hence the refused connection. Somethin... | 1 | 0 | 1,011 | 2014-04-15T02:05:24.507 | infrastructure | serverfault.com | |
1,104,101 | Nginx reverse proxy through wireguard tunnel | I set up a wireguard tunnel between an AWS instance (acting as server) and a personal computer acting as client. Wireguard is installed on both in a docker container (using linuxserver image). On the local computer I have a website that I would like to access from the server using a proxy with Nginx. Basically I want t... | If all you want is port forwarding from your AWS server, you don't need nginx , you can just use an iptables rule in your WireGuard container to forward port 80. On your AWS server, save this WireGuard config file in some directory, like as [CODE] : [CODE] Replace [CODE] with the WireGuard private key you generated for... | 2 | 3 | 12,511 | 2022-06-25T10:30:51.347 | pipeline_ops | serverfault.com | |
669,534 | Elasticsearch performance tuning | In a Single Node Elastic Search along with logstash, We tested with 20mb and 200mb file parsing to Elastic Search on Different types of the AWS instance i.e Medium, Large and Xlarge. Logstash conf [CODE] Environment Details : Medium instance 3.75 RAM 1 cores Storage :4 GB SSD 64-bit Network Performance: Moderate Instan... | 1- If you want comment to your perf we need to see your logstash filter config . Logstash performance is a mix of filter/output/worker setup . More filter = less event/seconds . A good idea is to scale wide if you have logstash perf problems . More worker more instance could increase event/seconds perf . People work wi... | 4 | 0 | 2,641 | 2015-02-18T09:50:17.813 | database_errors | serverfault.com | |
46,913 | Fixing wildcard expansion resulting in too many terms error (DRG-51030) | How can I resolve the [CODE] problem in Oracle 10g? My index creation syntax is: [CODE] And my query is: [CODE] There are 15 million rows in that table, and more than 50000 rows match that query. I have set [CODE] and [CODE] but I'm still getting this error: DRG-51030: wildcard query expansion resulted in too many term... | The wildcard_maxterm is set to the maximum. Actually, the maximum in 10g is 15,000. I think the best approach is to limit the search term. The Oracle error action is to make the query narrower. Here is Oracle's documentation on wildcards (%_) . The % means zero or more characters. The _ means match in a single position... | 2 | 2 | 7,328 | 2013-07-24T10:04:01.343 | database_errors | dba.stackexchange.com | |
596,827 | How do I Clear SMTP Outgoing Queue in Citadel Server via command line? | I had a spam attack this morning. I cleaned up the account responsible, but now I am stuck with over 80 thousand messages in my citadel SMTP queue. This queue is so large that I can't use WebCit to clear the queue, because it just crashes trying to load all the messages to get them all selected and deleted. Surely ther... | Update: This morning, dothebart@uncensored.citadel.org responded to my support request there, and modified the documentation to have a shell script to clear the SMTP queue. http://citadel.org/doku.php/faq:spam:recover I haven't tried it, but I assume this is now the correct way to do this. This worked for me, but I'm n... | 2 | 2 | 1,659 | 2014-05-18T16:13:32.007 | infrastructure | serverfault.com | |
142,206 | mysqld is terminated because the system is low on memory; what to do? | I did recently a site migration; during that I had to erase all plugins and the reinstalling only the minimum as the site was causing the server to crash (A Vps with 1gb of ram), the most problematic seemed to be related to caching plugins (the site's running on wordpress). So now the sites is on, but once in a while I... | In 1GB of RAM, you may be able to set [CODE] to 50M, maybe 100M. But definitely not 800M. The 80% advice is predicated on having at least 4GB of RAM, and 80% is too high even for that. Having other things on the same machine (Apache?) adds to the cramped quarters. If you have Apache, lower [CODE] to 10. Other things to... | 1 | 1 | 2,471 | 2016-06-24T21:54:21.000 | database_errors | dba.stackexchange.com | |
52,962 | Can I force MSDTC to control only within a single database? | Using MS SQL Server 2008 R2 we have .NET code and we would like to use nested connections to the same database within the same transaction scope. I understand and accept that this will require escalation to DTC. My concern is that our sql instance houses database for distributed applications that, in some cases, requir... | Microsoft Distributed Transaction Coordinator is a service that runs on the machine that cannot be configured per database . The service is either installed, or it isn't. Since a distributed transaction must use a linked server, you could theoretically use permissions on any linked servers you have configured to allow ... | 1 | 3 | 754 | 2013-11-07T17:00:38.527 | database_errors | dba.stackexchange.com | |
391,228 | Why Isn’t SQL More Refactorable? | Everyone knows that new developers write long functions. As you progress, you get better at breaking your code into smaller pieces and experience teaches you the value of doing so. Enter SQL. Yes, the SQL way of thinking about code is different from the procedural way of thinking about code, but this principle seems ju... | I think the main problem is that not all databases support Common Table Expressions. My employer uses DB/2 for a great many things. The latest versions of it support CTEs, such that I'm able to do things like: [CODE] The result is that we can have heavily abbreviated table / field names and I'm essentially creating tem... | 39 | 25 | 5,373 | 2019-05-01T12:07:13.197 | api_errors | softwareengineering.stackexchange.com | |
14,762 | How to ensure Quality of the product with test cases? | The process which we generally follow for quality is: Everytime we receive a Requirement document, we study the same, analyse it, discuss it and then after multiple rounds of the same process it is finally kicked-off i.e. Business Requirement Document ( BRD ) is reviewed and approved and can be referred both by develop... | Not all test cases will derive directly from a requirement. The requirements document is a necessary, but not sufficient basis for test coverage. If there are bugs not linked to test cases, you must try and see if there are paths through the software that are not being tested at all (if this is the case, write a new te... | 4 | 2 | 2,527 | 2015-09-17T20:47:32.930 | data_quality | sqa.stackexchange.com | |
857,508 | Is it normal for Docker to create so many mounts and not clean them up? | I've recently provisioned a server with Ubuntu 14.10 and Docker CE using the overlay2 storage driver. After running a few containers my [CODE] output looks like this: [CODE] Even when I do [CODE] to clear everything these mount points just don't go. I seem to be gathering more and more of them and there's no obvious wa... | [CODE] These mounts are used by running containers. In your info it appears you have 14 running containers. A prune command will not stop and delete running containers, so that isn't expected to cleanup these mounts. To remove the mount you need to stop and delete the container. Use: [CODE] Note that deleting a contain... | 3 | 1 | 2,687 | 2017-06-23T12:38:25.810 | pipeline_ops | serverfault.com | |
470,403 | Apache 2.4 on Windows 2008 large file downloads are corrupt | I have a 400MB zip file on a server that I am attempting to access directly via a web browser (not through a script). The file seems to download normally, but cuts off at 124 MB as a corrupt file. The same results keep occurring regardless of the browser used. The Apache access log appear to show a successful download:... | I had this same issue, and came across this hoping for an answer. I strongly suspect there is a bug in 2.4 as this didn't happen in 2.2 After far too much mucking around I finally got my case fixed. I hope this works for you to I know it's a work around but it's better than nothing. In my httpd.conf I enabled sendfile.... | 5 | 5 | 2,811 | 2013-01-18T15:23:18.690 | data_quality | serverfault.com | |
1,066,797 | Renew Let's Encrypt without root access | I'm in a peculiar and unfortunate situation where our network administrator suddenly passed away and no one was prepared for taking over the server management. We have an internal Linux VM that runs client-facing APIs and I just received notice that the Let's Encrypt SSL will expire on 7/1/2021. I am not sure if the ne... | If you want to replace this certificate (if it won't renew itself) without downtime I see only one option - reverse proxy on second server. All in all you will have to break in. Easiest way is to reboot server, add boot parameters "single init=/bin/bash", use passwd to change password and then reboot again - there migh... | 1 | 3 | 1,586 | 2021-06-15T14:08:31.813 | infrastructure | serverfault.com | |
14,413 | How do I show warnings when loading data created from mysqldump? | I've got a large .sql file with large insert into ... values ... statements. Many of these statements are generating warnings during execution. How can I get mysql to print the warnings? If it hit control-C then the import stops and I'm dropped back to the OS command line. Here is sample output from running the SQL: [C... | You should startup mysqld with log-warnings (it should be on by default) and also the max error count [CODE] You may have to start the mysql client with [CODE] This is not mysqld setting, it's a mysql client session setting. You may want to add show-warnings to mysql client session [CODE] | 12 | 13 | 19,714 | 2012-03-05T18:42:24.470 | database_errors | dba.stackexchange.com | |
882,466 | Error When Setting up SSL on Alternate Port | I have a web server running on a Raspberry Pi. I am running stunnel on port 443, so I have been working to move my web server to port 8443 . I use [CODE] for my SSL certificates, and previously they had been working perfectly. I have learned how to obtain certificates using the DNS challenge, so having port 443 for aut... | Confirm that you are connecting with your browser to port 8443. Confirm that it is actually handled by apache and not some other process listening on that port not providing SSL. Confirm SSL is running and listening on port 8443. I don't see [CODE] in your snippet. This could also be causing you problems. | 3 | 3 | 2,213 | 2017-11-08T13:33:13.370 | api_errors | serverfault.com | |
239,767 | Set default scheme in Redshift | I'm trying to set the default schema to a user in Redshift with [CODE] option, because I do not want it to write to the public schema by default. I am using the following order: [CODE] It does not give me any error, but when I create a table with the user without specifying the schema, it is not created in the schema i... | The problem comes from using [CODE] , since this client applies that the default path is [CODE] . I've tried it in [CODE] and it works without problems. | 2 | 1 | 1,993 | 2019-06-04T09:11:18.837 | warehouse_errors | dba.stackexchange.com | |
459,595 | Oracle Golden gate version using shell scrip | I am trying to grep the Oracle golden gate from a remote machine, But along with version it is giving some error details also, How do I resolve it ? [CODE] | Use the -T option to ssh; -T Disable pseudo-tty allocation. from the manpage. | 1 | 1 | 688 | 2012-12-20T08:39:02.003 | database_errors | serverfault.com | |
229,791 | Multiple documentation issues in a single bug | It is clearly a bad practice to incorporate several issues in a single bug. It is not convenient, hard to maintain, difficult to keep track of what is done and what is not, etc. But does all this concern bugs associated with documentation as well? By documentation, I mean only external documents (user guides, architect... | They're the same as conflating problems in code. The only difference is that one of them (changes in one place having unintended consequences in another) are slightly less like to occur in text than in code. Most developers view computer code as an active, dynamic entity whose behaviour is not readily predicted and whi... | 0 | 3 | 116 | 2014-02-21T07:54:28.487 | api_errors | softwareengineering.stackexchange.com | |
212,499 | I need help to optimize a long query | I have a table Chron containing the following columns: ID | timestamp | ... Some timestamps have been erroneously changed to a specific date D. I want to change them to the timestamp of the nearest rows (in terms of ID) which have not been changed. My query is: [CODE] The problem is that my table contains more than 300... | Here I suppose that [CODE] is ordered chronologically just like [CODE] field. [CODE] The only requirement is that first (by [CODE] ) record should have the correct timestamp. Also that query update the broken timestamp to the value of the previous correct/corrected row and if you have the long continuous run of rows wi... | 1 | 1 | 56 | 2018-07-18T06:58:56.013 | warehouse_errors | dba.stackexchange.com | |
1,111,604 | Nginx proxy_pass doesn't always work when using a variable for the host | I have 2 location blocks with proxy_pass configs, they look in a simplified form like this: [CODE] Now the problem is [CODE] works fine, but [CODE] doesn't, it returns 500, and I get this error in the logs [CODE] If I set the value with a variable, like this: [CODE] then it works. I need to use a variable though, becau... | I finally found the solution for this problem, that I only realised after posting it. The problem for me was defining the variable in the location block. Defining it outside the location block was sufficient to resolve the issue. [CODE] No clue how did it work in other location blocks though. | 0 | 0 | 1,574 | 2022-09-26T16:23:02.130 | api_errors | serverfault.com | |
471,262 | Juniper OSPF subnet mismatch from Quagga router | I am trying to setup a OSPF area between a Juniper MX80 and a Quagga router. The Quagga router has OSPF configured and network 199.192.100.0/28 advertised in the hello packet. But the Juniper MX80 is rejecting it with the following error: Jan 22 04:14:38.371296 OSPF packet ignored: subnet mismatch from 199.192.100.2 on... | The problem is that you have the wrong subnet configured in OSPF in Quagga. You need the /30 as network statement: [CODE] The network statement tells Quagga on which interface to enable OSPF. Every interface that has an IP from that subnet will have OSPF enabled. Likewise the 199.192.100.2/28 should probably not be on ... | 0 | 1 | 2,890 | 2013-01-22T04:30:03.990 | database_errors | serverfault.com | |
725,529 | SSH allowing remote hosts to connect to local forwarded ports | I'm currently facing an issue with a RHEL 7.0 regarding the ssh option -g (i.e remote hosts connection to local forwarded ports ). I'm establishing a connection with port forwarding, from a server on myserver_ip address , with the usual command line : [CODE] When I point my browser (or try to fetch something with curl ... | Curl has already told you the answer. It's not about SSH, its not about firewalls, it's not about selinux. [CODE] The machine where you are running curl does not know where it should send packets intended for (the ip address it associates with) my server_ip | 0 | 1 | 1,226 | 2015-09-29T13:26:34.357 | api_errors | serverfault.com | |
205,310 | create a backup table with million records | I want to move old records from TABLEA to TABLEA_AUDIT. TABLEA have around 1.5 million records and it have two nested tables. No of Records : 1557951 Size : 1024 MB I tried it by, 1.using Create table as select * from [CODE] Result : 2hours of waiting and didnt get any result 2.Tried CREATE TABLE AS with no logging by ... | In case you won't need the data immediately, you can try extracting table structure, then rename it to backup, and create a new table with the same structure and name. [CODE] This will show the table structure. you can use the result to create new table. [CODE] many suggestions are out there to copy by the select state... | 0 | 1 | 1,844 | 2018-04-30T04:42:28.097 | database_errors | dba.stackexchange.com | |
598,019 | php crashes with no core file and this message : apc_mmap failed | Description of the problem Regularly, cron php processes crash on our production server, which result in mails with the following body : PHP Fatal error: PHP Startup: apc_mmap: mmap failed: in Unknown on line 0 Segmentation fault (core dumped) I think the [CODE] should result in core files being handled by apport and t... | The core file needs to be read on a system that is at least very similar to the one where the crash happened. In particular you need to have the same versions of the binary and all involved libraries in order for the pointers to line up. Usually it's easiest to run gdb on the machine where the crash happened. You'll al... | 2 | 1 | 3,632 | 2014-05-23T08:04:33.807 | infrastructure | serverfault.com | |
576,979 | Xen doesn't boot after install | I tried to setup Xen by the instruction released on the site of my hoster. I installed Xen, completed RAID setup as it is told in the instruction. Rebooted and succesfully connected to Xen from XenCenter. Then I created a volume for ISO and added some images to it. Up to this point everything was OK. But then I reboote... | Since you just started, and haven't provided details other than "as told in the instruction", I'd start over. Sorry if that's not what you want to hear. | -3 | 3 | 174 | 2014-02-20T07:10:44.147 | infrastructure | serverfault.com | |
250,673 | upgrade to centos 4.9 from 4.8 | I've issued yum upgrade in my centos 4.8 box but after upgradation finished, it shows [CODE] | What you really want to look at is [CODE] : [CODE] That's owned by the centos-release rpm: [CODE] the only thing I can think of is that for some reason that file didn't get upgraded when you did the upgrade of the system. If you still have the -4-8 version installed, the system will report centos-4.8. [CODE] is also ow... | -1 | 1 | 1,162 | 2011-03-23T06:46:00.423 | infrastructure | serverfault.com | |
48,592 | Strategies for handling unlabeled data which is slightly different from the labeled data | Suppose you have a dataset with the following properties: The number of samples is fairly large (~100K samples) There are ~150 contextual features and 1 feature consisting of a text-string (which can, of course, be split into any number of features depending on the pre-processing of the text). It is expected that the t... | There is no straightforward way to deal with this scenario, but here are some ideas: Augment the A/B/C label set with an extra label "U" for "unknown". Now all samples are labeled. Predict A/B/C labels from the unlabeled samples from the other pieces of data in the sample. Now all samples are labeled. Train a system fo... | 6 | 1 | 556 | 2019-04-04T09:37:38.613 | data_quality | datascience.stackexchange.com | |
219,171 | What workflow do you find efficient when simultaneously developing multiple inter-dependent GIT branches? | Let me start by saying that my GIT knowledge is fairly shallow, so I'm guessing that there might be something I'm missing. THE SETUP: As an example, we have a project which is being developed as a collection of plug-ins/modules. Some modules, such as contact management, depend on others, such as validation. Each module... | You may be confusing "module" with "branch." Just because two classes are in two entirely distinct source code files and wind up in two entirely different distibution files does not mean you need to revise them on different branches. Ideally, you would have a single personal branch for your entire project, so than when... | 2 | 2 | 506 | 2013-11-21T23:49:23.810 | data_quality | softwareengineering.stackexchange.com | |
67,816 | Passing tuples (key, value) into parameterized SQL query in Python | NOTE: I am new to this community, so please let me know if I can help you help me! I built a scraper in python that creates a tuple of (key, value). I would like to pass both key and value as parameterized variables in an SQL query that updates a table in my sqlite database. I have exhausted researching online and tria... | Generally speaking, you need a string to be executed that contains placeholders to accept the values contained within the tuple. Also, what you are calling your "tuple" is actually a Python dictionary, but that isn't a problem. From the sqlite3 documentation , we can see there are two ways to correctly use the [CODE] m... | 1 | 0 | 5,342 | 2020-02-10T11:20:06.790 | data_quality | datascience.stackexchange.com | |
44,409 | Comparative Analysis of two sets of data | I have 2 sets of data which consist of marks of 60 students in a particular subject in year 1 and year 2 respectively. Year 1 : 86, 76, 87, 67, 89, 95.... so on (60 students) Year 2 : 82, 67, 99, 77, 65, 78.... so on (60 students) I want to compare these two sets of marks and find if year 2 students performed better th... | No, this is the classical application of statistical test. You should consider the problem in the scope of two-sample test. Machine learning does not fit in the picture. | 1 | 1 | 69 | 2019-01-23T03:57:26.260 | data_quality | datascience.stackexchange.com | |
312,316 | sp_BlitzFirst - SQL Server - slow data reads - huge wait stats | We are experiencing intermittent SQL Server issues, where from time to time, it would become unresponsive for a few minutes, causing an outage of a system, driving crazy many users. I started using sp_Blitz and related tools to find hints. But I got the following results, which looked very bad, "slow data reads" , and ... | You need to collect more data, but from my experience, leaving [CODE] setting left at the default of [CODE] can and will cause the behavior you're seeing on systems with higher core counts. One thing I will say is dig through the [CODE] when you see this behavior going forward. While the [CODE] setting can cause this, ... | 1 | 1 | 223 | 2022-05-18T16:58:46.220 | database_errors | dba.stackexchange.com | |
108,938 | Real-world scenarios for table with DENY SELECT and GRANT [INSERT/UPDATE/DELETE] | What is real-world scenarios for this type of permissions? May be it is generally not valid, and made by mistake? Should this kind of permissions be avoided (or prohibited)? | There is one simple enough scenario where I could see permissions being REVOKEd/DENYed for SELECT and GRANTing INSERT/UPDATE/DELETE makes sense. Suppose one works for an institution wheire confidentiality is crucial and any large scale publication and/or loss of user data would be disastrous. Say, a bank or a medical i... | 1 | 1 | 76 | 2015-08-04T08:18:56.067 | warehouse_errors | dba.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.