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 |
|---|---|---|---|---|---|---|---|---|---|---|
264,757 | Design Sql Server physical configuration from existing VM | We have 4 virtual machines that we used to test our BI platform (PoC), the final dimensions are: SSIS (16 vcpu), SSAS (8 vCPU), SSRS (4 VCPU) et Data Engine (24 vCPU) What are the recommendations to install these components to a physical server? For SQL Server performance, VMware recommends (chap. 3.5.2) setting the nu... | That means that a VM with 16 CPUs will have 16 vCPUs with 1 core each. Not exactly, that means initially a Host with a CPU of 16 cores should only have 1 VM with 16 vCPUs or 2 VMs with 8 vCPUs each instead. But as the chapter 3.5.2 Allocating vCPU says: if the physical server that the various SQL Server workloads curre... | 0 | 1 | 138 | 2020-04-10T14:45:38.613 | database_errors | dba.stackexchange.com | |
101,965 | Print to console as SQL executes | When executing multiple SQL commands, such as in the pgAdmin SQL Editor, how can I print some strings to the console (output pane in pgAdmin). I want to monitor execution. [CODE] My question is the same as this StackOverflow Question . Or, as Craig Ringer interpreted that Question: Do you wish to observe SQL queries th... | The only way I have found is through a stored procedure [CODE] So, executing [CODE] Will produce (for example) : [CODE] I'm not sure if this can be done without the [CODE] and the [CODE] message. But it works. | 2 | 5 | 21,088 | 2015-05-19T22:08:29.760 | warehouse_errors | dba.stackexchange.com | |
473,715 | CentOS : showing error message No space left on device | I am using CentOS-5.5 its not stasting. while booting its showing "GDM could not write a new authorization entry to disk.Possible out of diskspace.Error: No space left on device" if press then showing one more message "Could not start X server (your graphical environment) due to some internal error. please contact your... | It's true. You ran out of disk space. Delete some unnecessary files and then try again. | -4 | 4 | 3,948 | 2013-01-30T04:55:31.850 | infrastructure | serverfault.com | |
609,203 | Rewrite Rule before Proxypass | Having an application running on port 10001 I would like to have a reverse proxy to serve it on [CODE] . The only problem is that there are hard linked scripts to [CODE] That means [CODE] shall get me to [CODE] and [CODE] should first rewrite the request url to [CODE] . My configuration: [CODE] It does not work: [CODE]... | you have a typo in your pattern, try [CODE] instead of [CODE] (latter will never match) | 9 | 7 | 31,516 | 2014-07-01T09:09:11.583 | infrastructure | serverfault.com | |
311,739 | SQL Server Timeout only on production | I have an API endpoint that runs a query. For some reason, when I hit the production endpoint the query times out (after 2 minutes) but when I hit the same endpoint locally with my local environment connected to the same production DB the query runs in a couple of seconds. Is there a reason why this might happen? The i... | Assuming your prod environment is setup with AG listener scaled across multi subnet, with such multi subnet setup the intermittent timeouts would happen without MultiSubnetFailover=True setting as part of your connection string. Also, setting appropriate values for RegisterAllProvidersIP and HostRecordTTL will help con... | 0 | 1 | 540 | 2022-05-05T20:34:21.727 | database_errors | dba.stackexchange.com | |
80,759 | "Wrong affix file formate for flag" while loading dictionaries from LibreOffice in PostgreSQL 9.3 | Trying to get good TEXT SEARCH results out of PostgreSQL in English, German and Dutch made that I downloaded proofing tools of LibreOffice (tried of version 4.3 and 3.3) and iSpell. I placed the files in the "tsearch_data" dir and renamed them so PostgreSQL would find them. I now have: [CODE] All of them give the same ... | So I found the answer for Debian at least. Hunspell is the successor of Myspell, and they ship with your distribution (in my case Debian). These are the dictionaries you can use. You can install these by executing [CODE] These dictionaries are installed in [CODE] or [CODE] . The PostgreSQL dictionaries that are automat... | 2 | 2 | 508 | 2014-10-21T16:30:44.377 | database_errors | dba.stackexchange.com | |
415,336 | Microsoft Outlook asks password whenever user changes passwords | I have 10000 users with different OUs, groups. We have a Windows 2008 AD server and a Exchange 2010 mail server. Clients are using Windows 7 64-bit OS and Outlook 32 bit. Whenever users change their password, Outlook and Lyncs keep on prompting passwords from the user even after the users enter the correct credentials.... | You've got Basic or NTLM authentication enable for Outlook Anywhere (on your Exchange Client Access server(s)). This has the negative side effects that your clients store the password in the Windows Vault, and that your Exchange server(s) are susceptible to the recently released NTLM security bug (which makes your Exch... | 3 | 4 | 433 | 2012-08-08T03:58:19.727 | infrastructure | serverfault.com | |
60,174 | Pandas Merge question | I have a dataset where for each date I have two values say A and B, there are dates when one of the values is missing [CODE] I want to make sure for every date, I have the date for A and B. One way I can think is to have driver table with all distinct dates and data for A and B and then do left join. Is there any bette... | I think you have listed the main ways of doing it - you can achieve it by iterating or merging. What is "best" will depend on your use case. Here is a way to do it by iterating over a dataframe. This way gives you more control about what gets filled i.e. you could add more conditions on which values to fill in. I first... | 1 | 2 | 87 | 2019-09-13T22:46:40.817 | data_quality | datascience.stackexchange.com | |
280,912 | SSH Tunnel Not Working As Expected | I'm trying to tunnel through a public IP to a private server's port 80. I know for a fact that apache is running on port 80 because if I ssh into the public IP I can access the private server via lynx just fine. The command I am using is as follows: [CODE] Then accessing http://localhost:9080 says unable to connect. I'... | So the issue was a few things. The web application is running over SSL so I had to do port 443 instead of 80 For whatever reason, you can't forward 443 to a different local port. So I had to forward to 443. The final command looked like this: [CODE] | 3 | 3 | 2,697 | 2011-06-16T00:55:46.003 | infrastructure | serverfault.com | |
192,913 | Disabling password change for a MySQL user | Is it possible for MySQL users to prevent/disable changing their password with just the USAGE option? There are no global permissions allowed. I tried to google, but had no luck. | One way to achieve this could be by using pluggable authentication . This way the password is stored externally and therefore can't be changed from within mysql. This allows you to use PAM, LDAP or other authentication services. For PAM , assuming you have configured PAM already in your OS (assuming Linux below), then ... | 0 | 3 | 1,068 | 2017-12-12T10:45:34.877 | database_errors | dba.stackexchange.com | |
585,421 | nginx proxy_pass receive content/status headers when http 4xx | Was having some trouble as chronicled here - https://stackoverflow.com/questions/22570550/play-2-2-1-simpleresult-4xx-response-body-possible-via-cors-xhr But I didn't focus on nginx since the 200 OK happy path was working as expected. It was 400 level http errors that weren't working as expected. I wasn't receiving a b... | Check your entire nginx configuration and make sure you didn't set [CODE] somewhere. This setting should be [CODE] in your scenario. | 0 | 0 | 1,389 | 2014-03-30T06:10:45.517 | api_errors | serverfault.com | |
841,470 | Netflix using self signed certificates? | I recently ran into problems running an apple tv with netflix at my work. After some digging around our sonicwall firewall with one of their support techs we found the service being blocked by the certificate netflix was passing. Apparently the certificate Wasn't passing the "Detect Certificate signed by an Untrusted C... | so my new question would be how do you check if a certificate is good or bad? I would check with [CODE] : [CODE] Which basically says that from openssl's perspective (and assuming you have the 'typical' set of ca certificates, i.e. those pulled in by your OSes version of [CODE] ), the Netflix cert is valid. However, do... | -1 | 0 | 399 | 2017-03-30T05:09:13.973 | infrastructure | serverfault.com | |
976,424 | How do I report an Ansible command/shell task as changed in check mode? | In my Ansible playbook I have this: [CODE] I do not want to run B in check mode (hence, no [CODE] ), but I want to report it as changed if it would have been run in non-check mode. I want this behaviour, because I do not want surprises when running in non-check mode . However, despite having [CODE] and having set a con... | I know this is kind of old, but I'm looking for the solution to this problem. I'm also tired of surprises with command module as OP. What if we change the 'command' part so that it executes a different command in check mode. And we run the task always, even in check mode. Note: Before you complain, I know this is a bad... | 4 | 3 | 4,835 | 2019-07-23T23:04:24.753 | pipeline_ops | serverfault.com | |
104,627 | Delete data from multiple related tables | I am using a PostgreSQL server. Suppose I have 200 values in a master table that need to be deleted. There are 9 other tables referencing this master table. The other 9 tables not only reference the master table, but reference other tables also. The 200 values in the master table are spread out in other 9 tables. I wan... | You can use Jailer tool, it will find all rows of child tables that reference to master table. Example: I have 4 tables : employee, employee_detail, phone_address, relationship. I want to delete employee which name="JOHN". With Jailer, it will find rows in employee_detail & relationship which FK to "JOHN" (by id). And ... | 1 | 1 | 1,047 | 2015-06-19T23:55:52.677 | database_errors | dba.stackexchange.com | |
284,820 | Foreign Key Constraint into an different database | An SQL server hosts all the data for multiple entities (e.g sub-companies or organizational units OU). An "enterprise" database holds the "enterprise" data such as configuration data, data about processes that are enterprise-wide ones, and at least one lookup table which stores the data about all the OUs. The initial d... | Would you replicate the OU table ...? Yes. Because local lookups of master/reference data are important for application performance, reliability, and to enforce referential integrity because this: an FK to an external database is not possible. | 2 | 2 | 292 | 2021-02-06T00:40:42.763 | database_errors | dba.stackexchange.com | |
484,170 | Nginx FastCGI in subdirectory only? | I have a single domain where the root is served by a python application running under uWSGI. I however need to run a PHP forum on a subfolder /forum/. I have the following in the [CODE] configuration file: [CODE] However, [CODE] is sent to the uWSGI app and [CODE] , whilst being handed to FastCGI, returns [CODE] and lo... | Your [CODE] block isn't setting the appropriate root directory, so PHP isn't finding the script. Try something like this (replacing both your forum location blocks): [CODE] | 3 | 4 | 4,248 | 2013-03-03T00:21:35.217 | infrastructure | serverfault.com | |
606,620 | MySQL shutting down without warning, out of memory? | I'm scratching my head on this. I have New Relic tracking, and my log files on the server, but MySQL keeps stopping, and all I have is this when I check logs, New Relic has nothing. Only thing I'm seeing is the "Initializing buffer pool, size = 128.0M", am I just running out of memory? [CODE] | errno 12 does indeed mean [CODE] , so you are running out of memory somehow. You should reduce your virtual machine's memory consumption or give it more memory. | 1 | 3 | 1,237 | 2014-06-20T00:50:49.223 | database_errors | serverfault.com | |
4,234 | Adding a persistent volume to a Kubernetes deployment from Gitlab Auto Dev-ops | Recently, GitLab partnered up with Google Cloud to provide automatic deployment to Kubernetes clusters directly from project repos. I enabled Auto Dev-Ops on my project, which just contains some Node.js and a Dockerfile, and as if by magic, I have a working deployment (after figuring out that I needed to make sure the ... | The answer is that all Auto Dev-Ops deployments at present use Helm to package and deploy your application. In order to make changes to the deployment, such as adding a persistent volume claim, you should download and modify the Helm chart that GitLab uses . The files in this repo should go into a new directory [CODE] ... | 1 | 2 | 1,127 | 2018-06-03T21:44:52.170 | database_errors | devops.stackexchange.com | |
366,016 | Unable to print multiple copies | I have a HP4000 printer that I just added a network card to and now I can not print multiple copies with it. My OS is Windows 7 (64 bit). I am using a PCL5 print driver. anyone have any ideas of how I might be fix this. | I changed the driver from a PCL5 to a PCL6 and it seems to have solved the problem. (From comment by OP.) | 0 | 0 | 239 | 2012-03-03T17:40:38.220 | infrastructure | serverfault.com | |
538,215 | FreeNAS FTP Error: 425 Unable to build data connection: Operation not permitted | When I try to connect to SSL enabled proftpd as installed on Freenas 8.3.0, I see my client feedback output saying that AUTH TLS is working, the connection goes encrypted (as confirmed by Wireshark) and everything goes as far as: [CODE] After a while of nothing happening I get: [CODE] The exact same configuration, less... | This is an issue with a bit of both pieces of software. Your TLS log for proftpd will probably be saying something like this: [CODE] So the directive that is needed to resolve the issue is [CODE] . BUT, you can't simply add this to directives to append to the conf file in the FreeNAS GUI, because interally it already u... | 0 | 2 | 3,467 | 2013-09-11T20:42:41.970 | infrastructure | serverfault.com | |
49,086 | How to measure the performance of a domain adaptation /Transfer learning technique? | Given that the performance you achieve depends on how far the target from the source domain is, how can you judge the performance of an algorithm? | You can measure the divergence between the source and target domain using KL-Divergence (there are some ways to estimate k-l divergence e.g. depdended on k-nn algorithm). Then you can check if there is a correlation between the divergence and the accuracy of the models considering a few cases of source-target pairs of ... | 0 | 0 | 318 | 2019-04-11T00:49:49.407 | data_quality | datascience.stackexchange.com | |
838,937 | Php error_log wont write errors to log | I have moved my site to the production server (WHM) and my error logging in my php code is now not working. I can see it is logging system php errors, but if i try and log anything myself from [CODE] it wont write the error. I can see that [CODE] returns [CODE] in my code. I have no idea why the system can write php er... | The second parameter of [CODE] indicates message type. As per the specification , [CODE] means: message is sent by email to the address in the destination parameter. This is the only message type where the fourth parameter, extra_headers is used. The destination parameter would be the third parameter that is not given ... | 1 | 0 | 888 | 2017-03-17T14:29:34.040 | infrastructure | serverfault.com | |
940,369 | Strongswan: “received NO_PROPOSAL_CHOSEN error notify” while connecting to Cisco Router | I'm trying to establish an ipsec connection from a raspberry pi with Strongswan (Linux strongSwan U5.5.1/K4.14.50+) to a Cisco Router. This is the Strongswan output: [CODE] This is the ipsec.conf: [CODE] On the Cisco I have configured this: [CODE] I think I might have the wrong parameters set at ike and esp in the ipse... | The ESP proposal in the strongSwan config must match that of the Cisco box, so change it to [CODE] , or, alternatively, modify the Cisco config to use SHA-1 as integrity algorithm. Be aware that these are all very weak algorithms. | 1 | 0 | 9,243 | 2018-11-16T15:50:43.757 | infrastructure | serverfault.com | |
548,492 | Apache on CentOS 5.9 VM serves modified files incorrectly | Edit: this has been almost entirely rewritten as I've narrowed down the issue. I'm using a Vagrant VM to mirror the client's environment as closely as I can. I'm using VirtualBox 4.3 (with Guest Additions 4.3) with Vagrant 1.3.5, and the server is running CentOS 5.9, Apache 2.2.3-83, PHP 5.3.3, and Drupal 7. When the s... | This is most probably the issue with VirtualBox's buggy [CODE] implementation. Try setting: [CODE] The equivalent for nginx: [CODE] | 1 | 3 | 266 | 2013-10-24T21:19:49.170 | data_quality | serverfault.com | |
394,690 | How to keep user logged in when using OpenID Connect & Cookies in dotnet core? | I'm working on an OpenID Connect Hybrid flow, basically the response type in my case is: code id_token Problem: I can't seem to persist the session of the user when logged in using the id_token. I built the app using .Net Core's built in OpenID Connect authentication handler and Cookies handler. However, the cookies ar... | I did this myself recently and it's a bit of a pain, largely due to the limitations on the extension method setup methods which restrict your control over the component, forcing you to use CookieAuth when you don't really want to. What I setup was Cookie, JWT and OpenIdConnect authentication. in the cookie auth we forw... | 1 | 1 | 7,257 | 2019-07-15T11:03:39.370 | api_errors | softwareengineering.stackexchange.com | |
129,319 | How to select rows based on other tables - MySql | I have tables like this: CheckTable [CODE] UserTable [CODE] I want to select only the rows from the [CODE] that do not have the user id row in the [CODE] I could just select all the users, loop through the rows and then run another query checking if the [CODE] is in the [CODE] , but that would be slow. Is there any MyS... | Is this what you're looking for? [CODE] If this is not suitable, please expand. Possibly with table definitions - (SHOW CREATE TABLE My_Table\G) and some sample data - (INSERT INTO My_Table VALUES(....)), and finally, the result you want with the logic you used to obtain it. With further research, you might also find t... | 1 | 2 | 91 | 2016-02-15T17:29:43.413 | database_errors | dba.stackexchange.com | |
14,409 | Decent hardware (< $1.500) for Hyper-V dev/test machine | I'm looking to build a decent The parts list I was thinking of is: Intel Core I7 920 $288.99 (fastest affordable desktop proc. Hyper-V compat.) Asus P6T Deluxe V2 $289.99 (Confirmed Hyper-V compat. Confirmed 6 dimm working, 2x GigE) 12GB - 2x CORSAIR XMS3 6GB (3 x 2GB) $360 (On Mobo compatibility list, low heatsink pro... | About the silent part - I did a writeup recently on how to build a silent PC using the Antec Mini P180 case. I've been very happy with it - even with five SATA drives, it's hard to tell it's running. I'm an Apple fanboi, all about the silent machines, and if I say it's quiet, it's really quiet. http://www.brentozar.com... | 2 | 1 | 1,292 | 2009-05-29T10:26:05.333 | api_errors | serverfault.com | |
317,774 | Centos 5.6 NetInstaller network issues | I burnt into a CD the netinstaller provided by Centos 5.6. At boot time the installer comes up and after I choose the HTTP option for installation I choose the "Dynamic IP configuration (DHCP)" option. Now, a popup saying: [CODE] is stuck and nothing happens. I have connected a cable from the computer to the router.. A... | Assuming that the router works and you were able to use the same PC (or another PC) to obtain an IP address, I suspect that the installer is looking for an IPv6 address. I recall that in a number of cases, the installer will hang if it is unable to obtain an IPv6 address (not sure if it is because the router does not s... | 0 | 0 | 268 | 2011-10-02T22:07:03.670 | infrastructure | serverfault.com | |
991,916 | How do I send secure cookies using node and a ProxyPass/ProxyPassReverse (Httpd/Amazon linux) | I am still pretty new but I am using an Amazon linux image and httpd to encrypt and decrypt SSL requests. Then I Proxy those messages to and from a NodeJS app running on port 3001. To do this I have the following in my [CODE] [CODE] The public site works great. However, when I try to set a secure cookie using the follo... | I found this in a question and it worked for me (although I can't find the question now)... [CODE] Then I just stopped setting it as secure in node and everything seems to work fine. | 1 | 0 | 1,987 | 2019-11-14T23:26:02.943 | infrastructure | serverfault.com | |
554,675 | how to put policy on emails sent through php/mail scripts in linux | when an email is sent through network or email authentication using some mail client, it will surely pass through postfix smtpd and we will be able to track/put policy/ and add restrictions to it, but how the emails from the scripts can be tracked? as they do not pass through spmpd.. Is there any way to catch those ema... | You need to use the [CODE] value; see the postfix docs . A few examples are here . | 0 | 1 | 228 | 2013-11-13T11:31:11.420 | api_errors | serverfault.com | |
422,495 | Download and apply or apply as they download, is there a best practice? | I am writing a function that will download an HTML post. Having downloaded the string I will: strip off the html tags remove special encoding characters like \n remove trailing white spaces My question is: should I first download all the content and then proceed with the modifications or should I apply the modification... | Sorry, there is no "best practice" telling which of the two ideas is "better in general". There is only one "best practice" here you can apply: Implement it in the way which is most simple for you - based on your current tool set, your current knowledge and the available existing code base in your system. That should n... | 4 | 6 | 85 | 2021-02-20T10:10:05.373 | api_errors | softwareengineering.stackexchange.com | |
370,296 | Optimal Immutable Data Structure for Highly Dynamic Particle System | Trying to see if immutability is a good fit for highly dynamic objects like game entities (that constantly are moving around and changing) or particle systems, each which might have thousands or millions of objects moving around. Wondering if it's even theoretically possible. I would like to know how to create a high p... | Immutable data structures are best suited for systems where the majority of data managed by an application stays unchanged (or can be modeled in a way so it stays unchanged) the changes to the data can be applied or modeled as a sequence of small differences to the previous states I did not implement a dynamic particle... | 4 | 8 | 886 | 2018-05-01T23:04:05.290 | api_errors | softwareengineering.stackexchange.com | |
443,516 | How can I measure actual memory usage from my running processes? | Possible Duplicate: Meaning of the buffers/cache line in the output of free I have two servers, server1 and server2. Both of them are identical HP blades, running the exact same OS (RHEL 5.5). Here's the output of [CODE] for both of them: [CODE] If I understand correctly, server2 is using significantly more memory for ... | This really isn't a problem... Are you trying to solve something? The other suggestion about freeing your page cache, inodes and dentries via the VM subsystem's drop_caches parameter is appropriate. Try that first. See: http://www.linuxinsight.com/proc_sys_vm_drop_caches.html for background and context. If you're reall... | 1 | 2 | 816 | 2012-10-29T21:57:36.010 | data_quality | serverfault.com | |
602,150 | How to get count of email accounts per user in cPanel? | This question is similar: Finding out the total number of email accounts in a cPanel server which I would love to comment on, but can't because of reputation. This one-liner works well to get a total count of all email accounts. [CODE] How can I modify this to return a count per user account? | Alright, this is really hacked together being my first bash script, but it works for what I needed. Create a file: [CODE] Copy and paste the script below. [CODE] Save and exit. Make the file executable: [CODE] Run the script: [CODE] | -3 | 0 | 1,490 | 2014-06-05T18:47:09.393 | infrastructure | serverfault.com | |
703,848 | RemoteApp Custom image + o365. Outlook cant find account | I have deployed a custom RemoteApp image with applications + office 365. When i start Outlook, i get the error: We are having trouble connecting to your account. Verify the settings below and make changes if necessary. Other Office applications work perfectly (including getting the o365 licence). How can i fix the erro... | Maybe your Azure environment did not pickup the autodiscover added to your domain. So please check your internal DNS record for autodiscover. | 2 | 2 | 80 | 2015-07-06T16:30:11.703 | infrastructure | serverfault.com | |
160,803 | Transaction isolation level - Read committed and select on large tables | I am trying to troubleshoot an issue in a report and wondering if the below scenario is possible. I have a tables which is 548GB and there are reports which sometimes select 5 years of data which could be alomost the entire table. The table has a non unique clustered index. I read about read committed isolation levels ... | In general, the storage engine has two options to perform a clustered index scan: an allocation order scan or an index order scan. For an allocation order scan, the storage engine reads the data in file order. In your scenario, this could result in the data from the insert showing up in the first query. For an index or... | 1 | 1 | 468 | 2017-01-12T01:13:00.507 | warehouse_errors | dba.stackexchange.com | |
716,760 | How to get SCCM to recognize return codes from Powershell script completion? | I'm using an SCCM 2012 application deployment to install software. The specific install type is scripted installer as SCCM kept failing for exe validation errors. The script is powershell and successfully installs the software even when executed by SCCM. The problem is that SCCM only sees the return of 0 from the compl... | There is a known problem with powershell exit codes (see the end of this answer) that can manifest when using powershell installation scripts with SCCM. To workaround the problem, I take two measures: I always have SCCM invoke a batch file which runs the powershell script by invoking [CODE] explicitly. I ensure that ev... | 9 | 9 | 38,105 | 2015-08-25T20:56:43.193 | pipeline_ops | serverfault.com | |
1,088,494 | How to create a new user with sysadmin privilege in Azure SQL Server? | I need to create a new user with sysadmin privilege. I went to the Azure portal > Query Editor. Then I run this commands. Unfortunately I got this error: Any help is welcome. | Query editor doesn't support connecting to the master database. In order to create new users, you have to use sql server management studio and connect to cloud sql server then create login. Azure sql documentation | 1 | 0 | 989 | 2021-12-29T16:11:22.427 | database_errors | serverfault.com | |
77,038 | Set method to change StartMode property using SqlServer.Management.Smo.Wmi.Service | I'm trying to change SQL server Configuration manager settings using [CODE] . Microsoft provided with a list of methods & properties here. I used the following code to change the Service account of a particular service: [CODE] because there exists a method called [CODE] . But I do not understand/know how to set [CODE] ... | Hopefully I can answer your question and explain how I did so. To alter the service start mode using your code above you run [CODE] You can establish by using Get-Member as shown below [CODE] In the list of results you will see StartMode Property Microsoft.SqlServer.Management.Smo.Wmi.ServiceStartMode StartMode {get;se... | 2 | 2 | 576 | 2014-09-18T21:46:56.567 | database_errors | dba.stackexchange.com | |
248,388 | TightVNC to an Ubuntu desktop on EC2: the letter d doesn't appear when typed in Terminal | I followed this article and I have the desktop running on Ubuntu on an EC2 instance and I can connect to it from TightVNC. When I try to use Terminal, when I type certain characters, they seems to get lost. For example, I can type passw but the when I try to type d that character doesn't appear. If I then press Enter, ... | Not exactly and answer but VNC is a mess. I suggest you migrate to NX. Its faster and uses ssh by default. I use FreeNX on Ubuntu on EC2. edit: I was able to replicate this bug. Possible solutions: http://linuxexpresso.wordpress.com/2010/10/17/howto-ubuntu-vnc-encoding-server/ https://unix.stackexchange.com/questions/1... | 1 | 1 | 2,073 | 2011-03-17T02:02:55.160 | infrastructure | serverfault.com | |
376,433 | NIC Teaming with Broadcom on HyperV 2008 R2 | I have a HyperV cluster made up of 3 hosts. Each host is connected to both of my Nexus 5548 switches running in an etherchannel. LACP on the switch and NIC teaming using Broadcom 802.3ad on the server side. This gives me 2GB of bandwidth and also provides fault tolerance. The problem I am having occurs when I perform a... | Okay. After 3 weeks of intense battle I finally got it all figured out. I opened a case with Broadcom support and after going back and forth for a few days here is the response I received from a Broadcom software developer. Seeing a (vm_ipv4, host_mac_addr) or (vm_ipv6, host_mac_addr) pair on a remote station or switch... | 7 | 3 | 6,428 | 2012-04-03T20:16:26.400 | database_errors | serverfault.com | |
377,131 | Code quality on backports branch with limitted lifespan | JuliaLang just hit version 1.0 the other week I and many other package maintainers have thus updated out packages to work with julia 0.7 (the transitional release) and 1.0. In doing so, we've often created a backports branch where hot-fixes and other backported features can be made available to users of julia 0.6 (the ... | If I had a dollar for every time I heard "It will be dropped in X months, don't bother"..... But in your case you are the person who decides how long to maintain the version and how much work to put into it. Have you got lots of paying customers on 0.6 who will not bother to upgrade? Does it cost you lots of money to s... | 3 | 5 | 166 | 2018-08-20T07:03:59.120 | api_errors | softwareengineering.stackexchange.com | |
288,161 | slow login into active directory | I have setup users to log in through active directory setup on windows server 2008. When they try to login in to their machines it takes two minutes just to log on. What could be the problem? The machine only runs active directory no other network services. | Usually "slow logon" problems are DNS resolution problems at the client's side. Check if the clients are using AD DNS servers (AD DNS servers only , not your provider's DNS servers, not your router's DNS service - really just the ones of your AD). Also check if the name registrations for your DC(s) are correct - use th... | 2 | 4 | 10,130 | 2011-07-08T05:59:26.967 | infrastructure | serverfault.com | |
266,868 | Is MariaDB easier and better suited for a WordPress website? | I've been having problems with MySQL 8.0.20 on Ubuntu 18.04, and because I don't have a lot of knowledge on databases, I was thinking on switching to MariaDB as I heard it has better settings and performance out of the box. So: Is MariaDB a better solution for someone who is still learning database? Can I just bring th... | 1) There is very little difference between MySQL and MariaDB, especially for a beginner. Stick with whatever ships with your preferred Linux distribution. 2) You cannot do this even between different versions of MySQL and MariaDB. 2.1) You can only upgrade in-place, and not downgrade. If you need to downgrade, you will... | 1 | 0 | 135 | 2020-05-10T13:34:53.030 | database_errors | dba.stackexchange.com | |
372,820 | Dealing with permissions for the list of resource | I have a few big services, that uses the same database and tables for managing roles and permissions. Each service ask the database directly for the permissions. Now I need to build a new service. The idea is to create a centralized service that would handle all permission staff. Afterwards, my team is going to migrate... | To summarize my understanding of your question, you want: a centralized service that would handle all permissions and ideally this service would omit using the database directly without big performance degradation. Let’s first address the type of authorization framework you may use. Authorization Frameworks RBAC The mo... | 5 | 13 | 5,726 | 2018-06-19T14:51:52.437 | api_errors | softwareengineering.stackexchange.com | |
541,458 | How do you use Apache SetEnvIf with cookie values? | I'm trying to control apache based on cookie values, but I can't seem to get [CODE] to work with [CODE] . I've boiled this down to some simple logic to isolate the issue and be easy to test. Apache 2.2.22 on Ubuntu 12.04.1 LTS. What I'm using is: [CODE] Using Chrome's resources tab, I am inspecting the cookies for the ... | I was facing the same issue and this page comes at the top of Google for [CODE] so I thought I would share how I fixed this. I was able to match against the cookies by using the [CODE] variable rather than the [CODE] variable, i.e. [CODE] | 5 | 3 | 11,086 | 2013-09-25T03:06:07.023 | infrastructure | serverfault.com | |
115,214 | Query to list "last backup time" listing wrong times ( SQL Server 2008 R2 ) | I use this query to list last backup dates of our databases: [CODE] But today, it shows me "09/15/2015" for all databases, but we had a problem in the cluster, so the backup job didn't run. Why is this query listing "09/15/2015' if there are no backups for today? last time the job run was 09/14/2015. Edit 1: With James... | Your problem may be that the backup set was created but the backup did not complete. I use the query below to check my backups [CODE] | 3 | 2 | 909 | 2015-09-16T12:13:02.743 | database_errors | dba.stackexchange.com | |
60,414 | How to open port 1433 on windows 2003 | How can I enable port 1433 on windows server 2003 to enable SQL connections? I don't have any hardware firewall just plain windows 2003 with sp2 | Are you sure your database is running and listening on port 1433? Run netstat -a to check the port. | 0 | 1 | 11,581 | 2009-08-30T00:50:03.330 | infrastructure | serverfault.com | |
478,369 | Best practices for pagefile on an Exchange server with a large amount of RAM? | I was just looking through old notes for a pair of Exchange servers that I spec'd for a project a while ago at a previous job. They were for a fairly large organization with large mail quotas, so each mailbox server had 96GB RAM. The disk layout was: 147GB RAID1 for the OS, applications, and pagefile 1.2TB RAID 10 for ... | The official recommendation from Microsoft, which hasn't changed since NT 4.0) is: System Disk Page File 8GB+: RAM Size + 10MB minimum Adding page files to other disks may increase performance up to the maximum Total of all page files 1.5x RAM maximum, but only because Windows will never make productive use of more tha... | 7 | 8 | 17,336 | 2013-02-13T13:53:31.070 | infrastructure | serverfault.com | |
217,359 | MySQL 8: Truncate table stuck in `checking permissions` state for minutes | Sometimes but not always [CODE] statements get stuck in [CODE] state for several minutes (up to 7-8 minutes). I'm running MySQL 8.0.12 (for Linux on x86_64 (MySQL Community Server - GPL)) My tables are partitioned with around 365 partitions in each. There are only 5 users (excluding root and mysql.). The 5 users are no... | Hence my advice not to have more than about 50 partitions in a table. Or to abandon partitioning altogether. What may be happening: [CODE] (or one of the other caches) may be too small, and, hence, thrashing. To verify that theory, I need to check several things. Please provide [CODE] , [CODE] and how much RAM you have... | 2 | 1 | 2,087 | 2018-09-12T09:19:02.010 | database_errors | dba.stackexchange.com | |
392,691 | How can I rebuilt MySQL replication without dumping the master? | Our MySQL database has grown fairly large, and I am running with master replication. Replication is broken. I am trying to rebuild the second master without freezing up the first master in doing a mysqldump. The database is big enough that the dump is taking a few hours, and I cannot have the database offline that long... | Take a look at the Percona Toolkit . [CODE] can help you find out the tables out of sync and you can use [CODE] afterward. | 6 | 5 | 9,050 | 2012-05-25T14:41:38.490 | database_errors | serverfault.com | |
742,098 | ldap ssl v2 v3 can't read server hallo A | I need to connect ApacheDS database using startTLS with OpenLDAP client. My ldaprc file contains: [CODE] Command that I've used is: [CODE] I've checked, my server is listening on these ports, I'm able to connect with other clients (e.g. ldapbrowser, jxplorer), but tests with OpenLdap fails: ... [CODE] Any idea what am ... | I've found that ApacheDS is not supporting SSLv2, the same as Java 1.7 by default. So I've turned off SSLv2 in OpenLDAP by adding also minimal version of protocol: TLS_PROTOCOL_MIN 3.3 . That was my workaround. | 1 | 0 | 1,580 | 2015-12-10T09:17:41.957 | infrastructure | serverfault.com | |
907,356 | access webpage via url in an lxc container | I have installed a webserver in an lxc container. This webserver can be accessed from the outside world via its URL thanks to the following iptable rule: [CODE] My problem is that when I try to access my webserver from the lxc container of the websever itself, it does not work. [CODE] Please, notice that it works fine ... | What happens with the 2nd PREROUTING rule added is that the container receives its own request mirrored to itself with its own source IP as source (as well as destination). It's a no go for various reasons: rp_filter triggers, the network stack doesn't know this connection attempt (it sent it to my.url.com, not itself)... | 0 | 1 | 631 | 2018-04-12T13:44:40.037 | pipeline_ops | serverfault.com | |
706,199 | How to route traffic between 2 VLANs on different subnet | I have the following problem: I have one interface [CODE] I have configured 2 VLANS on the same machine: [CODE] I also have a DELL switch which has [CODE] There is a DHCP server on this machine, so when I connect two Laptops on two VLANS I get respective IP addresses: [CODE] The problem is I am not able to ping from on... | You need to add IP routing for the other networks in the laptops. This is easiest if the [CODE] machine is also the default router in your network. In this case, you need the following things: Ensure that IP routing is enabled in the router machine. Add firewall rules so that traffic between the two VLAN networks is al... | 0 | 1 | 4,700 | 2015-07-16T11:59:34.490 | infrastructure | serverfault.com | |
912,537 | Libreswan IPSec IKEv2 unable to connect to multiple remote IPs | I have been beating my head against this for awhile, and I'm hoping that someone can point me in the right direction. I have a number of IPSec tunnels established, mostly from libreswan (v3.23) on CentOS to Cisco ASAs. Most are IKE v1, and in that case if I want to reach multiple hosts on the remote side I can have a f... | Change [CODE] to [CODE] [CODE] Also in my case this only works if [CODE] is not [CODE] with IKEv2. | 1 | 1 | 1,932 | 2018-05-16T16:39:40.770 | infrastructure | serverfault.com | |
259,864 | Attempting to run Django with start Apache2 mod_wsgi on Ubuntu Lucid Lynx without success | I have a small vps with a minimum install of ubuntu lucid-lynx with about 256mb memory, it's newly installed with nothing special running on it. I'm trying to deploy django to it, while I'm successfully running the server using manage.py, I can't get apache with wsgi working: [CODE] Erorr log [CODE] : [CODE] My apache ... | I finally figured out how to solve this. First of I trouble upgrading ubuntu to 10.10 from 10.04 because the server only offered 128mb (256mb burstable) and ran out mid upgrade. Maybe the solution to this issue is to simply upgrade ubuntu . I did however upgrade mod-wsgi by installing it from source as described here ,... | 3 | 2 | 1,439 | 2011-04-14T21:24:24.193 | infrastructure | serverfault.com | |
291,626 | Why is the execution time on Datagrip longer on MySQL 8 than MySQL 5.7 on a new Linux Server? | I am migrating from a 4 year old setup to a brand new high performance server and am experiencing slower performance than on the old machine. The old setup is a Ubuntu 16.04 Server on bare metal Intel i7 64G RAM and MySQL 5.7 and is under medium load with many services running. The new setup is an AMD Ryzen™ 9 5950X wi... | You may find significant relief with these suggestions for your my.cnf [mysqld] section [CODE] Posting to pastebin.com and sharing the links of [CODE] along with other information already requested would allow workload analysis to provide suggestions to improve performance. | 1 | 1 | 512 | 2021-05-15T17:18:30.897 | database_errors | dba.stackexchange.com | |
195,633 | MariaDB 5.5-56 not reading the my.cnf file and taking default values | Permissions are correct. I actually went ahead and opened the file up to everyone (I know... big no-no but it's a closed off lab) any idea why MariaDB 5.5-56 wouldn't read the my.cnf file and just take default settings? | On a Linux OS, make sure the file [CODE] is owned by root. | 0 | 1 | 384 | 2018-01-17T22:06:48.243 | database_errors | dba.stackexchange.com | |
66,635 | Physical modelling with neural networks - single output + stack ensemble vs multi-output | We are trying to replace an existing physical model (8 inputs/7 outputs) with artificial neural networks. The physics behind the existing model is mainly thermodynamics of humid air for air conditioning, with some turbomachinery involved, which yields most likely complex functions between inputs and outputs. One approa... | My guess: I agree with your colleagues. I see no reason to do anything other than a single neural network with multiple outputs. If necessary, increase the capacity of that single neural network until you see no further improvement. An stacking ensemble where you have a few neural nets whose inputs are fed as input int... | 3 | 0 | 154 | 2020-01-17T11:43:03.763 | data_quality | datascience.stackexchange.com | |
763,401 | cloudflare + nginx with limit_req and limit_conn | For the sake of simplicity, let's say I have a web server running nginx serving a single php file (with a "hello world" message) via php5-fpm. Let's say that the server is behind cloudflare and that all requests to my server come in via cloudflare. Under nearly default configuration, all ip's reported by nginx are clou... | HTML (which is the output of PHP) is not cached by default , so they will see the response to their own request unless you're caching on nginx. To be super sure set up a page rule that specifies "standard caching", or if you want to be paranoid you can set it to no caching - but then you have to be careful with your ma... | 2 | 0 | 3,026 | 2016-03-13T02:09:11.233 | infrastructure | serverfault.com | |
249,859 | Map subdomain to application in IIS7/7.5 | I'm trying to do something that seems to be very basic (and obvious), but it is not working so maybe I'm not implementing the idea correctly and that's why I need your help. I have a web server with IIS7 (if it works only in IIS7.5 I also have it available) with a Website configured to port 80 and also with a SSL certi... | You're trying to do something impossible! Actually, not impossible at all, but not possible with your current certificate. Keep in mind that the key party that's going to see the names is the client. You're essentially describing the layout you want the clients to see, and that's going to determine how you can configur... | 1 | 1 | 696 | 2011-03-21T13:55:58.023 | api_errors | serverfault.com | |
408,815 | What are the best practices for writing a long, multi-step process? | When writing a long process, i.e. one filled with many steps of business logic, what are the best practices for organising it? There are a few different options here that I can see: Just write a long script - however steps aren't modular or reusable Write each step as a function and call each in order in the main metho... | Donkey, Cart... Cart, Donkey Context matters here. There is rarely a best way to organise anything, let alone code. Organisation isn't a standalone property. You organise something to achieve an end. So what are those ends? Generally there a 3 kinds of End: Functional Operational Developmental Functional just means tha... | -2 | 6 | 401 | 2020-04-15T00:54:45.713 | api_errors | softwareengineering.stackexchange.com | |
90,090 | Uexpected values inserted in table | I have a table called [CODE] which contains data as follows: My query is as follows: [CODE] and so on................ for all function names. Data-types for columns of #Temp2 are as follows: [CODE] However, The #Temp2 table after every insert has only 1 in FunctionWeight column for all the functionNames matched as show... | If the [CODE] field in the [CODE] table is truly defined as [CODE] , then the most likely problem is that the datatype of [CODE] is [CODE] or just [CODE] . Either of those would round up the [CODE] values to be just [CODE] , though the [CODE] and [CODE] values would round down to [CODE] . Nothing in that posted code or... | 0 | 1 | 61 | 2015-01-24T23:25:06.687 | warehouse_errors | dba.stackexchange.com | |
97,339 | Using SQL Server with BitLocker | I have an application that is running on a device that has two partitions: C and D. The application runs off of C while D contains the SQL Server database (mdf file). In addition, D is also encrypted using BitLocker. We are using the code-first approach where the database is created on the fly, based on the specified e... | I agree with Jithin R and ensuring the SQL Server "service" account (what you have set in the services.msc for the login as, and ensuring it has at least MODIFY or FULL permissions at the NTFS folder level where the MDF and LDF files are created when they code dynamically creates the DB). It sure sounds like an NTFS pe... | 8 | 1 | 8,876 | 2015-04-08T20:42:23.187 | database_errors | dba.stackexchange.com | |
426,344 | using tcpdump to display XML API requests without headers or ack packets | I need assistance, I am trying to use tcpdump in order to capture API requests and responses between two servers, so far I have the following command: [CODE] My problem is, that the output is still hard to read, because it sends the Headers, and the ack packets. I would like to remove those and only see the XML bodies.... | How about this: [CODE] Source: http://ask.wireshark.org/questions/18046/extracting-segmented-soap-xml-payload | 1 | 1 | 5,441 | 2012-09-11T13:50:34.183 | infrastructure | serverfault.com | |
25,051 | Merge Replication: Where are rowguids of conflict losers stored? | I'm trying to obtain the row guid of all the merge replication conflict losers listed in my conflict viewer. The bug that was allowing the conflicts to occur has been identified and resolved but now I need to go and remove the conflict losers from the subscribers so that they quit trying to upload the rows in conflict ... | Straight from Advanced Merge Replication Conflict Detection and Resolution : The Conflict Viewer displays information from three system tables: Replication creates a conflict table for each table in a merge article, with a name in the form MSmerge_conflict__. Conflict tables have the same structure as the tables on whi... | 4 | 2 | 1,397 | 2012-09-27T16:26:58.590 | database_errors | dba.stackexchange.com | |
254,691 | SQL server database Role management - Azure SQL MI | In my database I have multiple users with SQL server authentication login and AD login. For ex: User 1 and user 2 are from same team(ABC), if I create a role db_abc User 1 needs read access to table a and table b. User 2 needs read access to table a, b and additionally to table c. How do I manage this case? Should perm... | What is the best practice in managing users and roles? Create custom roles and grant permissions to the roles; then add users to the roles. eg: [CODE] You can also assign permissions to an entire schema: [CODE] Or the whole database: [CODE] | 1 | 3 | 300 | 2019-12-03T17:34:51.140 | api_errors | dba.stackexchange.com | |
116,836 | Design encouraging FK to non-unique/non-PK | My current design is makes me want to create a FK to a non-unique/non-PK. Is this a code smell and/or does my overall design make sense? [CODE] The [CODE] table contains a history of the connection requests and their status updates. I normalized the [CODE] of the connection request into its own table so the target deta... | It seems to me you have an entity Target against which you may have an active ConnectionRequest . It would appear that the Status of a request will be changed from time to time as the request is processed. In that case, that field should not be made part of any key or unique constraint. Only stable (unchanging) fields ... | 4 | 4 | 201 | 2015-10-02T16:05:04.013 | data_quality | dba.stackexchange.com | |
141,806 | chmod -R 777 / on ubuntu - numerous problems | A client has accidentally given the entire filesystem full permissions on their ubuntu 10.04 box. [CODE] As you can see they attempted to cd to the root, and instead gave chmod a fun parameter to play with. First sign of the problem was inability to use 'su', giving an authentication error. sudo also complained of a mi... | I would actually consider doing a full reinstall of the system. Even if you manage to get most permissions right and that things seem to work there will most likely be some special permissions laying around, just waiting to cause trouble. Alternatively I'd compare the permission with a second, possibly freshly installe... | 4 | 16 | 30,063 | 2010-05-14T07:32:24.497 | api_errors | serverfault.com | |
107,128 | How can I best implement 'cache until further notice' with memcache in multiple tiers? | the term "client" used here is not referring to client's browser, but client server Before cache workflow [CODE] After cache workflow [CODE] TTL = time to live Is possible for me to know when the data was updated, and to expire relevant memcache(s) accordingly. However, the pitfalls on client site cache TTL Any data up... | Proposal 3 is certainly the most efficient, however it is also the most time consuming to implement. Memcache doesn't include this feature, so you'd either have to find some other framework or roll your own (using Gearman in this case). It's not super hard, but it's not trivial and it adds a significant moving part to ... | 5 | 1 | 1,261 | 2011-09-09T14:54:56.807 | api_errors | softwareengineering.stackexchange.com | |
963,233 | AWS: Outbound only connectivity from a private subnet | I'm sure this question was asked before and there a number of documentations from AWS but it seems not working for me. But cannot find a straight answer to my question, so asking here again. I have a bunch of EC2 instances in the private subnet, where I don't need and in-comning connectivity from internet but need outg... | It's close but not quite correct :) To make it work you need two subnets and two route tables. Public subnet has IGW - Internet Gateway and optionally NAT Gateway [CODE] points to the IGW ( not to the NAT gateway!) hosts (EC2 instances, NAT Gateway) must have public IP or elastic IP attached as they go directly to the ... | 4 | 5 | 1,358 | 2019-04-16T07:09:15.100 | infrastructure | serverfault.com | |
3,441 | Using a variable in the filename textfield of CSV dataset config in JMeter | I want to parameterize the filename textfield of CSV dataset config. I am writing into different files for every user that I'm using in JMeter, hence I need to parameterize the filename option in the CSV dataset config to read the files I create for every user. How can i do that? I'm using a user-defined variable calle... | Since I could not find any solution to this problem I'm facing I implemented a workaround for it by writing code into a BeanShell PreProcessor that would work like a CSV dataset config element. The code i've written is: [CODE] | 3 | 3 | 5,890 | 2012-07-11T06:19:24.960 | data_quality | sqa.stackexchange.com | |
57,191 | Is there a good German Stemmer? | What I tried: [CODE] what I get: [CODE] The two main problems are: Overlaps: schön != schon Non-working stemming, e.g. [experte, expertin, expertinnen], [ich gehe, du gehst, er geht] A not so serious side problem is matching my expectations. So if the stemmer could actually bring the word in a basic form (not simply th... | Big problem and very good question! I used [CODE] in the past, which has a German module . I guess stemming is not supported, but lemmatization . Looking at the output below, I don't think that [CODE] will solve your problem to be honest. However, I just wanted to let you know about this option. Spacy Lemmatization: [C... | 5 | 6 | 8,381 | 2019-08-08T06:31:30.210 | data_quality | datascience.stackexchange.com | |
486,968 | openVPN centOS 6.4 64bit dependency issues | Everytime I download the openVPN rpm ( http://mirror.its.sfu.ca/mirror/CentOS-Third-Party/epel/6/x86_64/openvpn-2.2.2-1.el6.x86_64.rpm ) and try to install it, I'm running into dependency issues. What I did: [CODE] Now everytime I get more and more messages like [CODE] and more alot of them.. and like [CODE] Then insta... | The problem is you randomly grabbed an RPM off the Internet. This is a very bad idea overall. It appears OpenVPN is in the EPEL repository, which you should already have installed . So once you install EPEL on your system, you can just do: [CODE] like any other package. | 3 | 4 | 2,625 | 2013-03-12T12:40:56.200 | infrastructure | serverfault.com | |
1,115,590 | Fix kernel issues in rescue mode | I have updated the kernel in a VPS Centos 7, and after rebooting, the machine is not responding anymore, including with SSH. I connected to the VPS via a temporary rescue linux machine from where I could mount the VPS filesystem: [CODE] I checked the log file /mnt/var/log/messages and found: [CODE] The issue happened a... | I am not 100% sure what is failing but in our [CODE] , the first menu entry is the rescue mode entry. We ran a [CODE] adtbefore reboot and didn't have issues. Still looking into this as it has affected a few other servers but wanted to give you a workaround for future. | 2 | 0 | 1,018 | 2022-11-14T00:17:23.413 | data_quality | serverfault.com | |
819,622 | What's the difference between Archive Software and Backup Software? | I was reading this article when I came across this curious tid bit: Think I'm exaggerating? Just ask Morgan Stanley, who up until the mid 00's used their backups as archives. The SEC asked them for a bunch of emails, and their inability to retrieve those emails resulted in a $15M fine. They also had a little over 1400 ... | An Archive is usually a bulk storage system (NAS, SAN, file servers) that offload older items from the live production databases in email servers, file servers, databases, etc. The data is still live and accessible, it's just offloaded to a system that is likely slower and less utilized. It can also hold onto deleted i... | 2 | 3 | 76 | 2016-12-08T19:49:28.507 | database_errors | serverfault.com | |
227,141 | Debian - What is the purpose of splitting root folder into separate partitions? | Possible Duplicate: Sell partitioning to me Actually, my whole / folder is into a single partition. So what is the purpose of putting, for instance, the /var/log folder or the /home folder into an other partition on the same hard drive? Are there any performance gains, or is this just for maintenance purposes? | The Center for Internet Security (CIS) Debian Benchmark recommends placing the following directories on their own partitions: /home /tmp /var /opt And optionally /var/tmp /var/log /var/spool/mail /var/cache/apt/archives From a security standpoint this can help prevent users from doing things such as filling up partitio... | 1 | 2 | 612 | 2011-01-26T15:39:30.013 | data_quality | serverfault.com | |
203 | Are questions about apache and mod_wsgi configuration on topic on DevOps? | I was thinking to ask a series of questions about apache and mod_wsgi configuration, their performance and memory - would this kind of questions be on topic here or ServerFault is a better place? | If it's only about apache and mod_wsgi performance with no relation with any devops culture or tooling, that's clearly better suited on ServerFault in my opinion. | discussion | 0 | 4 | 41 | 2017-08-18T15:00:24.553 | pipeline_ops | devops.meta.stackexchange.com |
520,302 | Reduce Component Store (WinSXS) size on Windows Server 2012 | Is there any command line utility in Windows Server 2012 that will reduce the size of [CODE] . On one of my main production systems that has Hyper-V and Remote Desktop Services, this folder and stuff beneath it is 30+ gigs. Update That "It's 30 gigs I must fix this" urge was reduced when I realized that Windows reports... | Uninstall unused features by running in admin mode : [CODE] Free space in WinSxS using (some may not work depending on windows version): [CODE] | 2 | 2 | 2,129 | 2013-07-02T19:06:43.837 | infrastructure | serverfault.com | |
347,471 | How to define TXT SPF record with multiple senders | My setup: DNS hosted by BigCommerce which is our eCommerce and website host BigCommerce automatically created an SPF record like this: "v=spf1 +a +mx include:_spf.bigcommerce.com -all" I used a hosted exchange solution from SherWeb.com my domain is pretty new and I noticed strange bounce messages when I would send emai... | Their web server, the [CODE] record at [CODE] (which resolves to 74.86.55.170) isn't necessarily the source of email from their network. Their SPF record at [CODE] specifies the following networks as allowed senders: [CODE] So, their web server failed validation because it's not allowed to send; all is well there. As t... | 3 | 6 | 27,528 | 2012-01-06T20:12:45.343 | data_quality | serverfault.com | |
312,941 | How can I have multiple issue trackers with a shared repository? | I work on a large software project where many vendors contribute have forks of a shared repository. Everyone has their own internal repositories and issue trackers. The problem that I'm trying to solve is to let people use the relatively common practice of including the phrase: fixes #123 This has the awesome feature o... | This is covered in closing issues across repositories - the key being you need to reference the repository fully rather than use the implicit 'this repo': [CODE] You will still need to be careful that you don't close an issue somewhere else unless you really mean to close it. | 3 | 1 | 58 | 2016-03-16T17:03:37.023 | api_errors | softwareengineering.stackexchange.com | |
312,761 | ReadOnly queries on secondary server do not return correct values | I have two servers A and B. Both are in an Always On Group. The B server is configured for ReadOnly requests. This works fine so far, but recently there is a problem for queries for a service. The service first makes an update to a table (probably on the A server) and then a select with Read Only on the B server. The d... | The service first makes an update to a table (probably on the A server) and then a select with Read Only on the B server. Unfortunately, the select does not return the values with which an update was previously made. Only after about 1 to 1.5 seconds do the correct values appear. That's expected and how the product was... | 7 | 12 | 994 | 2022-05-31T12:40:33.287 | warehouse_errors | dba.stackexchange.com | |
673,941 | Two Locations VPN and Printing Sluggish | I'm going to do my best to outline our current setup and our plan and hopefully you guy can assist in the best possible setup. We have two offices (A and B). Each office has about 10-15 systems. 3 systems in each office are attached directly (usb) to a printer. Each office has a decent line with more than capable bandw... | It's been a long time. However, I would like to encourage anyone who is having such an issue to ensure their VPN is a site-to-site setup. After switching to UBNT EdgeRouter with Site-to-Site OpenVPN, printing time is practically instantaneous. | 0 | 0 | 242 | 2015-03-09T05:37:24.063 | infrastructure | serverfault.com | |
883,987 | Can any virtual environment start systemd gunicorn.service for all virtuenenv? | If you are not working inside an environment, Gunicorn will be installed globally (i.e. available systemwide). This is not recommended. Always opt for using virtualenv. But if you have multiple virtualenvs how many gunicorn.service files should you have to start gunicorn on system startup? For example below [CODE] Can ... | You can use systemd instances for this. For instance, let's say you create all your virtualenvs in the same directory (this will make it easier anyway). Then you can write a unit file like this: [CODE] The %i represents a particular instance of the unit, of which there can be no limit. You refer to an instance by using... | 2 | 3 | 3,274 | 2017-11-17T18:55:18.927 | infrastructure | serverfault.com | |
168,636 | Separating java projects | I have a large java project, and we use maven for our build cycle. This one project is used extensively - in other projects, in various applications, some of which are contained in it and some which are elsewhere... To be honest, it's a bit of a mess (various bits added on at different times for specific purposes), and... | I'm going to take a quick first cut at this (great Q BTW!): Would imposing a structure on the large project (i.e. into smaller sub-projects) slow the compiler down? Not by enough that it matters, the overhead is actually in Maven invocations. Also, I have a slight concern on what impact this might have editing time in ... | 13 | 11 | 3,876 | 2012-10-12T10:27:58.500 | api_errors | softwareengineering.stackexchange.com | |
1,017,631 | error configuring proxy pass for upstream app | I have an application running as a docker container mapped to port 8080; On this same server I also have nginx also configured to serve a Laravel application which has some URLs that have [CODE] at context root [CODE] for example. The docker application URLs starts with either [CODE] or [CODE] so to avoid URL proxy con... | I believe there are two solutions to your problem. [CODE] or [CODE] To understand, read nginx proxy module The first solution, is based upon If the proxy_pass directive is specified with a URI, then when a request is passed to the server, the part of a normalized request URI matching the location is replaced by a URI s... | 0 | 1 | 682 | 2020-05-18T12:57:10.093 | pipeline_ops | serverfault.com | |
827,786 | New CentOS 7 install (Google Compute), can't add VirtualHost entries to /etc/httpd/conf.d/ | I just did a base install and Apache 2.4 starts up just fine. I'm migrating from an old server which runs Apache 2.2. When I put a file into [CODE] that contains a [CODE] definition and restart the server it crashes on startup. This VirtualHost definition is one I use from my previous server. [CODE] Here is the content... | You're running CentOS 7, which has SELinux enabled by default. When you try to start Apache, it tries to load files in a user's home directory, which isn't permitted by default. You can allow Apache to read files in users' home directories by setting the appropriate boolean, [CODE] . It would be a better idea to reloca... | 2 | 3 | 242 | 2017-01-22T03:12:11.207 | infrastructure | serverfault.com | |
23,898 | Is machine learning successful in solving combinatorial optimisation problems in NP-hard? Discuss problem of scheduling using machine learning | Chess is Exp-complete. I assume Alpha GO is also Exp complete. Correct me if I am wrong. Now deep reinforcement learning has been successful in tackling this problem. What about other more practical problems like scheduling, bin-packing, and routing? In particular, what is the state of the art for scheduling applicatio... | You don't have to get to EXP-complete in order to get a hard problem. NP-Complete is bad enough... Cryptographic assumptions (e.g., the existence of one way functions ) are also a good way to create hard problems There is research in the area lead of plenty of results like Cryptographic Limitations on Learning Boolean ... | 1 | 3 | 233 | 2017-10-19T02:32:06.927 | data_quality | datascience.stackexchange.com | |
30,899 | What is the best way to start & perform Exploratory Testing? | In traditional testing follow a fairly simple model in which there are test cases written beforehand for all the possible use cases and then after the test cases are final, they are executed & raise bugs for fail one until they all pass this is one of the traditional model works very well. In the same way, there should... | Exploratory testing is an experience based testing technique, so it mostly depends on whoever executes the test. Having said that, James Bach outlines a few good points that we can potentially benefit from: An exploratory test session often begins with a charter, which states the mission and perhaps some of the tactics... | 8 | 6 | 291 | 2017-12-08T04:53:49.730 | data_quality | sqa.stackexchange.com | |
258,811 | MySQL query duplicates from 2 columns | I need to query duplicates in a table from 2 columns (agents_name) and (estates_name) based off the (display_name) column. I tried the following: [CODE] The last 'sentence' should create a temporary table but I'm getting Error Code: 1054, unknown column temp.estates_name | use aliases for your table especially when you self join [CODE] | 0 | 1 | 42 | 2020-02-03T20:45:24.347 | database_errors | dba.stackexchange.com | |
290,426 | Determine which DFS referral target a user is using | Our DFS namespace is set-up so that \\company.local\users is hosted on both a UK server and USA server with referral based upon the user's site. Works a treat except we suspect today, DFS failed over to the USA for some users. Only suspect because the only evidence we can see is their private files (e.g. cookies, roami... | dfsutil /PktInfo will give you the information you're looking for, but you need to get dfsutil for the applicable client, either from the RSAT for Windows 7 or from the W2K3 Support Tools for WinXP. Run the command on the client and it will show you the active target. | 8 | 8 | 15,948 | 2011-07-14T16:18:23.910 | infrastructure | serverfault.com | |
809,494 | GitLab: SMTP mail works from console only | I have a Linux Ubuntu 16.04.1 installed on a VM. I have installed GitLab 8.12.6 using the instructions from the GitLab site, and encountered problems in making Gitlab to send mails. I want to use an SMTP server with another domain name than the GitLab server. The configuration was made accordingly to the examples provi... | The sign-up confirmation email was disabled. I enabled it under the settings in the admin area: "Send confirmation email on sign-up". The confusing part is: I was checking the email setup using the "Request new confirmation" form. This form will send a mail only to users that were created while the aforementioned setti... | 0 | 0 | 1,223 | 2016-10-17T10:38:06.993 | bi_errors | serverfault.com | |
1,141,725 | Can a WPA2-EAP network be created with consumer hardware for testing purposes? | We are working on the firmware of some device containing a WiFi SoC. (The firmware of the SoC is not modified by us.) Our customer now wants support for WPA2-EAP because the WiFi chip seems to have built-in support for that method according to the manual. Our problem: We must test our software changes so we need a WiFi... | I've seen home routers which support WPA2-Enetrprise (EAP). Openwrt supports that (depending on underlying HW) as well and I use it at home in such setup. It may also be possible to setup AP using WiFi network card. In either case radius server will be required. | 0 | 0 | 43 | 2023-08-16T17:12:51.483 | api_errors | serverfault.com | |
94,129 | Pros and cons of using many schemas in PostgreSQL as opposed to just one? | For a large SAAS application (backed by PostgreSql 9.4), with over 300,000 accounts (and growing), what are the pros and cons of using a schema per account to partition the data vs putting all the data in one schema and using foreign keys to partition it in the queries? I know in the past pg_dump was painfully slow whe... | Obviously, you are dealing with the same tables in each user schema. Have you considered inheritance for this? It can give you the best of both worlds for some use cases. There are also some limitations . You can have a separate schema for each user and still search all user tables at once very conveniently. Related: S... | 9 | 4 | 7,225 | 2015-03-02T00:10:26.467 | database_errors | dba.stackexchange.com | |
166,195 | how to install & set up RoR application on shared hosting | I successfully installed redmine.org application under my BlueHost account. I was following the official installation guide without any error. Point #8 says that I can test the installation by running WEBrick web server and accessing it via lynx http://localhost:3000/ from the Bluehost server. Well it works but when I ... | [CODE] | 0 | 1 | 793 | 2010-08-02T07:24:16.387 | infrastructure | serverfault.com | |
45,474 | Selenium C# Locate Both Data QA Attribute And CSS Class | How do we locate both Data QA Id and CSS Class using Selenium C# ? We're trying to locate both a DataQAid attribute and also see if its class ng-invalid, (Angular Material Textbox Error) This is what wrote so far: [CODE] Resource: https://stackoverflow.com/questions/24120263/find-element-in-selenium-using-xpath-or-css-... | [CODE] Try this | 0 | 1 | 746 | 2020-08-12T20:03:19.633 | data_quality | sqa.stackexchange.com | |
331,224 | Difference between forwarded_fetch_count and forwarded_record_count | I have been scratching my head, re-reading MSFT help and I still cannot understand the difference between forwarded_fetch_count and forwarded_record_count in sys.dm_db_index_operational_stats and sys.dm_db_index_physical_stats. Let me illustrate my problem of understanding the views with example below. I have run follo... | The physical stats view returns information about the physical structure of the index or table. The forwarded record count shows how many rows in the heap have forwarded records . These are created when a heap row is updated to a size that no longer fits on the page. The row is moved to a different page with sufficient... | 0 | 6 | 109 | 2023-09-14T14:52:44.890 | database_errors | dba.stackexchange.com | |
21,935 | Slow insert performance in mysql innodb table for solr indexing | I have a Slave server (MySQL 5.5) having innodb tables. This server is being used for SOLR indexing. Few procedures used to fill 12 million data into 9 tables. The insertion speed is too slow. Following are the InnoDb parameters. [CODE] The OS is linux and physical memory is 20GB. Please help. Thanks Kuldeep | OBSERVATION #1 Larger transactions need a larger log buffer Please expand innodb_log_buffer_size to 32M because as the MySQL Documentation says The size in bytes of the buffer that InnoDB uses to write to the log files on disk. The default value is 8MB. A large log buffer enables large transactions to run without a nee... | 4 | 3 | 3,990 | 2012-08-03T05:08:51.193 | database_errors | dba.stackexchange.com | |
81,977 | Linked Server Security under SQL Agent Job Context | I have two SQL servers V1 and V2. Both 2012. V1 has linked server connection to V2. There are two Windows accounts: one running SQL server, the other running the Agent service. The two accounts are common to V1 and V2. I have a SQL Agent job that is owned by a non-sysadmin login, an SQL Server account. This account is ... | Put [CODE] user in [CODE] server role Add this user into linked server login mappings with remote user name and pwd | 1 | 1 | 10,667 | 2014-11-05T18:57:31.097 | database_errors | dba.stackexchange.com | |
315,279 | Cluster Resource fails every 8 hours for SQL AG | Every ~8 hours, I receive the error below in my Windows Cluster events. During this same time connections to SQL server are being lost. I am struggling to find any resources that help determine what the issue is and possible solutions. One thing I have noticed is that the Windows Cluster Name is the same as the AG name... | One thing I have noticed is that the Windows Cluster Name is the same as the AG name and I wonder if there is a conflict. There is no issue there. If there were, it wouldn't come online in the first place. The AG name is a cluster resource which doesn't have anything external associated with it, it's entirely internal ... | -1 | 5 | 1,015 | 2022-08-05T15:47:34.087 | database_errors | dba.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.