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
784,169
How am I granted access to a protected Windows share without entering a password?
I was logged in to a local administrator account on a Windows 2012 R2 server yesterday and noticed I was granted immediate (passwordless) access to the C$ admin share on another 2012 R2 server. These machines are joined to different domains with one-way trust in the opposite direction, so at first I was thrown off and ...
Per @joeqwerty above, this is called passthrough NTLM authentication, and is referenced in a similar question here .
0
0
54
2016-06-15T16:47:25.300
infrastructure
serverfault.com
200,923
Making your own RPM's based on existing source - Updating the RPM?
I am trying to compile my own RPM packages of some various existing software. Most of this software is normally installed by doing [CODE] I followed a tutorial here and attempted to adapt things: http://www.lamolabs.org/blog/164/centos-rpm-tutorial-1/ I am assuming for the build step in this SPEC I just run a ./configu...
You should not be running [CODE] directly (use the [CODE] macro instead), and you should not be building as root since mistakes in the spec file (as you have) can damage the system.
1
4
1,815
2010-11-11T21:13:29.260
infrastructure
serverfault.com
336,405
Amazon EC2: Restoring Windows EBS snapshots into AMIs or Instances?
As my Windows EC2 instance lives, starting and stopping many times a week, it evolves. These changes get saved to it's EBS volume, so state is persistent across reboots. Now, periodically I backup the (evolved) EC2 instance to a new AMI (which creates a new snapshot) OR I backup the EC2's volume/disk to a new snapshot....
Ok, so the answer happens to be Method 2 itself. It actually works but I had to wait over 30 minutes for the machine to come up. I never get to see the boot logs but maybe Windows schedules a disk checkup upon bootup and that takes a while? I don't know. I just waited, had lunch and tried afterwards and the machine was...
5
4
3,881
2011-11-30T21:46:37.133
database_errors
serverfault.com
418,761
Apache2: Server reached MaxClients setting, consider raising the MaxClients setting
I'm encountering issues on a dedicated Ubuntu 12.04 LTS (Apache/2.2.22), PHP 5.3 with APC. Every few hours I see this happen: [CODE] This causes the server to drop/refuse all connections. When I go to restart apache: [CODE] Since this started happening, i upped the configs for apache (it's a 6 core machine with 16Gb of...
It appears the problem was APC was running out of memory or something (for storing files in opcode) which was bringing apache down. When i upped the memory limit to 256M ( [CODE] ) the problem went away.
2
2
10,566
2012-08-17T20:15:33.637
infrastructure
serverfault.com
305,510
Installed Application Request Routing for IIS, but cannot see it in the management tool for IIS
I'm trying to configure the ARR, but can't seem to find it anywhere in the IIS management tool. I've checked for permission issues (both during the install and when starting the IIS Manager). ARR shows up as an installed program, and I've tried install/uninstalling it. What could be the problem?
Server Farms should be the UI branch from which it's configured. The top level of a given farm shows its ARR properties. If you haven't closed/reopened the Inetmgr GUI since installing it, you need to do that too.
3
5
14,395
2011-08-27T03:17:31.413
infrastructure
serverfault.com
913,978
Sync ECC archive with non-ECC backup/archive server
For archiving and backup, I created the following strategy: Server 1 (Local Network in Office) running 24/7, Linux Ubuntu NAS on DIY Odroid XU4 with Cloudshell 2 and Raid-1 (2x 8TB) this is my primary backup and archive, important directories on my computers/smartphone etc. get directly synced once they're connected to...
ECC RAM protects you from some memory errors. The files you're transferring are on disk. They will only travel through the RAM momentarily, if at all, when you are synchronising them to your other computer. It doesn't have an API where you can "query" for in-memory errors for a specific file. Also, this kind of corrupt...
1
1
204
2018-05-27T09:59:35.217
database_errors
serverfault.com
922,813
Is there a command to scan an existing XenServer storage repository for VMs?
Question: Is it possible to scan for and then re-import XenServer virtual machines from an old storage repository disk after connecting it to a new install? Background: A client had a XenServer 7.3 install with three local disks each configured as separate storage repositories. All the VMs were on LocalStorage2 and Loc...
It is no such easy way and according to my experience, it is easier to reattach the disks to newly created VMs. However, check this article https://support.citrix.com/article/CTX136342 (Restoring the Mappings Manually, if Metadata Backup is Not Available)
2
4
2,595
2018-07-20T09:55:16.047
database_errors
serverfault.com
321,954
MySQL 8 disk usage always grow
MySQL's disk space usage increases as time goes on, but drops all at once when I restart MySQL. After much investigation I think I have found the cause of the problem, it seems that MySQL is writing to a file even though it is marked as deleted. Do you know how I can avoid this kind of problem? MySQL version : 8.0.21 O...
That's a feature of Unix . The shell command [CODE] (and the C function [CODE] ) deletes a file from the directory it is in. But it does not remove it from disk until the file is closed. [CODE] is cleared after any reboot. Some products deliberately open a file for writing and then immediately [CODE] it. Then they writ...
0
0
382
2023-01-10T16:24:15.230
database_errors
dba.stackexchange.com
193,161
Decrease size of database (with an expression index)?
This is my current table definition in a Postgres 10.1-1 database: [CODE] It results in about 4.3x more database size compared to the size of the inserted data. (50 MB, 700.000 lines --> database size is 210 MB) [CODE] is computed as [CODE] . Requirements: fast searches (using algorithms) for columns [CODE] and [CODE] ...
If [CODE] is an [CODE] function (which should be the case for a function called "hash"!) you can omit storing the functionally dependent [CODE] in the table altogether and add an expression index to support queries on the expression [CODE] : [CODE] Expression index: [CODE] This is exactly as big (identical) as the inde...
1
1
180
2017-12-14T17:30:52.823
warehouse_errors
dba.stackexchange.com
9,422
How to mange data access in a CICD pipeline for multiple users with different permissions
TLDR Question; Is it possible to setup a CICD pipeline so that it executes with the permissions of the user who triggered the build? If so which tools support this? Full Question; Apologies if this is a naive question as I am new to CICD. We are trying to setup a CICD pipeline for our project which requires access to a...
My general experience is that CI/CD tools don't support impersonation or claims based authentication well or at-all. In addition you probably want the CI/CD tool to have more access than your users, because you want them to only use the CI/CD tool to change things. The way I have handled this in the past, however, was ...
1
2
313
2019-10-14T10:23:20.800
pipeline_ops
devops.stackexchange.com
334,794
netconsole or serial logging in XenServer DomU
I have some problems with stability of Debian guests in my XenServer hosts. To debug this problem I wanted to use [CODE] kernel module, unfortunately, because the Ethernet controller is emulated, it doesn't support polling and in effect netconsole: [23463.961946] netconsole: local port 6665 [23463.961950] netconsole: l...
This is a bit of stretch, but just got this idea while on my way home and typing this with my iPhone. Yes, I have no life and I must scream. Anyway... I wonder if pam_tty_audit module could be used for this. Configure a special user for it, make the user automatically login to some tty, gather the reports about screen ...
3
0
725
2011-11-25T14:26:13.100
infrastructure
serverfault.com
1,089,331
Apache 2.4: Require (e.g. all denied) directive not honored
I'm running Apache 2.4.41 on Ubuntu 20.04 and am not able to get any Require directives working on my VirtualHost. As a minimum working example, my VHost file: [CODE] is intended to block all access but the log shows: [CODE] I can't see any overrides on Require behaviour elsewhere in my Apache configuration tree. For i...
Thanks to everyone who read through my question - I have found a solution and thought I would share it. I moved my Apache2 tree to one side and reinstalled the relevant packages from repository. The Require suite of directives now worked again so I compared the old and new trees to find differences. I found an obscure ...
1
1
1,031
2022-01-07T16:52:41.377
infrastructure
serverfault.com
881
Where can I find older versions of GitLab Runner?
I'm stepping through the documentation here for installing GitLab Runner. When I register the runner, I get this compatibility error: [CODE] We're operating on an isolated network with GitLab 8.13.0, and no plan to update at the moment. All I can find in the documentation is this link which provides the latest 9.0 vers...
As described in the documentation you are following to install on the first paragraph: You can download a binary for every available version as described in Bleeding Edge - download any other tagged release. Following the link in this sentence allow your to find the tag list page Last version in 1.X (Hence compatible w...
-5
7
3,508
2017-04-12T21:52:51.320
pipeline_ops
devops.stackexchange.com
59,113
Installing Service Packs for Vista and SQL Server Express
I need to update Vista SP1 to SP2 and install SP1 for SQL Server Express 2008. In which order should I install these service packs and has anyone had any problems with installing SP1 for SQL Server 2008?
Backup First I'd strongly recommend backing your machine up before you apply either of those. "Just in case!" (tm) Once you have a backup in place, I believe you can apply the SQL patch first. It should tell you if your OS service pack level isn't high enough. I know it does this for SQL 2000 server and 2005 as well. I...
1
2
140
2009-08-26T16:19:07.823
database_errors
serverfault.com
280,968
How to find column which causing "Conversion failed" error
I've run into quite a lot of issues specially when it comes to conversion errors: [CODE] or [CODE] . Imagine a large select statement with 30+ conversion or cast functions, or a complex view with conversions, or even an insert statement on a field with wrong data type. I get so much headache trying to exclude fields on...
How do people troubleshoot these without having to go through an arduous process of going field by field? Exclude half of them. If the error persists exclude half the remaining. Repeat.
3
3
4,468
2020-12-05T17:34:33.013
warehouse_errors
dba.stackexchange.com
381,010
Where should permissions be stored in a micro services architecture
We are currently in the process of building a service (a REST API) which is called on by our primary application. The primary application contains a users/permissions/roles set up which is used to verify if the user is able to complete tasks on the application. The user-roles relationship is one-to-many. The third part...
Put the permissions and authentication on a separate Auth service. This checks the username/password and issues a signed token containing all the roles the user is in. You microservices can then check the signature of the token against the public key and compare the users roles with the required role for the method the...
0
4
2,002
2018-11-05T15:17:44.807
api_errors
softwareengineering.stackexchange.com
484,046
Postfix+Maildrop: Error opening /etc/maildroprc
I just created the /etc/maildroprc file to drop spam mails into a spamfolder. In my postfix master.cf I have the line: [CODE] The permissions of the /etc/maildroprc file look like this: (ls -l) [CODE] The vmail user is in /etc/passwd : [CODE] The problem is that every time an email is being processed the following erro...
can you try [CODE] and see if this fix it?
2
0
812
2013-03-02T12:37:50.123
infrastructure
serverfault.com
455,882
Master - Slave MySQL setup on a VMWare Cloud -- Is it needed?
We currently are in the research phase of building a "Master" database for our e-commerce business that will centralize all data, including product information, vendor information, Magento information, Amazon, etc .... We have looked into both "physical hardware" (Two RAID 5 machines, master/slave, with a HDD backup of...
The biggest thing to remember about virtual machines (which is essentially what you'll get from a 'cloud' provider) is that nothing magic happened just because someone said 'Virtual'. Or 'Cloud'. You still need to plan and test high availability instead of just assuming it'll work. You still need to worry about data co...
3
6
974
2012-12-07T00:12:59.763
data_quality
serverfault.com
816,606
OWA ignores change password at next logon when using UPN
We are running an Exchange 2013 server. We found a problem around expired passwords. Our users login to OWA using their UPN (user@maildomain.com), and not the real username like lan.local\username. When we set a user to "Change password at next logon", the following happens: When the users logs in with UPN, no new pass...
Please check if the following might be the case An old password still works after you change it in Outlook on the Web .
1
0
1,351
2016-11-23T13:09:01.173
infrastructure
serverfault.com
783,648
Why can't curl retrieve the SSH host key (key: <none>)
I've been using curl (by means of git-ftp) for a while, and passing only username and an [CODE] URL. Authentication would always work implicitely through publickey. Suddenly curl will not connect through SSH anymore – apparently because it does not get a host key and therefore rejects the connection: [CODE] Why can't c...
libssh2 does not support some later keys like ecdsa-sha2-nistp256 and ssh-ed25519 . So if you already have one of these keys in your .ssh/known_hosts , libssh2 will fail. But you can add another key that libssh2 supports, like RSA: To fix it, retrieve the RSA public key from the remote host and add it to your [CODE] fi...
1
4
7,220
2016-06-13T13:55:58.043
api_errors
serverfault.com
442,294
How can I see sent/received data by netcat?
I follow this post to check speed with netcat , but in his blog when he do [CODE] ,he get data on sent received bytes. In the post he ran : [CODE] When I do [CODE] , I don't get this data. How can I get sent/received data by netcat?
There are actually two implementations of netcat , the original implementation by *Hobbit* (called [CODE] in Debian/Ubuntu) and the OpenBSD implementation (called [CODE] in Debian/Ubuntu). In Debian/Ubuntu the binaries are called [CODE] and [CODE] respectively (and [CODE] is a link to one of those via the alternatives ...
6
8
24,281
2012-10-25T14:17:59.767
infrastructure
serverfault.com
6,598
InnoDB create table error: "Row size too large"
We have some engineers that flatten a normalized db structure into a temporary table for the purposes of generating a report. The columns are specified as [CODE] (I know "why are they doing that?"; let's just assume that we are addressing this). We use MySQL 5.1.48 Community RHEL5 with InnoDB plug-in 1.0.9 on Linux. Wh...
The answers to your questions are complex, because they vary by InnoDB file format . Today, there are two formats, called Antelope and Barracuda. The central tablespace file (ibdata1) is always in Antelope format. If you use file-per-table, you can make the individual files use Barracuda format by setting [CODE] in my....
13
20
44,814
2011-01-26T16:02:27.257
database_errors
dba.stackexchange.com
369,741
Why isn't sed working?
I have a file that has a single line with a lot of [CODE] characters. I want to remove all of the [CODE] characters. I tried this: [CODE] and this: [CODE] and this: [CODE] But they all just print out all of the "!". I must be missing something obvious. Any ideas?
Add a [CODE] to your regexp, for global replacement. Otherwise, only the first occurrence will be substituted: [CODE]
3
7
404
2012-03-14T18:55:49.663
infrastructure
serverfault.com
407,643
rsyslog update on Amazon Linux suddenly treats INFO level messages as EMERG
I'm having strange issue with rsyslog on some of my EC2 instances running Amazon Linux 2012.3. Upon yum upgrading rsyslog 4.6 to 5.8.10, it seems like every INFO level log message is suddenly treated as an EMERG level issue and they are getting broadcast everywhere. Commenting out [CODE] from /etc/rsyslog.conf squelche...
Most likely you are running into a bug/limitation of SysLogHandler that leads to a BOM inserted in the wrong place. This confuses the rsyslog parser, and leads to the message being attributed the EMERG priority. This has been "fixed" in Python 2.7 by removing the BOM insertion altogether. You have two options: Upgrade ...
5
4
1,135
2012-07-13T20:37:07.713
infrastructure
serverfault.com
1,094,204
Fujitsu iRMC S4 Web Server Unable to Access
I have a Fujitsu TX140 S2 server hosting a number of drives. Recently went to log into the iRMC web server to turn the server off during the high winds in case of a power cut (UPS on order) and couldn't access the web server. [CODE] I thought it was a browser issue so installed Version 1 of Firefox and was able to get ...
The system is old, and the TLS/SSL versions used at the time of the release is not supported by modern browser, as the TLS/SSL protocols have severe security problems. You can try to upgrade the iRMC firmware on it. The linked download is a Windows download, but you'll find others from Fujitsus support pages. Ultimatel...
0
0
881
2022-02-19T19:24:30.090
infrastructure
serverfault.com
651,963
Make postfix not send bounce emails when rejected by Cluebringer (policyd v2)
I have recipient throttling (quotas) enabled on cluebringer and it's working well. However, every time someone is being throttled, postfix sends back a bounce mail. I do not want it to send back a bounce mail if an email has been rejected by cluebringer. Do you know how I can do this? Given below is my postconf -n [COD...
Do you really mean that Postfix sends a bounce? Or do you mean it rejects the incoming message with a 5xx code and then the sending MTA sends a bounce? Also, you don't say how policyd is configured - it tells Postfix whether to REJECT (5xx) or DEFER (4xx), and I'm guessing you want the latter so that the sending MTA re...
0
1
2,109
2014-12-11T19:24:41.780
infrastructure
serverfault.com
322,445
How do I restore (xterm|gnome-terminal) wrapping after telnet to HP equipment has messed it up?
I telnet to an HP switch from my (xterm|gnome-terminal). Exit telnet. That breaks the behaviour of the terminal. (If you don't have a HP switch to telnet to, one can [CODE] this file in a terminal instead). Now type a very long command (more than one line, and see that the second line doesn't wrap down to the next line...
In the specific case of the problem caused by HP switches, I found (by using [CODE] , which records every byte sent to the terminal), that the autowrap mode of the terminal was being turned off via the VT100 code " [CODE] " and then never being turned back on again. † The VT100 code to turn autowrap back on is " [CODE]...
5
7
3,589
2011-10-18T07:11:27.710
database_errors
serverfault.com
146,273
SQL Server 2000, large transaction log, almost empty, performance issue?
For a company that I have been helping troubleshoot their database. In SQL Server 2000, database is about 120 gig. Something caused the transaction log to grow MUCH larger than normal to over 100 gig, some hung transaction that didn't commit or roll back for a few days. That has been resolved and it now stays around 1%...
What you'll probably find is that because the tlog has grown to such a large size on its own because autogrow was turned on, you'll have a lot of virtual log files . This means the transaction log itself is fragmented and this isn't a good thing. Here's some information on how you can check how many vlog files the data...
4
2
941
2010-05-28T14:27:19.217
database_errors
serverfault.com
507,542
How to configure mod_reqtimeout in Apache2
I need to configure mod_reqtimeout in my Apache server v2.2.22 (in a linux machine). Problem is, I have absolutely no clue on how to do it. I checked the Apache site on this module at this link but there was no clear download/configuration details given. Can someone help me on this ? Any help is much appreciated. Basic...
To check if the module is loaded, you can use the command [CODE] or [CODE] , depending on your OS. If it's not loaded, you can load it on Debian/Ubuntu systems using [CODE] , on CentOS/RHEL systems you will have to edit your [CODE] . Find the lines starting with [CODE] and add one like this: [CODE] Make sure to restart...
4
10
35,678
2013-05-14T05:29:47.100
infrastructure
serverfault.com
504,990
Vpn with ip alias
I'm looking for this information on google from days with no success and hope to find somebody that knows the answer here. I have a dedicated server with a real IP configured on eth0 and a secondary IP address configured on eth0:0 as alias and provider has router second IP on the primary IP, so I can ping both IPs from...
First PPTP is considered insecure. PPTP is using GRE which is a connectionless protocol. This means that each packet that will exit the eth0 (or any alias like eth0:0) interface will use the primary IP address (the one set on eth0) of the interface as source address. If you have a stateful firewall between VPN client a...
0
1
1,190
2013-05-04T10:48:30.087
infrastructure
serverfault.com
221,327
BEGIN / COMMIT atomic update
I try to generate unique identifiers for the ticket table's records. A ticket belongs to a file record, which also have an identifier. If the file's identifier is 'SOMEPREFIX/F01' then its tickets should be 'SOMEPREFIX/F01/PT001', 'SOMEPREFIX/F01/PT002', 'SOMEPREFIX/F01/PT003' ... The architecture: JS Client, a node.js...
Your approach is broken because of the atomic transactions. Any change to the table is not visible to other transactions until the change is committed. So if three transactions are started at the same time, the [CODE] value will be the same for all three of them resulting in the same generated identifier. The only way ...
0
1
427
2018-10-30T09:57:48.030
warehouse_errors
dba.stackexchange.com
1,101,850
Configure and connect fence device through proxy server?
I'm setting up a cluster with Pacemaker and Corosync (from Clusterlabs) . It works fine but i need to configure the fencing. Servers run on a VMWare ESXi infrastructure. I have a frontend server (with an public IP address) configured with Nginx as a reverse proxy. And 2 backend nodes on a private network. The 2 nodes a...
I didn't find answer about proxy. Just redirect traffic by using the proxy server as gateway. Solution used here: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/security_guide/sec-configuring_nat_using_nftables#sec-Configuring_source_NAT_using_nftables [CODE]
0
0
121
2022-05-26T12:56:01.063
infrastructure
serverfault.com
354,118
WAP Monitoring Suggestions?
We have a wireless access point at a client site. They say it goes down a lot. We replaced it. They say it still goes down a lot. Nobody's happy. Now, in some instances, "WAP down" turned out to be a message from Outlook saying it lost connection to their hosted Exchange server. In one case, "WAP down" came from a desk...
Ideally, I would setup something like smoke ping and monitor both the wired interface of the access point, and some device with a fixed IP that is always on. Since you are dropping off that XP box, I would probably monitor the XP box, and the wired interface of the XP box from some other device on that network. Monitor...
2
4
897
2012-01-27T00:52:52.600
pipeline_ops
serverfault.com
432,646
How to properly delete nodes in a linked list?
I'm doing this homework exercise with simple linked lists in C with nodes having the following structure: [CODE] So the exercise asks us to traverse the list and if we find two nodes such that node1->num == P and node2->num == Q, we delete all nodes between them and also them. The "easy" way of doing this is by just ma...
Almost there! You have a linked list: [CODE] You re-link part of the list (HEAD -> TAIL) to remove some nodes: [CODE] The removed nodes still exist and still form a linked list. You code can keep a reference to the P node, then iterate through this linked list and free the removed nodes. But note that the TAIL is share...
2
4
1,153
2021-10-12T10:18:34.423
api_errors
softwareengineering.stackexchange.com
32,984
jmeter tool for how many users can the system handle
how to know in Jmeter ( number of user the system can handle , number of user the system will crash) okay this is the test I had Min: The shortest time taken by a sample for specific label. If we look at Min value for Label 1 then, out of 75 samples shortest response time one of the sample had was 386 milliseconds. Max...
First of all you have to define what does "system can handle" mean. Your system should have reliability requirements like these ones: Whatever resource is requested by a client the response should be returned not later than in 500 milliseconds. The system has to support 5000 user sessions at once The system has to supp...
0
1
606
2018-04-08T11:35:10.363
data_quality
sqa.stackexchange.com
1,069,228
OpenVPN server, executing openvpn with the config as argument produces no output
I have the following OpenVPN server config, which when I try to give as argument produces no output and simply returns. [CODE] And when I try to execute it, I get: [CODE] The return code from $? is 1. This is Arch Linux on a Raspberry Pi, with OpenVPN as follows: [CODE] Why does it produce no output? What should I do t...
If the [CODE] config option is present, all log messages will go to that file, and not to the standard output, so you should check that file. It might worth noting that [CODE] expects a filename, not a directory, which makes your config suspect. Did you really wanted to log into a file called [CODE] ?
0
1
529
2021-07-10T18:58:46.563
infrastructure
serverfault.com
576,580
How can I vew the drivers installed to a printer as a limited user?
...alternately, what permissions do I need to give someone so they can view (but not alter) the [CODE] on a network printer shared out from a Windows print Server? (Server 2008 R2, Server 2012, Server 2012 R2) The problem is that we need to inventory all the printers we have on our print servers, and in particular, ver...
The "Additional Drivers" list is built by querying the subkeys of [CODE] and pulling together matching names. There aren't "Additional Drivers" installed on a per-printer basis. Posit that you have two printers, "Accounting Printer" and "Janitorial Printer" using the driver "Whiz Bang Jet PCL 8" for the x64 architectur...
2
2
2,106
2014-02-18T21:19:18.750
infrastructure
serverfault.com
440,969
Is the fluent interface pattern suitable in casual scenarios?
In a recent PR , a developer, whom I will call Alice, came across a lot of resistance by a coworker (Bob) because she wrote a utility code unit in a fluent style rather than in a classical style. In short, Alice had a piece of business logic (BL) similar to this (Java): [CODE] where the enumeration [CODE] must have a r...
When it comes to readability, the opinion of the one who wrote the code should never be trusted over someone who didn't. It's called the curse of knowledge. = If you wrote it, you already know how it works. So you have no idea how easy it is to read. So if Bob is that opposed, Allice's only hope is what Charlee thinks....
8
14
875
2022-09-10T15:24:21.777
api_errors
softwareengineering.stackexchange.com
261,929
How bad is adding new column each time to compare the fixed values?
As for now we have a program that gets some data weekly which need to be compared with previous values, maimly for uniqueness. All data keys are dynamic and are expected to be changed. So creating the table for the data with specific columns is not a solution, as their title and number may vary. We proposed to a client...
If the values in one row are not related to each other, adding columns is pointless. Writing values into the new columns requires rewriting entire rows, and reading a value requires reading the entire row (up to the desired column). So that schema becomes increasingly inefficient. Put the week information into a separa...
0
1
50
2020-03-13T22:08:22.837
warehouse_errors
dba.stackexchange.com
261,613
Minimum PostFix configuration for sending emails only?
My servers are currently on sendmail which is not very efficient. I'd like to migrate to PostFix. I'm using Google Mail for Domain for handling incoming email so I need to setup PostFix to send emails only. What's the minimal PostFix configuration I must do to set up outgoing email delivery and prohibit receiving email...
The postfix documentation tells you exactly what you need to do .
13
18
30,903
2011-04-20T07:25:06.273
infrastructure
serverfault.com
987,060
Why doesn't this Wireguard route work?
I've set up three Wireguard nodes – a, b and c (Vagrantfile below). Both b and c connect to a and are able to ping a over the Wireguard tunnel. But b and c aren't able to ping each other – why? [CODE]
Make one /30 subnet for a-b and one for a-c. Include the a-b subnet in AllowedIPs on c and the a-c subnet in AllowedIPs on b. I.e.: [CODE]
0
0
263
2019-10-07T14:36:59.680
infrastructure
serverfault.com
34,125
Unable to read data from excel in selenium POM pattern
I am keeping my data in excel file and read the data from there, because of avoid hard code.. Page [CODE] Steps [CODE] Main method [CODE] I want to know that I am doing correct or not ? My data from excel is not reading in the main class... Error : [CODE] every time that i need to write the same [CODE] to read the valu...
For me the problem seems to be in the type of the values you are trying to use. The cell probably contains a number type and you are expecting a String in your code. I would suggest one of the following: change the excel cell's type to text instead of getStringCellValue() try getIntegerCellValue() or a similar method u...
0
3
2,920
2018-06-07T10:01:07.917
data_quality
sqa.stackexchange.com
72,997
Change table from InnoDB to ARCHIVE in MySQL
I try change my table from InnoDB to ARCHIVE with SQL command: [CODE] But it always show me only error: [CODE] My structure: [CODE] Can somebody help me with solution? Thank you.
Since the ARCHIVE Storage Engine does not support indexes of any kind, your main problem is the presence of the [CODE] . Simply drop the [CODE] . Then, convert the Storage Engine. There are two approaches to this APPROACH #1 [CODE] APPROACH #2 [CODE] GIVE IT A TRY !!! SPECIAL NOTE If anyone has a [CODE] with the [CODE]...
4
3
5,074
2014-08-02T13:46:19.127
hadoop_errors
dba.stackexchange.com
548,200
Does the initramfs image file need to be updated whenever grub.conf is modified?
I am trying to puzzle out a linux boot configuration problem involving legacy grub (0.97), LVM2, and dracut and trying to eliminate a few red herrings. My trial and error process goes like so: Modify grub.conf Install grub.conf into MBR via grub shell Reboot Kernel panic In the interests of removing #4, am I missing a ...
You mention grub.conf, and Grub 0.97. Grub 0.97 doesn't use [CODE] . It uses [CODE] . It somewhat sounds like you have both binaries installed on your system and you have muddled things up a bit. You do not have to rebuild your initramfs/initrd files when changing your grub.conf or menu.list. There is almost no relatio...
2
4
3,969
2013-10-23T22:03:56.227
infrastructure
serverfault.com
313,987
Using having after grouping by a rand is not returnig expected results
AFAIK [CODE] statement is executed after [CODE] (if present, otherwise it works like a simple [CODE] ), so it can be used to filter grouped rows, but i'm facing a strange behavior issue I can't resolve. I need to filter grouped rows that have been grouped with a [CODE] function but the returned results are not the ones...
After replacing the "alias", you have [CODE] [CODE] is 10 so it is excluded from the results. Run [CODE] It may show another thing -- namely that the [CODE] clause may have been moved (by the Optimizer) to [CODE] . Yes, there is a fixed order for things in [CODE] , mostly following the order in which they 'must' be per...
0
0
45
2022-07-01T09:29:02.307
warehouse_errors
dba.stackexchange.com
25,520
How backpropagation through gradient descent represents the error after each forward pass
In Neural NEtwork Multilayer Perceptron, I understand that the main difference between Stochastic Gradient Descent (SGD) vs Gradient Descent (GD) lies in the way of how many samples are chosen while training. That is, SGD iteratively chooses one sample to perform forward pass followed by backpropagation to adjust the w...
To get total error before back propagating - it is common to take an average of all the forward-pass errors. This is what's done in RNN such as LSTM. In the case of linear regression and logistic regression, The traditional Mean Squared Error Function can produce such a value. In essence, this value is represented by a...
6
3
490
2017-12-09T13:52:25.563
data_quality
datascience.stackexchange.com
264,755
We'd like to release only the services that have changed, in a continuous delivery context. How would we do that?
I am new to continuous delivery , so please help me understand if my ideas are incorrect, I have XY problems, etc.. My organization runs web services, with services-oriented architecture. Currently, we have about a dozen services. Naturally, these services share some code in common. To date, we've done batched releases...
Well, to my understanding, you already have your answer. Replace "common code" to "common business rules" and it becomes obvious. If the behaviors of both services A and B have changed, you have to redeploy both A and B. However , I think this situation smells familiar... Do you have "common code" for things that aren'...
1
1
86
2014-12-06T17:11:39.977
api_errors
softwareengineering.stackexchange.com
1,002,902
Google Cloud Virtual Machine : Unable to resolve external URLs
my google cloud VM is not able to resolve external URLs , please see the screenshot. any help in addressing this issue , greatly appreciated As recommended attaching screenshot of resolv.conf After restarting systemd-resolved getting below error [CODE]
As it was explained in comments by @sashank the cause of this issue was wrong permissions on file [CODE] . When permissions were fixed restart of [CODE] service finally solved the issue.
0
0
607
2020-02-13T07:01:17.627
infrastructure
serverfault.com
319,923
Cassandra 3.0.5 nodes fail to startup with "IllegalStateException: One row required, 2 found"
I have run into a horrible situation on one of my prod clusters. The version the cluster is on is 3.0.5. I am running a 2 DC setup with close 30 nodes, 18 in one DC and the rest in the other. I did everything possible with my knowledge, but still looking for answers. Of late we were having a few issues with respect to ...
You may very well be affected by the same issue reported in CASSANDRA-11900 which was ultimately fixed by CASSANDRA-12144 . You could try bringing down the nodes and moving to a more stable release of Cassandra 3.0, 3.0.28 is the latest available: https://www.apache.org/dyn/closer.lua/cassandra/3.0.28/apache-cassandra-...
2
2
221
2022-11-19T17:53:43.850
database_errors
dba.stackexchange.com
91,102
Issues Setting Up SQL Server - Multi Server environment
I am trying to Configure the Master target server / Multi server environment in Sql Server 2012. I changed : [CODE] -->Changed from 2 to 0 [CODE] - changed from 0 to 1 on the target When I run the wizard I am getting below error MSX Enlist failed for Job Server 'MasterServerName' The enlist operation Failed(Reason:SQL ...
It is an old post and I assume you've fixed the issue by now but for people having same problem; Check the [CODE] and make sure the [CODE] protocol is enabled for master and target servers.
0
2
2,354
2015-02-04T19:38:50.773
database_errors
dba.stackexchange.com
536,198
Installing Adaptec 5405 RAID card HDD LED
I'm trying to install an Adaptec 5405 RAID card into an Intel 1RU server, and I need to figure out how to connect the existing SGPIO connector from the backplane, onto the card itself (at least I assume that's how it should work). Details The motherboard of the server is an Intel S3420GPLC board. I've already plugged t...
Adaptec card supports SGPIO connections through SAS SFF-8087 connectors. You cannot use LED connector for connecting to SGPIO on the backplane - first one just blinks directly connected LED's and second one is digital serial interface. You need to buy SFF-8087 or similar cable with SGPIO connector, then connect require...
1
4
2,732
2013-09-04T10:07:50.257
infrastructure
serverfault.com
51,908
sklearn FeatureUnion vs ColumnTransformer
I am trying to build a sklearn pipeline which does different transformations on numerical data, and different transformation on categorical data. In the process, I compare the results from ColumnTransformer vs FeatureUnion, and they are not the same. Please advise if the following are equivalent, if not what the proble...
I've tried this with an sklearn builtin dataset rather than yours, but the only difference appears to be the order of the columns. Switching the order of the elements in the transformer lists produces the same results. (In both cases, the numeric columns and categorical one-hot encoded columns are separated from each o...
1
3
2,058
2019-05-13T20:53:58.993
pipeline_ops
datascience.stackexchange.com
177,814
Batch file to uninstall all Sun Java versions?
I'm setting up a system to keep Java in our office up to date. Everyone has all different versions of Java, many of them old and insecure, and some dating back as far as 1.4. I have a System Center Essentials server which can push out and silently run a .msi file, and I've already tested that it can install the latest ...
The following is what we use, works great as a startup script: [CODE]
11
6
48,465
2010-09-03T16:00:03.247
database_errors
serverfault.com
218,443
Windows anti-virus off Linux server
We have a customer trying to replace all Windows Servers with Linux. Problem he has only Windows clients. We are able to migrate most of the server apps. But the antivirus suites he has and all alternative we can think off needs Windows Server. Is there a way to run multi user Antivirus suites for the network to run of...
Might want to look at a cloud antivirus solution. McAfee offers one. Trend Micro also offers one. I'm sure there are many many more. I'm not sure of any AVs that run their console on Linux.
2
1
401
2011-01-04T05:48:33.013
infrastructure
serverfault.com
564,844
Microwave Link Latency
An internet provider installed us a microwave link: The issue is that: The ping from our side to the gateway is about 1-2 ms, which is great, but it remains like this for only 12 hours, then it start to give latency and time outs 100 - 800 ms. The provider changes only the channel and the ping reduces to 1-2 ms, i aske...
The provider has solved the issue, by reducing the width of the frequency band from 40Mhz to 20Mhz.
1
0
406
2014-01-03T13:39:45.357
infrastructure
serverfault.com
18,951
How do I handle importing high amounts of transaction data into application DB?
For the moment, this is a hypothetical question. I've got a database that has a high level of transactional data coming into it. I also have a database that supports my website (my application database) to handle my shopping cart, orders, user accounts etc. Various pieces of information that are reported on the site, f...
We have a good sized Enterprise system that has many of SSIS packages taking data in and out of the system daily. Some of the strategies we have used are: Only process deltas especially in large files. To figure which records are deltas we use change tracking and send that data to tables in a separate database, so the ...
1
2
610
2012-06-07T14:53:52.000
warehouse_errors
dba.stackexchange.com
1,143,733
MS365: Sending encrypted to remote tenants occasionally fails with "user not in tenant"
We are attempting to replace a secure email gateway solution with MS365's inbuilt email message encryption. We have a mail flow rule set up to force encryption from a specific sending address to any recipient, as follows: CONDITIONS : Apply rule if: Sender is 'alwaysencrypt@example.com' Do the following: Modify message...
So, in fact, it turns out this isn't a "tenant" issue at all, but a licensing one. Which is not straight-forward to find in the documentation, because the basic Purview pages don't even reference this, it's only in the FAQ which you don't see when you try and debug encryption stuff. Buried here in the Microsoft Purview...
2
1
546
2023-09-14T17:56:27.553
api_errors
serverfault.com
1,004,220
Monitoring established connections to destination address
We have suspicious that we have remote access tool in our server, we would like to monitor traffic to and from of destination address. We need to know id of the process. We want to investigate which process is established connections to suspicious source IP address
You can get nethogs [CODE] It will get the traffic usage, PID, and IP. after that you can do a [CODE] Then open up the file in wireshark.
0
0
273
2020-02-22T17:13:14.493
pipeline_ops
serverfault.com
223,754
Is it possible to use VPN for only one Program?
Is it possible to use VPN connection for only one program and the rest of the traffic go through the local network? More specifically, I am using the Official Cisco Client.
You could install a virtual machine and run the cisco vpn together with your program of choice on the virtual machine while keeping you normal working environment connected normally.
15
5
64,526
2011-01-17T16:41:55.427
infrastructure
serverfault.com
164,843
Is there a constant for "end of time"?
For some systems, the time value 9999-12-31 is used as the "end of time" as the end of the time that the computer can calculate. But what if it changes? Wouldn't it be better to define this time as a builtin variable? In C and other programming languages there usually is a variable such as [CODE] or similar to get the ...
Ask yourself why you need such a variable in the first place. Most likely, you are lying about your data: whenever you need an "end of time" variable, you are not referring to the actual end of time; rather you are expressing things like "there is no upper bound for this date", "this event continues indefinitely", or s...
15
49
7,475
2012-09-14T07:13:29.657
api_errors
softwareengineering.stackexchange.com
865,147
Can't get upsmon service started to monitor (and respond to) remote UPS
I am having difficulty getting my nut install to simply monitor a single remote UPS attached to a Buffalo LinkStation Duo. I can manually correctly read its status using [CODE] and it is user / passwordless. Long-run, what I want is for my system to monitor this remote UPS - if it goes into battery operation, I want my...
For some ridiculous reasons the client's upsmon requires the password for readonly operation. Fake passwords don't work (while e.g. nut-monitor will accept it). This could be troubling if passwords are not used / not visible to the user, especially for appliances. Some users will set up the configuration, start the ser...
2
1
13,882
2017-07-25T23:33:15.873
infrastructure
serverfault.com
716,127
Syntax error in SaltStack state file
I am newbie with SaltStack. I have an error in one of my first state files. The state file is: [CODE] And the error: [CODE] Could you say me where is the fail?
I found the error. It can't define a state inside other state ( [CODE] inside [CODE] ) I've fixed this way: [CODE]
0
3
1,549
2015-08-23T14:53:02.583
infrastructure
serverfault.com
200,015
Why pgAdmin4 invoke "'utf8' codec can't decode byte 0xe9 in position 42: invalid continuation byte" error?
I'm newbie in postgreSQL ,when I'm trying to create a new local server using pgAdmin4 ,it shows me this error : [CODE] I'm using windows 7 as my OS. My steps to create a new server :
Was your language set to en_US when you installed it? Some people claim it has issues with language settings for similar errors. See here: https://stackoverflow.com/questions/45897521/postgresql-utf8-codec-cant-decode-byte-0xe9-in-position-42-invalid-continua
3
0
5,046
2018-03-12T18:57:22.157
database_errors
dba.stackexchange.com
440,032
What kind of queue should I use for processing large volume of data?
I have a segment of customers which may range between 1 and 5000. For each customers, I need to do some processing by making some query to the database using the data from the customer. The query is expensive and is the reason why I plan to use a queue to handle these tasks. I figured a simple queue with one producer a...
Queues do not offload tasks. Queues just... queue up tasks. Queue can be useful when you have one part of the system producing a burst of tasks or data and then another part can process the tasks/data more slowly. If the task is idempotent (running it more than once doesn't help), a queue can also help to reduce redund...
0
2
183
2022-07-26T09:44:15.010
api_errors
softwareengineering.stackexchange.com
264,440
generating all substrings (n-grams) for bit-strings
I followed SELECT all substrings (n-grams) of length n? to get a function for generating all n-grams for text types. Works great. I figured out how to cast my bit-strings to text, and the function from that link works. However I need it to be as fast as possible, thus I wanted a bit-string native implementation, and I ...
You can solve the error by using the [CODE] datatype. That being said, I don't actually know if this is the behavior you're looking for - it looks weird to me and doesn't match what the text version does. [CODE]
3
0
133
2020-04-06T17:27:45.277
warehouse_errors
dba.stackexchange.com
162,476
Philosophy behind the memento pattern
I have been reading up on memento pattern from various sources of the internet. Differing information from different sources has left me in confusion regarding why this pattern is actually needed. The dofactory implementation says that the primary intention of this pattern is to restore the state of the system. Wiki sa...
A similar pattern, Memo, or Memoization, stores state as well, but it is often used as a program-speed optimization. If a time-consuming operation has a limited number of common inputs and outputs, the most common ones (or all of them) can be stored in a hashtable. When called again with the same inputs, it first check...
11
4
2,094
2012-08-27T13:30:04.183
database_errors
softwareengineering.stackexchange.com
900,043
Getting "real" IP in Nginx behind AWS network load balancer
I have a network load balancer which is forwarding traffic to an Nginx docker container running in ECS (using awsvpc network mode). My nginx config is as follows: [CODE] However when looking at the logs the X-Forwarded-For header doesn't contain the client's "real" IP, it just contains a series of internal IPs (one of ...
https://aws.amazon.com/blogs/aws/new-network-load-balancer-effortless-scaling-to-millions-of-requests-per-second/ Source Address Preservation – With Network Load Balancer, the original source IP address and source ports for the incoming connections remain unmodified, so application software need not support X-Forwarded...
0
1
6,377
2018-03-05T13:32:28.630
pipeline_ops
serverfault.com
142,375
SSRS Scale-Out Deployment: cannot decrypt the symmetric key
I have a single 2008 ssrs instance (#1) up and running and need to add a 2nd server also running ssrs 2008 (#2). The error message on the 2nd server is: The report server cannot decrypt the symmetric key that is used to access sensitive or encrypted data in a report server database. You must either restore a backup key...
I work with Roger and the issue turned out to be after a little work that the second server was a cloned image that had been OBEd so it was a "different" server from the server SID and identity. However, the install of SQL 2008R2 SSRS was already on the server. The SSRS install creates a unique InstallationID (GUID) an...
3
3
505
2016-06-27T16:11:53.667
database_errors
dba.stackexchange.com
514,527
Issue configuring Apache virtualHost with modwsgi
Hello i have a problem configuring apache with Virtualhosts and ModWSGI, see i want to run a Python Script when i access to the domain, but it keeps showing me the content of my folder instead executing the script. Here is the site-enabled configuration: [CODE] *.karinapp.com (/etc/httpd/sites-available/karinapp.com) #...
You need to check few things .. In your httpd.conf [CODE] should be enabled ti execute your cgi files.(wsgi is nothing but a cgi file only, a script) Change your Directory Options [CODE] Becuse it executes it in left to right manner ,its like a or statement . Hope this helps..
0
0
106
2013-06-09T23:14:18.890
infrastructure
serverfault.com
894,687
Error When Starting Cassandra for First Time
I'm trying to get a single-node cluster of Cassandra set up on my VPS for a school project. So I installed cassandra on Ubuntu 16.04 (JVM 1.8.0_161), but when I run, I encounter this error... https://pastebin.com/raw/h1vWhm2e (Posted as link to provide full output). I was just running it through the [CODE] command. Rel...
This is a known problem, tracked as CASSANDRA-14173 - until new release you need to downgrade Java to at least build 152
4
4
3,299
2018-01-29T22:07:49.320
database_errors
serverfault.com
149,107
mod perl in apache 2.2 not parsing perl scripts
I've set up a fresh Apache 2.2.15 server on windows server 2008 R2 with mod_perl (mod perl v2.0.4 / perl v5.10.1). Mod_perl and Perl 5.10 has been installed and loaded without problems. However, despite my configuration, the mod_perl module is failing to recognize and execute my .pl file, instead opting to print out th...
I assume you've looked at this page ? Are you certain you're loading mod_perl correctly? I'm not sure if it matters any more, but you at least used to need to use forward-slashes for paths in Apache, so for example change [CODE] to [CODE] . I also noticed that your [CODE] is uncapitalized, not sure if that matters eith...
1
0
632
2010-06-08T03:49:54.607
infrastructure
serverfault.com
212,555
SSIS - sp logs counters in debug mode but not from agent job
Within an SSIS project I have a number of usp's that I execute to store row counters, like extracted row count, inserted row count, etc., during an ETL process. My SSIS project is setup to run via an agent job. The package runs ok, without any errors, but logs 0 for all my row counts. When I run the project in debug mo...
What this appeared to boil down to was the TargetServerVersion property for the project. What I hadn't realised was, where SSDT had been upgraded, the TargetServerVersion defaults to 'SQL Server 2017', whereas my target instance is 2016. I originally tried to "downgrade" the target server version in the original projec...
1
2
135
2018-07-18T13:30:05.793
data_quality
dba.stackexchange.com
549,158
Creating bootable Fedora USB with persistent storage
I am attempting to burn the full Fedora 19 x86_64 DVD iso to a USB drive and have a separate partition on it for a kickstart file / other media that will be installed in the kickstart process. With the Ubuntu server 12 iso, you can simply dd the iso to the usb drive: [CODE] Once the iso has been burnt, open gparted and...
The easiest way to create the USB stick would be to use the Fedora liveusb-creator tool. It's just plain old Python, so if you install its dependencies , you should be able to run it on Ubuntu. Or you can run it on a nearby Windows machine...
1
2
11,876
2013-10-28T14:31:32.073
infrastructure
serverfault.com
87,885
Strong overfitting accompanying strong class imbalance
I'm training an xgboost binary classification model. The data I have is around 600k and positive is only 0.1% of it. I tried to use all overfitting prevention techniques xgboost has to offer (tune eta, gamma, min_child_weight, subsample feature/data, early stopping etc). However, my model either strongly overfits but w...
With complex data it's rare not to have any overfitting (or underfitting). Ideally one wants to avoid strong overfitting, and if given a choice between two models it's clearly safer to use one which isn't overfit. But if it's impossible to avoid, from a practical perspective there's no reason not to use a model for thi...
1
1
78
2021-01-12T21:30:25.930
data_quality
datascience.stackexchange.com
1,051,222
Wordpress-MySQL connection issue with Docker
I'm having trouble getting WordPress to talk to a MySQL database once I moved it behind a linuxserver/swag container to enable https. I'm using Docker version 20.10.2, build 2291f61 and docker-compose version 1.27.4, build 40524192; these are running on a VPS running Debian 10. Here is the docker-compose.yml file I cre...
I think I finally figured it out. After reading this , I switched the image from wordpress:latest to wordpress:fpm in the docker-compose.yml file for the wordpress container. A docker-compose up -d --force-restart after that seemed to fix everything. Also of note, that link contains a docker-compose.yml example that us...
1
0
3,144
2021-01-26T07:03:08.210
database_errors
serverfault.com
46,927
Text Generation
I want to generate „human like“ text/posts based on a dataset of posts from a forum. The dataset contains roughly 25k words. I currently have the Markoc chain implemented, but i want to improve the text generated by using reccurent neural networks. My problem is that most of the solutions available are written in pytho...
Text generation can be done in JavaScript with RNN/LSTM. For example, TensorFlow.js is a JavaScript implementation of TensorFlow. Since the dataset is very small (25k words), model can be run in JS as well. Following is an example of text generation in JS : https://github.com/reiinakano/tfjs-lstm-text-generation
0
1
465
2019-03-08T12:30:04.353
data_quality
datascience.stackexchange.com
582,900
mongodb cannot connect over network
Im trying to connect to a mongodb server over a network but I cant get the connection to work. I can connect like so on the local computer on which the server is running: [CODE] But connecting from a remote computer fails (where = the database hosts ip): [CODE] exception: connect failed Notably this is response is diff...
If you need to use a nonstandard port you need to use the [CODE] switch from the command line [CODE]
1
3
13,702
2014-03-18T15:53:48.367
database_errors
serverfault.com
945,947
How to test AD FS 2.0 Claim Transformation Rule?
Is there any way to do a test run on the the AD FS Claim Transformation Rule (as in this )? I have a valid SAML response, I have a more-or-less valid CTR, but how on Earth can I run the CTR against the SAML response to actually see the result of the transformation? Case in point. This is the SAML response: [CODE] And t...
You have to run it end to end. If you are getting the claim from somewhere else (i.e. not from AD) you need to use a pass-through rule on the CP. Use a pass-through rule and then a transform rule. On the RP side, add a pass-through rule for the transformed claim.
0
0
500
2018-12-19T09:47:55.260
infrastructure
serverfault.com
696,529
Centos 7.1 Firewalld source address restriction
I have a centos 7.1 and firewalld installed. There are 4 distinct services on that server: mysqld, mongod, jabberd, httpd I need to configure that server to allow connections to jabberd and httpd from anywhere and mysqld and mongod from 2 addresses 10.0.0.1, 10.0.0.2 At the moment the public zone is active and default,...
Zones are defined by interface, source address, or both. This is the most confusing part of firewalld, but once you get it everything else is pretty easy. What you want to do is define a completely new zone, set the source addresses on that zone, then open the destination ports on that zone that those source addresses ...
1
2
419
2015-06-04T07:23:28.973
database_errors
serverfault.com
464,154
Squid won’t store my image
After spending hours configuring squid 3.2.5, I only get TCP_MISS. To narrow the problem, I will focus on one PNG file that I want cached, but note that I get TCP_MISS for every single request, not only PNG files. The PNG file is accessible at this address . Refreshing doesn’t help. When I try to load it via squid, I g...
The upstream webserver is returning an expiry time in the past, which will cause Squid to immediately consider the object stale. [CODE] That looks like a hardcoded timestamp, you probably want the webserver to return a relative expiry timestamp (e.g. now plus 1 month).
0
3
4,365
2013-01-08T19:10:14.390
infrastructure
serverfault.com
141,727
iis7 .net webservice 404 error
I have a webservice [CODE] in the same folder as a page [CODE] . The page works fine but I get the message bellow for the services in the same location. I know the file is there and the url is correct, and I have added the script module and managed handler as well. If anyone knows what I'm missing here I'd appreciate i...
I encountered this issue while doing some test migrations of our intranet applications from IIS6 to 7. I was able to solve the problem by modifying the following section of the Web.config file: [CODE] Change validateIntegratedModeConfiguration to true , and remove the WebServiceHandlerFactory-Integrated from the remove...
4
1
8,512
2010-05-14T00:04:37.617
pipeline_ops
serverfault.com
126,800
Apache load balancer limits with Tomcat over AJP
I have Apache acting as a load balancer in front of 3 Tomcat servers. Occasionally, Apache returns 503 responses, which I would like to remove completely. All 4 servers are not under significant load in terms of CPU, memory, or disk, so I am a little unsure what is reaching it's limits or why. 503s are returned when al...
Solution for this Problem is pretty simple: add to Proxypass: BalancerMember ajp://10.176.201.9:8009 keepalive=On ttl=60 add to Tomcats Server.xml: Connector port="8009" protocol="AJP/1.3" redirectPort="8443 connectionTimeout="60000" After these changes everything should be work fine :-)
6
7
44,182
2010-03-26T23:59:15.227
infrastructure
serverfault.com
279,484
pipe multiple files, single ssh connection, remote commands
I'd like to pipe several files to a remote server, piped as input to commands run on the remote server, over ssh, but only one ssh connection/command is permitted. (In the remote authorized_keys file, "command=..." is specified, so only one single command/script can be run on the remote end using that key). Is it possi...
If the boundaries between files don't mater, just [CODE] . If they do, use tar. This is actually very close to what it was invented for and precisely what it does. The other option would be to setup a named pipe that would keep the ssh connection open with a file node for it's input. You could keep dumping things into ...
2
2
2,060
2011-06-11T19:33:14.017
infrastructure
serverfault.com
132,114
Uninstall IIS on Windows 7
I've just rebuilt my development machine and installed IIS. I then installed the Web Deployment tool and used this to restore my previously-backed-up websites to the clean machine. Unfortunately the restoration didn't work correctly/fully. I couldn't easily correct the problem, so I decided to uninstall/reinstall IIS a...
I finally managed to delete the conetents [CODE] folder, thanks to this page: http://www.howtogeek.com/howto/windows-vista/how-to-delete-a-system-file-in-windows-vista/ I actually had to modify the [CODE] command slightly to handle folders rather than files (/T switch, if I recall correctly). Once the folder was cleare...
1
0
11,641
2010-04-13T20:44:34.970
pipeline_ops
serverfault.com
182,649
BIND - why duplicate nameserver entries (@ and *)?
I had to manually tweak my DNS service providers BIND file. BIND file, created by professional hosting company, before: [CODE] BIND file, created by layman, after: [CODE] The difference is that the "pro"-file has duplicated the nameserver entries, once for @, and once for *, and I haven't. Any reason I should also dupl...
As per the first bind file, I believe the following will send out both of the IPs when you query mycoolsite.com for its A record: [CODE] The following records are wildcard records: [CODE] so when you query [CODE] or [CODE] for A records, you will receive both IPs.
0
1
1,858
2010-09-19T16:36:22.500
data_quality
serverfault.com
218,485
Turn existing Red Hat Server into desktop VM
Is it possible to download an existing Red Hat installation and use this in a VM that I can run on the desktop. The problem I'm trying to solve is building an exact replicate of a production server to run locally so we can debug specific issues with package compatibility without breaking everything. Thanks,
I concur with lain. A few tips- 1)install VMWare tools. 2) sometimes VMWare converter changes your interface from eth0 to eth1, because it see's it as a new physcial nic. Just add the IP configuration to the new interface. Also, read up about time and Linux Guest OSes.
0
2
140
2011-01-04T09:37:18.480
infrastructure
serverfault.com
3,147
The right way to Ansiblically deploy environments directly from Github:
Can one deploy an environment for some Linux OS (say, Ubuntu) from a raw Github playbook in a way similar to this (I wonder if it's the correct syntax)? [CODE] Edit: This is my own Github account so there isn't a risk. In use a similar pattern to download and execute bash scripts but I want to know if the principle is ...
There is no "right" or "wrong". If the commands work when you type them in, then they work, and we won't keep you from doing it. Everything else is opinion. Sure, there are some best practices, for example some people find it unwise to directly fetch scripts from a public (3rd party) website and execute those locally w...
0
3
114
2018-01-22T21:46:31.430
pipeline_ops
devops.stackexchange.com
150,928
How does one export/import registered servers with passwords?
I have a pretty extensive collection of registered servers on SQL Server Management Studio 2016 on my box. However, I got a new box and want to move the entire collection there. So I right-clicked on Local Server Groups, and exported the entire set with user names and passwords. When I try to import the set onto a new ...
It will only work on the same machine, not a different one.
1
0
750
2016-09-28T20:25:29.873
database_errors
dba.stackexchange.com
257,750
Could once `max_standby_archive_delay` and `max_standby_streaming_delay` with value -1 can cause replication stop on heavy loads?
In my replication servers on a postgresql master-slave replication scheme on aws RDS I get the following error: [CODE] The cause, as far as I understood is that the replication happens simirary like a database migration. A sequence of queries is written something called WAL and then are being executed in a FIFO sequenc...
Yes, that is the idea. In the case of a replication conflict PostgreSQL has only two options: cancel the query delay the application of replicated changes. Setting [CODE] to -1 will delay replication indefinitely long. There are ways to reduce replication conflicts: Set [CODE] to remove replication conflicts caused by ...
4
5
4,687
2020-01-20T09:51:16.493
hadoop_errors
dba.stackexchange.com
506,908
Iptables rules order
I have following script, which I found somewhere in the Internet, and I modified it a little bit to suit my needs. My question is: If I understood output of iptables-save my iptables rules are maderight, but I just want to make sure. Here is my .sh file: [CODE] And output of iptables save [CODE] If I understood first o...
Yes, the command [CODE] will insert a rule at the start of the INPUT chain that causes all packets to be sent to the [CODE] chain. You can see this in the iptables-save output as [CODE] You should be able to see this in your 'live' rules too [CODE]
2
3
409
2013-05-11T07:37:25.150
infrastructure
serverfault.com
251,838
Windows Permissions for Developers?
I work at a Fortune 500 company as a Windows software developer in R&D. Corporate IT is currently gearing up for a company-wide Win7 deployment and as a part of it they are looking to completely lock down admin rights on all boxes (including our dev workstations). I've been tasked to work with them to make the transiti...
I've seen a couple good compromises here: Let IT have their way on the core physical machine, but make their department foot the bill for better developer hardware with lots of RAM (6GB minimum, more than 8 is better) and a few extra OS licenses (or good MSDN subscriptions) so you can have the power you need to do most...
4
3
342
2011-03-25T14:28:50.033
api_errors
serverfault.com
1,001,109
Ansible: How to iterate over the results of fileglobs which are called for every element of a list?
I want to do something very similar as mentioned in How can I have a nested loop with a fileglob pattern? except that the list of files is a glob pattern which refers to the items from the outer loop. My (failing) code so far: [CODE] The directory [CODE] looks as follows: [CODE] The error message looks like this: [CODE...
It's possible to concatenate the keys. Quoting from authorized_key : Multiple keys can be specified in a single key string value by separating them by newlines. For example [CODE]
1
1
2,229
2020-01-30T18:14:21.847
pipeline_ops
serverfault.com
289,404
mySQL subqueries calculating winning percentage
I have a table where I store the data of a random dice game where you win if you get a sum of 7 between the two dices. Here's the table: id result dice1 dice2 player_id 1 LOSE 4 4 9 2 LOSE 4 5 7 3 WIN 4 3 9 4 LOSE 2 3 9 5 WIN 6 1 7 6 WIN 1 6 7 7 LOSE 1 3 7 I need to display the percentage of win of each player and this...
[CODE] https://dbfiddle.uk/?rdbms=mysql_8.0&fiddle=a04d576b918c392f90c1d835fd1a6f51
0
1
1,343
2021-04-07T08:04:24.943
database_errors
dba.stackexchange.com
188,837
PostgreSQL 9.5 won't start after Windows 10 fall update
I've installed Windows 10 Fall update (1709) and now my PostgreSQL 9.5 server won't start. It worked yesterday before the update and I haven't made any changes to the configuration. I've checked event viewer and found following error messages: [CODE] It seems like Microsoft changed locale name with Fall update, I could...
Thanks to suggestion from Daniel Vérité I was able to fix it without dumping the entire db server. My understanding of locales on Windows is very limited but from what I've learned it seems like Microsoft changed region name of czech locale from "Czech Republic" to "Czechia" during Fall Creators update (presumably so i...
13
13
5,705
2017-10-19T11:15:23.397
database_errors
dba.stackexchange.com
215,850
Installing Plone on Centos fails: Unable to find libssl or openssl/ssl.h
My dedicated Server has CentOS 5.5. I tried to install Plone, so I basically did: [CODE] I ran into the following error: [CODE] After this error I successfully installed openssl: [CODE] And i tried to install Plone again. But I keep getting the error: "Unable to find libssl or openssl/ssl.h". Anybody an idea what I'mis...
Development files for [CODE] are usually in [CODE] . Install [CODE] .
0
2
2,452
2010-12-24T01:48:39.327
infrastructure
serverfault.com
211,348
"Open source" proprietary software licenses?
I am writing some software that (for once - usually I open source stuff on sourceforge/github/etc.) I plan on selling. To each source file, I want to attach a proprietary software license that doesn't allow anyone to use, modify, derive, etc. the software (and source code) without my express permission. I have been loo...
No, there are none that are particularly well regarded, mostly because there aren't very many at all. Companies that don't free their products are usually VERY wary of letting ANYONE see the source under any circumstances. When they do, they usually want a pile of legal paperwork. I do have to ask what you hope to acco...
1
3
1,030
2013-09-13T01:20:03.503
api_errors
softwareengineering.stackexchange.com
404,626
How to output variable in nginx log for debugging
I am testing nginx and want to output variables to the log files. How can I do that and which log file will it go (access or error).
You can send nginx variable values via headers. Handy for development. [CODE] and you'll see in your browser's response headers: [CODE] I sometimes do this during local development. It's also handy for telling you if a subsection is getting executed or not. Just sprinkle it inside your clauses to see if they're getting...
158
240
271,944
2012-07-04T05:29:37.377
infrastructure
serverfault.com
330,484
Setting up Apache with multiple virtual host when using Plone 4.1
I have a Plone server running on CentOS, I have multiple instances of Plone running 4.0 and 4.1, I also have multiple sites. I am new to linux and haveing problems getting Apache to work with multiple virtuale hosts. The first host listed works just fine but the second host does not. I get the following error message w...
You will need to change the following Lines: [CODE] The first line should contain an IP or * (Wildcard) instead of a domainname. If you want to use name based VirtualHosts you should define a ServerName. ServerAlias is only used to add aliases to a VirtualHost that has already a name. So these lines should look as foll...
0
0
730
2011-11-07T23:49:28.780
infrastructure
serverfault.com
361,731
Resetting SP password using jumper P20 doesn't work on Sun Fire x4600 M2
The Sun Fire X4600 M2 Servers Service Manual says installing a shorting jumper across the P20 header pins will reset the SP password and clear the BIOS password. I installed the jumper then powered up the SP and the system fully as this note suggests: You must allow the entire server, not just the SP, to reboot to main...
Unfortunately, I have no extra insight on the reason why the jumper wouldn't work, but you can reset the password using ipmitool, with the commands: [CODE] Adapted from How to reset iLOM root password on Sun/Oracle X server .
5
5
2,913
2012-02-20T01:51:42.917
infrastructure
serverfault.com
92,321
Debian Permit Local Command Issue
I have a debian box that I cannot scp files from. Installing ssh again does not fix this issue [CODE] I have added and removed PermitLocalCommand from /etc/ssh/ssh config FYI, /usr/bin/ssh is the odd one out: [CODE]
I had a compromise with this from the sebd rootkit. Thanks for the heads up. [CODE]
4
1
3,580
2009-12-08T20:45:07.967
infrastructure
serverfault.com