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 |
|---|---|---|---|---|---|---|---|---|---|---|
955,015 | glusterfsd Ubuntu 18.04 high iowait issues | We're running gluster on two hypervisors running Ubuntu. When we upgraded from Ubuntu 14.04 to 18.04, it upgraded gluster from 3.4.2 to 3.13.2. As soon as we upgraded and since then, we've been seeing substantially higher iowait on the system, as measured by top and iotop, and iotop indicates that glusterfsd is the cul... | Upgrading to gluster 5.3 resolved the issue. There is a convenient PPA available for Ubuntu 18.04: https://launchpad.net/~gluster/+archive/ubuntu/glusterfs-5 | 0 | 1 | 498 | 2019-02-21T02:47:18.843 | infrastructure | serverfault.com | |
188,341 | Cannot Access Non-System Databases in SQL Server Express 2016 | after I allowed someone access to my SQL Server Express 2016 through team viewer, I suddenly cannot access non-system databases. No problem with system ones, but I cannot access my other databases. Any ideas?Please see below screenshot @RDFozz: (Sorry, replies below are disabled) Yes, I knew the user and I am connected... | From the looks of your screenshot, it looks like your query is not connected to the [CODE] instance and is connected to the [CODE] instance (as indicated at the bottom of the query tab). Change the connection of that query pane to connect to [CODE] and I suspect your issue will be resolved. | 1 | 0 | 165 | 2017-10-12T17:36:10.007 | database_errors | dba.stackexchange.com | |
438,295 | Are Oracle Database CPU license limits enforced by software, and how do I check them? | Possible Duplicate: Can you help me with my software licensing issue? I've inherited a windows VM running Oracle Database 10g. Currently the VM has only one CPU assigned to it, but I can boost this up to 4 with our VMWare licenses. What I'm not yet certain about is if the Oracle Software will get upset. Are Oracle DB C... | No, the limits are not enforced by software. You need to keep track of the licenses you have and the software that is deployed and ensure that you are in compliance. Note that Oracle does not generally allow you to use VMWare for hard partitioning of a server. So you would generally need to license every CPU that is on... | 0 | 2 | 656 | 2012-10-14T22:20:24.157 | database_errors | serverfault.com | |
86,906 | How to grade an interaction that a user had with a post with an AI based on big data? | Context I'm creating a social network. The thing is, I don't want to order posts by likes, or something like that , I'm using an AI ( [CODE] in [CODE] ). This AI uses a hybrid recommendation system based on ratings that users have given to posts. For this part, everything works, BUT for testing I was using fake ratings... | If I understood correctly, you will eventually have, after some time, those user ratings right? So, assuming that you will have some labeled data (i.e. user ratings together with the features you say) to train with, you can build a multivariate regression model (you can have a first look at linear models to begin with)... | 0 | 3 | 35 | 2020-12-19T12:11:21.393 | data_quality | datascience.stackexchange.com | |
218,325 | Problem in testing normal form | In the question given in the link https://www.hackerrank.com/challenges/database-normalization-6/problem the answer is 2. But I cannot understand why all the relations are not in BCNF (Since for all non-trivial functional dependencies of the form [CODE] , [CODE] is a superkey of the corresponding relation). Someone ple... | Problems in the exercise Inconsistency In the exercise, it is said: We are given the following relations ... [CODE] Then, a few lines later: The above relation is ... ... What is the maximum possible value of x such that the above relation satisfies the xNF form? The three relations first presented become now a single ... | -1 | 2 | 489 | 2018-09-22T16:35:12.833 | warehouse_errors | dba.stackexchange.com | |
318,261 | Better way of providing access to a single "backend" class to the whole application | My application is growing in complexity. Currently, I have a collection of classes that make up a "Backend", this contains a DataInterface that talks to a database and returns POCO classes, a ModelProvider that wraps them up in models, and a ViewModelProvider that creates views, all dependent on each other. These insta... | That singleton will be a headache to manage, particularly with respect to testing . What you really want to do is inject this dependency into your components (as noted above - this is called dependency injection or inversion-of-control, aka IoC). You can manage which components receive it and substitute it in your test... | 1 | 3 | 149 | 2016-05-12T11:12:40.787 | pipeline_ops | softwareengineering.stackexchange.com | |
889,597 | How to check haproxy sni-based rule with curl? | I made simple HaProxy configuration to pass thorough traffic based on SNI field. Here is my [CODE] [CODE] I run HaProxy using the following Dockerfile: [CODE] and the following command: [CODE] Now I would like to check if the rule called [CODE] will work as expected using [CODE] . [CODE] The result is: curl: (35) Libre... | Figured it out. cURL request is absolutely correct. There were 2 configuration statements missing in [CODE] . In order to make sni-rules work you also need: [CODE] under [CODE] section. | 4 | 4 | 6,705 | 2017-12-25T23:38:42.427 | pipeline_ops | serverfault.com | |
333,767 | New SQL Server 2022 slower than old 2014 server | I'm planning and testing a new SQL Server 2022 install to migrate from an older 2014 database. I've noticed during performance testing some major discrepancies with some bulky queries. Here is a query I use for testing: [CODE] The CLEACUM table is quite big. Around 17M rows over 3.2GB disk space. Nothing insane but sti... | Alright! Turns out it was the [CODE] on 2022 with [CODE] set to 10 on default resource pool. Tried again with [CODE] on 2022 server. Sure first run wasn't as fast as second but it went from 50mins to 2mins. I could see IO improve from the previous painfully slow 1MB/s to now >100MB/s when loading the data. Next run fro... | 1 | 1 | 499 | 2023-12-05T20:12:29.380 | database_errors | dba.stackexchange.com | |
494,527 | Allowing root login on sftp while disallowing it over ssh? | For security I only allow a dummy user to log in via SSH on my CentOS 5.8 server, for this I added: [CODE] When accessing my server I then login with the dummy and use [CODE] to gain root privileges, this works perfectly well. Now I've set up sftp using: [CODE] When I make an ssh tunnel with my ssh client and connect t... | Require key based authentication. Set the [CODE] option. Setup a key that has a force command of [CODE] . Or update your [CODE] with a match section to force sftp. [CODE] | 3 | 6 | 3,714 | 2013-03-29T14:03:37.653 | infrastructure | serverfault.com | |
619,252 | Nginx Hotliking protection pointing at a specific image (nginx as reverse proxy) | I am using nginx as a reverse proxy with apache. I have added this code to prevent hotlinking, and it is working fine so far. [CODE] How can I make it so when somebody tries to hotlink an image, instead of a 403 error, he will get a specific anti-hotlinking image? I tried [CODE] but it didnt work. I don't know very muc... | You can put a rewrite rule inside of the if instead of the return. Somthing like [CODE] might do the trick. | 0 | 0 | 602 | 2014-08-09T17:09:02.050 | api_errors | serverfault.com | |
751,034 | Mounting a drive via systemd unit file on CoreOS unsuccessful | When I'm trying to mount a formatted drive via a systemd unit (from my [CODE] ): [CODE] but unfortunately if fails with a [CODE] error. [CODE] If I execute the mount command manually, it works without problem. Somebody got an idea wha't wrong? Google hasn't got much to offer unfortunately... | Turns out one is probably not allowed to use [CODE] Once I removed this, I was successfully able to start the unit. | 0 | 0 | 587 | 2016-01-22T12:45:04.077 | infrastructure | serverfault.com | |
1,080,319 | Using InTune for BitLocker enabling TPM+PIN+USB | I am tasked with enabling BitLocker via InTune and I am struggling to understand why the following settings are not taking effect on the endpoint. In the OS drive settings [CODE] I have had the solution working for TPM and PIN, but the people I work for want TPM, Key and PIN. When I go to turn on BitLocker in "Manager ... | TPMandPINandStartupKey needs to be configured using the command line. The wizard isn't compatible with that setting. | 0 | 0 | 694 | 2021-10-12T14:43:58.107 | api_errors | serverfault.com | |
147,813 | Can't rebuild master DB on MS SQL Server 2005 Express after power failure | There has been a power loss on our server and I cannot start the SQL service because the master DB is corrupted (as the log states). I found many articles recommending running the setup.exe with optional parameters: This is what I did: I've downloaded [CODE] from MS page and ran it. The first problem was, that it extra... | WEll.. I did it this way: I've installed a new SQL instance on that machine and I've rewritten the old corrupted master.mdf from the old SQL instance with the new fresh one. That allowed me to start the server. Then I attached myDatabase.mdf .. The disadvantage is that I have master.dbf 'from factory / default' | 1 | 1 | 1,646 | 2010-06-03T13:07:44.153 | database_errors | serverfault.com | |
169,337 | Apache Header cache control using Location | I am trying to set two different http headers for cache control for two different portions of our site. These are the lines in my site.conf for the virtual host: [CODE] and [CODE] I can see the headers set correctly for the first set of sub pages, but not for the second set. I feel like I am missing something very smal... | Figured it out -- removed the quotes around the expression and the cache controls are being set correctly. Hopefully, this is helpful. | 1 | 1 | 1,302 | 2010-08-11T14:59:07.750 | infrastructure | serverfault.com | |
1,088,803 | Why dar won't allow me to unmount? | I'm trying to make a multi-volume backup of a huge directory with DAR. This should be possible, according to the tutorial . Or at least used to be. [CODE] The idea here is to get all the files in [CODE] and follow the two symlinks: [CODE] and [CODE] . This takes over a day to run and gets interactive: [CODE] My underst... | What I was missing was the '-p' options, that tells dar to pause after each slice. Unlike regular pausing when it runs out of space, this doesn't use the filesystem and allows user to change the underlying device. Ended up using this command. It's still a bit awkward if you have devices which aren't the same size - you... | 0 | 0 | 37 | 2022-01-02T21:52:20.187 | database_errors | serverfault.com | |
322,008 | Same class and namespace name | I have a problem how to go about naming my namespaces and classes. I already figured they shouldn't both have the same name, as it causes all kinds of problems. Most notable problem for me is that I need to fully qualify the class or make an alias. Here is what I have: [CODE] As you can see, I have 3 classes that are n... | You're right that you shouldn't name the namespace the same as a type it contains. I think there are several approaches you can use: Pluralize: [CODE] This works especially well if the primary purpose of the namespace is to contain types that inherit from the same base type or implement the same interface. Shorten: [CO... | 6 | 12 | 17,786 | 2016-06-12T08:42:31.150 | data_quality | softwareengineering.stackexchange.com | |
156,693 | Would generate a new table help reducing the overall size | I am relatively new to the database design or just database in general so I apologize first if any term or format I use is not super precise. Scenario: Say I have a People table that contains PersonName, with other attributes say profession, as primary key and other non-primary attributes. And for whatever the reason I... | You would not actually save any space using BIT rahter than TINYINT (and would also give yourself more options to add other entities). This is because 8 or less bits are stored in a byte . If you were using multiple bit entries this could save you space, but it's ultimately very limiting. A TINYINT would use the same 1... | 1 | 1 | 44 | 2016-11-29T18:32:45.817 | database_errors | dba.stackexchange.com | |
356,671 | How do other companies handle approved browsers and versions for internal corporate web development hardware? | I am a web developer for a very large IT organization. Our sites see a healthy portion of our traffic from Google Chrome. So as a web developer I have that browser on my development laptop to test our web applications with it. Along with IE 8 (approved corporate default browser) and the current version of FF (which is ... | So now I am unable to support the business requirement of supporting Chrome traffic, and unable to skirt around the unapproved software policy. This is a social problem, so there isn't a sane technical solution to it. (You can obviously do things that violate the security policy, and risk end up getting you fired or re... | 5 | 13 | 321 | 2012-02-03T19:49:29.713 | infrastructure | serverfault.com | |
611,109 | sed fix for BusyBox - boot fail unable to mount LVM | BusyBox why u no vi?! Summary: Ubuntu 14.04 Server after upgrade first boot, only boots to BusyBox v1.21.1 initramfs with "gave up waiting for root device" due to missing /dev/mapper/xxx-root as unable to find/mount LVM VG due to incorrect exclusion filter in lvm.conf Scenario: only have the single kernel 3.11.0-17 (ye... | According to the docs , busybox 1.12.1 has vi. Anyway, here's your sed regex: [CODE] | 0 | 1 | 3,592 | 2014-07-09T02:04:09.260 | infrastructure | serverfault.com | |
905,016 | Windows Server 2016 rds cpu usage per user low | We are running a Windows 2016 Server for our calculations. We have a Intel Xeon E5-1650 machine with 128GB RAM. We use the server for calculations which normaly need a lot of resources for a long duration to keep the load on the desktop computers low. The Users are connected via rds to the server. I observed, that we a... | Windows Server 2016 has no built-in software to limit CPU usage per RDS user. There used to be Windows System Resource Manager however this is deprecated since Windows Server 2012 R2 i believe and not available anymore since Windows Server 2016. Third-party applications can still achieve this. However, if you are sure ... | 1 | 1 | 6,592 | 2018-03-28T14:54:46.317 | infrastructure | serverfault.com | |
89,582 | Why are mBART50 language codes in an unusual format? | I am trying to use mBART for multilingual translation(about 30 languages) but I am facing an issue with using it as I am currently using langid to identify the languages then load mBART and translate all the words based on the language code that has been identified. But mBART uses this odd format for language codes for... | It encodes the language and its regional variant, the same way as locales are encoded. [CODE] then means Hindi as spoken in India, [CODE] would mean American English, [CODE] British English. My guess is that [CODE] means English in general. Anyway, the first part of the locale code is the ISO 639-1 language code which ... | 0 | 1 | 418 | 2021-02-19T06:03:00.730 | data_quality | datascience.stackexchange.com | |
662,599 | extreme ping latency in WDS network | I have setup a wireless network at work office with the following config: 192.168.1.1: TP-Link 941 Router, Root AP, connected to internet 192.168.1.2: TP-Link 901 AP, WDS Repeater, connected to 192.168.1.1 192.168.1.3: TP-Link 901 AP, WDS Repeater, connected to 192.168.1.1 All devices are WDS capable, working on channe... | 100ms is way too much. Something is clearly wrong. How is your security on the wireless part ? What you could check/do: Try to add MAC filters and WPA (if not done so already) so your connections become as good as possible. Check the QoS settings in the router. Make sure there's no P2P heavy traffic (usually this is a ... | -1 | 0 | 2,292 | 2015-01-27T05:56:51.227 | infrastructure | serverfault.com | |
157,258 | Does Microsoft provide paid support for SQL Express? | For instance, if we run into any kind of issues with SQL Express, if we call Microsoft, will the provide technical support? | I can't find any great documentation to back this up other than articles referring to SQL Server 2005 like this one here . I also just tried to create a ticket for SQL Server Express, and the support site lists Express as an option. You can see for yourself by starting here . I've chosen support, developer or IT suppor... | 0 | 2 | 753 | 2016-12-05T20:04:08.423 | warehouse_errors | dba.stackexchange.com | |
226,073 | Which is the best OS for PPTP? | I installed PPTPD on both Redhat and ubuntu, and I found that the ubuntu is more slow than Redhat by testing, that is to say, Need I do some network optimization with Ubuntu? | We use FreeBSD as PPTP terminator because of fully in-kernel PPTP implementation, so it has no overhead for copying packets to and from userspace for en/decapsulation. Quad-core Xeon with hyperthreading handles near 400 users and 250Mbit of PPTP traffic in peak with load average near 2.5, but it needs good Intel networ... | 0 | 4 | 912 | 2011-01-24T09:37:39.610 | infrastructure | serverfault.com | |
548,716 | PowerDNS isn't working as expected (migration from bind) | I am migrating our office DNS servers to powerdns with MySQL backend. We quite often change our internal zone and therefore simple SQL query or web Ui would be much better than editing of text files for each DNS server. I've followed this guide http://www.howtoforge.com/installing-powerdns-with-mysql-backend-and-powera... | Fixed by installing pdns-recursor package and binding pdns to listen on external interface (e.g 192.168.1.x) and use recursor on internal interface (e.g. 127.0.0.1). | 1 | 1 | 1,258 | 2013-10-25T16:34:55.667 | database_errors | serverfault.com | |
20,777 | mysql: show which users have permissions to a DB | Is there a way to show all users that have permissions on a database? I'm looking for something like: [CODE] | Have a look at the Query [CODE] It may give result as you desired. For Reference have a look at How to Get a List of Permissions of MySQL Users. | 1 | 5 | 700 | 2012-07-12T13:11:48.493 | database_errors | dba.stackexchange.com | |
316,533 | Estimate if benchmark sampling difference is significative | In order to estimate the fastest function in various cases in a non fully deterministic context, I'm running an experiment calling one or the other at random and recording the duration of the operation on the production server. I get this kind of table: (numbers grow larger the more I wait) A problem in interpreting th... | Standard deviation is only useful if you have a normal distribution (or similar). The problem with sampling is that often you have outliers or more than one peak - for example in your case you might have: Queries that are not compiled and do not hit any in-memory table. Queries that are compiled but do not hit in-memor... | 5 | 1 | 120 | 2016-04-22T15:47:08.430 | api_errors | softwareengineering.stackexchange.com | |
533,388 | Dell PowerEdge 2950 PCIe Training Error -- No PCIe cards inside | So I recently found myself an old PowerEdge 2950, and when I turned it on (after me almost having a heart attack by the sound of it starting up), during post it halted with an error of [CODE] . The weird thing there, is that there aren't any PCIe cards in the 3 slots. The rightmost (bottom, in the picture) slot however... | The PCI riser card right in the middle? Yank it out. If your server boots the it's either a bad PCI riser, or the PCI slot has "gone bad". I know there's a not-noobish explanation for that, but I don't remember it. If your server doesn't boot with the riser out the it's time for a new motherboard/server. | 0 | 2 | 13,815 | 2013-08-23T23:30:48.980 | infrastructure | serverfault.com | |
12,312 | Planning next sprint in Agile environment? | My boss and I had a meeting today and the topic was concerned with downtime for dev or QA. We currently work in an Agile environment. My boss wants to start working on dev for the next cycle while QA is going on for the previous sprint. His concern is that this goes against Agile convention. The compromise would be tha... | Actually, we're doing this exact thing you mention. Testing in the same three weeks as development is nefarious for testing time and quality overall, as you seem to have experienced. So, we're testing for two or three weeks after the development sprint has finished. By delaying testing for a few weeks, you'll be workin... | 2 | 2 | 340 | 2015-03-02T13:39:57.393 | data_quality | sqa.stackexchange.com | |
20,819 | Apache JMeter Basic Queries | I'm new to JMeter and am confused by several things: Average response time calculation: I was testing a website’s home page to calculate the average response time, i.e. how much time the page takes to load when ‘x’ no of users hit the page simultaneously (ramp up zero)? I hit the home page of the website and I found th... | There could be different reasons hence different workaround, the most obvious are listed below: JMeter calculates response time quite well. You're getting lower response time as you are not downloading embedded resources like images, scripts, styles, etc. Add HTTP Request Defaults and configure it to Download Embedded ... | 2 | 2 | 1,002 | 2016-08-01T13:43:16.410 | data_quality | sqa.stackexchange.com | |
358,047 | solaris + grep syntax in solaris | my target is to match Exactly the string snmpmanager from hosts file on solaris & linux the following command work on Linux (red-hat 5.1) but not for SunOS , please advice how to fit the syntax to solaris? example from solaris OS [CODE] after I fixed it to [CODE] but I don’t get any match output (but snmpmanager alread... | I don't think the standard Solaris (e)grep understands the [CODE] syntax so you would have to use something like [CODE] where [CODE] is Ctrl-V Tab If you use /usr/xpg4/bin/egrep then it works as expected. [CODE] | 2 | 4 | 5,484 | 2012-02-08T16:03:53.630 | infrastructure | serverfault.com | |
98,867 | How can I detect the availability of sp_addextendedproperty on sql server | How can I find out if [CODE] is available before trying to use it in a sql script? I gather it's not available on Azure. (I'm working on this bug , if you're interested). | Use OBJECT_ID to see of the object exists. The function will return NULL if not: [CODE] | 2 | 4 | 255 | 2015-04-25T22:20:49.983 | database_errors | dba.stackexchange.com | |
9,992 | elasticsearch-fluentd helm chart on Openshift 3.11 pod failing | I install a fluentd chart on OKD 3.11 with: [CODE] The pod is created, I can enter in it and I can curl to external elasticsearch successfully. However the liveness probe keeps failing and the pods on timeout get recreated: [CODE] And I can't find any indexes being created in ES. The liveness config is the default for ... | Changing logging driver form journald to json has fixed it. I edited [CODE] , and set [CODE] Then restarted docker on the nodes I needed: [CODE] | 1 | 2 | 354 | 2019-12-02T17:44:12.537 | pipeline_ops | devops.stackexchange.com | |
1,129,797 | RAID1 M.2 SSD (2 Drives) | 1 Failed, I removed and Replaced with a new one, but its state stays "removed" | I have a Ubuntu Server RAID1 M.2 SSD (2 Drives) where 1 Failed, I removed and Replaced with a new one, but its state stays "removed". I am new to RAID Stuff, Below are my RAID Details: cat /proc/mdstat Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10] md0 : active raid1 nvme1n1p2[0] ... | You have to "add" the new device to the array, cause simply replacing isn't enought. Something like this [CODE] Just change the nvme2n1p2 with the correct new device, then check the sync status with [CODE] You should see something like that . . . [>....................] resync = 0.9% (2032768/209584128) finish=15.3min ... | 0 | 1 | 218 | 2023-04-27T07:23:21.847 | infrastructure | serverfault.com | |
265,194 | Truncation error creating clustered index on schema-bound view | I was just creating a schema-bound view that I wanted to put an index on (to try out some computed column variations). I created the view WITH SCHEMABINDING, then I had to create a clustered index before I could create my other non-clustered ones. The underlying table has an INT primary key column, so I was going to ma... | The underlying table has an INT primary key column, so I was going to make the view's clustered index based on that. Here's what Microsoft says about Create Indexed Views : Creating a unique clustered index on a view improves query performance because the view is stored in the database in the same way a table with a cl... | 1 | 0 | 116 | 2020-04-16T17:45:51.773 | warehouse_errors | dba.stackexchange.com | |
1,000,489 | Scaling and Load testing Django Nginx and Gunicorn: 502 Server Error + Resource temporarily unavailable gunicorn.sock | I'm doing load testing with locust to see if my server can handle 1500 users. What I'm using: Django, Nginx, Gunicorn, Postgresql My droplet: 24vCPUs, 128GB RAM, 25GB SSD at about 1100 users I start getting the following errors in locust: [CODE] In my nginx error.log I get the following errors: [CODE] for some reason i... | When load testing you will always hit limits and bottlenecks. In your case you need to increase in gunicorn configuration the [CODE] from the default value of [CODE] to something that your server can handle. | 2 | 1 | 950 | 2020-01-26T23:45:13.487 | api_errors | serverfault.com | |
414,509 | Anti-pattern in which code blocks are indirectly used as parameters | I was recently trying to explain a particular anti-pattern to some novice programmers and found that it was hard to express without an overly-detailed example. I'm sure it has a name and that someone has spent the effort to write a succinct/clear explanation of it, but I have struggled to find it. The anti-pattern usua... | Not all bad code has a predefined type or name. Sometimes, it's easier to express what the code does wrong instead of what arbitrary name we've chosen for it. This code violates the Open-Closed Principle , which states that objects should be open for extension, but closed for modification . Whenever you extend your cod... | 0 | 5 | 244 | 2020-08-05T20:23:09.030 | api_errors | softwareengineering.stackexchange.com | |
64,538 | performances evaluation of image classification with different distribution for train and test set | I am implementing a CNN to do image classification of 4 classes representing different weathers : Haze, Sunny, Rainy, Snowy. I have as training set 3200 images, and as test set 3038 images. The problem is that the test and training set are different set of pictures(so to be clear, I didn't split the dataset, but I have... | How different is the test set from train set, like better/poorer quality? Can you do something to make them similar? And, you might be overfitting the train data. As suggested by piotr rarus, use data augmentation and transfer learning. Also, use early stopping. | 0 | 0 | 716 | 2019-12-10T09:30:33.440 | data_quality | datascience.stackexchange.com | |
750,886 | Windows RODC/DMZ connection to trusted AD issue | I have a really strange scenario...We have a server within a DMZ, which uses an RODC (Read-Only Domain Controller) for user authentication. The users are in a trusted 3rd domain, something like this: DMZserver -> RODC -> InternalDC -> TrustedDC -> User This is all to allow us to RDP/login to the DMZserver. It works cur... | So we seem to have discovered a workaround for the issue at hand. So we pre-populated and replicated the account details and passwords from the Internal Read/Write domain controller to our ReadOnlyDomainController (RODC) within the DMZ sites. Once we had replicated/cached the computer details over to the RODC, this all... | 1 | 1 | 1,720 | 2016-01-21T21:14:47.183 | api_errors | serverfault.com | |
510,180 | nginx wrong IP when checking connections limit | I have lot of times the following line appearing in the nginx error log. This is causing the 50x error appearing to the visitors of the site. We have a multilanguage site that has URL language.example.com [CODE] The client is always appearing as 127.0.0.1 which is quite suspicious. There is a load balancing in place th... | OP stated in comment that this setting solved the wrong IP problem. [CODE] However, the [CODE] could be troublesome in the future. Basically nginx trust all internet host for given the real IP Address via [CODE] header, even from spoofed request. For example (credit to this thread ): [CODE] Above request was generated ... | 2 | 1 | 1,770 | 2013-05-23T09:30:30.283 | infrastructure | serverfault.com | |
302,619 | Assigned Software Installation | I'm trying to deploy a commercial product through Active Directory and a group policy; about a handful of computers are NOT downloading/installing the software. Anyone have any ideas/suggestions on what could be wrong? The computers in question are connecting to the network, have the proper group policies applied, and ... | It's possible that for some reason or another, group policy is either not applying or not refreshing on those machines. You can verify this by running [CODE] | 1 | 1 | 336 | 2011-08-18T15:56:28.023 | infrastructure | serverfault.com | |
337,984 | Can this subquery be optimized by a join? - Even without foreignkeys? | I have a table with two important columns: [CODE] and [CODE] . The idea is that entities are "unique groups" where all rows with the same [CODE] belong to the same "item". I wish to find all rows, which belong to an [CODE] that contains no [CODE] row. So entities where all lines are "disabled". There are no foreign key... | Your current solution performs terribly for two reasons: [CODE] is the worst option when paired with a subquery. Plus, it introduces traps for null values: Your subquery excludes all rows with a null value in one of the columns [CODE] . Thereby including the entity in the result. Also, if the subquery returns any null ... | 2 | 3 | 93 | 2024-03-24T09:40:29.167 | warehouse_errors | dba.stackexchange.com | |
925,309 | How to enable SSL when sending email through Domino | I am using a Domino server to send mail to internet using both Notes client and IBM traveler clients I have a wild card SSL certificate installed for web which is working fine. when looking at the email send to gmail from my Domino server I can see that the email was not encrypted. Gmail tells me that the me that "doma... | When sending email, the server, gmail.com in this example, is the one that offers TLS, and the client, Domino in this instance, is deciding whether or not to [CODE] . [CODE] Reference: http://www-01.ibm.com/support/docview.wss?uid=swg21108352 | 1 | 2 | 1,496 | 2018-08-07T14:47:33.290 | api_errors | serverfault.com | |
441,407 | Exchange 2010: retention of deleted mail for forensics and such | Our organization has a single exchange 2010 server for our ~100 users. I was recently asked to go and do a search for all mail related to some specific key words, and I sorted out how to use Discovery Search Mailbox for multimailbox searches, and it pulled up a ton of hits. But there were seemingly some missing pieces.... | By default, messages that are deleted by a mail user will eventually be purged from the system after a number of retention periods. If what you want is to be able to have access to all e-mail that has ever been sent or received by your exchange org, you need to configure journalling. This will save every mail in a sepa... | 3 | 1 | 509 | 2012-10-23T15:36:10.400 | infrastructure | serverfault.com | |
111,950 | Problem setting up DL360G5 with scsi RAID | I have a problem with reinstalling OS on a DL360G5. The BIOS [F9] do not detect any disc controllers and the HP SmartSetup did not find any compatible controllers. Inside the server, the two SCSI disks are conncted to a RAID controller using BCM8603 chipset. How is disc contoller supposed to be setup? I have tried to d... | It is not in the BIOS of the motherboard. Use the BIOS of the RAID controller. Boot the server and wait until the disk controller BIOS messages shows and press the combination that you find in the message. If you do not see your RAID controller than it might be not work. Unplug the server, then open the server and try ... | 0 | 1 | 667 | 2010-02-11T15:33:37.677 | infrastructure | serverfault.com | |
167,460 | postgres PITR from WAL without changes | I'm trying to do Pont In Time Recovery from wal archive using postgres 9.6 and i got question: when i'm doing recovery procedure first time everything went ok, but when i'm doing some changes in database after first recovery, and then doing another recovery - i can't see any changes since the first recovery. Maybe it l... | Assuming your base backup is still from the original database, it will recover for that timeline. If you want it to follow all the time line switches, then your recovery.conf file should have this line in it: [CODE] | -1 | 0 | 213 | 2017-03-17T13:36:43.850 | hadoop_errors | dba.stackexchange.com | |
13,226 | Test Management Tool Integration with JIRA | My question here is I would like to integrate Zephyr or any other tool with JIRA which could answer all my queries below: What is Zephyr/any tool all about and how its going to work for QA ? What are the advantages when compared to other tools ? Will it support if I want to integrate with other tool ( JIRA ) ? What if ... | Instead of answering to your individual questions, I will just answer the last sentence: Help you finding the solution. For many Test management tools that integrate with Jira, the way of working will support you well ( you are satisfied with questions 3 to 14 ) What will be ( a bit ) different, is their approach to te... | -2 | 1 | 528 | 2015-05-28T13:20:41.523 | data_quality | sqa.stackexchange.com | |
435,921 | How do you make Apache follow symlinks to another directory without chmodding each parent directory of the destination directory to o+x? | For example, I'm having the same problem as in this question: https://stackoverflow.com/questions/7381371/apache-wont-follow-symlinks-403-forbidden My DocumentRoot is located at [CODE] and I'm trying to symlink it to [CODE] . To get it to work, I had to [CODE] every directory down to [CODE] , so for example: [CODE] and... | That obviously depends on the ownership (group) of the folders. You only need to set the global execution for the folders if the apache process does not have access to the folders. If you want to prevent giving global execution rights then reassign the folders to the group the apache process runs as and give execution ... | 0 | 3 | 4,263 | 2012-10-08T06:34:41.327 | api_errors | serverfault.com | |
256,719 | Apache, mysql ivestigation needed! | I have problem with server, all works fine but then suddenly server load increases to 12-25 and when i restart apache and mysql the load is dropping, and after few days 1-2 load again increases :( Can you advice me methods which i can use to investigate and fix this annoying problem? | install mod_status on Apache and mtop for Mysql to be able to see which requests are made. Are you sure that you don't have set up some big values in my.cnf which are taking all the RAM? | 0 | 0 | 38 | 2011-04-07T07:11:13.603 | database_errors | serverfault.com | |
782,425 | samba 4.3.9 ntlm_auth: Memory allocation error (0xc0000017) | System: Ubuntu 16.04 - samba Version 4.3.9-Ubuntu [CODE] This happens after upgrade to 16.04. Is this a bugg? Don't find any more information in logs. Suggestions on how to troubleshoot this? I need this for freeradius connection to samba AD ( http://deployingradius.com/documents/configuration/pap.html ) | Changing --domain=VBA.LAN to --domain=VBA fixed it! | 2 | 2 | 1,187 | 2016-06-07T09:36:40.890 | infrastructure | serverfault.com | |
856,322 | Transitioning from rsync to ZFS send/receive | I recently converted my backup server and offsite backup server to ZFS. I used to use rsync to do incremental backups to the offsite server, but now I would like to transition to using ZFS send and receive (over ssh). The issue I have is that I don't want to send the entire data set over the internet to get the ball ro... | No options. You'll need to copy the data over again. | 1 | 2 | 1,166 | 2017-06-16T22:17:48.053 | database_errors | serverfault.com | |
1,142,961 | SSH Connection Issue: ssh -o MACs=hmac-sha2-256 works, but ssh without options doesn't | I have encountered a perplexing issue with my SSH connection. When I use the command [CODE] , the connection works perfectly fine. However, when I try to connect with just [CODE] , it fails. I've included the verbose output of [CODE] for reference: [CODE] Here are the relevant sections of my [CODE] file: [CODE] I have ... | I have precisely the same issue. It is especially perplexing since I setup my servers with ansible and only ONE has this issue. | 0 | 0 | 911 | 2023-09-04T05:19:38.493 | infrastructure | serverfault.com | |
527,631 | libapache2-mod-php5 uninstalled after update impossible to put back | I use Webmin to administrate my Ubuntu 12.04 x86_64 machine. Yesterday, as often, I got notified of updates and installed them. During the installation process, libapache2-mod-php5 has been uninstalled, and since then I can't restart Apache. When I try to reinstall it I get the following error: [CODE] If I understood w... | I was using the repository ppa:ondrej/php5 in order to have php 5.4 running on 12.04LTS. It happens they upgraded PHP from 5.4.x to 5.5.x, which seems to need Apache 2.4, while I had 2.2. I tried upgrading Apache through another repository, and then it was some features needed by Virtualmin which was incompatible with ... | 2 | 1 | 14,839 | 2013-07-31T14:24:08.313 | infrastructure | serverfault.com | |
252,709 | Give apache user permission to read directory | UPDATE : Saw this question: https://stackoverflow.com/questions/515243/why-cant-my-apache-process-write-to-my-world-writeable-file Could this be SELinux related, currently /etc/sysconfig/selinux is setting to permissive: [CODE] UPDATE Disabled SELINUX, no change. Platform: This on CentOS 5.5, Apache 2 [CODE] gives [COD... | Could be an execute bit problem on [CODE] or [CODE] . Make sure both [CODE] and [CODE] are [CODE] . Also make sure that the apache user's shell isn't disabled (e.g., [CODE] or [CODE] ) | 0 | 1 | 3,061 | 2011-03-02T06:33:55.583 | infrastructure | serverfault.com | |
1,130,059 | Amazon Linux 2023 HTTPD failed to start | I have an AWS instance which I use on demand, I was trying to boot it up and start apache but got this error which I have looked up and couldn't get anywhere near resolving or diagnosing it [CODE] | as it turned out, this is my mistake the /var was mounted on an inaccessible device, more accurately the filesystem format in the /etc/fstab was incorrect. I've corrected the device format and now https and php-fpm are running properly | 0 | 0 | 272 | 2023-04-30T20:05:14.473 | infrastructure | serverfault.com | |
46,855 | Deriving new continuous variable out of logistic regression coefficients | I have a set of independent variables X and set of values of dependent variable Y. The task at hand is binary classification, i.e. predict whether debtor will default on his debt (1) or not (0). After filtering out statistically insignificant variables and variables that bring about multicollinearity I am left with fol... | Deriving a probability value (the continuous variable you are talking about) from the logistic model is a perfectly sound thing to do. The probability value is actually the main output from the model. Getting from the probability value to a decision rule (e.g. from default probability to credit granting decision) is an... | 0 | 1 | 55 | 2019-03-07T11:00:53.920 | data_quality | datascience.stackexchange.com | |
242,132 | How to use OPENQUERY to properly execute a Stored Procedure that updates a linked server table? | I'm having a hard time trying to figure this out. I'm using [CODE] to execute Stored Procedures on a linked server. I managed to find a way to do it, by using the following: [CODE] The reason I use [CODE] OFF and [CODE] is because when I tried the code above without them, this message appeared: Msg 7357, Level 16, Stat... | Try using four-part naming instead of using [CODE] to execute stored procedures via a linked server: [CODE] | 1 | 0 | 11,579 | 2019-07-04T21:09:56.857 | database_errors | dba.stackexchange.com | |
576,139 | dmesg time vs system time time isn't correct | I hope that here is somebody that can help me with this strange problem. I think that i know why it is happening but i don't know how to solve it. Maybe it is because the BIOS time isn't set correct or something like it. But i don't want to change the BIOS time of approximate 400+ servers. (Or change the BIOS batt) [CO... | To verify your theory (which, by the way, is sound), execute the following as root: [CODE] This will show you your hardware clock on the server you are executing the command. To synchronise your hardware clock with your system-time (which is managed by ntp), run the following command: [CODE] The last argument (--utc) t... | 23 | 9 | 18,867 | 2014-02-17T11:58:28.850 | infrastructure | serverfault.com | |
166,170 | Why B-tree indexing is used instead of hash based indexing? | I have an employee table which has index on name. I want to understand how Oracle works at high level My understanding based on resources mentioned below:- DB constructs the index table/map where it will keep the name in sorted fashion with memory location as the value. Question :- My question is will oracle bring all ... | Oracle will not read all the index; only the index blocks needed to satisfy the particular query. The number of blocks will depend on the depth of the index; rarely more than three have I seen in practice, for a single lookup. Here is an example, using a big version of the EMP table. BIGEMP contains just under 2M rows:... | 0 | 2 | 1,438 | 2017-03-04T04:59:06.843 | database_errors | dba.stackexchange.com | |
127,975 | Unit testing methods with indeterminate output | I have a class that is meant to generate a random password of a length that's also random, but limited to be between a defined min and max length. I'm constructing unit tests, and ran into an interesting little snag with this class. The whole idea behind a unit test is that it should be repeatable. If you run the test ... | "Non-deterministic" output should have a way of becoming deterministic for the purposes of unit testing. One way to handle randomness is to allow replacement of the random engine. Here is an example (PHP 5.3+): [CODE] You could make a specialized test version of the function which returns any sequence of numbers you wa... | 39 | 21 | 9,114 | 2012-01-01T19:03:42.517 | api_errors | softwareengineering.stackexchange.com | |
403,878 | VPS Server OS differences | I have two VPS servers. one of them is running Linux and the other is Windows one. I've uploaded same file to their public_html folders and could see them in my browser via static IP address of each one like [CODE] and [CODE] . On the other side there is a device called SMSPrinter that configured to read those XML file... | You are right, there is no reason it would care which web server is serving the content. There is something different between the two that is preventing SMSPrinter from retrieving the page. Sadly there just isn't enough information to give an answer on how to fix it. Here are some things I'd start troubleshooting with.... | 0 | 2 | 87 | 2012-07-01T10:16:22.267 | infrastructure | serverfault.com | |
109,019 | How to find SQL Server database is in use or not? | What query do I need to write to know if the database is in use or not? I tried following query [CODE] but it is not working. I want to check there should not have a open connection with that database and should not executing a query against that DB | Although there are many answers posted I would like to post answer which is not technical but would surely tell you whether database is used or not. There is no PERFECT and ABSOLUTE way IMHO. What you can do is You need to use all above methods speacially one suggested by Remus to see and get idea when was it last acce... | 8 | 3 | 30,973 | 2015-08-04T10:10:27.317 | database_errors | dba.stackexchange.com | |
1,102,794 | POSTFIX - SMTP Authentication fails | I'm pretty new to POSTFIX. When I connect to my LXD containers, some have "new mail in /var/mail/root". As those inboxes are not consulted, I would like to reroute them to another inbox on an Exchange Server (O365 one). I successfully configured other apps with the following parameters: [CODE] I would like all users us... | Since your relay does not specify the reason, "SASL authentication failed" could man different things. It could mean that you are not meant to send your credentials via unencrypted connections. You may have been mislead by the naming of the options, in Postfix [CODE] is a deprecated shorthand to enable opportunistic tr... | 0 | 0 | 1,153 | 2022-06-08T11:34:09.530 | pipeline_ops | serverfault.com | |
382,914 | nginx rewrite with php-fpm | I have debian server with nginx + php-fpm on board. [CODE] this server is for facebook applications. server will host several applications, each application has a php file as an entry point, like history.php, collection.php etc. the question is how to change server config in order to process the URIs like this [CODE] p... | Make sure you've catched all other locations with nginx rules and add this to [CODE] [CODE] | 0 | 0 | 6,032 | 2012-04-25T10:53:28.180 | infrastructure | serverfault.com | |
726,180 | iptables rules not working | I am at a loss to why my iptable rules are blocking access to [CODE] despite [CODE] rule being added I start by clearing out everything [CODE] Then Dropping everything, adding exception for ssh and my 9700 port [CODE] The service works after the clear and stops working after the second set of rules. Note that the rule ... | Can you resolve the name of example.com? If you block access to any name service, your machine won't be able to reach example.com - you would have to add the host example.com and his ip address in the /etc/hosts or add an iptables exception for your DNS. As posted here , an exception for DNS lookups would be: [CODE] ED... | 3 | 4 | 22,901 | 2015-10-02T02:53:02.287 | infrastructure | serverfault.com | |
249,601 | How can I reduce time spent acquiring the mongodb schema lock? | We have a mongodb 4.0.10 cluster, backed by WiredTiger, in production, with a 3 node replica set consisting of a master and two slaves. One of the slaves has another service co-located that queries the slave extensively. In addressing some slowness in the co-located service I'm seeing a lot of surprisingly slow queries... | This is a general architectural problem with the WiredTiger storage engine. It is now being discussed here: https://jira.mongodb.org/browse/WT-5479 Long story short, your number of open files is too high. If you can, consider removing unnecessary indexes, e.g. indexes on small collections. You could also explore the ne... | 8 | 6 | 1,474 | 2019-09-25T16:15:35.123 | database_errors | dba.stackexchange.com | |
380,209 | Modulizing vs Performance benefits | Modulizing software from my empirical experience seems to decrease performance, most of the overhead can be communication of modules, redundancy in computation, storage and depending on the application can be at a less or greater extend or can be optimized by a compiler. So I have been thinking of the benefits of e.g. ... | A module should isolate change. The module boundary should act as a firewall against a design change propagating into the rest of the system. Therefore a module should fully encapsulate a design decision. Changing that decision should only impact that module. Therefore strive to keep as many of your design decisions is... | 3 | 8 | 432 | 2018-10-17T23:27:31.253 | api_errors | softwareengineering.stackexchange.com | |
746,470 | Mdadm raid1 says the last drive attached has failed | I have a software raid1 array. Today I found one of the drives failed to sync, and I got this: [CODE] So I did: [CODE] The devices syned about 25% of the way AFAIK, and then I ended up with mdadm calming the drive that was ok has now failed: [CODE] I am scared now to reattach and cause data loss. What is going on? Is t... | What I would do in this scenario is to first create a new RAID-1 from two (or three) new disks to use during the recovery process. You existing RAID is only about 150GB, and 1TB disks are not expensive, so a brand new RAID-1 from two 1TB disks will be useful during the recovery process. Once that is ready, recover as m... | 2 | 3 | 95 | 2016-01-03T15:33:27.207 | infrastructure | serverfault.com | |
1,028,436 | Setting up autoscaling based on network throughput | I need help in setting up autoscaling based on network throughput. Our front instances are placed inside an autoscaling group. We want the number of instances to increase as a function of network throughput in the whole autoscaling group. i.e. Once a threshold is reached, add another instance. Right now, our setup is b... | The alarm should show you a graph with the value of the math expression as well as the threshold that you can use to see if it looks in line. It may also be that the metric is going over the threshold, but not for long enough to trigger the alarm based on its period length and number of periods. Scaling T3's on Network... | 2 | 0 | 912 | 2020-07-31T12:34:23.860 | infrastructure | serverfault.com | |
528,568 | OpenVPN run script after tunnel is set up | I'm having a hard time figuring out exactly how can I update my A records on my cloudflare account. I have already set up a script that checks for IP changes, and pushes the changes through the CloudFlare API. The problem comes where, because I'm using the [CODE] directive, the script gets called when the TUN/TAP devic... | Did you check: [CODE] instead of [CODE] ? Execute as: [CODE] From the openvpn man: If you are running in a dynamic IP address environment where the IP addresses of either peer could change without notice, you can use this script, for example, to edit the /etc/hosts file with the current address of the peer. The script ... | 0 | 1 | 2,613 | 2013-08-04T13:23:47.663 | infrastructure | serverfault.com | |
284,470 | Does this data processing pipeline design need to be so complex? | I have a data processing pipeline with well defined stages and IO boundaries. I can choose a language to suit the needs of this design. It starts with an [CODE] . At the end of each stage, there is some additional data derived from some or all of the results of previous steps and the [CODE] . That is, [CODE] extends [C... | This sort of problem is well-suited to dynamic typing. That will give you the most straightforward solution, with the obvious trade offs. If you wish to use static typing, you'll have better luck if you don't centralize your pipeline construction. Your stages are the ones who know the most about the types of their depe... | 4 | 3 | 1,625 | 2015-05-20T17:54:43.910 | pipeline_ops | softwareengineering.stackexchange.com | |
130,971 | Error 35338: Clustered columnstore index is not supported | On SQL Server 2012, I want to index a table with a columnstore index. But an error message apears: Msg 35338, Level 16, State 1, Line 1 Clustered columnstore index is not supported. My code is : [CODE] | SQL Server 2012 only supports the creation of nonclustered columnstore indexes. Change your code to: [CODE] In SQL Server 2012 this will make your table read-only. You should probably look at adding all three columns of the table to the columnstore index but I'll leave that to your testing. Note that columnstore indexe... | 2 | 9 | 3,408 | 2016-03-02T07:28:05.937 | database_errors | dba.stackexchange.com | |
208,035 | Graph to show decreasing desirability when taking shortcuts | I'm responsible for creating a presentation to management that details how a system should be refactored or rewritten. We have an existing system that has had production failures and the code base is not in a desirable state. Here are the current possible options: Rewrite the system using developers that provide the be... | The business is interested in time, money, and emotion (depending on the product). I dealt with a similar problem, and presented it from a few different perspectives: It is costing us 'X' per month to maintain TerribleApp, adding no value to the business. If we spent 'X' up front, this project would pay itself off in '... | 2 | 2 | 321 | 2013-08-12T16:57:49.790 | api_errors | softwareengineering.stackexchange.com | |
185,729 | Windows Server 2008 firewall: do I need to set outbound rules? | In Windows 2008 I see inbound and outbound rules, I can open TCP and UDP in both directions. So if I open some port in TCP and some in UDP inbound and the connection works, why do I need outbound rules? | outbound rules are matching connections from your server to another. So if you want to browse the internet (from your server) you need to open at least 80/tcp outbound. | 1 | 1 | 737 | 2010-09-29T09:26:11.087 | infrastructure | serverfault.com | |
752,359 | Mailserver, outgoing mails are not delivered | I have a private root server and use it, among other things, as a mail server. I use a Lotus Domino Server for it (I am or was a Notes Developer) In the last weeks I get reports that my outgoing mails are not received, some work, some not. There seems to be a problem with GMX. Not one of my configs changed. The only th... | SMTP Protocol Returned a Permanent Error Must be followed by a 5.XXX.XXX error code. According with RFC3463 : [CODE] Get the error code, it will give you the failure root cause. | 0 | 0 | 186 | 2016-01-28T10:56:42.257 | infrastructure | serverfault.com | |
714,504 | How to access AD directory user which has no read permission | While doing some testing, I have accidentally revoked Read permission for "Authenticated users" on a user in AD, and now I can not grant it again, because user is "invisible". I've done the following: Open MMC / Active directory users and computers Switch to advanced view (View/Advanced features) Right click the user S... | You will need to do an authoritative restore for that user. That's going to be the most effective way to repair the user account without affecting any other users in your OUs. The official guide to doing that is here - https://technet.microsoft.com/en-us/library/cc779573(v=ws.10).aspx | 0 | 0 | 404 | 2015-08-16T12:39:43.183 | database_errors | serverfault.com | |
154,853 | BCP To Show Full Text Values | I have a long varchar field that I am exporting to a csv with BCP. The export goes as it should, however in the actual cell itself the csv file shows [CODE] instead of [CODE] Am I missing a [CODE] or BCP switch that could force the csv file to show [CODE] ? Or since it is BCP this is the output you get? [CODE] | This works fine for me: [CODE] Providing results: field1 "XXXXXXXXXXXXXX" Force text formatting on the column by adding a preceeding = thus: [CODE] | 1 | 2 | 410 | 2016-11-10T16:21:56.817 | warehouse_errors | dba.stackexchange.com | |
278,676 | Is it OK to deprecate methods that need to be public due to the packaging model but are not to be used outside the codebase in Java? | I am currently working on a semi-large project that has several packages. There are 3 main packages, a "client" package, a "server" package and a "common" package. There are two jars, one for the client and one for the server each containing their own package and the common package. As is implied by the package names, ... | You may need to consider some re-structuring. So it looks like we have [Client] -message-> [Server] and Message (and all derivatives of) are stored in the [Common] package. In your comment you explain that the Message contains a function which gets called by either the Server or the Client depending on which received t... | 2 | 4 | 270 | 2015-04-09T18:02:40.880 | api_errors | softwareengineering.stackexchange.com | |
212,815 | Does BuildRoot influence the RPM installation? | I'm trying to figure out how $RPM_BUILD_ROOT relates to BuildRoot. It's clear that BuildRoot is the temporary path used during RPM construction. But here for example, they say buildroot is used during actual installation? http://www.rpm.org/max-rpm/s1-rpm-inside-scripts.html " RPM_BUILD_ROOT — This environment variable... | No the buildroot is only used during the building of the RPM | 0 | 1 | 753 | 2010-12-15T10:29:20.390 | infrastructure | serverfault.com | |
202,809 | How can I get the minimum sum value of fields without repeating where clause? | How can I get the minimum value after adding value of 2 fields without repeating the where clause? Example: Get records with minimum value of num1 + num2 and deleted_at is null [CODE] Expected result is [CODE] I tried subquery, but I have to repeat the where clause [CODE] | In Sql Server , you can do it with [CODE] [CODE] --the select [CODE] output: [CODE] dbfiddle here | 0 | 0 | 74 | 2018-04-02T05:00:18.987 | warehouse_errors | dba.stackexchange.com | |
1,155,587 | Pass web traffic to VPN endpoint other than the OpenVPN envelope through the VPN itself | I have a Linux server that is an OpenVPN endpoint, but also hosts a webserver. When my client connects to the server address for the webserver, the packets travel outside the VPN. Rightly so, since the route to the server set by OpenVPN is more specific than the default route to enter the VPN. However I see that as a "... | If not using Strict Reverse Path Forwarding ("SRPF"), then no nftables should be used at all. While routed (forwarded) traffic usually works fine when marks are handled in iptables or nftables , locally initiated rerouted traffic because of a mark (in [CODE] chain) usually gets issues: the reroute check which happens i... | 1 | 0 | 121 | 2024-03-02T23:14:14.500 | infrastructure | serverfault.com | |
157,526 | Explanation on how "Tell, Don't Ask" is considered good OO | This blogpost was posted on Hacker News with several upvotes. Coming from C++, most of these examples seem to go against what I've been taught. Such as example #2: Bad: [CODE] versus good: [CODE] The advice in C++ is that you should prefer free functions instead of member functions as they increase encapsulation. Both ... | Asking the object about its state, and then calling methods on that object based on decisions made outside of the object, means that the object is now a leaky abstraction; some of its behavior is located outside of the object, and internal state is exposed (perhaps unnecessarily) to the outside world. You should endeav... | 58 | 94 | 21,630 | 2012-07-20T00:30:47.150 | api_errors | softwareengineering.stackexchange.com | |
803,866 | Enabling Let's Encrypt SSL certificate on Apache for 2 domain names | I tried to get Let's Encrypt certificates for both my www and non-www domain names, then redirect all the requests to https://www.afa-advisory.com/ . I installed certbot on my OVH VPS, then I tried many attempts to get both certificates: 1) I tried an all-in-one command: certbot --apache -d afa-advisory.com -d www.afa-... | A bit late, but did you try to generate certificate for both URL's?, by example: [CODE] I dont use: [CODE] Because this last one, generate different certificate for each hostname. | 2 | 2 | 910 | 2016-09-18T19:51:54.600 | api_errors | serverfault.com | |
177,010 | Idle server with load ~1.4 | I've started a server from Scalr's AMIs. Top shows me ~1.4 constantly. I expect it to be 0 as in all the previous servers I worked with. The server runs mysql 5.1 on ubuntu-10-04 Below you can find the TOP output. What is wrong with the server? How can I find out what is eating the cpu? EDIT: Here are the processes: 57... | As per the comments above, it looks like MySQL is eating up the memory. Show the full processlist above to see if it is doing anything, if not a simple MySQL restart might fix it. If it still doesn't help, the contents of my.cnf will help us diagnose further. | 0 | 2 | 305 | 2010-09-01T15:45:14.123 | database_errors | serverfault.com | |
386,340 | Redirect traffic between two ports with iptables | My goal is to run a webserver on port 3000 and make it available to my network over port 80. The best answer I found so far is this nice one liner. [CODE] But this only effects incoming packages and I would like the client to get his response back from port 80. The next problem is that the webserver should only be reac... | This seems to do the trick. The webserver is now available over 80 and not over 3000. [CODE] | 2 | 0 | 2,143 | 2012-05-05T17:53:12.797 | infrastructure | serverfault.com | |
348,196 | Asp.net Performance Issue | I have been working on Asp.net (Classic), where I need to render the lot of data in Telerik - grid. During loading, its taking too much time. My doubt is which one is causing the impact. Whether the compilation of server side to html controls. DB calls which generate the data. If compilation takes time means, then in M... | There's no way we can solve your problem, but perhaps we can help you find some tools to solve it yourself. System.Diagnostics.Stopwatch is your friend. You can use that to time any of your server side code. Press F12 on your browser (especially if you are using Chrome) and use the diagnostic tools. There are options i... | -3 | 1 | 149 | 2017-05-02T11:55:50.300 | api_errors | softwareengineering.stackexchange.com | |
230,932 | 10 SFF in 1U case, identify please | Could you please identify this OEM/ODM case? I've dreamed about 10 disks in 1U from the day I was born. I know many server brands offer 8, but I wish I can have ten. ) The problem is guys sell it only as full server with warranty included, asking too much. It looks like Intel(or DELL), but it is not. I checked supermic... | That might be the SuperMicro SC116 -- http://www.supermicro.com/products/chassis/1u/?chs=116 | 1 | 3 | 591 | 2011-02-04T00:19:41.253 | infrastructure | serverfault.com | |
814,696 | Can't enable remote management after joining domain | I've got a windows server 2016 DC, and another server 2016 machine. By default, the second machine had remote management enabled (showed up as "Enabled" under Server Manager > Local Server). After joining the machine to the domain, remote management has been disabled. When I try and re-enable it in Server Manager, it s... | If enabling through GUI fails with no error, first of all try to check its current status outside of GUI by using Configure-SMremoting.exe -get and then try Configure-SMremoting.exe - enable - if it won't work out for you it may give you some error message to work with. See more details oh this in Microsoft documentati... | 1 | 1 | 423 | 2016-11-14T00:33:44.547 | infrastructure | serverfault.com | |
233,150 | "CREATE INDEX" Background process in SQL Server | While analyzing our environment, I've noticed a recurrent blocking that usually happens around the same time, our monitoring tool says the blocked process is a "CREATE INDEX", however, the index maintenance is not in-progress when the issue arises. Looking at the details, the command seems to be running in the backgrou... | If you are seeing the same index(es) being created over and over again, this is most likely being initiated by the application. Some applications, particularly reporting or analysis applications, will drop indexes before importing data, and then create them again after the import is complete. Another possibility is tha... | 1 | 0 | 2,309 | 2019-03-26T14:36:26.073 | pipeline_ops | dba.stackexchange.com | |
283,869 | How to select from pdbs with a cdb user? | I have several store procedures, which analyze oracle logs using log miner. These procedures run on CDB user C##ADMIN which created for this manner. Now I want to compare the logged values to the live values, so I need to be able to access each pdb from the CDB. After several searches, I came across [CODE] which looks ... | That error means your listener is not running. Start your listener. This just works normally without doing anything: [CODE] An alternative is the CONTAINERS clause, but that has some serious limitations (queried object must exist in all containers). | 0 | 1 | 707 | 2021-01-24T15:15:15.007 | database_errors | dba.stackexchange.com | |
48,144 | Lock Workstation Glitch? (AD/Windows XP) | I was playing with a lab setup recently (Windows 2003 R2 x32 SP2, Windows XP SP3, Active Directory) and noticed that if I locked the workstation, the following strange behaviour appeared: I have a lockout policy that says that an account is locked after three invalid attempts. When trying this when unlocking the workst... | I don't believe this is a bug. The difference is that the account lock out policy applies to new sessions with new auth and login under default circumstances. In the case of a locked workstation, there's already an active, logged-in session on the box. This can apparently be changed by the "ForceUnlockLogon" registry s... | 3 | 3 | 1,110 | 2009-07-30T16:15:25.007 | infrastructure | serverfault.com | |
999,817 | How to "add" some A records to a "3rd party" DNS zone (using BIND)? | So, I'm not sure how to word the question exactly, but here's what I'm trying to do... (I'm trying to do this with BIND.) My company has it's own internal name servers. Let's say that they are authoritative for " [CODE] ." I want to host my own DNS server locally (and point my computers to this new name server) in orde... | Recent version of bind have a feature called a 'response policy zone', that you can use to override specific records. A very common usage of this is to override www.google.com, www.youtube.com to force safe-search. Some links https://serverfault.com/a/694848/984 https://serverfault.com/search?q=%22response-policy%22 ht... | 0 | 1 | 577 | 2020-01-21T17:51:24.240 | infrastructure | serverfault.com | |
31,462 | Is it possible to run a task on the last day of the month using taskmgr? | I noticed you can only set the day of the month as a positive number 1..31 in the scheduled task GUI on Windows (Windows server 2003). Is it possible to run a task only on the last day of the month? (This isn't a fixed day number, e.g. in February it could be the 28th or 29th day of the month, and in other months it ma... | Create the task using the schtasks command with the [CODE] option: schtasks schedules commands and programs to run periodically or at a specific time. Adds and removes tasks from the schedule, starts and stops tasks on demand, and displays and changes scheduled tasks. Syntax: schtasks /create /tn TaskName /tr TaskRun /... | 3 | 4 | 5,067 | 2009-06-25T09:40:27.543 | infrastructure | serverfault.com | |
979,506 | Documents from Elasticsearch Cluster appearing twice in Grafana | I set up an Elasticsearch cluster with one dedicated master node, two master-eligible data nodes and one coordinating node. The number of replicas is set to one. There are two pipelines in Logstash, each receiving syslog messages from a firewall, converting it to JSON and feeding it into either one of the data nodes. I... | it turned out I misunderstood how Logstash works. Putting two config files in the logstash "conf.d" directory [1] containing "input {}", "filter {}", and "output{} sections does not mean you run two pipelines. Instead, Logstash merged all the files in that directory and now found two separate elasticsearch output plugi... | 1 | 0 | 91 | 2019-08-16T10:48:58.563 | pipeline_ops | serverfault.com | |
645,924 | HAProxy logging to syslog | I installed HAProxy 1.5 via apt-get on ubuntu 14.04 via [CODE] as per this Debian repository selection tool . The problem is it logging to [CODE] instead of [CODE] The setup is basically the default: [CODE] [CODE] [CODE] [CODE] | Very tricky. :-) And here is the trick answer: Notice the file in [CODE] It says to log haproxy into [CODE] But this will not take effect without restarting rsyslog: [CODE] | 18 | 25 | 162,402 | 2014-11-20T20:07:54.807 | infrastructure | serverfault.com | |
369,265 | Troubleshoot Windows Server 2003 ICS | I had a machine running 2003 and the power suppy went out and took the motherboard with it. I was able to salvage the disk drives and bring it back up on new hardware. The problem is that I can't get ICS to work now. After many hours I finally got the other machines on the network to see the server and mount shares. DN... | So I assume Windows is seeing a new NIC? I bet the registry still has ICS enabled on the old NIC but you can't see it in any GUI. I'd google ways to find that NIC in regedit, or ICS settings in regedit, or maybe you can still see the old NIC by enabling "show hidden devices" in Device Manager. Once you get rid of the o... | 0 | 0 | 64 | 2012-03-13T16:06:06.317 | infrastructure | serverfault.com | |
36,603 | Handling concurrent access to a key table without deadlocks in SQL Server | I have a table that is used by a legacy application as a substitute for [CODE] fields in various other tables. Each row in the table stores the last used ID [CODE] for the field named in [CODE] . Occasionally the stored proc gets a deadlock - I believe I've built an appropriate error handler; however I'm interested to ... | First, I would avoid making a round trip to the database for every value. For example, if your application knows it needs 20 new IDs, do not make 20 round trips. Make only one stored procedure call, and increment the counter by 20. Also it might be better to split your table into multiple ones. It is possible to avoid ... | 33 | 15 | 33,648 | 2013-03-13T17:25:47.333 | database_errors | dba.stackexchange.com | |
605,279 | Continuously deploying a Symfony app on Cloudformation | My current plan is to begin hosting my team's Symfony-based app on a load-balanced, autoscaling group generated via Cloudformation. When someone on my team pushes to our Github repo, I would like AWS to automatically pull the latest codebase and install any new packages automatically, with no downtime. The database wou... | Actually CloudFormation works in the lines of creation / setup / reproducing the instance stack quickly. However your requirement is about the latest code-base and releases. Try considering Puppet. Puppet is a configuration management tool, you can coming the power of continuous integration and puppet What is Puppet? -... | 0 | 0 | 312 | 2014-06-15T14:54:06.150 | infrastructure | serverfault.com | |
694,930 | Win Terminal Server/RDS - dynamic printer mapping after session reconnect | I am trying to figure out this Problem: When a user disconnects his/her RDS (on Windows Server 2012 R2) session in Office 1 and reconnects in Office 2, then still all the Printers relevant to Office 1 will be mapped. First idea was to use the Task Scheduler to run a powershell script on trigger "Session reconnect" whic... | Unfortunately I think your best bet here is to have a script that the user can run themselves when they reconnect. There are several things that make it difficult for you to have something do this automatically (some you've already seen): [CODE] is a User level environment variable (it's different for each user on the ... | 1 | 0 | 666 | 2015-05-28T08:38:47.640 | infrastructure | serverfault.com | |
986,177 | Kubernetes update results in pod stuck on terminating | I am facing a problem with kubernetes deployment. This is probably going to be a low-quality question, I'm sorry about that: I'm new to server management and I'm not able to contact the person that set up the servers in the first place, so I'm having a hard time. My configuration (in the testing environment) consists i... | This is caused by limited cpu resources and your liveness probe configuration combination. The pod fails to deploy because there is not enough cpus and it is stuck in pending state: [CODE] Liveness probe: [CODE] which is set up to catch http-get with only 1s timeout, 45s after deployment. Your pods fail that catch almo... | 0 | 1 | 2,086 | 2019-09-30T08:44:38.070 | pipeline_ops | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.