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
413,931
SSL certification for multiple domains
For a serverfarm with a tracking solution for several clients, I need a SSL certificate for multiple domains (3 different ones) and on each of the domains for all the subdomains. I do only need it to get the tracking pixels without any browser warnings when embedded in https pages on client side. It is NOT used for sec...
Yes, you can get SSL certificates that cover multiple domains -- they're usually called "multi-domain" or "universal communication" certificates, and they will have a single CN and a lengthy list of subjectAltNames. Most providers will sell you one, but it might cost you stupid amounts of money. We don't do provider re...
0
3
527
2012-08-03T09:52:48.487
api_errors
serverfault.com
255,736
algorithmic problem - Combining overlapping ranges
I'm looking for an idea to efficiently solve following problem: I have a set of pairs of ranges (range = a pair of numbers), each range is unique (but has same size) e.g. [CODE] Now I'd like to combine pairs of ranges, if ranges are overlapping e.g. [CODE] So as a result for above set I'd like to get (now each pair may...
Third time's the charm, I hope. I combined my original idea to sort the list first with Snowman's suggestion of using set theory. The basic algorithm is: Sort the pairs in lexicographic order by the first range. Group adjacent pairs by if just the first ranges overlap. I prove below that lexicographically sorted ranges...
4
2
1,717
2014-09-08T18:11:19.673
api_errors
softwareengineering.stackexchange.com
227,382
How to select blocks with sequential data and aggregate the ids
I have the following table: [CODE] I have to select the IDs of the blocks of unplanned records for a specific machine. I have been trying using window function, unfortunately, I couldn't work out the logic of it! The problem here is that since we have different machines, we cannot rely on sequential ids, just that the ...
If blocks are defined by continuously incrementing IDs (or continuously incrementing [CODE] or [CODE] , same principle) with the same [CODE] and [CODE] , ignoring possible gaps, only separated by rows with [CODE] , then there is no need to speculate with tolerance between end & begin and you can just use this: [CODE] d...
2
0
395
2019-01-17T14:00:30.980
warehouse_errors
dba.stackexchange.com
755,213
Why do I need to start services using sudo when logged in as root in an LXC container?
I've got an unprivileged LXC container which I've set up following the steps outlined on Stèphane Graber's website . Things work pretty well, but I'm having trouble starting php-fpm even though I am logged in as [CODE] . If I do [CODE] , it works. However, If I just do [CODE] , I get the below error [CODE] Should I rea...
I have noticed that it is necessary to prefix commands with the full path. Verify your $PATH variable after connecting, and the location of the command.
1
0
93
2016-02-10T09:43:43.683
pipeline_ops
serverfault.com
820,647
how to track down security problems between IIS web servers?
The new version of our website is built on a Windows 2012 server. We are having a problem that it cannot display pdf reports that are stored on another server which is running Windows Server 2003 How could I track down if there is a credentials or security problem preventing our windows 2012 web server with IIS8 from c...
Are your IIS running under a domain? What are your configuration settings for the sites? Are those configurations matching? Is anonymous authentication disabled? Are you impersonating the account used to open the PDFs ? You need to ensure that the authentication settings for the sites are matching, also if you are usin...
1
1
35
2016-12-14T12:01:00.837
infrastructure
serverfault.com
413,537
Is there any monitoring / maintainence overhead of using nginx+uwsgi as compared to apache+mod_wsgi?
We are keen to use nginx + uwsgi for django based application , as we want to try newer solutions, and have heard good about nginx being less resource intensive than apache. After reading some views from one of Django's creator about apache on Quora : http://www.quora.com/What-web-server-suits-Django-best [CODE] I do n...
The "babysitting" part, is about manually starting uWSGI/gunicorn processes (via tools like supervisor, monit or simple rc scripts). More than a year ago uWSGI solved that "issue" with the uWSGI Emperor, that will babysit instances for you in a very easy way (just drop config files in a dir). So one setup requires a st...
0
1
442
2012-08-02T07:42:13.143
pipeline_ops
serverfault.com
492,928
Wordpress feed does not update after APC and Cloudflare
I am running a Wordpress site on a Ubuntu server. I installed APC and setup Cloudflare. After that I started having a strange problem with the feed. When I check the feed on the browser, I can see the latest posts. However, when I [CODE] it, it's outdated. Google Reader and Feedburner see the outdated feed too. I exclu...
Are you using W3 Total Cache or something similar? If so, that's by design, at least until the cache expires. Logged in users get fresh data, everyone else gets the rendered content that was written to disk, sent to APC, etc.
0
0
955
2013-03-27T18:16:32.790
infrastructure
serverfault.com
418,322
IIS 7 - worker processes more than one
if i set worker process as 1, my application pool hangs. if i set it at least 6, everything works fine. but every article i read says "don't set it more than 1" so, in this practice, am i wrong? or who is wrong? of course i would like to use less memory, cpu. and another reason i hate about more worker process is sessi...
Chances are, the low-N number is hanging due to a race condition in your code somewhere. With MaxProcesses=6, you're reducing the level of in-process concurrency, by sending fewer requests to more worker processes. To debug the original cause: Configure for 1 worker process Wait for a hang - you might want to enable Or...
3
1
1,676
2012-08-16T17:16:16.247
infrastructure
serverfault.com
709,622
Redirecting Public IPs to jails
My plan is to set up a server where I have several jails. Currently, I am planning on running three of them: a webserver, an owncloud server and a Teamspeak 3 server. I got it running so far that I currently have one jail with an NGINX server which is accessible over the internet with my main IP 46.165.XXX.XXX. This is...
Assuming [CODE] has all IP, you can choose which IP has to be redirected with rules like this : [CODE]
0
0
118
2015-07-30T10:15:18.553
infrastructure
serverfault.com
21,314
remove duplicate rows in mysql table that does not contain primary key
I have a table item having just one column name :- [CODE] I am trying to delete duplicate rows except one duplicated record with the help of below query [CODE] The Inner query (Starts from SELECT name and ends with result1) returns individual auto incremented number for each repeating group but when i run entire query ...
In the spirit of @yercube's answer, I have an answer that has an added twist. [CODE] This will load stage2 with the first occurrence of each name from item, zap the item table, and load the unique occurrences back. If you look back in @yercube's answer and compare it to my answer, his is much more simplistic because @y...
2
1
9,633
2012-07-23T10:35:41.887
data_quality
dba.stackexchange.com
1,475
Net Start OracleXETNSListner
I am trying to run Oracle Express Edition on Windows 7 and getting the following error. [CODE] How I can fix this? Thanks.
Access service management console via [CODE] . Locate [CODE] service from the list, [CODE] window. See [CODE] tab, update [CODE] account, normally [CODE] will do the trick if [CODE] account is not working for you.
2
5
10,711
2011-02-28T07:51:29.273
database_errors
dba.stackexchange.com
600,998
Debian 100% cpu every 30 minutes but not loggable?
I have a Debian 7 x64 machine running with Digital Ocean that has every 30 Minutes a 100% cpu usage for about 1 minute. A couple of days ago it stayed there for a couple of hours so the server finally crashed and I had to repair my Mysql databases. The server is a pure webserver running apache2 and Mysql. I tried traci...
I suppose you machine is a VM? Then, you might see these peaks due to the hardware's resources where your machine is running on. I guess that it is a syswait or iowait type of peak, where your machine has to wait for the virtualization host to complete its task(s). In this case, you won't see a thing in htop/atop/... s...
2
0
554
2014-06-01T08:57:23.977
database_errors
serverfault.com
748,597
Weird ZFS performance with 4K pool block size?
I'm starting to look at ZFS, doing tests with FreeNAS on an old HP MicroServer (N40L). Didn't get extra RAM yet so it's only running with 2 GB, so pretty much no cache. I created a pool on a single 1 TB SATA disk, created a zvol, and exported it with iSCSI. I just ran a few tests with CrystalDiskMark on Windows 10 and ...
I knew I didn't have enough RAM so no data would be cached, but it looks like 2 GB wasn't even enough to store the metadata in RAM with a 4K block size - more blocks so more metadata. If the metadata is not in RAM when writing the metadata has to be read from disk to find free space and it kills performance. I got 8 GB...
3
0
4,513
2016-01-12T20:18:14.590
infrastructure
serverfault.com
306,882
Are extra unused columns helpful in future?
Currently, while creating tables, we create 4 to 5 extra columns with temp names like c0, c1, c2 etc. to be used later when needed and are left NULL by default. This way we don't have to create additional columns when needed. We just rename one of the temp columns created in the first place. I am wondering if this appr...
I wouldn't say this is good practice, it will cause confusion in the long term with new members to the team. People will always have to check columns have not already been used by someone else without been renamed for example. If someone forgot to do a rename and populated the column, the rename will break existing pro...
1
3
285
2022-02-01T16:46:50.983
warehouse_errors
dba.stackexchange.com
17,303
How to evaluate performance of a time series model?
I trained a LSTM network on a time series dataset. Predictions seem to follow the dataset. In fact, they are nearly a right shifted form of real values. Thus, in my opinion, it doesn't provide any predictive capability since only shifting a signal in time results in low RMSE but is not useful. How to properly evaluate ...
The best summary on evaluating time series forecast is probably explained in detail on Rob Hyndman's site . I typically use the mean absolute percentage error which is baked in Keras. However, what I found in a different setting is that the MAPE prevents the neural network from converging if combined with the Adam optm...
6
3
18,326
2017-03-02T11:42:44.543
data_quality
datascience.stackexchange.com
405,452
Should I use an `elif` or an `if` for the second of two consecutive assertions?
Here's an example of my question in python. Notice there's only a very subtle difference: changing an [CODE] to an [CODE] . There's no difference in behavior; if the first [CODE] statement is executed, the second will never be reached. Is it better practice to use an [CODE] or an [CODE] in this situation? (Which is bet...
As currently written there is no difference in behavior. But considering future changes, option 1 is most maintainable because it represent the logic better. You are really performing two independent precondition checks. The use of [CODE] indicates that the second can only fail if the first succeeds, which is misleadin...
1
7
210
2020-02-19T15:57:09.020
api_errors
softwareengineering.stackexchange.com
1,141,604
Finding how a Linux system was booted
I have a remote server, running Linux 5.19.0-41-generic x86_64, I am trying to find out how it was booted. Apparently, it does not use systemd : PID 1 process is bash. [CODE] Apparently, there is no GRUB, at least there is none in /usr/sbin , and [CODE] I guess, GRUB was not used at startup. It does not seem to be a vi...
PID 1 process is bash....there is no GRUB Most likely a container. It does not seem to be a virtual machine. I checked some files But you're not going to tell us which ones. I do love a guessing game. on ssh I am prompted to "unminimize", if I need fuller functionality It's difficult to upgrade bare metal from software...
13
8
3,008
2023-08-15T14:43:51.563
infrastructure
serverfault.com
515,742
mod_fastcgi.so + FCGI (perl) make 500 error with graceful restart on apache 2.2
We'd like to construct a perl (FCGI) application on apache2.2 with mod_fastcgi.so but it makes 500 error when I graceful it. Do you have any idea or solution for it? [CODE]
When reporting an HTTP error code, always provide the relevant error from the ErrorLog. Otherwise it's guessing what might have happened :) Another thing that might help, use mod_fcgid instead of mod_fastcgi. The latter is deprecated. For help with mod_fcgid see http://httpd.apache.org/mod_fcgid/ What might be causing ...
0
0
419
2013-06-14T07:08:56.660
api_errors
serverfault.com
229,209
What is a stream, and how does it work?
Like a data stream in general, this can be an I/O stream or memory stream or a file stream or what not. I understand that it's some sort of stream of bytes, that you can read to parse very large amounts of data if needed, what I don't understand however, is how it works. Is it possible to 'miss' data from a stream if y...
The defining trait of a stream is that you can consume it part by part. Typically, a stream API has methods that offer the next chunk, the next byte etc. of content, and you call them in a loop, interleaving processing with the reading of data. The opposite would be a component that only lets you access the entire cont...
5
6
1,037
2014-02-17T08:51:18.270
api_errors
softwareengineering.stackexchange.com
230,331
is it considered plagiarism to comment out code I copied from elsewhere?
If the plagiarized code is commented out because I found another way to solve the problem, but I forgot to remove the comments, is that considered plagiarism? I used the copied code to help me debug and compare the output between my own code and the copied code. In the final code, I commented out the copied code. Since...
School: They like you doing your own work. Even if the code isn't used, it being there might be enough to get you in trouble based on the teacher/school Work: Dead Code/Commented out Code can and has gotten people in trouble before in lawsuit cases (assuming the code was conflicting with someone's proprietary code). If...
2
5
3,130
2014-02-25T18:30:40.917
api_errors
softwareengineering.stackexchange.com
114,417
How to generate presentation tables out of pandas data frames?
After exploring and analyzing data with [CODE] I often create summarize tables (e.g. "table 1"). Currently I use [CODE] to create (layout) such tables and then export them to Excel via [CODE] . For example here you see in the first row the number of people and their mean age per group in the second row. [CODE] Pandas d...
You can see the prettytable package. It has some simple API to convert dataframe into some good looking format. https://pypi.org/project/prettytable/
0
2
638
2022-09-14T12:54:52.663
data_quality
datascience.stackexchange.com
246,967
HAproxy - Redirect issue - Uri Variables?
I'm using haproxy 1.5dev3 and I was wondering if there is any possible way to grab uri variables from a request to reappend the query on the end of a redirect url? What I'm trying to do is redirect from: http://www.domain.com/page/example.htm?id=1234567 to: http://www.domain.com/frame/newpage.cfm?id=1234567 redirect pr...
No, there is no such feature yet, and now I doubt it will be available before 1.5 is released.
1
0
896
2011-03-13T22:53:22.307
infrastructure
serverfault.com
246,116
Beginners IPTables Question
I'm currently analyzing existing iptables rulesets in order to make modifications in default policy. However, I need some help in understanding of couple rules. $UNIVERSE is defined as [CODE] . What are the usecases of the following rule? [CODE] What kind of related connections HTTP(S) may have? Do I really need to spe...
The first rule will accept any incoming connections on an external interface (assumed from $EXTIF), on any source address to the external IP address if the state of the packet is ESTABLISHED or RELATED. That means NEW packets won't be allowed through. The possible use-case for this is if you have a NEW packet obtained ...
1
0
335
2011-03-11T09:10:51.563
infrastructure
serverfault.com
830,433
Force Remote Login phpMyAdmin
I want users to be able to access phpMyAdmin from any computer. There are multiple users and I want to require login. It would definitely be OK to have remote access only. (All I would need do to use it locally is to use the remote address.) Remote access is required. I've set up an Apache 2.4.23 server with PHP 7.0.13...
auth_type config suggests that the username and password configuration would be used by the configuration file, in your case [CODE] To change this behavior you should set [CODE] to [CODE] clear your cookies, and try again. If you want to access phpMyAdmin from localhost, with "root" without entering credentials , as yo...
0
1
1,305
2017-02-03T14:50:00.330
database_errors
serverfault.com
803,947
Samba domain controller sysvol authentication issue
Samba 4.2.10, Debian 8, Windows 10 workstations. I recently rejoined one of machines to domain. Authentication works fine, and lets me login to the system, however it does not apply GPOs. From new machine I can navigate to sysvol share using \\SERVERNAME\sysvol, but not using \\FQDN\sysvol (prompts for credentials, but...
This is not Samba related issue. It looks like previous compilations of windows 10 had bugs, probably UNC hardening being enabled by default. In my case raised exception in Event viewer was (Event id 1058 error code 65). Newer builds of Windows 10 pro (1607) up from October 2016 applies GPOs without any problems.
0
0
252
2016-09-19T11:26:03.153
api_errors
serverfault.com
21,583
How can I optimize this mySQL table that will need to hold 5+ million rows?
The table has about 12 rows. Indexes: [CODE] int(11), Unique, auto-increment, primary [CODE] varchar(14), Unique [CODE] bigint(20) [CODE] int(10) [CODE] varchar(32) I'm doing an extended insert with an ON DUPLICATE KEY UPDATE clause. Each insert has anywhere from 300-10,000 records. The more records in the table, the l...
Since the table is InnoDB Bulk Insert Buffer (bulk_insert_buffer_size) is no good for you because it handles bulk inserts for MyISAM tables only [CODE] / [CODE] only works for MyISAM. InnoDB handles secondary index processing in the system tablespace ibdata1. InnoDB will throw a warning about this See my post : https:/...
3
3
3,951
2012-07-26T19:57:35.120
data_quality
dba.stackexchange.com
12,723
Public cloud GPU support for TensorFlow
I'm building convoluted neural networks with TensorFlow. I've got the latest Mac Pro, use all of my cores, and yet it still takes me several hours to train a single network. I need to do grid search on many different tuning parameters, so this is not ideal. This is for a personal project, so I want to save money by usi...
Microsoft announced a couple of weeks ago virtual machines in Azure with GPUs . They use K-80 NVIDIA cards. The biggest machine has 4 GPUs and 224 GB of ram. Good to play with deep learning :-)
4
2
999
2016-07-11T17:36:41.240
data_quality
datascience.stackexchange.com
1,135,023
Mail server woes
A problem has cropped up on my network today and I'm rather confused. Firstly here's the setup of my network.... Internet traffic comes in via static ip. Ubiquiti Dream Machine Pro forwards mail server ports to mail server VM (ports 25,465,587,143,993 all routed to mail server's internal IP Address) Mail clients connec...
Assuming you are not running an internal DNS server to shadow/mask your public domain name, in this scenario internal clients will try to contact your mail server using your firewall's external (public) IP address. The firewall will need to allow them to exit and re-enter your network on the same interface, and then it...
0
1
48
2023-06-27T21:16:13.540
infrastructure
serverfault.com
221,739
Setting SVN permissions with Dav SVN Authz
There seems to be a path inheritance issue which is boggling me over access restrictions. For instance, if I grant [CODE] access one group/user, and wish to restrict it some [CODE] to none, it promptly spits in my face. Here is an example of what I'm trying to achieve in dav_svn.authz [CODE] What is expected: [CODE] ha...
After a bunch of headaches, I let this idle with [CODE] at [CODE] level. Coming back to it, I suddenly had a stroke of obvious hit me; the read order was the issue. Firstly, my naming conventions were flat out wrong as it should be [CODE] The main issue is the authz file expects an order of 'specificity' where the firs...
2
3
5,663
2011-01-12T19:51:07.783
data_quality
serverfault.com
35,582
Standards for how developers work on their own workstations
We've just come across one of those situations which occasionally comes up when a developer goes off sick for a few days mid-project. There were a few questions about whether he'd committed the latest version of his code or whether there was something more recent on his local machine we should be looking at, and we had...
" If it's not in source control, it doesn't exist. " This is one of the few things in our profession that I'm borderline dogmatic about. For the following reasons: Even though the workstation is company property, let's face it - there is a bit of an unwritten rule that a programmer's own workstation is his/her castle. ...
18
69
2,418
2011-01-11T10:42:41.180
api_errors
softwareengineering.stackexchange.com
36,755
How do I determine if a database is the principal in a mirroring setup?
I have two database servers [CODE] and [CODE] , configured with mirroring. A single database, [CODE] , is mirrored. There is another database on [CODE] named [CODE] which is only present on [CODE] and is not mirrored. [CODE] has a stored procedure named [CODE] which refers to a table in [CODE] to compute some value. Wh...
At first I was expecting your error to be located at the point of retrieving [CODE] procedure. Sorry for being hasty. This link gives an explanation on how to query database mirroring status of your database. So, you do the following: [CODE]
2
3
17,403
2013-03-15T05:55:09.873
database_errors
dba.stackexchange.com
631,661
Make Jenkins use a subdomain without 8080 port behind apache2
I’m failing at redirecting my Jenkins to use my subdomain ( [CODE] ) and not require :8080 port slapped behind it. I’m on Debian Wheezy. I use Apache ( [CODE] and [CODE] are installed) and this is my [CODE] file: [CODE] I made sure that [CODE] has [CODE] as [CODE] And of course build.core-network.us has correct DNS ent...
I believe the error is here: [CODE] Drop the [CODE] , that's not part of the [CODE] header. What's happening is that this isn't matching your request, and your system is falling through to another virtualhost (the first one loaded, if nothing explicitly matches). [CODE] should be working now, which you can also use to ...
3
1
4,518
2014-09-26T21:08:30.030
pipeline_ops
serverfault.com
609,036
How to add SPECIFIC CloudFormation, EC2, RDS and S3 Access Restrictions in AWS - IAM
What I am trying to do is create a Group for an external team that requires access to their CloudFormation of which is in our account. I would like to set restrictions on their group so that they may only view and edit their own website without viewing the rest of the sites on my teams account. I have a test policy tha...
Unfortunately AWS Identity and Access Management (IAM) doesn't fully cover this particular aspect as of today, because Resource-Level Permissions for EC2 and RDS Resources are not yet available for all API actions, see e.g. this note from Amazon Resource Names for Amazon EC2 : Important Currently, not all API actions s...
3
2
1,246
2014-06-30T16:25:29.667
infrastructure
serverfault.com
105,738
RDS Replication Error (Apply Error 1406 / Truncation)
I have a MySQL RDS instance as a master, created a Read Replica from it, and ran some schema change operations on it. To be specific, I changed the charset and collation of all the tables and columns from utf8 to utf8mb4. Things were replicating fine, but an error just occurred. [CODE] This is due to lowering the varch...
Get 5.6.3 (or later). As I understand it, these need to be applied to the Replica: [CODE] That should allow you to keep 255 (instead of 191), thereby avoiding the truncation.
1
0
659
2015-07-02T03:23:15.403
database_errors
dba.stackexchange.com
311,711
Should I create a new class?
Let's say I have a [CODE] class. Objects of this class will be stored in a collection, and every object should know about other elements in the collection, because for each car there's a value to be calculated based on the elements of the collection it belongs to. That's a generalization of my problem, but I think it c...
You have three concerns in this code: Aggregating/storing cars (Collection). Doing car things (Car). Calculate values for multiple cars (???). You currently have the calculation not assigned to a class. Given that the concern is very different from the other two, it does not make sense to mix it into either existing cl...
0
4
363
2016-03-03T20:37:49.080
api_errors
softwareengineering.stackexchange.com
429,169
How to make a bootable USB out of my VPS?
I copied a backup of my entire VPS (Debian on OpenVZ) on a USB drive, and want to boot from this USB to test something on my server (in fact its duplicate). However, there is no nothing in the boot directory (I've no idea how OpenVZ boots the OS). How can I make the USB bootable? Do I need to install [CODE] on the USB?...
You will need to install a kernel and GRUB. OpenVZ uses kernel virtualization, so it doesn't have a bootloader in the traditional way. To convert your VPS, you best start a live disk, chroot into your VPS and then install an appropriate kernel as well as grub. (don't forget to generate your boot folder after installing...
0
1
502
2012-09-17T17:51:27.690
data_quality
serverfault.com
430,660
What is the current practice in handling connection errors when the service "offers" multiple IP addresses?
With the current implementation of [CODE] , I'm not given any information about a timeout of the IP address(es) returned. The library implementing that function has the information, but I haven't yet seen a function to retrieve the timeout. What I'm wondering is how do people current implement the concept of connecting...
The best practice is to let DNS pick the IP address and use whatever it tells you. If the service has provided multiple DNS entries with different IP addresses, that is generally not meant to provide failover but to provide geographic proximity or simply to distribute the load. If a failover/redundancy solution is requ...
0
3
85
2021-07-28T17:30:01.183
api_errors
softwareengineering.stackexchange.com
9,519
Definition - center of the cluster with non-Euclidean distance
I have cluster consisting of two points and I am working with non-Euclidean distance. I wonder if it is appropriate to talk about center of cluster in this case and how we can interpret it? We can start with simpler case when distance is weighted Euclidean. Update: Here is clarification. Assume we are using Manhattan d...
The easiest solution for a non-Euclidean cluster center is the medoid , as in the algorithm PAM. This works with arbitrary metrics, but unfortunately for a 2-element cluster the result by definition is random (by metric properties, each point is an equally good medoid). Or you step back and rethink what the center is. ...
0
4
1,465
2015-12-25T15:10:51.277
data_quality
datascience.stackexchange.com
804,701
Ansible accumulating dictionaries in array fact via with_items
I have the following task (and a debug task): [CODE] I'd expect the centralised_logs fact to accumulate an array of dictionaries that contain the interpolated strings in the union statement, but instead, I get the following (note that it works for the second and third items, but not the first): [CODE] Why is the first ...
The problem is, that you try to use a the {{ variable }}-notation inside of another one. A correct example would be [CODE] This produces the following output: [CODE]
4
4
6,815
2016-09-22T13:01:53.773
pipeline_ops
serverfault.com
677,187
Should I worry about requests that get - client denied by server configuration, apache logs
I have a server with debian 7. I was checking the apache error log file and saw a few lines like this [CODE] I might be mistaken, but because of this part [CODE] I think someone was trying to use the shellshock bug. But independent from whether this is shellshock or not, the question is - if I have lines in logs with m...
"Client denied by server configuration" means that the request was blocked by a Require directive (or in older versions of Apache, the Allow/Deny directives ), by a rewrite rule , or by some other Apache module. In particular it means the request was never passed on to an external handler, so the exploit could not have...
1
2
1,212
2015-03-21T11:07:12.747
infrastructure
serverfault.com
430,731
Module with various classes in addition to helper functions defined outside of a class
I have a data science codebase that contains several classes. Several of the methods in the classes rely upon various helper functions. These functions will just precede the class definitions in my module. My question is, is it accepted practice to have these helper functions outside of a class? The benefit of this is ...
Python is a multi-paradigm language. You don't have to force your code into an object-oriented style. In fact, you shouldn't. So if it feels more natural to keep the helper functions as free functions outside of the class, that's probably a perfectly acceptable design. It's also the kind of design I would generally pre...
2
6
382
2021-08-01T13:01:39.317
api_errors
softwareengineering.stackexchange.com
1,021,886
ERROR: Unrecognized TLD for nameserver ns1.111.222.333.444
I have a virtual private server(VPS) with some IP address like [CODE] , and wanted to publish my Angular-NodeJS project on it, so I bought a domain with default nameservers like [CODE] . Then I tried to change the default nameservers to the followings: [CODE] But I get this error message: [CODE] What is the problem and...
In order to point the domain you have purchased to your VPS you need to create an A record pointing to your VPS's IP. There is no need to modify your nameserver records. According to the DNS specification, the authoritative nameservers are given by name, not IP. So that is why that error pops up. And unless you have ve...
-1
1
896
2020-06-17T14:54:52.323
infrastructure
serverfault.com
820,054
Can't make a connection to LDAP with ldap2dns
I'm trying to connect with ldap2dns: test2dns on github test2dns on lunchpad But i'm just getting: "Warning - Could not connect to any LDAP server" [CODE] Anything else with ldap works (Like ldapsearch and other ldap utils). (Running ubuntu server 14.04, openldap) Thanks.
Apparently, It was a version issue. (After some networking sniffing one has figure it out) can be fixed with [CODE] : [CODE] Then run: [CODE]
0
0
189
2016-12-11T10:29:46.150
infrastructure
serverfault.com
229,296
Using configuration to determine whether to handle exception or bubble it up
On a side project I'm working on I came up with a way of handling exceptions that's adjustable by configuration. So a try/catch block might look like this: [CODE] The granularity of exception handling is controlled through an [CODE] that's set in the app.config file: [CODE] This determines whether an exception is "hand...
In my opinion, the nicest way for Exception handling in C# is the same exposed in this article: http://johannesbrodwall.com/2014/02/07/c-tricks-slimming-down-your-controllers/ (look for "Exception handling") Please note that the same pattern can be used for Java: http://johannesbrodwall.com/2013/09/25/offensive-program...
3
9
433
2014-02-18T00:42:06.250
api_errors
softwareengineering.stackexchange.com
61,160
Route traffic between 2 network cards
Running Fedora 10 I have the following scenario. NIC A - Running on 10.11.0.1. DHCP Assigned. NIC B - No IP Specified Yet. The machines connected to NIC B needs to transport traffic between NIC B and NIC A, ie. see everything NIC A can. The traffic can flow freely between these networks since there is already an Firewa...
You could also do bridging instead of routing. This would transform your computer in a switch, more or less intelligent. To do this you will need the [CODE] package and to unconfigure the IP address of NIC A by disabling DHCP (and rebooting) or by running [CODE] . To configure the bridge, you'll need to do: [CODE] Your...
0
4
4,930
2009-09-01T14:22:34.773
infrastructure
serverfault.com
3,081
Tools for tracking automated tests
I have used STAF/STAX in the past, and liked the way that information was tracked in the tests. I'm currently investigating Technologies to tie together a few tools that use XML-RPC, and am interested in recommendations of a good tracking tool, preferably with a decent API. In the absence of this, I'd appreciate any ti...
In the end I have gone with robotframework, as it is open source, well documented, and highly extensible. I've gone for the python version as opposed to jython, but this is mostly because I already have a decent python environment set up and have experience with python, but not java, so would like to be able to make us...
12
7
806
2012-05-02T15:22:46.653
pipeline_ops
sqa.stackexchange.com
528,073
Windows Server 2008 stopped showing progress of installing updates after emergency reboot
I had to reboot machine with w2k8 server by pressing "reset" during it was installing updates due to hung update. After this when I've rebooted and resumed update process it installs update but does not show usual messages like "Installing update X of Y" and name of update, and progress bar also does not show progress....
Reboot in safe mode and uninstall recent updates Check logs in C:\Windows\SoftwareDistribution directory, also clean Downloads there. Reboot and try to install updates once more
0
0
798
2013-08-01T18:58:25.167
infrastructure
serverfault.com
421,370
Remove installed packages from one repo and reinstall from CentOS?
I have 62 packages from RPMfusion that have overridden the CentOS upstream packages, and now I would like to return to the original CentOS packages. The only idea I can think of is [CODE] But that would leave the system in a broken state during the process. Question What is the safest way to have those packages removed...
You can upgrade to older version by using [CODE] option of [CODE] : [CODE] This is much safer than [CODE] . You can upgrade several packages in one command so there will be no broken dependencies.
1
3
1,111
2012-08-26T16:09:58.633
infrastructure
serverfault.com
456,819
MySQL Password Authentication with Proxy Users and Group Mapping
I'm actually using MariaDB here, but I'm working under the pretext that MariaDB is a "drop in replacement" for MySQL. I won't be surprised if this winds up being a cross platform difference/issue, but I'm hoping you'd have a look. Here's the deal: I'm using CentrifyDC for PAM auth with an Active Directory domain. It's ...
As of the time of this answer it states at the top of the referenced mysql doc page: The PAM authentication plugin is a commercial extension That means it's available with mySQL Enterprise, which is Oracle's proprietary fork of the mySQL codebase. None of the Enterprise features exist in MariaDB or the community versio...
1
0
1,290
2012-12-10T18:10:46.503
database_errors
serverfault.com
1,046,453
No outbound access to internet from Windows Server 2019 on VPC
On AWS, I have a NAT instance (Linux) and a Webserver (Windows 2019) on a VPC. The web server works as it should, I can also RDP to the webserver via the nat, no issues. The problem is that there's no outbound access to the internet from the Webserver instance; after I RDP (as admin) I can't browse. AWS Basic Network c...
Solved the problem. The private route table needed to set its target to the NAT instance. Edit the Private Route, add: 0.0.0.0/0 target: NAT-instance. Public route should target the internet gateway, if not already set to do so. It may also help to run the port address translator on the NAT, I believe my settings alrea...
0
0
733
2020-12-16T15:18:48.157
infrastructure
serverfault.com
158,849
Does one usually monitor the Event Log on Windows servers?
I'm a programmer not a sysadmin but as we had a lot of trouble with our servers I thought I would be proactive and help our overworked (and learning) sysadmins. We have 20-25 or so Windows Servers (2003 and 2008). They range from SQL Servers, Web Servers, doing batch processing, hosting internal applications etc. We do...
An admin who doesn't monitor the event logs (or equivalent an non-Windows systems) is not much of an admin. However, there are many different ways and means of monitoring the logs and because they are cryptic at best the monitoring is best done programatically. That doesn't remove the need for periodic random manual ch...
0
1
1,870
2010-07-09T07:12:53.703
database_errors
serverfault.com
577,896
Website can not connect to ODBC (no rights?) "Error: 80004005"
Background I am trying to migrate a website using MSSQL from MS Windows Server 2003 to a Server running MS WS 2008. It's been a while since I tried the last time (because I gave up on this problem) so I may don't remember correctly everything I made in the past. What I have done in a nutshell: export/import IIS config ...
Check the IIS7 application pool identity for your site and make sure that the process the application pool is running as has the appropriate privileges to access SQL. Click the pool in question, then Advanced Settings on the right. You can change the Identity the Application Pool runs as there, by clicking the "..." to...
0
1
2,356
2014-02-24T14:44:44.123
api_errors
serverfault.com
805,886
phpMyAdmin - blank page with no errors on Debian8, php7.0-fpm
phpMyAdmin does not display the login page on my server: OS: Debian 8.6 Jessie PHP: php7.0-fpm Webserver: Nginx 1.10.1 When I look at source code, it contains login form but for some reason all browsers (Firefox, Chrome, Opera) instead of login form shows blank page. I have checked nginx logfiles mysql logfiles php-fpm...
The problem is caused by Cloudflare. The problem is already described here . UNfortunately, the solution from this article does not work for me and phpMyAdmin still shows blank page.
0
0
1,076
2016-09-28T14:34:12.800
database_errors
serverfault.com
472,526
can postfix deliver an incoming message to a random recipient from a list?
I'd like to have postfix relay incoming email to one of 5 possible recipients in a somewhat random - or at least evenly distributed way. for example, when a message addressed to help@domain.com arrives at the postfix server, i'd like that message to be related to one of : admin1@domain.com, admin2@domain.com, admin3@do...
No, postfix can't do that by itself. A procmail filter might help, but why not set up a real ticketing system where you can track progress of issues, share them and make sure things proceed when an admin goes on holiday? OTRS is a decent ticketing system for smaller environments. Atlassian JIRA is good too, but rather ...
1
3
164
2013-01-25T21:20:02.177
infrastructure
serverfault.com
919,244
No space left on device even after adding a Persistence Storage on gcloud
I am new to Google Cloud. I was downloaded a few text files into the VM instance. I then suddenly started getting messages like [CODE] I ran the df -h and found that my disk was being used 100% [CODE] I searched about it and figured that I might need to add more persistence storage. I followed the instructions here -> ...
I agreed with roaima , you need to increase the size of your existing boot disk to solve this issue. After you resize the disk, you must resize the file system so that the operating system can access the additional space. Boot disks use MBR partitions, which are limited to 2 TB in size. Do not resize boot disks beyond ...
5
5
10,997
2018-07-02T21:47:18.993
infrastructure
serverfault.com
445,731
Functions vs Classes for delegate pattern
Please consider the following sample [CODE] What I intend to demo through this is two ways of implementing delegates, one via an interface ( [CODE] ) and another via actions ( [CODE] ). Both achieve the same functionality but in the former route, one needs to Provide a derived implementation of the delegate ( [CODE] ) ...
Using a lambda function of type [CODE] or an object which is derived from an abstract class with just one virtual function are both semantically equivalent. More general, objects and closures are semantically equivalent, that is a well known fact and true in lots of modern multi paradigm languages which support both, O...
2
2
141
2023-05-26T11:20:57.637
api_errors
softwareengineering.stackexchange.com
973,842
Windows 10 1903 SCCM task sequence
So, I have a working windows 10 1803 task sequence, and, I wanted to update it to 1903 so that new machines I'd upgrade would just have 1903 by default. I downloaded the ISO form Microsoft, converted the .esd file to .wim with DISM, and then selected that as the .wim at the "apply operating system" step. What's now hap...
It turns out that not having a gateway defined in DHCP for clients was causing this to fail. 1803 is fine with it, 1903 isn't. I know, don't ask...
2
0
1,109
2019-07-03T13:32:56.687
database_errors
serverfault.com
649,754
Mysql crashing/restarting, InnoDB: Unable to lock ./ibdata1. Can't kill via 'stop';
My server seems to crash/restart under a load that would not have previously made it crash. How can I troubleshoot this? VPS is running Centos 6.x, 8GB ram Mysql is crashing/restarting itself under loads that would not have previously done it in. This error: [CODE] pops up in the log after the crash. Could this simply ...
This log entry is the key to the most likely issue: [CODE] If there is not an extremely verbose block of log messages, including a stack trace, immediately before this line, then MySQL's not actually crashing... the kernel is killing it because another process (such as the web server) is making aggressive demands on th...
-1
2
6,168
2014-12-07T03:32:18.290
database_errors
serverfault.com
27,922
Open source antivirus/antispam/web filtering gateway
Possible Duplicate: Open Source Unified Threat Management Software Options I want to install firewall which have following features Antispam, Anti Virus, Webfiltering, Userwise access, Intrusion prevention etc. is any product from open source )(ie untangle/ipcop) any other solution for the above implementation if any o...
Pfsense can do most of this if you add extra packages which are easily installable inside the distribution. It is also very stable and intuitive to use.
0
4
3,575
2009-06-18T10:29:58.423
data_quality
serverfault.com
388,870
User class: How do I handle different user "subjects" and still keep my single responsability principal?
I have a User class, this class handles things like: login (UserAuthenticateModel) Handle user sessions: user login tokens, fetching user from session if set in session, ect' (UserSessionsModel) Fetch & Set user data to populate $this user object. (UserFetchModel) Update & change my user data (to this user object - and...
I would split this up differently. NOTE: I'm not using any particular language below, the syntax is just used to highlight the organizational ideas. Authentication should be it's own thing. I normally have authentication return authentication data, and use that authentication data to get the current user. The authentic...
3
2
296
2019-03-19T10:48:00.350
api_errors
softwareengineering.stackexchange.com
103,852
SQL Authentication vs Windows Authentication
In our server application we use single account to access to the SQL Server. We used to use SQL Authentication. Now we are thinking to remove credentials from config files; and one of the solutions is to use Windows Authentication. We are mostly concerned about performance. Is there any differences? Another problem, is...
You shouldn't see any noticeable performance issues, assuming that all is well with your network and domain. You'll most likely see impersonation / delegation problems before you start seeing performance issues.
1
2
526
2010-01-18T16:53:52.373
database_errors
serverfault.com
359,978
Sizing requirements for 100 simultaneous VPN connections
I've been tasked with building out a firewall / VPN device that needs to support up to 100 simultaneous VPN connections as well as light routing (mostly custom NAT mappings). This will be fronting a 50M internet connection leading to 5 servers running a total of 40 virtual machines. The majority of the traffic will be ...
Urgh. You can easily run 250+ VPN tunnels simultaneously on a Celeron with 512MB memory. That's what a Cisco ASA 5510 has ;)
4
4
2,779
2012-02-14T14:33:11.660
infrastructure
serverfault.com
479,275
multiple domains same folder using url rewrites how does that affect cookies and ssl certs?
I have a folder that is hosting a web application. Our clients are wanting to direct their website our 'web portal' so their customers can view their account information. In my first attempts I have the following: domain: test.domain1.com --> c:\websites\testsite I added a second and tried to point to the same folder: ...
I didn't need to redirect. I was overthinking it. I was just able to add the new domain to the bindings and it worked just the same. The new url worked fine from the same directory...
0
0
286
2013-02-15T17:29:00.367
api_errors
serverfault.com
376,560
Empty rewrite.log on Windows, RewriteLogLevel is in httpd.conf
I am using mod_rewrite on Apache 2.2, Windows 7, and it is working ... except I don't see any logging information. I added these lines to the end of my httpd.conf: [CODE] The log file is created when Apache starts (so it's not a permission problem), but it remains empty. I thought there might be a conflicting [CODE] st...
How about adding your error log in your vhost like i do for each vhost, ie something like: [CODE]
1
0
2,195
2012-04-04T08:13:58.013
infrastructure
serverfault.com
1,041,126
NGINX Reverse Proxy Multiple NodeJS Apps On Same Domain
I've recently setup an Ubuntu Server to host several NodeJS applications internally for our company. The applications all reside at the same domain (alpha.domain.com), but on different ports. The applications are served with ExpressJS (as they also act as an API). I'm trying to setup NGINX to reverse proxy these Expres...
With your config [CODE] /pnl is removed from the URL and replaced by /. Try [CODE] nginx proxy_pass directive
1
1
3,835
2020-11-03T15:03:59.697
api_errors
serverfault.com
227,812
Performance of Windows 2003 server vs Debian
I'm building a Java EE web application to be deployed on a VPS. I'm looking at MyHosting.com Developer VPS at the moment and have a choice between a Windows 2003 server or a Linux server. My site will work on either, and I am happy to use either MySQL or SQL Server. The VPS I'll start with has 1gb ram and 40gb disk spa...
If you're the one maintaining it then use what you're most comfortable with. It will greatly benefit you during configuration and troubleshooting. Any performance gain you might get with something you're not comfortable with will be quickly recovered when you have to put a fire out.
0
1
448
2011-01-27T21:19:15.260
database_errors
serverfault.com
324,323
Subversion error: Repository moved permanently to XY; please relocate
Possible Duplicate: Subversion error: Repository moved permanently to please relocate I have some trouble with my own subversion server. At web view there is no problem but if anyone wants to checkout via client he gets the following message: svn: Repository moved permanently to 'XYZ'; please relocate The shown 'new' l...
It looks like [CODE] is the document root of Apache. If so, it is the reason for this behavior because Apache don't know whether to serve the physical path, or pass the request to the [CODE] . The solution is move the root svn to the outside of Apache's document root, for e.g: [CODE]
0
1
1,456
2011-10-24T16:08:13.497
data_quality
serverfault.com
185,207
How can I build a C# project (installer) for multiple environments
I would like to propose a solution to our companies problem with building consistent installers for different environments. Our current process is to build an installer for test, perform testing, update app config, build installer for production. Unfortunately this has lead to issues in the past where the installer was...
Automate it This is always the solution for "people are screwing up a continuous and repeatable process". Automate it. Don't bother building a "test version" and testing it, AND THEN changing some config manually... AND THEN... building a "release" version (and waiting for it). Build both at the same time. It's the sam...
2
4
2,266
2013-01-29T23:03:52.587
api_errors
softwareengineering.stackexchange.com
38,187
How can I remove local administrator permissions?
I want to disable the permissions of local administrators in the machines of my domain, is this possible?, and only put administration rights to the Domain Administrators. And I want to do it with Group Policies. Mainly I want to disable the permission of install/uninstall programs to the users, although they are Local...
Take the users out of the "local admins" groups. The manual process would be to go to the computer, start > rc my computer and then "Manage Computer". Select "Local user and groups", "groups" then double click administrators. Remove the users from that group. Probably best not to take Domain Admins out of this group th...
5
4
35,265
2009-07-09T10:15:57.177
infrastructure
serverfault.com
50,944
Performance: order of tables in joined statement
I have the following SQL statement, running on a SQLite database on a Windows mobile device. [CODE] As there are several hundred thousand records in each table and the device isn't really new this takes some time. Would the performance be better, if I switched the tables, somehow like this: [CODE] Please note: in the f...
SQLite automatically chooses the estimated optimal join order; the table order in the query has no effect. There are two ways to optimize this query. If the filter on [CODE] removes most [CODE] records from the result, then it would be fastest to look up [CODE] records with matching [CODE] values first, then to look up...
0
1
147
2013-10-03T11:40:08.270
warehouse_errors
dba.stackexchange.com
917,506
Why is my Docker Symfony project with Composer consuming so much memory?
Description I'm deploying my symfony project in prod. It works fine when I simply run [CODE] . However I'm getting an issue with my deploy script and try accessing the web page in my navigator. Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/redaph/vendor/monolo...
It's most likely that your docker image lacks writing permissions for folder where logs are stored which causes monolog to run out of memory (loops of errors). Solution: Change permissions of the logs folder, or get info about "buffer_size": https://symfony.com/doc/2.0/reference/configuration/monolog.html (not sure if ...
1
2
3,009
2018-06-20T18:01:19.357
pipeline_ops
serverfault.com
678,069
Restarting failed hosts on VMware vSphere ESXi
When a cluster is configured for High Availability (HA), VMs can be restarted onto an alternate host when the its host has failed. However, I am wondering: if the host has failed, is there a means within the vSphere HA to restart the failed host to attempt to bring it back up? Does vSphere HA just leave the failed host...
This depends heavily upon the reason why your host failed... Without knowing that, it doesn't make sense to heal it automatically. A VMware PSOD is much different than a physical hardware failure, which is different than a networking or power issue... So the answer here is, " it depends... "
1
2
755
2015-03-25T07:09:24.397
infrastructure
serverfault.com
110,460
Why the WHERE clause is not pushed down in the view's query?
With Postgres 9.4, I'm doing the following query quite often: [CODE] So I decided to create a view: [CODE] I just realized if I query my view like [CODE] I get a significantly worse performance. Doing [CODE] on both queries, I found out the reason is that the database in the second case brings up all the records, does ...
You can create a function like this; [CODE] Then you can use the function like a table [CODE]
4
7
4,101
2015-08-08T16:14:43.573
warehouse_errors
dba.stackexchange.com
77,686
Architectural Patterns for a Game
So I've got a solution that contains a few big projects, which I'm trying to break down into smaller projects with more isolated responsibilities. This is a game I'm tinkering with -- I'm mainly a LOB developer and I think the principles are universal, so I'm hoping to learn something here. The dependencies in some of ...
I think the architectural pattern you're looking for is MVC . Currently it seems that World is all model but UI mixes model, view, and control.
4
1
2,532
2011-05-19T21:29:25.103
api_errors
softwareengineering.stackexchange.com
1,596
How do these 9 LePage Super Glues differ?
I have a question about my Home Improvement Stack Exchange post: How do these 9 LePage Super Glues differ? Why was this closed? It's blindingly obvious that this doesn't duplicate How do these 5 Gorilla Super Glue differ? , because the number of products in question differ and these brands differ! Solar Mike commented ...
Several reasons I can think of based on what is on topic : The site is for home improvement, and your glasses are not your home. This would be more related to a hobby project. The cost of a job or product, since they will likely not be useful for future visitors. "Shopping assistance, product recommendations, or brand ...
discussion
0
1
71
2021-04-19T23:57:08.880
data_quality
diy.meta.stackexchange.com
704,650
Remote Desktop Connection stops working when connection is closed
I just started using a new HP laptop with Windows 8.1 using the same domain account I've used for years. I can remote desktop to any server / VM on the local network, however when I disconnect the session from my laptop (close the window) the RDP client crashes with the typical "has stopped working" message. This only ...
The crash seams to be caused by a HP dll (storeng.dll) which causes an access violation : [CODE] Try to update this DLL.
1
1
8,919
2015-07-09T14:54:02.477
infrastructure
serverfault.com
154,692
Entity and pattern validation vs DB constraint
When it comes to performance: What is the better way to validate the user input? If you think about a phone number and you only want numbers in the database, but it could begin with a 0, so you will use varchar: Is it better to check it via the entity model like this: [CODE] Or is it better to use on the database side ...
Performance is irrelevant for validating user input. If it's taking too long to validate your form, your form has too many fields on it. They would have to number in the thousands (in most programming languages) before performance ever became a limiting factor. Where you validate depends on what your goals are. If your...
4
4
1,467
2012-06-28T16:32:20.373
data_quality
softwareengineering.stackexchange.com
293,881
Data truncation on spatial query after updating from MySql 5.7 to 8.0
I have the following table: [CODE] on a MySql 8.0 database. The data is imported from a 5.7 database (the SRID is set to 4326 on every row of the [CODE] column of the 5.7 database as well). I'm aware that from 5.7 to 8.0, X and Y on geometry objects for SRID 4326 got swapped , so that points are now "latitude, longitud...
I have found out the problem. When MySQL 8.0 inverted latitude and longitude, it didn't invert the structure of the geometry itself, but only the representation in spatial functions . I suppose this information is available somewhere in the documentation, but I personally wasn't able to find anything that clearly state...
2
2
425
2021-06-07T13:22:33.607
database_errors
dba.stackexchange.com
393,283
Bind: non existing PTR record
Here is my bind [CODE] : [CODE] I am receiving a lot for request from my Internal DNS Server: continuously ask for [CODE] . [CODE] does not exist, so it cant be cached. Is any way to cache/block these requests and make extrenal DNS not to create a new query each time? Any idea how to solve this problem?
BIND should be caching the NXDOMAIN response. There's a whole RFC dedicated to negative caching . There's a chance the far-end's zone SOA has the value set too low. Read more on SOA settings , particularly the last number ("min"). You could make a zone "44.33.22.11.in-addr.arpa" on your resolver and assign it data, if ...
0
0
589
2012-05-28T10:41:52.407
infrastructure
serverfault.com
898,219
After importing data from PST to Exchange Online account, users can't modify items imported to calendar
I've got a problem with users. After importing PST files to Exchange Online accounts, they have a problem with calendars. whenever they want to modify an item, that has been created on old system, it says, that they don't have required rights to manage this item (as they didn't create it). using set-mailboxfolderpermis...
This is by design. From Microsoft: When meetings are exported to or imported from an Outlook Personal Folder or Outlook Data (.pst) file, the GlobalObjectID (GOID) property of the meeting is not included. When you copy and paste meetings from one calendar to another, Outlook generates new GlobalObjectID values for the ...
0
0
1,747
2018-02-21T14:21:24.253
infrastructure
serverfault.com
812,537
Remote WSUS administration console connection error
I'm using the remote WSUS console from my computer on one subnet to connect to two different WSUS servers on two different subnets. I've managed to connect to one ok but the second one gives me the following error: Cannot connect to 'ServerName'. The server may be using another port or different Secure Sockets Layer se...
Turns out this was simply down to permissions. I found this answer on another post I had previous seen before posting this question but thought I'd already tried this. Using WSUS Admin Console from outside domain - Zac Garrett's post about running as administrator.
0
0
1,626
2016-11-01T15:38:22.563
infrastructure
serverfault.com
265,572
Microsoft SQL Server Database Miroring
I have few questions about Microsoft SQL Server database Mirroring. Fail over of database is Automatic or Manual in case of Microsoft SQL database mirroring? In case of failure in Primary database how new application requests will be routed to secondary database? Is it automatic or Manual? Do I need to make any change ...
If you are configuring a new setup, you should not use Mirroring, which is deprecated in all supported versions of SQL Server . All new work should use Availability Groups instead. Fail over of database is Automatic or Manual in case of Microsoft SQL database mirroring? The answer here is "both." You'll have to read up...
-1
1
43
2020-04-22T09:35:51.413
database_errors
dba.stackexchange.com
49,487
Performance problems when running Java desktop applications on Citrix Metaframe
We have a desktop Java application running within a Citrix Metaframe server farm and the performance, specially while starting up the app, is very unreliable. Sometimes it takes 15 seconds and sometimes it takes over a minute. It's really unpredicatable. Is there any way to optimize running Java desktop applications wi...
We were plagued with this for several months, starting in January-February 2009. An MS support team finally determined it was caused by excessive registry locking, emanating from the IE browser helper object (BHO) for Java. I don't think the root cause was java per-se, as we had not made any changes to Java for a long ...
4
1
3,375
2009-08-03T20:43:06.847
infrastructure
serverfault.com
25,373
What is the dimensionality of the bias term in neural networks?
I am trying to build a neural network (3 layers, 1 hidden) in Python on the classic Titanic dataset . I want to include a bias term following Siraj's examples , and the 3Blue1Brown tutorials to update the bias by backpropagation, but I know my dimensionality is wrong. (I feel I am updating the biases incorrectly which ...
As per the general case, the bias vector must have the same dimensions as the output vector. Please, have a look at this excellent presentation : In this example by M.Görner, there are 10 classes, so is bias dimension. Once inputs are multiplied by weights, the bias is added pointwise (it is 'broadcasted'). And that's ...
3
6
8,281
2017-12-04T12:02:47.673
data_quality
datascience.stackexchange.com
405,247
DNS Help (CNAMEs and A Records)
I'm trying to set up my DNS properly so that I can have hosting through PHPFog and email services using MailGun . PHPFog has us redirect the naked domain to the www and then use a CNAME to point the www to PHPFog and mailgun provides the MX records to use . The problem I'm having is that I have no A record set up on Ho...
You cannot mix a CNAME and any other "common" record for the same name. That's by specification. Wikipedia will tell you more about the CNAME restrictions . You solution here would probably look like: [CODE] Where [CODE] is the IP address for your mail delivery server, [CODE] of IP [CODE] is a hypothetical backup mail ...
1
2
2,009
2012-07-05T23:11:34.327
infrastructure
serverfault.com
853,034
NGINX - Reverse proxy to a service running on port 9000
I am running an IRC client ("The Lounge") on port 9000. Now I would like to make it accessible from the web by creating a NGINX reverse proxy to that port and securing it with SSL. I need to rewrite the urls for the css, javascripts etc to look for them at another location. This is what the source code of the page is l...
If you don't have a lot locations, you could configure it like this. [CODE] If it not your case, please share you [CODE] configuration.
0
0
1,605
2017-05-30T14:16:48.380
infrastructure
serverfault.com
84,153
Trying to install sql_server_2014_enterprise_edition_x64_dvd Windows 7(Ultimate) 64Bit OS
Im receiving the following error after the Set-up checks Global rules It shows the following error. any idea why this issue occurs :( ?by the way this machine was formatted yesterday and this is a fresh installation.!Your help is appreciated.. TITLE: SQL Server Setup failure. SQL Server Setup has encountered the follow...
First of all I think you should be installing Developer Edition as Windows 7 is not a server-OS. Make sure you have admin rights on your machine. It may also be worth trying the different install media? However it looks like there is an open connect item for this error and further discussion here As a workaround, you c...
1
2
3,883
2014-12-03T06:36:12.453
api_errors
dba.stackexchange.com
42,142
Unable to use mysql_upgrade:
I updated mysql recently and found problem related to privileges and backup. When I am using mysql_upgrade command it says- [CODE] I searched this problem and found that this problem is due to use of delimeter in table_name and If I alter the name of table then this can be solved. But I don't know how to search those t...
Given that the valid characters for unquoted identifier characters are documented here , you should be able to find non-confirming table names in information_schema using a regular expression match, with this query: [CODE]
1
3
1,519
2013-05-14T10:26:30.663
database_errors
dba.stackexchange.com
509,553
Setting up SFTP users that are jailed to their home directories with Chef
I'm hoping someone can help me figure out how to chroot jail users to their home directories for SFTP with Chef. I've tried multiple SSH cookbooks and Googled for an answer for several days with no luck (though honestly it's possible I just don't know what to search for). What I've done so far is setup a data bag for u...
The final step for SFTP chroot is after creating a [CODE] group and configuring [CODE] is ensuring the user’s [CODE] is owned by [CODE] . If the user owns their home directory, the [CODE] configurations will not be applied. Next, you can [CODE] a directory within that user’s [CODE] and ensure the user owns that directo...
2
0
657
2013-05-21T13:37:35.623
pipeline_ops
serverfault.com
33,665
sp_setapprole taking 100 - 200 ms
SQL Server 2008 SP1 here. We have a machine where sp_setapprole calls take more than 100ms and they are done many times per user operation on an application. The developer says that in his setup, sp_setapprole calls take less than 1ms. The machine specs are comparable (I have 12GB RAM, 6 cores, he has 16GB and 8 cores)...
I used HDTune to test the disks and they had an abysmal 10MB/s read speed. Diagnostics show a faulty RAID controller.
1
0
401
2013-01-28T14:06:41.423
database_errors
dba.stackexchange.com
2,447
Very strange home router problem
For a long time now I've had a very strange problem with my wi-fi network at home. I have a BT Voyager 2100 ADSL modem and an iMac, ageing PowerBook and a PC that connect to it wirelessly. The problem is that I can never access a small number of certain websites because they always time out. There's nothing apparent th...
This sounds like an MTU problem. There's likely something between you and those sites that doesn't support the typical 1500 byte MTU, and on top of that probably a firewall blocking the ICMP packets that are used for "Path MTU Discovery", so your end can't tell that the normal MTU can't be used. Try a traceroute, and t...
5
7
1,495
2009-05-01T14:23:46.793
infrastructure
serverfault.com
317,492
Best orientation for CPU blower/cooler in 1U chassis
I'm putting together a 1U rackmounted PC. I have a blower cooler for the CPU, but the chassis has no fans at all. What would be the correct way to orientate the CPU cooler? With the air blowing in the direction of the power supply, or across the motherboard? I'm also slightly worried that the cooling wont be adequate. ...
All airflow in rack mountable hardware should take air in from the front and blow it out of the back. Neither of your proposed orientations are ideal. I wouldn't even run a normal PC without at least one case fan, never mind a 1U server. You should monitor the temps with speed fan or something similar if you're unsure ...
5
6
2,551
2011-10-01T13:36:20.867
infrastructure
serverfault.com
163,893
Transactional Replication - Publications with same Name on the same Domain
I'm using Transactional Replication and I've currently got three 2008r2 instances Publisher/Distributor/Subscriber. I need to put three more 2008r2 instances on the same domain in the exact same configuration. I'll be changing the Publisher Names, but I'd like to avoid changing the Publication Names. I'm pretty sure th...
Yes, it is fine to have same publication names on as many different publishers as you want. You most likely can't have dup publication names on a single publisher though, but that is not what you are asking. Further, you can easily test this out in your test/dev environment, on two servers. Create a single pub/dist/sub...
0
1
342
2017-02-10T15:18:31.090
database_errors
dba.stackexchange.com
550,880
Force delivery retry without restarting the SMTP Service on Windows Server 2008 R2
I have a Windows Server 2008 R2 box hosting 3 virtual SMTP servers; vSMTP01, vSMTP02 and vSMTP03. The first two are configured to deliver all messages to dedicated smarthosts, while the last is set to just deliver the messages on its own. All other delivery settings are as default [CODE] Now I want to take [CODE] out f...
Mathias, All you need to do is open IIS and stop the individual vSMTP01, but really in your case you'd want to pause it. In [CODE] , expand the local computer, right-click the SMTP virtual server, and click [CODE] . Pausing prevents new client connections, but it enables the virtual server to continue processing existi...
3
4
9,897
2013-11-05T18:30:10.673
infrastructure
serverfault.com
139
Are questions of price on-topic?
After my first question helped to determine that I had an electrical problem for which I would need to hire an electrician, I asked a second question about how much a service should cost. Is this second question within the scope of DIY?
General pricing would be in scope but I would say trying to get the best price for a specific job would be out of scope. We wouldn't want this site to become a place where people post work that needs to be done and then contractors bid on it. But if you are trying to figure out if something is going to cost you $100 or...
discussion,scope
3
6
42
2010-08-16T02:31:07.547
other
diy.meta.stackexchange.com
1,102,332
Exchange DAG seeding operation fails with I/O error
we are getting below error on some of our database wheh we try to create/update a database copy: The seeding operation failed. Error: An error occurred while performing the seed operation. Error: An error occurred while processing a request on server 'EX1-Server'. Error: An I/O error occurred while attempting to access...
Is your server Exchange Server 2016 Standard Edition? If yes, this issue occurs because the default database size limit for Exchange Server 2016 Standard Edition is 1,024 gigabytes (GB). There is no default database size limit for the Enterprise Edition. In order to have the full functionality of the Exchange database ...
0
0
1,914
2022-06-02T15:15:25.527
database_errors
serverfault.com
928,770
Dovecot/Postfix - New e-mails doesn't show up in my inbox, even though ~/Maildir seems to be configured correctly?
first off, there is a very similar question to mine. I am aware of that, however the method the people on this thread presented unfortunately didn't work in the same expected way for me as it did for them. That's why I am creating a new question. I have installed a mail server on a Debian based Raspibian system with Do...
You have: [CODE] However you also write that new messages are written to [CODE] , which is Maildir format, not mbox. Change that line to [CODE] and you should be able to read your messages.
2
3
9,138
2018-08-30T19:46:39.917
infrastructure
serverfault.com
592,089
osx server permission removal
I manage a Mac Mini server OS X 10.8.5 Server 2.2.2. used as a file share for assigned partners to upload video files to their respective folder at the very lowest level of the file system (accessed using Filezilla). These users permissions need to stay the same and should not exceed their respective folder and its chi...
Look into chmod -a to remove specific ACLs From man chmod [CODE] -R would make the action recursive ls -le filename will list the ACLs associated with filename In theory you could do this UNTESTED (I just wrote it for you now) script to recurse through all files and delete ACLs for the specified user [CODE] This assume...
1
0
199
2014-04-29T18:01:37.887
infrastructure
serverfault.com
256,228
What to expect from a benchmark?
I'm using [CODE] to test a cloud SAN (similar to EBS). The problem is, I don't really know what to expect given any system configuration. Meaning, that even before I start tuning PostgreSQL configuration, I would like to understand if what I'm seeing in the benchmark results correlates to the physical reality of the ha...
I'm not a hardware expert, but why do you think a SAN should be comparable to a NVMe? Sorry, there is no simple formula. At what scale did you initialize the benchmark tables? that is, what number for [CODE] ? How many clients did you run the benchmark? (What numbers did you provide for [CODE] and [CODE] ?) Did you run...
0
1
181
2019-12-24T09:20:40.827
api_errors
dba.stackexchange.com
826,803
Pruning ZFS snapshot contents -- impossible?
I have a problem in a server that has several dozen snapshots of a ZFS fileset. Back in November we received files that turned out to be for another organization. The content of the files is very sensitive, so the files were deleted. However, by the time we deleted the files, some 42 snapshots had been created of the f...
You won't be able to remove the data from the snapshots without altering the other snapshots in size. Maybe it makes sense to remove the unnecessary snapshots. You CAN modify snapshot data, but I'm not sure what your specific concern is. Is it space? Will these snapshots age-out after some period of time?
3
0
517
2017-01-17T16:35:17.190
infrastructure
serverfault.com