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 |
|---|---|---|---|---|---|---|---|---|---|---|
907,728 | Mongodb in Kubernetes Timeouts when inserting large amount of data | We have an api in running which receives once a day multiple batches of large data that are inserted in a mongodb. We use the [CODE] for the replicationset configuration This works perfectly on a local mongodatabase. there is also no production traffic on the database which could raise raise conditions or so. Now we de... | I checked the logs and the kubernetes Dashboard with Boas Enkler. In the Kubernetes dashboard regarding the status of the PODs there were the following hints: [CODE] You could have retrieved the very same information through [CODE] Notice that quoting the documentation : "If the kubelet is unable to reclaim sufficient ... | 1 | 1 | 1,418 | 2018-03-02T13:04:12.490 | pipeline_ops | serverfault.com | |
993,841 | Mixing 3.5 hdd and 2.5 hdd in LSI RAID 1 | An existing LSI raid is using 2 3.5 7200rpm drives. I would like to replace one of the drives with a 2.5 5400rpm drives. Is this ok? If performance is lowered, it is ok for me. | If using the same connection protocol (read: SATA), it should work. However, 5.4k RPM disk are consumer (laptop?) ones, absolutely not adequate for any production RAID. In other words: if the server does any real work, don't do that. If for lab/testing, you can try. | 4 | 6 | 962 | 2019-11-30T10:23:34.720 | infrastructure | serverfault.com | |
1,050,791 | nginx+php-fpm Warning Not Disappear | In my [CODE] [CODE] In my scripts: [CODE] In my [CODE] [CODE] But still Warnings like this are shown: [CODE] | I found a solution. Basically, there is an hint in the conf template of php-fpm: [CODE] Therefore, the solution is to switch off the error reporting of [CODE] and accept the php.ini settings. In your [CODE] : [CODE] | 0 | 0 | 418 | 2021-01-22T11:10:55.383 | infrastructure | serverfault.com | |
366,013 | Read/parse mail.log to make easier debugging | I need to go through the mail.log and filter out a few emails that have been causing problems and wondered if there is anyway to make my life easier. Is there anyway to parse the mail.log to make it easier to read (maybe displayed in a HTML table with sort capabilities) and filter emails from the log? | Also see http://code.google.com/p/logstash/ and http://loggly.com . loggly is a commercial product much like splunk. logstash is a free/open source project. | 2 | 3 | 1,386 | 2012-03-03T17:28:45.143 | infrastructure | serverfault.com | |
63,322 | Check for table corruption | I monitor MySQL databases by querying various things remotely. I recently came across an issue where by a table had become corrupted but I did not know about it until the daily mysqldump failed. Is there a way I can check for corruption (without running a CHECK TABLE on every table)? I thought I had it figured when I n... | [CODE] will show you what all tables are corrupted. | 7 | 3 | 31,013 | 2014-04-16T11:14:06.557 | database_errors | dba.stackexchange.com | |
894,793 | How to upgrade Python 2.7.x version to the newest version 2.7.14? | Can anyone give some advice how to upgrade 2.7.X version of python to the 2.7.14 version? I've tried to upgrade my current version(2.7.9) from the source code with the following steps: wget -c https://www.python.org/ftp/python/2.7.14/Python-2.7.14.tgz tar -xvf Python-2.7.14.tgz cd Python-2.7.14 sudo ./configure sudo ma... | (You haven't mentioned, but I assume you are using an Ubuntu Linux as you have the "apt-get" command.) You installed the python from source and tried to install the modules via apt, this is not something what definitely works (because they most likely uses different pathes). First off all, if you are not confident with... | 1 | 1 | 16,502 | 2018-01-30T14:12:59.970 | infrastructure | serverfault.com | |
950,999 | Sendmail bash script invoked by cron can't read from stdin | I try to write a little script that overwrites from adress of nullmailer. Nullmailer has an option "allmailfrom" you can put a mail adress into /etc/nullmailer/allmailfrom and all mails sent have this address as "Return-Path", but From is still the value from so sending programm like pi@raspberrypi So I've tried to cre... | replace line [CODE] with [CODE] and it works. Answer was inspired by https://stackoverflow.com/questions/212965/how-to-read-mutliline-input-from-stdin-into-variable-and-how-to-print-one-out-in Don't know why this makes so much difference, important it works. | 1 | 0 | 746 | 2019-01-27T15:43:22.223 | infrastructure | serverfault.com | |
289,412 | How do I attach a SQL Server DB with a missing NDF file? | I had a server running that had a disk crash. The server had 2 filegroups: PRIMARY and SECONDARY. SECONDARY was stored in a different NDF file. I lost SECONDARY + the installation of the server, I have the MDF file of the PRIMARY filegroup. I also have a backup from a few months ago. Is there a way to attach the MDF fi... | This is one way of recovering the data from your PRIMARY filegroup. Since the database is not attached, you have to first get it upp and running, you can do that by restoring the old backup to an alternate name (Just to be sure not to owerwrite any files of importance). Then set the database files you are missing as OF... | 4 | 3 | 3,609 | 2011-07-12T11:50:46.033 | database_errors | serverfault.com | |
287,135 | Why do I get GPG error when running apt-update for lenny-backports? | Alright, so I'm trying to upgrade (if you could call it so) to lenny-backports as seen here , but I ran into this error when running [CODE] : [CODE] The line I added to sources.list is as follows: [CODE] And as Womble asked in previous question here is the version of debian-archive-keyring no matter what is that.. [COD... | Your version of the debian-archive-keyring package is out of date. You need to upgrade it to the latest version available in lenny -- an [CODE] should do the trick. | 3 | 3 | 5,097 | 2011-07-05T14:42:06.997 | hadoop_errors | serverfault.com | |
955,461 | Connecting to SMTP server from AWS Lambda | On my AWS Lambda function, my javascript code times out whenever I try to use [CODE] to connect to my Amazon SES SMTP server (port 465). However, if I run the script locally, it works fine, which leads me to believe it's either a problem with the lambda dialing out to the SMTP server, or the SMTP server blocking the la... | This is expected. Lambda functions in a VPC can't communicate with the Internet (including the standard service APIs) using an Internet Gateway, because an Internet Gateway requires the internal devices to have associated public IP addresses. Being on a public subnet (where the default route is the Internet Gateway) is... | 6 | 10 | 6,799 | 2019-02-23T23:10:29.483 | infrastructure | serverfault.com | |
141,462 | Is there a sensible way of 'teaming' two ADSL connections? | I work in an office complex that has two seperate ADSL connections, which they use to provide two seperate networks (actually both the ADSL routers go into a Cisco managed switch with two VLANs, one for each ADSL connection). Circumstances have changed so that 95% of the users are all on one ADSL connection. It would b... | There are numerous appliances and routers (e.g. Zyxel P-663H ) which will support two internet connections and balance outbound sessions across the two links. For IP routing reasons this almost always involves NAT, although if you're already using NAT that shouldn't be an issue for you. Balancing inbound traffic resili... | 2 | 2 | 2,179 | 2010-05-13T12:27:51.047 | infrastructure | serverfault.com | |
875,035 | Sane value for net.ipv4.tcp_max_syn_backlog in sysctl.conf | I'm tuning [CODE] . According to an optimization guide on linode's website, the following is a sane value to set in [CODE] : [CODE] However, the same value in an archlinux optimization guide is: [CODE] Lastly, on another optimization blog (that is old but still SEOs quite high on Google), the value is touted to be: [CO... | It mainly depends on how much traffic you're running through you server(s). There are several important questions: How many concurrent connections do you expect to handle? What is the average response time? (if generating response takes e.g. 10-50s seconds you might easily run out of resources, even without DDoS attack... | 21 | 16 | 29,899 | 2017-09-22T14:05:19.300 | infrastructure | serverfault.com | |
123,349 | How do you determine velocity when the previous sprint was half User Stories and half Defects? | The following scenario often happens with my team at the office. Let's say we decided to plan our Sprint this way: 50% new features 50% bug fixing (they are high priority AND unestimated as the fixes are easy, the hard and time-consuming bit is the investigation) The Sprint goes well and we finish all the features, say... | Velocity is X because velocity measures how much story points (= business value) you delivered in the last sprint. But you have second value available - capacity. Capacity is number of hours / man days you have available for the sprint. So if you now doubled the capacity you can assume that your velocity will increase.... | 3 | 8 | 1,283 | 2011-12-05T13:53:32.840 | api_errors | softwareengineering.stackexchange.com | |
18,919 | Confidence intervals for binary classification probabilities | When evaluating a trained binary classification model we often evaluate the misclassification rates, precision-recall, and AUC. However, one useful feature of classification algorithms are the probability estimates they give, which support the label predictions made by the model. These probabilities can be useful for a... | I don't think there is a good way to do this for all models, however for a lot of models it's possible to get a sense of uncertainty (this is the keyword you are looking for) in your predictions. I'll list a few: Bayesian logistic regression gives a probability distribution over probabilities. MCMC can sample weights f... | 8 | 5 | 4,019 | 2017-05-12T03:18:10.817 | data_quality | datascience.stackexchange.com | |
795,102 | How to determine why MySQL is crashing | I have a VPS running a Ubuntu 16.04.1 LAMP stack and I recently started getting a problem where MySQL (MariaDB) will stop working (the static content from my sites is still served, but the database is down). I suspect it might be lack of memory because it is only a 512MB droplet. But I don't know how I could confirm th... | The way to solve this problem, like many others is to be well informed. Look in all of your logs for relevant information. Install monitoring and gather data. -- Correlate the data gathered with observed problems. Apply Scientific Method It really is that straightforward. | -1 | 3 | 35 | 2016-08-05T15:55:05.123 | database_errors | serverfault.com | |
812,916 | How to fix .. 554 Message rejected: Email address is not verified | My email has been successfully verified: But I cannot send the emails to others: error : 554 Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-1. Can you, please, help me solve this problem? | Is this the first time you are using this account with SES? If so then you must be in sandbox mode If your account is still in the sandbox, you also must verify every recipient email address except for the recipients provided by the Amazon SES mailbox simulator. SES Doc You can follow these steps : Log into the AWS Man... | 22 | 25 | 53,232 | 2016-11-03T09:18:50.917 | infrastructure | serverfault.com | |
1,140,935 | Firewalld fails on completely new Debian 12 server | My Debian 12 Bookworm VPS was running firewalld 1.3.0-1 without problems. Due to unrelated issues, I had to rebuild the server, and now firewalld fails. I use ansible, so the configuration should be identical to before. Maybe some apt dependencies have changed in the interim. To troubleshoot more easily, here is a repr... | I managed to fix it by simply rebooting. Then [CODE] shows that firewalld is running: [CODE] How unexpected! | 1 | 2 | 1,344 | 2023-08-07T04:12:52.937 | pipeline_ops | serverfault.com | |
728,264 | NFS client not ignoring UIDs on NFS map | I have six machines, one NFS server and five clients. Three clients (running Ubuntu 14.04) work just fine. The other two, running 12.04, are running into permissions errors. On the mapped client machine, [CODE] returns: [CODE] This is the expected permissions setup. [CODE] is the user that needs permission to this fold... | the problem is that idmapd is involved only when you do GETATTR/SETATTR (stat, chown, setacl) or kerberos is used (for principal to id mapping). But when nfs client sends CREATE request with auth=sys, then uid and gid is taken from RPC message. So you need uid and gid match on the server and client to solve your permis... | 1 | 1 | 1,579 | 2015-10-12T00:59:54.970 | infrastructure | serverfault.com | |
1,132,501 | Multiple MySQL versions using Homebrew on macOS giving Error - Can't connect to local MySQL server through socket | I am trying to set up multiple MySQL versions using Homebrew. I have already been using MySQL 8.*, which is running fine. However, due to some old project requirements today, I have installed another version of MySQL (5.7). Now when I switch to mysql@5.7, it gives me the following error. [CODE] Please have a look at th... | I think this issue is related to the fact that both mysqld instances seems to be configured to use the same socket file /tmp/mysql.sock . If the socket file is not correctly removed when one of the instances is stopped, it might cause issues when the other instance is started. There are different options to get around ... | 0 | 0 | 795 | 2023-06-02T15:26:24.337 | database_errors | serverfault.com | |
1,056,252 | Exchange 2016 won't recreate HealthMailboxes for Monitoring | I needed to repair some corrupt Monitoring HealthMailboxes. I've followed the instructions from numerous articles indicating I should stop the Microsoft Exchange Health Manager (and Recovery) services, disable the monitoring mailboxes, delete the HealthMailbox users from AD (within ADUC "Microsoft Exchange System Objec... | Are all required services of your Exchange 2016 server running? Required services on Exchange 2016 Is there any error in the Event Viewer after you restarted MS Exchange HM service to generate Health(monitor) mailboxes? Based on my research, I found a similar thread: Exchange 2013 has no HealthMailboxes attached to it ... | 0 | 0 | 2,243 | 2021-03-08T02:36:02.803 | data_quality | serverfault.com | |
113,022 | SQL Server 2005 Memory Usage Low | This will probably sound like a strange issue but I'm a bit concerned our main database server isn't utilising all of the memory availbable to it. It is a 32-bit Windows 2003 / SQL Server 2005 Standard deployment. It is the only instance running on that box and has the default memory limit settings still applied. The s... | With AWE, you won't see the true RAM usage of SQL Server in the process list (because of the way AWE maps memory). You'll need to go into Performance Monitor and have a look from there (I forget which SQL counter to use, but it'll be under [CODE] ). | 1 | 3 | 950 | 2010-02-15T15:21:39.077 | database_errors | serverfault.com | |
845,930 | Disable UEK repositories on Oracle Linux 6.9 | I have lots of machines running the Red Hat compatible kernel and this has not been as issue before. However, the latest default behaviour appear to be that the repository configuration file is updated with UEK4 enabled on "yum update" The next "yum update" will install UEK4 and set it as the default kernel. Any proble... | I realise that this is a pretty old question and you may no longer care about the answer but after some digging around (well a lot of digging, I wanted to know the 'right' way to do it too!) I found that in /etc/yum/vars you will find files that hold the values for these variables. So to disable uekr4 you simply change... | 3 | 5 | 1,773 | 2017-04-22T11:19:33.427 | database_errors | serverfault.com | |
137,285 | Developer to team leader | How much experience is considered enough for a developer to become a team leader? For IT managment what is the measure to check if the current team member is good enough to become a team leader (technical level, interpersonal level) updated: removed second part of the question for being duplicate (see comments) | how much of experience is considered enough for a developer to be nominated to become a team leader As much as the management feels is necessary. I've known people who spend a decade in a developer role, never progressing into management. I've also known one person who started an entry-level graduate programming job, a... | 11 | 8 | 8,618 | 2012-02-28T10:35:33.730 | data_quality | softwareengineering.stackexchange.com | |
391,553 | IIS 6 + ASP.NET Output Cache Not Working | As you can see from the title, our output cache is not working. We only recently noticed but it did at one time work (verifiable with a hidden timestamp at the bottom of the page; we cache for 3600 seconds using [CODE] ). We attempted to isolate the piece of code that is causing the problem (either the page is not ente... | We also experienced this issue recently, same story we never found any good article for this issue except on " http://todd-carter.com ". We have decided to stop unnecessary use of the ".AppendCookie(". Now we are checking if Response.Cookie already exists and the cookie value is already exists dont update the Cookie. A... | 1 | 0 | 1,039 | 2012-05-22T18:45:08.647 | infrastructure | serverfault.com | |
112,958 | Postfix aliases and duplicate e-mails, how to fix? | I have aliases set up in postfix, such as the following: [CODE] When an email is sent to all@mydomain.com, and any of the recipients in that alias is cc:ed which is quite common (ie: "Reply all"), the e-mail is delivered in duplicates. For instance, if an e-mail is sent to all@mydomain.com and foo@mydomain.com is cc:ed... | There is a way how to do it, but not using Postfix itself. If you are using a reasonably recent Dovecot with Pigeonhole implementation of Sieve , there is a special extension that can be used for on-delivery deduplication. In Dovecot older than 2.2.18, the name of this extension is "vnd.dovecot.duplicate" and it's disa... | 22 | 6 | 27,484 | 2010-02-15T12:19:13.893 | data_quality | serverfault.com | |
1,142,061 | MS Exchange 2016 and high memory usage | Our MS Exchange 2016 instalation has a high memory usage in store worker and sometines this stop to receive then email from another server. What may be wrong in our instalation? | Agree with the above, this is normal. Exchange acts as a memory management system. It takes as much ram as possible, then gives it back to the system. | 0 | 0 | 1,252 | 2023-08-21T12:38:21.433 | infrastructure | serverfault.com | |
1,088,809 | Hosting Multiple Django Websites on a VPS | I'm moving away from WordPress and into bespoke Django websites. I've settled on Django as my Python framework, my only problems at the moment are concerning hosting. My current shared hosting environment is great for WordPress (WHM on CloudLinux), but serving Django on Apache/cPanel appears to be hit and miss, althoug... | Seems like this question was already answered on stackoverflow. https://stackoverflow.com/a/65930983/7845355 | -2 | 1 | 848 | 2022-01-02T23:18:30.627 | pipeline_ops | serverfault.com | |
203,134 | Uses of persistent data structures in non-functional languages | Languages that are purely functional or near-purely functional benefit from persistent data structures because they are immutable and fit well with the stateless style of functional programming. But from time to time we see libraries of persistent data structures for (state-based, OOP) languages like Java. A claim ofte... | Persistent/immutable data structures don't solve concurrency problems on their own, but they make solving them much easier. Consider a thread T1 that passes a set S to another thread T2. If S is mutable, T1 has a problem: It loses control of what happens with S. Thread T2 can modify it, so T1 can't rely at all on conte... | 16 | 15 | 3,429 | 2013-06-29T05:37:41.637 | api_errors | softwareengineering.stackexchange.com | |
30,149 | Why is this key lookup required? | I have an admittedly-complex query that I'm optimizing and I'm stuck on the next step. I have pinpointed the bulk of my problem to one part of my query that's doing the following Key Lookup but I'm confused both as to why it's doing this and what it's so slow. I'm not even referencing the PK in that table. I'm doing: [... | Have you updated statistics lately? Estimated Number Of Rows is 1 while Actual Number Of Rows is 10,259,536... Dated stats can lead to bad query plans (insufficient memory allocated for joins and sorts, bad join algorithm choices...). When Auto Update Statistics is set to true on the database, SQL Server will automatic... | 3 | 3 | 738 | 2012-12-10T23:52:06.167 | database_errors | dba.stackexchange.com | |
999,039 | How to tell why Kubernetes liveness probe gets HTTP 503 while logs show 200 OK? | I've deployed a pod with Apache httpd ( official image, tag 2.4.41 ), serving HTTP/2.0 plaintext on port 8082, and it's working "fine", but I see restarts every few hours ( [CODE] , showing 60 restarts in 5 days). The logs always show "caught SIGWINCH, shutting down gracefully" ( [CODE] , for previous pod): [CODE] The ... | After digging into this more and more it appears that the Docker daemon was killing the container for going over the memory limit as logged to system logs: [CODE] Why httpd suddenly is going over the memory limit remains a question, but out of scope here. Why Kubernetes doesn't report the container being killed for goi... | 0 | 2 | 20,172 | 2020-01-15T11:56:49.350 | pipeline_ops | serverfault.com | |
257,079 | How to give user permissions on ubuntu server? | i have an ubuntu server and i give hosting to some users and i use the next command to create users and their ftp accounts: sudo adduser nameofthepage This command creates a directory with the name of the page in the "/home" directory where users can put the files of their web pages. But i have a serious problem, when ... | If /home is owned by root, which it probably is... you can always revoke read access for "others" on the /home directory itself. [CODE] | 1 | 1 | 408 | 2011-04-07T18:52:51.163 | infrastructure | serverfault.com | |
334,830 | What are the advantages and disadvantages of inspecting the Plan Cache rather than the Query Store? | The Plan Cache and the Query Store are not the same, even for the same query . When hunting for performance or monitoring information on a specific query or set of related queries, what are the advantages/disadvantages of each? The general impression that my online research indicates is that the Query Store can be quer... | little bit I generally prefer Query Store to the plan cache, since it's a more stable and reliable source for performance information. The plan cache clears out and loses plans for many reasons, and anyone ridiculous enough to enable optimize for ad hoc workloads can miss a significant amount of information. The one th... | 2 | 6 | 189 | 2024-01-13T20:45:12.907 | database_errors | dba.stackexchange.com | |
816,998 | nginx rule - match all paths except one | I am trying to match all paths that begin with /newsletter/ except one (/newsletter/one) with a regex. What I have so far: [CODE] This matches all the paths that begin with /newsletter/. How do I make an exception for the path /newsletter/one ? | I ended up using the following solution: [CODE] This matches all the paths under /newsletter/* and then I match all the paths that begin with /newsletter/one and apply the configuration for the newsletter/one in the inner configuration block while I keep the rest of the configuration in the outer configuration block. | 16 | 18 | 65,745 | 2016-11-25T07:54:23.257 | infrastructure | serverfault.com | |
650,309 | Random HTML and cookie value gets appended to apache proxy_fcgi error message | I am using Apache with PHP-FPM on my web server. When user enters some random pathname that Apache passes to proxy-fcgi and the file could not be found, there will be a standard error recorded in the error log: [CODE] However, on certain occasions, I get a chunk of HTML from a random page of my website, like so: [CODE]... | This is bug 56858 to be fixed in in the next release of 2.4.x (2.4.11?) Here's the patch: http://svn.apache.org/viewvc?view=revision&revision=1621602 | 1 | 0 | 446 | 2014-12-09T16:26:59.533 | infrastructure | serverfault.com | |
291,667 | Dovecot, getting error: Mail access for users with UID 222 not permitted | When I attempt to login to my Dovecot IMAP server I get this error: [CODE] What is going on? HELP! | Dovecot restricts the users that can login via the [CODE] setting -- the assumption is that system users (which should not be logging in to an IMAP server) all have UIDs below a certain threshold, and regular users (who should be the ones logging in to an IMAP server) have UIDs above a certain threshold. So, first make... | 10 | 11 | 14,573 | 2011-07-19T01:36:47.173 | infrastructure | serverfault.com | |
564,874 | How to force powershell to refresh cached data? Get-ChildItem results for PSDrive not current | [CODE] So when I do a Get-ChildItem for the WorkerProcesses of a particular AppPool, then restart that AppPool, I should get a new PID, which I do. However, rerunning Get-ChildItem still shows the old PID. If I close Powershell and reopen, it will not show the correct new PID. How can I force Powershell to clear it's c... | I could reproduce this behavior on IIS 8.5, it looks like a bug to me. Using WMI worked for me in the same PowerShell session where Get-ChildItem returned the out-dated PID [CODE] This returned the correct pid for the first WorkerProcess | 5 | 3 | 15,552 | 2014-01-03T15:18:33.223 | pipeline_ops | serverfault.com | |
1,046,311 | DockerFile and docker-compose (Homeassistant and Node-red Nodes) | I hope this is an easy one. I'm using Docker to run Homeassistant and Node-Red containers on a Raspberry Pi 4. Based on this guide they recommend making a DockerFile to install Node-Red nodes to support Homeassistant. The install is handled via the [CODE] command within the Node-Red container. I created both [CODE] and... | I just did some quick testing and I believe you have two problems here, one is straightforward and the other is actually very subtle. The first problem is that Compose does not automatically rebuild a service's image if the image already exists. When you run the service for the first time Compose will build the image u... | 0 | 2 | 3,148 | 2020-12-15T18:35:30.727 | pipeline_ops | serverfault.com | |
119,141 | I am getting a failed login message in the SQL Server error logs however, nothing actually failed? | I have a server which runs third party software (called Visualcut) to email Crystal Reports to our users. When I log onto the Visualcut Server, I can open the software and then preview a report. This will ask me to enter a username and password (for an Microsoft SQL account) and then the report will display with no err... | From Aaron Bertrand's blog on Troubleshooting Error 18456 Error: 18456, Severity: 14, State: 58. Login failed for user ''. Reason: An attempt to login using SQL authentication failed. Server is configured for Windows authentication only. State 58 occurs when SQL Server is set to use Windows Authentication only, and a c... | 4 | 2 | 2,750 | 2015-10-25T22:28:21.577 | api_errors | dba.stackexchange.com | |
14,375 | pypa/gh-action-pypi-publish token value 'does not start with "pypi-"' | I am trying to use the [CODE] action in GitHub to push a Python package to PyPI. I'm in the team that owns microbiomedata/nmdc-schema and successfully uses a GitHub action to deploy the nmdc-schema . I have also read PyPA's advice and tried to follow it precisely. However, when it comes to authenticating against PyPI, ... | I was only wrapping my PyPI secret token in one pair of curly brackets! Two are required, like [CODE] | 3 | 1 | 551 | 2021-07-23T17:18:42.977 | pipeline_ops | devops.stackexchange.com | |
546,863 | EC2 instance passes health checks but no longer can SSH in | I've had my website (an EC2 instance) running for a year now and everything was fine until this morning when I lost access to it and its associated database (an AWS RDS database instance). I can't access my website via the browser or SSH into either instance (the EC2 or RDS). On the other hand, I can SSH into a differe... | I had the same situation before 6 months with one of my instances. But after a stop and start action I was able to SSH to that server. After log-in to the server I found a brute-force attack was there which made my instance unresponsive. So please Stop and Start your instance and then try to SSH it. | 0 | 1 | 648 | 2013-09-27T12:53:17.967 | bi_errors | serverfault.com | |
444,106 | How to update a child entity of an aggregate root when I modify a property in another aggregate root? | I have one bounded conext, offers, that has Offers as root aggregate and Items as child entity. I have another bounded context, products, which has Products as root aggregate, Providers as another root entity... but for the example Products is the entity that I need. Product has a price property, that is the reference ... | How could I ensure that all the data is coherent after changing the price i the product, because they are two different bounded context, and two different aggregate roots, so from products I can't update the items of an offer when I call the update method in the product entity. You can add a publish/subscribe mechanism... | 0 | 1 | 216 | 2023-02-23T08:53:08.357 | api_errors | softwareengineering.stackexchange.com | |
46,698 | How does Windows Server 2008 run on 1 GB Memory vs. 2003? | I lease a dedicated server (dual-core 2.1ghz, 1 GB Ram) for $120 per month. It's time to upgrade packages. I can either go up to a 2 GB memory package with an opteron processor, or I can stay with the same hardware (and pay half as much). I'd really like to use Windows Server 2008 if possible. How well does this run on... | My personal experience is that Server 2008 is slower then Server 2003, but not by huge amounts. I'm running a server 2008 VM with 1Gb RAM for development, with IIS installed and serving a few webpages and it runs fine, not had any problems with it. I think if you put SQL on there it would start to get a bit sluggish. S... | 0 | 2 | 3,193 | 2009-07-27T20:10:38.400 | infrastructure | serverfault.com | |
1,040,105 | DC Replication Broken - RC4 | We recently changed the Group Policy setting "Network security: Configure encryption types allowed for Kerberos" to only include AES-128, AES-256, and Future Encryption types, removing the old selection that had RC4 enabled. The domain is a 2008 R2 functional level with one 12R2 DC and one 16 DC. Now the DCs are failin... | EDIT : Try (explanation in comments) HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters\ Value Name: SupportedEncryptionTypes Type: REG_DWORD Value data : 2147483647 (Decimal) Explanation : -On my Test DC, i've configured the policy in question to allow all encryption types. Looking at m... | 6 | 6 | 1,495 | 2020-10-26T13:59:31.250 | database_errors | serverfault.com | |
882,268 | Django + NGINX https redirect (414 Request-URI Too Large) | I am trying to solve nginx redirect to https but when I use www.ozkandurakoglu.com I am getting 414 Request-URI Too Large error. Here is my settings for nginx: [CODE] | You have a [CODE] block twice for [CODE] . If you want [CODE] to redirect to [CODE] , you need to leave one block for [CODE] which hosts the actual site, and then have this block for redirect: [CODE] | 0 | 1 | 1,690 | 2017-11-07T13:54:46.303 | infrastructure | serverfault.com | |
276,570 | NHibernate won't connect to SQL Server | I have 3 SQL Server instances running on our server (dont ask why)! 2xSQL Server 2008 Workgroup (Default and MSSQLServer2) 1xSQL Server Express 2008 R2 (sqlexpress) Now I have a Windows Service/App that runs a process in the background. The databases are pretty much the same, however whenever I try and run the service ... | As you mentioned, the log event does not give much information. LazyInitialization exceptions are thrown if objects are not fully instantiated. Usually, I would expect an error message like cannot connect to the database . Hence, I expect some flaws in the code. At least, I assume that it is not properly checked whethe... | 1 | 0 | 754 | 2011-06-03T06:29:10.497 | database_errors | serverfault.com | |
122,250 | Is DETERMINISTIC NO SQL function which returns the same value always a good alternative for using as a constant in MySQL? | MySQL does not support declaring constants which can be used between many stored procedures. For me, it seems that a deterministic no sql function can be used as an alternative for a constant. Example: I want to use a constant named "OPERATION_TYPE_ABORT" with the value "ABORT". So what I think I can use as an alternat... | I'd say yes, it is a good technique. When there are no input arguments to a stored function declared as [CODE] and [CODE] , the optimizer does the right thing -- it executes the function once, and resolves the result from the function into an internal constant when the query is planned, so applicable indexes on the col... | 2 | 3 | 495 | 2015-11-27T06:54:57.007 | database_errors | dba.stackexchange.com | |
129,570 | How to react to wrong/not answered questions during interview? | Today I have held my first interview with potential interns. While this has been mostly open questions, I have had some trivial programming tasks for them: Write a function that returns true if triangle sides (all integers) a, b and c can represent a right triangle . FizzBuzz. Calculate the Nth element of Fibonacci usi... | You said that you are interviewing for intern positions in the question so this is from that standpoint, for full time developers the bar is going to be a bit higher. When you are interviewing interns you have to remember that they may not have completed their studies and that they may have also entered into college wi... | 31 | 36 | 5,791 | 2012-01-11T15:29:31.987 | api_errors | softwareengineering.stackexchange.com | |
234,370 | Good pattern(s) for pointing to mutable state | I asked this question once here , but believe the question was unclear. However I'm having a hard time extracting the general problem from my specific case. UPDATE: I've answered my own question below. Read on if you like reading stuff. Maybe is educational, maybe not :) I'm writing a music sequencer. Some existing com... | If anyone else finds this question relevant, I'm following-up with my chosen solution. Bottom line: when you can't find a simple solution to a seemingly simple problem, it may be a sign that analysis and refactoring of the existing design is needed. Analyzing my code, I realized that the Sequence class had fairly overl... | 2 | 3 | 239 | 2014-04-01T03:12:06.920 | data_quality | softwareengineering.stackexchange.com | |
866,680 | The drive where Windows is installed is locked on Windows Server 2012 | Long story short I'm fairly certain our Windows 2012 server lost power while installing updates, and I've now spent the last 30 hours or so trying to get it fixed. I'm pretty sure I've narrowed the issue down to the fact that the setting of the partitions and/or a corrupted BCD are to blame but so far, nothing I have f... | In the end I had to completely rebuild the BCD. However, this alone didn't work, as noted earlier. I used the nuclear holocaust option described here . However, I ran this multiple times and the machine still wouldn't boot. It was probably the fourth time I ran it, with minor variations, before I gave up. In this case,... | 2 | 0 | 11,245 | 2017-08-03T11:58:29.720 | data_quality | serverfault.com | |
267,499 | Designing an (almost) Read only database | I want to create a database with 3 main entities each of which will be subtyped further(by subtype I mean generalization-specialization). This database will support a website where the users can ONLY Read the database. I don't know how many users will hit the website daily. As I see vision it, the database will have a ... | InnoDB. Period. Full stop. Even 10 records per second, all day, is not a problem. Just do the [CODE] or [CODE] when you need to. If, on the other hand, you are rebuilding the entire table, then say so; there are other techniques. You mentioned subtyping, but want is the relevance? Please provide [CODE] , even if still ... | 0 | 1 | 300 | 2020-05-20T04:04:15.757 | database_errors | dba.stackexchange.com | |
1,012,820 | How can I configure two Postfixes so one forwards emails to another for routing | I can easily configure Postfix host A to forward all emails to other Postfix host B like that: [CODE] But how can I tell host B to accept ALL traffic from A for full email processing/routing. There are no mailboxes on B. It's just a smarthost for routing. | The Postfix documentation states: By default, the Postfix SMTP server accepts: Mail from clients whose IP address matches [CODE] , or: Mail to remote destinations that match [CODE] , except for addresses that contain sender-specified routing (user@elsewhere@domain), or: Mail to local destinations that match [CODE] or [... | 1 | 2 | 137 | 2020-04-17T18:00:21.730 | infrastructure | serverfault.com | |
47,110 | What is an extreme term for Feature creep, Software bloat and Code bloat? | I am looking for a term or principle that describes software or a website that has many: "Features" that are not really features that no end users want or will ever use. "Features" that are so poorly implemented that no end users are able to use. "Features" that have never been successfully implemented before elsewhere... | "Quality is value to someone (who matters)", Jerry Weinberg. The three points talk about not delivering value to some of the people who matter. Thus you can say the application is of low quality to those people. | 1 | 1 | 64 | 2021-03-18T15:25:07.497 | data_quality | sqa.stackexchange.com | |
139,714 | Converting a composite primary key to composite unique, and adding an auto-incremented PK column | Background I have taken over responsibility for a table that, in the long run, will grow monolithic. The table is a very simple link table with 2 columns, call them [CODE] and [CODE] , both being foreign keys to their respective tables, and also composite primary keys. Before this table grows any further, I want to add... | That smells a lot like a "many-to-many" relationship table. Is it? As for linking from a [CODE] -- space is not the issue; correctness is. A change log should have exactly what existed at the time the log was taken. What if the original table is updated? If the table in question is changed for any reason, I think you d... | 1 | 2 | 978 | 2016-05-27T11:36:23.520 | data_quality | dba.stackexchange.com | |
588,562 | mdadm RAID-1 extremly slow on Debian Squeeze | Today I has started experiencing troubles with my php/web server. I've a lot of segfaults messages in php-fpm logs. At first I thought it was problems with versions incompatibility of may be some php modules, but [CODE] , [CODE] also randomly reported about [CODE] etc. At the moment I discovered extremely low speed of ... | I had a similar problem. I discovered the hard way (and by speaking to the manufacturer) that the problem is the drives you are using - Barracuda (consumer grade) drives - don't play well with RAID in some motherboards (in my case an HP 1u system). Although highly skeptical I replaced my Barracuda drives with server cl... | 0 | 0 | 825 | 2014-04-12T08:17:20.300 | infrastructure | serverfault.com | |
51,437 | Harmful temptations in programming | Just curious, what kinds of temptations in programming turned out to be really harmful in your projects? Like when you really feel the urge to do something and you believe it's going to benefit the project or else you just trick yourself into believing it is, and after a week you realize you haven't solved any real pro... | Premature generalization is my big bugaboo; instead of solving the problem at hand first and waiting until there's an actual need to solve for the general case, I always go after the general case up front and wind up writing a ton of code that's more complex than it needs to be. Update: See " Sin #1 - Premature General... | 97 | 67 | 9,554 | 2011-02-24T15:17:39.020 | api_errors | softwareengineering.stackexchange.com | |
274,156 | How can I force Squid Proxy to use a specific gateway for internet access? | I've been finally able to set my ubuntu 10.04 server as transparent proxy using squid. It works exactly like I wanted but I have a serious problem... On both ethernet cards I have the chance to get on the internet (two different isps) but I'd like this server to use only eth1 to serve all internet requests. So the fina... | Original From a command prompt: [CODE] Then, in [CODE] , add this line: [CODE] Of course, replacing [CODE] with the gateway's IP in both lines. Edit for new question If you need to delete a route, just change "add" to "del". Example: [CODE] You can set a static route for the branch office through the route command as w... | 3 | 2 | 28,288 | 2011-05-26T17:49:14.043 | infrastructure | serverfault.com | |
131,912 | Software licensing for reusable chunks of code | On a fairly regular basis, I run into problems that have already been solved by open source projects. Let’s say, purely for the sake of example, that I’m adding functionality to a piece of open source software which lets it line wrap some information in your terminal . It needs to know the width of the user’s terminal ... | Looking at source code and writing something similar to do the same thing in much the same way is not a breach of copyright. The copyright applies strictly to the text of the source code. So I am not allowed to cut and paste Agatha Christie's text and publish it as my own, but, I am quite free to write a murder mystery... | 5 | 5 | 790 | 2012-01-26T03:19:14.153 | api_errors | softwareengineering.stackexchange.com | |
170,856 | When setting up an AlwaysOn Availability Group, should the master database be one of the "Availability Databases"? | I just got a Sql Server 2016 Availability Group setup (A Primary, a Syncronous Secondary and a Async Secondary). I have five databases on the servers. I setup an application to run queries against the server (using Entity Framework with a "failover partner" connection string.) When I tried to test the failover by reboo... | It is not possible to include master as an Availability Database within an Availability Group (AG). System databases (master, model, msdb, tempdb) cannot be part of the Availability Group. System databases are instance-level objects. They are needed in order for the instance to be online & available. Availability Group... | 4 | 9 | 2,306 | 2017-04-12T17:44:19.327 | database_errors | dba.stackexchange.com | |
439,819 | How does a server deal with missing TCP segments? | I'm interested specifically in implementations of the FIX protocol over TCP, but I'm happy to discuss the problem in more generality. Suppose that a client sends TCP segments to a server, and some of the IP packets involved get lost. Then for the TCP segments that did not arrive fully, the client will not receive an AC... | TCP Keep-alive is discussed in section 4.2.3.6 of RFC-1122 ( http://www.rfc-editor.org/std/std3.txt ). Without keepalive retransmissions, TCP connections can stay open indefinitely without exchanging any segments. If the connection is in fact dead, this isn't usually discovered until one side tries to send new data and... | 1 | 5 | 1,432 | 2012-10-18T14:26:43.170 | infrastructure | serverfault.com | |
463,030 | Copying Virtual Machine While Running | Should I shutdown a virtual machine before copying it to an external drive. We are looking to copy all the contents of our storage device to an external drive since we are going to be adding more drives to it. Many of the files are the virtual machine and VHD files for our Hyper-V server. Would there be any issue in co... | No. SImple like that. You can not do that while the virtual servers are running. That is a Server 2012 / Hyper-V v3 feature. So, it is not a question of "should you shut down", but "how do you want to do that without"? Only chance now is stuff like "replication on the partition level" that can be done transparently, th... | 2 | 1 | 6,530 | 2013-01-04T15:59:27.600 | infrastructure | serverfault.com | |
675,218 | Monitoring maximum number of locks in PostgreSQL with Nagios | I'm wondering if the limit for the number of locks in PostgreSQL is fixed, or if it depends on the number of open connections. The docs say the limit is [CODE] , while this article claims the limit is [CODE] . I'm mainly trying to figure out if it makes any sense to monitor the total number of locks in PostgreSQL and t... | The first formula gives you the upper limit, the second formula give whats currently being used. Normally two different things, unless current usage is at the upper limit. Because DB's very often grow in usage, it doesn't hurt to monitor this. Just be sure to use sensible thresholds. | 2 | 1 | 656 | 2015-03-13T10:41:16.587 | database_errors | serverfault.com | |
173,396 | Deprecated vs. Denigrated in JavaDoc? | In the JavaDoc for [CODE] [CODE] it states: Denigrated , replaced by getSubjectX500Principal(). I am used to seeing Deprecated in the for methods that should not be used any longer, but not Denigrated. I found a bug report about this particular case where it was closed with comment: This isn't a bug. "Deprecated" is me... | Merriam-Webster definition of denigrate suggests: 1: to attack the reputation of : defame 2: to deny the importance or validity of: belittle Based on what is written in another related bug, defame / belittle appears to match the intent of wording used in javadocs - Bug ID: 4959744 Denigrate X509Certificate.getSubjectDN... | 11 | 9 | 2,207 | 2012-11-02T18:07:36.397 | api_errors | softwareengineering.stackexchange.com | |
77,512 | Oracle account locked | I had a user in my oracle DB with some 'x' password for sometime. Without notifying my team I changed the password to 'y'. But my team members tried to connect to the machine with the old passowrd 'x' and as the limit was set, the user account got locked. I know how to set the resource limit for the login. It would be ... | google for : oracle auditing login failed login | 1 | 1 | 1,473 | 2009-10-23T05:01:12.533 | database_errors | serverfault.com | |
372,975 | Ping: sendmsg: operation not permitted error after installing iptables on Arch GNU/Linux | Yesterday I got a new computer as my homeserver, a HP Proliant Microserver. Installed Arch Linux on it, with kernel version 3.2.12. After installing iptables (1.4.12.2 - the current version AFAIK) and changing the [CODE] key to 1, and enabling forwarding in the iptables configuration file (and rebooting), the system ca... | The error message: [CODE] means that your server is not allowed to send ICMP packets. You need to allow your server to send traffic via one or more of the configured interfaces. You can do this by: Set [CODE] chain policy to [CODE] to allow all outgoing traffic from your box: [CODE] Set [CODE] chain policy to [CODE] an... | 22 | 35 | 124,469 | 2012-03-24T11:26:45.640 | infrastructure | serverfault.com | |
150,968 | Why would I need to update stats manually? | I have often found that when I am having performance problems on my MSSQL database, I can resolve them by running [CODE] . I learned this because that's always the first line of defense from tech support, right after, "Is your computer turned on?" My understanding is that SQL Server is supposed to keep stats automatica... | As the data in a table changes the statistics objects that represent the distribution of data become outdated. This is a problem because it's the statistics objects that the optimiser uses to make it's estimates when building execution plans. If these estimates are inaccurate your performance will suffer. SQL Server do... | 3 | 3 | 2,107 | 2016-09-29T07:25:26.907 | database_errors | dba.stackexchange.com | |
403,910 | REST api - search url | I'm building a REST api and want to make sure to follow the best practices. I need to expose a method which will return a 'Document' entity by its 'Lot' number. It is possible that for a specific 'Lot', there's no 'Document' entity found. Also, property 'LotId' is not the key for 'Document' entity, it has his own key c... | I need to expose a method which will return a 'Document' entity by its 'Lot' number. The methods are GET, POST, PUT, DELETE etc. The HTTP verbs. Stick to them and think of what you are doing as state transfer, rather than issuing a command to the server. When you GET a resource you transfer the servers current state of... | 0 | 1 | 87 | 2020-01-16T19:19:49.653 | api_errors | softwareengineering.stackexchange.com | |
130,948 | Stack-instructions machines | When I look up "stack machine" I often get stuff like the JVM that uses a stack for data, but it still uses an array to store its instructions. I would like to find out more about machines whose programs are stacks. For example, executing the command at the top of the stack by default removes the element at the top of ... | Well, I suppose you could make the program a stack. Calling a function would push the code for that function onto the stack. Conditionals could be implemented by selecting from two different lists to push onto the stack. With conditions + recursion you've got everything you need in terms of logic flow. I don't know any... | 4 | 2 | 1,827 | 2012-01-20T00:42:45.190 | api_errors | softwareengineering.stackexchange.com | |
450,116 | postgreSQL replication and failover with repmgr on Ubuntu | I'm new to Linux and have been tasked with setting up a redundant Linux DB server with PostgreSQL. preferably the fail-over needs to be automatic, but a manual process will be fine for now. What I have done thus far is setup two identical DB servers on Ubuntu 11.10 with PostgreSQL 9.1 and repmgr1.1.0 by following the s... | It's a bit late to answer this question now. Nevertheless, I came across this issue past week and couldn't find the answer in the context of " repmgr ". pg_ctl resides in the bin directory of your Postgres installation. The bin directory is not in the PATH environment variable. You can not set the environment variable ... | 1 | 1 | 2,065 | 2012-11-19T14:07:25.897 | database_errors | serverfault.com | |
62,284 | USB drivers broken, and no PS/2 ports | Installing windows 2003 64bit on an Intel DQ35JO motherboard, after starting the automatic driver installation from the Intel Driver CD the USB is not functioning after the automatic reboot. This would not be a problem if the motherboard had PS/2 ports, but it is USB only... meaning there is no way to fix up the driver... | Assuming you've got NIC drivers loaded, and you've got the ability to access the machine via RDP, you should be able to do what you need that way. Hopefully you're already joined-up to a domain that has a GPO that forces RDP on, or you already did it in your installation script, etc. If RDP isn't turned on but you'd li... | 1 | 3 | 423 | 2009-09-04T03:38:47.760 | infrastructure | serverfault.com | |
317,362 | Windows Server 2008 Will Not Recognize External Modem | I have a Dell PowerEdge T310 server with a single serial port running Windows Server 2008 R2 Enterprise. I have a USRobotics 56k external modem connected to the serial port. The modem talks to a gate access control system. The gate access database is on the server. I first verified in the Server's BIOS that the serial ... | A modem connected to a serial port should be detected by PnP. My advice would be to uninstall the modem you "installed" and invoke Windows to search for new hardware in Device Manager. If Windows is able to find the modem it will install the appropriate driver, if it has one for that modem. If this doesn't work then my... | 4 | 4 | 3,989 | 2011-09-30T19:42:19.747 | infrastructure | serverfault.com | |
852,574 | What is the correct way of running Tomcat under a different user (Centos 7)? | I run Tomcat 7 in my Centos 7 machine, with [CODE] , under a user [CODE] different from the default [CODE] . I guess it should be easy to accomplish this but I'm having problems. From what I see there are three places where the user and group can be specified: [CODE] [CODE] [CODE] The latest one, [CODE] , has indeed th... | According systemd documentation you should create directory [CODE] and put there file with [CODE] extension, then add to that file required changes for User and Group: [CODE] After this your changes to service would be permanent, because they stored in separate location, which not change after update. That solution was... | 2 | 3 | 10,315 | 2017-05-27T13:26:46.650 | infrastructure | serverfault.com | |
124,936 | What's the best way to diagram this "relation" looking for performance and|or disk space savings | I am working in a DB diagram and I have a table called [CODE] . Each record of this table can have or not a downloadable file (saved a file path). I have identified two possibles ways to achieve this. Place a column [CODE] as [CODE] and set to [CODE] by default (this because not all of the record will have a download r... | If you have a lot of specific statistics about how often your optional columns will be null and how often the non-null columns need to be read (as opposed to your core, mandatory columns) then you could calculate space savings (or not) and at the very least you could derive some performance experiments to test each app... | 3 | 5 | 73 | 2015-12-31T15:27:20.587 | database_errors | dba.stackexchange.com | |
6,388 | Best practice for installing new jenkins server | When creating a fresh new Jenkins server is it better to install it on a VM or Docker? I know that for most situations when you want just one bit of software on a server the answer would be Docker. Because of all it's plugins and their updates it is a rapidly changing piece of software so it feels like this is the exce... | There is no single "best" practice. Use whatever approach you and your team feel comfortable with and fits well with the rest of your infrastructure. If you want to do the Docker approach, you might find this person's writeup worthwhile. To answer your questions: If you were to use a Docker container, I know you can sa... | 4 | 3 | 124 | 2019-02-16T10:57:51.523 | pipeline_ops | devops.stackexchange.com | |
236,667 | Database size twice as large after mysql dump and re-import | After exporting and re-importing a mysql database, the size of the database on disk appears to be quadrupling in size. Any ideas why this my be? This is occurring when importing the sql dump right back into exactly the same mysql database. To show what I mean: Export mysql database: [CODE] Import mysql database (into s... | Run the following command so that free space is compressed, and indexes checked and optimized: [CODE] After that, try to execute the following query: [CODE] Especially check if the index size in MB column is different between the 2 databases, and show us the results. | 4 | 1 | 5,099 | 2019-04-25T12:27:19.980 | database_errors | dba.stackexchange.com | |
757,784 | Cannot run SAMBA (DC) and OpenLDAP, (The port is being used) | I installed samba and made it a simple domain controller , and I intend to set it to make the authentication over OpenLDAP . The problem is I can NOT run both slapd and samba processes at the same time . If I ran Samba at first (samba will run and work normally), and then next the slapd, the slapd will not run, it tell... | You've got the answer right in your question (it's even in bold) can NOT run both slapd and samba processes at the same time. Samba4 is an LDAP server, so of course it and OpenLDAP want to use the same port. If you intended to have Samba authenticate against OpenLDAP, you can't configure it as a Domain Controller. Alth... | 0 | 1 | 3,564 | 2016-02-17T10:48:59.390 | api_errors | serverfault.com | |
642,949 | MySQL and SSL with -sha256 | I'm trying to create some certificate to use with MySQL and everything works fine if I use the sha1 algorithm. If I add the -sha256 switch or -sha384 I can NOT connect to MySQL!. I get this error: ERROR 2026 (HY000): SSL connection error: ASN: bad other signature confirmation I found a similar question here , but the a... | I have resolved this issue. I was getting the error: ERROR 2026 (HY000): SSL connection error: ASN: bad other signature confirmation when I was connecting with HeidiSQL version 8.3.0.4694. I failed to mention that as I thought it was not relevant. I tried connecting using the mysqli and ssl_set function in PHP 5.6.2, a... | 2 | 2 | 1,476 | 2014-11-08T13:38:41.117 | database_errors | serverfault.com | |
1,012,436 | How to untaint a terraform resource after network issue during application of a terraform plan? | I had applied a terraform to create a redis cluster. Half way through, the application process failed with this error message: [CODE] I know that I have successfully created the cluster because I can connect to the redis cluster with [CODE] . However if I do a [CODE] again, terraform will say [CODE] It is trying to des... | Terraform marks the object as tainted because, due to the error, it cannot be sure that the object was left in a fully-functional state. However, if you know (via out-of-band inspection) that the object was left in a suitable state, you can override Terraform's determination by using the [CODE] command: [CODE] After th... | 3 | 8 | 6,232 | 2020-04-15T14:05:50.517 | database_errors | serverfault.com | |
508,039 | Is it possible to log the IP address for SNI in apache logs on errors? | Is it possible to log the IP address associated with SNI in the apache logs? I realize that this is SSL when it connects, so if its not now, Im wondering if apache would add it so at least we could get the IP address when I see the following in my logs: [Wed May 15 04:12:58 2013] [error] No hostname was provided via SN... | Have you reviewed the Apache documentation, specifically the section on custom log formats ? The answer you seek is almost certainly in the manual - you can log nearly anything you can think of. In this particular case you want to add the remote IP address ( [CODE] ), and possibly the local IP address ( [CODE] - though... | -1 | 2 | 430 | 2013-05-15T15:59:32.397 | infrastructure | serverfault.com | |
294,352 | DRY principle in good practices? | I am trying to follow the DRY principle in my programming as hard as I can. Recently I have been learning design patterns in OOP and I have ended up repeating myself quite a bunch. I have created a Repository pattern along with a Factory and Gateway patterns to handle my persistence. I'm using a database in my applicat... | The problem you are addressing is quite fundamental. I have experienced the same problem when I worked for a company that made a large J2EE application that consisted of several hundred web pages and over a million and a half lines of Java code. This code used ORM (JPA) for persistence. This problem get worse when you ... | 11 | 12 | 1,705 | 2015-08-22T18:41:05.783 | api_errors | softwareengineering.stackexchange.com | |
903,594 | Open folder in another IP Windows Server 2012 | My scenario is the following, I have an application, FreeFileSync, which is able to move all the data from a directory and subdirectories to another location. I have created a Windows Server 2012 Virtual Machine, in this VM i have created two users, Usuario1/us1 and Usuario2/us2. The VMWAre is in the IP 192.168.0.137 a... | This scenario means that you are using a wrong credentials. Try to add the computer/domain name before the user name, for example: user : [CODE] password: [CODE] When you are using the way you sent the credentials , what the Microsoft SMB client does is add your [CODE] to the [CODE] in the [CODE] . | 1 | 0 | 1,228 | 2018-03-20T14:21:21.923 | infrastructure | serverfault.com | |
889,674 | What does "grabbed scoreboard slot" mean when running Apache in debug mode? | I am running Apache 2.2 in debug mode, and I see that the error_log constantly shows the following: [CODE] What does grabbed scoreboard slot N mean? What does all this mean in general? | I was not sure if I was the right person to answer this here, since I am sure there are dozens if not hundreds of devs who can explain this much better than I, but let me try to do this... Briefly, the scoreboard is a mechanism that httpd uses so parent process can "talk" to child processes and assign load . It is, bri... | 0 | 1 | 760 | 2017-12-26T16:40:37.440 | infrastructure | serverfault.com | |
830,781 | Too many redirects for subdirectory excluded from SSL | I have a subdirectory /blog/ served from reverse proxy. The rest of the site is served over https. I'm trying to get the /blog/ served over http without ssl but I keep getting too_many_redirects errors. Here is the config (edit, it worked in the past but since I did a SSL update something change somewhere - maybe with ... | You seem to have the blog being served from http, and a forwarder from https. Why is it like that? First, move your blog location from the http to the https server, removing the existing blog location that does a forward. Next, change your http server to forward everything, as below [CODE] I suspect there's a reason yo... | -1 | 0 | 285 | 2017-02-06T02:56:38.663 | api_errors | serverfault.com | |
10,633 | What algorithm to use for a specific 'Named Entity Recognition'/'Information extraction' problem | I am trying to write a model that will extract certain details from financial documents. It must be able to extract the; contract start date, contract duration, contract value and all named entities. Preferably it would also be able to categorise the named entities. I have roughly 600 tagged documents that I can use fo... | Assuming your financial documents have a consistent structure and format and despite the algorithm kind of becoming "unfashionable" as of late due to the prevalence of deep learning, I would suggest that you try using Conditional Random Fields (CRF) . CRFs offer very competative performance in this space and are often ... | 1 | 4 | 2,422 | 2016-03-10T15:52:55.427 | data_quality | datascience.stackexchange.com | |
1,084,285 | weird behaviour in a Windows 2019 .BAT script | I have to restore a backup from a Linux MariaDB to a Windows MariaDB, where the PowerBI gateway will import its data. "mariabackup" is MariaDB's physical backup tool. But to restore it, the destination folder ( [CODE] ) must be empty. Since [CODE] will remove the "data" directory (what I don't want!!!), I have been wor... | The output is confusing, indeed, because it's showing the output of FOR before the echo of FOR, so it looks like the line above it is failing, but it's not. The fix is easy, just double-% your variable, like so... [CODE] I can tell you even seasoned batch-file scripters from back in the day would pull their hair out ov... | 1 | 1 | 117 | 2021-11-22T19:52:28.087 | database_errors | serverfault.com | |
260,190 | SQL Server Agent fails after installing SQL Server 2019 CU2 | After installing CU2 our SQL server agent randomly stops working. If you go to check on the status of the agent by opening Job Activity Monitor, it comes up blank for a while then throws an error: Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc) For help, click: https://go.microsoft.co... | Thank you for reporting this. There is a feedback item in https://feedback.azure.com/forums/908035-sql-server/suggestions/39754837-ssms-18-4-sqlserver-2019-cu2-object-explorer-fails . All updates will be provided there as we investigate. FYI, the bug introduced in CU2 with [CODE] is now understood and a fix will ship i... | 11 | 10 | 3,444 | 2020-02-20T20:58:43.490 | api_errors | dba.stackexchange.com | |
707,335 | App-pools (w3p.exe's) seem to hang after file update or configuration change | I have the following problem: After an file update or a configuration change to one of the sites running on the iis server i need to kill all w3p.exe's running on that server in order to let the website/app-pool start again. I have 2 servers and both servers have the same behavior, also the normal recycles don't work u... | if a plain html site won't recycle then there are serious configuration issues with IIS. Try building a new server and start adding your apps/changes 1 by 1 until it breaks again to isolate the configuration issue. The fact that you've had this issue for a while means we have to start from scratch to isolate the proble... | 0 | 0 | 189 | 2015-07-21T11:46:56.510 | infrastructure | serverfault.com | |
210,050 | Can hard drive partitions be corrupted? | Our previous sysadmin created several partitions inside one hard drive in the fileserver, saying that it minimizes corruption: In case one partition goes bad, it doesn't affect others. Question : I've never seen a partition goes corrupted, so is it true? Machine: Dell R200, 1TB hard drive with 6 partitions (that he cre... | For the most part a 'corrupt partition' is actually referring to a corrupted filesystem . Filesystems are contained within partitions(1). So if the filesystem in one partition gets corrupted, the filesystems in different partitions on the same disk will not be. That said, the same event (abrupt power-down, others) that... | 3 | 5 | 1,666 | 2010-12-07T17:00:06.870 | data_quality | serverfault.com | |
300,314 | Log - Server kernel: INFO: task httpd:000000 blocked for more than 120 seconds | Almost everyday my server is crashing due to hight server load, and even restarting apache or mysql can't solve the problem. I need to reboot the server to solve, or it crash again due to the high load. The log system records something like this when it crashes: [CODE] I googled a lot trying to find a solution. But it ... | This is because of a mutex lock. Check the stack trace printed carefully.It goes upside down. You will find this line [CODE] Seems there is a resource crunch. Sysstat as suggested is a good profiling tool in most cases. If you need to go to the root of the issue, then you will require a vmcore or kernel memory dump. Th... | 1 | 1 | 4,998 | 2011-08-11T22:41:27.413 | database_errors | serverfault.com | |
220,274 | MySQL replication much slower on MySQL 5.7 compared to MySQL 5.5 | I have two databases setup for testing (so no live data or connections). The first is a MySQL [CODE] Database acting as the master. The second is a MySQL [CODE] Database acting as a slave. It is running [CODE] on MySQL 5.5 and [CODE] on MySQL 5.7. For some reason larger queries seem to take significantly longer on MySQ... | I appear to have found the solution. Simply put I set MySQL 5.5 to also use ROW based Replication, using the following process: [CODE] After this, I ran the large query on MySQL 5.5 (ran instantly), and when it replicated to MySQL 5.7, it also ran instantly. So there appears to be some problem with MySQL 5.7 processing... | 0 | 0 | 352 | 2018-10-16T16:07:19.513 | database_errors | dba.stackexchange.com | |
73,074 | Average Clients Simultaneously Accessing a WAP? | We have two (sometimes three in that area) mobile carts of ~20 MacBooks accessing the network using Cisco Access Points, the model numbers of which I don't have handy at the moment. But we're trying to track down issues with timeouts and access issues to the local network servers as well as web access. It seems right n... | I have some Cisco Aironet 1131G access points bolted to a cart in a K12 school w/ 35 Windows XP-based laptop computers with 802.11g radios. They APs are configured for non-overlapping channels. I see the laptops distribute themselves roughly evenly between the APs when they're all running. Trying to support all of the ... | 1 | 2 | 353 | 2009-10-09T19:41:11.983 | infrastructure | serverfault.com | |
33,398 | C# webdriver: Issue with wait.Until(ExpectedConditions.VisibilityOfAllElementsLocatedBy(By.TagName("tr"))); returning WebDriverTimeoutException | I am working with the following html table, [CODE] There is only one row however this will not always be the case so i have wrote a method which identifies a rows data-uid based on a cell value which is, [CODE] However when i run a test containing this method i get exception, WebDriverTimeoutException against [CODE] I ... | Got it working by waiting for all cells to be visible using the below, [CODE] | 0 | 1 | 2,486 | 2018-04-28T13:28:24.170 | data_quality | sqa.stackexchange.com | |
48,506 | Optimizing complex join predicates | Table Definitions [CODE] Query [CODE] Execution Plan I have been thinking on how to efficiently perform this join. Should I add many filtered indexes for every predicate and split the query into many pieces or...? The data in production will have over 600 million records. We can change the whole table design (still wor... | Some of the statistics statements in the setup script fail with an error. Some people will give up providing an answer if the setup script errors out. Perhaps it would be better to script statistics using the built-in features of SSMS rather than writing your own script? The join confuses me because it makes the update... | 3 | 2 | 287 | 2013-08-22T01:39:50.540 | database_errors | dba.stackexchange.com | |
485,155 | PowerShell: replacing AD DS ACLs | I am looking for a code sample showing how a permission set on a given Active Directory object (in my case an Organizational Unit) could be modified in a way where permissions for a given security principal would be replaced by another security principal, similar to what the resource kit utility [CODE] is doing for fil... | I've created a generic [CODE] function, hosted on my bitbucket , to perform such Directory Services ACL copies. You are welcome to use it as a reference or tool. Feedback is most welcome. To replace the ACEs for "olduser" on OU "someOU" with ACEs for "newuser", you could do the following: [CODE] These articles were mos... | 1 | 1 | 534 | 2013-03-06T09:08:32.653 | infrastructure | serverfault.com | |
270,657 | Java subprocess running from IIS6 returns exit value 128 and no stdout/stderr | I'm working on setting up a new server in a testing environment and almost everything works, but Java can't seem to create a new process. Short version of the architecture: Windows 2003, IIS6, ColdFusion 8.0.1 MultiServer with JRun, everything is 64-bit*. A ColdFusion request calls some Java code that runs R (the stati... | So we "solved" this by killing a large number of JRun processes. We think the problem is closely related to the issues described here: http://www.arcanadev.com/support/kb/K00000329.aspx , with the process trying to call java's exec being out of available desktop heap space or memory. Very strange. The other servers whe... | 1 | 0 | 444 | 2011-05-17T18:46:58.037 | infrastructure | serverfault.com | |
795,225 | Nginx 98: Address already in use - Failed to start A high performance web server issue | My Server Working Good... Until Reboot, After Reboot Nginx not Running Good! OS: Ubuntu server nginx version: nginx/1.10.0 (Ubuntu) HHVM Script Server I Try many Methods But I can't Fix This: Configuration Has been Ok. [CODE] [CODE] NginX runnig and I see "404 File Not Found" on Web browser,that meaning hhvm not runnin... | First of all you need to find [CODE] of [CODE] so that you can kill it. To find [CODE] just type [CODE] Once you find the [CODE] , you can kill that process like this. [CODE] But the easiest way is to just restart it by using following command: [CODE] or [CODE] Let me know if you need more help. | -2 | 2 | 4,093 | 2016-08-06T11:48:01.573 | infrastructure | serverfault.com | |
1,154 | Trouble representing a problem | I have a problem and I'm having trouble representing it - first I thought I should use graph theory (nodes and edges) and now I'm not sure. My data is some tanks names and it's volumes, those tanks are connected by pipelines which I have the names and length. [CODE] Problem is the pipe names change doesn't occur where ... | I would definitely use a graph (Though, this clearly depends on the final application, maybe you could add more information) For the nodes, you should consider as nodes not only tanks but also points were pipelines change name or bifurcate. For instance, following your example: [CODE] Now adding the nodes: [CODE] Lastl... | 3 | 2 | 108 | 2014-09-23T20:58:01.027 | pipeline_ops | datascience.stackexchange.com | |
1,049,365 | Odd user display discrepancy in standalone Samba server ("Account Unknown" vs "Unix User") | I am using a standalone Samba server on Ubuntu 18.04 (Samba 4.7.6). When an employee leaves the company, their Unix account ist locked (but not deleted). Their Samba account, however, is deleted via [CODE] . When viewing the properties of a shared file owned by a deleted user from Windows, the owner is displayed as [CO... | Seems to have been a caching issue. After a couple of days, the problem resolved itself. | 0 | 0 | 60 | 2021-01-11T10:57:56.177 | infrastructure | serverfault.com | |
1,147,710 | Enabling Level 2 WebDAV on nginx | When I mount my nginx WebDAV server as a macOS volume, it is mounted as read-only. I've read the suggestions on this page but they use the [CODE] which is not available on my [CODE] Debian package. I've tried adding the nginx repository and adding the module manually with: [CODE] Apparently this module is only availabl... | There is a module that seems to be what you are looking for from Homepage: https://github.com/openresty/headers-more-nginx-module Try: sudo apt install libnginx-mod-http-headers-more-filter | 0 | 1 | 250 | 2023-11-12T12:04:32.677 | infrastructure | serverfault.com | |
1,017,784 | SSO as a web frontend rather than as an external linked service | On one of our teams, we've been rapidly and individually developing or deploying a large number of dedicated web services. Some we build (using Django, Flask, Node, etc.), others are open source projects we just run (e.g. Wekan, Nifi, etc.). We maintain SSO for centralizing credentials and permissions for users, develo... | You could use e.g a reverse proxy as entry point with centralized authentication/authorization. But, that does only provide a way to regulate/control access and would not provide user/group/permission information within the accessed service. Many services also provide LDAP integration, which is one of the most supporte... | 1 | 0 | 97 | 2020-05-19T14:53:13.843 | api_errors | serverfault.com | |
395,365 | Creating subdomain results in DNS error | I currently have a site: 'www.mydomain.com' and want to create a subdomain called 'test.mydomain.com'. I did the following steps below, but am encountering 2 errors: 1) When I go to 'test.mydomain.com', I get a DNS error. 2) When I ran 'sudo /etc/init.d/apache2 reload', I get the following error msg: [CODE] Here are th... | DNS error is on the client side. Where did you edit the "/etc/hosts"? You should edit it on the client (the pc where the browser is). If the problem was with apache, you'd probably get a 404 error or something simmilar, and not a DNS serror. | 0 | 0 | 217 | 2012-06-04T14:06:53.123 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.