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
59,434
How to track IOPS statistics?
Is there a way to access statistics about IO operations per second in DB2 9.7? I am not interested in the buffer pool hit ratio, just IOPS. Storage managers reported us that a few days ago average IOPS is over 5000 (previously it was 300 they said). I just want to track those numbers which storage managers reported us ...
This is a matter of looking at physical writes per buffer pool or tablespace over time. [CODE] will tell you this if you are in Delta mode and look at the "Delta p_reads/s" column.
1
1
823
2014-02-22T17:56:20.213
api_errors
dba.stackexchange.com
88,992
Which data science model is best for explainability for prediction problems?
Imagine you have to create a model to explain to stakeholders e.g. to predict price, weight, sales etc.. Which regression models offer the best in terms of explainability and interprability? ... Which model is best for this?
I think linear (through model's coefficients/weights) and tree-based models (gain importance) are the best for explainability. But this is not restricted to those models since you can use model agnostic techniques to explain any model, even those considered as "black-box." Like: SHAP Values Partial Dependence plot LIME...
1
1
74
2021-02-05T17:06:04.167
data_quality
datascience.stackexchange.com
341,383
Possible NXDOMAIN hijacking?
I have two web servers at our colocation running CentOS 6.0. One runs our main marketing web site (production server) and the other is a staging server for the production server, so almost an exact replica. Both of them are behind a firewall and have private IP addresses. The firewall is connected to our main office wi...
Aha! You've got a search suffix of [CODE] - your first query to [CODE] got the proper [CODE] , while the second to [CODE] came back with the accurate information for what's apparently a wildcard [CODE] at [CODE] . Drop that search suffix, and you should be fine.
3
5
2,356
2011-12-15T21:43:23.800
infrastructure
serverfault.com
294,051
Are large (1TB) .VMDKs safe, can they get corrupted?
To make a long story short, I am wondering if it is unwise to use large thin .vmdk's for a nas VM? I am planning on backing up to external 2TB drives (very small business), keeping one offsite at all times. I could use a poweredge 840, but the fileserver is so lightly used, it seems like a waste. The company has an ESX...
In my opinion both the alternatives you present for backup are a bad idea. I highly doubt hot-plugging USB hard drives was in the design brief when VMware designed the datastore system. Yes you can dismount datastores, but I'm not sure ESXi supports using USB devices as datastores anyway (I think you'll find the embedd...
2
1
1,490
2011-07-26T02:55:00.077
data_quality
serverfault.com
320,902
Is there any way to find out if SQL Server is using all of CPU cores?
I have SQL server licensed to 16 cores only i have 48 core CPU. Is there any way to know that SQL is reaching or utilizing its peak 16 cores limit all time? any way to find it out? as i am having performance issues and not able to find out that if its only SQL Server reaching its all cores limit after which it goes int...
Try these queries and see if this gives you what you are looking for - --Following query will confirm how many CPUs SQL Server is using select scheduler_id,cpu_id, status, is_online from sys.dm_os_schedulers where status='VISIBLE ONLINE' --Following query lists how many CPUs a particular instance of SQL Server can see ...
0
1
1,234
2022-12-12T13:55:28.420
database_errors
dba.stackexchange.com
1,096,169
Communication behind firewall
I am trying to solve a problem that appear to be simple but I can't find a clean architecture. The problem : I have a client trying to access grafana in a Local network. [CODE] When you are behind the router (and thus the firewall) then you can easily access grafana and use it. I would like the same to happen when outs...
This looks a lot like a question for Super User, not Serverfault. That said: The router in your picture is a computer that decides how traffic from the Internet can communicate with resources in your network and vice versa. Placing another computer in front of your router effectively makes that computer your router: tu...
0
0
180
2022-03-15T08:29:48.990
bi_errors
serverfault.com
754,913
passwordless ssh in VM - weird authorized keys file
I am trying to setup passwordless ssh to my localhost (itself). I have host machine PM1 and then I lauch a VM(vm1) using qemu-kvm and logged into VM. Then, I am trying to setup passworless ssh within vm1, so that ssh root@vm1 (from vm1 itself) should log me in without password. vm1# ssh-copy-id root@vm1 Then vm1# ssh r...
The text after the key is just a comment. It is the comment that is added when the key is generated. You can change it to be whatever you want or even remove it. It is there because ssh-copy-id does exactly what it says and just copies the public key to the remote machine. This is documented Protocol 2 public key consi...
1
3
120
2016-02-09T07:10:00.167
infrastructure
serverfault.com
37,674
How do I determine the source of a defect?
When I find a defect, how can I know if it is a defect or it is an environmental issue? Usually, the application under test interacts with other systems, so, for example, I will be testing on one system and the other team will be working on another system. We have to communicate between then, so there will be times tha...
There is no simple answer to this, and no generic solution. A few heuristic I have used over the years are: Lion in the desert algorithm- assuming that the results are reproducible, remove parts of the environment until you can no longer see the problem. Repeat until you isolate the source. Possible problems: removing ...
2
2
178
2019-02-07T05:05:19.240
data_quality
sqa.stackexchange.com
267,972
Virtual Machine Active Directory Domain Controller
I have a VM with Win2k3 x64 Enterprise Edition installed. I have DNS Server and AD(DC) Server roles added to this VM. I would like to know if I could join my laptop (which is the host for the VM) to the domain I created on the VM. When I try to change the domain of my laptop to the domain I created on the VM I get the ...
You can howerver you're going to have issues with authentication and logging in since the VM won't be up until after you log in and start VMWare. What you are probably missing is that you need to set your DNS server to the IP of the VM so that is can look up the DC location
0
1
184
2011-05-06T00:03:19.877
infrastructure
serverfault.com
707,312
BIND dns high performance caching
I'm running bind on a small server used for resolving lots of domains, my main goal is fast resolving of domains and low memory usage. I want to use something like local zone with the nameservers of all TLDs [CODE] What is happening right now is when cache limit is hit, bind stops caching and for every resolve root ser...
High performance and low memory usage + short cache time are conflicting requirements. However, what should happen when hitting the [CODE] limit is that it should start (prematurely) evicting entries from the cache (LRU). Forcing shorter TTLs ( [CODE] ) sacrifices performance in favor of quicker convergence. (Probably ...
3
11
16,986
2015-07-21T10:35:08.380
infrastructure
serverfault.com
630,046
Vsftpd access over wan
I cannot seem to get FTP access over WAN, local works perfectly fine. Initial connection over WAN works fine, but the server rejects passwords with the error: [CODE] Configuration listen=YES anonymous_enable=NO # # Allow local users to log in local_enable=YES # write_enable=YES # Activate directory messages - messages ...
A little bit more information is needed to help you. Maybe it's related to the active/passive problem. If active connections work, try that: [CODE] Where is the "listen_port=21" directive? maybe you want to add: [CODE] To activate logging: [CODE] Why disallow sslv3? I actually do not remember if "connect_from_port_20=y...
0
1
1,034
2014-09-20T17:07:38.163
api_errors
serverfault.com
93,322
Searching multiple tables in SQL
This question will involve some C# code but I hope that is fine, in the end it is the SQL that is the issue. (To see short question look at end of post) So I have a site, where you can add a site in to a category as well as a subcategory. Now I want to search the entire database using the same searchbox, redirecting to...
A quick way to resolve your issue would be simply to return a Null column in each of the select statements. [CODE] This generate the following output which should match your requirement of output [CODE]
3
3
5,615
2015-02-19T15:31:59.770
database_errors
dba.stackexchange.com
980,385
mysql 5.7 on Amazon RDS getting "table foo doesn't exist"
After restoring a mysql backup in AWS RDS, I get "table doesn't exist": [CODE] This error is all around serverfault and stackoverflow. The suggestion is usually to stop servers, examine files in the file system, and so on. I don't think I have access to the server or the filesystem on AWS. Am I hosed? How do I even fil...
I think I have recreated your problem: [CODE] If you don't see what I did, let's try this: [CODE] Now is it obvious? Do this: [CODE] to see details.
0
2
2,738
2019-08-22T21:16:54.340
database_errors
serverfault.com
185,156
impact of HTTP CONNECT on a mandatory web proxy
Consider a firewalled network with the high-level requirement that normal web browsing should work, but nothing else (e.g. ssh and skype are forbidden). (Incoming connections are denied as a matter of course.) What should be done to HTTP CONNECT traffic? At one extreme, it could allow everything through, which would ma...
HTTP CONNECT is intended for tunnelling and is not required. Blocking CONNECT has no impact on normal sites which generally handle GET, HEAD, and POST requests. Blocking of this sort would assume deep inspection of packets. A web proxy might be a more appropriate tool for this than a firewall. HTTPS will not be blocked...
1
1
181
2010-09-27T18:55:59.803
infrastructure
serverfault.com
789,336
Nvidia Pascal architecture: DMA Size / maximum amount of host system RAM?
We are planning to build a pair of multi-GPU Linux servers for machine learning and data science tasks. Per our requirements, we need to put a lot of RAM in these machines; we're planning on 24x 64GiB LRDIMMs for a total of 1.5TiB. For GPUs, we were going to use Titan X's for the best bang for the buck, but according t...
Answering my own question for future reference. We decided to go with the GTX 1080 cards. Under driver version [CODE] , they report the following DMA capabilities: [CODE] As such, they should be able to address up to about 140 terabytes of host system RAM -- more than enough for our use case.
1
0
233
2016-07-12T10:48:43.520
infrastructure
serverfault.com
167,630
file permission is not correct while copying files with SCP
we are trying to copy files from one server to another but the permissions of copied files are not correct. I have tried following solution but its not working. http://linuxshellaccount.blogspot.com/2007/11/setting-basic-file-permissions-in-non.html currently permission is set to : -rw------- We want to change the perm...
Use the "-p" flag to preserve permissions when copying with SCP. Source: http://amath.colorado.edu/computing/software/man/scp.html
1
3
12,999
2010-08-05T13:16:51.633
infrastructure
serverfault.com
12,862
Assertion error when comparing the text of an element
I am getting the following error while trying to verify an assertion. I tried adding wait, but it didn't help. Error message: [CODE] The following is the code that I am writing: [CODE]
[CODE] The findElement returns a WebElement and not its text and thus you cannot compare them like that. WebElements have a function [CODE] to return the text of the object. The assert should look like this: [CODE]
0
1
2,029
2015-04-29T23:28:46.847
data_quality
sqa.stackexchange.com
233,522
How can the concatenatation of a text and a NULL value return a non-null result?
Assert 1 The concatenation operator [CODE] can concatenate any string type values, returning [CODE] . In Postgres, every type has a text representation and can be cast to [CODE] . Consequently, quoting the manual : However, the string concatenation operator ( [CODE] ) still accepts non-string input, so long as at least...
That's because the system of CASTing array types in PostgreSQL is a bit weird (on a first sight) :-) [CODE] makes both sides coerced to arrays. [CODE] Another example which may shed more light: [CODE]
2
7
4,731
2019-03-29T15:26:20.107
data_quality
dba.stackexchange.com
299,716
VMWare ESX 4.1 - Upgrade from 2000 to 2003 R2 gives STOP Error 0X0000000A during "installing devices"
I am trying to upgrade a recently P2V'd server, but I get STOP Error 0X0000000A every time I try.. It always gets this STOP error when it is trying to install devices during the upgrade process. Any ideas?
Probably a device driver, possibly one of the vmtools ones, did you update these before updating?
0
2
512
2011-08-10T16:45:09.800
infrastructure
serverfault.com
410,476
Odd one-way ping issue that I can't wrap my head around
Long time lurker, but today I encountered an odd problem that will bug me until resolution :-) It seems to be presenting as a one-way ping issue from one server to a failover cluster. All machines are running Windows Server 2008 R2 with IPV6 disabled. The windows firewall service is disabled. Lay of the land: Report Se...
Facepalm. I know what caused it, although I may need help on the explanation. In troubleshooting tonight, I spun up another server and had it assume the Report server's IP address- this brand new server running Windows Server 2008 R2 could NOT ping the VIP. Well, that's strange. And again, it could ping either of the n...
3
1
2,555
2012-07-24T01:16:17.087
database_errors
serverfault.com
488,800
Samba3 share for Windows, Linux and OSX is unreliable
Our companys NAS recently died and has now been replaced by a rackserver running Ubuntu. I installed samba3 which authenticates against our active directory. I defined a share for our graphics department which is working with large files (>100MB). We also have several Windows and Linux users that must have access to th...
I'm not sure about the disappearing files. You might want to switch to AFP for that. I use netatalk running on a FreeNAS server and it works very well. Your mileage may vary. Regarding slow directory reads, you'll want to disable Delayed ACKs on the Mac OS X clients using: [CODE] This will dramatically improve SMB perf...
1
0
935
2013-03-18T10:20:36.760
infrastructure
serverfault.com
207,339
Programming structural question, controlling lots of states and specific transitions between states case by case
This is a theory question for me just to try and write better code. I am pretty new so hopefully I am using terms like state in the correct way. How I should be thinking about this problem? I am coding something that sort of works but whatever I do it seems complicated, hard to understand and hard to modify. I'm playin...
Encapsulate each non-trivial state in a separate State class which knows how to transition from one state to the next. When a transition occurs, the state object changes. For instance, from "ConnectedState" to "DisconnectedState". Model your problem as a state machine . I'm a big fan of the state pattern to solve these...
2
6
305
2013-08-06T05:30:52.827
api_errors
softwareengineering.stackexchange.com
252,987
Why is != not working? how to compare with null values?
I am having a hard time understanding why the following query is not working? [CODE] When I do the following I am getting the result [CODE] However for [CODE] I am not getting the opposite results. I am returning to psql after a long time after using MongoDB and might have forgotten the basics. Any suggestion is much a...
You can use [CODE] rather than the SQL standard operator [CODE] , but I recommend using the latter. That has no influence on your problem though. Your table must contain some NULL values in [CODE] . Now [CODE] is not true, but [CODE] is also not true, so such lines are excluded from both query results. You can use [COD...
3
7
5,146
2019-11-11T16:02:51.667
data_quality
dba.stackexchange.com
91,708
Oracle ORA-19011: Character string buffer too small
I'm trying to do an insert from a XML column to a CLOB column and I end up with this error. ERROR at line 1: ORA-19011: Character string buffer too small Any ideeas of what i can do ?
Without seeing the code, it is difficult to be sure. I suspect somewhere you are going via a VARCHAR2 and exceeding either 4000 characters or 32000 characters (depending on whether it is working through SQL or PL/SQL). DB version may help
2
3
5,735
2009-12-07T15:30:53.893
database_errors
serverfault.com
103,454
Encrypting MSMQ
So I want to do asynchronous, disconnected, across-the-Internet messaging with WCF. Probably due to my background in Apache ActiveMQ, I'm looking at MSMQ for this. In ActiveMQ, it was a simple thing to encrypt a queue connection; you simply chose an SSL based connection to the broker, and you had a basic SSL layer to p...
OK, finally found a reference to doing non-Active Directory MSMQ encryption. Here's the link. It's not hard once you find the documentation! This is how you use message encryption with MSMQ but not use Active Directory. http://msdn.microsoft.com/en-us/library/aa395200.aspx From TFA: Demonstrates The client encrypts the...
1
0
608
2010-01-17T04:04:39.927
infrastructure
serverfault.com
46,752
Not able to click Search button and also select the option from the drop down Getting .ElementNotVisibleException
Not able to click Search button and also select the option from the drop down Getting: org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with Reason: After selecting the value from the dropdown list the cursor remains in the dropdown text box and is not going ...
[CODE] webdriver wait returns the element , so don't find it before using wait . ALso change normalize text to text() or string()
1
1
456
2021-02-04T17:41:33.333
database_errors
sqa.stackexchange.com
54,357
Can I specify a port in an entry in my /etc/hosts on OS X?
Possible Duplicate: How to use DNS to redirect domain to specific port on my server I want to trick my browser into going to localhost:3000 instead of xyz.com. I went into /etc/hosts on OS X 10.5 and added the following entry: [CODE] That does not work but without specifying the port the trick works. Is there a way to ...
No, the hosts file is simply a way to statically resolve names when no DNS server is present.
76
55
182,889
2009-08-14T18:20:20.237
data_quality
serverfault.com
1,119,027
Kubernetes Ingress always direct traffic to the wrong pod
I have the following setup in a [CODE] kubernetes cluster (locally) namespace [CODE] 1 deployment -> prints "Hi from Customer A" 1 LoadBalancer type Service 1 ingress -> host [CODE] namespace [CODE] 1 deployment -> prints "Hi from Customer B" 1 LoadBalancer type Service 1 ingress -> host [CODE] namespace [CODE] 1 deplo...
This has nothing to do with the minikube tunnel. The issue here is that all your services are using the same port to communicate outside the cluster. In tcp protocol two applications running on the same machine can’t have the same port numbers, so in this case you need to configure custom port numbers for all the three...
0
0
409
2022-12-29T00:49:48.260
pipeline_ops
serverfault.com
557,819
Overriding Parameters in Previously Declared Puppet Resource
I'm attempting to rebuild nwaller's sssd puppet module to be entirely LDAP based and to be a little cleaner. In it we have a resource defined for each authentication domain of the form [CODE] This definition is then passed as a [CODE] which fills out a template for building the final [CODE] . This all works great if I ...
I would use Hiera . Hiera lets you decouple your variable data from your Puppet manifests. Hiera, as the name implies, is hierarchical, allowing for some interesting ways to override, as well as combine, variable data. First, modify your sssd:: domain declaration to perform Hiera lookups for the parameters: [CODE] In t...
5
5
4,157
2013-11-27T15:17:07.987
api_errors
serverfault.com
808,304
Install of MySQL hangs on Ubuntu 16.04
I’m trying to install MySQL server on Ubuntu 16.04 using: [CODE] I get asked to set and confirm root password and then the install hangs at: [CODE] I’ve exited the install and purged MySQL and tried again, but the issue persists.
Same problem, found fix at https://omgdebugging.com/2016/09/04/fixing-hung-up-mysql-installation-on-ubuntu-16-04-lts/ . I ran (as root) [CODE] then immediately [CODE] in my provisioning script.
18
11
17,244
2016-10-11T09:21:57.850
database_errors
serverfault.com
40,559
How to fix filestream?
I have SQL Server 2008 R2, when I try to access any value stored in filestream I get the following error: Msg 233, Level 20, State 0, Line 0 A transport-level error has occurred when receiving results from the server. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) Also the fo...
The error seems to point at the SQL Server Service account not being able to access the filestream data. Try to change the SQL Server Service account using the SQL Server Configuration Manager (NOT the Windows Services manager!) to one of the build in accounts. Then change it right back to the original account (you wil...
1
2
2,759
2013-04-21T17:56:13.623
database_errors
dba.stackexchange.com
74,236
Start reading Ruby (on Rails) code
I'm an experienced developer which quite some experience in meta programming. I just found my way to Ruby and want to understand more of Rails (and related) project internals. Even if I understand the high level concepts, it's hard to get an overview of those projects. I wonder how other people approach that problem? H...
edit I hate to recommend another book, but I think this one pretty much has what you are looking for. Personally, I like the structure and completeness that books provide when getting into something that I'm unfamiliar with (which, consequently, is a lot of stuff) Code Reading: The Open Source Perspective If you are ne...
6
2
1,066
2011-05-06T14:00:29.247
database_errors
softwareengineering.stackexchange.com
105,120
Alternatives to SQL Server TDE
Due to the high cost of SQL Server Enterprise Edition which includes the Transparent Data Encryption feature I am looking for an alternative product and have only found a couple of options: DbDefence NetLib Encryptionizer Could anyone provide details of their experience with either of the above products (performance im...
We have quite some mixed servers, using encryption, depending upon the need of business. For very critical servers, we decided to upgrade to Enterprise edition as it not only provides TDE but other benefits as well when it comes to performance or troubleshooting. Yes, TDE is quite effective and very good, but since it ...
8
8
9,771
2015-06-25T10:42:16.830
database_errors
dba.stackexchange.com
497,173
SSH key based authentication working intermittently
We have a dev server running jenkins with various jobs that run shell scripts that connect to our live server via SSH (using key-based authentication). This doesn't seem to work reliably. If I test the SSH connection on its own by logging in to the dev server as the "jenkins" user and then SSH'ing to the live server, t...
As you say in comments, it's not using the key you want it to. You can point out the correct key like this: [CODE]
1
1
8,100
2013-04-08T09:05:19.293
api_errors
serverfault.com
451,108
Creating Virtual Network Azure - The Gateway was not created
It's been sitting at "THE GATEWAY WAS NOT CREATED." for hours after creating a Virtual Network in Azure. Is this normal? What should I do? We previously created a network in the wrong DC, it didn't seem to be so slow then.
Yes, you need to click the create gateway button. :) Here are the steps to create the site to site VPN. http://blogs.technet.com/b/canitpro/archive/2013/10/09/step-by-step-create-a-site-to-site-vpn-between-your-network-and-azure.aspx Also this can be done manually: http://blogs.msdn.com/b/igorpag/archive/2013/08/27/man...
8
1
2,405
2012-11-22T04:18:31.920
infrastructure
serverfault.com
917,985
Https configuration on AWS
I have an angular application hosted on aws s3, say [CODE] . The url is hosted on route53. You can access my website in non https here: http://proscorepad.com/ I created two repository that are using my domain name: [CODE] [CODE] and they activated to host a webiste. I created a certificate with CRM which is associated...
I finally fixed my issue, a couple of things were missing: I needed to add CNAMES on my cloudFront, linking to the proscorepad.com and www.proscorepad.com. The origin I used was the S3 listed by Amazon in the drop down menu, but since it is a web hosting S3, it needs to be the endpoint given by Amazon in the static hos...
1
0
64
2018-06-24T14:09:53.937
infrastructure
serverfault.com
80,573
I've been programming in one language for many years. Is this career suicide?
I have been programming in the same Object Oriented Programming language for many years (Windows-based). The problem is this particular language is not very popular, and not one of the hottest ones in demand in job postings and such. Should I be worried? Would a Java employer understand that I'm a programmer and can pi...
Do some side work in other programming languages, have it up on Github. Do this over a period of time, it will build proof that you have experience in that. Also a blog about your side projects will only help complete the picture.
9
14
1,306
2011-05-31T17:22:51.327
api_errors
softwareengineering.stackexchange.com
1,013,033
sql injection "Slep"
how to determine ip address or url address logs ? i have this in my mysql-slow-query [CODE]
Find your [CODE] . Find where you "interpolate" to build a list of ids. The Hacker is being nice to you -- he is showing your vulnerability is a relatively harmless way. He is probably constructing a URL that is providing an "id" from the form, but having it say [CODE] Then you are doing [CODE] instead of escaping or b...
0
0
84
2020-04-19T12:20:15.690
database_errors
serverfault.com
634,702
permissions 040 not readable by group?
I'm a bit confused by the permissions on a file. Just to experiment, I tried the following as user "jorre" [CODE] I would expect this file to be readable by user "jorre" since that user exists in the group "jorre". However, I'm getting permissions errors when trying to read the file. Is that because I'm the owner of th...
This is because you the user [CODE] , is the owner of the file. The file permissions specifically do not allow read, write or execute of that file to the owner ( [CODE] ). If you were to change the owner to another user, then you would be able to read the file under the group permissions. Excert from File system permis...
2
1
165
2014-10-09T11:27:38.400
infrastructure
serverfault.com
251,832
PDO returning 0 rows on WHERE with enum
I am trying to build a query for a report. The report will have a few fields that can be filtered, one of which is a [CODE] field, it is an enum. Here is my query [CODE] Here are my bound parameters: :clientID => 14, :status => 'Draft', :limit => 25, :offset => 0 If i exclude the [CODE] it works fine and shows 19 resul...
Turns out it was the foreach loop i was using to bind the parameters as seen in this issue on stackoverflow for anyone who comes across a similar issue in the future the following will fail: [CODE] as bindParam does not actually bind it when you call it, it just binds a link to [CODE] so it will always be the last item...
0
0
309
2019-10-24T03:24:04.707
warehouse_errors
dba.stackexchange.com
262,108
speeding up django server
My setup is django 1.3 and the default mod_wsgi and apache packages for ubuntu 10.04. I tested one view of my app on my development VM (DEBUG and debugging toolbar off): [CODE] and got 4 requests per second. This seemed slow so I simplified the queries, used indexes, etc. to the point where debugging toolbar tells me I...
Increase WSGIDaemonProcess procecesses to at least twice the number of cpus and try again
2
0
320
2011-04-21T10:33:03.647
database_errors
serverfault.com
140,929
Slave_IO_Running: Connecting in Master-Slave Replication
I was trying to implement Master-Slave Database Replication on two systems. I followed the steps from the following links https://www.youtube.com/watch?v=DmQWcU2INqQ and Master Slave Replication But in both cases, I ended up with Slave_IO_Running : Connecting Slave_SQL_Running : Yes I've tried to check the network conn...
I faced a similar error some days ago. I was able to solve that error based on some Google search results. Here are some of the suggestions that might hopefully help you too: Check whether you created the replication user with required privileges . If not, create a new user on master with the following command: [CODE] ...
5
6
44,705
2016-06-10T10:52:16.927
database_errors
dba.stackexchange.com
20,100
SQL Server 2008R2 - Why is my index not used
I have a table defined in the following way: [CODE] And an index created like that: [CODE] And I run the following query: [CODE] The goal behind this is to get COLUMN_WITH_DATA vaule of first not yet used record, and then update its' COLUMN_A and COLUMN_B with not null values, to mark it as consumed. I have a couple of...
I like providing direct answers to questions; however, this topic can go deeper and longer, therefore I am adding a few articles at the bottom that expand on these details for all to learn from. In summary ... A few things that can affect using an index (mind you there are a lot of reasons too as you'll see in the arti...
5
6
12,875
2012-06-28T12:27:57.887
data_quality
dba.stackexchange.com
918,524
Tripwire skipping files?
TL;DR: Question: how do I configure Tripwire to watch EVERYTHING that is below a certain path? My current config seems to only be looking at certain files / directories in a given path instead of everything. Background / Full story: I've recently installed Tripwire on a server that had some vulnerable PHP code. I added...
Turns out, that (recurse=1) is not needed. Recursive checking of files and subdirectories is on by default. But, in order to capture miniscule changes (single-byte changes, for example) you need to check the hash of the file (SHA is preferred). So, you can use the following variable as mask: [CODE] Between these two ch...
0
0
195
2018-06-27T15:46:29.753
infrastructure
serverfault.com
1,024,603
Can't access internet inside docker windows container inside corporate proxy
I need to connect to the Internet from inside a container. Initially, the Docker daemon was not able to connect to the Internet and I was unable to run: [CODE] I resolved this by specifying a manual proxy in the docker desktop GUI settings, under resources Once I manually set the proxy I was able to pull the hello-worl...
You should remove the literal single quotes from your curl command. They are being sent to the proxy server, so that it tries to find a host named [CODE] instead of the desirable [CODE] . It should instead be: [CODE]
2
0
3,568
2020-07-09T09:25:20.643
pipeline_ops
serverfault.com
1,015,628
secure reverse proxy apache server still getting requests to other domains in access log
I've been trying to setup apache (port 80) as a reverse proxy to a nodejs server (port 3000) and I made the mistake of launching my apache server with [CODE] . I discovered this error after hundreds of thousands of spam proxy requests ballooned the access.log file and my small 8GB dev server crashed with no disk space....
You have two concepts mixed up - proxy requests and plain requests with random or forged hostname. Little explanation to answer your question is needed. Plain HTTP request have "Host: " header which is always filled with something. If your browser want to see example1.com - it resolve its address and connect to this ad...
0
0
327
2020-05-04T17:48:04.083
api_errors
serverfault.com
530,563
How to configure a Remoteapp server to increase stability
RemoteApp is Instable According to my experience, Remote Desktop connections (especially RemoteApp connections) suffer from several instablities, which manifest themselves especially when using RemoteApp all day long. There are several issues that affect stability and useability: Connection breaks inadvertly. When the ...
On suggestion I'm turning the comment into an answer. As it sounds that you need some sort of keep-alive signal, there is one available for RDP connections but it is turned off by default. The setting which you're looking for is: [CODE] Just make sure to apply it to your RDS servers and try it out, hopefully this will ...
5
7
22,783
2013-08-13T06:47:51.693
infrastructure
serverfault.com
248,605
How to select distinct? not select duplicated row
I have 2 table [CODE] result: [CODE] I want to be remove duplicated rows 'MAIN_ID' by created date, I need last created record. How can I do this? thanks [CODE]
You can use [CODE] ranking function and a subquery (derived table or CTE): [CODE]
0
2
71
2019-09-12T09:41:20.240
data_quality
dba.stackexchange.com
10,086
How to get email alert when the windows server 2003 shuts down?
Hi, one of my servers which is Windows server 2003 has became very old and it is shutting down once in a while. Our admin has been recieving alerts into his pager when it shuts down. That's not a problem. But, we want schedule an email alert into our outlooks also when the server shuts down. How can we do that?
The administrator probably has a monitoring service/software package that is triggering the pager notification. Ask them to add an e-mail notification that goes to your e-mail address that is checked by Outlook, or a mailing list that is distributed to the appropriate people.
1
5
1,043
2009-05-19T20:29:24.927
infrastructure
serverfault.com
473,074
Pacemaker cluster: Xen RA vs libvirt RA
Building a pacemaker cluster to manage Xen domU virtual machines the sysadm can choose between to different resource agents: the dedicated Xen resource agent ( ocf:heartbeat:Xen ) the libvirt based resource agent ( ocf:heartbeat:VirtualDomain ) Both will support the usual start/stop operations and live migration betwee...
libvirt is a programming API allowing for developing applications that manage hypervisors. It is completely hypervisor-independent, meaning it can manage Xen, KVM, VMware, Hyper-V, etc., through the same API. So if you want to build a system that is hypervisor-agonstic, or you're running different types of hypervisors,...
2
2
618
2013-01-28T14:48:16.240
infrastructure
serverfault.com
5,373
sk-learn - ValueError: array is too big.
I have a large dataset with characters and 90000 intances and I have the error ValueError: array is too big when I have the following code before the plot_kmeans_digits.py code: data2=list(csv.DictReader(open('C:\diabeticdata.csv', 'rU'))) vec = DictVectorizer() data = vec.fit_transform(data2).toarray() Do you know how...
The problem is that you're converting a large sparse dataset into a dense array via [CODE] . Don't do that :) Why do you need it in dense array format? Try posting more of your code to see if we can figure out better ways to solve the problem. With any large dataset, you want to stay sparse as long as possible and only...
3
2
2,761
2015-03-23T14:00:02.720
data_quality
datascience.stackexchange.com
82,090
mysql database migration of schemas with updated data and structures
I am a newbie with MySQL database dumps and am currently trying to work with data migration between a source schema and a target schema. Assuming the source schema is defined by (source_table_structure, source_data) and the target schema is defined by (target_table_structure, target_schema), the resultant schema that I...
There could be following two ways of doing the same. First is you take unloads from source using following command select * from table_name into outfile 'file_path' FIELDS TERMINATED BY ',' enclosed by '"' ; Then on target you can do following load data local infile 'file_path' into table table_name(Column_list_comma_s...
0
0
466
2014-11-06T18:04:45.117
database_errors
dba.stackexchange.com
28,285
What is the best way to deal with imbalanced data for XGBoost?
There are a lot of way to deal with class-imbalanced data like undersampling, oversampling, changing cost function etc. https://machinelearningmastery.com/tactics-to-combat-imbalanced-classes-in-your-machine-learning-dataset/ Here is the post talking about them all. I am working with an imbalanced multiclass classifica...
I think using something like this could help in your case. https://github.com/dmlc/xgboost/blob/master/demo/kaggle-higgs/higgs-train.R#L17 http://xgboost.readthedocs.io/en/latest/how_to/param_tuning.html Hope this helps at least a bit!
5
2
11,841
2018-02-25T14:02:12.957
data_quality
datascience.stackexchange.com
529,629
SharePoint 2013, Cannot Open Documents in Office 2010 or Office 2013
I have a SharePoint 2013 Foundation site running on Server 2012. A few days ago an overzealous consultant changed the security certificate on this server in error. From that point forward, even after correcting the certificate, Office 2010 and Office 2013 clients have been unable to open documents directly from SharePo...
For anyone who happens to find this via search, I have found the answer to the problem. In Office 2010 and Office 2013 the default authentication is based on using a Client certificate. What this means is that if the IIS server that SharePoint is running on allows Client certificates, and you don't have one installed t...
0
2
7,302
2013-08-08T15:52:55.110
infrastructure
serverfault.com
748,312
What would cause inconsistent SSL failure over Cisco ASA VPN
Over the weekend I completed the installation and testing of a Cisco ASA 5512 to replace our old router/firewall. Today, I've been wrestling with an issue of browsers inconsistently failing to connect via SSL to exchange OWA over the VPN. Sometimes computers will boot up just fine, connect to the VPN, and connect to ex...
After a bunch more looking around, pinging different things, and a post on the Cisco forums, the final issue was a bug in the ASA 5512-X firmware version 9.1(3). With my configuration, the ASA was not responding to any pings which were to large or to any packets at all which were to large to be forwarded over the VPN. ...
5
0
627
2016-01-11T21:13:26.570
api_errors
serverfault.com
310,122
Use PostgreSQL users for all application users
Up to now I always used one database user, and handled permission checking, and corresponding filtering in my application. This pattern has the drawback that the programming language which was chosen when the application "was born" is mandatory. All the permission checking stuff gets handled in this programming languag...
Indeed, why not? Even if it is unusual, there is nothing wrong with managing your application users with database roles. As you say, it would make using row level security straightforward. Here are two potential problems to be aware of: You won't be able to use a connection pool effectively, since connections can only ...
0
1
272
2022-03-24T12:01:51.413
api_errors
dba.stackexchange.com
52,335
How can I design a database that easily lets me recreate historical snapshots
I'm designing a database for an accounting system. In the system there are [CODE] , and each company has many [CODE] . Each contract gives a company access to products, data types, or both. Clients use the different products to access different data types. The initial contract may give the company Products A and B with...
Versioning. Not a new problem - used thousands of times per day by developers using any version control system. Mark any item with 2 fields - ValidFromNo and ValidToNo. The last can be 0. Keep a table versions that has the version numbers. ValidFromNo is from which version number an item is valid, ValidToNo - which can...
0
1
180
2013-10-28T15:29:06.127
warehouse_errors
dba.stackexchange.com
230,163
Viability of a Development Team with no *dedicated* Tester role
I've been thinking a lot lately about how to build a lean development team. Ultimately, I'd like to open up my own little software house with a small number of like-minded people. The goal won't be to become rich, but rather to have a healthy work environment. So far, I'm defining a lean team as the following: Small; S...
I don't agree with Developers make bad testers Most of the teams I've worked on in my career have not had any QA support. This includes a couple of large, global corporations involving products like their global login and registration system. In another case, I had 30% of the company's revenue running through a box on ...
9
7
2,008
2014-02-24T17:24:33.310
api_errors
softwareengineering.stackexchange.com
770,037
Debian 8.4 jessie set open files limit for redis user
When starting redis 3.0.6 (installed from jessie-backports) under Debian 8.4 jessie, I get the following warning/error: [CODE] When running [CODE] as root I get: [CODE] The open file limit for the redis user: [CODE] How do I increase the open files limit for the redis user, so it can set the appropriate limit for the m...
limits.conf does not apply to systemd services ( https://bugzilla.redhat.com/show_bug.cgi?id=754285 ) so you should: edit /lib/systemd/system/redis-server.service and add to the [Service] section the line (after: [CODE] and [CODE] ) [CODE] run: [CODE] and ... it should get the new limit check: https://sskaje.me/systemd...
0
4
2,463
2016-04-13T13:21:36.493
database_errors
serverfault.com
813,271
Removing vulnerable cipher on Windows 10 breaks outgoing RDP
TrustWave's vulnerability scanner fails a scan due to a Windows 10 machine running RDP: Block cipher algorithms with block size of 64 bits (like DES and 3DES) birthday attack known as Sweet32 (CVE-2016-2183) NOTE: On Windows 7/10 systems running RDP (Remote Desktop Protocol), the vulnerable cipher that should be disabl...
IIS Crypto has the option to set both the server side (incoming) and client side (outgoing) options. There are a handful of ciphers you need to leave enabled on the client side for compatibility. To do what you want I'd personally go with the following: Apply 3.1 template Leave all cipher suites enabled Apply to both c...
19
3
65,232
2016-11-04T18:20:37.163
infrastructure
serverfault.com
15,504
How does a new network and subnet have FQDNs without DNS Nameservers?
This is an extension and a simplification of my prior problem. I have created a Network Subnet A port attached to the above network and subnet A compute instance on that port. With the following Terraform script, [CODE] In Horizon's under [CODE] , this subnet does not show a DNS server, [CODE] But it still shows an Ass...
This is something that can really only be answered by your Cloud administrators. The openstacklocal domain is a premade domain that Openstack uses for internal DNS names. It does not mean that it will be usable out of the box. To test, you can try to ping 192.168.199.2-3-4 from your VM to see if the dhcp agent responds...
0
2
283
2022-02-23T18:02:32.750
pipeline_ops
devops.stackexchange.com
378,869
Is the actor model suited for an application dealing with elapsed time?
I need to create a distributed application with timers / periodically checking two timestamps for elapsed time. Is it possible to achieve following behaviour with the actor model: Spawn Child actor Send Message to Child actor to start the routine for checking the timestamps Do something when timer expires without recei...
There is nothing fundamentally problematic with using the actor model for this and supervision is very helpful in creating stable distributed systems. With that said, you still have to design the system to fulfill your requirements. E.g. you need to decide if you want at most once or at least once delivery. To implemen...
5
1
201
2018-09-23T12:34:14.553
database_errors
softwareengineering.stackexchange.com
116,791
Cognos 8.3 and Oracle11g
When i place ojdbc5.jar in the c8\webapps\p2pd\WEB-INF\lib directory... i receive the error below. And yes the content store is on an oracle 11g RAC database. I am running Oracle11g Client. Cognos version is 8.3 SP4. [Content Manager database connection] 1. [ ERROR ] The database connection failed. 2. [ ERROR ] Content...
the short of it is... and no i dont know why... but you just HAVE to use the ojdbc14.jar file. Even though cognos documentation uses ojdbc5.jar for oracle11g. wish i had a better answer to help future people.
2
1
930
2010-02-25T15:33:11.927
database_errors
serverfault.com
749,822
Completing certificate request via command line in Windows Server
I administrate a number of Windows Servers (mostly 2008 R2 or 2012 R2) and I have to process a lot of SSL certificate renewals. When we renew from our vendor, Globalsign, they automatically generate a certificate request used for the renewal. When I install the completed certificate through the Server Certificates sect...
You wrote: ...they automatically generate a certificate request used for the... But then you ask: Is there any way to get around this without generating a certificate request on the server... Are you trying to install the same cert on multiple servers? Are you taking steps locally on your server to initiate the cert re...
2
2
16,473
2016-01-18T02:29:36.833
api_errors
serverfault.com
328,306
Is it appropriate to catch all exceptions at toplevel, so that I can log the exception (and possibly save some basic state to disc) before exiting?
Suppose I am writing a program in F# for end-users. If there is an unhandled exception, the program will crash. Now suppose that I want application-specific data in the crash report. I can get this by catching all exceptions, logging the relevant data, and then rethrowing the exception. Is this good or bad practice?
Definitely a good practice. This will help you debug problems that arise in the field. Over time this leads to an ever more reliable program (assuming your team isn't adding bugs faster than fixing them). Think about what application data to include in the log to answer questions you'll have about what caused the error...
4
6
111
2016-08-13T05:06:12.123
api_errors
softwareengineering.stackexchange.com
617,472
Trying to install php-devel on AWS EC2 server to compile a PHP extension, but getting errors "httpd24 conflicts with httpd-2.2.27-1.3.amzn1.x86_64"
I'm trying to install [CODE] on an AWS EC2 server so I can compile a PHP extension. But I get an conflits error. --> Processing Conflict: httpd24-2.4.10-1.59.amzn1.x86_64 conflicts httpd --> Processing Conflict: httpd24-tools-2.4.10-1.59.amzn1.x86_64 conflicts httpd-tools --> Finished Dependency Resolution Error: httpd...
Try installing [CODE] instead. I believe [CODE] is the PHP 5.3 version in Amazon Linux, which has an Apache 2.2 dependency.
4
0
3,650
2014-08-02T21:42:06.330
infrastructure
serverfault.com
441,209
How to change the computer name on a server configured by Puppet
I am new to Puppet and I'm trying to get Puppet to configure my EC2 instances after they're started from a Cloud Formation Template in AWS. The problem is that all the nodes that get started from the Cloud Formation Template all have the same name (the name from the AMI that the new nodes derive from). I would love to ...
EC2 will start with a unique name if the AMI that's starting it has been configured to set the Computer Name to the ip- in the EC2 Config Service. See this: http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/UsingConfig_WinAMI.html
1
0
5,651
2012-10-23T05:05:22.587
pipeline_ops
serverfault.com
757,828
Restrict access to apache document root but not for subdomains
I'm running Apache on CentOS 7. I have configured multiple virtual hosts. Their root directories are in [CODE] . I have also configured a [CODE] vhost to redirect all incoming traffic (which is not covered by one of the virtual hosts) to the main document root ( [CODE] ) and show a blank page. But know I face a critica...
You can prevent directory listings using the following apache directives: [CODE] You can set this globally in httpd.conf, for a particular directory using the [CODE] block as below or using [CODE] file inside the directory. [CODE] For further reference: Directory Listing Configuration
1
1
2,406
2016-02-17T13:56:59.370
infrastructure
serverfault.com
239,951
MSSQL: Generate a 8 digit serial/Barcode number from a prefix number
I have a complicated task ahead of me and I really could use some of your brains to help me out. At my work we have a database where we store barcode digits. The table contains a 6 digit as a prefix for an 8 digit barcode, were we currently manually calculate the last 2 digits of the barcode in Excel. Here are the step...
[CODE] fiddle The option without variable declaration: [CODE]
5
6
681
2019-06-06T11:33:46.480
warehouse_errors
dba.stackexchange.com
437,239
Run mysqld under a different user (linux)
I've been trying to start mysqld under a different user as well as with a different data path. I've done so by modifing the [CODE] file as follows: [CODE] Whenever I try to start the mysql daemon by running [CODE] two things happen I get the following error [CODE] The folder /bob/ and everything in it has mysql:mysql p...
You may want to check init script, like /etc/init.d/mysqld or something like that, to see if it initialize mysql database with [CODE] user.
2
1
15,404
2012-10-10T17:54:52.777
database_errors
serverfault.com
32,975
Selenium: unable to select drop down option one after another
I wanted to select option one by one from the drop down. But only first option is getting selected. my code is not able to select another option. In below example, "Product Name: A to Z" is getting selected, but "Product Name: Z to A" is not getting selected. Please let me know if anybody aware of this issue. This is H...
I am getting below exception: Exception in thread "main" org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document Okay, this one seems to be explainable given the code you have. You see, what is happening here is that right after the [CODE] line is execut...
4
7
4,633
2018-04-07T15:16:23.940
data_quality
sqa.stackexchange.com
629,666
Version control for virtual disk images
Is there any existing system for efficiently tracking the version history of a virtual disk image? Essentially, I have a disk image which is used as a "template" root filesystem for testing programs. I occasionally need to make changes to it (e.g. installing packages), but most of the time it is read-only. I need to be...
It sounds like VAGRANT ( https://www.vagrantup.com/ ) could be a good match for your needs. Vagrant works with several VM engines (e.g. virtualbox, vmware, check link above ). Some advantages include: It's compatible with VCS systems (single text file) Cross platform - windows, linux, mac Extremely easy to share with a...
2
1
2,004
2014-09-18T20:57:13.263
infrastructure
serverfault.com
9,458
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
I have a problem with a SPFILE as shown below.How can I get rid of that problem?Any suggestions? [CODE]
Well, you can hack around with an SPFILE easily enough: [CODE] Now edit that ordinary text file, then [CODE] And you can play with the temporary one with [CODE] Note tho' there is no actual problem with specifying obsolete parameters other than the message; the only issue is if you were relying on them to set some desi...
2
1
29,432
2011-12-20T13:09:25.353
warehouse_errors
dba.stackexchange.com
311,123
Windows 7 outgoing port blocked
I am in charge of a small company's IT department, and am well versed in UNIX/Linux (which our server runs) but not so well versed in Windows (which many of our employees run). We have a website and a mail server hosted at http://www.hostmonster.com/ . About a year ago, when the website was made and the server configur...
Gmail uses ports 465 and 587 for Gmail (SSL and TLS encryption). Most service providers, and most institutions like the library, will block port 25 and only open it up for their business customers.
1
0
8,976
2011-09-14T00:31:39.453
infrastructure
serverfault.com
1,043,797
PowerShell Copy-Item whilst excluding files and folders from an array list
I'm trying to create a simple PowerShell script that copies the contents of a Windows user profile to a new location but excluding specific files and folders such as [CODE] and the [CODE] files. Below is my script and I've used variables to reduce a bit of clutter. [CODE] UPDATE 1 I have taken the idea of using the [CO...
Does this help? - Replace your foreach ($Exclude in $ExcludedContent) {...} section with this get-item -Path $User_Profile* -Exclude $ExcludedContent |foreach { write-output "Copying $ " copy-item -path $ -Destination $Temp_Destination -Recurse -Force }
0
1
5,175
2020-11-24T21:16:53.870
infrastructure
serverfault.com
261,200
How to use barman to backup PostgreSQL database correctly?
I am using PostgreSQL 10 now. Installed newest Barman on RHEL 7. When I run this command by barman user: [CODE] Official Introduction [CODE] It said: [CODE] Why it's version 10, got [CODE] error? Check Backup When I check backup, got: [CODE] How to fix the failed items? Edit When I check [CODE] by [CODE] user: [CODE] P...
Set [CODE] under [CODE] and [CODE] users.
1
1
2,892
2020-03-04T14:03:59.593
database_errors
dba.stackexchange.com
323,296
RDS Postgres, tup_returned > tup_fetched, the data might not be properly indexed
I'm trying to diagnose a high traffic and problematic table(it has an abysmal cache hit rate 0.035) Given the following sentence from AWS RDS docs: The tup_returned metric shows the number of rows read. The tup_fetched metric shows the number of rows returned to the client. If tup_returned is significantly larger than ...
This table has an index for almost every column This doesn't mean any of them are being used. is there such a thing as over indexing? There certainly is, but it is not the problem in your case. Not properly indexed means we're using btree but should be using gin etc, is this a correct statement? No, it's not. The state...
0
2
417
2023-02-09T16:50:09.903
warehouse_errors
dba.stackexchange.com
187,752
How to extract hostname from $(who am i)
I try to extract the hostname from the following string (created using [CODE] ): [CODE] I need a solution which also works if (www.example.com) is not present which is the case when I am logged in locally. Furthermore the solution also has to work on a Mac where [CODE] returns the following string: [CODE] The problem i...
This is where [CODE] is the best tool. [CODE] should pull out what's in parenthesis. Prints nothing if it's not there. So... [CODE] [CODE] --Christopher Karel
3
15
2,050
2010-10-05T14:56:06.253
infrastructure
serverfault.com
926,115
Set Owner by Folder Name Recursivly Powershell
I have a persmissions problem, on our Fileserver, where the NTFS Owner was not copied correctly, these are Citrix UPM Profiles, I found a script, for this but it does not work recursivly: [CODE] I set the "-recurse in Line 9, but of course this does not work, as the script will try to set the owner to the deepest folde...
I found a solution for my problem, not really any automation, but it worked... I used the Software Set-ACL Studio, I could see the owner of the folder with one click and reset the owner for all child items, this worked perfectly, of course it was a lot of clicking around, and took me about ~30 Minutes, but the problem ...
1
1
4,326
2018-08-13T08:30:34.327
infrastructure
serverfault.com
459,502
How do I remove a printer connection without the user's intervention?
Here's the situation: We're replacing 11 printers with newer models, and we'll be installing them on our print server and sharing them out. The plan is to share the new printers under different names than the ones they're replacing, and un-share the old ones. So I need to come up with a way to remove the client connect...
Group Policy Printer Preferences contains a "Delete" option. If you're deploying the new printers with a GPP GPO, you can add the Delete items to the end of it, or create a whole new [CODE] GPO. I just did a transition like this for about 75 printers and it went very smoothly. We have one [CODE] GPO linked at the domai...
2
4
16,745
2012-12-19T22:57:03.333
infrastructure
serverfault.com
1,101,735
PM2 cluster mode additional processes use wrong script path
I have a nodejs app running on a server with the following [CODE] : [CODE] When I start this, I see in pm2 status: 3 processes started for [CODE] 2 of them constantly restarting in pm2 monit I see that one of the 3 processes has a script path of [CODE] whereas the 2 others have a script path of [CODE] therefore they ar...
I don't know if you've already seen/tried this, but other people with similar issues have fixed them by deleting and recreating the application, or other similar steps ( see here ).
0
0
545
2022-05-25T04:03:09.440
infrastructure
serverfault.com
4,069
Is there a common name for describing "spans" of versions?
I'm looking for a way to pithily define a abstract term that declares all versions that a bug effects, or that a feature behaved a certain way. For example, feature X worked way Y in versions 1.3 to 1.5, but then they changed it. I thought of calling 1.3 to 1.5 a "version span", but wondered if there was some common te...
I have never heard of a common name for what you describe; and rarely, if ever, have I seen a notation where someone references to something which has a "begin" and "end" version. It just is not that applicable in a general fashion; this is probably why there is no such name. Also changelogs usually don't contain this ...
1
4
43
2018-05-07T20:41:02.130
pipeline_ops
devops.stackexchange.com
394,096
Data backend for a 'Nearby' places application
Context I am building an application for searching places 'Nearby' akin to Yelp/Google. Objective for this question Recommend a strategy to do paginated searches based on location and ask for advice on the same. Further, ask for frameworks and tooling that support the design. Please note: I do not want to complicate th...
Thoughts Consider caching the full result set from the geo-spatial search. You have a redis, so... it could go there. Now when the person requests the next page, there is a list tied to that location. You can page from that. You would still need de-dupping in the client for when redis drops the list. Even better you co...
0
2
252
2019-07-01T13:49:11.063
data_quality
softwareengineering.stackexchange.com
1,051,217
About IOPS of a RAID5 disk array without cache
we are using a 530-8i RAID adapter,which is none-cache supported, on a Lenovo ThinkSystem SR590 server.And we have 4 HDD(600GB/10K RPM/SAS) in the array. I read an article about calculating the disk/disk array IOPS,our disk array should get IOPS like 130 ,theoretically. I did a test with a tool called CrystalDiskMark,b...
This is a quite common behavior of memory-less HW RAID controller. Basically, the main issue is that without a temporary, safe DRAM cache, writes can not be coalesced, leading to frequent read/modify/write cycles. This is exacerbated by the RAID card disabling HDD own cache. I suggest you to either use a proper, powerl...
2
4
493
2021-01-26T06:37:35.407
infrastructure
serverfault.com
202,961
SQL Server 2005 Express: date of mdf file doesn't change, ldf file get huge
Sorry if the question has been answered or is asked in a wrong way - I am developer, no sys- or database admin. Problem: An SQL Server 2005 Express mdf file (size 370 MB) didn't change it's file date for two month (even after server reboot) while the ldf file has grown to 56 GB. The database is running on a Windows 200...
The other two answers are entirely correct, but I think that the underlying reason may not be coming across here: In Full recovery mode, SQL Server does not write data to the mdf (data) file ... it only writes to the transaction log. The only way to get that data into the data file is to do a transaction log backup. It...
2
4
2,796
2010-11-17T15:11:16.357
database_errors
serverfault.com
157,538
Numerical data with lots of NULLs: 6NF or document database?
I have a source of numerical data mostly comprised of sensor readings, physical quantities and flags. Each associated with a datetime. [CODE] The data has the following characteristics: There are hundreds of fields, and new unexpected fields may pop up at any time. We need to record those too. For every row, only a sma...
JSONB might be a good option. If the TYPES of your flags and sensors are always the same (let's say they are all floats and ints), you could also use another strategy: [CODE] If you have real values for sensors 2 and 1000, you would then do: [CODE] Or, if there are flags: [CODE] The NaN value would be represented by NU...
4
3
347
2016-12-08T02:10:40.173
database_errors
dba.stackexchange.com
83,604
Optimizing postgres row overlap constraints involving UUIDs and GIST
For various reasons all my tables have UUIDs as primary keys and I need to exclude duplicate rows where the combination of [CODE] , [CODE] , and [CODE] [CODE] window. The only way I can see to do this involves casting UUIDs to text inside the [CODE] constraint below. However this seems stupidly wasteful, am I missing a...
As of Postgres 10 the [CODE] extension (in contrib) supports UUIDs, so if you add that extension first, you'll be able to create indexes and exclusion constraints without casting to text. Pre-10, casting to text is the way to go.
4
2
645
2014-11-25T15:42:07.363
data_quality
dba.stackexchange.com
728,745
Restart Alfresco / Tomcat
When I am trying to restart Alfresco, it stops with this message: [CODE] Then, I try it again, and I got this: [CODE] My server.xml: [CODE] I don't know if ports are wrongly set or another thing, and I cannot solve that. Anyone knows why I have to make two times restart?
The ports are right -- shutdown is on 8005 in server.xml, which is what was expected -- but from what you've shown it appears as though your first attempt to restart Alfresco stopped it, but didn't start it. Your second attempt (by calling restart again) first tries to stop the Tomcat server, but since it isn't running...
0
3
4,073
2015-10-13T21:46:49.940
infrastructure
serverfault.com
286,251
Problems booting an IBM Server with ServerRaid 4Lx
I have an IBM server xSeries 205 with a ServeRaid 4Lx on it that after a power faliure refused to boot. it presented a error message during ServerRaid BIOS boot phase stating: ServeRAID? ,Slot1, Status: Controller register test failed, test number 01 after this message a few seconds later the server hangs completly on ...
Check the syslog in the linux distro else If you tested your ram you tested the card in another server your CPU still works without errors (syslog in linux) You might want to conclude you could have a problem on your motherboard.
2
1
2,271
2011-07-01T18:40:32.200
infrastructure
serverfault.com
357,945
Routing dilemma in resilient multi-location web app infrastructure
In need of some help with understanding/resolving a routing challenge we're faced with – here is the scenario/assumptions: A web application is running which is hosted in 2 physical locations, Locations A and B Traffic either enters through Firewall A in Location A or, Firewall B in Location B depending on the DNS sett...
Source NAT is the easiest option, unfortunately. In this instance the ASA will translate incoming connections to appear as if they come from its local interface. The web server will respond to this local traffic. This will give you full symmetry on your return routes. If you're tracking traffic in the log on the web se...
0
1
90
2012-02-08T10:48:00.197
infrastructure
serverfault.com
1,053,189
Kaniko (GitLab CI, K8s) can not push to Nexus Repository Manager: UNAUTHORIZED: access to the requested resource is not authorized
my GitLab CI job build a example container image with Kaniko with the GitLab runner on K8s. All services are in my LAN behind a static IP. The build process pulls an ArchLinux image from my first Nexus registry service under secure domain A. Then I try do push it to the same Nexus registry into a second snapshot repo u...
I have found the problem. There is one faulty bracket in the Docker config. Unfortunately with the environment variables there are many brackets. Therefore this is not easy noticeable. The more astonishing it is that Kaniko, with a verbosity of tracing, does not spit out an error...
1
1
3,433
2021-02-11T02:47:20.890
pipeline_ops
serverfault.com
613,943
SPF softfail for forwarded emails to Gmail account
I've been able to make SPF pass on all the sent emails from my Postfix server. But for forwarded domains which simply redirect email to my gmail id I see softfail in the SPF. For example if I send email from a hotmail account to contactus@workingwoman.org then it is forwarded to test email id ragraggupta8899@gmail.com....
Your server [CODE] is receiving a mail from outside, in this case [CODE] . The receiver on your host is [CODE] . Now your server relays that mail (without changing the envelope From-address) to gmail. The gmail server now gets a mail from your server [CODE] with envelope-From [CODE] . Now the SPF-Record of [CODE] forbi...
6
11
17,978
2014-07-20T06:14:52.450
api_errors
serverfault.com
1,096,858
How to improve login speed in Pure-FTPd
I'm using Pure-FTPd on Ubuntu 20.04.3 LTS machine (focal). Packages are the following: [CODE] I configured virtual users in PureDB and I disabled PAM and Unix authentications. These are the configuration keys: [CODE] Login is extremely slow (5-7 seconds) connecting from localhost. How can I improve its speed?
I had the same problem and then I found out that it's just argon2 hashing of the password. So if you create a virtual user, you have to give a password when creating, but after that generate password hash with another algorithm and change the encrypted password in the [CODE] before running [CODE] . Also don't use [CODE...
1
0
720
2022-03-23T18:29:34.143
api_errors
serverfault.com
295,307
How to structure a SaaS application?
The Problem I need to develop a Software-as-a-Service application, that will be used from our clients. The application contains a lot of forms (Company Application) using a step-by-step forms. They users will fill these forms, and see some progress. The Company (our client), can have a view of they dashboard, showing t...
For my current project I had similar requirements like you. I have decided to use a backend server exposing a REST API. And for the cleints I am using a nginx server, which handles the subdomains and hosting the AngularJS Application. The server side checks which subdomain the client is using and sends the correct data...
0
6
1,535
2015-09-03T13:04:41.497
api_errors
softwareengineering.stackexchange.com
1,094,908
Roundcube does not take password for user at login
I have roundcube and docker-mailserver in docker containers. I've managed to make change of password possible by roundcube password plugin. I created 'mailbox' table and added two columns: 'username' and 'password'. Now this is working, all users can change their passwords. But still roundcube is logging in users by pa...
Ok, so there was much work involved + much research: you must have separate MySQL container and containers using it docker-mailserver must use these lines instead of [CODE] : [CODE] Dockerfile must be: [CODE] as you can see it must be run with [CODE] with [CODE] parameter [CODE] must be installed as it is for plugin fo...
0
0
2,213
2022-02-27T20:08:11.320
database_errors
serverfault.com
226,189
Designing a fitness / weight lifiting routine database
I'd like to create an app similar to Barbell Pro for Android, for practice / interest / educational purposes really. Or even as another example for database purposes, Fitocracy The problem is, I have no idea how the database could be designed... For example: We have a 1000 Persons using the app Each Person could have 1...
Here is a prototype database schema. It allows the creation of different exercise routines, assigns those routines to a person by date, and even has a place to log the exercises executed, and the number of reps.
6
9
19,025
2014-01-31T04:12:53.687
api_errors
softwareengineering.stackexchange.com
550,374
apache mod_proxy or mod_rewrite for hide a root of a webserver behind a path
I have 2 apache 2.2.21 one external and one internal, I need to map the internal apache behind a path in external apache, but I have some problems with absolute url. I tried these configurations: [CODE] or [CODE] My internal apache use absolute path for search resources as images, css and html and I can't change it now...
A number of alternatives: One ) Rewrite the internal app to use relative paths instead of absolute. Two ) Redeploy the internal app in a subdirectory rather than in the root of your internal-apache. Three ) One and two are often unlikely to happen... If you're lucky the internal app only uses two or three subdirectorie...
0
2
2,400
2013-11-03T08:03:12.787
infrastructure
serverfault.com
766,145
remote rsyslog client/server issue
I only want rsyslog to send the logs to the centralized rsyslog server but it is sending them locally as well. This is for legal reasons, the servers will not have a logs directory, only the centralized rsyslog server will have logs. I thought by using '&~' in the client's rsyslog.conf, it will send logs remotely only ...
You probably have syntax problems. Try to write rules with newline separator like this: [CODE] Or even better you can use modern RainerScript syntax instead of legacy format: [CODE] It's more verbose and less ambiguous.
3
1
409
2016-03-25T18:37:05.797
infrastructure
serverfault.com
218,612
MongoDB replica set configuration problem
I'm facing some issues when trying the following: I have a three-node MongoDB 4.0 cluster, no sharding, one mongodb instance as primary, the rest as secondaries. When I shut down the primary, one of the secondaries becomes the master, the other remains as secondary. When I shut down the new primary (former secondary), ...
That's normal behaviour. Once the replicaset is down to two members, the voting is even; you need an uneven number of voting members to be able to vote. The only thing you can do in this case is start that one remaining online mongod as standalone.
-1
0
53
2018-09-26T13:04:26.440
database_errors
dba.stackexchange.com
415,360
ssh localhost exits with "debug1: Exit status -1 "
I am trying to setup ssh and ssh to localhost on Cygwin, but I am getting the following error. Any suggestions will be appreciated: [CODE] Executed /usr/sbin/sshd.exe -d and got: [CODE]
The permissions on /var/empty aren't correct. Try this: [CODE]
3
3
12,614
2012-08-08T05:36:17.903
infrastructure
serverfault.com