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
351,546
Odd rsync issue - duplicating and uncompressing files
I have two servers: our production web server(freebsd) and a backup server(centos). The production server does mysql database dumps every 3 hours and compresses the dump file using bzip2. So we have a folder at /backups/dumps/ and the files are like database_dump-20120119_152100.bz2. On our backup server, we have a /Ba...
Looks like you are using the [CODE] switch with rsync, which equates to [CODE] , which includes recursive, links, file times, etc. On top of that, from the command you posted, it looks like you are calling out a path on the source side. So when using a path, with the [CODE] or [CODE] switch, rsync will synchronize all ...
1
1
235
2012-01-19T16:02:52.217
database_errors
serverfault.com
47,652
DB2 Communication link failure issue
I would like to get your valuable suggestions for the below problem. My Perl application connects to a DB2 database and keeps inserting data into a table. The application successfully inserts data for a while and after sometime I start seeing the below Error 1. Error 1: [CODE] Error 2: [CODE] Error 1 occurs only once, ...
Copied from a StackOverflow answer of mine This answer assumed C# code, but the error message is directly applicable here as well. CLI0108E simply means the connection was broken. From the official IBM documentation of this error code : CLI0108E Communication link failure. Explanation The connection between the driver ...
2
1
15,356
2013-08-06T18:16:29.913
warehouse_errors
dba.stackexchange.com
139,131
Error 1236 - "Could not find first log file name in binary log index file"
Our setup: Master: MariaDB 10.0.21 Slave: MariaDB 10.0.17 Replication was working fine until recently at which point the slave's DBs had to be restored from a dump. I performed all of the necessary steps: Dump the master's DBs, transfer the dump to the slave, drop the old DBs, execute the dump to restore the DBs, execu...
You seem to not be connecting to the master that you think you are. Per your binary logs on the master you seem to have: #160519 3:28:59 server id 5 But per SHOW SLAVE STATUS we see: [CODE] And further you seem to be connecting on localhost, but you implied your master/slave are on different hosts: [CODE]
14
7
124,186
2016-05-20T16:36:47.117
database_errors
dba.stackexchange.com
102,807
Powershell function to drop table(s) from SQL Server database
[CODE]
Here's how I'd go about this: [CODE] It looks like a lot of code, but it would scale. It does things like checking to see if the table actually exists before attempting to delete. My output on my test instance (with verbose output) looks like this: [CODE] You could (and should) form this type of logic in any way you wa...
3
3
3,700
2015-05-29T16:27:18.640
database_errors
dba.stackexchange.com
474,173
How are SMTP AUTH credentials stolen and how to prevent it?
We run a mail system for some thousands users and from time to time we get a spam flood from one of our users' account. When that happens we see connections from multiple IP addresses of foreign countries and they authenticate to our SMTP server using valid credentials, we then reset the user's password and the spam st...
I too get the same situations, always a virus problem. Nowadays, it's way too easy to steal passwords once you get access to a computer. There are numerous programs that give you a list of all the user configs (including password, POP/IMAP and SMTP servers) that even I use when in need to configure the account but forg...
0
0
972
2013-01-31T11:58:27.833
infrastructure
serverfault.com
905,591
Receiving spam from my own email address. postfix
for 2 weeks now I keep receiving spam emails sent from my own address. Here's an example : [CODE] I have these restictions : [CODE] what should I add more to block these emails ? Is it safe to block mails coming from unknown hostnames ? One more thing that I've seen : according to my inbox, the above email has been rec...
As we can see, this message uses your address as the envelope sender : [CODE] This means you have methods for rejecting such messages right after [CODE] (or [CODE] , as I do). Regarding the headers like [CODE] and [CODE] , they can be spoofed and contain anything. Additional spam filters like Spamassassin can perform t...
3
3
7,082
2018-04-02T10:43:41.340
infrastructure
serverfault.com
56,722
Why does implicit conversion from sql_variant (basetype decimal) not work well with float
Why is ResultFloat = 0 in the query below? Am I missing a point within the cast/convert , sql_variant docs? [CODE] Sql Server 2012
From sql_variant (Transact-SQL) When sql_variant values of different base data types are compared and the base data types are in different data type families, the value whose data type family is higher in the hierarchy chart is considered the greater of the two values. The base data type family for [CODE] is Exact nume...
6
7
5,406
2014-01-14T02:36:29.667
database_errors
dba.stackexchange.com
1,088,108
Does Postfix add the DKIM header before or after a message is queued?
The Postfix configuration has been changed to add a DKIM header when sending a mail. But Postfix is currently in the [CODE] status, and [CODE] shows that new mails have been queuing in the meantime. Will [CODE] make Postfix add the DKIM header to these queued messages, or are these already processed and will be sent wi...
[CODE] interacts with [CODE] through [CODE] interface and [CODE] interactions happen before a message is queued. See MILTER_README .
1
1
507
2021-12-23T18:35:31.840
infrastructure
serverfault.com
309,029
Can a DC Computer Account be recreated?
We have a problem with an active directory, Aftrer some replication issues existing over the years, the first dc has no DC Computer account in the same domain on the other dcs. So is it possible to recreate the account, or should we just reinstallone of the dcs ?
With replication issues as thorny as this, let me offer a suggestion that is slightly off topic from your question: Slash and burn the forest. Having worked in a domain that was a bit wonky, things can get so out of hand that you're spending more time propping it up with sticks than you would by simply creating a new A...
1
3
360
2011-09-07T16:20:41.690
database_errors
serverfault.com
87,951
Flipping the labels in a classification problem
Let us say A- we have a binary classifier with labels 1 as healthy and 0 as sick. The precision we got is 100% and the recall is 70%. Now let us say B-we flip the labels where 0 is healthy and 1 as sick. Are Precision and recall get flipped in their values if you flip the labels? So in the new case, recall is 100% and ...
To begin with, I don't quite get it why you want to flip them. In the binary case, you flip Negatives and Positive, so True Negative becomes True Positive and so do FP/FN. Hence you flip specificity/true negative and sensitivity/recall values, so overall accuracy and F1 stay the same.
0
1
416
2021-01-14T14:22:59.783
data_quality
datascience.stackexchange.com
679,918
What's correct catalina_base path for Tomcat installed from the package?
I've the following manifest to configure Tomcat to use 8983 port instead: [CODE] However when run, I've got the following errors: [CODE] Which indicates that Augeas is trying to modify the wrong file ( [CODE] ) which is in [CODE] . At puppetlabs-tomcat GitHub we can read: tomcat::config::server: Configures attributes f...
It seems that the [CODE] attribute it incorrect, i.e., the [CODE] has been defined instead of [CODE] . Change it to [CODE] and run puppet again.
2
1
993
2015-04-01T20:02:09.050
pipeline_ops
serverfault.com
18,529
Prometheus and Azure WebApps: How to monitor multiple instances with prometheus
I have an application that has two instances running and each request runs on a different machine. I am monitoring an event with a counter in my application and each instance runs it's own counter using prometheus-net. It would be great if prometheus-net was using a caching mechanism other that in-memory, maybe a redis...
You can do this similarly to how it's done in blackbox_exporter : list identifying information of your targets in the [CODE] block, and then use relabeling to replace scraping address with address of your actual exporter and to place targets into parameters of scraping request. [CODE] please notice here: [CODE] is a la...
3
1
108
2023-09-17T17:49:24.940
pipeline_ops
devops.stackexchange.com
883,470
Server-side mailbox merge on Office 365
I've got a bit of an issue with Office 365 - after migrating an user from an existing IMAP account it seems like their "Archive" folder conflicted with the default one provided by O365 and as a result their existing archive is now named "Archive_0". I would like to merge this with the main "Archive" folder but the issu...
You can export the content to PST, using the eDiscvoery tools. Then re-import the mail thru the Office365 Import service.
1
0
42
2017-11-14T23:38:15.500
hadoop_errors
serverfault.com
176,528
Confusion about connection_id in SQL Server DMV
I am confused about the [CODE] column of [CODE] DMV: [CODE] If I connect to an instance of SQL Server using SSMS, should it be one physical connection only? And multiple [CODE] windows would represent different sessions represented by different [CODE] s or [CODE] s? In particular, why does the result set of the above q...
If I connect to an instance of SQL Server using SSMS, should it be one physical connection only? Well, I think it would help to first be clear about what you actually mean by "connect to an instance". I will assume that you are referring to starting up SSMS and it asking you to connect to an instance. When this happens...
2
1
1,274
2017-06-17T13:42:58.403
database_errors
dba.stackexchange.com
386,445
Tomcat partial startup on linux
My server: CentOs 6 64-bit. Installed jre by downloading Linux x64 (64-bit) jre rpm and used command [CODE] Installed tomcat6 with yum and then tomcat7 without yum to see if my problem was with tomcat6 but it was not. When I startup tomcat 7 it says: [CODE] Every time it starts it seems to fail at a different time. Som...
Had someone take a look at my server and it seems there is not enough memory for tomcat. Edit: Increased memory from 256MB to 1GB and nothing changed.
0
1
1,836
2012-05-06T08:33:08.110
infrastructure
serverfault.com
362,755
How to deal with stories that share functionality
I have two stories (I know they are missing the benefit part) As a Credit Management User, I can view the current and previous payroll differences for Offices. As a Credit Management User, I can receive an email containing a PDF of the current and previous payroll differences for Offices. The two are related in that th...
User Stories are not system specifications or functional requirements. Rather, they are the beginning of a conversation that can lead to such specifications or requirements. Accordingly, I would expect there to be overlap in the system implementation. User Stories are not meant to describe such functional overlap or to...
27
55
5,348
2017-12-20T17:07:40.213
api_errors
softwareengineering.stackexchange.com
530,426
Weird Postfix fatal error
I run three Magento web stores. All the orders e-mails are working just fine, with the exception of 7 e-mails that didn't even got sent from the webserver. Upon investigating the issue I discovered the following logs: Magento log: [CODE] Postifx log: [CODE] This is very strange, because hundreds of e-mails were sent ju...
postdrop[18648]: fatal: uid=33: malformed input This say it all, you have 7 emails that are broken. They probably have a line feed/carrier return , making the headers finish too soon (probably before the To: header). That line feed might be in the start of the recipient address (so the to: is null) or on in any previou...
0
3
3,417
2013-08-12T14:58:28.833
infrastructure
serverfault.com
312,569
EXISTS() vs EXISTS() = TRUE in Postgres
Faced weird behaviour with [CODE] (also applies for [CODE] ) generating different execution plans for [CODE] [CODE] vs. [CODE] [CODE] Of particular interest is Hash Join vs. simple Seq Scan and the 2x time diff. Fiddle https://www.db-fiddle.com/f/a7kedUeFmCu4tWLFRoxMJA/2
PostgreSQL is able to optimize [CODE] into a join or semi-join, but it is not smart enough to detect that the [CODE] in [CODE] can be removed, so it does not apply the optimization here. Since the optimization is not used, it is unsurprising that the second plan is slower. Although, to be honest, with a tiny query like...
5
9
788
2022-05-25T15:10:02.863
database_errors
dba.stackexchange.com
1,022,027
What monitoring system should I use for offline network
I'm part of a sysadmin\DevOps team for for an application. Currently today we have about 25 - 40 vms running as different parts of the application in micro services on the openshift container platform, using also Jenkins, Nexus3, some relational and mongo DB's. I'm looking into monitoring the servers and different linu...
There’s no reason not to use M/Monit for central status in this environment. The cost is absurdly low and it will plug into what you e already established.
1
0
76
2020-06-18T14:00:13.487
pipeline_ops
serverfault.com
692,375
Rate limit misconfigured bots
We have an Nginx / PHP-FPM behind a load balancer which periodically gets scraped. Many of the scrapers hit our application's 404 page quiet hard. Is there a way in Nginx, possibly with the rate-limiting module or a different module, to block all traffic based on x-forward-for after hitting 404 errors at over 100 reque...
You can certainly do this in nginx with the limit_req_zone module. In nginx.conf setup a zone: [CODE] You can also use [CODE] instead of [CODE] too. In your site config location block just reference the zone: [CODE] doc: http://nginx.org/en/docs/http/ngx_http_limit_req_module.html
1
3
2,215
2015-05-15T18:59:06.600
api_errors
serverfault.com
825,752
The arp-scan tool found machine but i can't ping
I have two VPS that i buyed from one corporation, OS of two VPS is ubuntu and when i ran [CODE] on one of the both machine and i can see IP of other machine, but i havn't any type of access to other machine such as [CODE] or [CODE] . VPS1 by IP xxx.156.28.44 - 45 -132 - 133 addresses: [CODE] And then: [CODE] VPS2 by IP...
sudo iptables -A INPUT -p icmp -j ACCEPT Depending on how your INPUT chain is configured this may not work due to the way iptables works try [CODE]
-2
1
807
2017-01-12T04:16:26.190
infrastructure
serverfault.com
33,406
Problem with nested UPDATE queries
I cannot make an update query work. As a first step, the following one works correctly: [CODE] where id is the primary key of Tab1. However when I add a select to get the set of values Tab1.id must be in, I get the following MySQL error: Error code: 1093 You can't specify target table 'Tab1' for update in FROM clause. ...
Try [CODE] Check the documentation for further information (look for 'multiple-table syntax'). An important point is: If you use a multiple-table UPDATE statement involving InnoDB tables for which there are foreign key constraints, the MySQL optimizer might process tables in an order that differs from that of their par...
2
5
5,083
2013-01-23T14:08:52.687
database_errors
dba.stackexchange.com
402,724
Best way to handle PHP sessions across Apache vhost wildcard domains
I'm currently running a site that allows users to use custom domains (i.e. so instead of mysite.com/myaccount, they could have myaccount.com). They just change the A record of their domain and we then use a wildcard vhost on Apache to catch the requests from the custom domains. The setup is basically as seen below. The...
Surely you could do it pretty easily by passing the SID between the domains? The key is session transfer - how you execute it is up to you. Either via GET using SID, or maybe at the application level. Where you have a DB table with a combination hashed identifier (IP + UserAgent + OS etc.) and corresponding SID. Then y...
1
0
4,351
2012-06-27T14:36:40.290
infrastructure
serverfault.com
857,669
How to configure Firewall/NAT properly
I am trying to set up KVM virtual machine by following this tutorial: https://sandilands.info/sgordon/linux-servers-as-kvm-virtual-machines I cant get Firewall/NAT configured properly. Ip 192.168.1.100 should be forwarded to 192.168.122.100 if I understand the tutorial correctly. But I get "Connection refused" error. C...
When connecting from the same machine, the [CODE] rule in [CODE] chain is not executed. It will affect traffic passing through host machine when acting as a router. You need to add [CODE] rule in [CODE] chain. You can try to add a rule like the following and redo the test: [CODE]
0
1
117
2017-06-24T12:22:07.123
api_errors
serverfault.com
1,047,620
Format for second drive in Linux Server and path to directory in second drive for PHP
I'm working for an office in primary education and I'm setting up a local server with Ubuntu Server 20.04. I have some web applications written in PHP for this server. I am relatively new to Linux and I have two questions: I have two hard drives, [CODE] 250GB where Ubuntu Server 20.04 is installed, and a second one [CO...
If there is no specific reason to have the drive NTFS formated (and i honestly can't think of one) you should use a native Linux filesystem like ext4 or btrfs if /dev/sdb is only used for the uploaded files you can just mount /dev/sdb to "/var/www/uploads", then build the absolute Path like this: [CODE] which will keep...
0
0
684
2020-12-26T18:05:23.260
api_errors
serverfault.com
119,242
MYSQL join on subquery optimization
This is a distilled version of the query that I am trying to run: [CODE] The above query is incredibly slow because MYSQL fails to notice that the subquery in the join i.e. [CODE] has [CODE] as a primary key which it can use in the join clause. Ofcourse, I should have written this query as: [CODE] But, the problem is t...
What's the MySQL version? MariaDB 10 can do the "merge" - automatically transforming the first query to the second one internally. MySQL 5.6 cannot do that afaik, but it can materialize the derived table into a temporary one and add automatic indexes - manual . And you could emulate that even in older versions. If you ...
0
0
1,564
2015-10-26T20:08:26.257
database_errors
dba.stackexchange.com
591,708
Redis connection issue
We are currently experiencing a lot of Redis errors with the message Unable to connect: read error on connection, trying next server We run Redis on FreeBSD using PHP Redis and we have a hard time reproducing the error on Ubuntu so this might be a hint. There's a long-running issue on that topic on github . Basically w...
We reduced the error rate by 90% with the following redis command : [CODE] This disables BGSAVE, which regulary stores all database changes on disk. The reason for the connect errors most likely come from a blocking [CODE] operation of the main redis process to start the BGSAVE process. The redis.conf says: [CODE] Also...
6
2
1,935
2014-04-28T08:29:36.200
database_errors
serverfault.com
514,310
Why does pacemaker start on the secondary node instead of the primary?
I have two Linux nodes running httpd service. When I try to add the httpd resource on the primary node, the service starts on the second node instead of starting on the primary. What am I missing here? Initial settings: [CODE] [CODE] : [CODE] The service I would like to add on the primary: [CODE]
The setting that is missing is the preferred node . You can first add the resource, and configure the preferred node to run it afterwards. It is recommended to assign a weight below the stickiness of the resource to avoid unwanted downtime in the case of failover. Check the pacemaker docs for a complete example.
1
3
2,622
2013-06-08T09:51:30.050
infrastructure
serverfault.com
425,959
Missing Dependency: perl(YAML::Any)
I have a problem with git, when I run yum upgrade on a centos5 server. [CODE] output: [CODE] When I try yum info perl-YAML, it says, that perl-YAML is installed. [CODE] Whats the problem here? Thanks flo
I added this one: http://pkgs.repoforge.org/perl-YAML/perl-YAML-0.72-1.el5.rf.noarch.rpm which worked for me: # yum install git Loaded plugins: security Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package git.x86_64 0:1.7.11.3-1.el5.rf set to be updated --> Processing Dependency...
3
0
3,332
2012-09-10T13:04:18.517
infrastructure
serverfault.com
981,136
GLPI + Docker : Unable to bind to server: Can't contact LDAP server
I'm trying to migrate our GLPI on Docker. [CODE] LDAP config works on dedicated server copied prod /var/lib/mysql in the container: it's working config/config_db.php is ok (GLPI shows up so DB connection is ok) Domain controller pings TCPDUMP shows php reaching domain controller and DC replies 09:20:24.474705 IP 192.16...
vx3r led me to check the cert problem, I found this post : Can't contact LDAP server (with ldaps) in Docker , now it's working.
1
0
1,924
2019-08-29T09:38:12.590
api_errors
serverfault.com
754,360
Debian 8.3.0 - PXE installer asking for CDROM?
I'm sure I'm missing something easy, but I can't think of what it is. I used Cobbler to import Debian 8.3.0, but when I attempt to install it on a machine attached to the network, the installer asks for a CDROM, fails to find it, and quits. Does anyone know what I need to tweak in the preseed file or the kernel paramet...
You need to provide your kernel with the installer in TFTP for the netboot initrd image and point it to the preseed file. In my TFTP I have got in my default menu [CODE] : [CODE] Be sure to change it for your keyboard locale, language, your root default filesystem, and the IP/URL of your web server providing your prese...
2
1
2,178
2016-02-05T22:30:58.160
infrastructure
serverfault.com
441,603
Should I abstract function calls with duplicate arguments?
I have an intuition, that I'd like to read what others have talked about. To me, it seems fairly intuitive that when you have a function which is called multiple times with the same arguments, it would be better to create an abstraction which doesn't require arguments, to avoid duplication. So for example, if I have: [...
What I'm wondering is if there are good theoretical treatments of this question by scholars, (or even a good popular article will do as well), since I couldn't find anything. Not really. However, you will read often that the fewer arguments the better. Zero-argument functions are ideal. This is especially true when arg...
2
2
226
2022-10-13T11:11:58.793
data_quality
softwareengineering.stackexchange.com
845,386
Azure Classic VM Migration
Our cloud product has been transferred to another company. This company have their own Azure subscription and I need to transfer all the services to the new subscription. The cloud service includes an Azure SQL Database, a Cloud Service (classic, with 1 web role and 1 worker role), a storage account (classic) and VM (c...
According to your scenario, if you want your original VMs and new VMs exist at the same time, you need to execute [CODE] . Now, you could not execute on original VMs, I suggest you could download the VM's VHDs to your local and use the VHD to create new VM in Hyper, then you could execute [CODE] . Please refer to the f...
1
2
407
2017-04-19T20:34:24.637
database_errors
serverfault.com
701,008
Openvas ldap authentication configuration
I'm stuck in the process of Openvas ldap authentication configuration. I use the following openvas components version from upstream: [CODE] (both installed from self made ppa repo openvas8 ) Distro - Ubuntu 14.04.2 LTS I found example.auth.conf in libraries sources tarball. With the help of strace i found the directory...
I'm betting it's because your libraries weren't compiled with ldap support. From your build logs : [CODE] This is unfortunately the same as the unofficially recommended ppa .
1
0
4,643
2015-06-23T15:00:09.493
hadoop_errors
serverfault.com
74,277
IIS wont run a BAT File
The problem we have run into is as follows. We have an ASP.NET WebService which runs under IIS7. The code in the WebService works 100%, however when the WebService tries to run a [CODE] file, nothing happens. Nothing at all, the code doesn't crash, the server doesn't warn us about anything, nothing at all. We have trie...
(Note: The old answer was sort of correct, sort of not correct. Out of box, IIS can't execute cmd.exe instances, but it apparently is possible ... ) You can run batch files from within IIS, via ASP.NET, but it requires your impersonation settings to be 100% spot on. I'm going to assume, for purposes of this post, that ...
0
3
14,731
2009-10-14T07:46:58.307
infrastructure
serverfault.com
771,215
Is it possible to prevent, or at least detect, SSH session re-use?
I have been taking advantage of session reuse to speed up my connections to various production servers by setting up my ~/.ssh/config file like so: [CODE] This is great, but if my first ssh session is opened without agent forwarding, e.g. [CODE] , and I later start another ssh command that requires agent forwarding, e....
To do this, you can force the [CODE] to be overridden like so: [CODE] ...where [CODE] means do not use a Control Master. You can also check whether a [CODE] is running for a particular host: [CODE] ...and kill it similarly: [CODE]
0
0
617
2016-04-18T16:08:24.797
infrastructure
serverfault.com
314,948
Help with SMTP troubleshooting
my friend ask me to help because he cannot send email from his company. i just have little knowledge about mail server so what i do: [CODE] then try to send using telnet with port 25 no answer. [CODE] then try to send using telnet with port 587 [CODE] it return [CODE] so is this mean that there is misconfiguration some...
You analysis seems correct; it doesn't seem like there is an SMTP server listening. Even if an SMTP server was listening on 587, he would still not be able to receive email from the outside world. MTA's will only be connecting on port 25, while some clients may be purposely configured to use 587.
1
3
534
2011-09-23T19:05:55.833
infrastructure
serverfault.com
455,665
Accessing SQL with the PC name not the IP
I'm trying to connect to a SQL instance (default instance) on a machine. When using the IP of the machine it connects to the machine. Using the name of the machine on that machine you are able to establish a connection to the SQL instance but using the machine name on another PC the connection cannot be established. An...
[original]The DNS name you are using to connect to the server may not be resolving to the IP hosting the instance. You can check this by using nslookup to resolve the name and verify this resolves to the instance IP address you have configured on the SQL server. Beyond this, tas @mrdenny mentioned, there may be a netwo...
1
2
6,310
2012-12-06T12:36:10.530
infrastructure
serverfault.com
838,565
NetworkManager up scripts running twice
My system, Ubuntu 16.04, uses [CODE] . In order to hook an interface up event I have placed a script in [CODE] . The head of the script looks like: [CODE] Upon system boot, aswell as a manual restart of the network via the applet, the script runs twice. This wouldn't be such a problem, but I am running a few commands w...
The script is probably being called once for IPv4, and once for IPv6. Based on running a small script on my machine, these are the variables you have in the environment, below. I should mention this was with network-manager version 1.2.6, on amd64. You can use [CODE] to test which call is which. The other variables can...
1
2
567
2017-03-16T00:49:06.383
infrastructure
serverfault.com
11,979
How to have jenkins add a review to a pull request
I have a Jenkins instance, with credentials for a "robot" github account, which we use to interact with the GitHub API as a team. Typically, jobs are defined as declarative pipelines . I am looking for the correct syntax to perform the following steps: At the start of the run, create a review At the end of each stage, ...
I guess the simplest and direct solution would be to use GitHub API: https://docs.github.com/en/rest/reference/pulls#create-a-review-for-a-pull-request But for the requirement you have, PR checks is usually the way to go and you have a plugin that does the API communication for you: https://www.jenkins.io/doc/pipeline/...
8
7
2,704
2020-07-09T08:00:34.810
pipeline_ops
devops.stackexchange.com
66,011
TFS 2010 - Project Creation Fails
I am trying to create a new Project and I get the following Error: Error Insufficient Permissions to create a new SQL Server Report Services at mytfserver\DefaultCollection. Explanation The permissions granted your user name and ID on the SQL Server Reporting Services at mytfserver\DefaultCollection do not allow you cr...
as this is a question about TFS 2010 Beta 1, probably best asked where you did in the MSDN forums as more Microsoft product group people monitor that and so any problems you find in the beta product will be more likely to be addressed before the final release. As you are trying to get this together for a Code Camp demo...
1
0
760
2009-09-16T19:04:46.243
bi_errors
serverfault.com
139,146
SQL Server Standard License over written because of Report Builder Evaluation version
A colleague of mine rang me today to told me that on one of our servers the SQL Server has stopped working. If he tries to run the management studio it throws and error saying [CODE] But the person claims that initially he installed SQL Server 2008 R2 Standard Version (licensed copy) on the server, but later on someone...
The person is wrong; that is clearly an Evaluation Edition install, not Standard Edition. The SKUs are all on the same ISO typically, so even if you download an ISO that says Standard Edition, you can still choose Evaluation or Express during install. Report builder should not cause this situation; however, it could al...
1
5
386
2016-05-20T23:13:49.793
database_errors
dba.stackexchange.com
365,809
Release strategy for multiple Git feature branches being tested simultaneously
We have three environments: [CODE] , [CODE] and [CODE] . We use [CODE] to schedule releases of our [CODE] branch into [CODE] for our internal verification, then [CODE] for business verification, and of course finally to [CODE] once approved. We've recently adopted a new lightweight Git branching strategy as follows: [C...
Ahh. Congratulations! You’ve destroyed one bottleneck and discovered the next one! Now it’s time to look at actually continuously integrating your code. As you’ve found out, it’s hard to continuously deliver when your code under dev isn’t being continuously integrated, but how do you make this work? No more feature bra...
9
5
3,920
2018-02-12T19:07:33.817
api_errors
softwareengineering.stackexchange.com
328,620
How do I manage Cassandra/Scylla snapshots?
I am new to Scylla, and I'm looking to setup a proper Backup & Restore solution. I've just tested running [CODE] , and see that what it does is create a snapshot folder caled [CODE] , inside each keyspace & table folder. This causes a few limitations in my view: I can't easily save the backups on another server, in cas...
Assuming that you're moving your snapshots to another server or cloud storage (ex: S3 bucket) then removing old snapshots after a certain number of days is a simple matter of running a Linux [CODE] for each snapshot dir by date, and then an [CODE] on each that you want to get rid of. This question was asked on Stack Ov...
1
2
199
2023-06-25T00:10:12.403
database_errors
dba.stackexchange.com
4,426
ChaosMonkey for k8s?
Is there a kind of tool like ChaosMonkey specific for k8s that kill nodes and pods during office hours to train the team how to deal with issues and to harden the k8s cluster? It is possible to create a script or program that kills random PODs, but if such a tool already exists then this will save time.
You can take a look at kube-monkey . According to the [CODE] , it randomly causes failures in kubernetes clusters.
5
5
929
2018-07-02T19:29:32.613
pipeline_ops
devops.stackexchange.com
1,031,351
Enable Windows Failover Cluster With Zentyal Active Directory
currently i have one domain controller with zentyal (Community Edition). And i have 2 node already connected to domain. So i setup Windows Failover Cluster, but i always got failed validate with error message [CODE] . Earlier i already create use with administrator level domain controller and this user already join to ...
Zentyal doesn't have Failover Cluster listed as a supported feature. You can try installing Active Directory and use Zentyal as an additional one. https://zentyal.com/news/how-to-zentyal-as-an-additional-domain-controller-of-a-windows-domain-video-tutorial/
3
4
376
2020-08-25T05:02:54.050
database_errors
serverfault.com
1,120,012
How do I figure out what is filling up my AWS EC2 file system?
Elastic Beanstalk is telling me that my root file system is 96% full. When I SSH into the EC2 instance and run [CODE] , I can see that my root file system is 7.95GB/8GB used: [CODE] However, if a run a [CODE] command, such as [CODE] , I can only see a total of 2.4GB being used: [CODE] None of those directories look exc...
It turns out that a large number of files were deleted but are still opened by a running process. Running [CODE] listed hundreds of large log files that were deleted by someone else but were still opened by my Node application. Restarting the app cleared them up and freed up the space.
2
1
1,343
2023-01-11T17:02:24.347
database_errors
serverfault.com
721,937
Haproxy logging doesn't work. Does that have anything to do with csf?
Does [CODE] log every time a connection is made? I have followed instructions from other threads to set up logging via [CODE] . Even though the files are created (haproxy.log,haproxy-info.log and haproxy-allbutinfo.log), no logs have been written into any of them. I have checked the lfg.log, and these may shed some lig...
I have managed to get logs written into the file. Besides adding the log setting to the global section, I should have added a reference in the default section as well. To quote from this tutorial which is the only piece I have found mentions this important setting: In your backends or default config, refer to global: [...
0
2
1,100
2015-09-12T15:03:37.873
infrastructure
serverfault.com
4,014
Error updating a master table of a materialized view
I've created several materialized views, and all but one are working correctly. The specific error I'm getting (via a Java job) is this: [CODE] No errors occur when generating the MV. Refreshing it manually works correctly also: [CODE] The error only occurs when the java program attempts to move data from a staging tab...
Just a guess, but since you're doing a fast refresh, you have an MV Log, which is what I would presume MAS$3 is. Perhaps the column user_data_20 has been added recently, and is not in the MV Log? You might have to rebuild your MV log on one or both tables.
3
1
4,844
2011-07-21T13:34:05.167
warehouse_errors
dba.stackexchange.com
234,787
Fighting technical debt as the "lowest developer"?
Let's say you work for a company and what you do is develop software for them. You have no idea of the big picture or maybe slight. What you do have are tasks assigned to you via issue tracking system. You're given tasks, you make them work the way the task describes them, you send them back. Like adding 2 integers: [C...
Every time you notice something like that, enter a new ticket into your issue tracking system. Make a habit to use issue tracker as a primary tool to communicate stuff like that, because from there, it will be easy to pick, evaluate and prioritize for your senior colleagues / lead / manager / whoever is responsible for...
22
23
2,186
2014-04-04T09:06:30.807
data_quality
softwareengineering.stackexchange.com
339,043
Practices for navigating uncertainty in software design
Background: So I'm trying to create my first game engine for learning purposes. After looking up a few articles I was able to design the beginning portions of my engine to at least get me going. My design so far involves have my own "Framework" layer for which all other, higher level subsystems (graphics, input, audio,...
You don't architect your "framework". You can use many different techniques to determine what it is you want your game to do. Then you just start doing it. As you go along you make decisions on if a method (or unit of logic) belongs in the framework or not. For example, you shouldn't be trying to figure out save file f...
3
9
267
2016-12-29T00:49:39.247
api_errors
softwareengineering.stackexchange.com
199,205
SNTP, why do you mock me?
--- SOLVED SEE EDIT 5 --- My w2k3 pdc is configured as an authoritative time server. Other servers on the domain are able to sync with it if I manually specify it in the peer list. By if I try to sync from flags 'domhier', it wont resync; I get the error message [CODE] I can only think that it is not querying the pdc. ...
Ok so I was reading about people with similar problems, some mentioned w32time server settings applied by GPO, but I tested this early on and there were no settings applied to this service by gpo. Others said that the reporting software may not be picking up some old gpo settings applied. So I searched the registry for...
5
1
3,747
2010-11-08T00:31:21.067
infrastructure
serverfault.com
996,396
vsftpd: ftp: setsockopt (ignored): Permission denied
I'm trying to upload things to my server however I'm unable to ls inside a directory or upload a file to it. I'm using CentOS 8, SELinux set on permisssive. The directory I want to operate on has 777 permissions set. The user I'm using is not listed in user_list or ftpusers. I further tried to chown the directory to th...
Try creating the directory /var/run/vsftpd/empty. I needed to created it for version 3.0 - otherwise it generates the socket error and it doesn't work. I've never used that directory anything. Your mileage may vary depending on the version of vsftpd.
0
1
2,760
2019-12-21T14:56:59.610
infrastructure
serverfault.com
57,633
WordPress: how to maintain "www" in the URL?
I'm very new to web hosting. I started an account at JustHost and installed a WordPress blog. I would like to access it through http://www.adlerr.com (my blog), however when I type in this URL in my browser, it transforms to http://adlerr.com and then presents the blog. What should I do in order to maintain the "www"? ...
Wordpress is re-writing the url. Change the site address to www.adlerr.com in the preferences menu.
1
6
227
2009-08-23T14:36:25.017
infrastructure
serverfault.com
474,149
CA root certificate in pam_ldap configuration will not work without tls_checkpeer no
Systems are Debian Squeeze and Ubuntu Precise with identical configurations. Version of libpam-ldap is 184-8.5 on both distros. Everything works fine with the following configuration in [CODE] . [CODE] Only one change to the pam configuration, in [CODE] . [CODE] The second line is what was added to enable ldap logins. ...
As far as I can tell, pam_ldap uses [CODE] for its TLS functionality, or uses similar functionality that is built in to pam_ldap itself. [CODE] needs the name of the ca file to be the value of the hash of the subject followed by ".0" or if there is already another ca cert with that hash, increment the 0 to a 1 or a 2 o...
1
4
2,016
2013-01-31T10:37:25.217
api_errors
serverfault.com
479,723
Exchange Server 2007 lost mailboxes and distribution groups
I was having some trouble with our Exchange 2007 server earlier which was causing it to fail to connect to our Domain Controller. I've managed to get is to connect to the domain controller and I can now log in and view my emails. However, any user that was created on the Exchange Server rather than the Domain Controlle...
Your Exchange server is also a DC for some reason, right? I think this is where your problems are: IIRC once you put Exchange on a DC, Exchange binds to the DC role it's sharing on the same system. If this DC is not working right then any service (e.g. Exchange) that relies upon that DC working correctly will have prob...
3
1
702
2013-02-17T17:55:55.363
database_errors
serverfault.com
1,084,137
Postfix/Dovecot can't send or receive mail
The error in mail.log says "dovecot Failed to establish relay connection in=0 out=22 (state=GREETING)" Using Dovecot 2.3.7.2 [CODE] [CODE]
I think you got (at least) two problems. Your MX record is likely unintended: [CODE] I suspect you meant to configure the server called "mail" as the exchange for the unprefixed domain, not the other way around. Usually MX records are setup like this in a zone file: [CODE] The other issue sounds like whatever is connec...
0
0
959
2021-11-20T23:18:29.223
infrastructure
serverfault.com
1,006,680
How to retrieve login credentials of an instance that was created from a snapshot?
Configuration: AWS Lightsail (Wordpress) Background Issue: I lost the SSH key pair of an instance Steps Taken: I created a snapshot of the instance I created a New instance from the snapshot Detached the staticIP from the old instance and attached it to the New instance Problem: I can't sign in with the credentials fro...
I don't know Lightsail but the standard way to recover access to EC2 instances is to create a new instance, detach the root disk from the old one and attach it as a secondary disk to the new one, replace the ssh key in authorized_keys file, and re-attach it back to the old one. That's what usually works.
1
0
586
2020-03-12T14:39:40.050
infrastructure
serverfault.com
191,314
Configure apache to listen on port other than 80
I want to configure apache to listen on port 8079 I added LISTEN 8079 directive in httpd.conf I opened 8079 port in iptables / restarted iptables etc. I even stopped iptables service. "netstat -nal | grep 8079" shows "tcp 0 0 :::8079 :::* LISTEN" Now, if I try to access localhost:8079 or myserver.com:8079 from that mac...
Do you perhaps have a hardware firewall or similar device between the other machines and this webserver? If so, the firewall might be port forwarding connections incoming on port 80 on the firewall from the test machines to go to port 8079 on the webserver instead, and you will need to modify the firewall's configurati...
-2
0
1,934
2010-10-15T11:36:16.130
api_errors
serverfault.com
749,881
FreeBSD 10 guest on qemu/kvm CentOS 7 host
I'm trying to install FreeBSD 10 on CentOS host without using graphics (using only serial console). I've tried: [CODE] Indeed, console is not connected. When I try to use [CODE] , the installation does not start: [CODE] [CODE] What am I doing wrong?
8 years later I'm here to answer this question. Default FreeBSD ISO/etc does not enable serial port by default(As far as I know). I solved it by building a custom ISO. [CODE] Screenshot of the FreeBSD 13.2 installation using a serial port
1
2
1,909
2016-01-18T09:58:49.430
infrastructure
serverfault.com
1,039,259
nGinx - DENY everything matching a pattern with one exception
I am trying to DENY access to anything that matches a particular pattern in the root direction of my app, except I want to allow one match to go through... So, I want to DENY all requests to .* in the root directory, but if the request is to .well-known/* I want to allow that to go through. So, I have: [CODE] How would...
You can use regex negative lookahead feature (details here ): [CODE] Or use Richard Smith's solution with the second [CODE] block.
0
0
872
2020-10-19T09:04:08.847
infrastructure
serverfault.com
589,203
Ubuntu 13.04 MySQL won't start
My main SolusVM Node / OpenVZ Node needed a reboot today out of the blue and a kernel upgrade. So we finished that then on a couple of the VPS units for some reason MySQL won't start after the reboot. This is just some of the VPS units, not all of them. The error in [CODE] is the following: [CODE] I've tried setting [C...
Had to run reconfigure to get it back working again. This took some time for the program to finish itself up, it also errored and said it couldn't set mysql root password. But in the end it restarted mysql and everything came back online. [CODE]
0
0
752
2014-04-15T15:40:28.163
database_errors
serverfault.com
315,699
What is replica filtering protection in Cassandra?
There are instances where operators see the following warning in the Cassandra logs: [CODE] Or in the worst case, an error: [CODE] What do these log entries mean?
Replica filtering protection is a mechanism that ensures results from stale replicas for read consistency levels higher than [CODE] or [CODE] do not violate the required consistency. This applies to (a) secondary index queries, or (b) queries using [CODE] . You are getting the warning because your nodes are out-of-sync...
1
1
401
2022-08-16T22:58:02.670
database_errors
dba.stackexchange.com
299,457
What serial cable do I need for a Cisco/Linksys SRW2024P?
Some idiot (one guess as to who) installed a Cisco/Linksys SRW2024P in a 2nd location and forgot to change the IP before doing so. Now it's on a new subnet and I need to control it via console port. I'm used to controlling Cisco gear through the console port from my Mac using [CODE] or ZTerm and a Tripp Lite (née Keysp...
This is the pin out of the connector on the switch. [CODE] A null modem cable should work.
3
2
30,024
2011-08-10T00:13:38.590
infrastructure
serverfault.com
49,718
Suggestion on Preprocessing dataset
I am trying to preprocess my dataset and needs some suggestion on it. The training data shape is : (166573, 14) The distribution of features : As you can see, only the first 4 columns go to different max values. Rest of the columns have either 1 or 0 value (max: 1, min: 0) **Null Handling: ** I have dropped claims_days...
Depends on what is your goal with the data. If you are trying to model your variable "outcome" as a classification problem (I am supposing this) then it depends on the modelling technique you are expecting to use. Some techniques use scalled data as input because they have a functional form which allows them to perform...
1
1
103
2019-04-22T14:35:02.750
data_quality
datascience.stackexchange.com
9,621
Why is developing Ansible Playbooks using Roles a best practice?
It's a best practice to develop Ansible Playbooks with reusable roles. From what I've seen, people end up putting all their roles into a single complex files anyways. So it doesn't really fix the problem there. I've read they can be split into multiple files, but now there's more to manage and it's no better than just ...
There are many reasons that using roles is better than using long playbooks, and very few reasons that using a single long playbook is better than using a role. These are almost always clear only at a certain scale. Team size, workload number and complexity and frequency of execution all come into play here and the lar...
4
6
286
2019-10-30T16:51:11.560
pipeline_ops
devops.stackexchange.com
192,289
VMWare ESX 4 Metrics
Recently joined a new company and the production ESX farm doesn't keep any performance metrics does anyone know of a way to solve this? If I view realtime metrics it works but if i change to Day/Month/All time it doesn't show any data I will try to post more information tomorrow once back at work if needed.
According to VMware the issue is due to a corrupt template that we use to build machines. If we build a new VM it is working fine and we have been advised to recreate our template machine
0
0
175
2010-10-18T22:18:24.387
infrastructure
serverfault.com
176,780
Too complex/too many objects?
I know that this will be a difficult question to answer without context, but hopefully there are at least some good guidelines to share on this. The questions are at the bottom if you want to skip the details. Most are about OOP in general. Begin context. I am a jr dev on a PHP application, and in general the devs I wo...
I quite like this question, but I don't think it is really about OO or APIs. It's about being a junior or a new member of a team and having input (either ideas or past experience) that the other team members aren't agreeing with. I'll answer your questions: Doesn't appear to be When the problem doesn't warrant any more...
2
10
1,194
2012-11-22T01:37:48.820
data_quality
softwareengineering.stackexchange.com
246,165
Sql server sleeping state is increasing using ADO.NET?
We have one live ASP.Net application which is used by around 1000 concurrent users. In this application we have used connection pooling. There are 2 connection string defined in web.config with different name but we are calling same DB. [CODE] In my application we are opening an closing the connection every where like ...
So I am bit confused now, if I am using only 2 connection string with connection pool then why we are seeing so many sleeping connection, I am thinking it should be only 2? [CODE] specifies number of connections established when the pool is created and will remain in the pool until the application pool is unloaded (inc...
3
6
1,966
2019-08-24T11:43:33.283
database_errors
dba.stackexchange.com
7,130
INSERT INTO remote table on different server with OUTPUT clause gives error
I have a procedure which makes one or two inserts into a remote table. To accomplish the second insert, I need to know the recently inserted Id of the first insert. To make this work my insert clause fascilitates the OUTPUT clause which let me know the Id of the first insert. This works fine if the calling database (co...
(re-wrote, misunderstood) If you want the remote ID, then the best way is to use a stored procedure on the remote server and return a result set. Or don't redirect into a temp table/table variable. This isn't in scope on the remote server See these on SO: https://stackoverflow.com/questions/4537560/get-identity-from-an...
2
2
9,078
2011-10-24T06:49:56.390
database_errors
dba.stackexchange.com
148,754
Having problems with high CPU usage and apparent memory leak of Exim
I'm having problems with my server and am hoping you can help. The culprit appears to be exim. The CPU usage is consistently high and the memory usage trends up and up and up for no apparent reason (this is not a heavily used server). To demonstrate the issue, I ran the following: [CODE] After some time, it gets to a r...
Turns out, the problem was associated with some Account Filtering I had set up (this is a cPanel based server) An email address, which is supposed to filter out to multiple address, wasn't working correctly. Some test emails I'd sent to it had been stuck there for 7 days. When I cleared them out, the problem went away....
1
0
1,614
2010-06-06T23:24:41.533
infrastructure
serverfault.com
406,511
How to configure teaming, teamed VLANs, and hyper-v?
I have two VLANs on my network. VLAN 100 for users in the office, and VLAN 10 for visitors/guests. Neither VLAN has access to the other, and each has its own internet connection. However, I want to set up a hyper-v server to control the public workstations on the guest network (VLAN 10). On the physical server, I have ...
The teaming software needed to create the two virtual adapters, with each one assigned to a VLAN. When creating the hyper-v external virtual adapter, the "allow management operating system to share this network adapter" option needed to be checked for VLAN 100 and unchecked for VLAN 10. The LAG on the switch needed to ...
5
3
5,167
2012-07-10T18:35:12.790
infrastructure
serverfault.com
1,083
am not sure where to post this since I have no reputation
I'm trying to understand how this site works. I have a very good answer to this question about stopping door weatherstripping squeaks. But it requires a 10 reputation to answer the question. I am new here and have no reputation at all. So my helpful answer will not be heard because of website politics. This does not se...
Sometimes questions on the site have to be protected, for one reason or another. Part of the protection includes not allowing users with 0 reputation to answer. We're not trying to ignore good information, just trying to squash spam and other such nonsense. If you want to earn some reputation, try answering some questi...
discussion
2
5
76
2015-08-12T01:36:09.190
other
diy.meta.stackexchange.com
900,069
Connecting services in helm
The standard practice in helm charts is to use [CODE] for the service name, where the [CODE] template expands effectively to [CODE] . The later can be overridden by [CODE] , but the former, or the full value, can't. And the former is either administrator-specified or random. So how do I tell the service I am creating c...
Normally your dependencies would be aggregated under the same "umbrella" chart resulting in a single [CODE] for all of them, meaning that you will be able to point to them in your chart using stuff like [CODE] . If for some reason you don't want to do it like this and you deploy your dependencies before you deploy your...
3
1
3,741
2018-03-05T16:13:27.543
database_errors
serverfault.com
30,605
How fast is MySQL replication?
I'm considering setting up replication of our mysql db to be able to have local slaves in each of our branch offices, while having the master in the main office to improve application performance (significantly) at our branch offices. The db itself isn't that large ( Are whole tables replicated in batches? Is the repli...
MySQL replication happens as close to real-time as possible, as limited by disk and network I/O. The slaves open a socket to the master, which is kept open. When a transaction occurs on the master, it gets recorded in the binlog, and is simply replayed on the slave(s). If the socket between master and slave is interrup...
19
23
11,993
2009-06-23T21:11:35.637
database_errors
serverfault.com
384,103
Running MySQL on Amazon EC2 with EBS (Elastic Block Store) and Elastic Beanstalk
I'm new to Elastic Beanstalk, but I created an environment with a container running 64bit Amazon Linux running PHP 5.3. I want to get MySQL set up on EBS, then install phpMyAdmin and import my databases. However, I don't know how to do this because the documentation is not working for me: Running MySQL on Amazon EC2 wi...
I don't use Elastic Beanstalk - but the guide you are following is for EC2 (which I can definitely help with). The first difficulty you have is that the guide you are using is for Ubuntu 9.10; Amazon's Linux is based on CentOS/RHEL - so you would have an easier time if you could find a CentOS 6 guide. The root of your ...
6
2
6,551
2012-04-28T17:06:27.477
database_errors
serverfault.com
137,072
IBM x260m won't boot from PCI SATA card
We ghosted our old Windows 2003 drive to a new 1TB one, and connected through new PCI SATA card. The x260m server fails to boot with error 1962: "Boot sector not found." When we connect the drive directly to motherboard, it boots fine, so the problem is probably in getting BIOS to boot from the SATA card. Has anyone en...
I had a similar issue with an old compaq server and scsi disks. I found a quick and dirty workaround using a bootloader (grub in my case) on a floppy disk, and booting on it. Grub is able to boot windows as well. IBM x260 onboard controllers appears to be a Serveraid 8i SAS. I don't know what is your PCI Sata controlle...
0
1
562
2010-04-29T15:41:33.203
infrastructure
serverfault.com
34,791
Selenium Webdriver Java: Setting date on date-picker. Year is not populating in date-picker
I am automating a signup form for web application and there is a date of birth field which has date-picker on it. I am sending values in it by using sendKeys and the problem is that Year is not populating while day and month are populating successfully. I have tried changing date formats (like dd-mm-yyyy,mm-dd-yyyy etc...
After I tried changing formats different ways to enter the dates and nothing I did solve my problem, I remembered that the date picker is a JS widget, so I looked up a way to use Javascript with Selenium. I think that the Selenium methods weren't able to work with the Javascript in the date picker so the values I was e...
0
0
2,907
2018-07-17T12:25:05.177
data_quality
sqa.stackexchange.com
238,362
How to manage version control company wide?
Are there any industry standards or best practises on how to manage a rapidly changing code base? The types of applications I am developing always have a custom aspect to them. So there will always be some code written which is client specific for every project. The method we are using now is as follows: Several 'CORE'...
This is more a code management issue. At the heart of it, you need to make a distinction between common code and bespoke modifications. Once you can answer that, the SCM issue will fall into place easily. For example, you could have all your application setup to use a lot of configuration. For all customer features, yo...
1
1
250
2014-05-08T08:38:23.147
pipeline_ops
softwareengineering.stackexchange.com
648,292
Prevent Email Going to Spam
I've set up my own server and I'm really struggling to stop any outgoing email go to spam. I've used allaboutspam and mail-tester.com to test it and they both come back with perfect results. No issues with reverse lookup, dkim or spf records. As far as I'm aware, I'm not on any black lists. Below is the SPF record I'm ...
I went through and looked for obvious DNS issues and none were apparent. As far as I can tell it's an issue of IP reputation. There are really only two good solutions to this: Get added to mail server whitelists and/or warm up the address by putting legitimate traffic over it. Use a smarthost/relay like Mandrill or Sen...
0
0
224
2014-12-01T17:20:17.953
infrastructure
serverfault.com
238,104
Excel / MS SQL Server: Exception of type Microsoft.Office.PowerPivot.BackEnd.StorageException
We have an Excel table that gather data from our datawarehouse db on a SQL Server 2016. It queries a relative simple view to find the top customers of the last few days (including some aggregated columns) from a very large (some billion rows) ColumnStore table. The query usually needs about 1 minute to return about 200...
Using the profiler I found, that Excel sends an EXEC sys.sp_prepare to return the meta data and compiles the execution plan. When I executed the prepare statement in SSMS it hangs too, the same when I tried to display the estimated execution plan for the [CODE] on the view itself. I let it run for a while and after abo...
2
2
466
2019-05-14T10:10:11.700
warehouse_errors
dba.stackexchange.com
68,340
database not restoring from dump file
I'm running the following command to create a dump of all database on my production server: [CODE] on my development box, I also take a backup by doing: [CODE] Then I try to restore the production database on to development like so: [CODE] It runs with no errors. And it appears to be creating tables /import data. ( I k...
I had to run [CODE] to manually create the db, and then changed the restore command to: [CODE]
1
0
3,256
2014-06-16T17:24:58.290
database_errors
dba.stackexchange.com
481,591
Kickstart Red Hat 5.x
I am having a little issue with the [CODE] file; I read a post that said I should copy it into the [CODE] folder but it is write-protected. What do I do? Secondly, I read another post that makes it a little easier; [CODE] , but when I converted it to an ISO file and ran the [CODE] command it didn't work. Is the [CODE] ...
First, is the [CODE] file valid? Run [CODE] to check for mistakes in syntax/formatting. If you are modifying the boot media to include your own custom Kickstart, you'll need to copy the contents of the media to local disk to make your changes. It sounds like you are trying to copy your script to non-writable media such...
1
2
205
2013-02-22T17:48:40.750
infrastructure
serverfault.com
577,325
sophos access https site when user portal is activated
I use a SOPHOS on UTM 9. I have a website behind it on Win Server 2012 R2 / IIS 8 created with a subdomain (e.g. myaccess.mydomain.com). On UTM9 i had do what Stephane say on "serverfault -> sophos access a webserver from the web" and I can acces my website without problem on HTTP. I want to access it with HTTPS (rules...
Sophos UTM 9 SSL VPN defaults to port [CODE] . For most this is useful as default HTTPS port [CODE] rarely gets blocked by any firewall. However, if you need the port for something else, both can't be listening to it simultaneously. Therefore, you need first change the port from UTM9 > Remote Access > SSL > Settings . ...
4
1
2,906
2014-02-21T11:04:26.427
infrastructure
serverfault.com
421,385
The use case of materialized view
I have a use case that some external 3rd party vendor services send our service an item with price and a time range, the data schema includes : [CODE] , [CODE] , [CODE] , [CODE] it means the price for this item from this vendor is [CODE] value during the time interval of [CODE] . Our service needs to support given a it...
A materialized view gives you faster reads at the cost of potentially stale data. If stale data is unacceptable a materialized view should not be used. Choosing a refresh rate may avoid stale data issues, but now you need to calculate if that refresh rate is actually cheaper than just handling the reads. For example, i...
1
2
283
2021-01-22T03:12:54.483
database_errors
softwareengineering.stackexchange.com
955,316
Releasing zfs arc memory on FreeBSD
I have a machine running FreeBSD that is subject to a variety of workloads, rabging from Disk intensive to memory intensive. If large amounts of ZFS data are accessed, then the Wired Memory usage can quickly grow to 95GB where there is only 96GB installed, resulting in process crashes and an unresponsive machine. The c...
The ZFS ARC is a subject to automatic scaling in any system using ZFS. ARC limiting is only a workaround; the behavior you’re experiencing was pretty much usual for FreeBSD older than 11.x (however, I personally haven’t seen any crashes -only ineffective memory usage); after 11.0 release this behavior was massively mit...
1
2
2,670
2019-02-22T17:18:07.210
infrastructure
serverfault.com
36,391
Is there an execution difference between a JOIN condition and a WHERE condition?
Is there a performance difference between these two example queries? Query 1: [CODE] Query 2; [CODE] Notice the only difference is the placement of the supplemental condition; the first uses a [CODE] clause and the second adds the condition to the [CODE] clause. When I run these queries on my Teradata system, the expla...
According to Chapter 9 (Parser and Optimizer), Page 172 of the Book Understanding MySQL Internals by Sasha Pachev here is the breakdown the evaluation of a query as the following tasks: Determine which keys can be used to retrieve the records from tables, and choose the best one for each table. For each table, decide w...
18
15
8,353
2013-03-11T14:20:05.713
database_errors
dba.stackexchange.com
805,420
Getting current connections from nginx/access.log
Hello im looking for command like this [CODE] But based on activity from /var/log/nginx/access.log Im aware that access.log can't provide currently handled connections, so the best possible solution will be assumption that currently handled is equal one second in server access log. Simply, how to display, in the exact ...
[CODE] Will give you established connection count.. [CODE] Will give you a uniquely sorted list of remote IP addresses.. These commands were run as root..
2
2
5,355
2016-09-26T17:49:05.667
infrastructure
serverfault.com
664,580
recover IPSec VPN preshared key
So I have set up L2TP VPN connection which uses preshared key. I remember both login and password but not preshared key. Is there any way in Windows XP/7 to recover it?
This is a old question, but on Windows 7, if you used the OS to create the VPN, the information is stored there in a .Pbk's file. C:\Users\\AppData\Roaming\Microsoft\Network\Connections\Pbk Other vendor(s) VPN software would use there own path/file format. Like an example from the Sonicwall GVC client, which save it's ...
7
1
23,277
2015-02-03T11:32:18.267
infrastructure
serverfault.com
387,425
Make pacemaker retry failed resources
I would like to get pacemaker to retry starting my resource [CODE] Note that this resource is pinned to the first node via [CODE] Currently if I break something that stops this resource from starting the failure count returns INFINITY and stops attempting to restart the service. I would like to never give up on the res...
It turns out the solution is quite simple all that is needed is to set 'start-failure-is-fatal' to [CODE] . [CODE] This is a global option and it's default is [CODE] hence my failing resource. Pacemaker configuration reference
3
8
10,026
2012-05-09T12:03:40.863
infrastructure
serverfault.com
131,591
Cisco, How to do a subnetting scheme using VLSM and RIP-2?
I'm studying for my CCNA exam and I have to create a VLSM scheme using RIP-2 for the following requirements: (this is an exercise) Use the class C network 192.168.1.0 network for your point-to-point connections Using the Class A network 10.0.0.0, plan for the following number of hosts in each location: New York: 1000 C...
Here is my answer: Set the following IP addresses to each it corresponding interface: 192.168.1.0 /30 Chicago office network 10.0.8.1/23 192.168.1.5 int to LA 192.168.1.2 int to NY NY office network 10.0.0.1/22 192.168.1.1 int to CH 192.168.1.10 int to LA LA office network 10.0.4.1/22 192.168.1.6 int to CH 192.168.1.9 ...
2
1
1,786
2010-04-12T14:12:03.857
api_errors
serverfault.com
145,424
Transaction log shipping SQL Server 2005 to 2008
I have a reporting setup with SSRS on our SQL Server 2005 database. Because SQL Server 2008 is not supported by the main program which populates our database we are stuck with 2005 on our production database. Unfortunately, when I run our weekly check reports the web interface constantly times out because the server ca...
You won't be able to log ship from SQL 2005 to SQL 2008 and be able to read the database. When the database goes into standby mode it can't bring the database online because it can't upgrade the database's physical version.
1
2
753
2010-05-26T12:42:02.660
database_errors
serverfault.com
55,238
Please guide this self-taught Web Developer
One of the major regrets in life is that I didn't do something with my introversion. I didn't manage to get past the first year of college because of that. I have chosen the path where there are no video games and other time sinks, all I have is the internet to quench my thirst of learning the ins and outs of the field...
I question the wisdom of asking programmers for life advice :) but with the caveat that everyone's path is best left to themselves, here's my little thoughts: If finances are tight, learning enough to make money wouldn't be a bad starting point. I see dozens of requests for PHP/MySQL programmers daily, and while I woul...
2
5
4,425
2011-03-06T10:41:32.060
database_errors
softwareengineering.stackexchange.com
352,156
Should a Rich Domain Model have repositories injected in some situations?
Please see the code below, which I took from Jimmy Bogards wicked domain models: [CODE] Unfortunately he has not posted the code contained in the implementation of: IOfferValueCalculator. I have a feeling that the class will contain logic that determines what offers a member is entitled to. However, surely the domain o...
If you need to access a database to solve your particular problem, then... Well, you need to access a database. Doesn't matter what Jimmy Bogards, Eric Evans or anyone else says. If their rules don't allow you to do that, then break their rules, follow someone else's rules, or make up your own. When you read some rule ...
6
13
3,040
2017-07-04T18:07:45.807
api_errors
softwareengineering.stackexchange.com
1,027,392
Is it reasonable to embed Cloudfront IP ranges into an NGINX configuration?
I'm using CloudFront as a proxy for my EC2 instance, so all traffic is routed through CloudFront first. The issue is that I also need the original client's IP address for each request to my EC2 instance, so I need to examine the [CODE] to find out the original IP address (as the default IP my EC2 receives is just the C...
CloudFront IPs change regularly as new edge locations are added, so you can't rely on it being static. The key here I think is to block everything except CloudFront hitting the server, which can be done with headers as described here . Basically CloudFront adds a header, if the header isn't present Nginx doesn't serve ...
1
2
1,697
2020-07-31T00:25:51.267
infrastructure
serverfault.com
135,076
Unknown Windows SID Mapped to Proxy During SSIS Package Execution
I'm running SSIS packages stored in a SQL Server 2014 catalog via scheduled SSA jobs. I'm reviewing my SQL Audit capture and noting calls to SSISDB are coming from the proxy I created when looking at the value for [CODE] but the SID showing up in [CODE] doesn't correspond to the Active Directory SID. My proxy has an AD...
Check the blog post I wrote concerning how to identify this [CODE] SID. From that post: This can happen as a result of using [CODE] to switch context to another user that doesn’t have a server-level account . I imagine you'd see this exact scenario for contained users. There is also an MSDN post from 2006 showing this ...
2
2
161
2016-04-12T15:42:56.047
database_errors
dba.stackexchange.com
126,101
Keras CNN early stopping not working as expected with patience parameter in imbalanced datasets
So I want to stop the cnn when a custom (not implemented in keras) logged metric is not improving with a patience of 5 (I chose macro f1 score) and here's what I did: Created a callback to log the macro f1 score on epoch end and an early stopping: [CODE] And here is the (simplified) output of the fitting: [CODE] And af...
In my view, all happened as it was supposed to. EarlyStopping in the 7th epoch concluded: "The lowest metric was seen 5 epochs ago and the model stopped improving, so let's stop the training" - exactly how you defined it. Your problem is that you want to decrease and not increase your custom metric. However, if your go...
1
1
42
2023-12-19T11:12:12.733
data_quality
datascience.stackexchange.com
48,225
Renaming a production database
We have a production database that we have identified needs some maintenance as a colleague leaves - some column deletion and renaming, and a couple of table renames We're trying to find the best (quickest) way to do this so that it causes the least inconvenience to the users. Ideally we'd like to do the following Crea...
We've ended up writing our own application that manages the Table and Column renames
1
1
585
2013-08-16T09:29:19.710
database_errors
dba.stackexchange.com
257,554
Best strategy to correctly index complex join query
This is the query running on MySQL 5.7 with INNODB: [CODE] An explain shows me a very basic index usage even if I tried to create better ones according with MySQL index optimization tips found on Mysql official docs. Biggest problem is indexing table Calendar which seems to use partially some index but gives me "using ...
(Too long for a Comment) Does that even work??? I see [CODE] twice, but with no alias to distinguish them?? [CODE] is a performance killer, especially across multiple tables. [CODE] may help. [CODE] with a leading wildcard is a performance killer. Consider [CODE] . [CODE] should say how things are related. [CODE] smell...
0
0
58
2020-01-16T13:45:43.567
database_errors
dba.stackexchange.com
222,218
Seconds_Behind_Master alternates between 0 and a number x
I have a slave server with mariadb 10.3.10 on debian 9. For several days the server has been working correctly, Seconds_Behind_Master was always kept at 0 indicating that it was properly synchronized. Since yesterday Seconds_Behind_Master has started to alternate between 0 and numbers greater than 1000. I run show slav...
Seconds_behind_master doesn't exactly measure the replication lag. It measures the difference between the timestamp of the last binlog event fetched by the IO thread, versus the timestamp of the last binlog event executed by the SQL thread. This can become misleading for example if the master has more binlogs that the ...
0
1
778
2018-11-09T19:43:59.090
database_errors
dba.stackexchange.com