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 |
|---|---|---|---|---|---|---|---|---|---|---|
343,832 | Can't install Tortoise SVN 1.7.3 on Windows Server 2008 R2 | I'm trying to install just the Tortoise SVN client on my windows server 2008 R2 and get the following error message: [CODE] which seems to indicate a permissions problem in the registry, but I'd rather avoid changing permissions in there out of fears of unintended consequences. I'm using a local 'administrator' account... | have you right-clicked on the installer -> run as administrator? even with UAC disabled and running as a local admin, windows server 2008 requires you to elevate certain actions for them to work. | 1 | 0 | 896 | 2011-12-23T18:15:30.160 | infrastructure | serverfault.com | |
276,164 | Can't ping host from vmware guest using bridged networking | Host is Windows 7 Guest is Ubuntu 11.04 Network adapter is wireless I can ping other computers on the network but not the host. No firewall are involved. Sniffing the traffic with wireshark it looks like both the host and the guest are using the same MAC address. My guest simply doesn't receive a reply when asking for ... | If wireshark is really showing the same MAC address, then you probably aren't actually using bridged networking, but are instead using NAT (and this makes sense since you can ping out from the Ubuntu machine to other machines on your network). But, assuming you are in fact using Bridged networking: To start, I'd sugges... | 5 | 2 | 28,386 | 2011-06-02T02:54:17.490 | data_quality | serverfault.com | |
221,266 | php not working with apache install | I have a centos server. I have installed apache 2.2.17 from a .tar.gz file. I've also install php 5.3 from the ius repository. That worked fine and apache is functioning and so is php 5.3. However, when i put a phpinfo.php file in the directory that apache should be serving files from, it doesn't work. I can only seem ... | Assuming that you're installing a PHP module for Apache, you need to be using the same version of Apache it was built against. It's a bad idea to try to mix-and-match source packages and binary packages like this. Either find a reputable repository and install everything from there, or build everything from source, but... | 0 | 4 | 2,233 | 2011-01-11T20:33:49.340 | infrastructure | serverfault.com | |
1,039,813 | Swap being used when not necessary | I have: [CODE] as suggested here to prevent using Swap when there is plenty of available memory. (0 would completely disable swap, as far as I understand) In frequent cases, I end up with, say, 5GB swap used (total 16GB), while I have 9GB free available memory (total 32GB) (only 1GB free if we count cached RAM). As my ... | Do you have lot of stuff running on the server? If so, maybe consider a dedicated machine or VM for the DB. Is this physical or VM/cloud server? Some cloud providers do NOT want you to use swap at all (so just putting that out there in case it is relevant): https://docs.rackspace.com/support/how-to/swap-space-on-cloud-... | 1 | 1 | 1,541 | 2020-10-23T09:09:24.080 | database_errors | serverfault.com | |
1,013,128 | mariadb.service start stuck at activating | I just installed the mariadb in my ubuntu 19.10 by [CODE] after when I am trying to start the server by [CODE] shell get freeze I have to use [CODE] to get shell running. In the status it's showing activating(start) Other services are working fine with systemctl start [CODE] | You probably had MySQL installed beforehand. This is a known bug: MySQL installs an AppArmor profile, and the MariaDB package fails to properly uninstall it (see details on Launchpad ). You can use these commands to solve the problem (adapted from the bug mentioned above): [CODE] This should display [CODE] Then, very i... | 16 | 39 | 16,058 | 2020-04-20T03:38:33.877 | database_errors | serverfault.com | |
90,789 | Difference between NCE-Loss and InfoNCE-Loss | I started looking into word2vec and was wondering what the connection/difference between the NCE-Loss and the infoNCE-Loss is. I get the basic idea of both. I have a hard time deriving one from another, do you have any idea ? Thank you in advance! | Both NCE loss and InfoNCE loss use positive examples and sampled negative examples to contrast a true data distribution with a noise distribution. As a byproduct, you can learn something useful like $p(y|x)$ in the case of NCE, or high quality representations of your objects (e.g. documents, images, etc.) in the case o... | 3 | 1 | 2,428 | 2021-03-17T16:00:55.023 | data_quality | datascience.stackexchange.com | |
271,291 | Cannot connect after Availability Group automatic failover | We have a SQL Server setup with Availability Groups. In the cluster we have four nodes, two in one datacenter and two in another datacenter. There are four AGs on these cluster nodes, each primarily on one of the four nodes. One other node is in the same datacenter for synchronous HA and the other two for asynchronous ... | If you cannot reach the listener from SSMS, then it seems to be an issue with networking or name resolution (DNS). You can try do to a NSLOOKUP of your listener and make sure it point at the primary node. If not, it means you have an issue with DNS update. Your windows admin should be able to help you. If it points to ... | 0 | 1 | 1,883 | 2020-07-20T16:59:24.650 | database_errors | dba.stackexchange.com | |
968,286 | Why does `chattr +e <file>` fail with no space left on the device when there's plenty? | I have a problem. [CODE] does not work, if the file does not have the [CODE] attr set on it, or if it's removed and re-added. [CODE] Waaaaat? There is plenty of space on the device and plenty of inodes free, so why is [CODE] failing? If it makes a difference, I'm seeing this failure on Fedora 28 on EC2. I'm not seeing ... | If you check the manual this parameter is not suppose to alter, I am surprised you are able to remove, since it is not able to find contiguous area it is showing above error. extent format ( e ) […] The 'e' attribute indicates that the file is using extents for mapping the blocks on disk. | 0 | 1 | 351 | 2019-05-21T20:41:12.157 | infrastructure | serverfault.com | |
490,051 | Curl don't work on cron execution | I have bash a script like the following [CODE] and I have a cronttab like this [CODE] My intention is: whenever there is an update on a public file, download it to my server. So good so far. When I run the script manually on the shel, the files are downloaded and updated as expected. And the cron is running the... The ... | When you run a script from the command line, your own environment variables, including $PATH, are in use. When you run a script from cron, however, the $PATH is different. My guess is that you don't have curl in a path that cron has in its $PATH environment variable. Solution: In your script, use the full path to cron. | 0 | 1 | 9,737 | 2013-03-21T13:57:24.380 | infrastructure | serverfault.com | |
26,271 | Documenting higher-level concepts | I will be leaving my current project in a few days, and as part of securing my knowledge I have been asked to add comments to the code wherever I feel that can add value. The problem I am running into now is that the comments I want to write are not really suitable as comments, because they do not pertain to a single e... | You can probably utilise simple UML diagrams to highlight the high-level concepts. | 5 | 4 | 354 | 2010-12-14T10:42:33.020 | api_errors | softwareengineering.stackexchange.com | |
865,299 | ARP -Two different Subnets | We have a LAN with a DHCP server, Router (DHCP disabled) and a subnet of 192.168.1.0/24. We use Xarp to scan for ARP Spoofing and have found a different subnet IP showing up on the scan, arp source 192.168.2.243 with a arp dest 192.168.2.1 and a MAC that does not belong to any of our devices. This IP does not ping or s... | You can't ARP a non-local address (from the client's view). If you need to ARP it you first need to make the IP address local by adding any IP address of the subnet to a NIC. Then you can try to ping it and you'll see the MAC association in your ARP cache (if it's still there). Check the switches' MAC tables to which p... | 0 | 1 | 817 | 2017-07-26T16:34:02.183 | infrastructure | serverfault.com | |
940,040 | How to find an SSL certificate that supports certain ciphers | We have a site and need to connect to a 3rd party service that uses a system with certain cipher support. I've tried LetsEncrypt and Comodo but neither work. Is there a resource that I can locate to find which SSL certificate authority supports the desired ciphers without going through the install and doing [CODE] Here... | The certificate does not explicitly determine what ciphers are made available by the server. This is actually controlled (for instance, on application servers that make use of OpenSSL) by a Cipher String configuration parameter, which allows the server admin to enable or disable specific ciphers, or suites of ciphers, ... | 1 | 2 | 6,905 | 2018-11-14T17:24:45.353 | api_errors | serverfault.com | |
245,503 | SQL Server Installaion error 0x84B40000 | I have a problem installing SQL Server 2008 R2. Long time ago I had it installed, and then uninstalled. It was left in "Add/remove programs", but I didn't pay attention on that. I had 2005 installed. And now there is a need to install 2008. I removed 2005 and started installing 2008, but it says that space on C: is not... | Could it be the credentials used for the service account? | 0 | 1 | 18,555 | 2011-03-09T15:20:16.770 | data_quality | serverfault.com | |
293,764 | Transaction strategy for UNIQUE constraint? | How to use a transaction-based strategy to ensure that the same location cannot be booked more than once on the same day? It was suggested to me that it will different for every isolation level. Could you add an example for every one of them? ( [CODE] , [CODE] and [CODE] ). I would like to understand every one of them.... | What Laurenz said. Be aware that Postgres checks (has to check) across transaction isolation boundaries for unique violations (the exception raised by a duplicate entry into a [CODE] index). Those checks are "absolute". Details in the chapter "Index Uniqueness Checks" in the manual. But use this optimised, equivalent s... | 4 | 6 | 1,932 | 2021-06-04T09:39:18.493 | data_quality | dba.stackexchange.com | |
1,109,187 | OpenLDAP ACLs not cooperating | I had a simple ACL in place on my server that was working fine. I've decided to set up SSSD to authenticate user logins via LDAP, so I need to give more access to the SSSD bind account. In the process I've somehow blocked all access beyond the first ACL; despite the [CODE] statement at the end of ACL {0}, every search ... | Update I figured it out! The primary problem is that the documentation is subtle. This is the description of the dnstyle qualifiers in [CODE] : The [CODE] is optional; however, it is recommended to specify it to avoid ambiguities. Base (synonym of [CODE] ), the default, or [CODE] (an alias of [CODE] ) indicates the ent... | 0 | 1 | 336 | 2022-08-26T17:13:50.220 | infrastructure | serverfault.com | |
426,872 | Delay init from starting a service for a period of time? | I am trying to get a rudimentary NFS server up and running. Right now the server is configured as an NFS server due to a workaround for a vendor issue not supporting direct attached clustered storage, which we are trying to get them to resolve. The vendor software is Splunk. The splunk feature we are using requires fil... | [CODE] [CODE] [CODE] [CODE] Make sure that the Splunk's start priority level (90) is greater than the NFS's start priority level (60). I am running into a problem where the splunk daemon starts before nfs is finished loading, If for some reasons, NFS doesn't start successfully, I would do it by using a trick: Turn off ... | 2 | 1 | 4,331 | 2012-09-12T20:43:53.070 | infrastructure | serverfault.com | |
1,007,905 | RDS Connection Broker High Availability cannot connect to database | Scenario You want to configure Remote Desktop Services Connection Broker in High Availability mode, using (at least) Windows Server 2016. You have completed and verified all prerequisites: database is accessible over network (all firewalls and routing OK), database permissions are OK ( [CODE] for the group containing a... | Despite what Microsoft claims in the UI or the PowerShell command... ...the database path is not optional! Yep. Once you add the database path, everything starts working! Magically, if though you only specify your database path, eg.: [CODE] if your logs have different default path, the newly created database will be cr... | 0 | 0 | 10,624 | 2020-03-22T18:22:19.627 | database_errors | serverfault.com | |
837,631 | ec2 instance connection timed out but can be pinged | I've seen many similar questions but none like this. So I started an ec2 instance and installed apache, Wordpress, etc on top. And I was able to access everything fine with the public IP provided to me. Then I created a hosted zone on route 53 to redirect my domain to this instance. This worked, but I wanted to create ... | With the advice from Tim, I ran curl -i address, finding that it shows 301 moved permanently. Upon closer inspection, when I access the new public dns/elastic ip, it is still trying to connect to my old public ip which fails. I created a new instance based on the image but when accessing the new instance public ip/elas... | 0 | 0 | 3,362 | 2017-03-11T07:31:53.763 | database_errors | serverfault.com | |
184,621 | How to reduce the restore time? | I'm using Postgres 9.2. I would like to know how to reduce time to restore process for a big dump (400GB) We have a database that takes weeks to restore due to the single-threaded nature of index generation on PostgreSQL. How can we restore it quicker, maybe by disabling index generation at the load time and adding the... | pg_restore has an option to run the time-consuming parts of the restore, such as the index rebuild process, with multiple "jobs". From the pg_restore documentation for PostgreSQL 9.2: -j number-of-jobs --jobs=number-of-jobs Run the most time-consuming parts of pg_restore — those which load data, create indexes, or crea... | 3 | 2 | 1,371 | 2017-08-29T18:46:12.757 | database_errors | dba.stackexchange.com | |
255,230 | Installing Redmine on Ubuntu 10.04 | I'm having some issues installing Redmine on Ubuntu 10.04. I basically ran the following: [CODE] It walked me through things and I configured Redmine to use SQLite 3. Then, using Passenger, I got everything configured in Apache. I can now view Redmine by visiting [CODE] , as expected. However, I can't log in. In my [CO... | After things are set up, log into Redmine via [CODE] Feel like a champ. | 0 | 0 | 466 | 2011-04-03T23:58:11.907 | infrastructure | serverfault.com | |
81,943 | Why is it valid to remove a constant factor from the derivative of an error function? | I was reading the book 'Make your own neural network' by Tariq Rashid. In his book, he said: (Note - He's talking about normal feed forward neural networks) The $t_k$ is the target value at node $k$ , the $O_k$ is the predicted output at node $k$ , $W_{jk}$ is the weight connecting the node $j$ and $k$ and the $E$ is t... | You can remove the factor because: It is constant with respect to the variable you compute the derivate on. The constant is positive You have this constant factor for all variables you compute the derivative on. So if $\nabla f(\mathbf{W})$ would be the correct gradient, by setting the constant factor to $1$ , you get ... | -1 | 3 | 268 | 2020-09-19T09:15:40.957 | data_quality | datascience.stackexchange.com | |
1,109,303 | Elastic Beanstalk Domain Name | I'm new to AWS Elastic Beanstalk. So i've confused, when i want to create new environment, in the Domain if i use mydomain.us-east-1.elasticbeanstalk.com it can be done. But when I try to use like subdomain >> subdomain-1.mydomain.us-east-1.elasticbeanstalk.com it become error "Value subdomain-1.mydomain at 'CNAMEPrefi... | AWS do not support hosts on this way. You define host ( NOT DOMAIN!!! ) [CODE] . So you should create domain [CODE] to create there new host in this domain. Which is not supported. What you can do is to create new host with name [CODE] | 0 | 0 | 322 | 2022-08-28T16:06:02.377 | data_quality | serverfault.com | |
617,198 | Can HAProxy reconnect a websocket to another backend server transparently? | I'm new to HAProxy so this might have an obvious answer but I wasn't able to find it. Consider this setup: two backend web applications; one HAProxy in front of the web applications; many clients with websocket capable browsers; A client opens a websocket connection to the HAProxy which chooses a web aplication by roun... | No, that's not possible, because the new server knows nothing about the state of the previous connection. A WebSocket is not stateless like UDP or ØMQ. The client must reconnect in this case. | 2 | 0 | 2,201 | 2014-08-01T13:23:26.027 | api_errors | serverfault.com | |
119,310 | Is the capability to overwrite functions in JavaScript strength or weakness? | I recently came across the following code (from liferay.js) when I was working with Liferay: [CODE] As you can see, the code above overwrites the function "jQuery.ajax" to modify "options.url". One may say this is a strength of the language since we can easily overwrite and customize existing functions. However, I woul... | I think it really depends on who you ask. Javascript is by no means a perfect language, but just like abstraction of private variables, this may be a good or bad thing depending on the situtation. If you're using a library and want to overwrite a function, then it's a good thing, if you're the author of a library or fu... | 2 | 1 | 1,209 | 2011-11-10T22:29:08.153 | api_errors | softwareengineering.stackexchange.com | |
122,351 | Doubt in gradient , vanishing gradient problem in Back propagation | As per my knowledge, in back propagation- loss function or gradient is used to update the weights. in back propagation, weights became small w.r.t gradients, this leads to vanishing gradient problem. can you please give insights about these two terms (gradient(SGD), exploding gradient problem, vanishing gradient proble... | To give you simple yet good answer: Vanishing gradients is when the calculated gradients (derivatives) are so small that they become zero and Exploding gradient is when the calculated gradients (derivatives) are so huge that it becomes infinity. Now, how to solve these problems using different activation functions: You... | 1 | 0 | 46 | 2023-06-24T02:20:41.223 | data_quality | datascience.stackexchange.com | |
1,044,088 | chaining ssh update commands in a script fails | I want to run a single script locally that invokes a 'sudo ./up' on several remote hosts via ssh. Where ./up is simply: [CODE] The username on all hosts is 'user', and the user is already granted sudoers permission (on all hosts) to invoke that script. Keys are ssh-add'ed, and I normally do not need to enter any passwo... | You're invoking a script with sudo which contains sudo commands itself. Effectively, what you're doing is akin to [CODE] . The first sudo works fine, the others ones not so much. However they're utterly pointless so just get rid of them. You also have an infinite loop since [CODE] calls [CODE] as its first command but ... | 0 | 0 | 376 | 2020-11-27T07:20:19.563 | infrastructure | serverfault.com | |
1,516 | Monitoring checklist - What things should I be monitoring? | We are building a (Zabbix-based) monitoring system for our applications; hovewer, I'm having difficulties in defining what to monitor? I have so far come up with the following general categories: hardware data : cpu, ram, swap, etc. middleware data : perfomance/health for MySQL instantces, Tomcat instances, JVMs, etc. ... | I like this video: GOTO 2016 • Monitoring Microservices • Tom Wilkie One of the key ideas (for me at least) is to realize the difference between host monitoring and application monitoring. Basically host monitoring tells you that something is fatally wrong now , but application monitoring should be able to predict prob... | 8 | 5 | 3,070 | 2017-07-11T16:02:24.193 | database_errors | devops.stackexchange.com | |
224,975 | Handling changes specific to a customer | The problem C# project consisting of WCF services used by a Flex application. A customer may request a functionality change that requires me to alter code to work just for them. It could be a single line of code in a method or maybe a method acts in a totally different way for customer x. My Ideas Use branches for cust... | Option #1 is reasonable, but it represents a big hassle. Option #2 should be the dictionary definition of overengineering. Option #3 : consider this: Instead of multiple disjoint sets of requirements, (one for each client,) suppose that you have a single set of requirements, covering all customers, with the additional ... | 3 | 4 | 190 | 2014-01-21T19:11:39.053 | api_errors | softwareengineering.stackexchange.com | |
583,354 | CouchDB Will not start after upgrade | Tried on both 1.2.0 and 1.4.0, both error and will not start. The config files are default apart from my added user admins. Apache CouchDB 1.4.0 (LogLevel=info) is starting. {"init terminating in do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/etc/couchdb/default.ini","/etc/couchdb/local.ini"]]},{'E... | Fixed, old config files are not compatible with new version. | 1 | 1 | 892 | 2014-03-20T09:50:27.070 | infrastructure | serverfault.com | |
709,677 | ServerAlias - Force Apache to use 301 by default instead of 302 | I currently have the following in my config file: [CODE] This all works great because if I go to www.example.org/something I get redirected to http://example.com/something The only problem is that the redirection that occurs is "temporary" ie: 302 instead of 301. How can I change this so that it will be a 301 instead w... | I don't think the 302 was generated by Apache. You can do a 301 with something like this in your Apache configuration : [CODE] | 0 | 0 | 944 | 2015-07-30T13:27:13.823 | infrastructure | serverfault.com | |
881,818 | Jail errors & wont start | I've created a jail and action in an attempt to catch "DDoS attacks", however the log files show errors for this jail whenever I restart Fail2Ban. The jail & filter seem fairly straightforward, and reproduced in several blogs, but the one I've used for comparison is here . This is the jail: [CODE] and this is the filte... | I don't have enough reputation to comment, so I'll post as an answer here. It looks as if this line: [CODE] is passing variables to iptables, and as a result of the [CODE] you're specifying two destination ports in a single iptables rule. I couldn't find any specific documentation on this, but it doesn't look right to ... | 1 | 1 | 312 | 2017-11-04T12:59:54.200 | infrastructure | serverfault.com | |
117,209 | MYSQL - order by indexed column | I have this table with 500,000 rows: [CODE] I want to make a query like this: [CODE] This query sometimes works exactly as I want ( see this ), but according to some opinions, this is incorrect. I searched the web for solutions and found these: http://venublog.com/2007/11/29/mysql-how-to-avoid-filesort/ http://www.gets... | When building an [CODE] , start with the '=' columns in [CODE] . Then move on to one range: [CODE] In newer versions of MySQL, the second choice may do a leapfrog game (with the [CODE] ) to be more efficient than in older versions. Give it a try. My cookbook . You could also give it this one [CODE] but that is risky --... | 1 | 1 | 52 | 2015-10-06T23:51:56.863 | database_errors | dba.stackexchange.com | |
521,928 | Cannot ping B from A until B pings A | I have a server cluster all connected on a local network(all physical machines, not virtual). When trying to ping from Server A to B, I get a [CODE] . I can ping from B to A no problem, which then allows me to ping from A to B for a short while. Because of this behavior I believe I have an ARP issue, although I do not ... | Does sound like a arp problem, if its long spanned vlan over a vpn or similar, you may need to add static arp entries, with an ether address of the local switch. [CODE] And if thats the fix, you will have to add this to command to start up scripts. | 7 | 6 | 2,372 | 2013-07-09T14:17:50.747 | infrastructure | serverfault.com | |
231,530 | How to query all entities associated with all children (recursive) of a node in SQL? | This question is about SQL in general. Answering specifically for MySQL would be helpful but not necessary. Ok, I’m having trouble putting this into words… so bear with me. Say I have a tree of things (I’ll call them nodes), with a table that looks something like this (the structure can be changed; this is just a simpl... | I assume the row (5,5) is a typo, so I used: [CODE] as a side note, which representation would you have preferred if you were about to start answering a question, the ascii art in your question, or create and insert statements like above? To recursively traverse the tree you can use a recursive common table expression ... | 2 | 2 | 3,014 | 2019-03-07T07:59:33.273 | database_errors | dba.stackexchange.com | |
107,027 | SpamAssassin 2010 Bug still active on my mailserver despite the offending rule being fixed - where to look to fix? | The SpamAssassin 2010 bug was supposed to be fixed not long after the bug became widely known, and indeed the offending rule in my /usr/share/spamassassin/72_active.cf has been updated. However, incoming messages are still being tagged by this eg: [CODE] Here is the relevant rule: [CODE] I'm on spamassassin/3.2.5-2+len... | It turned out I needed to restart amavisd, not spamd. | 2 | 0 | 387 | 2010-01-28T00:39:12.413 | infrastructure | serverfault.com | |
10,945 | az aks browse doesn't open browser automatically on WSL and only showing JSON instead of the dashboard | [CODE] works fine on my Mac Mini, but I'm trying to work with it in WSL2 Ubuntu 18.04 with Azure CLI on a Windows 10 machine. [CODE] Kubernetes 1.14.8 which shouldn't make a difference given it works fine in macOS. Appears to be an issue with WSL2. The first issue is running: [CODE] Just brings up the following in [COD... | I would expect it to work like [CODE] and open up a new tab in default browser. But somehow it doesn't work like that. I think the fix must come from azure CLI. Temporarily, For [CODE] you can setup an environment variable on WSL. [CODE] In this case next when I run [CODE] it will open up the dashboard in new chrome ta... | 1 | 1 | 1,215 | 2020-02-28T21:49:26.343 | api_errors | devops.stackexchange.com | |
1,041,516 | Windows Server 2019 Essentials: not activated and not reachable | I am attempting to create a small test Domain with VMs to validate some PowerShell remoting behavior. I have Windows Server 2019 Essentials installed and configured as a DC, but it is in demo mode and has not been activated. I also have a VM with Windows 10 Enterprise 1909 installed. The VMs are currently configured wi... | According to this documentation there should be no need to reinstall. The document lists 3 limitations for non-genuine (unlicensed) Windows versions: [CODE] You might want to check if changing the NIC configuration might have triggered Windows Firewall on the server to switch to a zone different from 'Domain' | 1 | 0 | 353 | 2020-11-06T10:52:56.613 | infrastructure | serverfault.com | |
911,655 | Failover SQL cluster to DR site using replication | I am attempting to fail over a SQL cluster with 2 nodes using Zerto replication. I am running Server 2016 Standard and SQL 2017 standard. My network is not stretched, so I need to failover using a different vlan. I am only attempting to bring up one node of the cluster (the active node that holds all the rolls). I am o... | If you are open to redoing the architecture, SQL AlwaysOn works well with multiple subnets. I recommend using the same version of SQL for all replicas though. https://www.mssqltips.com/sqlservertip/4597/configure-sql-server-alwayson-availability-group-on-a-multisubnet-cluster/ | 2 | 1 | 726 | 2018-05-10T16:10:37.113 | database_errors | serverfault.com | |
510,867 | openvpn client cant reach external internet | Setting up an openvpn server with tls auth and ip forwarding. I could connect to the vpn server just fine, but couldn't reach any outside connections I could not successfully ping [CODE] the google dns service but I knew I could connect to the vpn server: [CODE] where [CODE] is my vpn interface and could see packets co... | have you tried accessing a website/server via ip to exclude DNS as a error source? If that works try adding [CODE] to your server.conf .This pushes the Google-DNS server to the client, helping to resolve the adresses | 2 | 0 | 458 | 2013-05-25T17:13:52.620 | infrastructure | serverfault.com | |
138,573 | Xen and HyperVM build question on os template | I recently built a server with hypervm and xen, now i know xen from command line, but hypervm ties into our whmcs and so its a requirement, however my question is this, when i build a new o/s template my partition table is gone, and i know why, but i was wondering if anyone has built anything in hypervm for adding in p... | if Windows you need the template installed with VNC and there are no other solution right now :) | 0 | 0 | 632 | 2010-05-04T20:10:24.183 | infrastructure | serverfault.com | |
255,498 | SQL Server Setup Error | I'm getting the following error at the very end of SQL Server 2016 setup. Updating permission setting for file 'Local Machine' failed. Principal 'SYSTEM\CurrentControlSet\Services\Eventlog\Appliaction\DatabaseMail' was tried to be added to the file permission setting. The file permission setting was supposed to be set ... | Thanks for the help. I found out it was a HIPS (Host Intrusion Protection System) blocking the registry entries. Once I disabled it, the installation completed successfully. Thanks again. | 0 | 1 | 149 | 2019-12-12T16:41:51.930 | database_errors | dba.stackexchange.com | |
558,461 | DNS Subdoamin Issue | we have an godaddy account for dns, and we registered our servers in godaddy dns admin console, right now we have an problem, our case is our registered server ip in godaddy dns can able to register any one of other dns service providers, it might be an issue, someone can easily able to register subdomains to our serve... | If I understand your question correctly, it can be rephrased as "How do I prevent people from pointing random A records to our servers' IP addresses". Well, you cannot. And why would it matter? If I want to point some random porn domain to your webserver, and people visit it, all that happens is that they will see your... | -3 | 3 | 57 | 2013-12-01T06:47:58.160 | infrastructure | serverfault.com | |
71 | When are p-values deceptive? | What are the data conditions that we should watch out for, where p-values may not be the best way of deciding statistical significance? Are there specific problem types that fall into this category? | You are asking about Data Dredging , which is what happens when testing a very large number of hypotheses against a data set, or testing hypotheses against a data set that were suggested by the same data. In particular, check out Multiple hypothesis hazard , and Testing hypotheses suggested by the data . The solution i... | 14 | 10 | 776 | 2014-05-14T22:12:37.203 | data_quality | datascience.stackexchange.com | |
102,510 | Trigger Logic (from SQL 6.5 ) | I have a database that was originally implemented in SQL 6.5 and has been migrated to SQL2000, SQL2005 and now SQL2008R2 (Compatibility Mode = 10). Through the migration many new tables, functions, and procedures have been added and many of the newer T-SQL features are in use (e.g., Merge, Windowing Functions, Try-Catc... | I'm not sure if this code is fully accurate for columns that have more than 1 row with the same value, but I suppose that's a different subject. What I see is that the only value the null counter is ever initialized to is 0. That means it will never have an effect on the addition. Putting on my dev hat, I could see the... | 2 | 2 | 116 | 2015-05-26T21:53:32.240 | database_errors | dba.stackexchange.com | |
571,074 | Windows static route not working | I have a Server 2008 R2 machine connected to 2 networks with its 2 network cards. LAN 192.168.2.0/24 SAN: 192.168.168.0/24 I have a site-to-site VPN with the following network layout: VPN: 192.168.4.17/29 For some reason whenever my server pings the VPN network it times out most of the time. Machines on my LAN that are... | Stick to one default gateway, and then add your static routes based on which gateway you go with. So if you keep the [CODE] as your Default Gateway and remove the [CODE] you'll need to add routes for any subnet that isn't directly connected to that [CODE] network you have direct access to if you want to reach it via th... | 1 | 1 | 31,533 | 2014-01-30T17:16:37.600 | infrastructure | serverfault.com | |
27,007 | MongoDB geospatial query with sort - performance issues | I have query (which is very slow ~2,5s ): [CODE] When I run explain for this query I get [CODE] When I remove sort({_id: -1}) explain gives me (fast query 5 millis ): [CODE] I have 2d index on latlng, desc index on _id and compound indexes. [CODE] What I want to achieve is to get markers from a particular area sorted f... | A query in MongoDB can only use one index at a time, so it's a case of one or the other - it can't use the 2d index first, then do a sort on the _id index. In order to use indexes for both the selection and the sort, you would need a compound index like this: [CODE] Try that, or similar and see how it impacts the resul... | 3 | 3 | 2,057 | 2012-10-16T06:34:59.613 | database_errors | dba.stackexchange.com | |
768,529 | How to deal with VHD for database storage in a multi VM setup in Azure | I've learned that to have the most available Windows Azure VM setup it's best to create availability sets. My setup would be to have an availability-set for 2 web-VM's and a set for 2-sql-VM's The database for the SQL server VM is stored on a premium storage disk, however, I obviously only want to have 1 datasource for... | This isn't really an Azure question, its a "how do I do SQL clustering question". You can't just share a SQL database between two VM's and it magically work, you would need to setup your VM's in a cluster to share the SQL workload between them. Clustering in Azure is slightly different than on premises as you can't use... | 0 | 1 | 186 | 2016-04-06T12:25:07.643 | database_errors | serverfault.com | |
151,369 | Oracle 11.2.0.4 -- "sofar" increasing slowly in V$SESSION_LONGOPS | I am running a long-running query, and it seems to be "stuck" on this operation here: https://i.stack.imgur.com/MPnFB.png From v$session_longops, the value of "SOFAR" seems to be increasing at 2-3 blocks per minute on this sort operation. The "time remaining" is misleading as it has been stuck at 34 seconds. I don't se... | The TIME_REMAINING in V$SESSION_LONGOPS is much like the time remaining on downloads in Internet Explorer or file copies in Windows: It is a guess, massively subject to change, and often not a very good guess. I use SOFAR divided by TOTALWORK to measure progress. As long as SOFAR is moving forward at the expected speed... | 2 | 2 | 932 | 2016-10-04T01:50:21.990 | database_errors | dba.stackexchange.com | |
557,815 | Anyone know of a way to find all certs that weren't auto-enrolled? | I'm in the process of moving an Active Directory Certificate Services role over to a new 2012 server. The new server will be issuing new certs and I need to find all certs that weren't handed out by auto-enrollment so I can manually issue new ones. Anyone know of a good way to do this with Powershell preferably? I'm us... | You could open the certificate store : [CODE] You could open the local machine personal store on each computer you want to audit and enumerate and return information about certificates not issued by your new CA [CODE] Now you can see what computers/servers still have certificates from the old CA's installed: [CODE] | 1 | 1 | 550 | 2013-11-27T15:07:12.280 | infrastructure | serverfault.com | |
160,645 | How to get an SVN backup cron working? | I'm trying to get the script here working on my Ubuntu Server to backup the SVN repository via a cron. [CODE] I've changed the paths to the correct ones, and subversion-tools is installed, however I get the following errors if I try and run sudo bash svnbackup.sh: [CODE] I presume these errors are why the cron didn't w... | The "command not found" error looks like it was overwritten which is an indication of the wrong type of line endings. Run [CODE] on your script file to fix that. It's possible that it's some other stray character. Display your script using [CODE] or [CODE] to reveal that. This problem often occurs when you use a Window... | 1 | 0 | 1,344 | 2010-07-15T09:11:16.500 | database_errors | serverfault.com | |
323,656 | PCI Scan failed on a VPS | I'm new to PCI, we just paid for the Trustkeeper PCI Scan and here are some of the results (just the vulnerability names): DB Accesibility SSLv2 Supported A lot of BIND (patches) related vulnerabilities A lot of OpenSSL (patches) related vulnerabilities A lot of Apache Tomcat (patches) related vulnerabilities HTTP Serv... | You should have terms and conditions for your hosting that should narrow down who's responsible for what. That, or contacting their tech support contact at the company should clear it up. If you're the one installing the services it'll most likely be your responsibility. If they provided the services in question and yo... | 0 | 1 | 623 | 2011-10-21T14:55:48.530 | infrastructure | serverfault.com | |
369,030 | Handling different versions of a program and benchmarking with OO | Note: I'm not sure if the way I phrase the question initially will fit 100% on this board, so please help me to focus on the main point. Scenario: You develop an algorithm or a neural network that performs a certain task, in the case of the algorithm in many steps that use input from the previous step(s) to compute som... | Perhaps I should set the correct expectations at the beginning: the best solution might not be object-oriented (OO). You should use what is the most appropriate, not what is the purest-OO idea. Are you working mainly in Python, or one of the domain-specific languages (DSLs) used for neural network training? You can try... | -3 | 0 | 82 | 2018-04-08T13:01:21.893 | api_errors | softwareengineering.stackexchange.com | |
713,452 | Can DNS Servers give nearest IP to resolvers? | I know what happens when I request [CODE] , but I wish to know is it possible to dispatch nearest server IP determined in a zone file to client? is there any DNS Server doing this? Just like CDN but for IP connections | This has been asked before - have a look at this question . Otherwise, as suggested in the comments, split horizon may be a solution if your problem relates to a LAN/WAN scenario. | 1 | 1 | 426 | 2015-08-11T20:06:23.467 | infrastructure | serverfault.com | |
45,678 | Comparison between addition and multiplication function in deep neural network? | I designed a specific Convolution Neural Network to study in the area of image processing. The network has a part that there are two tensors that have to be transformed into a tensor in order to be fed to the next layer. This situation happens at several points of the network. In fact, there are several operations such... | The observation is very interesting you report, since concatenation and addition are practically the same. A nice explanation can be found in https://distill.pub/2018/feature-wise-transformations/ . | 7 | 2 | 1,573 | 2019-02-16T09:24:19.887 | data_quality | datascience.stackexchange.com | |
107,772 | SSIS: How to check if a record DOESN'T exist in flat file but exists on the database | I am working on preparing an SSIS job where I am importing a .CVSV file to OLE DB destination (sql database). We are going to get these files on daily basis. The .CSV file contains records of doctors. Each row represents a doctor. Below image shows how I am able to do this successfully. No problems upto this point. Her... | How do I check to see if the record is not in .CSV file but it exists in SQL database? Have a staging table (e.g. [CODE] or whatever naming convention that you follow) that will first truncate (everytime you load a CSV, make sure to truncate the staging table) and then import the entire CSV. Then you can update the mai... | 1 | 1 | 9,654 | 2015-07-22T15:19:39.000 | warehouse_errors | dba.stackexchange.com | |
160,758 | Printer Won't Print! Long and weird saga | Okay, here's something fairly weird. I'll try to outline the story in a way that makes sense. We had an old print server (windows 2003 based). We had some issues with people not being able to add printers, and as we added Win7 systems (64 bit) we were going to need other printer drivers added, so we decided we'd do a n... | I remember back in the days when I was having trouble with Laserjets, I would revert back to the good old Laserjet 5 driver. Always seemed to be able to print using that. Would be interesting to see if changing to that driver on the new print server helped your issue... | 5 | 2 | 3,823 | 2010-07-15T14:52:21.190 | infrastructure | serverfault.com | |
725,043 | HTML POST method downloads the corresponding php | I am making an authentication form on HTML and trying to link it up with PHP. The HTML code is [CODE] The corresponding auth.php file (that I made to ensure basic working of POST method before expanding it) is: [CODE] But when I open the HTML file in chrome, and click on the Sign in button, then the auth.php file simpl... | Web server tend to download instead of execution when it didn't recognize the file type. First make sure you have installed php5module and enabled. You can check from command line: $ a2enmod -l actions alias auth_basic authn_file authz_host authz_groupfile authz_user autoindex cgi dir env expires include log_config mim... | -1 | 1 | 2,905 | 2015-09-27T00:53:48.223 | api_errors | serverfault.com | |
952,406 | Chrome and Edge display served PDF with gray dot in center on multiple machines. Firefox displays fine | Sometime in the last few days, Chrome and Edge started displaying PDFs from my website with a dark gray background and a light gray dot in the center. The PDFs display fine in Firefox . I have tried this on 4 PCs and one outside our internal network. Gray Dot I have not made any changes to the web server configuration.... | It turned out that Chrome and Edge don't want to load PDFs if the Content Security Policy has object-src 'none' set. I had to relax the CSP a bit by setting object-src 'self' | 1 | 1 | 96 | 2019-02-05T15:25:08.617 | infrastructure | serverfault.com | |
241,076 | Postgres query very slow when using index | So I've run into this issue with a slow Postgres query. I've added an index but it doesn't seem to help. It takes 8 minutes to get 100 records from a table with 2822968 records. Here's the query that I run: [CODE] And here is the explain analyze [CODE] I use rails - here is the partial multi column index from the schem... | It seems that the statistics for that index are way off, and PostgreSQL may be faster performing a sequential scan. Try to [CODE] and see if that improves matters. Another idea may be an index on [CODE] (if you don't already have that) with the idea to fetch rows in sort order and discard the ones that don't meet the c... | 2 | 2 | 216 | 2019-06-21T01:06:32.163 | database_errors | dba.stackexchange.com | |
979,216 | Creating a subdomain that points to another server from cloudflare | Sorry, I'm new at this but here is my problem: We've got a domain with godaddy the dns is with cloudflare and the site is on herokuapp. I need to create a subdomain for the domain which points to a server with wordpress so that marketing people can create what they need fast. How do I go about doing that? I've seen som... | Make Heroku listen to that hostname and make sure to put the CNAME record of that domain pointed to heroku | 1 | 0 | 321 | 2019-08-14T09:43:13.263 | infrastructure | serverfault.com | |
795,290 | Admin password of MariaDb doesn't seem to work | I've just installed [CODE] on a fresh Ubuntu Gnome and ran mysql_secure_installation afterwards where I set a decent admin password, removed the anonymous user etc. Afterwards I realized some strange behavior regarding the admin password: If I try to login from my normal user account using the command [CODE] I always g... | That behaviour sounds consistent with enabling the plugin for socket authentication for the root user, where MariaDB trusts operating system credentials received over the socket and does not rely on a password. By using [CODE] or logging on as root you can connect to the database server as root, because you're root on ... | 9 | 20 | 12,358 | 2016-08-06T23:23:59.133 | database_errors | serverfault.com | |
397,025 | How are floating point representations (say single precision for instance) able to represent more numbers than what a 32 bit memory allows? | I am trying to understand the floating point system. Can the floating-point system represent all the real numbers within the range of (10^38) accurately? If so, then how is it possible? Because technically, we still have only 32 bit memory available (for single precision) and we can at most represent upto just 2^32 in ... | How are floating point representations (say single precision for instance) able to represent more numbers than what a 32 bit memory allows? They're not able to, and they don't. There are still only 2^32 possible values. The difference is how those values map to numbers. An unsigned integer starts at 0, and uses every v... | -2 | 4 | 736 | 2019-09-06T02:18:05.480 | api_errors | softwareengineering.stackexchange.com | |
594,670 | Under what circumstances would two identical subdomains on the same server behave differently? | I have two subdomains in the same parent folder on the same disk on the same physical server, operating under the same instance of Apache2 and all its mods. How do I know the folders are identical? Because I did this: [CODE] I'm having a very specific problem on subdomain2 - specifically, IE refuses to maintain session... | For other visitors' benefit, we solved the issue. (I work with mounty.) The issue was that subdomain1 was actually sub_domain1 (i.e., included an underscore), and IE doesn't accept cookies from domains with underscores. Technically this is not a bug, as IE is following the RFC-2396 spec more strictly, but it's the only... | 0 | 1 | 53 | 2014-05-13T02:01:27.503 | infrastructure | serverfault.com | |
249,517 | How do I restrict the Open/Save dialog in Windows to one folder? | I spend a significant amount of time helping non-techies use their PC's. I realized most of that time is spent trying to explain to them how the Windows folder hierarchy works, where the "open file" dialog is pointing now, and how to find that Word document they saved. All this time, they're telling me they "just want ... | This article may be of interest to you - http://xperiencexp.blogspot.com/2005/06/how-to-change-default-save-in-location.html This seems to be part of the old Windows "PowerToy" utilities, and I'm not sure if it will work on newer systems. I should also warn you that I haven't tested this method. | 1 | 0 | 1,362 | 2011-03-20T13:55:04.110 | infrastructure | serverfault.com | |
297,538 | JavaScript extend vs mixin | After having read Eric Elliott's Fluent JavaScript article , I was and still am toughtful about the way to play with instance prototypes. On one side, you have the extending inheritance... [CODE] Or the new way of doing it... [CODE] And on the other side, you have the mixin , creating a mix of multiple prototypes that ... | With Stampit, there is intentionally no link between prototype mixins and the original source, and that's by design, because altering the prototype of any instance could then alter the original prototype. In your post, you seem to think that's a bad thing, but in practice, mutating prototypes after object instantiation... | 5 | 2 | 3,146 | 2015-09-17T22:33:52.757 | api_errors | softwareengineering.stackexchange.com | |
942,185 | How to activate Windows Server 2016 using MAK key and no local KMS? | We have a very small virtual environment with only two Server 2012 VMs. We just purchased a license (local government entity) for Windows Server 2016 in order to add another VM to our stack. I'm having trouble activating the new VM. We are not using a KMS because that seems like a lot of extra work for such a small gro... | Error 0xc004e028 is, according to Microsoft: You might see this error if you try to activate a device that is already in the process of activation. Your device should be activated after the first request is completed. Sounds to me like your server is just pending activation. I'd give it an hour or so, reboot, and if it... | 1 | 3 | 13,187 | 2018-11-29T17:13:29.820 | infrastructure | serverfault.com | |
267,822 | How to query/join tables where foreign key constraint is set in schema | I'm relatively new to sqlite and databases in general. I've successfully setup a schema of 4 tables, each having a foreign key pointing to its parent table. The schema also has the foreign key constraint set on the child keys. Performing a query where every table is joined with the SELECT * FROM...JOIN...ON ......... w... | A foreign key constraint is just a constraint, i.e., it prevents you from inserting data that would violate the constraint. Foreign key constraints have no effect on queries; if you want to join tables through these values, you still have to write the join. (Why? Because the SQL standard has always said so, so changing... | 1 | 1 | 678 | 2020-05-25T03:26:01.077 | data_quality | dba.stackexchange.com | |
208,364 | mysql count distinct with duplicate rows values but different ids | I have table [CODE] id 3 and id 4 are duplicates with same name and brand_id. I want to count DISNITC without duplicates - I use query [CODE] I get result: [CODE] Please help solve problem. Thanks. | [CODE] ✓ [CODE] ✓ [CODE] brand_id | count(distinct name) -------: | -------------------: 1 | 2 2 | 1 3 | 1 db<>fiddle here | -1 | 2 | 7,646 | 2018-05-31T13:02:48.020 | database_errors | dba.stackexchange.com | |
858,224 | readonly mode for SMB Windows backups on Samba Server to prevent encryption/manipulation | There seems to be just another huge attack with crypto trojans. I have an office here, where I am responsible for the samba server that receives the windows backups (with windows backup tool) In an efford to make the encryption of backup-data unlikely, I removed the [CODE] -attribute recursively for the content of the ... | I'm afraid it wont help. Good ransomware protection strategy requires a comprehensive approach to the infrastructure. 3-2-1 backup rule and tapes either physical or virtual. The thing is that ransomware cant target tapes and ignores them completely, meaning your backups will not fall victim of something like Wannacry. ... | 4 | 5 | 174 | 2017-06-27T20:55:41.643 | data_quality | serverfault.com | |
1,150,231 | Using two asymmetric uplinks | My current network topology is: Fact Firewall (I tested with OPNsense and IPFire, but I'm open to further suggestions) and the whole "ORANGE/DMZ" stuff are actually VMs/containers in a physical LXD server should not impact (but I might be wrong, of course). My current setup (using IPFire ATM) is fully functional, BUT i... | What you want is basically policy based routing. In OpnSense (and pfsense) you do this in a firewall rule: Here the gateway will be used for packets matching that rule. You can add additional gateways in addition to default under System - Gateways. You will have to define firewall rules for the different traffic types,... | 0 | 1 | 90 | 2023-12-21T21:46:44.480 | pipeline_ops | serverfault.com | |
406,525 | rpmbuild gives seg fault | I am trying to build an rpm using the rpmbuild tool. I have source code which build binaries around 30 GB. This software for which I am making the rpm has dozens of executables. When I copy only the binaries of a single executable (Eg. init) my rpm builds successfully. But when I dump the entire build to the rpm, rpmbu... | RPM versions up to 4.4.x have a 2GB package size cap because it requires 64-bit integer type support in headers. Starting with 4.6, this package size cap is removed. There is still a 4GB limit on individual files within packages due to cpio format limitations. Reference Link | 0 | 1 | 474 | 2012-07-10T19:41:14.077 | infrastructure | serverfault.com | |
319,235 | MariaDB MATCH AGAINST using + in BOOLEAN MODE | I am having a problem with searching a MariaDB database. Search keywords come from user-input, processed with PHP, SQL query made and results returned. In it's simplest form :- [CODE] I want to do an AND keyword search, such that more keywords give fewer results. To do this I use the MATCH AGAINST query IN BOOLEAN MODE... | True. It cannot find any rows with "the" because "the" was never indexed because it is a 'stopword'. The same goes for "words" that are shorter than [CODE] , which defaults to 3. I suggest you post a bug at bugs.mysql.com suggesting that "+" in front of a stopword or short word should not invalidate the entire query, b... | 0 | 0 | 605 | 2022-11-05T12:50:02.230 | database_errors | dba.stackexchange.com | |
205,139 | Web Application Development Question | I checked all the relevant question's of my query and their answer's but my questions aren't exactly listed anywhere. Basically i have just one year of web development experience using joomla , HTML , PHP etc.I have had .NET Training during my academics and now i have a requirement for a professional type .NET web appl... | If you ask me (and you did) i wouldn't try to focus on the order of the steps (Database, GUI, Coding, DOCUMENTATION), because i'm a TDD/Agile advocate. Focus on writing one micro FEATURE at a time, and refactor/expand on a working mini system. For example, start with an authentication portal where you only can login wi... | 1 | 4 | 305 | 2013-07-17T07:09:22.287 | data_quality | softwareengineering.stackexchange.com | |
3,300 | How to perform the dreaded double hop with linked servers? | The situation: I have SERVER1, SERVER2, ACCESSDB on SERVER3. I have successfully created a linked server connection from SERVER1 to SERVER3's ACCESSDB. I want to be able to access the linked server on SERVER1 from SERVER2 (aka the double hop). When I log into SERVER2 I get the good ol - "dont have permissions" issue wh... | Security Account Delegation And for SQL Server 2000 but still valid too Basically Configure the server in AD Set up the SPN Use sp_addlinkedsrvlogin so useself = true | 5 | 4 | 1,194 | 2011-06-14T04:44:57.300 | warehouse_errors | dba.stackexchange.com | |
74,432 | MySQL RDS Instance eating up memory and swapping | I have an issue with memory on a RDS instance which is of db.m2.4xlarge class. Below are the specifications of the RDS instance Instance Class: db.m2.4xlarge ( 68.4 GB of RAM ) Engine: mysql (5.5.37) IOPS: 8000 Storage: 805GB ( 128 GB of data ) Multi AZ: Yes Automated Backups: Enabled (5 Days) The mysql instance is tun... | Memory is not instrumented in MySQL until version 5.7 (currently in development), so this does make your question a bit of a guessing game. I can see from inside InnoDB status, that it doesn't appear to be InnoDB consuming the memory (assuming you collected this from when the problem was occurring): [CODE] Total memory... | 5 | 1 | 9,150 | 2014-08-20T10:09:10.720 | database_errors | dba.stackexchange.com | |
759,064 | DigialOcean Droplet clone of a wordPress website - DNS not resolving | I have a website mywebsite1.com runing wordpress and hosted on digitalOcean droplet using LEMP (Nginx/php/mysql) on Ubunto server, am trying to duplicate the same site and use a new DNS mywebsite2.com to point to the new droplet IP, the problem is that the new DNS doesn't load and try to connect to the server then stop... | This should really be a comment, but it's too long. It's not really feasible for us to do basic problem solving for you. You need to work out which parts are working, piece by piece, then put them together. You'll learn a lot more that way than hoping someone on the internet can magic you an answer. I'd first test that... | -1 | 1 | 108 | 2016-02-22T23:51:41.960 | data_quality | serverfault.com | |
188,011 | are permissions granted "network service" secure on a webhost? | I was deploying a site today and it seemed I needed to grant read/write permissions to the site directories to system account "network service". Does that mean any other site running on this webhost (who also presumably is running as network service) could also access these files? I tried assigning permissions to pre-c... | If the web apps on the server are running in Medium Trust, they should be prevented from reading/writing files outside of the application's root, even with file permissions as you note. Without that, though; yes, any application running under the context of Network Service would have the ability to read and write files... | 1 | 1 | 720 | 2010-10-06T06:56:35.523 | infrastructure | serverfault.com | |
1,101,173 | Raid 5 with hot spare (17+1) somehow became Raid 5 without hot spare (18 + 0)? (Dell Poweredge T640) | So recently we have been having strange RAID storage server issues. The most recent issue I have no idea what could be going on. config is Raid 5; 17 + 1 (17 disk volume + 1 dedicated hot spare) A disk flagged itself as 'removed'. As we're on an extreme budget at the moment, we are trying to reseat all drives before we... | An 18-disk RAID5 is a train wreck waiting to happen... I hope you have a good backup. Seriously, you need to use RAID6 for anything beyond 5 disks maximum or disks larger than 1 TB. Since you don't have the option to shrink the array, you'd need to add disks so you can migrate to RAID6, with or without hot spare. With ... | 0 | 4 | 654 | 2022-05-18T05:00:40.947 | infrastructure | serverfault.com | |
631,286 | Stateless NAT with CentOS 6 | I'm looking to set up the following: [CODE] The CentOS box's internal interface is 192.168.110.1, and the IVRs' 192.168.110.101-103. What I'm trying to do is to map a bunch of external UDP ports across to each IVR - so, for example, ports 10000-14999 are mapped to IVR 1, 15000-19999 to IVR 2, etc. The problem I have is... | how about [CODE] or [CODE] edit [CODE] | 2 | 1 | 940 | 2014-09-25T16:12:38.470 | api_errors | serverfault.com | |
310,053 | How can a software code be made modifiable without being visible to the end user? | I wish to supply a software product with GUI, etc. for operating it. And the software utility is research so the users will want to tweak it to some extent and implement their own preferred algorithms instead of the ones we're shipping. Therefore, we want to make the code partly modifiable but not visible. A possible s... | What you are trying to do is make an extensible application: one that has pluggable functionality, perhaps with sensible defaults. Ideally, you would have a framework such as Spring to allow plugging in functionality: however, with C++, this is a bit more work that typing in some XML. The general way to accomplish this... | -2 | 5 | 545 | 2016-02-13T19:18:58.377 | api_errors | softwareengineering.stackexchange.com | |
231,411 | Mysql connections hanging in login state | Suddenly today, I had an issue with connections to mysql hanging when connecting by IP address (e.g. mysql -h 10.1.248.20), but I could still connection using localhost fine, regardless the user. [CODE] Yes, I realize replication was broken in that output above; that was after I tried restart MySQL (it was an emergency... | Try to add [CODE] to [CODE] section of [CODE] like this: [CODE] Seems to be a name resolving issue. | 6 | 7 | 14,249 | 2011-02-04T22:04:19.587 | database_errors | serverfault.com | |
643,946 | How to send Windows Performance counters to Logstash + Kibana? | I would like to setup monitoring for system resources on my Windows servers. I've noticed a common configuration in Linux is to use collectd daemon to get system metrics information. From collectd data can read by logstash and ultimately put into Elastic Search to be viewed with Kibana. This is nice and works well in t... | The 'Tools that works with Graphite' page http://graphite.readthedocs.org/en/latest/tools.html list several. I have tried the PowerShell script 'Graphite PowerShell Functions' https://github.com/MattHodge/Graphite-PowerShell-Functions and it works well. edit I mis-read your question, you were talking only about Logstas... | 6 | 2 | 11,201 | 2014-11-12T22:56:37.040 | pipeline_ops | serverfault.com | |
115,699 | Transferring websites from x64 to x86 server | I run a x64 staging server here along with the following: Solr Java etc. However, I am about to get a linode vps for production and quickly realising that x86 is the way to go for their lowest RAM package (thinking to upgrade later). My staging server is x64 with 12gb ram, so going down to 300mb ram is going to feel de... | You may have trouble booting a jvm in such a memory constrained environment. You won't have trouble moving your indexes, all Lucene documents are endian agnostic and not word aligned. The only package I had trouble moving from 32bit to 64bit was a collection of rrdtool archives, which use the native word size of the ma... | 0 | 0 | 180 | 2010-02-23T08:59:02.283 | infrastructure | serverfault.com | |
32,667 | Getting 'nullPointerException' in @AfterMethod | Code: [CODE] Exception: [CODE] | Simply use [CODE] & [CODE] instead of [CODE] and [CODE] . Launch URL before [CODE] and [CODE] . Make sure you have added double [CODE] in your driver path. Try This: [CODE] | 0 | 3 | 6,329 | 2018-03-21T15:12:58.350 | data_quality | sqa.stackexchange.com | |
47,761 | Choosing A PostgreSQL Authentication Method For A Large Course | I am teaching a first course in databases for the first time. Students will need to have a database management system to which they can connect to do much of their work for the course. I have chosen to use PostgreSQL (running on a GNU/Linux-based VPS), since I am familiar with it from my own personal projects. But I ha... | Sounds like no fuss to me: Create an OS account for each user, preferably with simple ssh key based authentication; in [CODE] use [CODE] for [CODE] connections; Optionally also use [CODE] for [CODE] connections from [CODE] and run [CODE] on the server. Not strictly required. Set a password on their role for use with [C... | 4 | 2 | 1,377 | 2013-08-08T03:22:56.223 | database_errors | dba.stackexchange.com | |
1,152,680 | Prometheus Blackbox http_2xx returning 403 since webserver migrated to StackCP | I had working Prometheus Blackbox Exporter http_2xx checks monitoring various web servers. Then the web hosting provider migrated from cPanel to Stack CP. Since then all the http_2xx just return 403 (Forbidden) errors and I can't work out why as I can run successful [CODE] and [CODE] commands from the same Prometheus s... | o.k. so I finally figured it out. For some reason the migrated webserver was rejecting based on the User-Agent (or perhaps lack of a User-Agent as I am not sure what or if the http2_xx probe sends a User-Agent). But all I needed to do was add a fake browser-like User-Agent in my case like this: [CODE] | 0 | 2 | 215 | 2024-01-31T18:16:39.097 | api_errors | serverfault.com | |
147,215 | Setup Managed Backup failure | I am trying to setup Managed Backup (in Azure SQL) using SQLServer 2014 (Ent 64bit) and it is failing. I have the credential created with Identity as the Storage account name and Password set with current Access key, I've tried both keys as well. When I run through the GUI to Enable managed backup, set the retention pe... | Issue identified. The network admin didn't have the separate Azure domain environments trusted, although he said that he did. I tried this and failed in our SQL DEV environment/domain in Azure, which isn't trusted. I then, for sake of troubleshooting and communicating to the powers to be, tried it from our SQL QA envir... | 0 | 1 | 423 | 2016-08-18T15:03:07.287 | database_errors | dba.stackexchange.com | |
52,084 | Configuring transactional replication with updatable subscription via SSMS 2012 | Can I configure transactional replication with updatable subscription via SSMS 2012 (SQL Server 2012)? Is this removed from SSMS 2012 or I'm just missing something here? | updatable subscription is deprecated. If you still want to implement it, you have to use T-SQL. You wont be able to do it using GUI. See Updatable Subscriptions for Transactional Replication and Deprecated Features in SQL Server Replication | 1 | 1 | 601 | 2013-10-23T20:52:25.320 | database_errors | dba.stackexchange.com | |
308,567 | How do I change the default database owner for new databases in SQL Server? | I had cause to change my computer name (it’s running in a virtual machine). I have an existing SQLExpress instance which was installed prior to the rename. There are some features which fail because new databases are still created with the old owner. More specifically, when I try to create a new database diagram, I get... | The default owner is going to be whoever creates the database. In your case, it sounds like you're using a local computer account as a windows login for SQL Server. So, the login name is in the form of [CODE] ; however, you would like new databases to be created with [CODE] as the owner. Changes to Windows accounts are... | 2 | 5 | 3,315 | 2022-03-10T20:37:07.957 | database_errors | dba.stackexchange.com | |
4,798 | SQL Profiler - Scripting a trace with HostName filter | I have a stock of scripted trace definitions that I use for different levels of diagnostics, none of which filter by HostName. I needed to filter traffic by host today so: Fired up Profiler Created an empty trace Added SP:Start/Complete Set a filter on hostname Scripted to test.sql file Open file in SSMS, no sign of th... | When the script is generated in Profiler 2005, the default value saved for the logical operator is 1='OR', so the trace will capture more information than we initially intended. [CODE] In Profiler >=2008, the script has 0(AND) for the first occurrence of the column being filtered. [CODE] This looks like a bug in Profil... | 7 | 6 | 4,639 | 2011-08-19T00:44:01.777 | warehouse_errors | dba.stackexchange.com | |
610,546 | How do I discover peers in an Ubuntu VM in an Azure Service? | I'm setting up a few Ubuntu 14.04 (LTS) virtual machines under an Azure Service (Availability Set). I'd like for each of these to be able to discover dynamically at least one other system in the local group so that they can initialize an etcd service on boot. What approach would you take to do this? Would it be best to... | Azure provides DNS for cloud services. Since you are using an availability set all your VMs are in a cloud service. Consequently, your VMs should be able to reach each other by hostname. If your VM is in a VNET you have the additional option of configuring the VMs to have a static IP address . Furthermore, VMs are typi... | 0 | 1 | 44 | 2014-07-07T07:50:19.210 | infrastructure | serverfault.com | |
162,081 | When 3rd NF is not the best solution? (Performance) | I have 3 tables: [CODE] The problem that I have is that I need to allow end-user to import data via web page into the database and at the present moment due to: INLINE FILE (MySQL) Large Data files 500MB+ I am having to import measurements and records first which takes 50% of the the total parsing (import) time; After ... | It is possible, even inside a [CODE] statement to convert [CODE] to a MySQL [CODE] (or [CODE] or [CODE] ); there are some good examples in the docs. But what if there is a mal-formed date; what do you want done then? In that case it may be better to throw the data into a [CODE] ; move the valid rows to the target table... | -1 | 1 | 159 | 2017-01-24T15:31:55.303 | api_errors | dba.stackexchange.com | |
412,096 | Hypothetically if every scenario were covered by an end-to-end tests, would unit tests still have any value? | Note: I'm asking about the strategy behind unit / integration / end-to-end tests, not about classifying tests as one or the other . More so in the past than present, it was expensive to write and run end-to-end tests for every possible scenario. Now though, for example with the increased use of test fixtures / emulator... | It's the second one. Tests can demonstrate the capabilities of the system X as of now . But virtually always, requirements change and we will have to create a new System X' with subtle or big changes. Often, making these extensions breaks existing functionality, and then it is much more valuable to get the feedback "th... | 1 | 3 | 254 | 2020-06-28T12:01:39.610 | database_errors | softwareengineering.stackexchange.com | |
303,312 | access_log gzipping temporarily freezes apache server | We have a linux centos box with plesk on it. Everyday during the apache_log gzipping process the apache server stops responding until the gzipping is over. Is this normal behavior? Or is there a way to fix this? UPDATE: It turns out the freezing was caused by a mysql routine which coincided with the log rotation. | Definitely NOT normal. Three things to check: Make sure the log rotation system doesn't try to compress tle log Apache is writing to. You can do this by setting the "DelayCompress" flag in logrotate's config file. Make sure your logrotate configuration has a postrotate command that makes Apache re-open its logfiles (gr... | 0 | 1 | 249 | 2011-08-20T10:55:12.433 | database_errors | serverfault.com | |
34,106 | Jmeter passes me to application with wrong credentials | i recorded script with valid credentials. Now i am trying to login the application with wrong credentials to test if application is responding correctly. Unfortunately it passes me with nonsense credentials and makes changes inside the application. But if i try to login the application through the web browser the login... | It is not quite possible to say what's wrong without seeing your CSV Data Set Config settings HTTP Request settings Request details in View Results Tree listener It might be the case that you're sending some header which is being used for authentication instead of credentials. Another possibility is that you're not act... | 1 | 0 | 614 | 2018-06-06T14:03:15.047 | data_quality | sqa.stackexchange.com | |
414,630 | My site was hacked, but just for bots | Possible Duplicate: My server's been hacked EMERGENCY Help! My site has been hacked. The pages served to regular users are ok, but the pages served to bots (like google and facebook) are spammy. the thing is it's not the whole site, just certain pages, like this: https://www.google.com/search?q=www.radicalislam.org%2Fa... | Since your site has been compromised, you do not know what has been done to your server beyond what you can already see. So best bet is to learn from your mistakes and start again from a known good point. Whether you keep the existing site/server up while you do this depends on your particular circumstances. Build a ne... | 0 | 0 | 103 | 2012-08-06T11:07:29.763 | data_quality | serverfault.com | |
649,864 | SQL Server Express 2005 cannot accept connection (but ODBC working from external and local server) | I'm having a problem with SQL Server Express 2005 edition; it's unable to be contacted from an application (3rd party monitoring utility software). I have perform the following tests, all of which succeeded: Ping and DNS resolve test from internal and external (my laptop). Creating System ODBC entry and then perform te... | OK, so the problem was that the server where the SQL Server is running, all in a sudden was removed from the DNS. :-/ Not sure why, the server can ping to the rest of the data center, but the rest of the data center cannot ping or access this server. Rebooting the server resolved this issue. | -1 | 0 | 298 | 2014-12-08T01:04:27.267 | database_errors | serverfault.com | |
254,441 | what does "net_ratelnet_ratelimit: 222 callbacks suppressed" mean? | The application is still responsive, but when I ssh into the server i cant do anything because errors keep popping up. | i cant do anything because errors keep popping up. You can use [CODE] to fix that, man dmesg : [CODE] Also, suppresing means that some identical warning's repeating way too much. I hope you'll be able to find out what warning it was having applied dmesg to stop console mess. | 1 | 1 | 1,735 | 2011-04-01T03:41:11.267 | infrastructure | serverfault.com | |
168,320 | network issue with Hyper-V | I have Hyper-V installed on a Windows 2008 R2 system. I have 4 IPs and they are assigned as such: the Host machine has one I had 3 VMs with Windows Server 2003 that each took one. I deleted one VM and remade it because I had made the hard drive too small. After the install of Windows Server 2003 I added the ip from the... | Someone suggested that it might be my ISP. They had binded the ip to the MAC address of the original server, so when i created a new server the MAC was different. Thanks everyone and especially tony roth for all the help. | 0 | 1 | 569 | 2010-08-08T22:52:55.783 | infrastructure | serverfault.com | |
121,393 | SMS gateway with a "from" parameter | I am programming a mobile app which send sms. I need a gateway that let me put a "from" parameter. On many gateways, I can only subscribe, put my mobile phone number as the sender after a verification process. The main problem is that the phone number verification is only available for my and not for my users. My custo... | we use cardboardfish , setting a from number is a matter of giving an extra parameter when POSTing to their HTTPSMS service URL | 3 | 1 | 147 | 2010-03-11T05:46:56.857 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.