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
213,900
Function in JOIN on DISTINCT values executes for each row instead of distinct parameters
I'm JOINing function execution using some of the values from table, expecting that it will execute only as many times as there are unique sets of parameters, but instead it executes for each row. Function is set to [CODE] , but I also attempted [CODE] with no effect on execution time. I also did try to put it into SELE...
No. I don't think there is any execution node type in PostgreSQL where it executes the inner side of a correlated nested loop on the fly and then stores the results in a hash table for future use. It only uses a hash table for joins when it can enumerate all needed entries up front.
2
1
53
2018-08-02T12:29:41.373
database_errors
dba.stackexchange.com
38,393
Can't click a button
I have this code: I have a problem [CODE] . [CODE] And I receive this error: [CODE] Any ideas?
I'm not an expert in xPath, but my understanding is that [CODE] will lead you to the 20th element with Editează . In this case, it is already a link ( a tag). Therefore, [CODE] will try to find a link inside a link - which leads to a failure. Maybe only [CODE] will be enough.
1
0
378
2019-03-23T15:41:40.037
data_quality
sqa.stackexchange.com
452,875
Outlook 2010 hanging, 50GB PST file
One of my customers Outlook keeps hanging he is blaming our exchange server but i strongly suspect it is related to a 30GB and 20GB archive data pst files he has attached. We have hundreds of other customers and no one else complains so i dont believe its the exchange server. PST scanfix tool reported corruptions on th...
If Microsoft consider 5GB a large pst size what is their definition of 50GB of pst files? Likely among the line of "Idiotic". What is the actual limit of pst files that outlook can handle but remain stable? You will find that depending a lot on Hardware, too. Larger than 5gb lower than 50gb These days. Why does pst cor...
3
4
2,354
2012-11-28T06:01:04.617
data_quality
serverfault.com
1,112,781
send all traffic from Wiregurad to GRE Tunnel
I'm new in the Linux world so I don't know how to do the IPtable configs. my scenario is like this: I have a MikroTik and an UBUNTU Linux server. I created a GRE Tunnel between them and it works well. I also created a Wireguard on my Linux server and I can connect to it from my windows PC. all I want now is to send all...
As far as I read the question you have the following setup: [CODE] And you want to be able to connect to the Mikrotik server from you Windows machine? It is not particularly hard, since all you have to know about is [CODE] . In a nutshell what you need todo is creating two routes. One route telling Windows which host i...
0
0
830
2022-10-11T08:25:19.587
infrastructure
serverfault.com
1,065,428
Dockerfile Works Locally But Fails on EB (Elastic Beanstalk) Deploy (PHP 7.3 with OCI8 extension)
Good day, fellow developers! I have been searching for 2 weeks now on how to install the [CODE] on Elastic Beanstalk using [CODE] but sadly I can't search for similar ones. Before I arrived at the conclusion to use [CODE] , I tried the Docker approach first. I created an image with OCI8 PHP extension and Oracle Instant...
We have been able to install oci8 and oracle client using .ebextensions. We created 2 config files, one for the oracle stuff: [CODE] And the second for the oci8 module [CODE] It's probably not perfect but it's work for us! Regards, Eric
0
0
153
2021-06-02T12:08:26.520
pipeline_ops
serverfault.com
12,262
Will the DNS Forward Lookup Zone recreate itself if I delete it?
Here is my situation: I have inherited a Windows 2003 domain with only 1 domain controller, we'll call it DC1. DC1 is also the DNS, DHCP and Exchange server for this organization. DC1 was originally a Small Business Server but was upgraded to Server 2003 Standard at some point. There used to be a second domain controll...
I already have DNS scavenging turned on, but it never seems to clean up any of the references to DC2, the domain controller and DNS server that failed some time ago. You need to enable scavenging both at the server level and at the Domain level. Check properties of both to enable scavenging or delete the specific recor...
3
2
20,289
2009-05-26T14:30:25.557
pipeline_ops
serverfault.com
1,044,308
ufw deny from ip doesn't work
I know that I should setup fail2ban but at the moment I want to deny access from one IP address and tried the following ufw command: [CODE] Here's the output of ufw status (with the ip blocked out): [CODE] I see the rule has been added and the firewall is active, but I'm still seeing connection from that ip: [CODE] ret...
Fail2ban would also not help you if your firewall/net-filter sub-system doesn't work properly (just because it would also use that by banning). Back to the question - you should check your ufw configuration (also in low-level filter, so its backend iptables/nftables). See https://github.com/fail2ban/fail2ban/issues/254...
3
0
1,034
2020-11-29T10:48:02.960
infrastructure
serverfault.com
50,650
How to test data retention policy and cron job for deleting old data?
There are some retention policies for the data that my company uses. For different types of data, we have different rules and these different types of data and files are used in different microservices and databases. For example : file type "A" should get deleted after 30 days, file type "B" should get deleted after 10...
Right now, the way the question reads, it sounds like the OP wants one cron job to handle the file deletion. In this scenario, you're not really testing a cron job, but ensuring the files get deleted. Cron jobs have been around a long time and tend to just work if setup correctly. They run whatever you want at a specif...
2
1
193
2022-10-20T10:38:49.947
data_quality
sqa.stackexchange.com
560,970
Copy data through SSH tunnel over multiple hops
We have two main environments in question: Development and QA Each environment has two servers: Jump Box Application server In order to connect to the application server, you must connect to the jump box first, and then SSH to the Application server. There are a few rules in place courtesy of the firewall: You MUST con...
By far, the easiest way is to just copy it via scp. Plus, this syntax actually works unlike some of the other suggestions. You can't beat this syntax for ease. It allows you to recursively copy, rsync or what ever you'd like without the hassle of considering potentially complex pipes. This syntax is intuitively clear, ...
16
19
17,809
2013-12-12T16:56:00.720
infrastructure
serverfault.com
790,748
Cannot promote Windows Server 2012 R2 to Domain Controller at a new site. "The wizard cannot gain access to the list of domains in the forest."
I'm opening a new site (physical and logical) in my international Windows domain. The site is connected to the main office by a VPN over a slow connection (I'm using pfsense as my main router and ClearOS as my VPN manager, which is the same setup I use at all my sites). I can't do anything about improving the connectio...
You may have better luck promoting to DC from media, as described in this MS TechNet article Basically, you will move all necessary data in one go with a packed file, instead of establishing all those connections over your high latency connections. After promotion there will be need of regular replication, which will b...
3
3
10,147
2016-07-19T17:53:44.397
infrastructure
serverfault.com
16,944
PageIOLatch_Sh waits noticed after tuning an index
Lately, a lot of queries to the database are timing out. While investigating I found that queries are in the suspended state with wait_type as PageIOLatch_Sh. I have not noticed so many queries being suspended before on the server. This has been happening for the since Saturday. A couple of weeks ago, the cpu on the db...
From the background information you have provided it sounds like you have moved the contention point on your server from CPU to IO, as a result of implementing an indexing strategy targeted at specific troublesome queries. For the most part (without getting into the specifics of what exactly your indexing strategy is) ...
4
5
5,961
2012-04-24T08:51:10.477
database_errors
dba.stackexchange.com
367,670
Reconfiguring data directories in an existing Cassandra node
I'm currently running a very simple single-node Cassandra box with the data files on a single disk. I'm about to add a couple of SSDs to the box and intend to add each SSD as another data directory to the cassandra.yaml file. If I stop Cassandra, install the SSD's, move the data files from the (current) mechanical driv...
In the newer versions of Cassandra (since v1.1.0 IIRC) you can choose where individual column families are stored on disk - so yes you can spread the load of specific column families (and the transaction log) out across your SSDs. If you are adding the SSDs behind a RAID layer (say raid 0 striping - cassandra writes in...
2
1
2,358
2012-03-08T15:33:00.797
database_errors
serverfault.com
248,601
Reliably Preserve Active Directory Domain Communication between servers on EC2 with Instance stops/starts
Is there a way to reliably keep Windows Server domain member servers talking to domain controllers on Amazon EC2 if the instances are stopped/started? We have a number of testing servers on EC2 that are joined to Active Directory domains. Right now the way I have these working is that they all belong to the same securi...
I've not done this in EC2 but is there no way to reserve a private IP? The key here is to focus on a way for the server to get the same IP. It's not a AD DC issue, it's a DNS server issue. DNS servers by their very nature should not change IP's. Technically if you had DNS on one box with static IP and AD DC on another ...
1
2
414
2011-03-17T14:43:23.463
database_errors
serverfault.com
371,719
windows firewall - how much delay introduce, how safe to turn off?
I have a server that used for high-frequency trading. That means that even 0.1 ms is important. I have up to 10 MBit/s data traffic. I need certain UDP ports to be opened because I receive data via multicast. Now I don't know what should I do: just open ports that I need in Windows firewall and be secured but slow just...
You must test for yourself as there are a lot of variables which can effect it. Setting Windows firewall to "off" does not really turn it off. Elements of it still run and can still create substantial performance bottlenecks. To truly disable it, and thereby eliminate all of the latency it adds, you must disable it and...
-1
1
2,473
2012-03-20T20:32:10.850
infrastructure
serverfault.com
704,745
Configuring dovecot and postfix ssl setting by jks file
I have CA JKS (Java Keystore) file which the CA bundle was added to it completely and we don't have any problem with java stuffs. Now how may I export/manipulate, keys and required stuffs for setting up the dovecot and postfix ssl settings (with ca) from this JKS file? In CA manage section, I would have pem(for all my ...
Both Postfix and Dovecot use Certificate-Key pair that has same format with Apache Certificate-Key pair. Because of that, you can steal use solution from this thread: Converting a Java Keystore into PEM Format . Convert it pkcs12 format [CODE] To extract the certificate: [CODE] To extract the private key: [CODE] The la...
1
3
477
2015-07-09T21:44:43.537
infrastructure
serverfault.com
183,670
How can I avoid mistakes using the same variable name again?
This isn't a rare case and occurs with me often and I spent countless time trying to debug the code. Latest example, this PHP code where I used [CODE] for the parameter and for object as well. [CODE] It was throwing an error, [CODE] expects parameter 1 to be an string object given and it was really frustrating to brows...
One good aspect of modern programming languages is that you can have large variable names. In Object oriented programming, which you are utilising, Java conventions are quite popular. So it would be better to have a descriptive name for the Zend_Mail object, such as [CODE] In the beginning it will consume a bit more ti...
5
13
2,389
2013-01-15T14:10:39.323
api_errors
softwareengineering.stackexchange.com
273,838
How to make multiple right joins in one single command for different child tables?
On the followin image you see 3 tables: A, B , C. A: Is the table that holds the foreign keys from B and C If I do a right join between A and B on that foreign key, it works, meaning I get the data from column fooB. Same between A and C with fooC. But If I put both right joins under the same command it fails with null ...
What you want is an INNER JOIN. To exclude rows, you can use the normal WHERE clause or do it in the ON clause Schema (MySQL v8.0) Query #1 [CODE] View on DB Fiddle
1
1
1,312
2020-08-16T21:28:06.437
pipeline_ops
dba.stackexchange.com
773,217
Asterisk: How to enable the HTTPS mini server?
I am attempting to enable the HTTPS mini server in Asterisk with little luck. Here is my http.conf: [CODE] From the Asterisk terminal I can see the http server is running, but not the https server: [CODE] Strangely, not setting an address for [CODE] gives me [CODE] and it's not listening on any ports. I am not seeing a...
The path to your tlscertfile should not be enclosed between Those symbols mean that this value is optional.
1
1
7,967
2016-04-27T09:08:14.523
infrastructure
serverfault.com
329,983
Is ROLLBACK; on error automatic in a basic PostgreSQL DDL script (BEGIN; <STATEMENTS;> COMMIT;)?
I want to run numerous statements in an atomic transaction on a Postgres database. Is it sufficient to put [CODE] at the start of the script and [CODE] at the end of the script? I want to ensure that if an error occurs during the transaction, it's automatically rolled back. For example, I have the script test.sql: [COD...
I tested this question on a Postgres database (version 12.44). I created the file test.sql (same as in the question): [CODE] This was the output from CLI. [CODE] Then I double-checked that the table wasn't created. [CODE] In conclusion, putting [CODE] at the start of the script and [CODE] at the end of the script is su...
-1
2
653
2023-08-04T17:40:44.670
database_errors
dba.stackexchange.com
223,187
Microsoft SQL Server v13 bulk add users from active directory
I would like to import all users from Active Directory into Security/Users. What I do is the following: Go to Security -> Users Right click Users -> New User... User type: Windows user, click on '...' at User Name Define object type to User and location to my Active Directory one Click on Find Now Now I can see all use...
Am I missing something? Am I doing something wrong? It's unusual to add a large number of individual active directory logins to a SQL Server. Instead add logins for Active Directory Groups to take care of most of your users. See, eg: https://stackoverflow.com/questions/5029014/how-to-add-active-directory-user-group-as-...
1
2
348
2018-11-22T09:32:19.197
database_errors
dba.stackexchange.com
980,463
Unable to build initscripts package
I have some patches that I added in spec files and after adding those patches I am unable to build the rpm package. [CODE] My spec file is as below for the rpm package: [CODE] Could someone help here?
Look at the end of your spec file. It has several lines beginning with [CODE] . But because these appear in the [CODE] section of the spec file, they are interpreted as file paths, and such paths do not exist. Patches need to be specified above, in the section containing all the other patches, after [CODE] .
0
1
243
2019-08-23T14:03:07.347
infrastructure
serverfault.com
1,059,282
Apache SSL Proxy Pass not working, but it does with VirtualBox NAT port forwarding
I configurated Apache proxy pass on port 80 and 443. Port 80 works but it seems that for 443 I do not get any response. From my public ip I got no response from server. This are the virtual host configuration I got in file [CODE] This works as expected [CODE] This does not work. [CODE] But for testing purposes, I set a...
I found the problem. The configuration was ok but I checked what ports were open and [CODE] - Apache was not listening on TCP Port 443 and the firewall was blocking connections on that port. Added rule to firewall to open that port and I added a line in [CODE] file at the beginning of the file listen 443 And the proble...
1
0
609
2021-04-03T20:22:24.150
infrastructure
serverfault.com
1,020,825
What's so good about having a job queue?
I am currently building an API that sends transactional emails to users. I do this with a job queue, bull in particular. During development, something crossed my mind; where are these jobs actually executed? Currently, I send these jobs through bull to a redis database running in a docker container on my computer. My f...
Job queues are for recording work items. Working the queue may optionally be done by threads separate from the rest of the application. Which is useful for async processing in the background, taking advantage of multiple CPUs. Also useful is durability. If emails queued to go out still need to happen after the applicat...
0
0
351
2020-06-10T08:55:47.703
pipeline_ops
serverfault.com
480,040
Messages being bounced (postfix & gmail mail servers)
Sometimes. It's very confusing. We have a service and you get a confirmation e-mail with a link to confirm your account, etc. If a user is sending an e-mail from one of their own domains; like moo@moohouse.com or james@bigjamesdean.com or lol@laughterhouse.net then it always reports that it can't find them, or the user...
I ended up altering postfix to use TLS and that ultimately solved the problem.
0
0
839
2013-02-18T19:19:31.960
infrastructure
serverfault.com
121,396
Mysql (Ver 14.14/Redhat): is a new column with default values efficient on column creation?
I want to add a new column to my production database. I would like to add a default value in order to prevent all the [CODE] business in all my queries (both new and old). What order of [CODE] -time penalty will I pay? I would ASSUME and HOPE that MySql would be smart enough to not actually fill in the default values f...
You're using mysql 5.1, This means the only engines you'll have available are MyISAM or innodb. in both cases adding a new column, regardless of nullability will require a complete, blocking, table rebuild during alter table. You maybe be able to use the pt-online-schema change tool that does some tricks to rebuild the...
1
2
195
2015-11-17T23:01:40.280
database_errors
dba.stackexchange.com
424,863
Sync customers between shop and CRM-system (two-way)
I have a shop system that is based on a MySQL database and over which I have full control. On this system runs my synchronization plugin. And then there is an external CRM system with a fixed API. This API allows reading and writing of customers. When reading, I can specify a UTC timestamp and it will provide me with a...
If the CRM system does not provide a mechanism for safe concurrent updates, you can't do concurrent updates safely. Period. That said, your options are basically to decide on a single source of truth, or synchronize bidirectionally with very short windows of differing data in the two systems. The single source of truth...
0
1
101
2021-03-27T21:48:11.883
database_errors
softwareengineering.stackexchange.com
1,069,974
Rebuilding an inactive RAID5
I have a 7 x 14TB RAID5 in my workstation with Centos 7. Last week one of the drives was marked as faulty by SMART (/dev/sde). I used mdadm to mark this drive as faulty and to remove it from the array and ... long story short... I ended up pulling out the wrong drive! Now I have Centos in emergency mode (my operating s...
I was able to solve this by running: [CODE] Which restored my array in a degraded state with 6/7 drives. It did not work without the --force option. I guess I was lucky there weren't so many event count differences between /dev/sdh and the rest. Afterwards was able to add the new disk to the array with: [CODE] After 49...
2
0
1,854
2021-07-18T18:48:58.443
infrastructure
serverfault.com
303,563
Query Store takes a very long time to load duration
I'm running Query Store to make a DB perform better. It's been working fine until now.. When i try to load the Top durations of last day it took me 26 min to load the screen. The SQL version im running is: Microsoft SQL Server 2017 (RTM-CU27) (KB5006944) - 14.0.3421.10 (X64) Oct 14 2021 00:47:52 Copyright (C) 2017 Micr...
The core problem is that the T-SQL code that drives the SSMS GUI reports is not efficient. Unfortunately, Microsoft has a long history of including inefficient T-SQL in parts of SSMS. The problem is further compounded by the query store data model and the code that makes up the DMVs. There are unusual performance gotch...
4
5
1,620
2021-12-06T10:26:24.507
database_errors
dba.stackexchange.com
541,305
Multiple $TTL statements in bind DNS zone file
I'm using a socks proxy to connect to servers using another application. The proxy, which runs on Solaris 10. The server hosting the proxy is configured to use our own internal DNS server (bind) to resolve internal hostnames. Sometimes, we need to change the IP address of our internal servers, and for some reason it ca...
http://ipamworldwide.com/index.php?option=com_content&view=article&id=88:bind-zone-file-directives&catid=48:dns-isc The verbiage on the above site seems to imply that the TTL will be applied to any records following the $TTL directive (that don't have an explicit TTL in the record).
2
2
6,961
2013-09-24T14:16:02.537
infrastructure
serverfault.com
352,924
BIND not reading /etc/hosts on MacOSX Lion
With BIND (named) enabled on an OS-X Lion iMac, DNS lookups look at /etc/hosts only after checking with BIND and hence I can't override addresses using the hosts file. BIND does not even seem to access /etc/hosts (or /etc/resolv.conf) as far as I can see (using dtruss and from the sandbox log) so it must be some other ...
BIND does not consult /etc/hosts. In Unix/Linux this is handled by the name service switch (nsswitch), which typically consults hosts and then DNS. In Mac OS X this is handled by Directory Services. You may want to flush the DS cache if you're having issues. Check the [CODE] pages for [CODE] and [CODE] .
0
4
1,818
2012-01-24T00:00:21.810
infrastructure
serverfault.com
627,046
Installing Graylog2 with puppet
I have manged to install Graylog2 from scratch by downloading all the DEB files and making the configurations. Now I try to install Graylog2 with the help of puppet in an environment and had no luck so far. I am using elasticsearch/elasticsearch and graylog/graylog from the forge. This is my configuration so far: [CODE...
You need to use elastic search version elasticsearch-0.90.10 they say it is compatible with elasticsearch-1.3.2 in the changelog but I had the same error as you using the newer elasticsearch
1
2
1,754
2014-09-08T16:05:13.163
database_errors
serverfault.com
166,219
Find and print the total number of menu items and the average price of the menu items for each restaurant
For this, I have the query: [CODE] It generates this result: [CODE] So, it is displaying the correct average, however, it has picked ALL menu items I added to the table instead of just for each individual restaurant, as well as counting all of the items. It also is only displaying one of the three restaurants I inserte...
You are missing GROUP BY: [CODE]
0
1
173
2017-03-04T22:35:30.280
warehouse_errors
dba.stackexchange.com
596,622
Sending logs to remote server with rsyslog
I'm trying to setup centralized logging with Logstash, Elasticsearch and Kibana and am having trouble getting logs to my log server. Logstash is listening on TCP 5000 and is successfully receiving logs from one of my servers but not the rest. I can telnet to my log server on 5000 and Logstash is picking up the messages...
SELinux was blocking rsyslog from sending on port 5000. By default SELinux only allowes rsyslog to send traffic on UDP 514. I added an exception to SELinux with: [CODE]
2
1
2,717
2014-05-16T21:01:04.130
database_errors
serverfault.com
336,134
"ImportError: No module named flask" - Trouble with nginx + uWSGI + Flask in a virtualenv setup
I got nginx + uWSGI running on localhost inside a virtualenv with a simple hello world program, but I get this error when I replace the hello world with a simple Flask app: [CODE] Here's the flask app (wsgi_configuration_module.py): [CODE] uWSGI config (app_conf.xml): [CODE] nginx config: [CODE] virtualenv stored in ~/...
Just add path to your virtual env to [CODE] in uwsgi's app_conf.xml file. eg: [CODE]
6
5
11,114
2011-11-30T09:35:38.950
infrastructure
serverfault.com
332,224
How should a lexer deal with multi-line statements(eg. Functions definitions, Control-Flow statements)?
tl;dr-ers: How does a lexer normally deal with none-inline statements. statements that do not end with a specified statement delimiter. Such as control flow statements? I believe that I have a fairly good grasp on lexical analysis, and can move on in my quest for understanding lexers/parsers. I do however, understand h...
As you've already conjectured, this is not the lexer's job. It doesn't trade in terms of statements, declarations and definitions but in much more low-level entities called tokens . For example, for the following C function, [CODE] the lexer would produce the following sequence of tokens. keyword [CODE] keyword [CODE] ...
5
8
1,470
2016-09-28T02:03:07.120
api_errors
softwareengineering.stackexchange.com
180,058
What is an example of an extproc.ora file?
What do the contents of [CODE] file look like? I'm aware that my [CODE] file is missing, and I'd like to create one in it's absence. The instructions here tell me to: Configure the Oracle extproc.ora to point to the location of the ST_Geometry library file. Make a backup copy of the extproc.ora file on the Oracle serve...
C:\oraclexe\app\oracle\product\11.2.0\server\hs\admin Frankly, I never got my homemade [CODE] working with the [CODE] library: The [CODE] file contains this text: [CODE] [CODE] Error: [CODE] However, instead of using [CODE] , I just took a shortcut by placing the [CODE] library file directly in the Oracle [CODE] folder...
1
0
5,523
2017-07-17T19:59:45.793
database_errors
dba.stackexchange.com
993,090
Finding netid in CIDR
I am practicing questions related to CIDR and I have come across a particular question which I need some explanation. Can somebody please explain in detail how to answer this question. An address space, allocated to a site via CIDR, extends from [CODE] to [CODE] . What is the netid of the site network indicated by the ...
For your address You can have 512 address in your subnet.. Your address ranging from 110.45.232.0 to 110.45.233.255 Your subnet mask will be 255.255.254.0 Answer is 110.45.232.0/23 (C) Always find the IP Address range, Check for its classes.. Convert the subnet mask into binaries
0
1
218
2019-11-24T11:16:51.180
infrastructure
serverfault.com
961,105
Nginx location directive
I have a [CODE] file existing in [CODE] similar to the below [CODE] [CODE] exists in [CODE] however when my URI to the server is [CODE] I am getting a 404 error.
The path in the URL request is appended to the filesystem path in the [CODE] directive, and the result is the path which is used to find the file. In the case you illustrated, this results in: [CODE] So, you must either place your files there, or change the URL path, or change the path in the [CODE] directive.
2
2
151
2019-04-02T13:29:01.480
infrastructure
serverfault.com
227,338
Mysql disaster recovery
We just got a major disaster: somebody made an uncontrolled update on the production database, and obviously, the backup process is not working since a long time, so we got a major data loss. A 40 millions rows table is now full of garbage. Does anybody has an idea to restore the data? For example, a tool using filesys...
2 hours and no answers? I think that could just be because nobody is willing to break the news to you. Do you have a good copy of the data anywhere at all (even one that's a month or two old)? If no, then you're SOL I'm afraid. You've made some allusions to a synchronised copy of the database, so if the synchronisation...
5
4
792
2011-01-26T20:18:08.913
database_errors
serverfault.com
7,296
Simple Implementation of SQL Server 2008 Encryption
I am looking at using some of SQL Server 2008's encryption. I have read the following article on MSDN: http://msdn.microsoft.com/en-us/library/ms179331.aspx Q1a: Is the master key password created per DB instance? [CODE] Q1b : If I create a master key password on Server1 and encrypt a column on a table. When I backup t...
Q1a: Is the master key password created per DB instance? A1a: Assuming the question really means " Is the master key created per DB?" " then answer is Yes. Each DB has an different master key. there is also a thing called the service master key , which is per SQL Server instance. Q1b: When I backup that DB (.bak) will ...
3
8
1,970
2011-10-27T02:08:56.110
database_errors
dba.stackexchange.com
12,516
why is "docker run" used to connect to redis?
Trying to understand what's happening here: [CODE] I can see how to spin up the community version of [CODE] , I only added the [CODE] network. But why is the connection with [CODE] rather than [CODE] ?
In short, [CODE] is used to operate an already-running container, while [CODE] starts a new container interactively. When you ran [CODE] you created a 2nd container, this time using the [CODE] image, which was used to query your running [CODE] container. Were you to repeat the steps you took, and then open another term...
0
2
110
2020-09-29T00:37:55.970
database_errors
devops.stackexchange.com
518,949
How does The Pirate Bay mask itself from its VPS providers?
From https://torrentfreak.com/pirate-bay-moves-to-the-cloud-becomes-raid-proof-121017/ The hosting providers have no idea that they’re hosting The Pirate Bay, and even in the event they found out it would be impossible for them to gather data on the users. How do they achieve that? Specifically, I'm interested in the V...
The VM only sees what comes out of their load balancer. They don't let anything they don't want their provider to see come out of their load balancer. The article you linked explains this. For example, they don't want their VPS provider to see the source IP address of queries they receive. So they make sure this inform...
-2
1
986
2013-06-27T07:51:17.587
infrastructure
serverfault.com
1,040,140
AWS Patching across several OS's
I have been tasked with setting up patching and automation for a little over 100 servers with a mix of various flavors of linux, and some windows as well. Keep in mind, that this project was dumped on me and i am having to self teach AWS as I go, so if there are some major gaps in my knowledge, that is why, and I apolo...
You can use Systems Manager for many of these tasks. There's already "documents" defined for keeping a patch baseline on EC2 instances with both Windows and Linux and you can define your own as needed as well. It's definitely worth a look. You should check that all your instances (that you intend to manage) have the SS...
3
1
55
2020-10-26T20:46:40.070
infrastructure
serverfault.com
1,010,099
nginx location regex directive doesn't fire
I'm trying a simple [CODE] directive in my nginx config, and it doesn't seem to be working all that well; I want to ensure that all requests to a local css or js file have an expires header, so I added the following to my server block (shown below). Am I missing something? The [CODE] location block correctly works (and...
The [CODE] block is a prefix location , and the [CODE] operator causes it to take precedence over regular expression locations. See this document for details. This is exactly the behaviour you need, because URIs that begin with [CODE] require a different document root to be set. To define special headers for URIs that ...
1
0
352
2020-03-30T15:06:35.393
infrastructure
serverfault.com
148,654
Protecting Windows SMTP service against the spam
I'm trying to use a Windows SMTP service on Windows Server 2008, but I can't understand how to secure it. Basically, if I keep Connection and Relay settings of SMTP Virtual Server to "All except the list below" (with an empty list), a few minutes later I see spam appearing in Queue directory. Now, if I set Connection o...
not exactly what you're looking for but you can always use built-in firewall and limit tcp/25 connections only to the local network.
0
0
195
2010-06-06T09:20:34.097
infrastructure
serverfault.com
598,003
Nginx as a proxy for tomcat with subdirectory
I want to set up a Nginx Proxy for the Tomcat server with my domain name such as [CODE] Here is my Nginx [CODE] configuration [CODE] I encountered 2 problems here: The First Problem : if [CODE] contains a static page [CODE] , it works with URL: example.com/demo/app1/ but not works with URL: example.com/demo/app1 Why I ...
I think you added something [CODE] extra in your config settings... Look at this line: [CODE] you need to remove the trailing slash and it should work fine. like this: [CODE] try it out and see if things go fine!! Update#1 I just noticed that you have another mistake "same typo" in your [CODE] remove the 2nd slash and ...
1
2
20,232
2014-05-23T06:13:57.270
infrastructure
serverfault.com
642,230
Recover organisational information from SSL cert / key
I am administering an RHEL 6.6 server which I inherited from an admin the company no longer has contact with. I need to replace the SSL cert, for which some information regarding the physical organisation is needed: [CODE] Given the extant SSL cert or key, how might I recover the organisational information used? I'm no...
You should be able to get the correct info by using this command: (note that you'll want to use the CSR, and not the CRT) [CODE] Towards the top of the output you'll see the Subject information. Example: [CODE]
2
2
219
2014-11-05T15:16:49.580
api_errors
serverfault.com
277,629
MS SQL New Publication Wizard - Unable to connect to server 'Server Name'
I am trying to create a new publication. SQL Standard 2008 windows 2008 r2. I am logged into the sql server management studio on the server that sql is installed. I have logged into the sql server using the computer name. I right click on local publications under the replication folder and select new publication. It sa...
If you are using SSMS and specifying anything but what @@servername returns on the server as your connection string, that's your problem. Maybe you've put in a port number, using a DNS alias for the server or anything else like that. RMO (replication management objects, the technology that SSMS is using for the new pub...
0
1
2,370
2011-06-06T22:02:00.950
database_errors
serverfault.com
267,351
Is it Okay for mysql to hit 59% without no query running in my site?
Please I need some little help from you guys. I have a VPS I bought since 2018 and since then one of the most difficult thing i have been facing is high load on my SQL, but i guess that was due to my big database of 1GB size. my vps spec is 16GB RAM & 6 cores. Recently I have sold the site and deleted the 1GB database ...
With nothing running, mysqld will use 0% of CPU, therefore you must have something running. Enable general log, that will show you exactly what it's doing. And 1GB isn't a particularly big database.
1
0
54
2020-05-18T00:59:58.087
database_errors
dba.stackexchange.com
16,510
Unable to perform data driven test using Apache POI
The line marked in star is giving error when the test is run in TestNG Guys tell me what am I doing wrong in this. I have attached the excel with 3 rows and 3 columns in 1st sheet. Data lib code- [CODE] Script Code- [CODE] }
In excel sheet always start with 0-column and 0-row and index 0 as well. Change [CODE] to [CODE]
1
3
332
2016-01-14T06:14:46.097
data_quality
sqa.stackexchange.com
334,300
optimize SELECT MAX() with GROUP BY in Postgres?
I'm trying to speed up the following query in postgres: [CODE] the [CODE] is as such: [CODE] The DDL for the table is as such: [CODE] and finally, the [CODE] : [CODE] As you can see, even with a btree index, the operation still takes 7.6 seconds, most of which is spent in the parallel index only scan. I'm kinda at a lo...
Unfortunately postgres does not implement (yet) the index scan type you need to optimize this query automatically, so it will scan the whole index. It is capable of using an index on (a,b) to optimize "max(b) WHERE a=..." and also "WHERE a=... ORDER BY b DESC LIMIT 1" which returns the entire row with highest value of ...
2
3
114
2023-12-23T03:05:33.220
warehouse_errors
dba.stackexchange.com
158,481
Display Fusion & SQL Server Management Studio 2008
When opening SQL Server Management Studio 2008 using Display Fusion on Windows 7 with multi-monitor, the software opens, but doesn't display the 'New Server Connection' window, and then I can't close SSMS apart from ending the task on Windows Task Manager. Has anyone encountered this problem before, and how can I resol...
I've worked out what the problem is here. The connection dialog window does appear, but its off screen (at the top). So by unplugging the monitor cable (so you're running on one monitor), the connection dialog box is reset to the centre of the screen.
0
0
82
2010-07-08T09:23:33.857
database_errors
serverfault.com
190,233
Identical Log Sequence Numbers
Below is the log Sequence number of the log back ups and full back ups Why are LSN numbers same from 11.30 to 11.45 pm...Was it due to the fact that there was no changes made ? When can i find out that the log sequence has been broken ? 11.30 pm Log first LSN: 325:31307:1, last LSN: 325:31307:1 11.45 pm Log first LSN: ...
Log Sequence Numbers reflect any and all modifications made to a database . If no transactions have occurred between two backups, those backups will have the same LSNs. Having said that, even the action of taking a backup will normally cause an increment to the LSN. What version of SQL Server is this question about?
2
0
286
2017-11-06T17:56:54.763
warehouse_errors
dba.stackexchange.com
319,532
PostgreSQL: Return ENUM values like data_type modifiers
When querying the datatype using format_type(tttypid, atttypmod) from pg_attribute, I would like to return the ENUM values like atttypmod values. [CODE] Currently, the format_type() call only returns the enum name without values. I believe I need to CASE my select statement against the pg_type and pg_enum tables, but a...
You need a subquery on pg_enum that aggregates the values. This gets easier in your main query if you join to pg_type, so that you can use a CASE expression that uses different paths depending on the column's type [CODE]
0
0
148
2022-11-11T16:55:34.960
database_errors
dba.stackexchange.com
283,934
Memento pattern: saving memento
There is one problem about this pattern that troubles me. In a situation when we have to save a state into a file, is it class Memento that should be responsible for handling this process? (for example, providing SaveToFile and RestoreFromFile functions)
Short answer: No . Long answer: Think back to the Single Responsibility Principle . An object (or method, or module) should only have one reason to exist. That reason may be large or small, but it is cohesive . A memento exists to manage temporal state . In other words, track state as it changes, to allow moving backwa...
4
4
1,323
2015-05-14T20:26:38.590
database_errors
softwareengineering.stackexchange.com
534,700
What on my EC2 CentOS vm is dropping ELB HTTP packets but not direct connections?
I've got a simple webserver (apache only) running on CentOS's AMI on AWS inside a VPC. I've got both AWS Security Groups and iptables opened up for port 80, with no source requirements. I then set up an Elastic Load Balancer to direct traffic to the single instance (when everything works, then I'll clone it for multipl...
It's likely that iptables doesn't see the ACK/FIN packet as a new connection. Since the port 80 rule specifies that connections are only allowed if the connection is a new connection, it will drop any connections that aren't new connections. what happens if you remove [CODE] from the port 80 rule and test ?
1
0
684
2013-08-29T04:27:42.193
database_errors
serverfault.com
490,565
Windows Server Can't Connect through Network but Client Can Connect to Server
Edited now that I understand more the issue: My Windows 2008R2 server is having a strange networking problem. I can access the server via RDP, File Sharing, etc. But from the server, I can't connect to anything on the network - I can't connect to the email server, web servers, nothing! I could not find anything in the ...
Restarting the server handled the issue without doing anything else. Does not tell me what happened however. If anybody has an idea of what could have created this situation, let me know. Otherwise, rebooting is the solution to this until someone finds a better one.
0
0
332
2013-03-22T18:08:55.410
database_errors
serverfault.com
900,864
Allocated too much memory from VMware to windows MBR disk, how to remove
I'm a junior sysadmin and today, I have allocated too much memory to a disk on a windows server 2008 VM through vsphere. In my srv2008 vm, I saw two disks of 2tb with the same letter (spanned layout) I needed space so I went in vsphere and raised capacity for one of the two drives, without noticing that in windows, the...
You could convert it to GPT: https://www.easeus.com/partition-master/convert-mbr-to-gpt-on-server.html -- I would caution you to do it on a maintenance window and to have good known backups. I also am not sure what it will do with a spanned volume. You could also have done what was done before and add a 3rd leg to the ...
0
0
126
2018-03-09T13:55:58.280
infrastructure
serverfault.com
798,515
Can a hardware load-balancer route SSL traffic with SNI?
We've got a webserver farm currently hosting 2 applications - both applications are running on all servers. We want to split this so we have a dedicated server farm for each app (we have good reasons for this). We'd hoped to have a single load-balancer in front of all of the servers, which would route traffic to the co...
According to their website, F5 load balancers have support for SNI : https://devcentral.f5.com/articles/ssl-profiles-part-7-server-name-indication You can even make iRules based on SNI. Disclaimer : I haven't verified what they claim on their website I don't work for F5, and I haven't used any in production for 3+ year...
9
10
2,246
2016-08-23T08:16:04.080
infrastructure
serverfault.com
978,812
how-to install python3 using yum/epel-release on centos7
I just found out that [CODE] on [CODE] with [CODE] installed fails with [CODE] Could you please advise how to install [CODE] using [CODE] ? PS. no [CODE] , no [CODE] releases please
just tried on my (same) distro, it worked, you may try commands below : [CODE]
2
0
3,103
2019-08-11T19:01:55.640
infrastructure
serverfault.com
422,085
Debian/OVH: How to configure multiple Failover IP on the same Xen (Debian) Virtual Machine?
I have a problem on a Xen virtual machine (running latest Debian), when I try to configure a second failover IP address. OVH reports that my IP is misconfigured and they complaint they receive a massive quantity of ARP packets from this IPs, so they are going to block my IP unless I fix this issue. I suspect there's a ...
Incredible, but true: after have spoken to OVH support (which assessed not any problem with this configuration), and have restored the initial settings (re-associating IP Failover BBB.BBB.BBB.BBB to the same MAC Address as AAA.AAA.AAA.AAA) it now works fine!
6
0
17,489
2012-08-28T16:48:27.107
database_errors
serverfault.com
868,425
How to access Docker container's data when they are not mapped to a volume?
How to access Docker container's data ( not mapped to any volume ), when the container failed to start? Let us say I started the container like this: [CODE] and the [CODE] for some reason later fails to stay running (in other word the container practically doesn't start), but I want to get access to some date stored in...
You can [CODE] on a stopped container: [CODE] this will copy all the contents (recursive) from the folder /root within the container to your current dir $PWD on the host into ./root If you need shell access, on way could be https://github.com/jpetazzo/nsenter Another way would be to commit the stopped container into a ...
2
2
422
2017-08-13T13:55:29.913
pipeline_ops
serverfault.com
827,442
Cannot install Perl GD module on CentOS
[CODE] CentOS 6.8, Perl 5.10.1
When yum install perl-GD is not an option (for instance because you are using a perl version from the SCL that does not include the GD package), you can install gd-devel: [CODE] should work.
1
0
2,848
2017-01-20T03:29:19.920
infrastructure
serverfault.com
194,207
Windows 2003 Server freezes
We currently have a web server running windows server 2003 with a combination of asp and asp.net sites. This server has stopping responsing 3 times over the last 3 months, despite having the generation of a kernel memory dump and write an entry in the event logs when an bsod occurs nothing is been logged. When viewing ...
So is a BSOD actually occurring? I'd recommend un-ticking the "automatically restart" option; this gives you a chance to actually see the BSOD. If it is BSOD'ing, you'll be able to see the problem (e.g.: IRQL_NOT_LESS_OR_EQUAL), hopefully the culprit (e.g.: XYZ.SYS) and the STOP code.
1
1
635
2010-10-24T08:12:10.357
infrastructure
serverfault.com
164,668
What is an efficient algorithm for randomly assigning a pool of objects to a parent using specific rules
I need some expert answers to help me determine the most efficient algorithm in this scenario. Consider the following data structures: [CODE] I have a situation where I need to fetch all the orphan children (there could be hundreds of thousands of these) and assign them RANDOMLY to A type parents based on the following...
I would: Calculate max*countOfA and min*CountOfA If you don't have enough B to fill all the minimum A values you can't actually meet the criteria you have listed. If you don't have enough A then add the minimum number you need (ceiling of (SumOfAMaxes-B)/DefaultMaximum). Update the sum of min and max values accordingly...
7
5
427
2012-09-12T20:02:00.920
api_errors
softwareengineering.stackexchange.com
727,222
allow all users to read/write any files/folders on 2nd drive regardless of who created it in linux
I am running Ubuntu 14.04 LTS. I've got a mount point called [CODE] that is owned by [CODE] , the group is [CODE] and I've given the group write permission. I used some of the information in https://help.ubuntu.com/community/InstallingANewHardDrive to set this up. Specifically the following commands: [CODE] All the use...
I think this is just what you need. This question was answered already over there. You need setfacl + chmod https://unix.stackexchange.com/questions/1314/how-to-set-default-file-permissions-for-all-folders-files-in-a-directory
1
0
3,269
2015-10-07T02:42:32.310
infrastructure
serverfault.com
788,639
Router can connect to internet but clients intermittently can't get beyond the router
Currently working with a small business which is using an ISP supplied domestic ADSL modem/router to connect their internal setup to the internet and this is also being used for DHCP. They're having repeated problems where 1 or more clients lose internet connectivity. During these times all clients/servers can connect ...
Looks like the router loses its routing / NAT configuration when a DHCP lease expires. Since this is a software problem in the router, you need to find if there are upgrades for the software for the router. If there aren't any upgrades available, they need to buy some corresponding device.
0
1
169
2016-07-08T08:23:28.897
infrastructure
serverfault.com
1,143,474
Best Practices for Setting Up Multiple OpenVPN Instances for Different Clients
I'm working on a project where I need to set up OpenVPN instances to connect IoT devices from various customers to a central server. Each client should have its own isolated VPN connection. I'm currently planning the infrastructure and certificate handling and would like some advice on the best approach. For certificat...
OpenVPN manual states that it will trust any certificate that is descendant of the CA certificate you configured in it. So, to really separate VPNs you omit root certificate from all configurations. It won't be used anywhere, adds no value or benefit, so why bother maintaining it? Just take EasyRSA and create an separa...
0
1
333
2023-09-11T15:02:10.863
pipeline_ops
serverfault.com
54,618
Resize instead of transposed convolutions
I'm trying to build a decoder version of ResNet, i.e. one that goes from the prelogits layer and attempts to recreate the image. I can get it working by using transposed convolutions, but the quality of reconstructed images isn't that great (checkerboard artifacts). I've read that the state of the art is to use UpSampl...
Presumably, you have the seen the Distil article discussing checkerboard artifacts due to transposed convolutional layers , where they recommend upsampling (resizing) and then doing regular convolution. This is known to be a reasonable approach, so it is likely something specific to your case. Without architectural det...
0
1
1,694
2019-06-27T13:43:07.567
data_quality
datascience.stackexchange.com
107,487
Create Linked Server to AlwaysOn Availability Group Listener
I have an alwayson availability group setup using SQL 2014 and Windows Server 2012 R2. There are 3 nodes in the group. The SQL Service is running as a Managed Service account on each node (1 MSA for each server). I am trying to make a linked server on each of the nodes to point to the current active node. So lets say t...
Finally found a tutorial here: http://www.derekseaman.com/2014/10/sql-2014-always-ag-pt-12-kerberos.html The problem for me was that I needed to register the SPN for the Availability Group against the Managed Service accounts that are used to run the SQL Database Engine (step 8 in the link). Once I did that and restart...
5
3
11,653
2015-07-20T03:57:35.270
warehouse_errors
dba.stackexchange.com
899,000
I stopped sendmail service and started postfix. Sendmail still shows in email logs?
This server has both sendmail and postfix installed. Sendmail has been running but is not working properly. I stopped the sendmail service and started postfix. Confirmed only postfix is running by checking the output of what is listening on port 25. [CODE] Then I test sending mail: [CODE] It doesn't arrive in root's in...
The [CODE] program runs [CODE] to deliver the mail (in the client mode, no listening port is being open in the process). Read the man page for detailed information. You may change the MDA by setting the [CODE] variable: sendmail To use an alternate mail delivery system, set this option to the full pathname of the progr...
1
1
1,946
2018-02-26T21:48:59.693
infrastructure
serverfault.com
974,684
How to access host port from docker container?
I am trying to access a service at a specific port on the host from inside a docker container. But all I am getting is Connection refused. For debugging purposes, I create a dummy listening port via nc: [CODE] And in the container I do [CODE] I am not irritated by the failing inverse host lookup, as explained at https:...
Do not know if you have tried to contact the host from within the container via host address [CODE] which is a special DNS name on Mac and Windows for dev/test only. I have not tried it myself but was looking for similar for Linux. https://docs.docker.com/docker-for-mac/networking/ Cheers!
2
1
8,020
2019-07-10T12:48:54.100
api_errors
serverfault.com
579,222
Using SNI on Windows Server 2012 R2 not working
I am trying to get both my sites running with their seperate certificates on a Windows Server 2012 R2. Should this not be possible? On the last added site www.c1get.net I get the certificate from the first site and a warning therefore. Update [CODE]
Answering this on behalf of Shane Madden and s093294 Shane: I wonder if the non-SNI bind on that IP is making a difference for some reason.. Any change if that binding is disabled? s093294: Okay. That was the problem. I removed it with [CODE] . Now I just need to figure out why it was there in the first place. Its an a...
13
13
7,814
2014-03-01T22:03:13.987
infrastructure
serverfault.com
232,027
MySQL Triggers not working from PHP page but work for manual DB updates via phpMyAdmin
I have the following two Triggers in my MySQL DB that fire BEFORE/UPDATE and AFTER/UPDATE on the house_report_details table. The first deletes all records in my scratch table tmp_house_rpt_details and the second inserts a single record into this scratch table for use in subsequent PHP code: Trigger 1 (BEFORE/UPDATE on ...
Type [CODE] into the query window. This will give you the SQL code that creates trigger. You can then add it to your question so we can help you with it. Also, when modifying your trigger, instead of using GUI, use the query window. Just put [CODE] in the top of your trigger script.
1
0
1,234
2019-03-13T15:22:41.950
database_errors
dba.stackexchange.com
564,581
Repair corrupt GPT partition on graid mini disk
I'm trying to repair a GPT corrupt partition table on a graid mini 1TB external hard drive. Here is the report from gdisk: [CODE] It is my understanding that gdisk is automagically able to work around the corruption and that simply pressing [CODE] should repair my disk, but I'm unsure as usually the [CODE] (verify) opt...
If you spend a few minutes reading your output above you'll find [CODE] is telling you what to do (it found a problem: [CODE] , and took an action for you: [CODE] . It's also making a recommendation: [CODE] -- you should probably follow the recommendation). Based on the fact that verification didn't return any problems...
5
2
10,224
2014-01-02T10:58:28.443
data_quality
serverfault.com
251,787
Access .sql script files on other partition or hdd
I'm running a Linux Mint 19.1 - Tessa OS, which for you who might not know it is based on Ubuntu 18.04 - Bionic Beaver. On this I have installed postgresql 11 which work well. There is one problem though. For organisational reasons code files are stored in project directories on a separate partition of my hdd. These di...
Turns out this was much easier to fix than I though. Being completely new to both SQL and postgres I foolishly assumed that psql had something to do with the problem. As it turns out the directory [CODE] in which [CODE] is mounted did not have Read & Write permissions set for other users, so even though I would have be...
1
1
127
2019-10-23T13:26:29.777
database_errors
dba.stackexchange.com
44,717
Is it possible to use TensorFlow inside a python script in Azure Machine Learning Studio?
I'm trying to get TensorFlow running inside a python script in Azure Machine Learning Studio. As TensorFlow is not part of Azure Machine Learning Studio, I needed to import it using a zip file. I followed the instructions here: https://stackoverflow.com/questions/44593469/how-can-certain-python-libraries-be-imported-in...
Let me answer my own question: yes it is possible. You simple open this example in ML Studio and you'll get a working tensorflow_keras.zip into your workspace: https://gallery.azure.ai/Experiment/CNN-on-Keras-with-Tensorflow-backend
2
0
681
2019-01-28T15:48:32.550
data_quality
datascience.stackexchange.com
10,042
Why container can use ifconfig to get the host information?
Today I pull an image from the Internet, and I found that the docker networking mode can be detected in the image's startup script. But docker0 only exists in the host not the container. Why? Dockerfile [CODE] start.sh [CODE] I run it with [CODE] will get [CODE]
You are not accessing the hosts network interface information. Rather you are receiving data of the bridge adapter created for your Docker Containers Network. Please note the results from my web server: Container networking info: [CODE] Host network info: [CODE] Please review the networking documentation at https://doc...
2
1
673
2019-12-06T17:59:29.487
pipeline_ops
devops.stackexchange.com
444,422
OOMK kills mysql and apache when there is still a lot[?] of mem
Possible Duplicate: Avoid linux out-of-memory application teardown let me first say that I'm pretty new ti *nix systems and even more to server management. Anyway, I've got a little problem. I got VPS with 1gb mem, system is debian 6. I have few sites running on it, though some load can only be caused by one of them. R...
There's no point in running [CODE] . As Linux runs out of memory it will automatically remove the buffers and caches, so you're actually harming system performance by forcing removal of useful i/o caching. You really need to look at what could be consuming all the memory. Look at the following possible culprits: Apache...
1
2
428
2012-11-01T15:52:13.597
database_errors
serverfault.com
360,444
NetWorker: Frequent errors in log "waiting for # writable volume(s) to backup pool 'Default' disk(s) on
Working on a new NetWorker 7.6.3/DataDomain disk-to-disk-to-remote-disk backup system, there are frequent errors in the log: Media alert event: Waiting for 1 writable volume(s) to backup pool 'Default' disk(s) on Things that vary in the errors: They seem to be grouped in sets of four, one labeled "Media alert event", a...
This is still a bit confusing but it's resolved. The base issue was that there were no volumes assigned to the default pool. Just like the error said. But... None of the groups and none of the pools and none of the clients were configured to backup to the default pool. So why it was complaining is still beyond me. The ...
0
0
7,841
2012-02-15T17:06:33.623
database_errors
serverfault.com
171,536
What's so difficult about SVN merges?
Possible Duplicate: I’m a Subversion geek, why should I consider or not consider Mercurial or Git or any other DVCS? Every once in a while, you hear someone saying that distributed version control (Git, HG) is inherently better than centralized version control (like SVN) because merging is difficult and painful in SVN....
It's because svn lacked the proper data structures to accurately determine the latest common ancestor of the two branches. That's not a big deal for a branch that is only merged once, but can cause a lot of erroneous merge conflicts in situations where several branches are merged multiple times. I don't follow svn very...
28
25
23,983
2012-10-26T19:19:43.133
data_quality
softwareengineering.stackexchange.com
298
Online resource for writing Access SQL statements
I am looking for an online resource for writing Access SQL statements. I write queries using SQL because the UI puts limitations on what can be queried. I have been using w3schools for reference, however MS-Access sometimes has slightly different syntax, so when I run the query I get an error. Then I end up wasting tim...
Here is Microsoft's page about Access SQL syntax: http://office.microsoft.com/en-us/access-help/access-sql-basic-concepts-vocabulary-and-syntax-HA010256402.aspx and here is a tutorial about Access SQL syntax for Access 2000. A bit dated, but the concept is still there: http://www.cwnresearch.com/resources/databases/acc...
7
6
2,596
2011-01-05T18:32:19.387
warehouse_errors
dba.stackexchange.com
1,082,986
Need help on a new setup for openVPN on windows server for Android clients - VPN isn't working
Trying to setup OpenVPN to connect android devices back to my home network. Currently I'm able to connect to the VPN but can't transfer any data, IE can't ping, can't hit sites etc. Here's my server config file [CODE] Here's my client config [CODE] Here's from the status windows of the VPN server [CODE] Finally, here's...
Android won't work with [CODE] . Use [CODE] . See the wiki . Your other option may be recompiling the kernel in Android so it'll support [CODE] . Another important consideration is that [CODE] is more efficient. The [CODE] (virtual Ethernet) mode must be only used when absolutely necessary. Don't use it unless you know...
0
1
395
2021-11-09T04:15:51.987
infrastructure
serverfault.com
423,059
enable ESXi SDK WebService
On a freshly installed VMWare ESXi 4.1 I can't access [CODE] , it gives me HTTP/1.1 404 Not Found. I failed to find any docs about whether I needed to do any specific tasks to enable ESXi WebService API. Could someone please direct me in the right direction? Thanks
Ok, it appeared that to test WebService API I had to ping [CODE]
2
3
14,150
2012-08-30T20:26:29.597
infrastructure
serverfault.com
1,148,941
postfix as relay - send to non local domain restrict by ip
we are moving from an old symantec messaging gateway to a debian/postfix machine. rules in symantec are these: -from local domain to the same, accept from all then relay all to outlook.com server. -from local to non-local domain, accept only from specific ip addresses then relay all outlook.com 365 server. the part "re...
Restricting who can use the server for relay You currently accept any message for any destination with your [CODE] If you have an IP address [CODE] and a network [CODE] that should only be allowed to use this email gateway for relay, you would use: [CODE] You could also use SASL authentication for access control. Relay...
0
1
165
2023-12-01T13:43:50.393
infrastructure
serverfault.com
473,069
IP Address Subnet
Possible Duplicate: How does IPv4 Subnetting Work? We currently have a: 192.168.3.0/24 Subnet. We are looking to make this subnet larger as we need about 500 IP addresses in the above range. How should we do this?
As others have answered the question, I won't bother to repeat what has been said. However, be sure you understand the ramifications of expanding a subnet to support 500 hosts. There will be a lot more broadcast 'noise' on this subnet. Each ARP request will be seen by all 500 hosts, as will every DHCP request and vario...
1
4
739
2013-01-28T14:43:58.140
data_quality
serverfault.com
520,270
2 x Dual Core vs 1 x Quad Core Performance
A license restriction limits us to 2 x dual core servers, or one 1 x quad core server. Should we see better performance running 2 x Dual Core servers or 1 x Quad Core? Dual Core processors are harder to find now. Which would give best performance? EDIT Thanks for the responses. The application runs Tomcat Java and perf...
If there are any core-to-core communications then you'll find that generally a quad-core will be faster, sometimes significantly so, than two dual-cores. The reason is that the bandwidth and/or latency between cores on the same die can often be very much faster than any external connections. That said you don't mention...
0
7
1,065
2013-07-02T17:44:25.547
infrastructure
serverfault.com
33,170
How to deal with WYSIWYG editors?
There are now lots of WYSIWYG editors, however whenever we use one on a CMS-based website we consistently have issues. The biggest being users pasting content from Word or other online sources and all the various formatting rules being added in "behind the scenes". How do you deal with these editors on a live productio...
Pessimistically, I don't think there is or would be a solution which will replace by-hand typing of HTML code without creating a mess. Look at WYSIWYG software products : for years, their advertisement tells us that finally, the new application creates a very clean code; in reality, it was crap years ago, it's still cr...
7
9
1,068
2011-01-02T11:35:27.613
api_errors
softwareengineering.stackexchange.com
6,196
Tools to measuring page rendering time
I'm using Jmeter at my organization for performance testing. The application is a secured web portal that provides a lot of reports and documents to its user. A major issue that I've run into is measuring the page load times, this is very important for me to measure. Apparently JMeter doesn't support this. So my questi...
There are no tools that can provide you client-side rendering times . Client side rendering is not a measurable value, unless all of the devices accessing the system are identical in terms of hardware and network access to the SUT. However , It is completely viable to do a stopwatch test of the total page rendering tim...
9
5
44,358
2013-06-05T18:04:55.057
api_errors
sqa.stackexchange.com
187,486
PostgreSQL structure for options that permit overriding and precedence
I'm trying to make a postgresSQL database that models radius templates and profiles. Each template/profile would have a one (template/profile) to many (radius attribute value) relationship that defined the radius attributes each template/profile had (and what value that attribute had). The goal I have is to have a tree...
I did end up being able to do this as I envisioned. I don't think I would call the solution pretty. I suspect it would have not good performance if you tried to make it general so you could have a view that allowed selecting by username, as I think the CTE expressions could collect a huge number of rows if they weren't...
4
0
262
2017-10-02T23:20:22.953
database_errors
dba.stackexchange.com
234,524
if statement in a query
I am getting an error while running this code: Incorrect syntax near the keyword 'IF' I need the output through function only with table return . [CODE]
Maybe simply [CODE] ?
-3
3
1,983
2019-04-11T07:14:24.860
warehouse_errors
dba.stackexchange.com
136,456
Open Source webapp that shows PC / Projector status in 30+ Lecture rooms
I am looking for a simple web application that only has a simple graphical representation of the current status of 30+ lecture rooms. I.e. Green = good, Red=bad i.e. PC or Projector not working. With a little message and a ETA as well. I am not looking for monitoring software, merely a way for a tech to flag a room as ...
How to do you get the status? Specifically of the projectors? My honest recommendation would be - since it would probably be useful for your techs as well - to setup a minimal Nagios install to monitor everything of interest, and then code up a simple PHP page to display the current status and comments/acknowledgment m...
0
1
99
2010-04-28T00:05:39.317
pipeline_ops
serverfault.com
288,518
Removing user mailboxes in Exchange Server
I am trying to remove several user's mailboxes in the Exchange Server. Exchange Server is on a member server (OS: Window Server 2003). When I try to remove the Administrator mailbox, it says this: Note: I had to censor my windows server name where my active director resides (on another machine that has OS Win Server 20...
If you want to get rid of the user's mailbox you want to use Disable and not Remove . The Remove choice actually deletes the user's Active Directory user account (which won't work w/ the RID 500 Administrator account).
2
4
303
2011-07-09T01:16:48.817
infrastructure
serverfault.com
90,391
Not able to load msnbc.com. Weird timeouts. Is my router to blame?
And everything has been taking a long time to connect the past couple days. Wireless is working for msnbc.com and other site just fine though. Below is what a log for tracert for www.msnbc.com. Any clues in it? [CODE] not sure on how to make this look good on here. Blockquote tags did not help. Here is the tracert for ...
First, it could be a problem with the LAN side network port on the modem. Get a replacement unit in from your ISP and see if that helps. However, it's worth noting that I had a very similar problem on a business class DSL line that involved not being able to access MSNBC.com, Microsoft.com and a few other sites. I ende...
1
1
366
2009-12-02T22:00:06.450
infrastructure
serverfault.com
153,793
Extracting data from people soft db to SQL Server
I have a requirement to create a new database on SQL Server from an existing Peoplesoft database, which is on oracle. I already have the script with me, and I want to know if the data can be extracted from the Peoplesoft database to the newly created SQL Server database using linked servers? This is the script: [CODE]
Yes you can use linked servers, that is one way we handle this. You will need the correct oracle driver installed in order to use it. I would put the opentran on the inserting of the data versus any checking or auditing of the incoming data. As the oracle db is remote you can't include it in the transaction.
0
0
171
2016-10-31T15:43:16.803
database_errors
dba.stackexchange.com
100,214
Unknown Kerberos authentication pattern on SQL Servers
One of our admins noticed a strange pattern of login messages in the Windows event log on one of our SQL Servers, and after some investigation, I've found that it the same pattern can be found on most (but not all) of our SQL Servers. I cannot seem to find the source, however. The pattern: A series of four messages rel...
I found the answer by running a different server-side trace. A job in SQL Server Agent requests information from the OS, which causes it to authenticate the job owner with Windows. Something (either Windows or SQL) is apparently caching this authentication so it doesn't have to hit Kerberos as frequently; the 29-minute...
0
0
550
2010-01-06T21:14:36.017
database_errors
serverfault.com
8,757
What memory should be given to the variables of my.cnf ?
Installing a MySQL server is quite easy. However, after installing, configuring the server is an important task for a DBA. Having 2GB of RAM and 250GB of disk space, how should I tune MySQL server so that it performs well? There should also be a proper configuration of the InnoDB Engine.
Here are some of my recommendations for InnoDB. In my experience, the buffer pool size is the most important because the more data you can keep in cache, the less time your system will spend using disk IOs. http://dev.mysql.com/doc/refman/5.5/en/innodb-buffer-pool.html This is the buffer pool, where data and index are ...
6
8
11,060
2011-12-05T06:05:19.847
database_errors
dba.stackexchange.com
188,384
coding style for If condition
I came across below style of writing if statements in C#, on msdn code examples. Usually when I write if statements, the conditions I would write `(Customer != null) I want to know if there is any difference/gain in writing statement like below: [CODE] Or [CODE]
This is legal in C# and is colloquially known as a Yoda Condition. Many people in the C/C++ world like this because it guards at compile time against replacing [CODE] with [CODE] by accident. However, it has fallen out of favor in C# due to the fact the compiler will flag it (the single [CODE] ) as an error in that ins...
2
5
2,731
2013-02-25T23:10:38.267
api_errors
softwareengineering.stackexchange.com
254,938
MKINITRD LVM Slackware
Trying to install Slackware 13.1 on a Dell 2950. I have a Perc5 RAID card and my kernel sees it as /dev/sda for the raw device. I've created 3 partitions: [CODE] Here are the steps I've been using: [CODE] I then install Slackware 13.1 as usual, picking /dev/vg00/root for root (/) and /dev/sda1 for (/boot) and /dev/sda2...
RESOLVED... The problem had to do with PROC... When I was running mkinitrd, I did not have a valid representation of my /proc/partitions after doing a chroot mnt. Here are the steps I used to finally get it working... Boot with the Slackware DVD (using 13.1 64bit kernel) [CODE] (note, since I booted with a rescue disk ...
1
1
2,136
2011-04-02T15:43:02.080
infrastructure
serverfault.com
749,682
IP forwarding on Linux - anything important to make sure to do or know?
In moving a website with a dedicated IP from one server to another, to minimize downtime due to DNS propagation delays, there's the approach of using IP forwarding so that all traffic to the original IP gets forwarded to the new IP. Is there anything important to know when doing this? Here are the steps I plan to use. ...
There is no inherent insecurity with IP forwarding itself, other then how your firewall is configured, if they are the same machine. On the contrary, it can provide some sort of security by hiding the real server ip. By enabling [CODE] one can turn a linux box into a router (that can do packet forwarding between networ...
3
3
15,518
2016-01-17T04:04:37.443
infrastructure
serverfault.com