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
730,997
Powershell archiving script
I found the below powershell script on "Hey, Scripting Guy! Blog" it is a great arching script. I modified it to meet my needs of a log file being created and sending an email. However i discovered that the move-file command is to slow and wanted to use robocopy instead. I used robocoopy but i keep receiving "ERROR 12...
There are a few things i can suggest. Ensure that both the source and destination arguments are wrapped in double quotes, in this instance it appears [CODE] is not. Check that the source and destination path don't exceed the Windows file path and name length specification (260 characters in total) Check that the source...
0
0
535
2015-10-22T21:28:27.167
infrastructure
serverfault.com
800,051
How to allow a DMZ server trusted remote access to LAN SQL instance?
we have a setup where our web server is hosting on a machine in our DMZ, which is behind a public facing firewall with the typical ports 80 and 443 directing web traffic to our web server. The DMZ is not domain controlled. We also have several DB servers living inside our domain-controlled LAN, which is protected by a ...
It doesn't work like you are thinking. You can have an IIS app pool run as a domain account on a non-domain joined computer. Further more, a trusted account involves a domain joined computer. You are correct in that you would need to configure a trust between 2 domains. For what it's worth, having the SQL creds on that...
-1
0
2,302
2016-08-30T17:54:17.940
api_errors
serverfault.com
1,117,745
recovering raid5 from 3 working drives, one has a read error
i had 4 drives, lost one drive before, and now another drive was reported by the qnap web gui as having a read error (i did a bad block scan). now i want to insert a new drive, in the lost drive's place, and get data on it from the remaining 3 drives. however, one of the 3 drives has a read error. specifically, this re...
QNAP should be Linux based, using [CODE] and [CODE] . This means it may be possible to replace the broken drive and let [CODE] reconstruct the array, skipping the unreadable parts. However, I strongly suggest to first clone the disk with unreadable sectors via [CODE] and then to use the cloned disk (with zeroed but no ...
1
1
138
2022-12-10T21:52:04.187
infrastructure
serverfault.com
113,047
What is the best method for learning a non-linear function $f(X)$ to predict multiple outputs?
I have feature data $X$ and four predictions $ (u_1, u_2, u_3, u_4) = f(X)$ with $u_1, u_2, u_3, u_4 \in \mathbb{R^+}$ . $f$ is an unknown function (no assumptions on its properties) that needs to be learned to predict $u$ out of sample. I have training data that consists of approx. 10k observations (rows) of $X$ and $...
Well, I am quite new on DS too, but I believe you will need to try some models to identify each one better fit on our data. Something like: Prepare the data (normalized or standardized). Split the data. Train the model. Validate. Tune. Use. The model purpose is generalize the real world, so, you need to investigate if ...
1
1
35
2022-07-28T14:25:16.950
data_quality
datascience.stackexchange.com
187,303
What is 'code skew'?
In the O'Reilly book on Scala, I read that copy-pasting of code creates: ... creates issues of code-bloat, maintainability and skew , I can't see any obvious definitions of the word skew in context. I am aware of the problems of copy-pasting, but I can't make them fit with the word 'skew'. Since this is used in an O'Re...
Skew in its most traditional definition means out of alignment (not parallel). Obviously when code is copied and pasted the two copies are identical and parallel. This is not an invariant. Changes made to one copy is not guaranteed to make it to the other copy (due to carelessness or ignorance). Now there are two versi...
12
19
2,479
2013-02-15T19:43:14.900
api_errors
softwareengineering.stackexchange.com
239,659
i cannot send mail on unix aix?
i try to send e-mail but the following error appear :- [CODE] [CODE] how i can solve this error ????
Well, I found a similar problem on Unix.com forums, where someone was also receiving the dead.letter issue. Have you configured sendmail? If not, in the configuration file /etc/sendmail.cf, the line with DS must be modified and you must specified your mail server. You can add this server in the file /etc/host. After th...
1
3
6,976
2011-02-24T11:03:19.137
infrastructure
serverfault.com
144,827
SSISDB Maintenance job cleaning data very slow on SQL Server 2014
On SQL Server 2014 Microsoft (12.0.2430) SQL Server Enterprise: Core-based Licensing (64-bit) after changing the retention period from 365 to 90 since last 2 days job clean up about 2 GB of data only. I have rebuild & update all stats on [CODE] database still its slow. Current Size of database is 344GB approximately. w...
In order to do it quickly, you will need to delete the SSISDB and recreate it. But I don't recommend doing that. The cleanup job is interfering with your execution of SSIS Packages (or vice-versa). My approach when I'm trimming back the retention period is to walk backwards a day at a time. The script below will do tha...
1
3
2,116
2016-07-25T14:13:14.593
database_errors
dba.stackexchange.com
105,149
What is the privilege for account unlock in Oracle
I want to understand the privileges better, but I'm not able to find some useful info using Google. I thought that I needed [CODE] privilege to be able to unlock user and change password. But currently I'm on a machine, where I can change the password (also for other users), but I'm not able to unlock locked user. Why ...
you have not shown the roles TEST_USER is granted. Likely they have been granted the DBA role which allows ALTER USER. see the documentation for details. This query will show the roles a user has [CODE] of course this requires privileges too, unless you have the CATALOG role, if you select from this table you can alter...
0
1
13,077
2015-06-25T16:09:50.973
database_errors
dba.stackexchange.com
691,247
How do I disable TLS 1.0 without breaking RDP?
Our credit card processor recently notified us that as of June 30, 2016 we will need to disable TLS 1.0 to remain PCI compliant . I tried to be proactive by disabling TLS 1.0 on our Windows Server 2008 R2 machine, only to find that immediately after reboot I was completely unable to connect to it via Remote Desktop Pro...
Microsoft released the patch for this problem Sep 15, 2015 See https://support.microsoft.com/en-us/kb/3080079
54
21
215,942
2015-05-11T20:15:58.057
api_errors
serverfault.com
141,129
Find IDs from a list that don't exist in a table
Say I have the following schema and data: [CODE] I want to perform a query like: [CODE] But this doesn't work. The case above should return [CODE] , since it doesn't exist in the table records.
You can use an outer join against a [CODE] list (similar to Martin's answer mentioned above): [CODE] or a [CODE] together with the row constructor: [CODE] If you like you can also put the [CODE] clause into a CTE to make the final query easier to read: [CODE]
62
74
117,971
2016-06-13T19:00:50.480
warehouse_errors
dba.stackexchange.com
54,893
Remote Desktop to Win 2008: Error in License protocol
I am sitting on a Win XP machine trying to connect to a Windows 2008 Server. I think the cause of this issue might be due to the fact that I said yes to install a terminal server back when I installed the server as I didn't know it wasn't nessecary for RDP. I don't know if this i9s what is blocking the connection but s...
You can try rebooting the server, but you'll need to check on the license server to see if there are any errors. If you installed Windows 2008 in Terminal Server mode you'll need to get on the server and remove Terminal Services in order to get the admin RDP working again. You probably don't have any Terminal Service l...
0
1
4,820
2009-08-17T09:10:46.227
infrastructure
serverfault.com
1,144,278
NetBSD 9.3 - NFS Setup /etc/exports
I am trying to setup NFS, i have run into some problems with regards to /etc/exports When the content of my /etc/exports file is this: [CODE] I get this from showmount -e 192.168.1.245 [CODE] But when i have this in my /etc/exports file: [CODE] from here: https://www.netbsd.org/docs/guide/en/chap-net-services.html I ge...
You can add [CODE] to the lines in the [CODE] file you crafted based on the NetBSD Guide. The documentation for the [CODE] file can be viewed on the NetBSD system by running [CODE] , or on the web at https://man.netbsd.org/NetBSD-9.3/exports.5
1
2
100
2023-09-22T16:41:18.407
infrastructure
serverfault.com
660,369
Postfix relay and store
So, I am setting up a backup mail server. I got it relaying messages (saving them to queue and then, as soon as primary's up, deliver them to primary). It took following two lines: [CODE] However. I want a secondary not only to relay messages, but also to store them to local mailboxes (provided, the local mailboxes wit...
One solution can be to have the relay server has a fake domain and then using [CODE] BCC all the messages to local addresses with the fake domain. Add to main.cf the following: [CODE] and also add [CODE] to the end of [CODE] , this way this server will get the all of the [CODE] e-mails (if the user exists). In [CODE] p...
1
0
489
2015-01-18T02:41:03.293
database_errors
serverfault.com
262,113
copy Linux server from one box to another
Possible Duplicate: Clone a working Linux server We have a Linux CentOS server set up to server a php/mysql web application. We would like to move this to a new larger server. It appears the best way to do this is to run the CentOS setup on the new machine and then copy over certain configuration and application files....
Install CentOS latest available (5.6) on new server Compile Apache, php, mysql etc [make sure that all modules compiled in old server also in new server] Copy all document root folders and files in same structure. rsync all MySQL files or take dump and restore it in new server. [if your old server have MySQL 4.x then y...
0
2
479
2011-04-21T10:58:45.777
data_quality
serverfault.com
415,816
Effective thread usage under blocking scenario
I have the following scenario: I am listening file requests and when one arrives, I am starting download task in a new thread. After download task ends, a process task starts but this is important, process task must wait for download task. To do that, I can use [CODE] or just stop using thread and download in blocking ...
If I understand well your question, the performance issues may be caused by delays on a download task or delays in a processing task, which delay the processing of further files by your listener. This is because, despite your thread, you have fundamentally a sequential pipeline. The only advantage of the threads is tha...
2
3
95
2020-09-12T05:09:23.843
api_errors
softwareengineering.stackexchange.com
424,865
Identifying Exchange 2010 regular process that is walking the mailbox database
I have an Exchange 2010 server running on a SAN-backed platform. The platform does block-level backups based on a snapshot/incremental basis, that only capture changed data. I was surprised to see a regular period of time where the data changes were happening at a high, sustained rate. Due to the way this system works,...
I think you've answered your own question - in that technet blog, it says " Exchange scans the database no more than once per day. This read I/O is 100 percent sequential (which makes it easy on the disk) and equates to a scanning rate of about 5 megabytes (MB)/sec on most systems. " On another note nothing to do with ...
1
1
1,136
2012-09-06T09:23:44.707
database_errors
serverfault.com
232,706
error while trying to retrieve text for error ORA-12154
I am connecting to Oracle server using PLSQL,this is my [CODE] ( [CODE] ) config: [CODE] and this is my env variable of ORACLE_HOME: [CODE] When I am connecting to server,it throw this error: [CODE] Am I missing something? The OS: Windows 10. PLSQL:7.1.4.1390. Oracle 9.
If those lines really start with spaces in [CODE] , that will not work. Remove the leading spaces in the first line ( [CODE] ), becasue an alias can not start with a space. You can also try setting [CODE] to [CODE] , because [CODE] means the connection identifier could not be resolved, mabybe PL/SQL Developer searches ...
0
2
8,388
2019-03-21T10:49:16.510
database_errors
dba.stackexchange.com
717,133
Switching to Java 1.8 on openSUSE 13.2
I removed the installed version of Java 1.7 using: [CODE] Then installed Java 1.8: [CODE] But when I run [CODE] I get: [CODE] Am I missing a symbolic link somewhere?
This would be better as a comment, but I don't have that privilege. Do you have a proprietary Java package? Did you re-logon? Check what is installed using [CODE] . You should be able to see whatever is providing java version 1.7 and remove that package. It is possible to manually install proprietary java packages, and...
0
1
2,423
2015-08-27T03:07:40.720
infrastructure
serverfault.com
591,648
RDS 2012 R2: Broker HA round-robin-name fails
I have these servers... [CODE] I've set up a round-robin dns (called rd.mycompany.local) for the SVRDS1, SVRDS2 and SVRDS3. This round-robin name is set up in broker HA round-robin name. If I log on externally via webaccess (I see that the round-robin name is used as address), I get an error ... "An authentication erro...
Problem solved by calling MS. They changed CAP and RAP to default values and lowered the security on collection to low. Furthermore I found out it's only possible to use collection by using webaccess. I thought I could use Remote Desktop App and the broker address as "Computer Address", but that's not possible.
0
0
3,320
2014-04-27T21:15:14.993
api_errors
serverfault.com
528,419
Configuring new Trac 1.0 does not get its svn versions updated
On my Ubuntu I have installed: trac 1.0 SVN 1.6.17 trac plugin for subversion Then I configured my repository. When I set it it requested me to sync my repository and I did. When I did that the versions were visible in Trac: I could see the source up to the latest version in the "Browse source" tab that appeared. When ...
I found what my problem was. Actually they were few. I, of course, should not have expected that the subversion will automatically know about my trac. I needed to add some svn hooks to make the double-link. I did it following this documentation After that I still did not get it sunning. That was because I was already r...
2
2
308
2013-08-03T10:28:12.127
infrastructure
serverfault.com
531,509
Why does my local network transfer speed decrease with larger files?
Short version: I have a Linux server (RHEL5) and a Windows 7 Professional laptop on a local wired network. Copying large files to the server gets gradually slower until it stops completely. Long version There is a Samba share on the server, which I can connect to, and I have read/write access. All transfers from the se...
I ran [CODE] and it seems to have fixed the problem. This seems a little strange, because the problem has been there with more that a year, and the server has been restarted several times since then. I copied a 365MB file to the server in 70s, averaging 5.2MB/s, with no error.
3
1
4,217
2013-08-16T14:14:41.047
infrastructure
serverfault.com
103,400
Find feature categories associated with a specific target category
I have a Dataset with three columns. Products (up to 200). The quality checks that have not been conducted at the final quality check. (Up to 70 different Quality Control Measures) The result of the quality check. My target is to identify those Checks that are correlating with BAD end results meaning that they should h...
One option is to look at the set membership information associated with "BAD" target value. Which quality numbers are only associated with that label? Which quality numbers are never associated with that label? Which quality numbers are associated with that label and other labels?
1
0
46
2021-10-22T14:43:16.330
data_quality
datascience.stackexchange.com
779,197
How to secure a docker host to not allow rooting
I am trying to make docker on a server more secure. The main problem is that most people say "if a person has access to docker, they can be root too" for an administrator point of few this is not something you would want. To elaborate, they can use [CODE] and mount [CODE] onto [CODE] in the container and change the sha...
Securing a [CODE] engine requires paying attention to many different aspects, and defense in depth is always about layers of security. One of the requirements you have listed, restricting what users can command the [CODE] engine to do, is probably one of the most important, as, as of now, the [CODE] engine does not imp...
6
5
2,148
2016-05-26T14:30:47.440
pipeline_ops
serverfault.com
736,297
How Bare Metal Backup deal with opened files?
I want to do a Bare Metal Backup of my server but I'm concerned about opened files. My server contains many SQLite databases, and SQLite daemons are active 24/7/365. As I know, you cannot backup a SQLite database, while the daemon is active, by simply copying files, otherwise the backup will be corrupted. I know some B...
There is a SQLite backup API available for command line scripting . Previously, backup scripts tended to get locks preventing writes while doing their copy. Being able to snapshot the storage, either LVM or otherwise, also helps. Suspend writes long enough to take a snap, then copy off the no longer changing snap at yo...
-1
1
153
2015-11-14T01:08:55.447
data_quality
serverfault.com
87,904
Energy-Based modelling vs Deep Learning
I am doing some research on machine learning algorithms in the context of a seminar, which focuses on Energy-Based Modeling vs Deep Learning Modeling specifically in working with images. Now I know these are broad topics, but I was wondering what some specific similarities and differences are. I have read countless pap...
I also encountered the concept of energy-based models recently and I am not sure if I got the gist: From my understanding, it was mostly about rephrasing the objective to a contrastive divergence via sampling instead of more classic MLE objectives. Is there anything else that is relevant to EBMs? Also, I have a questio...
2
1
106
2021-01-13T09:36:03.880
data_quality
datascience.stackexchange.com
270,441
Summarizing time spent on UI tests
I was working with a team on a web-based software. We have written ~70-80 Selenium test for the product. Mainly happy-path tests with some regression ones for bugs reported by users. It was the first time when our company did automatic UI end-to-end testing and it seems quite helpful. We have some success stories as we...
Number of bugs caught or fixed has a very bad reputation as a software metric (it is no metric at all). Just Google it and you will find some horror stories. Summarizing these time values indeed won't tell much. What you want to tell your product owner alongside with the statistics is the following: You were working wi...
4
4
130
2015-01-18T01:57:08.570
api_errors
softwareengineering.stackexchange.com
956,332
Prometheus container connection refused
I have prometheus , nginx-vts , php and nginx-vts-exporter all in separated containers i'm trying to get metrics to prometheus from the exporter ,, it keeps telling me Get http://127.0.0.1:9913/metrics : dial tcp 127.0.0.1:9913: connect: connection refused this is the error this is my prometheus.yml global: scrape_inte...
I had the same error, the solution for me was to add this [CODE] flag when running the docker of the prometheus(not push-gateway). Then everything just clicked :) So it looked something like: docker run -p 9090:9090 --net=host prom/prometheus For good measure this was what I was scraping with(Prometheus config): - job_...
2
2
15,850
2019-03-01T14:47:10.417
api_errors
serverfault.com
12,016
How to troubleshoot a black screen (no video) on boot?
On a related question to this one , now I have a file server whose power supply and fans spin up, but gets no video and no beep codes. I have tried two different video cards in the system, and neither one sends any signal to the monitor. The monitor is a known good one; just borrowed it from a working server. The syste...
A blank screen does not necessarily indicate a broken video card, it could be anything in the pre boot sequence. The fact that you are not getting an CMSO beeps indicates that it is not even POSTing properly, so it could easily be CPU, RAM, Motherboard. Unfortunately the only way to find out what is wrong is to swap ou...
1
1
24,023
2009-05-25T15:27:30.063
infrastructure
serverfault.com
81,173
Prevent a "click" to wake from screensaver from passing to the top application?
My company just deployed a dozen Windows XP touch screens in conference rooms to control video conferencing systems. We're using all-in-one PCs with no keyboard or mouse attached, so the only way to wake from screensaver is to touch the screen, which is of course interpreted as a click. The problem we're having is that...
It sounds ridiculously obvious but... disable the screensaver for those machines via Group Policy? EDIT: Why not change to a screensaver that still displays the desktop, but obscures it to help prevent burn in. This would allow the user to see a clean place to "press", and would still protect the display. A perfect exa...
0
3
545
2009-11-03T22:10:17.770
infrastructure
serverfault.com
787,994
How can I get Windows to forget it had antivirus installed?
We purchased a networking and software solution for PCI compliance: TrustWave. We started to install the antivirus but realized that it was not required on the machines it was being installed on and wanted to install a different solution. The program's attended uninstall works fine. It is the unattended install that is...
Never tested it, but it would be a script like this: [CODE] Code from here I would think it would work, as the other code example follows the same format, like shown here but without a delete item in it. A PowerShell equivalent would be [CODE] This could also be run remotely using the [CODE] parameter.
3
4
714
2016-07-05T12:35:00.187
infrastructure
serverfault.com
442,102
Apache 2.4 Prefork vs. PHP-FPM Event shows sig decrease in requests per second
On my Apache 2.4.2 server with a standard mod_php Prefork setup these are my server-status results [CODE] When I switch to a PHP-FPM setup with the Event MPM with no other variables changes, my requests/sec plummet and overall apache response is garbage. [CODE] Is there any obvious reason anyone could think of why this...
When you say no other variable changes, do you mean you're using the same httpd.conf values as prefork? If so, yes, that would explain your results. You need to set MaxRequestsPerChild and MaxConnectionsPerChild differently. MaxRequestsPerChild has been renamed to MaxConnectionsPerChild, describes more accurately what ...
1
0
2,652
2012-10-25T04:27:16.387
infrastructure
serverfault.com
194,137
Hide columns that are constant across a small number of rows
I have a query that returns a small number of rows (usually 2-5) but a huge number of columns (several hundred). The rows are mostly identical, save for a few places. I would like to quickly identify them by hiding columns which are constant (e.g., I have 5 products, all of which cost $3, so the cost column should be s...
Columns are not dynamic. They can't be suppressed on the result because at that point it's too late. You have two options Unpivot [CODE] Becomes [CODE] The schema is fixed from that point and you can return just what you need. Use dynamic SQL. The server returns sql that you issue against the server. You could also fix...
1
1
1,963
2017-12-28T21:32:53.823
database_errors
dba.stackexchange.com
944,343
What is required for logging start/stop of the service?
I would like to log entry when some service was started/stopped. For example this post ( Last restart/start time of a windows service ) explains how to view logs. The problem is, when I start/stop given service nothing is logged at all. So probably I miss some option/configuration enabling the logging. Thus the questio...
You will need to configure auditing on your services. This can be baked into your image or deployed to all computers using Group Policy. From the group policy editor, this is found at Computer Configuration->Policies->Windows Settings->Security Settings->System Services. Source.
2
2
1,006
2018-12-14T11:07:57.933
infrastructure
serverfault.com
307,775
Connecting to an analog dial-in PSTN terminal without a PSTN line
there's a computer ("server") that has no Internet connection , and it is located in a place with no GSM signal . The only way to get connection to it is an analog modem (US Robotics 56Kbit/s). This modem is connected to a national PSTN line with a geographical number, and the server (running a modern Linux distributio...
I suspect there are lots of ways to do this. One that comes to mind is callback . You register a dialin ISP account for the modem on the server; that's simple enough, and non-contentious. You will need an ISP that will allocate you a static address; if this costs extra, pay it. You then configure something like diald t...
9
4
3,622
2011-09-02T22:46:56.797
infrastructure
serverfault.com
639,040
use sysprep for windows custom deployment, but leave settings like keyboard, start menu the same
I am trying to create a "base/reference" installation of Windows 8.1 which I can use to deploy to other computers with different hardware. After a lot of research, I was pointed to [CODE] and [CODE] and managed to get a Windows installation up and running on a different computer. However, I noticed that the Windows set...
I find that it is slightly unusual that you were directed to ImageX, which has been deprecated for Windows 8 forward . Image capturing, management, and deployment that would have been performed with ImageX should be performed with Deployment Image Servicing and Management (DISM) . Moreover, the Microsoft Deployment Too...
0
1
2,128
2014-10-23T08:42:04.063
pipeline_ops
serverfault.com
607,449
Deleting file in tar mounted with archivemount?
archivemount allows rw-mounting tar archives. What happens when I delete a file? Is it actually removed from the tar archive? Is a delete flag set? If the file is actually removed, then I assume the operation to be painfully slow, because the whole archive would need to be rewritten, at least from the point where the f...
You can test this fairly easily create a tar file [CODE] Get it's inode number for later comparison [CODE] Mount the test.tar archive and delete a file from it [CODE] Note above that the file retains it's original inode number. Lets unmount the tar file and see wnat happens [CODE] The inode number has changed so it's a...
-1
4
584
2014-06-24T07:14:05.573
hadoop_errors
serverfault.com
1,017,876
Reject email and force the sender to switch MX records
I am setting up a mail server solution. I want to apply the scenario like this: The domain used is configured with 2 MX records (one with priority 1 - my server and one with 10 - a third party STMP server ) I want the sender to keep using MX record with priority 10 until I have added that domain to my mail server for i...
This is not how you should do this! The correct way is: First configure the primary MX to accept mail for the domain. Only after that you can add the MX record. All the temporary error codes ( [CODE] Transient Negative Completion reply ) tells to try again later, not to try with another MX. From RFC 5321, 4.2.5 : Reply...
0
1
431
2020-05-20T03:31:08.520
infrastructure
serverfault.com
210,234
Firewall rules specific to SQL Server
I have a VPN connection to my remote Win08 server running Windows Firewall w/ Adv. Sec. I open all ports to a handful of specific IPs which gives me ability to connect with Remote Desktop Connection as well as access to the file system (mapping network drives). Now i'm trying to configure access to the sql server. Work...
Strangeness on the part of the firewall. What wasn't working when i started the question now works. I tried executing the script referenced by the KB article without any change. Then re-defined a new rule that opened all ports, protocols, profiles, and programs - essentially duplicating the pre-existing rule. I found i...
1
0
546
2010-12-06T12:22:20.260
database_errors
serverfault.com
13,529
Input for individual perceptron in input layer in MLP
For better understand of neural networks I started implementation of Multi Layer Perceptron. For now I'm implemented single Perceptron that resolve XOR problem. From this point I want start build MLP but I'm not sure if I correctly understand MLP structure. Assume I have data instance with 3 attributes and 2 classes an...
With MLPs you can follow a set of simple rules: The number of neurons in your input layer equals the number of features / data instances you have. A single neuron takes only one input (one feature) The output from one neuron can go to multiple neurons in the next layer which may or may not be fully connected. May the f...
2
2
458
2016-08-18T15:56:46.767
data_quality
datascience.stackexchange.com
501,061
How to get windows network reporting to point to a different partition
My C: drive is small, and it's getting filled with .hdmp files from Windows Error Reporting. I've searched, but can't find a way to get it to dump files on my D: drive instead. TIA
Can't... Windows error reporting saves the dumps locally. You can however disable the Windows Error Reporting, and the .hdmp files. http://technet.microsoft.com/en-us/library/cc754364.aspx
0
1
38
2013-04-19T20:28:40.937
infrastructure
serverfault.com
407,351
how to share or symlink a directory in Apache so multiple virtual hosts can access it
I have a media directory located on the same host as my Apache server, that I want all my sites to have access to. Read access is fine. Potential issue is that I am running mod_ruid. This is on my own dedicated centos server with whm/cpanel. How can I accomplish this?
Have a look at the Alias directive which allows documents to be stored in the local filesystem other than under the [CODE] . So basically you can make an [CODE] directive for every site and they will be able to access the same source.
0
1
52
2012-07-13T03:39:38.723
infrastructure
serverfault.com
635,017
PHPMyAdmin forces to use ut8mb4 as default collation
After to updated PHPMyAdmin the default collation has been set to utf8mb4_general_ci instead the old default collation utf8_general_ci . As I do not have any need to use utf8mb4_general_ci I would like to restore utf8_general_ci as default. Looking on my database configuration I have this: [CODE] Also I have added thes...
Using [CODE] will have the effect of all statements to get the correct charset (notice that right value for "DefaultCharset" is "utf8") and collation, although on start page the "utf8mb4_general_ci" is displayed which might be a "by design" converted value feature in phpMyAdmin.
2
1
10,572
2014-10-10T10:05:15.917
database_errors
serverfault.com
22,245
Oracle DBCA utility: "Listener is not up or database service is not registered with it"
I'm a software engineer with some experience on SQL Server but a newbie on Oracle. I'm attempting to run dbca on a remote linux machine to reconfigure a database that was initially configured to idle with zero memory (so I'm told). Enterprise Manager is not configured properly and my listener.ora is as follows: [CODE] ...
As far as I understand, there is a database on the machine. This database should register itself on the listener. It can do so when it knows where - on which port - the listener runs. In you case the listener is on port 15321. To enable the auto registration of the instance, you should make sure that the LOCAL_LISTENER...
2
3
28,529
2012-08-09T21:59:15.097
database_errors
dba.stackexchange.com
299,746
HP Proliant DL360 G3 - Can't boot from CD
I have made several bootable disks: CentOS amd64, CentOS i386 and the HP SmartStart software. My second hand server refuses to boot to any of them, displaying the message: "non system disk or disk error replace and strike any key when ready"
Make sure the drive is actually functional. I've had plenty of media drives on G3 ProLiants die after 5 years or so. Do you have a USB CD/DVD you can try with? Other than that, enter the Rom-Based Setup Utility (RBSU) and make sure the "Boot Order" is set to hit the media drive before the Smart Array controller.
3
4
10,556
2011-08-10T17:23:32.853
infrastructure
serverfault.com
277,512
Pattern for validating rules having different signatures
I have a class in charge of responding to an input event and maybe triggering another event. To decide, it has several rules to check. I'm trying to get away from a class looking like this: [CODE] I'd like this class to know that it has rules to pass, but not know about the implementations of rules. My attempt was to t...
I guess your Rule class is an example of specification or command pattern. Definitely different rules will need different types of information to do its work, but if it were me, I would not pass those information during method invocation, I would use constructor instead. The information that is different from one rule ...
1
1
2,952
2015-03-27T00:59:02.667
api_errors
softwareengineering.stackexchange.com
215,163
When should I increment version number?
I didn't learn programming at school and I do not work as a (professional) developer, hence a lot of basics are not quite clear to me. This question tries to clarify one of them. Now let's suppose that I have issues [CODE] , [CODE] and [CODE] in my Issues Tracker that are set to be corrected/enhanced for version [CODE]...
I can tell you how I do it at work. We have a continuous integration server that builds, tests, tags and outputs a versioned package. We only proceed to the next stage if the previous one is %100 successful. Our version looks like this: . . Every successful build that has no completed bug fix or feature enhancement inc...
28
20
19,420
2013-10-21T21:26:17.277
api_errors
softwareengineering.stackexchange.com
158,256
SELinux - Getting Started on really understanding it?
I often have problems with SELinux, most of which I have resolved eventually. There are still some situations where doing custom policy would be very elegant and more proper. I'd like to get the skillset of being able to fully do with SELinux what I want. I would ideally like to eventually be capable of implementing a ...
Dan Walsh is indeed the man when it comes to SElinux. I'd start here with the presentation on what SElinux is trying to tell you. http://people.fedoraproject.org/~dwalsh/SELinux/Presentations/selinux_four_things.pdf For policy generation: http://people.fedoraproject.org/~dwalsh/SELinux/Presentations/PolicyGeneration.od...
6
6
1,189
2010-07-07T16:12:01.363
infrastructure
serverfault.com
673,212
How to give a user access to the Certificate Store on Windows Server 2012?
I've battling an issue for the last couple of days that I cannot seem to resolve. I'm not an administrator although I have some knowledge about some administrative tasks. I have a PowerShell script that uses XapSignTool.exe to sign a .xap package. The private key and password are provided. When I run the script while l...
After days of researching I haven't found the reason at the lowest meaningful level but slightly higher than tat. The script worked when the user it was logging in as was already logged in interactively on the machine. If I sign out of the machine, then the script stops working. This was a problem with WinRM and one of...
5
2
8,406
2015-03-05T09:58:20.243
infrastructure
serverfault.com
376,436
Windows Server Backup "Reading Data; please wait..."
On windows Server 2008 R2 I have recently added the windows server backup (WSB) feature. Opening WSB I get the message "Reading Data; please wait...". This message fails to go away, even after leaving the server for over 12 hours. I also notice in the task manager that svchost.exe (username: networkservice) is using al...
I am using Windows Server 2008 R2. I was also trying to use Windows Server Backup to mount a recently backed-up vhd. My Windows Server Backup program was also stuck forever at "Reading Data Please Wait." (My vhd was saved to a USB-mounted external drive). I am not going to answer the question of "What is the underlying...
2
1
16,344
2012-04-03T20:31:02.183
database_errors
serverfault.com
353,587
Apache 500 on parallels plesk + mod_jk: Could not find a worker for worker name
For a long time I had 3 Java web apps running on box with Parallels Plesk panel. Everything was fine until yesterday. Without any reason I started to get 500 on all apps running throe mod_jk - php apps are fine. I tuned log level to debug for both apache and mod_jk - nothing beside this in mod_jk log is suspicious: [CO...
Most bizarre Plesk behavior I saw so far - and I saw a lot of those :) Although one of domains hosted on this box is valid until 2013 Plesk suspended it... and after this all workers stopped to work. Removing worker responsible for app on this domain solved problem... I am not even trying to find-out why... So in case ...
0
0
1,094
2012-01-25T19:19:52.093
api_errors
serverfault.com
24,563
How to get multiple login instances working in Internet Explorer?
Am working on a banking application. Our requirement is to execute tests in parallel in one system. A) Below is how our application responds to selenium parallel execution :- Does not allow multiple logins in IE Allows multiple logins in chrome and FF [During automation we create new profile every time, so I presume th...
If I remember correctly, IE shares cookies even in in-private mode. Caveat: Mac user currently, and I have not touched IE for some time. You might want to check that with this site.
5
1
3,915
2016-12-28T05:20:31.887
data_quality
sqa.stackexchange.com
1,084,527
What are required environment variables for GPG?
I'm trying to setup the docker credentials, and it requires to initialize the [CODE] first. Here are my steps: [CODE] I have tried to set up the GPG_TTY variable, and it is set to [CODE] . What variables are necessary for GPG?
I was using kitty as the terminal emulator. Switching to the konsole resolved it to me
3
1
1,466
2021-11-24T20:33:08.457
pipeline_ops
serverfault.com
84,066
How to build a model on a dataset having 40% missing values in most of the variables?
I have a huge dataset of 10 million observations but most of the variables are missing for 40% records. There are couple of variables available for the whole dataset such as sic code(Industry category) and addresses of the companies. What may go wrong if I build a model on other 60% records(Non-missing values)? Can you...
Generally speaking, you should investigate the process by which your values are missing and try to deal with it. I assume you checked that : There is no meaningfull way to fill those missing values. Sometimes, typically with companies data that often represent amount of money, missing values means 0$. For exemple value...
1
2
381
2020-10-15T19:42:24.610
data_quality
datascience.stackexchange.com
485,233
Security concerns in Ubuntu and CentOS
In my company we are dealing with an interesting decision: which Operating System should we choose as the default one? This does not mean that every installation will be based on the chosen Operating System, but using a different one will probably have to be justified Features and other comparisons aside (I indeed read...
Either of these distributions will receive important security updates in a timely manner. As for overall security I'll have to give the edge to RHEL/CentOS, if only for shipping with reasonably secure defaults for all common services, as well as SELinux enabled and enforcing out of the box. All of the Debian and Ubuntu...
2
1
477
2013-03-06T14:13:14.363
infrastructure
serverfault.com
352,106
Refresh web page VS 'caching' idea tradeoff when creating/retrieving/updating/deleting (CRUD) data between web app and database
Design 1: For a web application. In the past, if I insert a record/data in UI, I will save this new data to the database, then the UI will be reloaded (like clicking browser refresh icon), but this UI reloaded action will query the database again to fetch all data into UI. I know this will slow the web application perf...
There is a tradeoff that you correctly identified between design 1 and design 2, so your decision has a lot to do with that tradeoff. Simplicity vs. usability. Design 2 has an additional flaw that if somebody else makes a CRUD request, other clients won't be informed. Design 1 will at least get fresh data every time th...
1
1
453
2017-07-04T02:42:59.507
api_errors
softwareengineering.stackexchange.com
32,459
Monitoring: What does mysqladmin ping report?
I'm trying to monitor whether our mysql server is up. The command I'm using for this is: [CODE] It will return the following: [CODE] Does this just check whether the process is currently running or does it also check whether the server is accepting connections?
"mysqladmin ping" attempts to connect to the chosen MySQL server. The actual server can be specified with the -h option (e.g. mysqladmin ping -h db.example.com), defaulting to localhost. If the server responds (even with an access denied or similar message), the server is assumed to be alive and "mysqladmin ping" exits...
6
8
19,523
2009-06-26T20:50:53.510
database_errors
serverfault.com
254,970
using ssh why do sftp directories need to be world readable?
I added the below to sshd_config, when i [CODE] the user folder i get this error? Why? how can i make the folder only readable to the user or group? the owner currently is root and the group is currently that username [CODE] -edit- this is for a user to sftp to store files. Only that user or that group should access th...
From the [CODE] man page: [CODE] You need to turn off the group-write bit.
0
2
672
2011-04-02T18:12:18.453
infrastructure
serverfault.com
13,184
Is cross-region Kubernetes a thing, and if so, what role does VPN place in this context?
Given you are going to overcome risks of a whole cloud region going offline, you would implement some cross-site distribution mechanisms. In terms of Kubernetes, cluster communication would happen across public network. Therefore, probably, you need to setup end to end VPN connections? Does this all make sense or how d...
First, etcd is a core component in Kubernetes clusters. It is based on the Raft Consensus Algorithm and a weaker point with it is when the latency between the members (e.g. in the distribued etcd database) in the cluster is larger and vary more . It might work to deploy it with longer latency between the nodes (e.g. re...
0
3
112
2021-01-21T09:08:04.780
pipeline_ops
devops.stackexchange.com
277,501
Use of FindWindow and window handles within a Windows service
I've got a third-party vendor who is installing a series of Windows services to a (Windows 2008 R2) server in my control. Whilst attempting to run each service under its own least-privilege account, we have hit upon obligatory permissions issues. These only seem to be resolvable by running the service as Local System -...
This is a normal restriction in the Windows security model since NT3.x services that only the local service account is allowed access to the desktop when run as a service and it has other restrictions when you select that option. On Windows Server since about 2003, there is also a service interaction policy you may hav...
2
2
2,691
2015-03-26T21:05:53.600
api_errors
softwareengineering.stackexchange.com
29,812
How to deal with Automation team if not all members are sound in scripting
Recently I have changed my job and joined in a startup company for automation. We are 3 members in automation team but I feel the other 2 members are not that much capable to think the coding logic, debug problem and scripting as expected from automation tester. I have conducted POC, created the road map and project co...
No matter what else you do, you will need your team lead's approval before you act. I recommend that you take some proposals to your team lead, after you have done the following: Measure skill levels - find out just how much skill you and your fellow team members have with coding and designing automated tests. There ar...
8
10
1,958
2017-09-26T10:12:06.530
data_quality
sqa.stackexchange.com
914,492
Make a Mikrotik Router behave as a separate router on each port
We use Mikrotik routers for many points in our system, but we have an odd need for one location. We would like to use one router (example: RB960PGS-PB), where the main Internet connection comes in on port 1, and have ports 2-5 each act as a separate public-facing router. IE, each port will be assigned a custom MAC, wil...
Is this even possible? Yes. That's literally what a router is. The term "router" has become diluted over the past 15 years to mean almost anything. It often means "Router/Switch/WiFi Access Point/DHCP Server/Firewall". But the "Routing" part of it is the part you need. In your MikroTik, remove the ports from "bridge" i...
1
2
2,173
2018-05-30T17:36:08.597
infrastructure
serverfault.com
11,826
MySQL Cluster: cannot start the management node
When I try to start the management node of MySQL Cluster on Windows platform, I get the following error: Could neither create or open key 'SYSTEM\CurrentControlSet\Services\EventLog\Application\MySQL Cluster Management Server', error: 5 Failed to setup event logging Could someone explain this to me?
I believe that you can ignore this error as the [CODE] should still start up. However, in trying to reproduce the problem, I've found a glitch in the quick start guide for Windows, a "-" (the standard dash, ASCII 45) has been substituted with a "–" (the long dash, ASCII 150), the correct options for the MySQL client sh...
1
1
991
2012-01-27T21:55:30.880
database_errors
dba.stackexchange.com
149,137
What is the difference in performance between a two single-field indexes and one compound index?
Suppose you have Users with an email and name, and you want to search by both email and name. What is the difference in performance between having two indexes (on email and name) and having one index on both fields? I read the following but did not find the answer: Multicolumn Indexes (PostgreSQL documentation) Multico...
I'll answer on the MongoDB side (no Postgres knowledge, sorry). The classic answer is that a query only ever uses a single index , so if you have a compound index, good data cardinality and are not using multiple [CODE] clauses, then the compound index will significantly outperform the two single indexes. Some exceptio...
2
1
1,842
2016-09-08T18:00:28.853
database_errors
dba.stackexchange.com
1,015,817
Tar directory is new error
I am trying to make a backup of two directories, /etc/httpd and /etc/letsencrypt I am using the command [CODE] The redirect to /dev/null at the end was only added for debugging purposes. I get error [CODE] What does this error mean and how do I backup the directories successfully?
The [CODE] option creates incremental backups. The message [CODE] is not an error, it's just a warning letting you know that a new directory was added to the archive which was not present in the previous backup.
0
1
261
2020-05-05T18:43:58.733
database_errors
serverfault.com
215,074
Store data for multiple User Type
I am developing an app where four types of user share same module. So is it a good idea to create: one table and user_type and user_id (something like that) table prefixes basically 4 diff tables of same columns your own suggestion (keeping in mind its a CakePHP App so joins and contain will be there)
Your first option is likely the better of the two. As points of considerations against the second option: What happens when you get a 5th user type? Do you now need to create a 5th table? What about a 6th or 7th type? what happens when you need to create a hybrid type that is based upon one but has some of the permissi...
1
2
1,084
2013-10-21T08:43:05.767
api_errors
softwareengineering.stackexchange.com
263,958
QA and Feature Branches in Web Development
I am trying to introduce to my team a more sophisticated branching model than "commit to master and push". We are a small team of two analysts, three developers and one tester. At the moment, a developer will commit their changes to [CODE] , then build the [CODE] branch on our test environment. They will then notify th...
If you really believe in code reviews, then coding isn't finished until the review-revise-repeat loop exits. Until then, the code is in a sequence of preliminary forms, not its final form. Your tester could test one or more preliminary versions of the code, but the tests ought to be repeated from the beginning on the f...
1
4
930
2014-11-27T17:30:36.920
pipeline_ops
softwareengineering.stackexchange.com
928,195
Can not remotely connect to Exchange server
I have an exchange server that I can log on locally both on the PC and on the domain with the Administrator account. When ever I try to connect remotely from any other LAN PC I get an error as the image depict. This problem occured after the company had some issues with the previous PC that hosted the exchange server, ...
The first thing would be to ensure you have enabled remote desktop connections to your server . You should also check any firewall rules that might block traffic on 3389/tcp and 3389/udp that might exist on either the server, or any Layer 3 devices, like routers or hardware firewalls in-between. You can also use Telnet...
0
1
640
2018-08-27T18:24:16.430
infrastructure
serverfault.com
711,478
Linux DHCP server to provide unique options to each DHCP request
I am running a DHCP server in CentOS 6.5 and in my network, 3 clients can issue an DHCP request. The host needs to send the address of the tftp server and also the name of a config file. The order in which the 3 clients can send a request is a don't care. They can come in any order, and the server will need to send ip1...
You should be able to configure dhcpd to answer with a filename containing the MAC address of the device: [CODE] So this means if [CODE] issues a DHCP request, it will receive an answer with filename [CODE] . See [CODE] for more information.
-1
0
153
2015-08-07T05:00:41.097
infrastructure
serverfault.com
1,023,072
Diagnosing apache cpu / memory / process spike
I have a server running Ubuntu 18.04 which has been experiencing huge CPU spike that nearly brings Apache to a halt once or twice a day. The server runs a couple of websites - all php & mysql driven applications. Here's a bit more detail on things I've looked into: MySQL: Slow query log is enabled and set to log querie...
Interesting. At 9 oclock, Apache is being hit quite a lot , and is having to spin up extra worker threads to handle the request spike. Spinning up new threads requires time. You can soak up this surge if you increase the number of stand by worker threads that apache has ready to serve requests. something is definitely ...
0
0
2,181
2020-06-26T17:59:59.450
database_errors
serverfault.com
79,687
Svnserve authentication with SASL and normal user accounts
Is it possible to set up svnserve so that it authenticates using the system's users and passwords (e.g. using the /etc/shadow file)? I assume this would be with SASL, but I couldn't find an SASL configuration that worked this way. I have a Subversion server running under Apache, but it's very slow. Using svnserve is qu...
I haven't followed this guide, so I don't know if it's up to date and accurate, but here goes: Authenticating with SASL Also, you don't need to use private/public keys (unless you have a corporate policy or something) to do authentication with SVN. You can just use the built-in password prompt of the svn client and use...
7
2
5,874
2009-10-29T19:53:15.363
api_errors
serverfault.com
2,325
How to fix 'Access is denied' errors when trying to .quit() Chrome in Selenium WebDriver tests?
Anyone know how to fix intermittent 'Access is denied' errors when trying to .quit() Chrome in Selenium WebDriver tests? It's happening about 1 in 10 times. Here's the traceback: [CODE] The code is (I've simplified it here): [CODE] I'm on Windows 7 using latest ChromeDriver.exe (version 17 I think it is) and latest Sel...
I haven't run into that, but if it is a bug in Selenium, the easiest workaround would be to surround it in a try/catch and retry a few times. I would follow up by asking (or searching for existing answers) whether it is a known issue on the Selenium users forum.
4
1
6,445
2012-01-05T00:41:11.743
data_quality
sqa.stackexchange.com
186,092
using PERFORM to insert a string of SELECT statement into a temp table
I am trying to insert data into a temp_table and then truncating the table after analyzing the result. Here is my code: [CODE] Whenever I run this function [CODE] I get an error: [CODE] Here is how my staging.validation table looks - https://docs.google.com/spreadsheets/d/1bXO9gqFS-GtcC1qJtgNbFkR6ygOuPtR_RZoU7VNhgrI/ed...
The issue with your SQL is with the type (or return type). In [CODE] You are using [CODE] as if the returned value from the function were a table. But you defined the function to return a single value [CODE] So, the said function can't be used in the [CODE] clause. If you are trying to use the side-effects of the funct...
0
0
157
2017-09-15T18:28:51.873
data_quality
dba.stackexchange.com
992,148
gcp vm console ssh instance stuck on transferring metadata
Hit the [CODE] button in the instance list and it worked without issue the first time. Every since then, it hangs on 'transferring metadata'. No errors, just sits there spinning forever.
Seems to be working fine again. I restarted the instance. Not sure if that was the trick.
0
0
1,738
2019-11-16T22:59:12.130
infrastructure
serverfault.com
562,332
NGINX: can I use a mapping of upstream servers with proxy_pass directive?
I have an NGINX server that acts as reverse proxy to a bunch of backend IIS servers. I would like to pass each incoming HTTPS request to a certain backend (upstream) server, depending on the URI specified, WHILE keeping the same URL in the address bar (to keep the backend servername or address invisible to users) E.g. ...
you need to describe your URI pattern in regular expression and use it in your location to capture the parts of it that you can use in the rewrite or proxy_pass target. e.g.: [CODE] hope it helps
4
2
18,514
2013-12-18T23:41:52.173
infrastructure
serverfault.com
307,941
How to resolve The instance could not be upgraded because the 'reg*' data type is used in user tables?
I tried to upgrade a Postgres DB Engine from 11.12 to 13.3 on AWS via the admin console in the browser. But the upgrade could not be performed, the error/pg_upgrade_precheck.log shows this message. The instance could not be upgraded from 11.12.R1 to 13.3.R1 because of following reasons. Please take appropriate action o...
Your query seems to from v10 and thus is missing two reg types. [CODE]
3
2
660
2022-02-24T21:28:21.650
warehouse_errors
dba.stackexchange.com
611,362
Creating an exception for needing admin credentials to install software
An employee at my company uses the service WebEx on a regular basis, and every time someone uses the service, they have to temporarily install their plugin in order for it to work. Every time that plugin needs to be downloaded, the user is asked for admin credentials at which point they call someone from the IT departm...
What you are looking for is a run as admin shim, which can be put together with the MS application compatibility toolkit. Nearly all of the products I've worked with this was a pretty easy set up. See this technet blog article for details.
1
1
1,058
2014-07-09T20:03:35.267
infrastructure
serverfault.com
918,381
Terraform: Choosing credentials for a remote state file
I have existing infrastructure in Terraform and have been using it for a while. Recently I had swapped the AWS credentials of my local laptop (the creds stored in [CODE] ) and it stopped working until I re-set those credentials back. The problem is that I'm declaring the creds in the Terraform source itself but it does...
Your first question if my provider setting is explicitly declaring the credentials to use inside the Terraform source code, why does my OS-level AWS configuration matter at all? The error message "Failed to load backend: Error configuring the backend "s3"" is referring to your Backend S3 configuration. Look in the file...
12
12
19,995
2018-06-26T21:28:17.363
pipeline_ops
serverfault.com
665,783
Ubuntu 14.04 Quotas
Im running a Virtual Server with Ubuntu 14.04 (in Microsoft Azure) on which I really need to make use of Quotas. Quotas aren't currently installed, and a bit of research suggests that this was left out of the Virtual Kernels for the recent versions of Ubuntu. And this would seem to be backed up by the various errors I ...
Well, if you have no quota compiled into kernel - you have to build your own one. There is a guide on official site : https://help.ubuntu.com/community/Kernel/Compile NB: May be you will need .config file from original kernel to just change the options regarding quota support.
0
0
776
2015-02-07T11:51:28.970
infrastructure
serverfault.com
692,063
Site to Site VPN between CISCO 2921 and Sonicwall NSA 3600: NO_PROPOSAL_CHOSEN
I have CISCO 2921 and Sonicwall NSA 3600 . I am trying to setup Site to site VPN. I am getting: [CODE] in Sonicwall logs and the VPN is not setup. It looks like the phase 1 is OK as I am getting: [CODE] in the sonicwall logs just before NO_PROPOSAL_CHOSEN message. I have checked: Authentication/Authorization algorithms...
I had a simmilar issue and this document helped me out... VPN: The log shows "Received Notify: No Proposal Chosen" (SW3902) - Affected SonicWALL Security Appliance Another hint is to check the passphrase - and be sure that the shared secred has a minimum lenght of 6 characters.
5
1
10,257
2015-05-14T15:17:33.757
api_errors
serverfault.com
877,991
OSSEC Windows Agent Fails to Sync Configuration
This has proved an annoyance for the past several days, and I have yet to figure out the root cause. In a lab, I've setup two virtual machines, an OSSEC Server Appliance and a Windows 7 x64 Enterprise SP1 client. Both seem to work quite well when they do their own things . If I have an extensive configuration file on t...
So after having no success on [CODE] , the question was migrated here. Spending a few extra days on this I've found the "solution". You can boil it down to: find another HIDS solution. I came to this conclusion after trying an extensive list of things: Run the OVA as is, directly off the project's website (2.8.3) Updat...
1
0
3,178
2017-10-08T06:27:40.377
infrastructure
serverfault.com
592,582
Apache SNI, 2 domains, 2 certs, resolves to same document root
I am currently following the following guide: https://www.digitalocean.com/community/articles/how-to-set-up-multiple-ssl-certificates-on-one-ip-with-apache-on-ubuntu-12-04 Setup so far has been problem free. I am using two class 1 certificates that I have registered at http://www.startssl.com/?app=21 . Each is mapped t...
This.. [CODE] ..and this.. [CODE] ..both don't match with the hostname you're saying you're visiting, [CODE] . These hostnames will need to match exactly with what's being requested in the browser for the correct certificate to be served to the client.
1
1
1,030
2014-05-01T20:38:28.493
api_errors
serverfault.com
23,931
Comparing date and timestamp variables in a where clause in a procedure
I have a variable in an Oracle stored procedure of [CODE] type (from user interface), and another of [CODE] type (database is more precise than what the user would enter in the code that is executing the stored procedure). I would like to do something like this: (pseudo code) [CODE] but I get a compile error when I try...
Assuming the DATE from user interface can contain times besides 00:00:00 (midnight) and that you only want to know if the DATE from the user interface and the TIMESTAMP fall on the same day (not same hour or minute or ?), try this: [CODE] Note 1: Because "inputDate" is a database column and could be indexed, we don't w...
3
4
55,114
2012-09-08T15:47:23.867
database_errors
dba.stackexchange.com
409,479
Why no async functions for Utf8JsonReader and ReadOnlySequence
I have used [CODE] a lot (it is very good) but have since adapted some lower level code and started using [CODE] directly. Looking into the code of the [CODE] library, I see [CODE] as ultimately it is using the System.IO [CODE] class which itself has [CODE] functions. Looking at [CODE] it uses [CODE] and does not have ...
I'm the "op" that's quoted from the GitHub issue; when the [CODE] API was first previewed, it did not have any functions to asynchronously consume a stream, and so I needed to write my own wrapper around it to add that functionality. An [CODE] method cannot use a number of stack-dependent features such as [CODE] parame...
2
7
2,023
2020-04-29T18:28:10.343
api_errors
softwareengineering.stackexchange.com
821,626
Can not access through RDP upon after activating the Docker on Windows Server 2016
I have a brand new Microsoft Windows Server 2016 v1607 (OS Build 14393.576) on Google Cloud Platform . I connected to machine through RDP and installed only Containers feature then ran commands below as article here describes. [CODE] WARNING I did not install none of the Hyper-V features After the restart, I connected ...
Before you run the docker install scripts Connect to the Windows Instance. Open a PowerShell terminal as an administrator . Type and hit [CODE] Type and hit [CODE] If your connection to Windows stops, reconnect to the instance. so it will become [CODE] You may find more details in here
1
1
1,460
2016-12-19T17:05:21.963
pipeline_ops
serverfault.com
1,018,223
Jenkins or Apache changes the URL when using reverse proxy
I have a VPS that I use to run a personal Gerrit and Jenkins server. After a year of neglect I finally decided to get it working again. Previously I have used [CODE] and [CODE] , but this caused a lot of issues with https certification, so I decided to just go over to subdirectory(?), e.g [CODE] . I managed to get the ...
I took another shot at this today and found my error: I have managed to missplace my "", so the line that should have been [CODE] was [CODE] Once I fixed this everything started to work as expected.
0
0
1,170
2020-05-22T08:58:18.080
pipeline_ops
serverfault.com
61,619
ASP.NET application locked up
I have an ASP.NET application that is stuck loading pages (nothing ever happens, no timeout, nothing). In procmon I am seeing a BUFFER OVERFLOW for QueryInformationVolume and QueryAllInformationFile for default.aspx. How can I figure out what is happening? Edit: Added Example Lines 23:11.7 w3wp.exe 8648 QueryInformatio...
The buffer overflows are nothing. Look at Mark Russinovich's blog for the explanation. Do these errors indicate a problem? No, they are a standard way for the system to indicate that there’s more information available than can fit into a requester’s output buffer. In other words, the system is telling the caller that i...
1
3
2,168
2009-09-02T17:32:28.357
infrastructure
serverfault.com
623,945
Evaluating uncorrectable ECC errors and fallback methods
I run a server which has just experienced an error I've not encountered before. It emitted a few beeps, rebooted, and got stuck at the startup screen (the part where the bios shows its logo and begins listing information) with the error: Node0: DRAM uncorrectable ECC Error Node1: HT Link SYNC Error After a hard reset t...
This is in answer share how I stopped the system from crashing but does not address the original question. I'm still researching solutions and will share any new information I come up with as I learn it. The system is a white box with a Supermicro H8SGL-F motherboard with 64GB (16x4) Hynix, 32GB (16x2) Viking ram. The ...
5
1
7,448
2014-08-25T22:02:16.760
infrastructure
serverfault.com
372,325
Monorepo vs multi repo for large project with multiple partial deliveries
I am looking into options for smoothing out our deliver and release pipeline, and would appreciate some advice on the best way to structure the source code. This is a pretty large project, which consists of about 30 microservices. Microservices here is a very loose term, but for the sake of the question is it close eno...
It seems to me that one vs many repos is not the root of your problem. It's your branching strategy. If you can, switch to a recognised branching strategy such as gitflow. If you are writing a bug fix for a problem in production. Make a (hotfix) branch from production. Not your develop or next release branch. If your '...
7
3
4,726
2018-06-09T06:50:20.113
pipeline_ops
softwareengineering.stackexchange.com
649,309
HBASE Space Used Started Climbing Rapidly
Update 4,215: After looking at space usage inside of hdfs, I see that .oldlogs is using a lot of space: [CODE] So new questions: What is it? How do I clean it up? How do I keep it from growing again What caused it to start growing in the first place? Also .archive is big too, what is that, my snapshots? Also as homewor...
I think my replication went bad. I seems that .oldlogs is where the Write-Ahead-Logs (WALS) go according to this safari article . They should be cleaned up but were not for some reason. I used the following to clean it up: [CODE] Since I noticed this while working on building a replacement cluster as the replication ta...
7
2
1,548
2014-12-04T22:41:43.847
hadoop_errors
serverfault.com
406,559
What would be the minimum-cost reasonable SSL option?
Possible Duplicate: Difference between SSL products I want to ensure that the traffic between the browser and my app is encrypted, and that visitors don't have to click through a scary "unverified certificate" dialog. I'm looking over the SSL certificate options here at namecheap.com , and I'm having a hard time figuri...
You can even have a free SSL certificate for your site that is accepted by every major browser. You can get it at StartSSL . One certificate is mostly for the root domain (foo.com) and one subdomain (www.foo.com) at least at StartSSL I know that for sure but I guess that would be the same for namecheap.com.
0
4
1,188
2012-07-10T21:53:39.763
api_errors
serverfault.com
473,611
How do I dismiss alert popups on an unattended windows server?
I've had this issue on a couple of different configurations and wonder if there's a general solution. I've got a Windows server with the server side of a client/server application running on it. Every once in a while one of the application's processes will die and rather than logging an error and handling the failure, ...
The software is flawed. Contact the vendor and tell them that server software has no place throwing GUI errors. Software designed to run as a server service must have NO GUI interaction in the server process and should run without need a logged in session using the built-in Windows service API.
4
7
309
2013-01-29T19:53:11.630
infrastructure
serverfault.com
115,190
Why would CREATE INDEX with "online" mode suddenly slow my database down?
Earlier I used [CODE] without any problems - the statement would run in parallel with user queries and not slow them down at any time. Then suddenly I see that once I start the statement the database slows down greatly - user queries pile up, usually with [CODE] wait mode and the database effectively becomes unusable u...
The OIB is causing your DB to run over some SLO limit (most likely IO or Log IO), causing resource governor to kick in. See Azure SQL Database resource limits .
2
2
373
2015-09-16T09:06:08.820
database_errors
dba.stackexchange.com
264,770
Running swap on RAID10 or RAID5?
In follow-up to this previous question (and it's excellent answer ), I am curious to know if running swap on a RAID5 might not be better than on a RAID10. My thinking is that you might lose a bit on the performance because it wouldn't be purely striped, but if a drive goes down you can rebuild it from the missing parit...
As the others have said, buy more ram. However Chopper3's answer is not exactly correct. Given that both provide fault tolerance, and leaving aside capacity, the reason for choosing one over the other would be all about performance - and that depends on the workload. For a system with few processes but big memory requi...
3
4
3,562
2011-04-29T15:26:27.133
infrastructure
serverfault.com
9,872
bcp database migration
I want one server to migrate the database to another server. On another server database already exists, then ist all the tables, but they are empty and I want to fill. For the filling, I want to use bcp - database migration. In command line, I wrote the following: [CODE] The name of the user and the server name passvor...
I found the reason that did not work, and really was not password correct because I used the password to these characters who divided password to pieces, and of that reason but it was not correct. I used to password ",", "$" and other characters.
5
1
611
2011-12-28T11:01:06.007
warehouse_errors
dba.stackexchange.com
798,038
send a copy all requests to another server before nginx cache it
I Use Nginx to cache HTTP requests, this is my configuration: [CODE] But I Have another server for monitoring and statistical goals, I need to send all requests to that server before they cached by Nginx, is there anyway?
You can send the requests to monitoring / statistical server first, which sends them to this nginx instance with [CODE] method.
0
0
296
2016-08-20T06:48:24.857
pipeline_ops
serverfault.com
303,757
Efficiently create many-to-many records with resolving IDs
I have the following PostgreSQL tables structure: [CODE] In my code, I get a hashmap with all parents as a key and its children as a value. One child may have multiple parents. I want to create the associations in [CODE] table, but I only have the parent and children names. I'd like to efficiently put them into the dat...
If you pass in the whole set as JSON (or JSONB for efficiency), you can unpivot the whole thing and do a joined insert. For example, if you passed in JSON of the form [CODE] You can do something like this [CODE]
1
0
83
2021-12-09T19:33:08.407
database_errors
dba.stackexchange.com
758,226
Filesystem Performance for LUKS Encrypted Volumes?
As you can format a LUKS volume with any filesystem you want, are certain filesystems better-suited to IO performance against an encrypted filesystem? Specifically, I'm wondering about a loop device with a file sitting on an [CODE] partition. As all data written to the filesystem is encrypted, do certain filesystems wr...
I've been running LUKS encrypted filesystems for over a decade, with ext2/3/4, XFS, ZFS and maybe some other filesystems I've forgotten about. While I don't have any benchmarks handy, I do have a few notes to share: The only real performance issue you have with LUKS is the encryption and decryption itself. This introdu...
4
7
6,613
2016-02-18T21:03:15.383
infrastructure
serverfault.com
185,897
Duplicate records returned from table with no duplicates
I have a stored procedure that queries a busy queue table that is used to distribute work in our system. The table in question has a primary key on WorkID and no duplicates. A simplified version of the query is: [CODE] The [CODE] table is populated earlier in the procedure. As I said, [CODE] is busy, and sometimes whil...
There are some tricky scenarios which can result in the same row being read twice from an index, even under the [CODE] isolation level . Your query does not qualify for an allocation order scan, so the storage engine will read the data from the table in the order of the clustered key. For your table, you have the [CODE...
8
9
1,814
2017-09-13T20:49:55.327
database_errors
dba.stackexchange.com
77,312
Does the performance of GBM methods profit from feature scaling?
I know that feature scaling is an important pre-processing step for creating artificial neural network models. But what about Gradient Boosting Machines , such as LightGBM, XGBoost or CatBoost? Does their performance profit from feature scaling? If so, why and how?
Scaling doesn't affect the performance of any tree-based method, not for lightgbm, xgboost, catboost or even a decision tree. This post that elaborates on the topic, but mainly the issue is that decision trees split the feature space based on binary decisions like "is this feature bigger than this value?", and if you s...
4
5
2,487
2020-07-07T13:46:04.540
data_quality
datascience.stackexchange.com
35,856
I am trying data driven testing in selenium, But I am getting the error "Exception in thread "main" java.lang.NullPointerException"
[CODE]
Checked with the same code on a different file. The code worked without issues. NullPointerException points to the fact that you have accessed null data on any of the above lines before. For line 23, if you are getting the NullPointerException while accessing cell, please make sure: - The sheet name is correct and it i...
0
1
1,682
2018-09-29T16:37:40.763
data_quality
sqa.stackexchange.com