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 |
|---|---|---|---|---|---|---|---|---|---|---|
330,495 | Why is a while(true) loop in a constructor actually bad? | Albeit a general question my scope is rather C# as I am aware that languages like C++ have different semantics regarding constructor execution, memory management, undefined behaviour, etc. Somebody asked me an interesting question which was for me not easily answered. Why (or is it at all?) regarded as bad design to le... | What is the purpose of a constructor? It returns a newly constructed object. What does an infinite loop do? It never returns. How can the constructor return a newly constructed object if it doesn't return at all? It can't. Ergo, an infinite loop breaks the fundamental contract of a constructor: to construct something. | 48 | 254 | 18,769 | 2016-09-08T09:04:47.127 | api_errors | softwareengineering.stackexchange.com | |
39,108 | Windows 2008 R2 WDS | I am trying to test the Windows deployment services in Windows 2008 R2. I am able to get an IP when my desktop PXE boots but then I get PXE-E32: TFTP open timeout. Has anyone run into this? if so anyone know a fix? Thanks | If you have DNS and WDS running on the same box, a patch from over last summer (the DNS exploit patch) can cause this to happen. The fix for this is on Johan Arwidmark's blog . Hope that helps. Good luck. | 1 | 5 | 6,571 | 2009-07-10T19:33:22.630 | pipeline_ops | serverfault.com | |
768,787 | Azure ARM VM creation with Network Security Groups | I have a network with enabled Network Security Groups where I deny Outbound Port 80 and 443. All Outbound traffic is managed through a Squid Proxy. Now, I want to create a new Virtual Machine in this Network using the Azure ARM templates using the resource Microsoft.Compute/virtualMachines. The problem is that after cr... | I think you may have an issue with your design. If your network security group protecting your traffic to the Internet then your traffic to your azure storage should work just fine for your hard disks in Azure storage. That connection doesn't run over the internet. Take another look at your design. | 1 | 0 | 488 | 2016-04-07T13:01:15.160 | infrastructure | serverfault.com | |
888,876 | DigitalOcean's object storage, Spaces, is randomly slow on retrieving small files | We switched from a custom block storage solution to DigitalOcean's object storage and I'm kind of disappointed in the speed. Is there anyway we could retrieve objects asynchronously? Also some objects that are around 50 KB can take from 57 ms to 3 seconds... Is this normal for object storage solutions or is this just a... | 1) Object storage isn't designed to handle the workload you're intended to use it for. Making a long story short: Hash-based K/V seeks won't ever reach performance of a block device "immediate" seeks thru LBA addressing. https://cloudstore.interoute.com/knowledge-centre/library/object-storage-use-cases 2) Digital Ocean... | 8 | 5 | 2,873 | 2017-12-19T15:22:52.997 | infrastructure | serverfault.com | |
296,850 | Nagios failing to expand $CONTACTEMAIL$ macro in notificaion command | I'm having a problem where my nofication command isn't expanding the $CONTACTEMAIL$ macro (Version 3.2.1 installed on debian squeeze using the debian packages) [CODE] I have this in my commands.cfg [CODE] and in contacts.cfg [CODE] In my service config file I have [CODE] With these configs I would expect nagios to be s... | After a suggestion by quanta posted below I turned on debugging and then used an on demand macro to see what nagios was actually doing. While I can't yet explain why, nagios seemingly wasn't expanding the macro because it was bare. I changed $CONTACTEMAIL$ to '$CONTACTEMAIL$' and it started to work. Oddly, Double quote... | 5 | 1 | 4,946 | 2011-08-02T21:15:10.520 | infrastructure | serverfault.com | |
852,339 | Having an issue with Outlook out of office that seems to be caused by autodiscover | So I'm having an issue where users can set the out of office for outlook, but response only go internally but not externally. Upon looking into the issue, it seems to be autodiscover. I noticed there is an expired certificate on the exchange, and a new certificate was installed as remote.blahblah.com.au, and the old wa... | I'm having an issue where users can set the out of office for outlook, but response only go internally but not externally. Does the externally here mean the same domain' user with external Outlook clients or the other domains' users? Actually, it doesn't make sense that domain users can receive OOF email from internal ... | 0 | 1 | 266 | 2017-05-26T03:48:47.140 | infrastructure | serverfault.com | |
43,897 | How do I get mdadm to auto assemble my raid array? | After upgrading to Ubuntu 9.04, my raid 5 array is no longer being assembled correctly. Right now, from boot, it will start a raid array using ata-MAXTOR_STM3500630AS_9QG03T0L-part1, at /dev/md0, but that is fail because it isn't my whole Raid 5 setup. This was working fine in 8.10. I've tried tweaking the following co... | Using the UUID is the preferred method. Also see what [CODE] outputs and try using that. You are updating the initramfs after you change [CODE] right? If you don't, when you boot your changes won't be used. [CODE] should do it. | 5 | 10 | 28,451 | 2009-07-22T05:50:08.297 | api_errors | serverfault.com | |
151,672 | The Story of secure user-authentication in squid | once upon a time, there was a beautiful warm virtual-jungle in south america, and a squid server lived there. here is an perceptual image of the network: [CODE] When the [CODE] request access to the Internet, [CODE] ask their name and passport, authenticate them by [CODE] and if ldap approved them, then he granted them... | Kerberos is not an option for HTTP authentication. NTLM is not well supported in any browser other than IE. Basic is not secure unless you put it behind HTTPS which AFAIK squid cannot do. So you are left with Digest. | 20 | 2 | 6,190 | 2010-06-16T12:28:58.060 | api_errors | serverfault.com | |
303,400 | SQL Server how to upload big json into column, performance issue | I am experiencing poor performance on a single row insert/update statement over a table when a nvarchar(max) column has few MB of data. Here my table structure : [CODE] Here an example of an update statement [CODE] Executing this command on the same machine of the DB (a development environment so no other work load) I ... | Your slow update plan shows a long wait on [CODE] : You should check that the log file for the database is on fast enough storage for the workload. There might also be some benefit from increasing the amount of RAM available to the instance. The [CODE] wait is also quite long at 361ms. As David Browne suggested you cou... | 1 | 6 | 2,053 | 2021-12-02T14:30:44.070 | database_errors | dba.stackexchange.com | |
94,425 | Help converting a MySQL query to postgres | Is it possible to do this query in postgresql? [CODE] I'm struggling with the variable syntax. I tried: [CODE] | This kind of queries do not need variables in Postgres. You can use window functions: [CODE] You [CODE] could also be written similarly to your expression, if you prefer. Assuming that [CODE] is an integer parameter, the result will be the same: [CODE] | 1 | 0 | 107 | 2015-03-04T20:01:40.803 | database_errors | dba.stackexchange.com | |
144,691 | MariaDB 10.1.16 on Ubuntu fails to start: WSREP Failed to recover position | I'm using [CODE] from the official MariaDB apt repository for 10.1 [stable], via the University of Texas mirror . I had a perfectly functioning MariaDB Galera cluster setup on 3 Ubuntu 16.04 servers. Then I upgraded them. Now I have nothing. The upgrade to 10.1.16 failed, and quickly brought down the whole cluster. I d... | There was a bug in galera_recovery.sh script. https://jira.mariadb.org/browse/MDEV-10396 | 2 | 6 | 9,085 | 2016-07-22T18:46:25.143 | database_errors | dba.stackexchange.com | |
8,768 | Recommended hardware configuration Analysis and Reporting Services | What would be a good way to calculate the recommended minimum hardware configuration for a Windows 2008 R2 64bit that will be running SQL Server 2008 R2 Analysis and Reporting Services? The database server is on another machine. The current configuration is : Virtual Machine running on a vmware7 host [CODE] 4GB of RAM ... | Intuitively, if I was doing an OLAP solution for a retail chain, I'd say your infrastructure is really inappropriate for a system with substantial data volumes. This sort of kit has trouble with the data volumes you get in insurance, which is probably a couple of orders of magnitude smaller than I would expect to see i... | 3 | 2 | 4,974 | 2011-12-05T12:03:23.153 | database_errors | dba.stackexchange.com | |
1,056,198 | Improve MariaDB Execution Time | I have a database with one table and three [CODE] . This table got around 30 million records, the execution time for a query like [CODE] This query is taking around 40 seconds to execute on a 1vCPU 1GB Ubuntu Server with MariaDB installed no other high usage servers are installed. Now I upgraded my server to 32GB RAM, ... | Always provide [CODE] when asking about performance. It sounds like you are missing [CODE] . ( [CODE] or [CODE] , if present is such an index.) | 0 | 1 | 461 | 2021-03-07T10:45:17.450 | database_errors | serverfault.com | |
440,894 | Can I use a Smart Array P410 controller on a HP Proliant DL 180 G5 server? | This link says the HP Proliant DL 180 G5 server only supports Smart Array E200, E500, P400 and P800 controllers. Can I use a Smart Array P410 instead? Currently the server has only the default internal controller, I need an additional one for better performance and to support additional drives (the default controller o... | This will depend on your backplane connections and whether you can find the right parts. You can use the P410 in an older server, but you'll need to change SAS cables to match the specific backplane connections. G5 systems usually used internal SAS SFF-8484 connectors to mate the Smart Array P400 to their backplane. I'... | 3 | 3 | 7,543 | 2012-10-22T10:06:52.953 | api_errors | serverfault.com | |
965,395 | How to get kubeadm to complete and launch the static pods defined in etc kubenertes manifests with containerd | Im working on fedora 30 (also tried fedora 29) and im unable to get past kubeadm init, this is the error i get: [CODE] I can use containerd manually (with crictl) to launch containers in pods, and they work fine, but kubeadm creates /etc/kubernetes/manifests and nothing in there gets launched, why is this? i can see an... | Turns out that there was an issue here: [CODE] that should be [CODE] not [CODE] | 0 | 1 | 1,426 | 2019-05-01T09:45:43.417 | pipeline_ops | serverfault.com | |
106,647 | Query strategies using SQL Server 2016 system-versioned temporal tables for Slowly-Changing Dimensions | When using a system-versioned temporal table (new in SQL Server 2016), what are the query authoring and performance implications when this feature is used to handle Slowly Changing Dimensions in a large relational data warehouse? For example, assume I have a 100,000-row [CODE] dimension with a [CODE] column and a multi... | I think, in your case a derived table is necessary to isolate querying number of mutations of postcodes per customer: [CODE] upd: Since the query is supposed to serve DWH/Analytics scenarios, the columnstore indexing is an option to check. I also made some benchmarks previously for a 10 million rows table. | 17 | 1 | 1,387 | 2015-07-10T23:05:43.923 | warehouse_errors | dba.stackexchange.com | |
584,414 | Monitoring/Alerting On Log File Change In Windows | Does anyone know of a simple tool that will email me every time a new change is added to a log file? I have an issue that I'd like to be notified of right away, but the only way I'd know if by monitoring this file. I've seen a few tools that do this, but they're more geared towards running interactively on the desktop ... | Logstash can consume windows event logs, and can alert on them via a number of mechanisms (SMTP, XMPP, etc.) http://logstash.net/docs/1.4.0/inputs/eventlog | 1 | 1 | 116 | 2014-03-25T16:25:11.547 | pipeline_ops | serverfault.com | |
417,080 | Import Active Directory users into Unix/Linux/FreeBSD group | I need to have FreeBSD 8.2 RELEASE p9 (running FreeNAS) import or associate Active Directory users (or Security Group) with a Unix/FreeBSD group. This way I can use FreeBSD group(s) security on a specific file/directory tree yet still allow AD users to access them. I have tried a couple of thing with no luck. Putting u... | You are probably better off configuring your FreeBSD systems to authenticate against Active Directory using [CODE] / [CODE] , or [CODE] (available in the FreeBSD ports collection), or the Microsoft Subsystem for Unix Applications (SUA) NIS server (more good info in the TechNet SFU/SUA Blog ). You also have the option o... | 4 | 1 | 2,655 | 2012-08-13T17:23:40.817 | infrastructure | serverfault.com | |
559,602 | Why would Puppet exclude a file resource without error? | The oddest thing is happening during this Puppet run (using [CODE] ) and it has me perplexed. I've tried my usual channels to find solutions but I cannot find anything on the topic. I apologize for being so verbose, I just don't want to leave anything out :\ - My Class [CODE] .. and my Puppet run is skipping the [CODE]... | As expected, the source of the problem turned out to be simple, though I still do not understand why Puppet did not fire an error about this: profile/logstash.pp: (elsewhere) [CODE] Note the circular reference in the require: [CODE] The resulting behavior is very weird, and I found the problem using this test: [CODE] T... | 4 | 1 | 601 | 2013-12-06T01:32:16.180 | pipeline_ops | serverfault.com | |
109,343 | Methods of Denying login by specific SQL Authenticated user using Management Studio | I am trying to create a way of restricting/complicating access, for a particular user, to login to SQL Server, using Management Studio with SQL Server Authentication. I would like a way that also gives the user a custom error whenever he tries to connect. One way I know of is to use Logon triggers. Ex: [CODE] (I know t... | Connecting to management studio should not be that threat to you unless and until that user gets full read/write on the database in question which needs to be secured. You can use [CODE] Permission here which will make the DB sort of invisible for that user when he tries to connect via SSMS, however if they are smart e... | 1 | 0 | 91 | 2015-08-07T11:17:24.150 | api_errors | dba.stackexchange.com | |
180,494 | DBCC SHRINKFILE for Log and Data when using Availability Groups | We had an issue where one of our database tables grew by 40GB by mistake. The database is part of an Availability Group with one primary and two replicas. While trying to delete the extra records we also managed to explode our log file sizes by ~70GB (Side note: always delete in small batches!) which started causing sp... | Denis P. wrote a basic SQL Script to resize the log files in an AG , so here is the overall process: Make sure replication has finished, as you can't shrink the files while the logs are still being sent to a secondary replica Figure out what new size you want the data and log files to be. There are plenty of SQL script... | 3 | 2 | 3,878 | 2017-07-21T21:32:18.877 | database_errors | dba.stackexchange.com | |
414,788 | Structure and placement of a exporting module | Its an infrastructure monitoring application. We have a spring boot (2.x) based Service Oriented Architecture (SOA) with multiple modules in our project and the center point is a REST services module which exposes multiple APIs which are in turn used by a client (Angular based). We are brainstorming over a module which... | I would like to join your brainstorming based on your requirement: Now the idea behind having a standalone exporting module is to not impact the servers on which the REST services are deployed (as some exports are very CPU and memory hungry) and divert all such requests to a cluster of exporting modules which can conne... | 0 | 0 | 151 | 2020-08-13T19:06:26.213 | pipeline_ops | softwareengineering.stackexchange.com | |
291,519 | pg_dump --exclude-table not working on one specific table | Wanting to exclude a few very large table in a [CODE] , I use the -T option multiple times, like this: [CODE] [CODE] however still gets included in the dump. Using [CODE] here for demonstration purposes: [CODE] Why is that? | Including the schema fixed it. The other tables were in the public schema but [CODE] was in a schema of it's own: [CODE] | 1 | 2 | 4,411 | 2021-05-13T18:11:34.467 | warehouse_errors | dba.stackexchange.com | |
15,713 | How to backup a NAS? Want to be able to recover files deleted by mistake | We have a NAS (HP Media Vault 2120) in a small office with 5 WinXP machines that save files onto one of the directories in the Media Vault. The vault is basically a centralized hard disk. A couple of times people have deleted files in the Media Vault and we're looking for a way to be able to recover files, at least wit... | I'm kind of looking for the same thing. For onsite versioning I use Allway Sync, which is set up to sync every 3 hours, and move changed or deleted files into a special folder on the target. We use a time capsule (I'm an apple guy, and we needed something ASAP as our server died, so I drove to the nearest apple store a... | 1 | 1 | 1,365 | 2009-05-30T17:25:31.837 | database_errors | serverfault.com | |
133,063 | is it problematic to cluster across two datacenters w/aag? | In general is it problematic to cluster across two datacenters that are up to 15-miles apart? For this one particular project the approach is the following? 2-Node Failover Cluster across two datacenters, one node per datacenter local SAN disks, no shared disks 'Node and FileShare Majority' at third location on-campus ... | PASQLDBA it depends really on how much data is being written to the database and the link between these two DC's and also how far out of sync you can tolerate the two servers keeping your RTO/RPO in mind. This is by no means any indication of what your milage may be but we have the following setup running quite well. 2... | 0 | 3 | 234 | 2016-03-23T00:01:57.640 | database_errors | dba.stackexchange.com | |
419,836 | What is the best practice for monolithic desktop frontend-backend communication? | For a monolithic desktop application with two projects - a frontend and a backend, both in C#, what would be the best practice for communication between them? The frontend needs to make calls to the back and get progress report back. If service references are added for both projects, a circular service reference will o... | For reporting back from the backend to the frontend, you can use events in C#. In that way, the backend defines the methods that are available to make changes and the events it will fire to inform interested parties of updates. The frontend can register an event handler for those events it is interested in. That way, y... | -1 | 3 | 674 | 2020-12-09T12:14:17.760 | api_errors | softwareengineering.stackexchange.com | |
353,358 | Namerservers & A Records, what's the best server setup for my predicament? | Right now we have a very thoroughly developed web app sitting on https://domain.com . It is built in ASP.NET. We want to build a separate site now, that solely advertises the app, handles all the marketing for the app. We want to use WordPress. Unfortunately, our current server setup does not allow for a php based CMS.... | So you have a domain domain.com which is hosted under server which only supports Microsoft Technologies and you wanted to add something.domain.com which you intended to be built with PHP. There is no need to change Name servers to gain what you wanted. Just get hold of the control panel which is hosting your DNS (usual... | 0 | 1 | 124 | 2012-01-25T07:07:39.217 | infrastructure | serverfault.com | |
11,544 | t-sql - combinatorics | I'm trying to find all possible character combinations in a variable length string. For example: '--' would have 2^n = 2^2 = 4 possibilities, 'x-', '-x', 'xx', '--' I think that essentially I need to loop through c(2,2) + c(2,1) + c(2,0) where c(n,r) = n! / (r! * (n-r)!) but I'm having trouble getting things to work in... | Here's a totally different approach that seems to work for this case. Expand and customize it as needed. Change the value of @l to control the number of bits/questions in the output. [CODE] | 3 | 1 | 1,727 | 2012-01-24T23:00:40.377 | warehouse_errors | dba.stackexchange.com | |
500,755 | SSH: Possible to forward password authentication to command executed on remote machine? | A quick background on what exactly I'm trying to do: I frequently have to set up public key authentication from remote clients to my local machine. I'm attempting to automate this process a bit by being able to run a script which will via SSH do 2 things sequentially: 1) Via password authenticated SSH, use ssh-keygen o... | It would be simpler to use [CODE] locally or just use [CODE] to copy the public key to the local [CODE] . Heres how I did it. From local, [CODE] to remote and use `ssh-keygen`` as in your step #1 From local, [CODE] the public key from remote to local file [CODE] On local, ``cat tmp.pub >> /home/jimmy/.ssh/authorized_ke... | 1 | 2 | 1,936 | 2013-04-19T00:05:17.577 | api_errors | serverfault.com | |
119,214 | What port does OpenLink ODBC Driver use? | I use Avaya Reporting Services and OpenLink ODBC Drivers for db connection. I know that it uses port 5000 for handshaking but after that I believe it uses an random port for communication. I want to deploy my application and it will communicate with the client's system in their datacenter. They are asking what ports sh... | Does the server that will be communicating to your client with the OpenLink ODBC driver have a static IP? If you can't nail down a specific port, you might be able to solve it by having your client allow a range of ports only from your IP address. It's still a range, but significantly more secure than opening up a rang... | 0 | 1 | 1,651 | 2010-03-04T15:29:11.227 | api_errors | serverfault.com | |
195,136 | System Memory (RAM) for Windows Server 2012 Standard with SQL Server 2012 | We are using Windows server 2012 standard server with 2.4 GHz and 16 GB RAM. SQL Server 2012 is installed in it and also our primary application is installed on the server. Using transaction replication to get the latest data b/w the servers. The server performance hits badly sometimes when SQL Server holding the entir... | All of this assumes you're running 64 bit Windows and 64 bit SQL Server... SQL Server is greedy when it comes to memory usage, and that is by design. It keeps as much data as it can in RAM because it is faster than having to access disk to fulfill a query or other request. As a result, you may want to set the minimum m... | 0 | 1 | 1,394 | 2018-01-11T07:17:47.623 | database_errors | dba.stackexchange.com | |
580,066 | Improve Disk Performance of a Linux 2.4 Guest on KVM Host | I have a server running Linux 2.4, and I'd like to virtualize it using KVM. I can run it with a IDE controller, but my applications require more disk performance. The best existing solution is using VirtIO paravirtualization, but there's no driver for Linux 2.4, and I can't upgrade it to 2.6 or 3.x due to my applicatio... | Red Hat backported the virtio drivers to 2.4 to help companies P2V their ancient RHEL3 systems: http://rhn.redhat.com/errata/RHEA-2010-0157.html | 0 | 0 | 532 | 2014-03-05T18:23:23.313 | data_quality | serverfault.com | |
713,938 | apache / mysql unable to connect jails with PF firewall | I have setup two jail environments on FreeBSD11 [CODE] This is what I have in my /etc/pf.conf [CODE] when i tried to check if the port is open from [CODE] [CODE] as far as I can see [CODE] should pass traffic between the two jails, any advice much appreciated. | I got it, I had to create a MySQL user to be able to connect [CODE] then from the web jail: [CODE] then going http://192.168.0.1/mysql.php you should get [CODE] | 0 | 0 | 191 | 2015-08-13T13:48:55.797 | database_errors | serverfault.com | |
226,785 | ssl svn user login problem | I've a subversion server, on Apache (on WindowsXP), which is accessible over the net using http. I wanted to use ssl/https to access it. I haven't messed around with forcing http -> https yet, and can login using http:// fine. However, if I use https://, the login fails, and I get an "Authentication required!" 401 erro... | Try adding this under ServerName: [CODE] | 1 | 0 | 265 | 2011-01-25T18:45:49.750 | api_errors | serverfault.com | |
45,105 | Analyse MySQL General Query Log in Real-time? | We want to use mysql general query log to do real-time monitoring and auditing. Currently our approach is: set general_log=on; sleep 15m; set general_log=off; scp & rm xxx.log; set general_log=on;... But the main problem is when turn on/off general log it'll cause a peak of slow query. I also thought of another approac... | If you are really interesting in monitoring via the general log, there are two major approaches you can try: APPROACH #1 : Rotating Logs Let's say you have the following configuration in [CODE] : [CODE] You could rotate the general log with the following script: [CODE] As for your monitoring, you would scan the text fi... | 2 | 2 | 7,720 | 2013-06-23T08:08:04.477 | pipeline_ops | dba.stackexchange.com | |
208,671 | Apache "Out of memory" | My httpd-error.log file has many entries like : Out of memory Out of memory Out of memory How is anyone able to even start debuging that? It contains no useful information whatsoever. My server had 8gb ram and 'top' shows I still have 5.1gb available. I watched the apache (prefork) process grow to 41mb - and then it we... | First of all, many different things can write to the apache error log -- not just apache itself, but also modules or other components used in serving a specific request. It may not be apache running out of memory. Second, also bear in mind that while 32-bit Linux can address memory beyond the 4GB barrier by using PAE, ... | 0 | 1 | 980 | 2010-12-03T07:29:44.417 | infrastructure | serverfault.com | |
333,639 | how to log in to a remote pc with public key without having that user on the machine used to log in from? | I want to log in on a remote pc, example 10.10.10.5, from my local machine, called umar. the user on the remote machine is 'coolapp', so i want to pretty much do: ssh coolapp@10.10.10.5 and not enter a password but log in with public key. the problem is that on my local machine, i dont have a user 'coolapp'. how can i ... | try on your local machine [CODE] if you didnt create your key then before [CODE] you must execute [CODE] then [CODE] | 0 | 3 | 417 | 2011-11-22T13:11:38.857 | infrastructure | serverfault.com | |
186,142 | Oracle 11g Enterprise Manager Login Fail Internal Error has Occured | I have installed Oracle 11g on my Windows 10 machine. I followed all preinstallation requirements . When trying to log in to the Enterprise manager via this link: [CODE] I get the error: Internal Error has occurred. Check the log file for details. I have found log files and it looks like this is the relevant entry: [CO... | I managed to fix the issue, turns out it was a time zone issue. The DB time zone and computer time zone were different. Thus the DB Console would not start and was giving the error "EM daemon is not running". I fixed it by following instructions here. Also note before I did that I completely uninstalled Oracle and rein... | 0 | 1 | 1,175 | 2017-09-17T05:55:16.843 | database_errors | dba.stackexchange.com | |
340,083 | IIS stopped logging | IIS 7.5 has stopped logging all traffic for a single site (of a couple of dozen on the same box), and I can't work out why. It stopped logging at exactly midday on Friday last week, and nothing since. All log files for other sites are as expected. So far I've checked; Logging configuration is the same as other sites (W... | Ultimately, I removed and recreated the log directory, and things started logging again, so I assume there was some kind of ACL problem, although it wasn't obvious. | 6 | 2 | 3,475 | 2011-12-12T12:32:40.507 | infrastructure | serverfault.com | |
59,389 | Postgresql 9.2.6 ignoring archive_command | I'm attempting to set up a 3-server chain by leveraging WAL-E. I've done this in the past with replication/wal segments and I'm attempting the exact same method, just with using WAL-E in between. My replication from a -> b is working perfectly through WAL-E. I specify the S3 bucket and access information and a uploads ... | Streaming replicas don't run [CODE] because they do not generate WAL. They just replay the master server's WAL. You can cascade streaming replicas, where one replica acts as a master for the next. But for fallback WAL archiving they both use the master's WAL stream directly. So just configure the second replica to use ... | 4 | 2 | 628 | 2014-02-21T21:46:33.580 | hadoop_errors | dba.stackexchange.com | |
641,103 | Tomcat : Where to configure jmx JAVA_OPTS or CATALINA_OPTS | I have Tomcat installed on ubuntu. I want to enable JMX for monitoring so in catalina.sh I modified [CODE] as: [CODE] After restarting JMX is working but when I want to stop tomcat It gives error as: Error: Exception thrown by the agent : java.rmi.server.ExportException : Port already in use: 5555;nested exception is: ... | Create a file alongside [CODE] called [CODE] . That way all your changes are in a separate file. Use [CODE] rather than [CODE] since [CODE] is only used on start whereas [CODE] is used on start and stop. | 1 | 2 | 29,377 | 2014-10-31T10:12:48.237 | pipeline_ops | serverfault.com | |
529,789 | Block bots/spiders from development server and static asset domain | We run apache (on windows) and NGINX (on CentOS) development servers. I have the problem that Google some how keeps managing to get hold of the development addresses and indexes them (could it be from the Chrome address bar?) Is there a way of blocking all traffic from bots/spiders at a server level, before having to r... | First of all you should provide a valid robots.txt file in the root of your domain. It's common way to ask google and other legal web crawlers to not to go through your website. With nginx etc pretty easy to ban selected useragents: [CODE] you can put this code in a separate file and include it in every [CODE] block. | 1 | 0 | 634 | 2013-08-09T07:33:07.400 | infrastructure | serverfault.com | |
116,236 | SQL Server 2014 Management Studio Backup error | I had installed Microsoft SQL Server 2014 Management Studio and had been working on a database for sometime now. My laptop had Windows 7 (64 bit) installed. And I had been taking regular backup on that machine and also stored the backup on an external drive. Due to some reason my laptop stopped working. So now I starte... | Change your Backup command to something like this [CODE] Notice the [CODE] at the end. This should do it. You're changing [CODE] to [CODE] and remove [CODE] | 1 | 5 | 762 | 2015-09-25T17:44:13.313 | database_errors | dba.stackexchange.com | |
766,573 | Cron Job error says ioncube is not installed when it is | I have a website (mivprofit.com) and this website works with a script that requires a couple of cron jobs to run once a day. I have a cron email set and whenever the cron job runs this is the email that I get: [CODE] (I actually get two emails, one for each one of the crons, both identical except for the path and file ... | There are several versions of IONCUBE(4.1-5.6). Yes you might have it installed properly, but if it's not 5.2 being referenced in the php.ini, your app is not going to work. I personally had to insert: zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.6.so into: /etc/php5/apache2/php.ini /etc/php5/cgi/php.ini /e... | 0 | 2 | 1,871 | 2016-03-28T20:25:30.253 | data_quality | serverfault.com | |
228,028 | Analysing and improving the performance of a query generated by Django's ORM (multiple JOINs, missing indexes?) | I have a not-so-complex (imho) filtering logic based on several conditions in my Django models. There is one particular query which takes an inusual amount of time to finish. The query is built based on those two querysets: [CODE] and [CODE] The second querysets wraps the first one (via the [CODE] call). The resulting ... | The sort is being done to support the DISTINCT in the SQL query (as represented by the UNIQUE in the query plan). An alternative approach to sorting would be use hashing to get the DISTINCT values. Increasing your setting for "work_mem" could encourage that approach. But why are you generating so many duplicates, just ... | 0 | 1 | 612 | 2019-01-24T20:49:23.530 | warehouse_errors | dba.stackexchange.com | |
246,898 | service utility on ubuntu deoes not work properly | Here is a situation when I do [CODE] and when I do [CODE] now if I do [CODE] note above I did not used service command and it shows working. and now if I start it in same way I get a warning. [CODE] In any case either [CODE] command or using [CODE] with restart does not do any thing. It does not work and neither does i... | I digged a bit more into this problem and found following two commands will help you to find what is active on your system. [CODE] (status is short for "initctl status") or [CODE] In my case it was the second command of above [CODE] Once you determine which one's active (whichever applies): [CODE] (restart is short for... | 2 | 2 | 11,543 | 2011-03-13T17:50:19.303 | infrastructure | serverfault.com | |
220,818 | Using Resource Governor and allocate more memory to satisfy high Memory Grant request by queries? | On a SQL Server 2016 database server, I have few queries which are really slow and which ask for more memory (queries are not optimized). This is making the whole database slow as lots of users are running the same query. This is causing other queries to wait. I get [CODE] wait (due to parallel execution) and [CODE] . ... | This is the opposite of what you should do. When you have queries waiting on [CODE] , they're waiting for other queries to finish running, and give up their memory. The queries that are waiting aren't even running. Letting all queries use more memory will only make the problem worse. You'd wanna configure resource gove... | 2 | 5 | 465 | 2018-10-23T14:45:05.357 | database_errors | dba.stackexchange.com | |
859,386 | create vpn tunnel at exist interface | guys. I'm testing our company's firewall product.And there have a problem bothers me. "The firewall" works as bridge mode have eth1 interface.I want to simulate a client remote access "the firewall" use an ipip(or others) tunnel. My question is can I create a tunnel on "the firewall" with an existing interface called "... | The tunnel is always a new interface in the network stack. There are many reasons why it has to work like this. You need to adapt your firewall setting so that you can work with another interface in this case. | 0 | 0 | 941 | 2017-07-05T02:01:16.113 | infrastructure | serverfault.com | |
1,108,068 | How to run Nginx outside of a container to serve docker apps? | I have a docker container that just shows random pictures of cats being random. The image for the container resides on the server I use for my personal site, and I would like to add a route in Nginx that allows me to navigate to the app and see the cat of the day. Using the following configuration, I get 404'd when I a... | Right, so I solved this by doing the following: I made [CODE] : [CODE] I modified the location directive in [CODE] to use [CODE] The reloaded nginx and started the app with [CODE] [CODE] | 1 | 0 | 1,261 | 2022-08-12T16:16:02.720 | pipeline_ops | serverfault.com | |
649,149 | Does the "Enterprise PKI" MMC allow for any automated testing of the PKI? | I'm using the Enterprise PKI snap in to diagnose and check the health of a MSFT PKI system. Is there any way to script/automate this tool to alert me to the pending expiration of a CRL or missing AIA? | No, PKIView.msc do not provide any automation means/capabilities. You have to write your own scripts. What I would suggest (sorry, no actual code, but a way to do this) is to consider the following plan and possible tools (assuming, you will use Windows PowerShell): enumerate all Enterprise Certification Authorities (b... | 5 | 4 | 1,349 | 2014-12-04T13:38:47.447 | infrastructure | serverfault.com | |
24,642 | What known bugs still exist in SQL Server 2005 after SP4 CU4? | I'm assuming CU4 will be the last update for SQL 2005. We intend to stay on 2005 for awhile. Does anyone know (or perhaps a list is maintained) which bugs STILL exist on 2005? I assume these would mainly be bugs that have been fixed in 2008 and 2012, but still exist in 2005, even after applying SP4 CU4. Seems like we s... | Microsoft doesn't really keep a public list of open bugs. The ones that are the most important (e.g. anything involving security) are kept private for obvious reasons - they actually aren't published until they are fixed (and even then they often remain private). Not that there have been many security issues with SQL S... | 5 | 6 | 741 | 2012-09-21T01:57:11.677 | database_errors | dba.stackexchange.com | |
548,386 | IIS Request Filtering Rule for User Agent | I'm trying to block requests from a certain bot. I've added a request filtering rule, but I know it is still hitting the site because it shows up in Google Analytics. Here is the filtering rule I added: [CODE] This is an example of the user agent I'm trying to block. [CODE] In some ways it seems to work. If I use Chrom... | I assume you took the string: [CODE] from the IIS logs. In the logs space characters are represented as plus (+) characters. The real User Agent string is: [CODE] so removing the + from your denyStrings section should fix it. | 6 | 8 | 10,521 | 2013-10-24T15:54:43.890 | infrastructure | serverfault.com | |
181,715 | Creating Report Subscriptions on report that are using a Shared data source that uses Windows Integrated Security | We've recently deployed a new SSRS Server 2012, that can use Windows Integrated Security. We configured the servers to properly use Kerberos authentication and we solved the double hop issue. Now, all our reports are using Shared data sources that are configured to use Windows Integrated Security instead of storing an ... | Community wiki answer : You have two choices: Change the data sources to use a SQL login and password, then you can use the built in subscription method. Use a scheduled app to generate the report, and have that do the e-mailing. The scheduled app would need to run under an account with permissions into SQL/SSRS. I wou... | 3 | 1 | 750 | 2017-07-25T11:31:09.407 | database_errors | dba.stackexchange.com | |
731,918 | How to prevent non-domain computers from accessing the domain share resources? | My company is using Windows Server 2008 R2 for domain controller and file sharing, and all client computers have Windows 7 Professional installed. Some of the client computers are added to the domain, intended for accessing the share resources to cooperate, while other client computers are not added to the domain for o... | File Share are validated in user space, not computer space. Thus any computer entry you enter there are ignored, but as no user got access to the share, as you left only domain computer, that mean no one can access the share. (as like i told, computer account are ignored in file share) Why its done that way ? Each file... | 3 | 1 | 5,842 | 2015-10-27T11:15:01.927 | infrastructure | serverfault.com | |
815,601 | Trouble configuring a powerconnect 5548. Can't set to Master | So I've inherit a powerconnect 5548P that I'm trying to setup but I can't get it to work. When I first plugged it I remember it was assigned an IP and I was able to reach the web interface. Now I'm trying to set the admin password via CLI but the problem I'm having is that there is no console prompt, only ">" and the o... | Turns out the unit was defective. Dell replaced it and the new one if working fine. Thanks for all the help. | 1 | 1 | 1,800 | 2016-11-17T19:25:30.783 | infrastructure | serverfault.com | |
95,142 | Detecting proxy server connections | We are having issues with users using proxy servers and causing trouble on our website. Is there an updated SQL list of proxy servers, indexed by IP, available anywhere so that we can query it and prevent access to those using proxy servers? | You could look for the [CODE] HTTP header but of course you can't rely on it and treating proxy users differently from your other visitors seems like a bad idea. | 0 | 1 | 249 | 2009-07-18T21:39:08.670 | infrastructure | serverfault.com | |
990,745 | Windows Server 2019 SMTP Server - Email Stuck in Queue / Not Being Released | I've recently upgraded a number of servers from Windows 2008 R2 to Windows Server 2019. 2 of the servers require SMTP which I have installed on both, however, 1 server works as it should and the 2nd, the emails get stuck in the queue and don't ever get sent/released. I found this post (which I hoped would solve my prob... | In my case, it turned out to be AWS preventing the emails leaving the server. "Important: Amazon Elastic Compute Cloud (Amazon EC2) restricts Amazon Virtual Private Cloud (Amazon VPC) egress traffic on port 25 for all EC2 instances by default. If your application requires traffic on SMTP port 25, you can request to rem... | 2 | 0 | 2,972 | 2019-11-05T23:36:03.933 | infrastructure | serverfault.com | |
322,365 | Postgres return multiple columns from subquery | I have found older posts but I'm curious if there is any better solution for my case. I have working code but it is really slow. I tried to return two columns in subquery but I have an error (the subquery must return only one column). Example: I'm JOINing a lot of tables and I need to return two columns. Lets call the ... | Move the subquery into the FROM clause as a lateral join. [CODE] | 0 | 0 | 1,176 | 2023-01-20T18:34:10.790 | warehouse_errors | dba.stackexchange.com | |
55,447 | vmware limit cpu usage | i have centOS dedicated server and installing vmware server how i can limit cpu/resource usage for each vm ? its very big problem my XEON server are overload.. | A Simple Way : CPU: I would recommend setting the 'niceness' of the each process that corresponds to the VM. This doesn't really limit how much CPU is used, but rather sets the priority that the scheduler will give it. You can change the priority of a process with the renice command. -20 is the highest priority, 20 is ... | 4 | 2 | 3,318 | 2009-08-18T11:11:50.130 | infrastructure | serverfault.com | |
966,127 | LVM Second Logical Extents is Missing | Edit 1: Just to clarify no data was written to the new extents. I know this because the admin grew the file system with fdisk right after doing the lvextend, he then rebooted for the changes to take affect. Upon reboot the new block device was lost. Here is what the sys admin did. A new block device was added, he then ... | After unmounting your FS, I would go this way : Step 1 - [CODE] to identify with file has the correct lvm metadata (the one just before sdd1 extension) Step 2 - [CODE] to actually restore the old lvm metadata | 0 | 0 | 391 | 2019-05-07T02:54:43.847 | infrastructure | serverfault.com | |
483,283 | Custom (port-based or protocol ) routing with 2 isp | My linux computer in the office: [CODE] It has 2 ISP, first one is static ip and default route: [CODE] second one is gprs modem. I call wvdial without default route: [CODE] Second my computer at home on another network have public ip, but not always on. His configuration very same, debian linux. And my task is access t... | You need to use firewall marking along with policy routing . First create a new routing table which routes via ISP2: [CODE] (That first command only needs to be run once ever.) Then add a routing policy rule to use this new table for packets with a certain firewall mark: [CODE] And finally, use iptables to mark the pac... | 0 | 1 | 261 | 2013-02-28T03:47:30.737 | infrastructure | serverfault.com | |
129,382 | How do I move a PostgreSQL tablespace? | Is there a way to physically move a PostgreSQL 9.3 tablespace from [CODE] to [CODE] ? I'd like to just [CODE] the directory and tell PostgreSQL that the tablespace is now located at [CODE] . Looks like [CODE] only lets you rename. I'd like to avoid creating a new tablespace and moving the database to it. I assume that ... | I assume that your tablespace name is [CODE] . Get Oid of your tablespace test=# SELECT oid,spcname FROM pg_tablespace WHERE spcname = 'tblspc'; oid | spcname -------+--------- 24580 | tblspc (1 row) Stop postgres $ pg_ctl -D $PGDATA stop Move directory from old one to new one $ mv /old/dir /new/dir or $ cp -r /old/dir... | 15 | 17 | 16,179 | 2016-02-16T09:24:57.670 | database_errors | dba.stackexchange.com | |
311,485 | Is an attempt to create a duplicate resource, e.g. a user, worthy of throwing an Exception? | Say I have an REST API for creating users in an application. The request goes to a controller, which marshals the request data into a domain object, and passes it to a service to create a user. Now, there are certain uniqueness constraints on a user. If the user service receives a request to create a duplicate user, is... | There are two extreme positions that can be taken here: Exceptions must truly be exceptional. There is nothing even remotely exceptional about trying to add an existing user. Therefore, the failure should be indicated via a return value. Unless a method can run through the optimal functional path (in this case, add a n... | 3 | 4 | 1,014 | 2016-03-01T11:58:40.353 | api_errors | softwareengineering.stackexchange.com | |
322,652 | Composite data type returned from one postgresql function seems to arrive differently in the caller | I have the following composite data type in a postgres db: [CODE] I'm returning a value of this type at the end of a function, like so. The exception I'm throwing just to see what the result looks like before the function returns. [CODE] When I do that, it prints: [CODE] (By the way, the first two parameters are blank ... | I learned that it was easier to return multiple values from a function by using IN/OUT declarations in the method signature, as follows: [CODE] And in the caller: [CODE] | 0 | 0 | 180 | 2023-01-27T05:47:54.083 | database_errors | dba.stackexchange.com | |
323,511 | selinux on RHEL6: httpd config. DocumentRoot [/path/does/exist] "does not exist" | I'm running a stock RHEL6 installation and have pointed my httpd DocumentRoot to [CODE] (it exists!). I've granted permission to the [CODE] user and added what I thought should be the necessary label via: [CODE] but no dice . [CODE] shows a missing type enforcement allow rule for a request that looks like avc: denied {... | You will need to apply the following (assuming that path is /www) [CODE] And then make it survive a label: [CODE] What I find it is easier to use another directory as a template when apply SELinux context to a directory: [CODE] | 2 | 3 | 6,596 | 2011-10-21T00:50:03.910 | infrastructure | serverfault.com | |
112,934 | Using REGEX_LIKE to Implement a Check Constraint | Background I am working on the database design for an application that tracks information about database development projects at my company. The project management office (PMO) assigns a psued-number to each project based on if the project's cost is counted toward merger integration or not. To illustrate, the number as... | This isn't really a database administration question, but... Firstly, your pattern does not prevent entries like this: [CODE] , because it does not say that "INT" or "NINT" should be at the beginning of the string, neither does it say that the lowercase letter, if it's there, should be the last symbol of the string. Yo... | 1 | 5 | 742 | 2015-09-02T11:30:10.710 | data_quality | dba.stackexchange.com | |
118,276 | How can I charge money for open source targeted at individuals? | Most questions like this only seem to apply for big pieces of software for companies with money. I'm developing a small application targeted at individuals. Informally speaking, I want to sell the application to users, but allow them to fix and modify it(but not redistribute). Practically and legally speaking, how woul... | Most open source license permit unrestricted re-distribution. This includes GPL, MIT License, Apache etc. See this link blow. http://www.zdnet.com/blog/burnette/howto-pick-an-open-source-license-part-1/130 If you want to get a decent over view of Open source licensing see here: http://www.smashingmagazine.com/2010/03/2... | 4 | 1 | 774 | 2011-11-07T10:56:05.093 | database_errors | softwareengineering.stackexchange.com | |
965,648 | Having Trouble Setting Subdomains On NGINX | I'm currently setting up OpenMediaVault on my Rock64 Single Board PC which is based off Debian and is configured through the web GUI running from NGINX on port 80. I'm currently trying to install Nextcloud using NGINX, MariaDB/MySQL and PHPMyAdmin, and originally I was hoping to use Docker to install and manage them al... | The [CODE] should contain fully qualified domain name, such as [CODE] The details are in the nginx docs . | -1 | 1 | 1,098 | 2019-05-02T21:23:32.250 | database_errors | serverfault.com | |
979,170 | NGINX: redirect only external traffic from HTTP to HTTPS? | I'm trying to redirect HTTP traffic to HTTPS on my NGINX web server, however, only for external connections. Internal connections such as a localhost should be able to access it via HTTP without being redirected. This is for the [CODE] and [CODE] for the Kubernetes (GKE) cluster this Docker container is running in. Whe... | Regarding your question, I've found this interesting StackOverflow question asking a very similar set up as this. On the accepted answer, there are the config.conf and the yaml files used for this set up. | 0 | 1 | 699 | 2019-08-14T00:07:23.537 | pipeline_ops | serverfault.com | |
333,021 | PostgreSQL create table char error | I just started learning PostgreSQL. I tried to create a table: [CODE] But I get this error: ERROR: syntax error at or near "char" | Works for me. fiddle Except that I never use the outdated data type [CODE] . And neither should you . See: Any downsides of using data type "text" for storing strings? | 0 | 0 | 14 | 2023-11-12T21:04:02.163 | database_errors | dba.stackexchange.com | |
250,702 | Gigabit NIC with TCP offload and open driver | I'm looking for a gigabit Ethernet adapter with a TCP offload engine that will work nicely with a modern Linux kernel. Due to the way patches and updates are handled, I really need one that has an open (blob-less) driver. I'm beginning to think such a thing might not exist. I'm hoping that I'm just missing a lesser kno... | Based on the linux networking maintainers dislike of TOE , I'd be surprised if such a thing exists. | 1 | 2 | 534 | 2011-03-23T08:20:45.207 | infrastructure | serverfault.com | |
1,058,698 | How to restart service after some time? | We have multiple systems that suffer from a firmware bug. The vendor is aware of the problem and will fix the firmware bug. Until then we have to live with a workaround: restart the relevant service some time after bootup. There are mechanisms in systemd to control the restart of a failed service but they are not of he... | I suggest using cron in this case: [CODE] This should restart your service 5 minutes after the machine has booted For more information see the Extension section in the crontab(5) manpage https://linux.die.net/man/5/crontab | 8 | 4 | 4,251 | 2021-03-29T14:17:38.910 | infrastructure | serverfault.com | |
661,136 | root accepts any password : how to change to a real password? | I have an old Linux system which can be accessed via a public IP address. When you connect to the SSH port you can login as root with any password. The only restriction is that the password needs to be at least 1 character long. In the (far) past, when this system was developped, this was ok as the system was always be... | There is a way to disable user password, nullok module in PAM. check this link for more information: http://www.cyberciti.biz/tips/linux-or-unix-disable-null-passwords.html If that is your case, just change the this bizarre configuration. ==================================================== For your further questions, ... | 0 | 3 | 3,240 | 2015-01-21T06:41:59.090 | api_errors | serverfault.com | |
633,787 | "SSL input filter read failed" Apache and 443 | I have a little problem with my apache conf. When I read the error log, here is what I can see: [CODE] And sometimes, this one: [CODE] I don't know actually ... so my website is full HTTP, except two page in HTTPS. So here is my virtualHost: [CODE] So, where I've done a mistake? I can't find it out ... Can you help me?... | I read that Apache doesn't support SSL on name-based virtual host, only on IP based Virtual Hosts. So I changed it: [CODE] by: [CODE] For now, it seems to work, I don't know if it's the good solution, but I don't have any error ... | 21 | 11 | 89,382 | 2014-10-06T09:23:01.653 | infrastructure | serverfault.com | |
508,529 | Making the kernel aware of device colocation | I have a server with a big hardware RAID6 array that's been configured with two volumes, presented by Linux as [CODE] and [CODE] (yeah, I know, but it's a rented colo that came configured this way, and sadly I have to live with it). I have an I/O-intensive process that uses [CODE] . I've run with [CODE] , as I want it ... | What IO scheduler are you using? [CODE] It will show you which one you're running. I'd try noop (which is pretty much first come, first serve), deadline and CFQ and see which is appropriate for you. CFQ is the default for RHEL/SUSE, deadline for Ubuntu and noop for no one (but should let the backend device handle your ... | 7 | 2 | 141 | 2013-05-17T07:47:13.303 | infrastructure | serverfault.com | |
66,692 | Updating Glue records on thousands of domains | I am in the process of migrating a web server which has a few thousand small sites, and does its own DNS. Each site has a hostname in the form of "customer.ourcompany.com" and some also have "www.customersdomainname.com". When we do the migration, the IP is going to change, so we need to update all DNS entries for all ... | I think you might be a bit confused by the definition of glue records. As a very brief summary of the process: When you register a domain (example.com) with a domain registrar you need to provide hostnames for the nameservers which will be authoritative for that domain. If the nameservers exist on the same domain as th... | 3 | 5 | 1,500 | 2009-09-18T13:39:36.423 | infrastructure | serverfault.com | |
394,280 | How to test business logic in isolation when it depends on input validation logic | Hello I am building a demo project to teach myself about clean architecture and unit testing. My setup is very similar to this github repo https://github.com/mmacneil/CleanAspNetCoreWebApi The important parts for this question are the following 2 The Core project which should contain the business logic The Api project ... | Your question touches on multiple issues. I've tried to decouple them as best as I can. Direct answers to your questions Is validation logic actually business logic and if so is it wrong to have validation logic anywhere outside the Core project? This does not feel correct because this means that all requests will pass... | 2 | 5 | 1,692 | 2019-07-05T09:32:03.337 | data_quality | softwareengineering.stackexchange.com | |
891,280 | CentOS7 and LSI-9200-8E: How to see all external drives? | I'm working on a low-budget configuration change that involves a migration from a working reflashed IBM M1010 (LSI9220-8i) environment to a newer server running an LSI9200-8e SAS HBA. Everything works fine on the old server, but it uses lots of power and a lower power-cost configuration is desired. When the disks are d... | I ended up re-flashing the SAS card using the same firmware with the following changes: I erased the old firmware first I flashed in a BIOS even though it "shouldn't" be necessary since I'm not booting from the SAS card Details: Remove all internal and external drives to prevent any chance of accidental overwrites Boot... | 0 | 0 | 1,094 | 2018-01-08T21:58:48.580 | infrastructure | serverfault.com | |
641,819 | Cannot connect to a port from outside even if Windows Firewall is OFF | I'm getting a strange problem in my Windows 2008 R2 server running on a Hyper-V Virtual Machine. My application is listening to port [CODE] , which is well listed in command: [CODE] Now I'm able to telnet to the same port ( [CODE] ) from the same system, but I could not Telnet to this port from another system in the sa... | You could check if the server is listening to the correct ip address (either the one you expect or 0.0.0.0). When running [CODE] it will show you the local address. | 0 | 1 | 12,468 | 2014-11-04T07:28:22.157 | infrastructure | serverfault.com | |
1,088,743 | NTFS file owner is able to delete a file with read permission | I have a file on NTFS partition, and I'm the owner of this file . I have the read permission only on this file and no other permissions are set. I tried to delete the file thinking it will show "Access is Denied " message ,but i was able to delete the file ! I created a folder and tried the same ,but I was not able to ... | In NTFS, owner implicitly and effectively (you can write DACL, granting yourself any permission) has full permissions on files (IIRC folders as well), despite DACL entries. Reference Workaround is to use special SID in DACL: S-1-3-4 "Owner Rights" It replaces implicit permissions with explicit ones defined by you. | -5 | 4 | 243 | 2022-01-01T19:10:33.747 | infrastructure | serverfault.com | |
936,891 | Linux kernel 4.9 not responding to neighbour solicitation | I have this small network where Linux kernel 4.9 acts as a v6 router. There are two other servers connected to this router and both have ipv6 address configured on interfaces connecting to this router. Address prefix is [CODE] . But when I try to ping from one server to other it fails with error “Address unreachable” S... | I just had this problem and when running [CODE] on the target machine I wasn't seeing the neighbour solicitation packets arrive at all, so the machine wasn't responding because it wasn't seeing the requests in the first place. The fact that [CODE] on one machine was telling me the packets were being sent, but [CODE] on... | 3 | 0 | 1,864 | 2018-10-23T23:58:21.963 | infrastructure | serverfault.com | |
252,893 | Disable SSH on cwrsyncserver? | I installed cwrsyncserver, the rsyncd.conf makes no mention of ssh and I am not specifying to use ssh when I connect. Yet, the error I get is connection to port 22 refused. My rsyncd.conf is thus: [CODE] And I am trying to test the setup with this command: [CODE] I then get the error about being able to connect to port... | You may want to take a look at this similar question . With your existing setup, you'll want to use something like [CODE] The double colon tells the rsync client to contact the rsync daemon directly, without using a remote shell. Consult the man page for information on how to set up a password for this module. However,... | 0 | 2 | 394 | 2011-03-28T20:40:36.793 | infrastructure | serverfault.com | |
304,517 | Why doesn't Postfix deliver from local accounts to local accounts? | I have postfix installed on a machine named [CODE] with a a virtual domain of [CODE] . If any email arrives at [CODE] for a local user on that machine from an external SMTP server then it gets delivered locally as expected. However if [CODE] sends to [CODE] using [CODE] then the email is not delivered locally to user2 ... | Move the line [CODE] to the end of the file. That's all. Oh and I see it now: There should be [CODE] s in the destination addresses. So your file should look like this: [CODE] | 2 | 2 | 154 | 2011-08-24T13:50:18.510 | infrastructure | serverfault.com | |
1,059,621 | Windows 7 Embedded VM in Azure | I have a really weird request. My employer has a product that only runs on Windows 7 embedded machines and now they want to have some test VMs in Azure. Now when I try to RDP into the machine it doesn't connect (locally I can RDP to the machine so RDP settings are correct). What I did: Set up a Local Windows Server 201... | You need to install the Hyper-V Integration Services in your VM before migrating it to Azure, otherwise it will not have the appropriate drivers to run in Hyper-V (and thus in Azure); specifically, it will be lacking the NIC drivers and thus will have no networking. However, the HVIS ISO image is not available anymore ... | 1 | 1 | 161 | 2021-04-07T12:29:35.493 | database_errors | serverfault.com | |
247,269 | Slow performance with .NET 3.5 web site on IIS 6, .NET 2.0 web site working fine | I am trying to move our 2 web sites and some related applications from one Virtual Private Server to another. The new server is much more powerful, has more memory, and more disk space. However, one of the web sites is performing poorly in the new environment. I copied the configuration over from our old server by expo... | After doing some more research, I discovered what the problem was. It turns out that the new Virtual Private Server was hosted at a different facility than the old one. This in itself was not a problem, but the database was still at the old location 1200 miles away. Anyway, the solution to my problem is to move the dat... | 1 | 1 | 714 | 2011-03-14T17:59:51.340 | api_errors | serverfault.com | |
94,974 | Untraceable error importing Huge dataset with SQLCMD | I am currently doing an internship and I received a 42 gb ms sql-server import script. I tried to import the script using the ms SQLCMD tool all at once. It ran for 30 minutes and then I got the following error: [CODE] So naturally I checked line 37 and searched for the value 7500 but I could not find it. Then I tried ... | It's possible that you hit SQL's size limit for batch size. Check out https://msdn.microsoft.com/en-us/library/ms143432.aspx . If your file is just line after line of [CODE] then you have some better options than splitting the file. Add GO statements every few thousand lines, which helps break things up into smaller ba... | 2 | 1 | 730 | 2015-03-11T14:33:12.220 | database_errors | dba.stackexchange.com | |
56,203 | Log Reader Agent is not running - The job failed | I created a transactional replication on PRE-PROD (via TSQL) and everything works as expected. On PROD platform replication is not working. While inspecting Replication monitor, I get this error message for Log Reader Agent: The job failed. The Job was invoked by User sa. The last step to run was step 2 (Run agent.). A... | The recommended approach is to have replication agents run under Windows accounts, not the SQL Server Agent service account, and the accounts should be granted only the required permissions. Create a dedicated Windows account for the Log Reader Agent, grant it the appropriate permissions covered in Replication Agent Se... | 5 | 1 | 17,703 | 2014-01-06T11:12:29.913 | database_errors | dba.stackexchange.com | |
1,103,034 | Kubernetes Nodes are not reachable and cannot reach local network after installing cilium | Little bit of an Introduction, Im pretty new to kubernetes so i'm a bit rough on it. Lets me sketch my problem. TLDR: After installing cilium on kubernetes I cannot acces from and to any other machine on my local networks I got two subnets: 10.0.0.0/24 > For all my other virtual machine (DNS, Ansible) 10.8.0.0/24 > For... | Comming back to this Freshminded a few days later it was kinda easy.... The default setting is that pod networks and internal kubernetes networking use 10.0.0.0/8. These routes bassicly messup my own routes creating loss of connection. To fix this I gave Ipam the following values when installing the helm package making... | 0 | 2 | 2,446 | 2022-06-11T00:47:44.260 | pipeline_ops | serverfault.com | |
845,197 | cloudberry unexpected end of stream | We lost an esx host recently and the VM's were being backed up with cloudberry server. all restored fine except for one. We keep receiving an errors "unexpected end of stream" when attempting to restore one VM. We are backing up to and restoring from amazon S3. I have had zero luck getting in touch with cloudberry supp... | This error should have been fixed in one of the recent releases of CloudBerry Backup. Do you use the latest version? | 0 | 0 | 249 | 2017-04-19T04:32:20.313 | database_errors | serverfault.com | |
460,973 | Prevent administrative users from assigning duplicate static IPs to their workstations | How can I prevent a user that is an administrator on their local machine from manually assigning an IP to their network adapter that is in use on a server? Some users have done this, and it's caused duplicate IP issues that have taken nodes in clusters down in my organization. | Have a separate subnet (and preferably a separate VLAN) for your servers. This pretty much eliminates the issue of "accidental" overlap. Use some kind of NAC or port-level authentication and have a DHCP-assigned address be a prerequisite of the health check. Don't let your users be admin on their local machines :) | 13 | 25 | 927 | 2012-12-26T15:50:41.467 | data_quality | serverfault.com | |
210,707 | Using Git - better to do lot of incremental updates or one big daily update? | Ive just started working with Git (Github) in anticipation for an up coming project I'm project managing and designing and developing the front end of. One thing I couldn't work out is, is it preferable to publish each individual change as you make them, ie. updated sidebar js, designed new FAQ page (each as individual... | You're thinking of git like it's SVN. It's not. SVN looks at versions: Version 1000 contains sidebar, version 1001 contains sidebar and FAQ. Git looks at changesets: Changeset 100 contains all the code to put in the sidebar, codeset 101 contains the FAQ. You can then merge those two together if you want, or add another... | 1 | 1 | 653 | 2013-09-06T17:06:22.647 | api_errors | softwareengineering.stackexchange.com | |
385,220 | 503 with Varnish to HAproxy | We host multiple apps, on different app servers. What we have is HAProxy -> App Servers The App servers can be anything from PHP on Apache to Java app in glassfish. So we use haproxy to expose 1 IP and 1 port to the internet and then also load balance the various app servers, each project get's two app servers, and tho... | I had a similar problem , not too long ago - and the cause turned out to be SELinux. If HAProxy is running on a privileged port (below 1024), but your app servers are running on higher, unprivileged ports, the following scenario is quite plausible. The SELinux configuration of some setups (e.g. a default CentOS) will p... | 3 | 2 | 680 | 2012-05-02T10:28:09.673 | infrastructure | serverfault.com | |
317,247 | How to restore a Oracle Database if i only have the datafiles? | My Oracle database Test server crashed, I have no rman backups but I still have the datafiles because they are on a SAN Storage, so if I have datafiles, how can I restore my Oracle database? | I just crashed my car at full speed into a brick wall. Can I just get back in and drive it away? Really? Wouldn't you rather get another car? One that's working? You have no idea what state your server is in, or why it crashed. Depending on how badly "crashed" it is, you might be able to get it up and running again and... | -1 | 0 | 134 | 2022-09-22T16:08:18.860 | database_errors | dba.stackexchange.com | |
298,518 | MySQL slowlog optimsing for Having and Group By Keywords | I have below entry in the slow-log, i just wonder how can i optimise this below query as it looks very simple query that, i don't see any way of optimising it, [CODE] (please mind am not a database administrator, just developer so my knowledge will be limited) | At first look, I would: be sure there is an index for both columns [CODE] . [CODE] and [CODE] . [CODE] Do the calculation of [CODE] in a WITH() block, for example like this: [CODE] (not sure this compiles, as I do not have the database to test^^) And I would perhaps avoid using [CODE] and [CODE] , to avoid calling func... | 0 | 1 | 23 | 2021-08-25T07:00:40.117 | database_errors | dba.stackexchange.com | |
351,976 | Developing for a wide variety of Linux Desktops | I haven't developed any production applications for the Linux OS. There are a couple of things that bother me: As I understand different distros have different set of libraries Debian vs RPM packages Different UI - Gnome vs KDE What do people do to handle all of these differences? Is there a way to abstract away from t... | Of course you're missing some possibilities - the curse and blessing of open-source software is that anyone can create their own alternative, and many do - but you've listed the most important platforms and distribution formats. So what do you do to be as compatible as possible? There are two broad options. The first i... | 4 | 5 | 132 | 2017-07-01T01:48:40.507 | api_errors | softwareengineering.stackexchange.com | |
110,794 | Correlations with NA or with Zeros? | When calculating correlations in [CODE] e.g. via [CODE] is it better to treat missing data as NAs or as [CODE] ? The latter would be regarded as numerical valid values so I'd guess [CODE] would be better? | Imputing missing values with 0 is definitely wrong, keeping NAs as NAs is certainly less wrong. But more correctly you should figure out why you have missing values in the first place, as the reason for the missing values might require different approaches. | 0 | 2 | 269 | 2022-05-09T11:39:31.153 | data_quality | datascience.stackexchange.com | |
200,404 | corrupted Oracle 11g database | At a client site with a development Oracle 11.2.0.3/linux DB power outage and crash - no archivelog mode - no backups - Don't know how this was even running select file#,substr(name,1,70) name, recover, status, fuzzy, checkpoint_change#,checkpoint_time, resetlogs_change#, resetlogs_time from v$datafile_header; [CODE] B... | For anyone who wants to know how this was resovled... Bobby Durrett was correct, Oracle does have the ability to pull data from blocks. I contacted Oracle ACS. They sent a top consultant and using the Data UnLoader tool (DUL), which by the way is not their product, were able to extract data from the blocks that survive... | 0 | 0 | 225 | 2018-03-15T19:35:15.260 | hadoop_errors | dba.stackexchange.com | |
881,306 | "Access is denied" error running Group Policy Results Wizard | Domain Admins could run Group Policy Results Wizard in domain but another user with delegated permission on "Read Group Policy Results Data" couldn't run the wizard for the same clients.The user have full control permission on clients OU ( modify permission is necessary ) but he encounters "You don't have permission to... | From this link it appears you need to grant Generate Resultant Set of Policy (Logging) right. | 0 | 0 | 3,726 | 2017-11-01T05:06:49.050 | infrastructure | serverfault.com | |
96,584 | Hindrance in TSQL SVF Call | I have a simply Products data table with 100k records (just generates some random data): [CODE] And a scalar value function which does a simple logical calculation: [CODE] However, when I run a query to call the SVF the resulting performance is impaired relative to the query calling the logic inline. The executed SQL s... | Why does SQL server run ths inline SVF query slower - both in CPU and elapsed time? Scalar valued functions are executed in a different context than the main query and setting that up for each call takes time. By centralising some simple logic it appears I impede performance through code reuse. Yes, for scalar valued f... | 6 | 10 | 373 | 2015-03-30T10:47:33.003 | database_errors | dba.stackexchange.com | |
177,004 | Is disabling triggers to disable foreign key constraints a good idea? | Background We're moving a legacy application from a non-relational database to PostgreSQL. Problem We'd like to enable foreign keys on a lot of fields for future data integrity and so that reporting tools can easily determine which tables are linked. Some of the current data won't pass the FK check and because of the l... | You can create the foreign key constraints with the option [CODE] . Then they are declared, but are not enforced: [CODE] | 1 | 5 | 1,369 | 2017-06-22T13:56:43.433 | database_errors | dba.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.