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
321,841
String Manipulation of the Result from Recursive CTE
Good afternoon everyone I found just one post here within the last year about this, but it doesn't help my situation. I have been working with MySQL and trying to improve my knowledge of recursive CTE. The version of MySQL is 8.0.19 on a Windows device. The table that I have is generated with: [CODE] Values are entered...
Instead of adding the destination of a step with that step, add it as the source of the next step. Then you can decide to only add it if the line is about to change. You'll then just need to add the final destination at the end as an extra concatenation. This removes the need to manipulate the string afterwards (it com...
3
2
214
2023-01-07T14:52:46.330
data_quality
dba.stackexchange.com
72,086
Line feed/carriage return in svn
Ok, it was my mistake. Some how I missed to uncomment the EOLStyleFromMimeTypeSetter() when migrating from cvs2svn. It is a week ago almost, and many changes has been commited, so a new migration is not an option. What do I do now? I have manually set the property [CODE] to [CODE] on some projects, but only in trunk (I...
Batch modifying line endings and then committing is a bad plan as it will break every single diff that spans across that diff. A better plan would be to dump your svn repository from your conversion, redo the conversion and reimport your dump. Make sure you make a backup of your repository first. Find out the first sub...
1
2
1,146
2009-10-07T09:35:08.560
infrastructure
serverfault.com
295,675
How can i get AG dashboard values via SQL Query across all supported versions of SQL server
I am trying to ease the monitoring of availability groups across multiple SQL servers. Came across few dmvs which got me the data. But cannot figure out some important columns which i am seeing in SSMS AG Dashboard report. How can i get this data via SQL query. We cannot use PS unfortunately as its blocked to get data ...
Some of the columns in the Availability Group Dashboard are calculated, such as the Estimated Recovery Time (seconds) which you can replicate by dividing the [CODE] by the [CODE] in the [CODE] DMV .
0
0
250
2021-07-15T01:27:27.557
database_errors
dba.stackexchange.com
1,091,480
smartctl "Elements in grown defect list" vs. RAID controller "Media error count"
I am using a hardware raid50 with PERC810 controller in my server and recently encountered a metric I am not sure about. Until now, I have been using a smartctl metric "Elements in grown defect list" as a hint that drive is failing and should be removed, but if I use perccli (or storcli/megacli) the drive is also showi...
The discrepancy is due to the fact that, while measuring similar things, the two metrics operate at different layers. [CODE] measures the media errors as seen by the RAID card [CODE] shows the size of the grown list, or the number of remapped sectors as seen by the drive itself There are various reasons why the two val...
1
0
2,001
2022-01-28T13:44:02.070
infrastructure
serverfault.com
870,748
Git pull from bitbucket using ansible and jenkins
Hi everyone I am new on ansible, I am working on Ubuntu 16.04 and ansible 2.2, how to pull bitbucket repository to remote server using ansible? I have connected to the hosts and able to ping or running simple command using my ansible to the remote server, I have tried this method cloning private repo on remote server b...
The best solution is to generate a key pair in your workstation, upload the public key to bitbucket, and copy the private key to the user with which you do the git clone in the destination server. With that solution, you can automate deploy to multiple servers without generating a new key pair in each one. You can spec...
1
2
5,699
2017-08-28T07:31:46.617
pipeline_ops
serverfault.com
257,338
What is the optimal configuration for MariaDB ? (CentOS 8, MariaDB 10.5)
Hello i have MariaDB 10.5 on a Centos 8 Server configuration 18cores 32 threads and 32gb ram I have plenty of free ram but I am trying to optimize for CPU less CPU work and more ram usage How I do that in my.cnf ? Also I don't know where i should add this changes to /etc/my.cnf or /etc/my.cnf.d/server.cnf I heard that ...
If you are just starting to use MariaDB, your Question is premature. For small, casual, usage MariaDB will work fine "out of the box". For 32GB of RAM on a server dedicated to MySQL/MariaDB , set [CODE] Does [CODE] already exist? Look at it. If there is already a setting, then change it. If not, does the file have an "...
-3
1
1,666
2020-01-14T00:26:44.427
database_errors
dba.stackexchange.com
634,860
Python Script portion failing to execute within init.d/ on RedHat 6.5, why?
I've created a init.d script called rmCluster which is supposed to execute a simple python script at shutdown which uses boto to shutdown a particular cluster of servers, with 755 perms, located in [CODE] written as: [CODE] I have also created a symlink at [CODE] which points to the above. Note that I am touching a fil...
(Almost) Everything you need to know is in /etc/rc.d/rc it's the shell-script that's used for changing runlevels, it's fairly readable in that it should be somewhat easy to suss out what it does. The brief description of what it does is: It first goes through every /etc/rc .d/K script, checks if it's started by looking...
2
1
1,614
2014-10-09T19:46:06.310
infrastructure
serverfault.com
542,350
conflicts with home internet and VPN
Sorry for my English. I have a usb modem through which I go out to the Internet. I want to connect via VPN to the corporative network. The connection is successful. The corporation portal works okay, but I can't to connect to various servers via rdp (or other services). This is my routes without vpn(on Russian language...
As far i can see, there is no direct problem with your local network and the VPN. Your local network uses the 192.168.0.x ip range and the VPN is using the 10.253.2.x range. The netmask is OK to the the same, the base network address is the one that should not be the same (that aren't, as i said above) I suspect the pr...
0
2
776
2013-09-28T10:03:28.077
infrastructure
serverfault.com
187,858
Is it possible to match two different Data types in PostgreSQL?
I want to compare two field values from different tables of PostgreSQL both are of different data types that is [CODE] in the above 2nd table am using department_id which are all present in departments table but in second table am storing it in array if i want get the data which has the common department id expected ou...
Yes, you can do this with either [CODE] as mentioned in @ypercube's comment, or with [CODE] (the containment operator) [CODE] If that doesn't work with an index you may need. [CODE]
1
1
217
2017-10-06T13:15:49.113
database_errors
dba.stackexchange.com
893,122
load balancer shows gateway and took 1-2minutes to load css, this normal?
recently I learned how to setup load balancer using aws and direct it to root / sub domain. But while playing around with it, I figured there are some delays. For example, my settings are 3 instances, using [CODE] , [CODE] , with [CODE] I changed the [CODE] content for each instances such as [CODE] [CODE] [CODE] then w...
When you stopped your instance, two problems appeared: You received gateway errors because thr page request was redirected to the failed instance. You received a page but bad css. This happened because the page request went to a good instance but the subsequent request for the css file went to the bad instance. This is...
0
3
167
2018-01-19T19:57:18.010
infrastructure
serverfault.com
576,030
vmware vsphere clone vm
this is my first time cloning a vm ubuntu 12.04 production server on a mvware esx enviroment. Thus I´m a bit scared of lose sight of something. The Server is nothing more than a webserver apache + postgresql Database, and uses openssh, Nagios for Monitoring and Amanda Backup by the way. Via Vmware Data client I´m not a...
I think you have done things the right way : Checked for a new MAC address : OK Changed IP address : OK Changed hostname : OK However double-check for the network interface number ( [CODE] ). I've noticed that sometimes cloned VMs change the [CODE] number ( [CODE] on the source becomes [CODE] on the clone) Finally, mak...
0
0
1,106
2014-02-16T20:56:58.783
pipeline_ops
serverfault.com
858,873
Limiting disk IO on LXD containers under a mdadm RAID 1 array
On a container running on a host with two disks on a mdadm RAID 1 array, I have tried without success to limit the disk IO of a LXD container named ci with: [CODE] However, when running e.g. this command on the container: [CODE] the result is the whole capicity of the disk, which is about 130MB/s , instead of the expec...
I/O limits work when the container filesystem is on a block device, but doesn't work on virtual devices like mdadm RAID when using an old version like 10.0.9. After updating to version 10.15, limits works. In Ubuntu you can update with: [CODE] For more details, see the discussion on this at https://discuss.linuxcontain...
1
2
419
2017-07-01T15:09:54.687
pipeline_ops
serverfault.com
682,043
Data recover hardware raid vs zfs pool
How does one recover data after disk failure in zfs software raid or Synology hw raid? Is it easier , less corruption in one or other ? Is one more susceptible to write corruptions than other ?
It depends. There probably isn't a more specific answer without more specific information about the anticipated hardware setup, the RAID level, the quantity and type of disks, the reason for a failure, etc... I'd usually take a well-designed ZFS solution over a consumer NAS solution, but again, the details matter.
0
1
89
2015-04-11T17:52:54.360
data_quality
serverfault.com
185
In house built testing tools
I've been having to deal with a lot of testing tools lately for testing tasks that should/must be automated. These include things like performance/load testing, webservice testing, vulnerability scanning, etc. After experimenting with both the open source and paid types of tools out there, as well as they may work, do ...
Yes. Over the last few years I have built, re-built and evolved testing tools for a number of things: A Windows autumation library on top of UIAutomation A full C# based testing stack built on top of Watin and the UIAutomation library Control generators Test case management systems Defect tracking systems Various inter...
16
16
3,121
2011-05-05T02:13:43.260
data_quality
sqa.stackexchange.com
929,625
OpenLDAP - user cannot login after ACL rules change
I'm playing around with OpenLDAP servers with replication, and needed to set appropriate ACLs to give replication user to read everything in source host. After reading this article created this set of rules: [CODE] What I wanted to achieve was: Admin can do everything, no limits Replication user can read everyting User...
Those ACLs are not tested but should work: [CODE] You'll need [CODE] in first two rules so if there is no match in specific [CODE] clause next rule will be checked. You don't need [CODE] in the [CODE] or [CODE] -- there should be no fallback to [CODE] .
0
4
509
2018-09-05T19:33:00.340
database_errors
serverfault.com
962,673
Access Google Cloud SQL via VPN tunnel
We have a VPN tunnel from the office to the Google Cloud. It's working correctly, we are able to hit VMs and containers (kubernetes). The problem is that the SQL instance can't be accessed using this tunnel. You can jump through a VM instance but you can't connect directly. Apparently the problem is that the SQL instan...
As per the official documentation 1 : You cannot access a Cloud SQL instance on its private IP addresses from another network using a Cloud VPN tunnel, instance based VPN, or Cloud Interconnect. This limit applies to both on-premises networks and other VPC networks. There is a feature request to get this implemented 2 ...
7
5
4,545
2019-04-11T20:41:41.637
pipeline_ops
serverfault.com
272,954
HP Autoloader mount, ESXi 4.1 through SAS - will it work?
I need to figure out if I can get this to work. I have a HP P2000 Storage system, connected to 2 x HP DL360 G7 through SAS. Then I got an HP Autoloader with connected through SAS too. Will I, in ESXi 4.1, be able to mount both the tapedrive and tapelibary to a VM? If yes, How? I've tried my self, and read a lot of VMwa...
I've successfully run standalone tape drives via the SCSI passthrough on ESXi. This is different because this is a multi-LUN situation. Which SAS controller are you using? Is the the HP-branded LSI controller? If so, this VMWare forum post may help. Short of that, I'd stick with a dedicated backup server. I run a stand...
1
1
2,251
2011-05-23T23:26:28.810
database_errors
serverfault.com
99,875
How do I evaluate two classifies, one of which further classifies one of the previous category?
I am training a classifier (e.g, animals), and since many categories are too similar (e.g., insects), I am grouping some categories together (e.g., bugs and mosquitoes as insects). Then, I will train a classifier to distinguish between the different insects. How can I evaluate the performance of the two together? Let's...
First mind that accuracy is not a very good performance measure in case there is some imbalance between the classes. Micro or macro F1-score are more informative. Any overall performance measure can be obtained by taking the full set of instances, considering only the final predicted label against the true label for ev...
2
0
14
2021-08-09T20:13:07.017
data_quality
datascience.stackexchange.com
155,183
MySQL problems on Snow Leopard
I just erased and re-installed Snow Leopard. I installed MySQL 5.1.48 64-bit clean. I'm having issues with the MySQL server... when I boot the computer and log in, the server is not running. I tried to start it using the preference pane by clicking "Start MySQL Server", but all it did was highlight the button blue and ...
Did you check the permissions for the directory where the PID file is to be created (/var/run or what is it)? It might also be something with wrong options in my.cnf. Try to launch MySQL without my.cnf (rename it) or comment out everything except for the absolutely necessary options.
0
2
3,595
2010-06-27T00:55:07.417
database_errors
serverfault.com
27,841
Is there an automation tool available for single user performance testing based on UI?
We are looking for an automation tool which can be helpful in doing single user performance testing for a Web Application based on UI i.e. recording how many seconds it takes to load the entire page. Is there one? If yes, which one is most popular?
Any data available on the Chrome Developer tools can be retrieved automated with their API: https://chromedevtools.github.io/devtools-protocol/ Here is an NodeJS/JavaScript example of collecting and processing the data: https://github.com/paulirish/automated-chrome-profiling
2
2
562
2017-06-16T04:09:36.977
data_quality
sqa.stackexchange.com
142,663
Trying to get password has for a login through PowerShell
I've trying to get the password hash for a SQL authentication login via powershell. The code I'm executing is something like this [CODE] This works in that the query executes fine but the output I get is PasswordHash {2, 0, 87, 116...} I'm guessing (probably incorrectly) that this is due to it returning a varbinary, ha...
For SQL 2005+ [CODE] You can't use this for everything as it has length limitations, but for this purpose it will be fine.
0
1
740
2016-06-30T11:51:53.180
api_errors
dba.stackexchange.com
289,286
Are case-studies an effective way of getting efficiency-focused team members to be willing to trade some efficiency for quality?
Firstly, this does not suggest that efficiency and quality are in conflict... only that some methods prioritize them differently. Secondly, this is not a question of whether you agree with Scrum practice or not. An expressed goal of Scrum is to create high quality increments of a deliverable product. This does not excl...
Setting aside such issues, are case-studies (of other teams' effective uses of Scrum) an effective way of swaying reluctant team members? (particularly on the issue of efficiency) Or, is there something better than case-studies? Case studies really are a poor substitute to general experience and even if people read the...
0
1
173
2015-07-10T00:11:07.603
api_errors
softwareengineering.stackexchange.com
109,325
Should I include a selfdestruct-method to my applications?
I recently had a negative experience, where client bailed from the bill, but my middle-man already uploaded our software and design to the clients server. Client turned out be a known criminal, and of course he changed all possible passwords of the server. However, I can still access the admin-panel of the CMS. Sadly i...
I'm not a lawyer. It sounds like you already have one for the purposes of suing your client; while you have him or her on retainer I would recommend getting their advice on this. There are some other questions on this site that deal with "kill switches" and other ways to disable software for which the developer has not...
39
38
3,586
2011-09-19T17:24:19.347
api_errors
softwareengineering.stackexchange.com
273,617
If I actively BEGIN a transaction, but fail to ROLLBACK at error, will PG become confused?
Suppose I have this application pseudo code (it's actually PHP and communicating with PG with the pg_* functions): [CODE] Do I understand things right if I say that, had I not actively remembered to do the "ROLLBACK" before returning, when an INSERT failed for whatever reason, the transaction would have "continued on" ...
The transaction won't be "auto rolled back", it will be marked as failed, and the only option you have, is to do a rollback. If you did not run [CODE] in the function but simply return from it in case of an error, then the UPDATE following the function call would result in " current transaction is aborted, commands ign...
3
3
4,312
2020-08-12T06:35:54.863
warehouse_errors
dba.stackexchange.com
252,076
How to get TNS connect strings (like tnsping) to check a dblink via a session?
I would like to know, if there is any chance to get the currently used TNS connect string, that will be used for a DB-Link from a db-server. I'm connected to a schema on a database located on any server. Now, I have some database links, using tnsnames and which are currently not working properly. I would like to check,...
I do not think that is possible. Someone or something needs access to the Filesystem to read the tnsnames.ora. When using the DB-link oracle will get the definition for RDBX from the tnsnames.ora file. This is transparent to the user, so the user will not notice. As @EdStevens suggested I would try to solve the politic...
0
2
1,476
2019-10-28T14:02:04.100
warehouse_errors
dba.stackexchange.com
360,554
iptable - configuration for outbound traffic from local network
I reinstalled a ClearOS box, which is based on CentOS. The previous install ran fine for 3 years, without a glitch but I may of misconfigured something on this install along the way, as things are not working as they should. Browsing internet does not work when content-filtering is disabled. I used to be able to browse...
Is this a set of hand-crafted rules? One thing that jumps out: the network 192.168.0.0/24 is on two interfaces: [CODE] and [CODE] - which is almost certainly not what you want. For general debugging, you can also use this command: [CODE] (or some variant of that.) Then you can watch packets increase as traffic flows. T...
1
1
1,394
2012-02-15T21:08:24.500
infrastructure
serverfault.com
115,618
Cannot remotely connect to SQL Server 2012 VM on Azure
I have a SQL Server 2012 instance running on a virtual machine in Azure. I have tried to connect to it using the public virtual IP address; however, I get an error saying: The server was not found or not accessible I have checked that the [CODE] tickbox is checked, and have allowed the [CODE] through the firewall. I wa...
basic things to check: new firewall inbound rule inside the VM enabling sqlservr.exe. You can make it as restrictive as you want but start with allowing all inbound connections first to verify it works then lockdown one thing at a time new firewall inbound rule inside the VM enabling sqlbrowser.exe. Needed if running n...
2
3
4,863
2015-09-21T07:38:47.653
database_errors
dba.stackexchange.com
43,277
Executing local scripts against remote server?
I am in a situation where I would like to execute a number of sql scripts that are on my local machine against a remote MySQL instance. I found this question which seems to point me in the right direction. After reading this I tried the following: [CODE] But it's been throwing an "Access denied..." error for [CODE] . W...
Obligatory security disclaimer: You shouldn't be ssh-ing into a remote machine as root, neither should you be connecting to MySQL as root. But I digress. At least the question implies that the remote MySQL server isn't directly accessible from the Internet. It's a little bit difficult to be sure whether you're doing th...
1
3
2,866
2013-05-28T23:45:12.473
database_errors
dba.stackexchange.com
697,860
Cannot connect to Digital Ocean Server with Filezilla
I have a LAMP server I created and am trying to upload files to it. When I try and log in on filezilla I use my IP user name and port but I get this error: [CODE] I can log in with that user name and password from their online console easily, but I am now trying to upload files.
As the error message says, "Cannot establish FTP connection to an SFTP server." So in the Filezilla Site Manager, you need to choose protocol SFTP instead of FTP for that connection.
0
1
1,902
2015-06-10T07:38:43.240
infrastructure
serverfault.com
524,550
Replacing hosts in puppet
I've just had 5 new servers provisioned to replace existing servers. The current servers are all setup web1.domain.com etc and use puppet to manage configuration. I want to setup the new servers to replace the old with the same hostnames, but it seems puppet has a problem with this as the private ssl keys differ betwee...
You can use [CODE] to remove the old host's certificate from the master, allowing the new host to get a signed cert.. but this will break the old host's subsequent puppet runs. Another option is the [CODE] option in [CODE] , but instead of allowing the two nodes to coexist, it allows an automatic overwrite of the old h...
4
6
568
2013-07-18T21:49:51.547
pipeline_ops
serverfault.com
590,787
Remote jmeter-server error while getting the results back after some time
I have a question, I'm using jmeter from my pc that drives a jmeter-server that is installed on a RHEL5.8 my version of java is : [CODE] My pc runs ArchLinux. On both I use the same version of Jmeter, that is : jmeter.JMeter: Version 2.11 r1554548 So I try to run a simple test, with 3 requests to a soap webservice, and...
I've got help from this website : http://howtojboss.com/2012/07/31/concurrent-high-throughput-performance-testing-with-jmeter/ The solution was to use this parameter, it seems that when you open too many connections the ports that are used for old ones are staying too long on TIME_WAIT state, so this helps : [CODE]
0
1
2,649
2014-04-23T13:09:52.287
infrastructure
serverfault.com
202,568
Debian Squeeze - install older kernel
I've installed debian Squeeze with kernel 2.6.32-5 and I need to install Vmware on it. The problem is that I can't compile the kernel module that is needed to run vmware. I've dug through every possible bit of information on how to install vmware-server on squeeze, but nothing seems to work. I've decided to get rid of ...
Someone seems to have figured out how to patch vmware workstation's host module to work in 2.6.32 , at least on Ubuntu. As for downgrading the kernel, it can be done using preferences/pinning, but if you downgrade to the Debian Lenny kernel package, the ethernet card would be unsupported (what card is it?). You would h...
1
1
1,029
2010-11-16T17:32:33.977
infrastructure
serverfault.com
88,363
How do I set the global PATH environment in a batch file?
The group policy in our environment overwrites the PATH variable every time I log on and, as I run a 'non-standard' computer, it gets it completely wrong (C:\Windows vs C:\WINNT, missing directories etc). Currently, I manually change it every time I log on, but that is starting to get tiresome. If I use the SET command...
You can use the setx command: [CODE] Setx is available in Windows 2003 and later, but can be downloaded in the Support Tools for Windows XP.
11
10
43,250
2009-11-25T21:59:23.883
infrastructure
serverfault.com
228
Cascaded Error in Apache Storm
Going through the presentation and material of Summingbird by Twitter, one of the reasons that is mentioned for using Storm and Hadoop clusters together in Summingbird is that processing through Storm results in cascading of error. In order to avoid this cascading of error and accumulation of it, Hadoop cluster is used...
Twitter uses Storm for real-time processing of data. Problems can happen with real-time data. Systems might go down. Data might be inadvertently processed twice. Network connections can be lost. A lot can happen in a real-time system. They use hadoop to reliably process historical data. I don't know specifics, but for ...
8
4
77
2014-06-01T12:51:25.040
hadoop_errors
datascience.stackexchange.com
324,326
Memcache+PHP session tuning: How does memcache expire keys?
I've done some research into this and have not found a definitive answer. We have a web app that is using the PHP+Memcache session handler. I have several questions, all interrelated, but ultimately my issue is, "Why are PHP sessions apparently not expiring when we think they should be?" i.e. The end user should be log...
We've encountered this as well, but have managed to dig into it and work out exactly what's going on. The symptoms we encountered was that memcache (with a reasonably large memory allocation running across multiple servers) started to evict content. This is undesirable, as it can adversely affect current visitors on th...
7
9
12,142
2011-10-24T16:20:17.627
infrastructure
serverfault.com
952,276
Writing a file from Linux to Windows
I'm running [CODE] locally (Windows 10) while connected to a VPN. During an [CODE] session, I'm generating several files that I can write to a connected Windows server by using the file path [CODE] where [CODE] is the [CODE] object I'm writing. Because of ePHI reasons, we've stood up a Redhat AWS AMI inside of our VPC ...
If it were me, I would setup the SMB folder on the Linux box and have the csv files there. All you would have to do is add some config to /etc/samba/smb.conf and restart the service, which is pretty straightforward. From the Windows box, you can access it \IP Address\Share.
1
1
930
2019-02-04T18:47:13.500
infrastructure
serverfault.com
763,614
Hyper-V NUMA setting
My machine is running on Window 2012 R2, with 48 Logical processors and 240GB RAM. I have create a VM with 48 processors and 230GB ram. I am double about the NUMA nodes I should create and memory assign to each nodes. By click a the 'Hardware Typologic', it create 24 nodes with 2 processors each. Currently I have set t...
When you click "Use Hardware Topology" the VM assumes the same configuration reported by the BIOS of the physical machine. If it then said that your VM had 24 NUMA nodes, that means your host's BIOS is reporting each core as a separate NUMA node, which is not particularly useful. You should examine the BIOS settings of...
-1
1
2,288
2016-03-14T14:10:59.047
database_errors
serverfault.com
442,062
Reuse same code for validation and runtime integrity checks?
Scenario I have a system where a user can upload an Excel file which is validated and then used to provide data for the application. There are two distinct operations I need to handle with this file: Validation : On upload, I want to validate report any problems with the file, so that the user can fix it. Some of the v...
I would typically start with the most simple and DRY solution first you can come up with. I guess this would be a reusable component which produces everything (error objects and value objects) and let callers decide what they need. Callers then can decide if they want to throw an exception in case of errors, or if they...
0
1
118
2022-11-03T12:35:50.543
data_quality
softwareengineering.stackexchange.com
1,042,432
pm2 deployment to aws micro instance of ubuntu 12.0
I have ran a pm2 deploy script that seems to have hung, I am running a aws EC2 Micro instance runnning ubuntu 12. The only indication I have of what's wrong that I can tell is a message I got when trying to ssh in [CODE] Here is my config for pm2, what I am wondering is what are the best next steps to resolve this, sho...
I ended up rebooting and running my deploy script again it is working now. If anyone could shed some light on why it hung I will select that as the answer. Thanks
0
0
138
2020-11-13T15:17:52.933
pipeline_ops
serverfault.com
997,682
Office 365 Migration what to do with Shared, meeting rooms and DL
We are doing a Migration from on-premises Exchange 2010 to Office 365 and we have installed Azure AD connect already. I am slowly doing the Mailbox Migration, Question stuck in my mind is what do I do with Shared, DL and Meeting rooms? How do I migrate them?
Do you have a hybrid environment? If so, you can use AADConnect to synchronize the on-premises DLs with AAD so that they appear in the cloud GAL. The groups will have to be managed on-premises because they are "owned" by that environment. Office 365: How to migrate on-premises Resource (room) mailboxes https://social.t...
0
2
4,632
2020-01-05T13:08:49.077
infrastructure
serverfault.com
332,428
How can I get a range of values from sparse data
I have the following table (simplified): [CODE] Those represent segments, delimited by ts_start, ts_end and a range price_top, price_bottom. The data is sparse and rows are created only when something changes. There are several timeframes running at the same time, represented by 'interval' I would like to make a query ...
This seems to me to be an excellent use case for PostgreSQL's range data type(s)! I've created your table with a few changes as follows (all of the code below is available on the fiddle here ): [CODE] A few points to note: the [CODE] type is almost always preferable to [CODE] (first field) - see [CODE] , [CODE] and [CO...
0
1
57
2023-10-23T14:31:46.410
warehouse_errors
dba.stackexchange.com
912,508
How to share a storage between multiple VMs using VMWare ESXi and VSphere?
I have two application servers running in a active/active cluster within a VMWare ESXi (5.5, upgrade to 6.5 in near future) virtual host running VSphere. The application needs a shared, high performance storage. ESXi utilizes an EMC storage using LUNs. Is there a way to create an additional storage (disk device) that i...
The general scheme is to create a new vmdk using 1:0 as SCSI ID to create a separate virtual controller. This controller can then be set to shared virtual (sharing on a single host) or shared physical (shared across hosts). On the other VM you add the existing disk using a separate controller as well and you're set. Ob...
3
1
16,353
2018-05-16T13:54:20.393
infrastructure
serverfault.com
90,879
What to do when facts change frequently in a star schema for data warehouse?
I have a Quotation Management system that I built as a CRUD web app. Over time, I realized I need to improve it so that management can have their reports. Hence I studied the Kimball method of data warehousing. I am now familiar with the concept of Dimensional and Fact tables. On paper and pen, I have identified Quotat...
If I don't need to track history then just add/update/delete the fact records as the Quotation Lines change. If I do need to track history then add effective start and end dates to the fact table. See Timespan Accumulating Snapshot Fact Tables Credit goes to Nick White in this thread .
0
1
4,199
2015-02-03T06:25:18.123
warehouse_errors
dba.stackexchange.com
995,527
Best strategy for daily back up of terabytes of data with millions of files
Currently I create an NFS and mount it on a special server that does the actual backups and uploads it to s3. My main concern is I feel like overcomplicated this simple task. I schedule cron job to run the backup off hours but still would like to optimize and improve my strategy. Currently the script on backup server w...
Sync programs like aws sync or rsync are easy to use, but metadata heavy. Large number of files causes a ridiculous number of metadata I/Os. Your tar command customizes the sync to what you care about. Only checking mtime metadata, or traversing trees with dates in the name, will be more efficient. But yes, custom mean...
2
2
353
2019-12-14T00:34:03.553
database_errors
serverfault.com
484,850
Installing Imagick PHP Extension on CentOS 6.3 64bit?
I am trying to configure and make install imagick extension, here is commands that i used [CODE] But this error happen : [CODE] I found MagickWand.h at this location [CODE] Here is my ImageMagic Version [CODE] Is there any option with configure so i can locate that header file ? am i installing right version since my p...
You can use pkg-config to locate header file MagickWand.h Suppose you install ImageMagick in /usr/local/ImageMagick-6.8.4 and imagick-3.0.1 [CODE]
0
3
8,510
2013-03-05T14:24:29.227
infrastructure
serverfault.com
861,815
Let user change deployed taskbar pins in win10
I'm working on a Windows 10 deployment and want to use a LayoutModification.xml to configure the taskbar . The deployment works perfectly and makes my changes but users aren't able to remove these pinned items when they are unneeded. How do I allow this? [CODE] EDITS: This is occurring on Win10 1703. I was thinking it ...
Looked back at this several times over the last year and came to the conclusion it isn't possible.
3
0
604
2017-07-12T16:53:36.663
pipeline_ops
serverfault.com
158,140
VPS Ram Usage , the ram in use is Different to sum of memory used by processes
I start my virtual server from yesterday and move my sites to it. There is one problem which I can’t understand it. Task manager shows the Ram in use is 7.5 GB, it is very high for server status while in last server this web sites uses 3 GB ram only. I check all process on server and calculate sum of their memory usage...
It sounds like this is being used as cache. It's perfectly normal for systems to fill all available memory with cache.
1
0
569
2010-07-07T09:55:40.367
database_errors
serverfault.com
58,898
Migrating from Sql Server Express 2005 to express 2008
Please advice on doing this migration, are there any issues I should be aware of. Can I do an in-place migration of the server or side-by-side?
Run the SQL Server Upgrade Advisor to check for any compatibility issues. You can do side-by-side or in place. Attaching 2005 database files to 2008 will upgrade them.
4
4
320
2009-08-26T11:30:57.713
database_errors
serverfault.com
300,152
Cannot drop index from MySQL INNODB table with foreign keys/references
I'm about to drop an index from a mySQL INNODB table. There are references defined already. When I try to alter it, it says: [CODE] Which at first seems logical, since there are relations, it can't be renamed. But even if I disable foreign key checking: [CODE] [CODE] I get the same! I don't want to drop ALL foreign key...
Create a new index before dropping the old one.
-1
0
4,308
2011-08-11T15:55:03.313
database_errors
serverfault.com
791,331
IKEv2 connection from OSX to Windows RRAS disconnects after eight minutes
Using Windows as a VPN client everything works perfectly fine. When I establish a connection using the integrated IKEv2 client on my Mac (OS X 10.11.6), I get disconnected after eight minutes. Until then it works perfectly as well. Log on the Mac says: [CODE] Event log on the server says [CODE] (it says the same when I...
Wildcard certificate was the problem. Everything turned out fine as soon as I switched to an appropriate SAN certificate. I made sure that the common name is also listed as a subject alternative name.
0
0
2,202
2016-07-22T06:44:56.847
infrastructure
serverfault.com
219,880
Apache2 SSL And Passenger Configuration Issue
I have the following virtual hosts configuration blocks. [CODE] I trying to serve a Rails App off Passenger on Apache. The Problem: The TestApp works fine with Apache and Passenger when not using SSL When I use [CODE] , I see the contents of [CODE] The path to TestApp is [CODE] Any help will be much appreciated.
Check your Apache conf file and make sure that there is no other SSL-enabled virtualhost is being added. If your using a stock Apache installation, most likely the SSL-enabled virtualhost that is causing the problem is within /etc/httpd/conf.d/ssl.conf -Tony
0
1
598
2011-01-07T15:36:47.907
infrastructure
serverfault.com
222,124
What other ways can I load balance EC2 servers without using Elastic Load Balancing?
I have a web application that consists of a web server managed by a web hosting firm, a set of EC2 instances in amazons cloud and a MySQL database (hosted on the webserver). MySQL is behind a firewall and is set to allow access from Localhost and from a single IP address which is an Amazon Elastic IP address that is at...
EC2 instances gets their own IP, it doesn't matter if they are behind Elastic Load balancer or not. You can't add your Elastic Load Balancer IP to your firewall to allow access from EC2 instances, because the outgoing IP of EC2 is not the IP of Load Balancer but it is the IP of the instance it self. If you are planning...
1
1
621
2011-01-13T17:59:37.510
database_errors
serverfault.com
258,988
Nginx returning blank HTML pages with php-fpm
I'm using php-fpm through Nginx. My nginx.conf can be found here: http://pastebin.com/Nu9iD8Km It includes a file found here: http://pastebin.com/ece4cwXF My php-fpm.conf can be found here (all the options omitted are the default): http://pastebin.com/70fBE30E My fastcgi_params file is similar to the default, but adds ...
My php section looks like this: [CODE] My listen directive in php-fpm.conf this: [CODE] Could you also provide your php-fpm.conf? If the error still exists, please enable logging in fpm and provide fpm logs: [CODE]
5
7
16,578
2011-04-12T21:21:25.990
api_errors
serverfault.com
383,718
jumbo frames network configuration /w esxi, openfiler
After some reading, this is how I think my small business network setup should look like. SAN Network (192.168.10.0/24, 1000mbps, jumbo frames enabled) Managed cisco switch 2 x ESXi host (2 x 1Gbps Ports each, No HA) OpenFiler /w iSCSI MPIO (2 x 1Gbps Ports) - LAN network (192.168.1.0/24, 10/100mbps) 2 x ESXi host (1Gb...
Q1. Does this mean I have to configure two virtual switches in ESXi? One to enable jumbo frames for the Cisco network, and another set as default? No, enabling JFs doesn't stop a switch from handling non-JFs, so only one vSwitch for iSCSI required. Q2. What happens if I connect the SOHO switch to the Cisco switch after...
0
0
664
2012-04-27T08:03:06.673
infrastructure
serverfault.com
901,582
Why is ExchangeGuid blank for user that we use Enable-RemoteMailbox on?
We have a hybrid setup, and in our user creation process script we create the AD object, then we connect to our on premise Exchange and run [CODE] to enable the user's mailbox in Office 365. What I have been noticing recently is if we run [CODE] it'll return with [CODE] as the [CODE] . When I run [CODE] while connected...
i have this issue also. workaround. now I have to go and connect to o365 do a get-mailbox user |fl exchangeguid copy the GUID goto onprem hybrid and run set-remotemailbox user -exchangeguid Paste the GUID which then allows the user to connect to the mailbox on premise. im interested to know the fix for this also... sig...
0
1
14,620
2018-03-14T12:11:15.517
infrastructure
serverfault.com
1,100,263
Google GCE VM - how to kill VMs if startup script fails
We launch workloads in GCE using Managed Instance Groups (MIG), which oversee the lifecycle and health of these VMs. New VMs are provisioned with a startup script (bash), which, on rare occasions, fails in some way. However, the VM is still able to start, launch it's workload, and pass it's health checks. Is there some...
Happy to report Google is adding this feature to the GCE API. To be explicit, the feature will inform a MIG that the GCE VM is considered unhealthy if the startup script does not exit with rc 0. I'll update this answer with link once it's implemented.
0
0
542
2022-05-05T16:00:56.127
infrastructure
serverfault.com
100,741
Scale MySQL trigger for thousands of inserts per seconds
We are using MYSQL database for an Analytics app. I have two table [CODE] and [CODE] (for overview of actual data) both have [CODE] A row is added to table [CODE] every second using python MySQLdb . I have an after insert trigger on [CODE] table which does the following: Get the latest entry (last) from [CODE] 's If [C...
Don't use a [CODE] . Instead, gather a minute's worth (say) of data in a staging table. Then do the desired updates en masse. If you need the user to get up-to-the-second information (instead of just up-to-the-minute), have the user's query do that final update also. To phrase it differently, summarization is much more...
0
1
2,199
2015-05-06T09:37:17.493
database_errors
dba.stackexchange.com
590,591
Enable TLS 1.1 and 1.2 on Windows Server 2008 SP2
Is it possible to enable TLS 1.1 and 1.2 on Windows Server 2008 SP2 (not R2) running IIS7? I've tried changing the registry and using IIS Crypto to enable it but it seems its not working. If its not possible then how could I mitigate the Beast attacks?
Microsoft has released an update for Windows 2008 in 2017 which adds support for TLS 1.1 and 1.2 See @Chris Vesper's answer for the details. Original: Windows 2008 does not support TLS 1.1 and 1.2. You can mitigate beast by using a different cipher-suite (not involving RC4) Have a look over at security.stackexchange.co...
7
4
22,305
2014-04-22T16:36:10.197
infrastructure
serverfault.com
348,851
Windows Search service continually being set to Disabled startup mode
I've searched around for a solution, but it seems that most people want this to happen. I would like Windows Search to start up in Automatic mode on this machine. I set the service to Automatic, start it, and all is well. But...when the system restarts the service is set to Disabled startup mode. I don't know what proc...
Assuming the machine is joined to an Active Directory domain the most likely explanation is that Group Policy is configuring the service startup to Disabled. The "Resultant Set of Policy" tool ( [CODE] ) can show you (in under "Computer Configuration", "Windows Settings", "Security Settings", and "System Services") if ...
1
1
2,168
2012-01-11T14:07:56.897
infrastructure
serverfault.com
378,204
File storage microservice design
Problem overview: I'm creating a spring application just for learning purposes. I would like to create a microservice just for files, which: at the beginning would have only two basic endpoints [CODE] / [CODE] a file (used by other microservices, not by a user directly) create db only for that microservice with the [CO...
A goal of a service in SOA is to perform some logic which, otherwise, would have to be duplicated among other services. That logic is, in turn, the reason for the service to exist. In your case, you add no value through the service. Any other service could easily access S3 directly, given that S3 is itself a service (i...
16
20
19,520
2018-09-09T18:07:19.247
data_quality
softwareengineering.stackexchange.com
387,719
How do I use the excape characters properly in csh's builtin echo command?
I'm trying to build my fstab during install with a script, so I want to have something like this: [CODE] Is there a way to do this in csh with echo? I have tried and it's not working properly. For example, here is a test and the output on my FreeBSD 9.0-RELEASE-p1 box: [CODE] What is going wrong here?
Csh's builtin echo doesn't support this feature, so you'll need to type the path to the system's echo command. Additionally, you need to either add an additional backslash or put the backslash in quotes. Either of these should work. [CODE] or [CODE] Contrary to what I posted before, you do not need to use the -e flag. ...
0
1
134
2012-05-10T00:55:36.960
infrastructure
serverfault.com
771,388
How can I fix Samba 3.6.25 "the trust relationship between this workstation and the primary domain failed" error?
Today I updated our Ubuntu server which is also the primary (and only) domain controller to the latest Samba packages which fixed a few security vulnerabilities. The following packages were updated: libpam-winbind:amd64 (3.6.3-2ubuntu2.17, 3.6.25-0ubuntu0.12.04.2) smbclient:amd64 (3.6.3-2ubuntu2.17, 3.6.25-0ubuntu0.12....
Ubuntu seems to have fixed this problem with the following update: http://www.ubuntu.com/usn/usn-2950-3/ released on 2016-05-04. USN-2950-1 fixed vulnerabilities in Samba. The fixes introduced in Samba 4.3.8 caused certain regressions and interoperability issues. This update resolves some of these issues by updating to...
5
1
9,098
2016-04-19T10:17:36.610
infrastructure
serverfault.com
561,572
SSH ForwardAgent multiple hops
I've been looking for a solution to the following problem for the past 2 hours with no luck. Development: I'm using publickey authentication to connect to my servers. I use ssh-agent forwarding in order to not have to manage public/privates keys. Let's say I have servers [CODE] . This works very well if I connect from ...
To have agent forwarding work through multiple hops you simply to need adjust your client configuration on each intermediate system so that agent forwarding. It could be as simply as making sure your [CODE] has this configured. But if you have per-client configs in [CODE] you may need to adjust those settings as well. ...
16
13
18,375
2013-12-16T04:11:49.093
api_errors
serverfault.com
327,649
While restoring from mysqldump file, how do I write the table names to a log file?
Sometimes I've run into situations where developers have changed structures, added/removed columns on different DB servers, environments, etc for the same table and this causes errors such as [CODE] . At other times, there are data type mismatch errors. I usually write the output of a mysqldump restore to a log file, b...
If the structure has changed you shouldn't restore from an old dump, you will overwrite the changes. I suggest use the mysqldump command as follows [CODE] [CODE] now will have the following structure [CODE] --complete-insert Use complete INSERT statements that include column names. --no-create-info, -t Do not write CRE...
0
0
211
2023-05-29T13:54:02.527
database_errors
dba.stackexchange.com
142,778
Moving SQL Server databases from one drive to another?
I have a SQL Server 2008 R2 on my machine which stores everything on the C: drive (C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA). I got an additional Hard Drive now and would like to move all the databases over. It's 26 databases, so I'd like to avoid manually disconnecting/reconnecting them....
Everything I've seen about moving databases between disks involves manually detaching, moving, and reattaching the databases. Alternatively, you can script it to do the same.
1
1
414
2010-05-17T22:40:38.840
database_errors
serverfault.com
211,408
Batch access to NetBIOS locations / associated script
I'm trying to write a batch file to Access \sharelocation\folder\file Compare that file to c:\folder\file If the files are the same, run the local file. If the files are different, replace the local file and run the new local file. I'm stuck on the first part. Is there a good way to do this? Maybe I can use [CODE] to m...
Something along these lines: Mount the share, as per http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/net_use.mspx?mfr=true : net use x: \share\location Compare the files fc c:\folder\file x:\folder\file Branch as necessary, as per this SOq - https://stackoverflow.com/questions/671642/how-...
1
1
361
2010-12-10T19:04:21.907
infrastructure
serverfault.com
999,434
Tracking down source of Active Directory user lockouts
The Problem Suddenly, many users of this organization's systems began reporting that they had been locked out of their Active Directory accounts. The Environment The entire network is physical and local. There is no direct internet access. There is a firewall that connects the local network via VPN to a broader corpera...
You should really be using Advanced Audit Policies now, and set them for all computers via group policy. The Advanced policies are more granular and provide more specific info. The article on the Audit Account Lockout policy describes the recommended GPO settings - basically, audit failure for everything, DCs, member s...
1
1
3,030
2020-01-17T23:54:20.053
infrastructure
serverfault.com
284,157
Munin Aggregate Graphs from several servers
I am using DNS round robin load balancing and have divided my total traffic onto multiple servers. Each server does around 300-400req/second but I am interested in having an aggregate graph telling me the TOTAL of all requests per second served by our architecture. Is there any way I can do this. Right now each graph i...
There is a way look: [CODE] I think you get the idea. Later I replaced my munin monitoring with a more complete solution....
4
4
2,582
2011-06-25T19:47:00.963
infrastructure
serverfault.com
534,956
Exchange 2010 Transport Certificate , Event ID 12014
I am getting cert error on our external domain for TLS. I already have a cert for Web Outlook and ActiveSync, but that's a different domain name, this is our mail.name from our MX records that I've never put a cert on. I don't mind buying a public cert for it, but I am confused on the cert setup in EMC to generate the ...
You can expand any of the sections (doesn't matter) under the "Exchange Configuration" page of the new certificate wizard and just type in mail.mydomainhere.com, and hit next. The wizard is just trying to help make sure you've covered all of your bases, and helps you build a list of names if you're applying for a Unifi...
0
0
4,393
2013-08-29T21:08:20.987
infrastructure
serverfault.com
367,965
Is constructing objects with null parameters in unit tests OK?
I started writing some unit tests for my current project. I don't really have experience with it though. I first want to completely "get it", so I am currently using neither my IoC framework nor a mocking library. I was wondering if there is anything wrong with providing null arguments to objects' constructors in unit ...
In the case of the example above, it is reasonable that a [CODE] can exist without a [CODE] . In which case, I'd say that not only is it acceptable to pass in a null [CODE] sometimes, I'd say that it's obligatory. Your tests need to ensure that the implementation of the [CODE] class is robust, and does not throw null p...
38
70
12,692
2018-03-20T10:49:25.440
api_errors
softwareengineering.stackexchange.com
241,051
The Target Principal Name Is Incorrect. Cannot Generate SSPI Context (SQL or AD Issue)?
We had a power outage last night and when the server came back up our domain users could not access our SQL Server 2000 instance name: MASSQL. We can access using SQL Authentication. We tried making sure the user that runs the service has SSPI read and Write We tried creating a new user We tried running the service usi...
Use [CODE] to look for duplicate SPNs for the SQL Server in question. Remove any duplicate SPNs that don't line up the SQL Server Service account in question. Service Principal Names for SQL Server take the form of: MSSQLSvc/server.domain:port MSSQLSvc/server:port Assuming your SQL Server is using the default TCP port,...
3
4
25,845
2019-06-20T17:13:39.863
database_errors
dba.stackexchange.com
477,642
Using HAProxy for transparent forwarding and selective redirection
I'm setting up a temporary haproxy instance to help test a new back-end for an iphone app. Instead of having a specially produced app or a jailbreak, my plan is to set up a proxy that all phone data will go through, but have it match host headers and forward them to the new servers that are not yet live. In short, I wa...
There is no way to configure haproxy to do this for you. The backend servers in haproxy have to be explicitly named. Couldn't you instead just use a dedicated DNS server to direct the phone to the correct server?
3
1
17,628
2013-02-11T15:22:02.123
infrastructure
serverfault.com
44,933
LeNet-5 - combining feature maps in C3 layer
Famous LeNet-5 architecture looks like this: The output of layer S2 has dimension: 10x10x6 - so basically an image with 6 convultions applied to it to derive features. If each dimension was again submitted to 6 filters the resulting output would be of 10x10x36 however it is 10x10x16. Initially I stumble on it but finna...
See this table, each row of which has 16 numbers. I don't know how to align them, so I posted a picture as well. FILTER 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 WEIGHTS 75 75 75 75 75 75 100 100 100 100 100 100 100 100 100 150 BIAS 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 TRAINABLE PARAMETERS 76 76 76 76 76 76 101 101 101 101 101 ...
3
0
727
2019-02-01T18:34:56.053
data_quality
datascience.stackexchange.com
1,118,877
Reverse Proxy - Using Subdirectory
I cant use cname, therefore i would like to split my services into subdirectorys. [CODE] When i do this i get the HA Logo, but in the developer console i see that he tries to load files from the main side. e.g. instead [CODE] i get [CODE]
Yes, because your [CODE] page lists [CODE] as a resource. You have three ways to solve this: Tell your application that it should use relative paths, e.g. [CODE] Tell your application that it should use absolute, but correct paths, e.g. [CODE] . Use something like ngx_http_sub to do a rewrite on the fly.
0
0
223
2022-12-26T19:41:08.460
infrastructure
serverfault.com
201,788
How can I get performance using PostgreSQL CTE recursive?
I did a tree structure using id and parent_id in the same table. For query's I'm using CTE provide by PostgreSQL, but it's spend so much time to do the joins with recursive results. For example, by the time I have 100 records on sadt_lot table, and this query is spend 8 seconds to return the results. Someone have a bet...
I found the solution. I was using the recursive expression how parameter to join and it was do several lops on the table used on join, a better aprouch is before join with this table(sadt), do the join with recursive expression(downlots "table") and after, using result, do join with the sadt, with that, the query jump ...
0
1
2,834
2018-03-20T13:26:01.990
database_errors
dba.stackexchange.com
1,060,268
SSL for devices in local network
Initial question We make devices which run a webserver and the user can control some functionality of the device by browsing directly to the IP of the device. This can be a fixed IP when a direct WiFi or ethernet connection is used but in most cases this is the IP that the device has received from a DHCP server in the ...
Step 1: Make the device generate a self-signed certificate for its IP address and/or hostname on first setup or when the IP address is changed unless there is a customer-provided certificate in place. DO NOT sell devices with a common certificate (see the Let's Encrypt article you linked). Step 2: Make your documentati...
52
12
60,016
2021-04-13T15:18:04.450
infrastructure
serverfault.com
954,622
Is there a possibility to rewrite the recipient_delimiter in postfix
I use email address suffixes to file emails to different folders. For example, me+suffix@example.com would be filed in folder "suffix". This works, but I would also like to allow for "-" as recipient_delimiter. My understanding is that postfix allows for multiple separators. I can, for example, write [CODE] However, th...
The [CODE] mapping can be used to rewrite delimiters. [CODE] e.g. to remap all dashes into plus, use a regular expression like this: [CODE] For single-character delimiters, such rewriting should no longer be needed, as after Dovecot version 2.3.0+ the [CODE] works similar to how it works in Postfix : The recipient_deli...
2
0
1,039
2019-02-19T06:45:59.333
infrastructure
serverfault.com
637,859
Pass PHP5-FPM errors back to error page script?
My [CODE] has an [CODE] setup that throws 500 errors to a PHP page. I wish to display/log any PHP errors that cause this error page to show. When I say display, I mean show in-browser depending on a user's credentials. To clarify: I wish to retrieve the specific details about the exact error that occurred in PHP, not j...
As i understand you need to enable [CODE] in your location: [CODE] http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_intercept_errors : Determines whether FastCGI server responses with codes greater than or equal to 300 should be passed to a client or be redirected to nginx for processing with the erro...
1
2
637
2014-10-17T17:35:35.457
api_errors
serverfault.com
989,953
Windows Update KB4524147 Doesn't Work on Computers with 1903 Upgrade
We have computers which were 1803 and have been upgraded to 1903 using SCCM to push out the upgrade using a service plan. After this is deployed we are then deploying the update KB4524147 to the laptops using SCCM. The update will show as compliant in monitoring although it is not installed on the computer. I then trie...
When you install the newest version of Windows 10, you are most likely at version 1903.30. You can not directly update to version 1903.388. I would try approving all the updates listed here first.
0
0
95
2019-10-30T14:52:05.973
pipeline_ops
serverfault.com
700,455
Slow read speed. Raid 10 + H700 (1GB RAM + battery) + 4x 450 Hitachi 15K
So I have installed 4x 450GB Hitachi 15K in Raid 10 (Dell T610 + H700 + mem + battery). I have very simple issue. Read speed is terrible, I have also installed Raid 0 (2x 3TB WD Red) and speeds are like 330MB/s for read and 310MB/s for write. With 4x 15K 450GB SAS drives in RAID10 I am getting only 300-360MB/s read and...
In terms of sequential performance, for both read and write, RAID10 of four drives behaves exactly as RAID0 of two drives. You are seeing that yourself with just two drives blinking. That is the expected behavior. It is so, because RAID1 in standard configuration does not increase sequential read speed . (been wonderin...
0
2
1,786
2015-06-20T18:35:00.473
database_errors
serverfault.com
138,950
FreeTDS TSQL connect string
I am unable to connect to a MSSQL 2012 Server using FreeTDS on OSX in the terminal when I pass the -P . Example: [CODE] If I leave out the -P and force it to prompt for input, I can type/paste it in and I can connect. (No there is no typo when I try using -P.) [CODE] Seems very odd it works when I omit the password fro...
@Phil 's suggesting of the special char causing an issue was the problem. Corrected and the connection string works fine.
2
1
3,663
2016-05-19T01:10:14.987
warehouse_errors
dba.stackexchange.com
835,981
Massive counts of 4771 errors and can't determine the source
We've been having this issue for a while, various users, various workstations, and near as I can tell from viewing Netwrix reports, the users aren't even getting locked out. Literally seeing thousands of the following error per minute [CODE] I've looked through Carbon Black, I've done memory analysis, I've suspected it...
If the ticket request fails Windows will either log this event, failure 4771, or 4768 if the problem arose during "pre-authentication". In Windows Kerberos, password verification takes place during pre-authentication. You can get the details from 4771 - Kerberos pre-authentication failed If such error appears randomly ...
0
1
6,758
2017-03-02T22:23:24.853
infrastructure
serverfault.com
699,933
Automatic replies do not send to external people emailing in
Automatic replies work for anyone emailing someone internally. However, when an external customer emails in there is no automatic reply sent to them, there are no error messages or bouncebacks, nothing. Been happening for the past few days, no changes had been made to the exchange server.
Did you set the auto reply on the "outside organization" tab?
-1
1
5,738
2015-06-18T10:56:06.087
infrastructure
serverfault.com
943,004
DNS requests with the term "router" in a subdomain always redirected to local router
It seems that my router (Mikrotik RB2011UiAS) is somehow hijacking DNS request that have the subdomain "router" in them and forwards them to itself. router.google.com, router.amazon.com, you name it, even things like router11.google.com, I always end up at the web interface of my router (192.168.0.1). It's definitely n...
It seems that the default RouterOS settings, for my router at least, intercept DNS requests with the word "router" in them. It does so by applying a so called static DNS entry with a regex value of "router". How to add or remove such an entry is described in the official Mikrotik Wiki here . In case the link no longer ...
0
1
907
2018-12-05T14:35:08.657
infrastructure
serverfault.com
63,382
Any idea why this seemingly-simple query is really slow?
Here's the query [CODE] It seems pretty simple, but takes over 30 seconds to run sometimes. I think I'm doing everything right: indexes, no temporary table, no filesort, etc. But still no dice. Here's some info about my data. The table actually has a bunch of other columns, but I didn't think they were relevant so I re...
Please modify the query: [CODE]
1
2
106
2014-04-17T01:56:56.730
database_errors
dba.stackexchange.com
245,638
Java 64 bit application takes more memory than 32 bit
We have an application running on Mac with java 1.5 .This is a 32 bit VM. The heap memory is within the limit. When we move this application to Linux with java 1.5.(64 bit) We see a 50% increase in memory utilisation. Will the memory foot print of the jvm be so high in Linux? Do we have a patch for the same on Linux?
It will be quite usual for 64-bit applications to require more memory than 32-bit ones, (bigger variables, pointers, etc.). This, and the different JVM implementation between the two systems, could very well be the reason. I personally don't find this to be strange at all, so I would not consider it an issue, unless th...
1
1
974
2011-03-10T11:44:23.030
infrastructure
serverfault.com
108,989
How do I get Brent Ozar's sp_BlitzIndex to run on Azure?
I downloaded the SQL Server First Aid Kit from Brent Ozar's website. When I tried to run the sp_BlitzIndex script against my master database via Microsoft Sql Server Management Studio while logged in as the Azure database server level admin and I got the following error: Msg 262, Level 14, State 18, Procedure sp_BlitzI...
Kendra here (the author of [CODE] ) First, thanks for being interested in the procedure and trying it out. Azure doesn't expose all the dynamic management views that we get in the boxed product. I do actually reference [CODE] , but there's other info I need to get from [CODE] for other users. (Is it using compression? ...
14
27
2,424
2015-08-04T17:31:31.800
database_errors
dba.stackexchange.com
316,713
Redhat Apache 2.2.3 Not Loading
I have Apache 2.2.3 installed on this server, and when I try loading its webpage, it does not load. I just get a loading sign that it is trying to connect but no connection has been made. I check the conf file and it is listening on all ips on port 80. It also has a proper vhost file as well as has a simple text html f...
It looks like your firewall needs to allow access on port 80 try [CODE] and see if that works. If it does then save your firewall configuration with [CODE]
2
1
2,709
2011-09-29T06:58:14.247
infrastructure
serverfault.com
31,152
Why is I/O Other Bytes Delta Really high (100GB) when using Terminal Services (remote desktop)?
I’m running a server with Win 2003 Standard and when I’m remoting in I see that the I/O Other Delta is exceptionally high. If I don’t move the mouse or touch anything it’s around 4GB but If I start to move the mouse around it goes up to over 100GB. What precisely gets included in Other I/O and is it normal to have I/O ...
If your remote desktop is configured for high resolution and there is a lot of movement on the display, a lot of data will be generated towards the terminal. You can configure the remote desktop session to use lower graphics resolutions to reduce traffic. There are other tools ( TightVNC is quite good) that will compre...
2
2
3,160
2009-06-24T17:49:22.083
infrastructure
serverfault.com
146,203
Git push from post-receive
I have two servers, let's call them first and second. First one is where the real development is done, and second one should be the replica. What I would like to do is put "git push" in post-receive, but there is one problem. Post-receive is executed as the user doing git push to first server, so I can't chmod 600 ssh ...
Just not give to developers direct SSH to user that running git on 1st server. Use gitolite to use singe git account on server with key-based authorization without shell access.
0
1
661
2010-05-28T11:22:28.717
infrastructure
serverfault.com
876,061
Win10 - Non-Shared drives appear in remote list
Win10 Pro for those who need to know. dang. this is kinda tough to explain. i have 3 drives. one, i shared, the other two, i did not. when i go to access them from, say, my Android, i see ALL the drives, listed as $A, $B and $D, and ANOTHER named entry for the shared drive (eg. $D -> Spats). stranger still, i can only ...
time for the Bloody Moron Cap to come out... head-smackingly simple: i had Show Hidden turned on. O_o good grief... apologies for wasting your time folks. i go to sit in the corner and think about what i have done... :'(
-2
0
31
2017-09-29T04:33:28.173
infrastructure
serverfault.com
199,099
I've installed Lighttpd on my VPS, still the webserver relies on swapping
I've lighttpd on Ubuntu 10 on a 256MB RAM VPS. My goal is to completely avoid swapping. I'm running a Drupal webste with some images, shopping cart (no videos.. quite low estimated traffic). So.. still the system is swapping memory. I was wondering if I should configure now a MPM module with Lighttpd as I did with Apac...
Linux will swap pretty readily by default so as to make the best use of available memory. You can control how readily this happens by modifying the "vm.swappiness" kernel parameter. By default it is set to 60, but if you tune this down to 0, the system will only swap when absolutely necessary. [CODE] Bear in mind, howe...
1
2
234
2010-11-07T14:26:08.973
infrastructure
serverfault.com
594,609
Apache Reverse Proxy Java Application Server CLOSE_WAIT Connections
I've got Apache setup as a reverse proxy for a Java Application server (GlassFish) and I noticed there are about 100 connections in the state CLOSE_WAIT even on an idle development system: [CODE] I'm using the following HTTP proxy settings: [CODE] Why are all of these connections hanging around? I've set the "ttl=20 ma...
This is a known issue with mod_proxy , since 2011. The ttl needs to be shorter than the application's keepalive, so that apache is always first to send a FIN. Another difficulty is it's not defined at what point the connection will actually be closed. ttl - Time to live for inactive connections and associated connectio...
9
4
6,233
2014-05-12T18:39:43.510
infrastructure
serverfault.com
198,775
MySQL doesn't save my 90KB text in a LONGTEXT field
When saving my 90KB text in a LONGTEXT field (using phpmyadmin), nothing happens. Anything above around 64KB doesn't seem to get saved. I tried to reproduce the same behavior on another server but there it worked, so some setting on my server must be preventing it from saving packets above the 64KB threshold. Nothing s...
Did you update the other server via commandline? Or with the same browser / phpMA combo? Most likely, you are using a textarea to update this field, and most browsers AFAIK will only support sending a maximum of 32KB in that fashion, which is why your data is being truncated. There is a phpMA config variable, namely [C...
0
1
1,420
2010-11-05T21:21:48.293
database_errors
serverfault.com
283,403
Should I use: One event multiple subscribers or multiple events multiple subscribers
I am writing a data acquisition application. I wondering whether I should use one event multiple subscribers or multiple events multiple subscribers. I am worried about performance. Also could I improve performance by offloading the subscribers to a different thread? Here is an example of what I mean by multiple events...
If you get these items in batches, then it obviously makes sense to use events that notify about changes once per batch: [CODE] Taking into account that you operate over collections it even makes sense to consider standard INotifyCollectionChanged interface with its [CODE] event, depending on whether it suits the domai...
0
3
18,098
2015-05-09T19:26:49.003
api_errors
softwareengineering.stackexchange.com
903,840
Can't SSH to local area from DHCP server 2 NICs
Rephrased entire question. I messed up and had to reinstall OS of DHCP server and now can't get the DHCP server to ssh into anything on its local network. The server has 2 network interfaces. eno1 (to internet/router) and eno2 (local, server to server). My Host is 192.168.1.1 my other servers are 192.168.1.20 & 21 I di...
It looks like from the error that you need to edit the default interface for the dhcp service to listen on. Try adding INTERFACES="eno2" to your /etc/default/isc-dhcp-server file (assuming this is isc-dhcp-server). As far as being able to SSH/ping to the dhcp, it sounds like the dhcp server is not in the dns or it's a ...
0
1
246
2018-03-21T16:30:31.157
infrastructure
serverfault.com
599,533
AWS: Should my EC2 and RDS instances be in the same Availability Zone?
I just noticed that all of our EC2 instances are in zone us-west-2b , but our Multi-AZ RDS instance is in us-west-2a . Performance-wise everything seems to be okay, and it will be a hassle to "move" the instances to one place since you have to stop and re-create them all. However if either of the two zones goes down wh...
The Multi-AZ nature of your RDS means it may not always be in that AZ - they can move around. In the event of a failure of its current primary AZ, it'll fail over into another one automatically. As such, it doesn't make sense to move EC2 instances around to follow it when it could move away on its own. You should consi...
8
9
5,239
2014-05-29T19:53:06.563
infrastructure
serverfault.com
448,732
Can't make PHP work as FastCGI on Apache and Windows
I'm trying to run PHP as FastCGI with no success. I made a *.conf file such on mod_fcgid page but without a wrapper script. Here is my conf: [CODE] The server start normally and fcgid_module is shown with [CODE] , but php files are server as plain text.
Out of curiosity, try changing your line: [CODE] to [CODE] In order to get yourself up and running, you might also want to consider using mod_fastcgi (note, not mod_fcgid from Apache). A dll is available here http://www.fastcgi.com/dist/mod_fastcgi-2.4.6-AP22.dll Note that this is for Httpd 2.2. (A dll for 2.4 is also ...
2
1
2,033
2012-11-14T18:29:28.193
infrastructure
serverfault.com
97,075
Calculate Memory Cost and CPU cost for training and testing of machine learning/deep learning Model
I have a question regarding computing resource cost for training and testing of machine learning or deep learning algorithms. Any suggestion how can I calculate or extract resource cost like memory overhead and cpu overhead for t instance in time? If there is any formula that I can use or extract it from the computer I...
The Floating Point Operations (FLOP) or Events Per Cycle (EPC) are representative measures of CPU activity. Libraries like python-papi can extract many CPU events (low level or high level): http://www.bnikolic.co.uk/blog/python/flops/2019/09/27/python-counting-events.html https://flozz.github.io/pypapi/papi_high.html
2
1
624
2021-06-25T05:47:22.350
data_quality
datascience.stackexchange.com
92,847
What would you define as sensitive user data?
A recent previous question of mine had an answer that sparked a different and unrelated question in my mind: Customer wants to modify the .properties files packaged in our WAR file The question that I thought of after reading this answer is, just how low-risk is the data being collected on people (non-users, lets just ...
Anything that can be used to harm your users is sensitive It's not only 'sensitive' when it allows for identity theft, that is but one form of harm. If data can be used that way depends on the context. For example: the first and last names and the portrait are definitively sensitive user data in, uhmm, 'adult toy store...
6
13
1,902
2011-07-14T13:38:18.997
spark_errors
softwareengineering.stackexchange.com