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
12,256
Adding SPARSE made table much bigger
I have a generic log table, about 5m rows. There's a "strongly typed" field that stores event type, and a bunch of "losely typed" columns that contain data relevant to the event. That is, meaning of those "losely typed" columns depends on the type of the event. These columns are defined as: [CODE] Columns 1 and 2 in ea...
You need to rebuild the clustered index after making the columns sparse. The dropped columns still exist in the data page until you do this as can be seen with a query against [CODE] or using [CODE] [CODE]
9
15
1,161
2012-02-04T15:49:24.770
warehouse_errors
dba.stackexchange.com
359,466
How should we verify that client classes use their dependencies correctly?
In J.B. Rainsberger's discussion of collaboration tests he describes how tests for "clients" (users of a particular interface) should have two parts to their test. Does the client ask the right questions of the interface? Checked through mocking and verification. Does the client react properly when it receives the answ...
My question is in relation to part 1 ("does the client ask the right questions?"). He uses the example that we could check that the client sends the correct query to a generic database interface. This would be checked by verifying a method call on an interface like query(String qry). All the useful information is conta...
1
1
115
2017-10-20T12:01:15.683
api_errors
softwareengineering.stackexchange.com
122,254
Sudden PRIMARY KEY violation on IDENTITY column
I have a [CODE] table with an [CODE] identity column. Everything works fine for years; then, yesterday, I see the following error in the logs: The statement has been terminated. Violation of PRIMARY KEY constraint 'PK__log__ID__3B40CD36'. Cannot insert duplicate key in object 'dbo.log'. The duplicate key value is (2959...
Since the question states SQL Server 2012 RTM (build 2100) is in use, it is likely this bug: FIX: Sequence object generates duplicate sequence values when SQL Server 2012 or SQL Server 2014 is under memory pressure which says: Assume that you create a sequence object that has the [CODE] option enabled in Microsoft SQL ...
7
7
6,178
2015-11-27T08:58:15.173
data_quality
dba.stackexchange.com
219,593
Windows File Share: Can access share\subfolder1 but share\ is inaccessable when accessing share\subfolder2
I'm on a Windows Vista client trying to access a file share running on a Windows Server 2008 R2 box. The network is in a Windows Active Directory Domain. The shares I am trying to access: [CODE] and [CODE] The client does not have any permissions at [CODE] . The client has read permissions at folders [CODE] and [CODE] ...
Did you try navigating through the folders before accessing it with the direct address? This can cause trouble. Run "net use" at cmd prompt and delete any entries for that server and try the direct link in explorer again. I would also double-check your NTFS/Share permissions.
2
2
785
2011-01-06T20:43:13.180
infrastructure
serverfault.com
263,871
Linked Server from On-Premise to Azure SQL Database
I am using: SSMS-18.4 SQL Server-SQL 2019 CU3 Windows 10 I was able to create a linked server successfully from on-premise SQL 2017 to the Azure SQL database without exposing my password. [CODE] But the password is not getting the correct value. I am getting a login failure. Some of the error message: [CODE] I confirme...
Depending on how you create the text file, it can be in all sorts of formats. Unicode or ANSI. With or without a Byte order Mark. With or without trailing whitespace and line feeds, either posix or Windows style. JSON is simpler that way. For instance if you run cmd.exe [CODE] and then dump the bulk column [CODE] You'l...
0
1
416
2020-03-29T15:28:57.703
database_errors
dba.stackexchange.com
424,378
Mac OS X printing to CUPS - More intuitive authentication failure?
We have a network-wide CUPS server that offers authenticated printer access to all our campus users. We've been pretty disappointed with the way Mac clients handle bad printing authentication, though. In any other authentication dialog, when a user types in a bad username or password, the window shakes briefly, allowin...
I don't know of a way to get the Mac to behave/respond differently natively , but you may have better luck writing a printer setup script that uses [CODE] where you can specify the printer/printer path as well as credentials. You could attempt to authenticate with [CODE] (and [CODE] ); not sure if there's any feedback ...
6
2
2,986
2012-09-05T01:44:01.607
api_errors
serverfault.com
150,701
solution for non-technical user uploads to SQL Server DB?
I need a way to get subjective call QA scoring into our business intelligence system. It currently lives in Excel. The problem with a direct upload from Excel to the DB is that there is no validation or response from the db necessarily (although I guess I can program these in). Is there a solution that already exists t...
There are lots of tools and methods available for loading data. But the easier you want this to be for end users the more complex and sophisticated your dataloading routine will become. Data validation and business rules need to be defined and implemented. Somebody has to do it. No software is smart enough to do that "...
1
0
198
2016-09-26T22:53:38.330
database_errors
dba.stackexchange.com
182,877
How to setup redundant dns and dhcp servers with automatic dns updates on Ubuntu?
I'm trying to configure two virtual servers running Ubuntu to act as primary and secondary DNS and DHCP servers in my lan. I was able to get bind9 working as master and slave DNS servers. I was able to get dhcpd server working as master and slave. I was even able to follow a tutorial and configure the master dhcp serve...
Upon request, I'm pointing you to this detailed tutorial: HOWTO Design a fault-tolerant DHCP + DNS solution It's based on Red Hat / CentOS, but the configurations should work on Ubuntu too, with little adaptations.
2
1
4,522
2010-09-20T15:11:48.367
infrastructure
serverfault.com
335,245
MySQL optimize query against table containing 13M records
I recently started working with a legacy Rails application. Trying to go through with some of the queries used to get analytics related data. Some table contains around 13M records. Running count query against these table itself takes more than a minute. The query against which I am trying to run explain and analyze is...
We have proper indexes in both the tables In my experience I have never seen MySQL using more than one index per table , so you need a multicolumn index in this case. Add the following indexes, try again the query and see the execution plan. user_orders [CODE] user_portfolios [CODE] See Multiple-Column Indexes
1
2
57
2024-01-27T06:22:47.147
database_errors
dba.stackexchange.com
17,870
Hundreds of failed ssh logins
Every night I get hundreds, sometimes thousands, of failed ssh logins on my RedHat 4 server. For firewall reasons from remote sites, I need to run on the standard port. Is there anything I should be doing to block this. I notice that many come from the same IP address. Shouldn't it be stopping those after a while?
You can use iptables to rate-limit new incoming connections to the SSH port. I'd have to see your entire iptables configuration in order to give you a turnkey solution, but you're basically talking about adding rules like: [CODE] These rules assume that you're accepting ESTABLISHED connections earlier in the table (so ...
83
70
18,393
2009-06-02T16:18:04.493
infrastructure
serverfault.com
59,037
Error while importing sql - Specified key was too long; max key length is 1000 bytes
I am trying to import an sql file which shows me the following error: [CODE] I've tried to create a new database in my local machine everything works fine. But, while importing it in the remote server it shows the above error. Any Idea?
According to the MySQL Documentation on [CODE] : Prefix support and lengths of prefixes (where supported) are storage engine dependent. For example, a prefix can be up to 1000 bytes long for MyISAM tables, and 767 bytes for InnoDB tables. My guess would be the character set you are using in conjunction with [CODE] Plea...
1
1
2,109
2014-02-17T14:20:46.317
warehouse_errors
dba.stackexchange.com
197,107
Divide and Conquer algorithms – Why not split in more parts than two?
In divide and conquer algorithms such as quicksort and mergesort, the input is usually (at least in introductory texts) split in two , and the two smaller data sets are then dealt with recursively. It does make sense to me that this makes it faster to solve a problem if the two halves takes less than half the work of d...
It does make sense to me that this makes it faster to solve a problem if the two halves takes less than half the work of dealing with the whole data set. That is not the essence of divide-and-conquer algorithms. Usually the point is that the algorithms cannot "deal with the whole data set" at all. Instead, it is divide...
33
49
15,726
2013-05-05T18:21:31.990
api_errors
softwareengineering.stackexchange.com
772,618
Sending mails from Gmail through my VPS (postfix, dovecot, postfixadmin)
This problem has been bugging me for a long time now and i want it to be fixed. On my VPS I have set up Postfix working correctly with postfixadmin and dovecot. (I can send (by terminal) and receive mail) As i'm a big fan of the google products like Gmail. It'd be nice to use gmail as interface for sending my mails (th...
I've found the error. I didn't configure Dovecot properly. This is the tutorial i used: https://www.crahl.ca/blog/postfixdovecotpostfixadmin-on-ubuntu-14-04/
2
0
573
2016-04-24T18:15:34.403
infrastructure
serverfault.com
133,671
NoSQL : Getting latest item from DynamoDB table
I'm implementing chat server currently, with dynamoDB. Here is keys from ChatData table Primary partition key : roomNo Primary sort key : seq Chat server, can created many instant rooms, approximated to 100~120 daily. So I choosed primary partition key as room Number(roomNo), and sort by data created time(or sequential...
I think you're on the right track with [CODE] , but you'd have to run a scan operation each time your app starts to determine which value to start at. You'd want to test this to ensure it doesn't degrade performance too much. Another option is a metadata item. You could create an additional table for this, or you could...
1
2
8,810
2016-03-29T13:38:27.453
data_quality
dba.stackexchange.com
671,562
Monitor Microsoft MSSQL Process - sqlservr - Division throug logical Processor possible?
we use a zabbix 2.2 Appliance and are trying to get the following Performance Counter Data. perf_counter[\Process(sqlservr)\% Processor Time] We have the same Problem as described in this Forum Post: https://www.zabbix.com/forum/showthread.php?t=16759 Does anyone know, if it is possible to divide the Data through the 1...
If i check perf counter for mssql there is no perf counter for vcpu/core . To check perf counter available on your mssql server do that: select * from sys.dm_os_performance_counters But if you do the perfcounter from windows view there is counter for every vcpu/core.
0
0
513
2015-02-26T09:46:19.937
infrastructure
serverfault.com
283,900
Combine duplicate rows on column1 sum column2
I have the following data. [CODE] Selecting unique records is easy. Or grouping the data on ProductId is also possible. I need a result that only contains a unique Product Id with the same parentid and the quantities summed up. The result should look like this. [CODE] The quantities of the duplicates [CODE] should resu...
[CODE]
0
2
28
2021-01-25T07:36:20.230
data_quality
dba.stackexchange.com
367,541
SuSE Enterprise Linux 10 reports "write error: disk full?" even though there are 13TB available
So, I recently added some disk to a system and everything seemed to be peachy, the extending of the LVM went fine and so did the filesystem resize. However, when a user logs on to the system and tries editing or creating a file in his/hers home directory the message "write error: disk full?" appears out of nowhere. Che...
Maybe your /home partition has run out of inodes. You can check your inode usage with [CODE] .
0
0
323
2012-03-08T09:07:57.293
infrastructure
serverfault.com
546,429
After installing MS SQL Server 2012 not able to log into SSMS
Okay, lot's of posts around the internet on this subject. But I haven't been able to find an answer I was looking for. I installed SQLS 2012 on Windows Server 2012. I installed the Engine and the Reporting Server. In the Database Engine Configuration I just checked Windows Authentication Mode and specified a Security G...
This is probably 3 years too late, but others may benefit. There is normally a security in place for SQL server that if you are logged into the server as domain admin, you have to start up SQL Management Studio with a Run As Administrator option. If you start up SQL Management Studio "normally" it won't let you log in ...
0
0
1,597
2013-10-16T14:34:19.247
api_errors
serverfault.com
1,097,627
SFTP client connection fails using hostname
I have configured a debian server, hosting a website, for FTPS access using vsftpd. Port 22, SSL enabled. When testing the connection with FileZilla, I successfully connect if I put the server's IP address in the host field. If I put the wesbsite's hostname, it fails. The server is under a private router with dynamic I...
Too long to comment and possibly completely wrong, but: It looks like the problem is not related to your hostname but more the difference between accessing your system over IPv4 versus IPv6. It also seems that you're using port forwarding or something similar to expose port 22. That is needed when your server uses an R...
-1
0
937
2022-04-02T10:31:55.323
infrastructure
serverfault.com
29,218
Do we need to do cross browser testing for minor text changes in blackbox testing?
Background: When a new user opens our web page for the first time, we show them how to use the webpage. For each control they need to use, we display a popup next to the control to tell them how to use it, switching popups as they switch controls. Two types of users can make posts: Mods and Regulars. Mods have more pri...
I think the general answer is "be reasonable". Just because you're doing blackbox testing doesn't mean you should do extra useless testing--in this type of situation, you're likely better off looking at how the code is implemented and deciding on the scope of testing accordingly. I've seen too many blackbox tests that ...
4
3
104
2017-08-25T19:44:25.287
data_quality
sqa.stackexchange.com
738,645
Puppet: Is it possible to remove multiple lines using file_line type?
In past times of the company I work for, someone configured many aliases and exports in [CODE] . Since then we've implemented Puppet and there's a module which manages the application user exports and aliases. The new module is actually a very simple one... it makes sure that a file called [CODE] resides in [CODE] and ...
Use multiple [CODE] resources, each removing one line: [CODE]
3
1
3,400
2015-11-24T14:42:30.110
pipeline_ops
serverfault.com
614,303
apache2 reverse proxy 404 error
I have set up an apache2 server. I am trying to enable a site to reverse proxy in which I will redirect /registry to :5000. I have apache2 up and running and am able to reach the default page () but am having trouble getting my reverse proxy to work. I have created a file as such: [CODE] When I go to the url [CODE] I g...
Sorry. I figured this out. Looks like the problem was my path in /var/www/ was incorrect. It was essentially referencing a path that did not exist.
0
4
5,291
2014-07-21T21:16:45.777
api_errors
serverfault.com
488,244
Ubuntu sendmail "Relaying denied. Ip name possibly forged" (in reply to rcpt to command)
When I try to send an email (from a different server) to a local account on my server I get the following error: [CODE] Here's what I do: [CODE] The problem is that I can send emails just fine if I use [CODE] instead of [CODE] Please see below the configuration that I currently use. DNS Configuration: [CODE] Email serv...
And .. after several hours I found the issue: [CODE] needs to be put alongside with [CODE] in [CODE] . So, the correct content for [CODE] should be: [CODE] It does NOT WORK if you only use: [CODE]
3
0
8,129
2013-03-15T17:18:12.767
infrastructure
serverfault.com
676,155
Apache: Limit Traffic per domain or file
On my Ubuntu 14.04.2 LTS Server with Apache/2.4.7, I'm hosting a website. Soon, I plan to publish a large file for which I expect a high number of downloads. I want to restrict the percentage of traffic allocated for downloads of this file so that the website will still run properly (e.g. only give it 90 of 100 Mbit/s)...
Use mod_bw and you can limit bandwidth per virtualhost entry in apache. https://stackoverflow.com/questions/17009248/limit-bandwidth-per-apache-virtual-host
0
2
1,665
2015-03-17T14:32:55.053
infrastructure
serverfault.com
1,045,629
User / Group Permissions in Windows 2012
I would like to have some suggestions on how the permissions in Windows-2012 can be configured for the following use case: Each user (let's call him [CODE] ) runs an application (let's call it [CODE] ). [CODE] requires read/write permissions for all files and folders under [CODE] (1) [CODE] requires read/write permissi...
How would you solve this in linux systems? Since the application runs in the user's context, the read and write permissions are the same. You can set directory permissions with [CODE] or via installer routine. You would probably make the main directory [CODE] read- and writable. Inherit those permissions to all subdire...
0
0
204
2020-12-09T22:43:00.320
infrastructure
serverfault.com
869,148
SSH cannot load host key
I have a Debian 8 server but since a few days ago, my server provider is showing me that SSh is disabled, but it still pings, and HTTP / HTTPS are enabled. I have to add that I'm a newbie in this server world, I know the basics but not much else The last thing I remember touching was the sshd_config file, but I put bac...
You might have to post the contents of your [CODE] file. Also did you copy the key to the user account directory as mentioned here ?
1
0
2,691
2017-08-17T13:05:15.077
infrastructure
serverfault.com
560,451
Poor SMB Download Speed over VPN
I'm at a bit of a loss for trying to figure out how to improve our file sharing with remote users. The setup is as follows: Cogent Fiber 100 Mb/s Up and Down Sonicwall running SonicOS 5.8.1 Dell PowerEdge R310 Washington, DC Remote User: Is running Windows 7 Pro. Has a comcast 50 Mb Dl 12 up speed Denver Experiencing d...
We have a setup where 2 sites on 50 Mb/s up/down each have an SMB server and are connected via an IPSec VPN (pfSense). Transfer performance of a single large file averages at around 45 Mb/s. Ping time between the two sites is only 5ms which may make a difference here... though it does show it can work. Some suggestions...
3
1
7,346
2013-12-10T17:31:23.560
api_errors
serverfault.com
37,562
How to provide more value from test automation to Dev/entire team?
Working primarily as UI test automation engineer, what further steps one should take to be more valuable & useful to the Dev team. How one take automation to a level where it becomes an handy tool for testing for the entire team , not just the QA? Edit: I am looking for more practical examples where one solved an real ...
Test automation is more than automating tests. I recommend you reading James Bach "Agile Test Automation" article: Test automation progresses when supported by dedicated programmers (toolsmiths). Toolsmiths are directed by testers. Tools generated by toolsmiths might be useful for Test generation (data and script gener...
4
4
157
2019-01-31T00:23:13.497
data_quality
sqa.stackexchange.com
202,303
Server virtualization on Linux - Windows Server 2008 as guest
My current setup is an AMD server with proxmox VE (debian based hypervisor distro using KVM virtualization) and I'm running one debian and one windows server 2008 (not r2) as virtual machines. Windows Server got some bad timing issues (the clock jumps around) that kill my application as I'm running a MMO game server wi...
Guest Time Keeping in Windows under KVM Virtualization: Virtualization poses various challenges for guest time keeping. Generally - Guests using the Time Stamp Counter (TSC) as a clock source generally suffer timing problems as some CPUs do not have a constant Time Stamp Counter. I believe this is what is happening to ...
0
2
2,168
2010-11-16T05:22:39.453
infrastructure
serverfault.com
107,051
Under what circumstance would setting MaxDop to anything other than 1 cause an issue?
we are having continued discussions with our vendor whom is insistent on setting MaxDop to 1 we have performed internal testing and see a general 20% performance improvement by setting this to 4 with cost threshold to 50 we suspect they may be other motives of insisting setting of 1. I'm unsure what they maybe however....
Unless you are installing any specific Microsoft application such as SharePoint or BizTalk , setting [CODE] server wide is not a good choice. There is a good and repeatable way to calculate MAXDOP on SQL Server based on Microsoft best practice . Also, refer to How It Works: Maximizing Max Degree Of Parallelism (MAXDOP)...
-1
1
216
2015-07-15T14:37:21.583
hadoop_errors
dba.stackexchange.com
923,160
connecting google cloud sql to spotfire
I'm trying to connect google cloud SQL to Tibco Spotfire. In Spotfire I opened the "information designer" -> "setup data source" and chose MySQL5. In the connection URL I have [CODE] " I get the error message: " Cannot connect to data source 'google sql', due to invalid configuration or that the data source is not runn...
The Supported data sources for TIBCO Spotfire are only these below: [CODE] See the link , obviously Google Cloud SQL will not work now, since it's not supported yet.
0
0
244
2018-07-23T14:23:19.567
database_errors
serverfault.com
1,016,040
ifup: Not enough information: "dev" argument is required
On Ubuntu 20.04, I've define following interface in /etc/network/interfaces: [CODE] When I've trying to bring this interface up I've got an error: [CODE]
Root cause of this issue is inline comment: [CODE] The man page for [CODE] explicitly states this https://manpages.debian.org/jessie/ifupdown/interfaces.5.en.html Lines starting with `#' are ignored. Note that end-of-line comments are NOT supported, comments must be on a line of their own.
2
4
4,173
2020-05-07T03:26:50.923
infrastructure
serverfault.com
185,417
How to run a program as admin
http://technet.microsoft.com/en-us/library/cc709691%28WS.10%29.aspx#BKMK_S2 According to this article, Section Scenario 2: Configure an application to always run elevated, I cannot see "Run this program as an administrator" option and I think the application is blocked from always running elevated. The original problem...
Normally, I'd create a scheduled task that runs the app and configure it to run as the local admin (or whatever account is necessary). In your case, however, i don't think that's your problem: the app simply isn't using the security context it's run from when trying to authenticate: that's why it's prompting you.
2
0
5,690
2010-09-28T14:11:40.763
api_errors
serverfault.com
32,053
Cucumber step definitions in .feature file not highlight
In my project, I create simple feature file in my maven project using cucumber syntax. but IntelliJ IDEA, not highlight steps in feature file and also I cant use ALT+ENTER key to create step definition I added the cucumber-java dependencies and also installed the Gherkin and cucumber plugins, but still feature files ar...
Solved File --> Settings--> Editor --> Inspection And Check all the options in Cucumber like following
2
2
35,781
2018-02-14T17:51:38.200
data_quality
sqa.stackexchange.com
6,554
How to assign saltstack pillar values from Jenkins comma separated input parameters?
I have a Jenkins job with string parameter as target "server1,server2". Jenkins pipeline script is expected to execute the job on server1 and server2 respectively. There is a common salt sls file that updates directory permissions and groups on both servers. The expectation is when the job is executed on server1, a gro...
You didn't say how the sls file is executed. One way would be to pass pillars on command line : [CODE] Or you can set the group name as a grain on the minion in advance. Yet another way would be to set the group name as a jinja variable in the sls formula, depending on the hostname grain. Assuming your host names are s...
1
1
451
2019-03-08T07:30:22.110
pipeline_ops
devops.stackexchange.com
139,025
Index not used on partitioned table
We have a table similar to this one mysql> SHOW CREATE TABLE my_requests\G *************************** 1. row *************************** Table: my_requests Create Table: CREATE TABLE `my_requests` ( `rq_id` bigint(20) NOT NULL, `t_id` bigint(20) NOT NULL, `u_id` bigint(20) DEFAULT NULL, `rq_date` datetime DEFAULT NULL...
There are a few problems here: First, as jkavalik says in the comments on the OP, the order of columns in an index matters. Basically, in your case for [CODE] to be used for filtering on [CODE] , [CODE] has to be used before it can "see" and filter on [CODE] . Since usually only one range scan on an index can be done f...
3
4
3,481
2016-05-19T16:14:18.517
database_errors
dba.stackexchange.com
963,289
Terraform cannot find terraform-provider-avi in docker container
I am hitting the following error trying to run terraform in a docker image with the terraform-provider-avi. [CODE]
The problem was that the standard library packages are built as dynamic libs by default in GO and this is not working in the Terraform docker images (why?). To fix this just pass CGO_ENABLED=0 when you are building the plugin. [CODE]
0
1
126
2019-04-16T12:22:53.933
pipeline_ops
serverfault.com
112,592
Voting Regression models, other approaches than averaging the results from each estimators
In a regression problem that I'm currently working on, it seems that my model is doing well on higher values but significantly worse on lower values (e.g. values from 100,000,000 to 105,000,000 are being accurately predicted/ having lower error scores while values from 1,000,000 to 5,000,000 don't). One approach that I...
You may try a stacking or blending approach (such as a [CODE] in the recent sklearn versions), featuring a simple meta-model taking your initial models' predictions as features.
0
1
195
2022-07-12T13:49:35.740
data_quality
datascience.stackexchange.com
334,030
Possible methods of accessing L1 cache and specifying threads/cores
A faster prime number generator with hyperthreading and L1 cache About five years ago I wrote a simple VB widget to generate the first one million prime numbers and then port them to into its single VB listBox. It took about four hours on a 1.4 GHz Athlon with 1GB of PC-3200 DDR. I was wondering about some possible tip...
When dealing with such big numbers, choosing a faster algorithm will provide you with faster results independent of any low-level optimization. Your loop incurs 100,000,000 / 10 * sqrt(100,000,000) / 2 = 50,000,000,000 operations / thread. In contrast, by using sieve of Eratosthenes you would only require 100,000,000 *...
-2
2
312
2016-10-19T09:04:20.000
api_errors
softwareengineering.stackexchange.com
133,546
What problems are solved by splitting street addresses into individual columns?
We have a team who designs the tables and relations for software developers. In our organization, they are pretty strict about enforcing 3NF normalization - which to be honest, I agree with given the size of our organization and how the needs or our clients change over time. There is only one area I'm not clear about t...
Problems that can be solved by splitting include Validation Any one part of the name can be compared to a master list. Those which do not match can be rejected. Postcode / zipcode is an obvious example. These are issued and maintained by an independent authority. The only valid ones are those issued by that authority. ...
26
11
7,123
2016-03-28T15:13:56.097
data_quality
dba.stackexchange.com
85,731
LAMP setup + FTP - problem with user privileges
I'm sorry for uber noobish question, I'm new to linux and trying to learn and practice secure LAMP administration for upcoming little project of mine. I've installed vsftpd but can't setup permissions the way I want. It seems that files in /var/www must be owned by user www-data (default on ubuntu) so apache can read a...
Referring to the VSFTPD man page conf ( http://vsftpd.beasts.org/vsftpd_conf.html ), in your vsftpd.conf file, there is a configuration setting called local_umask . By default, it is 077, which is what produces your -rw------- permission. To give every file a -rw-r--r-- permission, set local_umask to 022. Remember to r...
0
1
2,534
2009-11-17T23:02:52.060
infrastructure
serverfault.com
838,009
Windows Server 2012 on ESXi slow to respond on network after reboot
Running guest Windows Server 2012 R2 with Exchange 2016 in an ESXi 6.0 host. The issue I'm experiencing is a long time it takes for the server to start responding after each reboot. The guest will reboot, come up, allow me to log in and interact with it. However, it will takes several minutes (~10) past that before the...
Exchange is really hard on IOPS. It slow down all service to start. I see that symptom often when Exchange is virtualized and that the storage controller is lacking power. For one customer I have I was lucky and I was able to order memory for his storage controller, as without it it used to make the same symptom as you...
0
0
813
2017-03-13T16:25:05.900
api_errors
serverfault.com
942,441
Google cloud platform: k8s master cannot ssh to nodes
I have a very strange issue on google cloud platform with one of my K8S clusters. Two days ago, everything worked like a charm. But yesterday every [CODE] commands used to deploy on this cluster started to fail with: [CODE] I checked every single leads from the https://cloud.google.com/kubernetes-engine/docs/troublesho...
If you run [CODE] do you see an ExternalIP for the nodes or [CODE] ? If you see [CODE] , try restarting the nodes and see if that fixes your issue.
2
1
2,159
2018-12-01T17:37:49.247
pipeline_ops
serverfault.com
293,014
CentOS yum remove postgres is not working
I am trying to remove postgres from my CentOS server completely so I could start from the beginning, I did some seriously demented stuff!!!! one of them is deleting "/etc/init.d/postgres" But then I cant remove it!! Things smile at me? Impossible! I did the following command [CODE] [CODE] Then I wanted to check if it w...
You can force the reinstallation by [CODE] and then running a [CODE] .
1
3
39,731
2011-07-22T10:40:26.683
infrastructure
serverfault.com
1,048,678
check that a DNS record exists for this domain
I have the following ingress manifest file: [CODE] I am working with VMware with Vsphere. I don't have a domain like www.google.com , just a DNS name which is k8s-cluster and the domain .int (inside my company). When I am trying to generate the certificate I receive this error: [CODE] Can this problem appear because k8...
You tried to use ACME, it is what Let's Encrypt use. The ACME protocol is basically an automated DNS domain validation and it gives you a "domain validated" certificates. It checks if DNS records with requested names really point to requesting server (or are under control of requesting server), which "proves" that serv...
1
3
2,579
2021-01-05T15:51:11.420
pipeline_ops
serverfault.com
923,847
MegaCLI RAID1 - Can't Replace Missing Disk
I have a RAID1 where I've replaced a disk with errors, however it will not automatically or allow me to manually replace the "missing" disk with the new one. Here are the physical disks per my controller: [CODE] Here is the list of missing disks: [CODE] Normally, the new disk will automatically replace the missing one ...
Your replacement drive is smaller than the original one: 264.312 GB vs 279.396 GB. You need a drive of the same size or bigger. It must have the same number of sectors or more.
3
2
5,565
2018-07-27T15:48:21.380
infrastructure
serverfault.com
14,658
Use regression instead of classification for hard labeled ranking datasets
Let's imagine I have a dataset of movie reviews with annotated sentiment: [CODE] I see a lot of people trying to do classification to try to answer those types of problems, but shouldn't regression be used instead? To me using regression would allow the system to model that there is a transition between labels, e.g. 0 ...
This is Ordinal Regression https://en.wikipedia.org/wiki/Ordinal_regression Quote from Wikipedia: In statistics, ordinal regression (also called "ordinal classification") is a type of regression analysis used for predicting an ordinal variable, i.e. a variable whose value exists on an arbitrary scale where only the rel...
1
1
434
2016-10-20T09:21:33.970
data_quality
datascience.stackexchange.com
50,847
Regular Expression is not taking the value of the last request response
I have a JMeter script in which I'm extracting value from the response of first request via Regular Expression Extractor and sending it in the second request. This mechanism is not working in my script Response of the first request (formatted for readability): [CODE] Regular Expression Extractor: Request of 2nd Request...
Remove quotation marks from your regular expression so it would look like: [CODE] It would also be a good idea to put the regular expression extractor to be a child of the request which returns this gameID, otherwise it will be overwritten by the next request More information: JMeter: Regular Expressions Using RegEx (R...
0
2
125
2022-12-16T12:45:20.680
data_quality
sqa.stackexchange.com
838,675
Dell OMSA Predicted Failure column is missing
I have a PowerEdge R210 II with OMSA 8.4 installed. When I go to check the HD status, under Storage> PERC H200 Adapter>Virtual Disks, I have the two (dell) HD but only with the columns up to "Revision", the most important one, " Predicted Failure ", is missing. Should I have to enable something? Additional Info: I have...
The Predicted Failure column is hidden by default unless at least one of the hard drives is currently in predictive failure state. This doesn't seem to be specifically mentioned in the official documentation for OMSA, but I've noticed the change in layout when replacing a predictive failure disk. If you want to make su...
1
1
393
2017-03-16T14:46:23.837
infrastructure
serverfault.com
1,117,014
ZFS send/receive fails, target has been modified, because of a zfs userspace query?
I use zfs send/receive to replicate a zfs file system to another server every day. The workflow is the standard send receive: [CODE] This worked fine for a while. However, now I get this error from [CODE] : [CODE] [CODE] on the target shows a small value in the [CODE] column of the most recent snapshot (something aroun...
Unmounted zfs filesystems cannot be modified by anything except receive/destroy and .... (well, that's pretty much all) requests. Any zfs requests about filesystem statistics shouldn't modify the fs contents. So, concluding, I highly boubt that [CODE] is modifying something (and I doubt your zfs datasets are unmounted)...
0
0
1,161
2022-12-01T06:54:01.833
infrastructure
serverfault.com
623,469
Rsyslog queues and performance impacts
Having recently had a network failure that caused a major cascading series of other issues, I've been diving into our rsyslog.conf to try identify opportunities for more stable deployment. We have all our application servers running rsyslog, forwarding over tcp to a couple of aggregation servers. Yesterday, when one of...
Got more assistance on the rsyslog forums, and cross-posting here, to help anybody in the future. Rsyslog forum thread: [ http://kb.monitorware.com/post24885.html#p24885] Answers: 1.) rsyslog targets are processed sequentially, so if "server A" is having packet loss, it will slow down delivery to the rest of the target...
1
3
6,668
2014-08-22T23:37:52.100
api_errors
serverfault.com
875,304
Why does my iptables port forward not work?
I'm trying to setup a port forwarding from port [CODE] to port [CODE] on my amazon linux ami machine. I ran [CODE] And verified the results: [CODE] However requesting port [CODE] does not work: [CODE] Whereas port [CODE] works fine: [CODE] How can I let port [CODE] be an alias for port [CODE] ? Additional information: ...
In fact, the port forwarding was in effect, but did not work for [CODE] . However, accessing the port from outside worked perfectly. I still do not know, why it did not work for [CODE] but it is not of importance for me currently.
0
0
1,150
2017-09-25T08:57:52.740
infrastructure
serverfault.com
271,738
Consistent data in dimension and fact tables from multiple incrementally loaded staging tables
To create a data model for our data warehouse we use tooling supplied by the ERP vendor. This does probably matter due to the fact that is has it's limitations. We inherited this environment with a certain design. We were new to data warehousing and performing this as only a part of our job, so we had a steap learning ...
Ok, in the [CODE] / [CODE] scenario you outline, we have three possibilities: [CODE] and [CODE] update/insert at the same time - existing logic works [CODE] XOR [CODE] updates - can locate record based on [CODE] , update only the records for the table received. [CODE] XOR [CODE] inserts - hold the record in staging unt...
2
2
1,048
2020-07-27T19:01:38.273
database_errors
dba.stackexchange.com
206,657
Remove reference of a DLL - IIS
Good night. I am having an annoying problem with a DLL. Well, i needed to make a test with two different versions of a DLL on an application on IIS. I renamed the original dll Primavera.ERPOnline.Bso.Proxy.dll to _Primavera.ERPOnline.Bso.Proxy.dll , and copy the new version to the folder. After all the tests i removed ...
Please check with this http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
0
1
1,254
2010-11-28T03:24:13.527
infrastructure
serverfault.com
10,329
Training Deep Nets on an Ordinary Laptop
Would it be possible for a an amateur who is interested in getting some "hands-on" experience in desining and training deep neural networks, to use an ordinary laptop for that purpose (no GPU), or is it hopeless to get good results in reasonable time without a powerful computer/cluster/GPU? To be more specific, the lap...
Yes, a laptop will work just fine for getting acquainted with some deep learning projects: You can pick a smallish deep learning problem and gain some tractable insight using a laptop so give it a try. The Theano project has a set of tutorials on digit recognition that I've played with and moded on a laptop. Tensorflow...
9
11
10,796
2016-02-20T07:24:56.140
api_errors
datascience.stackexchange.com
1,049,462
What could go wrong if I let users create their own Mongo collections?
I am in the process of building a basic no-code solution to build RESTful APIS that support CRUD operations on a MongoDB collection. Right now it is just a Proof of Concept project that I use internally with no external users. I saw this question on Stack Overflow the other day and I though that it could allow me to co...
A few problems I can think of Duplicate collection names Unwanted characters Performance issue is there as you might not be able to control the indexes A different approach would be you create the collection for them and let them put the data into a [CODE] field. Still you will face the [CODE] problem at some extend.
1
1
53
2021-01-11T22:33:38.050
database_errors
serverfault.com
1,002,130
Why does cloud "delete instance" take a very long time (google cloud compute engine)?
Google Cloud Compute Engine can start an instance in 10s, while the exact same instance will take 1m29s to delete! There is only one boot disk and it doesn't persist after instance deletion. Similarly, stopping the instance is also very slow (compared even to starting it). It doesn't matter if the boot disk is 2000-GB ...
If you are concern about GCE instance's shutdown period I'd suggest you Preemptible VM instances instead.
1
0
1,327
2020-02-07T05:04:20.400
infrastructure
serverfault.com
394,787
Exchange 2003 ActiveSync fine but GAL lookups not working
We have Exchange 2003 SP2 and use ActiveSync for our mobile devices (iOS and sever Android versions). Everything works except for GAL lookups and we've confirmed that the devices and client versions we are trying it on are supposed to support it. The symptom is different depending on the client, but there is never an e...
Followed Method 2 of //support.microsoft.com/kb/817379: Disabled forms-based authentication in System Manager Cloned the /Exchange virtual directory as /Exchange-OMA-New Changed registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MasSync\Parameters\ExchangeVDir from /Exchange-OMA to /Exchange-OMA-New Rest...
1
1
579
2012-06-01T16:40:27.767
infrastructure
serverfault.com
166,285
how to create a simlink to a directory?
this question is coming from my other question and I need help to make this work. I was trying out for some time and couldn't make it work. I have a directory inside redmine instalation [CODE] and I need the entire content of this directory to be linked to [CODE] so I can access the redmine application via web browser....
: ) remove your /home5/onalllev/public_html/redmine/ dir and [CODE]
0
4
5,129
2010-08-02T12:35:36.760
infrastructure
serverfault.com
1,015,708
SPF default policy when "all" is missing
What is the policy that is applied when "all" is missing from an SPF record? For example as in [CODE] .
As specified by the RFC 7208 , the default behavior is to return a " neutral " result, meaning as if [CODE] was specified. The following [CODE] and therefore equivalent to [CODE] . If none of the mechanisms match and there is no "redirect" modifier, then the check_host() returns a result of "neutral", just as if "?all"...
1
1
428
2020-05-05T08:47:27.810
infrastructure
serverfault.com
35,453
What can cause slow ssh session?
I ssh on remote host but terminal performance is poor. Symbols I am typing are not shown immediately, but with some delay. Sometimes two symbols are shown at one time after delay.
High latency is another cause of poor ssh performance. I highly recommend using mtr as a better replacement for traceroute. It should be able to give you some idea of where your network problems might occur.
64
24
147,973
2009-07-03T07:24:50.593
infrastructure
serverfault.com
421,599
Ubuntu split Apache2 log files
I rencently updated the config of my server to relocate the /var/www and /var/log in the /home folder, i also updated all my virtuals hosts to write the logs in the new /home/log folder. But now the logs are written inside huge files, one for the error and one for the access and not in form of multiples archived files ...
Since you have changed the location of the logs you should also update configs in [CODE] cause it still looks for those logs in [CODE] . I don't know what Linux distro you're using but they should be in [CODE] directory
0
2
316
2012-08-27T13:20:09.870
database_errors
serverfault.com
502,788
Virtual DocumentRoot configuration for both WWW and non-WWW - WITHOUT redirect
I have searched a lot but can't find an answer When you setup Dynamic Virtual Hosts in Apache, you do something like this: [CODE] Problem is, you need to create 2 folders: example.com and www.example.com (or create one and a symbolic link to it) What would be a rewrite rule that could avoid having to create those 2 fol...
Add another rewrite rule, that should be before the other one in the config file: [CODE] What you're doing here is matching the domain name against a regexp. If the domain name starts with "www.", everything after "www." will be stored in the variable %1. In the next line, you're re-using that variable instead of the e...
1
1
419
2013-04-26T08:17:32.370
infrastructure
serverfault.com
39,112
Restoring multiple differential backups SQL Server 2008
Over the bank holiday the backups failed on a db the full has been restored and now I have several differentials to be restored on top. Could someone give best method or do I restore just sequentially one after the other in T-SQL? Are there pitfalls that I should be aware of prior to doing this.
First thing you do is restore the FULL backup, and then you restore the latest DIFF backup. That's it! This is assuming no FULL backups were taken in between the DIFF and the FULL you are restoring from (only exception is if you used a COPY_ONLY option in your full backup but most likely that wasn't the case). Remember...
1
1
6,390
2013-04-03T05:20:44.387
database_errors
dba.stackexchange.com
12,139
sp_executesql with user defined table type not behaving correctly
Problem Is there a known issue with user defined table types as parameters to sp_executesql ? Set up script This script creates one each of table, procedure and user defined table type (restricted SQL Server 2008+ only). The heap's purpose is to provide an audit that yes, the data made it into the procedure. There are ...
[CODE] is for executing ad-hoc T-SQL. So you should try: [CODE]
13
12
8,219
2012-02-02T19:38:12.407
data_quality
dba.stackexchange.com
333,619
If RAISERROR is as good as deprecated, how are you supposed to flush the PRINT buffer?
[CODE] is as good as deprecated. The documentation says New applications should use [CODE] instead of [CODE] . Yet, it is commonly used to flush the PRINT buffer . Suppose that I'm writing a long stored procedure and I want regular reports of what step it is on. If [CODE] is out of the question, how should I [CODE] fro...
lots of things are deprecated Which for Microsoft just means they're not actively being developed any further. None of that stuff ever really gets pulled from the product though. But [CODE] is not listed as deprecated anywhere. It's not here: SQL Server, Deprecated Features object Except for this note: And it's not lis...
-1
9
140
2023-11-30T18:32:03.883
database_errors
dba.stackexchange.com
432,721
Managing multiple state machines interacting with each others in ES5 Javascript
I have multiple state machines (7) managed by a "main" function. Because of system constraint this will be run on an old qtweb browser with ES5/IE11-like behaviour. So no promises etc. I'm already using Babel to avoid some issues like let/const not accepted etc. My only "reactive" option at the moment is callbacks. At ...
One way to look at this is that a finite state machine is basically just a function + a state variable, that, when given an input, updates the state variable, and produces an (input & state)-dependent output. And maybe has some side-effects on state transitions. This means that, instead of having a bunch of tangled if-...
1
3
2,582
2021-10-15T08:33:15.727
data_quality
softwareengineering.stackexchange.com
364,775
Thoughts on Data Encryption Strategy for Large Number of Records MongoDB and Azure Key Vault
I have previously implement Client Side Data Encryption using Azure Key Vault using the following approach: Encryption Approach: Every record that needs to be encrypted gets a Content Encryption Key (CEK) The content is encrypted symmetrically using this CEK. The CEK is then encrypted asymmetrically using a Master Key ...
Option 1 you suggested seems like a reasonable approach. When we had a very similar problem (different technologies, but same encrypted key pattern) we gave data that was always queried together the same CEK (in our case data for one user). We used a microcache to hold the CEKs. Basically we cached each CEK with an exp...
0
0
116
2018-01-27T04:53:39.383
database_errors
softwareengineering.stackexchange.com
535,891
Redirection from a Secure Page
I have 2 domain one is https://app.example.com which on which SSL is configured and the other one is http://www.example.com (SSL was for this site configured earlier when http://app.example.com was without SSL) on which no SSL is configured. Problem is that when my user mistakenly enter https://www.example.com which is...
The [CODE] module should be helpful in this case. You can try to put these rules to your SSL virtual host definition: [CODE]
0
1
31
2013-09-03T12:20:09.027
api_errors
serverfault.com
985,299
Could not bind to IPv4 or IPv6 with certbot
I'm trying to update an SSL certificate on digital ocean with the command [CODE] But I get this error: Problem binding to port 80: Could not bind to IPv4 or IPv6. running [CODE] shows that port 80 is been used by 'docker-proxy'. What can I do to fix this should I stop docker-proxy how do I do that?
Turn off your http server then try again. When it's done turn your http server back on
0
0
1,999
2019-09-23T14:56:26.063
api_errors
serverfault.com
617,534
rsync ESXI 5.5 out of memory in receive_sums
I statically compiled the latest rsync (3.1.1) & can successfully execute the command on my ESXI server. I am getting the following error from rsync however: [CODE] Do you know how I could go about making this work? The command I am using is: rsync -vrltH --delete -pgo --stats -S -D --numeric-ids --bwlimit=50 -A -X --e...
This doesn't look like something you should be rsyncing to/from an ESXi host. VMware is NOT a general-purpose operating system and the use of [CODE] is not supported. Hence the fact that you had to compile a static version of the utility. Can you find another approach to move/copy the data you have? If this is for back...
2
1
2,224
2014-08-03T08:22:27.833
pipeline_ops
serverfault.com
760,981
proftpd tls internal connection works, external connection fails
I am trying to secure my proftpd server but I cannot see what I do wrong. My tls.conf [CODE] I use the same certificate files for the https connection and that works all fine. When I do this: [CODE] I get a well working ssl connection. But when I do the same with my external ip address, I get this message: CONNECTED(00...
It looks like your [CODE] configuration directives are applied only to the default "server config" vhost, and not to all vhosts in the server. Unlike Apache, ProFTPD configuration directives, outside of a [CODE] section, are not applied globally. So you will need to explicitly make those [CODE] configurations global by...
2
2
3,604
2016-03-02T12:42:32.140
infrastructure
serverfault.com
511,615
Why does my RewriteCond match even though the pattern clearly doesn't match?
Take a look at my rewrite log: (2) init rewrite engine with requested uri /bundles/astrupsspectacle/spectacle.css (3) applying pattern '^(.*)$' to uri '/bundles/astrupsspectacle/spectacle.css' (4) RewriteCond: input='${REQUEST_URI}' pattern='!^/app\.php' => matched (4) RewriteCond: input='${REQUEST_URI}' pattern='!^/bu...
You're using the wrong symbol for the environment variable. It should be [CODE] instead of [CODE] . So the condition should be [CODE]
0
4
1,057
2013-05-29T09:34:21.377
infrastructure
serverfault.com
286,030
Problems with GoDaddy domain using Google Apps solution
Some time ago using Google Apps, I bought the domain bindsolution.com. I saw it was a field of GoDaddy. Today I hired the services of GoDaddy hosting but it seems that both accounts are not the same. I need to transfer my domain to be used with the hosting I just hire. How do I do this? I have to do some setup in DNS?
You have few options: Merge these GoDaddy accounts into 1 Transfer domain from one account to another These are the options that I was doing once in the past -- over 2 years ago. You may be able to just point your DNS records to correct server IP, but you have to check your Control Panel for this (I do not have any hos...
1
0
124
2011-07-01T03:18:37.723
infrastructure
serverfault.com
60,786
SQL Server NULL Index
I am new here and have a little question. In a customer environment after checking his index fragmentation we see some "NULL" named index that we couldn't rebuilt or reorganize. This was a SQL Server 2008 R2 Sp1. I have try looking on the net for this unnamed index but have no luck finding anything about it, can anyone...
These "indexes" are actually not indexes at all. They're called heaps, which is an internal structure that holds the table data without using any ordering mechanism like an index does. Since there's no order, there's nothing to do as far as reorganizing or rebuilding goes, so these can be safely ignored as far as consi...
4
4
4,338
2014-03-12T17:02:36.310
database_errors
dba.stackexchange.com
888,133
Steal Time: How to interpret strange values for %st in top on an EC2 instance
I have an Amazon EC2 t2.medium instance that is showing very strange CPU Steal Time values, mostly large negative numbers and also very high idle CPU numbers. Anything that explains such strange numbers? Any system update/bugfix that we are missing here? [CODE]
I think I found it myself, it seems this is a bug in the area of Kernel/Xen/Kvm, it happens since Linux Kernel 4.8 and was fixed with Linux Kernel 4.11. We run 4.9.x, so we are affected by this, however it is not an actual steal situation here after all, but just incorrect reporting due to an number-overflow inside the...
0
0
1,056
2017-12-14T13:37:11.833
infrastructure
serverfault.com
1,032,724
Allow read/write to any CouchDB database for non-admins
I have a CouchDB instance where I have created an admin user, so that way only the admin user(s) can create and delete databases. I am able to create the database just fine as the admin user, but if I try to read from the db without the admin credentials, the response is a 401 with the message "You are not authorized t...
The answer, it turns out, is that starting with (I believe) version 3.1, CouchDB is more "locked down" than previous versions like 2.x where read/write to dbs was enabled by default for anybody. I was able to fix this by setting [CODE] to [CODE] (defaults now to [CODE] ) in the [CODE] section of the server config. Hope...
0
0
1,148
2020-09-04T21:26:06.580
api_errors
serverfault.com
954,893
macOS High Sierra issues mounting Kerberized NFSv4 shares
I'm using FreeIPA for LDAP/Kerberos and I've created a principal for a storage appliance (Dell/EMC UnityVSA VM). I have setup the VSA with a keytab from IPA, I've also setup within the VSA the LDAP configuration and created a NAS with support for Kerberized NFS shares. Both IPA and VSA aren't reporting any issues and t...
Turns out to be a problem with the schema specification on the UnityVSA, so it couldn't do an LDAP search properly; Kerberized NFS works now. Still don't know why [CODE] returns what it does on macOS. For the record, [CODE] (or the equivalent file in [CODE] ) is not required at all and DNS takes care of all the heavy l...
3
2
1,535
2019-02-20T13:34:32.943
infrastructure
serverfault.com
515,242
How do I setup zonefiles for mail on multiple subdomains?
Problem: I need to setup zonefiles so that I can setup email users: Both jim@mysite.com, and jim@email.mysite.com, where there are two different users and not aliases. Emails from users @mysite.com utilizes a different mail server from the one used by users @email.mysite.com. I have setup the following zone file: [CODE...
The MX record should point to a valid A record. The MX record should match the right hand side of the email address. So for user@my.domain.com, the MX record would be [CODE] Where mail.domain.com is the desired mail server. mail.domain.com. then should have a valid A record. I notice in your case, your MX record points...
0
0
53
2013-06-12T12:04:27.203
infrastructure
serverfault.com
280,568
Prepend X-header to all relayed messages in Postfix
I've got several production servers running a LAMP stack. They each have a local Postfix server catching any mail from the system and from PHP, and relaying it via a smarthost (the SendGrid SMTP service). I'd like to add a custom header to every outgoing message sent to the smarthost. This allows me to filter statistic...
This answers your exact question: https://web.archive.org/web/20150706131729/http://hoursofop.tumblr.com/post/17760274650 Quick steps reported here: create a file [CODE] and add this line to it: [CODE] update your master.cf file with the following line: [CODE] It applies to a Ubuntu system and worked perfectly for me. ...
6
6
10,384
2011-06-15T07:05:21.993
infrastructure
serverfault.com
189,983
Is Oracle unpublished BUG:8527473 fixed in recent versions?
I see that there are Oracle issues with ASLR on RHEL 6 on 11.x and 12.1.x. Is this fixed in a newer version, and if so, which version?
8527473 is not an unpublished bug. It is fixed in version 11.2.0.2. Bug 8527473 - Various back ground processes fail to start causing instance to crash with ORA-443 / ORA-445 (Doc ID 8527473.8)
-1
1
240
2017-11-02T18:59:03.560
database_errors
dba.stackexchange.com
591,649
Dovecot service doesn't start
I follow these steps to install a postfix/dovecot/mysql mail service: https://www.dropbox.com/s/c2q64gndb9dwpmm/Postfix__Dovecot.pdf When i need to restart a dovecot service and view "mail.log" file. Dovecot dont print any string in this file. And when i try to restart the service. System print me this: [CODE] But when...
If you run Dovecot as a foreground process, does it output any errors? To run Dovecot in the foreground: [CODE]
-1
0
1,105
2014-04-27T21:20:43.470
database_errors
serverfault.com
256,946
How to deploy software automatically over SSH?
I am dealing with a distributed application which is going to mange a network of Linux-based servers spread among different places. Having the SSH credentials (as the most supported connection mechanism on these servers) we need to deploy our application seamlessly on these servers and run it there to become an new nod...
Fabric can be used to run basic deployment commands (and configuration management tools such as Puppet or Chef ) for a very nice SSH-based deployment process.
1
1
575
2014-09-22T13:06:58.737
api_errors
softwareengineering.stackexchange.com
507,847
xfs_growfs error: maximum is 18350080?
I have a 70 GB filesystem mounted from a loopback file that needed more space. I increased the size of the file from 75161928000 to 75200000000 (starting conservative) via [CODE] But attempting to grow the xfs filesystem with just "xfs_growfs /mnt/doc.neu/" had no effect, with the "-d" flag it returned "data size uncha...
If you are using [CODE] you need to use [CODE] to have the block device's size updated to the size of the file backing it. From the manpage: -c, --set-capacity loopdev force loop driver to reread size of the file associated with the specified loop device
1
2
1,359
2013-05-15T02:11:13.630
api_errors
serverfault.com
34,078
é being converted from database to site
I have a MySQL database that is storing business data... In the database, when running a select against a business name that contains an accented e (é), it comes up correctly (showing me that it is stored correctly.) On our website, though, it is showing up as the diamond with the question mark. I checked out database ...
You need to ask the database from another angle. Please run this: [CODE] This will tell you what it sees. If you want to change the Character set and.or collation, do this: [CODE] In mysql, [CODE] can change character set and/or collation. I have mentioned this in my past posts in the DBA StackExchange : [CODE] : Why d...
0
1
78
2013-02-04T16:47:03.443
database_errors
dba.stackexchange.com
361,955
Use SECEDIT to export "Security Options" from one computer and import on another
Can I use secedit.exe to export out the "Security Options" from the local security policy and then import them on another machine? I'm trying to do this on Windows Server 2008. Update I just tried with: [CODE] But it didn't work with error: [CODE] Where do I get the DB file from?
I had to do the same thing a while ago to setup a Server Core system with a security policy. Here are my scratch notes: Export: [CODE] Import: [CODE]
3
3
10,857
2012-02-20T19:48:56.713
infrastructure
serverfault.com
713,546
Dovecot Sieve does not run?
I'm quite new to Dovecot but it has worked out for me pretty good so far for me. I run dovecot with postfix and amavis and spamassassin and it works out all fine, mails get tagged as junk, sending, receiving, all fine. Now I wanted to add the sieve plugin so mails get moved on the server and that does not work out. I w...
You say you had to create the file? Sounds like you never installed the protocol plugin under dovecot. First, DO NOT edit (or create) the installed [CODE] files when avoidable. Make your own. Create a [CODE] OR [CODE] (for example). In newer Dovecot distro versions, the LDA ( [CODE] ) plugin is installed by default, bu...
4
2
3,237
2015-08-12T07:12:47.697
infrastructure
serverfault.com
367,066
Most appropriate HTTP code to issue a warning about insecure content
Most people as they surf the web would get a warning by their browser if they approach a website with an SSL certificate issued by an unnknown authority, or even known as malicious place. Now, thousands of developers - over 80% of Java related projects using Maven Central - download software components known to have vu...
If the purpose of your webserver is to tell that some resource should not be used because deemed insecure, why not sending 404? Or even the stronger 410. If the purpose is instead to deliver the resource but at the same time to warn about some insecure situation, I do not believe you can do that with an HTTP header. Bu...
0
3
72
2018-03-05T15:03:02.797
api_errors
softwareengineering.stackexchange.com
173,586
Ola Hallengren - DatabaseBackup - LOG Unable to open Step output file. The step failed
DatabaseBackup - USER_DATABASES - LOG: This job fails saying "Executed as user: Domain\XXXX-SVC. Unable to open Step output file. The step failed." The error is only with LOG backup job. The other DatabaseBackup jobs (FULL, DIFF) works just fine with same SVC account. So the service account have appropriate permissions...
It turns out that the person migrated the jobs from old server to new server edited the jobs manually. One of the edit was to [CODE] this was set to default log location [CODE] on old server. On the migrated server it was edited to [CODE] where the directory [CODE] did not exist. (that person missed deleting the [CODE]...
2
2
11,769
2017-05-15T11:32:35.947
database_errors
dba.stackexchange.com
260,207
How to clean up nested try/except/else?
When writing code, I often want to do something like this: [CODE] Obviously, this is completely unreadable. But it's expressing a relatively simple idea: execute a series of functions (or short code snippets), with an exception handler for each one, and stop as soon as a function fails. I imagine Python could provide s...
[CODE] What does [CODE] do? There are a few things we typically do in exception handling blocks. Cleanup after the error: But in this case, foo() should cleanup after itself, not leave us to do so. Additionally, most cleanup jobs are best handled with [CODE] Recover to the happy path: But you aren't doing this as you d...
11
9
32,774
2014-10-16T22:42:49.273
api_errors
softwareengineering.stackexchange.com
564,385
Rsync command issues, owner and group permissions doesn´t change
I´m trying to set owner and group via [CODE] and it doesn't seem to be working. This is the command: [CODE] The files sync correctly but doesn´t seem to change the owner and group.
It sounds like it is working correctly. Use [CODE] and [CODE] to preserve (not set) the owner and group names... meaning that you do not want them to change after the transfer. If you don't use these options, the user and group will be changed to the invoking user on the receiving end. If you want to specify some other...
45
22
118,474
2013-12-31T20:33:47.647
infrastructure
serverfault.com
288,157
Programming to an Interface and Interface Segregation in the Context of a User Class
I try to program to an interface whenever possible, but its not clear to me how I could apply it to a model as broad as a user. Which can hold many disparate fields (name, age, phone number, ssn, etc.) or be composed of many modules. I could design a general purpose library of functionality for use across applications,...
It's not wrong. It might be a hint that your class is too big for its shoes in the first place and you should refactor it, but that has nothing to do with programming against interfaces. If you follow the principle that complex functionality should deal with interface types rather than concrete types, then your concret...
1
1
221
2015-06-29T07:27:38.613
api_errors
softwareengineering.stackexchange.com
788,240
Server 2012 stuck in a reboot loop - lsass.exe failed
My Server 2012 server boots up fine and the login screen is visible (from a local console). Password entry works but attempting to submit the password - either by clicking the arrow or pressing the [CODE] key - is futile. Nothing happens. After about 1 minute the computer immediately restarts - no blue screen or error ...
This error is caused by LastPass. The login hooks used by LastPass seem to be incompatible with Server variants of Windows - causing [CODE] to crash. Note the following related error message (Event ID: 1000) in the Application event log: [CODE] Because the services required for uninstalling the LastPass application are...
4
3
4,387
2016-07-06T13:11:30.077
infrastructure
serverfault.com
436,438
Session Handover via OpenID Connect between a Mobile Application and a Website?
I am trying to assess secure ways to implement a session handover between an app and a website in the same company ecosystem. The Setup Mobile Application A and Website B use the same company OpenID Connect (OIDC) provider to login their users independently from each other with completely separate session handling. Sin...
Correct, a token can be used to hand the user's state from the app to the browser, somewhat independently from your authentication system. Specifically: The app should store the relevant state on the server. In particular, this would involve storing information about the current session. The server returns a time-limit...
0
1
660
2022-02-02T18:23:43.043
api_errors
softwareengineering.stackexchange.com
995,225
mk-livestatus No UNIX Socket Existing
I'm currently in the process of setting up NagVis, and one of the prerequisites is that mk-livestatus be up and running on your Nagios server. This is proving difficult. The website for check_mk only has instructions on how to install all of check_mk, as far as I can tell, which I don't really need to do. I was going o...
The path to the socket could be anything, does [CODE] exist? If not, does the [CODE] socket exist somewhere else? Your livestatus configuration should probably contain the path where the socket is placed.
0
0
600
2019-12-11T17:22:51.237
infrastructure
serverfault.com
39,070
How to move Exchange 2003 mailbox or store from 2003 to 2007 on separate networks?
I have an exchange sever 2003 installed and working. I have a new exchange 2007 server on another network. The two networks are completely separate with no connection. How can I take the 2003 mailboxes and put them on the new 2007 system? The move mailbox normal option on 2007 will not be able to see the old 2003 excha...
Nope-- you can't just move the database around. It's too bad, but that's just the way the product is designed / implemented. Your best bet is to ExMerge out the data from the source server, and import it into the Exchange 2007 server. More background on ExMerge: http://support.microsoft.com/kb/174197 Bear in mind that ...
1
3
12,537
2009-07-10T18:28:24.460
infrastructure
serverfault.com
996,265
HTTPS redirects back to HTTP sometimes
Weird issue happens, need help. I have the URL: [CODE] In some like random moments if I hit enter on browser URL bar it redirects to HTTP: [CODE] I'm using chrome: Here is my [CODE] : [CODE] Everything worked all the time and nothing seems to be changed to affect this. Also interesting fact is if I remove query it redi...
This looks like the condition is not matching the request you are trying to re-route to HTTPS: [CODE] From the docs: https://httpd.apache.org/docs/current/mod/mod_rewrite.html [CODE] The [CODE] do not match the request in an [CODE] fashion: [CODE] [CODE] So likely the RewriteRule does not apply in for this request. Eve...
0
1
251
2019-12-20T07:30:09.370
infrastructure
serverfault.com
39,038
Models that converged before aren't converging anymore in Keras
I have two models with saved data that worked well previously but won't anymore. First, it happened with one of my Jupyter notebooks. I can even load the saved model and weights that work. When I train more with the exact same model, the performance actually drops! For example, I get a dice coefficient of -.39 with my ...
It was actually just the random weights and incredible luck that I got good convergence the first three tries in a row while didn't most other times afterwards. I tried setting the seed and found certain seeds that gave me good results every time whereas most other seeds won't converge for many epochs. [CODE]
0
0
704
2018-10-02T02:59:19.393
data_quality
datascience.stackexchange.com
800,504
Can I make Apache serve the most recent file in a directory as the index file?
I'm trying to build a solution for a project that will involve periodic file uploads from a camera to a web server, and then have the web server display the most recent images and run periodic cleanup. The camera's functionality is very limited; I can't have it delete files when it uploads new files, rename old files, ...
If you have PHP installed, you could get that to fetch the contents of the most recent file in the folder by placing this in the [CODE] file. [CODE] Some notes: I haven't bothered to do a check for a [CODE] filename since it will always be able to find the [CODE] file. So you might want to put in an exception in the [C...
0
0
631
2016-09-01T15:34:34.950
bi_errors
serverfault.com
48,529
Is image sharpening a good idea for data augmentation?
I'm training segmentation networks and while the dataset is somehow decent (~5k images) I wanted to augment it, so far I'm trying: RandomFlip RandomRotate RandomBrightness changes RandomShadows Due to constraints of the problem I can't do random crops or shifts. Other than those augmentations I was looking into image s...
At first, I have to mention that $5k$ cannot be considered as a large dataset for training a deep neural network. Anyway, about the question. In general, yes you can, but you have to be aware of some points. Data augmentation can be helpful or it can damage your entire predictions. The reason for each is that whenever ...
2
1
1,141
2019-04-03T14:42:28.493
data_quality
datascience.stackexchange.com