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
204,663
SQL Server vCPUs and Performance
I'm hoping to get some information on how vCPU performance changes (if any) based on guest vCPU configuration in a VMWare environment. Not really worried about the licensing aspect, or SKU specific limitations here (that's a whole other can of worms I don't want to get into). Most of my SQL Servers are configured as: C...
Community wiki answer : I'm really just wondering which might be the better configuration On the low end workload spectrum, you probably won't notice a difference. On the higher workload spectrum I'd copy or come close to the underlying hardware setup. Note that depending on the version of ESXi you use, having less tha...
0
1
289
2018-04-23T00:46:17.967
database_errors
dba.stackexchange.com
331,600
Testing an external API that's in beta state
Our company is using an external API that is actually in beta state. This means it's not stable at all yet, and it changes its requests/responses every week or so. I'd like to write test to ensure my code is working. Unit tests are already done for my own code. But the API itself isn't tested, because it would violate ...
I'd like to write test to ensure my code is working. Unit tests are already done for my own code. But the API itself isn't tested, because it would violate the first rule of FIRST (Fast tests). If I test the API requests/responses 'live' (they have a sandbox version of the API), tests take around 7 seconds for themselv...
2
1
135
2016-09-21T11:26:04.647
api_errors
softwareengineering.stackexchange.com
591,919
IPtables mail is not working though i allow smtp traffic
I'm working server Centos 6.5. I allowed incoming and outgoing traffic for SMTP as below though i'm unable to sent mail from server if iptables are switch on. My IPtables files rules are as below [CODE] Please advise.
You aren't allowing either the outbound SMTP packets or (depending on your DNS configuration) any DNS lookups. Some changes are needed. Before I go on, do you have a business need to filter outbound traffic, or is that just cargo-cult programming ? Edit : absent any response to that, here's what I think you should do: ...
0
0
141
2014-04-29T06:33:30.260
infrastructure
serverfault.com
376,769
IIS Host Header Bindings not working correctly
I have a Windows 2008 server with two websites. The first site has bindings for example1.com and www.example1.com. The second site has bindings for example2.com and www.example2.com. Each of them has an IIS rule that redirects to the www version of the URL. The problem is that when I go to example2.com, it redirects to...
I have found the solution to this issue. Both Firefox and Chrome cache 301 redirects. So, when I was testing the configuration prior to creating the second website's bindings, it cached them. Nothing that I was going to do on the server side would have fixed the problem until I cleared the cache on the browsers. Once I...
0
1
4,247
2012-04-04T18:33:19.310
infrastructure
serverfault.com
130,173
Hide column values for some rows in auto-updatable views while retaining the "write" capability for them in PostgreSQL
Suppose i have a view defined like this [CODE] The purpose is to hide the contents of the [CODE] column in some cases ( [CODE] ). The problem is that the "address" column becomes readonly. Is there a way to have the same effect (hide the column value) while retaing the updatable property?
I went with something like this [CODE] The only downside is that for [CODE] role [CODE] will fail, but for my use case, specifying the columns is ok
0
2
65
2016-02-23T12:28:06.063
database_errors
dba.stackexchange.com
188,681
Author missing from subversion revision
I just migrated an existing svn repository to a new server. Previously the users connected using tortoise-svn over http, and when committing, would have their revision associated with there user by the svn:author property. However now, after the move the users connect using tortoise-svn over https, and revisions no lon...
The cause of my problem was that svn users were not authenticating at all. After the initial setup of svn/apache, I added a rule to the http.conf file allowing access to users on the local network that also applied to the svn location. Causing the svn user to no longer be prompted for authentication. I did not notice t...
1
1
1,381
2010-10-07T17:09:07.823
infrastructure
serverfault.com
459,080
Solr performance (tomcat) - High load
I'm relatively new to solr. I have a production site running on a VPS, but now I'm having serious load issues. I don't know where to start in order to get the load down... VPS specs (linode.com 512) 512 MB RAM 4 CPU (1x priority) Looks like my solr server (tomcat) is using a lot of CPU power You can find my solrconfig....
In my experience Solr is quite resource-intensive. According to your screencaps, you are trying to handle 21 requests per second on a server with 512MB of RAM. Very simply, you might need to just throw more hardware at this problem to get it under control.
0
1
1,259
2012-12-18T16:35:09.057
infrastructure
serverfault.com
339,672
How to avoid get/set actions in redux?
The point of redux is to decouple "what happened" from "how the state changes" according to Dan, anyway , but I'm having trouble figuring out how to handle side effects without having getters and setters. Here's where I am now: User enters email + password and taps "log in" App fires off { type: "USER/LOGIN", payload: ...
It's close, but no. The main problem lies in the way you are initiating the asynchronous action. The handling of the response is completely correct. Basically, you are firing an action to mean "Do this special other thing", and that is wrong. You should be updating the state to mean "Do this special other thing". Then ...
1
1
1,529
2017-01-07T22:14:11.073
api_errors
softwareengineering.stackexchange.com
199,280
Strange File-Server I/O Spikes - What Is Causing This?
I am currently having a problem with a small Linux server that is providing file-sharing services to four Windows 7 32-bit clients. The server is an AMD PhenomX3 with two Western Digital 10EADS (1TB) drives, attached to a Gigabyte GA-MA770T-UD3 mainboard and running Ubuntu Server 10.04.1 LTS. The client machines are ta...
If it wasn't a 'modern' Ubuntu I'd say your hard drive has DMA disabled; check with [CODE] . If memory serves me well it should be [CODE] but you might want to check the manual page first. Perhaps the controller you're using for the disk does not have DMA enabled by default, and it's relying on CPU for I/O? Another thi...
0
0
620
2010-11-08T07:57:21.127
infrastructure
serverfault.com
1,955
Running WatiN Tests in TFS Build
I have created a suite of WatiN tests and added them into Source Control. My team are new to using TFS and I am looking at how I can get the tests to run as part of a TFS Build that will build all the projects concerned, run our suite of Unit Tests and ran the Automated UI Tests created using WatiN. At the moment, ever...
The selected tests in matching **\test.dll using setting from [where the WatiN tests are stored in Source Control] are going to be executed with MSTest, which is not compatible with watin. You can try to change the build template TFS uses to call your watin runtime instead of MSTest, but you'll have to create code
3
1
433
2011-10-13T15:13:01.810
data_quality
sqa.stackexchange.com
24,241
How to use jmeter with the perfmon plugin?
I am very new to performance testing, it may be simple question. To get the server performance by using perfmon plugin, do i need to install the jmeter in the respective server and then run the test plan there itself? as per the video shared in the youtube, that server agent will be installed in the server, my question...
Someone has to install the JMeter server agent on the same machine as the server. You can run JMeter itself on a different machine.
2
3
4,336
2016-12-10T09:39:50.767
data_quality
sqa.stackexchange.com
1,010
Assertions and constraints
I'm constructing a template to build a configuration file, and the service that consumes this file places constraints on identifier lengths. If an identifier is longer than, say, 6 characters, the service will get part-way through applying the configuration, fail, and leave the node in an inconsistent state. How can I ...
In Ansible: you can use [CODE] or [CODE] module. [CODE] In Puppet: there is fail function evaluated during parsing phase which cause parsing failure on server (see question on StackOverflow ) [CODE]
11
7
87
2017-04-24T20:44:36.707
data_quality
devops.stackexchange.com
270,645
Cisco router - cannot access NATed outside IP from local network
I'm configuring a small network at work, and I have some problem. We're assigned 4 external IPs. I have them in range [CODE] to [CODE] . I mapped one of the global IPs to local IP by NAT, by so that I can access the machine from the outside network. In Cisco configuration, it was [CODE] And I configured other settings,...
Ciscos don't allow access to external NAT address from inside. The traditional way to solve this is by using split DNS: when resolving the name of the server in question, external users should receive 173.228.60.37, and internal users should receive 192.168.24.52.
1
1
1,295
2011-05-17T18:11:58.523
infrastructure
serverfault.com
795,241
Baikal and Carddav Android 20:not a directory
I installed Baikal 0.4.5 to my new Debian server with Nginx and PHP 5.6. Past installations of Baikal completed without any problems. Unfortunately now I can't connect with Carddav on Android ( https://example.com:443/baikal/html/dav.php/principals/username/default ). The generated errors assume that a directory is mis...
Thanks to Tero Kilkanen I was able to solve the problem. It was just a problem in the file configuration. The old situation: [CODE] The new and working situation: [CODE]
0
0
309
2016-08-06T14:43:34.693
infrastructure
serverfault.com
939,580
403 - Forbidden: Access is denied in Chrome
I installed a new certificate on IIS7. After I installed the certificate, I opened the site in Chrome and received the following message: I clicked Ok and now when I browse to the site in Chrome, I get an error: [CODE] If I browse in Incognito, I get the message again and if I click Cancel, I can browse the site. When ...
You have accidentally configured client authentication on your IIS server. The server now expects your browser to send a certificate to the server in order to authenticate you. Start the IIS Management Console and with your site selected in the left-hand pane, open the SSL Settings page. You need to have Require SSL ch...
3
4
7,893
2018-11-12T01:13:41.567
api_errors
serverfault.com
299,392
How are SELECT queries isolated from each other with MariaDB 10.1?
Given the following tables.. [CODE] ..and connection 1 and 2 concurrently doing (with [CODE] ).. [CODE] [CODE] ..resulting in the event with data [CODE] getting ID 101, and [CODE] getting ID 102. Is there any chance that the following query run at about the same time on either connection 2 or on a 3rd connection will r...
From a general point of view: [CODE] is a SET (i.e. unordered). Any row that matches the predicates may be returned from this query. Let's call this row R1 In the same way: [CODE] is a set, but you have an ORDER BY id. So the resulting row will be the row that satisfies the predicates, with the smallest if. Let's call ...
1
0
83
2021-09-10T11:13:40.823
database_errors
dba.stackexchange.com
896,253
Can't ssh to GCP server
I am unable to ssh to my GCP instance. When I contacted support they are saying that sshguard is blocking the request and asked me to include - [CODE] in custom metadata under key startup-script. I restarted several times but doesn't work. When I try to ssh to that instance it says connection refused on port 22. Suspec...
First we have to make sure that OpenSSH daemon is running and that it is able to respond to connections. That is to say that a local firewall on the instance does not deny SSH connections, or that the SSH daemon is not controlled by TCP Wrapper or SSH Guard. You can test the response from SSH daemon with net cat (nc co...
0
0
2,684
2018-02-08T07:46:25.027
api_errors
serverfault.com
39,121
Data usage increases initially when reorganize partition mysql cluster
In my MySQL cluster, the data usage of 4 data nodes is approximately 77%. I added a new data node online, and attempted to reorganize partition to redistribute data among all data nodes. But before the query alter table customer_tbl reorganize partition; is successfully executed, the data usage of existing data nodes s...
You're correct that the on-line repartitioning of data temporarily uses extra memory on the data nodes. In most cases the application data is split over many tables and so relatively little memory is needed when repartitioning each table. If the data is in one big table and you don't have the available RAM then there a...
2
2
299
2013-04-03T08:45:57.720
database_errors
dba.stackexchange.com
813,439
samba: map specific user to guest
This is how the Samba auth backend works: Client username Server username via the username map. This is a system (/etc/passwd) account. If the server username is empty "" goto "Guest Authentication". Otherwise, goto "passdb/SAM Authentication". passdb/SAM Authentication: Check credentials via passdb/SAM database. This ...
Use [CODE] . But you seem to use an unorthodox approarch, so I seriously doubt you really need it. P.S. And no, your description of how authrization works is beyound any acceptable error threshold.
0
0
1,335
2016-11-06T05:12:27.233
api_errors
serverfault.com
394,366
Is it possible to set Java to update automatically? Pros/cons?
We have a few hundred users and about 40-50 of them need Java for one reason or another. The problem we run into (as have many others online apparently) is that Java seems to want to update all the time. How this differs is that most people online seem to all want to disable automatic updates. I was curious if you coul...
This is definitely a balance for your environment. There are two diametrically opposed camps on whether or not to update Java automatically: The case for Java is an extremely common exploit vector. J. Random Website and their ad-providers can and do load java to exploit stuff. Since this is Java, it'll exploit not just...
2
2
1,323
2012-05-31T14:19:34.810
infrastructure
serverfault.com
73,892
How to make Postfix (on Ubuntu) NOT receive mail?
I want to make Postfix unable to receive mail. I just want to be able to send mail with Postfix, not the other way around. Is that possible? If so, can anyone tell me how to do that? Thanks.
Inside your (/etc/postfix/)main.cf: [CODE] This way it only listen to localhost (via loopback). Make sure you restart (or reload) the server after change.
1
6
1,784
2009-10-13T05:18:18.480
infrastructure
serverfault.com
38,743
Sensitivity analysis of a machine learning model
Let’s say I have a set of input variables ( [CODE] , [CODE] , [CODE] and [CODE] ) and I predict a target ( [CODE] ) using a machine learning model ( [CODE] in my case) with a reasonable performance (5% relative error on test set). [CODE] Now, I want to do some kind of sensitivity analysis on this model by answering two...
Without further knowledge of the domain, there is no simple answer. Are the predictor variables discrete or continuous? If they are discrete, you could search all combinations that sum to 0, then all combinations that sum to 1, etc. until you find a combination that increases y by 10. If they are continuous, then: Is t...
4
1
4,632
2018-09-24T20:55:39.100
data_quality
datascience.stackexchange.com
994,177
Digital Ocean: "Failed to open serialization file readonly file system" Issue #Ubuntu
After applying an [CODE] to my Ubuntu VM at Digital Ocean I started seeing the message in the title. The Wisdom of Internet say's that this problem typically occur when the UUID in /etc/fstab does not match the one reported by [CODE] . I checked that's not the case here. I checked the disk for error and it is clean. I ...
It seems the issue is the current latest version of [CODE] . Following the instructions in that thread helped me out: Power down your DigitalOcean image. In the droplet settings, go to "Recovery" -> Select "Boot from Recovery ISO". Power on your droplet, and open an access console. Mount your partition (1), then attemp...
5
8
867
2019-12-03T18:47:38.347
infrastructure
serverfault.com
418,927
MS SQL can't connect with JDBC...permissions issues?
I used "sa" to create a user "secure1" and I can connect as secure1 using Management Studio locally and remotely. When I then switch to JDBC with the url(I use two \ in the url below but stackexchange stripped the other slash out because java sees the \ as an escape sequence) jdbc:sqlserver://192.168.111.111\MYDBQA:143...
Dean, A couple of things. Undo all of the permission changes you made to the other databases, none of them were required. Better yet delete the user you created which should in turn delete all of the other permission changes. Re-create your user, don't give them any server roles just create the user. In the User Mappin...
1
2
3,858
2012-08-18T14:44:17.770
database_errors
serverfault.com
527,823
xm re-create configuration file from existing vm
I have Xen set up and working quite nicely. When I reboot and use: [CODE] I get this output: [CODE] This is because I created 3 vms through the xm command line by using something like [CODE] I also created one vm through a regular configuration file. This vm does not appear in the output of xm list, and cannot be inter...
You can find the [CODE] configurations used by xen in [CODE] . You can create a machine from a [CODE] file by using [CODE] (see [CODE] ). However, if you want to edit them I'd reccomend you to use libvirt's API or using [CODE] : [CODE] .
2
0
1,752
2013-08-01T01:52:13.603
database_errors
serverfault.com
107,925
Oracle - ORA-01654: unable to extend index in tablespace
I referred to the below related question, but it was not helpful in my case: ORA-01654: unable to extend index by 128 in tablespace I have 2 indexes in the same tablespace that I need to increase the size of. I have 13 dbf files associated with that tablespace. How can I make sure I increase the size of correct dbf fil...
This error code, [CODE] , means the server has failed to allocate an extent of the required number of blocks for an index segment in the specified tablespace. As you have said you have got 13 datafiles in your tablespace, you are using small file tablespace. In order to get rid of this error, you can simply add data fi...
7
7
127,179
2015-07-23T18:09:15.597
database_errors
dba.stackexchange.com
22,931
Connecting to a Remote SQL Server 2008 Instance
I work with SQL Server 2008 at my current job and the way I connect to the (backup) server where The SQL Server 2008 instance is installed is by doing a remote desktop from my local work machine into a windows server 2003 computer where the SQL Server 2008 database program and database files are stored (also on our loc...
The way you do this really depends on your network setup, corporate security policies, and what kind of infrastructure you have available to use. What's worked really well for me is creating a totally separate management server on which SSMS, BIDS, etc., is installed, and all management of servers is done from there. T...
6
4
1,141
2012-08-22T17:34:42.693
database_errors
dba.stackexchange.com
135,984
Enabling IPAII protocol disable remote conections. Why?
I have some servers with IPAII protocol enabled with a certain port: I'm using 1433 because a long story. but its working. We can use the default port 1433 AND IPAII ( for PHP developers ) with 1433 too. But in production, when I changed, the server lost connection. There's no way to explain this in a easy way. Why I h...
After you modify any of these settings it's common to lose connections until you restart the instance (and sometimes Browser too if you're using it). We have a policy not to do it without an outage window.
0
2
1,557
2016-04-20T20:22:26.180
warehouse_errors
dba.stackexchange.com
279,196
FreeBSD: OpenLDAP, SASL, and GSSAPI
I've run into some problems getting OpenLDAP on FreeBSD (8.2-STABLE) to authenticate using Kerberos tickets. I hope I've just had a brain glitch, so please feel free to let me know that I've missed something obvious. Here's where things are: Kerberos works just fine. I can acquire credentials using [CODE] , and I can u...
And...mysteriously it's started working. For the record, here is what seems to be a repeatable process: Install security/cyrus-sasl2. Install net/openldap24-server. Make sure to enable SASL support. Install net/openlda24-client, also with SASL support. Initialize Kerberos per the handbook . Make sure to add the appropr...
2
1
4,312
2011-06-10T15:20:38.383
api_errors
serverfault.com
837,619
MySQL: How do I address mysql crashing issue?
I've an Amazon EC2 Instance with 1GB memory. My Server keep crashes when I receive more then 25 active Users. I'm trying to tune MySQL using mysqltuner.pl, and get the following results: [CODE] Here is mycnf file config after http://www.omh.cc/mycnf/ Session variables [CODE]
How do I address mysql crashing issue? Find out why it is crashing. You can't solve this problem without knowing this. Look in your logs, find relevant entries from around the time that the crash happens. Understand what the entries mean and then take actions to correct the issues. *** MySQL's maximum memory usage is d...
1
1
256
2017-03-11T04:48:04.343
database_errors
serverfault.com
358,304
What is the fastest way to update 100+ Zone Records in BIND?
I'm currently using Cpanel to manage my BIND server and it's painful to update 100+ records whenever server the records pointing to is down. Is there a faster way to update BIND records? The cpanel way requires multiple clicks. The command line way is also slow very you have VI into every zone, edit, and save. It will ...
If this is something you are doing often for some reason, then you could simply create to sets of configuration files and database files, then simply make your [CODE] be a symlink to whatever version of the file you want active. When you need to switch, change the symlink and restart. [CODE] [CODE]
1
1
310
2012-02-09T08:10:39.840
infrastructure
serverfault.com
509,751
My Azure DNS won't propagate
I've followed the guide here ( https://www.windowsazure.com/en-us/develop/net/common-tasks/custom-dns-web-site/?fb=en-US ). It states how to set up a domain. Now, my web-app works when going to http://fablelane.com . This app makes a redirect to http://www.fablelane.com , which then returns a 404 (the redirect is norma...
I figured it out! After 30 hours of hard working, I tried removing the [CODE] A-record, and the [CODE] A-record. I had suspected that the order of the DNS records might have influenced the result. Now it works.
0
0
1,042
2013-05-22T04:29:30.523
infrastructure
serverfault.com
69,610
Change date in linear regression model
Im trying to run a linear regression model with Years as the x variable and temperature on the y variable but I keep getting errors. I manage to run a regression model using the below code and also predicting for a future date 2040. But what Im struggling with is to change the data so its running from a specific date, ...
Slice your DataFrame accordingly, and then apply your previous routine (you may want to put this in a function) to this part of the data: [CODE]
0
0
79
2020-03-12T22:21:30.243
data_quality
datascience.stackexchange.com
212,291
Search algorithm
I would like to create a site where users can post articles with the following optional parts: A title Contents (text) Categories Keywords Articles will be stored in mongodb and the site will be built in node.js. Users can search the site using a normal search text box. I'm thinking about creating the following collect...
I would use an existing platform designed for search. You mentioned Lucene and there are others around based on the language you are using. If you want to create a stand alone search server that is language agnostic look at SOLR. It is based on Lucene, so lots of support. I personally like Sphinx, but it may not work i...
2
2
1,474
2013-09-23T13:51:53.880
database_errors
softwareengineering.stackexchange.com
102,584
Understanding & Resolving Deadlock in SQL Server 2008 R2
I am trying hard to figure out what may be going wrong for below shown deadlock graph: I am receiving alerts for deadlocks similar to above for almost every 10 minutes, it's just the query changes, action of deadlock remains the same: [CODE] I've looked at fragmentation & any missing indexes , but that's all good for t...
Looks like multiple statements in a transaction. One row is the target of the first statement of the first transaction and the second statement of the second transaction. And vice-versa: the same row is targeted by the second statement of the first transaction and the first statement of the second transaction. Is there...
3
3
1,166
2015-05-27T17:02:12.667
database_errors
dba.stackexchange.com
50,303
AdventureWorks2012: "The FILE SIZE property is incorrect" error while trying to attach sample database "Adventure Works for SQL Server 2012"
I am trying to attach the sample databases, for example, [CODE] from codeplex "Adventure Works for SQL Server 2012" into a MS SQL Server 2012 (default) instances on a a virtual machines under MS Windows Server 2008 and MS Windows 7. Each time I am getting the error: The header for file 'C:\Program Files\Microsoft SQL S...
Try downloading from AdventureWorks Databases – 2012, 2008R2 and 2008 . This might be due to corrupt installs.
0
1
2,700
2013-09-22T07:56:48.087
database_errors
dba.stackexchange.com
593,535
php 5.4 not working after upgrade from 5.3 to 5.4 on centos 6.5
Before the update php 5.3.3 worked fine, now the apache offers to download php sites instead of processing them. What I did: I used the REMI repo to get php 5.4 for centos 6.5. I think that all steps have been processed normally. In /etc/httpd/modules I can find the new files: [CODE] I restarted the apache. Here are so...
Check if you still have this line in [CODE] config [CODE] After restart, please test again in different browser to bypass caching mechanism on particular browser.
-2
1
1,912
2014-05-07T00:00:38.410
infrastructure
serverfault.com
89,549
How does Amazon create the RDS for Postgres? Some kind of Docker?
I am really curious about the infrastructure of Amazon. When I create a new instance of RDS, it gives me a host, username, password.. Everything. Behind the curtains, how do they do this? It´s some infrastructure like Docker to run multiple instances of PostgreSQL? How do I replicate this? My problem is: I have many us...
Amazon doesn't talk about this much and the servers are intentionally locked down, so it's hard to be completely sure. They're EC2 instances that run a custom AMI and have automation tools - in-house, or something like Puppet/Chef/etc. These automation tools communicate with the AWS control panel over web service APIs,...
0
1
845
2015-01-17T19:05:51.027
pipeline_ops
dba.stackexchange.com
644,102
Branch office Connectivity issues
We have two offices. One in The Netherlands and one in India. In each office we have pretty good internet connection (~20Mbps). The major problem we face is cross office connectivity. Skype calls are really poor and so are Hangouts. File download speeds are also really poor. Is there a way to solve this situation? I am...
There is a few obvious possibilities for what you should check next: Maybe the 20Mbps capacity specified by the ISP is only for incoming traffic. If the outgoing capacity in each location is smaller, then communication between the two sites will never be able to use the full incoming capacity in either location. If eit...
-1
3
170
2014-11-13T14:31:38.793
infrastructure
serverfault.com
1,136,912
installing net-snmp with V3 support on windows to use as mgmt tool for making requests to remote systems
I am trying to make an snmpget request on a Windows 10 system to a system that only has SNMPv3 enabled. I have installed net-snmp-5.7.0-1.x86.exe onto Windows 10. During the installation, I check the "Encryption Support" checkbox. It states "OpenSSL does not appear to be installed..." even though I have it installed. P...
Thanks Lex, good to know it's not possible with net-snmp. I didn't see anything that stated that on the net-snmp site. In case anyone is looking for an alternative to net-snmp I found: SNMPSoft’s snmpget. ezfive.com/snmpsoft-tools/snmp-get Quick to install and easy to use. Example: SnmpGet.exe -r:"10.24.85.113" -v:3 -s...
-1
0
841
2023-07-12T20:24:18.413
hadoop_errors
serverfault.com
244,263
Is Postfix the same thing as Sendmail?
I have Postfix setup on my server so that I can send outgoing mail using the command-line: [CODE] Is this using Sendmail or Postfix ? Is " Sendmail " just a software category or a distinct program ? If something is " Sendmail-ready " does that mean it will work with Postfix ? Everything I've read online seems to use th...
Sendmail is a different (and much older) program from Postfix. However for every mail server to succeed in the Unix environment, a sendmail binary (with some of the expected command line options) must be provided. EDIT: See for example the manual page for the sendmail program provided by Postfix
77
53
109,491
2011-03-07T16:55:30.800
infrastructure
serverfault.com
483,700
Mail rejected because of SPF lookup - can a MX record be a CNAME?
We're serving mail for a group of customers, and (only) one of them is seeing (some of) their mails rejected. The situation is: Our server: ourdomain.com -> Gets forward and reverse DNS lookup correctly resolved Served domain: clientdomain.com Dig over clientdomain.com: [CODE] Error to mail clients: [CODE] My main ques...
[CODE] is not the same as [CODE] . The error message means that they were unable to even contact a name server at all when looking up the SPF records. It could be their name server or yours that was unable to respond. If this is your mail server, you should find out what the SPF lookup was and why it failed.
1
2
12,793
2013-03-01T09:35:09.187
infrastructure
serverfault.com
123,443
Turn off auto qualification of table names when creating a view
Problem Definition I am trying to modified a shared development database, for a dev team to use for application development/testing. Most of the collective work (table names, views, etc) are stored in the public schema, but I have set up schemas for each user to use as scratch space. However, the real goal would be for...
No. There is no way. I think there is a slight misconception of how things work. Unlike functions , which store the function body as string ( late binding! ), a view parses the query and does not store the original text at all . Update: since Postgres 14 there are also SQL-standard functions (with [CODE] ) which also p...
4
5
732
2015-12-11T09:41:42.563
warehouse_errors
dba.stackexchange.com
874,463
How to Set up IP Specific Virtual host?
The following is my current sites-available.conf: [CODE] I want to host another domain on this server, so I want to specify IP for this virtual host. So, I rewrote the first line like: [CODE] Then, things stopped working. Why? Currently, this is the only domain on this server, by the way. Thanks!
Needed to add Listen 172.20.30.40:80
0
0
42
2017-09-19T15:41:19.763
infrastructure
serverfault.com
343,019
Component and service documentation Requirement for platform migration
I have a sudden need to comprehensively document a moderately complex platform, and break it down into service and application components, and describe how these services can be migrated and are provided into a new platform which is cloud based. Obviously in both a desire for brevity, and a desire to comply with the ru...
Your list of items to document is relatively complete. For format, my first suggestion is to make it match the other documentation in your company (if you use Wikis, wiki it. If you use SharePoint, put it in SharePoint, etc.) -- You want to make sure people will actually read (and update) the documentation. Similarly i...
1
1
69
2011-12-21T05:09:05.533
pipeline_ops
serverfault.com
253,156
Cannot take backup into NAS storage at specific time
I have a job which runs every 30 minute and takes t-log backup of the database suing Ola's script. Every Thursday and Friday at 22:45 I get an error: [CODE] I asked sysadmin to check all settings regarding NAS storage and he said that everything ok and he doesn't know what is the cause of this problem. From my side, I ...
Operating system error 5(Access is denied.) This error is somewhat cryptic, but it is helpful. This error is coming from Windows when it tries to write to file. Windows then passes the error message along back to SQL Server, who dutifully tells you exactly what it was told--unfortunately without a better explanation. "...
1
3
197
2019-11-13T10:52:46.727
database_errors
dba.stackexchange.com
158,771
MariaDB: Error 121 trying to add a foreign key but no foreign key is present
as part of a migration process, I've got a SQL script that adds several foreign key constraints to the database schema. When I run it in our development environment, I get an error 121 and the InnoDB log says: "A foreign key constraint of name [CODE] . [CODE] already exists.". But when I run either one of [CODE] I get ...
It may have been a residue of the failed migration process: I can add the foreign key on a freshly restored db.
-1
0
181
2016-12-21T07:49:32.443
data_quality
dba.stackexchange.com
469,699
Can I put "localhost" into /etc/hostname?
I want to stop apache2 from querying the dns name at every start and to make it faster. There is absolutely no reason for apache to do any DNS-queries at all. For redirects it has to use the name passed in by the client in the host header. (See http://httpd.apache.org/docs/2.2/mod/core.html#usecanonicalname ) This is f...
HostnameLookups (part of core - Apache HTTP Server ). It should be Off by default though. and localhost also should be part of your /etc/hosts by default [CODE]
0
2
190
2013-01-16T17:01:57.620
infrastructure
serverfault.com
618,755
Firefox throws error for WWW in-url despite redirects
I recently installed SSL on a website and set it up so that http(s)://www.my-url.com redirects to https://my-url.com . I confirmed that this is working in Chrome. Unfortunately, if a Firefox visitor browses to https://www.my-url.com , they get a security warning. This seems to happen only in firefox, so I believe there...
Do you have a valid certificate for BOTH domains? Either two certs with a SNI-aware server, or a single certs for both domains (SAN) should work. A wildcard cert would NOT work, as it only applies to subdomain level (ie. www1.my-url.com and www2.my-url.com, but not to my-url.com) Depending on your server setup, the pro...
-3
2
113
2014-08-07T15:57:41.660
infrastructure
serverfault.com
827,305
Multiple sites/realms in FreeIPA
To start off, my experience lies in networking (Cisco) and Windows. That being said, I have been set off on a project to design a multi-site FreeIPA installation. I have single site FreeIPA without a problem. Where I am running into problems is multi-site. Let's say that I have three sites: site1.example.com site2.exam...
No you don't need an IPA-Server running in "example.com" but you need a correctly set-up DNS Server that correctly delegates the subdomains "site1/2/3.exmaple.com" to their authoritative DNS (I'd suggest let the IPA-servers handle their DNS themselves). For each realm just add the following two records to your "example...
2
3
5,586
2017-01-19T14:44:57.540
infrastructure
serverfault.com
683,017
First request after a while always slow - ASP.NET MVC / IIS 8.5 / Windows Server 2012 R2 VPS
I'm hosting a low-traffic ASP.NET MVC 5 application on a VPS with Windows Server 2012 R2 / IIS 8.5, with 1 GB of RAM. My problem is that the first request after some time without any requests always gets a slow response - around 1.5 seconds according to Chrome Dev Tools. Subsequent refresh requests/responses only take ...
The problem is, you need to install the IIS feature [CODE] . Then it should work with your configuration. The image is from Rick Strahl's blog : Also remember to set: Start Mode to AlwaysRunning on the application pool Preload Enabled to True on the website level You can set this settings without the Application Initia...
17
12
36,145
2015-04-15T20:52:27.593
infrastructure
serverfault.com
363,940
Getting started with outsourcing small scientific computation tasks to online freelancers
I have to compute small mathematical problems for my work. My main work is to develop and solve these problems analytically. I then have to compute these problems in mathematica, but this is not my main task. I am not unwilling to do this, but I think I could save time by outsourcing it to someone with more technical e...
I'd like to write the problem in Latex, outsource it to a freelance coder, and get back the result. Mathematical programming problems can be written down very precisely and unambigously using mathematical terms, formulas and symbols. That is quite an advantage over the typical business software project, where people of...
2
7
190
2018-01-13T10:30:04.960
api_errors
softwareengineering.stackexchange.com
1,054,293
Filebeat on ECK with AWS Module Fails Due To Metadata Error
We are running an Elastic Stack with ECK in EKS (7.8). We noticed that our filebeat daemonset and the AWS module were not processing logs from S3 and our SQS queues backing up. Looking at the logs on our FileBeat containers, we noticed the following repeating error in each of the filebeat pods: [CODE] We have found: Re...
It's not really an answer as to why the above was happening, but to anyone else who runs into this issue, we changed out the EC2 nodes from [CODE] to [CODE] and have not yet seen this issue again. This makes me believe that it was likely a memory issue of some kind. For completeness, we also turned on the filebeat logg...
0
0
271
2021-02-19T16:27:11.263
database_errors
serverfault.com
452,394
How do I solve caching problems such as cache invalidation and data race in a monolithic app?
When creating a distributed web application, cache invalidation can be a big deal. However, our web application doesn't need distributed load, as we don't expect to serve more than 1k users at a time. For now, we've had a multithreaded asynchronous web application written in Rust. The web application is run on only one...
common cache invalidation strategies There are two hard problems in computer science: naming, caching, and off-by-one. It's unclear what compute resources your caching hopes to conserve, and what cost function applies for "stale" results. If RAM resident set size is the concern, then a LRU cache would be the typical re...
-1
3
133
2024-03-12T00:19:38.587
data_quality
softwareengineering.stackexchange.com
1,115,037
What is the web server software announcing itself as "VDL/1.0"?
I am looking at an old web form located at: http://www.teleservices.lyon.fr/etat-civil/naissance/ Of course, it is obsolete, bogus, without TLS, etc. But I don’t recognize the web server publishing it. And yet, I came across my fair share of rotten and esoteric software! . Google does not immediately find anything rele...
My guess would be a custom header designed to hide/replace an actual server signature : VDL --> V ille d e L yon ; the city/municipality of Lyon
-1
3
69
2022-11-07T14:36:21.337
infrastructure
serverfault.com
684,342
systemctl throwing errors on start/enable after package instal
In the effort to lock down a new Centos box I am building I am installing iptables. I would like to be able to put this in a script so I can do this to other boxes but I am getting some odd errors and the roll back requires a reboot? Installing with [CODE] which works fine, but before reboot: [CODE] and after [CODE] I ...
You may need to reload systemd after adding\updating services ("units" on systemd language). See daemon-reload Reload systemd manager configuration. This will rerun all generators (see systemd.generator(7)), reload all unit files, and recreate the entire dependency tree. While the daemon is being reloaded, all sockets ...
1
3
21,542
2015-04-21T13:08:07.017
infrastructure
serverfault.com
881,938
AWS Instance become very slow after rebooting EC2 instance
Yesterday my Amazon Web Service instance was running perfectly but today morning it became slow. I searched on internet about it and found that I can reboot my Amazon Web Service instance to increase performance so I rebooted my instance. But from that time it became even more slower and sometime not even able to acces...
There are a number of factors that can cause an EC2 instance (or any system) to appear to run slowly. CPU Usage. The higher the CPU usage the longer to process new threads and processes. Free Memory. Your system needs free memory to process threads, create new processes, etc. How much free memory do you have? Free Disk...
-1
2
3,088
2017-11-05T14:00:11.390
database_errors
serverfault.com
1,019,541
NSX/NCP Ingress to secure (HTTPS/TLS) backend
I'm using NSX/NCP Ingress in a dedicated VMWare PKS cluster. I am attempting to stand up ingress to Elasticsearch and the backend service uses HTTPS. I can not seem to find a way to have NSX Ingress talk to a backend HTTPS service. https://docs.vmware.com/en/VMware-NSX-T-Data-Center/3.0/ncp-kubernetes/GUID-E03D6EE5-9C6...
The workaround I ended up using was to create a reverseproxy service to expose 9200 HTTPS as HTTP to the ingress controller. [CODE]
1
1
1,291
2020-06-01T13:31:42.440
pipeline_ops
serverfault.com
197,893
Why are constructors not inherited?
I am confused as to what the problems could be if a constructor was inherited from a base class. Cpp Primer Plus says, Constructors are different from other class methods in that they create new objects, whereas other methods are invoked by existing objects . This is one reason constructors aren’t inherited . Inheritan...
There can't be any proper inheritance of constructors in C++, because the constructor of a derived class needs to perform additional actions that a base-class constructor does not have to do and does not know about. These additional actions are the initialisation of the data members of the derived class (and in a typic...
39
44
111,336
2013-05-13T08:48:21.007
api_errors
softwareengineering.stackexchange.com
1,136,477
Using fail2ban to scan for SSH Accepted Connections and write the username to auth.log
I have a small server that authenticate users as root using their ssh-keys stored in authorized_keys file. I also run fail2ban. I made a convention to have a nickname written after the public_key of each user in the authorized_keys file. I would like to know if it would be possible to have fail2ban to scan for accepted...
However I don't know why you need it, where sshd already writes real user name in the form like: [CODE] If you don't have it, may be you can try to set sshd_config' loglevel to VERBOSE. But back to fail2ban, sure it is possible. As for jail you'd need to specify something like this (along with others): [CODE] Here how ...
0
0
140
2023-07-10T09:30:04.427
infrastructure
serverfault.com
540,628
Can't access my external ip address outside of my LAN, apache server on OS X
For fun I've been working with a web server on my OS X(10.8.4). Apache and its httpd.conf(/etc/apache2/) file and username .conf(/etc/apache2/users/) files all seem to be fine, I can access my localhost from within any computer within my LAN(just need to type in my internal(or external) ip). However I would like to tem...
Whats more than likely the issue is your internet service provider has blocked port 80. There are ways around this. But fist let's verify that is not a server or firewall issue. The fastest way to figure out if this is an issue with your firewall or router is to change the port forwarding on your router to forward a no...
1
1
5,952
2013-09-21T00:10:33.383
infrastructure
serverfault.com
776,012
freeswitch received audio delayed for 20-30 seconds
I manage to make a very simple configuration for basic phone to phone calls using FreeSwitch, When i Calls A -> B (and B answered), A can hear B instantly, but B cannot hear A, after waiting for 20-30 seconds finally B can hear A , is there something missed so when the calls answered B can hear A without waiting for lo...
what's the network topology between the phones and FreeSWITCH server? Maybe there's a firewall that is doing NAT or SIP intelligence. Also if you run packet captures, it would help to determine where the delay is occurring.
0
1
1,463
2016-05-11T04:04:37.140
infrastructure
serverfault.com
285,845
SQL DB corruption recovery procedure
I've like to have this discussion on db corruption topic. We run weekly dbcc checkdb and most time, this sql job went through without errors. However, if it does, that usually means big headache for any dbas. The recommended way is to check if it can be fixed without data loss or restore from last good copy. My questio...
To answer as shortly as possible: Yes, a restoring a chain of log backup can "clean up" a correction. Restore a full backup taken when the database was healthy. Possibly also diff backup. But if you restore a diff backup from when the corruption existed, then there's a risk that the corrupt pages are in that diff backu...
-1
0
111
2021-02-22T22:13:06.457
database_errors
dba.stackexchange.com
550,920
very slow connection to ssh server from client (but not other servers)
I have an Ubuntu 12.04 laptop that is taking so long to connect to various servers (in different data centres) that it seems like a bit of a lottery whether I'll actually get a connection. If I connect to the servers between themselves it's instantaneous, and I've set [CODE] On the servers I'm connecting to (and reboot...
Those symptoms are what you could expect to see in case of broken PMTU discovery. The client can connect and version information can be exchanged without problems because all the packets are small. But once the key exchange starts larger packets are sent. If larger packets are silently dropped by some intermediate rout...
0
1
4,760
2013-11-05T21:47:06.117
infrastructure
serverfault.com
771,441
Can't establish SSH connection even on localhost
Having problems getting a simple SSH connection to even localhost on my Ubuntu 15.10. Server was set up many months ago and was able to create access for SSH with keys, but cannot duplicate that remote access for a new user. I can access with PuTTY from my original user, but even that user can't access via localhost. F...
The line umask 002 is not a valid PAM configuration on it's own. Remove it. To set the umask for ssh sessions see this Serverfault thread: How to setup ssh's umask for all type of connections
1
2
3,090
2016-04-19T13:45:23.267
data_quality
serverfault.com
68,647
How to remove request blocking on apache reverse proxy after failure of backend before asking backend again?
I am working on an apache2 reverse proxy vhost. When the server behind apache is down, the first request to apache shows the error page of course. But at subsequent requests it seems apache delays for some time before asking the backend server again. During all this time (which is short but in development I don't want ...
A bit late answer, but sending it in for refernce http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass The key setting is timeout value. Default is 60 seconds, can be set to 0 for always retry. ProxyPass /path http_//server/ retry=0
4
5
5,082
2009-09-25T10:03:29.467
infrastructure
serverfault.com
420,730
Can't get the right permissions to a shared folder
I'm trying to set a shared directory in my server. There is 2 developper and they will work on the same directory. I created a directory, change the group owner to www-data and chmod it to 755 : [CODE] But when i log in my directory with one dev login and try to touch a files it create a file with 644 perms [CODE] How ...
You'll want to set the umask on the directory.
0
0
60
2012-08-24T10:18:23.397
infrastructure
serverfault.com
325,508
SQL: Empty value list for the IN predicate (literals, not subqueries)
Recently, while writing some Spring/JPA code, I stumbled on an issue I tend to face with from time to time: I passed an empty collection to a repository method that generates an [CODE] expression for the [CODE] clause causing an SQL query syntax exception ( [CODE] ). To work around this issue I just return an empty col...
It somewhat unlikely but possible that someone has built code that looks for this specific error and handles it in some special way that is different from what it would do if there were no results. Maybe they might return an error to the user. Such an approach is bad-practice IMO but I've seen (much) worse. I think tha...
1
7
7,247
2016-07-22T15:36:17.557
api_errors
softwareengineering.stackexchange.com
355,515
Trouble grasping what clean code looks like in real life
I am currently reading and working through "Clean Code: A Handbook of Agile Software Craftsmanship" by Robert C. Martin. The author talks about how a function should do one thing only, and thus be relatively short. Specifically Martin writes: This implies that the blocks within if statements, else statements, while sta...
"Clean code" is not an end in itself, it is a means to an end. The main purpose of refactoring bigger functions into smaller ones and cleaning up the code in other ways is to keep the code evolvable and maintainable. When picking such a very specific mathematical algorithm like the "Miller-Rabin" prime test from a text...
10
18
1,297
2017-08-11T16:24:52.437
data_quality
softwareengineering.stackexchange.com
276,773
Statistics not collected on Insert-Select
Based on the information here , I expected the statistics to be automatically collected during an Insert-Select operation on a new table in Oracle. However, I don't see any table-level statistics gathered after an insert-select operation. I have set the parameter _optimizer_gather_stats_on_load to TRUE . As per require...
This only works with direct path loads: [CODE] . It does not apply to conventional path insert ( [CODE] , without [CODE] hint). This is also explained on the site behind the link.
0
1
85
2020-10-08T19:45:33.997
api_errors
dba.stackexchange.com
432,616
AD - preventing specific IPs from being used
I had an issue today where someone set a static IP on a test machine which happened to be my internet gateway. They then hooked to the primary network and screwed up outbound internet traffic. I understand how to set up IP reservations in dhcp but I am not sure that will help me here since this was a static address. Is...
Barring educating the users I can only think of one thing: Add a fixed ARP address for that IP on managed switches. And document it, since it is going to be fun when you replace the gateway. Edit: I just realized that that solves the specific problem you had, but not the question in in title. Well, not unless you add a...
0
1
61
2012-09-27T15:54:20.247
infrastructure
serverfault.com
355,919
gpg key and what is it for? GPG key retrieval failed error
What is a gpg key and why do i need it? I get this nagging error when i install a fresh centos vps machine: [CODE]
A key like this is used to sign and verify the packages you are downloading to be sure they are legit. If the error you describe happens you should be prompted to download a replacement set of keys from the net. If not you can do so by hand. Strictly speaking these signatures are not necessary - you can still install s...
2
4
2,103
2012-02-01T18:37:21.710
infrastructure
serverfault.com
1,048,720
Cisco Umbrella Identifies DNS Request as Malicious and Looks Like it's From our Domain Controller
Our Cisco Umbrella service is identifying DNS requests to rev1.globalrootservers.net and rev2.globalrootservers.net as malicious. I am trying to figure out whether this is really a problem or if it is a false positive. Below is all the troubleshooting I have performed. The sole indicators of maliciousness are OpenDNS s...
I finally found the problem after days of collecting logs. The initiating request is occurring from 85.93.20.247:8080. The firewall blocks the request and a little later attempts to perform a reverse lookup on the IP. It can't be resolved and ends up going to root hint resolvers on our DNS server which finally resolves...
0
0
694
2021-01-05T21:19:50.540
infrastructure
serverfault.com
328,363
scp returns "unexpected <newline>" error
I am trying to [CODE] a file from a server to my local machine, but it is giving me this error: [CODE] This is my syntax: [CODE] It did not work on this server, but then I tried the same command on my other server, so I can only assume that it is something wrong with my server and not the syntax of the [CODE] command. ...
One of your login scripts (.bashrc/.cshrc/etc.) is outputting data to the terminal when it shouldn't be. This is causing scp to error when it is connecting and getting ready to copy as it starts receiving extra data it doesn't expect. Remove output that is generated here. You can check if your terminal is interactive a...
14
26
18,691
2011-11-07T03:57:59.143
infrastructure
serverfault.com
301,970
Using Encrypting File System on SQL Server data files
I have SQL Server 2008 standard edition running on Windows Server 2003. I need to encrypt the databases. One obvious option is to upgrade to enterprise edition and use TDE. However, this might not be an option due to cost. Can anyone provide any information about if it is possible to use Windows Encrypting File System ...
You'd have an overhead in the OS that SQL Server wouldn't know about and would cause issues (similar to why NTFS compressions shouldn't be used for SQL Server). I also wouldn't bother because: your backups (in the backup system or on tape) won't be encrypted nor will data over the network to your client code/servers co...
2
3
1,006
2011-08-17T09:30:28.983
database_errors
serverfault.com
866,821
HTTP Error -5 occured when trying to download Views (WAMP)
Can anyone explain to me what HTTP error -5 is? I get this error message every time I try to update or download a module in my Drupal 7 site locally. For example: [CODE] The above is a translation from this screen after trying to download a module: There is nothing related to this error in the Apache or PHP error logs....
I also met the issue for drupal 7 on php 7. Finally after I enabled the openssl module for php, the install module from url works.
0
2
165
2017-08-04T07:04:47.727
api_errors
serverfault.com
311,530
How to change the Service Console subnet on an ESX cluster?
We have an existing VMware ESX 3.5 cluster (6 hosts, VI 2.5) and need to move the service consoles to a new subnet. We would like to do this without downtime for the VMs. In my previous experiments I've found that the cluster network constraint checks are blocking my attempts to reconfigure hosts to have a different Se...
The configuration that you've mentioned with all hosts having access to both service console networks, using [CODE] to force use of the new network, then adding a host to the cluster with only access to the new network, will work. One caveat, though - you'll need to disable and re-enable HA for it to change over to the...
3
1
410
2011-09-14T23:22:15.423
data_quality
serverfault.com
494,643
Zimbra outgoing email forwarding/ redirecting from internal to external domain
How can I automatically forward outgoing emails to a different domain? As an example, a user sends an email to 1234564@fax.mydomain.com and I want the exact email forwarded outside mydomain.com to 1234564@example.com. Note There are no accounts on the local Zimbra server under the fax.mydomain.com subdomain and the pre...
Only forwarding is probably not enough, you also have to masquerade the domain name, otherwise the example.com mail server probably rejects the mail and this is what you see as bounces. For us it works like this: [CODE] Mails arriving at example will still have the To:- field as xx@fax.mydomain.org but the envelope is ...
1
2
7,608
2013-03-29T20:31:38.437
infrastructure
serverfault.com
549,882
Check NRPE APT now working through Nagios
I'm able to monitor hosts' package statuses via terminal; but Nagios web ui gives an error like this: [CODE] Here's the command that works properly via terminal : [CODE] My Nagios service description for check apt updates: [CODE] By the way my Nagios version is 3.2.3.
This is debian/ubuntu, right? Go look at [CODE] The packaged NRPE plugin has a conf that defines [CODE] as needing an additional ARG, and [CODE] as the check that doesn't need an ARG: [CODE] Personally, I rename them to avoid confusion. (This confuses a lot of people.)
-1
2
2,910
2013-10-31T13:24:03.703
infrastructure
serverfault.com
623,151
GPO backup fails
When trying to backup a GPO using the GP management console (choosing the GP to backup, right click, hitting backup, and choosing a target directory "c:\ADB"), the backup fails. In the Application eventvwr I can see the error is: [CODE] But the detials are : [CODE] Which doesn't help me... How can I get to the file tha...
You may have to troubleshoot a little further. Are you able to backup other GPOs? Did you try using an alternative admin account? Can you create a test one and back that up? If you can, then I would check permission on the previous GPO where you are receiving the error. There is a powershell command you can use: Backup...
0
2
1,517
2014-08-21T19:39:45.790
database_errors
serverfault.com
936,001
npm install behind one proxy but got Http Error=407 (Forefront TMG requires authorization)
The operating system is MacOS, and already set up http(s) proxy inside the Network Preferences , but always failed to install any packages when running [CODE] (npm is one package installer for nodejs) in the terminal, it popped up the error [CODE] . So I installed the cntlm and applied the correct configuration. Below ...
Finally find out the solution : don't use plain text password ( add one [CODE] at the beginning of the [CODE] line, like change [CODE] to [CODE] ) use PassLM , PassNT , PassNTLMv2 instead (it seems hash values will prevent from auth handshake mechanism again, which should mean you are on behalf of the applications with...
1
1
6,231
2018-10-17T17:08:58.590
api_errors
serverfault.com
977,572
Internet Explorer 11 not working with HTTPS (Let's Encrypt)
I had an application that was running with HTTP in all the browsers with no problem. Then I configured an Let's Encrypt SSL certificate using win-acme v1.9.10.1. Find the link below: https://github.com/PKISharp/win-acme/releases/tag/v1.9.10.1 After installing the certificate, I was able to run my application with HTTPS...
Is IE 11 supported by Let's Encrypt? Support depends more on the operating system than the browser. If you are using latest version of Windows everything should be fine: https://community.letsencrypt.org/t/which-browsers-and-operating-systems-support-lets-encrypt/4394 I suggest you to make full validation of configurat...
2
2
1,998
2019-08-01T12:36:34.040
api_errors
serverfault.com
182,550
Specifing ip address for outbound connections on a multi ip host
one of my servers (Debian 5.0.6) has two public ip-address on the same interface. This used to work well for months but suddenly it is using "the wrong" ip addresses for outgoing connections. This is a problem because the reverse lookup will not match and emails therefore get spam points. [CODE] Currently it is using 8...
Update default: [CODE] Check configuration: [CODE]
19
28
43,160
2010-09-18T20:03:28.077
infrastructure
serverfault.com
787,142
Adding snapshoting capability to a QA lab made of pyshical machines
Due to the nature of our application we can't run and test it on virtualization. I would like to have the ability to revert to a previous clean state and (if possible) have some kind of snapshoting (only of disk not RAM ofc). The following options were considered: Add one server running FreeNAS with all the SSDs from t...
It seems that since Windows 7, windows supports VHD as a native format and is able to boot from it! Using something like this: https://blogs.technet.microsoft.com/panosm/2011/01/23/implementing-a-windows-7-steadystate-by-utilizing-differencing-vhds-files-and-the-boot-from-vhd-feature/ Seems to be the solution to my nee...
0
0
41
2016-06-30T13:05:42.973
database_errors
serverfault.com
121,765
What is the best IIS tracing tool you have used?
I have spent majority of my career using and troubleshooting IIS Web Server. According to me the best thing happened to a Web admin is FRT (Failed Request Tracing) in IIS 7.0. I have used Event Tracing for Windows as well and FRT is as much helpful. Is there any such tracing tool which can give such good in-depth and g...
Update: I use Event Tracing for Windows, if I want to troubleshoot an issue like say " Users are getting prompted when trying to access Anonymous Authenticated Web site ". ETW gives details on how each ISAPI treated the request or What Authentication happened for every single request a User makes. In Windows Server 200...
1
2
5,950
2010-03-12T02:55:53.100
pipeline_ops
serverfault.com
827,094
Redis runs on OpenSuse 42.1, but throws many errors, How do I fix?
Installed Redis 3.2.4 on OpenSuse 42.1 with package manager. The machine has 16GB of memory. Did these steps to get running. (I would like to run as deamon, but havent changed the settings.) [CODE] [CODE] [CODE] [CODE] [CODE] Getting these errors: [CODE]
must enter a row [CODE] in the section [CODE] file [CODE] for Ubuntu type [CODE]
2
1
862
2017-01-18T17:50:06.103
database_errors
serverfault.com
331,531
Nginx set_real_ip_from AWS ELB load balancer address
I have a set of Nginx servers behind an Amazon ELB load balancer. I am using set_real_ip (from the HttpRealIpModule ) so that I can access the originating client IP address on these servers (for passing through to php-fpm and for use in the HttpGeoIPModule ). It seems that [CODE] in the nginx configuration can only acc...
If you can guarantee that all requests will be coming from ELB (I'm not familiar with it), you could try: [CODE] That should tell nginx to trust an X-Forwarded-For header from anyone. The downside is that if anyone directly accesses your server, they would be able to spoof an X-Forwarded-For header and nginx would use ...
33
59
49,056
2011-11-16T13:14:14.077
database_errors
serverfault.com
52,364
MySQL: all stored procedures deleted?
Started seeing some strange errors from dependent processes this morning. After some digging it appears that the file /mysql/proc.MYD is set to zero length. The file /mysql/db.MYD appears to be truncated as well. What's even more interesting is that this isn't the case on the replicated slave. What would cause this? Wh...
The safest course of action is to stop MySQL on both machines and copy the table files you need from the [CODE] schema from slave to master, saving copies of the files. As long as they are MyISAM tables (not InnoDB), this is a legitimate operation. If you can't shut down the machines, then connect to both of them and r...
0
1
2,001
2013-10-28T20:09:44.110
database_errors
dba.stackexchange.com
901,342
VirtualHost is not taken as the best match
I have a file called pga-default.conf which looks like, [CODE] Problem is whenever I try with http://192.168.1.10:8008 it always loads the default Apache Testing page. default.conf looks like, [CODE] But when I change the [CODE] into [CODE] in pga-default.conf it works as expected. I want to know why is this. As far as...
You must always define ServerName in each virtualhost. Since probably your "default" is loaded first and has no specific servername define it is grabbing all requests. You can try this easily by setting "ServerName default" in the default virtualhost. So when you request " http://192.168.1.10:8008 " you will now land i...
1
2
778
2018-03-13T06:21:10.147
infrastructure
serverfault.com
1,146,364
Puppet syntax issue when configuring a Prometheus scrape on an SNMP exporter
Some context I have an SNMP exporter running as a service on a server which allows me to access the data of some PDU using the following URL: [CODE] I have a Prometheus server which I have configured using puppet on the same host. I want to add a scrape job to retrieve the information provided by the PDUs. Relying on t...
You're halfway there - you don't want to remove the quotes, but move them: [CODE] In both YAML and the Puppet DDL, [CODE] and [CODE] indicate arrays, in this case arrays of strings; [CODE] in YAML is a single-element array containing a single string ( [CODE] ), which could also be written as: [CODE] To generate correct...
0
1
145
2023-10-23T00:41:46.853
bi_errors
serverfault.com
76,149
ExtraTreesRegressor criterion
As I understand, [CODE] from [CODE] works by doing random splits instead of minimizing a metric like gini for classification or mae for regression. I don't understand why there's a [CODE] parameter, as the criterion for the splits should be random. Is it just for code compatibility, or am I missing something?
No, extremely-random trees does still optimize splits. It does only pick one random splitting point for each feature (out of those randomly chosen [CODE] ) but then which feature is actually used for the split depends on the criterion chosen. https://scikit-learn.org/stable/modules/ensemble.html#extremely-randomized-tr...
4
4
516
2020-06-17T09:45:34.387
data_quality
datascience.stackexchange.com
160,192
Stored Procedure with HINT "WITH RECOMPILE" loses performance, solved with DBCC FLUSHPROCINDB
I have a Stored Procedure with the hint [CODE] , so the Stored Procedure do not store in the cache a Query Plan for the Stored Procedure. The average time the Stored Procedure resolve the Query is between 1 and 3 second, but from time to time the Stored Procedures takes > 30 seconds and sometimes it gets timeout. The s...
The hint [CODE] is telling your database to rebuild the execution plan every time. This rebuild requires some overhead, and can explain why it takes an extended period of time in some circumstances. Determining exactly why and when the recompile takes longer will require more information from the system (ambient load, ...
0
3
911
2017-01-06T15:59:52.023
database_errors
dba.stackexchange.com
220,022
What is the most elegant way to handle a loop between two systems integrated remotely by webhook events?
So I'm developing this small engine that does a remote integration between two systems in order to sync data, both systems have webhooks for create & update events, and both have APIs (one is REST one is XML), so it is an event-based integration rather than a typical batch one. My problem is that if System A creates an...
Add a globally unique identifier (GUID) to every issue. Make sure both systems track these IDs. When a system receives a "New issue added" event it will first look up the GUID - if it exists in its own database then it can ignore the event.
3
3
1,329
2013-12-02T06:24:19.063
api_errors
softwareengineering.stackexchange.com
22,782
How can I create an @After class that may or may not need to click a delete button?
I am working with some software that schedule reports to go out to clients. Sometimes in running my selenium tests something goes wrong and it does not delete the instance once it is done with it. I have the [CODE] going in and cleaning out anything that the test itself doesn't which works great, however it doesn't wor...
I solved the problem by moving the if statement to the button-1006-btnEl as it is the part throwing the error. I also used the .isDisplayed() method which seems to work out perfectly. Here is what I did instead [CODE]
0
1
95
2016-09-26T16:49:46.940
data_quality
sqa.stackexchange.com
803,197
How can i set premissions in logon script?
I created a logon script which mounts a few network drives on each user account. My question is how could i permit it that when i want the give one Special user the permission to get a Network drive but other users shouldn't have the permission to get that drive . I would also like to get that all into one logon-script...
You don't set permissions in a login script. Login scripts run in the context of the currently logged in user (there's a clue in the name) and unless your system is horribly broken you cannot grant yourself permissions to something you don't already have permission to access. I hope that what you're actually after is o...
-4
1
67
2016-09-15T08:02:03.443
infrastructure
serverfault.com
1,146,888
Samba "NT_STATUS_ACCESS_DENIED" error when trying to image a Windows VM using Cobbler
Looking for some help with Samba on Fedora 38. We have a Cobbler v3.3.3 server currently for testing purposes. We have configured Cobbler and managed to import a Windows distribution as per the instructions at https://github.com/cobbler/cobbler/blob/release33/docs/user-guide/wingen.rst#booting-from-bios-pxe-via-grub2-g...
I found the answer on Reddit of all places. This needs to be added to the DISTRO smb share in smb.conf: [CODE]
2
1
326
2023-10-31T00:32:54.603
infrastructure
serverfault.com
35,739
I got the following error while automate the webpage using testNG
[CODE] Error as follows PASSED: browserLaunch FAILED: addandcheckout java.lang.NullPointerException at browserhandling.allwithxpath.addandcheckout(allwithxpath.java:46) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun....
I can see one issue in your code and likely it is the root-cause of your problem. You have a static field [CODE] You're trying to initialize (probably that static) [CODE] in your first test. However you're creating an object [CODE] that is only locally-visible in your first test. Thus your static [CODE] field remains u...
0
1
395
2018-09-21T13:42:18.617
data_quality
sqa.stackexchange.com
83,380
How much space is needed to reclaim space from a table in INNODB
I inherited a MySQL InnoDB table that has approximately 200 GB worth of data, as well as several unneeded indices that amount to approximately 500 GB. I've archived approximately 75 percent of the records off site and DELETED the records from my table, and would like to reclaim the space in the table. I'd like to know ...
DISKSPACE FOR EVERYTHING INNODB [CODE] DISKSPACE FOR DATABASE mydb BY TABLE [CODE] DISKSPACE FOR INDIVIDUAL TABLE (mydb.mytable) [CODE] These queries will tell you how much space you need for any table, database, and engine. SUGGESTION #1 If you would like to simulate [CODE] just to see diskspace usage, you run the fol...
7
2
7,350
2014-11-23T01:06:49.860
hadoop_errors
dba.stackexchange.com
308,761
How to model data which sometimes (but not always) has a subsection?
I'm trying to help my wife create a schema for a project of hers, and I'm somewhat stumped by some of her data and how to model it. She has a bunch of "standards" that go in to a database. Those are fairly simple. Something like: [CODE] However, some of these "standards" have a kind of "substandard". So 8A33 might have...
Consider a parent_id column to use for hierarchy. This would be similar to the common concept of an employee table. With an employee structure, you would not create a table for reach tier of employment. In this structure, all standards would be the in same table. However, sub-standards would have a value in the parent_...
1
1
26
2022-03-15T20:11:28.757
warehouse_errors
dba.stackexchange.com
630,321
How do I direct traffic without redirecting in IIS7.5?
We have a production machine running Window Server 2003. Previously, development took place in a WAMP environment but a few users are moving to IIS. The issue is, we have a directory on the server called /home/ that when visited, directs all information elsewhere. For instance [CODE] would actually point to [CODE] with...
You'll need to install the URL Rewrite module for IIS. Then you can write a rule that will rewrite yourwebsite.com/home/ to yourwebsite.com/tabular/ The rule will be stored in the web.config for the application. This example would rewrite all URLs under /home/ to /tabular/ [CODE]
0
0
69
2014-09-22T10:28:43.223
infrastructure
serverfault.com