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 |
|---|---|---|---|---|---|---|---|---|---|---|
971,660 | Docker | CentOS | $releasever is "" when running docker build | I am attempting to build a docker image from a CentOS parent image ... and installing MongoDB. The error is happening when [CODE] is adding the MongoDB repo. You can see that the error is happening because [CODE] is blank for some reason. DockerFile [CODE] ERROR [CODE] | You didn't escape the [CODE] , thus the variable [CODE] was interpreted in your shell, instead of being inserted literally into the [CODE] command output. Try [CODE] . | 0 | 1 | 347 | 2019-06-16T22:24:22.897 | database_errors | serverfault.com | |
75,788 | SQL Server communication protocol issue | I am using VSTS 2008 + C# + ADO.Net + SQL Server 2008. My questions about what kinds of communication protocols SQL Server 2008 will be using, more details of my questions, If the connection string looks like this, whether Named Pipe or TCP/IP is used? Will different communication protocol being used dependent on wheth... | here you can do some reading on the Name Pipes protocol. This protocol uses far more traffic than TCP. Named Pipes will be used on local machine. TCP will be used for remote connections. SQL Server Network Configuration Manager allows you to modify settings for remote access to the SQL Server service. The SQL Native Cl... | 0 | 1 | 579 | 2009-10-19T04:59:21.577 | database_errors | serverfault.com | |
610,797 | WinServer2008R2 refused "unsigned driver" however same driver works on other machines | Trying to load Silicon Labs CP210x USB to UART Bridge driver on my Windows Server 2008 R2 machine. Driver used is official release from Silicon Labs. Stuck with error "Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file t... | Firstly you should check that the system has all windows updates - if it doesn't have the correct root certificates then it will be unable to verify the driver signature. Secondly if you are unable to work around this issue another way you can permanently allow unsigned drivers using [CODE] | 1 | 0 | 2,998 | 2014-07-08T02:08:33.227 | infrastructure | serverfault.com | |
305,114 | how to every file/directory in a tree to have the same owner, group, perms, acls? | playing with a scilinux 6.1 box. fs is ext4 with acls enabled. If I have a directory, say /pub, that I want everything in it to always, without exception have a predefined owner, predefined group, predefined set of permissions and a predefined set of acls, no matter who copied the file/directory/whatever in, no mater i... | You can't. Use extended ACLs to provide the permissions you need (with defaults to apply them to all new files) and effectively ignore the traditional permission bits. | 2 | 4 | 1,544 | 2011-08-26T01:26:58.950 | infrastructure | serverfault.com | |
16,816 | Why keeps Oracle writing into WARNING_SETTINGS$? | For tests we have Oracle 11 instance running on a RAM disc. Since the RAM disc is limited in size the database must not do any auditing or anything that keeps increasing the size of anything. We managed to fix many such leaks but have one left which we don't know how to handle: The database tries to write to the table ... | Bug 11720698 with the title "SYS.WARNING_SETTINGS$ NOT CLEANED UP WHEN OBJECT IS DROPPED." may be causing this. | 4 | 2 | 868 | 2012-04-19T12:43:58.533 | database_errors | dba.stackexchange.com | |
947,306 | Bad setting of LVM volumes - I cant extend partition | I have little mistake on configuration with LVM partions. It is virtual machine in esxi. I need extend LogVol01 in vg_vmm02. /dev/sdc was extended in hypervisor to 10GB (from 5). Problem is that I forgot create sdb1 or sdc1 via fdisk before, so LVM partion is created directly on /dev/sdc In fdisk /dev/sdc now I cant ad... | You need to [CODE] , then a [CODE] will show free space that you can assign to the specific logical volume. As always, take a snapshot/backup first. | 0 | 0 | 526 | 2019-01-02T10:35:44.197 | infrastructure | serverfault.com | |
435,373 | Storing large data shared between microservices running in containers at AWS | I'm dealing with an application that does the following: we have a microservice running on EKS called by jobs that pull XML data off an external system. The data volume can be fairly large (700MB-1GB at times). We cannot control the volume of data, there's no pagination or way to pull a delta. the data gets written to ... | Have you considered using EFS ? You could try mount the same volume on to all processes (including lambda) that handle the data. Now, my experience with EFS is not much, since I've used it only once as a case study for a specific problem that needed to get around Lambdas memory limits. It didnt work in my case, since i... | 1 | 0 | 661 | 2021-12-16T16:26:44.780 | data_quality | softwareengineering.stackexchange.com | |
1,034,597 | "Access Denied" when trying to access AWS Lightsail database | I'm trying to connect to my AWS Lightsail database instance with Navicat Premium 15.0.21 (newest available version at the time of posting). My database is in public mode. I copied and pasted the endpoint, username, and password straight into Navicat; Port 3306. Lightsail reports the database as "Available." These setti... | I had the same problem when setting up the connection in MySQL Workbench. The cause was the following: When you double click to copy the password from the AWS page, it appends an enter at the end. This is copied into the password field as well. So the password is not correct. Copy the password by selecting it character... | 1 | 3 | 1,713 | 2020-09-20T01:22:02.857 | infrastructure | serverfault.com | |
701,673 | Hmailserver and Outlook 2013 can send but not receive any emails in POP3 or IMAP | I'm having problems receiving any email from outlook. I can send email through smtp using comcast (my isp) without a problem, but I can't receive any email using either personal pop3 configured in hmailserver or the imap from my isp. If anyone can help, pleas read the following descriptions of my setup and what I've do... | If you run an nmap on the record, mail.mydomain.com is the port 143 listed as an open port ? 143 is the default imap account port. For you to receive emails, both parts need to be listed as open. Run a telnet mail. mydomain.com 110/143 | 1 | 1 | 4,696 | 2015-06-25T18:15:31.753 | database_errors | serverfault.com | |
134,251 | VMWare - Windows XP guest licensing | Possible Duplicate: Can you help me with my software licensing question? If I have a VMWare ESXi server with 4 Windows XP guests running on it, I understand that I need a separate license for each guest. Is there a way to simplify license compliance on these VMs? For example, I want to create a master VM image and boot... | Simple and Microsoft licensing doesn't happen. First, you need to talk to your Microsoft or reseller licensing specialist, as the best way to license Microsoft stuff varies greatly according to your specific circumstances. That said, basically, there are two entitlements that you need from Microsoft; the right to use W... | 5 | 6 | 1,311 | 2010-04-20T22:51:20.460 | data_quality | serverfault.com | |
861,737 | Windows 10 Hibernate Boot let's suspend (Powershell) Script execution at Startup | I am intensively working with Powershell Scripts which are executed at startup (local machine, not logon). I had some problems to troubleshoot like "Wait for network" or replication failures between our domain controllers that prevented sometimes the execution of my Powershell Script during startup. As I now have fixed... | I could verify this behavior in our domain at 20 computers at all. I am pretty sure that hibernate / fast startup prevents the script execution at startup often. I worte a blogpost about this and how to disable this via GPO (regkey modification). If you know the exact reason why Window 10 (not testet at 8, but pretty s... | 0 | 0 | 1,503 | 2017-07-12T11:10:30.393 | database_errors | serverfault.com | |
332,413 | Automatic ID and Created/Modified By/Datetime fields? | Is it possible to get MySQL to automagically create and manage a record ID, Created By/Datetime and Modified By/Datetime columns for all tables in a database? Note: Not looking to manually create columns for every table, then either auto-increment for id or set the other 4 via triggers. Asking if there might be some co... | It just doesn't work that way and never has. :-) It's like asking why doesn't Java automatically make every class include a reference to a log4j object, and log every exception that occurs. The answer is that not every class needs that, and Java has no business second-guessing the developer's intentions. Technologies l... | 0 | 1 | 38 | 2023-10-23T04:48:26.247 | database_errors | dba.stackexchange.com | |
316,472 | Oracle query different performances between prod and staging environment | So I have those 2 Oracle 12c databases R2, prod and staging environment, both are perfectly aligned and running on identical hardware. The same select statement will take about 400ms on staging while it will not take less than 4 seconds. Our expert DBA left the company leaving me and my relatively thin skills to invest... | Ditto what Andrew said in comments to your question. It might help to gather statistics on the table(s) and indexes at 100% via [CODE] parameter [CODE] to ensure any edge cases in the data are captured. I don't remember whether Oracle 12c gathers full statistics when building an index, but either way, if the data in th... | 0 | 0 | 61 | 2022-09-05T13:40:43.227 | database_errors | dba.stackexchange.com | |
901,225 | How to drop connections RELATED to other dropped connections? | Scenario: I wrote [CODE] rules for a host where a DPI engine is watching Netfilter queues: firewall rules enqueue traffic incoming to this host into different Netfilter queues depending on whether traffic is coming from a certain [CODE] of mine. In the [CODE] chain, all connections are enqueued in different [CODE] : DP... | You misunderstand [CODE] . This is not used for every connection that a single address might make. It is used only for actually related data, such as the FTP data stream associated with an FTP control connection, or ICMP error messages associated with an open connection. There are very few such connections that will ac... | 0 | 0 | 177 | 2018-03-12T15:06:47.173 | infrastructure | serverfault.com | |
193,932 | Database version is higher than SSMS and throwing error when attempted to create table | I have installed VS 2017. After that I have installed SQL Server 2014. Whenever I create a DB using SSMS and attempt to create a table it returns the following error: This backend version is not supported to design database diagrams or tables. (MS Visual Database Tools). When creating the database using SSMS the compat... | AS MSDN Blog Here Use the SSMS version designed for your database version. You can use the command [CODE] to check which version of SQL Server you are actually using. Update your [CODE] to the latest version and try. You may have the latest version of SQL Server and older version of [CODE] . To Download the latest SQL ... | 3 | 5 | 24,981 | 2017-12-25T10:13:21.887 | database_errors | dba.stackexchange.com | |
879,975 | Suppress logging rsyslog boot messages in my message file | I have rsyslog installed and I am listening to a log stream from a device. The problem I'm having is that before I start saving the device's own log lines, some lines are generated that correspond to the rsyslog itself. Someone can tell me how to avoid storing these log lines of rsyslog please. [CODE] Currently in the ... | You need the discard operator (~) for rsyslog. For example, the following is a way to discard this message: [CODE] Also you need to check which order these rules are being evaluated. I would suggest to create a separate file like [CODE] and then put the discard statement there. Basically, you need to make sure the disc... | 3 | 0 | 759 | 2017-10-24T09:32:25.163 | infrastructure | serverfault.com | |
884,326 | Unable to connect to non-primary ADFS farm member | We have had a 2012 R2 ADFS farm deployed for some time. When changing the web theme for the ADFS config today, I have noticed I was unable to connect to the secondary server in our farm from my workstation using its FQDN. The primary server I can connect to without issue (other than the fact the certificate isn't valid... | With the help of Pierre from here , the answer was: It's because of SNI. The Hostname in the HTTP header has to be the name of the farm to reach it. If you want to test if your second server works, on your workstation, create an entry in your HOSTS file with: For example, if the IP address of your ADFS servers are 10.0... | 1 | 1 | 985 | 2017-11-20T17:35:13.017 | api_errors | serverfault.com | |
566,555 | rsync, dd and then add to RAID 1, could cause database corrupted? | Firstly I have a HDD which has been setup as RAID, type Volume, not RAID 0 or RAID 1 ... and I wanna add one more HDD to setup a RAID 1 array. These bellow steps are what I've done. Detach from Server and [CODE] whole disk from the old HDD to the new one: ``dd if=/dev/sda of=/dev/sdb conv=noerror,sync bs=2048` Reseat t... | TO be honest - I think You did it completely wrong. When You create a RAID it needs some space to allocate metadata describing what kind of RAID sits on that disk. The disk is initialized by the controller when it becomes a raid member/spare disk. it should be something like this: if the controller allows it You could ... | 0 | 0 | 149 | 2014-01-11T08:30:21.303 | data_quality | serverfault.com | |
135,672 | Why does my PostgreSQL query cost so much when I tack on an additional group-by? | I need to extract two fields from a table. Here's the query with just one of the fields: [CODE] Here's the query plan: [CODE] Here's the query with the second field I want: [CODE] and the corresponding query plan: [CODE] Now (this is the problem), here are the two fields combined together in the same query: [CODE] and ... | The reason why the third statement is slow is it has to group 2.8 million rows which cannot be done in memory any longer. So the sorting is done on disk which obviously is a lot slower: You can see that in this line: [CODE] The number of rows and the time it took can be seen in this line:: Sort (...) (actual time=19110... | 1 | 2 | 53 | 2016-04-18T15:47:47.993 | database_errors | dba.stackexchange.com | |
86,587 | Does MariaDB Support Materialized views? | Before I even try to experiment with MariaDB, could anyone tell me if MariaDB supports Materialized views ? I can't seem to find it in their documentation. This is one of my major issues with MySQL (the fact that it does not have materialized views out of the box). This is a major feature for me in a database, and I wo... | Not natively, no, but see Flexviews: https://mariadb.com/kb/en/mariadb/documentation/clients-and-utilities/flexviews/ Note: This seems to have been deprecated now and the link above no longer works. | 0 | 1 | 8,866 | 2014-12-19T06:44:35.730 | database_errors | dba.stackexchange.com | |
323,172 | How to configure a CISCO ASA to support the OS X VPN Client | Given that OS X now supports (natively) CISCO IPSec VPN connections I am wondering what the requirements for the VPN configuration are on the remote end? I have evaluated a number of CISCO devices (in the smaller range, such as the ASA 5505 routers, as well as the RV120W and the WRVS4400N devices) and haven't had a lot... | Since Apple claims that Cisco VPN is natively supported, and it is explained in detail here , my guess would be a VPN configuration issue or mismatch. It may be a matter of matching the Remote Access VPN setup to the OSX client, instead of the other way around. | 2 | 1 | 9,441 | 2011-10-20T07:17:04.227 | infrastructure | serverfault.com | |
301,219 | Parsing the results returned via DHCPd's OMAPI interface | I'm experimenting with OMAPI as a means of giving our support staff additional insight into the state of a subscriber's service. Anyone who's ever played with OMAPI knows two things: The documentation is awful Assuming you get past the documentation's awfulness, the resulting objects contain hexadecimal representations... | Okay, so in addition to figuring out the time stuff, I've also discovered (er... by reading the effin' manual, no less) that the 'subnet' and 'pool' keys refer to OMAPI objects for the subnet and pool declarations in dhcpd.conf. However, those objects can't currently be read. | 1 | 1 | 453 | 2011-08-15T14:29:56.767 | infrastructure | serverfault.com | |
350,778 | Design and setup a centralized logging with microservices / docker | I am developing on a a large webapp system that has multiple docker containers. Imagine a webapp but with many external restful services running on different containers. A microservices setup. I am looking to put in place a centralized logging system. So we can trace and find errors. My initial thoughts was to spin up ... | I would say this is a typical way to implement centralized logging. Is this a good design, could this be improved? In my opinion it's just fine I'm concerned that if the logging elk container went down then it may make the other containers unresponsive. Your logging framework should not affect the performance of your a... | 0 | 2 | 863 | 2017-06-13T13:12:43.420 | database_errors | softwareengineering.stackexchange.com | |
872,129 | Applying a content filter to a specific email address in Postfix | How can I apply a content filter to a specific email address in Postfix? Setting the [CODE] parameter in [CODE] applies the content filter to all inbound messages. I only want to apply my filter to a specific address, e.g. support@example.com. I've defined my filter in [CODE] using the pipe command as follows: [CODE] I... | The classic way of doing per email address processing of mail is to use procmail | 2 | 1 | 525 | 2017-09-05T13:35:38.713 | infrastructure | serverfault.com | |
264,153 | What's a good tutorial that can help me set up an email server? | One that doesn't get marked as spam filters, of course. I'm familiar with Ubuntu, but have never messed with Postfix or Sendmail anything before. Basically, this is what I want: Have my own name@mydomain.com address. Be able to send emails and receive emails without getting marked as spam. My web servers will also conn... | The ISPmail tutorials are geared toward Debian, but Ubuntu is similar enough that you should have no trouble using them. This is how I set up my first email server, and I found it very simple and straightforward. | -1 | 1 | 213 | 2011-04-28T01:56:25.197 | infrastructure | serverfault.com | |
749,788 | showmount -e fails from one node | When I run: [CODE] But [CODE] works The client and server (freenas 9.3) are on the same subnet. How to resolve this? | Ensure packets aren't being blocked by a firewall. I would recommend issuing [CODE] before and after you issue the [CODE] command. If you see the counters on the left increase for a DROP rule, chances are you need to insert a rule to allow for NFS clients to connect. Here's some information from http://www.cyberciti.bi... | 1 | 0 | 10,692 | 2016-01-17T20:49:38.833 | infrastructure | serverfault.com | |
339,139 | Supervisord and gunicorn_django not playing well sometimes | I can issue a command via supervisorctl to shutdown my gunicorn_django process but sometimes it hangs around until I have to eventually kill it with a -9. The log for the process usually has this: [CODE] Here is some relevant supervisor config: [CODE] I'm also not using root and the application is running within virtua... | There used to be problems with gunicorn and supervisord, what version of gunicorn are you running. Did you try to upgrade? | 0 | 0 | 864 | 2011-12-08T20:10:48.780 | infrastructure | serverfault.com | |
1,150,284 | Vue + Django REST + traefik = page not found | I am modifying [CODE] to meet my requirements. I have [CODE] + [CODE] [CODE] [CODE] [CODE] [CODE] [CODE] [CODE] When I browse my website. It returns [CODE] Question: How to solve my problem? | [CODE] Remove ending slash from domain name. Solved the problem. [CODE] | 0 | 0 | 96 | 2023-12-23T04:55:54.140 | infrastructure | serverfault.com | |
676,568 | Traffic shaping for upload/download speed simulation | I'm building a network emulator to help realize different speeds. Basically, this system would shape a given user's network metrics (such as upload speed/download speeds/packet loss/jitter etc) based on the user's request. For instance, if a user selected 3G, the system would transform his/her connection to behave like... | You can simulate the drop packages using something like this: [CODE] Translate to: the server will drop with a probability of 20 percent packets going to your station. For more advanced options take a look at this . | 0 | 0 | 508 | 2015-03-18T22:23:42.830 | infrastructure | serverfault.com | |
1,056,503 | Is there any specific command to check all running processes inside a specific VM on ESXi? | I have a list of VMs running on ESXi. I have used [CODE] to get a list of VMs running and also [CODE] to get the World ID of VMs. I would like to get inside the Ubuntu VM and check all the running processes inside that particular server. I am unable to find any commands for this. It runs on [CODE] (Guest OS) the versio... | You'd be better off managing the VMs, querying their processes, in the same way that you would for any host, independent of virtualization layer. That said, if you run PowerCLI against the VM host, you can run [CODE] to run commands inside the VMs running on it. | 0 | 1 | 2,833 | 2021-03-10T00:45:56.283 | infrastructure | serverfault.com | |
232,686 | #550 5.1.1 RESOLVER.ADR.ExRecipNotFound; not found ## | I've searched serverfault and found this question pop-up quite a bit. Unfortunately others problems aren't exactly like mine, and because I'm a true beginner I wanted some more "specific to me" help. If you don't mind. I just set-up a new computer for a user. Copied over her auto-populate and archive emails. Her email,... | You're correct this is an X500 address. It needs to either map to a legacyExchangeDN on an object in AD, or an X500 proxy in an object's proxyAddresses attribute. This is how Outlook caches things in the auto-complete cache. I would simply delete the entry on the user's machine and let it be regenerated. You can simply... | 0 | 1 | 5,480 | 2011-02-08T14:25:54.853 | api_errors | serverfault.com | |
747,596 | Pip / boto problems - ImportError: No module named boto3 | I want to get boto3 working in a python3 script. I can execute aws commands from the cli. After updating pip, it doesn't run with sudo rights unless I use the absolute path: [CODE] . Without sudo rights it works. I have no idea why it doesn't run under sudo, which it did before updating, as [CODE] is in PATH. Should I ... | Probably, the best way to deal with multiple python versions is to isolate them using [CODE] This article covers it's basics and would give you a good overview http://docs.python-guide.org/en/latest/dev/virtualenvs/ | 1 | 1 | 21,357 | 2016-01-08T10:42:44.180 | infrastructure | serverfault.com | |
227,130 | HTTP Authentication Exceptions | I need to create an authentication exception for specific folders on my Apache server. We have a blanket password protection across our whole domain, but this prevents Wordpress from uploading files and creating folders with it's Flash uploaders. Also any upload methods from plugins are failing too with [CODE] . Is the... | You can specify this using the [CODE] directive. For full details you can read the Apache Docs for LocationMatch , but what you probably want it something like this: [CODE] This should match any URLs containing either the string [CODE] or [CODE] and apply the access restrictions [CODE] to them. | 2 | 1 | 963 | 2011-01-26T15:06:22.717 | api_errors | serverfault.com | |
574,654 | How do I know that my TCP connection is safe from the Firewalls/NAT? | Being on the Azure cloud, I found that the firewalls there drop connections between the Web server and the database quite often. Mostly when there was some inactivity, I think something between 5 and 10 minutes. So I did some research and found this seems to be a common issue. The problem seems basically solvable by se... | Theoretically, yes, any router or firewall can decide to drop your connection . Which is obvious, of course, because you can't make any piece of hardware do exactly what you want by sending the proper TCP packets. It's up to the router how to deal with it. In practice, it's exactly what you quoted. To prevent it, you m... | 1 | 0 | 1,059 | 2014-02-11T10:07:58.723 | infrastructure | serverfault.com | |
211,346 | Does ALTER TABLE - ADD COLUMN lock the table? | I have a question about the [CODE] DDL statement . On a Amazon RDS instance with MariaDB v10.2, I've noticed that [CODE] statements complete and the rows are correctly inserted in the table (as verified via [CODE] ) before an [CODE] on the table finishes. Shouldn't any DML statement that performs a write be queued unti... | Yes, it locks the table. From the docs on MySQL 8, The exception referred to earlier is that [CODE] blocks reads (not just writes) at the point where it is ready to clear outdated table structures from the table and table definition caches. At this point, it must acquire an exclusive lock. To do so, it waits for curren... | 10 | 4 | 29,258 | 2018-07-04T15:11:42.003 | data_quality | dba.stackexchange.com | |
901,766 | Install shibboleth timeout in centos | I am trying to install Shibboleth via ansible in a centos-7 machine which is hosted in AWS. But am getting " [CODE] " error for installing Shibboleth and all its dependencies. I tired manually also with the command " [CODE] ", but same error. If I install any other package via ansible or manually are working. I tries a... | I was facing the same issue on Centos-7 hosted in us-east-1. There is some discussion of build service mirroring problems on the repository config generation page. When you use that form to generate a shibboleth.repo configuration there's also a comment suggesting an another workaround: [CODE] I updated the baseUrl and... | 1 | 2 | 381 | 2018-03-15T09:41:11.087 | pipeline_ops | serverfault.com | |
906,692 | Roaming hardrives on a HPE Proliant DL380 Gen 9 24FF exact copy? | HPE Proliant DL380 Gen 9 24FF is faulting due to a flashin read light. The ILM files below indicate that the network port is faulty (attached to the system port). The trouble shooting guides recommend switching the system board. If we have a second Proliant with the exact same stats can we do a full disk set swap? Will... | You can move disks between ProLiant systems with similar Smart Array RAID controllers if you keep the disks in the same positions. The RAID configuration lives on the disks, not the controller. And no, your SSL certificates and Active Directory won't be affected. | 1 | 1 | 1,066 | 2018-04-09T07:20:55.517 | api_errors | serverfault.com | |
790,035 | Enabling quota on xfs partitions | OS: Ubuntu 16.04 I have installed the [CODE] commandline tool from apt and found some instructions to enable quota on the root partition by appending [CODE] to [CODE] within the file /etc/default/grub followed by [CODE] and rebooting. This seems to only effect my root partition as [CODE] gives the following output. [CO... | The problem was the naming of the options. The correct options were [CODE] and [CODE] . Appending these two options to the mountpoint enabled me to watch quota statistics under my /var partition too. | 0 | 0 | 1,703 | 2016-07-15T12:28:07.163 | infrastructure | serverfault.com | |
60,863 | To replicate, or not to replicate | 1.Intro Hello, I am running web application on 2 separate geographical locations(e.g. Europe, Hong Kong). Let's suppose Hong Kong server is an Amazon EC2 instance(paying for disk space, IO disk operations and traffic). Inspect the following figure: 2.Problem When you should remotely access DB server A and when you shou... | Use maatkit heartbeat. You will need another perl process running is very helpful. You can also use mk-slave-delay to generate lag. Protection purposes. | 0 | 1 | 79 | 2014-03-13T16:16:26.890 | pipeline_ops | dba.stackexchange.com | |
956,814 | exim filter not working on long emails | I was trying to set a file extension based filter in exim. [CODE] This filter does work on small mail, such as mail with only test data and one spam attachment like test.pdf.gz but when it comes to actual scenario, when a mail with much data (This spam mail generally contains a legitimate company name and images some i... | [CODE] by default contains no more than 500 initial bytes of message body. https://www.exim.org/exim-html-current/doc/html/spec_html/filter_ch-exim_filter_files.html#SEC19 $message_body: The initial portion of the body of the message. By default, up to 500 characters are read into this variable, but the system administ... | 0 | 0 | 484 | 2019-03-05T10:39:18.790 | hadoop_errors | serverfault.com | |
9,654 | "Could NOT find Curses" error when installing MySQL from source | I am installing [CODE] from the source distribution which I downloaded from: http://dev.mysql.com/downloads/mysql/#downloads . I have downloaded the file [CODE] . I am using Debian/Ubuntu Machine. I am following the instructions as given in MySQL Documentation . After issuing [CODE] at the shell I am getting the follow... | The clue is in the error message (which I also encountered today): install the correct Curses library. If you're on Debian/Ubuntu then install [CODE] ( use [CODE] ) then remove CMakeCache.txt and rerun cmake. i.e. just do [CODE] . Re-run [CODE] | 4 | 5 | 12,087 | 2011-12-23T08:53:34.967 | database_errors | dba.stackexchange.com | |
124,192 | Allow multiple remote desktop connections from same user | We're just setting up a brand new Server 2008 R2 with Remote Desktop services. Everything is installed fine so far, we have set it up with 5 CALs per User (not Machine!) and they are activated and running. The problem / question here is: Is it possible to log in with the same user multiple times? This worked perfectly ... | Open gpedit.msc. Navigate to: [CODE] Change [CODE] to [CODE] Alternatively make the change via GPO and apply it to the OU with all relevant servers. | 8 | 5 | 40,173 | 2010-03-19T10:07:23.853 | infrastructure | serverfault.com | |
289,841 | How to break down MySQL big table into multiple to solve operational issue | This is my current table schema in MySQL we are not facing any performance issue in our application but there are operational issue . The size of this table is 7 TB (6TB data and 1 TB index ) and has 4 Billions rows . Because of the this one table having this big size we are not able to do any alter table on this table... | There are other things you could and should do, also. Normalization. For example, how many different values are there of [CODE] or [CODE] ? Rather than using a string, use a [CODE] -- 1 byte and a range of 0..255, or maybe a [CODE] -- 2 bytes and 0.65K. Etc. Are any of the columns "rare"? I mean are they NULL in many o... | 0 | 2 | 695 | 2021-04-15T04:14:23.300 | api_errors | dba.stackexchange.com | |
785,506 | Nginx working with SSL but Private Key mismatch error | Used to work I bought a Rapid SSL from name.com and used the below command to generate the [CODE] and [CODE] files: [CODE] I answered all questions which this command asked. I then provided the [CODE] to name.com and successfully generated the server/intermediate certificates. I then followed the steps mentioned at htt... | Talk to cert vendor Depending on your vendor, they may either insist on re-payment, or just do this free of charge. I would not spend time looking for the cert in nginx's RAM. Sure, if https still works, then the privkey must still be there, and extraction from RAM is possible , but if you have never done this before, ... | 1 | 2 | 5,384 | 2016-06-22T09:56:39.247 | api_errors | serverfault.com | |
109,052 | Feature selection with "overly important" features | I am very new to machine learning modeling, but I encountered a feature selection problem that I hope can get your insights on: For example, I have A,B,C,D as my independent variables and y as my dependent variable. The end user is more interested in C & D's impact on y since A and B are factors that the user don't hav... | I think it's a matter of clearly defining the target task: If the goal is to predict $y$ as accurately as possible and all 4 independent variables are available, then in general there's no reason not to use the 3 variables. If the goal is to predict $y$ using C and D only, or to calculate the impact of C and D on their... | 1 | 0 | 36 | 2022-03-15T03:19:39.303 | data_quality | datascience.stackexchange.com | |
847,071 | Exchange 2010 to/from 2016 mail flow | i just introduced an exchange 2016 server to our existing 2010 environment, the installation and configuration went well, but now i'm having a problem on sending and receiving an email from/to 2010 and 2016, i can send an email to external from both 2010 and 2016 but i cant send between both internal servers, below is ... | Exchange 2010 has a bug where the default receive connectors which allow incoming mail from 0.0.0.0-255.255.255.255 must have the IP address of any newer Exchange server explicitly added to the whitelist. | 0 | 1 | 4,029 | 2017-04-28T05:55:51.563 | infrastructure | serverfault.com | |
345,325 | remote haproxy data gathering through cacti fail | Am new to cacti so please forgive me if my question sounds stupid, I have tried my best to find the solution for the problem but still needs help. I want to gather number of lines in the haproxy.log file from a remote front end(FE) machine, I have added this device successfully in cacti and graphs like load average are... | From memory, the cacti poller runs as the [CODE] user, therefore won't have permission to read your private key. | 0 | 1 | 962 | 2011-12-30T15:04:37.353 | infrastructure | serverfault.com | |
641,196 | Desktop CPU VS server CPU performance - is passmark relevant? | I am replacing my SOHO server (desktop-grade components) with a used server. A quad-core i5 is being replaced with dual quad-core Xeons X5355, here are the details: i5-2300, passmark score 5276: http://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i5-2300+%40+2.80GHz Dual Xeon X5355, passmark score 5880: http://cpubenchm... | In general server-grade hardware will perform better than desktop-grade equivalents when under load from multiple processes (e.g. running several services serving requests, hosting multiple users, etc). For day to day desktop usage server hardware won't necessarily perform any better, and can underperform. However, ser... | 7 | 7 | 5,275 | 2014-10-31T17:04:58.397 | pipeline_ops | serverfault.com | |
856,408 | OpenVPN - Drop connection on header | I need ths behaviour When connecting to a special website from my client, I would like to receive a blank page as a result. For example if I connect to serverfault.com, I receive a blank page, but if I connect to google.com, I have the good website. I'm currently using the following config: Server 1: Client Server 2: O... | Since you are going through the VPN first, your proxy does not really have any control over the requests. I think your best option is to tackle this problem through a DNS server. If you create DNS zones with no records for the sites you want to block, that will cause those to not resolve, or resolve to a page of your c... | 1 | 0 | 186 | 2017-06-17T18:32:08.723 | infrastructure | serverfault.com | |
426,802 | What effect does RAID stripe size have on read-ahead settings? | I'm trying to figure out the correct read-ahead values to set on a RAID10 array, and I'm wondering if the RAID stripe size should factor into my considerations. I've heard conflicting information about this in the past. I once heard that you should always set your read-ahead value to a multiple of the RAID stripe size,... | The logic for when Linux applies read-ahead is complicated. Starting in 2.6.23 there's the really fancy On-Demand Readahead , before that it used a less complicated prediction mechanism. The design goals of read-ahead always include not doing read-ahead unless you have a read access pattern that justifies it. So the id... | 7 | 5 | 3,324 | 2012-09-12T15:44:11.470 | infrastructure | serverfault.com | |
124,984 | VMWare Workstation hdd issue | When i run my virtual machine, it clogs down my hard disc and OS freezes. What can cause this? P.s. feel free to ask for additional info. I just don't know what exactly i should state. | Installing vmware tools helped. | 2 | 1 | 111 | 2010-03-22T15:24:00.837 | infrastructure | serverfault.com | |
911,783 | Outlook and OWA search not working - no results | Our environment consists of a single Exchange 2016 CU8 server and multiple clients using Outlook and OWA. Searching (fast search and advanced find) both are not working in either OWA or Outlook desktop. The results are simply empty with "no items found." Additional weird symptoms: MSExchangeFastSearch is throwing the f... | First, please ensure the Microsoft Exchange Search and Microsoft Exchange Search Host Controller services are running. Then, after rebuilding the content index state of the database, we can wait for some hours to search again and check if any helps. Moreover, please also run the following command to check if the conten... | 1 | 1 | 18,928 | 2018-05-11T14:47:08.033 | infrastructure | serverfault.com | |
646,353 | 404 error for WebResource.axd with fastcgi-mono-server4 | I have a simple ASP.NET WebForms app that I created in Windows and copied over to a Linux server (Ubuntu 14.04) that is running fastcgi-mono-server4 and nginx. The app runs fine on windows, but when running on mono it fails to get the [CODE] script because of a 404 error. As such, all postbacks fail because [CODE] is u... | I figured out the answer using This article . Basically, I needed to add a special location for the .axd files in my nginx configuration. My final configuration is below; it also allows page methods to work. [CODE] | 0 | 0 | 801 | 2014-11-22T18:53:14.923 | infrastructure | serverfault.com | |
343,892 | Hyper-V Guest Connectivity Problems | I have one particular Hyper-V guest, one of 5 on this particular Hyper-V host, that can't seem to make any outgoing network connections. The guest is running Windows Server 2008 R2 SP1 and uses IIS 7.7 with the URL Rewrite module and Application Request Routing, so that the IIS server acts as a front end reverse proxy ... | Turning off the firewall made no difference. Eventually, I fixed the problem by taking the following steps: Shut down the VM removed the virtual NICs using the Hyper-V management console started the VM cleaned up some old phantom adapters shut down the VM re-added the virtual NICs in the management console Started teh ... | 0 | 1 | 1,829 | 2011-12-24T01:34:24.603 | infrastructure | serverfault.com | |
985,099 | 504 Gateway timeout cause 70007 on Apache 2.4 + mod_proxy Ubuntu 18.04 | I am tired of so many tries to fix 504 Gateway timeout from mod_proxy in Apache 2.4 using PHP-FPM. So i try to find a solution here. Actual i plan to migrate a Software from an old Apache Server to a new Ubuntu 18.04., 20 GB MySQL over 30 Million entries 98 tables, nothing big but sometimes slow. The script is running ... | By default, Apache uses the [CODE] directive that is configured to [CODE] seconds. To modify the timeout of proxied requests, you have to use [CODE] . For example: [CODE] More information in Apache documentation: https://httpd.apache.org/docs/2.4/en/mod/mod_proxy.html#proxytimeout | 0 | 1 | 5,189 | 2019-09-21T08:54:24.063 | database_errors | serverfault.com | |
191,759 | Mongo DB sharded cluster fails when one shard is down | I am using Mongo Sharded cluster with two shards. There was an issue on my one shard and and it was down for around 30 minutes. It stopped my writes to other shards also. Logically if one shard is down other shard must be able to take part of writes but allow rites got failed in that duration. Command failed with error... | You have understood concept cluster and sharding wrong or you are mixing it with ideas of replica set. If cluster misses part of it (shard(s)), it is not whole and cannot function. Replica set can function when minority of nodes are missing and that's why (sharded) cluster is normally made from replica sets. So, that e... | 0 | 0 | 2,276 | 2017-11-27T04:20:57.750 | database_errors | dba.stackexchange.com | |
313,702 | Prevent Spammers from using my SMTP Queue in Server 2003 | I am running Exchange on an installation of SBS 2003 and I have recently run into a problem where random spam queues began showing up in my SMTP queues. I was first alerted to it because my antivirus software was telling me my server was infected, but luckily I think it's just because the spam contains malicious attach... | It sounds like backscatter (NDR spam) to me, rather than your server being an open relay. Exchange Server 2003 by default is not an open relay. You can check whether or not your Exchange server is an open relay by using any number of online tests. You can help prevent backscatter spam in a few ways: Disable NDR's on yo... | 1 | 3 | 5,313 | 2011-09-21T00:37:48.897 | infrastructure | serverfault.com | |
11,825 | Industry Standard Process for Fraud/Outlier/Anomaly Detection | I want to write my thesis about Fraud Detection in ERP Databases. I'm looking for a Industry Standard Processs such as CRISP-DM for Data Mining Projects, in order to justify my approach in solving the issue of finding outliers/anomalies in the data set. Is there any established Standard Process which would be more suit... | Here's a great book on Fraud Analytics . It's quite comprehensive and has a detailed list of original research references and other textbooks at the end of each chapter. Fraud Analytics Using Descriptive, Predictive, and Social Network Techniques: A Guide to Data Science for Fraud Detection Bart Baesens, Veronique Van ... | 2 | 1 | 539 | 2016-05-18T10:54:15.507 | data_quality | datascience.stackexchange.com | |
646,167 | Why is fail2ban not banning this attack? | I have fail2ban installed to ban bruteforce attempts on the ssh password. There are business requirements for not disabling password authentication on this machine. fail2ban was installed using the same chef cookbook that effectively bans ssh attacks on other machines. There is an ssh jail configured: [CODE] Manually b... | The parameter [CODE] should be set to a path for a log file where the SSH attempts are going to be recorded in. So if that's [CODE] , then [CODE] is obviously incorrect. Change the [CODE] parameter to be the correct file. | 11 | 8 | 26,825 | 2014-11-21T19:09:50.020 | api_errors | serverfault.com | |
900,378 | Azure VM Nested Hyper-V VM Network Configuration | I'm trying to figure out how to share the internet connection from my [CODE] Azure VM to the VM's withing Hyper-V inside the [CODE] VM. I've added two network interfaces to the [CODE] Azure VM each with static IP's configured. Upon creating my Virtual Switch on Hyper-V i've associated the secondary NIC on the [CODE] ma... | To share Network from Hyper-V host to VMs do: Install Routing and Remote Access (RRAS) onto Hyper-V host. Make custom RRAS config, enabling only NAT and LAN Routing. Create Internal Hyper-V Switch. Configure its IPv4 settings filling IPv4 and Network Mask, and some DNS servers (8.8.8.8, 8.8.4.4). It will be used as Net... | 2 | 2 | 1,425 | 2018-03-07T04:04:45.757 | infrastructure | serverfault.com | |
593,544 | Postgresql replicas stuck in recovery (archive_command won't run on replicas) | We're currently running a master -> slave, slave, slave, slave set up using postgresql 9.2.8 with streaming and WAL-E/S3 for handling wal segments. Should all of the replicas currently be "in recovery"? Running SELECT pg_is_in_recovery(); on all of them returns true, which is concerning. We can run queries on them (ass... | Hopefully this still qualifies as an answer to your question, even though I've not solved your problem. Should all of the replicas currently be "in recovery"? Running SELECT pg_is_in_recovery(); on all of > them returns true, which is concerning. We can run queries on them This is normal. Your slave is in recovery of a... | 1 | 1 | 3,663 | 2014-05-07T01:51:00.653 | hadoop_errors | serverfault.com | |
116,474 | procinfo - trying to understand how data is collected | Edit: I'm thinking about marking this question as answered since I've realized that I was pretty confused by the fact that file sizes were zero. This caused me to have a brain fart and panic. After reading the answers below I realized that I've often read these files before but it never occurred to me to check their fi... | To answer the question about why files under proc show 0 byte size: Files under /proc aren't regular files, but simulated by the kernel. Their content can (and will change) constantly, so there's no useful notion of "file size" (as the size changes constantly). That is probably the reason why the sytem shows them as "s... | 1 | 2 | 491 | 2010-02-24T22:34:22.323 | infrastructure | serverfault.com | |
598,575 | Slowloris on Apache: is mod_reqtimeout + mod_qos enough? | I detected few days ago that my server was under slowloris attack (I found a lot of "-" 408 0 "-" "-" values in my access.log). I changed my configuration like this: In mod_reqtimeout: [CODE] I installed mod_qos and configured it like that: [CODE] Is it enough? Most of the available tutorial just leave the default valu... | Reading this bug report , I found out that it says you should not use the [CODE] option because: The connection cleanup takes too long. They recommend that you only use the [CODE] option (At least on Apache 2.4+, but since the [CODE] option was available before, there was probably no need for the QoS options on that on... | 4 | 0 | 2,423 | 2014-05-26T10:47:25.683 | infrastructure | serverfault.com | |
142,633 | AOAGs State Report | Some unwanted columns are produced while I run this script.How can I get rid of them ? Please let me know my misses and thanks. [CODE] | As it is now, your script overwrites the contents of the [CODE] output file at every iteration. If you want to append to the output file, move the Out-File call inside the loop and use the [CODE] parameter. | 1 | 2 | 56 | 2016-06-30T06:19:09.060 | warehouse_errors | dba.stackexchange.com | |
355,370 | Writing at the start of a file something you only know at the end | Background: I'm writing micro controller C code to write an EBML file. EBML is like a binary XML with nested elements, but instead of start and end tags, there is a start ID, length, and then the data. I am writing this into external Flash in a low power application, so I'd like to keep the flash accesses to a minimum.... | If you do not know how long your payload will be, that is rarely cause for worry even if you cannot remember the position and backfill the length later: Just note down "unknown size". That feature depends on the payload consisting of EBML-elements and the following element not being a valid child-element though. If you... | 9 | 2 | 541 | 2017-08-09T15:03:30.290 | api_errors | softwareengineering.stackexchange.com | |
526,885 | strongswan: entirely virtual subnet | I recently set up a strongswan IPSec VPN to access some non-public services of my home server from my android smartphone. I am using OpenVPN on some other devices for the same task, but chose strongswan for the phone, as IKEv2 is supposed (correct me if I am wrong) to be very resource friendly on mobile devices. The cu... | Note that opposed to OpenVPN, StrongSWAN is not intended to be used in this fashion - it does not create virtual interfaces and does not assign virtual IP addresses to both sides of the tunnel. What you definitely could do is adding the address 10.0.0.2 to one of your interfaces on the server side [CODE] and adding the... | 6 | 6 | 7,132 | 2013-07-28T16:35:15.237 | infrastructure | serverfault.com | |
882,863 | Slow speed between mounts on same shared disk | how i could fix problem with moving speed between two mounts of shared windows disk. CIFS/SMB share. i.e. i have shared disk //disk1 and mounted folders inside it on linux system [CODE] if i'm moving files inside folder1 between subfolders it moves files instantly. if i'm moving files from /mnt/folder1 to /mnt/folder2 ... | Yes, because now the data has to be transferred to the client and then back to the server instead of just moved on the server. This is inherent when you have multiple shares. To fix this, create a share that includes both [CODE] and [CODE] . | 0 | 1 | 378 | 2017-11-10T14:33:42.010 | infrastructure | serverfault.com | |
7,218 | What could be causing strange query timeouts between PHP and MySQL? | I am the senior developer on a Software-as-a-Service application used by many different customers. Our software runs on a cluster of Apache / PHP application servers, powered by a MySQL backend. On one particular instance of the software, the PHP code to query the list of category names is timing out when the customer ... | For general profiling of what exactly is going on in the query plan, you can try PROFILING It will basically help you determine where the hangup is. Of course, it only works if you've compiled MySQL with [CODE] . | 13 | 5 | 11,140 | 2011-10-25T15:49:26.817 | data_quality | dba.stackexchange.com | |
259,883 | Why does Scala have return but not break and continue | Scala does not have [CODE] or [CODE] , so some loop behavior takes a bit more of thinking. Ending a loop early requires tail recursion, exceptions, or [CODE] (which uses exceptions). The rationale for this is that, like [CODE] , they are flow constructs that obscure flow, and can be accomplished in better, less surpris... | Break and Continue: In a talk about Scala , Martin Odersky gave 3 reasons not to include break or continue on slide 22: They are a bit imperative; better use many smaller functions. Issues how to interact with closures. They are not needed! And he then says, "We can support them purely in the libraries." On slide 23, h... | 23 | 17 | 14,504 | 2014-10-13T15:04:58.500 | api_errors | softwareengineering.stackexchange.com | |
1,147,667 | Postfix spuriously checks SPF policy for authenticated, submitting mail clients | I am running Postfix 3.8.1 on Ubuntu 23.10. Postfix serves port 25 for incoming mail from other MTAs and port 587 for authenticated MUAs. Postfix is supposed to check SPF for mails from other MTAs on port 25, but not for mails from authenticated MUAs on port 587. However, Postfix spuriously does so for authenticated MU... | Checking SPF is only part of [CODE] which is not supposed to be applied to authenticated MUAs. This is a false assumption. The [CODE] would only do that if it was configured to permit authenticated MUAs before checking for the SPF policy, e.g., [CODE] Because... Restrictions are applied in the order as specified; the f... | 0 | 2 | 79 | 2023-11-11T14:47:58.367 | infrastructure | serverfault.com | |
384,025 | Bizarre Site Slowdown for Some Users with .htaccess Directive | To protect my website on a shared hosting plan, I added this to my .htaccess file: [CODE] I ran like that for an entire year without issue. I also know that it worked because some guy from Germany said, "Hey, I heard about your website, but I can't connect to it." So, I got to trusting him and poked a hole through for ... | Restricting by domain means that for every request apache needs to do a reverse DNS lookup. This is where the slowdown comes from. There is no simple workaround for this. Update: A workaround would be to implement geoip in your application in order to decide where a request comes from (see here ). With this your site w... | 0 | 2 | 359 | 2012-04-28T06:25:25.757 | infrastructure | serverfault.com | |
1,110,675 | How do I route all public traffic through Wireguard but not local traffic? | I know there's a series of CIDRs that I can use to cover all public CIDRs and leave out local CIDRs, but I cannot find this anywhere and I don't recall where I found it a couple of years ago when previously solving this problem. My goal is to have two configurations of the same Wireguard endpoint: one where ONLY traffi... | Found it in a comment on a Reddit thread. [CODE] needs to have the following list in addition to the CIDR block of your Wireguard configuration. In my case, I've prepended [CODE] to this list. [CODE] I also came across this neat CIDR block calculator tool that could have been helpful: https://www.procustodibus.com/blog... | 1 | 2 | 5,541 | 2022-09-14T02:37:25.487 | infrastructure | serverfault.com | |
241,373 | Algorithm for flattening overlapping ranges | I am looking for a nice way of flattening (splitting) a list of potentially-overlapping numeric ranges. The problem is very similar to that of this question: Fastest way to split overlapping date ranges , and many others. However, the ranges are not only integers, and I am looking for a decent algorithm that can be eas... | Walk from left to right, using a stack to keep track of what color you're on. Instead of a discrete map, use the 10 numbers in your dataset as the break-points. Starting with an empty stack, and setting [CODE] to 0, loop until we reach the end: If stack is empty: Look for the first color starting at or after [CODE] , a... | 19 | 11 | 10,845 | 2014-05-29T02:25:15.333 | data_quality | softwareengineering.stackexchange.com | |
934,866 | Unable to create new simple volume. C:\Windows\inf - Not default? | Windows Server 2008 R2. When I attempt to create a new "simple volume" in Disk Management (or even Diskpart ), the operations hangs and eventually end up with this error: However, before the error above appears, I noticed that in Device Manager appears an Unknown device (under Other Devices ), if I right-click on Unkno... | The answer is here: https://docs.microsoft.com/en-us/windows-hardware/drivers/install/where-setup-searches-for-drivers Somehow C:\Windows\inf was missing from the DevicePath key. | 0 | 0 | 155 | 2018-10-10T15:22:38.713 | infrastructure | serverfault.com | |
165,531 | Remove SID with ICACLS | I am trying to remove an obsolete SID (the account was apparently deleted). I've tried to run the following on the server (win2003) and a client (win7): [CODE] But I always get the output [CODE] without it doing anything. How can I get it to work? Update: I've used AccessEnum to get the SID because icacls only says "No... | My suggestion to another similar question "perhaps you're looking for SUBINACL. Download it here subinacl.exe /help /cleandeletedsidsfrom provides the following: /cleandeletedsidsfrom=domain[=dacl|sacl|owner|primarygroup|all] delete all ACEs containing deleted (no valid) Sids from DomainName You can specify which part ... | 5 | 2 | 12,341 | 2010-07-30T08:58:11.777 | infrastructure | serverfault.com | |
139,945 | Linked server to Availability Group Listener - is anyone successfully using one? | I edited the question hoping to check the basic stuff first. Does anyone have linked servers that successfully work with Availability Group listener? Have anyone heard of problems with linked servers? (My setup is SQL 2014 on windows 2012R2, sync mode, auto-failover, two replicas, listener with statis IP, same subnet, ... | After I reset all the settings and re-created the environment, the problem went away. So the problem was perhaps very specific to local situation and not general to a linked server to AAG. I appreciate all those who commented. | 2 | 1 | 2,374 | 2016-05-30T17:09:26.783 | database_errors | dba.stackexchange.com | |
5,990 | Bash Tokenization Errors on Jenkins JNLP Slave | Why might the below bash commands give me an error on a Jenkins JNLP slave in Kubernetes cluster? Each work on a local machine. Error: [CODE] [CODE] Error: [CODE] : [CODE] Environment Details JNLP Slave is using Dockerhub jenkins/jnlp-slave:latest Slave being ran with kubernetes plugin Jenkins v2.156 on master. Command... | I cannot say this is a the best answer so I do hope someone can provide a better clarification. It seems the default shell for [CODE] in Jenkins is Bourne. By updating the [CODE] with the correct shell this allows the below usage: [CODE] This doesn't resolve the the redirection error. Also I would think by updating the... | 2 | 1 | 194 | 2019-01-14T23:09:09.737 | pipeline_ops | devops.stackexchange.com | |
370,619 | How to synchronise application state with router state in Angular 2 | Is there a best practice approach in Angular2+ for making the URL the single source of truth for application state. EmberJs has Route Models, each segment of the URL can have a model and each URL segment model is resolved from left to right, so when resolving the model for a nested page, you can use the model from pare... | This is possible using Angular Route Resolvers. The setup is more involved than in Ember, but it works as requested. Example taken from: https://angular.io/api/router/Resolve First, create a route resolver: [CODE] Add the resolver to your route: [CODE] Get the data from the ActivatedRoute in your component: [CODE] To a... | 1 | 0 | 210 | 2018-05-08T14:08:40.050 | data_quality | softwareengineering.stackexchange.com | |
109,367 | Rackmountable box that has 5v PCI + PCI-X and supports Windows XP? | We have two 3rd party cards that we would like to install into a Rackmountable box. One card is a full-height & full-length 5volt PCI card, so we cannot put this into a PCI-X slot. The other card requires a PCI-X slot. It would be nice to have a PCIe slot or two for possible future upgrades. The real kicker is that thi... | Getting a server board with PCI 5v, PCI-X and PCIe is still possible (Intel currently produces a couple/few - the S5000VSA series boards). You'll probably have to approach a reputable/local Intel reseller and get them to work with you to build a custom server for you that implements one of these boards, especially if y... | 0 | 1 | 234 | 2010-02-03T23:37:50.890 | infrastructure | serverfault.com | |
599,625 | pam_tally2 causing unwanted lockouts with SCOM or Nervecenter | We use pam_tally2 in our system-auth config file which works fine for users. With services such as SCOM or Nervecenter it causes lockouts. Same behavior on RHEL5 and RHEL6 This is /etc/pam.d/nervecenter [CODE] and this is /etc/pam.d/system-auth [CODE] The login does work but it also triggers the pam_tally counter up un... | I found the problem. Reading through some of the bugs and issues https://bugzilla.redhat.com/show_bug.cgi?id=707660 http://www.redhat.com/archives/pam-list/2008-July/msg00017.html pam_tally2 needs to be specified for auth and account . This will reset its counter when the login was successful. Changing it to the follow... | 2 | 0 | 854 | 2014-05-30T06:50:47.470 | infrastructure | serverfault.com | |
393,102 | apache2 server logs - weird activity? | I was going through apache log, and I thought some of the access logs seemed suspicious... I'm not pro, just do server administration as hobby :) so I wonder if I should take some steps... [CODE] I'm not sure about the last one, but first three definitely looks like someone is probing for non existent software on my se... | This is pretty common behavior with any web server exposed to the internet. Hackers are scanning for vulnerabilities and open proxies. Check out fail2ban to block them and logwatch to monitor for anything out of the ordinary. | 0 | 1 | 2,252 | 2012-05-27T12:27:36.037 | infrastructure | serverfault.com | |
208,994 | How to script GPO in Windows computers without Active Directory? | Does anyone know how to script GPO for users in a Windows computer that is not on any Active Directory network? I can't use GPMC because it doesn't work without a domain. I have been searching the net for the last couple of hours and all the solutions that I find are related to GPMC. I'd imagine there are some objects ... | I'm assuming that you're setting things such as User Rights Assignment, Security Options, etc. Is that right? If so, you might try using the Security Configuration and Analysis console to configure the settings the way you want, then save and apply that configuration to the computers you want. | 0 | 1 | 888 | 2010-12-03T23:30:42.093 | infrastructure | serverfault.com | |
962,873 | curl bash script works fine in shell but not work in cronjob | I have a script using curl to do the job and set into crontabs. Things were fine on redhat 7.5+ or CentOS 7. But in redhat 7.2, the script turned into a junk and never output a thing from the curl results. [CODE] Result: the script runs normally under shell, but does not run in cronjob. The /tmp/curl.tmp is generated b... | I think it is environment issue, crontab uses /bin/sh as a default shell, sh does not understand double brackets, it is also possiblle that in newer versions of centos /bin/sh replaced by symlink to /bin/bash Try adding this line in the begining your crontab file: SHELL=/bin/bash | 0 | 0 | 3,853 | 2019-04-12T23:39:25.987 | infrastructure | serverfault.com | |
824,578 | How do I create a SSL certificate with LetsEncrypt with CertBot? "Could not install OS dependencies. Aborting bootstrap!" | LetsEncrypt says to use CertBot. I'm following the instructions here https://certbot.eff.org/#centos6-apache but it gives an error. [CODE] There doesn't appear to be any manual way to use it. CentOS release 6.8 (Final) | I think this will solve your problem with package management: [CODE] | 0 | 1 | 1,790 | 2017-01-06T03:22:57.347 | api_errors | serverfault.com | |
228,442 | Covering Index Changes Execution Plan but is not used | I have the following occasionally slow running query: [CODE] CustomerID is the Primary Key on the Customers table. The Customers table also has the following two non-clustered indexes: [CODE] When I run the query with both a surname and forename entered the query optimiser uses the index 'idx_Surname' as in the followi... | 1) Is the covering index required or is there a better way to improve the performance Best index The best index would be the most covering, selective index for the queries accessing the table. Take for example in your table, you have 50000 rows where the firstname = John , but only one where the last name = 'McClane', ... | 4 | 5 | 896 | 2019-01-30T12:45:23.080 | database_errors | dba.stackexchange.com | |
140,128 | Ola Hallengren backup failed | I have been using on my SQL Server 2008R2 server Ola Hallengren solutions for almost two years. Last night backups failed, both System databases and user databases with error below. Example of system databases error: Date and time: 2016-05-31 20:00:01 Command: DECLARE @ReturnCode int EXECUTE @ReturnCode = [master].dbo.... | You need to ensure the SQL Server Service Account has the required Access Control for the paths used for storing your backups. Check the SQL Server Accounts and Permissions page for details about what ACLs are required. See Configure File System Permissions for database engine access for details about how to change per... | 5 | 5 | 9,700 | 2016-06-01T14:47:21.320 | database_errors | dba.stackexchange.com | |
305,597 | Drawbacks of a master error handler? | I'm thinking that I could simplify my life by making an exception handling class that I can just ship all exceptions to and it will handle appropriately. Ideally: [CODE] To avoid [CODE] The Handler class would have all the logic to handle exception appropriately and you could pass some arguments to specify how to handl... | My conjecture is that if you feel a need for such a helper, you're probably catching too many exceptions in the first place. What useful action can you take on an exception? You either know the cause of the error from the context (that is, you expect the exception) and can provide a reasonable fall-back strategy, then ... | 4 | 4 | 230 | 2015-12-22T00:08:14.387 | api_errors | softwareengineering.stackexchange.com | |
152,085 | Help with Abstract Factory Pattern | I need help with a abstract factory pattern design. This question is a continuation of: Design help with parallel process I am really confused where I should be initializing all of the settings for each type of medium (ex: RS232, TCP/IP, etc). Attached is the drawing on how I am setting up the pattern: As shown, when a... | In this case, if the [CODE] constructor requires a [CODE] then the RS232 Factory , [CODE] as you have called it, will need to have that port already stored inside it: (sorry about the Java) [CODE] Now your usage of Communicator looks like this: [CODE] and your usages of that method will look like this: [CODE] When usin... | 6 | 5 | 431 | 2012-06-08T16:57:14.087 | api_errors | softwareengineering.stackexchange.com | |
237,684 | What is the fastest way to convert many nullable ints 1:1 to a binary string? | Part of my workload uses a CLR function that implements the spooky hash algorithm to compare rows to see if any column values have changed. The CLR function takes a binary string as an input, so I need a fast way to convert rows to a binary string. I expect to hash around 10 billion rows during the full workload so I'd... | What about using [CODE] and converting NULLs to something out of range for INTs: [CODE] | 14 | 6 | 467 | 2019-05-08T21:01:06.553 | warehouse_errors | dba.stackexchange.com | |
607,758 | mkdir is not working with sudo and shell option | One of the application trying to create directory failing with the below error on Linux machine: $ /usr/bin/sudo -su oracle /bin/sh -c '/bin/mkdir -p /u01/app/oracle/test12' /bin/mkdir: missing operand Try `/bin/mkdir --help' for more information. unix user has the sudo access on the oracle and which is working perfect... | Try simply (/bin/sh is not needed at all): [CODE] May be your problem is caused by qoutes handled too early. If so, it may be solved by escaping: \' | 1 | 0 | 2,550 | 2014-06-25T08:47:43.303 | database_errors | serverfault.com | |
297,130 | CRUD API: How do you specify which fields to update? | Let's say you have some kind of data structure, which is persisted in some kind of database. For simplicity, let's call this data structure [CODE] . You are now tasked to design a CRUD API, which allows other applications to create, read, update and delete [CODE] s. For simplicity, let's assume that this API is accesse... | If you don't have tracking of changes as requirement on this object (e.g. "User John changed name and birth date"), simplest would be to override whole object in DB with one you receive from consumer. This approach would involve slightly more data being send through wire, but you are avoiding read before update. If you... | 12 | 9 | 7,586 | 2015-09-13T10:58:02.667 | api_errors | softwareengineering.stackexchange.com | |
708,945 | Windows Server 2003 Directory Services Restore Mode Lock-Out | I've got a Windows Server 2003 R2 Standard machine. Against my advice, the company making use of this server made it do everything. Zero redundancy outside of some flat file backups. After months of hair-tearing one hour reboots on this machine, I finally convinced them to purchase brand new Server 2012 blades and bega... | You could use something like Hiren's Boot CD to reset the local administrator password (see this guide ). Once the password is reset (make sure you've saved your changes!), reboot in DSRM and log in as the local administrator with your new password. Edit: If you also need to reset your domain administrator password, yo... | 1 | 2 | 1,090 | 2015-07-28T03:52:06.403 | data_quality | serverfault.com | |
130,813 | MaxScale not correctly recognizing new topology when we failover to a new master | So I currently have an architecture where we have one master and one slave and read/write splitting in Maxscale. When we fail the slave, Maxscale correctly recognizes it and displays the information accordingly (and does not bring our website down), as well as allow both read and writes on the master. However, when we ... | Turns out the issue was that mysqlfailover was causing a conflict with maxscale. When the master would fail, mysqlfailover would automatically promote a new slave to master. However, when we did this it would cause a conflict with Maxscale (since it usually does it on its own), so it would lose track of which servers w... | 1 | 1 | 329 | 2016-02-29T16:06:20.580 | database_errors | dba.stackexchange.com | |
174,825 | Handling NULL in SQL Server | I am facing issue when trying to handle null. Here is example I have a table [CODE] Id column has [CODE] value. [CODE] Now when I execute different select statements, last two conditions are failing. I can use [CODE] to handle it but there are approx 500 SPs which I would need to change. So, I need solution apart from ... | Have a look at remarks on MS Docs about IS NULL : Remarks To determine whether an expression is NULL, use IS NULL or IS NOT NULL instead of comparison operators (such as = or !=). Comparison operators return UNKNOWN when either or both arguments are NULL. And at SET ANSI_NULLS MS Docs: SET ANSI_NULLS ON affects a compa... | 0 | 5 | 111 | 2017-05-29T12:28:58.943 | database_errors | dba.stackexchange.com | |
286,956 | Postgres index scan on large table taking a long time | I have a large table (~500M records, 85GB in size) on a PostgreSQL 10.10 database (AWS RDS instance). The records are created by a bunch of game simulations which insert "events" whenever they happen in the simulation. Here is a sample record: runnum time event_id event_type event_flag event_json area_id 154052 0 35353... | Index-only scans don't work on expressions in expressional indexes, the planner isn't smart enough. It thinks it will need the root column "event_json" to be in the index to use an index-only scan. If you want the index only scan on that table as it is, you would have to include the entire jsonb column in the index. Ba... | 0 | 2 | 1,315 | 2021-03-13T16:10:29.767 | api_errors | dba.stackexchange.com | |
829,414 | Max allocation of Ram | I am using 4 cloud servers with Centos 6 and 7 from a third-party and they are extended ram size up to 160 GB, But I need to extended 250 GB ,But they told in kvm couldn't extend more than 160. Is KVM architecture support maximum of 160 GB ram memory for each server? else is it support more than 160 GB? | No, it's not from the software side. The limit is 4000 GB in EL6/7. However, that doesn't mean that your provider can't set up a lower limit if they wish to do so. | 0 | 2 | 261 | 2017-01-30T13:02:39.920 | infrastructure | serverfault.com | |
174,436 | Azure Data Factory 'Failed Validation' with Folder does not exist | I uploaded whole set of [CODE] files in my blob storage with folder structure Year/Month/day. I circled the folder structure. Then in the pipeline I have following dataset created. [CODE] When I run the pipeline I am getting an error with folder does not exist. Question: What can I do to troubleshoot this further or fi... | I had wrong file extension. Error message was misleading. Instead of cannot find file I thought the error was about missing folder. I had to change this [CODE] To (change file extension from csv to txt) [CODE] | 2 | 2 | 2,832 | 2017-05-24T13:25:37.267 | data_quality | dba.stackexchange.com | |
1,044,977 | Cannot connect to port 5432 locally even though it is allowed by UFW | I'm trying to setup my server so that port 5432 (Postgres) is accessible only from localhost. So I've denied everything, and added back port 5432, however I cannot connect to it. Here is my UFW config: [CODE] And netstat: [CODE] Just to confirm it's really ufw that prevents the connection, since if I disable it it work... | From your netstat, we can see that there's only one mention of the port 5432 (namely, the tcp6 line listening on [CODE] . This shows us that your program is only listening on [CODE] . Your Firewall only allows [CODE] . There are two options, one is that you permit IPv6 address [CODE] (which is the [CODE] localhost equi... | 0 | 1 | 2,024 | 2020-12-04T13:52:14.763 | infrastructure | serverfault.com | |
599,225 | Dell Power Edge R515 - Replacing a Bad Hard Drive in a RAID | I've ordered a new hard drive to replace a bad one in a Dell Power Edge R515. The manual covers obvious topics regarding physical replacing of hard drives, but I've never done this before on a production server where RAID is involved. I've heard people talk about this topic, and I've heard that some servers have RAID c... | You pull out the bad drive and, put a new, working drive in its place. It's as easy as it sounds... just so long as you don't destroy your array by pulling out the wrong drive. If you want, you can proceed to check the disk controller utility (or whatever else you'd use, like iDRAC) to verify that the array is rebuildi... | 2 | 3 | 27,120 | 2014-05-28T20:40:25.763 | infrastructure | serverfault.com | |
264,550 | How to name tables which are responsible for storing dictionaries and configuration? | Below I attached diagram which corresponds to part of my database : My questions: In your opininon Do I have to divide [CODE] and [CODE] ? I did it like that because I would like to have separated IDs and Configuration columns. What do you think about name of these tables ? I mean Is it worth to have [CODE] and [CODE] ... | I would have 3 tables "Service", "ServiceInstance", and "Node". 1-1 relationships are generally best collapsed into a single table, and there's no reason to decorate your lookup tables with a a prefix. | 0 | 1 | 334 | 2020-04-08T06:30:21.180 | warehouse_errors | dba.stackexchange.com |