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
589,718
Prevent Linux server host from using ARP
If I know all client will connect to the sever with the same MAC address and to the same interface, is it possible to prevent from server host to send ARP request for each new client IP it gets a connection from? I tried to add permanent ARP entry with a netmask but seems like it is not supported. Thanks.
There might be a missunderstand oh how IP/ARP works. There will be no ARP lookup for a "client" on another subnet. Your linux server knows that to contact the client, it needs to go through the router, and only looks up the MAC address of the router, not the destination client. Have a read here: Understanding ARP and R...
-2
1
177
2014-04-17T12:16:54.633
infrastructure
serverfault.com
438,865
VSFTPD uploaded file permissions
Let me first say that there are loads of topics regarding this, and I am sure i have seen them all by now. Still non of the solutions seem to help. I installed vsftpd. created a user ftp-data. Now I need that files uploaded by user ftp-data would have 755 permissions. Solving this should be as easy as adding: [CODE] bu...
Using the [CODE] and [CODE] as you describe works as expected on a system I have to hand. Did you remember to restart the vsftpd service after making the changes ?
2
0
2,433
2012-10-16T10:26:00.673
infrastructure
serverfault.com
52,681
Can it be useful to build an application starting with the GUI?
The trend in application design and development seems to be starting with the "guts": the domain, then data access, then infrastructure, etc. The GUI seems to usually come later in the process. I wonder if it could ever be useful to build the GUI first... My rationale is that by building at least a prototype GUI, you g...
Building fast GUI prototypes is a good idea, and I have heard it being used in many projects. Early feedback is valuable indeed. However, it has its dangers: it is very tempting (for managers / users) to use the prototype code further and build the final application on it, which can have very bad long term consequences...
18
28
1,543
2011-02-27T20:56:49.273
api_errors
softwareengineering.stackexchange.com
816,619
generate stderr log file in tomcat under linux
Recently installed Tomcat 7 in windows machine and its running a web application. Under 'C:\Program Files\Apache Software Foundation\Tomcat 7.0\logs', I could find couple of different log files out of which I am interested in the log file 'tomcat7-stderr.2016-11-22.log'. We have a linux machine which generates the log ...
From catalina.sh script comments: [CODE] then run tomcat...
0
0
1,944
2016-11-23T13:48:19.890
infrastructure
serverfault.com
36,403
SQL Server deadlock too long
I have a really weird problem with a deadlock between a business process and a monitoring job. The both were involved on a deadlock that lasted around 5.5 hours. I don't know why SQL Server took so long in identifying that deadlock. Here is the fragment of the errorlog file: [CODE] I really don't know in the first plac...
I suspect the queries were livelocked for that time (but couldn't possibly speculate as to why, other than that the truncates really took a long time). Some potential improvements to your query to reduce / eliminate blocking: try joining on [CODE] instead of [CODE] try avoiding built-in metadata functions like [CODE] ,...
2
3
2,468
2013-03-11T17:44:48.627
pipeline_ops
dba.stackexchange.com
837,880
cups fails to print files with very long paths
I got Debian 8 with CUPS 1.7.5 and HP LaserJet P2055D. Printing is OK, except that I can't print files, located on my network server with long nested paths. I.e. I can print file, located in \server\share\file.doc, but can't print same file located in \server\share\foler1\foler2\folerN\file.doc (around 200 characters c...
Not really. Filename (including path) limit for Linux is determined by filesystem type in question: 255 is a usual limit. Filename length limits on linux?
1
0
135
2017-03-13T06:59:07.877
infrastructure
serverfault.com
899,913
Bounced Incoming E-Mail in Gmail because of failed DMARC verification
[CODE] Unfortunatelly I can't send any emails to gmail addresses because of this error. Each message gets bounced and I receive a "Undelivered Mail Returned to Sender" mail. I configured openDMARC and set the DNS records. Apparently this was not enough. I checked Mail-Tester.com and DMARC seems to work. Feedback from n...
I think I fixed it, opendkim was the faulty part, not openDMARC. I trimmed down its' config and added the correct Selector. Now all emails arrive in gmail. Before : [CODE] After : [CODE] Unbound as local resolver and TrustAnchorFile: [CODE]
0
0
2,769
2018-03-04T14:42:11.633
infrastructure
serverfault.com
593,400
How do I grant privilege for a user to SSH into a Solaris machine?
I'm not sure how to do this. Documentation is not clear at all. I can get root privilege/be root so that's not a problem, I just don't know what to do. I'm thinking it's either modifying the sshd_config file (AllowUsers?) or else there is some line command that grants the privilege. Also, it would be nice if I could "d...
If that user already exists, and SSH is in it's default configuration, you don't need to do anything. Unless you (or a predecessor) have restricted which users are allowed, sshd will allow any existing user to SSH in to the box. If there is an error message you are getting, you'll need to add it to the original post so...
0
2
849
2014-05-06T14:12:25.293
infrastructure
serverfault.com
188,961
Setting up a development environment in the cloud?
I'm interested in transitioning my development environment onto the cloud. I currently use VirtualBox with Vagrant to manage separate virtual machines for each individual project. What would be the optimal setup for hosting these virtual machines in the cloud? Given than I have nearly a dozen VMs, setting up separate E...
EC2 only charges storage for non-running VMs. Import VMs to EC2, just be sure to turn them off when you are done. Use EBS backed AMIs for permanent storage, cost about $9/mo for 12 10GB volumes. If you use the VM 40-50 hours/week your costs will be minimal. Cheap VPS servers are generally overprovisioned and you will h...
6
2
1,847
2013-03-02T03:00:28.213
api_errors
softwareengineering.stackexchange.com
204,831
Group Policy processing and autologon on Windows 7
I'm trying to accomplish a few things via Group Policy on Windows 7. Software Installation, map drives, map printer, etc. I've got these computers set to autologon. The problem I'm running into is that the computers logon before DHCP has done its thing. Therefore, they don't apply any group policies properly. How do I ...
There's another policy that needs to be configured on Windows Vista and higher: Computer Configuration/Policies/Administrative Templates/System/Group Policy/Startup Policy Processing Wait Time Set this to 120. Then run gpupdate /force /boot on the machines.
3
2
2,963
2010-11-22T19:26:43.313
infrastructure
serverfault.com
546,829
Bypass DNSSEC for local Stub zones
I am using bind 9.9.2 as a DNSSEC validating recursive resolver in an Internet DMZ. I want to point to my internal DNS servers as stub zones (ideally) or anything except slave zones (to avoid very large zone transfers). We use a routable ip space for our Internal addressing. Sorry if I am using an IP space that you own...
I haven't figured out a good way to do this with bind, but can be done with the caching resolver "unboud". The option for unbound is [CODE] . Using bind the best I could come up with is signing your zone and doing [CODE] or something of that nature.
5
2
1,873
2013-10-07T21:17:03.937
data_quality
serverfault.com
241,078
Large variances between two similar queries when doing WHERE EXISTS on related table
I'm trying to diagnose an issue where 2 very similar queries are resulting in very different execution times, even though the execution plans are extremely simple. Broadly (and I've trimmed the selects and renamed tables), we have a primary table ( [CODE] ) that we are attempting to filter based on the existence of at ...
I understand the need to anonymize, but it makes analysis really difficult. There's also not a reasonable way to guess at why when you query two different tables, you get different performance without seeing the table and index definitions (aside from the fact that they're, well, two different tables ). Avoiding specul...
4
5
150
2019-06-21T01:16:38.460
database_errors
dba.stackexchange.com
529,692
S.M.A.R.T data from disks behind LSI MegaRAID Controller in ESXi 5.1
I was looking at ways to get S.M.A.R.T info and R/W stats from drives behind LSI MegaRAID controller (9260-4i) in ESXi 5.1. ESXi has a command "esxcli storage core device smart get" to get S.M.A.R.T data from drives but it doesn't work for disks under the LSI RAID controller. I have been looking at ESXi docs and LSI do...
You haven't added the version of ESXi you're using, but drivers for the 9260-series should ship with vSphere 5.1 - annoyingly I don't have the link to reference this, but I've been bitten by exactly the same bug before using the exact same controller with vSphere. You can need to follow this procedure to install MegaCL...
6
4
17,764
2013-08-08T20:01:40.790
infrastructure
serverfault.com
16,609
Benefits of stochastic gradient descent besides speed/overhead and their optimization
Say I am training a neural network and can fit all my data into memory. Are there any benefits to using mini batches with SGD in this case? Or is batch training with the full gradient always superior when possible? Also, it seems like many of the more modern optimization algorithms (RMSProp, Adam, etc.) were designed w...
On large datasets, SGD can converge faster than batch training because it performs updates more frequently. We can get away with this because the data often contains redundant information, so the gradient can be reasonably approximated without using the full dataset. Minibatch training can be faster than training on si...
5
4
6,853
2017-01-30T04:52:22.863
data_quality
datascience.stackexchange.com
1,076,872
how to enable "extended dns error" option in bind?
I want to use "extended dns error" option on my recursive dns server. What config changes are required to enable EDE? I am using BIND 9.16.18 as recursive server.
You can't (enable Extended DNS Error codes aka RFC 8914) in current (september 2021) versions of Bind. See https://gitlab.isc.org/isc-projects/bind9/-/issues/1836 The feature is still being worked on, so it doesn't exist yet. The current label on it is [CODE] so you might get that feature when that version of Bind is r...
2
2
333
2021-09-07T12:48:03.780
infrastructure
serverfault.com
450,131
Git Branching and Merging Strategy for Feature-Oriented Release Process
We have multiple developers contributing to a project, using Git as our repository. We have a QA branch that matches our QA environment and a master branch that matches production. Features can be in QA for weeks, because other more urgent requests come up, or there are issues with a particular feature that take the de...
No branching strategy will help you much if your features can be in QA testing for weeks. You need to make investments to reduce that time and complete QA faster. This often takes the form of extensive automation testing and the creation of build pipelines to run those automated tests frequently. If you can instantiate...
1
5
192
2023-12-15T02:28:29.890
api_errors
softwareengineering.stackexchange.com
485,521
Could not open port for activeMQ broker on CentOS
Here is my problem: We have a virtual machine on VMware ESXi with CentOS 6.3 system (devserver). We use port forwarding to access ports on the virtual machine. We deploy our application in tomcat on the devserver (Tomcat7,JDK7) Iptables is disabled. After deployment, ActiveMQ start to listen on 60001 port. The applicat...
I don't know ActiveMQ, but from netstat you can see, that it listens only on localhost: "127.0.0.1:60001". Try to check documentation about listening IP .There is similar question on stackoverflow
1
1
2,079
2013-03-07T08:47:07.210
pipeline_ops
serverfault.com
3,800
Using different servers for front-end and back-end?
I recently noticed that the load time of my website has slowed significantly. I'm not a developer, but my programmer mentioned this is due to the large amount of data that is being searched through when a user comes to the homepage (due to recording tracking information). Would using separate servers for the front-end ...
Depending on your server config it might. It is usually recommended that you don't have anything else running on the SQL Server other than SQL Server so that you can dedicate all the memory to the SQL Server instance. You may also need to do some index tuning to help solve the performance problem.
1
2
180
2011-07-12T19:46:27.777
warehouse_errors
dba.stackexchange.com
893,928
Can you run server 2003R2 as a guest OS in a server 2016 cluster
We are in the process of specing out a project for a client to upgrade their cluster hardware and host OS. They are currently using a server 2012 R2 cluster. We are going to take them to a server 2016 cluster. However I found 2 server 2003R2 VMs. Turns out server 2003R2 is supported by 2012R2, but is not listed as a su...
Indeed, Windows Server 2003R2 is not supported on Hyper-V 2016 but it doesn't mean that it won't work at all. You can create VM with first (legacy) generation and install integrated services from 2012R2 manually ( https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/manage/manage-hyper-v-integration-s...
3
2
3,580
2018-01-24T17:32:03.157
infrastructure
serverfault.com
699,488
unexpected end of file error in script file
[CODE] when i use to run the script am getting an error Syntax error: [CODE]
I tried to run that. I did not get a syntax error. In fact it looks mostly good syntax wise. Please see the output below: [CODE] I think you want to replace the quotes in this line with backticks: [CODE] so change it to: [CODE] There is also a logic problem (not a syntax issue) with that line because that assigns the s...
2
3
2,220
2015-06-16T20:03:30.677
infrastructure
serverfault.com
742,621
ssl error preventing apache from starting
Today I installed monit on a production server because mysqld periodically falls over. After a few hours, monit tried to restart apache, but failed, and I am unable to start it manually. The error is: [CODE] A check of file dates shows that none of the certificate files have suddenly been corrupted (all have dates from...
In the end it was an error in the ca-bundle file formatting. I had discounted that initially, because the site had been working happily for a month on https: Go figure.
0
1
2,904
2015-12-12T11:13:19.000
database_errors
serverfault.com
111,247
Size of individual transactions in log file
is there a way to find out the size of transactions from the transaction log by looking at the log file in SQL Server 2008? I do have an unexpected bloat of my logfile from some maintenance jobs which fail and do not seem to release the log space any more. So I would like to find out the statements and how much space i...
Please refer following link to get answer to your question : To get the size of each open transactions refer following link https://www.mssqltips.com/sqlservertip/1225/how-to-determine-sql-server-database-transaction-log-usage/ If you want to know the transaction log of any historical date then you can take the backup ...
6
1
177
2015-08-17T05:18:59.197
database_errors
dba.stackexchange.com
265,556
Upgrade openssl/mod_ssl on Mac OS X Server?
Context: I'm trying to set up an SVN server on a Mac OS X Server 10.6.7, and I'm running into the “SSL error parse tlsext” issue. I've tried changing the [CODE] option as described, but then I just get the "bad decompression" error. The other solution seems to be to upgrade openssl to 0.9.8m or greater. I can download ...
As CocoaBean has pointed out you will need to rebuild mod_ssl linking against the OpenSSL library you want to use rather than the one that comes with OS X. You would want to grab a copy of the Apache source code, as used in OS X (or the latest from httpd.apache.org ) and then rebuild it in accordance with the Apache Fo...
6
2
2,651
2011-05-02T18:14:42.223
infrastructure
serverfault.com
314,908
Issue with table size after upgrading to MySQL 8
I have two MySQL servers. One is running on 5.7.24 and other one is running on 8.0.29 version. In 5.7.24 I have table with 71M (millions) records and its size is about 6GB. The same table on 8.0.29 version (with same indexes) has 13.5GB. This table size affects a lot my queries, both inserts and selects. The steps that...
Sounds like the tables were forced to be converted from MyISAM to InnoDB. See if you can still do [CODE] on a big table on the old system. A RoT (Rule of Thumb) is that InnoDB takes 2x-3x the disk space compared to MyISAM. (13.5/6) The increase in size does not necessarily imply a performance issue. In general InnoDB i...
0
0
193
2022-07-27T12:05:44.437
pipeline_ops
dba.stackexchange.com
1,041,221
NGINX 1.13.8 Rewrite url not works
I have following location with rewrite: [CODE] then I tried this: [CODE] then this: [CODE] then this: [CODE] all of them not works. EDIT: this is full nginx config: [CODE] EDIT2 : here wellknown.conf config file body: [CODE] EDIT3 I optimized the locations, but it doesn't affect the final result: [CODE] Nginx version 1...
This should be possible to do without using the rewrite command. [CODE] In this example we use the case insensitive regex ( [CODE] ) to capture everything after [CODE] in the URL, then inside the location we rebuild the request using the $1. To test the setup, I added a configuration to my nginx: [CODE] This is configu...
1
1
934
2020-11-04T07:35:48.017
infrastructure
serverfault.com
400,736
Are DNAT and REDIRECT equivalent when applied to locally destined traffic?
In setting up our OpenStack environment, I ran into a problem that was preventing instances from contacting a server running on the host. The metadata service (which exposes an HTTP API) runs on port 8775 on the host, and the OpenStack networking code adds the following DNAT rule to grant access via a special address o...
What you're trying to do is explicitly denied by the kernel . You can't send packets from non 127/8 addresses to 127/8. The kernel filters them out and drops them as it considers them "martians". This presumably happens because [CODE] defaults to on. Possibly disabling it might alter this behavior (although that will d...
6
3
2,177
2012-06-20T21:34:25.100
infrastructure
serverfault.com
1,126,698
How to pass server configuration to postgres docker via a compose file?
I am using Postgres docker 14.4. I want to pass a server configuration (let's say [CODE] ) to the postgres docker. The doc gives an example using docker run [CODE] How this option can be passed in docker-compose? My docker-compose file now looks like below - [CODE]
It can be passed in [CODE] section. The updated docker-compose file with [CODE] set to 15 mins is like below [CODE]
0
0
538
2023-03-20T19:29:46.057
pipeline_ops
serverfault.com
214,072
String equality test fails for base64 encoded sha512 digest
I have the following table [CODE] I insert new elements using the following INSERT [CODE] Now when I try to SELECT against the [CODE] field: [CODE] It returns an empty set. [CODE] The puzzling part is that it seems to break only for SHA512 with base64 encoding , it works just fine if I use SHA256 or if I change the enc...
With 64 bytes, the [CODE] digest is large enough that encoding it in [CODE] generates a newline character (LF) in the result (at about 76 characters from the start). Probably what goes wrong is that newline character not being correctly reinjected in the SELECT query, where you truncated the literal with an ellipsis (s...
1
3
271
2018-08-04T17:50:17.867
warehouse_errors
dba.stackexchange.com
1,069,946
How to get variable's value in split_clients NGINX
I'm using [CODE] and it works perfectly in most cases. Ref: https://nginx.org/en/docs/http/ngx_http_split_clients_module.html [CODE] returns a literally string for further use. But now, I need returned string contains a variable, like this: [CODE] context : [CODE] [CODE] context : [CODE] When I visit [CODE] , it redire...
As @Gerard H. Pille suggested, using [CODE] can solve this issue. [CODE] context : [CODE] [CODE] context : [CODE]
0
0
747
2021-07-18T08:49:29.320
infrastructure
serverfault.com
1,109,959
Get Url Parameter from Request and store it in variable in apache config
In my apache config, I want to allow access only when a specific url parameter matches a specific cookie. I imagine a solution looking similar to this (in pseudocode): [CODE] How can I implement that? [CODE] How can I write this without mentioning the [CODE] part specificyally but using a variable instead?
I'm not quite sure if I understood your question correctly. I used this a while ago to semi secure a site: [CODE] If the query string of a request contains a specific token (in this case [CODE] a cookie named [CODE] is set with the value [CODE] . If this cookie is set the access is allowed, otherwise it is denied. Ever...
2
2
1,629
2022-09-05T07:18:54.263
infrastructure
serverfault.com
308,439
SQL Server Agent not running SSIS package
I have followed many articles to create an SSIS pipeline package, deploy it and schedule it. I'm trying to transfer data from two remote servers, an OLEDB driver that connects to a SQL Server Database as a Source and an OLEDB provider for ODBC drivers that connects to a MySQL Database as a Destination... The Pipeline w...
It worked. It seems that setting an OLE DB Destination was the problem. I replaced it with an ODBC Destination and the agent did its a Job
0
0
2,103
2022-03-08T14:44:42.323
database_errors
dba.stackexchange.com
267,943
Problem fixing ext3 root file system using fsck on CentOS 5
When I run a read-only fsck on the mounted root partition of a CentOS 5 server, it finds a number of errors. However, running a forced check upon next boot does not find any! Here are the results of the mounted read-only check: [CODE] The way I run a forced check is by: [CODE] This does force fsck to run upon next boot...
A mounted filesystem will be inconsistent on the disk. Don't check a mounted filesystem. Straight from the horses mouth: "However, even if it is safe to do so, the results printed by e2fsck are not valid if the filesystem is mounted." -E2FSCK(8)
2
2
2,443
2011-05-09T22:53:38.603
infrastructure
serverfault.com
762,015
Nginx Redirect all JPEG URL to single JPEG
There are two scenario that I'm trying to achieve. Scenario A : If client request URL that contains .jpeg or .jpg file, redirect the user to a single .jpg file that are on the server in this case myimage.jpg Scenario B : If client request URL that contains /abc/ directory, redirect the user to other domain through prox...
If I understood you correctly the config should be Scenario A [CODE] Basic tests [CODE] Scenario B [CODE] Basic test [CODE]
0
0
3,058
2016-03-07T07:52:53.803
infrastructure
serverfault.com
301,713
Should the main method be separate in a separate class?
In Java main methods often do little more than parsing the command line arguments and initializing an object that then takes over, for example: [CODE] I have seen that some software extracts this main method into a separate "main" class (often ending in [CODE] or [CODE] ): [CODE] The "main" class is closely coupled to ...
The pattern you mentioned isn't necessarily the pattern used in all programs. For example, if I want to make a program that reads messages, processes them, and sends output somewhere, I might have a [CODE] structure that's more like this: [CODE] The gist here being that the thing that is launching parts of my applicati...
3
4
9,978
2015-11-04T14:02:24.597
api_errors
softwareengineering.stackexchange.com
951,322
Azure Automation watcher task pass data to action task
I have configured a watcher task to monitor a group in AD. If a new user is found, select the samaccountname and convert to JSON, then send to the action task using [CODE] where $DataOut looks like: [CODE] But when it is passed to the Action task it appears as: [CODE] I have verified that the object is as expected befo...
Do you Convert-FromJson on the event object in the Action Task as well? This works for me on a file watcher Action task (examples in MSDN documentation). [CODE]
0
0
573
2019-01-29T16:32:06.073
infrastructure
serverfault.com
740,029
getting a list of live assets using nmap and script?
I'm playing around with a way to find all network assets from the command line that will return an IP, a hostname, and then have a way to see all interfaces associated with that host. I was using something like: [CODE] This works okay and gives me a list with hostnames and IP's, but there are cases where you might have...
You can't get that information from the outside. Before you go too far on the custom hack path, investigate common open source monitoring solutions. You can model your hosts in any of them and define the NICs that should be connected. Use the right tool for the job. It also helps if your internal DNS naming convention ...
0
0
827
2015-12-01T15:44:34.783
infrastructure
serverfault.com
579,512
Server 2012 explorer.exe missing after failed patch
This post is a last-ditch effort for ideas. Windows Server 2012 64-bit. Dedicated hardware. On reboot, the pre-login screen reports failed patches and attempts recovery. When I log in, the explorer.exe files are missing and I only have a windowed command prompt. Server services appear to be working (SQL, etc). It's act...
At the command prompt, start the system configuration tool (sconfig) and check if you haven't switched the server to "core" mode. If so, you can re-enabled it. Alternatively, you can start powershell and run: [CODE] You should have a feature named [CODE] and another named [CODE] To install the GUI shell from the powers...
3
1
22,982
2014-03-03T15:58:04.527
database_errors
serverfault.com
418,525
Setting up a dns server on CentOs 5.8
I'm having some problems with setting up my dns server on my vps (CentOs 5.8 32 bit) I have configured a dns zone with the ISPConfig 3 wizard. My name servers are registered at my domain registrar (at Yahoo) I configured my domain to use my name servers: [CODE] Still, when I go to my domain, it says page not found. The...
There is something wrong with the configuration of the DNS server software on your server. This can be seen from the following DNS diagnosis questions. You domain is correctly delegated ( [CODE] ): [CODE] The glue records are existing ( [CODE] and [CODE] ), although it's a single server: [CODE] But your DNS server is n...
0
0
3,242
2012-08-17T09:03:43.940
infrastructure
serverfault.com
73,734
mysql - is it possible to create a partition expression based on two keys / indexes?
if i have a table with, lets say 500 million rows, and among others there are two main individual indexes on that table. the table looks like: [CODE] 100% of the queries on the table are using WHERE clause on index1 OR index2. Taking this into account, and assuming it is now very reasonable time to partition that table...
I had written an interesting alternative of implementing your own manual hash indexes for your table, and then I made maths and realised your constraints: Having into memory 3 bigints will cost you [CODE] that you do not have. RDS is simply not adequate for you anymore, as it is not flexible enough to try some alternat...
3
1
1,193
2014-08-12T07:44:13.623
api_errors
dba.stackexchange.com
661,137
error Unable to configure verify locations for client authentication
Starting my apache2 Server on Ubuntu 12.04.5 LTS, I got the following error [error] Unable to configure verify locations for client authentication my Problem, on the server are more than one Client. so the question would be how to find out which client cert is doing a problem? As described on the Internet I excluded (o...
Check your certs are in .pem format (which is ASCII text) not .der format (which is binary). I mean actually open them and look at them, don't just look at the extensions. The error you mention most often has to do with the SSLCertificateChainFile or the SSLCACertificateFile being unable to be read and parsed. Source: ...
2
2
18,095
2015-01-21T06:48:39.110
api_errors
serverfault.com
938,690
Laravel Forge: Unable to create AWS EC2 instance in London Region
When I try to create a server on Laravel Forge for AWS in the London region I get the following error message: [CODE] I use to be able to create instances in the London region, I still have 3 of them running. I noted this issue last week, and gave it a couple of days thinking it was perhaps issues on Forge's end. I tri...
In some regions / availability zones there is not enough capacity for the new M5 / C5 / T3 instances. If you can choose AZ (Availability Zone) in the Laravel Forge create dialog try a different AZ in your region - it may work. If it still doesn't work raise a Support request -> Service limit increase for your desired i...
0
3
1,032
2018-11-05T14:12:53.400
infrastructure
serverfault.com
49,045
Windows 2003 - How do I review cpu usage at the end of the day?
I have a Windows 2003 server that is doing some strange things and I want to be able to look at the end of the day and see what processes were consuming the most cpu and memory. Is there a way to do this or do I need to sit and watch it? I'm just a programmer so if this is something simple then understand I'm not one o...
Microsoft has a tool called Windows Server 2003 Performance Advisor built to help you with exactly those types of issues. Otherwise, you could use PerfMon (Windows Performance Monitor) for this...here is a good blog post about using Perfmon.
1
2
4,272
2009-08-02T16:49:51.843
infrastructure
serverfault.com
44,602
Why is WebDriver instance declared static in Page Object model structure in Selenium?
I am a complete newbie in Selenium and java in general. I am trying to use the Page object model with Page factory to create Page object class for the Login page of an application. I am reading lot of sample code on the web tutorials and there the "Webdriver" reference is delared as "static". Is it that other classes c...
Basically you do not even need to store your driver reference in page class field unless you access some driver-specific features within the logic of your page class (like accessing page title, window management, etc.) As to me the latter is better to take out (I consider using driver object within a page class methods...
0
2
5,789
2020-05-17T05:33:42.627
data_quality
sqa.stackexchange.com
115,211
PostgreSQL: how to create both sequence and table simultaneously?
I need to create a table with a sequence associated to the [CODE] column that would start from a given value, say 300. I'd like to know if there is a shorter way to achieve that: [CODE] Thanks for help!
You can create the sequence implicitely through the [CODE] (pseudo) type and then change its current value: [CODE] or alternatively using [CODE] This is slightly different than defining a [CODE] - but that would only matter if the sequence was set to wrap. This version also creates a link between the sequence and the t...
0
3
2,177
2015-09-16T11:22:06.627
database_errors
dba.stackexchange.com
141,028
SQL Server 2008 intellisense not working
Am not sure which site this is supposed to be posted on, but after installing SSMS Tools, my intellisense is no longer working. Please see this question: https://stackoverflow.com/questions/2816861/sql-server-2008-intellisense-no-longer-working
I had to repair the installation from the DVD and now I have intellisense back.
1
0
426
2010-05-12T09:58:58.533
database_errors
serverfault.com
146,556
Postfix and google apps email limit
I installed postfix on my ubuntu vps. The server is hosting mysite.com. I set the MX records for mysite.com to use google apps for email: ASPMX.L.GOOGLE.COM ... I am using php's mail() function, and emails are working. Google apps has a 500 email / day limit. Am I using this limit? I'm not sure what postfix is doing ex...
You can check your own /var/log/mail.info logs to get a count of how many messages your vps has sent. Your lack of information, however, suggests that postfix is delivering the message itself, independent of Google's servers. IIRC, Google will only permit relaying if you use a username + password to connect to their ou...
1
1
666
2010-05-29T18:59:46.643
api_errors
serverfault.com
253,578
How do we restore database configured with Always Encrypted between environments and enable web app to encrypt/decrypt data?
I have a SQL Server 2016 database configured with AE in Production environment. Column Master key Certificate is available(under Windows Certificate Store -> Local Machine location) in a different server other than database server and the web server hosting ASP.NET application also has the Certificate to encrypt/decryp...
See this description of how Always Encrypted works. Basically, SQL Server does not have access to the keys required to decrypt data into plain text. This work is performed by the client driver and in your scenario, the client driver will go looking for the certificate to decrypt the data for the web application but on ...
0
3
692
2019-11-18T21:17:27.333
database_errors
dba.stackexchange.com
7,549
SQL 2000: change collation of model database only- not master
One of our production SQL 2000 server has windows collation for master and msdb but SQl collation for model and tempdb. We are trying to have the same setup on a test environment which at the moment has windows collation for all system databases So, I got a copy of the model database with SQL collation from another ser...
I was restoring database using management studio and not enterprise manager. I could restore model using enterprise manager without any problem.
1
1
333
2011-11-02T22:56:26.567
database_errors
dba.stackexchange.com
25,105
The Recycle Bin on C:\ Is Corrupt or Invalid
I have a user running xp sp2 that keeps getting "The Recycle Bin on C:\ Is Corrupt or Invalid." kb297760 says that this can be caused if the subst command is used to map a drive to an existing folder. Some software they use actually does do this (DocumentFX from CCH) and MS provides a hotfix, however this fix is for sp...
You won't have the error from 297760 if you're running SP2. Could this Compaq knowledge base article help? (It says to remove c:\recycled but it may actually mean c:\recycler).
1
1
2,369
2009-06-13T00:35:23.037
data_quality
serverfault.com
392,309
android anyconnect to cisco 3800
I have a Cisco 3800 with Advanced IP Services running version 12.4(13r). For a client to VPN in using AnyConnect, it looks like I use the webvpn config options (SSL VPN). I followed one of the tutorials (e.g. cisco ssl vpn ). Is this the same setup to allow connections from the AnyConnect app on Android devices? Do I n...
There is a separate license to enable mobile device connectivity. This license is available only on the ASA firewall platform - license SKU L-ASA-AC-M-55XX=. At this time there is no capability to connect Mobile devices like android to an ISR router.
0
0
222
2012-05-24T16:43:34.547
infrastructure
serverfault.com
364,738
Postfix "Relay access deined" error with Outlook
I am following this tutorial and finished the basic setup. I can login and send via squirrel mail and telnet but receive a "relay access denied" error in the logs when i try and send from Outlook. all port are forwarded correctly and are open. what could be wrong? Thanks, nat
SMTP authentication is not working properly. You have not enabled SMTP authentication in you outlook setting. If you have got the SASL authentication config part working properly from flurdy doc then it is only a problem with your outlook settings. This error happens only when you try to send to a domain other than the...
-1
0
749
2012-02-29T02:32:46.170
infrastructure
serverfault.com
457,895
Allow sending mail without authentication
I have a postfix server configured to require username/password when sending email, however I would like to add an exception that would allow to send mail without any authentication if it is directed to a certain domain. I can't seem find any documentation how to achieve this or if it's even possible. My main.cf : [COD...
This can be done by adding a check of the recipient to your [CODE] so it would look something like the following in [CODE] : [CODE] You also need to create the file specified as the argument for the [CODE] rule, here that is [CODE] . That should look like (if [CODE] were the recipient domain you want to allow): [CODE] ...
3
4
11,498
2012-12-13T19:23:05.943
api_errors
serverfault.com
324,506
MariaDB: Using composite primary key and index on the same columns gives strange results
Environment information: Windows 11 10.6.8-MariaDB In SO https://stackoverflow.com/questions/20055644/mysql-counter-within-group I asked how can I add a counter within a group. It works quite well until I found a conflict when primary key and index are defined on the same columns. Here is the example with real data: [C...
MySQL is deprecating the assigning of @variables in [CODE] . MariaDB will probably follow suit at some point. See http://mysql.rjweb.org/doc.php/myisam2innodb#index_issue_2_column_pk for workarounds. Possible reference (From changelog or reference notes): ---- 2018-10-22 8.0.13 General Availability -- -- Important Chan...
0
1
109
2023-03-08T08:22:23.153
database_errors
dba.stackexchange.com
337,243
Distributed File System Replication (DFSR) between Server 2008 & Server 2008 R2 over Gateway to Gateway VPN causing extreme network latency
The company I work for is in the process of setting up a branch office for one of our clients. We have 1.5 Mbps up/down T1s at each location, a Cisco RV042 router at each location hosting a Gateway to Gateway VPN tunnel between the two locations, and we have a SBS 2008 server at the main office and a Server 2008 R2 Sta...
You shouldn't see any latency increase during off hours, since there is no replication. Chances are, you just configured it wrong (which you seem to have figured out with your UTC comment). When you make changes, the changes are not immediately applied. They have to replicate to all members which could take hours, depe...
2
1
1,122
2011-12-03T00:09:43.623
database_errors
serverfault.com
936,813
CentOS 7 Can't Uninstall MariaDB-Server : Error Comes Up
I am trying to uninstall mariadb-server on Centos 7 and reinstall it, something went totally wrong with it and the server wouldn't respond. This actually happened on another server recently but on this one due to things not responding something has gone wrong down the line and mariadb won't uninstall. Here is the error...
You should try to [CODE] it: [CODE] This will redownload the RPM, reinstall it, and re-run any installation scripts.
0
1
2,768
2018-10-23T14:48:46.217
database_errors
serverfault.com
17,834
timestamp based concurrency
I am wondering if someone could help me out with a question I have about time stamp based concurrency. I found the following practice problem on a website It basically asks which of the following 4 will occur for the LAST transaction: [CODE] The stands for the order of the time stamps and the = read = write [CODE] The ...
"Transaction T can read or write data item X only if X had not been accessed by a "later" transaction. Otherwise, the operation of T is rejected; T is aborted and restarted with new TS". In other words we have: ST1 and then ST2 any data that is read or write by T2, could not be access by T1 or it will rollback that is ...
1
2
448
2012-05-14T16:15:04.127
warehouse_errors
dba.stackexchange.com
51,795
Clustering vs Non Clustering problems?
I'm just getting started with Andrew Ng's Machine Learning wherein he explained the example of the cocktail party problem vs the gene clustering problem in order to explain the difference between clustering and non clustering problems within unsupervised learning itself. However I still don't understand the difference ...
Both of the examples are clustering examples. Clustering is about grouping of similar dataset when one is not given the data. In the gene problem, One possible setting is you are given the DNA micro-array data. Your task is to learn how many types of people are there. This is an unsupervised learning problem, we are no...
4
2
2,647
2019-05-11T16:59:55.627
data_quality
datascience.stackexchange.com
198,075
Help Outputing MySQL General Log to Named Pipe
I have a cPanel, Centos 7 webserver using MySQL 5.6, in which I am trying to output the MySQL general log to a named pipe I have created. I have not had any issues creating the pipe and can write to other replacement log files in the MySQL directory without issues. However when I create a named pipe and set this as the...
Every step in [CODE] needs to have at least 755 permissions. That is, each directory needs to be r eadable and x (searchable) by user [CODE] . (Technically, none of those steps should be owned by [CODE] , so 005 is sufficient. However, you may find 750, which won't work.) [CODE] , itself needs to be owned and writable ...
1
0
289
2018-02-16T01:24:47.693
database_errors
dba.stackexchange.com
332,377
System dbs have different collation
i am new on this forum.i have installed an instance of sql srv 2016 sp2 called DNF containing 2 dbs and also the system dbs.after providing the instance to the dev team the realise that they need to change the collation.they changed the collation for the 2 dbs by themselves and ask me to make the change for the system ...
The problem is that you are restoring the original [CODE] and [CODE] databases which retain their initial collation. The collation of those two databases (and hence [CODE] which is built from [CODE] each time the instance starts up) is not going to change simply by restoring them to an instance that has a different col...
-3
0
483
2023-10-21T09:35:28.790
database_errors
dba.stackexchange.com
617,341
Supervisord as Windows Service on Cygwin
I am attempting to run Celery as a Windows Service using Supervisord. I followed the configuration laid out on the Celery site and here . I have set up a virtual environment to run supervisord through cygwin. I have highlighted the lines I think are most important (with **). It appears supervisord and rabbitMQ are work...
I solved my issue using the following command: /home/HBA/venv/Scripts/celery worker -A runLogProject --loglevel=INFO My biggest issue was an unfamiliarity with virtual environments. I needed to make sure the files were in the correct folders within the venv.
1
0
2,249
2014-08-01T23:03:55.320
infrastructure
serverfault.com
630,856
logrotate output to /dev/null twice?
So I was checking my logrotate config for httpd, and, in the section [CODE] it has the following: [CODE] I understand the first one, if there is output, send it to /dev/null, but why the second entry? I checked and a [CODE] means stderr to file. So, if I understand correctly, the first entry tells the script to send [C...
The first redirect just covers [CODE] - errors are usually sent to [CODE] instead so would still end up on the console without the second redirect which is telling the shell to send error output to [CODE] too. The "2" is referring to a file descriptor: 0 is stdin, 1 is stdout and 2 is stderr, so [CODE] is shorthand for...
0
2
1,711
2014-09-24T11:17:01.497
infrastructure
serverfault.com
910,981
Misnamed MS SQL server MSBD and Model DB log file names during move
I've made an interesting problem for myself on SQL 2008R2. I moved my MSDB and Model databases to a new drive, but in the process of doing so I transposed the log file names for each and they are now reversed. SQL will start, and I can check database file names with the following script: [CODE] Which confirms the flipp...
I am happy to say that I worked out a solution to my problems. One of the fundamental hangups that I was hitting was I was mistaking the error message "The file does not exist" to reference the database file itself, rather than the logical file name within the database. I will provide below the inspection script that I...
0
0
186
2018-05-06T19:19:11.877
database_errors
serverfault.com
445,794
gpo proxy server settinngs for all applications
i am trying to set all internet connections of all network PCs via proxy server that is installed on windows server 2003 i have editted proxy setting from gpo, but it only worked for internet browsers, is there way to force all applications to use that proxy (applications like chatting apps, IDM, torrent and others) no...
Configuring Internet Explorer's proxy settings affect Internet Explorer only. If you want all internet traffic to go through the proxy server then set the proxy server as the default gateway for all of the computers. You can do this easily and automatically with DHCP but if you use static ip addresses then you'll have ...
0
0
148
2012-11-06T06:23:49.867
infrastructure
serverfault.com
848,467
https is not working in nginx along with apache ubuntu
I'm running with nginx in port 81 and apache in port 80. I tried to put ssl certificate in nginx. It's not woking. Here is my nginx's default: [CODE] I created ssl certificate by following this tutorial: How To Create an SSL Certificate on Nginx for Ubuntu 14.04 Edit: Before I was tried to use SSL. I was using nginx [n...
You configured Port 441 for ssl. Port 81 is still configured to use http. If you try to connect to your port 81 with https, you get the protocol error because the server talks plain http, but the client expects an ssl response. If you want to use ssl on the port 81 you have to add the [CODE] keyword. [CODE]
0
1
4,753
2017-05-05T13:50:13.547
api_errors
serverfault.com
299,300
Two tables with similar structure and referential integrity or one table
Overview My question revolves around balancing database and code simplicity using 2 options to design around the following requirement. Background Facts The DB: Sql Server The Code: ASP.NET MVC C# using EntityFramework I have a table, AllocationNeed (see below). [CODE] There are at least 2 sources of inventory needs an...
On your main tables on which you add/remove records, always do things in perfect relational tradition. "Referential integrity is not enforceable" means "it is not relational", and "it is not relational" should always automatically mean "it is unacceptable". If you do not do it this way, you will sooner or later regret ...
3
2
165
2015-10-07T19:07:30.123
database_errors
softwareengineering.stackexchange.com
616,074
PDNS log rotation
I wonder what's the recommended way to rotate PowerDNS log files. I added the following entry to logrotate: [CODE] - but it looks like PowerDNS doesn't accept the signals from logrotate and it's referring the old log file: [CODE] There are two available methods: 1. The [CODE] option but then there is a warning that som...
PowerDNS logs to the local syslog, so it is the syslog daemon you need to send a HUP signal to when you rotate the log files. You do not need to signal PowerDNS at all. For example (taken from the logrotate configuration for rsyslog): [CODE]
0
2
2,350
2014-07-28T18:39:28.680
infrastructure
serverfault.com
9,644
How to switch pop-up handler using selenium webdriver
I am working on a application that opens a form to fill up when i click on a button. I need to switch to that window , fill up the form and come out I tried this code Set beforePopup = driver.getWindowHandles(); //code to click on add button to open the pop-up driver.findElement(By.xpath("//body[@id='ext-gen1018']/div[...
you can use following code to switch between windows based on the window title. or please go through this link Link [CODE]
2
3
3,547
2014-09-06T06:32:03.863
data_quality
sqa.stackexchange.com
500,983
Duplicate php files on cpanel shared hosting account?
2 php files with the same name in the same folder on my cpanel shared hosting account. How is this possible? What I remember is that when I uploaded a newer version of the file it did not ask me if I wanted to replace the older file... It just uploaded it there and I could see 2 copies of the file. Can someone answer p...
It's not possible, and this has nothing to do with cPanel, this is Linux itself. The chances are, your file has a space at the end or something, so it looks like the same file, but it isn't: [CODE]
-1
1
153
2013-04-19T15:55:38.450
data_quality
serverfault.com
386,767
Circuit Breaker + Retry - Repository or Application Layer
I currently have a Web App using ASP.NET Core 2.2, Domain Driven Design, Clean Architecture, and CQRS. I'm using MongoDB as persistence. I have developed a Repository pattern to abstract the MongoDB implementation. But I've been doing some research on how to prepare the application against outages, timeouts, and discre...
You should implement the circuit breaker at the Repository layer in order to protect your upstream layers. Which in this case would be the application. ie, the application won't queue up loads of save requests, it will just error each one quickly. However, you can also bubble this up the layers. Rather than have your a...
1
2
908
2019-02-06T16:49:20.883
database_errors
softwareengineering.stackexchange.com
116,112
What is and why use blocked cross-validation?
I was reading about cross validation equivalents for time series data and found a variation called blocked cross validation. On the page I was reading it says the following: "However, this may introduce leakage from future data to the model. The model will observe future patterns to forecast and try to memorize them. T...
Blocked time series cross-validation is very much like traditional cross-validation. As you know CV, takes a portion of the dataset and sets it aside only for testing purposes. The data can be taken from any part of the original data, beginning, middle, end, etc. It does not matter where because you assume the variance...
1
1
1,093
2022-11-12T11:55:52.010
data_quality
datascience.stackexchange.com
380,190
Error message when trying to install varnish on centos 5.5
I am trying to install Varnish on CentOS 5.5 using command [CODE] , but the installation procedure can't be completed because of this warning message: warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID ...... Public key for libedit-20090923-3.0_1.el5.rf.x86_64.rpm is not installed How do I solve this pr...
It looks like you're trying to install a RepoForge RPM without having the GPG keys installed, you can either install the keys by using this site: http://repoforge.org/use/ Or you can tell yum to ignore keys with the [CODE] option. This should only be done for packages that came from a known, trusted source!
2
3
222
2012-04-17T12:17:01.093
infrastructure
serverfault.com
865,040
no certificate available when enrolling on behalf
0 down vote favorite I have one WinServer 2008 Domain controller and a CA server on it. I login with Administrator account and want to request a certificate "on behalf" of a user of my DC. for doing that, at first i duplicated these certificate templates: smart logon smart user enrollment agent I changed configuration ...
Default setting on Enrollment Agent template requires CA manager approval. It appears that you didn't read status message when enrolled the certificate that states about manual certificate approval. Open Certification Authority MMC snap-in, expand Pending Requests folder. You should see pending request for enrollment a...
0
0
2,177
2017-07-25T12:36:00.950
data_quality
serverfault.com
273,200
Best Way To Store Images For Mobile Synchronization
The scenario is, I have a Web Dashboard (Developed using PHP + MySQL) and have Android and iOS Apps synchronizing data from the Web Dashboard (only one way i.e. Dashboard to Mobile Apps) Now the problem is that, on few screens in App I need to show images which will be captured in Web Dashboard via file upload. Firstly...
On file size You need to deal with the vast array of issues that come from the sheer size of images - whether compressed or not, images range from hundreds of KBs and up - which is tens to hundreds times larger than the typical amount of data your frontend/backend handles per operation. Therefore, the first strategy is...
1
3
1,441
2015-02-14T07:34:49.993
bi_errors
softwareengineering.stackexchange.com
327,234
SQL Server on LInux - OpenRowSet function only has access to files in /var/opt/mssql directory?
I have a file I want to import into an SQL Server 2019 database running on Ubuntu 20.04. The file resides in the [CODE] directory and I have done a [CODE] on that file. However, when trying to read it from a SQL Server query using Openrowset, I get this error: [CODE] Msg 12703, Level 16, State 1, Line 1 Referenced exte...
From here : the /proc directory is NOT a real File System, in the sense of the term. It is a Virtual File System. Contained within the procfs are information about processes and other system information. It is mapped to /proc and mounted at boot time. Save or copy the file in virtually any other folder, and provide per...
2
3
122
2023-05-17T19:18:07.610
database_errors
dba.stackexchange.com
311,602
how to find out the `Key Lookups` in the current query plan?
I am putting a query to list the key lookups that are present in the current requests being executed, I basically would like to tackle then and see if I could eliminate these key lookup from the execution plan . To get to these Key lookups I use the following query: [CODE] The problem that I am facing with this query i...
You can use XQuery to filter the XML plan. For example: [CODE] What this does is as follows: It begins at the top of the plan, and descends to [CODE] node where [CODE] means any name . It takes the value of the [CODE] attribute, converts to [CODE] then divides by [CODE] (you can pick another calculation). And then take...
2
3
600
2022-05-03T14:07:07.737
database_errors
dba.stackexchange.com
405,688
Multiple Rails apps on same subdomain?
I recently decided to try out Rails. When working with PHP, I simply had all of my PHP projects in the same directory. For example, I may have [CODE] , [CODE] , etc. I created a subdomain for Rails ( [CODE] ), installed Rails and Passenger and everything is working. However, I may be wrong, but it looks like I can only...
you can serve as many rails applications as you wish. If using apache httpd and passenger, here are the steps: Just symlink public folder of each of your rails application into apache's DocumentRoot as a subfolder. Then add a RailsBaseURI directive in your apache config that tells passenger that the given folder is a r...
2
5
3,413
2012-07-07T16:40:29.490
infrastructure
serverfault.com
1,075,096
openVPN TLS Error: TLS handshake failed but was previously working
I have an openvpn configured on my raspberrypi, I followed this guide: https://juncotic.com/openvpn-easyrsa-3-montando-la-vpn/ and everything was working fine for weeks. Suddenly a cupple days ago the vpn stopped working and is throwing the TLS error. I checked that the port forwarding was still up, it was, I also chec...
Check if you can actually make a connection from the internet to that ip and port: maybe you have the server getting the internal IP via DHCP and it's internal IP have changed. maybe your external IP changed double check. Check that your server and client certificates are not expired, it could be the case as you said i...
1
0
7,388
2021-08-19T20:29:42.330
infrastructure
serverfault.com
324,227
Storing a straight line equation
How to store a straight line (infinite length, not a line segment) efficiently? This is not a duplication of How to represent a geometric line programmatically? , because the linked question is about 3D, and it does not answer the main problem reflected in this question. Definition of a straight line: This question is ...
The equations can be all rewritten into form : [CODE] That means you can store three doubles a , b and c . This doesn't have a problem in representing an arbitrary slope. You can also calculate slope as a/b (or b/a). Two lines are equal if there exists k where [CODE] .
2
9
1,891
2016-07-07T10:22:44.553
api_errors
softwareengineering.stackexchange.com
1,100,814
kubeadm init fails when it can't find runc
I installed containerd and runc to /opt and I believe that's why [CODE] is failing. Here is an error I see in the kubelet systemd log. unable to retrieve OCI runtime error (open /run/containerd/io.containerd.runtime.v2.task/k8s.io/c242a3c3dbb9b0d35489ae3f99b1cd79d12a45dcf5d4a39abcd4fd045e61dc3a/log.json: no such file o...
Oh. I had removed apparmor. Now that I have reinstalled apparmor I can initialize my controlplane node.
0
0
329
2022-05-12T22:58:38.967
pipeline_ops
serverfault.com
458,059
All MySQL Databases lost overnight
After a call from a customer to say that his website is down, I find that MySQL on our RackSpace Cloud Windows 2008 server was not running. I restarted MySQL but got the 'Access denied for user' error in the browser for all websites with MySQL database. When I look in MySql Server 5.5/data there are no folders other th...
Contact Rackspace support.. That's what they're there for. Do everything they suggest. If that doesn't work, try Dan's suggestion of data recovery software. Use this as an opportunity for growth and learning. Always ensure that all your servers are backed up, and test the backups regularly. There's no point in having a...
15
32
1,231
2012-12-14T10:51:40.997
database_errors
serverfault.com
209,526
Nginx Error 413
I originally posted this on Stack Overflow, then remembered that SO isn't for server-based questions. Hey guys, When I try to upload a file to my site, I'm getting the Nginx "413 Request Entity Too Large" error, however in my nginx.conf file I've already explicitly stated the max size to be about 250MB at the moment, a...
Try moving client_max_body_size to inside the server block.
2
1
1,859
2010-12-06T11:32:34.913
infrastructure
serverfault.com
920,502
FreeBSD/GNU Linux: should I leave kernel crash dumps enabled or disabled on a production server?
I did a google search on kernel crash dumps, and while I found plenty of information on what they are and how to set them up, I could not seem to get a recommendation on whether they should be enabled or disabled on a production server. From what I understand, kernel crash dumps are mostly useful for developers who are...
Great question. I highly recommend leaving them on with a caveat... you have to have someone on the team who can understand them. Being able to understand the linux subsystems at that level where checking the dump file will be helpful is definitely advanced level. That said, the dump will include information on what ca...
0
0
123
2018-07-11T16:20:42.670
infrastructure
serverfault.com
512,638
If I `sudo reboot` my Ubuntu 12.04.2 server with Postgres running, can I lose data?
I've been wondering for the longest time if a [CODE] with a running Postgres (namely, 9.2.4) server can (or definitely will) lead to data loss or other problems (e.g., inability to start again the server upon system boot). Or, does [CODE] send the proper signals to processes that allow them to properly be shut down (in...
If your server and hardware are properly configured you will not lose data even if you press the reset button, yank the power cord, or trigger a kernel panic. PostgreSQL is crash safe because of its write-ahead logging . The only person who got this vaguely right is "Zoredache" in the comments. You will only lose data ...
5
9
917
2013-06-02T16:03:26.050
infrastructure
serverfault.com
179,694
SQL Server : Log File Shrink
We are running SCCM 2012 r2 Reporting services and the SQL Server log file has got out of hand due to the backup not being set up properly and I'd like to confirm something before I continue. I have set up our backup solution to do full backups of the DB and an incremental that is set to truncate the log on a regular s...
In addition to your Full and Incremental/Differential backups you should be doing a backup on the transaction log in a reasonable frequency to mark all locations in the log file with committed entries as available for reuse instead of doing a truncation on the log file. With a correctly sized log file the transaction l...
2
2
1,799
2017-07-12T20:34:58.327
database_errors
dba.stackexchange.com
1,095,680
How to prevent SSH timeout of idle sessions?
I'm using iterm2 to SSH from a Mac to an RHEL server. [CODE] is set to 60 in the client SSH config and [CODE] is set to 'yes' in the server sshd config. However, idle sessions always timeout after some period (I have not timed it). Running sessions, e.g. a long-running process or a [CODE] will stay alive indefinitely. ...
I am using [CODE] on a client side together with [CODE] on a server side for that purpose and I haven't seen drops (except the case of total loss of connectivity) in years. I don't set [CODE] but I believe it is on by default (but I doubt it is ever generated as my above settings are in a range which likely prevents it...
2
2
3,440
2022-03-08T18:38:01.093
infrastructure
serverfault.com
119,200
Would this be a good web application architecture?
My problem Our MVC based framework does not allow us to cache only part of our output. Ideally we want to cache all static and semi-static parts, and run dynamic parts. In addition, we need to consider data caching that reacts to database changes. My idea The concept I came up with was to represent a page as a tree of ...
This sounds suspiciously like you're trying to invent output caching . I definitely wouldn't agree that it's hard to do partial page caching in MVC, it's just that you would need to use partial Views with their own Controller actions to do it as opposed to having the View itself call its sub-Views, which can be slightl...
6
3
1,094
2011-11-11T12:17:58.177
api_errors
softwareengineering.stackexchange.com
402,080
Timesync on HyperV with CentOS 6.2
I've got a CentOS VM (release 6.2) running under HyperV. I have integration services installed (part of base now), and CentOS shows the current clocksource is hyperv_clocksource, however my time in the VM is about 10 minutes fast after a week of uptime. My understanding of the new IC and plugable clocksource is that th...
I've had this issue in the past and corrected it by tweaking the startup switches (notsc divider=10) and ntp settings: [CODE] Sample ntp.conf: [CODE] Source: Correcting Linux Clock Drift on Hyper-V on Server 2008 R2 http://hardanswers.net/correct-clock-drift-in-centos-hyper-v
11
3
5,762
2012-06-25T16:09:56.997
infrastructure
serverfault.com
10,809
Image Segmentation with a challenging background
I'm working on an animal classification problem, with the data extracted from a video feed. The recording was made in a pen, so the problem is quite challenging with a dark background and many shadows: Initially I tried scikit-image, but then someone helped me with an advanced tool called crf-rnn ( http://crfasrnn.torr...
It would be appreciated if you could explain precisely what your goal is: you want to identify what animal is in your picture ? you want to count the number of animals ? you want to get the position of each animal in the picture ? In any case, I know that you can get some already trained neural nets from google or anyw...
2
1
1,618
2016-03-21T11:04:21.280
data_quality
datascience.stackexchange.com
387,877
Exchange 2010 with DAG - problems with communication
I've got 2 Exchange servers running HUB, CAS and MBX with DAG, 2 servers being Active Directory, 1 witness server and 1 TMG server. They are split evenly between 3 Hyper-V servers: Server 1 Exchange 1 Ad 1 Witness (I should move it to 3rd) Server 2 Exchange 2 Ad 2 Server 3 TMG Before that they were all on one server. T...
Seems like I've missed that the Exchange servers for some reason have LAN as Legacy Network Adapter in Hyper-V. After changing to Normal Network Card in Hyper-V everything works. Something to be aware of and to check when things go weird :-)
0
0
792
2012-05-10T11:53:34.333
airflow_errors
serverfault.com
1,070,320
NGINX setup for REST API returning default configuration
I've hired a VPS to play with some personal projects. To get started, I'm trying to set it up to host a REST API using Node.js, as I've only ever used Spring Boot for that. I've implemented the solutions by adapting from the following guides: https://www.robinwieruch.de/node-express-server-rest-api (most of the API cod...
I'm assuming you just stubbed out the proxy-related machinations to be handled at a later time in your warehouse API file, but that actually won't work, as you found out. [CODE] Compare that one line in charge of URI routing against the version in the example you linked. [CODE] The reason for why the example works but ...
0
1
5,783
2021-07-22T14:12:52.483
data_quality
serverfault.com
5,835
Running Testing with Non-Technical Team, Little Testing Experience Myself - Where to Start?
I'm building a database with one other guy. He's not a developer by training, but he built version 1, and he's contracted me to help out with version 2. We're the only developers on the project. My boss's partner is a firm in a niche industry that doesn't have any pre-built database solutions. They commissioned version...
If it's true that you "need to do some fairly thorough testing before we can sell this as a professional product.", have you considered hiring an experienced contractor? You could hire someone to come in and do the testing. Or you could hire someone to come in and do just enough training that your group of non-professi...
5
7
232
2013-03-14T07:34:05.570
data_quality
sqa.stackexchange.com
606,558
Server is assigned IP by GUID rather than MAC address in DHCP
I recently installed 8 new Dell PowerEdge c6220 II servers with dual 10G ports with CentOS 6. Each server has a DHCP reservation configured from a Microsoft 2003 DHCP server. I am using a Bootutil program by Intel that enables PXE booting with these NIC's as required based on a solution provided by Dell support 2 years...
1) A Wireshark capture will help to see if the PXE DHCP requests use the expected MAC addresses or not. 2) The PXE DHCP request and the following DHCP request include different parameters. Please check that your reservation rule is not overlapped for some other rule taking precedence in the case of a PXE DHCP request.
0
1
3,586
2014-06-19T19:54:49.550
infrastructure
serverfault.com
989,511
incrond is firing my rclone but the rclone is not working... but from the command line the rclone command works fine
So in my incrond I have the following: [CODE] in my sys.log I I can see in my syslog that the command fires off both with the incrond watching the folder and if I run Oct 26 13:38:48 server incrond[9355]: (root) CMD (rclone copy /home/mounts/localdisk/LINUXBACKUP/binlog/ GoogleDLinux:LINUXBACKUP/BINLOGS) Oct 26 13:38:4...
Changed to verbose mode and saw the command was trying to call an non existent rclone config file....fixed that and could now see the issue I need to put the rclone config under root and not under the normal useer
1
0
165
2019-10-26T22:24:08.710
database_errors
serverfault.com
7,911
How to set Firefox path on Mac OS for Selenium WebDriver?
I am beginner to webdriver. I have setup all configurations. I am using firefox 27.0.1 version with selenium jar files 2.40.0. I have written code to open firefox browser with a URL. I am unable to run the code and got the below error. Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be...
The typical location of FF is [CODE] To confirm the location right click on an FF shortcut and select [CODE] . The dialog box displays.
6
3
37,554
2014-03-03T16:31:15.543
data_quality
sqa.stackexchange.com
369,134
Application "not supported" in a VM?
We bought some software from a small'ish company, it's a Windows 32-bit video content workflow manager, there's been some customisation by them. We've been working fine for over a year running this code in a VMWare ESXi 4.1u2 VM on W2K3EE-32-bit (that's what they support running it on). Then they updated their code a m...
While I can't speak for this vendor or the software package, I have worked for a large (multinational) vendor, where one of the pieces of software they sold had very specific known issues when running on VMware. In this case, one issue could cause the software to deadlock, and the other could cause data corruption. As ...
9
3
505
2012-03-13T10:40:04.787
infrastructure
serverfault.com
215,266
How should I evaluate the Database Solution for Large Data Application
Background I have been tasked to write an application that will be a combination of document and inventory management in VB.net which will be used to store document images in TIFF, PDF, XPS, TXT, DOC, PPT and so on as binary data that can be retrieved for viewing, printing, and possible OCR to be searchable as well alo...
2gb limit is very old -- IIRC that was MSDE, which you could call Sql Express 2000. 2005 had 4gb, 2008 had 8gb and I think 2012 has 10gb limits. Anyhow, since all SQL Express is is a hamstrung version of SQL server the path I would take is to build / test against and distribute for SQL Express and let folks upsize to f...
0
2
278
2013-10-22T20:59:10.843
database_errors
softwareengineering.stackexchange.com
660,501
Compile php with latest openssl and curl
I am trying to compile php 5.4.36 with latest curl and openssl (1.0.1l), i have compiled openssl into a separated folder My system is CentOS. When i try to compile php with [CODE] I get this error: [CODE] Both curl and openssl compiled without any issues
these "dirs" are merely prefixes... while cURL basically comes with it's own SSL. PHP needs to be configured like that, to build for CentOS - with openSSL and cURL: [CODE] (assuming the additional libraries were built with): [CODE]
3
5
21,670
2015-01-18T23:47:38.680
infrastructure
serverfault.com
923,151
IPv6 over IPv4 in OpenVPN on a server that has multipe non-consescutive IPv6 addresses
I have a server that has 1 IPv4 public address and 10 public IPv6 addresses (each one /128, not in the same subnet like a /64 or /48) - I know it sounds strange but I have no control over this, it is how they were assigned by the provider. This is acting as an OpenVPN server, currently running with tun on IPv4 by doing...
Probably your best bet so far is to write your own client-connect script that pushes ifconfig-ipv6 and ifconfig statement to the client. The normal code in OpenVPN assumes continious IPv4 and IPv6 ranges.
2
0
911
2018-07-20T23:44:44.640
infrastructure
serverfault.com
155,096
Heat-resistant adhesive labels
Most adhesive labels I've run across don't do so well when affixed to anything that puts off significant heat (rear of servers, external disks, some networking gear, ...). Since manual application of an epoxy is not a solution that appeals to me, what off-the-shelf options are out there for heat-resistant labels? (Some...
You can get labels that are designed to go through laser printers. These have to handle the fuser, so the glue must have some resistance to heat. Maybe they would work for you.
2
1
161
2010-06-26T13:56:33.080
infrastructure
serverfault.com
125,602
What kind of server attacks should i be aware of nowadays
I am recently running a web server, and there is a lot of information online, but it can all be a little confusing. I recently opened my logwatch logs and saw that i get attacked a lot by all sorts of bots. Now I am interested in a list with things I definitely should be aware of nowadays, and possible ways to prevent ...
Can service X be flooded? Yes. You have to ensure the services are configured such that if they do get flooded, your system's resources (CPU, memory, etc) won't be overcommitted. Since you're using mod_security, I assume you're running Apache and MySQL. For Apache, you'll want to look at the average memory utilization ...
2
3
174
2010-03-24T04:56:25.883
infrastructure
serverfault.com