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 |
|---|---|---|---|---|---|---|---|---|---|---|
40,852 | How do you correct a corrupted index in Oracle? | I have this ORA error in our logs: Caused by: java.sql.BatchUpdateException: ORA-01578: ORACLE data block corrupted (file # 8, block # 22921) ORA-01110: data file 8: '/data/app/oracle/oradata/MYSRVR/datafile/o1_mf_mysrvr_88m82mdj.dbf' I tried running this in sqlplus: select segment_name,segment_type,tablespace_name, ow... | Seems like you have media corruption. I would consult Automatic Diagnostic Repository (ADR) contents if there are open failures in your database. You can do that via Enterprise Manager or using RMAN command-line utility: [CODE] If there are failures with status [CODE] listed, you can ask Data Recovery Advisor (DRA) to ... | 1 | 2 | 14,844 | 2013-04-25T00:56:57.040 | database_errors | dba.stackexchange.com | |
833,088 | Full bash script check before runing | Trying to implement self syntax checking in bash script [CODE] to run syntax check before script will be executed. [CODE] [CODE] , same as [CODE] does the job if there are some serous syntax errors but minor errors like: [CODE] are ignored... is there any way to process a full syntax check plus may be running scrip in ... | As @techraf and @Wice22 pointed out, there is no such thing as a complete check at run-time. You could create "unit" tests for your bash script though. One framework which helps with it is BATS: https://github.com/sstephenson/bats Those tests could be run by a CI system on every commit to your git repo, so you would se... | 0 | 2 | 428 | 2017-02-17T01:37:01.800 | infrastructure | serverfault.com | |
1,156,502 | can't see iSCSI with lsblk | I've configured a freeNas with iSCSI and two nodes connecting to that device. Everithing it's ok but after reboot I can't see with lsblk: [CODE] Thanks | You have discovered the target. It should be connected (login) as the next step. [CODE] Check the connected targets: [CODE] I have the following saved in my bookmarks. https://gist.github.com/albertomolina/6c621aee3f80c5e7baf3c111df670cf0 | 3 | 5 | 60 | 2024-03-19T09:19:39.350 | infrastructure | serverfault.com | |
172,988 | Exchange 2010 says it cannot coexists with 2007, but I don't have 2007 | I'm in the process of trying to install Exchange 2010 Standard onto one of our servers, and I've hit a bit of a snag. Two of the readiness checks fail, saying: Coexistence between Exchange Server 2010 and Exchange Server versions older than Exchange Server 2007 SP2 in the same Active Directory Site is not supported. Th... | If you really don't have any Exchange server in your domain, your best bet would be to fire up your trusty ADSIEdit and remove the Exchange Organization object. It should be in [CODE] . If you remove "Microsoft Exchange" under "Services", all Exchange-related informations should go away. You should also remove the comp... | 2 | 5 | 1,303 | 2010-08-21T01:18:21.197 | infrastructure | serverfault.com | |
389,992 | Which JBoss version should be choose? | We are now developing and running a java web application under JBoss 4.2.3 for many years. We using Struts 1 + Hibernate 2 as the framework. We don't using any EJB things. My question is should we upgrade our runtime platform to newly JBoss version? Which version is the best on performance side. Is JBoss 5.x a good can... | Lemme answer this from a different angle. It is not so much the version of the app server as is the version of the JVM. JBoss 4.2.3, if I remember correctly, runs on JVM 1.5.x, which is 32bit. The latest JVM being 1.6.x, 64bit -- with considerable enhancements and improvements over the 32bit version. Also, the performa... | 0 | 0 | 531 | 2012-05-17T12:23:12.310 | infrastructure | serverfault.com | |
1,119,480 | PXE with proxyDHCP server: What makes a DHCP client accept / ignore offers from primary DHCP? | I am considering a setup with a primary DHCP server providing "IP data" (IP address, subnet mask, DNS, …), and a proxyDHCP server providing only PXE boot options. As it happens, my proxyDHCP server does not only provide the PXE options, but also the IP data (hence it's not really a proxyDHCP). Using Wireshark, I now ob... | The ignored offer provides: [CODE] which is an incomplete PXE offer (Boot filename is missing when "next server" was provided) this is erroneous and could lead the client to totally ignore the offer. The accepted offer provides: [CODE] This is a complete PXE offer but also not quite right. In both cases the offers were... | 1 | 2 | 2,357 | 2023-01-04T23:21:58.607 | infrastructure | serverfault.com | |
1,112,984 | Redirect part of a URL parameter to the URL-Path | I used a module that created links like this: [CODE] I need to redirect them to: [CODE] There are hundreds of these links. I tried this but it's not working: [CODE] | [CODE] This tries to match a [CODE] URL parameter whose value consists solely of numbers, but your example includes an absolute URL (numbers are only in the last path segment). There are also more URL parameters in your example. [CODE] would also fail to match in a [CODE] context since the URL-path matched by the [CODE... | 2 | 2 | 2,038 | 2022-10-13T10:07:09.447 | infrastructure | serverfault.com | |
393,304 | Transer a large number of file between two servers | Possible Duplicate: Quickest way to transfer 55GB of images to new server I am migrating from one server to another. I want to transfer the thousands of file from one server to the other. What is the best approach here? Both system is running CentOs. The one I am migrating from uses DirectAdmin, the other cPanel. I hav... | From the source host: [CODE] | -1 | 6 | 966 | 2012-05-28T13:24:08.700 | data_quality | serverfault.com | |
9,835 | Using IF in T-SQL weakens or breaks execution plan caching? | It has been suggested to me that the use of IF statements in t-SQL batches is detrimental to performance. I'm trying to find some confirmation or validate this assertion. I'm using SQL Server 2005 and 2008. The assertion is that with the following batch:- [CODE] SQL Server cannot re-use the execution plan generated bec... | SQL Server optimises the process of compilation of the query plan for the stored procedure by ignoring the conditional branches inside the stored procedure. The plan will be generated based on the parameters used for the first execution, this will cause problems if the parameters are different for the branches. I would... | 22 | 11 | 8,943 | 2010-04-26T12:15:36.167 | database_errors | dba.stackexchange.com | |
179,434 | SQL Server - moved index behind PK constraint to different filegroup, but space not freed | I have a large table Foo. There are 4 filegroups (FG1, FG2, FG3, FG4) FG2 is on a disk that is nearly full. It has 2 indexes: a) clustered index (on Date) b) a unique non-clustered index (on ID) There is a PK constraint on the table, on ID. I wanted to move index (b) from FG2 to a different file group - FG4. First I tr... | Space in FG2 used by objects: [CODE] | 0 | 0 | 129 | 2017-07-10T07:17:40.920 | database_errors | dba.stackexchange.com | |
489,078 | Exchange Auth breaks when no local GC | I ran into a problem while installing our [CODE] server where client access authentication does not work unless the server is configured as a domain controller with [CODE] . I went to production with this because of time constraints but I really need to fix it now. I have no idea where the problem could be or how to id... | Exchange 2010 servers requires a domain controller with a GC in the same site. Also, running Exchange on a domain controller is not recommended. And you definitely can't promote an Exchange server to a domain controller. It sounds like from your description you broken at least two of these rules, if not all three. | 1 | 1 | 1,174 | 2013-03-18T23:14:56.550 | api_errors | serverfault.com | |
85,264 | VPN Troubleshooting | I'm having continuing trouble with a SonicWall VPN. Does anyone know where I can get a trouble-shooting protocol that can help me find the problem? | Have you tried SonicWall support? | -1 | 3 | 233 | 2009-11-16T19:18:56.793 | infrastructure | serverfault.com | |
35,204 | Query records that chain together based on date gaps | I have a table in SQL Server 2012 with the below simplified schema and I need to define a query that grabs the most recent record and then returns the chain of records that have less than 30 days of a gap between them. Once there is a gap of more than 30 days the chain is broken and does not continue. Overlaps should c... | The following solution ( SQL Fiddle ) uses the SQL Server 2012 [CODE] function : [CODE] Results: [CODE] Execution plan: | 4 | 7 | 1,986 | 2013-02-21T22:37:15.317 | database_errors | dba.stackexchange.com | |
386,534 | Serial connections on network | May sound like a stupid question but just wanted to make sure. Does every serial connection need to have its own IP address. [CODE] | No. A point-to-point link does not have to have its own IP address. Point-to-point links can be unnumbered. You can, for example, have one router with an IP address of 192.168.120.3 on the 192.168.120.0/24 LAN and another router with an IP address of 192.168.121.9 on the 192.168.121.0/24 LAN. They can have a serial lin... | 1 | 4 | 232 | 2012-05-06T18:46:10.050 | infrastructure | serverfault.com | |
46,325 | Why is my Feature File failing to find the Step Definition? | I have the following Feature File which is grayed out so I cannot run it from an IntelliJ Run configuration, nor from the right click context in the Feature File, though it runs fine from the [CODE] runner: [CODE] Running from this context gives: Error: Could not find or load main class cucumber.api.cli.Main The follow... | Your java is defined as a folder and not package try defining it as package and calling java.uk.co... if you see the folder color scheme , it shows that green means the folder is test source ; https://www.jetbrains.com/help/idea/content-roots.html#adding_content_root if you scroll down you can see its not java but test... | 0 | 1 | 15,538 | 2020-12-03T13:27:25.433 | data_quality | sqa.stackexchange.com | |
82,593 | Javascript Ternary Operator vs. || | I was taking a look at some node.js code earlier, and I noticed that the guy who wrote it seemed to favour the following syntax: [CODE] Over what I consider to be the more concise: [CODE] I was wondering if the second form is actually more socially acceptable JavaScript syntax, I've seen it out in the wild more times t... | Because this code would evaluate to 'Default Value' everytime you passed in 0, "", false, or some other falsy value. [CODE] It might not bite you on how you use this particular function, but it is a bad pattern to avoid when you do care about passing in things like empty strings or 0 or a boolean. | 20 | 18 | 15,863 | 2011-06-08T20:24:32.077 | api_errors | softwareengineering.stackexchange.com | |
446,421 | Is usage of "with" prefix acceptable for filter methods that are specific(not generic) | I am not a native english speaker so I have the following question related to naming I have a class that has generic filter method of type: [CODE] In the same class I have some more concrete filter methods of type: [CODE] or [CODE] Is it acceptable to use the prefix "with" for a filtering method. I have mostly encounte... | "with" is grammatically correct, but I would say that "where" is more commonly used for this kind of thing as it matches up with SQL, which might be being used in the datalayer | 0 | 2 | 102 | 2023-07-07T18:29:53.727 | api_errors | softwareengineering.stackexchange.com | |
290,258 | How to convert strings extracted from JSON to a numeric type for aggregates? | I am struggling to extract data from this JSON object in PostgreSQL: [CODE] I am using [CODE] to extract it but they are returned as a string like '1', '2' and so on and so forth. My goal is to try and find the "avg": 5,"max": 7,"min": 1 for this data set however because I am returning them as string I am getting a val... | You need to extract them as text using [CODE] , then you can cast it to an integer: [CODE] | 0 | 1 | 6,643 | 2021-04-22T08:02:45.637 | database_errors | dba.stackexchange.com | |
33,041 | Backpropgating error to emedding matrix | I understand the backpropagation algorithm of neural networks, and how the error propagates backwards in layers. That is, I understand that given a 3-layer feed forward network, the amount to change W1 is dependent on the weights from layers 2 and 3, as well as the derivatives of their activation functions. Question : ... | An embedding layer is in fact a linear layer. It maps the input, using a matrix multiplication, to the output, without any activation function after the multiplication. Therefore, the backpropagation is exactly as you would do with linear layer. Why don't we just call it linear layer, then? At theory level, an embeddin... | 4 | 8 | 1,573 | 2018-06-12T18:01:02.330 | data_quality | datascience.stackexchange.com | |
40,264 | MSDTC on SQL Server 2012 with mount point for data disk | I have installed a new SQL Server 2012 instance on a cluster. The installation went fine but when I've added the MSDTC as resource of the instance, it went wrong. When I just added it, the MSDTC was online but when I tried my first failover, it refused to go online. The error message was "MSDTC failed". My configuratio... | When parametrized, the dependency disk is the disk on which the msdtc will create its directories. This disk must NOT be a mount point. Hope it can help someone | 0 | 0 | 517 | 2013-04-17T08:45:00.983 | database_errors | dba.stackexchange.com | |
274,936 | What is the best iptables frontend? | I'm looking for a simple solution that works via HTTP or SSH. I need to perform the following basic tasks: NAT/router Reject all the incoming connections except predefined TCP and UDP ports and port ranges ESTABLISHED/RELATED should work by default Outgoing connections allowed by default Delegate some ports to particul... | if your using webmin already or cpanel then I would argue that CSF&LFD is one of the best, it also has the bonus feature of doing brute force protection and other smart blocking and alerting. http://configservers.org/cp/csf.html | 3 | 2 | 19,922 | 2011-05-29T05:56:59.883 | infrastructure | serverfault.com | |
776,192 | Error while compiling apr-util for apache with LDAP support | I am currently trying to create a custom 64bit LAMPP stack on CentOS 7, in which each component should reside in its own folder, with every dependency included and in its own folder. Currently, I have the following structure with correctly compiled programs: [CODE] each software is fully contained in its folder, which ... | In the line: [CODE] it is trying to link against a library called openldap, but when I look in my openldap lib dir I don't see a [CODE] : [CODE] It looks like value in [CODE] is coming from the [CODE] option, so if I change that to [CODE] it seems to work. I didn't try with all your options though, so I don't know if e... | 1 | 2 | 4,508 | 2016-05-11T17:48:14.783 | infrastructure | serverfault.com | |
60,550 | Is there a limit on the number of blobs storable in SQL Server with filestream? | I use [CODE] to store blobs (files). I use SQL Server 2008 R2 Some customers have 60k files (50GB). They ask me if there is a limit after which, also because of NTFS, there will be problems. Somehow the doubt is: if the number of blobs grows too much is there a limit beyond which SQL Server will not handle them properl... | 60.000 files and 50 GB should be absolutely no problem. You might want to read "Special Consideration for Large Environments" . A challenge could be to come up with a recovery plan. | 1 | 5 | 154 | 2014-03-10T08:21:18.213 | database_errors | dba.stackexchange.com | |
16,862 | How to differentiate issues based on dumps when you do not have source code? | Please help me with this subject considering that I am not a programmer but more of a power user. Let's say that I would like to contribute to a source-closed application where I find diverse issues by utilizing procdump for example. Obviously, the list of potential issues is huge : hangs, crashes, memory corruption, e... | In general, you can't. If the dump file is identical to another dump file, you probably found the same problem. If they are different, you need to know enough about the application to know which dump file differences are relevant. The developer may have that knowledge because they have the source code. An experienced h... | 3 | 2 | 104 | 2016-02-05T19:47:04.047 | data_quality | sqa.stackexchange.com | |
626,246 | CentOS, Timeout: No Response in remote SNMP access | i have installed snmp, utils using [CODE] This is my /etc/snmp/snmpd.config [CODE] SNMP WALK works locally (localhost and 10.106.240.138-my static IP) [CODE] Whereas it doesnt work from a remote Linux system (say 10.106.240.179 - same network) [CODE] iptables,ip6tables(firewall) have been disbaled I have tried with a s... | Check that the daemon is not listening on localhost only. This should be specified in /etc/sysconfig/snmpd.options (I don't remember exactly). | 0 | 0 | 17,839 | 2014-09-04T12:21:41.900 | infrastructure | serverfault.com | |
753,596 | SQLSTATE[HY000] [1130] Host xx.xxx.x.xxx is not allowed to connect to this MySQL Server | I have 2 servers with digitalocean - web (nginx) and database (mysql) servers - and can't get a connection from the web to the mysql server. From what I've read in other SO posts on the topic, the error I'm getting is 'good' in that it shows mysql is trying to authenticate the connection, and the issue is very likely r... | Have you tried updating the db? You can use the following commands changing xx.xxx.x.xxx into the IP of the nginx server, and the placeholders for the real values: [CODE] | 3 | 1 | 6,472 | 2016-02-02T23:28:31.277 | database_errors | serverfault.com | |
446,454 | Exchange 2010 Mail Contacts get assigned internal SMTP addresses by the recipient policy | This environment has been upgraded from Exchange 2007 to a new Exchange 2010 server. There are several thousand email contacts that reside under the Federation_Contacts OU. Under the Email Addresses tab for each Mail Contact, their correct SMTP address (john@othercompany.com for example) is assigned as Primary. But som... | I used Powershell to disable updating email address from recipient policy: [CODE] Then i used ADModify.net to strip off the secondary SMTP addresses assigned to contacts. It worked like a charm. | 3 | 2 | 17,475 | 2012-11-07T19:59:54.940 | infrastructure | serverfault.com | |
683,974 | Limiting Office 365 logins to our domain | I'm working with a customer to try and allow only users of their domain to login. The problem we are having is students are logging in with their home accounts when at school. I know how to do this with Google Apps (as per here: https://support.google.com/a/answer/1668854?hl=en ), but after hours of searching, I can't ... | The problem you'll run into is that it is the same portal. You can try going this route https://technet.microsoft.com/en-us/library/hh526961(v=ws.10).aspx using ADFS policies but even then I don't think you'd be successful at limiting such a login. O365 has tried to blur the lines on purpose between Corporate/Organizat... | 3 | 0 | 1,481 | 2015-04-20T07:48:45.920 | infrastructure | serverfault.com | |
488,162 | IIS - https:// works while http://host:443 doesn't | This is my site: [CODE] When you go [CODE] Everything is ok, but when you go [CODE] Connection is timing out. I am running IIS7, today I configured ssl, and I don't know why :443 version is not working. Any help? | The third URL you're using is just plain wrong; it tells to your web browser to access [CODE] on port 443 using the [CODE] protocol, but since the website listening on that port is actually using the [CODE] protocol, the connection fails. This is exactly the expected behaviour. | -3 | 2 | 1,149 | 2013-03-15T14:06:36.150 | infrastructure | serverfault.com | |
270,453 | Git workflow for Microsoft SQL Stack | My team of developers are currently working at a client who has required us to move away from SVN and begin using their native workflow program. (Source tree by Atlassian). We are data warehouse developers and utilise primarily the Microsoft SQL stack for development. The stack is commonly: SQL Server Analysis Services... | Summary : Vanilla Git Flow is pretty sane. For code that exist next to each other, use directories rather than branches. Feature branches should be short-lived, and don't introduce additional [CODE] branches for each program and subject. For projects of a certain size – and your project is well past that point –, the “... | 3 | 2 | 2,826 | 2015-01-18T10:32:40.050 | bi_errors | softwareengineering.stackexchange.com | |
173,191 | How should I organize my mdf, log and tempdb on a 3 physical disk server | Windows Server 2012, 48Gb ram, SQL 2016 Standard with: 1 disk SAS for Windows and SQL binary (C: ) 2 SSD disk for data (D: and E: ) Talking about performance, what is the better way to put tempdb, mdf and log of my OLTP Database (about 50Gb, about 100 simultaneous users)? Maybe: C: - OS and sql binary D: - MyDB and Tem... | It really depends on your workload but with only two drives you're going to have to make some concessions. Ideally you want to have tempdb, data and log files all on their own drives. There's a lot of nasty things going on in tempDB and you don't want that affecting your production databases. As I said, you should cons... | 1 | 1 | 3,334 | 2017-05-10T10:02:04.653 | database_errors | dba.stackexchange.com | |
743,936 | sftp backups with duplicity fail | I'm using duplicity on debian wheezy, which comes with version 0.6.18 as standard package. I also tried version 0.6.24 from wheezy-backports. I want to use sftp as backend, but if I run: [CODE] I get the following error: [CODE] I've read that this is might related to the paramiko backend which is used as default, but w... | Try changing the command [CODE] to [CODE] Tested with duplicity 0.6.24 on debian jessie 8.7 man duplicity: --ssh-backend backend Allows the explicit selection of a ssh backend. Defaults to paramiko. Alternatively you might choose pexpect. The scheme 'pexpect+sftp://' was introduced in a later version of duplicity. | 2 | 1 | 874 | 2015-12-18T10:32:40.943 | database_errors | serverfault.com | |
299,497 | Do I violate the Single Responsibility Principle with my multi-purpose AST Class? | I am writing a compiler, for which I devised a rather classic architecture: it's composed of sequential passes piped together, starting with a lexer and a parser, continuing with a macro processor, then a semantic analysis/type checker pass, and finally an intermediate code generator (and maybe IR optimizer that will c... | You're bumping up against a classic problem in programming language theory, the expression problem . It exposes a weakness of both classic object-oriented design (that it's hard to add operations to a data structure with multiple subtypes) and algebraic data types (that it's hard to add new type cases to an adt when th... | 6 | 2 | 399 | 2015-10-09T18:40:56.113 | api_errors | softwareengineering.stackexchange.com | |
125,907 | Setting up local virtual host | I'm trying to setup a local working copy of my domain and I've modified the "domain" file within [CODE] , executed " [CODE] " and then restarted apache and my browser is not looking locally for the domain. What step am I missing? [CODE] I should also point out that I am aware that the folder name has .com and the virtu... | Your Apache config looks OK. It seems that your server resolves domain address as the remote one. Try to add a line to your local /etc/hosts to fix this. The line should look like: [CODE] If your local Apache is listening on the other network interface, replace 127.0.0.1 with the proper IP address | 0 | 2 | 1,384 | 2010-03-24T18:10:44.130 | infrastructure | serverfault.com | |
611,655 | Swap memory exhausting server even site has small visitors | I have CentOs 6.5 running on a 32bit VPS host. It is running only php-fpm, nginx, and mysql. I have a site that gets on average 20 visitors per day, but I am recently getting this message from my host provider. This is an automated notification to inform you that your VPS named 'name.here' has been severely slowed down... | We can see from your updated output that you have 34 PHP workers running (not counting the master process), all of which are taking up memory and completely idle. This means you have tuned php-fpm to run on a much larger capacity machine with far more than the traffic you are actually getting. Or, perhaps, have not tun... | 3 | 4 | 2,344 | 2014-07-10T16:52:07.653 | database_errors | serverfault.com | |
643,616 | Best way to trace outgoing requests from a server | We have an Ubuntu 14.04.1 LTS server with nginx 1.4.6 that hosts a few dozen websites and received an abuse complaint from another server of hundreds of requests like this: "POST /wp-login.php HTTP/1.0" coming from our server. How can I go about dissecting the problem so that I can find out where this traffic is coming... | A simple first level approach is to use [CODE] (or the remote ip-address) to see which user and process is initiating the connections to the remote host. With regards to interpreting [CODE] output, I still find it much easier to use something like Wireshark to help interpret a captured TCP stream. It also helps you gen... | 1 | 1 | 1,021 | 2014-11-11T20:33:06.907 | infrastructure | serverfault.com | |
317,454 | nginx: how do I track down a random 500 from nginx (not my application). Potentially has something to do with load? | We recently had some 500's from nginx itself that somehow were not logged (we have screenshots, but nothing in the logs). That is weird in itself, because usually errors show up there. Regardless, I am wondering if there is something like a connection pool size that if maxed out would result in a 500? We have correlate... | We use a combination of log formats in nginx and lmon to catch things like this. An NGINX log format like: log_format main '$status:$request_time:$upstream_response_time:$pipe:$body_bytes_sent $connection $remote_addr $host $remote_user [$time_local] "$request" "$http_referer" "$http_user_agent" "$http_x_forwarded_for"... | 9 | 6 | 22,269 | 2011-10-01T06:34:08.097 | database_errors | serverfault.com | |
1,120,836 | Apache2 Default HTTPS 443 Vhost | I'm currently trying to make a default vhost for HTTPS to block traffic from unauthorized domains. However, when I define a default 443 vhost, ALL other HTTPS vhosts inherit this as well and prevents normal access. I've been scratching my head for hours about this... Apache Info: OS: Ubuntu Server 20.04 Server version:... | At first glance I'd start with including a (self-signed) SSL Certificate in the default https host VirtualHost – diya This was the answer. I installed the SnakeOil cert and everything is working perfectly! [CODE] | 0 | 0 | 175 | 2023-01-22T06:44:38.293 | infrastructure | serverfault.com | |
1,018,936 | CloudWatch / Autoscaling - Remove Capacity Metric Alarm always shows in Alarm, how can I make it not | using the example from https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html I created an alarm to trigger pruning any unused auto-scaled instances. I'm a big fan of not having angry red items on a page when there isn't anything to do as it desensitizes you to when there is an actual error. ... | As long as the CPU usage stays low (under 40% average for the ASG), that alarm will stay in that state. This means that technically that alarm is doing something. Every minute that it stays in the Alarm state its sending a notification to AutoScaling with the current metric values. I assume the group has already scaled... | 0 | 1 | 424 | 2020-05-27T16:29:38.400 | infrastructure | serverfault.com | |
823,794 | Larger uploads not posting on nginx + php-fpm | I'm running into an issue where images Configuration: php.ini [CODE] nginx.conf [CODE] I'm not seeing any error messages in my nginx or php logs. Any ideas where to look for more information on where this is failing? | Create a PHP info page and verify that the web server is actually reading in the php.ini that you are updating, some Operating systems (i.e.. RHEL) let you install multiple versions of PHP and keep separate configurations. The PHP info page should allow you to verify your increased values are being read. | 0 | 0 | 658 | 2017-01-02T23:38:47.670 | infrastructure | serverfault.com | |
943,038 | How to make rpm install from user avoid curl SSL errors? | I am trying install a RPM from an url directly from anaconda kickstart (CentOS7) [CODE] phase but I encountered an interesting error: ``` + rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm curl: (60) Peer's certificate issuer has been marked as not trusted by the user. More details here: ... | These SSL erros were caused by the presense of http_proxy environment variable which made rpm use a proxy. Once I installed the custom CA certificate, this was sorted. | 0 | 1 | 2,519 | 2018-12-05T18:09:15.793 | api_errors | serverfault.com | |
618,435 | Which package to upgrade psql client? | I have updated my Postgres install from 8.4 to 9.3. Now when I log onto the server with the initial command [CODE] I get the following error [CODE] What package do I need to install / upgrade to get psql to 9.4 version? (On red hat 6) | If you've installed the new server, the new clients are installed too - they're a dependency of the server. Redhat systems now use an "alternatives" mechanism similar to Debian. You'll find that [CODE] is a symlink pointing to [CODE] which is in turn a symlink to the default [CODE] . You can use the [CODE] command to s... | 5 | 6 | 10,326 | 2014-08-06T15:07:46.907 | infrastructure | serverfault.com | |
12,392 | How do I convert "\n" to linebreaks in my docker logs? | I am using [CODE] to start a web server in linux but am finding that the [CODE] is printing "\n" characters instead of creating new lines. This makes stack traces difficult to read; [CODE] I am unsure whether this is a "Docker" or a "Unix" question. Ideally there would be some kind of setting I can use to make [CODE] r... | Try to read logs as follows: [CODE] [ NOTE ]: [CODE] option follows live logs. [CODE] makes output as [CODE] and [CODE] which is useful for grepping and standardizing. | 2 | 2 | 611 | 2020-09-12T02:37:10.673 | pipeline_ops | devops.stackexchange.com | |
528,999 | What is using the RAM on this Ubuntu 12.04.2 server? | I have two servers in a pool with Nginx, PHP5-FPM and Memcached. For some reason, the first server in the pool seems to inexplicably lose about 2GB of RAM. I can't explain where it's going. A reboot gets everything back to normal, but after a few hours the RAM is used again. At first I thought it was down to memcached,... | The machine is a virtual guest running on ESXi hypervisor. What about memory ballooning ? First of all, I would recommend you to check ESXi/vCenter memory/balloon statistics of this guest. It can happen that the hypervisor asked the guest to "inflate" the balloon in order to allocate some additional memory, e.g. for ot... | 0 | 2 | 1,806 | 2013-08-06T11:14:55.030 | infrastructure | serverfault.com | |
569,824 | how to properly set up ImageMagick on AWS server using nodejs and express | so basically I've been struggling for a while now on getting imagemagick and or graphicsmagick to run properly with my node app, so far I followed the installation source from http://www.imagemagick.org/script/install-source.php#unix . details on my server include -nodejs -mongodb -mongoose -imagemagick -graphicsmagick... | I stumbled upon this question because I had the same issue. This is how I fixed it: Run a simple GM command to find out the problem: [CODE] Mine was that GM wasn't configured to support JPGs. I just removed all the GM files from usr/local and ran: [CODE] After this everything worked as supposed. | 2 | 4 | 4,229 | 2014-01-25T12:36:19.687 | database_errors | serverfault.com | |
237,303 | How to increase Postgres WAL size? | PostgreSQL 10.7 I keep getting the message: [CODE] So, I updated the following parameters and reloaded the configuration. [CODE] However, the WAL size stays at 16MB. What did I miss? Btw, I use repmgr for replication [CODE] . | [CODE] controls the total size of all WAL segments, not the size of each segment. So with a value of 2GB, you are saying that about 128 of those segments can be created before they get re-used. The hint is about increasing the total number of files (hence the mentioning of [CODE] ), it's not about the size of each segm... | 3 | 3 | 14,083 | 2019-05-03T12:03:12.663 | database_errors | dba.stackexchange.com | |
50,703 | Data migration - dangerous or essential? | The software development department of my company is facing with the problem that data migrations are considered as potentially dangerous, especially for my managers. The background is that our customers are using a large amount of data with poor quality . The reasons for this is only partially related to our software ... | Data migrations are my bread and butter and data cleansing is indeed a hugely important matter. One strategy we use do migrate 100% of our customer's data is asymptotic data cleansing pre-migration tools. This means developing tens of data-sanity checks (mostly sql queries). Exchanging cleansing tools with the customer... | 26 | 29 | 1,976 | 2011-02-09T21:37:54.297 | api_errors | softwareengineering.stackexchange.com | |
1,046,885 | How to add a physical disk to TrueNAS that hosted as a VM | I got this error while trying to create a [CODE] in TrueNAS Core. [CODE] Here's my setup: Windows 10 Pro as the host TrueNAS Core 12.0 hosted in VirtualBox 6.1 A 2TB VHD attached to TrueNAS via VirtualBox as Primary Slave The 2TB disk is recognized in TrueNAS under Storage > Disks. But got error below when trying to cr... | I created a virtual hard disk in VDI format and it works this time. VHD format didn't work for unknown reasons. | 0 | 0 | 1,800 | 2020-12-19T18:34:14.567 | infrastructure | serverfault.com | |
395,891 | why does and EBS volumes mounted in an Ubuntu 12.04 EC2 instance as /dev/sdh1 appear as /dev/xvdh1? | When mounting an EBS volume on ubuntu specified as /dev/sdh1 it actually mounts it at /dev/xvdh1. The aws console still thinks it's mounted at /dev/sdh1 so it took a while to realize that it was actually mounted, just in the wrong place I ran into this problem a long time ago using ubuntu on ec2. I just ran into it aga... | There's nothing broken, so there's not really anything to "fix". This change ( [CODE] to [CODE] ) was made in recent kernel versions (perhaps the 3.x tree? I can't recall specifically at the moment). EC2 hasn't yet changed their terminology to reflect the change in device naming conventions, as that would confuse all t... | 4 | 7 | 700 | 2012-06-05T20:55:59.237 | infrastructure | serverfault.com | |
88,158 | HP Server Automation - agent misreporting hostname | I've been using HP Server Automation for some time, but have noticed an interesting issue I'm hoping the SF community has seen / knows a workaround to. When the management agent on Solaris or RHEL (only platforms I've noticed it on) reports the hostname of the managed server, it does not return the value of [CODE] , it... | The only workaround for this behavior through version 7.8 is to edit [CODE] so the alias is at the end of the line. | 0 | 0 | 907 | 2009-11-25T12:21:31.330 | infrastructure | serverfault.com | |
18,397 | How to write an appreciation mail for a tester? | Tester found A very critical bug in DB testing. DB testing was out of scope. He started by himself and found a critical bug. How should I write an appreciation mail? | Assuming that you're mentoring the Tester whom you want to appreciate for his work the email would be like as below:- Thanks for improving the value of our product by finding this XX critical Bug. Thank you for taking initiative and going beyond the scope in your testing. We encourage your Out of the box nature and hea... | -2 | 2 | 24,193 | 2016-05-01T18:19:10.433 | data_quality | sqa.stackexchange.com | |
270,433 | Index or query tuning for complex predicates | I'm struggling to identify effective indexes (or rewrite the query) to improve a query with the following confounding predicates: JOIN on a date from one table being in range - between two date fields on second table (one is nullable, one is not nullable in PK). The date used is actually the value in date field (nullab... | Did you try indexed view? [CODE] solution with indexed computed column: [CODE] | 2 | 1 | 149 | 2020-07-06T09:00:02.233 | database_errors | dba.stackexchange.com | |
435,475 | Should a client / server share error codes? | I am in two minds about sharing client / server errors codes. We are writing both ends of the system, if our API was external this would not be possible, but that requirement is very unlikely. So an idea would be to have some shared directory between client and server and then on the server: [CODE] Whilst on the client... | If your frontend and your backend are developed in the same programming language (typically Javascript) are developed by the same team then there is nothing generally wrong in having shared libraries for both, especially when there are things you want to keep in sync between frontend and backend. These libs can contain... | 1 | 3 | 641 | 2021-12-21T13:41:59.107 | api_errors | softwareengineering.stackexchange.com | |
342,894 | algorithm for perfect substring temporarily replacement | I have an interesting question about string and delimiters. There is a random string [CODE] . There are some symbols (OR SEQUENCES OF SYMBOLS) that are predefined and should be temporarily replaced within that string by [CODE] function. The operation should be like the javascript replace Step1: [CODE] // which replaces... | So, here is my answer for What's the algorithm to properly generate let's call five hashes to replace five substrings within a string and making the reverse operation as described above without losing any info? Let's give a try... Create the shortest "aaaa...a" string that doesn't occur within an original [CODE] string... | 0 | 1 | 751 | 2017-02-24T14:39:53.060 | api_errors | softwareengineering.stackexchange.com | |
12,209 | Jenkins Helm Chart - kubernetes-plugin pulling image from a private gcr | I am failing to pull images from a private gcr repo through helm jenkins on a private k8s repo. I am getting: rpc error: code = Unknown desc = Error response from daemon: unauthorized: You don't have the needed permissions to perform this operation, and you may have invalid credentials. To authenticate your request, fo... | Found the issue, had: [CODE] ... applied on [CODE] serviceaccount instead of [CODE] . | 0 | 1 | 388 | 2020-08-14T13:15:48.330 | pipeline_ops | devops.stackexchange.com | |
1,118,668 | Ansible Loop Through Variable Number of Hostvars | I am trying to grab hostnames and IP addresses from a user-entered list of hosts and send that information to a central server. The primary issue I'm running into is that the number of hosts can vary considerably. E.g. on the first run a user may enter 1 hostname, the second run enter 30, and the next enter 5. I want t... | There are three parts to this use case: 1) Manage the inventory, 2) Collect client_hostname and client_ip , and 3) Report to the central server. 1. Manage the inventory There are many options on how to manage the inventory and collect client_hostname and client_ip . For example, use Adding ranges of hosts if you plan t... | 1 | 0 | 6,725 | 2022-12-22T17:46:19.933 | pipeline_ops | serverfault.com | |
604,252 | Apache2 virtualhost configuration trouble | This is my situation: I have Redmine and Gitlab in my server which does not have a domain associated, because I will use the server IP address. I want to configure two virtualhosts in apache2 with SSL in order to serve the above web applications, so I can access them like this: [CODE] which is located in /var/www/ [COD... | You don't need separate virtualhost entries for this, you use the [CODE] directive to map another directory into the URL namespace of your existing (default) virtualhost. [CODE] | 0 | 0 | 85 | 2014-06-11T05:45:21.813 | infrastructure | serverfault.com | |
385,843 | Critical dependency is preventing me from updating my app to latest framework version | My project relies on a specialized component which is stuck (by its configuration) to an older version of the framework my project is using. This makes updating to the latest version of the framework impossible. What are the best practices when dealing with this type of issue? | Because of reasons like this, dependencies are not just an asset but also a kind of liability: today's rapid development is tomorrows technical debt. Depending on the risks you forsee and want to mitigate, it can make sense to use a dependency only if you insulate yourself from the dependency as far as possible, e.g. a... | 3 | 5 | 142 | 2019-01-20T17:18:47.303 | api_errors | softwareengineering.stackexchange.com | |
372,882 | Should I test the debug branch of my code in a unit test? | Lets say I have a function that gets a list of what files to send that are later send over a socket to some other pc. Now usually I keep track of what files have been sent and don't send these files again. For easier coding and debugging I have this: [CODE] otherwise I would have to delete the log every time I want to ... | If understand correctly you're doing something like this: [CODE] I see a couple of problems with this approach. Conditional compilation is a powerful tool but as soon as you put that in there's a difference between what you're working with and what you're delivering to your clients. In this case it shouldn't make much ... | 2 | 5 | 296 | 2018-06-20T09:58:52.943 | api_errors | softwareengineering.stackexchange.com | |
268,429 | #1235 - This version of MariaDB doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery' | I have a table with several "categories", called [CODE] (e.g. A, B, C, ...). I would like to create a SQL query to select N records by each [CODE] . For example: I would like to select 2 records by each [CODE] . Table [CODE] : [CODE] I expect the following result: [CODE] I have created the SQL query below, but MariaDB ... | You could use the window function [CODE] , like so: [CODE] | 0 | 1 | 6,980 | 2020-06-03T15:21:39.733 | database_errors | dba.stackexchange.com | |
798,932 | Access Based Enumeration Issue | I seem to be having an issue when using Access Based Enumeration with Server 2012 R2 and Windows 10 (I don't have a 7 machine to try this on sadly). The share is set up and has ABE enabled. I have given the share 'Travel Documents' List Folder & Traverse Folder rights. I have a 'Test Rep Folder' in there that only 1 ac... | I managed to get to a W7 machine and ABE works as intended there from S2012. Seems to be an issue with W10. Go figure! | 0 | 0 | 694 | 2016-08-24T20:47:13.217 | infrastructure | serverfault.com | |
68,793 | Enabling AHCI in RHEL5 post-install | I have two servers running RHEL 5.4 quite happily. However, through simple oversight, AHCI/hotswap support was not enabled in BIOS at install time and is now needed. The machines are running ICH10R SATA controllers and kernel-xen-2.6.18-164.el5. I tried restarting with AHCI enabled, but quite predictably, the machine r... | Where does the boot fail? After loading grub - does the kernel panic saying it can't find root? Going from IDE to AHCI will mean you need to change the driver from the IDE driver to the AHCI one (called 'ahci') You'll probably need to update /etc/fstab to /dev/sdX, and add a line like "scsi-hostadapter1 ahci" to /etc/m... | 4 | 2 | 4,260 | 2009-09-25T18:31:48.813 | infrastructure | serverfault.com | |
174,872 | Getting Hudson to connect to a sasl svnserve install | We are unable to get hudson to connect to our SVN server. We are using SASL and we can connect just fine with tortoisesvn and the standard cli client. However when we try to use hudson we get this error: [CODE] StackTrace: [CODE] FYI : The username and password are correct! | Hudson uses java's SVNKit to connect; It seems to have a long history of not working well with SASL.... might I suggest ssh+svn ? Either way you now at least have a hint. | 0 | 1 | 413 | 2010-08-26T16:01:42.680 | infrastructure | serverfault.com | |
41,046 | BKF Utilies | anyone know of a tool to inspect and compare BKF files? or compare BKF contents with whats live on the filesystem? lets say i have a known-good BKF, and all it contains are the files i want to compare. i have another BKF that is known-bad. how could i tell the differences between them (files, permissions, contents, etc... | Have a look at this Server Fault answer for starts. The Java-based JMTF project (MTF = Microsoft Tape Format-- the "real" format of BKF files) might give you the tools you need to pull apart a BKF file and do a compare to a live filesystem. In theory, somebody could code up a tool to do what you're asking for. Personal... | 1 | 2 | 272 | 2009-07-15T13:43:11.937 | database_errors | serverfault.com | |
37,824 | Testing DPI value of Exported PDF | The application is a map onto which GeoJSON files (among other formats) can be dropped and viewed. Recently we added a feature to print the current map view to PDF. The two parameters I need to test are size (A4, A3 etc) and DPI (which is fixed at 300DPI). It’s easy to design a test for the first parameter but I am not... | I think I figured it out (still please correct me if I'm wrong). I was almost right with my original approach. My mistake was very basic and (dare I say it) stupid. I have been trying to squeeze 600 lines in one inch: 300 blue lines, 300 red lines. What I should have done is halve the amount of lines per colour: 150 bl... | 3 | 1 | 71 | 2019-02-16T07:10:04.803 | data_quality | sqa.stackexchange.com | |
42,743 | Merging common Columns values in two DataFrame Pandas | I have a dataset of patients from which I want to predict whether patient suffering from diabetes or not. In that I have a DataFrame res_total_Df with columns suppose [CODE] and another DataFrame key_df with columns suppose [CODE] . I want to merge into single dataFrame in which common columns values should be added as... | you can simply merge the two frame together and then perform zip on columns which appears in both frames, see short example: [CODE] | 0 | 0 | 3,665 | 2018-12-17T05:59:49.997 | data_quality | datascience.stackexchange.com | |
82,990 | How to control access security in database | Our database's security became a problem recently. Here is what we have: Several basic roles - read_only (select, view definition) read_write (insert/update/deleted) executor (execute SP/function) ddl_admin (alter/create table/view/SP/function/trigger/almost any thing, it's a risk role and we are going to discard it) s... | A common practice in my experience has been that if a user needs elevated access to a higher environment, you restore a copy to the level which they have access to. This ensures that you can keep similar security across most environments and mitigates privacy and security concerns as well as the creation of new issues.... | 2 | 1 | 462 | 2014-11-18T22:07:36.683 | database_errors | dba.stackexchange.com | |
972,418 | Get-HotFix not returning all installed KBs | I'm having trouble with the [CODE] command on a Windows Server 2012 not returning all installed KBs, compared to what Windows Update says is actually installed on the server when querying it. Get-HotFix Script: [CODE] Windows Update Script [CODE] Output of the Get-HotFix Script: [CODE] Output of the Windows Update scri... | Have you try to use Deployment Image Servicing and Management (DISM) ? https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/what-is-dism You can use dism directly : [CODE] [CODE] don't means that you need internet but only that the target the current system. https://docs.microsoft.com/en-us/windows-har... | 1 | 2 | 9,064 | 2019-06-21T15:06:34.490 | infrastructure | serverfault.com | |
1,118,761 | When Ansible initiates a PowerShell script, how to get Ansible to return "ok" (nothing changed)? | Usually when Ansible kicks off a PowerShell script with [CODE] / [CODE] / [CODE] , as long as it doesn't run into errors it'll return "changed", because of course it doesn't know what all the script did. Since we can return any exit code in a PowerShell script is there a way, via exit codes or otherwise, to notify Ansi... | I think I found it. The win_powershell module accesses the [CODE] PowerShell variable, whereby I can modify what information is returned to the controller. From the win_powershell documentation: [CODE] is a value that is returned back to the controller as is. [CODE] was added in the 1.12.0 release of ansible.windows an... | 0 | 2 | 2,333 | 2022-12-24T03:36:51.247 | pipeline_ops | serverfault.com | |
368,792 | C# Names of Namespaces with version suffix | In official Microsoft docs : ✓ DO use a stable, version-independent product name at the second level of a namespace name. But in Reference Source , the following namespaces ends with Version: Microsoft.Build.Tasks.v4.0 Microsoft.Build.Utilities.v4.0 Microsoft.Build.Utilities.v3.5 So is Microsoft violating its own guide... | When the documents mention second-level, they're referring to the section of the namespace indicated as [CODE] . The product or technology should be version independent. So no, technically Microsoft isn't violating its own guidelines, however admittedly using versions in namespaces is probably not a great idea. The pro... | 6 | 9 | 2,374 | 2018-04-04T06:46:57.143 | api_errors | softwareengineering.stackexchange.com | |
195,043 | Windows 7: Delprof replacement for deleting profiles | We have migrated from Windows XP to Windows 7 at a high school and have run into a problem. The computer lab machines can have upwards of 5-10 different people log into the machine each day. As time goes on, the local cache of user accounts fills up the small hard drives we have. We don't have money to upgrade so we ne... | [CODE] or the VBScript/PowerShell equivalent with the necessary WMI calls. The [CODE] parameter is redundant, since it will fail to delete special profiles (default profile, NetworkService, LocalService, etc.). If you log output, it will cut down on noise. | 5 | 4 | 33,207 | 2010-10-26T19:49:36.417 | infrastructure | serverfault.com | |
899,861 | High server load on KVM VPS | I have a KVM single core VPS optimized for hosting static content running only Nginx 1.13.8 with SSD and 1GB RAM with a hosting provider on a package of 100 Mbit/s unmetered bandwidth. OS in use is 3.10.0-693.17.1.el7.centos.plus.x86_64 The server is constantly at high load of [CODE] There's no PHP or MySQL services in... | Please check the application that causes the High CPU Load by running this terminal command below: [CODE] Got this from this link You may also run [CODE] and send us your screenshots. | 0 | 0 | 635 | 2018-03-04T05:17:42.650 | pipeline_ops | serverfault.com | |
880,782 | Possible invalid domain records | Hi I am using an elastic loadbalancer from amazon. The problem I am having is that I first had an A record for my domain which pointed to the IP of the loadbalancer. This however only works for a short while because the ip of the loadbalancer is not static. So to resolve this I removed the A record and added a CNAME re... | When using an Amazon Load Balancer you also need to use ALIAS DNS records. You did not mention that you are using Route 53 but you will need to. You will need to use ALIAS records for the domain root (mydomain.com) and each subdomain (www.mydomain.com) that points to the load balancer. This link explains how to setup A... | 0 | 2 | 121 | 2017-10-28T17:46:03.963 | database_errors | serverfault.com | |
367,419 | Site to site VPN tracert | I'm not sure how in depth I need to go with this question, but currently I have a site-to-site VPN setup and we are having major connection issues between the two sites. I did a tracert and received an odd result: [CODE] Does anyone know why the request timed out twice before finding 192.168.251.209? We have had the si... | Non-responsive hops in the middle of a traceroute is perfectly reasonable -- it just means that whatever's decrementing the TTL on those hops doesn't want to (or can't) send you back an error packet. To diagnose the problem with the VPN, you'll need to do packet captures, more traceroutes and pings, and have a much bet... | 1 | 5 | 3,989 | 2012-03-07T23:26:42.323 | infrastructure | serverfault.com | |
161,695 | New to Ruby on Rails, having socket trouble with MySQL (on Mac OS X) | This is my first question on serverfault, although I have used stackoverflow before. I am in a Ruby on Rails class over this summer and need to get RoR running ASAP. I used MacPorts to install Ruby, Rubygems, Rails, and mysql (I installed two ports named "rb-mysql" and "mysql5"). I was following a tutorial which requir... | I followed this tutorial to set up Rails and sqlite and everything works now! Thanks for the help Chris. | 1 | 0 | 741 | 2010-07-19T06:48:36.807 | database_errors | serverfault.com | |
614,595 | Moving from WDS to MDT + WDS with prestaged computer name in task sequence | We previously used just WDS to deploy our images. WDS was setup to request approval for new machines. We used the "Name and Approve" option to name the machines as we added them. If it was pre-existing, it would just use the existing computer name from AD. Then in our unattend.xml file we had Computername=%MACHINENAME%... | To name a computer with MDT you need to edit the custom properties ini ( [CODE] found in the control folder). The property for the computer name is: [CODE] You can use any of these variables to automatically fill in the computer's name: [CODE] For more examples and ideas please visit: http://scriptimus.wordpress.com/20... | 2 | 1 | 5,442 | 2014-07-22T17:47:55.157 | pipeline_ops | serverfault.com | |
384,968 | Meaning of Machine in Compiler Theory | Can anyone tell me what does "machine" means in Compiler Theory? Does it mean computer in general or operating system? Actually, the problem is I understand the definition of machine language as "the language understand by the computer". But does machine here refers to anything specific other than computer. I was readi... | Machine is computer. But, the machine is not necessarily hardware. Usually the machine is just hardware. If not, we speak of a virtual machine. Then the machine is software. The bottom line is that the machine executes software (a program). Here it may start to become a little hazy because we have since long had interp... | 2 | 3 | 316 | 2019-01-04T14:06:29.817 | api_errors | softwareengineering.stackexchange.com | |
18,910 | Parallel Test Execution using Jenkins | I have some automated tests that I'm running using Jenkins. I've Jenkins connected to my GitSwarm which pulls the code from my branch and then exectutes it. I have installed the "Parallel Test Job Execution Plugin" for Jenkins. In the plugin I have specified the tests to run in 3 batches Is there anything else I should... | I have used a Build Flow plugin to create a Build Flow job. Within the Build Flow job I was able to specify 3 other Maven Jobs to run parallel. This meant I had 3 Maven jobs that where pointing to 3 different XML files that contained different test cases. With the Build Flow job I was also to set these jobs to run para... | 1 | 1 | 2,369 | 2016-05-31T09:28:15.660 | pipeline_ops | sqa.stackexchange.com | |
125,663 | Error in loading data using DB2 load command in DB2 10.5 | I have a IBM DB2 database in our application. We have a monthly Java batch process which loads data in the tables using "load Replace" sql command. Around millions of record will be updated every month in this batch process. The batch was running fine without any issues in the DB2 version 9.5 . Recently the database wa... | Have you run runstats recently for at least the relevant tables and indexes? Are you sure you have index(es) to support your monthly batch? Have you checked the bufferpool hit ratio when the batch is running? db2top and db2advis may help you answering these questions. The secret optimizer was surely changed and it may ... | 1 | 0 | 1,128 | 2016-01-08T17:23:46.223 | database_errors | dba.stackexchange.com | |
286,137 | Forward all traffic through an ssh tunnel | I hope someone can follow this and I'll explain as best I can. I'm trying to forward all traffic from port 6999 on x.x.x.224, through an ssh tunnel, and onto port 7000 on x.x.x.218. Here is some ASCII art: [CODE] When I remove the ssh tunnel, everything works fine. The idea is to turn off encryption on the ssh tunnel (... | If I understood you correctly there's something wrong with your tunnel definition. What you seem to be doing with your current command line is to forward traffic from port 7000 on the current host (I assume it's .224) to port 6999 on .224 itself. Try this instead: [CODE] Or, if 172.16.1.218:7000 is not directly reachab... | 1 | 2 | 2,757 | 2011-07-01T13:17:07.670 | infrastructure | serverfault.com | |
385,187 | Dovecot ignoring maximum number of IMAP connections | I have a single mailbox mail server running Dovecot/Postfix and I have two IMAP clients, Thunderbird on the PC and K9 on Android. I keep on receiving this error in my logs even after I change the 'mail_max_userip_connections' variable to 50. [CODE] Why does it say that it is set to 10 in the log? Is that hardcoded? [CO... | I recently had occasion to change this value, but I changed it in the main config file; in my [CODE] it now says: [CODE] And it's been honoured; this is using dovecot 2.0.9 on a Centos 6.2 system. I don't know that that's an answer to your question, but I thought it might be useful for you to know that someone else had... | 6 | 6 | 30,433 | 2012-05-02T08:11:20.750 | infrastructure | serverfault.com | |
127,401 | SQL Server Memory Determination | We will be modifying a SQL Deployment in our Hosted Environment. We have a solution which is currently configured to use one Application (and not SQL) System Database (which holds Security and System Level Configurations for our Application) and numerous independent Company Databases, each used by different users (orig... | "Should I add more memory to the server" is a tough question to answer. Your box might be coping "just fine" with what it has, or you may find that tuning the system in other ways (expensive queries, for example) would be more effective. There are a number of resources that you should consider, including Jon Kehayias' ... | 4 | 2 | 72 | 2016-01-26T20:41:28.833 | pipeline_ops | dba.stackexchange.com | |
851,005 | Mongod service running but not connecting in browser | Background: Using vagrant virtual box running Ubuntu on a macbook Having installed the mongoid gem in a new rails application I am given [CODE] as the port that the mongodb server is running on. From the command line, I am able to start/stop the mongodb server and interact with the default database through the mongo co... | It is not possible to connect to the main mongodb port using a browser; your tutorials may be wrong. The mongodb service does not use http, or any of the other protocols which your browser is familiar with; instead it uses a specific MongoDB protocol , and your browser will not be able to communicate over it. There is ... | 0 | 0 | 1,670 | 2017-05-18T22:28:42.397 | database_errors | serverfault.com | |
186,426 | Blank Login In sp_who2 Result | There are some rows in the result of [CODE] which their [CODE] column value is null (see image below) while the [CODE] column of [CODE] is not blank and this sometimes happens conversely, what is the reason of this behavior? | I suggest you stop using sp_who2, there are better ways to look at that information. Even you do not want to use third party script you are better off joining following dmvs and get what you need. sys.dm_exec_sessions sys.dm_exec_requests sys.dm_exec_sql_text sys.dm_exec_query_plan sys.dm_os_tasks I use sp_whoisactive ... | 2 | 3 | 1,861 | 2017-09-20T13:10:34.543 | warehouse_errors | dba.stackexchange.com | |
247,468 | What is the purpose of "Schema Owner"? | If I create a new schema and set the schema owner to another schema, for example dbo, what is the meaning of that in regards to my new schema? Does my new schema inherit the same permissions from it's owner dbo? | A Schema's owner is always a User (or Database Role). There may be a Schema with the same name as a User, because in very old versions of SQL Server a User and a Schema were the same thing. So there's still a User called [CODE] and a Schema called [CODE] in every database. A Schema's owner is a User who has full contro... | 7 | 9 | 9,084 | 2019-09-10T21:18:07.860 | warehouse_errors | dba.stackexchange.com | |
421,359 | Ubuntu with KVM guest VM and broken bridges | I have an Ubuntu box with a KVM guest VM running. They use bridging so the guest VM attaches to the physical network of its host. The guest VM has 2 NICs in 2 different bridges. First NIC of the VM is tap5 and is in bridge br0 [CODE] Second NIC of the VM is tap2 and is in bridge br100 [CODE] On the host, br0 has an IP ... | Are those VLAN interfaces? I've seen issues with combinations of bridges and VLAN , which is why I then switched to using VDE for anything fancy like that. | 0 | 0 | 393 | 2012-08-26T15:33:37.440 | infrastructure | serverfault.com | |
933,541 | Clients do not get software updates from Configuration Manager | I am a beginner in the SCCM administration and I wish to bring your expertise. Issue: Clients do not get software updates from Configuration Manager I deployed Windows updates to my Desktop collection(Windows 10 and 7) Using ADR. In this case, I see in In Progress section only Non-Compliant status. I ran many times the... | First I'd recommend not to upload these logs in full to the internet without erasing all the sensitive information. Your clients have trouble establishing a connection to WSUS: WindowsUpdate.log: [CODE] | 0 | 0 | 3,672 | 2018-10-01T21:53:44.927 | pipeline_ops | serverfault.com | |
537,012 | Change "Not in sudoers file, this incident will be reported" message? | Is it possible to edit this message that someone sees when a sudo command fails due to permissions problems? | Below is the only message you are allowed to configure with the sudo conf. badpass_message="Sorry, try again." Reference: http://www.sudo.ws/sudoers.man.html However to answer your question you are more than welcome to compile your own copy of sudo. This would be the message you are getting at the link below: http://ww... | 2 | 3 | 961 | 2013-09-06T18:03:01.907 | infrastructure | serverfault.com | |
300,606 | Need to maintain execution plans on SQL Server Upgrade 2017 to 2019 | We are working on a performance issue and need to maintain the execution plans for troubleshooting. Need to maintain the execution plans and ensure the plan cache is not flushed out on upgrade to 2019. Does the plan cache get cleared during an upgrade? is there a way to maintaining and ensuring the execution plans do n... | The plan cache doesn't persist across service restarts. Since upgrading requires a service restart, there is no way to maintain the plan cache across version upgrades. Your best bet is to ensure the Query Store is enabled, and then follow Microsoft's recommendations for using the Query Store after an upgrade . After th... | 0 | 6 | 233 | 2021-10-04T18:52:05.927 | database_errors | dba.stackexchange.com | |
604,025 | Website cannot be accessed with google DNS because of unsigned DNS | I get this error: [CODE] On http://dnscheck.pingdom.com/?domain=stakeholdergame.com People can't access my site with google public DNS because of this. How do I solve this problem? [CODE] shows me this [CODE] | The DS RR, which is the fingerprint of the public key for a DNSSEC-enabled zone, is entered in the uplevel zone (in your case com.) It also indicates that the zone in question indeed has been DNSSEC-enabled, so DNSSEC-aware resolvers will error out any request where a DS RR is present but no corresponding (and matching... | 0 | 1 | 299 | 2014-06-10T09:23:41.107 | infrastructure | serverfault.com | |
286,600 | Trying to create subdomain with Apache2 | I'm using Ubuntu 10.04 and Apache2.2 on a Linode VPS - I'm trying to create a subdomain sub.mysite.com of mysite.com. I've added this entry to /etc/apache2/sites-enabled: [CODE] and this line to /etc/hosts: [CODE] and created a DNS zone file pointing to sub.mysite.com... I can successfully ping sub.mysite.com but can't... | Since you're using virtual hosts, make sure to put this subdomain container BEFORE your main virtual host container. What ever comes first trumps whatever comes after, so if your file looks like this, it won't work: [CODE] Make sense? You have to flip them, so that the 2nd VirtualHost container in my example is first. ... | 0 | 2 | 3,107 | 2011-07-03T17:39:44.820 | infrastructure | serverfault.com | |
328,914 | configure culture configuration in MVC3 application | I deployed a MVC3 Application that works well in development environment, that's because the date format in the develop machine it's [CODE] . But When The application was deploy in the server starts to getting errors in the server side for not valid Dates, because in the server the format of date it's [CODE] . Now my q... | If the only challenge for cultures is for date formats that will work on any server, do yourself a favor and don't use culture-specific date formats. Use a culture-neutral date format: yyyy-MM-dd is the same everywhere. If you really want to localize your app to a specific culture, there is a [CODE] element in web.conf... | 0 | 1 | 1,435 | 2011-11-08T14:47:25.623 | infrastructure | serverfault.com | |
569,578 | Advice on web server performance troubleshooting is needed | I'm renting a virtual CentOS based server where I have about 5 active sites running. Several months ago I noticed a significant performance degradation in how my sites are running. First symptom was too many (~300) apache processes running after that HTTP server stops responding. The problem disappeared after reboot bu... | Generally, I find that when apache is set so that it is allowed to spawn more children than you can handle, it freezes once it reaches your system limit. It's not very good at freeing up resources once it's clogged. So I suggest you tone down your max child (by a lot) for apache to begin with. See how much memory 1 chi... | 1 | 0 | 166 | 2014-01-24T11:30:16.297 | infrastructure | serverfault.com | |
606,585 | Private VLANs/Port Isolation on HP ProCurve 2524 | I am trying to set up Private VLANs (as described on Wikipedia ) on a HP ProCurve 2524, but I can't find any references to it in the online manual . Searching the internet hasn't yielded much either (my google-fu is weak here) though I've found some vague hints that the switch might not support it at all. Can anybody g... | Not all switches support private VLAN's. I don't believe the 2524 provides full private VLAN support. Some of the later firmware versions did introduce port isolation, but there are some significant limitations when using port isolation like: Port Isolation is intended only for networks that do not use VLAN tagging. (T... | 1 | 2 | 9,317 | 2014-06-19T21:03:12.880 | infrastructure | serverfault.com | |
205,749 | CREATE DATABASE on RAW partitions no longer works? | I'm attempting to create a database using two raw, i.e. unformatted, partitions. Microsoft Docs states you can do this, you simply need to specify only the drive letter of the raw partition, as in: [CODE] However, SQL Server 2017 returns this error: Msg 5170, Level 16, State 4, Line 1 Cannot create file 'S:' because it... | I can confirm raw partitions work, as expected, with SQL Server 2000 SP4 on Windows XP x64. I just ran the following through Query Analyzer (shudders) against SQL Server 2000 SP4: [CODE] The results: The CREATE DATABASE process is allocating 0.64 MB on disk 't_primary'. The CREATE DATABASE process is allocating 1.00 MB... | 16 | 3 | 1,164 | 2018-05-03T20:55:40.363 | database_errors | dba.stackexchange.com | |
85,533 | One-hot vector for fixed vocabulary | given a vocabulary with $|V|=4$ and V = {I, want, this, cat} for example. How does the bag-of-words representation with this vocabulary and one-hot encoding look like regarding example sentences: You are the dog here I am fifty Cat cat cat I suppose it would look like this $V_1 = \begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \\ \en... | [CODE] $V_1$ [CODE] $V_2$ [CODE] $V_3$ [CODE] Of course when using a "one hot" vectorizer, "cat" in $V_3$ would be 1 (instead of the count). | 1 | 1 | 189 | 2020-11-17T05:41:44.220 | data_quality | datascience.stackexchange.com | |
443,502 | Refactoring instanceOf, moving logic to POJO when it has database interaction | I'm refactoring some old code, I have a lot of istanceOf in the business part: [CODE] I'm trying to create an interface, and force the POJOs [CODE] , [CODE] ,... to implement it (the [CODE] don't have commons parts). The problem is that in this way I should move both the database operation and logic business to check t... | This seems like textbook case for Visitor Pattern. You can have a [CODE] and [CODE] that "visits" each type of record accordingly. So you can freely combine things that process records as you wish. You will define your visitor like this: [CODE] and your classes as: [CODE] And then you can have following visitors: [CODE... | 1 | 2 | 165 | 2023-01-20T10:51:27.180 | api_errors | softwareengineering.stackexchange.com | |
346,020 | In Puppet, how would I secure a password variable (in this case a MySQL password)? | I am using Puppet to provision MySQL with a parameterised class: [CODE] How can I protect [CODE] ? Currently, I removed the default world readable permission from the node definition file and explicitly gave [CODE] read permission via ACL. I'm assuming others have come across a similar situation so perhaps there's a be... | When working with Puppet and MySQL, I tend to put the root password in /root/.my.cnf, lock this file down, and then restrict SSH access onto the database server. Yes, storing the root password on the db server in clear text isn't the most secure solution. However if you write the mysql root password in this file, secur... | 13 | 3 | 7,245 | 2012-01-03T04:28:12.953 | pipeline_ops | serverfault.com | |
109,408 | ext4 in debian 5 (2.6.26) | Is ext4 ready for production usage in debian 5 (with linux kernel version 2.6.26) ? Will it be stable, oops-free and bug-free? | Unfortunatly, not yet :-(. That's why you don't find it when you try to install a Debian with the installer. You need to upgrade to Squeeze (testing version) if you want it as you will got a newer kernel (improving stability). 2.6.26 kernel is quiet old now and wasn't stable enough to have it in production. You may loo... | 2 | 1 | 1,571 | 2010-02-04T01:58:53.843 | infrastructure | serverfault.com | |
1,029,094 | Kubernetes: How to mount volumes into Windows pods? | I set up a small Kubernetes cluster for testing, and for storage I use glusterfs. No CSI, I just create the volumes manually for now. Now, I added a Windows node to the cluster. It works fine so far, but I can't get any volumes to mount in the container. I did a very simple pod definition: [CODE] When I run this, the p... | I think you could start with this . CIFS Flexvolume Plugin for Kubernetes Installing The flexvolume plugin is a single shell script named cifs . This shell script must be available on the Kubernetes master and on each of the Kubernetes nodes. By default, Kubernetes searches for third party volume plugins in /usr/libexe... | 0 | 1 | 1,980 | 2020-08-06T10:46:59.993 | pipeline_ops | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.