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 |
|---|---|---|---|---|---|---|---|---|---|---|
53,798 | Is it realistic to remotely troubleshoot network issues? | I have a small non-profit that I help that has a hub and spoke fiber network on managed Netgear switches. They have both T1 & DSL connectivity, separated by VLAN's with a simple VoIP system running. There are weird things happening and periodically the network slows down then jams up. Cycling the power on the main equi... | Is it realistic to think that a network guru, logging in remotely would likely be able to do the detective work to locate the source of the issue? Most have to do this as a matter of course. Few organsations have this expertise at every site and even visiting does not easily address the issues as problems are often int... | 1 | 0 | 661 | 2009-08-13T15:23:52.610 | database_errors | serverfault.com | |
435,164 | GeoIP and Nginx | I have a nginx with geoip, but it is not working rightly. The issue is the next: Nginx are getting geodata from [CODE] instead of [CODE] , which have the real client ip. So, the reported geodata belongs to my server ip instead of client ip. Does anybody where could be the error to fix it? Nginx version and compiled mod... | You need to configure the realip module in nginx to set $remote_addr for the geoip module to use: [CODE] | 1 | 1 | 3,878 | 2012-10-05T10:59:27.407 | infrastructure | serverfault.com | |
152,312 | Copying files locally on a network folder | I noticed that copying a large file from one location on a network drive to another location on the same network drive takes much longer than copying it locally. Instead of copying the file locally, the network computer sends the file to my remote computer, which sends it back to the same network computer. This means t... | This is as I would expect. You're initiating the copy from your computer. Your computer is the medium over which the files will be copied. You could try running something like psexec to initiate the copy command from the remote computer. http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx | 2 | 3 | 574 | 2010-06-18T00:01:39.870 | infrastructure | serverfault.com | |
1,117,983 | Ansible: grep crontab files based on usernames extracted from /etc/passwd | I'm looking to extract a list of users from /etc/passwd and then grep their crontab files for disabled (commented: ^#) jobs. The high level steps would be: Grab an array of usernames from /etc/passwd ("my_users") Run grep against the files named in step 1 (/var/spool/cron/{{my_users}}) Use 'Debug' to print out the resu... | As a hint see below how to create a dictionary comprising all crontab info Declare the variables [CODE] Find all crontab files ( cron_users ) [CODE] Read all crontabs [CODE] Create a dictionary of users and their crontabs [CODE] For example, given the crontabs on remote hosts test_11 and test_13 [CODE] [CODE] The playb... | 0 | 1 | 944 | 2022-12-14T08:01:58.980 | database_errors | serverfault.com | |
311,811 | How would %privilege time of sqlsvr instance indicate cpu consumption of other processes? | I am looking at msdn doc to monitor cpu. Link: https://learn.microsoft.com/en-us/troubleshoot/sql/performance/troubleshoot-high-cpu-usage-issues#step-1-verify-that-sql-server-is-causing-high-cpu-usage It says I need to capture the %user time and %privileged time for sqlsvr instance. Then it goes to say high %user time ... | Privileged time is when a process thread is running in the kernel. All of the SQL Server code, like most applications, runs in user-mode, not kernel mode. It's not other processes, but drivers or products that insert themselves into the storage driver stacks (particularly anti-virus or storage solution filter drivers )... | 0 | 3 | 101 | 2022-05-06T20:46:27.720 | database_errors | dba.stackexchange.com | |
286,841 | Oracle categorizing alert log error messages | We can find oracle alert log error messages by querying in [CODE] where [CODE] LIKE [CODE] . I want to categorize the error messages like OS errors DB errors Listener errors Local Listener Errors Scan Listener Errors Is it possible to do so by querying in the [CODE] table? What is the way to do that? | From the Database Reference I see that the view [CODE] contains a [CODE] column. Maybe this column contains such kind of information. I am not aware of a view that contains such information. I searched for [CODE] files in the $ORACLE_HOME directories and subdirectories of a 12.2 installation by executing [CODE] and fou... | 1 | 1 | 434 | 2021-03-11T06:25:55.580 | database_errors | dba.stackexchange.com | |
804,410 | How could I prevent NetExtender Cli to asking certificate confirmation? | Our company is using self-signed SonicWall for firewall facility. And remote clients needs to be connect to internal network through VPN via NetExtender client. Some of the clients are using Linux OS without Desktop Environment on purpose. There is an issue occurring with NetExtender Client at those no Desktop Environm... | To prevent NetExtender's certificate verification dialogue, you can use the undocumented switch [CODE] For example: [CODE] Tested on Linux, but I'm not sure about NetExtender Windows CLI. Note: as commented by Håkan Lindqvist, take into consideration that this will open up for MITM attacks. | 3 | 4 | 3,362 | 2016-09-21T09:10:29.433 | infrastructure | serverfault.com | |
130,306 | SCO UNIX problem: "Cannot create /var/adm/utmp or /var/adm/utmpx" | Hey everyone, I have an old server that doesn't boot. I don't know the version of unix installed, but I see SCO UNIX. It stops with that error: [CODE] After that message, it just stops. I cannot write or press anything. Even CTRL + ALT + DEL does not work. I cannot get into the system. I have tried booting with a DamnS... | The filesystem is likely corrupt, and if single user mode is failing you're probably SoL unless you can find (the relevent) SCO install media. A quick google shows that Linux doesn't read SCO filesystems. | 1 | 0 | 1,313 | 2010-04-07T21:48:21.263 | infrastructure | serverfault.com | |
63,299 | Can comments in stored procedures cause problems | We're running a webserver that calls stored procedures to compute complex queries. Using sp_who2, we've discovered a peculiar issue where an abnormal number of processes would be stuck on SELECT state for a long duration. I've ran this sp to track down what query is being ran by the processes and to my surprise, the fo... | I've never heard of comments causing a problem. The code you captured from the running server and the posted source are for different SPs. It makes me think that maybe the [CODE] version is still in your database and being executed (from a job perhaps?) whereas you are trying to debug the [CODE] code. For testing you c... | 3 | 2 | 604 | 2014-04-16T04:18:37.267 | database_errors | dba.stackexchange.com | |
392,587 | Timeout when accessing specific Google Apps email | I have one specific account at a domain with email hosted at Google Apps, that when I try to access, I get a timeout. It is only one specific address. The rest of the emails at that domain work fine. I can log into other Google services (calendar, documents, the Apps control panel) without a problem. I've tried accessi... | The problem seems to have fixed itself. I'm not sure if some automated process kicked in or if someone at Google noticed some of my posts, but thankfully, I have access to my email again. | 0 | 0 | 322 | 2012-05-25T10:33:44.387 | infrastructure | serverfault.com | |
566,945 | How to get application for application event log | I have some servers that are commonly having error 1000s. I want to find if it's the same application all the time, or if it's different applications. I am using this: [CODE] and the output shows the application name (specifically the exe file) as part of the multi-line message field. I have not been able to figure out... | It's probably not going to be accurate for all event types, but the property [CODE] is an array where the first element is the name of the executable when looking at InstanceID 1000: [CODE] My PS-foo is weak at this time of the morning, but I'm sure there's a way to combine that with your [CODE] command and thus export... | 2 | 3 | 2,609 | 2014-01-13T16:35:47.943 | infrastructure | serverfault.com | |
960,557 | Squid Proxy Server Error : Upon Starting | I got this error upon starting Squid Proxy Server using the command [CODE] [CODE] How shall I fix it? Im using version 3.5.26 of Squid. I tried any fixes I found in the web but nothing works. I tried implementing the fix below I found in the web: [CODE] Unfortunately, it doesn't work. Another possible fix on the web is... | You've run [CODE] with the wrong user, which created files with wrong permissions. squid: ERROR: Could not read pid file You need to run with [CODE] : [CODE] . fatal: ipc::mem::segment::create failed to shm_open(/squid-cf__metadata.shm): 13 permission denied You need to remove Squid's [CODE] files from [CODE] or assign... | 1 | 1 | 6,214 | 2019-03-29T02:06:57.653 | infrastructure | serverfault.com | |
583,187 | Duplicating data between two Percona Xtradb clusters using MySQL replication | We currently have a 3 node Percona Xtradb cluster running in a single data center. We want to add fault tolerance in case of disaster to prevent reliance on a single data center and synchronize our Percona data with a second data center so that we may easily switch our apps to connect to a new, synced, cluster in case ... | Cluster -> MySQL -> Cluster works. Though I haven't tried it, myself, I know that Cluster->Cluster was to be an option Soon™ as of some months ago, so you may be able to skip the intermediate step. From the PoV of PXC, you enslave yourself off of one of the machines and the other machines enslaves itself onto you; you ... | 1 | 1 | 1,179 | 2014-03-19T16:58:26.267 | database_errors | serverfault.com | |
421,532 | Authenticate users (REST-API) | What I'm trying to build REST-API using Express and SQLite 5 to 10 authors should be able to post articles to [CODE] except them, no one is allowed to post anything My approach to build it authors are stored in the database password matched with regex and hashed with salt provide a login route for authors to login afte... | You're right to worry. A common advice is to never ever draft your own authentication mechanism, because you will get it wrong. Pick an existing one; understand how it works; use it in your project. This works for cryptography too. Don't invent your own patterns. I'm not exactly sure what you mean by “password matched ... | 2 | 4 | 147 | 2021-01-27T09:06:03.247 | api_errors | softwareengineering.stackexchange.com | |
664,166 | Crontab: Authentication token expired; new one is required | I have a crontab job running daily as a non-root user job. Unfortunately it did stop working with the following message (in /var/log/syslog): [CODE] I have not change a password for the user running this job, neither is password expired. What is causing this issue and how to fix it? - preferable without a need to chang... | I have found a few articles about this, all of them relate to password changes. You have said that you have not changed the password, and that the password is not expired. My Recommendation is to change the password anyway. Whether or not you want to have to change the password every X day's, this will likely solve you... | 5 | 1 | 16,307 | 2015-02-01T18:18:55.293 | api_errors | serverfault.com | |
477,670 | How do I log in, using SSPI, to SQL Server 2008 R2 on a server in one workgroup from a workstation in another? | We're having trouble connecting to our SQL Server (2008 R2) via SSPI. Our team has recently moved from a domain-based setup to a decentralised workgroup-based setup. Each developer has access to a VPN which, in turn gives them access to a database server running SQL Server 2008 R2. We've previously used Windows authent... | Eleven years ago, I worked around a similar problem problem by mapping a drive letter on my workstation to the remote machine and providing my credentials on the other machine. For you, that would look something like this (from a CMD or PSH shell): [CODE] Clearly, that uses an "admin share" that you might not have acce... | 2 | 1 | 2,255 | 2013-02-11T16:20:01.513 | api_errors | serverfault.com | |
975,186 | Should the CNAME reference the repo when hosting multiple sites with Github Pages under one username? | I'm running into an issue with a new site I just launched for a private repo but one site works and the other generates a 522 so I'm wondering if it's due to my CNAME. Here's a list of what I've done. In the domain provider I modified the nameservers to point to Cloudflare as directed. In Cloudflare I've setup each sit... | In case anyone is wondering, then yes, you should do this to avoid potential 522 errors (only if you're using Cloudflare). The issue has gotten worse recently (since early June 2023) and 522 errors seem to appear a lot of the time. To fix this, point your CNAME for your domain directly to your GitHub pages domain (user... | 1 | 0 | 167 | 2019-07-14T03:03:46.240 | infrastructure | serverfault.com | |
39,783 | When REBUILDing indexes on SQL Server, what bearing does tempdb & LOG disk speed have? | Say I have the a data disk that is 50x faster than the LOG and tempdb (measured by Random Write speed) disk. (Don't ask why that's something we'll be fixing if needed) I have a table that's got 19 million rows with about 30 indexes (so basically non trivial). How much of a factor would the disk speed of the LOG & tempd... | Indexes are treated the same as any other data modification i.e. they are written to the log. The performance of your log will directly impact the performance of all writes to your database. If your LOG drive is 50 times slower that your data drive, you have serious performance limitations and should consider rectifyin... | 5 | 3 | 473 | 2013-04-11T23:52:26.617 | database_errors | dba.stackexchange.com | |
1,049,482 | Fail2ban how to configure custom fail regex filter | I am running fail2ban on Debian 9 and am trying to create a custom filter to ban an ip after 4 failed attempts. Can someone help to figure out what I need to put in filter.d and jail.conf in order for this to work. everything I have tried does not work. This is what I've tried: [CODE] Here are the logs: [CODE] | Strange, I came back to it this morning and purged fail2ban and all its config files. Reinstalled it and now it's working! I will just leave the above for anyone looking to do this. In my case, it was for a Ubiquiti UVC-NVR Appliance version 3.10.13. Thanks for your help @AndroidX and @MichaelHampton! see: https://comm... | 1 | 0 | 3,138 | 2021-01-12T04:08:40.963 | infrastructure | serverfault.com | |
906,691 | How to point domain name into an IP address (ubuntu server)? | I have one ubuntu server running in a specific ip address. Multiple apps are running with the help of gunicorn and nginx. I can access all those apps after editing the '/etc/hosts' file in my local machine. Then, I bought a domain name. Now, the problem I'm having is to point my domain name to my ip address of the serv... | When you get a domain they just register it for you. But it won't activate unless few DNS records are published to the internet, informing about its existence. A DNS server has to be there to announce those records and enable you to define sub-domains under it. Either you run that name server yourself, OR you have to b... | -1 | 0 | 1,006 | 2018-04-09T07:20:40.127 | infrastructure | serverfault.com | |
277,971 | Forking a GitHub repo and including code from pull requests within a LGPL license? | There is a project hosted at GitHub which is no longer maintained that I want to use for my project. However it has some bugfixes contained within pull requests from other users, and I would like to include them in the fork and thus my project. So I was just wondering: under which license do the contributions made as p... | Under normal circumstances, it can be assumed that contributions to an open-source project are made available under the same license as the project itself. In very rare cases, a contributor might explicitly state that the contribution is made under a different license than the one used for the rest of the project. In s... | 3 | 5 | 186 | 2015-04-01T12:32:27.777 | api_errors | softwareengineering.stackexchange.com | |
616,520 | Gitlab on Virtualbox VM with repositories on host os | I've set up a Virtualbox VM (debian 7.6) on my MacMini (10.9). I've successfully installed Gitlab (7.1) in the VM and I'm able to access it from all machines in my network. I'm able to log in and create a user. However, I'd like the git repositories to be a directory on a shared folder rather than somewhere within the ... | If you look in the file [CODE] it says: [CODE] So no symlink :-) But you can modify the file and the [CODE] setting to point to a folder under your shared folder. You will also need to modify this file: [CODE] as it contains a duplicated setting (with the same name) which is generated from the above file during the "in... | 2 | 0 | 1,023 | 2014-07-30T07:47:12.920 | infrastructure | serverfault.com | |
32,906 | Can anybody recommend a good data recovery strategy? | So lets say you've failed at preventing a drive failure, and also, you've failed to make a backup of said drive. Push has come to shove and now you need a way to recover you're precious data. Has anybody out there run into this situation? And if so could you please provide any suggestions on how to recover the data bas... | Your best bet would be taking the drive to a data recovery company who would, in most cases, be able to remove the disk's platters and extract the remaining data from them. However, this process is quite risky and there are no guarantees that your data can be recovered either partially (as a result of a head crash) or ... | 2 | 6 | 382 | 2009-06-28T17:27:11.063 | database_errors | serverfault.com | |
963,223 | Enabling xml-rpc on Digital Ocean marketplace Wordpress app | I've installed the Wordpress app from the Digital Ocean marketplace and want to enable xml-rpc to use with the Wordpress app (through JetPack), which requires the xml-rpc endpoint. But I'm having trouble with figuring out how they have disabled that. The relevant php-modules seems to be installed: [CODE] I've got a fee... | To disable the xml-rpc.php block in the Wordpress one-click image at DigitalOcean, run these commands over SSH/console: [CODE] That should have you taken care of. | 2 | 4 | 789 | 2019-04-16T05:25:13.057 | infrastructure | serverfault.com | |
712,820 | can't start slave on my apache spark standalone ec2 instance | This are the steps I've done so far: Download spark-1.4.1-bin-hadoop2.6.tgz unzip .spark-1.4.1-bin-hadoop2.6/sbin/start-all.sh Master is working but slave doesn't start This is the output: [CODE] This is the secure log [CODE] I believe the problem is with SSH but I haven't been able to find the solution on google... An... | I got it fixed after running [CODE] and restart the apache cluster afterwards | 0 | 0 | 3,214 | 2015-08-09T00:21:39.540 | spark_errors | serverfault.com | |
178,386 | Good practices when writing a parser for a standard file format (such as ePub) | I am considering writing an Android reader software that can read ePubs and display them. I checked the ePub standard documents. However, these contain a lot of information. So I am wondering what is the process of implementing a standard for a file format. What are the steps to get a working implementation without pas... | Let's try to answer your question a point at a time. I'm note sure to understand your question (I'm not an english mothertongue speaker...). If you are asking what is the process used to define a new file format like ePub, then the answer is: gather a few seasoned specialists around a table, feed them with hamburgers a... | 0 | 1 | 1,316 | 2012-12-05T15:03:46.940 | hadoop_errors | softwareengineering.stackexchange.com | |
365,584 | ssh closes connection just after logging successfully | On a Mac I'm trying to connect to Windows (OpenSSH installed). The weird thing is that if I do a simple SSH connection it works perfectly. It asks me for the password, and it enters right, and I can do things. Completely normal. But if I set the pair of keys for autologging, it goes through also (since the logs shows t... | I think that this answer will be useful for you . I think that you should check configurations one more time. Maybe you tried to do something with your configs last time? | 1 | 0 | 1,989 | 2012-03-02T08:09:42.933 | infrastructure | serverfault.com | |
114,137 | SQL Server Management Studio Connect to Server List Editing | I'm using SQLServer Management Studio (2005) and I have a fairly lengthy list of servers in there, and I'd like to get rid of some of them that are no longer in use, without having to set them all up again. I know that the [CODE] can be deleted and this will remove ALL the entries, but is there anyway to just delete so... | After much hacking with Reflection I have solved this problem. I've managed to write a VERY ugly application which uses a reference to the above mentioned DLL, and then can go in and remove a particular entry from the list. If people are interested, I might post the program on CodeProject as a way to do it. Let me know... | 6 | 1 | 640 | 2010-02-18T05:34:53.823 | database_errors | serverfault.com | |
912,037 | What is the ideal Windows Update / backup device for a LAN with a slow metered internet connection | I was just in Kenya for several weeks helping some wildlife conservation orgs with their computers and IT. The biggest issue (aside from not enough funds to update tech as often as they should) is that most locations have very limited internet; It is slow and metered. And the A/C power is also not 100% reliable, so bat... | If you are looking for a single device that can function as a (1) NAS for backup purposes, (2) a WSUS server for windows updates, (3) UPS for autonomous power supply and (4) a router / proxy / wifi AP for the local network, I don't think there is one, but you might get a few to do the job. You don't specify if the You ... | -2 | 2 | 75 | 2018-05-13T22:58:17.890 | hadoop_errors | serverfault.com | |
358,844 | Which data-structure or programming technique to use when? | While studying for Data structures and Algorithms , I noticed that there is a pattern/group in which every question falls into. Example - Given this, do/find that - Category 1. use these methods/techniques first and then approach it. Similarly for another set of questions. Do we have a list of patterns which we can und... | Like design patterns in Software Engineering, I would avoid approaching problems with the intent of using a data structure. The biggest pitfall with design patterns is that engineers will try throwing design patterns at a problem, and hope that it works. In reality, design patterns should be emergent as you get closer ... | -3 | 7 | 637 | 2017-10-09T14:30:41.233 | api_errors | softwareengineering.stackexchange.com | |
686,963 | Uphold variable life in Bash loop | I am trying to find the number of files with executable permission by the owner. I am doing this but giving me error cmd> ls -la /myScript.sh myScript.sh is the following [CODE] | Consider using [CODE] and [CODE] . Read their manuals. Your script can be done in one line: [CODE] | -2 | 3 | 42 | 2015-05-01T12:37:32.423 | infrastructure | serverfault.com | |
120,759 | Validating ML regression model and predictions | I have a years worth of electricity power data on 15 minute intervals joined with weather data and time-of-week one hot dummy variables. Is using train/test split an okay approach for validating the model? Am attempting to predict electricity with explainer variables like weather and time-of-week dummies. For starters,... | Ideally, your approach for validating the model should be a train-validation-test approach. i.e. the model is trained on the training data, the results of the model are then validated on a set of validation data that is segregated from the training data (e.g. a 70/30 split), and then the model is tested on previously u... | 0 | 0 | 33 | 2023-04-06T17:26:23.517 | data_quality | datascience.stackexchange.com | |
706,370 | Static ip addressed hardware unreachable | I need help, I have multiple things (NAS box's and the like) on a static 10.10.10.x network. My new situation forced me to use an Air Card on one laptop and using Internet connection sharing to allow the other computers access to the Internet. (everything is plugged into a single switch) ICS, apparently, forces you to ... | Based on the information in the question it seems like the gateway to the internet for the ICS is not the switch in the middle of everything on your diagram. If this is the case then the [CODE] or interface option needs to be included with the route command to make sure traffic is routed through the right interface. On... | 0 | 0 | 755 | 2015-07-16T20:00:27.243 | infrastructure | serverfault.com | |
139,897 | Using indexes in ORDER BY MySQL | Here i have table with indexes and more than 700000 entries. [CODE] I need to do 2 ORDER BY statement. If i use any order by - query runs too long [CODE] EXPLAIN ordered gives Extra 'Using index condition; Using where; Using filesort' Key 'catid_index' EXPLAIN unordered gives Key 'catid_index,visible_index' Extra 'Usin... | The "best" index for this query seems to be (cat_id, visible, primary, updated). Thanks to jkavalik | 1 | 1 | 87 | 2016-05-30T06:23:36.977 | database_errors | dba.stackexchange.com | |
172,620 | A question about multisite Always On design | Your advice on Always On design please... Imagine a scenario where you have 2 datacentres in different countries. You want to be able to run at full capacity in either datacentre. in each datacentre you wish to offload backup and read-only queries to a readable secondary when that datacentre is active. In an ideal worl... | In traditional Always On Availability Groups, all replication traffic comes from the primary replica. If you have two replicas in a remote data center, they will both be updated from the primary replica, period. You can't do primary-to-secondary-to-secondary. SQL Server 2016 introduced Distributed Availability Groups ,... | 2 | 2 | 91 | 2017-05-03T12:53:16.663 | database_errors | dba.stackexchange.com | |
219,179 | How can I make full text search on larger text rows more efficient? | The problem is I tried the [CODE] and [CODE] and it was faster then [CODE] and the [CODE] full text search, because they often run in a timeout or throw an error: [CODE] I am not sure, if I did it right and my table looks like this and has over 10.000 entries: Column Type Modifiers id integer not null doc bytea not nul... | The NOTICE means that [CODE] contains at least one word within it that is more than 2047 characters. The definition of a word depends on what configuration you use for your ts_config. Words are generally strings of characters separated by spaces or certain punctuation. Hyphenated words will generally be emitted as each... | 3 | 0 | 1,211 | 2018-10-03T14:24:09.760 | warehouse_errors | dba.stackexchange.com | |
326,714 | Diagnostics requested to determine why mapped drives disappear | This is my first server fault post (more of a stackoverflow guy). We have several shared drives (on Win Server Standard 2008, SP2), which intermittently seem to lose a connection during the day. Within My Computer on the client machine(Windows XP), it still shows the drive without any folders/files within. I've tried t... | First thing I would check is the Event Viewer on the Windows XP/Windows 7 machines to see if Windows has logged any errors in the Application or the System log that give an idea why it is losing the connection. My guess is that you'll see something about the machines being unable to contact the server or failing to aut... | 2 | 0 | 1,780 | 2011-11-01T16:05:49.817 | infrastructure | serverfault.com | |
997,690 | Error: Couldn't drop privileges: User is missing UID (see mail_uid setting) | I have an email system that is setup loosely around the ISPMail guides here - https://workaround.org/ispmail/buster/ I am trying to setup a script for automatic password scheme migration, but I'm running into issues. I've been following guides similiar to this: https://wiki.dovecot.org/HowTo/ConvertPasswordSchemes When... | Turns out my passdb query was missing the [CODE] prefixes. Adjusting it as follows solved the problem. [CODE] Dovecot Documentation on Prefetch User Database : Prefetch basically works by requiring that the passdb returns the userdb information in extra fields with [CODE] prefixes. For example if a userdb typically ret... | 1 | 1 | 1,612 | 2020-01-05T16:04:01.553 | infrastructure | serverfault.com | |
139,730 | Home and Small to Medium Enterprise network manufacturer choice, Netgear, Linksys or D-Link? | I am looking for an alternative to Cisco (too expensive for me !) for semi-pro utilization (at home but with advanced feature (I'm studying in IT)) and in small/medium enterprises. I think I will choose between LinkSys (Including Cisco Small Business), Netgear and D-Link, but I've never really used these products, that... | I think they all have support forums, I know for sure D-Link does. Go to each one and search for your product of choice. See what the overall impression is. | -1 | 1 | 859 | 2010-05-07T21:04:45.967 | infrastructure | serverfault.com | |
987,278 | Sonicwall Global VPN user either can't reach internet, or LAN depending on Access List | I have a Sonicwall running firmware 6.5.4.4-44n and have a standard VPN (not SSL-VPN) setup which I'm connecting to via the Global VPN Client for Windows. The WAN Group VPN is setup to be a "Split Tunnel" and I have both "Set Default Gateway as this Gateway" and "Apply VPN Control List" NOT checked (checking either doe... | When you use a Split Tunnel, you need to define which routes are going through the VPN. So when adding the "WAN RemoteAccess Networks", you are kind of mocking to the VPN to become a full tunnel. I guess there is a route missing in the client when you only have "X0 Subnet". Try to connect to the VPN and check the route... | 1 | 0 | 3,475 | 2019-10-09T05:49:19.450 | infrastructure | serverfault.com | |
777,672 | Verifying the reason why people say it's not a good practice to let an app connect to your db directly | I'm working with postgre (AWS RDS) for my db and using node (AWS EC2) for server side. I'm just starting out so I don't have much context. I always used other third party software like Parse for DB so I had my apps access db through Parse API. So I thought I would do the same for Postgres. The more I read about it the ... | The reason an app must not connect directly to the database is simple: the app is code that you have released which runs in a place that you do not control, and thus cannot be trusted with database credentials. Code can be reverse engineered, and the credentials discovered, and now the attacker has complete access to y... | 0 | 1 | 75 | 2016-05-19T04:41:08.230 | infrastructure | serverfault.com | |
753,159 | Catalyst 2960-X no xmodem or tftp transfer | I tried to upgrade the IOS on a Catalyst 2960-X stack with three members. The upgrade failed and left me with three switches without bootable files. So I connect to the rommon via console using TeraTerm and set the baud rate to 115200. I type copy xmodem: flash:/c2960x-universal.bin and start the xmodem transfer - and ... | Turns out it was the bin file on the PC that was corrupted. I extracted it again from the tar archive and now it's uploading. Sigh. Always return to zero when you're stuck. | 1 | 1 | 2,390 | 2016-02-01T10:26:55.490 | data_quality | serverfault.com | |
287,102 | Nginx proxy_read_timeout vs. proxy_connect_timeout | I've started using Nginx as a reverse proxy for a set of servers that provide some sort of service. The service can be rather slow at times (its running on Java and the JVM sometimes gets stuck in "full garbage collection" that may take several seconds), so I've set the [CODE] to 2 seconds, which will give Nginx enough... | I was actually unable to reproduce this on: [CODE] I set this up in my nginx.conf: [CODE] I then setup two test servers. One that would just timeout on the SYN, and one that would accept connections but never respond: [CODE] Then I sent in one test connection: [CODE] Then watched error_log which showed this: [CODE] the... | 34 | 35 | 171,927 | 2011-07-05T13:14:30.020 | pipeline_ops | serverfault.com | |
111,228 | Remembering Passwords | I stumbled across this question earlier and it got me thinking. Everyone's encountered systems that require you change your password every x days and not reuse any of your last y passwords. This kind of thing has always left me vaguely unsettled -- how are the old passwords stored? Shouldn't old passwords be deleted en... | Passwords can be stored using hashes that don't store the password, but a number that represents the password. The hash typically cannot be turned back into the password so there is very little chance that a security compromise will net anyone the original password. For example, a simple hash might assign A=1 B=2 C=3, ... | 4 | 7 | 173 | 2010-02-09T18:15:18.463 | infrastructure | serverfault.com | |
697,561 | Ubuntu server 14.04 installation on HP Proliant Gen9 Server | Our HP Proliant M150 Gen9 Server with hardware RAID was delivered yesterday. We wanted to install Ubuntu Server 14.04, however the system could not boot after installation. We've tried a lot of configurations. We also tried other OS, CentOS, OpenSUSE, Red Hat Linux, but failed. With no reported error, the system will r... | Indeed, it is probably the RAID being disabled. Ubuntu HP Dynamic Smart Array Driver (HPDSA) binary needs to be installed. http://downloads.linux.hp.com/SDR/project/ubuntu-hpdsa/ | 0 | 1 | 10,095 | 2015-06-09T07:22:24.807 | infrastructure | serverfault.com | |
55,304 | Connection refused when trying to set up replication | I set up replication. I've done this on two servers so far, and it's worked. Third time unlucky, as it were. The production server is CentOS 6.4, and the replication server is CentOS 6.5. The prod box will join its little brother soon as a 6.5 box, on 3 January - date of the change. But anyway, the MySQL server is 5.1.... | After you import the dump file from the master, your new root password on the slave will stop being valid on the slave not later than, but sometimes as late as, the first time you restart it, because the mysql.user table is going to be overwritten... the new root password after restart on the slave is going to be the s... | 2 | 1 | 2,536 | 2013-12-19T14:02:24.183 | api_errors | dba.stackexchange.com | |
831,185 | How to connect 2 office networks together with no router access | We have two offices which have a server each and we want all relevant personnel in each office to access the work on each. I don't have access to the router on my end because it's a communal router between all the offices in our building who are nothing to do with us. In my office I have installed a Synology NAS and I ... | You should go for the cloud option. And you should create a VPN. And so something else. All depends really. How critical is the data? If someone leaks it, is it a problem? Can you cope with disconnections? From each other? From the data? etc...? Have a think about what you need from this solution and then think about w... | 1 | 0 | 883 | 2017-02-07T21:03:17.370 | data_quality | serverfault.com | |
235,713 | Apache mod_header rule to change all cookies to secure | I would like to change all cookies to be secure and http-only. It works fine for one cookie, but doesn't work when multiple cookies are set in response. Apache mod_header rule should change cookies from: [CODE] to [CODE] I use mod_headers for it with following rule: [CODE] It works fine when only one cookie is set, but... | I found the answer. Problem has been in version of apache installed on server. Edit command is supported from version 2.2.4 but the version has been 2.2.3 (default on RHEL 5+). So I upgreded httpd and everything works fine. For more about upgrading httpd on RHEL or CentOS see: http://www.jasonlitka.com/2007/01/17/upgra... | 5 | 2 | 19,669 | 2011-02-15T14:12:33.320 | infrastructure | serverfault.com | |
1,127,915 | Cannot update Github key from CLI | I have only just tried to use github via [CODE] on the cli for the first time since they leaked their key and it needed resetting. I added the new key into known_hosts under users/luke/.ssh (Windows 11) (didn't work so I removed all existing known hosts) and I also removed the known hosts them from the Registry (since ... | I had the same problem. You can just open Putty (application) and connect to github: Host name: github.com Port: 22 Click "open" and then there will be a popover asking you to trust the connection, click "yes" and then git will work again! | 0 | 0 | 50 | 2023-04-04T18:15:11.407 | infrastructure | serverfault.com | |
305,924 | Crypto key storage and recovery -- best practices? | We have a bunch of SSH, GPG, SSL and other private keys that, obviously: must only be available to the smallest number of people possible can't be "lost" if a hard drive dies or the building burns down (because a lot of data would otherwise be undecipherable) must be recoverable even if the guy in charge is out sick or... | Here, for everyday work we have Kerberos authentication, it's very useful for example if you want to log as root with a .k5login file in /root. Of course if the keytab or some other problem occurs, we have a GPG encrypted file on a SVN repository. But if your root passwords are being changed automagically on a regular ... | 3 | 1 | 470 | 2011-08-29T04:30:13.923 | infrastructure | serverfault.com | |
954,237 | LVM snapshot gets created in a dirty state and cannot be mounted in XEN | I have a server which runs Xen 4.9.2 with Linux Ubuntu 18.04.2 installed in Dom0. There is one virtual machine (DomU) with Linux Ubuntu 12.04.5 that uses LVM logical volume as its root filesystem. This LVM logical volume is configured in Dom0 and ext4 filesystem is created on it. Then it is exposed to DomU as follows: ... | Out of curiosity, how are you doing the backups? If you're just creating a snapshot, then using something like rsync to copy the contents out to a backup folder, then would it matter if you mount the snapshot in read-only mode, or if the mount is "dirty"? The reason I'm asking is because I'm doing the same thing, and i... | 0 | 0 | 1,171 | 2019-02-16T06:15:29.160 | hadoop_errors | serverfault.com | |
82,632 | Babysitting your Continuous Integration System | One of my roles in my team is the build person . I am responsible for maintaining/updating our build scripts and making sure we are building 'smoothly' on the continuous integration server. I usually do not mind this job, though often it feels like I am constantly babysitting the CI server. This job can be annoying at ... | First and foremost: each person is responsible for the build process . It sounds like members in your team are not mature... No one gets away with writing code and fobbing it off to the CI server hoping that it works. Before committing code, it should be tested on their local machine. You should be sure that the code y... | 22 | 29 | 2,822 | 2011-06-09T00:42:04.183 | api_errors | softwareengineering.stackexchange.com | |
98,862 | Is Service Pack 2 completely installed on Passive Node of SQL Server 2012 Instance? | We are applying SQL Server 2012 Service Pack 2 (SP2) to a two-node active/passive cluster, starting with the passive node (as per best practices): How to install a Service Pack at a SQL Server 2012 Failover Instance: Best Practices ( http://blogs.msdn.com/b/john_daskalakis/archive/2014/09/05/how-to-install-a-service-pa... | The logs led us to review our Cluster services: [CODE] We determined that the replication agent service was the cause of the incomplete installation. We removed the service from Cluster Resources and re-applied SP2 without success. We stopped the service on the node and re-applied SP2 without success. [CODE] We uninsta... | 3 | 3 | 1,923 | 2015-04-25T18:14:19.507 | database_errors | dba.stackexchange.com | |
747,623 | SQL Server, local instance, No process is on the other end of the pipe | On a fresh installation, on my local SQL server instance, using SQL Server Management Studio, I can login with my Windows authentication, but not with my sa user. In both cases, I'm using [CODE] as my Server name. The error is the following: [CODE] The password is correct, since I've change it. I did reboot my computer... | After double-checking the parameters I choose when reinstalling, I realized that Mixed-mode wasn't checked, only Windows authentication mode . Following the instructions to this link fixed my problem: https://msdn.microsoft.com/en-us/library/ms188670.aspx (I'm quite impressed by the clarity of the Microsoft error messa... | 2 | 3 | 50,317 | 2016-01-08T12:33:21.937 | api_errors | serverfault.com | |
12,409 | network ansible command error: "msg": "network os centos is not supported" | How do I get the [CODE] config for [CODE] below? remote: [CODE] local: [CODE] referencing: https://www.ansible.com/blog/getting-started-writing-your-first-playbook | This error is due to invalid value of [CODE] The playbook you try setup is meant for network devices. And since centos is not a network device OS the playbook will fail. Here you can find supported network OS. Ansible Documentation: ansible_network_os values If you don't have any device running a supported network OS I... | 0 | 2 | 2,221 | 2020-09-15T06:43:18.840 | pipeline_ops | devops.stackexchange.com | |
188,771 | failover dns not working and not sure how to troubleshoot | On my domain i've got a w2k8 standard domain controller and a w2k8R2 domain controller. I recently added dns to the w2k8R2 server in an attempt to set up a failover/secondary dns but it is not working when the primary dns goes down. It's somewhat difficult to schedule shutting down the primary machine to test the failo... | One thing that worries me is that when I run ipconfig /all I only get the ipaddress of my primary dns server assigned to me. How are you assigning addresses to your clients? Have you updated DHCP to include the other DNS server? You need to manually update the configuration on any statically configured computer to incl... | 0 | 1 | 2,200 | 2010-10-07T20:40:11.730 | database_errors | serverfault.com | |
922,498 | Different cardinality after each ALTER TABLE; | There is no new entries in this table. Same error on 10.3.8-MariaDB and 10.2.6 What could cause that? Also this is strange too. | Given that the InnoDB persistent statistics are only an estimate statistic, the values could be expected to change. Increasing innodb_stats_persistent_sample_pages should improve the accuracy. | 1 | 2 | 145 | 2018-07-18T15:06:27.607 | database_errors | serverfault.com | |
889,314 | Windows Servers High CPU usage when no user is logged in | Since a few days ago a lot of Windows servers on a corporate domain started to have almost 100% CPU usage. All of them are on VMWare Hosts and even there we can see the 100% CPU usage on the host level. I've have checked: Changed GPOs on the day we saw first spike, nothing was changed. All software that is distributed ... | Use one of the may remote task monitors and check the process causing this. Then stop mining. | 3 | 1 | 1,930 | 2017-12-22T08:58:43.457 | database_errors | serverfault.com | |
126,711 | Why does database recovery take so long? | On my SQL Server 2012 x64 Std instance I had a large transaction fail due to the transaction log filling up yesterday, it couldn't be rolled back and SQL Server has restarted the specific DB to perform recovery. The DB is around 750GB with the tlog hitting 170GB (very large ETL job was running). The job was only runnin... | I had a large transaction fail due to the transaction log filling up yesterday, it couldn't be rolled back and SQL Server has restarted the specific DB to perform recovery. This is not totally correct when a transaction starts in SQL Server it reserves space in transaction log in case the transaction has to rollback. F... | 7 | 7 | 6,916 | 2016-01-20T07:38:51.643 | database_errors | dba.stackexchange.com | |
86,204 | Enterprise Manager cannot connect to 11g database instance | In Oracle 11g when we are opening OEM in browser it is showing the following message : " Enterprise Manager is not able to connect the database instance. " Listener status is showing Up and Agent Connection to instance the status is showing unavailable. please provide a solution. I am attaching a screenshot of my probl... | You may need to resecure the agent. Here is a link that should help. http://jhdba.wordpress.com/2008/12/10/clearing-an-enterprise-manager-agent-that-fails-to-upload/ | 0 | 1 | 10,257 | 2014-12-15T11:22:21.387 | database_errors | dba.stackexchange.com | |
246,089 | Memory issue in Transactional Replication | I want to replicate a data of 500 GB through transactional replication once in a day, so my query is this, will it create a new file in the snapshot folder on daily basis of 200-300 GB or will update it only. What can I do if i don't have too much memory for this file, can we not transfer our data without generating th... | The SQL Server Snapshot Agent will use BCP to create an initial snapshot of the data and objects to be replicated. These are stored on disk in the default installation folder. You can specify a different location if you are concerned about space issues in the default location. Once the snapshot has been distributed to ... | 0 | 2 | 272 | 2019-08-23T11:56:04.673 | database_errors | dba.stackexchange.com | |
565,741 | Apache is running... but not serving, after reinstalling PHP | I used to have a happy, shiny instance of apache running on my Mavericks OS X MBP. Then I reinstall PHP with PostgreSQL extensions vie Homebrew ( this walkthrough ). I am not sure how PHP was installed before. I installed the new version on top of whatever other PHP instances I had previously. [CODE] The reinstall went... | This happened when I upgraded to Mavericks too. I removed individual site configs, than added them back in one at a time until I narrowed it down. I think it turned out to be a broken Apache or PHP module, but it has been a while. Also, I had to re-install a bunch of xcode libs to get Pear working again. | -1 | 1 | 468 | 2014-01-08T00:56:29.673 | database_errors | serverfault.com | |
252,059 | Why is my DB size increasing when rebuildling an index using sort in tempDB in SQL Server? | I am running Ola Hallengren's SQL Maintenance scripts using the following command: [CODE] Up until recently a number of the indices were unable to rebuild due to space constraints so I shifted tempDB to its own drive, configured tempDB to use 8 different files, and started sorting in tempDB (each tempDB file is roughly... | I have quoted three sections from different articles and gave the links at the bottom. Bottom line is you need space for the new index to get build plus transaction log space for rollback. If you cannot accommodate the space required you might want to consider INDEX_REORGANIZE . When a new index structure is created, d... | 4 | 2 | 999 | 2019-10-28T10:03:28.833 | data_quality | dba.stackexchange.com | |
209,325 | Combine Data from Two Tables-Help Needed | I have developed a web site with a mysql backend, but am not satisfied with how I am getting one set of data and do not know how to get another dataset. The page in question is at: http://whistclub.org/test/ajax.php?vichill/results/1 The results are shown through October so there is some data to use. I am pulling the r... | A join is indeed what you are after. Consider the following sqlfiddle - http://sqlfiddle.com/#!2/f5412/1/0 (all parts are found below, that just makes it easier if you want to... well, fiddle with it) The DDL is: [CODE] The associated data: [CODE] And the query: [CODE] Note how the relationship between the game ( [CODE... | 1 | 3 | 649 | 2013-08-23T22:40:49.357 | database_errors | softwareengineering.stackexchange.com | |
918,474 | Squid 3.5.20 doesn't authentificate via Active Directory and Kerberos | I make transparent proxy via AD and Kerberos V5. CentOS joined to Windows domain with realm: [CODE] Squid info: [CODE] Keytab file content: [CODE] AD user - squid2018, for it this keytab file made. Make sure: [CODE] The passwrod for squid2018 accepted, recieved ticket: [CODE] Delete it. Settings /etc/squid/squid.conf [... | Solved. Keytab file must contain entry: [CODE] Not [CODE] | -1 | 0 | 4,287 | 2018-06-27T12:09:05.657 | infrastructure | serverfault.com | |
259,222 | pg_restore: error: could not read from input file: end of file | I do try to create a dump of a table, that is stored inside of my database. The table is called [CODE] In order to create the dump, I do use following commands: [CODE] Then, on the other machine: [CODE] Unfortunately, it always ends up with the same scenario. I do receive following error log: [CODE] I have also tried t... | You really have two questions here. First you have a corrupted tar file. I'd blame that on your usage of docker. If you run [CODE] on the docker side before moving the file, was it corrupted there? Second, you don't want to restore data, you want to merge it. pg_dump/pg_restore doesn't do that. You will have to figure ... | 4 | 1 | 22,705 | 2020-02-08T16:24:20.087 | database_errors | dba.stackexchange.com | |
309,780 | SQL 2008 R2 Active/Active/Passive Cluster Does Not Allow Linked Servers Both Ways | We are designing an active/active/passive failover cluster using SQL 2008 R2. We have two separate instances of SQL 2008: instance A is on node 1, and instance B is on node 2. Right now I'm trying to set up a linked server, since there are databases on each instance that will need to talk to one another. I can set up a... | Have you checked the SQL Logs of the instance you are trying to connect to, to look for login failure errors? You just need to enter the virtual SQL Server name as the servername, and you should be away. Linked server setup can be a pain, but if there was a bigger problem you'd see clustering issues. | 0 | 0 | 802 | 2011-09-09T14:49:37.050 | warehouse_errors | serverfault.com | |
370,552 | IPTables not blocking some connections | I am using IPtables for a basic firewall, I have placed some blocks on those IP's attempting FTP, SSH conenctions, etc. I have accept rules at the top for good measure to ensure that my monitoring services, my static IP addresses and DNS are not blocked by a bad rule. Below that I have my deny and log rules. I have som... | From what you have posted, you are only dropping traffic that is either from [CODE] or is in an [CODE] state. You do have other drop entries, but they are not reached. Are there other rules that might be relevant? I see no [CODE] targets, but you're showing me logs. Please paste your full ruleset. | 1 | 1 | 266 | 2012-03-16T20:16:49.327 | pipeline_ops | serverfault.com | |
1,107,270 | Makefile: Expansion of "$<" does not work in "optimized" makefile | I have a directory structure like this: [CODE] the "build rules" are basically identical, but about 30 lines long. this very simple Makefile illustrates what works: [CODE] But since the build rules are really long and exactly the same, I would like to have one build rule definition for all the files. After some fooling... | okay, surprisingly this works: [CODE] | 0 | 0 | 50 | 2022-08-03T10:51:34.527 | infrastructure | serverfault.com | |
957,965 | Modify source IP from a package dump | I have a dumped several packages udp and I am trying to tcpreplay it. The issue is that the source is from a different network and I want to modify or redump by changing the source IP. I have done once but I can't seem to find the command line anymore. | The tcprelay package typically includes the command tcprewrite. This can be used to modify a capture before passing it through tcprelay. There are examples on their wiki and in the docs. http://tcpreplay.appneta.com/wiki/tcprewrite http://tcpreplay.appneta.com/wiki/tcprewrite-man.html | 1 | 2 | 565 | 2019-03-12T19:50:06.630 | infrastructure | serverfault.com | |
245,617 | Allow domain user to publish website with mswebdeploy on IIS 7.5 | I'm trying to configure an IIS 7.5 server to allow remote deployment by a domain user account. I can achieve this if I create either a local account with Administrator privileges, or use a domain account with Administrator privileges, but for a regular domain account I can't figure out what I need to set. The steps I'v... | You need to specify the full Web Management Service url with a site parameter. For example, if you were previously using: [CODE] Then you would use this instead: [CODE] | 1 | 2 | 1,853 | 2011-03-10T10:23:05.110 | api_errors | serverfault.com | |
868,541 | hyper-v external virtual switch only gives connection to 1 vm | We recently got a new Supermicro Server (X10DRi-Ln4+ MB, Intel i350 Network cards) and have problems with Hyper-V: The Server is running Windows Server 2016 Datacenter with the latest Updates und Drivers installed. The Hyper-V Role is installed. The problem we are having is with the connectivity of the VMs being hosted... | We fixed the problem: The problem was port security on our phyiscal switches limiting the maximum number of MAC-adresses per port to 2. We didn't realize that earlier because our other two servers were running just fine with multiple VMs per Port. Turns out the limit for these servers was raised before and no one did r... | 1 | 0 | 1,442 | 2017-08-14T12:35:35.630 | infrastructure | serverfault.com | |
349,142 | String substitution in Nginx config files | How do you mix variables and strings together in a Nginx configuration file? I have a configuration file that looks like this: [CODE] It's a push server and it's supposed to push a message to the client depending on what they pass to on the callback parameter. I.e. If the user requests http://example.org/sub?callback=c... | Store the string in another variable (say, $string) and do this: set $callback $arg_callback$string; | 4 | 4 | 8,349 | 2012-01-12T05:04:32.877 | infrastructure | serverfault.com | |
702,109 | OpenVPN connection resetting | OpenVPN running on Raspbian (Raspberry Pi Debian, Wheezy). Relatively stock, didn't do anything other than install OpenVPN, and generated some keys. Server config: [CODE] Client config: [CODE] Client Log: [CODE] I've never really configured OpenVPN before, I'm wondering if I screwed something up. I have the PI VPN serv... | This was commented in the client config: [CODE] I needed the TLS key and obviously this needed to be uncommented. | 0 | 1 | 2,411 | 2015-06-28T04:21:33.510 | infrastructure | serverfault.com | |
234,111 | Load flat file into a predetermined table | Scenario Table created Data in flat file loaded to the table but with errors. please advise how to fix it (a) 'address' is split to 3 columns causing mismatch between the source and destination (b) 3 Nulls in the 'B_Date' column due to different format. Do I need to massage the raw file before load into the Microsoft S... | Why do you think address is being split into three columns? Based on your screenshot column 5 is being mapped to address and 6 and 7 aren’t being mapped to anything. Can you please share the full error messages? Also does your file have headers, I presume not based on your screenshot. Try adding headers to the flat fil... | 0 | 0 | 31 | 2019-04-07T08:07:04.807 | warehouse_errors | dba.stackexchange.com | |
116,040 | How do I uniquely update values of a text column before applying UNIQUE constraint? | I need to apply a unique constraint to a [CODE] field which may or may not already contain duplicate values. If for instance I have [CODE] twice, I don't mind renaming them as [CODE] , [CODE] , but what if I already had [CODE] as an entry? Seems like a bit of an recursive problem. I probably need to do this through a c... | Ended up writing a nested loop which will select all duplicate entries in table [CODE] and add a dash to each duplicate [CODE] field until no duplicate records exist. [CODE] | 1 | 0 | 49 | 2015-09-24T14:05:23.347 | data_quality | dba.stackexchange.com | |
325,564 | Repartitioning two disks without a loss of data | Possible Duplicate: Repartitioning two disks without a loss of data I am interning at a software company and I have hit somewhat of a brick wall. Here is the deal: The Problem: We have some boxes around here that were incorrectly partitioned for 2 x 500 GB drives. The actual drives are 2 x 1 TB drives. These are essent... | This almost certainly can be done, but one biggie is the need to know what filesystem you're dealing with. Please report back with that -- it'll be shown by way of the "mount" command, and will dictate what approach/utility is to be used. | 1 | 1 | 54 | 2011-10-27T17:22:20.203 | api_errors | serverfault.com | |
1,143,566 | Best practice for running container images as another user | I'm using Kubernetes and would like to run a container as a non-root user. If I'm writing my own Dockerfile, I can [CODE] , [CODE] , and run with docker [CODE] . But in some cases, the list of files that need to be [CODE] 'ed may be long and unknown, becoming a tedious process, and it can change over time, and cause er... | Using [CODE] is basically never the right solution. Figure out how to set your permissions correctly. Permissions should almost always be least possible that accomplish your goal. How you do that is heavily depends on the context of the specific image, and what software you are running. But would that give the containe... | 0 | 1 | 195 | 2023-09-12T17:37:50.220 | pipeline_ops | serverfault.com | |
312,654 | Why AWS RDS PostgreSQL suddenly consumed all free storage | I've got a AWS RDS PostgreSQL (13.x). The DB had 100 GB storage of which around 30 GB was used. Suddenly, during one day all the free storage was eaten by PostgreSQL (so it seems) and even after adding another 100GB of storage, the free space was still consumed. There was no gigantic data load into the DB or something ... | Do take a look into the size of log files stored in the RDS instance. I faced such an issue where our DB size was 250GB but it autoscaled up to 1TB as we were logging all queries (log_statement) and the retention period of these log files was 3 days. Then we tuned the parameters log_statement and rds.log_retention_peri... | 4 | 2 | 3,294 | 2022-05-27T08:26:26.217 | database_errors | dba.stackexchange.com | |
1,014,237 | Renew Issuing CA Certificate via offline Root CA | I have an offline root CA and an enterprise issuing CA. I created a req from the issuing CA and issued a cert with it on the offline root CA. When I try to install the cert on the issuing CA with the Certification Authority snap in I get the following error: Cannot verify certificate chain. Do you wish to ignore the er... | It looks like you didn't install the root certificate in the servers 'trusted root certification Authorities' store. When you try to import the signed certificate - it cannot verify the chain as trusted - and the import fails. Open MMC - Add remove Snnapin - Certificates - Local Machine, and import the root certificate... | 0 | 1 | 3,895 | 2020-04-26T13:27:14.440 | infrastructure | serverfault.com | |
801,682 | Apache timing out during small load spikes | I'm running Apache 2.4.17 (prefork) on a Centos 7 server. The server specs are pretty good: 2 x Xeon E5-2697 v3 @ 2.60GHz, 512GB of RAM and 8 SSDs in RAID 10. This Apache server is used to run a PHP software. The normal load is between 8 and 15 but due to the server specs, it's very responsive. Also, the number of requ... | After a lot of tests, configuration changes etc. I couldn't fix this problem with Apache 2.4. I decided to give Apache 2.2 a try using the same configuration. I only removed a few things that were Apache 2.4 specific directives. It simply worked. Same server, configuration, application and load. With Apache 2.2 I don't... | 1 | 1 | 386 | 2016-09-07T19:49:04.573 | infrastructure | serverfault.com | |
1,125,648 | iproute2 and netplan configuration | I want to use 2 network interfaces, each one has its own default gateway, at the same time. I found on google that iproute2 program could solve my problem but I also have to config netplan in order to accomplish that. The only info I found is about [CODE] [CODE] which is not on Ubuntu 22.04 anymore. How do I have this ... | solved using [CODE] | 0 | 0 | 353 | 2023-03-08T15:31:32.260 | infrastructure | serverfault.com | |
117,089 | SSIS Foreach loop (SQL Server 2005) adding loop variable causes failure | I'm trying to use SSIS to traverse a directory of Excel files and put them into a table in SQL Server. I seem to have a basic choice - either I get the same spreadsheet dumped in the table 10 times or I get an error message. I'm using the instructions here: http://www.sqlis.com/post/Looping-over-files-with-the-Foreach-... | Essentially SSIS works differently for Excel files, the instructions are much more like this . You need to hand craft your connection string in the expression field, rather than just drop the variable in there. The string will end up looking something like this: "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + @[User:... | 0 | 0 | 1,158 | 2010-02-26T09:34:18.660 | data_quality | serverfault.com | |
102,541 | Software Design Idea for multi tier architecture | I am currently investigating multi tier architecture design for a web based application in MVC3. I already have an architecture but not sure if its the best I can do in terms of extendability and performance. The current architecure has following components DataTier (Contains EF POCO objects) DomainModel (Contains Doma... | I'll be very general so sorry if it is nothing new for you, I know that's boring: adding a layer adds flexibility but costs some performance adding a layer does not improve scalability (it has to be addressed separately at every layer that creates bottleneck) I do not know your stack, but similar applications usually c... | 4 | 3 | 1,245 | 2011-08-19T11:08:50.653 | api_errors | softwareengineering.stackexchange.com | |
49,946 | How to push people to use automatic tests? | I am a test automation engineer. My main work is to automate UI tests for projects. My tests are suppose to be launch after every release in "qualification", "pre production" and "production". Then, the person in charge (usually the "Product Owner"), takes a look at the tests results and acts accordingly to said result... | You make your tests part of the build pipeline, and have them email you and everyone else who matters the results. That way, you're not relying on anyone else to run them or check the results. As an automation engineer, writing the tests is only part of your job. You are also responsible for your part of the CI/CD pipe... | 19 | 36 | 7,378 | 2022-03-28T10:29:21.643 | data_quality | sqa.stackexchange.com | |
7,511 | Property Owner is not available for Database 'DBNAME' | Property Owner is not available for Database 'DBNAME'. This property may not exist for this object, or may not be retrievable due to insufficient access rights. (Microsoft.SqlServer.Smo) I am getting this error when trying to 'right click' a properties on the database. Does anyone know how to fix this ? I've tried foll... | [CODE] is probably already a database user. You shoudl be passing a login principal to the stored procedure. Do something like this: [CODE] | 5 | 4 | 7,367 | 2011-11-01T10:43:07.543 | warehouse_errors | dba.stackexchange.com | |
1,016,015 | Google Cloud Platform - Find Resource by Full Resource Name | How do I take a full resource name, such as [CODE] , and find out more about it with just that information? I am currently trying to delete the default network from one of my existing GCP projects. running [CODE] resulted in this error: [CODE] I've looked everywhere I can think of, and I cannot find any resources withi... | For my case, I had a Cloud Run service connected to the VPC network . I deleted the "Serverless VPC Access connector" allowing Cloud Run to connect, which probably should not be allowed because a Cloud Run service/version was still referencing the connector, therefore "using" the VPC network also. tl;dr once I deleted ... | 8 | 4 | 5,015 | 2020-05-06T22:19:19.867 | infrastructure | serverfault.com | |
1,063,729 | Why is nginx not working with my subdomain A record on LightSail? | I have an Ubuntu machine on LightSail which serves static files with nginx. I would like to a subdomain so I've added an A Recording pointing to the IP of the machine named [CODE] . My nginx site configuration files is defined as [CODE] Although I can access the files in client-data via http://[ip]/file.txt http://clie... | By default, your client (Internet-Browser/Utility) will connect to your server using the default ports 80/443 when using HTTP or HTTPS. Else, if you use, like in your case, i.e. http://client.mydomain.com:5000/file.txt , you will request that file as intended, as you configured here this server on port 5000 and the fil... | 0 | 0 | 1,091 | 2021-05-16T14:58:08.413 | api_errors | serverfault.com | |
419,711 | Decoupling 2 Tightly Coupled Classes, Basket and Discount | I have two tightly coupled classes [CODE] and [CODE] . [CODE] is responsible for keeping track of the items in a shopping basket, keeping track of any discount codes applied, and calculating the final bill. [CODE] is an interface that has many implementing classes such as [CODE] , [CODE] , [CODE] and so on. Therefore t... | Just an idea, I don't know whether it fits your requirements, but how about splitting the [CODE] ? I think it is not a stretch to split the [CODE] into generic discounts that can be applied to different [CODE] s, and [CODE] as something that is not "generic" anymore, but is applied to the specific basket. This does not... | -1 | 0 | 155 | 2020-12-06T12:46:41.087 | api_errors | softwareengineering.stackexchange.com | |
201,794 | Should I defragment InnoDB table with fixed-length fields? | I am running MariaDB 10.2.13 on Linux (Debian). I am setting up an InnoDB table that will record a lot of data but I will keep only the last one-hour rows. Thus, the number of rows will remain constant. I should expect on this table: many INSERTs many UPDATEs some DELETE (rows > 1 hour) from time to time Example: Table... | I say "no" for various reasons. The fragmentation will recur promptly after the [CODE] , so why bother. The fragmentation is not that big a deal. The performance issue is minimal. The "depth" of the BTrees rarely changes due to fragmentation. InnoDB tends to get rid of fragmentation by combining adjacent blocks that ar... | 0 | 1 | 449 | 2018-03-20T14:35:13.763 | database_errors | dba.stackexchange.com | |
609,369 | Back up S3 bucket to another? | I am looking at duply and duplicity currently to mirror one bucket to another but it looks like I may be running in to a brick wall? So far I have been able to get things working backing up local directories to an S3 bucket, that part works great. My real problem is that I am trying to create an S3 bucket backup by bac... | If anybody runs across this issue I found a workaround. First, if you are on Windows and need to copy one bucket to another you can use s3cmd Express . I spoke with one of the developers of s3cmd and he mentioned that there are issues with the Linux/OSX version of s3cmd for huge buckets, so he told me to use Express if... | 0 | 1 | 534 | 2014-07-01T17:23:48.577 | database_errors | serverfault.com | |
266,319 | Is it possible to quickly change an array declared on the stack to one declared on the heap | I have about 5000 lines of code which manipulates a large array in C++. The problem is that when I try to make the array even larger i.e. A[10000][10000], the gcc compiler throws me a segmentation fault error. I believe the solution is to change the array to a dynamic array. Is it possible to do this by only changing t... | Your suggestion isn't quite right. [CODE] (where 'x' and 'y' are expressions that can be evaluated to a constant at compile time) declares a single block of memory that is x y sizeof(int) bytes long, and A[i][j] is translated to a reference to the I*y+jth value in the block. On the other hand, int ** A = new int *[x]; ... | 1 | 0 | 89 | 2014-12-13T01:56:23.273 | api_errors | softwareengineering.stackexchange.com | |
246,407 | Nginx user subdomains, should I proxy_pass? | I am trying to setup user subdomains, serving content from specific folders: [CODE] served from [CODE] (just like github pages). I've looked at Nginx rewrites, but I don't want the browser to redirect--I want the domain to be username.example.com. Anyway, a comment on this question says that I cannot rewrite host, only... | The simple way to handle this is to have nginx treat each of the directories as a different virtual host. [CODE] This would require the physical path to the files to be [CODE] instead of [CODE] . | 3 | 4 | 1,761 | 2011-03-11T21:32:00.607 | infrastructure | serverfault.com | |
557,257 | Using DNSSEC with GoDaddy | This is my setup Domain: nginx-repo[.]com (Registered at GoDaddy) Nameserver: A DigitalOcean VM running BIND on Debian 7 I created a zone for the above mentioned domain on my VM then used [CODE] and [CODE] to setup and sign the zone file. The DS records [CODE] Now I logged into GoDaddy and tried entering the first DS r... | Issue resolved. It was a problem at GoDaddy's end. I created a ticket and received the following reply after 61 hours . Our validation web service calls out to the registrar back-end web service, which calls out to the registry for DNSSEC validation. Many times the call to the registry times out. This is most likely wh... | 1 | 3 | 2,285 | 2013-11-25T14:18:11.837 | infrastructure | serverfault.com | |
805,590 | How to debug/log 502 Bad Gateway from reverse proxy? | We're running a web service and hitting 502 Bad Gateway randomly. The 502 is reported by reverse proxy (Apache 2.4.x) while talking to backend server (Apache 2.4.x). The problem randomly re-appears around once per 100,000 served requests so it's really hard to reproduce. I see that Apache allows configuring [CODE] dire... | In my experience, you are correct to point to Apache bug 37770 , which in the Apache's reverse proxy functionality. If you examine the patches cited there from 2008 until 2016, you'll see yourself that these are really workarounds. If the root cause disappeared in httpd-2.4, then this is not apparent neither from the c... | 3 | 2 | 7,202 | 2016-09-27T12:29:51.600 | infrastructure | serverfault.com | |
1,083,180 | Backend services root certificate expiration | We are using mTLS for our backend services authentication and the root certificate is set to expire in 2022. Here are the expiration details for all certificates: The root certificate will expire in 2022 The intermediate certificates will expire in 2031 The leaf certificates will expire in 2023 I do not know why the ro... | RFC 5280 compliant certificate validation function require that all certificates in the chain (including root certificate) MUST be within their validity periods at the time of validation. That is, proper certificate validation function will fail to validate your certificate chain after root is expired (in 2022). RFC 52... | 0 | 0 | 696 | 2021-11-10T19:28:07.647 | pipeline_ops | serverfault.com | |
2,403 | Postgres 8.4 -- connection refused (remote) | I'm new to postgres and looking to set up a small environment here with it. I've installed PostgreSQL 8.4 onto an ubuntu server, able to login to the postgres, submit commands, do queries, etc... however, I'm looking at using pgAdminIII from my windows machine. I've followed along with the instructions from the ubuntu ... | The 10.0.0.1 is the address of your client. What you need to put into [CODE] is an address on the server. If you don't want to use [CODE] , then it should be the address of the server on the same network as the client. In this case this would probably be some other 10.* address. Check with [CODE] or [CODE] what address... | 3 | 2 | 1,741 | 2011-04-27T20:50:00.143 | database_errors | dba.stackexchange.com | |
316,605 | Grant user mkdir() | I have a php script where I use the function [CODE] but I get Warning: mkdir() [function.mkdir]: Permission denied How can I grant a user permission to this function? Apache/CentOS Update Here's the permission for the folder I'm trying to create folders in: [CODE] * both user and group are recursive. And here's the mem... | Since you are running this under apache, the apache user (usually www-data) needs write access to the directory it is attempting to run [CODE] in. Either add www-data to the group that owns that directory or do [CODE] to change the group ownership. | -2 | 2 | 4,552 | 2011-09-28T22:25:02.623 | infrastructure | serverfault.com | |
87,656 | move mySQL 5.6/InnoDB tables to a different physical location | I was wondering if this is possible with mysql 5.6. I have a Database with several tables separated by Month (eg TonsOfRows_201411). I don't need access over the whole data so I decided to separate tables instead of partitioning. The current month is always used for importing/queries (we are talking some 100m rows per ... | A pure MySQL solution is not possible. In fact, it can be downright dangerous. [CODE] : Can I have one table be an "alias", or "symlink", to another? [CODE] : How to set a specific directory location for individual MySQL database? Even when you create a table that uses [CODE] , mysqld uses symlinks. You will have to cr... | 1 | 2 | 168 | 2015-01-06T13:57:52.360 | database_errors | dba.stackexchange.com | |
205,277 | How can I get more information on a Event Viewer - Windows Logs error? | An application i wrote is throwing the error (in my application Log): [CODE] I've registered the assembly in the GAC so i'm not sure where it's looking for this. Is there any way to find out where it's looking or maybe to get a stack trace for the error? | Run SysInternals (Microsoft) ProcessMonitor ( here ) to see which file it's looking for. | 1 | 0 | 651 | 2010-11-23T18:32:13.913 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.