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
661,103
Cannot use PStool for more than 7 PCs over LAN
Below is the batch file command I am currently using to shut down remote computers on our LAN. Here is what it does. I have specified the remote computers IP address in text file named list.txt I have added an IP as 0.0.0.0 at the bottom of all the remote computer IPs. The below batch file will check if the computers a...
I changed my script as below and converted from BAT to EXE using an application [CODE] Still I was facing the same problem. As I was running the scripts using exe file(converted using BAT to EXE), I executed using the BAT file it was fine.Then I realised that the BAt to EXE converter had some issues which was affecting...
0
0
70
2015-01-21T03:40:08.647
infrastructure
serverfault.com
655,543
Is it possible to migrate Azure VM image from one Subscription to another Subscription?
I recently captured one azure vm image in one storage account, and planning to migrate this image to another storage account under a different subscription. I used PowerShell Script to run this task, but I came across with this problem: The storage account was not found. And one more concern is that PowerShell has to b...
Try this: [CODE]
1
2
8,024
2014-12-31T03:20:50.363
pipeline_ops
serverfault.com
507,490
Why would IGMP and MLD be required to forward unregistered packets to all ports?
First, a little background: My understanding is that the purpose of IGMP (and its IPv6 cousin, MLD) is to avoid wasted bandwidth by ensuring that multicast packets only get transmitted to destinations that are actually interested in those packets. This logic is a refinement of an older/simpler switch behavior, which wa...
The problem is described in the meeting report which is referenced as [IETF56] in RFC4541 : Problem - Router IGMPv2 snooping switch IGMPv3 capable host Router sends IGMPv3 query, which tells the host to use IGMPv3 Hosts send IGMPv3 reports What then happens ? Switch does one of these 3 : Doesn’t forward reports Forward...
2
1
2,308
2013-05-14T01:51:44.253
infrastructure
serverfault.com
763,522
Does ESXI Require New Drives Be Part of a Datastore to be seen by Virtual Hosts?
I posted a similar question to SuperUser and got not response, so I apologize if I've broken rules by posting here, but I'm at a crossroads on my server setup and need a bit of help. I am new to EXSI and I want to have disks available to various Linux virtual hosts, but do not want the storage inside .vmdk files. Why? ...
My strong advice to you is to use your VMware estate as the vendor intended and encapsulate your virtual machines in VMDK files. This is for support, portability, consistency, reliability and performance reasons. If I rip the disk out of the ESXI box or nuke ESXI, I want to be able to put the disks in another Linux box...
1
1
155
2016-03-14T04:35:10.837
infrastructure
serverfault.com
130,887
Dismount USB External Drive using powershell
I am attempting to dismount an external USB drive using powershell and I cannot successfully do this. The following script is what I use: [CODE] I then check my computer to check if drive is unmounted but it is not. The Boolean parameters $force and $permanent have been tried with different permutations to no avail. Th...
A clean solution that doesn't leave any half baked open references like the sample from pk does is: [CODE] Retrieved from http://sushihangover.blogspot.nl/2012/02/powershell-eject-local-or-remote.html
15
14
47,282
2010-04-09T11:15:18.550
infrastructure
serverfault.com
137,946
MySQL 5.6 Aborted_connects increase without error log
MySQL server version: 5.6.26 Linux: Linux 2.6.32-431.11.7.el6.ucloud.x86_64 #1 SMP Wed Jan 7 23:42:27 CST 2015 x86_64 x86_64 x86_64 GNU/Linux Situation: Aborted_connects increase 5-10 every minutes log_warnings=2, but no error/warnings in error files using TCPDUMP 3306 port, but cannot find any aborted connection reque...
Found a Zabbix_Agent process connect to mysql server. I cannot understand, why the log_warnings=2 cannot log the warnings.
1
0
1,142
2016-05-09T03:57:46.060
database_errors
dba.stackexchange.com
800,778
nginx location regex not working
I'm trying to setup location directive to match my request but can't get it working. Below is my sample request: /APP/public/api/v1/item/100/type [CODE] If I set like below it works: [CODE] Am I missing anything ? Thanks.
Try just setting up the context for request processing, and then use a rewrite rule inside of that context, something like: [CODE]
0
0
859
2016-09-02T17:05:42.707
infrastructure
serverfault.com
536,915
IPv6 Postfix can receive emails but cannot send
I installed postfix mta and configure to work with IPv6. I tested sending an email from gmail to my vps and the email has been received but when i want to send an email to gmail i get timeout like below: [CODE] As i see from the logs MTA tries to connect on port 25 which i think is closed. Any ideas what is the problem...
Port 25 is indeed filtered by HE.net because of abuse. See this thread. For sake of reference, I pasted the post below: Due to an increase in email abuse, new non-BGP tunnels now have SMTP blocked by default. If you are a Sage, you can re-enable SMTP by visiting the tunnel details page for that specific tunnel and sele...
1
2
990
2013-09-06T10:42:29.253
infrastructure
serverfault.com
693,153
User with grant permissions cannot grant permissions for new user with and new database
I am using: mysql 5.5.43-0 on ubuntu 14.04.1 I try to create a new admin-user (admin) who is allowed to do the following things: a creating new users (dbuser1) with password - (permission "create user" -> works) b set password for new created user - (permission "insert/update on table mysql.user" -> works) c grant usag...
It's look like to me that you want to create just another admin like default [CODE] , so you can use simple syntax like that: [CODE]
0
0
7,387
2015-05-19T21:54:47.210
database_errors
serverfault.com
36,827
Is regularization included in loss history Keras returns?
I'm getting to know Keras. Right now, I'm testing with regularization and how to use them. Comparing the results of loss history for a training session with and without regularization, it seems to me that the loss history reported by Keras has the regularization term added to it, is that right? When my model has no reg...
the regularisation values are by default computed in the loss and so you cannot see the regularisaiton values separately (as far as I know). For a brief explanation of an example using the cross-entropy loss with regularisation, have a look at the example in Michael Nielsen's book . You can see what is returned and ava...
2
3
2,148
2018-08-12T14:58:49.387
api_errors
datascience.stackexchange.com
90,042
Why can a non-clustered index not be dropped using online=on option
When attempting to drop a non-clustered index using the online option such as [CODE] , I receive the following error message. [CODE] The SQL Server documentation clearly states: The ONLINE option can only be specified when you drop clustered indexes. https://msdn.microsoft.com/en-us/library/ms176118.aspx But can someon...
Because dropping of a NCI is already as much online as it gets. Is a metadata only operation. There is not even data deletion, a dropped index rowset is simply deallocated, ie. the same operation as truncate does. Dropping a clustered index, on the other hand, implies a rebuild and is a size-of-data operation, so it do...
8
12
5,613
2015-01-23T19:26:06.447
database_errors
dba.stackexchange.com
298,046
Access container object from within an item
Generally I have 3 classes, a container that holds an array of items and a special object that is another property of the container class. What I need to do is access the special object from an item object within the container. I see 2 ways of achieving this. [CODE] Or [CODE] With the first example the problem I'm conc...
A few solutions come to mind: In stead of calling that [CODE] on the Item, call it on the Container. Something like this: [CODE] In stead of hard coding that dependency into the Item, you could inject it when you Item needs it. Something Along these lines: [CODE] And you could use it like this: [CODE] Another option wo...
1
2
798
2015-09-23T13:43:02.550
pipeline_ops
softwareengineering.stackexchange.com
414,325
How to handle complex business logic permissions in the database?
I have a system in development and part of the system is how permissions are handled, business logic rules for this are very complex so after lots of trials, we couldn't fit them directly in the database and I came up with the following model (the structure is very simplified of course): [CODE] Permissions are basicall...
Is there anything that forces you to handle complex business logic for authorization rules at the database level? I would rather recommend to handle such business logic rules in the application code . Your database can contain information that tells you what roles a specific user has or what groups they belong to but f...
3
5
1,786
2020-07-31T11:11:28.580
api_errors
softwareengineering.stackexchange.com
11,289
netstat tips and tricks
In the same vein as the "Useful Command-line" questions (for Windows , Linux , and Mac ) , I think it would be handy to have "useful ways to use utility x" questions. Man pages tell you what parameters do, but not necessarily why you would use them, what the result means, what useful things the command does that you'd ...
Show local listening TCP/UDP ports, and the process they belong to: [CODE]
13
4
48,269
2009-05-22T14:41:39.270
infrastructure
serverfault.com
265,978
max file descriptors with nginx and IM erlang server
I'm using nginx for serving static files and as a proxy for an Erlang IM server. Each user is using two long-polling http connections. OS is ubuntu server. On peak hours I see: [CODE] On normal hours the number of file descriptors goes below 1024 but it never exceeds 1024. Users reporting on lost connections when I'm h...
Another user besides root is most likely hitting your file descriptor limit. Try switching [CODE] to [CODE] That way every user has a upper limit of 30000.
1
0
593
2011-05-03T20:47:44.667
infrastructure
serverfault.com
44,354
Ordinal classification with xgboost
I am working in the problem where the dependent variables are ordered classes, such as [CODE] , [CODE] , [CODE] . How could I declare this problem in [CODE] instead of normal [CODE] or [CODE] ? Thanks
You can run 2 xgboost binary classifiers 1 classifier classifies if sample is (good or very good) 2 classifier classfies if sample is very good if both true on unseen data classify as very good if only 1st one true, second false classify as good both false=> classify as bad
6
2
5,786
2019-01-22T03:53:05.400
data_quality
datascience.stackexchange.com
707,228
Consumer (or prosumer) SSD's vs. fast HDD in a server environment
What are the pro's and con's of consumer SSDs vs. fast 10-15k spinning drives in a server environment? We cannot use enterprise SSDs in our case as they are prohibitively expensive. Here's some notes about our particular use case: Hypervisor with 5-10 VM's max. No individual VM will be crazy i/o intensive. Internal RAI...
Note: This answer is specific to the server components described in the OP's comment. Compatibility is going to dictate everything here. Dell PERC array controllers are LSI devices. So anything that works on an LSI controller should be okay. Your ability to monitor the health of your RAID array is paramount. Since this...
29
22
11,184
2015-07-20T23:19:39.400
database_errors
serverfault.com
704,152
after install ssl certificate fatal bind xxx.xxx.xxx.xx port 587 already in use
I have an Ubuntu 12.04 server setup with Virtualmin/Webmin latest version using a self-signed certificate generated during installation working fine for more than a year without any problem. This week I installed a GoDaddy certificate (Not wildcard) in one of my 7 domains that is not the default domain. Following the V...
Well looks like you have two entries of [CODE] on [CODE] [CODE] Second line will instructs postfix to listen on port 587 (again). That's why postfix complain with error message fatal: bind xxx.xxx.xxx.xx port 587: Address already in use Remove either of those submission lines.
0
0
10,585
2015-07-07T18:01:32.080
api_errors
serverfault.com
364,133
Task Scheduler Library Windows Server 2008
A scheduled overnight task attempted to run but returned the operational code 'Launch Failure' - I think this was to do with a server connection going down. I can't remember what Task Scheduler said the status was but I ended up manually restarting the script. It appears to have run successfully, however in the history...
I right-clicked the task and selected 'End' and it reset the status back to 'Ready' so hopefully that will fix it!
0
0
257
2012-02-27T14:33:30.413
infrastructure
serverfault.com
119,612
How to install .NET 3.0 or 3.5 on Windows Server 2003?
I'm having difficulty installing .NET 3.0 or 3.5 on my Virtual Dedicated Server with Windows Server 2003. I get this error every time: http://img402.imageshack.us/i/net30setuperror.jpg/ Any suggestions about how I can get this installation to succeed?
Are you sure you downloaded the correct version? There might be a specific version meant for server and the version you are trying to install is XP. Also 32bit vs 64bit might make a difference. Maybe you need the full package? http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35....
1
2
571
2010-03-05T17:16:31.543
infrastructure
serverfault.com
93,112
dataset split for image classification
I am trying to do image classification for 14 categories (around 1000 images for each cat). And i initially created two folders for training and validation. In this case, do I still need to set a validation split or a subset in a code? or I can use the whole files as train_ds and val_ds by deleting them Folder names in...
If you have already split your training and validation sets into separate directories then there is no need to technically do the splitting in your code. However, the problem with a pre-defined validation set is that it can lead to overfitting more easily: the primary purpose of a validation set is to detect overfittin...
1
1
780
2021-04-15T21:26:41.307
data_quality
datascience.stackexchange.com
63,515
How hard is it to host from home?
I have always payed a company to host on dedicated servers which is really expensive, 1 of my sites has 2 servers right now, a web/http server and a seperate mysql server. What would it take for me to do this from home? I would need a LAMP setup. 1 benefit I can see is I could add as much ram and stuff as I wanted I on...
Technically, unless your cable provider is blocking access to the ports that you want to serve (probably 80 and 443 for http/https respectively) then there's nothing stopping you from hosting your own . Seth said as much. As pretty much everyone else said, it's a bad idea. So what would it take to make it a good idea? ...
4
8
856
2009-09-08T21:56:11.797
database_errors
serverfault.com
798,771
Remove "www" subdomain from Bitnami install of Wordpress on AWS EC2
I am pretty fresh to URL rewrites, and AWS for that matter. I installed Wordpress on an AWS EC2 micro instance and I would like to make is so that my site always redirects the www.domain.com to domain.com. I followed the instruction from Bitnami here and the site is still accessible but it is still accessible from www....
I think that the problem is that you did not restart Apache after you applied your changes. Therefore, the new configuration is not loaded. I recommend you to execute the following command after you apply you changes: [CODE] Please let us know if this solution works for you. Best Regards, Juan Ariza
1
0
577
2016-08-24T09:11:40.607
infrastructure
serverfault.com
263,436
PROFTPD - Why permissions denied?
I have installed proftpd on my server, I tried to connect to the server but I get LOGIN INCORRECT. I have seen the log and I found this: Apr 26 13:02:39 vmi**** proftpd[16738] vmi*****.*********.com (*********[::ffff: . . .* ]): notice: unable to use '~/' [resolved to '/home/lighttpd/vhosts/mywebsite.com/web/']: Permis...
Every directory in the full path has to have [CODE] (execute) permission for the mywebsite.com user, otherwise he'll not be able to cwd into it. So you have to check permissions of: [CODE] not only [CODE] Additionally [CODE] should have [CODE] permission set to allow read the directory, i.e. list its content.
0
4
7,549
2011-04-26T11:12:49.233
infrastructure
serverfault.com
310,239
Is it viable to copy contents of a database into a program's memory, if multiple queries take time?
The task: I have a database with 4 tables with 200 rows, 800 rows, 50 rows and 30 rows respectively. Just to simplify it, let's assume the tables are these sets: A = [Ar1, Ar2, Ar3], B = [Br1, Br2], C = [Cr1, Cr2, Cr3], D = [Dr1, Dr2, Dr3, Dr4], where Ar1 means row1 of table A. There is also a 5th table "E" with 250 ro...
"Is it viable to copy contents ... into a program's memory" "Viable"? Of course, the technique is called caching and I am sure you have heard of it. However, you should invest some thoughts into things like is the memory available in full, in the production environment, exclusively for your program? what will happen wh...
1
4
305
2016-02-16T16:27:31.603
api_errors
softwareengineering.stackexchange.com
740,950
Clearing cached memory of uploaded file
On my system, I have a log file that is being rotated and uploaded every hour. This file is heavy on writes and only needs to be read when rotated and uploaded. The [CODE] memory on my system is raising until it allocates the entire RAM and then the OS clears some of it. I want to improve that process and I suspect tha...
In general, it's best to just leave your operating system to manage memory itself. Memory used as cache will be returned to processes when they request it. You really only need to start taking action when your system is regularly using significant amounts of memory for processes or you have gone beyond that and are swa...
0
1
123
2015-12-05T10:26:19.647
infrastructure
serverfault.com
173,286
Is Arch Linux suitable for server environment?
Do you consider Arch Linux suitable for server environment? Its rolling release model and simplicity seems to be a good thing, because once you installed it, you do not need to reinstall like the release model from other distros. But that constant upgrading does not cause stability problems? Although it is bleeding edg...
Probably the biggest issue with Arch as a server operating system is that it's not clear where and when applications may break after an upgrade. More often than not, you have to keep up with what's going on in the wiki and on the forums before doing any sort of upgrade; with Debian and CentOS, you can well assured that...
44
51
50,781
2010-08-22T17:08:57.447
infrastructure
serverfault.com
284,880
What are the pros and cons of using Postgres over SQLite for tiny and small projects?
I'm a fullstack junior programmer with a few side projects, every with a few tables and a few hundred or thousand rows at max. I like to use a dockerized Postgres even for tiny projects, since it's more fully-featured (from small things such as the built-in regexp function, which SQLite does not have, to bigger, such a...
SQLite drawbacks that matter for an embedded database: Much more bare-bones, less features, data types, etc Optimizer not so smart as postgres SQLite advantages: In-process This means no context switching or network communication, much lower overhead for large numbers of fast queries, much faster data transfer between ...
2
2
453
2021-02-07T13:15:47.853
pipeline_ops
dba.stackexchange.com
788,154
Google Cloud Compute Engine CentOS 7 image missing /usr/share/google directory
I have installed CentOS in the distant past and /usr/share/google directory existed. But the current image (x86_64 built on 2016-06-29) offered does not include this directory. This is also true of the CentOS 6 image. I am specifically looking for safe_format_and_mount, and I've searched the system and it is not found ...
The 'safe_format_and_mount' tool is deprecated and is not included in new VM images. To format and mount disks, you can use mkfs.ext4 and mount tool which comes preinstalled with Linux images. The steps are documented on this link .
0
1
550
2016-07-06T03:52:59.677
infrastructure
serverfault.com
1,012,575
How to be sticky on REST lifecycle in haproxy
I want to route all requests for a given resource to the same server. If a resource is created on a server, all following requests should be routed to the same server. To be sticky on the url is not the problem, but how can I fill the stick-table from the first response? Example: Request: POST /resources [CODE] Respons...
Finally found a solution that works. I am posting this, in case somebody else is interested in the solution. The relevant lines are the following in section backend: [CODE]
0
0
260
2020-04-16T12:57:32.737
infrastructure
serverfault.com
77,347
Why is this mod_rewrite RewriteRule directive not working in the .htaccess file?
I've got a site that was hosted on a linux el cheapo hosting service that I'm migrating to my Mac OS X 10.5 Leopard Server server running Apache 2.2.8 & PHP 5.2.5 w/rewrite_module enabled and [CODE] , but I'm running into an issue with the following lines in the [CODE] file: [CODE] As you can see, I've commented out th...
just add this to your .htaccess file [CODE] i've had the same problem for hours i don't know why, but it's turned on by default on OSX it produces your error because when you try loading category/ it finds the category.php and redirects everything after the slash to that file
3
6
5,121
2009-10-22T20:34:54.870
infrastructure
serverfault.com
390,506
Should an abstract class implement an interface, as opposed to defining its own abstract methods?
I'm defining a class structure for persisting to our cassandra database, and I'm unsure about using a combination of an abstract class and an interface. I have two concrete classes, one for persisting reports and the other for persisting configurations. They both have separate entity classes defined else where that the...
First, let's rename the repository and interface, and then we can talk about why creating an additional layer of abstraction (the interface) is beneficial. The [CODE] interface has a name problem. It has the word "Cassandra" in it, which ties it to a database vendor. Let's rename this to simply [CODE] instead. [CODE] N...
3
4
3,853
2019-04-17T10:51:01.600
database_errors
softwareengineering.stackexchange.com
104,967
Oracle: Recursively self referential join with nth level record
I have self referential table like this: [CODE] I need nth level parent in result. for example 2nd level parent [CODE]
You can use the SYS_CONNECT_BY_PATH hierarchical function to generate a list of parent IDs from the tree root to the current record, and the level pseudo column to count the number of members in the list (+1). In the next stage, the regexp_substr function extracts the Nth path element from the ath for display as the Nt...
0
1
219
2015-06-24T07:04:08.610
database_errors
dba.stackexchange.com
999,769
Working with an CSV File with Ansible
I have a situation where I have one csv file with over 100 rows the columns look like the following: [CODE] Currently I am trying to iterate / loop over the above CSV file within Ansible, within the File Module: The yaml file has the following: [CODE]
You cannot parse the csv as a dict with [CODE] as [CODE] because [CODE] is not unique in your csv file. It is not really clear how [CODE] will be handled in that file. This might cause other problems in your subsequent tasks... In this case it is much easier to parse it as a list by dropping the [CODE] option to the mo...
3
2
2,808
2020-01-21T12:47:58.877
pipeline_ops
serverfault.com
3,337
Speeding SQL queries for a large(?) WordPress database?
I am using a WordPress plugin called feedwordpress in order to run a planet like website (it takes content from other websites, with their permission) on WordPress (See it here ). The plugin is great except for one thing - it hogs down my (VPS) server into submission once every week or so. In a recent e-mail exchange w...
The first thing I see is the MD5(guid) = '235cbefa4424d0cdb7b6213f15a95ded' in the WHERE clause. That might trigger a bypass of the MySQL Query Optimizer and issue a full table scan to accomplish locating the row. Also, try to find out if the guid column is indexed in the wp_rb_posts table . Also, what jumps out at me ...
5
5
888
2011-06-16T04:43:37.813
database_errors
dba.stackexchange.com
322,943
In IIS 7.5, how can you tell which modules and handler ran for a particular request?
I'm trying to debug/verify my web.config for an ASP.Net MVC 3 application running on IIS 7.5. When a request comes in, it gets ran through the stack of configured HttpModules and finally gets delivered to a particular HttpHander. I need a way to run a request, then log/view ALL of the modules that ran and which handler...
Session state might well be running for static files! Easiest way to tell is to FREB it. Use Failed Request Tracing, and set a "failure" condition of 200 in the tracing rules. In short: Install FREB on the box (it's the "Tracing" feature in Health and Diagnostics IIS 7: if you don't see an icon (Failed Request Tracing ...
1
0
549
2011-10-19T15:47:35.333
infrastructure
serverfault.com
554,606
Some Windows AD user property cannot be changed by AD user himself, what controls it?
I'm curious with a question I find. An Windows Active Directory user can change his own telephone number, street address etc, but can NOT change his own email-address registered on the AD. Using Python+pywin32 I can also verify this behavior. When trying to change own EmailAddress, I got error General access denied err...
This depends completely on the access control list applied to your user objects, you should take a look at what these are set to for your domain. It appears that you have the defaults set at the moment - a user has default write access to their "Personal Information" property set (which includes [CODE] , see here ), bu...
1
7
226
2013-11-13T02:27:49.210
infrastructure
serverfault.com
160,969
Faster zlib alternatives
I wonder, if there are any faster builds of zlib around with more advanced optimizations? If it's possible to optimize it using SSE instructions or Intel C++ compiller, or some trick which were patented earlier (I know patents were a serious limitation during gzip/zlib development), have anyone bothered to implement th...
Several years after this question was first asked some faster x86_64 zlib's appeared using the type of optimization BarsMonster suggested: Cloudflare zlib Intel zlib Intel's igzip Google's c-zlib libdeflate The authors of samtools (a suite of tools for interacting with high-throughput sequencing data) produced a compar...
7
8
12,220
2010-07-16T01:04:29.347
infrastructure
serverfault.com
574,275
HTML not displaying correctly in email sent with PowerShell
I have a script which displays disk space on all servers on a HTML page and side by side sends email from the content of the HTML file saved. The HTML file is perfect, and the email displays the tabular information same in the HTML file. However, the tables are overlapping in the email.... Code as below: [CODE]
This is happening because you don't close the [CODE] tag using [CODE] in your function [CODE] . To solve this, add the following just before the function close bracket : [CODE] So, your function will look like this : [CODE] Seems that browsers are more permissive about syntax errors than mail clients ;)
0
2
3,383
2014-02-09T10:23:08.877
infrastructure
serverfault.com
17,391
Tensorflow speech-to-text training on single file with tf.nn.ctc_loss not converging
I want to train speech-to-text model on tensorflow. Code at: https://github.com/bikramjitroy/speech-to-text/blob/master/TrainingUnitTest-CTCTrain.py A sample "audio.wav" and "label.txt" file also present in repo. https://github.com/bikramjitroy/speech-to-text I am loading a [CODE] file. Getting 20 mfcc feature per fram...
I have found the solution. Earlier I have a Dropout layer after single layer of RNN. I have changed the rnn_layer function as below. Removed the DropoutWrapper from the RNN layer - This helped me to overfit Added 2 layers of LSTM cell. Single layer LSTM cell taking time to converge but rather than making LSTM layer wid...
3
1
1,845
2017-03-06T17:24:18.957
api_errors
datascience.stackexchange.com
364,688
Cannot use Citrix AppCenter to discover XenApp 6.5 farm
I'm going through the initial configuration of Citrix XenApp 6.5. I have two servers, a DC and the XenApp server. I created an OU XenApp, and a user "ctxadmin" on the DC. When configuring the XenApp farm I specific the admin user as DOMAIN\ctxadmin. Now when I'm logged in as Administrator and launch AppCenter, it says:...
Found a solution. While logged in as the ctxadmin user, I went directly to the folder and launched the "cmi60" MMC file directly, not CmiLaunch.exe. This allowed me to run the app as the correct user and discover the farm.
2
1
6,131
2012-02-28T22:00:29.163
infrastructure
serverfault.com
760,644
Windows 8.1 - Group Policy Settings set, but not executet when offline
Enviremental information: Windows Domain with 3 2012 R2 Domain Controlers. I am trying to build a Windows 8.1 in kiosk mode, only a browser with access to specific websites. With the help of GPO - partially with user settings and GPO Loopback Processing enabled - i made Internet Explorer (with -k option -> fullscreen K...
After some more testing, finaly the settings are still beeing applied offline. The problem seems to be to "DOmain Guest" Group. I wanted to prevent this user to login to other machines on our campus, because in order to achieve auto logon, i had to put the plaintext password in the registry. This is why i removed the u...
-1
0
121
2016-03-01T07:48:00.700
infrastructure
serverfault.com
264,725
Explain shows index doesnt working but i have an index
The query in MySQL is: [CODE] And the EXPLAIN EXTENDED says this: So in the users table i have this indexes And the great problem and why i'm using indexes in this problem is because the query is large and the time is 4 sec so when 10,000 users are checking the same the query is slow x10000. Help me pls I forgot. The i...
[CODE] does not optimize well. The usual workaround is to reformulate the query to be the [CODE] of multiple [CODE] to look for the alternatives. However, your situation might work better with a second [CODE] and [CODE] . [CODE] Side notes: What the heck is the [CODE] that needs to be varchar(250)? There are two identi...
0
0
62
2020-04-10T03:28:24.953
database_errors
dba.stackexchange.com
61,830
Changing MySQL auto_increment_offset
Sorry for the wall of text, but I don't know what's relevant and what's not. I have MySQL a MySQL database that it is being replicated from our production environment to our development/test environment so that they get real-time updates for the DEV side of the web application. The problem is that DEV wouldn't really b...
You find the explanation of your question in the docs : "If the value of auto_increment_offset is greater than that of auto_increment_increment, the value of auto_increment_offset is ignored." For your purpose it would be sufficient to leave [CODE] and [CODE] on their default values and simply run: [CODE] on the slave....
1
4
13,976
2014-03-26T19:07:24.953
database_errors
dba.stackexchange.com
192,155
Why is my cursor not stopping in the last table?
This is the cursor: [CODE] It does what it needs to do, it loops through 2 tables and populate it with some data. OK. But when it reaches the last table, it gives me an error, trying to insert the first table's data again: [CODE] this [CODE] table was already inserted. why is the cursor not stopping in the last table? ...
Your error gives me a clue as to what might be happening. [CODE] You have several integer variables that you are trying to concatenate to the @CMD string variable [CODE] Try using [CODE] or [CODE] against your integer variables before trying to concatenate them with the @CMD string varible.
0
2
142
2017-12-01T11:30:38.423
database_errors
dba.stackexchange.com
294,722
Large 30+ mil row table needing to use where IN clause
We have a table that contains, as of today, 30+ million rows of addresses. We have a field [CODE] that is either 1 or 0. We need to be able to query the table [CODE] I have created an index as [CODE] If I run a query as [CODE] it only takes milliseconds. If I run a query as [CODE] it takes 5+ seconds. Is there anything...
Is the list of zips in your [CODE] predicate really long? At my company we have had the problem since MySQL 5.7 that there's a cap on the memory the optimizer can use, according to the option range_optimizer_max_mem_size. If you have too many items in the list, the optimizer gives up, and decides to do a table-scan ins...
1
4
796
2021-06-23T17:54:27.323
database_errors
dba.stackexchange.com
1,111,405
In Apache why does 502 request do not get registed in in access logs
My apache with php throws 502 intermitantly. while other response codes do get registered in apache access logs but, 502 requests do not get registered. Why this behaviour? Does this mean that ec2 instance is closing off the connection before it reaches apache
Out of the box, Apache HTTPD has an error log configured. Most of the errors thrown should be showing up in there. I'd bet your 502s are in there... Should be in the same directory as the access log, but named error_log.
0
0
114
2022-09-23T12:12:18.657
infrastructure
serverfault.com
23,602
Why my application is blocked infinitely and SQL Server never timeout and kill the deadlock
I have a multi-thread application that can opened more than one database connection to perform database operation. These connections are using the same credential. Here is a problem, the application has a thread A opened an transaction, and start deleting items from a table, but the same thread A trigger another thread...
Deadlocks and blocking locks are two different concepts that you need to understand. A deadlock is a situation where process/action 1 is waiting for process/action 2 to finish and at the same time process/action 2 is waiting for process/action 1 to finish. In other words. They would wait forever since they are waiting ...
2
3
1,592
2012-09-03T16:14:28.430
database_errors
dba.stackexchange.com
55,612
Importing Oracle database from dump where source db filesystem has changed
I'm migrating a database from one server to other. In the migration process we changed the filesystem structure from : [CODE] to [CODE] And i'm getting error according to this changes: [CODE] Is it possible to import only de data in the current filesystem structure ? I saw the remap command but i never used it, someone...
To respond to your comment, [CODE] is the default value of [CODE] keyword, so you can ignore this one. Anyway, I have done some tests. I don't know how is structured your old database, but from your question I note that you want to import only two tablespaces ( TAB_ANC , IDX_ANC ) and with all object/schemas within the...
1
4
6,364
2013-12-26T09:43:38.657
database_errors
dba.stackexchange.com
554,976
Is it good to set cpufreq as high as possible all the time?
Originally this question was about why I have cpuinfo mhz of 1400 when I purchased a 2300 mhz server cpu. With the help of HBruijn (thx!) and using [CODE] tools I found out my real specs: [CODE] Question: Is it good to let the driver decide how much power the cpu has (1400mhz on low usage), or is it better for a server...
Original answer: A little bit of everything I would say. The AMD 3280 CPU product description specifies 8 cores and a base frequency of 2400 Hz. which doesn't match with your /proc/cpuinfo nor with the 8x2.3 GHz on your invoice... How to do CPU frequency scaling to conserve power? Paraphrased from https://wiki.debian.o...
0
3
866
2013-11-14T11:58:31.610
infrastructure
serverfault.com
17,491
SQL Server 2005 Express in VMware causing very high CPU load
I'm having the problems described in KB937745 - very high CPU usage and the Application Log is reporting something like this: The client was unable to reuse a session with SPID SPID, which had been reset for connection pooling. I've downloaded the hotfixes and I can't run them - I suspect it is because SQL Server 2005 ...
I found an article that might be of help. Edit: The link above is now dead, but the Wayback Machine has a copy here . The blog post states that Finally we have identified the root cause of the issue is due to the activity on the database causing heavy usage of MARS [Multiple Active Result Sets] which was a feature intr...
6
5
605
2008-11-12T20:07:34.340
database_errors
dba.stackexchange.com
1,066,053
Benchmark script performance against CPU/RAM consumption for different parameters
I have an image processing shell script that can be provided with different sets of parameters that all produce a valid output for me. I'm trying to identity the set of parameters that has the lowest resources (CPU/RAM) usage as this script is going to run on the cloud. Are there any tools I can use to benchmark? I'm l...
You didn't specify which shell you use, so I'm going to assume Bash. For CPU ustage you can use [CODE] . [CODE] For a simple Hello World script [CODE] Output [CODE] For memory you can use [CODE] . While runnig top press o and type e.g. [CODE] to show entries from the [CODE] column that are equal to [CODE] .
0
0
324
2021-06-08T11:40:46.983
infrastructure
serverfault.com
15,100
Python not connecting to mongodb in docker container
I have a simple python script which fetches certain values from the mongodb database. The script works fine on my local machine(host machine) but when i containarized my aplication it doesnt work. Here is my docker file. [CODE] My python code [CODE] This code works fine on my local machine but not on the container. How...
Are you using dockerized Mongodb like this? https://hub.docker.com/_/mongo you must replace localhost in this line of code with mongodb container name: [CODE]
1
1
4,208
2021-12-10T17:29:19.470
database_errors
devops.stackexchange.com
374,263
More than half of the memory in use right after rebooting
I am trying to do some tests with Azul's ZingVM, which needs to pre-allocate large amount of ram. The problem is, on my server (running Cent OS 5.8) which has 16GB ram, more than 8GB will be used right after rebooting... like this (I reboot the server, ssh login to it, and run [CODE] at once): [CODE] Obviously the buff...
OK, I figured it out: See my update 2 in the question. That is the reason. Hugepage is reserved; unless specified, applications won't use it. So ZST can't allocate the memory. When I set Hugepage to zero, the memory is released at once, and ZST allocates memory successfully.
1
3
1,938
2012-03-28T08:22:40.663
database_errors
serverfault.com
18,056
Pod to pod communication GKE
I have this terraform-kubernetes script terraform1 so prometheus scraping list of pods, and hitting [CODE] based on custom resource [CODE] and [CODE] rules it's working fine locally using minikube, but in GKE, it doesn't work, podmonitor works normally: but scraping failed (this part is green when on local minikube): n...
Apparently it's software issue, the software being deployed have blocking on specific headers, it only allows specific [CODE] header, that's why it's 403 instead of timeout or something else.
0
0
71
2023-07-07T18:09:25.033
api_errors
devops.stackexchange.com
216,559
Trigger to check if a column is updated and another one has a specific value
I'm writing a trigger for a SQL Server database. What I want is, when a table is updated, check if a specific column is updated or not and if another column has a value = [CODE] or not. If it is so, the date column should be updated in the old row and a new row should be inserted. This is my table: [CODE] And this is m...
Your question is not entirely clear to me, but here is a start. It looks like you are trying to emulate a slowly changing dimension. I used [CODE] for [CODE] and [CODE] so you could better see the data changing. If I have misunderstood your requirements, please update your question with more information. [CODE] Date be...
-1
0
3,101
2018-09-03T09:11:25.610
database_errors
dba.stackexchange.com
861,312
PSSession as logged in user
I'm trying to setup a Powershell script that will monitor a VirtualBox VM (i.e, "Builder4") running on one of our build servers. It occasionally loses connection and I already have a script (local on the server) that reloads the network adapter, but I want to make it fully automated. I have the PSSession correctly auth...
The answers from Ulfy and Cory Knutson managed to point me in the right direction to find a solution that fit my needs. Unfortunately, starting the VMs with PSSession isn't an option as we still need to be able to graphically access them fairly often. I had attempted starting one of the VMs through the PSSession which ...
1
0
2,582
2017-07-10T15:22:56.017
infrastructure
serverfault.com
519,607
mysqldump isn't able to export a specific database, phpMyAdmin crashes
I'm experiencing problems with a database on my server (Note: All other databases work fine). Once I try to export it with [CODE] I get this error: [CODE] Also, phpMyAdmin throws an error when selecting this database and immediately logs out. However, the web site which uses this database works fine. I can also execute...
Most common reasons (and fixes) for the MySQL server has gone away (error 2006) are: Server timed out and closed the connection. How to fix: check [CODE] in my.cnf configuration file is large enough. On Debian: [CODE] set wait_timeout = 600 seconds [CODE] Default value for wait_timeout might be around 28800 seconds (8 ...
1
1
5,158
2013-06-29T18:45:05.707
database_errors
serverfault.com
803,103
Sending mail when relay = 127.0.0.1 gives me 550-5.7.1 (gmail)
When sending email using web UI (for example roundcube) and my relay is =127.0.0.1 I'm getting this error host gmail-smtp-in.l.google.com[64.233.184.27] said: 550-5.7.1 [193.198.1.11 12] Our system has detected that this message is 550-5.7.1 likely unsolicited mail. To reduce the amount of spam sent to Gmail, 550-5.7.1...
Google's SMTP error reference 550, "5.7.1", Our system has detected that this message is likely unsolicited mail. To reduce the amount of spam sent to Gmail, this message has been blocked Having this message in smtp log lead me to believe that I am on some sort of a blacklist from google. But after configuring mail and...
-1
0
1,978
2016-09-14T20:03:03.753
infrastructure
serverfault.com
1,078,673
Ansible: How to convert shell command output into items or variables
I am running shell command in my playbook to extract the results of a command. The output of [CODE] is [CODE] I need to store this value in a format that allows me to run my next playbook considering the value of item.0 as inst1 and item.1 as db2 and so on. Currently [CODE] is giving values like [CODE] Thanks.
For example [CODE] gives [CODE]
5
4
9,103
2021-09-26T07:40:03.990
pipeline_ops
serverfault.com
390,437
vCenter - Active Directory integration - permissions on specific hosts
I have 4 ESXi hosts with 1 vCenter. I manage the whole 4 hosts with the vCenter interface. How can I block access to specific hosts within vCenter based on the Active Directory user logged on the vCenter interface? For instance I would like to create an AD group called "SuperUser vSphere" and another "User vSphere", an...
You assign permissions on vCenter objects at the level where the object is defined . For instance, to assign an admin group all rights on the cluster, you would add them as "administrator" on the Cluster level. You can then assign permissions on groups of objecs, or even or individual VMs, to users and user groups - ei...
3
4
446
2012-05-18T15:10:32.810
infrastructure
serverfault.com
195,110
Problem connecting to postgresql from external windows machine
I have a Windows laptop running a postgresql database. I want to be able to pull data from this DB into an application on another laptop, say excel or access. So far, I set up a DSN on my machine and it works fine if I want to pull data into excel on my machine. However, I cannot successfully replicate this process on ...
You need to edit pg_hba.conf file in your Postgres installation, and add an entry to allow access via other machine or allow network range. [CODE] As you had success accessing Postgres on the same machine, that could be the reason. Access via localhost is default. Let us know if worked.
0
0
126
2018-01-10T21:20:17.340
database_errors
dba.stackexchange.com
125,607
Dealing with HTTP w00tw00t attacks
I have a server with apache and I recently installed mod_security2 because I get attacked a lot by this: My apache version is apache v2.2.3 and I use mod_security2.c This were the entries from the error log: [CODE] Here are the errors from the access_log: [CODE] I tried configuring mod_security2 like this: [CODE] The t...
From your error log they are sending a HTTP/1.1 request without the Host: portion of the request. From what I read, Apache replies with a 400 (bad request) error to this request, before handing over to mod_security. So, it doesn't look like your rules will be processed. (Apache dealing with it before requiring to hand ...
82
34
91,100
2010-03-24T05:33:49.690
infrastructure
serverfault.com
195,216
Is MVC ever considered/applied system-wide?
I was having a discussion with a colleague and he bought up the topic of MVC and the use of ViewModels in ASP.NET MVC. The discussion was that, in an n-layer architecture, the UI, Business Layer and Data Access Layer are individual assemblies/projects and ViewModels are the UI's representation of a database/business ob...
MVC has become such a buzz-word that it gets applied to everything and the kitchen sink. If you can distinguish a triad with different responsibilities and their communication lines are not all over the map, it will get labelled with the term MVC. Originally, MVC was a pattern for user interfaces, where the View was re...
6
6
842
2013-04-17T08:18:47.337
api_errors
softwareengineering.stackexchange.com
411,629
TCP connection reset in linux(strange packet loss) but not on windows
It is all good on windows, but on linux when I try to retrieve a specific web page, I get a long wait and then a "connection reset by peer" Pinging destination IP works fine. I tried to reduce interface MTU to 1476(found using "ping -c1 -M do -s") and even lower values but it did not solve the problem. On another linux...
In your capture both servers are setting "Do not fragment bit". This means that both ends are trying to do Path MTU Discovery. It seems that there is a firewall that blocks [CODE] form your Linux server towards the remote server. As a workaround enable MSS clamping with: [CODE] You can also try to disable P MTU Discove...
3
9
16,918
2012-07-26T22:18:49.750
data_quality
serverfault.com
192,088
how to import a huge csv file into Cassandra?
I am trying to import a csv file into Cassandra which is very long. These are food products: ingredients, nutrition, labels... It comes from Open Food Data. List information on food products: ingredients, nutritional information, labels, etc. Most of the data comes from crowdsourcing information. The file this envelope...
Use Cassandra BulkLoader (earlier referred to as SSTableloader). The details of how to execute the load is clearly explained here https://www.datastax.com/dev/blog/using-the-cassandra-bulk-loader-updated
2
1
10,804
2017-11-30T16:13:54.767
database_errors
dba.stackexchange.com
4,314
MySQL Workbench Loses Saved Connections
I've been using MySQL Workbench as my go-to management application for quite some time. However, recently (namely, in my most recent install), it will every so often lose the saved connections I've put in. It doesn't happen every time, but sometimes, when I open it up, there won't be any saved connections and I have to...
Did you get the very, very latest? The latest stable build ( here ) is 5.1.19. However, the bug fix has been put in place for 5.2.21 (per here ). The absolute latest version available is 5.2.34, which should have the bug fix. However, that's not the latest stable version; it's just the latest generally available (GA) v...
2
1
3,500
2011-08-04T13:52:59.040
database_errors
dba.stackexchange.com
13,538
Modeling 3 variable equation
The data produced from my humidity sensor at different temperature is as follows (forget about purpose of frequency and its source) on re-arrangement (temp in deg C) In this case temperature and frequency are independent variables and humidity is dependent on both of them. Humidity seems directly proportional to freque...
You want to fit the model $H = \beta_0 + \beta_1 T + \beta_2 H + \epsilon$ The standard way to enter the data to fit this problem is to enter 3 columns, one for T, one for F, one for H. T F H 20 8179 40 30 8044 40 40 7923 40 20 8343 60 30 8250 60 40 8130 60 20 8528 80 30 8430 80 40 8320 80 In R, the model can be fitted...
1
2
52
2016-08-19T06:57:32.600
airflow_errors
datascience.stackexchange.com
735,135
Procmail and thunderbird: folder/maildir created with root as owner
I have a mailserver configured(spamassassin+procmail+sendmail+dovecot) I want all spam mails redirected to spam folder I set /etc/procmail [CODE] And mailbox for dovecot [CODE] When i send a spam mail for test,it not create the folder automatically on thunderbird,and i see the folder(exist on system) has root permissio...
Solution found: [CODE] became [CODE] Now it works
1
1
670
2015-11-10T02:00:51.460
infrastructure
serverfault.com
867,970
Windows 10 installation on Dell T7600 with PERC H310 Raid Controller
We work in an environment with machines running mostly CentOS 7.3 but from times to times we need to switch to Windows 10. To manage those changes, we have a PXE boot solution with tree options: boot currently locally installed OS reinstall CentOS (minimal OS with SaltStack recipe) reinstall Windows 10 (restore a clone...
Edit: a new version of Windows 10 Pro for Workstations could maybe help you out this fall too if you can wait. Windows 10 Pro for Workstations is a high-end edition of Windows 10 Pro, comes with unique support for server grade PC hardware and is designed to meet demanding needs of mission critical and compute intensive...
3
3
9,459
2017-08-10T14:12:00.883
database_errors
serverfault.com
77,925
Training CNN on a huge data set
I am trying to train an AlexNet image model on the RVL-CDIP Dataset . The dataset consists of 320,000 training images, 40,000 validation images, and 40,000 test images. Since the dataset is huge I started training on 500 (per class) sample from the training set. The result is below: we can see from the graph above that...
It reminds me of this question , the training loss is decreasing faster than the validation loss. I understand there is some overfitting, as the model is learning some patterns that are only in the training set, but the model is still learning some patterns that are more general, as the validation loss is decreasing as...
2
1
294
2020-07-18T15:23:24.050
data_quality
datascience.stackexchange.com
744,660
PowerShell: Populating TreeView with Directory Hierarchy
So I'm attempting to write a PowerShell script with a GUI input; idea being that the end users see a nested TreeView of the file system. They tick a some folders, hit a button, ...magic happens. I have the mount points (Not sure what's happening with C yet), problem is i can't seem to figure out / find how to enumerate...
It's simple as [CODE] method returns the TreeNode that was added to the collection i.e. an object of [CODE] type. Therefore, you can apply [CODE] method on it to create new tree nodes corresponding to filesystem nested items as follows: [CODE] Result : Explanation (note comment lines inside code as well): chiefly notic...
1
1
10,925
2015-12-22T09:13:27.670
infrastructure
serverfault.com
328,877
"Share Calendar" button greyed out in Outlook 2010
I´m trying to share a calendar using Outlook 2010 but the button is greyed out. I can share it without problems if I use Outlook 2007 I´m running Outlook 2010 against a 2003 Exchange server. How can I share it using 2010 version
You should check inheritance is checked under the security properties of the user (in AD). Also check full permission given on that mailbox to 'Self'.
1
0
38,118
2011-11-08T13:20:04.080
infrastructure
serverfault.com
876,829
HA on CentOS6.5 constantly switching
I have 2 server Asterisk on centOS in HA group with peacemaker.The cluster is in active passive mode with configured resource groups.The problem is from some time the server switch from the primary to secondary with no obvious reason for me.The log begins with: [CODE] followed with stopping of the resource groups and [...
The [CODE] kind of gives it away. Here the pingd score was 0 (no pings). and then it shows it stops all the resources (Oct 3 19:30:23). Later we see the pingd score hit 1000, and services then again restart: [CODE] (Oct 3 19:30:41). I don't have the full Pacemaker CIB, but I suspect you have some location/colocation ru...
0
1
351
2017-10-04T12:36:32.717
pipeline_ops
serverfault.com
403,592
Using FlashCache on /var on startup
I would like to have FlashCache cache my /var partition however I can't seem to get it to play nice upon bootup (IE: not really sure how to do it). I'm not sure if I need to modify the initramfs/use DKMS or if I can do it in user-land during bootup. The issue I'm running into is /var mounts early and therefore the devi...
Short answer: The instructions for the root filesystem will work just fine. A simpler solution is very likely possible, but depends on your distribution (more specifically, its early boot process). Note that with new releases of Fedora, and likely with future releases of many distributions, this won't be necessary. Len...
4
3
1,128
2012-06-29T22:06:50.960
infrastructure
serverfault.com
104,038
Kernel dies or proses stuck when making LR prediction on dataframe using apply
I'm trying to making predictions with a simple model. [CODE] After fitting, i try to make predictions. A sample X_test value and the code is below. [CODE] The model fits in like 5 seconds. After below code is executed, when it gets to %5 or %6 it stops for a long time (the last stop point was 39938/326232). Sometimes k...
Try this: [CODE]
0
0
295
2021-11-11T11:53:43.567
data_quality
datascience.stackexchange.com
150,798
Change a specific line of a view with conditions
I've recently started working at a company that maintains between four hundred and five hundred client databases, and am doing various maintenance tasks on code (I am junior level after all). I've been tasked with identifying a particular bug in a group of views across the entire scope of the company, and changing each...
This is very easy to achieve with PowerShell (in which you can use Regular Expression to do your work) But here for simplicity purpose, I will use a t-sql solution with a simplified example as shown below [CODE]
1
0
87
2016-09-27T19:24:23.873
warehouse_errors
dba.stackexchange.com
961,704
Issues with Multi-resilient volumes (Mirror-accelerated parity) in a regular (not S2D) Storage Spaces configuration
I'm trying to configure Multi-Resilient Volume (Mirror-Accelerated Parity) using "regular" Clustered Storage Spaces (not S2D) on Windows Server 2019. It is worth noting that I've tried the same scenario on Windows Server 2016 and got the same outcome. Also, it doesn't matter whether I use clustered or standalone Storag...
For MAP (Mirror-Accelerated-Parity) stick with the guide below. We did quite a number of setups following it and it worked reasonably well (see my remarks after link). (Creating Mirror Accelerated Parity Volumes And Storage Tiers in Storage Spaces, Windows Server 2019) https://knowledgebase.45drives.com/kb/kb450193-cre...
4
1
555
2019-04-05T14:01:58.023
infrastructure
serverfault.com
202,639
Finding duplicate files?
I am going to be developing a program that detects duplicate files and I was wondering what the best/fastest method would be to do this? I am more interested in what the best hash algorithm would be to do this? For example, I was thinking of having it get the hash of each files contents and then group the hashes that a...
The fastest way is just to compare hash code of files having same size. This is the idea of of this answer on SO (see the second command line and its explanations). There is no security issue while detecting duplicated files, therefore I would recommend a fast hashing code. For instance the project ccache uses MD4: cca...
5
7
12,009
2013-06-25T05:42:24.930
data_quality
softwareengineering.stackexchange.com
2,281
How to get XPath of a list element generated by AJAX?
When I type a keyword ("Documents 1.xml") [CODE] in this field: [CODE] it returns a list of 4 items, from which I should select the top one. But I can't click on that top item with Selenium WebDriver. I use FireBug and it doesn't give me any hooks for it. When I try to hover over it with firebug "inspect", the list dis...
You should be able to use [CODE] . I'm not sure what you mean by "returns AJAX list of 4 items". I may not be understanding your question correctly.
3
1
5,642
2011-12-29T18:14:40.430
data_quality
sqa.stackexchange.com
961,553
Mongodb doesn't start on reboot
Installed mongodb on Ubuntu 18.04 LTS, mongod service enabled to start automatically on boot. Configured mongodb.conf to start on 127.0.0.1 and host IP. Could start/stop service with systemctl but failed to start on reboot. If bindIp changed to 0.0.0.0, would work. Unlike most of my machines, this one runs NetworkManag...
After some experimentation this worked for me: Changed mongod.service under /lib/systemd/system to use "After=network-online.target" instead of "After=network.target". This results in systemd waiting until networking is completely up before attempting to start mongod (something "network.target" does not require, see ht...
0
0
1,679
2019-04-04T17:39:23.297
database_errors
serverfault.com
33,140
Stratify on regression
I have worked in classification problems, and stratified cross-validation is one of the most useful and simple techniques I've found. In that case, what it means is to build a training and validation set that have the same prorportions of classes of the target variable. I am wondering if such an strategy exists in regr...
I have done this before and didn't find a default implementation - the StratifiedKFold and RepeatedStratifiedKFold are only documented to work with classes. The way I ended up doing it was not quite as you are thinking with quartiles/deciles, but rather using a histogram (it matched my needs). NumPy has a nice method f...
14
8
6,155
2018-06-14T08:48:19.513
data_quality
datascience.stackexchange.com
30,956
Catering for client's web-hosting needs, minus the headaches?
I'll be trying to sell my Ruby on Rails development skills to small local businesses . It seems I'd be shooting myself in the foot if I couldn't manage to put their apps into production, in fact catering for this would be a selling point. However, I do not want to bill every client monthly for the cost of their hosting...
It seems that you are missing out on some potential revenue by making that restriction--worse, you may lose business because of it. Here's the deal with local small businesses (a good friend of mine runs an IT support business that caters to this market): they don't want to deal with the headaches of hosting companies....
1
7
653
2010-12-28T12:08:37.353
api_errors
softwareengineering.stackexchange.com
643,014
Multiple domain server, sendmail working erratically
Movie synopsis: I'm managing just a few websites with VestaCP , each website has its own domain and so far it works good. The server is on Linode . I have implemented a very simple contact form in one of the sites using php's [CODE] : [CODE] For the $headers I've kept it simpler after trial and error: [CODE] The proble...
Try checking that the linode host sees the right MX records for your destination domain... [CODE] That should show Google's servers. If not you've got a lower level problem. The domain part of sending address is typically derived from what is in /etc/hosts for the local machine. At the very least you want this to be th...
0
0
244
2014-11-09T00:39:29.910
infrastructure
serverfault.com
851,114
Exchange Server 2016 Error MaxQueryStringLength when I try to open Admin Console
So I have a 2012 R2 server with Exchange 2016 installed on it. This server is a part of a DAG. Of the three servers in this DAG, only one of them, we'll call it server1, cannot get to the EAC. I can get to the EAC for server2 and server3 from server1 (as well as other servers in other DAGs for that matter), but I canno...
Check the IIS Bindings on server1 and other normal servers. Make sure the Bindings setting is correct on Default Web Site and Exchange Backend site. Meanwhile, on server1, make sure the .NET CLR Version of MSExchangeECPAppPool is v4.0. If it is already v4.0, change it to v2.0, run IISReset, then change it back to v4.0....
0
0
1,666
2017-05-19T12:25:19.877
airflow_errors
serverfault.com
349,000
Whats better, Higher GHz and fewer cores or more cores with lower GHz for a ruby app
I just finished developing a web crawler that essentially allows users to crawl their site and it informs them on errors through out their site. However my app is very server resource intensive. it is a ruby app using rails, mongo, a handful of gems and runs the crawl in the background using delayed job. Testing the cr...
It sounds like your application needs better design and lacks appropriate parallelism unless you're actually rendering those pages in some way, and even then I think you should be able to surpass 8 per second if you uncouple the downloading from the final render -- interactivity is not a priority. You are best served b...
2
4
330
2012-01-11T19:55:12.027
database_errors
serverfault.com
318,201
Split Horizon DNS not working
I'm trying to get a split horizon dns server working on our network. bind9 starts up fine but when I point to the other servers resolf.conf to it I get these access denied messages. (For security reasons I have changed our website name to OURWEBSITE) [CODE] and here is our named.conf [CODE]
Add an [CODE] to your internal view, as [CODE] is the default. Oh, and is there other config in [CODE] ? That should be included, too.
0
1
1,190
2011-10-04T04:14:33.083
infrastructure
serverfault.com
266,081
User having execute procedure permission in MS SQL
Dears, Greetings, How can I create a new user in Microsoft SQL Database, so that user must have only execute permission on only 1 procedure in one of Ms SQL Database. Regards, Salahuddin.
Create new user, SQL or Windows auth you need to decide: https://learn.microsoft.com/en-us/sql/relational-databases/security/authentication-access/create-a-database-user?view=sql-server-ver15 Execute permission to one object: https://learn.microsoft.com/en-us/sql/relational-databases/stored-procedures/grant-permissions...
-1
0
69
2020-04-29T11:23:07.680
warehouse_errors
dba.stackexchange.com
564,309
DDOS using ntp server
I've heard about new kind of DDOS where ntp is used for reflection . My questions are really simple : Can you please give details on how they work and clarify? Since ntp is ran over UDP, I suppose there must be some kind of forged packet somewhere? How is it possible to exhaustively check if some ntp server are vulnera...
These attacks have been around for ages, they just became popular again the last couple of months. They work like any regular amplification attack: a host spoofs a query so that the source IP address seems to be the targetted host. The NTP server sends its answer to the spoofed address. Since the answer for specific qu...
5
15
4,656
2013-12-31T12:14:28.720
database_errors
serverfault.com
95,922
Consequences of changing Active Directory user or computer names
Every once in a while we have occasion to change the name of a computer or user on our Active Directory domain. I've changed several computer names without running into any problems... so far. I haven't tried a username yet (to the disappointment of several users who have gotten married and changed their real names). M...
Internally, AD uses SIDs for access control and authentication, so in most cases, accounts/groups/etc can be renamed without consequence. However, if you have applications authenticating against AD via LDAP, the dn they look for will obviously change when you do the rename.
2
4
2,857
2009-12-19T14:48:56.757
api_errors
serverfault.com
146,916
Checking for Alwayson manual sync process for redo queue data
I have seen frequently few databases are having synchronization issue with secondaries and monitored the same and found redo data queue size is around in 2MB in secondary replicas. I have tried in GUI for resume data and do syncup but it's failed giving error. Do we have any code for apply Redo pending data on secondar...
I have seen frequently few databases are having synchronization issue with secondaries and monitored the same and found redo data queue size is around in 2MB in secondary replicas. This is indicative of two possible items (or both). The system (storage, memory, cpu) isn't fast enough or have enough bandwidth to redo th...
0
1
742
2016-08-16T06:10:09.097
warehouse_errors
dba.stackexchange.com
475,611
Have issues in reverse lookup
I need assistance in a reverse lookup issue. I have a server say [CODE] having an IP [CODE] . If I ping the server, it is resolving to the correct IP. On reverse ping (i.e [CODE] ), it resolves to the domain name and not the server name [CODE] On NBTSTAT -a 10.20.30.40, below are the results [CODE] As far as I know the...
[CODE] is not a reverse [DNS] lookup. [CODE] uses NETBIOS name resolution , which you really shouldn't be using for anything anyway. If at all possible, disable NETBIOS entirely, and use DNS instead. The command you're looking for to do a reverse DNS lookup is [CODE] , not [CODE] . In any event, in a Windows environmen...
-1
1
1,795
2013-02-05T13:44:14.193
infrastructure
serverfault.com
171,245
If a user is created in a primary postgres database, will the user be copied to a follower?
Say a user is created in postgres 9.6 with some specific privilege set: [CODE] (Copied and modified from here .) If that user is created on a primary database, and there is a follower synced with WAL streaming replication , will that user be created with an identical set of privileges on the follower automatically? It ...
If you're doing WAL streaming, you're dealing with physical replication. That means your secondary data cluster is a total clone of the primary. Your data cluster is made of files. With physical replication your files will be totally identical bit by bit between the primary and the secondary node. So yes, roles, permis...
3
5
1,213
2017-04-17T22:47:39.153
database_errors
dba.stackexchange.com
292,350
Need to forward specific web requests to a server that is connected to a VPN, from one that is not
I'm not sure best how to solve this situation that I've found myself in. The VPN in this is running OpenVPN. I have an app server that needs to make web server requests to a specific server that exists on another network and is only accessible via VPN. However, this machine is not connected to the VPN. There is another...
It's much simpler than that. You simply configure the batch server (i.e. the server that has the VPN connection to the other network) to become a router. You can then either add a specific route to the default gateway for the entire subnet with the app servers, pointing all traffic for the other side of the VPN to the ...
0
0
192
2011-07-20T16:23:34.747
infrastructure
serverfault.com
225,968
How to group same columns from same two tables, but from two different result sets and/or conditions
I am having troubles coming up with a query for something that should be quite simple. Initially, I had two tables of data that I generated joint result sets from; an events table, and a groups table (think communities or organisations). I would use a query to get event data, such as event name, ID, the group that host...
I worked it out. The solution focuses on the group ID, event ID and start_date_time fields to begin with, which is filtered by the relative conditions and placed into a derived table. An outer query is then placed around it, responsible for gathering all of the required fields, grouping them together, and sorting by th...
1
0
2,535
2018-12-29T06:30:43.273
data_quality
dba.stackexchange.com
175
Suggestions for "Selling" TDD, and BDD to sceptical non engineering managers
Let's say you are a developer (specifically, the team lead) and you want to improve the quality of your company's products. Since you cannot change the whole company, you focus on what you and your fellow developers can do to enhance the quality of the applications you create/maintain. You decide that this can best be ...
One of the realities about corporate politics (I hate to say it, but it's a big part of our job) is that everyone wants to put out the image that they're open minded and willing to do what's best for the company, but in reality most people want to go with what is safest for their career and with what they know and are ...
8
8
596
2011-05-04T19:27:09.473
data_quality
sqa.stackexchange.com
1,152,261
DNS client to lookup CNAME records automatically
We've just migrated to a new internal DNS resolver, and discovered a limitation that impacts our ability to lookup specific records. Our internal (private) authoritative domain is [CODE] . We have a CNAME record for [CODE] that resolves to [CODE] [CODE] resolves to various A records, who's values are managed by AWS. We...
Instead of directly pointing to the internal ips of the load balancer, you need to point to the public dns name of the load balancer [CODE] So remove the a records and change the cname value to the public dns name of the load balancer
1
0
142
2024-01-25T14:42:39.783
infrastructure
serverfault.com
305,258
Microsoft Hosted Exchange: Possible to outsource single mail account?
I have a customer who polls e-mail for a number of accounts in domain example.com via POP. Now they have a VIP user boss@example.com who wants to use Microsoft Hosted Exchange on his mobile phone. Unfortunately the descriptions of Hosted Exchange aren't too detailed and in heavy Microsoft lingo. My question is: Can it ...
"Can it be configured so that it handles mail for this single user, while all other mail accounts remain on the POP server?" Yes, Exchange can be used to host a single account where the mail flow for the user is redirected from the another (POP) server. The user would just access the Exchange configuration versus the P...
3
2
195
2011-08-26T13:02:42.627
infrastructure
serverfault.com
221,535
Waitresource format explanation in deadlock xml
I have a deadlock xml where two transactions are deadlocked on two resources. waitresource attributes of the process elements have values "OBJECT: 8:1269579561:4" and "OBJECT: 8:1269579561:0". It looks like table objects locks but what are the third parts in the object description: ":4" and ":0"? Where can I find detai...
It's the Lock Partition For large computer systems, locks on frequently referenced objects can become a performance bottleneck as acquiring and releasing locks place contention on internal locking resources. Lock partitioning enhances locking performance by splitting a single lock resource into multiple lock resources....
2
2
811
2018-11-01T14:15:58.257
database_errors
dba.stackexchange.com
1,063,037
One custom maintenance page for all errors (Nginx)
I want to show [CODE] for [CODE] . What code should I put to my nginx setting below? and the file of my nginx setting is located at [CODE] . [CODE] And this is my [CODE] file below. [CODE] My [CODE] looks like this on browsers.
Put your [CODE] file at [CODE] . Put the [CODE] and [CODE] showing below. [CODE] I referred to this website to solve your problem. The website teaches how to show one custom error page for all errors. I also referred to this website to get the code of maintenance.html.
1
1
1,533
2021-05-09T18:25:41.283
infrastructure
serverfault.com