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
158,680
Oracle expdp puts INDEXES to LOGGING mode
I've created a table in schema LARRY [CODE] then export it, and try to import in schema LARRY2: [CODE] But I've got an error in Oracle 12c: [CODE] Also I've checked [CODE] It gives [CODE] . I tried to search for this problem in the Internet but didn't find the answer. I'm curious why do Oracle trying to put INDEXES (an...
This is caused by [CODE] . Because of that parameter, the database creates indexes with [CODE] property to avoid generating redo, and at the end, it changes the index to the original value, which is in this case [CODE] . But for indexes on GTTs, specifying [CODE] or [CODE] is not supported. Data Pump manages to create ...
2
8
2,608
2016-12-20T11:07:31.713
database_errors
dba.stackexchange.com
147,008
Hostname problems in CentOS 5.5
I just set up a CentOS 5.5 machine on my local network and attempted to modify the hostname by editing [CODE] file. When I'm logged in locally the change to the hostname is reflected and seems to be working fine. When I open a SSH session via PuTTY from Windows this is what I see at the prompt: [CODE] A couple of other...
You need a DNS or setting the hosts file on every machine in your LAN.
2
2
3,611
2010-06-01T07:17:00.223
infrastructure
serverfault.com
40,054
Twitter tweet classification
I am trying to do a small project on my own to find out job openings using twitter data. I saved data using flume and converted it to .csv for analysis. My problem is i don't know how to classify tweets, whether it is a job vacancy or just some news on say machine-learning.I read online about neural networks and word2v...
You should be reading about text classification with supervised learning technique. You could chose a neural network such as CNN implementation and use it to your data. But you have to first prepare your data by cleaning it up and labelling it with respect to your desired category. For example, You should collect the t...
0
2
85
2018-10-22T18:26:05.280
hadoop_errors
datascience.stackexchange.com
34,437
Struggling with complicated date query
So I have been tasked to write a query involving dates for a contract management system we have. The database stores the date the contract's primary terms expired, the frequency that the contract auto-renews, and the notice period required to make a change to the contract. Here is a query with some sample data: [CODE] ...
I'll do it in stages to make it easier to understand. I put your data into a table called [CODE] - added a primary key as I assume you'll have one and it makes things a little easier: [CODE] The next expiry date from the first given date will be: [CODE] Then, it follows that the notice period is a bit of easy date arit...
1
3
1,124
2013-02-08T20:11:28.253
warehouse_errors
dba.stackexchange.com
748,835
Linux(redhat);Crontab; bash - script working from shell but not in Crontab - assigning command to variable fails
I know that my question was asked several times, but there is no solution for my problem. In my Company there is an Application running on a RedHat Mashine. Users connect a text Based GUI via ssh to this Server. This Application does not support Pasword aging resetting password. I made a script checking password aging ...
Cron passes a minimal set of environment variables to your jobs. A common "gotcha" here is the PATH environment variable being different. To get around that, just set your own PATH variable at the top of the script. E.g. [CODE] You can also set the PATH variable in the crontab file, which will apply to all cron jobs. E...
1
2
7,194
2016-01-13T15:11:03.527
infrastructure
serverfault.com
312,147
Large amount of cursors causing slow response and massive CPU usage - cursor: mutex s
We have a problem with our Oracle server. It was upgraded to 11g a couple of months ago and is running a third-party system. The system has been running for years (and has had several other issues), but this is new: Once or twice a day, CPU usage increases, and Cursor Mutex S is very visible, having had 30 million wait...
This turned out to be an Oracle bug. After applying the below mentioned patch, no single statement has had above 50 cursors for more than a month and the performance issues described in the question has vanished. Patch : Bug 10636231 - High version count for INSERT .. RETURNING statements with reason INST_DRTLD_MISMATC...
0
0
2,059
2011-09-16T10:21:41.863
database_errors
serverfault.com
140
What is/should be our take about code-debugging questions?
As we are in an early stage beta and are still molding our scope and the culture, let's have a string of discussions regarding the same. And, here's one: Should code debugging questions be welcome here? Or should we send them to SO? We, the mods have some opinions too. So, putting the question out there so that we can ...
In my opinion, it depends, on the code. If the code in question is about building an extension for one of the many DevOps tools that are on-topic and the problem at hand appears to be as a result of that tools API then it should be allowed. If the code has a gramatical error or is simply "why doesn't my code work" then...
discussion,off-topic
1
4
47
2017-04-05T15:46:57.703
pipeline_ops
devops.meta.stackexchange.com
1,121,478
What's the difference between Nginx 'keepalive_time' and 'keepalive_timeout'?
In official Nginx docs a new directive added since v1.19.10 named [CODE] : Nginx keepalive_time Doc Limits the maximum time during which requests can be processed through one keep-alive connection. After this time is reached, the connection is closed following the subsequent request processing. Once a keep-alive connec...
keepalive_timeout is the time where the server will keep an idle connection open. If you send a request and then do nothing on this connection, the server will shutdown the connection at 75s after your previous request. keepalive_time is the maximum duration where a connection can be kept open even if it is not idle. S...
2
3
9,233
2023-01-30T09:57:08.573
infrastructure
serverfault.com
449,426
check_mk IPMI PCM sensor reading randomly fails
I use check_mk_agent for monitoring a server with IPMI and the freeipmi-tools installed. As far as I can see, the monitoring randomly detects no value returned by the IPMI Sensor "Temperature_PCH_Temp". That's a problem since it results in a CRITICAL state triggering a notification. The interruption lasts only over one...
Version 01.78 of the Supermicro IPMI for my X9DRD-iF. You can download it at http://www.supermicro.com/about/policies/disclaimer.cfm?url=/support/resources/getfile.aspx?ID=1940
1
1
1,484
2012-11-16T14:06:34.973
airflow_errors
serverfault.com
261,703
SQL Server Failed Login - SQL Server login (not windows) - Random times
We have the following situation and am wondering if anyone can suggest a way of determining the cause. One of our SQL Developers can log into, and use, the instances/databases fine and has a SQL logon with sysadmin privilages. He works from approx 8am to 5pm and has no issues. However we get random "Insufficient Permis...
I would look for some kind of automated process... either a SQL Agent job, a batch file connecting to SQL, etc. There is some good chance that the login use for this process does not have the right password. You can create an extended event (or a trace) and capture the "Error Reported". Make sure you include the "appli...
0
3
397
2020-03-11T12:09:05.190
database_errors
dba.stackexchange.com
328,208
Why doesn't left join elimination work properly for large queries?
Have discovered kind of unexpected behaviour of query planner: [CODE] for the query like: [CODE] PostgreSQL generates following bizarre query plan: [CODE] However, for semantically equivalent query: [CODE] the query plan looks "much better": [CODE] after some research I have found that [CODE] / [CODE] settings somehow ...
Well, below is what I have "learned" after reading PostgreSQL source code (the part about [CODE] of SQL queries was not a part of my learning curve and it is actually perfectly described in cost based query transformations concept ) The main idea of [CODE] of SQL queries is that we may transform some SQL queries to ano...
1
2
176
2023-06-12T16:12:47.197
database_errors
dba.stackexchange.com
193,048
What is the advantage of having multiple File groups for a database?
I am having a relatively small database today, and I am expecting that my db size will grow drastically in coming months. What are the precautions I should take to get better performance when the db size grows larger? In this case, will splitting the primary file group of my database in to multiple secondary solves my ...
Splitting a database across multiple filegroups permits you to take advantage of the I/O bandwidth for each physical device / path that you've placed filegroups onto. Placing multiple filegroups on the same physical disk / LUN wouldn't give you any advantage, but placing them on multiple disks / LUNs can give you a mul...
3
5
5,921
2010-10-20T16:06:54.887
infrastructure
serverfault.com
176,775
How to copy table data from one db to another?
How can I do this when the table has a constraint and already exists in both databases? I need to rewrite the data in the table on my server with the data in the table on my development computer. I have tried various forms of pg_dump, using both plain-text and binary formats. I have also tried using the --clean and --d...
No, you probably can't do that automatically. If you are trying to dump and restore only fragments of the dependency chains, [CODE] and [CODE] have no way of knowing what your intentions are. You are most likely going to need to spell them out for it, by supplying your own supplementary pre/post commands. It is possibl...
0
1
2,198
2017-06-20T14:19:15.257
data_quality
dba.stackexchange.com
207,381
how to restrict ssh login to a specific ip or host
i want to restrict my ssh login only for one ip address so i modified the following file [CODE] and added this line (i.e. my ip ) hoping that it will work [CODE] but no luck connection refused i don't want to use any iptables thing. Why its not working this way , how can i fix it and , any explanation ?
I must agree with dunxd, IPTables should not be discounted as a viable approach. You are in luck, however, since you can leverage tcpwrappers to the same functional end. Although more complex than on the surface, tcpwrappers essentially boils down to two files: /etc/hosts.allow and /etc/hosts.deny If these files do not...
5
7
24,651
2010-11-30T12:49:40.990
api_errors
serverfault.com
14,577
What network file sharing protocol has the best performance and reliability?
We have a setup with a few web servers being load-balanced. We want to have some sort of network shared storage that all of the web servers can access. It will be used as a place to store files uploaded by users. Everything is running Linux. Should we use NFS, CIFS, SMB, fuse+sftp, fuse+ftp? There are so many choices o...
I vote for NFS. NFSv4.1 added the Parallel NFS pNFS capability, which makes parallel data access possible. I am wondering what kind of clients are using the storage if only Unix-like then I would go for NFS based on the performance figures.
44
32
83,777
2009-05-29T14:03:48.520
infrastructure
serverfault.com
56,707
Can an SSIS variable have a default value?
I have to migrate a SQL Server 2000 database to version 2008. A large part of that work is to update all the DTS packages to SSIS. Many of the packages require using the current date to establish parameter settings as well as date-stamping files (i.e. [CODE] , for example). This logic has been ported over to the new SS...
you should be able to do it quite easily like this: Bring the variables editor up & add a variable to contain your preferred date Inspect the variable property window Choose the ellipsis for the Expressions property to get the expression editor Define your date output using getdate() functions etc. (reasonable subset o...
0
1
5,329
2014-01-13T21:11:31.267
database_errors
dba.stackexchange.com
941,676
Unexpected CPU Percentage with azure metrics
I'm currently having trouble to explain the following behavior on an azure VM. The VM is a Standard DS4 v2 Promo (8 vcpus, 28 GB memory) with Ubuntu 18.04 freshly installed. I generate some workload using [CODE] . Now if I check the Average Host CPU Percentage metrics through the Azure portal using 1 minute granularity...
Maximum of CPU over a time range is not very useful. There were some tasks maxing out CPU a long time ago (boot time, scheduled jobs), but that may not represent CPU use right now. Graph data and look at the trend. Compare to guest load averages, which show runnable tasks over time. Sustained high CPU, where it is at s...
0
0
579
2018-11-26T15:47:56.813
pipeline_ops
serverfault.com
841,715
Our master/slave servers are unable to sync after SSL certificates were installed and then removed, what is this down to?
We have two servers with Rackspace running IIS 8, a master and slave. Previously the master would sync with the slave through the method described here: https://community.rackspace.com/products/f/25/t/641 The above was installed by a very nice man at Rackspace a couple of years ago despite it not being part of his mand...
As it turned out the problem was created by installing the SSL's on our servers, when doing so we had created a binding on the default website for port 443. As the SSL is on the load balancer this isn't required and this binding seemingly wanted a certificate associated to be 'copied' over or found when syncing between...
1
1
436
2017-03-31T08:19:22.903
api_errors
serverfault.com
1,119,708
HTTP 403 with CloudFlare
I've added my site to CloudFlare. I'm trying to allow requests to only come in through CloudFlare's network, and reject all others. When I add the following to my .htaccess, I get HTTP 403 Forbidden. [CODE] The list of IPs comes directly from CloudFlare's IP ranges . In theory, CloudFlare acts as a reverse proxy for my...
[CODE] Should be [CODE] or omitted altogether (since that is the default in the absence of any authorisation containers).
0
0
488
2023-01-07T23:37:45.923
api_errors
serverfault.com
826,170
SCCM 2012 R2 - PXE Boot Issues with Dell Inspiron 7559
I'm having problem with a Dell Inspiron 7559 for OSD using SCCM 2012 R2 My SCCM is patched with all the latest hotfixes and updates. I have no problem doing deployment to any other machine. But when I try an Inspiron 7559 (I've tried 2 different machines, straight out of the box) I get a message "Configuration Manager ...
If you're using a 32-bit boot image, that's your problem. In order to PXE boot a UEFI machine (in UEFI mode), your boot image must be 64-bit. SCCM provides both a 32- and 64-bit boot image by default, but if you're using MDT integration, you will have to make a 64-bit boot image. You'll also need to make sure that the ...
0
0
351
2017-01-13T17:27:25.013
pipeline_ops
serverfault.com
392,047
Using the same entity for different use cases
Suppose I have a [CODE] entity with [CODE] and [CODE] attributes. A [CODE] can own [CODE] es. A [CODE] has the [CODE] and [CODE] attributes. Business rules dictate that one [CODE] can own at most 5 boxes. So, in this case, the [CODE] can be the aggregate root and whenever a new [CODE] is bought by a [CODE] , I can do [...
The most common pattern used to separate a group of entities given invariants that span between them is to break down the use-case into a series of steps and employ value objects/factory methods as a means of communication. I am going to extend your example to help illustrate what I mean. Let us introduce a new concept...
1
2
635
2019-05-17T16:41:11.587
api_errors
softwareengineering.stackexchange.com
117,243
Is there a way to combat Sales perpetually overcommitting?
I seem to be repeatedly stuck in a situation where release dates are set not based on anything technical, but because someone in Sales has committed to a customer by then. Based on discussions with friends in development at other companies, the same thing seems to happen. "Here is the committed feature set and here is ...
Stop doing the 80 hour weeks. This is positive reinforcement . Because they are getting the product on time with expected costs, they are going to continue doing it, regardless of what it does to you. If they cannot budget time properly, then that's management's fault. Not yours. Let them miss a few deadlines.
123
147
6,199
2011-11-01T14:48:38.323
api_errors
softwareengineering.stackexchange.com
20,407
Applying bayesian methods to a simple neural network
This is a really simple neural network with backprop. If one had to apply bayesian "inferences" to update the weights and biases, what would change in the code. [CODE] If my understanding is correct of using bayes method to derive the weights and biases, it would help in getting to those values faster, leaving behind u...
Bayesian models specify priors to inform and constrain the models and get uncertainty estimation in form of a posterior distribution. Non-Bayesian Deep Learning computes a scalar value for weights and biases at each layer. Bayesian Deep Learning calculates a posterior distribution of weights and biases at each layer wh...
0
2
2,422
2017-07-13T17:04:25.490
data_quality
datascience.stackexchange.com
766,359
Troubleshoot if /etc/init.d script would run on startup, without actually rebooting?
I have this script in [CODE] that I want to know if it will be run when the system reboots. Is there a way to "simulate" the conditions of a reboot to see if the script will actually be invoked (and to debug it) without having to actually reboot the system? Please note that I'm aware that you can just run the script to...
A common issue is environment differences. If the script does not have a bang path on the first line, then shell differences may be an issue. The most common issue I have experienced is path expectations. [CODE] scripts run with a stripped down path. These are the same issues that cron scripts have. I believe the path ...
0
1
2,312
2016-03-27T16:16:15.933
infrastructure
serverfault.com
1,062,392
Task scheduler job not terminating after specified timeout
I have updated the "stop the task if it runs longer than" to 1 min. But the task job won't terminate after a minute. What am I missing here? And the job doesn't have any triggers configured.
That's because you started the task manually ("on-demand") and not with a trigger. The time limit is ignored when you start the task on demand as explained in the documentation : If a task is started on demand, the ExecutionTimeLimit setting is bypassed. Therefore, a task that is started on demand will not be terminate...
0
3
1,222
2021-05-03T13:27:03.507
infrastructure
serverfault.com
679,755
Mock proxy server on local (With fiddler and windows firewall)
My clients are using a proxy server on their corporation,and I want to set up dev environment for testing development related to proxy issues. So, I want to set up a proxy server which blocks all port 80 requests, unless the request is requested by the proxy server. This is what I tried: Installing fiddler2 on port 888...
Found the answer in a great post: https://github.com/mapbox/mason/wiki/Windows:-Simulate-an-enterprise-proxy-on-a-single-developer-machine Block all the outbound connections on the firewall. Allow request from fiddler.exe
1
2
3,699
2015-04-01T08:18:57.643
infrastructure
serverfault.com
11,241
SQL Server 2008 DBCC Problems
We have a database Ms [CODE] Or [CODE] Error message Msg 0, Level 11, State 0, Line 0: A severe error occurred on the current command. The results, if any, should be discarded. Msg 0, Level 20, State 0, Line 0: A severe error occurred on the current command. The results, if any, should be discarded. After spending hour...
You could [CODE] and never use [CODE] (the article is worth reading) ! Seriously, no amount of DBCC voodoo will bring your database back to a pristine, working state.
5
8
10,838
2010-10-03T14:19:29.197
data_quality
dba.stackexchange.com
315,075
Error Code: 3548. There's no spatial reference system with SRID 1498173264 - MySQL
I am trying to run a mysql query below: [CODE] where [CODE] is of type [CODE] . and get an error: [CODE] [CODE] My table structure is like: [CODE] https://dbfiddle.uk/?rdbms=mysql_8.0&fiddle=12ba2b0bfcb6e04fee7361cb85496569 What SRID should I use? and how do I set it in MySQL? I am not explicitly setting SRID. When I t...
The SRS is 4326 -- https://dev.mysql.com/doc/refman/8.0/en/spatial-reference-systems.html st_distance_sphere us expecting a radius of 6370986 (or it can be left off). -- https://dev.mysql.com/doc/refman/5.7/en/spatial-convenience-functions.html (Answer) The main changes are Noted: [CODE] However, that leads to this err...
0
1
965
2022-08-01T05:14:21.597
database_errors
dba.stackexchange.com
977,581
Notify an ansible server to run a playbook on a VM
I have a virtual machine set up with Vagrant. The plan is to provision the vm with a shell script. The Script shall do things, connect to my company's ansible server and let the server run a playbook with the hostlist set to the vm. Now the problem is to make the connections. Because everything shall run automatically ...
Regardless of your solution, some ideas: if your new VM is something like Debian - you could use preseed.cfg to automatically configure the VM and there is an option for "late_command" after the installation is complete (before the first reboot happens). In that moment you could import some authorized_keys. So your VM ...
0
0
202
2019-08-01T13:28:06.407
pipeline_ops
serverfault.com
335,658
Server health monitoring without disrupting network?
Possible Duplicate: What tool do you use to monitor your servers? I manage two Windows development servers which are part of a much bigger network. I would like to monitor these two servers, but I want to avoid any situation which could probe or map the entire network. Most other workstations and servers are managed by...
Nagios is pretty popular http://www.nagios.org/ You might also want to check out a fork of Nagios https://www.icinga.org/
0
1
121
2011-11-29T04:00:15.193
data_quality
serverfault.com
29,870
MySQL INNODB corruption after server crash during concurrent truncate command
My server crashed today I think due to a concurrent truncate table command on one of our INNODB tables. The server could be restarted, but after it starts up, everytime I try to issue an SQL command, I get the following error: [CODE] This is what happened in the logs: [CODE] I have searched online and I get the hint it...
ASPECT #1 The first thing that caught my eye was this line InnoDB: Error: trying to load index PRIMARY for table / This indicates you have a table using the InnoDB Storage Engine What is interesting about InnoDB is the way a PRIMARY KEY is stored. It is stored in a structure called the gen_clust_index , or more commonl...
9
6
26,988
2012-12-05T14:21:01.133
data_quality
dba.stackexchange.com
147,990
What design should I use?
I am creating a program that will monitor several servers and computers. A user can create an account and have multiple computers in his account that will be monitored when the user installs the client on it. When the client is running for the first time, the user can input their account info and it will be saved encry...
If you want to have a computer be assigned to more than one user, you're going to need a junction table between the two to store the relationships. This was not stated in the requirements but it seems like a logical approach given the project scope. 1. Account 2. Computers 3. Account_Computer_Assignments. The third one...
2
0
79
2016-08-26T10:49:18.060
database_errors
dba.stackexchange.com
21,026
MongoDB optimization on high data
I have a mongoDB collection with 42M registers with 1M new registers every day . We found a low performance on mongoDB querying . showing in mongostat the fields: qr|qw ar|aw with values of 300-500 . First move was to check index and make new indexes for querys that may took so long. Now we are getting a good performan...
First, let me say that with the information given it will be hard to get at the root cause - it is usually an iterative process that takes multiple attempts to track down the culprit. In the interest of answering your "what next?" portion of the question rather than identifying the root cause, read on..... First, a cou...
4
2
1,296
2012-07-17T15:12:05.260
database_errors
dba.stackexchange.com
127,925
Mysql 5.5.45 crashing after refreshing web page rapidly(Too Many Connection warning)
I am using ec2 aws instance for my wordpress webiste.after every 5 to 10 minute and randomly my website going down i tried lots of things like increasing buffer memory ,memory limit but that not working for me so any one know how do i resolve this issue bellow snpiet is the error log Mysqld log :- http://pastebin.com/8...
This sound like a (probably) badly written wordpress plugin. If you have installed some plugins, especially if these are not rated or newest release, try to deactivate it one by one and do a test for each deactivation (if you want first backup the database and httpd wordpress dir, but normally on the deactivation proce...
1
0
734
2016-02-01T14:52:53.147
database_errors
dba.stackexchange.com
704,924
Why are all drives dropping out of RAID when 1 fails? LSI9260-8i/IBM M5014
I've got an interesting problem I'm hoping you all can help me with. I have an IBM 5014 (the LSI 9260-8i equivalent) running two RAID10 virtual drives. The first is 4 WD RE4's, each 2TB, for a 4TB total drive - let's call this VD1. The other is 4 WD RE4-GP's, each 2TB, for another 4TB total drive - let's call this VD0....
Sorry haven't experienced the same, but we run LSI and have had firmware updates smooth things out before. Please check that you have the latest firmware for the device.
1
1
647
2015-07-10T17:37:57.110
infrastructure
serverfault.com
165,023
Database replication without locking tables
I've been asked to setup replication between master and slave database. The aim is not to lock any tables while dumping database. I've never setup replication but I have found this guide: https://plusbryan.com/mysql-replication-without-downtime He is using these settings. On master: [CODE] On slave: [CODE] Could you pl...
this is the meaning of the parameters you pointed: server-id: its mean the server has unique ID in-order to communicate with other servers, the ID range should be 1-2^32, and if not specified its mean the server ID will be 0 (stand alone) and will not communicate with other servers. binlog-format: its a binary log form...
3
2
2,773
2017-02-21T13:27:21.910
database_errors
dba.stackexchange.com
31,227
Selenium webdriver - Cannot find button inside modal
I cannot click on this button contained in a modal this is the html [CODE] Here is the java code: [CODE] I have also tried with: [CODE] this is the error I am getting: [CODE] I also asked a similar question on StackOverflow I am new to Selenium so excuse me if it is a silly question. Here is an extract of the html code...
Possibilities I can't see anything wrong with the snippet you shared, but here are a few things to check out. The modal is inside of an iFrame. You need to switch focus to the iFrame first before you can read/manipulate anything in it. Can you fill in any of the fields in the same modal? There is actually more than one...
3
4
12,252
2017-12-27T16:20:07.887
data_quality
sqa.stackexchange.com
224,088
Managed Switches: Smart managed or fully managed?
We (a fast growing SMB) need new switches. Currently, all our switches are unmanaged. Now we need feature of managed switches, mainly features like VLANs, Port Mirroring, SNMP, adjusting the port speed. Currently, no fiber ports nor stackable switches are needed. Nice to have, but not a must are some PoE-ports for our ...
There is one think in the "smart managed" product description that has me recoiling in horror and considering it "not suited for purpose" and that is the phrase "web console". Without a mention of a telnet/ssh-based admin interface, there is no sensible way of driving the switch from code and that's a want-have for an ...
1
5
2,833
2011-01-19T07:18:44.083
infrastructure
serverfault.com
196,562
I can't boot Win7 OR Ubuntu after installing Ubuntu 9.10
i made a partition on my new computer because i decided that i wanted to have both Win7 and Ubuntu 9.10. I made a disc image on my usb driver, and restarted my computer as to run Ubuntu without making any changes, ust to try it out. I then decided i was going to install it, so i did the whole "Install Ubuntu" ordeal, a...
That happens sometimes when you install from a USB thumbdrive. It doesn't happen if you install from a USB optical drive. When the installer was doing it's thing there was an extra disk in the mix that's not there anymore. When you remove the USB stick the disk names are all offset by 1 the next time the computer start...
0
2
426
2010-10-31T05:06:50.663
infrastructure
serverfault.com
874,505
Failure to attach an existing EBS volume to a spot instance
I have been using AWS spot instances with persistance storage; something along these lines. I have been this successfuly for months with different instance types, and extended my volume several times as i got more data (128gb > 256gb > 512gb). In my last experiment, I extended my ebs volume to 1TB, ran some batch proce...
The filesystem on your EBS volume is corrupted. Don't ask me how it became that way. In the log, you'll see the following: [CODE] You'll need to fix your filesystem before trying to mount it again. After some Googling, I found this, which you can try. But note that I do not warrant it's validity. http://www.webdesignbl...
0
2
597
2017-09-19T19:18:43.647
infrastructure
serverfault.com
29,413
Redirect traffic to different ip using iptables
I have a debian linux firewall/gateway connecting my wan and lan working with iptables. I have [CODE] as the wan with dynamic address [CODE] attached to [CODE] via DYNDNS and [CODE] as the lan with address [CODE] . Everything works as expected. Traffic coming in gets rejected for all ports except the ones specified wit...
I don't know the answer to your question. However as a work around why not had a fake DNS entry internally for somehost.com pointed at the LAN IP instead?
3
2
5,093
2009-06-21T15:44:12.407
infrastructure
serverfault.com
1,020,719
PHPMailer stopped working. Postfix SSL alert number 45
PHPMailer worked fine until June 1st 2020. The SSL certificate for the site sending the email is valid from June 1st 2019 to June 1st 2021 and is accepted fine in the browser, but postfix suddenly has a TLS problem. I have access to both the email server and the web server attempting to send the email and they are runn...
[CODE] This message means that Postfix received ( [CODE] ) a TLS alert from the client (i.e. PHPMailer) that it will not accept the certificate provided by Postfix since this certificate is expired. This suggests that you maybe changed the certificate for the web server but that you kept the expired certificate for Pos...
0
2
3,425
2020-06-09T17:14:32.663
api_errors
serverfault.com
774,914
Shibd not receiving proper POST request
I'm attempting to use mod_shib to provide with SSO for an application that is running in a tomcat container. There's an Apache server, running as a reverse proxy, in front of the Tomcat container. I set up mod_shib with the following proprities in shibboleth2.xml: [CODE] Here's my apache2 conf for this vhost: [CODE] If...
The IDP was configured to make a POST request to [CODE] which maps to the SAML 1.1 protocol. As you can see from the assertion, the protocol is SAML 2.0. Therefore I had to change the ACS URL to [CODE]
1
1
1,178
2016-05-05T00:05:50.107
pipeline_ops
serverfault.com
573,160
SQL Server running under a domain account cannot register its SPN
I am trying to configure a fresh install of SQL Server to run under a domain account. However, I get intermittent errors when trying to connect to the server using another domain account, and I still see [CODE] when trawling the ERRORLOG file. I have added my service account (not a Managed Service Account, just a regul...
I found it. I manually registered the SPN to the service account, then inspected the AD with ADSIEdit, only to find that the manually-registered SPNs were not stored in the [CODE] field of the Computer account, but the [CODE] field of the specific User account. So, instead of granting my [CODE] group rights to register...
6
6
29,171
2014-02-04T18:55:35.193
pipeline_ops
serverfault.com
388,268
An attempt was made to logon, but the network logon service was not started Server 2008 R2
On my main 2008 R2 domain controller: When I boot, the screen goes black (monitor light goes amber) RDP logon to the server says "An attempt was made to logon, but the network logon service was not started" Trying to logon to the local admin account on the domain controller via RDP gives the same problem. It's a really...
Ended up just nuking the server
2
0
55,686
2012-05-11T14:37:03.420
infrastructure
serverfault.com
13,255
Confluence mySQL image doesn't start anymore
I am running a confluence container containing an image for the application itself and one for the mySQL db. This was running smoothly until I run the latest Docker update. Since then, the mySQL image is constantly trying to restart, but the start fails. This is my docker-compose.yml: [CODE] And this is what the log sa...
I actually found the solution here: https://stackoverflow.com/a/64150016/1526406 Maybe this helps others as well.
0
1
329
2021-01-29T22:23:53.787
database_errors
devops.stackexchange.com
1,091,895
After mailman upgrade to mailman3, can't use CLI utilities: ImportError: No module named Mailman
After walking down the garden path of reading the documentation, and being led astray - in particular, by the materials I found here - out of pure frustration I eventually found my way to the "official Wiki", which is here, and it pointed me to the "missing" Command Line Interface (CLI) utilities. They're found, on my ...
I solved it through persistence. Following what I document here, I now have the command-line tools working properly and Mailman is functioning well enough, though I haven't got the web interface going yet. ...The first new list is both created and sending mails properly. I decided that MAYBE I hadn't installed ENOUGH s...
0
0
284
2022-02-01T00:44:03.543
infrastructure
serverfault.com
638,789
Rotatelogs not functioning
My system is Debian with Apache 2.22 I'm trying to rotate my logs with rotatelogs. The format in the logfile works but the rotation is not working. Part of the apache2.conf [CODE] Any mistakes here? Thank you in advance.
There is two things: Apache log events [CODE] Logrotate log roratation file /etc/logrotate.d/apache2 [CODE]
1
0
432
2014-10-22T09:56:44.290
infrastructure
serverfault.com
42,983
Why is Reflector such an essential utility?
Reading the brouhaha surrounding Reflector going paid got me thinking about the product and its uses. Many people seem to consider it an essential tool. I have to admit, I haven't used Reflector in years. I mean, there's documentation for both the .Net APIs and the third party components I use. In the past, whenever a ...
Here's a perfect example of the type of question .NET Reflector can answer for you. Or you can post it on SO and let someone else with Reflector installed answer it for you. ;)
10
8
638
2011-02-02T23:33:28.173
data_quality
softwareengineering.stackexchange.com
259,407
NTP fudge network source stratum
Is it possible to configure [CODE] to fudge the stratum level of a network source? Upon first glance, I thought the [CODE] directive could accomplish this, however after browsing the [CODE] man pages, I found this directive only applies to Reference Clocks. A few details: I have a local server running [CODE] as the pri...
After some more research it seems "fudging" the stratum level of a network source is not possible. So I moved on and tried dtoubeli's answer . To my surprise, simply making my local time server a stratum level 2 (equal to the 3rd party device) did not always cause it to be the preferred time source. My local ntpd would...
9
6
13,912
2011-04-13T20:22:34.573
infrastructure
serverfault.com
496,731
How to set which IP to use for a HTTP request?
This is probably a silly question. I'm doing some http requests using [CODE] from the command line, and I want those connections to be made through one specific IP of the 4 IPs my server has. Those http requests go to one specific range of IPs so I only want those to be routed differently. The 4 interfaces in my server...
[CODE] from [CODE]
5
9
30,283
2013-04-06T03:29:39.170
infrastructure
serverfault.com
183,044
Mongo exception: connect failed on reboot
I have Mongo installed on Ubuntu 16.04 machine, on VMWare. I start it using "mongo" command, last week there was no problem. But recently, it gives this error: MongoDB shell version: 3.2.15 connecting to: test 2017-08-09T09:31:33.634+0300 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, in(checking socket for ...
[CODE] is actual mongodb daemon what "is" the database. [CODE] is just client program what connects to mongod process (in this case; with sharded cluster it connects to mongos -process). So, [CODE] process must be running before [CODE] can connect it. You wrote that [CODE] don't work anymore? Check if that service has ...
1
0
4,508
2017-08-09T06:45:19.020
api_errors
dba.stackexchange.com
39,141
how to know how many instances of an application are running on server
I've solaris server running many applications, using Oracle. I want to know how many different databases are running within Oracle, and how much memory and cpu each of them is consuming
Use [CODE] do display process tree with pids of individual nodes. And then use the particular pid you want, and [CODE] it from [CODE] to see the CPU and memory consumption. So the overall process will be: [CODE] And then say you want to see the mysqld instance of pid 7285 's memory and cpu usage details: [CODE] The thi...
1
1
992
2013-04-03T06:12:57.567
database_errors
dba.stackexchange.com
950,272
Unable to upload reports to TFS 2018 Project Collection
I'm trying to add reports to my TFS 2018 installation following the tutorial here . When I get to the 'Upload reports to a team project' step, I execute the command [CODE] and get the error "Access Denied: User needs the following permission(s) to perform this action: Delete this catalog node and its children" The User...
So this was silly but I'll post the answer on the off chance that someone else does this. My user belonged to a group that explicitly denied permissions to modify the team project I was trying to upload the reports to. So even though I had admin access, the Deny trumped everything else. Removing myself from the group f...
0
0
63
2019-01-22T21:23:31.830
database_errors
serverfault.com
824,003
kubernetes gluster volume failing to mount with error “failed to get the 'volume file' from server”
We are running a pod in kubernetes on container engine that just started to to fail in the container creating stage with the following error message? Has anyone seen such an error before? Any suggestions on how to fix? [CODE] kubernetes 1.4.7 gluster 3.9
Leaving this up as I was unable to find anything else online. It turns out that I had a few bricks fail to come online that I missed. Followed the answer here and got it up again: Gluster bricks are offline and errors in logs
1
0
1,561
2017-01-04T02:50:01.010
pipeline_ops
serverfault.com
102,064
How do I find gaps between ranges of numbers?
Consider the following table: [CODE] [CODE] is unique. Each row represents a continuous range of numbers and is a subset of 0 to 1. [CODE] is less than [CODE] . I need to identify any ranges not included between 0 and 1. Note that some ranges do overlap. The exclusivity of the endpoints is not relevant for my use case;...
After a pretty good amount of digging, I found this blog post on doing this for date ranges, and it turns out to work equally well on numeric ranges, with a little modification for handling the 0 and 1 endpoints. Taking the query from there and renaming the columns to be a bit more clear, we have [CODE] This warrants q...
0
5
5,305
2015-05-20T16:34:46.820
warehouse_errors
dba.stackexchange.com
216,354
replacing a database with pg_restore
I am trying to replace an existing database with [CODE] and am running into issues. I apologize if this issue is elementary. Specifically my Postgres install is set up like this: database [CODE] owned by [CODE] database [CODE] owned by [CODE] database [CODE] owned by [CODE] (more on this later) I created a dump like [C...
Evidently, "root" is not a superuser (which is a bit odd, given the normal implications of the word "root"). The [CODE] command you wish to run must be run as a superuser. Only a superuser can drop someone else's database, and then create a new database owned by someone else. Although it looks like the restored databas...
1
2
2,767
2018-08-30T23:19:23.843
database_errors
dba.stackexchange.com
51,724
Do you categorize the root cause of bugs?
In order to have better view of the quality of defects, instead of measure using numbers of defects (which can be manipulated), can I measure the % of root cause. Example codes problems, missing use cases, missing test cases? Please share your experiences and thoughts.
In functional testing services , software testers report bugs every day. It's important to understand in which category the bug belongs. Bugs can be caused by many factors, including: Unclear requirements Poor communication during development Frequent changes to project requirements Bad coding practices Poorly document...
0
1
711
2023-06-05T12:47:06.153
data_quality
sqa.stackexchange.com
454,847
Wordpress Directory Permission to allow uploads, plugin folders, etc
Possible Duplicate: What are the best linux permissions to use for my website? I have a wordpress pre-made site which were developed on my localmachine, and i uploaded it too a vps running on debian6, using nginx, mysql, php. Following this guide: 1) Create an unprivilaged user, this could be say 'karl' or whatever, an...
I believe you added the karl into www-data group, but whenever you will create a file it will be create with permission karl:karl, but you need karl:www-data. For that remove karl user from the karl group. Also, as the group is doing the writing here, you need to put the permission 0775, for wp-content folder. I believ...
1
1
363
2012-12-04T09:10:55.190
data_quality
serverfault.com
521,981
WSUS client detecting 0 updates
I have recently set up two new servers on our domain, labelled CADCS001 and CADCS001. These servers are intended to be almost identical aside from the hostname and have been set up to be as similar as possible. One of these servers is successfully downloading updates from our WSUS server and the other is not. Both serv...
This could be several things. I've seen updates unpredictably break WSUS clients, for example. I don't think I've seen a client incorrectly report no updates, however, except when there was a prerequisite update missing. It looks like you already checked the registry keys, so I'll skip past that. So I'm going to recomm...
3
2
51,458
2013-07-09T16:52:01.620
pipeline_ops
serverfault.com
426,723
Protect JBoss 7 Against Beast attack using SSL configuration
The use of SSLv3.0/TLSv1.0 in combination with certain encryption techniques (CBC block ciphers) may allow for an attacker to predict the so-called Initialization Vector of subsequent SSL packets. Using this information the attacker can access the secure session of another user. This attack, named BEAST (Browser Exploi...
I am not sure if this could be applied directly to JBOSS unless you want to front end Apache as a web server to JBOSS. Please look at the following feature request to address this issue and it hasnt been adressed yet since the issue is still open. https://issues.jboss.org/browse/AS7-5501 .
1
2
1,633
2012-09-12T12:16:59.193
infrastructure
serverfault.com
4,652
SQL server 2005 SP4 differential backup is failing
We have an SQL server 2005 with SP4, x86. When we attempt to take the differential backup, we are getting the following error message. Cannot perform a differential backup for database "ABCD", because a current database backup does not exist. Perform a full database backup by reissuing BACKUP DATABASE, omitting the WIT...
A differential backup is a "changes only" backup, and therefore can only be done when there is a previous full backup to work from. If you create a new database (or attach one from another server), and don't take a full backup, there no "original backup" to get changes since.
2
7
417
2011-06-06T08:07:00.523
database_errors
dba.stackexchange.com
674,992
How do I get alerted to an pending AD CS certificate request?
I want to get a summary report of pending AD CS requests. How would I approach this? Does anything already exist? The problem I'm trying to solve is where a user requests a certificate, and i'm unaware of this pending/outstanding item.
I would suggest to utilize ADCS SMTP Exit Module: https://technet.microsoft.com/en-us/library/cc773129(v=ws.10).aspx Exit module is more flexible than eventlog subscription. Though, eventlog subscription is suitable for low pofile CAs.
1
1
563
2015-03-12T15:45:42.317
infrastructure
serverfault.com
263,594
Help resolve a SRVFAIL DNS issue
I need help resolving a dns issue. One of my websites, kengraycoaching.com, suddenly became unavailable and returns a 404 not found error. It had been working fine until yesterday. Is it my hosting provider (shared hosting) or my ISP? The hosting provider says "It's nothing on our network and it appears your ISP's DNS ...
The [CODE] version steps through the process of " recursion " and shows that it works properly when it's done step-by-step. The steps of recursion here are: A root server is chosen from the built-in list of root servers. m.root-servers.net says *.gtld-servers.net runs .com a.gtld-servers.net says 56a/b.genwebserver.net...
1
1
480
2011-04-26T17:16:11.660
infrastructure
serverfault.com
461,518
Websphere JSESSIONID cookie overwrite between two apps on the same domain (different ports / context roots)
Background I have two webshpere apps app1 on http://example.com:9080/app1 app2 on http://example.com:9081/app2 (installed on two separate profiles, and both the ports and context roots are different) Scenario When logging into app1, users get a JSESSIONID cookie X When logging into app2 in another browser tab (IE8) use...
Those two apps are unaware of each other since they're in separate profiles. So I expect the second one sees a session ID it doesn't recognize, assumes it's an expired one, and creates a new one. You can change one of the application's cookie name to something other than JSESSIONID or you can change its path so that it...
4
2
29,991
2012-12-28T19:30:25.687
data_quality
serverfault.com
380,010
named gets killed
Every once in a while, my server will kill named. This gets logged: [CODE] It looks like I'm running out of memory, but why is it always named that gets killed and not some other process? Is there any way to prevent this? I'm running CentOS 6.2 on a Linode VPS.
The OOM killer is a fickle mistress. BIND is getting targeted because it's considered to be the best target by the OOM killer's logic. It's explained well in the code comment on the linked page, but it bears pasting: [CODE] But that only tells you why it targeted BIND. The solution probably isn't "get it to target some...
2
3
895
2012-04-16T21:13:26.963
infrastructure
serverfault.com
1,011,238
Idfix: Cannot handle multi-forest?
In preparation for Office 365, I have downloaded Idfix to run against my Active Directory to clean up any duplicate or incorrect attributes. Because I plan to migrate 2x AD forest (a.com and b.com with interforest trust and selective authentication NOT forest-wide authentication) into 1x single Azure tenant, I thought ...
If you click the gear icon and go into settings, you will see the local domain you are logged onto by default in the Active Directory section. You can type in the FQDN for the additional domain in the box below and click "Add" to include the additional domain/forest. Of course, the account you are logged in with will n...
0
0
144
2020-04-07T07:29:47.140
api_errors
serverfault.com
68,684
Running a query over the network multiple times seems to choke performance, how can I pinpoint the problem?
Background: Oracle 11g running on Windows 2003 x64 SP2 on a 3.06GHz Xeon X5675 with 16GB RAM Over the past 3 weeks, a query I used to run approximately every 5 minutes has started to respond very very poorly - moving from an execution time of around 50 seconds to sometimes over 11 minutes. The data has hardly changed a...
You really need to generate an explain plan. Since your query has an OR there may be situations where the query is being short circuited based on data not existing, hence the performance is not consistent. Also, don't join everything together, subqueries with low cardinality put at the top in a WITH subquery_name claus...
2
1
543
2014-06-20T13:45:25.493
database_errors
dba.stackexchange.com
526,984
SQL 2008 Reporting Service SSL certificate chain not trusted
I got a SQL Server 2008 Standard Edition installed on a Server 2008 R2, OS and SQL Server got newest Service Packs and updates installed. The SQL Server is up and running but I cant connect to the SSRS via Webinterface, every time i will get this message: [CODE] In the Event Log, I got a lot of Schannel Errors, ID 3688...
I could resolve the issue by installing IIS on the Server and create a self signed certificate. After assigning the cerfiticate to the Connections in the SSRS Configuration Utility I could not just browse the SSL Version of the Page but also the HTTP Version at port 80. (Still without SSL but error wont show up once SS...
1
0
2,495
2013-07-29T09:52:02.080
database_errors
serverfault.com
35,141
Windows XP: Unreachable COM ports
I use Bluetooth serial ports daily. Over the years I've noticed that the number of the virtual COM port created when I connect is getting higher and higher. Certain ports are now locked out, seemingly forever. This is a problem because a "feature" of my client program is that it can't access COM ports numbered higher t...
This might help you: http://www.modemsite.com/56k/xptip.asp
1
3
605
2009-07-02T16:23:42.740
infrastructure
serverfault.com
149,170
Change SSIS package authors
We have a job, that contains SSIS packages. It is SQL Server 2005. A dba named xyz created those SSIS packages. It was running fine in the when the job kicks in. However, he left, and the company wanted to change all his ownership from all objects, such as databases, jobs, and maintenance plans ownership to sa. As we d...
You would need to check the security setting of the package configuration (inside the package). The default for a package is "EncryptSenstiveWithUserKey", which means only that user can modify the package or read the connection manager objects. You also don't provide how the packages are deployed. If they are deployed ...
1
1
1,668
2016-09-09T01:30:54.797
database_errors
dba.stackexchange.com
220,615
Deadlock - Due to update causing Index page movement within an index
I am still troubleshooting deadlock mentioned in this questions . In that I got help in understanding why a select would hold on to a shared lock and I was able to test and confirm that also. Now I am looking at second spid involved in the deadlock. That session does an update using a primary key(WHERE BatchId = @Batch...
So did some testing and the deadlock is in fact caused by page movement within the non clustered index caused by an update which changes the position of the row in the index. So initially Session 2 (update) takes out IX lock on Page2 where the index row is originally located. Since the update would change the value and...
2
2
594
2018-10-19T21:40:27.853
database_errors
dba.stackexchange.com
16,553
The effect of an linear layer?
I have the last couple of month worked with an regression problem, of turning a framed audio file into a set of mfcc features, for a speech recognition application I tried a lot different network structures, Cnn, different normalisation techniques, different optimizer, adding more layers and so on.. but finally i've go...
If you are performing regression, you would usually have a final layer as linear. Most likely in your case - although you do not say - your target variable has a range outside of (-1.0, +1.0). Many standard activation functions have restricted output values. For example a sigmoid activation can only output values in ra...
2
2
9,282
2017-01-26T13:06:08.353
data_quality
datascience.stackexchange.com
61,626
Move SQL Server XML column to a new table - slow performance
I have a table with a XML Column, each XML document size is 15kb and I have like 2 million rows. I need to move this XML column into a new table. I tried: [CODE] but is taking too long. Any other way to do it? What's the best way to achieve this?
You can use [CODE] and [CODE] in native mode which will be super fast. I just tested below script on [CODE] and it work with XML data as well. Alternatively, you can use SSIS to do it on a more frequent basis if you want. Below is the script that will help you with BCP OUT and BULK INSERT : BCP OUT [CODE] BULK INSERT [...
2
3
927
2014-03-24T15:56:59.323
database_errors
dba.stackexchange.com
73,066
GoDaddy's SSL certificates and HTTPS connections
I want to buy and set up an SSL certificate on one of my domain names. However, since SSL Certs involve purchases, I would like to get other’s opinions before I actually go out and buy something. I would like to know two things: Can I purchase a simple SSL certificate (I’m looking at GoDaddy’s one-year offer on a Stand...
An SSL cert will provide the enhanced security for your users as you say in a). We use one from namecheap.com, as it's a bit cheaper and we avoid dealing with godaddy whenever humanly possible.
1
3
957
2009-10-07T05:30:36.423
data_quality
serverfault.com
674,384
Server crashes with "huge task timeout"
First things first, I've read a lot about the "huge task timeout" kernel panic and know that this often happens if the server is out of resources. Error messages which appear only in the VNC console not in any log file: [CODE] Server specs : [CODE] The machine is KVM virtualized. It runs debian wheezy with PHP5-FPM, NG...
The problem is not a kernel panic. What you see on the console is hung process in a kernel call. You should check either the console or the /var/log/syslog or /var/log/messages and search for the full stack trace that is logged by the kernel. You will have an idea which subsystem is slow. Could be disk as mentioned by ...
1
0
451
2015-03-10T18:34:10.610
api_errors
serverfault.com
35,367
Global locking for multi-master Oracle GoldenGate replication
This is a very complex scenario, but I figured a state-of-the-art challenge might interest some of the many high-end users of dba.se. Problem I'm working on an intercontinental data replication solution for a document production system, somewhat similar to a wiki, utilizing Oracle GoldenGate. The primary goals are to i...
Keep in mind most of the work I do is with PostgreSQL so this may or may not be 100% on the money but I think this should be close enough to be helpful. The basic issue is that in an environment like this you are going to have a great deal of trouble managing the locks. It seems you can either do some sort of conflict ...
6
1
2,668
2013-02-25T10:43:18.707
database_errors
dba.stackexchange.com
210,031
Missing DatabaseMail.exe.config after applying SQL Server 2016 SP2 CU1
After applying SQL Server 2016 SP2 CU1 (SP2 was already applied) to SQL Server 2016 on several different Windows Server 2016 installations, we noticed that Database Mail stopped working. Mails were being queued but not sent and we could find no error messages on the servers, neither in the SQL Server logs nor in the Wi...
The main point of the question was to check if other people had the same issue and to help spread the information on issues with the SQL Server 2016 SP2 CU1 patch. Since these objectives have been reached and there is a solution presented in the post, I will close this as answered. The solution was as follows: We recre...
5
3
5,008
2018-06-19T14:02:58.337
database_errors
dba.stackexchange.com
65,915
Virtual machines confusing two different USB dongles
I am running VMware Server on a Windows Server 2003 host. I have two Windows XP guests installed on it. Each guest has some software running on it that each require a USB dongle for licensing reasons. Unfortunately, the vendor of each software application both happened to use the same type of dongles. This seems to be ...
Unfortunately I don't know of a way to make the VMWare software differentiate, however we are using a dongle with our ESXi box (which doesn't support USB devices) via a hardware device which makes the dongle available of the network. The device we are using is the sx-2000u2 from silex. Maybe you could use one of these ...
0
1
389
2009-09-16T14:28:36.547
infrastructure
serverfault.com
139,078
Cannot read from secondary availability group
I have an issue with Always On Availability Groups In SQL Server 2012. I installed a replica secondary SQLNODE3 . It was fine and everything retrievable form tables but suddenly I found I could not read anything from the database. In Activity Monitor, I see the query is suspended and the wait type is: [CODE] I wait for...
This sounds like you might have a long running transaction on the primary replica. Run this query to find any transactions that have been running longer than 10 mins: [CODE] Once you find the transaction, either complete it, or kill it.
0
2
2,520
2016-05-20T04:27:39.930
database_errors
dba.stackexchange.com
81,034
How to properly compare these two confusion matrix?
I have used Vader, a sentiment analysis tool for social media, on a database of movie reviews. These two confusion matrices differ in the vader.py algorithm, as the first one is from nltk: The second one is deriving from Vader's original code on github and includes fixes to negation words, etc. I was wondering how coul...
First, about interpreting these confusion matrices: the sum of every row is 1, which implies that every value is a conditional probability [CODE] , i.e. the probability of a given true label to be a particular predicted label. Example: the top left cell in both matrices is 0.01, which means that when the true label is ...
1
1
831
2020-08-31T14:00:28.347
data_quality
datascience.stackexchange.com
923,764
how to stop dns amplification attack from my server
We have dedicated server with centos7. For last 3 days we are receiving Abuse reports that saying 'we detected the following DoS attack with DNS related pattern.' And the source is our server. How can we fix this issue. Thanks in Advance.
Sounds like you are running a DNS server which can be used for DNS amplification attacks. As you state that the server is CentOS based, check if a named/bind is active and running. In case bind is not active, use ss or netstat with [CODE] to figure out what program uses port 53. When bind is running use bind's ACL mech...
0
0
531
2018-07-27T04:46:16.753
infrastructure
serverfault.com
802,039
Alter postfix reject code and reason
I have minimalistic Dovecot + Postfix installation. Also there is /etc/postfix/sender_access file with few blocked email addresses. For now postfix replies code 554 to these addresses. [CODE] Can I change the code to 550 and reason to "Mailbox not found" ? Is it possible without hacking of Postfix's source code ? Thank...
See [CODE] in [CODE] . Specifically you'll want to use [CODE] As always, test with [CODE] .
0
2
1,745
2016-09-09T07:45:34.360
infrastructure
serverfault.com
222,206
extreme slowness with a remote database in Drupal
We're attempting to scale our Drupal installations up and have decided on some dedicated MySQL boxes. Unfortunately, we're running into extreme slowness when we attempt to use the remote DB - page load times go from ~200 milliseconds to 5-10 seconds. Latency between the servers is minimal - a tenth or two of a millisec...
It seems your connections to the DB are slow due to some other reason. How fast is a simple command line connection? (ie, non-php) My prime suspect would be failing (= timing out) dns lookups on the remote or local server; both forward and reverse lookups. From this page : start mysqld with --skip-name-resolve If that ...
4
5
2,475
2011-01-13T20:47:49.277
database_errors
serverfault.com
452,467
In Nginx can I set Keep-Alive dynamically depending on ssl connection?
I would like to avoid having to repeat all the virtualhost server {} blocks in nginx just to have custom ssl settings that vary slightly from plain http requests. Most ssl directives can be placed right in the main block, except one hurdle I cannot find a workaround for: different keep-alive for [CODE] vs [CODE] Is the...
I'm pretty sure you can use a [CODE] : [CODE]
1
2
6,170
2012-11-27T07:05:45.027
infrastructure
serverfault.com
672,607
How to maximize AWS Default Partition Size? (NOT a duplicate)
Hello Ladies and Gents, I apologize if the question isn't phrased as well as it should be; it's getting late and I've been staring at this screen for way too many hours after work. My core competency is Java. I really only dabble with server maintenance when I have to. My question is basically the same as this guy's, a...
[CODE] will show you where your space is. Sometimes you just have to tweak LVM to get what you want. [CODE] If you are not using LVM you can run into trouble like having a swap partition in the way of growing your main partition. In this case you can just make a second partition and mount bind it over any folder in you...
0
0
1,859
2015-03-03T03:26:19.807
data_quality
serverfault.com
307,219
Where to put configuration constants?
Considering a small embedded C project, how to decide if certain constants belong to a global configuration file the header of the "module == compilation unit" on top of the the actual C file or inside the code? I am talking about constants that can often change, and need to be conveniently located for the end user, as...
If the user should be able to change the values, putting them in the code as constants is obviously not an option. A text file with key-value pairs seems appropriate (concidering it is for a small project). In general you should ask yourself if you want to tie your settings to a group of users, the machine, the program...
2
3
204
2016-01-12T20:30:46.840
api_errors
softwareengineering.stackexchange.com
1,083,234
Two clients behind NAT on a single VPN connection, exting on two separate public IPs
I am looking for a way to forward outgoing traffic on separate IPv4 addresses for different clients connected through the same VPN tunnel, behind NAT. Right now I am forwarding port 44158 from multiple public IPv4 addresses on VPS server X to multiple clients connected through a single VPN connection - from a router be...
Outgoing traffic use [CODE] And to specify source address use [CODE] [CODE] Note that these must be before global [CODE] if you have it for that range. If all IPs are linear ranges then there is other ways to NAT the range.
0
1
372
2021-11-11T10:39:41.380
infrastructure
serverfault.com
222,706
How Do I Enable CUPS Browsing Across A Network?
I have a CUPS server with two print queues defined. Once this was defined, all the CUPS clients on the same subnet could see the two print queues automatically, no problem. Now I have a collection of machines on a separate subnet, reachable from the first subnet by a router. How do I enable CUPS browsing on the second ...
The 'native' way is to have a CUPS server (they don't need printers, just the CUPS software) on each subnet, and configure those servers to act as a Browse Relay server. The configuration would be [CODE] That CUPS-running server will then respond to subnet-local browse requests with the remote server. There is also a w...
3
7
5,823
2011-01-14T22:44:40.227
infrastructure
serverfault.com
1,100,826
Redirect all access on IP address to domain name need to click proceed to redirect
I have this config in my apache: [CODE] When I access IP_ADDRESS or http://IP_ADDRESS on browser it redirects to https://domain.name But when I try to access https://IP_ADDRESS it redirects to the page where you need to click proceed when you have a self signed cert. Thanks in advance.
https://IP_ADDRESS it redirects to the page where you need to click proceed when you have a self signed cert. That is not exactly a " redirect ", but a warning page that gets generated by your webbrowser. The cause is the same though as with a self-signed certificate: your web server can't provide a valid SSL certifica...
0
0
1,111
2022-05-13T03:48:24.037
infrastructure
serverfault.com
216,368
Why does this tsvector update use so much space?
This is my table structure: [CODE] I used this query to check the size of the table: [CODE] The result: [CODE] Now I add a new column [CODE] with type [CODE] : [CODE] and update the data: [CODE] [CODE] I just need two tokens 'data' and 'database' , that is why I split data. After successfully updating, the size approxi...
Databases cannot simply overwrite data "in place". If they did, they wouldn't be able to have atomicity or isolation, and probably not much concurrency and durability either. When you do a bulk update of every row in a table, in PostgreSQL, the resulting table has a copy of both the old data and the new data. You can r...
1
1
253
2018-08-31T03:51:20.947
warehouse_errors
dba.stackexchange.com
1,005,001
ZFS: i/o error - all block copies unavailable -zpool unavailable
A server restart produced this output on the console: [CODE] I booted the host from the usb livecd and mounted the /etc directory under /tmp to enable ssh access: [CODE] There are no zfs pools available to import: [CODE] [CODE] shows this geometry: gpart show [CODE] How do I recover from here? I have made some progress...
As a last resort I pulled the four hdds from the host that failed to boot and placed them in an identically configured server. That server booted from those hdds. Evidently a hardware problem. There is still an anomaly on the new host: if bay 1 is occupied then the system will only boot if at least one of bay 0 or bay ...
1
0
3,851
2020-02-28T16:51:12.840
infrastructure
serverfault.com
192,364
MongoDB terminates when it runs out of memory
I have the following configuration: a host machine that runs three docker containers: MongoDB Redis A program using the previous two containers to store data Both Redis and MongoDB are used to store huge amounts of data. I know Redis needs to keep all its data in RAM and I am fine with this. Unfortunately, what happens...
As per MongoDB BOL Here Changed in version 3.4: Values can range from [CODE] to [CODE] and can be a [CODE] . In addition, the default value has also changed. Starting in [CODE] , the WiredTiger internal cache, by default, will use the larger of either: [CODE] With [CODE] , MongoDB utilizes both the WiredTiger [CODE] an...
20
12
24,890
2017-12-04T18:08:44.600
pipeline_ops
dba.stackexchange.com
13,570
Tips for debugging with very little info?
I've inherited a project with a fairly large codebase, and the original developer rarely, if ever, replies to emails. There's a ton of different ways to do some things in it, and I don't know all of them. A lot of duplicated code along these paths (rather than functions included by, say, 5 pages that do relatively the ...
When I get something like that, I usually demand more information. Not sure how it is where you work, but here if I don't have enough information to reproduce the problem locally, I can send the ticket back marked Cannot Reproduce, with a request for more information, and they know that nothing's getting fixed until I'...
11
11
579
2010-10-21T15:45:33.640
data_quality
softwareengineering.stackexchange.com
2,624
What is the best practice for storing image varbinary(max) data in a database table?
I have a table that stores images that range in size between 16-100 KB each. Since the images are so small, I've taken Microsoft's advice and not used the FILESTREAM data type. The table is constructed simply: [CODE] The table is heavily inserted into (2 million records in the past week) and rarely selected. The key is...
You might try changing the id generation so inserts are not contending with each other, or consider setting [CODE] , noting the implications for index maintenance (which are probably only relevant if you are also doing updates)
7
4
9,019
2011-05-10T12:56:07.053
warehouse_errors
dba.stackexchange.com
516,101
RHEL 6.4: Mode 1 channel bonding not failing over
I'm running RHEL 6.4, kernel-2.6.32-358.el6.i686, on an HP ML 350 G5 with two onboard Broadcom NetXtreme II BCM5708 1000Base-T NICs. My goal is to channel bond the two interfaces into a [CODE] failover pair. My problem is that in spite of all evidence that the bond is set up and accepted, pulling the cable out of the p...
READ. YOUR. CONFIGS. And when that fails... READ. ALL. OUTPUTS. Do you see what's in [CODE] ? No, do you understand what's in [CODE] ? What in the world of slippery penguins is [CODE] ? Oh I'm sorry, did you mean [CODE] ? Yeah, I think you meant [CODE] and not [CODE] . Also, a big giveaway is that when you restart your...
11
21
15,495
2013-06-15T23:08:32.567
database_errors
serverfault.com
15,827
Is there a performance benefit to placing transaction log files on a separate drive?
There are many blog posts and best practice articles extolling the virtues of placing the SQL Server data file on one hard drive and the transaction log on another. The reason given is that that the database file will be experiencing random reads and writes while the transaction log will only have sequential writes. Bu...
Correct. In theory, if you have 100s of DBs you need 100s of drives, one for each log. In practice though one does not care for such case, cause when you have 100s of DBs you obviously don't expect top-notch TPC performance for each DB. You will likely have some DBs with high throughput and stringent SLAs and you could...
9
7
1,990
2012-03-29T20:27:56.083
database_errors
dba.stackexchange.com
245,720
When deciding a Primary Key, can I use Date part of a DateTime field
I'm designing a payroll system I have designed a database with several tables and this question is related to following tables [CODE] [CODE] These two tables have many to many relationship as one employee can work in several locations and in a location, several employees are working. These two tables are related throug...
You can use a date field as a primary key, but you can't key on PART of a field. You'd have to make a separate field with just the date. This particular condition isn't something that would normally be enforced by building it into the primary key of a table anyway. Your "Employee can't work same shift on same date twic...
4
8
18,878
2014-06-22T19:11:51.083
api_errors
softwareengineering.stackexchange.com
320,935
Efficient downsampling of a selected timeseries to equidistant samples
We have timeseries data from several sensors in a table and I am interested in getting N equally-spaced samples from the full range, as the whole data would be too much to display in a web-app. I am currently using the following query for N = 500: [CODE] The table contains [CODE] and [CODE] for several timestamps per [...
In any case, you need the multicolumn index on [CODE] that you already have. Optimized simple query You can improve your original query to: [CODE] The added [CODE] is a workaround for a sneaky performance issue in window functions that is fixed in Postgres 16 . See my bug report on pgsql-bugs and the discussion on pgsq...
3
2
726
2022-12-13T23:23:43.970
airflow_errors
dba.stackexchange.com
16,921
ArrayBound Exception Error
When I execute the following program it displays an array bound exception: [CODE] output: Hello World Enter the number of elements: 1 2 The elements are as follows: [CODE]
When you are creating the array by giving the array size say 5, then array is created with indices 0 to 4. But you are looping from indices 1 to 5. Since you are trying to access array index 5, you are getting the error. Use [CODE]
0
2
93
2016-02-09T11:12:50.623
data_quality
sqa.stackexchange.com