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
260,127
reusing exported scheduled tasks on other machines. machine name is wrong for execution account
I've got two scheduled tasks that I am reusing on 10 different machines which are not on a common domain. I exported the task and when I bring it in to another machine under the "Security Options" in the area that says "when running this task use this account" it has listed the wrong machinename. It is doing this becau...
Which OS? If running Vista/2008 or better, then replace the machine name with a [CODE] ; eg [CODE] .
1
0
137
2011-04-15T14:33:08.730
infrastructure
serverfault.com
766,002
Restore RAID 5 HP P410
I have: P410 + 512MB Battery Backup 4x4TB in RAID 5 I changed the PSU today and after starting OS (Windows 2008 R2) the array is gone. ACU sees 2 HDD as unassigned and original RAID 5 as 2 OK and 2 HDD missing. How can I restore the original array without losing data?
I think your first step is to recover the data. Recovery software can help here. Scan the drives with ReclaiMe it should find the RAID config parameters. R-Studio and UFSexplorer are also popular for RAID recovery.
-1
0
876
2016-03-24T23:44:54.830
database_errors
serverfault.com
267,709
Economics of scaling, denormalizing NoSQL for personalized content
I am using Cassandra for a data intensive app. With relatively little operations and deployment experience, the expertise I am looking for is someone that can read the example below and decide whether I am overlooking simpler solutions, or if the resources needed make this problem expensive or intractable. ~A million e...
Can't you regroup the books by genre, or taste groups, to reduce the problem to lower scale ? It seems to me the major issue is that you are trying to use a large set of data that isn't refined enough to provide a real-time insight. You should probably try to cluster the books in this situation. If you can't, then you ...
5
0
206
2014-12-31T00:50:13.943
database_errors
softwareengineering.stackexchange.com
764,060
How to backup GitLab to the cloud (S3)
I am trying to follow the gitlab documentation to upload a backup to the cloud, but I find it sparse, and it isn't exactly straight forward. Creating the tar is straight forward enough. My problems start with For omnibus packages: [CODE] What am I supposed to do with this? I place it inside [CODE] just so, is that what...
You should follow the instructions on http://cloudkul.com/blog/automate-gitlab-backups-within-amazon-s3-bucket/ No you are supposed to place 'backup_upload_connection' and 'backup_upload_remote_directory' settings inside /etc/gitlab/gitlab.rb ... you should also uncomment some other settings -- as you can see from the ...
2
1
8,415
2016-03-16T11:00:20.813
database_errors
serverfault.com
72,128
Can't connect using SqlManager for Oracle, but Sql+
I'm using EMS Sql Manager for Oracle to connect to some Oracle databases but I receive the error [CODE] I just re-setup my PC, due to SSD & RAM upgrades, and I converted my old machine in a VM. This VM connects successfully and the settings seem to be the same, in fact I copied the [CODE] from one client to another (an...
After installing 32-bit Oracle client software on a 64-bit Windows operating system (OS) you receive one of the following errors: [CODE] / [CODE] . Cause 64-bit Microsoft OS's install 32-bit applications into [CODE] rather than the typical location of [CODE] . This causes an existing networking bug to occur where the n...
0
0
741
2014-07-23T08:10:49.783
database_errors
dba.stackexchange.com
48,891
Pytorch : Loss function for binary classification
Fairly newbie to Pytorch & neural nets world.Below is a code snippet from a binary classification being done using a simple 3 layer network : [CODE] In the above case , what i'm not sure about is loss is being computed on y_pred which is a set of probabilities ,computed from the model on the training data with y_tensor...
You are right about the fact that cross entropy is computed between 2 distributions, however, in the case of the y_tensor values, we know for sure which class the example should actually belong to which is the ground truth. So, you can think of the binary values as probability distributions over possible classes in whi...
1
1
4,421
2019-04-08T17:11:12.130
data_quality
datascience.stackexchange.com
41,071
Problems in opening MySQL Query Browser
My MySQL Query Browser doesn't run. I just started to work with XAMPP and PHP. I just installed XAMPP on my local machine. Now I have a problem when opening MySQL Query Browser. What I'm getting while trying to open it is: Could not connect to host 'localhost'. MySQL Error Nr. 2002 Can't connect to local MySQL server t...
This question is already being answered https://stackoverflow.com/questions/5376427/cant-connect-to-local-mysql-server-through-socket-var-mysql-mysql-sock-38 : If your file my.cnf (usually in the /etc/mysql/ folder) is correctly configured with [CODE] you can check if mysql is running with the following command: [CODE]...
0
0
4,289
2013-04-27T08:04:25.290
database_errors
dba.stackexchange.com
522,313
Broadcom Advanced Control Suite 4 on a PowerConnect 2848 making router (ASA5505) throw ARP errors when TEAMING (different MAC addresses from same IP)
For some reason the Broadcom Advanced Control Suite 4 seems to be a little buggy OR I have not configured something correctly. I have 4 Gb NICs and I team 3 of them to make a virtual adaptor... [CODE] Now on my ASA5505 I get the following error all the time. [CODE] Seems to me that IP address 10.71.1.4 should always be...
EXACT STEPS TO GET RID OF THE ARP ERRORS Note: This was using a Dell PowerConnect 2848 and Broadband Advanced Control Suite adaptors on a Dell PowerEdge R610 connecting to an ASA5505. [CODE]
1
0
2,527
2013-07-10T18:36:07.773
infrastructure
serverfault.com
138,541
Mongrel Cluster on Ubuntu Server Karmic
I am trying to get mongrel cluster working on my Ubuntu Server Karmic box in preparation to setup Capistrano. I've been trying to get the two to work all day and finally decided to completely remove Capistrano and see if I can just get Mongrel Cluster to work. I ran this to install mongrel cluster: [CODE] Everything in...
Please try this symlink: [CODE]
1
0
578
2010-05-04T19:36:54.923
infrastructure
serverfault.com
274,895
Error 0xc000007b with Oracle 19c
As our (32-bit) application uses the Oracle client for communication with the Oracle server I have set up a test environment on a Microsoft Windows Server 2019 Datacenter. I have installed the Oracle DB 19c (19.3.0.0 64-bit) and the appropriate Oracle client (19.3.0.0 32-bit). As soon as I start TNSPING or SQLPLUS out ...
I had exactly the same errors after installing a 32-Bit client (19.9.0.0.201020). Windows application event log stated an error concerning "C:\Windows\system32\ntdll.dll". This is a 64-Bit DLL with the 32-Bit counterpart in "C:\Windows\SysWow64". This is the solution You need to add [CODE] to the [CODE] environment var...
0
1
3,352
2020-09-03T09:20:01.497
database_errors
dba.stackexchange.com
12,316
How to add ansi null and ansi warning in connection string
Using RDO Connection Connection String [CODE] Showing error as "heterogeneous queries require the ansi_nulls and ansi_warnings options to be set for the connection" How to add the ansi_nulls and ansi_warning Connection in the connection string. Need Suggestion and Help.
You can't. They are set per connection, but not in the connection string. So run some SQL after creating the connections [CODE] Note though, the error you have is caused by a linked server call from your SQL Server. Depending on how you set this up (say via a stored procedure) you may need to change the stored proc or ...
1
2
4,220
2012-02-06T09:28:26.117
warehouse_errors
dba.stackexchange.com
208,271
How should a REST API handle PUT requests to partially-modifiable resources?
Suppose a REST API, in response to a HTTP [CODE] request, returns some additional data in a sub-object [CODE] : [CODE] Clearly, we don't want anyone to be able to [CODE] back [CODE] and have that succeed. Indeed, we probably aren't going to even implement a way for that to even potentially succeed, in this case. But th...
There is no rule, either in the W3C spec or the unofficial rules of REST, that says that a [CODE] must use the same schema/model as its corresponding [CODE] . It's nice if they're similar , but it's not unusual for [CODE] to do things slightly differently. For example, I've seen a lot of APIs that include some kind of ...
71
68
57,647
2013-08-14T15:19:24.277
api_errors
softwareengineering.stackexchange.com
670,267
Apache 2: symlinks for readonly-mounted filesystems
I have a large data repository that, for security, I wish to keep mounted read-only for a VM running Ubuntu 14.04. This VM runs an Apache server, and I wish to symbolically-link certain files from the read-only mounted resource into (subdirectories) of [CODE] . When attempting to access these subdirectories via the bro...
In part, thanks to Iain's answer, I have found a solution. The issue in fact appeared to arise from the mount options in fstab. I changed from: [CODE] to [CODE] Where [CODE] corresponds to my username. The host where the resource is (rw) mounted was already [CODE] . However, as it was mounted root, I believe this cause...
0
0
1,435
2015-02-20T20:09:43.880
infrastructure
serverfault.com
498,576
In zsh, how do you redirect stderr to /dev/null within a for or foreach loop?
I am trying to accomplish something that is easy in bash: look for files in a folder and source them if they exist (and do not output if no files exist). In bourne shells this is how to do it: if [ -d /etc/profile.d ]; then for f in `ls -1 /etc/profile.d/*.sh 2> /dev/null`; do . $f done fi I am new to zsh and cannot ge...
After a later email to the zsh users mailing list, I was given the nearly ideal solution to the problem: if [[ -d "/etc/zsh.d" ]]; then for f in /etc/zsh.d/*.zsh(N); do source $f done fi The (N) tells zsh to set the NULL_GLOB option for that pattern. When no matches are found, the glob expands to an empty string instea...
2
4
3,109
2013-04-11T22:11:15.893
infrastructure
serverfault.com
63,041
Testing if a sample fits into an existing cluster
I have a sample of data I'd like to create a model from, which would create N clusters. After the fitting to clusters, I'd like to test various samples against the existing clusters, seeing if the samples fit any of the clusters, and if not see it as an "anomaly". I started working on it using DBScan (scikit), my data ...
The way to do anomaly detection with clustering is to compute the distance to each the fitted clusters. If a new sample has a distance above a certain threshold for all clusters, then it is considered an anomaly. For KMeans the distance would be the distance to the center of the cluster. And the threshold to use is a n...
0
1
140
2019-11-12T10:33:05.833
data_quality
datascience.stackexchange.com
338,388
Is it possible for a TCP connection to remain open when the client has disconnected?
We have a server application which is facing TCP exhaustion problems at around 4000 connections. This will occur every 3 or 4 weeks (approximately). The vendor, which has created this server application tells us after examining the output of netstat -b that some connections are remaining open even if the clients have d...
TCP makes no effort to detect a dead connection except on a side that is transmitting data. It is the responsibility of the application code calling into the TCP stack to do this. What protocol is involved here? (The one on top of TCP.) It's a horrifically ugly "solution", but you can enable TCP keepalives . There's mo...
13
14
8,782
2011-12-07T01:18:12.313
infrastructure
serverfault.com
485,768
Error 2013: Lost connection to MySQL server during query when executing CHECK TABLE FOR UPGRADE
I just upgraded Ubuntu from 11.10 to 12.04. My rails app now returns the (passenger) error "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) (Mysql2::Error)". I get a similar error when I try to access mysql at the command line on my Ubuntu server using mysql -u root -p. I have mys...
Let us take the first error that appears as a starting point.. Seems it's closely related to the upgrade, according to this: http://forums.mysql.com/read.php?10,503634,503634#msg-503634 Try running [CODE] And you can also check all mysql database tables using: [CODE] Please also post the exact versions of mysql, before...
4
2
30,500
2013-03-07T21:14:32.740
data_quality
serverfault.com
149,477
Is MySQL/MariaDB getting a better IOPS deal than Postgres in RDS?
According to the documentation: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html The page size of Mysql is twice bigger than the postgresql one: MySQL/Maria, 16 KB Pages, 30,000 max IOPS PostgreSQL, 8 KB Pages, 30,000 max IOPS This is a problem because the max data block considered a single IOPS...
As I read that page, "Provisioned IOPS works with an I/O request size of 32 KB. An I/O request smaller than 32 KB is handled as one I/O; for example, 1000 16 KB I/O requests are treated the same as 1000 32 KB requests.", your conclusion is correct. MySQL has an additional advantage: [CODE] . If on, it will try to combi...
1
3
718
2016-09-12T21:59:45.097
database_errors
dba.stackexchange.com
224,602
Could anyone please help me understand MSSQL Compatibility Level?
I have a task to upgrade a database from SQL Server 2005 to SQL Server 2012. So I took backup of the old database and simply restored it onto SQL Server 2012 (SP3). Executed query on New database: [CODE] Result: [CODE] But System db's are showing Compatibility_Level as ' [CODE] ' of MSSQL-Server-2012. Let me conclude m...
Maybe Compatibility_level = 90 is of MSSQL-2005, then is it really been upgraded to MSSQL-Server-2012 or not? how may I know? If it's running on the 2012 instance, then that database's metadata has been upgraded. So you're good. Could anyone please explain me why restored database also showing Compatibility_Level as '9...
1
2
166
2018-12-11T01:45:20.377
database_errors
dba.stackexchange.com
149,021
Should I still make my site work in non-javascript capable browsers?
Apparently less than 1% had javascript off in 2010: http://developer.yahoo.com/blogs/ydn/posts/2010/10/how-many-users-have-javascript-disabled/ So is it worth it to still support browsing without javascript? For example: Form submissions. Normally I would set up click or change events on form elements and just update t...
First of all; I'd put some question marks on that 1% figure. How did they measure this in the first place? Most usage statistics are collected client-side, using (drum roll) javascript . Disabling javascript completely means you're not counting those users. Furthermore, most of the script-aware users use things like No...
5
14
5,598
2012-05-17T12:22:17.930
api_errors
softwareengineering.stackexchange.com
150,319
Vim: How can I :cd to an sftp directory?
I'm currently an emacs user, but thought I would come back and take another look at Vim for fun. My client machine is Ubuntu, and I frequently work on other ubuntu servers within my network, emacs and tramp is really nice in this regard, I can just connect to a file via sftp and then easily navigate to it's parents/chi...
If you mount the SFTP folder in nautilus it will show up under [CODE] and any app can access the files there.
0
5
1,023
2010-06-11T04:38:44.620
infrastructure
serverfault.com
123,008
SQL BigQuery function to return the previous non null value
I have the following table where some of the values are null and I would like to fill them with the previous non-null values. LAG function helps but if there are more than one null value in a row, it does not work. * What other approaches could be used?
You can use BigQuery window functions for that. For example: [CODE]
0
1
869
2023-07-30T15:10:48.157
data_quality
datascience.stackexchange.com
872,343
Ideally, how should HSTS / SSL Everywhere / Let's encrypt work with captive Wifi portals?
Some captive Wifi portals require the ability to 301/302 redirect a user to an authentication / terms of service page before permitting access to the Internet. This is at odds with SSL, which can't be cleanly intercepted by the typical coffee shop offering wifi services to customers. In this case users might get a SSL ...
As for now, there's no way to cleanly redirect HTTPS. IETF is already working on a solution , and the first milestone is August/2018. But Android and iOS will detect a captive portal and ask user to login, and Windows/MacOS users will receive a notification too. You can put QR-Codes around with the authentication porta...
0
1
796
2017-09-06T16:55:11.370
api_errors
serverfault.com
1,128,544
Ansible :: Am I not using the `cisco.ios.ios_facts` module?
I'm trying to build a simple POC ansible playbook that logs into a Cisco router and pulls the config. About my environment: My Ubuntu is Ubuntu 18.04.5 LTS My Ansible is version ansible 2.10.7 (Python ver 3.6.9) My Ansible-Playbook is version 2.10.7 (Python ver 3.6.9) The router is running Cisco IOS Version 15.4(3)M3 (...
Okay, does this mean that Ansible SSH'ed to the router and tried to issue the " [CODE] " command? Right, that's the case. Why would it do that? There is a difference in between Ansible Facts and [CODE] module – Module to collect facts from remote devices . In example to quote from How Ansible [CODE] and sets variables ...
0
2
1,306
2023-04-12T17:48:26.060
pipeline_ops
serverfault.com
440,177
Samba with remote LDAP authentication doesn`t see users properly
I'm trying to setup a samba server authenticated by a remote LDAP server, and I'm having some problems that I can't figure how to solve. I was able to make an [CODE] at samba server and I could see all users at [CODE] , but when I tried to access [CODE] at my windows box I had this at the [CODE] : [CODE] [CODE] file fo...
I discovered what was wrong. I just put this configuration: [CODE] and did a [CODE] and I was able to see all users through [CODE] . The authentication worked fine as well.
0
0
6,676
2012-10-19T11:50:33.387
api_errors
serverfault.com
186,231
Office Communicator 2007 - cannot save conversation history
I'm deploying Windows 7 Enterprise via WDS with SCCM, for around 6000 desktops/laptops. My task sequence installs many standard applications (flash, adobe acrobat reader etc...), as well as Office 2010 Professional Plus and Office Communicator 2007 (not R2). The problem is the following on ALL computers which receive t...
Installing Microsoft Access 2003 at the end of the task sequence was causing this. It seems Office 2003 apps could install an older version of MAPI. Just install in this order: Office 2003 apps Office 2010 apps Communicator 2007 client
0
0
2,383
2010-09-30T14:06:49.507
infrastructure
serverfault.com
69,371
How to determine which Windows update, updates a specific DLL?
The combination of Windows XP SP2 and SQL Server Express 2005 SP3 can causes the machine to blue screen during the installation of SQL Server Express. One of the Windows Updates that you can apply to Windows XP SP2 fixes the problem. Unfortunately, if you install Windows XP SP2 and run Windows Update, it will tell you ...
The specific version of sxs.dll that you refer is from Microsoft Security Bulletin MS06-075 . How do you know that the bsod is fixed in that specific version? Update to comment: I think that its not so simple. As explained in kb824994 there are two branches in windows fix/update land. except from the usual one. There i...
0
1
396
2009-09-28T19:34:35.987
database_errors
serverfault.com
838,926
Docker: cannot create directory ‘/opt/jfrog/artifactory/logs’: Permission denied
I am trying to configure a docker image to run with a mounted volume, for persistence. The image is the official artifactory one. It seems odd to me that it will stop after creating several directories with a "Permission denied". As I inspect the mounted volume, I can see that several folders were created when the imag...
I had the same issue when sharing an nfs mount point as a volume. This resolved it: [CODE] Hope that fixes your issue!
1
0
3,350
2017-03-17T13:55:27.940
pipeline_ops
serverfault.com
179,388
MySQL Query was killed, but caused mysql database to not accept new reads or writes
This has happened a few times before and on all of those times I was not able to find an answer on the internet and I've had to completely uninstall MySQL and reimport the database from a backup. Although right now there's a little more than 1 billion rows so that's not something I see as an acceptable solution at this...
For future refference for myself and anyone else with this issue, run "pkill mysql", move "ibtmp1" (like 90G) inside of /var/lib/mysql to another location, then start mysql again.
0
1
406
2017-07-09T06:55:06.683
database_errors
dba.stackexchange.com
31,572
GAN - why doesn't the generator nullify the noise input?
In GAN architecture, during training, what keeps the generator's output dependant on the input noise? Why don't the weights of the noise input become zero (plus a bias)? I would expect the generator to converge to outputting a single picture which is extremely real and non-distinguishable from a real picture, and ignor...
If the generator always outputs the same image, then it's easy for the discriminator to win the game and tell apart the output of the generator from random images in the training set: if the input to the discriminator is that one image, then it outputs "came from the generator", otherwise outputs "came from the trainin...
1
1
333
2018-05-12T13:12:38.147
data_quality
datascience.stackexchange.com
505,559
Backups of roaming laptop/private cloud
This seems like a simple 'what tool to use for x' question, but it's more general. I'm rapidly running out of ideas, so I hope to get some insight here. We have a customer that has employees with Windows laptops that never plug into the LAN. All they use is constantly changing and intermittent Wi-Fi. How would I backup...
You might want to have a look at bittorrent sync. All data is stored on owned hardware, plus when you are on the LAN you get good sync speeds as well as enableing syncing over the internet. I'm currently testing it between Windows/Mac and Linux server. More info: http://labs.bittorrent.com/experiments/sync.html
2
3
263
2013-05-07T07:30:19.767
database_errors
serverfault.com
191,468
sql server: trigger to update in sum after update
I have 3 tables: [CODE] Key: [CODE] I need to create trigger on Plays: The members attribute of the Artist table should always equal the number of musicians who are members of the artist. Any insertion, deletion, update in Plays triggers changes of members attribute in Musician. So I did following: [CODE] The problem i...
I'd like suggest another approach. Instead of adding or deleting one record, you can use the same trigger for both insert and delete, -(Do you really need to count records after update?)-, and then you can count all records and set [CODE] field. Just keep in mind that you can insert or delete more than one record, you ...
0
1
5,992
2017-11-22T05:20:17.033
database_errors
dba.stackexchange.com
320,418
Multiple blades in one chassis, some in DMZ, some in internal network
This question is similar to: Blade Enclosure, Multiple Blade Servers, Whats the closest approximation to a DMZ? In my case, I don't have virtualization so I cannot use vLANs as suggested in answers to the question above. So I have several blades in one single chassis. Some of the blades shall be part of the DMZ and som...
Virtualization isn't a prerequisite for using VLANs, you just need switch support for VLANs which your HP blade system will almost certainly have. In most cases you can configure the internal switch which each blades network interfaces connect to on a port by port basis and VLAN at that point giving you the separation ...
1
1
1,052
2011-10-11T09:20:32.117
infrastructure
serverfault.com
17,020
Upload a file in Selenium Webdriver using sendKeys
I'd like to side step the dialog box and upload a file using the sendKeys method but it doesn't seem to work. Is anything wrong with the following code? [CODE]
If you want to use [CODE] to upload a file using selenium web driver, make sure that the input element is visible on the page. Once the element is visible, you should simply use below mentioned code: [CODE] You should not click on the browse button as it will open windows dialogue box and selenium web driver won't work...
5
7
28,643
2016-02-15T07:37:50.313
data_quality
sqa.stackexchange.com
760,855
how did ransomware delete shadowcopies on file server
We had a PC infected with a Ransomware Trojan [CODE] that encrypted a bunch of files on a network drive. We isolated the PC and just restored from backup. One of the things that happened at the same time was all our shadow copies from the file server were deleted too. This server was not infected - scanned with AV and ...
After going though the event logs on the File server I found 10 events in a row in the space of an hour saying the following: Log Name: System Source: volsnap Event ID: 33 The oldest shadow copy of volume G: was deleted to keep disk space usage for shadow copies of volume G: below the user defined limit. But the next e...
2
0
3,172
2016-03-01T23:27:33.240
database_errors
serverfault.com
204,003
Get ip postgresql master from recovery.conf using non-superuser
I try on PostgreSQL 9.3 Slave to get ip postgresql master from recovery.conf using non-superuser. Created FUNCTION f_showfile [CODE] Added grant execution to f_showfile for non-superuser [CODE] Get lines with primary_conninfo string from recovery.conf [CODE] Output: [CODE] But i cannot get host from recovery.conf My er...
IMHO and as I pointed out in my comments I think there is a missing parentheses in your command. Just after first [CODE] I've tested on a postgres server (a turnkey VM) using a copy of a recovery.conf file, and this is the result: [CODE] Using unnest: [CODE] Filtering by [CODE] : [CODE]
1
1
205
2018-04-15T10:28:21.597
database_errors
dba.stackexchange.com
48,837
Keras + Tensorflow CNN with multiple image inputs
I have a CNN that needs to take in 68 images that are all 59x59 pixels. The CNN should output 136 values on the output layer My training data has shape (-1, 68, 59, 59, 1). My current approach is to use concatenate to join multiple networks like so: [CODE] However, this always gives the error: [CODE] Is this approach a...
Yes it is wrong, each [CODE] input should go through one model not an array of them. You can treat each of 68 images as a channel, for this, you need to squeeze your data axes from [CODE] to [CODE] to have a 59x59 image with 68 channels corresponding to [CODE] , and set [CODE] in conv2D , to let the layer know that cha...
2
2
5,592
2019-04-07T22:11:49.903
data_quality
datascience.stackexchange.com
460,181
Apache VirtualHost - redirect from one domain to a specific page of another one *transparently*
I would like to redirect [CODE] to [CODE] The website is just a one-page site. I would like that to happen transparently, in the sense that www.example.it will be still displayed on the address bar after the redirect. I have tried this but it generates an Internal Server Error. [CODE] This would work instead, but it do...
Just a silly problem: mod_proxy wasn't enabled
1
0
1,249
2012-12-22T01:22:42.897
infrastructure
serverfault.com
1,023,046
Install MySQLDump for MySQL 8.0 on Ubuntu 18.04
I am trying to install mysqldump on a Azure hosted Ubuntu VM. During the build process I attempt the following command: [CODE] This results in the following error: [CODE] When I look at the package on packages.ubuntu.com, it is listed under Ubuntu Focal 20.04LTS ( https://packages.ubuntu.com/focal/mysql-client-8.0 ) If...
To get 8.0 client tools (or server) you have to install the official MySQL repo for apt. I recommend to follow this detailed guide . TLDR; go to https://dev.mysql.com/downloads/repo/apt/ find the link for the latest deb package (use that in the following steps) on your server: [CODE] [CODE] [CODE] [CODE] [CODE] (should...
11
10
46,111
2020-06-26T14:20:45.140
database_errors
serverfault.com
385,469
MS Exchange 2010 - the setting up e-mail from another server/domain
I have problem with the setting up the Exchange 2010. It's first time for me. What i have to do: We have server with web server on it and we have exchange and domain there (company.xx). I created an USER and a mailbox for this user (user@company.xx). Due to other (sub)domain on other server we added next Accepted Domai...
From your question, it sounds like you have not added the domain to the Exchange Server as an Authoritative Domain for your Exch2010 Org Config, or added an email policy. Open the Exch 2010 EMC, expand the Organization Configuration, and select Hub Transport (oh yeah, do this on a hub server, not an edge server). Selec...
0
0
1,291
2012-05-02T21:56:07.917
infrastructure
serverfault.com
581,155
SSH painfully slow on my local network?
I have a CentOS 6-x64 Server running through VirtualBox on Windows Server 2012R2, but whenever I SSH into it, it's painfully slow. This happens for both Putty on Windows, and SSH on OS X. I've read through countless of posts about slow login, but this is just an all-around sluggishness. These are the things I have chec...
At first you must do some experiments and exams: Did you try other protocols? Leave some big file inside apache/httpd server and try to get. Idea is to recognize, problem is with SSH or network See to network intarface statistics. Are there any errors? Try ping. I hope you didn't enable packet filtering. Try ping with ...
5
3
6,325
2014-03-10T22:56:50.710
infrastructure
serverfault.com
640,712
Disabled SSLv3 on Apache, but still using it to send to other websites?
I followed the instructions for CentOS 6 to disable SSL v3 in Apache (2.2.15, not sure how much that matters), but it appears to only disable it for incoming clients, not outgoing requests (such as to authorize.net for credit card transactions). I'm having a hard time finding any instructions other than what seems to b...
Figure out what makes the outbound SSL requests. Is it some PHP code? Or some Java code? Or some Python code? Whatever that is you'll have to configure the SSL/TLS options in the appropriate place for your code. Almost certainly it's not Apache you need to configure here. Also be aware of the SSL downgrade attack that ...
0
1
895
2014-10-29T22:31:33.043
infrastructure
serverfault.com
1,065,315
SSH - what is the meaning of permission denied(publickey, password)?
sorry if the question may be vague or not but I noticed that whenever I have tried to login to a ssh server it usually says "permission denied(publickey, password" or "permission denied(publickey, password,x, y)" where x and y are other strings but do these indicate what I could use to login to the server or are these ...
The error message is typically displayed by the SSH client when you do not provide valid login credentials and the server refuses to grant you access. After failing to authenticate successfully the ssh server responds with an error message that indicates what authentication methods it supports and is willing to accept ...
0
1
1,473
2021-06-01T13:18:41.177
infrastructure
serverfault.com
677,670
vSphere 5.5 in HA Environment and Autostart VM's
We have the setup as above which is "managed" by our vendor. During a recent power outage we found that none of the VM's came up upon the return of power (roughly 25 VM's), which once we discovered this issue we had the vendor start them up for us. Looking into why they aren't setup to auto-start the vendor told us tha...
The Virtual Machine startup settings (accessed from the Configuration tab of each host) don't have any bearing on virtual machine startup in an HA cluster. The VM restart priority settings of the HA cluster control VM restarts for each VM. You need to make sure you have your virtual machine restart priority configured ...
3
4
1,503
2015-03-23T18:39:45.603
infrastructure
serverfault.com
224,513
Implementation/Representation of Symmetries in Chessboards
In a 8X8 chessboard, I was wondering how to implement the symmetry of the board. A lot of positions are just mirrors or rotations of one another (with no pawns or castling capabilities left the directions are indistinguishable). By using a combination of vertical, horizontal and diagonal mirrorings of the board it is a...
There are several ways to tackle rotation of a chess board. The easiest way to implement it is the same way we think about it. You create a grid of 8x8, and each position on the grid may or may not have a chess piece on top. To mirror that grid, you simply create another chess board, and place each piece in the old che...
1
1
189
2014-01-17T11:51:22.697
api_errors
softwareengineering.stackexchange.com
324,695
Apache tomcat equivalent of apachectl graceful
On a basic LAMP stack, at least with our RHEL5/6 servers, we are able to apply rolling code-updates to our document management system across load-balanced web servers without killing users' connections (and possibly document downloads) by using [CODE] and [CODE] . We're migrating to a Tomcat web server based applicatio...
There is no such feature for Tomcat. Remember that Tomcat is an application server and not a web server and it needs to load things upon start and perhaps shut down things nicely upon shutdown.
2
2
6,278
2011-10-25T17:24:11.533
infrastructure
serverfault.com
4,889
What are some informative and useful shell prompts? (Bash, csh, ksh, etc.)
One of my favorite Mac OS X Terminal tips involves adding the last running process into the terminal title using the following code in your .bashrc . [CODE] Now I'm looking to customize my Bash prompt from the default into something more functional. What are some useful shell prompt examples?
I use a simple two-liner: [CODE] or [CODE] if root. People look at me like I'm crazy for using a two-line prompt, but I hate only seeing the last part of the current path, and I work with paths that are too long to put the whole thing on the same line as the input area.
8
6
11,436
2009-05-05T17:54:30.637
infrastructure
serverfault.com
324,184
How can I audit actions done by my schema within my schema using Oracle Unified Auditing?
I want to be able to audit specific actions within my own schema (such as DDL, inserts, updates, anything I feel like). I am on Oracle 19C with mixed mode for auditing. I have a user "SPLUNK", which has the following table: [CODE] I create and enable an audit policy to test any changes to the table structure as follows...
Some audit policies are audited only in new sessions. I guess you used the same session the whole time for SPLUNK user. [CODE] No result. Start a new session: [CODE]
0
1
293
2023-02-28T22:45:11.450
database_errors
dba.stackexchange.com
332,691
RESTful error propagation
SOAP has a standard way of propagating errors, a SOAPFault field in the envelope. This standard also implies a number of things, such as its structure . RESTful, being an application style, implies much less on how errors should be propagated. There's no concept of an envelope and more and more I believe that the servi...
Restful is based on the different HTTP request methods GET POST PUT and DELETE Therefore HTTP Error codes are how you can respond to Errors. http://www.restapitutorial.com/httpstatuscodes.html
3
2
578
2016-10-03T20:50:47.453
api_errors
softwareengineering.stackexchange.com
731,887
How to change a DHCP's Scope Subnet - Windows Server 2012
I am trying to edit my DHCP Scope and want to Change only Subneting. The Reason I am searching for this is "I am using MAC Addresses in Policies". I have tried this solution http://social.technet.microsoft.com/wiki/contents/articles/8484.how-to-easily-change-a-dhcp-s-scope-subnet.aspx . When I try to run this command [...
Please check the file with notepad++, a bad format in the file. Thanks for using my article by the way.
0
0
1,124
2015-10-27T08:34:19.800
infrastructure
serverfault.com
973,377
Recovering lost VHDX / VM (deleted by Veeam)
Earlier this week a VM on one of our hypervisors experienced extended downtime (~24 hours) due to some Windows updates going wrong. I ultimately was able to fix the issue, and noticed yesterday that Veeam wasn't backing up the VM anymore as part of its backup/replication of that hypervisor. I found that Veeam was runni...
I assume that blocks, where VHDX and AVHDX were located, are now rewritten and tools such as EaseUS cannot properly restore VHDX and AVHDX. In the case AVHDX is smaller than the previous one, this means that some of the snapshots were merged. So, to boot the VM with a snapshot you have to specify AVHDX as the boot file...
6
3
407
2019-06-29T12:03:09.473
database_errors
serverfault.com
24,091
Does SSRS lock the table when querying?
My senior DBA told me that SQL Query execution by default doesn't lock the table. I was having some issues with my SQL Server Reporting Services (SSRS) report which seems to be getting some issues with locking and getting some errors. I did some Googling but fell short of finding anything. Do SSRS reports lock the tabl...
Short answer: No Longer... SQL Server doesn't know that it is SSRS sending it a query. So the query from SSRS will run like any other query. It's more likely be that the query optimiser decides to use a table lock for the SSRS query. of course, it could be a different problem, but that's a different question
9
7
5,479
2012-09-11T08:56:26.160
bi_errors
dba.stackexchange.com
699,339
Puppet-Dashboard Doesn't Load With Ruby Gem Passenger 5
Has anyone encountered problem of running Puppet Dashboard on Ruby Passenger 5? If yes does it really work with that Passenger version? I've already setup and configured the necessary files required to run Puppet Dashboard via Passenger. Currently, the Apache test page is shown instead of the dashboard menu. This will ...
I had this issue and noted that [CODE] didn't exist. I was able to correct the issue by doing [CODE] while in [CODE] .
0
0
190
2015-06-16T10:43:39.043
pipeline_ops
serverfault.com
342,307
Building a Warehouse/Inventory management system, with multiple locations for each item
I am building a WMS with the following basic requirements: Each Item can be in multiple Location s. A Location can contain multiple Item s. For each Location / item combination, I must be able to track: QtyOnHand , QtyReserved , and QtyAvailable . One Location can contain another Location . The basic required behaviour...
Would it make sense in your system to have a class like this: [CODE] I agree that it seems a little weird to have an object like the [CODE] as you have it above. It has no behaviour, and does not map to a real-world object. A quantified [CODE] can map to a real-world object (well, it maps better than [CODE] ): an inven...
4
2
4,598
2017-02-15T16:54:45.173
warehouse_errors
softwareengineering.stackexchange.com
268,308
PHP and IIS best practices
I'm running IIS and PHP and we're running into some bottlenecks under load testing. The pages are cached, but sometimes we can get load times up to 30 seconds for a user. This seems to happen when the cache expires. We're looking into a lot of different things to fix this issue, so one of our first places to look is at...
PHP on IIS runs fine. It's not perfect, and it's probably not "optimal", but the marriage of the two is not going to inherently cause 30 second load times. You will be best served by inserting a timer throughout your PHP code to determine what line(s) are causing the huge delay, if it is indeed an issue on the page gen...
1
2
1,094
2011-05-10T19:19:37.027
infrastructure
serverfault.com
145,038
Creating a vm using Hyper-V causes the host of BSOD
Problem description: When I try to create a virtual machine, the host bsod part way through the process. From the logs in lookes to fail/hang on the "Creating new VirtualDisckDriver with new VHD" step. The BSOD error code is SYSTEM_SERVICE_EXCEPTION : STOP:0x0000003B When the machine has finished restarting, it looks t...
Right after too many hour wasted trying to resolve this problem. This morning I took the decision to flatten the server and rebuild using Win 2008 Enterprise x64bit (no SP2). I've just finished the rebuild, I can now create and start VM without the server BSODing. So I guess something in SP2 is causing the problem. Les...
1
0
1,047
2010-05-25T11:32:15.710
infrastructure
serverfault.com
810,739
clamav error: mpool_malloc(): Attempt to allocate 8388608 bytes
Following error is showed when starting [CODE] ; freshclam[26882]: [LibClamAV] mpool_malloc():Attempt to allocate 8388608 bytes. Please report to http://bugs.clamav.net I have lots of RAM memory unused on my linuxOS, but this error keeps showing on the display,I couldn't start clamd daemon because of the error. And now...
Yeah, it hit me too, here is the bug report: https://bugzilla.clamav.net/show_bug.cgi?id=11647 Upgrade to a new version. I guess you have 0.97 version.
6
4
18,067
2016-10-23T09:36:14.653
infrastructure
serverfault.com
336,989
DiscountASP.NET/shared hosting
I am in the process of trying to source an ASP.NET MVC3/SQL2008 host and think I'm happy with DiscountASP.NET however I have a few questions which I can't seem to find answers to: 1) What sort of CPU will my site be allocated and what sort of CPU backs the SQL server DB? Or is this a dumb question with shared hosting? ...
I am sorry to say, but what makes you tnhink ifi s a good idea to ask that on a public forum of people totally unrelated to the technical suppot staff os DiscountASP.NET contrary to actually running ot to the people kniowing - whbich is the technical team at DiscountASP.NET, available through a ton of contact means ava...
-2
2
79
2011-12-02T11:41:03.790
database_errors
serverfault.com
522,602
vsftpd + vitual users + selinux
I can't make vsftpd to work and it is driving me crazy. The virtual users can connect, but they can't upload files or create folders. I hope someone can help me. I get this error in the ftp client: [CODE] And this is the error in /var/log/messages [CODE] This is my vsftpd.conf: [CODE] This is my selinux configuration: ...
have you tried setting [CODE] SELinux contest on the ftp rw dir? Or is there any reason why you don't want to do that? [CODE]
1
2
825
2013-07-11T16:15:32.577
infrastructure
serverfault.com
1,024,348
How to label GKE/Kubernetes nodes and their disks in GCP?
In our GCP project we are in the process of setting labels for resources to assist organization and cost management. This is about GCP labels as described here https://cloud.google.com/compute/docs/labeling-resources and not Kubernetes labels. For standalone resources like instances, persistent disks and external IP ad...
Google Kubernetes Engine labels are distinct from labels in Kubernetes . GKE labels are arbitrary metadata attached to your resources that you can use to track usage and billing information. In Kubernetes, the system uses labels internally to associate cluster components and resources with one another and manage resour...
3
0
1,825
2020-07-07T13:03:02.117
pipeline_ops
serverfault.com
453,796
Postfix block senders outside from local domains
I would like to block every mail that is coming in from a domain that is running on my server. Example: I have domain1.com on my mail server and I'm getting a mail from outside with an email address of JohnDoe@domain1.com Then I know it's a Spam, because domain1.com is on my server, so the sender cannot come from outsi...
Of course the sender can come "from outside"; you need to think carefully about what that actually means. What if a user submits mail from outside your network ? You don't specify if this is possible. This is easy if you use submission for all user submission of mail, and only use port 25 for inter-MTA traffic; in that...
1
3
5,334
2012-11-30T10:32:40.577
infrastructure
serverfault.com
133,325
Do big software companies develop their business process management solutions (ERP) in-house?
I was looking at the customer list of a few ERP vendors like SAP. The companies in the list are mostly non IT companies. So, I'm wondering as to how IT companies approach the business process management problem. For example, any IT company with a few thousand employees across different locations will need software for ...
Here's an irony of most large software firms and technology consultancies: their internal systems are much worse than you would expect. If you're a top programmer at Microsoft, you're not developing a new internal ERP, you're working on Bing/Excel/Xbox. If you're a top ERP expert at Accenture, you're helping clients, n...
4
3
940
2012-02-04T18:49:50.087
api_errors
softwareengineering.stackexchange.com
62,843
Best Ruby Git library?
Which is the best Git library in Ruby to use? Git, Grit, Rugged, Other? Background: I'm the current maintainer of TicGit-ng which is a distributed offline ticket system built on git, and I've read and heard over and over again that Grit is the one I should use because it supersedes the Git gem, but there seems to be ei...
It looks like both the Git and Grit gems are now deprecated and should not be used in new projects. Work has already begun on a Git library written in C, and a ruby library which interfaces with it is also in the works. This new ruby interface to the git library is called Rugged. https://github.com/libgit2/rugged Once ...
21
20
10,989
2011-03-28T10:59:08.217
api_errors
softwareengineering.stackexchange.com
67,189
Unable to save the TF-IDF vectorizer
I'm workig on multi-label classification problem. I'm facing issue while saving the TF-IDf verctorizer and as well as model using both pickle and joblib packages. Below is the code: [CODE] Error Message while saving the TF-IDF vectozier. Any suggestions ? Thanks in advance.
The issue is due to your [CODE] function with the [CODE] key word argument. [CODE] No issues. Now let's pass a [CODE] function to [CODE] [CODE] Which throws the following error: _pickle.PicklingError: Can't pickle at 0x100e18b90>: it's not found as main . To get around this, create a function to split the text: [CODE] ...
1
2
2,510
2020-01-29T08:58:11.710
data_quality
datascience.stackexchange.com
308,747
Can you mix on premisses SQL Servers and Azure SQL Servers in a trust group?
I need to be able to create cross-server views which include tables from databases on SQL Servers in a local corporate domain and joining to tables in a database on a hosted Azure SQL Server instance and I need to be able to access those views from stored procedures in the local databases using the "EXECUTE AS" operato...
I believe you may be running into just the fact the database itself doesn't have [CODE] enabled. Pinal Dave has a good article about it in SQL SERVER – FIX: Msg 15274 – Access to the Remote Server is Denied Because the Current Security Context is not Trusted . As per that article, in your source database, you can check...
0
0
129
2022-03-15T14:23:47.350
database_errors
dba.stackexchange.com
136,768
Query wont compile/run
I have a query that won't run on the production server but it runs on the test server. It seems like the query plan won't compile or its compiling a very bad query plan. I have updated all statistics with fullscan and rebuilt the indexes of all involved tables without success, it's not that many rows in any of the tabl...
Since you are running Microsoft SQL Server 2014 - 12.0.2000, the very first RTM build including the new Cardinality Estimator I would strongly suggest you try updating to one of the latest CU's. As stated in this blog post on msdn You need to apply SP1 but you must also enable trace flag 4199 in order to activate the f...
6
5
304
2016-04-27T18:36:15.733
database_errors
dba.stackexchange.com
87,806
Remotely restarting a service for a non-administrator user
I need to give a non-administrator user the ability to restart a service on a server, but I'm getting "access denied" following these instructions: http://support.microsoft.com/kb/324802/EN-US/ I've created a user called "serviceuser" that's a member of the Domain Users group. I created a new OU called "SpecialAuthorit...
The instructions you linked to are for computer policies, not user policies so you need to apply them to the OU that the computer is in rather than the user. You should give permission to a security group to the service in this policy and then add the user to that security group.
0
1
2,544
2009-11-24T15:34:14.567
infrastructure
serverfault.com
39,072
Spacy Returns Nonidentical Results for Doc. Examples?
I am getting started with Spacy, and I was just experimenting the given examples. It is weird though that when I run them over their containers using their experimental console it gives me different results than when I run them locally. For example, when I run the following example from their console, [CODE] It gives m...
After browsing the reported issues in spacy git page , it turns out that there is an issue mainly with certain version of packages specifically numpy. See this closed thread . As suggested, I did: [CODE] And everything works as expected with the following packages (even in ipython): Python 3.6.5 Anaconda, Inc. Spacy: 2...
3
1
278
2018-10-02T14:37:32.020
pipeline_ops
datascience.stackexchange.com
328,175
Nginx Alias for Nagios not working
I am setting up a server as a Nagios monitoring server and I am running into an issue. If I go to the url nagios.myserver.com/nagios/ (or nagios.myserver.com/nagios/index.php) the server tries to redirect to /opt/nagios/share/s/index.php The correct folder is: /opt/nagios/share/ I have no idea where that /s/ is coming ...
It sounds like there is a rewrite rule somewhere in your config. What does [CODE] look like? You can do a quick search with: [CODE] Try to change the [CODE] to the [CODE] to see if it redirects to the [CODE] . If it doesn't, I suggest you turning on the debug and take a look the the error log.
2
1
1,634
2011-11-06T00:33:40.237
pipeline_ops
serverfault.com
610,976
Monit failing to connect to Dovecot over SSL IMAP
I run Monit to keep check on processes on a Debian server. It's working as normal for all other services (Apache SSL, Postfix, SSH etc.) but Monit's checks on Dovecot are failing repeatedly. I think this may have started after installing some package updates, but I'm not sure when. Dovecot is working correctly for clie...
The problem is caused by http://osdir.com/ml/ubuntu-security-announce/2014-05/msg00023.html as TomDogg mentioned. This forum has more detail: http://comments.gmane.org/gmane.comp.monitoring.monit.general/7378 FYI, the problem is the same even if you try is with POP instead of IMAP. Here are the possible solutions: Appl...
7
5
2,756
2014-07-08T15:02:26.523
pipeline_ops
serverfault.com
222,919
The value for the parameter @MirrorDirectory is not supported error with Ola Hallengren Backup script
I am using Ola Hallengren's Maintenance Solution, and it's been working great for our environment. Quick question regarding the User Database backups s proc. Currently, when I'm taking backups, the backup files are getting saved to one of the servers local drive (Z: drive). But if I wanted to also get another copy of t...
The backup procedure does a number of validation checks against the path to ensure it is valid. One of them checks the edition of SQL Server to ensure it can perform mirrored backups. Run the below code and if it does not return 3 then you don't have Enterprise Edition and cannot use Mirrored Backups: [CODE] See: https...
1
1
726
2018-11-19T22:28:00.553
data_quality
dba.stackexchange.com
31,084
Remote database connection problem?
I have two systems with Windows XP. I have installed SQL Server 2005 on a system and tried to use SQL Server Management Studio Express on both to use the database. I am able to use the database on the system on which I have installed it, but on the other system I get the error: remote database access problem I am using...
Yes, you can use SQL Server Management Studio, even if it's an Express version to connect to any SQL Server,you have TCP/IP connectivity to. Just launch it, enter the DNS host name or IP address in the 'Server Name' box and hit Connect. Two things may prevent this from working: Your SQL Server isn't set up for TCP/IP c...
0
2
538
2012-12-27T13:07:35.377
api_errors
dba.stackexchange.com
805,173
Ubuntu 14.04 on Amazon EC2- postfix segmentation fault
I have an EC2 instance using Ubuntu 14.04 which is where I want to send email from. I tested it by sending an email: [CODE] But it gave me an error: [CODE] I checked [CODE] and found this: [CODE] What should i do to fix this? I don't know if this is relevant to this question, but I used a dynamic DNS address from duckd...
First of all, your error messages show the segmentation fault is not happening in Postfix, but in the [CODE] command, more precisely in the shared library [CODE] which it uses. Normally a segmentation fault indicates a software bug and the next step would be either to report the problem to the program author or to run ...
0
0
954
2016-09-25T09:36:11.813
infrastructure
serverfault.com
114,864
Basic IPv6 firewall on Cisco IOS for small network
Now that I have IPv6 connectivity to my network, I'm looking for a basic IPv6 firewall configuration for IOS. It used to be that we could rely on NAT to 'hide' internal (read: outgoing connections only) machines but thankfully we no longer have NAT to do the work for us. What is a sensible set of IOS configurations / A...
Here's what I've come up with. It works, though I'm not sure if it's optimal. Suggestions welcome! [CODE] For those of you not familiar with reflexive access-lists, it's how you do stateful connection tracking. In other words, it's what allows responses to those outgoing connections to come back to you.
2
5
2,766
2010-02-20T05:04:19.340
infrastructure
serverfault.com
554,443
php_ibm_db2.dll on IIS 7.5 using PHP 5.3 error message
I'm trying to use ibm_db2 extension to access iSeries DB2 database. This is the testcode (taken from here ) [CODE] I have installed a very basic package containing the db2 driver and added this as an extension. (IBM Data Server Driver for ODBC, CLI, and .NET.msi) This is my result: 08001 [IBM][CLI Driver] SQL30081N A c...
The port number you are using is incorrect – iSeries servers use port 446, not port 50000. However, in order to use the IBM Data Server Driver for ODBC, CLI and .Net to access your iSeries server, you must have a license for the IBM product called DB2 Connect . You do not need to use DB2 Connect, you can use the IBM i ...
0
0
845
2013-11-12T14:29:52.257
infrastructure
serverfault.com
31,178
RMAN backup script failing
I have a few linux machines and each of them have a few Oracle databases. On each machine we have 2 shell scripts to run the backups. The TSM scheduler calls a script which calls a different backup script for each DB on the machine. The problem is if I create an array of SIDs and create a loop through the SIDs the back...
[CODE] Remove that line from the script. You can switch the user before you actually run the script. if you switch user in shell script, then it gives you new shell environment loosing further shell instructions. (there are other ways to do it)
1
1
797
2012-12-28T21:30:35.303
database_errors
dba.stackexchange.com
80,458
Give developers read-only access to schema
We have a staging server where we do final acceptance testing before we go live. It's a copy of Live where devs have no more privileges than regular users. I'm trying to give the devs read-only permissions on data and objects on this server so they can investigate bugs. I put them in a role that is a member of db_datar...
You can grant the "View Definition" permission at the schema level. The easiest way is to create a new role in your staging database (say "dev_datareader"). Then you execute the following, substitute your schema name for "dbo" if it is different: [CODE]
3
2
8,212
2009-11-02T10:22:57.490
infrastructure
serverfault.com
77,640
VisualSVN Server displays SIDs instead of human-readable domain user names
I'm running VisualSVN Server on a machine which is a member of a domain (it's Windows Server 2008 R2). Now I'm trying to grant myself permissions to access a repository. I right-click on Repository node, click "Properties", then "Add". Standard "Select Users or Groups" dialog pops out, but what's strange about it is th...
Try to disable and reenable the sid cache and restart the VisualSVN Server. See the following Microsoft KB for details: http://support.microsoft.com/kb/946358
2
2
638
2009-10-23T13:58:53.220
infrastructure
serverfault.com
78,952
Scanning a billion rows in an ultra-fast database
Background A local database contains nearly 1.3 billion unique rows. Each row is indirectly associated with a specific latitude and longitude (location). Each row has a date stamp. Use Case The problem is as follows: The user sets a starting/ending date, and a range of values (e.g., 100 to 105). The system gathers all ...
The most important thing is to be absolutely certain where the bottleneck is now for a given number of representative requests as you cannot switch databases. If you do full table scans, you need appropriate indexes. If you wait on I/O you need more memory for caching (Jeff Atwood recently mentioned that 24 Gb systems ...
9
12
5,655
2011-05-25T02:43:01.437
database_errors
softwareengineering.stackexchange.com
162,411
Making an ASA TFTP backup through VPN
I have a site to site VPN configured between two ASA 5520s. I have a TFTP server behind ASA1, with an IP of 172.16.1.1 on the "inside" network. I'd like to be able to copy the running config of ASA2 through the VPN to 172.16.1.1, but am unable to do so. I can hit the TFTP server from a machine on the "inside" network o...
Assuming you're using the 'copy' command on the ASA to initiate the transfer, it should be possible to specify the interface that you want the tftp client (ASA2) to use the IP of (in this case, originating from the 'inside' interface so that it matches the relevant ACLs.) Have a look at syntax: http://www.cisco.com/en/...
5
2
5,308
2010-07-20T22:21:37.163
database_errors
serverfault.com
44,147
DBCC CHECKDB command creating database file with same name but with space character in extension
I am running simple [CODE] command on my machine every thing works perfect! But when i execute same command on the live server the command executes without any error, but it creates one extra file int the same location as my mdf file. For instance, if my mdf file name is [CODE] then this command is creating one more fi...
Checkdb normally uses the alternate file stream. I'm guessing that when the database was defined there was a space in the filename. Sql cleaned it up when creating the database but not when the Checkdb is running. You can check on this by looking at the output from sys.database_files. You might need to look at the actu...
1
0
1,934
2013-06-09T18:33:57.887
warehouse_errors
dba.stackexchange.com
215,567
Process PHP files from a network share in a vmware virtual machine
As a testing environment, I have set up a vmware virtual machine running Windows Server 2008 R2. I have Apache and PHP installed (as part of the xampp package). I am doing the development outside of the VM, and so want Apache to serve PHP files from a VM shared folder (which appears as a network share in the VM). I hav...
check your php.ini. You may need to update your include_path variable or to include this directory into the safe_mode_include/exec_dir variables.
2
0
752
2010-12-23T05:17:27.727
infrastructure
serverfault.com
367,346
Allowing directory view/traversal for a specific VirtualHost in Apache 2.2
I have the following vhost configured: [CODE] The configuration appears to be correct from the [CODE] tool's perspective. However, I cannot get a directory listing on that vhost: [CODE] The error log shows the following: [CODE] update2 More recently, the following is now kicking-into the error.log: [CODE] update3 Today...
My solution (as of 21 Mar 2012) move all content to a subdirectory create a redirect [CODE] file in the root that reloads to the subdirectory I still want to know why I cannot just traverse the directory itself, but this is working for now.
3
0
20,831
2012-03-07T19:31:07.773
infrastructure
serverfault.com
84,239
stress-testing MySQL slave with master's queries
A MySQL host in a slave configuration is in the testing phase before being put into production as a primary server for a specific workload. To make an estimate about how it is going to perform, the idea was born to simply use the current productive master's queries and replay them on the slave. The imminent issues that...
I would collect queries from Master via slow log and then reply them on the slave using http://www.percona.com/doc/percona-toolkit/2.1/pt-log-player.html to do this you will need: Enable full slow query logging. You need to be careful with the IO load if your server is really busy. You may want to do it during low time...
1
1
484
2014-12-03T21:32:47.640
database_errors
dba.stackexchange.com
700
Oracle setup required for heavy-ish load
I am trying to make a comparison between a system setup using Hadoop and HBase and achieving the same using Oracle DB as back end. I lack knowledge on the Oracle side of things so come to a fair comparison. I am looking for what kind of Oracle setup is required to handle a certain work load (hardware, OS, software stac...
Firstly, I will say that this workload is by no means heavy by Oracle standards; thousands of commits/sec are possible, easily. Secondly, however, what matters here is not your database and it's not your server: it's your storage. There are many options here; you won't go too wrong with something like NetApp (I don't w...
4
6
185
2011-01-19T11:34:09.950
database_errors
dba.stackexchange.com
170,353
Wildcard records with Nginx to handle custom domains
Here's my 4, going on 5 hour problem: I've set up a WordPress multisite instance that's going to be handling sites at domain.com, subdomain.domain.com and customdomain.com. There will be N number of sites using customdomain.com, so I'd prefer not creating records for each. On the server, I have Nginx in front of Apache...
The solution (at least with my configuration): In your wildcard record, the 'listen' directive should also include 'default': [CODE] Don't add a 'server_name' directive because that will cause things to break in ugly, unexpected ways. Props to Max Cutler for helping me figure this out.
4
5
23,141
2010-08-13T20:58:00.733
infrastructure
serverfault.com
31,434
Handling outliers and Null values in Decision tree
Outliers : As I understand, decision trees are robust to outliers. Can anybody please confirm if my hypothesis is right with an example? (What if I have a features ranging from 0 to 9 but there is an outlier of which value is 10000?) Whether it creates a separate leaf for that outlier sample or would it be merged with ...
Outliers: In decision tree learning, you do splits based on a metric that depends on the proportions of the classes on the left and right leaves after the split (for instance, Giny Impurity). If there are few outliers (which should be the case: if not, you cannot use any model), then they will not be relevant to these ...
6
7
10,187
2018-05-09T12:18:54.210
data_quality
datascience.stackexchange.com
1,033,946
PowerShell Remote not working via Harness for non-Administrator user
I am trying to connect to a Windows Server 2016 server using WinRM via Harness. I have added the user to the "Remote Management Users" group on the server but I receive an "Access Is Denied" when testing the connection to the server. If I add the same user to the "Administrators" group on the server, Harness is able to...
On the server that you are trying to conenct to, enter [CODE] in a Command Prompt as an Administrator and give the "Remote Management Users" local group Full Access.
0
0
427
2020-09-15T09:14:12.050
infrastructure
serverfault.com
473,155
Unable to load certificate in openssl
In Ubuntu when i was trying to execute [CODE] I get the following message [CODE] Please help.
Is server.pem actually a certificate? Run [CODE] You should see the beginning and ending of the certificate: [CODE] If you don't see this output, you are not using a valid certificate. Also, I note that you are running the following unusual command: [CODE] This command does: [CODE] - starts a very basic openssl server ...
0
5
36,211
2013-01-28T18:06:49.000
infrastructure
serverfault.com
264,517
Configuration file missing after successful SSRS migration
Getting the backup of all SSRS databases including compressing and encrypting can be straight forward. However, when planning a complete solution for SQL Server Reporting services backup, following the link below can be more demanding. Backup and Restore Operations for Reporting Services Among other things, including t...
Everything is working fine, including the encryption and all the security, so as the file is not there, I will not need to include it on my backups. this link below shows where all the configuration files should be: Reporting Services Configuration Files Install Paths C:\Program Files\Microsoft SQL Server\MSRSxx.MSSQLS...
0
0
1,263
2020-04-07T18:15:35.110
database_errors
dba.stackexchange.com
13,701
Items in a transaction must be unique but got WrappedArray
I'm trying to do a algorithm in Spark Mllib. I'm trying to do a Market Basket Analysis. And I've as a data set this: [CODE] The code that I found is this: [CODE] However when I submit this line of code: [CODE] I get the fowllowing error: [CODE] I already try to use this: [CODE] But it still gives me an error. I also se...
[CODE] The error pretty much tells you the problem. A basket is a set of unique items, and 4 occurs twice here. That's not valid input. However you have a much bigger problem here. You are parsing a line of text that clearly is just a description of one item, and interpreting it as a bunch of item IDs. You have a date,...
0
0
2,093
2016-08-26T18:03:38.557
hadoop_errors
datascience.stackexchange.com
240,488
PostgreSQL 9.6: Update on a single row table takes an unreasonable amount of time
I've got a table called [CODE] which has a primary key on its [CODE] and a “Unique Constraint” on the column [CODE] . This is the way the table looks: [CODE] This table effectively has a single row. That's all it has. The other tables in the database are way bigger (the biggest one has ~100M rows), but this one is not ...
There are two possible reasons: A concurrent transaction is holding a lock on the row or the table that conflicts with your [CODE] . You can find that by querying [CODE] and looking whether your hanging backend has a row with [CODE] . There are foreign keys that point to the table that are not indexed, and verifying th...
0
2
94
2019-06-13T12:51:51.587
database_errors
dba.stackexchange.com
408,323
Windows DNS Server slow response time
Our Windows 2008 R2 SP1 DNS server has a response time of > 3500ms but as low as 1.2ms with a mean of 124ms. I am using OpenDNS for my forwarders. I also enabled 'scavenge stale resource records' and installed the IPv6 disabled hotfix and I'm wondering is slow just because it's Windows?
The plus 3 second time may indicate a network or configuration issue. A few things that may be timing out: Dropped packet. The second packet is often sent after a 3 second delay. Tunable on some stacks. Failing primary DNS. DNS stacks will timeout and try the next server after a delay, generally moving to the second se...
4
2
5,156
2012-07-16T23:50:41.930
api_errors
serverfault.com
196,066
Design feedback on my first database
Couldn't find a newbie forum; hope this is in the right place. In my quest to learn more about databases, analytics, and creating service APIs to work with them, I decided to scrape an online archive of Jeopardy data and plan to reconstruct the data into a functional db. Pretty sure this has been done before, but learn...
Having numbered columns is an anti pattern. Your Game table shows it. The relationship between Game and Player is many-to-many, even though the cardinality is fixed from a game's perspective. Resolve the problem by adding a new table ("Participant"?), with foreign keys to both Game and Player. To see how it helps, try ...
1
2
753
2018-01-23T23:18:30.737
hadoop_errors
dba.stackexchange.com
772,893
PostgreSQL configs are ignored
I have a custom postgresql build, that shows the following output on [CODE] BINDIR = /var/buildout.webstacks.xwiki/bin DOCDIR = /var/buildout.webstacks.xwiki/share/doc/postgresql HTMLDIR = /var/buildout.webstacks.xwiki/share/doc/postgresql INCLUDEDIR = /var/buildout.webstacks.xwiki/include PKGINCLUDEDIR = /var/buildout...
There seems to be only one way to move [CODE] out of the `data-directory. During server startup. From the docs: config_file (string) Specifies the main server configuration file (customarily called postgresql.conf). This parameter can only be set on the postgres command line . Inside [CODE] directives as: [CODE] can be...
0
0
727
2016-04-26T03:08:52.853
database_errors
serverfault.com
37,347
Compare two MySQL dump files
I am trying to compare two MySQL dump files. One was made from a fresh install of a web application and the other is a dump from the same web application that has been upgraded from a previous version to the same version number as the fresh install. Basically I want to make sure that the upgrade scripts worked properly...
Unfortunately, you cannot force the ordering of columns in a mysqldump. You can, however, use the table [CODE] . You will need the following: MySQL Instance with the old data loaded MySQL Instance with the new data loaded Some Patience and Scripting With this setup in mind, here is what you need to do: STEP 01) Use Que...
9
3
7,348
2013-03-22T14:28:51.350
data_quality
dba.stackexchange.com
323,368
During an online piecemeal restore, is it possible to restore to a point-in-time?
I have a database (full recovery model) with multiple filegroups, that each have full and diff backups. I am able to replicate an online piecemeal restore (SQL Server 2019 Enterprise Edition) as it is described here: Example: Piecemeal Restore of Database (Full Recovery Model) However, when I add a [CODE] clause when r...
Once the primary filegroup is restored to a point-in-time and brought online, further piecemeal restores will recover to the same point . You don't need to specify [CODE] for those restores. It's a shame the error messages misled you. A database is always brought to the same consistency point, regardless of the specifi...
3
3
248
2023-02-10T16:41:22.713
database_errors
dba.stackexchange.com
683,091
How can I tell if a cisco router is dropping pings due to DOS suspicion or if it's experiencing packet loss?
We use a PRTG server that's connected to a cisco 6500, which feeds a large network of about 1200 switches and radios in a router-on-a-stick topology. In PRTG I'm able to set a 'ping burst' sensor on a device, and I can set the ping size, count, timeout, and delay(between each count). I have all my ping burst sensors to...
I would use ' debug ip packet ' and trace the ICMP packets at the time you send the bursts. That would give you an idea of what was happening. More info here: Cisco Debugging And, I'll reprint the warnings from that site here: Enabling debugging can disrupt operation of the router when internetworks are experiencing hi...
0
2
1,130
2015-04-16T05:00:34.607
api_errors
serverfault.com
153,331
How to Deal with Performace counters
Recently we got this alert from monitoring team. SQLServer:General Statistics Logins/sec has exceeded the threshold of 2 I tried to know a bit about it and if the value is less than 2 per second indicates that the application is not correctly using connection pooling. What does Application is not correctly using the co...
From the documentation Connection Pooling is: Connecting to a data source can be time consuming. To minimize the cost of opening connections, ADO.NET uses an optimization technique called connection pooling, which minimizes the cost of repeatedly opening and closing connections Basically the provider keeps connections ...
1
2
468
2016-10-26T03:43:44.197
pipeline_ops
dba.stackexchange.com
805,129
Does htaccess redirect to another domain still affect the original website's bandwidth?
I have a domain (let's call it [CODE] ) that contains: A website A MySQL DB + a REST API service written in PHP to access the data The API service is used by a mobile platform that calls it through the url [CODE] . The contents that come in/out the API are simply JSON data. Everything is hosted by a famous service whic...
I'm assuming you are speaking about a 301 redirect (moved permanently). Your one.com server will still incur some bandwidth usage, but not as much as before the redirect. A 301 redirect just answers the client with a response header telling them to request some new URL instead. It doesn't send the actual content of the...
0
1
340
2016-09-24T18:16:26.793
api_errors
serverfault.com