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 |
|---|---|---|---|---|---|---|---|---|---|---|
8,402 | What is the most common server permission policy for web application deployment? | I have a server with Ubuntu with a web server (Apache or Nginx) running a PHP application. The application consists of the following parts: An executable code that handles HTTP requests (say in the [CODE] directory) A configuration (say the [CODE] file) A file storage where the application puts its data (caches, upload... | According to the Nginx docs you can configure the user which runs Nginx. By default the user is [CODE] . You can read this Ask Ubuntu question that explains how to configure Apache2 to run as a different user. The default user running Apache2 is [CODE] . A common strategy, and one I think may work for your goal, is to ... | 0 | 1 | 364 | 2019-06-17T02:45:12.917 | pipeline_ops | devops.stackexchange.com | |
579,989 | 403 error from 403 ErrorDocument | I've the following configuration script in my Apache 2.4.7 installation: [CODE] And, I'm receiving this error when I try to view a page using one of the blocked IP addresses: Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Since I want to serve two kinds o... | For this error : Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. You're protecting /www directory. As the 403 file is also in this directory it isn't served as access to this content is forbidden to user. You need to put your 403 page in it's own directory... | 1 | 2 | 4,854 | 2014-03-05T13:53:28.140 | api_errors | serverfault.com | |
547,393 | nginx + php fpm -> 404 php pages - file not found | [CODE] } php-fpm config is default and is not touched. The problem is little strange for me. Error pages are showing File not found only if they are .php files. Other error files are clearly calling the 404.php file site.com/test => calls 404.php site.com/test.php => File not found. I am searching and making changes. b... | [CODE] it solved the problem | 4 | 3 | 18,003 | 2013-10-20T20:26:37.487 | infrastructure | serverfault.com | |
300,723 | Is it possible to create custom HTTP errors? | Well this thing has came to my head now, and can't find any info. I would like to know if it's possible to create custom HTTP errors, no custom pages, like 404 pages, I mean error codes. The idea came when I saw Slackware's Connie server although that may be a simple index page. Well that was my question, thanks :) | RFC 2616 describes all possible status and error codes. Everything else is not defined. And if it is not defined in the documentation how should a server and client react when they see such errors? | 0 | 0 | 112 | 2011-08-13T09:49:09.530 | api_errors | serverfault.com | |
252,067 | Mariadb/MyISAM: Incompatible key or row definition between the MariaDB .frm file and the information in the storage engine. You have to dump an | We have a db with around 150 tables in, of which about 30 or so are partitioned as such : [CODE] We've been automatically partitioning these tables on a monthly basis for around 3 years now without any issue. Recently on 1 of the tables, after a partitioning exercise (with no errors/warnings reported) we see this : Got... | Try the following: First check for all running queries and possible Connections your table might use. You can do this by [CODE] which gives you all running queries/Connections. You can terminate a query/Connection by [CODE] After that repair your table [CODE] Try to run this more than once until your Status Returns as ... | 0 | 0 | 1,659 | 2019-10-28T12:37:35.050 | data_quality | dba.stackexchange.com | |
216,370 | Steps involved in configuring SQL Server and its components after server is renamed | I have a cloned (duplicate) server with SQL Server on it and the server name had to obviously change once it was copied. This article describes two actions to perform: using below code to manually rename SQL Server: [CODE] some changes in SSRS. My questions are: are there other things I need to consider/change? Despite... | You've noted that your setup doesn't use mirroring, failover clustering, replication, etc, so it sounds like you've done everything you need to do inside SQL Server. If you are changing the name of the this server as part of replacing an old decommissioned server, you'll need to ensure the logins from the old server ar... | 3 | 1 | 73 | 2018-08-31T04:08:52.237 | bi_errors | dba.stackexchange.com | |
943,466 | Edit fstab on unmounted device | I tried to add swapfile to the root file system on AWS EC2 instance. Did I made a mistake during the edit of fstab? [CODE] I have edited /etc/fstab [CODE] Swap worked fine but after reboot, a system doesn't work. I have decided to attach device to another instance and remove a line in fstab, but it can't be mounted on ... | It looks like you were able to pull that console output using a CLI command. Unfortunately unless you are running your root filesystem device with Elastic Block Storage as an EBS-backed volume, there is no way to recover your root filesystem (which you will have to mount to actually modify /etc/fstab). If this is an in... | -3 | 1 | 414 | 2018-12-08T19:49:57.453 | infrastructure | serverfault.com | |
146,067 | sql server permissions | Hi How can I set permissions againt existing windows groups in sql server 2005 | Expand the Security in Management studio, Right click on Logins and select new, Hit the Search button next to Login Name, hit the Advanced button Click on Find now Your Groups/logins will appear in the search results. Select Groups/Logins close all open dialogs by clicking ok Now you have a login Associate the login / ... | 0 | 0 | 57 | 2010-05-27T11:05:44.130 | database_errors | serverfault.com | |
400,228 | HylaFax - Get status of a job | I am trying to write a front-end for sending faxes in PHP . I want to know how can I get the status of a fax job. When the user sent a fax, how can I report the status of the job to the user ? In case when the destination line was busy, unreachable, etc. Is there any log file or a command that contains the status of a ... | I know about faxstat -d, but it's a report for all jobs and i can't fetch that on php side. Sure you can. You have a couple options: system and exec . Use one of those to run the faxstat command in combination with grep, and you should be able to get the data you want. Alternatively, suck in all of faxstat's output int... | 4 | 3 | 5,824 | 2012-06-19T17:37:53.597 | api_errors | serverfault.com | |
623,954 | Restore LDAP data from copied files | My server has broken and I had to urgently put it up again. I needed to reinstall the system and, since I was time constrained, I lazily just copied the directories I considered necessary ( [CODE] , [CODE] , [CODE] and [CODE] ) with [CODE] to an external disk and formatted the system. Now, I need to restore my LDAP con... | I just completed my restore of openldap on ubuntu14.04 from files from ubuntu 12.04 restore your files for these two dirs. be sure to backup the current contents before. [CODE] | 0 | 0 | 1,187 | 2014-08-26T00:05:45.733 | database_errors | serverfault.com | |
510,614 | How safe is it to protect an ssh key without passphrase using the "command" option in the authorized_keys file? | There are times where using ssh keys with empty passphrase is highly desirable (backups, ...). The well-known problem is that such keys are safe only to the point they are kept from untrusted hands. Yet, in the case they would be compromised, those keys may be further protected from doing too much harm by prepending so... | Actually, gitolite use the same method to authenticate the user (identify the user base on the SSH key used) and restrict what the user could run (effectively only the command which starts gitolite). gitolite is used by kernel.org for access control their git repo, so I think that method should be quite reliable. 1 | 5 | 3 | 1,865 | 2013-05-24T14:39:42.760 | database_errors | serverfault.com | |
53,545 | Cannot get my slave - replication server to start | My replication server will not start. I have followed the instructions here: http://opensourcedbms.com/dbms/setup-replication-with-postgres-9-2-on-centos-6redhat-el6fedora/ As well as several other places including the Postgres Wiki as they all have the same information. Here is what happens: I do a full backup of the ... | Steps to set up the hot standby First, determine the mount points of the Postgresql data directories and the [CODE] (Write Ahead Log) directories. For performance, the [CODE] and [CODE] directories should be on separate volumes. In the examples below, they are defined as follows: $PGDATA is the "master" cluster, locate... | 5 | 18 | 17,459 | 2013-11-19T00:49:07.940 | database_errors | dba.stackexchange.com | |
103,294 | Which tool to use for creating application releases? | I'm wondering what others use as a tool for creating the final package to hand over to the customer. For now, these are the tasks it should perform for our company: build a set of VS projects (C#,C++); which set depends on configuration on commandline of preferrably in a file copy some of the outputs (dll,exe) and head... | Why not use MS Build ? It's totally integrated and it has been created for such tasks. I also recommend you the following reading: and | 2 | 5 | 188 | 2011-08-24T10:07:42.667 | api_errors | softwareengineering.stackexchange.com | |
203,790 | Is it good practice on server/client systems to automatically install updates? | I'm working on an automated update system for a legacy server/client software package written in Delphi. The way I'm designing it is so the client's (customer's) server machine runs a service which... periodically checks online for new versions automatically downloads files hosts latest version information for all clie... | I would say that giving the sysadmin control over when the update is applied is the best way - this means that an admin can delay updating if he's working at a critical time (say, over christmas) when demand is likely to be high and staff availability low, and also the potential for a screwup to be really damaging is m... | 0 | 2 | 1,666 | 2013-07-05T07:31:22.127 | database_errors | softwareengineering.stackexchange.com | |
728,034 | how to force ansible to use http + kerberos (error WINRM CONNECTION ERROR: 401 Unauthorized.) | I am configuring ansible (CentOS 6.7) to connnect to windows machine using http, winRM and kerberos From the [CODE] file [CODE] I have set host specific yaml file [CODE] Then, following command [CODE] errors with following [CODE] Ansible tried to http, got 401 error. How can I fix it? | If you have installed the kerberos module and ansible_user contains @ (e.g. username@realm), Ansible will first attempt Kerberos authentication. This method uses the principal you are authenticated to Kerberos with on the control machine and not [CODE] . If that fails, either because you are not signed into Kerberos on... | 2 | 2 | 7,983 | 2015-10-10T04:12:45.133 | pipeline_ops | serverfault.com | |
994,785 | Make NGINX verify upstream SSL certificate against a custom domain? | I have a custom-managed domain when inside my corporate's intranet it resolves to an internal gateway machine, and when outside the intranet it resolves to Cloudflare. There's a website we want to provide access to both the intranet and the internet, so I have configured Nginx on the gateway as follows: [CODE] The prob... | Looks like [CODE] is what you are looking for. From the documentation : [CODE] | 2 | 1 | 3,357 | 2019-12-08T14:18:46.410 | api_errors | serverfault.com | |
54,852 | Does adding Hyper-V role affect host server performance when no guests are running? | I ask because in the architecture diagram on wikipedia, it indicates the "host" OS (root partition) is on a par with the "guest" (child partition), with Hyper-V components below all of them. http://en.wikipedia.org/wiki/Hyper-V If that is the case then the host OS is itself being virtualized, so will suffer from that o... | Ok, just to add to this with some REAL WORLD information. I ran (I say ran as have not tested under SP2 or the new R2) 2k8 and HyperV on my laptop fully patched to the latest Required & Recommended updates. Disabling HyperV via boot and also registry I was able to confirm that running HyperV does affect your machine pe... | 3 | 3 | 2,889 | 2009-08-17T04:53:57.480 | infrastructure | serverfault.com | |
575,420 | Disable system info at ssh login | How to disable system info at ssh login: [CODE] I think this is big problem. I would like to know system info only after password verification . | @rjgonza was correct. Make sure you specify Banner none in your /etc/ssh/sshd_config. Furthermore, if you're not seeing the system info after the password is accepted, make sure that you have the configuration statement "PrintMotd yes" in that same file. Don't forget to restart the sshd service after you modify the con... | 2 | 1 | 3,093 | 2014-02-13T18:38:06.013 | infrastructure | serverfault.com | |
260,814 | mongodump command with timestamp query | When I execute the below query in mongodb shell, it gives me the number of records updated after the mentioned timestamp. [CODE] I wish to execute a similar query with mongodump command. Below is how I'm trying to do it. [CODE] The above command doesn't work and throws the below mentioned error. [CODE] Which seems vali... | I was able to achieve what I wanted by the suggestions given in the comments by @WernfriedDomscheit and @prasad_ Now my mongodump command is as below [CODE] "TIMESTAMP_LAST_OPLOG_ENTRY" and "INC_NUMBER_LAST_OPLOG_ENTRY" are being fetched from the previous '.bson' file. Thanks, Rahul Paryani | 1 | 0 | 3,870 | 2020-02-28T10:43:15.887 | database_errors | dba.stackexchange.com | |
234,538 | PostgreSQL failsafe start after disk crash | We use PostgreSQL to store logs. A disk crashed and some files in the file system were corrupt. I read this: https://wiki.postgresql.org/wiki/Corruption But this page does not solve my needs. I don't care if some transactions got lost. I care for availability. Above page suggests "Consider contacting a professional sup... | Among the options you give, the first is the only feasible one. But neither one of them is very good. The only good solutions is to prevent it from happening. If your disks randomly eat your data, maybe next time it will be the postgres binaries that get eaten, or the kernel itself, or the init script you wrote to re-i... | 0 | 1 | 204 | 2019-04-11T08:28:44.207 | database_errors | dba.stackexchange.com | |
560,765 | Missing hard drive on df -H command on Centos 6.4 | I have 2*1000GB hard drives + 60GB SSD. When I'm running [CODE] I'm getting "wrong" information about the server's hard drives. The output [CODE] Thanks! | [CODE] is for filesystems, not disks. As skohrs says, you'll want to use something like [CODE] to deal with disks directly. | 0 | 2 | 681 | 2013-12-11T20:51:26.730 | infrastructure | serverfault.com | |
115,886 | Can I use clustering after classification to improve the performance of my classifier? | Say I have a classifier that segments my feature vectors (e.g. representing applicants) into 3 distinct segments A, B, C by assigning each applicant a score between 0 (worst) and 1 (best) with e.g. a logistic regression trained on historical data (ground-truth labels: 1 = great, 0 = bad) and then applying 2 thresholds ... | The problem with using clustering like this is that there is no guarantee the clusters found have any relation to the target variable. If the clusters are based on common features that are not relevant for the classification task, then the target class of the "B"'s in your "good" clusters would probably be random. If y... | 0 | 0 | 40 | 2022-11-04T14:44:49.643 | data_quality | datascience.stackexchange.com | |
74,309 | how to optimize grouped select from an already grouped select query | I already had a specific query to get a number of shops, but I couldn't sum the cost field, I kept on getting an error on the sum function, but it worked when I did this; [CODE] I'm not really good at all at sql; Is there a better way to write this query? descr of shop table; [CODE] description of the clicktracker tabl... | Simpler, just remove the click_value from the inner group and SUM it. No need for the outer sum: [CODE] just something extra, you have "shop_name" and id on the Shop table. Check if you really need the shop_name in your clicktracker table or if it is redundant. | 0 | 0 | 48 | 2014-08-19T07:50:57.443 | warehouse_errors | dba.stackexchange.com | |
306,936 | SUSE box hangs possibly due to Reiserfs partition issue | I've got a SUSE box with 8GB RAM and Reiserfs filesystem which has been running smoothly for over 4 years with no o/s and h/w related problems. The box serves a couple of (database driven) sites of low to moderate traffic which incurs low i/o, cpu and memory utilization. Recently the machine hanged 3 times in the time ... | Sounds like you have a bad hard drive (or more). If a bad-sector is found on the disk during regular use... the system immediately tries to do a recovery of the data and marks the disk as unclean. Being 4-years-old or-so it could very well be having disk problems. Most desktop-flavored disk drives only have a 1 or 3-ye... | 1 | 2 | 817 | 2011-08-31T18:13:41.733 | infrastructure | serverfault.com | |
208,277 | Not able to redirect domain … | I have taken domain www.exampledomoain.com and www.sampledomain.com on Debian server server. on first domain [www.exampledomoain.com] i am running one application on port 80 now i i have install new second app for witch i want to use second domain [www.sampledomain.com] ,now second app is running on port 8080 so curren... | If your domain registrar allows them in the DNS settings, I think you should be able to do this using a SRV record . I have used SRV records with no-ip.com to do the same thing with a home-hosted site. | 0 | 0 | 78 | 2010-12-02T11:25:44.273 | infrastructure | serverfault.com | |
139,045 | SQL Server memory usage alert script | We have a production server with 500GB RAM. max server memory is set to 450GB. Whenever we checked the memory usage it's showing 450GB, but maybe SQL Server reached 450GB for some time? The memory is not released and it will be used whenever it is needed in future. So we have a free space for utilizing by SQL Server wh... | As JamesZ mentioned, the memory is intended for the SQL Server to use, particularly for the data cache. Therefore SQL Server will attempt to use everything that has been made available to the SQL Server process. (Plus some operating overhead.) If you are concerned about reserving memory for Windows Operating System and... | 2 | 2 | 1,880 | 2016-05-19T18:25:04.413 | api_errors | dba.stackexchange.com | |
336,168 | Routing List Empty, and cant add using SQL either | Question: Why is my routing list empty? I have removed the secondary from the AG and re-added back, everything is healthy and synchronized. lets assume for the example that server1 is currently the primary. What can I check or try to troubleshoot? This works fine in our development environment but not in others. (Last ... | Why is my routing list empty? Looks like it wasn't configured. In your screenshot below, there is no read-only routing url specified so you won't be able to add that to the list. Put in a correct read-only routing URL for each instance and you'll be able to manipulate the routing list. | 0 | 1 | 18 | 2024-02-23T02:12:06.860 | warehouse_errors | dba.stackexchange.com | |
532,993 | Postfix- Mapping an email address to two different destinations | I am using "virtual Domains" in Postfix as I don't want to setup a Unix user for each email. In some cases I wanted to forward the email to more than 1 recipient, so I inserted in [CODE] these 2 entries for the same email address: [CODE] But Postfix only sent the email to the first email address (forward1@domain.com) S... | Yes, this is the correct way. See [CODE] and [CODE] for more info. | 1 | 4 | 403 | 2013-08-22T15:45:11.223 | infrastructure | serverfault.com | |
267,650 | BUGCODE_USB_DRIVER installing windows server 2008 r2 | I am trying to install windows server 2008 r2 onto my server which is hp prolient dl380 g5. i first use the hp smart disk followed by the windows cd every time i get near the end of the windows installation i get a blue screen saying BUGCODE_USB_DRIVER then the server restarts and my installation cannot complete. i hav... | Not entirely sure what function you're using SmartStart for but my general sequence when building by hand is; Boot from LATEST SmartStart and update all firmware Install base generic W2K8R2 code Install LATEST Proliant Support Pack If you're following this flow and don't have anything odd plugged into your USB ports ye... | 1 | 2 | 4,049 | 2011-05-09T09:11:42.753 | infrastructure | serverfault.com | |
978,823 | Neep help in properly setting up load balancer and googl cloud cdn | I tried to set up google cloud cdn for my server on google compute engine. I have done everything correct but images on my server are not getting cached. cache hit ratio is n/a. in logs, i am getting 200 status code for http://(ip address)/poweredby.png. So i am assuming fronend ip is not hitting my server but somewher... | There are a couple things going on here which are causing you issues, to begin with, the server object you are attempting to cache the image from is not on Google’s network: IP 47.78.15.243 is held by Alibaba . With Cloud CDN, not all HTTP responses are cacheable. Cloud CDN caches only those responses that meet certain... | -1 | 1 | 106 | 2019-08-11T21:16:40.240 | api_errors | serverfault.com | |
773,405 | I have to choose between IBM X3650 M4 and HP DL380pG8. What to consider? | I have to choose between IBM X3650 M4 and HP DL380pG8 servers. Both are 6-cores Xeon e5-2620 with 64 Mb of RAM and the same price. What factors should I consider to make a choice between them? They seems to be the same in performance. What to take? | Ease of management, cost, user mindshare and supportability. Nobody really focuses on IBM server hardware these days, as they've exited the Intel server market. However, there's lots of HP information and knowledge out there. On paper, the servers will perform the same because they use the same chipset and have similar... | 0 | 3 | 152 | 2016-04-27T20:37:58.190 | infrastructure | serverfault.com | |
1,019,141 | Domain Double Pointing | I have one main domain [CODE] ; About 100 domains's CNAME are pointing to that main domain. [CODE] All domains will show basicdomain.com contents. I am using AWS S3 for assets storage and I set [CODE] 's CNAME to point to [CODE] . So when I hit [CODE] it is showing AWS S3 's image [CODE] . And for other urls in [CODE] ... | CNAMEs can be very tricky to use because AWS' setup is a bit different. The preferred way is to use aliases and A names. Change one of your domains to an A record and test if that works. Try not to use CNAMEs on AWS. | -2 | 0 | 34 | 2020-05-29T08:25:14.880 | infrastructure | serverfault.com | |
560,904 | Memcached with SASL: Couldn't find mech PLAIN | I'm trying to get memcached working with SASL. I'm compiling memcached and libevent from source. These are the steps I took (both under root and a user, same result): Having these packages: [CODE] - [CODE] appending: [CODE] - [CODE] insert: [CODE] - [CODE] Now I try to login (using a php script) [CODE] I can't figure o... | I was facing same issue. After debugging with multiple option solved it by installing below package. cyrus-sasl-plain [CODE] Post this, it started working fine. | 3 | 1 | 1,265 | 2013-12-12T12:58:18.547 | infrastructure | serverfault.com | |
409,546 | Can't access my main domain ("Couldn't resolve host") | I have a domain ( bydorian.com ) and today I tried to remove the [CODE] at the beginning. But now the sub-domain works (www.bydorian.com) but not the main domain (bydorian.com). The curl response is : [CODE] Here is the important part of my zone file : [CODE] And my virtualhosts : [CODE] | You need a plain [CODE] line too, because [CODE] only maches to subdomains. | 0 | 3 | 429 | 2012-07-20T09:25:34.190 | infrastructure | serverfault.com | |
164,288 | Standby logshipping fails when user is doing read operations on the database | I have a SQLSERVER 2008 instance with a standby configuration using log shipping. The production server runs a LSBACKUP job every 30 minutes, ships it to the standby server and the standby will then LSRESTORE the shipped log. The issue I'm having is the LSRESTORE job will fail if any user sessions are accessing the dat... | When you use secondary database for query processing , you have to check database users disconnected when transaction log backups are being restored. | 0 | 2 | 578 | 2017-02-14T15:19:09.050 | database_errors | dba.stackexchange.com | |
332,715 | Where to get the error/info logs of what happens when committing several statements? | I had a problem with an index missing on a table and the only way I had to gather clues was this way: [CODE] In DBeaver, I selected only the first line and the subsequent deletes, executed that. Then, selected the commit line, executed that and waited until I felt that this is taking too long. Then DBeaver gave me this... | The strange statement you see was run from a trigger that implements foreign key constraints in PostgreSQL. There are two ways to get data about these statements: If you set [CODE] and [CODE] and restart PostgreSQL, pg_stat_statements will collect statistics about these "hidden" statements as well. You can view these d... | 2 | 1 | 172 | 2023-11-01T21:11:29.673 | data_quality | dba.stackexchange.com | |
167,699 | What does using (vec col) or (vector arg1 & args) cost? | I am working through some Lisp exercises using Clojure. If I were to convert Lisp lists to Clojure vectors, solving some of the problems would be simpler, so here is my question: Does using [CODE] or [CODE] cost a lot in terms of time and/or processing? Does using either function cause a meta state change, or are the v... | Both functions return a new vector for you. vec expect a [CODE] parameter that will be converted to a vector vector expect args to create a new vector. Bellow the excecution time for each one: [CODE] [CODE] [CODE] [CODE] | 3 | 2 | 1,397 | 2012-10-05T22:12:12.623 | api_errors | softwareengineering.stackexchange.com | |
209,892 | Do we need even more web frameworks in C# now that async await is here | Developing endless frameworks for web application, websites and web services is always great fun. It's one of the richest areas where you have 100 different ways of achieving pretty much the same thing. Even with all this abundance, I've recently managed to find myself missing a web framework in C#. I feel that the new... | "Goodbye JS"... Really? C# is a server-side language. The appearance of [CODE] in C# is not going to affect client-side languages and frameworks like Javascript at all (except that calls Javascript makes to the server will return faster). "Does this new era call for a new generation of web frameworks?" The beauty of [C... | 0 | 6 | 1,563 | 2013-08-30T02:57:04.083 | api_errors | softwareengineering.stackexchange.com | |
46,247 | SQL Server Instance Version | I'm working with a SQL Server with several instances. Four of my instances are at 10.50.2811.0 and the remaining two are at 10.50.1765.0 I've tried running SQL Server 2008 R2 SP1 and CU 6 to get it updated but the installer wont run. I receive the error: To continue, select a feature to install. If all features are alr... | Basically, you have to install SP1 and then CU6 (as mentioned in my comment) 10.50.2811 ==> 2679367 Cumulative update package 6 (CU6) for SQL Server 2008 R2 Service Pack 1 10.50.1765 ==> 2489376 Cumulative update package 6 (CU6) for SQL Server 2008 R2 note this is for RTM | 0 | 2 | 116 | 2013-07-12T13:05:24.847 | database_errors | dba.stackexchange.com | |
394,983 | Nginx Proxying to Multiple IP Addresses for CMS' Website Preview | First-time poster, so bear with me. I'm relatively new to Nginx, but have managed to figure out what I've needed... until now. Nginx v1.0.15 is proxying to PHP-FPM v.5.3.10, which is listening at [CODE] . [Knock on wood] everything has been running smoothly in terms of hosting our CMS and many websites. Now, we've deve... | For anyone that may stumble across this, the solutions was the following Nginx configuration: [CODE] The trick, and I think @MarkStosberg was alluding to this and I didn't understand, was to lookup both hostname and IP address for the previewed website. Further, the server blocks for each virtual host had to contain [C... | 2 | 0 | 3,246 | 2012-06-02T16:37:21.653 | api_errors | serverfault.com | |
990,741 | GPO Password Policy Only Partially Applied | We are trying to modify our existing password policy that is being applied via GPO. For some reason it is not applying any of the settings in the password policy section (Comp Config > Policies > Windows settings > Security Settings > Account Policies > Password Policy). We have password settings defined in only one of... | So I called MS support and they had me use the Set-ADDefaultDomainPasswordPolicy cmdlet. I didn't want to use this previously because I didn't know what to plug into the -Identity parameter. Turns out I should use our domain object (our xyz.com) and this says it set correctly. One note that we made is that the age para... | 2 | 0 | 992 | 2019-11-05T23:03:15.693 | infrastructure | serverfault.com | |
25,338 | Left or Right swipe not working in appium for android application | I'm trying to swipe right to left from the first content(there is no content at left hand side) or Left to Right So far I'm using below, but it's not working. [CODE] Error log: org.openqa.selenium.WebDriverException: Not yet implemented. Please help us: http://appium.io/get-involved.html1 (WARNING: The server did not p... | Ans found on Appium discussion: https://discuss.appium.io/t/left-or-right-swipe-not-working-in-appium-for-android-app/14515/4 [CODE] Call it By: [CODE] | 0 | 0 | 1,877 | 2017-02-06T12:47:00.237 | data_quality | sqa.stackexchange.com | |
351,373 | linux + Informix cant startup + external EMC storage | I have Linux machine with Informix DB from the Informix log I see the following please advice what could be the problem ( my Informix cant startup ) [CODE] | [CODE] This means /tmp has 777 as a permission bits. You could ignore this , just make sure sticky bit is set for /tmp. [CODE] As for this one, please check if the port in question(informix DB port) is already used or not via this command [CODE] It will show the port occupied with details showing pid and program name i... | 0 | 0 | 449 | 2012-01-19T05:48:48.353 | infrastructure | serverfault.com | |
274,759 | Adding permanent objects to a vector | I'm relatively new to C++ (coming from Java) and I've got a little problem regarding lifetime of objects. My situation is like this: I'm having a class A in which I'm trying to add elements to an vector in class B. This vector itself shall hold objects (not pointers) of class C. However, since the objects are created i... | You need to use a smart pointer to own them. Which one you choose and how you manage their lifetime depends on your application. The most common one is [CODE] but there's also [CODE] and a couple others if you have a more specialist need. Do not ever use [CODE] and [CODE] to manage their lifetime. Only use [CODE] if yo... | 0 | 0 | 315 | 2015-02-28T11:36:12.480 | api_errors | softwareengineering.stackexchange.com | |
78,498 | BACKUP failed to complete the command BACKUP DATABASE | Not sure if this is a false-positive issue or not, but I need quell my curiosity about it. I get the following error message: Error: 3041, Severity: 16, State: 1. BACKUP failed to complete the command BACKUP DATABASE DBApp. Check the backup application log for detailed messages. I get this error fairly often, but here ... | Looks to be a post-completion check failure as there is no evidence elsewhere stating otherwise. | 2 | 0 | 10,517 | 2014-10-06T18:02:59.297 | database_errors | dba.stackexchange.com | |
167,166 | How to avoid intermittent "duplicate entry" error on slave when replicating mysql.time_zone_transition? | Rarely, but intermittently, MariaDB 5.5 fails to replicate the timezone tables onto a completely new replica (instance creation is all automated, so there's no room for missing/changed steps). We never change these internal tables, so how can this happen? Example result (formatted for readability): [CODE] | I am not aware of any automatic method inserting data to those tables? Maybe you are trying to load data to a table that already contains them? Which OS are you? Maybe the operating system is doing it without telling you. Maybe someone setup a cron doing on the master: [CODE] https://mariadb.com/kb/en/mariadb/mysql_tzi... | 1 | 1 | 463 | 2017-03-14T17:18:52.343 | database_errors | dba.stackexchange.com | |
1,155,778 | How to recover if a disk with OS on dedicated server fails? | Dedicated server on a private cloud that consists of four disks. One of the disks contains the operating system (OS). If the disk fails, the server will not start, and we cannot extract data from the other disks in a simple way. Even if the disk is mounted as read-only, we still have to reinstall the OS, which requires... | Your question is somewhat vague, predicated on a bad setup and appears to be hypothetical. We pre-empt the issue by NOT using a single disk for the OS If the issue did occur (or if the OS is on RAID and RAID device failed / disk controller failed) then the next step for most people would be to use the remote console fa... | 0 | 0 | 50 | 2024-03-06T11:25:35.083 | infrastructure | serverfault.com | |
6,789 | Copy database schema from SQL Server 2008 to SQL Server 2005 | Possible Duplicate: Downgrading from SQL Server 2008 to 2005 Is it possible to copy the database schema from SQL Server 2008 to SQL Server 2005, I don't need data from the tables, just the empty database structure with triggers, stored procedures, ... | If you aren't using any SQL2008+ only features (e.g. compression) you will be able to script out the objects you require and execute in SQL2005. If you're not sure if any SQL2008+ features are in use, trial and error (script and execute, see what happens) will soon tell you where the problems are. This is very differen... | 1 | 2 | 294 | 2011-10-13T15:30:40.967 | database_errors | dba.stackexchange.com | |
247,273 | How can I maintain the dateonly field | Hello I have a table in Postgres and one of the fields is type Date with the format [CODE] and I'm transferring this table into a SQLite one BUT in this SQLite I'm getting this field as Date with this format [CODE] and I don't want that I just want it to be as in the Postgres table [CODE] this is the DDL of the Postgre... | SQLite only supports some datatypes, and DATE is not one of them ( https://sqlite.org/datatype3.html ). [CODE] | 0 | 0 | 53 | 2019-09-08T00:17:19.507 | warehouse_errors | dba.stackexchange.com | |
588,218 | Change apache (PHP) $PATH environment variable on CentOS with cPanel | I need to add a path to $PATH environment variable for PHP scripts on CentOS linux server with cPanel Pro 1.0 and Apache 2.2.27. For Ubuntu or SuSE it just means adding the row [CODE] to [CODE] , but this file is missing in sysconfig on CentOS with cPanel (and, of course, script [CODE] is not looking for it). Is it any... | It actually was combination of 3 things: Installation must be mod_php Then the config file on CentOS with cPanel is [CODE] ; and usual [CODE] works just fine here You need to stop/start httpd service, simple restart will not change the environmental variables Thanks for help! | 1 | 2 | 7,780 | 2014-04-10T20:49:41.920 | infrastructure | serverfault.com | |
573,823 | Unable to access SBS 2008 internal Web Sites from inside LAN | I have just completed a network migration from a consumer modem/router to Cisco 887VA and all seems to be up and running aside from some last remaining issues that I can't seem to sort out. The default SBS 2008 Internal Web site was previously reachable via browser by all hosts on the network either wired to the switch... | From your comment, you are handing out the DNS servers for your ISP instead of your SBS2008 box? Basically what you've done is bypass your local DNS and ask your ISP who "companyweb" is and of course it can't resolve it. The only machine that can do that is your SBS2008 box. You should point internal clients to your SB... | 0 | 2 | 141 | 2014-02-07T00:15:51.280 | infrastructure | serverfault.com | |
586,798 | Need to identify disk in zpool ... how? | I need to replace a bad disk in a zpool on FreeNAS. [CODE] shows [CODE] How do I find the serial # of that disk? More: [CODE] gives: [CODE] I don't see [CODE] in there. And [CODE] gives: [CODE] Does that mean that [CODE] is the bad disk? UPDATE: OK, I'm pretty sure that [CODE] is the bad disk. And I have my notes, so I... | To get a disk serial requires that it is running and available: [CODE] (this might be (S)ATA specific) [CODE] reading the disk label once removed from the enclosure In your case, I think the 3rd solution is the only available. So, Assuming you just want first identify the disk: Try first a [CODE] (as your drive is not ... | 19 | 18 | 51,722 | 2014-04-04T19:35:21.497 | infrastructure | serverfault.com | |
112,433 | The observation returned by the `reset()` method is not contained with the observation space | i'm strugling to understand how custom observation_space should be coded and how there isn't so much info about some topics i have to ask here if for example i have to return a observation with an array of 6 numeric values: [CODE] When i procceed to test the Agent: [CODE] my terminal throws: [CODE] | The observation space size should be the same for both self.observation_space, and the return value in reset. It looks like the observation space is only being defined as 1 element. What I think you'd want instead is [CODE] Further the first two values in box are low and high, so your final return value [CODE] appears ... | 1 | 1 | 999 | 2022-07-06T01:48:43.000 | data_quality | datascience.stackexchange.com | |
1,118,522 | Cannot connect to Azure Files share | I have set up an Azure Files share with Azure AD Kerberos as the authentication source. I get the error below when running the connection script (Active Directory authentication) on an end user's PC. The PC is Azure AD-joined, with the user logging in with an Azure AD account. Users need to be able to access the Azure ... | This article resolved the issue (creating the registry key): https://learn.microsoft.com/en-us/azure/storage/files/storage-files-identity-auth-azure-active-directory-enable?tabs=azure-portal#configure-the-clients-to-retrieve-kerberos-tickets | 1 | 0 | 1,299 | 2022-12-20T19:39:02.473 | api_errors | serverfault.com | |
1,083,982 | Which Encryption Method Is Being Used in My OpenVPN server? | When I try connecting to my OpenVPN server , the log on OpenVPN software is a bit confusing . [CODE] Is the data being encrypted in DHE-RSA-AES256-SHA ? Here is my client .ovpn file content : [CODE] here is my server.conf file on the VPS : [CODE] so my question is : " what encryption method is being used here ? " I see... | There is two differents things here : SHA1 The Secure Hash Algorithm (SHA) is used to authenticate data and SSL/TLS connections. In this process, a unique fingerprint is created to validate the TLS certificate – that is, to check you’re connecting to the server you’re supposed to be. Without this, a hacker could re-rou... | 0 | 1 | 4,211 | 2021-11-19T01:17:16.753 | infrastructure | serverfault.com | |
776,465 | ps aux | grep result depends on terminal size on FreeBSD | From experimenting, it seems that even when using [CODE] the output depends on the terminal size. This seems seriously weird for me. Isn't a pipe supposed to make command's output behave in a predictable way? For example [CODE] does all fancy formatting magic when run on its own, but when run like [CODE] it always retu... | It's not the piping doing it . Part of your problem is your pager, [CODE] . By default it truncates at the same length as your terminal does. You can fix this by telling it not to do that: [CODE] [CODE] detects the window width and outputs to fit The man page has one way to bypass this: -w Use 132 columns to display in... | 0 | 1 | 1,224 | 2016-05-12T19:36:43.903 | infrastructure | serverfault.com | |
154,874 | What is the optimal data type for columns that retain dates, DATE or INTEGER? | In my experience, old school thinking tells that, for optimal performance , date data points should be stored as an [CODE] (e.g., as in [CODE] ), since they are manipulated faster, accelerate searches, etc. I’m involved in a Postgres environment in which SELECT statement execution speed is prized, and a discussion star... | I'm going to always vote for storing a Date as a Date or Timestamp if you need time of day too. It adds so much value in handling dates properly. Storing a date as an integer means many things are much more complicated. How do I add a day or week to a date stored as an integer? Depends on the format used for the intege... | -1 | 4 | 263 | 2016-11-10T18:03:40.477 | warehouse_errors | dba.stackexchange.com | |
279,209 | How long does query optimisation take relative to the execution time? | Could anyone please point me to a benchmark comparing the time spent by the query optimiser relative to the overall query execution time (any relational DBMS will do, but PostgreSQL would be preferable)? I'm curious about roughly how significant is the time spent on optimizing the query relative to the overall executio... | There is no absolute number for the percentage of database time spent planning queries, it depends on your workload. If the workload consists of analytical queries, planning time is usually insignificant in comparison to query execution time. If the workload consists of simple OLTP queries, planning time can exceed que... | 0 | 1 | 144 | 2020-11-04T21:43:13.717 | database_errors | dba.stackexchange.com | |
400,297 | Which artifact should I deploy to prod when using Git Flow? | Suppose I have the following series of commits when using Git Flow We have said that no new features will be included in the next release and have created a release branch (D). QA has started testing and has found a bug, which we have fixed (E). QA conclude their testing, so we call the release done and merge back to m... | If the artefacts you build don't contain any information that is tied to the presence/absence of a tag during build time, then there is a way out without rebuilding the artefacts. If you arrange your environment such that the master branch only accepts fast-forward merges, then it can be guaranteed that "commit F" and ... | 1 | 1 | 1,884 | 2019-10-29T14:32:14.720 | api_errors | softwareengineering.stackexchange.com | |
827,104 | Azure IAAS SharePoint Farm - Custom domain | I have been tasked with figuring out how to setup a SharePoint 2016 farm in AZURE IAAS with VMs. I have a dev farm setup with a virtual network with DC, SQL, Single Farm VM. I have an internal domain name that's demo.mydomain.com that works for the intranet but making it accessible from the internet is the problem. I h... | There are basically two steps involved: Create the necessary entries in your domain server so that users can resolve the address and reach the server. You can either create a CNAME to Azure public name or use the VM IP address and create a Host (A) entry. Second is preferable. Like this: myspfarm.mydomain.com (A) "MyAz... | 0 | 0 | 197 | 2017-01-18T18:20:31.727 | infrastructure | serverfault.com | |
249,438 | Moving a lotus database causes incoming mail failure | I moved a couple lotus note databases to another hd (ran out of space) by using a directory link/pointer on the domino server. USed a text file with the .DIR ext with the desired new path etc... well that works fine. I open up a lotus notes client, use the id and then OPEN the database. The directory link works fine, t... | You'll have to change the mail file location specified in the Person document of the Domino Directory. | 0 | 2 | 216 | 2011-03-17T14:07:35.943 | infrastructure | serverfault.com | |
452,042 | Linux out of memory on VPS | On my VPS (CentOS) 4GB ram (2 + 2 dynamically assigned when needed) and i have tomcat running with following options JAVA_OPTS="-Xms256m -Xmx2048m -XX:MaxPermSize=256m". Now when i try to start other java based app (like hudson server) i get following error: There is insufficient memory for the Java Runtime Environment... | OpenVZ providers typically sell RAM capacity of their virtual machines as two numbers: "guaranteed" and "burst" RAM. You are supposed to always get the "guaranteed" amount of RAM, and may use up to the "burst" amount if host resources permit. For example a VPS might be sold as "512MiB guaranteed 1GiB burst RAM". You sh... | 2 | 5 | 2,118 | 2012-11-25T21:05:08.403 | api_errors | serverfault.com | |
52,900 | Can I create a user defined table type and use it in the same transaction? | When I execute the following (in management studio, GO will separate the commands into batches) [CODE] I get a deadlock error message. My process has deadlocked with itself. I've seen this behaviour in 2008, 2008R2 and 2012. Is there a way to use my newly created type inside the same transaction it was created? | This has been reported no less than four times (but all traces have been removed from the WayBack Machine since Connect was murdered). This one was closed as fixed: connect.microsoft.com/SQLServer/feedback/details/365876/ But that wasn't true. (Also look at the workarounds section - the workaround I suggested is not al... | 14 | 17 | 12,476 | 2013-11-06T17:43:16.083 | database_errors | dba.stackexchange.com | |
1,126,924 | How to restart sshuttle automatically | I am using sshuttle to route some traffic automatically via an ssh jump server. It works well but in some situations i.e. switching to another Wifi network the connection breaks an i'll have to restart sshuttle manually. Is it possible to start sshuttle in a way that it restarts automatically whenever a network connect... | Just use [CODE] for that, first create a [CODE] service file for [CODE] [CODE] then put this inside ( replace [CODE] and [CODE] with the address of your ssh jump server and the other by the network you want to route with [CODE] ) [CODE] then you can save and reload [CODE] [CODE] then enable our new [CODE] service to st... | 2 | 2 | 431 | 2023-03-23T11:54:00.263 | infrastructure | serverfault.com | |
1,119,388 | Server refused our key - Putty trying to connect to a new VPS server | I am using Putty to connect to my VPS servers. I have created a new VPS server (Hetzner cloud) and have chosen the existing SSH key, as a security measure. When trying to connect to a newly created server over SSH (for the first time), Putty prints out "Server refused our key". I chose the same SSH key that I had creat... | The problem somehow was in Putty application itself - I've had a 0.73 version and after an update to 0.78 I finally managed to connect to my new VPS server. | 1 | 3 | 635 | 2023-01-03T21:02:27.963 | infrastructure | serverfault.com | |
780,736 | tcpdump - prevent interpreting/decoding protocols | Is there a way to stop [CODE] from (mis)interpreting protocols in captured packets? It assumes that traffic coming from port 4500/udp is always IPSec traffic, 53/udp is DNS query, etc and tries to decode it. That's a problem for me because I can't parse the output properly. | You can use the '-q' option to remove the content decoding. You can maybe add the '-A' to see in ASCII the content of the packets, or -dd to see in C format. | 3 | 4 | 858 | 2016-06-03T08:33:59.747 | api_errors | serverfault.com | |
288,959 | What steps to take when trying to resolve unresponsive/hung/broken IIS web site? | What steps do you take when you find an IIS web site is not responding? I might try to first telnet to the specified port, then check web site binding and authentication, and at last restart it. I think knowing what an experienced admin would check when facing such problems is quite useful. In fact I my self spent over... | I've found the following guidance works pretty well as a general collection guide. Determine Symptoms Try to establish (as quickly as possible) the surface area of the problem: Connectivity? (Telnet is good; if you get an error page returned in the browser, something's obviously working - eliminate connectivity first) ... | 4 | 4 | 11,190 | 2011-07-11T10:36:04.923 | api_errors | serverfault.com | |
167,399 | Archiving data in SQL Server with stored procedure | Database in SQL Server 2014 has one table and is consuming around 17-20 GB of disk space each day. Assuming that level of usage remains fairly consistent and not accounting for lower usage on weekends/holidays. That would mean I am looking at requiring around 7.3 TB of space to house 1 year of table data. I want to fig... | What do you mean by archive? Do you want to delete the data? Moving it to another db or server will still take up the same space. It may improve performance but you're just moving the problem around. Do you need the data in its original form? Can you aggregate the data to reduce the number of rows? If you do move the d... | 2 | 0 | 2,931 | 2017-03-16T20:56:14.280 | database_errors | dba.stackexchange.com | |
1,013,920 | What would be wrong with my nginx config? | I'm running a vue app, which is exposed to port 5000. I temporarily turned off the firewall and could confirm that the app is running. I am running this on GNU Screen, which I have done with prior sites with no problem. I can also confirm that this is not an issue with selinux. The intent is to got with www -> non-www,... | [CODE] Every http request is redirected to itself, you probably get an endless loop in your browser. "location /" is never reached. Nothing seems to happen with the https requests. | 0 | 2 | 38 | 2020-04-24T08:42:21.670 | api_errors | serverfault.com | |
93,731 | Trouble interpreting iostat's tps measure | Prelude: I dumped a 5.2 GB database using the mysqldump command. I did this on an underpowered virtual server with only 512 MB of memory. It took about an hour. I'm now reloading that database on my desktop machine that has a dual core cpu and 2 GB of memory. The reload is on it's 9th hour and I don't know if it's even... | That's a single iostat invocation, which does not provide meaningful data for "per second" values, only counters are useful - it can not calculate change per second from a single value, it needs to know two values and time between them. To see real values, try something like : [CODE] The second output will be real valu... | 6 | 12 | 31,868 | 2009-12-12T17:06:58.557 | database_errors | serverfault.com | |
926,546 | Active Directory LDAPS client certificate authentication | I've a customer whose Linux server fails to connect to a remote AD server on port 636 and it appears to be due to the fact that it does not have a client certificate. Both the remote AD server and the Linux server have certificates issued by the same CA. When reviewing the connection attempts in Wireshark the Linux ser... | The cause of the issue was the fact that our application was not RFC 3280 compliant and the Domain Controller authentication certificate template was. More information on this can be found at https://blogs.technet.microsoft.com/askds/2008/09/16/third-party-application-fails-using-ldap-over-ssl/ | -1 | 0 | 2,243 | 2018-08-15T17:01:07.517 | api_errors | serverfault.com | |
332,218 | Does Python's defaultdict violate the LSP? | I believe, in Python [CODE] inherited from [CODE] violates Liskov Substitution Principle. [CODE] doesn't raise [CODE] while [CODE] is still [CODE] , for instance. Is that so? If it is, why developer decided to make such a sacrifice? | At first sight, yes At first sight it seems to violate the Liskov Substitution Principle : If S is a subtype of T, then objects of type T in a program may be replaced with objects of type S without altering any of the desirable properties of that program If you have a program written for a [CODE] dictionary, that shoul... | 6 | 12 | 935 | 2016-09-27T21:47:23.210 | api_errors | softwareengineering.stackexchange.com | |
560,419 | nginx load-balancing doesn't neglect nonworking ip | Iam new to nginx and I have this issue I can't understand. Iam using nginx as a load balancer to three cloud servers.This is nginx configuration : [CODE] My problem appeared when I destroyed one of them with its ip still in the upstream i started to get this error : [CODE] After tracing that error I figured out that th... | You should raise fail_timeout value in upstream block, so failed server will be longer marked as failed. (quote from nginx docs, bold is mine) from http://nginx.org/en/docs/http/ngx_http_upstream_module.html fail_timeout=time sets the time during which the specified number of unsuccessful attempts to communicate with t... | 1 | 1 | 181 | 2013-12-10T15:44:45.533 | infrastructure | serverfault.com | |
231,645 | Capture portions of a number using mathematical operations | Is there a mathematical way to get the following: For the the number 777,888,999 so 777 million and etc etc getMillions(777888999) should return 777 only getThousands(777888999) should return 888 only getHundreds(777888999) should return 999 only This should be done without using regex and without text processing but s... | You could do something like this: [CODE] So, divide by the 1th unit of the position you are looking for, and then just mod it by 1000 since all of these positions can have three places. | 0 | 3 | 448 | 2014-03-07T20:57:48.190 | api_errors | softwareengineering.stackexchange.com | |
1,020,302 | Ansible apt module hangs, process sleeping | Ansible version: ansible 2.9.6 Remote servers: "Debian GNU/Linux 10 (buster)" Ansible module: apt I'm running a simple playbook on 2 debian 10 nodes. I install Debian 10 with an ansible playbook on both nodes. After that, I run the next role on a playbook: [CODE] However, sometimes it gets stuck on the task Upgrade all... | add some [CODE] to your playbook run find the command launched by ansible for this task launch it manually whith some verbosity | 3 | 1 | 4,738 | 2020-06-06T15:12:13.997 | pipeline_ops | serverfault.com | |
373,554 | How can I tell which ColdFusion hotfixes are installed? | I saw the new secruity hotfix for ColdFusion on adobe.com, but I'm unsure what is already installed. The version in ColdFusion Administrator is [CODE] . How can I tell which ColdFusion hotfixes are installed? Can I attempt to install a Cumulative hotfix without a problem? | If I remember correctly, ColdFusion hotfixes consist of a simple "replace some files". To verify the installation status of a hotfix, there likely isn't any way other than to verify those files directly. Installation of a cumulative hotfix should be safe regardless of current hotfix levels. | 0 | 2 | 2,335 | 2012-03-26T17:51:47.900 | infrastructure | serverfault.com | |
815,166 | Arch Linux gateway - can't ping internet interface | I've set up a simple gateway with Arch Linux: [CODE] This is the actual routing table on the gateway: [CODE] I disabled rp_filter on all interfaces. The eth0 is connected to a switch I don't have access to. The interface will be configured to access the Internet when everything works. The wlan0 is connected to an open ... | What you described should work. Try to disable iptables and try your ping again. | 0 | 0 | 925 | 2016-11-16T05:38:24.053 | infrastructure | serverfault.com | |
773,106 | Apache LDAP (Active Directory) not working | I've had some mixed success with Apache and LDAP. First, it is working.. but not entirely. So, a basic LDAP config, it looks like this: [CODE] This is actually fine. Here's where things get strange. If I put this: [CODE] I can authenticate. I can use multiple users, and it's fine. If I put [CODE] Authentication doesn't... | I think that the search base is ou=stuff,dc=domain,dc=com prevents objects in other containers from being found. Try setting the base only to dc=domain,dc=com You can drop the objectclass=user filter too. According to https://msdn.microsoft.com/en-us/library/windows/desktop/ms680857%28v=vs.85%29.aspx userprincipalname ... | 0 | 1 | 3,039 | 2016-04-26T20:29:24.723 | api_errors | serverfault.com | |
561,211 | apt-get dependency issue when installing nginx passenger module | Sorry I Have no idea how to fix the dependency problem. My Ubuntu server is 12.04 64 bit [CODE] | This looks like a system that was only partly upgraded from 10.04 to 12.04. To resolve the problem you will need to complete the upgrade. Edit [CODE] and replace all occurrences of [CODE] with [CODE] . Edit all files in the [CODE] directory and apply the same replacement as above. If any of the above files have an Ubun... | 0 | 1 | 2,744 | 2013-12-13T17:01:53.350 | infrastructure | serverfault.com | |
485,252 | Is using a NAS with hot swap disks an effective way of cycling backups? | We are looking at improving our backup solution. We don't have a huge amount of data to back up (currently ~500GB) which is backed up nightly onto an external HD. We have 3 of these HD, with one going in the firesafe on a weekly basis, and the other 2 rotating each night, so that the latest backup goes offsite overnigh... | Just because you can hot-swap a disk doesn't mean you should. The backplane and connectors aren't likely designed for large numbers of insertions / removals and the mechanical stress alone is probably going to create reliability problems for you. That alone would dissuade me from doing what you're trying to do. Having ... | 5 | 5 | 3,062 | 2013-03-06T14:38:03.390 | api_errors | serverfault.com | |
809,754 | Unknown ACL condition/modifier in in EXIM configuration for Rspamd | I am trying to configure EXIM to use Rspamd as a spam filter. I am running Exim version 4.87 and installed Rpsam from the repositories using [CODE] as explained here . Then I added the suggested configuration from the Rspamd documentation to my config file: [CODE] When I try to restart Exim I get the following error me... | Place [CODE] directive outside the ACL section. In general it should be placed at the beginning of config before ACLs, services, routers and transports are defined. | 0 | 1 | 1,415 | 2016-10-18T13:15:21.157 | infrastructure | serverfault.com | |
1,056,502 | Inside of my Linux server I can't ping out to IPv6 URLs | Inside of my Linux server I can't ping out to IPv6 URLS. Pinging IPv4 works as expected. For example: [CODE] I get one line of output and then it sits indefinitely, [CODE] I turned off my firewall and SELinux and that didn't fix it. The server does have an IPv6 address assigned to an interface and IPv6 is enabled. [COD... | I found the solution to my problem. IPv6 was not set up properly during install. I solved the problem by logging into the root user and editing my config file. [CODE] After reboot IPv6 worked perfect. | 1 | 0 | 2,717 | 2021-03-10T00:39:03.100 | infrastructure | serverfault.com | |
268,656 | What monitoring solution for servers, databases and web applications ? Nagios or Hyperic? | For the purpose of a startup, I have a loan for one physical dedicated server with several virtual machines inside it For now there is mainly 2 VM on this server: VM "tools", using ubuntu server 10.04 LTS A source code repository using mercurial and hgserve A bunch of JAVA app for Atlasian for bug tracking, wiki... Pos... | Nagios. I was scared of the text configuration for a long time and tried all the other popular or remotely popular solutions out there, but was never satisfied. Once I eventually tried nagios and actually went through the configuration - I loved it, and actually find it much easier to configure and customize than gui t... | 4 | 4 | 1,143 | 2011-05-11T16:10:43.420 | pipeline_ops | serverfault.com | |
108,137 | Interpreting minidump files from Windows Server 2008 | I have a couple of minidump files generated by blue screen crashes on a Windows Server 2008 R2 x64 machine. I have installed the debugging tools and I am able to look at the contents of these files. However, I don't know how to find out the device driver and stop code that caused the crash. Can anyone provide some guid... | Every time I have a minidump to analyze, I go back to this article on NetworkWorld because it is clear, concise, and gets me through it pretty quickly: http://www.networkworld.com/news/2005/041105-windows-crash.html?page=1 | 3 | 1 | 12,177 | 2010-01-31T21:38:48.003 | infrastructure | serverfault.com | |
1,001,515 | IIS SSL Certificate "Export" option missing | Windows 2016 Server, IIS 10. I have created an SSL certificate using WACS (Formerly Letsencrypt Win Simple) Everything works fine. Except, when I right click on the certificate from IIS, the "Export" option is missing. Is this due to anything that I might have done in the certificate creation, that makes it un-exportab... | Solved: "PrivateKeyExportable" needs to be set to "true" Settings.json configuration file | 0 | 0 | 2,921 | 2020-02-03T09:12:22.360 | api_errors | serverfault.com | |
579,032 | MySQL/mariadb overloading server | I have openVZ VPS with 1gb ram, 1gb swap and 3 cpu. It is running ubuntu with Nginx, PHP, MySQL (that I replaced with mariadb). This is TOP: [CODE] It is working fine when I reboot server, but after 30min I can't login to phpmyadmin for example. It is just loading and never load. Here is my.cnf: [CODE] nginx.conf: [COD... | Your sort buffer is way too small, increasing the tmp_table_size and doing more work in memory might help. But the big problem here is in the queries you are running against the database / your database schema - see "Temporary tables created on disk". MySQL is having to process a very large amount of data to get the da... | 1 | 1 | 814 | 2014-02-28T16:36:42.910 | database_errors | serverfault.com | |
1,123,193 | How can I redirect established connections with iptables? | I am trying to create iptables rules to redirect all traffic destined for port 1986 to port 9 to provoke a “connection refused” using the following rule: [CODE] This works great for new connections, but the problem is that established connections seem to skip this rule and are not refused. I have tried adding a [CODE] ... | The [CODE] rule creates an entry to conntrack table when the connection is established with TCP 3-way handshake. The [CODE] rule seems to disable creation of new conntrack entries. However, it does not prevent using existing conntrack entries. Since the connection is already established, there is already an entry in th... | 0 | 0 | 173 | 2023-02-17T21:04:16.057 | api_errors | serverfault.com | |
749,819 | R1Soft Backup Very Slow? | Good evening Server Fault! I was recently contracted to help a company clean up and consolidate their network\server equipment, and I'm kind of stuck on one issue. I set them up with a new r1soft box for backups. This server is located on the same network as the 2 servers which are being backed up to it. Although the 3... | Well, the network of the server of which you are trying to backup is decent, so it might just be R1. Where is the server located? From what I can see, R1 seems to be in Denver, Colorado (198.64.248.226). The backup speeds won't be amazing if the server is located on the other side of the world, so until that informatio... | 1 | 1 | 1,882 | 2016-01-18T01:40:29.833 | database_errors | serverfault.com | |
231,455 | Suggestion for a secure small-business e-mail-server needed | we are a small business company (60-100 emploees) handling financial data. We want to have a secure E-Mail Server. What is the best in-house solution? Our laws force us to ḱeep the server physically at our place. Is Exchange secure enough, or are we better off with Linux and Postfix+Dovecot? For that reason we will hir... | I would look at doing both. A postfix server that acts in gateway mode which resides in the dmz. And an exchange server which people use with outlook or whatever client. This gives the added benefit of having a spam gateway. | 2 | 2 | 163 | 2011-02-05T00:02:05.747 | infrastructure | serverfault.com | |
442,507 | Does "happy path to the left edge" break Python conventions? | I found the short article Align the happy path to the left edge quite helpful in improving readability of functions. Briefly, reading down the left edge of the function should step you through the logic of the happy path scenario. Errors and special cases are nested in conditionals, or decanted into separate functions.... | There are no strong Python conventions such as PEP-8 about any of this. Some tools like Pylint will complain about useless else-clauses (item #4) or about excessively convoluted control flow. I think there is a strong language-independent argument for what you call the “happy path to the left edge”. Previously, tradeof... | 2 | 5 | 406 | 2022-11-28T16:54:47.293 | api_errors | softwareengineering.stackexchange.com | |
127,602 | Powershell import-module webadministration | Every time I execute this command [CODE] I get the following error [CODE] The website is created successfully as far as I can see. The following command gives the same error when enumerating the testsite [CODE] Any suggestions would be appreciated | This is a serialization problem. [CODE] and top-level WebSite information from the [CODE] protocol both return objects of type [CODE] . That object contains a property [CODE] ; and [CODE] isn't serializable. [CODE] and Sub-WebApplication information from the [CODE] protocol do not have an [CODE] property. They won't ha... | 6 | 4 | 4,854 | 2010-03-30T09:42:40.933 | infrastructure | serverfault.com | |
866,252 | "Skype for Business StatsMan PerfAgent" causing "The Open Procedure for service XXX in DLL ZZZ failed" | We followed the Microsoft article here and installed the "Skype for Business StatsMan PerfAgent" on our Skype for Business server. The product is working as expected but every 10 min the PerfAgent.exe service (running as Network Service as set by the installer) try to access some registry values where he do not have ri... | For WmiApRpl problems on Skype servers that use Skype StatsMan, you need to add Full Control permissions to (local) NETWORK SERVICE on this registry node: [CODE] After that restart the StatsMan service. For BITS it's this node: [CODE] For .NETFramework it's this node: [CODE] Don't forget to restart StasMan service afte... | 0 | 0 | 517 | 2017-08-01T10:40:53.613 | infrastructure | serverfault.com | |
1,376 | What to do with bugs that do not repro? | I have a tester that while testing will have an error occur (ok so far), but then he frequently reports it right away. We (the developers) then later find that the tester has not tried to reproduce the issue and (when asked) cannot find a way to make it happen again. Now these are still bugs, I don't want to ignore the... | A bug without context is not a bug, it's a fluke. The problem could be your code, it could be a third party library, it could be the hardware, or it could be solar radiation causing a single bit to flip on it's own. If you can't reproduce it with at least some regularity (even if only "it happens once every 10 or 20 ti... | 23 | 53 | 9,380 | 2010-09-08T21:09:31.653 | api_errors | softwareengineering.stackexchange.com | |
349,236 | Juniper SRX240H occasionally dropping connections | One of our clients has an SRX240H in their office that occasionally is dropping connections going LAN to WAN. For example: they could be on an IRC server and they will drop out for 2 minutes and then come back or an HTTP download will die half way through. We've ruled out upstream problems with the ISP. What steps can ... | If you use the built-in Junos "applications" in your permit rules, then these come along with some cute hidden settings that control the timeouts per application (fun!). From an operational command line, run the command [CODE] to see what the defaults are. Now... past that, I need to ask do you having the device source... | 1 | 0 | 1,317 | 2012-01-12T11:37:20.843 | infrastructure | serverfault.com | |
112,235 | Features and LSTM | I have a problem while developing an LStm model. I have 4 feaures that I want to use to make a prediction. When I test my model with a single feaure I get average results but when I test with all 4 feaures the results are even worse. I don't understand where the problem could come from. When we add feaures to the LSTM ... | Did you normalize your data with a min-max scaler? LSTM is a complex neuron, and its size should be adapted enough to your data: very simple models could under-perform because LSTMs are not suited for a too limited frame. To perform well, you should have around 40 neurons and at least 50 timesteps in input. If your dat... | 1 | 1 | 205 | 2022-06-29T13:46:45.143 | data_quality | datascience.stackexchange.com | |
232,445 | InnoDB cluster error: ReferenceError: cluster is not defined | I was setting up the MySQL InnoDB cluster, when I got this error. I created the cluster from the primary node, the [CODE] was giving output as [CODE] at this point with only one node part of the cluster (all good till here). But when I tried adding a node in the cluster I got the error: "Cluster.addInstance: Cannot add... | The auto.cnf file is automatically generated, you cannot modify this file. In order to change the UUID, you must delete auto.cnf and restart the MySQL Server. MySQL will generate a new UUID and store it in a new auto.cnf file. Please check the following documentation section: https://dev.mysql.com/doc/refman/8.0/en/rep... | -1 | 0 | 4,026 | 2019-03-18T16:13:20.547 | database_errors | dba.stackexchange.com | |
238,766 | postgresql 9.* - user cannot SELECT from VIEW inside a SCHEMA as DEFAULT PRIVILEGE | hope you can help me. I have 3 users First is me, the db admin. I run the GRANT queries, I can do anything. (name doesn't matter now) Second is the data manager user. = manager_u Third is the data viewer user. = viewer_u The "data viewer" should read from views created by "data manager", without managing privileges aft... | Your mistake is in the [CODE] command. It should be [CODE] This way, the views created by [CODE] will get the permission granted. | 1 | 0 | 1,845 | 2019-05-22T09:33:28.673 | database_errors | dba.stackexchange.com | |
713,299 | Cannot update Debian Wheezy due to GPG error (NODATA) | I have a server running on Debian Wheezy. It's apt source file has following configuration: [CODE] When I try to update I get GPG errors for official Debian repositories: [CODE] If I remove security repository from [CODE] file and try to [CODE] again, then same error this time pops for [CODE] [CODE] What I tried so far... | I ran into this issue when I was being blocked by a local firewall. You may want to change your repository lines to not use the ftp mirrors. Try http://free.hands.com/debian/ . The rest of the line is fine; you're replacing just http://ftp.uk.debian.org . | 5 | 5 | 9,331 | 2015-08-11T10:33:22.733 | infrastructure | serverfault.com | |
398,837 | Best practice in synchronized form data validations (Web apps - Client-Server) | Here we go again with topic what was asked many times all over internet, but I not found any good enough answer: What are best practices in making client and server side validations synced? I was not doing it in web apps I was making (I just had duplicated validations), but now when I started with React Native and REST... | Yes!!! This could be a bit annoying. I too find no perfect solution. Now that your have listed all possible options, let me give you my opinion on them: Option 3: "Having just client side validation (I AM JOKING!)" Glad you were only joking :) Option 4: "Let client app download at start some rules/sets from server and ... | 4 | 1 | 2,317 | 2019-09-24T22:09:31.323 | api_errors | softwareengineering.stackexchange.com | |
1,023,368 | Is it possible to forward a port for one app only? | I have a Ubuntu server (18.04) which hosts some websites on Apache2, and also has a node app running. I want the node app to use SSL, but as it's not running as root it doesn't have permission to listen to ports below 1024. So I set up an iptables rule like below, and listen on port 8443: [CODE] This works for node, bu... | To form this answer, I will assume that when you say that you have other apache sites hosted on that server, that they will also use HTTPS. Due to this, routing port 443 to the node service will break your SSL sites within apache2 in every single circumstance... unless you proxy. You'd be better off running a new Apach... | 0 | 0 | 378 | 2020-06-29T16:59:40.237 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.