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
643,254
How to share nginx log's without sudo to another user?
I have 2 users on my server. One with sudo access another without. How can i give access to nginx logs [CODE] To another user without [CODE] permission to use [CODE] ? Can i create something like a symlink to log in his /home/username directory? So my question is - how can a user without [CODE] permission check nginx l...
For example, like this: [CODE] this way anyone will be able to cwd and read the contents of the /var/log/nginx directory and read the *.log files. You should also check the log rotating configuration so the permissions won't be changed again. For the last several versions of Nginx, up to and including 1.6.2, the file [...
12
16
17,019
2014-11-10T14:06:46.357
infrastructure
serverfault.com
13,209
How can I evaluate a 3rd party testing service?
The startup I work for is looking into outsourcing our manual testing to an unaffiliated testing lab called Applause (formerly uTest). Right now the Operations team is doing all the manual labor, and none of them have training as testers. Applause offered us a one-month trial period, after which we would enter into a 1...
I would suggest you look at their Device Fragmentation Scope of testing, (white box / black box) test aspects, App store testing, versioning, Security testing, memory usage and usage of best practices (mind maps, automated tools, carriers etc..) Tools used / Automation Efforts Previous projects in similar domain / expe...
5
3
191
2015-05-27T00:29:32.110
data_quality
sqa.stackexchange.com
607,398
How do I convert a vhd to a wim file?
I just setup and sysprepped a nice new VM, now I need to convert it to a wim real quick, to upload to my sccm server. For some reason, I can't change the VM properties to boot from a legacy nic for pxe, which is how I usually capture my images using sccm. VMM just changes the settings right back, even though it says su...
Absolutely, let's post a prim and proper answer for Google. This is a simple 2 command Powershell execution, using the [CODE] module. The dism can be copied to earlier versions of Windows, provided you have the appropriate version of the windows management framework. First, mount the vhd using [CODE] Then, capture it i...
22
31
57,948
2014-06-23T20:46:38.183
infrastructure
serverfault.com
331,054
linux + lftp not working + Socket error
I use the lftp in order to get the file.txt from Linux machine 12.18.21.15 (red hat - 5.3) [CODE] I have a problem that lftp can't get the file.txt , Please advise what I need to check? What could be the problem? [CODE] Remark --> I have ping to 12.18.21.15 linux machine , and also ssh/scp...etc ! view from the remote ...
The [CODE] message suggests that you don't have an ftp server running on your remote system. You should check that you do have a server installed and running. [CODE] should list all the ftp related packages that are installed. As you can see I have [CODE] and [CODE] installed on my system. To check which is running use...
1
2
9,134
2011-11-15T11:11:37.247
infrastructure
serverfault.com
279,728
Apache configuration to make NTLM authentication work through a Proxy
I'm running an application server behind an Apache proxy with the following sort of thing in my Apache config: [CODE] When I switch on NTLM authentication (using mod_ntlm) the authentication fails (it works fine when bypassing the proxy). A quick search reveals lots of issues when running NTLM behind a proxy due to the...
NTLM is connection based therefore not suitable for HTTP-level proxying in general. HAProxy can do TCP reverse proxying which should work just fine. When used as a forward proxy for this situation it's not really packed with features (i.e caching, access control, filtering, etc). It should be just fine to use instead o...
3
1
3,227
2011-06-12T23:16:10.770
api_errors
serverfault.com
447,772
Nginx refuses to bind to 8080
I have setup Varnish to run on port 80 which seems to work fine. [CODE] Under available sites in /etc/nginx I have the file default with: [CODE] nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) Why is it still looking for port 80?
You should add [CODE] And make sure that in other configuration files or virtualhosts there is no other default port 80.
2
2
6,836
2012-11-12T10:29:16.307
infrastructure
serverfault.com
55,706
How to split a dataset into train and test sets for time series (multiple step-multiple output forecasting)?
I am trying to use an LSTM neural net to do multiple step / multiple output forecasting (I predict multiple values in one time knowing some values in the past) . But, I have realized that I must be careful when splitting my univariate series into training and test sets. In this post, I am going to share what must be do...
Assuming you have sales data for 36 month and you want to forecast for next 6 or 9 months. Lets create the train and test data at 70 and 30. train data= 36*70/100= 26(rounding value of 25.2) test data= 10(leftout sample) Now we'll build a model on train data and forecast values on test data(those 10 points), to measure...
1
0
639
2019-07-15T16:06:29.040
data_quality
datascience.stackexchange.com
163,881
sqlite3 support on centos with PECL?
i just realized that the rpm version of php that i have installed on the server don't have sqlite support (well it have the PDO support but for some reason don't work) so i installed as a PECL extension, and now it show the support on the phpinfo() but still the open inviter script give me the error of: Call to undefin...
Remove php* packages and install equivalent php53* packages - they're available since RHEL/CentOS 5.6. They support sqlite PDO out of the box. You can test this. Create a file [CODE] with contents: [CODE] And run it with [CODE] - on my CentOS 5 with php53 I get: [CODE] I have the following packages installed: [CODE]
0
1
2,628
2010-07-25T12:34:51.013
infrastructure
serverfault.com
384,717
Why can’t ViewModels communicate with each other?
Can someone explain concretely why it is not desirable for ViewModels to communicate directly with other view models? It seems to me that for virtually any UX application there will be a “root” view (with its ViewModel) and any further views will be somehow initiated from from this view/ViewModel, or a sub view/viewMod...
Views and ViewModels are meant to be reuseable components that you can combine together in different ways. If you hardcode a command on VM1 to always update VM2 then you break that reusuablity. But this doesnt mean that you can't have a master view model which links all the components of a page together. Or sub view mo...
7
3
5,652
2018-12-30T13:08:02.230
api_errors
softwareengineering.stackexchange.com
372,202
Rkhunter reports file properties have changed
I am running a fully updated LTS copy of Ubuntu server. Today I ran rkhunter (as I do from time to time). This is the output I got: [CODE] There were also a few other I left out. Has my server been rooted? I am running fail2ban and do monitor failed ssh logins. nothing has come up. Could someone compare these hashes to...
From the timestamps it looks like you updated several programs built Dec-19th about 7:30. Modification timestamps should be the build timestamps. It depends on how they get moved into place. Some programs are linked to through /etc/alternatives, and the symbolic links will have the timestamp of the install.This could b...
8
5
5,803
2012-03-21T23:07:40.467
infrastructure
serverfault.com
279,130
Adding Nullable Column To Production DB taking too much time
I have running production DB which have normally 50-100 insert per minute. I am trying to add a new column in the production DB using, [CODE] This query keeps running and not finishing until I have stopped it. What else I can do?
Adding a nullable column like that is generally a meta-data-only operation . That is it will complete nearly instantly as long as it can get a schema stability lock on the table for the short time it takes to add the column. If you're seeing it take a long time, the cause is most likely that other sessions are blocking...
6
19
1,824
2020-11-03T16:57:23.650
warehouse_errors
dba.stackexchange.com
325,567
How do I resolve failed hints replay?
I'm getting below error. [CODE] Can someone suggest me how to resolve the above error.
The error message you posted indicates that the node ran into issues while trying to replay hints to a replica (node [CODE] ). Hints are mutations (INSERTs, UPDATEs, DELETEs) which are stored by a coordinator because a replica did not acknowledge the write. The replica could have been down or unresponsive for whatever ...
0
1
108
2023-04-04T06:37:35.797
warehouse_errors
dba.stackexchange.com
420,518
Java Inheritance Problem
I have the finance application where we can have different types of transactions, like balance enquiry, funds transfer, and pin change etc. Now the [CODE] is a base class, and there are specific child classes implementing it as per above use cases. [CODE] Now I have a [CODE] object which takes transaction and executes ...
If you have [CODE] method overridden in each child class, you can just call [CODE] inside [CODE] , so [CODE] does not have to know the transaction type. However, I don't see the necessity of using inheritance here --- you can just have [CODE] , [CODE] ,... methods inside [CODE] class and implement them separately: [COD...
0
3
258
2020-12-31T09:47:17.463
api_errors
softwareengineering.stackexchange.com
397,801
Connection established to google DNS, can't resolve any hosts
As you can see from the picture above, I am connected to google DNS but am unable to resolve any hostnames. When I try to ping sites like google.com, yahoo.com, etc, I get 'ping: unknown host'. Yes, I am able to ping localhost, I am able to ping hostname.domain.com, but not domain.com. I can't ping my nameservers. I ca...
Found the problem within an interface configuration file. There were no other DNS entries besides localhost.
0
0
472
2012-06-12T04:18:13.537
infrastructure
serverfault.com
479,576
installing glusterfs on amazon ec2
My drupal website running on Amazon EC2 cloud. My instances use S3 storage for dynamic files. But I realized that S3 is too slow and it may cause problems. I want to use glusterfs instead of S3. To use glusterfs; Which Linux AMI should I use? (I tried to install it on Amazon Linux AMI but I failed) When I create EBS in...
I've got GlusterFS running on several Amazon Linux AMI instances. It took some some tweaking to the yum .repo file they have you download though. I'm using a seperate volume mounted as /dev/sdf Regarding adding extra bricks vs extra instances, both are valid solutions, it depends on what architecture you're setting up....
4
5
9,493
2013-02-16T22:33:40.117
infrastructure
serverfault.com
45,424
prevent MySQL Workbench to add index for foreignkey constraint when it is first part of primary
I know for each foreign key we should make an index on its column, But it is not necessary when that column in first part of PRIMARY index. MySQL accepts this query: [CODE] But in MySQL workbench I couldn't add foreignkey without index! It is MySQL Workbench bug or I do it wrong way?
That's currently a limitation of MySQL Workbench and has been mentioned recently already on Stackoverflow (can't find the question right now, sorry). MySQL Workbench doesn't use the special case where a foreign key uses columns that start the PK in that table. Please file a feature request at http://bugs.mysql.com if y...
3
1
2,708
2013-06-28T16:01:00.203
data_quality
dba.stackexchange.com
158,773
Web server hardware firewall recommendations
I'm looking for a specific hardware firewall model solutions that best accommodate the following concerns [Cisco models are best, because our colo can get good deals on them reconditioned] : There are currently 8 servers in a colo each with a 100MBps input (though their cards are rated for 1Gb), each with their own IP ...
Nothing you've listed sounds like it contraindicates most reasonable firewalls available, so you should be able to do just fine with something like a Juniper SSG5 or even an older NetScreen 5GT or NS25. (I'm less familiar with Cisco's line, but you'd probably be looking at an ASA 5505 or 5510, or an older PIX.) The mai...
0
2
997
2010-07-09T00:38:40.020
api_errors
serverfault.com
130,759
route view problem
Trying to check IP status to show a customer root@server [~]# telnet route-views.routeviews.org Trying 128.223.51.103... Nothing happens, but telnet is enabled Any idea why it may hang for minutes? Using CSf firewall, Centos 4.4 box
Works fine here. If you're not up yet, I'd guess telnet is blocked somewhere along the way.
0
0
88
2010-04-09T01:24:24.263
infrastructure
serverfault.com
59,790
Execute SQL query after execute TRUNCATE in a table
I have a table called [CODE] where I have a default record " always ". Since I'm testing all the time and sometimes I need to clean that table I'm asking if there is any way to run the following query any time I run the TRUNCATE command on the table: [CODE] Any advice?
You just need to use a [CODE] : [CODE] This [CODE] will [CODE] the same row you deleted. (I left the same parameters for the others fields).
1
1
342
2014-02-27T13:39:52.753
warehouse_errors
dba.stackexchange.com
298,990
Keeping two servers in sync - secondary server only to be booted for the backup, or in outage
I've just started a new Software Development job but I've basically been given loads of sysadmin stuff to do because the development team consists of only 2 people + the CTO. I've got pretty much zero experience with kind of stuff and focused mainly on desktop programming at University. So hopefully you guys can help m...
The idea is, that in an outage or the like, we can change our DNS settings to point to the backup instance simply to minimise downtime FFS, I wouldn't call a minimum outage time of 3 hours minimizing downtime. Failover to standby is never a good way to implement fault tolerance. Use load balancing to run all the nodes ...
0
0
815
2011-08-08T20:16:37.160
database_errors
serverfault.com
582,866
MySQL Socket configuration issue in my.cnf
I've got an issue that's causing very long "time in database" in my application. The DB is Percona MySQL 5.5.35. The application works perfectly, and can read/write from the database just fine. The issue is that I have extraordinarily long DB response times that's definitely not time spent executing the queries, which ...
The first point to remember here is many mysql clients (including php) will default to unix socket style communication if the client is configured to use localhost. If your server is not correctly setting up this socket, then clients may be attempting to connect to the socket and failing. The rest is summarized from ou...
4
4
34,261
2014-03-18T13:35:00.393
database_errors
serverfault.com
907,562
VSwitch confused with VMs in same subnet but on different VLANs
In a multi-tenant virtualised LAN environment it is likely that different customers will have VMs in the same subnet (eg 192.168.1.0/24) and be hosted on a single virtual server environment. The overlapping subnets are not a problem for the customers because they do not need to communicate with each other. But when the...
"In a multi-tenant virtualised LAN environment it is likely that different customers will have VMs in the same subnet" Only if incorrectly designed, built and secured, why on earth would anyone allow that to happen? "and be hosted on a single virtual server environment" If you mean all the servers would be running the ...
-1
4
939
2018-04-13T17:32:16.823
infrastructure
serverfault.com
554,755
Can I use any domain name for my active directory domain controller inside a Amazon VPC?
In the tutorial I found, it recommended using compute-1.internal as the root suffix and just creating my domain on top of that so I have been using mydomain.compute-1.internal. I am wondering if I can just setup my domain as mydomain.internal and create a new DHCP option set? Is there any reason I need to use the compu...
Very short answer: Yes you can. Slightly longer answer: Do you want split-DNS, or not? (i.e. if you own mydomain.net you can call your active directory domain that as well) or do you want a different name inside (i.e. mydomain.local + mydomain.net externally)
0
1
286
2013-11-13T16:32:05.790
infrastructure
serverfault.com
199,682
Overloaded webserver issues
I am new to the area of web development and currently interviewing companies, the most favorite questions among what people ask is: How do you scale your webserver if it starts hitting a million requests ? What would you do if you have just one database instance running at that time? how do you manage that? These quest...
Oh boy, I wonder if a question could be more generic. But this is such an interesting topic I'll share my thoughts: Bottlenecks for static content Serving out static content is relatively easy. The first bottleneck you'll see is most likely your network bandwidth. Disk I/O might be another bottleneck if you have lots a...
-2
0
132
2010-11-09T02:59:59.923
infrastructure
serverfault.com
994,999
IP incorrect when making curl request from the same server
I have a user A with IP AAA.AAA.AAA.AAA , this user needs to access a directory of an other user B (with IP BBB.BBB.BBB.BBB ) with CURL on the same server (Directadmin/CentOS/IP CCC). This directory of this user is locked with HTAccess. Normally for outside users I would open the directory in the HTAccess by adding his...
[CODE] is only the address to be used for DNS requests. It's not used for the actual request. Try [CODE] instead: [CODE]
1
2
1,257
2019-12-10T08:50:44.740
api_errors
serverfault.com
22,265
Problem joining two tables in MySQL
I'm new to MySQL. I'm having trouble in joining two tables: [CODE] Table resources in room: [CODE] Table resource: [CODE]
its [CODE] in your table definition and you are using [CODE] in query. This will work [CODE]
4
4
137
2012-08-10T05:41:34.543
database_errors
dba.stackexchange.com
894,835
apache config to redirect https to http weblogic module
I have 3 Machines which I am configuring this way to work. MachineA (https) -> MachineB (reverseproxy) -> MachineC (App) MachineA - The public facing load balancer where SSL certificate is installed MachineB - Apache http server to which the request from MachineA will be redirected and will be forwarded to Application ...
You are mixing proxypass directives belonging to mod_proxy with directives that belong to weblogic plugin through the handler. The correct config is like follows (adapting your config): [CODE]
0
1
1,477
2018-01-30T17:40:33.203
api_errors
serverfault.com
28,836
Pg install: "The database cluster initialisation failed"
( Note: This question has been compeltely rewritten from its original form, so it reflects the actual problem and will help others find a solution to the same issue). I still haven't been able to successfully install PostgreSQL on my Windows 7 Ultimate x64 computer. See this prior question for some history. I did a fre...
It appears that the root cause of this issue may have been that @Celeritas's computer had an incorrect value for the [CODE] environment variable. It had a trailing semicolon, so instead of the normal: [CODE] it was: [CODE] This one-character difference is enough. The above isn't a valid command prompt path, so [CODE] c...
8
6
42,894
2012-11-17T01:08:57.413
database_errors
dba.stackexchange.com
253,999
Execute a query but not return results to client
I am testing the performance a query and trying to fix a parameter sniffing issue. Based on the parameter sometimes it returns 3 rows and sometimes it returns over 5K rows. I want to test the impact of the change I am proposing on execution time. But since the number of rows returned is so wide the execution time is sk...
You can use SET STATISTICS TIME ON to get the exact amount of time the server spends executing the query. And Client Statistics can help determine the amount of time the client spends consuming it. From Brent Ozar: https://www.brentozar.com/archive/2012/12/sql-server-management-studio-include-client-statistics-button/ ...
1
1
4,269
2019-11-23T22:00:42.003
warehouse_errors
dba.stackexchange.com
254,683
Apache (2.2.3) not serving PHP (5.2.6) Running on CentOS
I'm having a bit of a strange problem with a new domain I'm setting up; Apache is currently not serving PHP files as it should and rather forcing a download of a .PHTML file. I have searched Google and used the search without any fixes found. This problem gets a bit strange as I currently have other sites running on th...
Issue has been resolved ... not sure how or why but apparently replicating the folder structure and configuration [CODE] of a Plesk created domain appeared to resolve this problem ... Resulting config [CODE] Note that this is just another reason I dislike Plesk ....
2
0
1,722
2011-04-01T16:13:39.630
infrastructure
serverfault.com
93,116
Handling "backup" files with Git
I have a project folder that has multiple duplicate files that are named slightly differently to create "backups". So I have "file1.txt" and "file1 backup.txt". Is there a preferred method to capture the old history when I make the folder into a git repository?
With out a lot of messing about, the simplest option is to just commit the full project folder as the first commit, then delete all of the backup files and finally commit your 'cleaned up' copy. That way you can access the copies of the old files any time you want, but they don't normally clutter up your working direct...
2
12
606
2011-07-15T13:48:49.963
data_quality
softwareengineering.stackexchange.com
167,392
Date of Recent RAM Upgrade (Optiplex 745 w/ XP Pro SP3)
Is there a way to find the date/time of a recent RAM upgrade? Would that be in any system, bios, or windows log files? Do any common programs automatically adjust setting upon seeing a new amount of system memory? Any other thoughts for clues as to when the upgrade occurred? OS: Windows XP Pro SP3 Computer: Dell Optipl...
Unless you're running an automated monitoring system for assets that poll system configs, I don't know of anything that records it. You might get lucky and have error messages logged in the BIOS that would tell you when a memory change occurred.
1
2
323
2010-08-05T14:12:02.310
infrastructure
serverfault.com
286,953
Understand responsibilities of database and backend
Still learning, but there is something I can't understand. Some features of MySQL seem (to me) to flow on the responsibilities of the backend. In particular, I'm talking about data validation (excluding relations) for example NULL/UNIQUE. Now, I'd like to know why this duplicate? Is it a second layer? More in general, ...
An RDBMS is part of the backend, only in rare cases such as access, you can have both. Even so the GUI should always (try to) prevent errors in the database, and should control the input of its validity. Errors happen, should not directly shown to the user. But as you have to debug it, you should show helpful ids or te...
0
1
49
2021-03-13T15:21:33.103
database_errors
dba.stackexchange.com
820,494
Mail Enabled Public Folders routing to offline server Exchange 2010
Exchange 2010 Databases with replicas. The hubs keep trying to deliver to offline server. Things Ive tried: Applied Rollup that supposedly allowed for Smartrouting Mail Disabled then Re enabled Both solved the issue but temporarily, then reverted back to reattempting the bad DB. I'm contemplating removing the PFDB from...
You need to remove that offline server correctly. Exchange will always try to use all servers, even ones that are offline. That is how it is designed to work. Manually removing the server is not a supported action, you either need to start the server up so it can be removed correctly, or if not possible do a recover se...
0
0
86
2016-12-13T19:21:42.070
infrastructure
serverfault.com
60,908
what mistake i did in mysql query
I am getting error [CODE] Query I tried [CODE]
Use Backtick Sign around columns names. As you have a column [CODE] which is a keyword in MySQL, So you need to put Backtick around column the name [CODE] And one more thing in your insert you are missing value for one column, as you have 17 columns to insert but you are inserting only 16 values. I hope you are missing...
0
1
51
2014-03-14T05:28:14.707
database_errors
dba.stackexchange.com
878,553
WARNING: WMI ProgID registrations missing
I started one of my windows server 2012 R2 virtual machines today and got the following warning: WARNING: WMI ProgID registrations missing At first I only saw a vague error in the server manager: After running the WMI Diagnosis Utility I got more information from the logfile where I found the warning: [CODE] What I hav...
To solve the warning I did these 3 steps: I shared a folder on my host desktop to my VM with VirtualBox. I made a snapshot of current state of my VM and copied WBEMDISP.DLL from the c:/windows/system32/wbem folder of a snapshot I had taken to the shared folder. Then I went back to my snapshot with the warning to replac...
0
0
376
2017-10-15T15:12:46.127
data_quality
serverfault.com
558,081
Setup machines network in Windows Azure
I'm building a web application and I've decided to host it on Windows Azure. My application has three components: A front-end created with Play Framework (machine A) A back-end core written in Java that executes my business logic (machine B) A database (machine C) Since I have a free Bizspark account I created 3 free A...
Well, apart from the fact that you are exploiting the platform benefits, here are my thoughts. I would say the best way to interconnect VMs is to utilize the Azure Virtual Network. However, as of today (Dec. 5, 2013) you cannot span a Virtual Network across multiple accounts. Your only option is to access the machines ...
0
0
942
2013-11-28T16:24:47.593
spark_errors
serverfault.com
50,274
Should snapshot agent continue to run in transactional replication?
We have transactional replication running for a large number of publications on sql server 2008 R2 2 node active/active cluster. I have noticed that the snapshot agent job runs hourly and it looks like it does a refresh of the publications (literally, a new snapshot?). During this time we experience locking issues with...
I have noticed that the snapshot agent job runs hourly and it looks like it does a refresh of the publications (literally, a new snapshot?) Should this be doing a refresh this often if no new articles are being added or changed? NO. Snapshot should not be run frequently, unless you are adding/dropping articles. Also, T...
6
5
3,109
2013-09-20T19:51:08.277
database_errors
dba.stackexchange.com
1,075,849
How to increase PHP file size limits on Nginx?
When I upload the file in phpmyadmin this problem appears [CODE] my configure [CODE] [CODE] I have NGINX server with FASTCGI php-fpm 127.0.0.1:9000 which php.ini is under /etc/php5/fpm/php.ini I increased upload_max_filesize and post_max_size in php.ini The Fastcgi params is like this [CODE] I restarted php-fpm and ngi...
Just I have change [CODE] to the right source [CODE]
3
0
2,182
2021-08-27T21:42:58.557
infrastructure
serverfault.com
45,254
How can i find trend time for my articles?
our article is time-based, that means is my article search more in a specific time. as you can see in under chart this article search more in specific period time. if my dataset looks like this(it can be a json,csv,xlsx) : How can I find the trend time of my article (time between the red line in image 1) I need to know...
Based on your comment and what I can understand from your question, you could identify the "trend" you are talking about as a series of Outliers. From Wikipedia , an outlier is: In statistics, an outlier is an observation point that is distant from other observations. An outlier may be due to variability in the measure...
3
1
106
2019-02-08T09:47:49.747
data_quality
datascience.stackexchange.com
204,375
Why is my VPS crashing (and how can I find out for myself)?
Edit : While this appears to be due to a power outage at Linode's Fremont facility, I've still had a problem with this in the past. Any help would be appreciated. I want you to teach me to fish. Yes, I'm asking "Why is my VPS crashing?" I'm sure if I gave you root access to my server you could find out in 2 minutes. I'...
If your entire server is crashing due to non-server related events, I would go with a better provider. The fact that a power outage caused the machines to go down indicates they don't have any backup providers--which is troubling, especially since it appears that they didn't alert you until well after the fact. I am su...
2
4
2,425
2010-11-21T05:05:17.243
infrastructure
serverfault.com
153,802
Why is our SQL Server instance writing a mystery text file to our C: drive?
On a dev-test WINTEL server, our C: drive has almost run out of disk space due to a SQL.LOG file that is 133 GB in size. I used SysInternals Handle.exe tool to determine which process was writing this SQL.LOG file and found that the culprit is sqlservr.exe. As this SQL.LOG file does not appear to be any of the standard...
Thank to the comment from Martin Smith above, I was able to determine that the [CODE] file was being created by ODBC Tracing that had been started and forgotten by a developer.
0
2
194
2016-10-31T17:03:16.477
database_errors
dba.stackexchange.com
1,019,983
ADFS 4.0 IDPinitiatedSignOn Page Error: HTTP 400 - Bad Request (Request header too long)
We are facing an issue with our WHFB enrollment process. The ADFS server Windows Intergrated login process is throwing error: HTTP 400 - Bad Request (Request header too long). The issue is limited to one user at this point of time ADFS IDPinitiatedSignon page working on IE but not on Edge/Google Chrome with the above e...
Then IE is probably falling back to NTLM, which is bad in itself. The solution for IIS can be found on: https://support.microsoft.com/en-us/help/2020943/http-400-bad-request-request-header-too-long-response-to-http-request
0
1
3,133
2020-06-04T09:14:45.303
api_errors
serverfault.com
161,699
Help with DB Structure, vOD site
I have a video on demand style site that hosts series of videos under different modules . However with the way I have designed the database it is proving to be very slow. I have asked this question before and someone suggested indexing, but i cannot seem to get my head around it. But I would like someone to help with t...
Basically I load the entire database of 'Hits' into an array and count the hits in each day using the TS column. You want speed, De-normalize. This is one of those rare occasions when De-normalization is OK. to slow you site even a little bit for something as minor as hit counter is Crazy. So create a Table like such: ...
1
1
328
2012-08-21T10:05:36.170
database_errors
softwareengineering.stackexchange.com
1,125,756
How to disable automatic network connection on windows startup?
So in Linux you need to manually run some commands or write config files to connect to the network. Before these steps you can use the system perfectly fine without a connection. Is something like this possible on Windows 10? Currently, even if I haven't login yet I see a bunch of packets running somewhere. That is: is...
If you mean wired connection, there is nothing out of the box. But you could schedule scripts for that. One would disable connection on device start up, another would enable it on user sign-in or manually by running the script. The proper way to do this is actually not the device, but a network layer. For example, you ...
0
0
94
2023-03-09T14:35:10.230
infrastructure
serverfault.com
638,381
zabbix & configuration apache proxy header with headers
I wanted to implement checking a page that is available for the two data centers. However, web scenarios zabbixie 2.2.1 does not properly handle headers. I got the idea that it will use for the apache proxy, but I think I made some mistakes in the configuration. Below is the two files and vhosts hosts file First Datace...
This is typical use case for Zabbix 2.4 - custom headers in web monitoring - https://www.zabbix.com/documentation/2.4/manual/web_monitoring Do you have any serious reason to use Zabbix 2.2? IMHO you should to add: [CODE]
0
0
1,665
2014-10-20T17:25:59.547
infrastructure
serverfault.com
346,702
df showing wrong size on opensuse in brand new disk
I have just installed a new 2TB disk, but "df -h" shows only 1.8TB - total size, and 1.7TB of free space. I have not used the disk yet. I realized it after I ran "mke2fs -t ext4". Here are some output: [CODE] and: [CODE] Nothing is there, because I just ext4 formatted it. [CODE] Mount output: [CODE] I am running OpenSu...
For historical reasons, operating systems report disk sizes in binary units but use the notation for decimal units. When your operating system says "1.8TB", it actually means 1.8TiB and since 2TB is equal to 1.82TiB, that's exactly right. Your drive reports 2.000 trillion bytes. 1.8TiB is 1.979 trillion bytes.
0
2
1,065
2012-01-04T21:12:10.907
infrastructure
serverfault.com
108,233
Recommendations for tuning XGBoost Hyperparams?
XGBoost has quite a few hyperparameters to tune: max depth, min child weight, number of iterations, eta, gamma, percent of columns considered, and percent of samples considered. It's computationally infeasible to tune all of these simultaneously in a huge grid search. So, these must be done in some order. Do you have a...
The stepwise algorithm for XGBoost hyperparameter tuning is inspired by a similar algorithm for LightGBM explained in this post . The most commonly used and the most effective XGBoost parameters are split into 3 groups: [CODE] Initially, learning_rate and num_boost_round are fixed at 0.1 and 1000 respectively. Each of ...
2
5
4,408
2022-02-16T21:31:06.573
data_quality
datascience.stackexchange.com
1,000,081
Disable https when Nginx reverse proxy to IP address
I configured Nginx as a reverse proxy on my server for a site, say example.com I want the client to access my site using an IP address, something like [CODE] The problem is that there is a redirection on the example.com site setting HTTP to redirect to HTTPS. (This example.com using Cloudflare) When the client accesses...
I don't see the redirection in the code you have post in the question. It mean that the redirection is done on side example.com. Depends how is the redirection done. In case the redirection is done simply "http TCP/80 => https TCP/433" and no following checks you can try to proxy directly to https: [CODE] In case this ...
0
0
2,821
2020-01-23T11:09:00.753
infrastructure
serverfault.com
159,085
SQL Server help
I don't know much about SQL Server or MySQL. I have a web app and I had a friend help develop it so that it could be used to search my database. This database was created in SQL Server 2008 Express. It's only 3 GB. I know there are limitations on this version of SQL Server. I regret not developing for MySQL. Would I re...
Since cracked versions can have hidden viruses I recommend then you format the server completely and reinstall the OS and SQL server. As far as getting in trouble I wouldn't worry too much when you are trying to the right thing -- they give you 30 days to register the legitimate version anyways.
2
7
151
2010-07-09T20:44:26.870
database_errors
serverfault.com
697,091
Allow certain IP addresses to SSH
I want to allow only a few IP addresses for making SSH connection. I'm using CentOS 7 with firewalld and OpenSSH SSH client. How can I achieve this?
you can achieve by reading following: [CODE] (firewall-cmd - firewalld command line client) [CODE] (iptables/ip6tables — administration tool for IPv4/IPv6 packet filtering and NAT)
0
1
1,142
2015-06-06T13:27:37.537
infrastructure
serverfault.com
558,077
Finding out what causes CLOSE_WAIT connections with Apache & PHP & Mysql
First, here is a little bit of context. We have a custom built PHP application that runs under Apache and that supports our website. We are currently experiencing a high traffic on our website. Here is our current setup : - 10 linux web servers behind a load balancer (each server has 8 CPU's, 30Go RAM) - 1 linux mysql ...
I think you have a query that is locking a table/some rows that other mysql connections are trying to update for longer than it should. When that happens, all the incoming requests stack up behind it until you hit the max connections. The same is happening on the Apache side due the requests coming in and not having re...
5
7
6,836
2013-11-28T16:11:29.017
database_errors
serverfault.com
167,901
Which MySQL server parameters should be adjusted to improve INSERT performance for a large MyISAM table?
I have a MyISAM table with roughly 20M rows for which inserting 1000 rows takes about 40 seconds on the production server (Ubuntu 12.04, MySQL 5.6.35). On the test machine (Windows 8.1, MySQL 5.6.22), the same insert takes less than 1 second which seems a more reasonable timing for me. On the production server inserts ...
A long list of possible improvements: Turn off updating "atime" on the filesystem? [CODE] can be [CODE] since there is another index starting with that. This would decrease from 6 to 5 the number of indexes to update -- a small speedup. Toss any other indexes you are not using. Use [CODE] where appropriate. I doubt if ...
1
2
1,088
2017-03-22T16:54:14.030
api_errors
dba.stackexchange.com
235,984
read write permission in root of drive c: in windows XP
What is the best way to give all users of windows XP access to create/write to files in c: drive. I do not want those permissions to be inherited to all other folders on the same drive. This access is a requirement to get a business critical app to function.
[CODE] That will grant everyone the Modify right to the top of C:\ and cause it to inherit. To enable inheritance, use this version: [CODE] The OI and CI rights are what govern inheritance. If you're on Windows 7, it's similar. NOTE: the C - Change switch is now M - Modify in icacls. [CODE] icacls replaced cacls as of ...
3
4
3,883
2011-02-15T23:52:57.780
infrastructure
serverfault.com
15,102
Preventing Windows clients from polluting network shares with Thumbs.db
We have several network shares which store various photographs taken by our media department. Whenever someone on a Windows client is using explorer to go into one of these folders they are automatically polluted with a Thumbs.db file (if the user has write permissons). How do we stop them from doing this without revok...
In XP you can go into the View Tab in Folder Options (Tools | Folder Options in an Explorer window) and check Do not cache thumbnails. or Set this registry value to 1: [CODE] The registry tweak would obviously be easiest to deploy globally.
10
8
13,976
2009-05-29T20:26:57.373
infrastructure
serverfault.com
1,021,492
Upgraded to Debian 9.12, now have no network connection
When I upgraded my cloud server from Debian 8 to Debian 9.12, I lost all network connectivity. I can neither ping the server nor ping anything from the server. If I try to add a default gateway, I get [CODE] If I type [CODE] , I get an empty list There may be other obvious things I should try, but I am clearly not that...
It seems that during the upgrade process your network device got renamed. Change every occurrence of [CODE] to [CODE] in [CODE] , and it should get the IP address from the DHCP server.
3
6
1,679
2020-06-15T12:02:04.840
infrastructure
serverfault.com
1,130
Why would running ALTER TABLE on a column cause it to go from NOT NULL to NULL?
I am mass updating a SQL Server database. I am changing all our [CODE] columns to [CODE] (yes, SQL Server scripts were created from Oracle scripts) . Using SMO and C# (I am a sw engineer) , I managed to generate really nice scripts like SQL Server Management studio would. It all works very nicely except for one particu...
It depends on your setting of SET ANSI_NULL_DFLT_OFF or SET ANSI_NULL_DFLT_ON (read these for other effects too from SET ANSI_DEFAULTS). Personally, I'd have specified this constraint explicitly if I wanted null or non null columns rather than relying on environment settings. [CODE] You can issue this command again and...
8
11
469
2011-02-08T04:27:39.223
database_errors
dba.stackexchange.com
337,869
Git - Reason to forbid use of GUI Clients other than Git Bash\CMD
Is there any adequate reason for a manager to forbid the use of Git GUI Clients in a developer team. I was talking to a friend about - let's call Foo Git GUI Client - all the features and how i was able to speed up some tasks and he said that any client is forbidden by the managers in his company. Question is: Why ? A ...
No. There is no adequate reason for anyone to unilaterally forbid the use of a Git GUI client. Unless the company has a stated network policy for software installation that incidentally forbids the use of a GUI client, or provides an explicit rationale for forbidding the use of specific software, there is no reason to ...
1
9
469
2016-12-09T19:28:44.507
api_errors
softwareengineering.stackexchange.com
302,419
Change max_connections Postgresql
how i can change max_connections on Postgresql.conf without restart service Postgresql? Systemctl reload postgresql.service not work with this conf.
This has already been posted as a comment (by mustaccio), but to make it a clear answer, from the PostgreSQL documentation : This parameter can only be set at server start. In other words, you must restart PostgreSQL.
-2
1
4,571
2021-11-10T15:02:49.873
database_errors
dba.stackexchange.com
13,522
Is there a way to force Deferred Name Resolution even if the table exists when creating a stored procedure?
When creating a stored procedure in SQL Server, you are allowed to refer to tables which do not exist. But, if the table does exist then any column you refer to in the procedure must exist in that table ( Deferred Name Resolution ). Is it possible to instruct SQL Server to defer the name resolution of all tables refere...
No. I feel really guilty just typing that, but no, sadly. That's the first time I've heard of this use case, and it makes perfect sense. Best to submit a request for it on https://feedback.azure.com/forums/908035-sql-server and your grandchildren will be able to do it. ;-)
10
9
4,127
2012-02-20T23:11:14.570
database_errors
dba.stackexchange.com
13,294
docker mariadb access from remote
I created a docker container with docker-compose in my VPS and I want to access it from my local computer but the connection will refuse. also, I allowed the 3306 port in the VPS. my [CODE] file: [CODE] how may I access the MariaDB server from my local computer?
Check netstat -tlpn on the VPS, can you see 0.0.0.0:3306 or something like that? If so, check the firewall. Both the firewall in the operating system and the firewall from the VPS provider (if there is any). As a last resort (and not a bad idea) - you can connect to your VPS via VPN - there are good openvpn tutorials o...
0
1
731
2021-02-05T08:59:51.787
pipeline_ops
devops.stackexchange.com
685,898
any url rewrite rule causes internal server error on iis7
I have iis7 on a Windows server 2008 and iis url rewrite module 2 installed. Any url rewrite rule (in my case a simple canonical domain name rule) causes the webapp to return an error 500. In my case I have 4 domains mapped to the same web app and want to redirect 3 of the alternative domains to the main domain, after ...
I'm not sure about your error, but since no one else has tried an answer, and you have a problem to solve, I'll suggest a different way to accomplish your goal. Leave your main app only answering at the name you want people to use. Add a second web app that answers to the 3 names you want redirected. Configure this sit...
2
0
3,676
2015-04-27T15:17:42.540
api_errors
serverfault.com
817,214
Can't ping or traceroute through AWS IPSec VPN
My VPC is connected to my premises via IPSec VPN, tunnel is shown to be UP on AWS console. Things that work: I can see the traffic from my premises (subnet 192.168.0.0/16) to AWS VPC ( 10.0.0.0/16) on VPC flowlogs, marked as accepted. When I do a tcp dump of the ICMP traffic on terminal using [CODE] , I do see the ping...
It was actually the Static Route at the VPN Connections page - I had missed out the step to add a static route to route traffic of certain IPs through the VPN. For example, if the subnet at your premises uses IPs 173.112.0.0/16: Add 173.112.0.0/16 under 'IP Prefixes'. Note that the IP Prefixes column only accepts CIDR ...
4
1
12,125
2016-11-26T15:09:56.463
infrastructure
serverfault.com
809,067
Bash script: get real remote (mosh+ssh) IP
I'm using Mosh + GNU Screen for most of my remote work. I'm also moving to location during the week (with different IP addresses) and this setup keeps everything running like a charm. There is one wish I have. I'd like to have the ping speed from the server to the client as a value in the Screen statusbar. For this I w...
I'm found this works: [CODE] Last-command shows your 'current' remote ip.
1
0
408
2016-10-14T14:31:28.427
infrastructure
serverfault.com
1,019,894
->% 192.168.2.0 overlaps with FastEthernet0 / 0
I am working within the Cisco Packet Tracer platform. I made all the necessary configurations but when assigning an IP address to my router, I get the error message in title and I do not know how to fix it. Anyone have any ideas?
I'm doing my best to interpret that diagram, but I'm not exactly sure what the diagram is showing due to the labels being in inconsistent places. However: It looks like on [CODE] you have [CODE] assigned to [CODE] . That subnet consumes the IP addresses [CODE] You also looks like you have [CODE] in your diagram assigne...
0
1
12,160
2020-06-03T16:31:57.247
infrastructure
serverfault.com
351,894
linux + run script on other shell because script stuck - not return to linux prompt
In my Linux machine I have binary script (called transferNames.bin ) The problem is that when I run transferNames.bin with & script stuck and not returns to Linux prompt “#”, even if I wait 1 day or more ( so I cant continue work on my Linux because its stuck ) Example: [CODE] also diff way: [CODE] remark - transferNam...
I think that your script is expecting something from standard input like stew said and thus it is pausing when you launch it with & because when in background, standard input is closed by the shell. If you need to launch that script on the server and do something else with that shell or just shutdown your pc and go hom...
0
0
1,029
2012-01-20T13:39:45.980
infrastructure
serverfault.com
881,869
MySQL 5.7 Replication Error "Can't create database"
I've dumped a test database backup to a newly created test slave server, but I'm having trouble getting the replication moving. Since the dump, I've only added one record to the master database to attempt to kick off the replication. The error I'm getting on the slave is: [CODE] I've tried setting the GTID to the next ...
So in case anyone bumps into this, here's how I solved my issue: stop slave; reset master; set global GTID_PURGED="SET_THIS_TO_MY_MASTER_LAST_KNOWN_GTID"; you can find this out by running [CODE] show slave status\G For more information you can check out this helpful article: https://avdeo.com/2015/03/04/restoring-slave...
0
1
2,805
2017-11-04T21:45:52.323
database_errors
serverfault.com
306,088
Azure postgresql really slow compared to VM
I work with postgresql (and Postgis) for years now on a VM with dockers, and I start to be used to tweak servers parameters and optimize request, and I never had the kind of problems I have with Azure Postgresql. The problem is the following: writing is slow (usually around X2 compared to normal PG) but vacuum and inde...
Performance of disk on PostgreSQL Azure is tied to the size of the disk allocated. You get max 3 IOPS per GB, which for your size is 128G x 3 = 384 IOPS. Your SSD probably has 5,000 IOPS and low latency. To match that you would need to allocate ~ 1.7TB of disk. Give it a try.
5
1
2,994
2022-01-14T16:14:23.913
pipeline_ops
dba.stackexchange.com
887,890
delete shared folder connection on windows
We have an extern computer in our office and sometimes we need to connect it to some shared folders in our network. but afterwards we want to delete its connection. Right now we restart the machine, but I want to find out, if there is a more practical solution. My shared folder which I want to connect and remove afterw...
Try [CODE] . You'll have to remove all shares to a single computer/server in order to log on again ( [CODE] ). You can also use [CODE] to disconnect all shares from a client.
4
4
22,731
2017-12-13T11:08:39.103
infrastructure
serverfault.com
80,920
What does a blue empty cell mean [ ] in Anaconda if the cell above is still [*]?
I've been running a machine learning algorithm for two days now, I have a large dataset and a slow machine. I noticed today that the cell below the "fit model" cell turned from green to blue, however, the cell above (the one with fit) is still running [*]
The cell with [*] means it is currently running, you can queue other cells for execution but until this cell finishes they will not run. When it is empty [] it means you haven't run this cell.
2
0
215
2020-08-28T07:28:04.937
data_quality
datascience.stackexchange.com
570,381
Downside to high MaxCmds?
We recently moved a web site from an old windows 2003 machine to a windows 2008 machine. This web site loaded content over a network share into the web site (TBH this is a rubbish idea that we plan to be rid of once we get around to it). We noticed once the sites were deployed onto the new hardware that we were getting...
The only downside is the additional memory that it would require. You should reserve about 512mb of RAM for every 12000 MaxCmds that you allow. However, it would be a good idea to monitor the server's memory usage to make sure it isn't paging too much. If it is, you should reduce the MaxCmds in small increments until i...
1
2
1,412
2014-01-28T10:05:23.220
infrastructure
serverfault.com
160,077
Database ID of a non-existent database - time-out waiting for buffer latch on page appearing in error log
Background: I've recently started at a new shop with lots of databases in various states. I arrived this morning (having just been added to the SQL DBA mailing group) to find an email about the CHECKDB job failing last night on one of the servers (one I've been warned has been problematic). I won't dwell on the details...
This issue is a characteristic symptom of heavy I/O on the host. Perhaps there are multiple backups, DBCCs, and other "maintenance" activities happening on the SAN at that time. Work with your VMware guy to ensure the SQL Server VMs are using the PVSCSI adapter for the LUNs present in the VM. VMware's SQL Server Best P...
5
2
566
2017-01-05T15:28:05.617
data_quality
dba.stackexchange.com
15,421
Azure DevOps boards styles - Parent field empty
We аre trying to implement items on a board in Azure DevOps which are colored in case they have no "Parent" associated with them. Currently, we are struggling with the correct value clause here. We have tried different things like "does not contain" "*" or "[Any]" however this is not working. What would be the correct ...
According to the documentation ( Customize cards on a Kanban board ), you can use [CODE] only to show [CODE] : To show the Title of the parent work item, choose the Parent field. Choosing the Parent title from a card opens the parent work item. To change the parent work item, open the child work item and remove the lin...
1
0
905
2022-02-09T10:47:05.337
pipeline_ops
devops.stackexchange.com
243,245
Options and best practices for Multiple Result Sets in Postgres11
I want to get two (small) result sets and have the benefit of precompilation and 1 round trip to the database. SQL Server allows a stored procedure to contain multiple select statements. [CODE] When retrieving data from each result set, the client does something like: [CODE] What's the recommended way to do this in Pos...
The third solution is the best one if you want to save round trips and want to use prepared statements. If you use cursors, you'll get a round trip per fetch. When sending multiple statements in one call, you cannot have prepared statements. You cannot use a stored procedure. Putting two result sets into one with a joi...
3
2
1,816
2019-07-18T19:54:51.280
database_errors
dba.stackexchange.com
475,073
Linux DNS + Windows AD
I got Linux DNS server running years ago, and we're trying to add an Active Directory server on the network. The AD is congigured to have static IP, and a DNS A record pointed to it. [CODE] Now, as I try to join a client to it, it fails. If I use the domain name, xxxx...., it will fail completly, as it says it can't fi...
AD does not get a static IP address. Do you mean that your (presumably singular) domain controller has a static IP? It's not enough to create an A record for this, as AD requires many SRV (and other) records to function properly. While it is possible to manually create all of the needed entries, it is not a tenable sol...
0
2
1,615
2013-02-04T03:48:33.363
infrastructure
serverfault.com
167,314
External size of table still not released (as disk space) after issuing truncate command
In PostgreSQL 9.3.10 (Ubuntu 14.04 OS), I have a table called [CODE] whose size is as follows: [CODE] I understand that [CODE] is the size that related objects of this table (like indices) take. Upon issuing the command [CODE] , only [CODE] disk space was released (I checked right after, via [CODE] ). My two questions ...
I think with a truncate even without a [CODE] the space is released back to the OS. My guess is per the other question that you've got a backend process holding the underlying file open. Find out what the file is. [CODE] Find the data directory [CODE] Run truncate. See what's holding it open. [CODE] I think the most li...
2
2
2,849
2017-03-16T06:05:22.347
database_errors
dba.stackexchange.com
393,179
How do I set up lighttpd for x.509 client certificate authentication
So far I've had HTTPS working for a long time, so I don't think there are any trouble with the server certificates. Now I tried to add this to lighttpd.conf: [CODE] The lighttpd error log says this: [CODE] Firefox claims the following: [CODE] My goal is to replace username+passphrase with browser certificates, but I've...
[CODE] This means that Lighttpd is not telling the client which CAs are valid for client certificates. This usually means that the client will not send a client certificate (since it is not able to decide which certificate to use). It isn't very clear, but #1288 implies that the [CODE] directive is used to specify the ...
3
3
3,816
2012-05-27T21:05:11.943
api_errors
serverfault.com
173,097
openvz quota error on gentoo
My system is Gentoo amd64, with latest update. I emerged the latest openvz, and want to start a Ubuntu VPS on my system. I am using the 'basic' configuration file, and the quota options are set as default, as follow: [CODE] [CODE] [CODE] If I try to create a CT, I will get the following error message. [CODE] the system...
to answer to my own question...again i looked into openvz bugs, and i found people already reported similar issues. this issue relates to the ext4 file system. even through the openvz wiki states that it is already stable on ext4, but it does not seem so. to solve this issue, just turn off the 'disk quota' feature, by ...
0
0
615
2010-08-21T12:04:24.110
infrastructure
serverfault.com
93,143
SSIS Transaction Problem
I am trying to use SQL transaction with my SSIS package so if any error comes changes are rollback. I am using an "Sequence Container" in Control Flow for this and setting its "Transaction Option" to "Required". But it fails to execute the package and gives DTS error . (Everything is working fine if i remove the Data F...
Yes. You will need to configure all the servers involved with your process to be of DTC. When you use the native SSIS transaction capability, if the connection managers are entirely self contained, then behind the scenes a standard [CODE] are issued. When there are multiple servers involved, that's when the distributed...
1
1
1,132
2015-02-17T19:38:29.477
database_errors
dba.stackexchange.com
156,404
Get row value inside a subquery
I need to count days between dates. I have this query, that gets the date when an issue is resolved. The subquery selects the date when a issue is created. The problem is that the subquery the dates of all opened issues instead of getting the one that has the same [CODE] : [CODE] The expected result is: ╔═══╦══════════...
Your subquery is not correlated to the outer query, so it multiplies the rows by the number of rows it returns. Also, in my opinion, using the same table names multiple times without aliases at multiple query levels is bad practice, as it may cause some unexpected "surprises". Your query should be something like this: ...
1
5
49
2016-11-25T22:30:45.710
warehouse_errors
dba.stackexchange.com
895,232
php-mcrypt package missing from yum on AWS AMI
Seems like new versions of the Amazon AMI on EC2 don't have the php-mcrypt package available. How do I get it? [CODE] In general, how do I figure out how to solve "missing packages" problems like this?
I was able to install [CODE] following the suggestion on this page using EPEL for EL 7 into AWS release 2.0 (2017.12) Linux. This is an Amazon instance running Amazon Linux 2 (2017.12) which I tested with... [CODE] The people at amazon claim that AWS distro is not based specifically on any version of RedHat, so there i...
2
2
7,317
2018-02-01T19:09:16.933
infrastructure
serverfault.com
961,182
Need API to programmatically make website available on specific domain/subdomain
I have a platform/program running on SERVER_1 with registered domain e.g. example.com. Registered user can add some data and program will generate HTML pages (static website) according to that data. A user also defines the NAME of the website. GOAL is to upload these generated static websites on SERVER_2, so they have ...
Use nginx. Upload html files either via scp or sftp protocols. Amend that upload with a config file for nginx (separate file per each domain is standard for nginx). Then ssh to server and issue [CODE]
1
0
381
2019-04-02T20:37:08.750
infrastructure
serverfault.com
548,499
Trying to install datastax opscenter - Failed to load application: cannot import name _parse
I'm not familiar with python, maybe someone could explain what's going on here? [CODE] And now the error [CODE] Maybe there are open source alternatives to monitoring cassandra I should look at? Thanks a lot
The line causing the error is [CODE] . OpsCenter bundles a version of twisted with its distribution to ensure proper compatibility. It sounds like you have an incompatible version of twisted installed on the system that is being used instead. Edit: There's a known issue with Amazon Linux AMIs. In /user/share/opscenter/...
0
2
1,026
2013-10-24T21:42:06.427
pipeline_ops
serverfault.com
497,334
UltraESB throwing HTTP 503 or UnsupportedClassVersionError exception depeneding upon the JDK version
I am testing UltraESB 1.7.1 and have been following the quickstart guide in order to do this. Part of the quickstart is to send a message through UltraESB via these instructions . I have followed the instructions but keep getting a [CODE] error returned from Jetty. I had assumed that my issue was related to me running ...
Please follow the reply from AdroitLogic here [ https://getsatisfaction.com/adroitlogic/topics/unable_to_run_quickstart_error_503_service_unavailable_error_occurs]
0
0
260
2013-04-08T17:30:22.600
database_errors
serverfault.com
38,440
How to ensure mail delivery for our app?
We have a Rails app used for support & help tickets. It sends customers a confirmation email when they submit a request. It also sends an email when we reply to their request. It does not receive mail. Within the last week, 25%+ of our customers stopped getting their replies. They think we aren't replying to their tick...
This message is often to do with greylisting (particuarly with yahoo who seem to do it to everyone at some points). Basically the mail server temporarily defers your first mail, a legitimate email server will see this message, wait a period and then try again. Servers that are sending spam are often set to just send ou...
1
5
1,208
2009-07-09T16:42:41.863
infrastructure
serverfault.com
388,428
smbd won't start or stop when user is elevated to root by SUID bit
Under Ubuntu 12.04, I've written the following C program to help me shut down my server's apache2 and samba services while I run automated backups. Notice that in the Makefile I'm setting the SUID bit so that the program will have root privileges when run by the lowly user [CODE] . services.c: [CODE] Makefile: [CODE] H...
Just write this as a bash script, then grant your tmv user rights to execute the script using the NOPASSWD flag in sudo: The sudoers line would be something like: [CODE] Additionally, ensure that only root can modify that bash script.
1
3
175
2012-05-12T04:07:11.430
database_errors
serverfault.com
332,253
PostgreSQL - why doesn't it uses existing index where primary key is created?
IBM DB2 [CODE] It is just info, that existing index was used. POSTGRESQL [CODE] PostgreSQL created additional index for primary key. Why is this important? a) In many cases in explain I have seen if primary key is created then database uses primary key index for queries. But if I drop primary key then unique index and ...
PostgreSQL doesn't automatically use an existing unique index for the primary key; you have to do it yourself: [CODE] Of course, you could also not create the index in the first place, since a primary key will add its own index, as you see.
0
1
125
2023-10-18T06:58:03.390
database_errors
dba.stackexchange.com
338,569
How to sync 2 linux servers
I've got the problem that I don't know a lot about server administration and right now we've got 2 Servers behind a load balancer and I need to sync the [CODE] folders from apache. I think the biggest Problem is, i don't have root access the the Servers just a "normal" ssh-user and ftp. I hope you have got some ideas f...
You can simply use [CODE] such as: [CODE] Any of the [CODE] and [CODE] can be written as [CODE] if it is not on the local machine. This uses ssh by default. You don't need root access if the provided user has enough permissions on both servers to read and write the files/folders.
0
5
1,998
2011-12-07T15:02:32.387
infrastructure
serverfault.com
538,828
Dovecot-imapd won't install properly after purging
I have been trying to get a dovecot/postfix server up an running to serve e-mail for my start up business, and I too have fallen victim to poorly written, outdated guides. At first I installed Postfix and Dovecot, and selected an empty configuration thinking I'd configure it all myself. At a certain point I lost track ...
Purge [CODE] , and try again? Run [CODE] , make sure every dovecot package is purged. [CODE] , if you have already removed it, but not purged the files. Once you are sure all the dovecot packages are gone, make sure you delete the [CODE] directory that you tried to manually create. The [CODE] , and [CODE] belong to the...
2
6
5,989
2013-09-13T20:42:22.607
infrastructure
serverfault.com
558,710
Cannot log in into server by any user
I have got a strange problem with one of my servers. The server is running but I cannot log in into it by any user. I found that when I will reboot server it works for some time and then I cannot again log in into it. There is not anything in logs what could tell me what is wrong. Does anyone know what should I check e...
First you need to get into your system. It can be done with an [CODE] into your kernel boot parameters. After booting, you get a root shell without authentication, but nothing other. Second thing to do, is to make your system running (thus debuggable), while you have further your root shell. It can be done in two steps...
1
1
89
2013-12-02T17:06:07.777
infrastructure
serverfault.com
203,365
Subversion Command Line CLient with Windows Integrated Security?
We use a SVN repository hosted on a website, accessed via http. We use tortoise for normal operations and it works nicely. I never get asked for a password. Now, for automated processing, some SVN retrieves have to happen in a batch script - and the problem is that the only svn client that supports command line that I ...
Tortoise svn can be run on the command line, here are the tortoise docs on command line operation
2
0
294
2010-11-18T11:31:53.583
infrastructure
serverfault.com
166,930
Is ASP.NET MVC completely (and exclusively) based on conventions?
--TL;DR Is there a "Hello World!" ASP.NET MVC tutorial out there that doesn't rely on conventions and "stock" projects? Is it even possible to take advantage of the technology without reusing the default file structure, and start from a single "hello_world.asp" file or something (like in PHP)? Am I completely mistaken ...
EDIT: To summarise, I think understand where you're coming from - at first glance, the ASP.Net MVC framework seems to have (too) many parts, and it's difficult to start understanding it. Having said this, I'd argue that you're looking at this wrong. ASP.Net MVC is not a particularly heavy MVC framework (you should comp...
4
2
1,227
2012-10-01T13:54:56.653
spark_errors
softwareengineering.stackexchange.com
44,558
Showing the response time on a graph
I have several computing devices. I have used an algorithm to balance the load between these devices. There is a central coordinator which controls the load on each device and if one device is overloaded, it will transfer some load of overloaded device to a less-loaded device. I have considered the number of tasks on e...
You Can do one thing as per my knowledge take the difference Between two response times and plot them in a line graph which ever have the more deviation from the 0 line you can say they are taking more time
0
0
237
2019-01-25T11:37:36.823
data_quality
datascience.stackexchange.com
632,182
unable to install mongodb on ubuntu 13.04
I performed the first two steps of importing the public key, by: [CODE] then the second step was to list file for mongo; [CODE] then during the third step,i.e,while reloading the repository, its showing this error: [CODE] what is wrong?? Please help
You have a lock from another apt-get process that may be running or has died. To check if anything is running [CODE] If nothing is running remove the locks that might be there [CODE]
0
3
422
2014-09-29T18:41:14.813
database_errors
serverfault.com
393,529
Filter Zenoss Alerting Rules for certain Data Source only (or certain Data sources active only at a given time)
We're working to monitor a couple of services with Zenoss over SNMP and have implemented the SNMP part. We have configured data sources (to various OIDs) and thresholds for these values and hosts to monitor. For alerting rules, some of the data sources should be ignored/disabled at certain time intervals. Our current i...
I think event key is the way to work with this, at least we haven't found any better option. Schedules with alerting rules seem to be a bit more problematic but that's another story. Some details can be found at Zenoss Forums : Alerts rules with active periods
1
1
512
2012-05-29T09:14:11.933
pipeline_ops
serverfault.com
79,993
How to solve "Servlet error" when using database control in Oracle 12c?
When I want to use Oracle 12c GUI, I receive an error as written below: Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details. My browser is Google Chrome, and the firewall and antivirus are als...
Database control has been desupported in 12c. You need to use EM Express or EM Could Control
0
0
969
2014-10-12T14:58:20.270
pipeline_ops
dba.stackexchange.com
743
Dynamically updating resolvers listed in /etc/resolv.conf
I rent some Linux servers and the hosting company provides a set of eight DNS resolvers. The response speed varies from resolver to resolver and I periodically modify [CODE] to get the best performance. On two occasions I found one of my public websites was taking far too long to load and this was, in part, related to ...
Have you tried installing your own local caching named? Install BIND locally (caching only), and then let it query the DNS the way it was meant to (find delegations dynamically based on delegations). The just change resolv.conf to point to 127.0.0.1 and be done with it. Maybe throw one of your hosts IPs in there as a b...
3
2
1,157
2009-04-30T13:24:22.620
infrastructure
serverfault.com
833,333
Can't access LXC container network Proxmox 4.4
I am setting up an LXC container on a fresh install of Proxmox 4.4. My network setup is analagous to the one described in this post: network configuration (bridging) proxmox However, I still cannot access the container from the local network, and the container cannot ping to the outside. The container and the host can ...
I had the same problem with esxi 6.5. I fixed it this way: in the settings of the virtual switch, the Security tab, we set all values in Accept. And now everything works!
1
2
5,092
2017-02-18T03:01:33.990
pipeline_ops
serverfault.com
271,477
Auto-listing sub and sub-sub domains in Apache
Preamble At work, I'll be migrating our server from a WAMP box to a LAMP box and with my knowledge of Apache and wildcard domains, we're hoping to use client.ourtestserver.com instead of our current test.ourtestserver.com/client/project_id Of course, management wants the project_id in the URL for accounting, billing an...
Running [CODE] will list all VirtualHost and NameVirtualHosts for an apache configuration. However if you are using the wildcard feature, I believe the only authoritative source for this information is the DNS server for the "ourtestserver.com" zone. Of course, you can do analysis of the access logs, provided that you ...
1
1
277
2011-05-19T13:45:35.243
infrastructure
serverfault.com
775,947
Haproxy, Nginx Pretty Url not working
Hi I'm having trouble setting up pretty urls from nginx behind Haproxy. Haproxy.cfg [CODE] nginx.conf [CODE] /etc/nginx/sites-enabled/default [CODE] /usr/share/nginx/html/nginx.conf [CODE] I'm trying to do something like /terms to /terms.php and hide extension. I'm new to server setup stuff.. Any help would be apprecia...
There are a number of issues. The file [CODE] is the contents of a server block and is not currently complete enough to do anything useful. I would suggest that [CODE] contains the server block that is currently running your site. Look at this document for more on server blocks. The [CODE] block handles the static cont...
0
0
632
2016-05-10T19:16:46.213
infrastructure
serverfault.com