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 |
|---|---|---|---|---|---|---|---|---|---|---|
835,478 | Encrypting guest VM ESXI 6.5 with Bitlocker | Hi we're devs playing around with ESXI on some old R710s. For our dev enviromnment it will be fine. The R710 have a TPM. I tried encrypting the VM with Bitlocker but it couldn't see the TPM. I assume ESXI can't see it. I was thinking of perhaps Veracrypt. Our main requirements are: Encrypted Windows machines (although ... | If you're on 6.5, why not just use the native vSphere VM Encryption? https://blogs.vmware.com/vsphere/2016/10/whats-new-in-vsphere-6-5-security.html Encryption of virtual machines is something that’s been on-going for years. But, in case you hadn’t noticed, it just hasn’t “taken off” because every solution has a negati... | 1 | 2 | 9,769 | 2017-02-28T18:24:51.150 | infrastructure | serverfault.com | |
404,950 | Python urllib2 and php port conflict | I have python script that is called by PHP via exec. It uses urllib2 and beautifulsoup. The php-fpm runs on port 8000, i have different ports for different pool and I assume they are ok when php-fpm start as everything works smoothly. Here's a problem. Sometimes PHP-FPM will crash but restarting complains that port is ... | I'm assuming this is on Linux. It is likely that the port is still assigned to the old process (it might even still be a zombie). If this happens you can take a look at the status of the ports, e.g. by running 'netstat -nltp ' to see what's up with the port. | 0 | 1 | 226 | 2012-07-05T09:23:17.153 | infrastructure | serverfault.com | |
393,363 | Mismatched address error on self-signed ssl certtificate | I have a self-signed ssl certificate that I am trying to use on my Windows 7 development IIS7 machine. The certificate is working; however I am still getting a mismatched address error in IE9. This is purely for development and testing purposes. I’ve been through numerous blogs and postings and have tried to create the... | if the certificate CN or altName dnsName is 'localhost' then the browser will only accept a hostname of 'localhost' (and not something.localhost nor localhost.localdomain etc). | 3 | 5 | 12,681 | 2012-05-28T17:52:05.017 | hadoop_errors | serverfault.com | |
992,406 | jq sort by date (iso 8601) | I try to sort json by date (field CreationTimeUTC) in iso 8601 format with jq 1.5. I found this post , but that return : 'Cannot index boolean with string "CreationTimeUTC"' [CODE] Ok, no problem, I convert value with function 'fromdate' and obtain a unixtimestamp in integer format and sort itself, like this : [CODE] A... | You're looking for: [CODE] Sorting seems to work as expected, though you could still go with: [CODE] | 3 | 4 | 4,702 | 2019-11-19T10:43:04.940 | infrastructure | serverfault.com | |
44,293 | How does dropout work during testing in neural network? | The below paragraph is picked from the textbook [CODE] . I couldn't understand what the author is trying to convey. It would be really grateful if someone can provide an explanation for below paragraph with an example. I have referred these links Dropout in Deep Neural Networks , https://www.coursera.org/lecture/deep-n... | During training, p neuron activations (usually, p=0.5, so 50%) are dropped. Doing this at the testing stage is not our goal (the goal is to achieve a better generalization). From the other hand, keeping all activations will lead to an input that is unexpected to the network, more precisely, too high (50% higher) input ... | 8 | 18 | 22,444 | 2019-01-20T15:53:19.887 | data_quality | datascience.stackexchange.com | |
1,076,216 | Ubuntu 20.04 server install failing from live cd | I have two Dell servers in a lights out data centre that I am trying to upgrade to ubuntu 20.04. I am accessing the servers via idrac and mounting CD virtually from my laptop at home. ISO is ubuntu-20.04.2-live-server-amd64 (I originally tried 20.04.01 which I have used successfully previously). I am working remotely v... | You say you're upgrading them, are you perhaps already running a previous version of Ubuntu? If so, you can just use [CODE] to upgrade. If you're switching distributions or want a fresh start, download yourself the "network boot" variant (it's called mini.iso) which is Debian Installer based and runs in text mode, whic... | 1 | 1 | 1,369 | 2021-08-31T22:41:00.310 | data_quality | serverfault.com | |
611,680 | blocking udp attack ip with iptables | I was trying to block an ip of ( network stresser tool - a ddos websites selling ddos bots by seconds online ) the first one i was trying to block with iptables : [CODE] however i still see the ip and bandwidth still up on iftop. also still see the ip going on tcpdump. is that normal? what's the problem in here? | Yes, it's normal. [CODE] doesn't stop inbound traffic turning up on your physical interface, thus notching up your [CODE] counts, and it doesn't stop the kernel seeing that it's there, hence the [CODE] output. It does, however, stop the kernel passing the traffic on to anything that might be listening for it. If you se... | 1 | 3 | 1,524 | 2014-07-10T18:08:01.350 | infrastructure | serverfault.com | |
126,230 | Just experienced a crash on Windows server 2003, What steps should I use to investigate this further? | The server looked to be at the login, except there was no login dialog box, just a blue background(not the blue screen of death). The mouse worked, but I got no response from anything else. All it needed was a hard reboot. I've looked in the system events and couldn't find what caused the crash. Any steps I should take... | That's not a "crash", then. The mouse pointer still moving is a fairly clear indicator that operations are still occurring, as normal, inside the kernel. The lack of a STOP screen means that nothing in the kernel mode side of the world was obvious failing. To that end, there's no type of hardware diagnostic that I'd ad... | 0 | 1 | 165 | 2010-03-25T14:35:24.693 | infrastructure | serverfault.com | |
582,118 | Disable mailing in cron globaly | The web is full of suggestions how to disable mailing in cron like asked here stop linux from emailing me cron errors? . Is there really no global config flag I can set to disable mailing in cron for all users and all commands. I really don't want to tell all users you have to add [CODE] or [CODE] to your crontab. | according to the man page can disable cron mail by adding [CODE] to the daemon args [CODE] | 6 | 9 | 3,429 | 2014-03-14T14:59:11.947 | infrastructure | serverfault.com | |
316,683 | JSON or XML or other - most time efficient for largely "read" of structured data | Considering that using a relational DB or other hierarchical or such databases is not an option, looking for the alternative approach using a simple (but very fast, efficient, distributed KV-store). The value (referred by key) is an encrypted BLOB, whose contents are 2 related entities / objects, with a 1:N 'refers-to'... | You can do better than either XML or JSON by exploiting the particular characteristics of your particular data. If the data is completely flat and every row contains the same fields, then CSV is going to be more efficient than either XML or JSON. The reason people generally prefer formats like XML and JSON is because t... | 0 | 2 | 971 | 2016-04-25T06:53:44.813 | api_errors | softwareengineering.stackexchange.com | |
624,231 | After disabling OWA Light using Set-OWAMailboxPolicy, how can users who have set OWA Light as a preference regain access to OWA? | If I use [CODE] to disable OWA Light, anyone who has gone in to display settings -> Outlook Web App Version and selected OWA Light is then presented with a "Can't access Outlook Web App" error page if they try to log in (Actually, anyone using the same browser will see this as this error will now be the cached page whe... | I found an answer here: http://community.office365.com/en-us/f/158/t/75823.aspx Disable OWA feature for the users with PowerShell, like this: Set-CASMailbox -Identity user1@contoso.com -OWAEnabled $false Enable OWA feature for the users with PowerShell, like this: Set-CASMailbox -Identity user1@contoso.com -OWAEnabled ... | 1 | 0 | 4,277 | 2014-08-26T20:24:37.087 | infrastructure | serverfault.com | |
653,218 | logrotate not emailing log | My logs are being rotated properly, however, I am not being emailed the rotated log. What am I doing wrong? My main logrotate.conf is: [CODE] here is my /etc/logrotate.d/php-errors: [CODE] | Turns out I was misunderstand the mail command. It mails the log that is about to be deleted. I wanted the log that was just rotated, so I had to add the "mailfirst" directive to my configuration file. | 3 | 4 | 644 | 2014-12-17T15:03:30.667 | infrastructure | serverfault.com | |
44,395 | Help with formatting C:\ drive on Dell Inspiron E1505 | I have a Dell Inspiron E1505 which I formatted recently to install Mac OSX. Basically this is what I have done: Formatted the c:\ drive creating a separate partition of about 50 GB ( out of 80 GB..so my C:\ is now 30GB and the new drive M:\ is 50GB) This new M:\ drive is formatted to be Fat32 while C:\ is NTFS My whole... | can you delete the partitions from the installer? just delete the partitions from the windows installer and start over - no need to format what's already there. and FYI, since it's a dell, it may have a small partition at the beginning of the disk(100 MB or so). this is where the testing and recovery tools are installe... | 2 | 1 | 1,200 | 2009-07-23T02:26:53.780 | infrastructure | serverfault.com | |
824,364 | ssl-cert-check is not getting the correct expiry dates for Lets Encrypt certificates | I'm using ssl-cert-check to track a list of my domains certificates. In my crontab I set it to run quietly and email me expiring domains, but the command that I'm using to debug is: [CODE] It is correctly reading the file and retrieving the certificates for the entire list, but it does not appear to be getting the corr... | This seems to be an SNI problem. If you provide multiple SSL certificates on the same IP the client sends the host name along with the initial request, so the server can provide the correct certificate. Older versions of ssl-cert-check don't do that, the feature was introduced with version 3.27. Both Ubuntu versions 14... | 2 | 2 | 1,209 | 2017-01-05T11:41:59.153 | api_errors | serverfault.com | |
804,437 | Purpose of "secure hash algorithm" option in ADFS relying party properties | What does the "secure hash algorithm" option specified in the Advanced tab of the ADFS relying party trust properties actually affect? Is it a security problem that SHA1 is one of the options? If not, why not? Screenshot: ADFS relying party properties This blog from MS describes as follows: The relying party trust in A... | Microsoft has already announced that they wouldn't be accepting SHA1 certificates after year 2016. So it's recommended that you use SHA2. However, there is possibility that some applications don't support SHA2. In this case, you can contact the application vendor for new version which support SHA2. Otherwise, you have ... | -1 | 2 | 2,717 | 2016-09-21T11:45:36.093 | infrastructure | serverfault.com | |
997,300 | How to disable opensshd's self-introductory banner | I have opensshd listening on the non-standard tcp port of 2222. In sshd_config I have ... [CODE] If from a client host I do a telnet ip.of.server 2222 then I see the service displaying a message introducing itself like so ... [CODE] Is there a way to prevent this happening and instruct the openssh daemon not to reveal ... | The minimal identification string for the ssh protocol is: [CODE] however OpenSSH will always send at least [CODE] . If you want a more stealth behaviour you have several options: You can patch and recompile openssh so that the server waits for the client's identification string before sending its own (cf. the sshd_exc... | 0 | 2 | 2,234 | 2020-01-01T19:35:03.743 | infrastructure | serverfault.com | |
6,227 | Troubles with mapping ports on a very simple Docker container | I'm new to Docker and following a tutorial on Udemy.com. The turtorial has me setting and running a very simple container. Docker File [CODE] Index.js [CODE] package.json [CODE] I'm working on a laptop running Windows 10 Home. Using the Docker Quickstart Terminal and PowerShell. I've edited my HOSTS file as to point lo... | May be you are using bridge network mode. In that case, you need to bind your host port to container port to use same port. So when you execute docker run, you may need to add -p 5000:5000 as a flag to docker run command. Also I don't see any expose in Dockerfile. So you may want to add EXPOSE 5000 in Dockerfile just a... | 0 | 1 | 2,151 | 2019-02-05T00:10:32.767 | api_errors | devops.stackexchange.com | |
257,845 | design for buffering or queuing data streams to replace database | We have a system (ms stack, .net, sql) that receives data from thousands of remote devices (several independent readings/min). We currently save all the data to a db as it arrives and a second service reads and processes the data - using the database to 'buffer' the input. We want the second process to be scaleable as ... | The problem with "a database" is that it is generally a single-point of failure/scalability. You can scale databases, but it's difficult and costly depending on what scale you're talking about. Typically, what you describe are implemented as messages. Message queues would then store and forward the messages to multiple... | 0 | 2 | 1,124 | 2014-10-02T10:04:21.780 | api_errors | softwareengineering.stackexchange.com | |
987,699 | Storage Space Direct : SMB error | So we've got this 4-node Storage Space Direct (S2D) cluster , working for more than 1.5 year without any major issue. The OS is Windows Server 2016 . Firewall down for all profiles No antivirus installed, Windows Defender OFF Active Directory delegations untouched No change in the network infrastructure has been report... | I found the solution, it was a stupid thing. The hosts had several NIC for network access to different VLANs. Some of the NIC where mapped to a Virtual Switch, and some of them were shared with the OS (' Allow management operating system to share this network adapter '). I noticed the SMB packet often used the wrong in... | 6 | 2 | 9,610 | 2019-10-11T21:35:35.817 | database_errors | serverfault.com | |
111,384 | HQL pagination returns same result on different pages - with SQL | We have the following query in the server (using sql): [CODE] The type field is not unique. In order to implement pagination, we use the following code: [CODE] Meaning that if we want a page size of 10, and we have 15 results overall, the client sends [CODE] to display the first page, and [CODE] to display the second p... | If you do not specify any order, by SQL definition databases can return the rows ordered any way they want. You make it order by nonunique values so each "group" with the same value can be returned in any order - usually this "random" ordering is quite stable but that is mostly incidental as your case shows. The workar... | 2 | 1 | 1,803 | 2015-08-18T08:06:03.027 | warehouse_errors | dba.stackexchange.com | |
60,896 | What steps should I perform to prepare a MDF for distribution as a (mostly) read-only database? | I am on a team that develops a product that uses several SQL Server databases. Some of them are mostly read-only. Tables do not get changed, but some views and stored procedures get changed as a way of configuring the app. These views lack indexes. They are not materialized views. Changes to the tables only happen duri... | If you want to distribute a copy of your database, why don't you use LocalDB? Shrinking the data file causes very high fragmentation. Running index maintenance grows the file back out. Why are you shrinking it? Furthermore, if you're only going to ship the mdf file, why are you using DBCC SHRINKDATABASE? SHRINKDATABASE... | 3 | 6 | 740 | 2014-03-14T00:59:28.443 | warehouse_errors | dba.stackexchange.com | |
215,876 | Database Mail on Amazon RDS / SQL Server | Since Database Mail is not supported on Amazon RDS with SQL Server, can anyone offer any suggestions on how to send e-mail notifications for failed SQL Server jobs in Amazon RDS? Thanks in advance for any suggestions or workarounds. | AWS has posted a detailed blog post based on the way that UnderArmor solves this limitation. It involves a linked SQL Server that you run in EC2 and that EC2 instance is configured to SES to relay the messages through. AWS RDS Database Mail | 2 | 1 | 2,220 | 2018-08-25T20:28:03.897 | database_errors | dba.stackexchange.com | |
801,737 | Best practices for transcoding OPUS/G711 using freeswitch | Can someone share their experience of transcoding OPUS/G711 ans vice versa using Freeswitch? I am getting call quality issues even if there is a single call on the server. I am getting crackling noise and the end of the words. SIP Clients HAVE to use the OPUS, it is a customers requirements and there is nothing negotia... | use opus@8000h@20i with these settings in opus.conf.xml : [CODE] which direction do you have the audio issues ? it's important to know if there's a problem on the encoder or on the decoder. Please file a jira here if you still have issues : https://freeswitch.org/jira/ | 2 | 1 | 4,796 | 2016-09-08T03:27:58.940 | infrastructure | serverfault.com | |
119,798 | Dynamic Class Inheritance For PHP | I have a situation where I think I might need dynamic class inheritance in PHP 5.3, but the idea doesn't sit well and I'm looking for a different design pattern to solve my problem if it's possible. Use Case I have a set of DB abstraction layer classes that dynamically compiles SQL queries, with one DAL class for each ... | It looks like you are having a design issue here: Tables should not extend the Database Abstraction Layer. Instead the DAL should be injected into the table as a dependency. [CODE] That way you will create a DAL at some upper scope and pass it down. This will also allow you to use multiple different database engines at... | 2 | 5 | 4,249 | 2011-11-15T05:05:31.147 | database_errors | softwareengineering.stackexchange.com | |
172,438 | phpMyAdmin Strange permissions #1142 error after deleting a table record with success! | A have a live/production CentOS 6.8 server with Nginx , PHP (multiple versions), MySQL 5.7.18 and latest (when writing this question) phpMyAdmin 4.7.0 . This server is running for many years and with no problems, but recently I noticed a problem when I tried to delete a record from a table using phpMyAdmin, I got the f... | This ia a bug for PMA 4.7.0. Here is the bug tracking https://github.com/phpmyadmin/phpmyadmin/issues/13214 If anyone comes here with the same problem for PMA 4.7.0, then open the [CODE] and alter the following lines: [CODE] | 1 | 1 | 3,951 | 2017-05-01T15:53:54.793 | database_errors | dba.stackexchange.com | |
415,487 | Best way to scale a service that fetches data and has a REST API to query it | I have been developing a service that fetches data and also has a REST API to query the fetched data. The problem I have is, when this service starts it is starting the data fetching process, and this is a problem when it comes to scaling, as soon as I spawn 2 instances of this service they are both fetching data. I do... | The initial problem you have identified is the retrieval of all the data by each service. You are trying to solve that problem. However, have you thought of removing that problem or identifying the root cause of the problem. What do I mean by that? Lets' rephrase the problem not to one of retrieving all the data but to... | 0 | 1 | 224 | 2020-09-02T10:04:12.643 | api_errors | softwareengineering.stackexchange.com | |
1,086,311 | GCE - Startup script - Can't use metadata anymore | Good evening, I've been trying to modify my Instance Startup script in Google Compute Engine, nevertheless with a new version of GCE (probably Dec 2021 or Nov 2021) the display has changed. Moveover it seems like we can't use a "startup-script" metadata anymore and need to use the "startup script section" instead. But ... | This is the link you are looking for: https://cloud.google.com/compute/docs/instances/startup-scripts Via the Console: For Boot disk, select Change, and select a Linux operating system. Expand the Networking, disks, security, management, sole tenancy section, and do the following: Expand the Management section. In the ... | 0 | 0 | 807 | 2021-12-14T18:29:41.240 | infrastructure | serverfault.com | |
101,562 | XP Missing AD in security location | I have a few Windows XP clients that are part of a domain, when trying to set the permissions on the security tab and pressing location to search the AD for users it only presents the local machine... So I follow this path Right click folder > Properties > Security > Add in the locations field where I would normally se... | Check your DNS resolution is working ok, can you resolve a Domain Controller for those machines? You may be able to log on ok because you are using Cached logins, but to get access to the domain to set permissions, you need to talk to a DC. | 0 | 1 | 295 | 2010-01-11T14:57:07.197 | infrastructure | serverfault.com | |
195,081 | OpenVPN client for Windows 7 64-bit | I've been trying to get the OpenVPN client to install on a Windows 7 laptop, and so far none of the various versions work. Some won't install at all (one version's [CODE] installer humorously told me that "OpenVPN is not supported on Windows"), other have problems during or after installation with a library (libeay32.d... | OpenVPN 2.1.3 from OpenVPN.net installs and works fine. | 1 | 1 | 4,943 | 2010-10-26T21:13:13.657 | infrastructure | serverfault.com | |
23,528 | Outlook imap connection to Exchange | I currently connect to my work email (Exchange) using Outlook Web Access (OWA). I'd love to use Outlook to connect, preferably with IMAP but POP would be fine too. Does something need to be done at the Exchange server end to get this working? thanks Brian | I believe it's possible for Outlook to connect to Exchange over the webmail interface(IE. RPC over HTTPS). This is how most mobile devices(iPhone/Windows Mobile) can connect to exchange. http://www.msexchange.org/tutorials/outlookrpchttp.html This would require no server sides changes, as it uses Webmail. Disclaimer: I... | 2 | 0 | 9,835 | 2009-06-10T17:51:21.610 | infrastructure | serverfault.com | |
606,150 | Postfix: Gmail marking my email as spam | I'm been trying to understand why Gmail is treating the email sent from one of my domain/server as SPAM. I found a lot of threads here about this issue, however I checked the usual suspects like domain keys, spf etc. My email is accepted by Outlook.com, which from my understanding has a lot more aggressive spam filter.... | Apparently after a few days it start working fine. Right now, I guess what really matters in GMAIL is actually passing this tests: [CODE] And wait 3 or 4 days so google can update their servers. Seems like the spam filter does some kind of internal cache on [CODE] and [CODE] lookups for a particular domain. UPDATE: Thi... | 5 | 4 | 7,523 | 2014-06-18T15:52:03.667 | infrastructure | serverfault.com | |
550,024 | ssh connection refused port 22 :: github | I have a strange problem. On one of my dev server i use git clone command to connect to github. I have set up my keys already. The connection between the dev server and github is intermittent. When it works it works like a charm. The next minute with me doing no changes to any of the server configfurations, the connect... | Github is behind some kind of web load balancer. When you do the DNS lookup of github.com [CODE] you get a record with at most a 30 sec ttl. It's more than likely that something in your environment is holding on to the DNS record much longer than it should. The first place I would look is nscd, it's notorious for causi... | -1 | 0 | 4,014 | 2013-10-31T22:13:15.317 | api_errors | serverfault.com | |
782,260 | VM performance difference after moving to different ProxMox instance | I've got two ProxMox servers and when I moved one of my VMs, it's running into performance issues. ProxMox 3.4 running on Intel Xeon E5606 (2 CPUs, 4 cores each, @2.13 GHz). ProxMox 4.1 running on Intel Xeon E5-2650L v3 (2 CPUS, 24 cores each, @1.8GHz) I've moved two VMs from the 3.4 server to the 4.1 server (I did bac... | I don't really understand why the VM is mis-behaving, but I found that if I turned on write-back caching for that VM, it behaves normally. | 0 | 0 | 1,123 | 2016-06-06T15:28:24.630 | database_errors | serverfault.com | |
1,259 | Network monitoring | Possible Duplicate: What tool do you use to monitor your servers? What software would you recommend to monitor a network? We have a main server which acts as a DNS among other services. And we would like to monitor network activity: what protocols are being used, bandwidth, etc. Kind of a Big Brother thing, to know whe... | Nagios is a solid open source solution, the plugin architecture means that nagios basically provides a framework for monitoring to occur, and then you can plug in the exact monitors you need. Since nagios is fairly popular, there are a ton of monitoring modules already in existence. Nagios is mostly a real time monitor... | 8 | 5 | 1,973 | 2009-04-30T16:52:23.870 | pipeline_ops | serverfault.com | |
333,646 | What is this Algorithm called? [Traveling Salesman Problem] | I've been thinking about the Traveling Salesman Problem . In examining it and grids of cities, I noticed that I could frequently pick out the shortest route just by staring at it. Granted, I couldn't necessarily get the solutions for the complex grids, but if I could get the simple ones there had to be a way to consist... | What you're doing is making a convex hull. Your algorithm won't be a perfect solution, just an approximation. Consider the following grid: Your algorithm would start by doing something like this: Then things get more tricky, your algorithm would make one of the following choices depending on how it's coded: Only one of... | 3 | 2 | 397 | 2016-10-14T18:51:14.520 | api_errors | softwareengineering.stackexchange.com | |
15,214 | Debug cucumber js selenium webdriver | I am using cucumber js + selenium webdriver + Webstorm IDE. What is the most convenient way to debug my tests? | I use Protractor in Webstorm, but I imagine this would work for you as well: Webstorm has a built in debug tool that is pretty easy to work with. Just next to the line numbers in the IDE, click the empty space next to the number to put a red circle on that line. That's the debugger's breakpoint. Run as debugging to hav... | 2 | 1 | 930 | 2015-10-17T13:59:09.650 | data_quality | sqa.stackexchange.com | |
713,416 | Error in creating RODC | I have a win server 2012 r2 server named ws7. from my other windows 2012 server that is currently our primary active directory server named ws4 I am trying to create a RODC for a remote office with limited bandwith I am trying to "pre-create a read only domain account" and when I enter the name of the server it gives m... | Precreating an account is used only when the object doesn't exist in Active Directory yet. From what you are describing ws7 is a member server of your domain already. You'll just want to add the roles via the server manager on the new server 'ws7'. | 0 | 2 | 389 | 2015-08-11T17:48:13.127 | infrastructure | serverfault.com | |
574,883 | NFS over wifi very slow | I have a NFS server hooked up to a client over a wireless network (n-router, b/g-client). I have terribly slow transfer rates of around [CODE] to [CODE] . I cannot seem to figure out how to improve this. I have played around with [CODE] but it doesn't seem to make a difference. My [CODE] on the server is the following:... | NFS. Over wireless. Using a b/g client (are you even sure you're linked up a G rates?). You're going to have a bad time here. Even if you're linked up at the theoretical maximum for 802.11g (54Mbps), and there is no RF interference (very unlikely in the 2.4GHz band), you still have a theoretical max of about 6.75MBps. ... | -1 | 10 | 5,047 | 2014-02-12T01:02:58.967 | infrastructure | serverfault.com | |
191,178 | Trying to start mysql | I am trying to start MySQL on CentOS so I run service mysqld start but I get the following error: Timeout error occurred trying to start MySQL Daemon When I look into the logs, this is what I get [CODE] Can anyone tell me what is going wrong? | If you are running a version prior to 5.1.3 then I think it should be table_cache and not table_open_cache - you mention in a comment that you are running 5.1.x but that x could be quite important! Try changing table_open_cache to table_cache and see if that fixes the issue Jason | 1 | 1 | 2,548 | 2010-10-15T02:10:37.270 | database_errors | serverfault.com | |
500,292 | MSSQL 2000 sa user account | Everytime I try to install an application that requires the 'sa' user account for installation to allow creation of a database and admin user account I receive the following message: Reason: Not associated with a trusted SQL Server Connection........ When you install MSSQL 2000, is the 'sa' user enabled? I found inform... | It sounds as if your SQL Server is operating using Windows Authentication only. You should enable mixed-mode authentication , and set a strong password for the 'sa' SQL user. See also: MS SQL 2000 authentication modes . | 1 | 1 | 1,011 | 2013-04-17T17:14:21.540 | database_errors | serverfault.com | |
205,148 | Access denied error when archiving WAL during postgresql 9.5 replication setup | I want to setup Postgres replication on Windows. I followed the given youtube url step by step: youtube video . For [CODE] I use this: [CODE] but when I look into the folder, folder is empty and WAL files are not transferred from [CODE] to the desired location; it gives error access denied. In [CODE] postgresql log on ... | You just need to correct archive_command just replace IP-address of path to which wal files will be archived e.g [CODE] Also make sure the path permission is set to postgres user if not [CODE] If still unable to get archive files check the connection to IP may be having connection issue | 2 | 0 | 2,108 | 2018-04-27T09:54:04.063 | database_errors | dba.stackexchange.com | |
381,610 | Workstation added to Domain, won't appear in all Domain Controllers | We recently upgraded our primary Domain Controller. The new DC is a new box with Windows Server 2008 R2, the old one was Windows Server 2003. We did a full migration of domain accounts to the new server, and it is synced with the other DCs across the country (various 2003 or 2008 boxes). Since this time, we've replaced... | Based on what I've read, I would do the following: Check all DCs for the NetLogon share - When there are replication issues, that's usually a tell-tale sign. Assuming you find a DC that does not have the NETLOGON share, follow the instructions in Using the BurFlags registry key to reinitialize File Replication Service ... | 0 | 1 | 3,220 | 2012-04-20T16:25:56.903 | database_errors | serverfault.com | |
177,945 | Ola Hallengrens - Output File cleanup does not delete files | We run Ola Hallengrens backup,dbcc & index jobs but we have not scheduled Output File Cleanup for some reason. Noticed this today and when we tried to run it on a server that had 2 or more instances it doesn't delete old logs. We have for example set up 1 server with 2 instances and it's set up with AvailabilityGroups.... | I should add that this works fine with 2 or more instances that are not set up with availability groups. It's only when it's more then 1 instance and AG set up. But what I did instead was to edit the parameters and change $(ESCAPE_SQUOTE(SQLLOGDIR)) to the actual path folder and it worked great. | 1 | 2 | 5,161 | 2017-07-04T10:15:56.567 | api_errors | dba.stackexchange.com | |
370,940 | Does reading over code I've written make sense to verify it? | After writing some code, I have a habit of scanning it all over once or twice in order to look for any bugs. This is sometimes a painstaking and tedious process, and it takes up time. After reviewing my code, I then run it through my tests to verify it. Is this a productive way to perform verification? Is it more effic... | Tests will ensure correctness (minus your uncovered edge cases), but it's not enough for the code to be correct; it must also be as readable/understandable as possible for you and anyone reading it after you. Even with a stringent code review process on my team, I always perform my own self-review before creating a pul... | 0 | 8 | 296 | 2018-05-14T21:37:45.583 | api_errors | softwareengineering.stackexchange.com | |
86,336 | MySQL 5.6 Datetime Range | According to MySQL 5.6 doc, the supported range for datetime data type is '1000-01-01 00:00:00' to '9999-12-31 23:59:59'. But when I tried inserting values that are earlier than '1000-01-01 00:00:00', I received no error and the values were successfully stored in the table. [CODE] Does this mean that the documentation ... | OBSERVATIONS According to the MySQL 5.0 Documentation As of 5.0.2, the server requires that month and day values be legal, and not merely in the range 1 to 12 and 1 to 31, respectively. With strict mode disabled, invalid dates such as '2004-04-31' are converted to '0000-00-00' and a warning is generated. With strict mo... | 1 | 1 | 1,199 | 2014-12-16T19:31:43.330 | database_errors | dba.stackexchange.com | |
878,351 | Nginx disable SSL on local network | I'm trying to serve the same site to both the external world and my local network. If accessing from my local network, I don't want SSL (to avoid adding a certificate) and accessory no user login, whereas from the external world I want both authentication and SSL. I was thinking of something like that, unfortunately ac... | If you have SSL for your site you should leave it on SSL also for local connections. If you are asking to trust the certificate, this means: it was not configured properly in the first place or you are using an outdated web browser or the time is not configured properly on your workstation or you have a broken network ... | 1 | 1 | 3,148 | 2017-10-13T13:57:20.593 | api_errors | serverfault.com | |
334,880 | Column used in the publication WHERE expression is not part of the replica identity | I'm trying to create a logical replication setup where I have a single large database with smaller read replicas branching of filtered on a sub id. For example, if I wanted a subset of items pushed to read replicas for a specific customer, I might have a table on the replication node defined by: [CODE] I may or may not... | This is Working As Designed™ A row filter expression (i.e., the [CODE] clause) must contain only columns that are covered by the [CODE] , in order for [CODE] and [CODE] operations to be published. I think the restriction is there to accommodate the [CODE] transformations: Whenever an [CODE] is processed, the row filter... | 2 | 3 | 172 | 2024-01-15T15:23:28.217 | database_errors | dba.stackexchange.com | |
143,622 | What are the best practices for phasing out obsolete code? | I have the need to phase out an obsolete method. I am aware of the [CODE] attribute. Does Microsoft have a recommended best practice guide for doing this? Here's my current plan: A. I do not want to create a new assembly because developers would have to add a new reference to their projects and I expect to get a lot of... | Microsoft uses the [obsolete] attribute to tell developers that the method, property or class is deprecated, and may be changed (or not supported at all) in future releases. That gives you at least one release cycle to notify users of your API that their feature is "going away," and to remove references to it in future... | 9 | 5 | 2,562 | 2012-04-09T14:26:20.913 | pipeline_ops | softwareengineering.stackexchange.com | |
32,010 | How to test using one excel dataprovider in TestNG for multiple test cases | I created a testdata in Excel with multiple test cases. Ex: [CODE] When I perform the tests, Each test case will show an error message according the error. Ex: [CODE] I'm using TestNG framework. I want to use the @dataprovider method and @test to execute my tests. Is it possible to use one dataprovider for multiple tes... | You might find this material really useful. You need to define a mechanism to read your excel file (which is described in the link above) Try to use project path rather than absolute paths like in the example in case you are looking for CI integration. | 2 | 1 | 5,106 | 2018-02-12T05:25:12.933 | data_quality | sqa.stackexchange.com | |
577,307 | Freenas and Active Directory | I'm trying to setup my Freenas server with Active Directory, it's connected fine and the following works: [CODE] But when I setup a ZFS Dataset and try and setup the permissions to be one of our local active directory groups, no AD groups or users are in the dropdowns. On top of this I seem to be getting this spammed a... | Set the Rights Manually. Click on "shell". chown "domain.local\username":"domain.local\groupname" /mnt/VolName/Sharename chmod 777 /mnt/VolName/Sharename | 0 | 0 | 937 | 2014-02-19T16:29:18.213 | infrastructure | serverfault.com | |
27,295 | How can I Use JDBC Request/Debug Sampler results match with HTTP Response in JMeter? | How do I use JDBC Request/Debug Sampler results match with HTTP Response in JMeter using response assertions? Can you provide me with an example? | General recommendation: there are [CODE] and [CODE] fields under JDBC Request sampler: Using them you can get "interesting" parts of the JDBC response (or whole response) stored into JMeter Variables . See Debugging JDBC Sampler Results in JMeter article to learn how to work with the JDBC test elements results. The var... | 2 | 2 | 2,290 | 2017-05-17T06:47:52.343 | data_quality | sqa.stackexchange.com | |
674,865 | how do I know if an SSD reaches its performance capability? | I was monitoring a new db server with SSD RAID-10 installed. It works fine for now but I was worrying someday it could reach its capability as the business goes on. So how can I know that before it's too late? I was thinking there are some parameters I can monitor. for example [CODE] from [CODE] , [CODE] from [CODE] bu... | Assuming this is a hardware RAID 1+0 and there's a controller managing the devices, just let the drive fail. Imagine this were a spinning hard disk. Do you care why or how it failed... or just that it failed? RAID controllers use a variety of parameters to determine drive and array health. S.M.A.R.T. statistics are jus... | -1 | 2 | 68 | 2015-03-12T09:38:31.397 | pipeline_ops | serverfault.com | |
359,450 | requiring files in nodejs - individual files or group? | When working in NodeJS and requiring custom modules. Is it best practice to require one file that itself requires dependencies, or is it best to explicitly require only the files that are needed? An example might be having a database class that returns a connection pool. [CODE] Then there might be separate files that e... | As usual, it depends. I generally have a folder of related things (e.g. controllers) which includes an index.js file. That file exports an object of all the other files in the same folder, e.g.: [CODE] This lets me require the folder itself elsewhere but also do a specific require if I want. I don't think there is an o... | 0 | 1 | 135 | 2017-10-20T06:28:02.667 | database_errors | softwareengineering.stackexchange.com | |
422,148 | Is this a proper way to architect my network security testing tool? | I am planning on creating a network security testing tool with python that carries out a variety of attacks and tests other vulnerability issues on a host (Such as: Ping of death, slow loris, teardrop and so on) so security teams can quickly PoC different vendor appliances. Since this is my first real "own" project...I... | It is perfectly fine to architect a tool this way. Separating different roles/responsibilities into different modules is pretty good, as is keeping the CLI interface separate from your “business logic”. However, Python's import mechanism is fairly fragile. If you [CODE] , it is not guaranteed that you'll get your [CODE... | -2 | 0 | 37 | 2021-02-11T17:31:39.350 | api_errors | softwareengineering.stackexchange.com | |
82,948 | SQL: TSQL to Find invalid views | we have a Tuesday/Thursday Maint window for one application we support. On Tuesdays we modify one facility and thursday if there are no errors we roll all the changes out to the other facilities. The application is 3ed party, and at times makes changes to the databases which render views invalid on our "reporting" serv... | Something like the following should be good enough to get you started. It should be quite lightweight as well. [CODE] | 5 | 12 | 4,868 | 2014-11-18T15:11:40.793 | warehouse_errors | dba.stackexchange.com | |
382,272 | How to move files from one server to another server automatically | I have two windows servers and want to take backup of certain folder from one server to another server automatically whenever that folder is updated. Or at least as a hourly/daily task. In Unix there is a feature called rsync. I am not able to know how its done on windows. Both the servers are in Intranet but in differ... | You can use rsync on windows with Cygwin, but I suggest you use the tool Robocopy for this. To use robocopy: [CODE] Also check the options here . | 2 | 3 | 9,671 | 2012-04-23T15:12:07.000 | database_errors | serverfault.com | |
1,016,657 | virt-install: error: unrecognized arguments: (but no arguments listed) | Been trying to create my first VM with KVM but getting a cryptic error from virt-install. It's saying I have a 'unrecognized arguments' but does not say which argument: [CODE] Looking at docs and general googling cant work out what is wrong. Ime running CentOS 7, virt-install 1.5.0. [CODE] Here are what I did to get th... | Something is weird there for sure. That error comes from python argparse so it's not anything virt-install is doing explicitly. I'm guessing you have some weird whitespace or something on your command line that argparse is interpreting as an explicit command line argument. Try writing that command out by hand with no l... | 1 | 0 | 4,134 | 2020-05-11T16:30:16.660 | infrastructure | serverfault.com | |
179,000 | Apache mpm_worker + php : processes not terminating | I'm seeing a weird issue on our web servers where the Apache processes seem to be remaining in limbo with 1 or 2 threads. This is disconcerting for me since I was just thinking I wanted to impose a stricter ServerLimit so that I can more safely up my php memory_limit. Would anyone know of a nice way to troubleshoot thi... | First thing to check is whether these have spawned any additional processes (have you got pstree available?). Are the php exec functions enabled? Other things to look at at whether you've got keepalives enabled and whether maxRequests is set to a sensible value. Are the threads idle or processing stuff? Is the PHP talk... | 1 | 2 | 1,450 | 2010-09-08T00:45:18.150 | infrastructure | serverfault.com | |
318,058 | Need to transfer ~3TB of data to a remote server | Possible Duplicate: Copy large file from one Linux server to another I need to transfer about ~3tb of data to another server. I am currently using rsync -z but it is going at 250kb/s so it will take forever. How can I speed it up? | Mail a hard drive to the server and have a technician plug it in. | -2 | 9 | 792 | 2011-10-03T18:21:15.573 | data_quality | serverfault.com | |
479,805 | Running services from GNU Screen | There are quite a lot precautions one is to take when running a process as a daemon. It seems to me that running it inside GNU Screen is a viable alternative, since it guarantees to run the process after logging out of the server, output can be examined when logged back in, etc. Is there any drawbacks of running e. g. ... | Seems like the wrong solution, somehow. If you're on Ubuntu, use Upstart . If you're on Centos/RHEL/Other, take a look at using start-stop-daemon and the LSB init standard to properly daemonize a process, and then that'll enable you to use chkconfig to start/stop it automatically. | -2 | 12 | 506 | 2013-02-17T23:55:19.543 | infrastructure | serverfault.com | |
431,299 | Should a data class manipulate its input? | Background I'm a scientist and trying to incorporate better software development practices in my work. In my niche field there's a standard model everyone uses that accepts a whopping 56 arguments. I'm attempting to create a public toolset that helps create and organize all the necessary inputs. The motivation is twofo... | it just feels wrong to have a class that does nothing but validate and store values For me, it feels perfectly fine - as long as you can come up with a meaningful name for the class, one which lets you think of the group of parameters "as a whole", without always having to remember what's inside. I don't know your doma... | 2 | 4 | 304 | 2021-08-23T20:39:40.907 | api_errors | softwareengineering.stackexchange.com | |
382,579 | Apache Settings | Optimization Advice | I was hoping to get some expert advice on the best settings for apache. Currently our site operates the following way. User Request the page with low resolution images. The page loads quickly and then javascript will lazy load. Ajax is called to perform different functions. Some pages might have 30 requests for that us... | Test, test, test and test. Grab some decent load generators (no, [CODE] is not suited) like siege, jperf, flood or tsung, establish a baseline, then start loading with different combinations of requests and busyness. It is also evident that you have no clue how apache is currently configured, since only one MPM is used... | 0 | 1 | 1,030 | 2012-04-24T12:51:10.880 | database_errors | serverfault.com | |
111,317 | Any risks in updating the system time on a mysql 5.5 server? | We just discovered one of our mysql systems has not been running ntp, with the result that the time has drifted a bit. If I enable ntp, and synchronize the time while the system is running are there any possible problems? The master is currently about 4 minutes slow, and a slave is about 3:45 behind. | With the changing of the clock times on the Master there might be loss of data for the slave a slave may replay a query it already processed Rather than risk either of these extremes, you should schedule a brief downtime. Here is what you should do: STEP 01: Stop all writes to the Master [CODE] STEP 02: Make sure are w... | 4 | 2 | 1,170 | 2015-08-17T19:06:09.143 | database_errors | dba.stackexchange.com | |
268,439 | Is there any way I can speed up this large full-table query? | I have a query that selects from only one table and with one [CODE] filter. However it takes a very long time to execute and even times out occasionally. This is likely because it is filtering about 4 million rows out from a table of 13 million rows (the other 9 million records are older than 2019), and it is returning... | Is there anything obvious I can do to improve this query's performance by adding/tweaking indexes or tweaking the query itself? Yes. First make the predicate sargable . [CODE] And then consider partitioning, or a filtered index with included columns. But even if you have an index that can support this query as a simple... | 4 | 14 | 6,663 | 2020-06-03T18:48:19.040 | hadoop_errors | dba.stackexchange.com | |
485,705 | Does sshd do filesystem checks when considering to accept keys? | I know that sshd will refuse connection for bad ownership or modes for directory , but is there some other silent check and failure relating to the location of user's home directory? Or some configuration issue for that partition? using CentOS release 6.3 (Final) I'm trying to setup a new user, git, with a home directo... | You created a user home directory outside of [CODE] , and so SELinux, knowing nothing about your intentions, denied access to it. To resolve the issue, set a permanent SELinux context for the home directory and then relabel the files. [CODE] (BTW, [CODE] is the preferred directory for such things, rather than [CODE] .) | 2 | 2 | 155 | 2013-03-07T18:01:54.317 | infrastructure | serverfault.com | |
1,102,983 | postgres log file rotates after about one meg | I'm running postgres 10.2 on ubuntu 18.04. I'm getting mulitple log files throughout the sameday, it seems like they are rotating after a certain file size: [CODE] What is happening is that I run a cronjob to delete the contents of pgsql_tmp directory every morning. The log file fills up with the following: [CODE] unti... | The default value for [CODE] is 10MB. Your file sizes are 10MB. Nothing surprising here. If you only want to rotate after 1 day you need to set [CODE] to [CODE] . 0 disables | 0 | 1 | 319 | 2022-06-10T13:27:42.807 | database_errors | serverfault.com | |
243,247 | MySQL "max_allowed_packet" error -- how do you profile the max packet size? | Keep running into into the "max_allowed_packet" error msg, which to data I've just guessed at what the number should be.... I'd like to stop guessing, and know how to see what the number should be -- and it appears that info might be in the database table info in the "Data_length" column. Is that correct, and if so, ho... | I'm not 100% sure how to profile a max_allowed_packet situation. But I know I have gotten a ~3 gig database export to import on a max_allowed_packet size of 100mb. What I usually do is just set it arbitrarily high, import the data then set it back down to 1M and restart mysqld. | 1 | 1 | 1,803 | 2011-03-04T15:25:55.217 | database_errors | serverfault.com | |
390,978 | Postfix add custom header with random value | I am trying to add a custom header to all messages handled by my postfix server. I tried using a guide on the internet without any luck. In my master.cf i added: -o smtp_header_checks=regexp:/etc/postfix/test_tag_header test_tag_header: Prepend X-Mailgun-Tag: testing123 made sure I restarted postfix I did a few tests t... | Here is the solution that worked for me. I am now able to successfully track each individual message sent through our postfix serves using MailGun.org as our relay. Please not this is a simple install of Postfix / Dovecot using iRedmail.org install script for debian /ubuntu. Your own postfix configuration may be differ... | 0 | 1 | 5,140 | 2012-05-21T09:33:11.393 | database_errors | serverfault.com | |
325,758 | Why did DirectDraw allow developers to directly write to GPU VRAM? | I'm reversing an old DirectX 7 game and I noticed that it sometimes uses [CODE] and [CODE] but at other times, it locks the directdraw surface and directly writes to GPU VRAM. Why did developers take the latter approach? Not only is it slower (since all rendering is done in the CPU) but it's also much more difficult. A... | The existing rendering capabilities of the hardware may not always suit your needs, so sometimes you just have to paint the pixels yourself. So, your question boils down to "why allow direct VRAM access when you can always paint the pixels in RAM and then have them [CODE] ed from RAM to VRAM?" The answer is that back i... | 1 | 4 | 408 | 2016-07-26T02:46:58.930 | api_errors | softwareengineering.stackexchange.com | |
628,491 | LSI MegaRaid - Image Drive from Failed RAID | I had a power failure and my LSI MegaRaid 3 disk SAS RAID 0 failed. My attempts to recover the RAID have also failed. I plan to rebuild the array and go with RAID 5 and add another SAS disk. However, before I wipe the drives I would like to image each of them separately. I tried to boot up using a Linux live boot CD. I... | Are you saying that you had three SAS disks in a RAID 0 arrangement? That means that there was no redundancy. Do you what specifically about the power failure impacted your environment? Was there just a power outage? A power surge? Electrical storm? Lightning ? I'm not certain that a power outage would result in an arr... | 1 | 1 | 1,956 | 2014-09-15T05:54:59.020 | infrastructure | serverfault.com | |
183,027 | How to define shardKey on GridFS collections to achieve Location/Data Centre affinity (MongoDB) | I have set up a mongo cluster as follows: 3 shards, one per global region APAC/EMEA/AMER (in different data centres) Shard Key is REGION + 'MONOTONICALLY INCREASING PRIMARY KEY' The "writing" clients for the cluster [typically] connect to the mongos in their region, and will be writing documents with their region's reg... | OK I have done some more research into this and this achieves what I want functionally. The chunks collections can ONLY be sharded on files_id or files_id,n. So, rather than accepting the default ObjectId() _id given to a file uploaded into fs.files (which is used as the files_id "parent" value in fs.chunks), I have us... | 0 | 0 | 754 | 2017-08-09T06:31:11.750 | database_errors | dba.stackexchange.com | |
311,524 | What Steps are Required to Restore SQL Server 2005 Master Database used with Sharepoint 2007? | The master database on our SQL Server 2005 instance appears to be corrupted. Since this database powers our MOSS 2007 installation, what steps must be taken to restore master and ensure that MOSS 2007 is restored as well? Thanks! | If you are sure that it is corrupt, then keep reading. But first, are you completely sure that it is corrupt? How have you decided that it's corrupt? (Sorry to ask, but restoring the master database is a really big deal.) Assuming that you have a backup of the master database you'll need to stop the SQL Service and res... | 0 | 2 | 84 | 2011-09-14T22:54:35.883 | data_quality | serverfault.com | |
598,138 | Closing shared folder sessions remotely | Introduction: I have a script which copies some data from the local server (Server A) to another server (Server B) through an UNC path, the share in the Server B was created for an external hard disk which is changed every day, after the external HDD is swapped the new HDD is mounted using the mountvol command, the ass... | This is great example of how PowerShell can be far superior to some of the native batch scripting tools. You can use the New-PSDrive cmdlet to map a drive on Server B. The drive will only persist for this particular PowerShell session so if you execute a new script and/or PowerShell session the drive mapping will no lo... | 4 | 1 | 1,855 | 2014-05-23T16:15:57.027 | infrastructure | serverfault.com | |
29,300 | Supervised machine learning in a "one-time-test" classification problem | Being inspired by the question " Good practices for identifying "one-time" tests? " I decided to make a proof of concept for the idea of applying supervised machine learning algorithms to a problem of "one-time-test" classification. The question such the classification would answer is When one creates a test, what clas... | Sounds like a reasonable approach. However, regardless of all the other features you may come up with, you probably want to take the test's past bug detection into account (production and test system, but be aware of flaky tests). This can be an absolute (e.g. total number of found bugs) or a relative (e.g. number of f... | 3 | 2 | 133 | 2017-08-31T17:07:49.527 | data_quality | sqa.stackexchange.com | |
273,286 | Does MS Forefront TMG cache authentication? | I'm testing a client machine that makes requests to a biztalk server using a forefront machine as a web proxy. Upon first test I put in an invalid name/password into the receive port and received the correct error message (407). Then, I set the correct name/password and everything worked correctly. From there, I kept t... | that shouldn't be your problem but the steps to configure revese caching rules can be found here: Configure Forefront TMG as a Proxy Cache see also Configure TMG as Cache Proxy | 2 | 2 | 1,049 | 2011-05-24T17:24:49.613 | api_errors | serverfault.com | |
741,056 | Exchange 2010 Powershell Output Each Mailbox permission to separate text files | I am looking to output the results of [CODE] piped into individual text files for each individual mailbox, with the text file named for the mailbox - e.g. I want to have a folder with the content: C:\Example\MailboxUser1.txt C:\Example\MailboxUser2.txt C:\Example\MailboxUser3.txt with each containing the mailbox permis... | You are almost there. Combine them like so: [CODE] I tried this on my Exchange 2013 lab server and it seemed to do what you need. For this function, there is little difference between 2010 and 2013. If you want the ".txt" extension on the output files, do this: [CODE] | 2 | 2 | 706 | 2015-12-06T08:25:44.907 | infrastructure | serverfault.com | |
339,508 | check_postgres_checkpoint plugin error | I am using the check_postgres.pl plugin for Nagios. I am trying to monitor how long since the last checkpoint has been run using the check_postgres_checkpoint option. When I run the command from CLI as root I am getting the output but I am not able to get the output in the Nagios web interface. The error which it shows... | The best way to do this, in my opinion, is via sudo, as Khaled suggests. Run 'visudo' and add a line like this: [CODE] Then, change the command def to run the plugin through sudo. Oh, and be sure to make sure 'requiretty' isn't set (also via visudo), or it will fail. Alternatively, you could make a new group containing... | 0 | 1 | 566 | 2011-12-09T18:23:56.210 | infrastructure | serverfault.com | |
190,968 | Automatic snapshots won't run on BackupExec CPS 2010 | I am running Symantec BackupExec CPS 2010 on Server 2008 R2. I have everything set up ok, the backups are running and I can perform restores. I also have configured the snapshots, but they do not run according to the schedule. I can, however, manually run the snapshots through CPS without any error, but when I look to ... | So after playing around with it for a while longer, I found the problem. It turned out to be the permissions on C:\Windows\Tasks. Even the Administrators group only had read access, so this caused the error when trying to set the default schedule (ie, create a new task). It turns out that CPS does work directly with th... | 0 | 0 | 854 | 2010-10-14T15:26:52.583 | database_errors | serverfault.com | |
870,222 | Redirect from HTTPS to HTTP in nginx as a reverse_proxy | I have an edge server in which a varnish and an Nginx are installed on it. I use Nginx as a reverse_proxy for SSL termination for HTTPS traffic and also forwarding HTTP traffic. Both traffics are forwarded to varnish. I have several HTTP and HTTPS sites with valid SSL which are working properly. I have a website with a... | Firstly, if the domains are parked, you won't see that traffic anyway. So there's nothing you can do about it. Secondly, if your domains -aren't- parked, and you can see the traffic, there are two options: 1 : Buy / auth an SSL with someone like letsencrypt or trustico or something, and run the site on https, then redi... | 0 | 2 | 569 | 2017-08-24T09:03:28.240 | infrastructure | serverfault.com | |
433,444 | Strategy for dealing with geolocation and geocoding inaccuracies | For a mobile app, we are using the Google APIs for geolocation and geocoding. The basic use case is to find entities within a certain radius (in the range of a couple of kilometers) of each other. Often, due to people being either in high rise urban areas or city outskirts, the location accuracy gets thrown off, and th... | Showing a map with markers for each location is about the only way to mitigate this issue. Center the map on the user's current location, but don't put a marker. This gives the user information so they can judge for themselves whether or not they want to travel to one of those locations. Using GPS-enabled devices is co... | 1 | 4 | 61 | 2021-11-11T08:02:46.307 | api_errors | softwareengineering.stackexchange.com | |
414,602 | Webserver Nginx + PHP FPM Access Denied error with .cgi scripts | Webserver with Nginx 1.1.19 and PHP 5 FPM work great with serving PHP and showing output of mysql data. I want to embed nagios in my application and so I needed .cgi scripts for the first time on this server. This didn't work. Then I made a simple echo hello world .cgi script and I still get 'Access Denied'. I gave the... | Nginx does not currently support classic cgi. It does support fastcgi, though. Most solutions involve using a wrapper script of some kind to make a cgi script into a fcgi script. | 0 | 1 | 935 | 2012-08-06T09:59:21.553 | database_errors | serverfault.com | |
585,577 | Slow first login to a AD-joined Samba box | I have joined my first Debian box to an Active Directory (2008 R2). It works, I can log in with AD credentials, browse Samba shares. There is just a problem with the time it takes for someone to log in via ssh (the only way to log into the headless servers). It takes about 30 to 45 seconds to get a prompts, the subsequ... | Check your [CODE] file, make sure you set the following values under [CODE] Also, in your [CODE] file - add the following: [CODE] See my blogpost for more detailed instructions: https://monklinux.blogspot.com/2017/09/how-to-samba-4-file-server-as-member.html | 1 | 1 | 3,611 | 2014-03-31T08:34:59.357 | infrastructure | serverfault.com | |
457,873 | Two less expensive Xeons or 1 more expensive one? | I have ESXi running on an old cast off desktop machine. It's running a quad core AMD Phenomn 9850 Black edition cpu, 4 gig of DDR2 ram, and an SSD for the data store. The guest operating systems are LAMP servers hosting about a dozen sites. For the most part it runs just fine, until a site decides to run a backup or be... | A second related question, can you run a single processor on a 2 processor mother board. This one is easy to answer: Yes you can. Which gives me more performance for running files compressions, database look-ups/changes, and web hosting a single more expensive 6 core Xeon or two less expensive quad core Xeons? This one... | 0 | 1 | 514 | 2012-12-13T17:43:50.117 | api_errors | serverfault.com | |
61,163 | PGAdmin3 connection with non standard SSH port and SSH tunnel | Hi I am trying to connect to Postgres from pgAdmin3 using SSH tunneling. However I am not using standard port 22. How can I do SSH tunneling using a non standard port? | You could setup the ssh connection and tunnel outside pgAdmin and just let pgAdmin connect to the localport. On windows you could use putty for this on unixes you can use ssh If you use 15432 as localport then you can let pgAdmin connect to localhost with port 15432 and you leave the SSH tunnel option in pgAdmin OFF! | 8 | 6 | 11,476 | 2014-03-18T15:52:44.073 | warehouse_errors | dba.stackexchange.com | |
278,456 | Group Policy allow login as administrator programatically | We have a line-of-business app written in VB6. When the app starts, it checks a specific network path to see if there any updates to the application. If there are updates, the program logs in as the domain administrator and copies the new files. Since Windows Vista, this is broken because of UAC. In order for our app t... | If the app is installed under Program Files and Windows vista/7 UAC will only allow administrators to change those files. There are several possible ways I can see to circumvent this security feature. Be warned - UAC is trying to prevent you from shooting yourself in the foot so be wary. 1) (not tested) reinstall the a... | 0 | 1 | 312 | 2011-06-08T20:10:44.677 | infrastructure | serverfault.com | |
151,414 | Powershell script to append an extension to a file, input from CSV | All I need is to have an Excel list of file paths and use Powershell to append (not replace) the same extension on to each file. It should be very simple, right? The problem I'm seeing is that if I go [CODE] I get the following output: [CODE] In other words it looks like it's outputting the CSV "formatting" as well. Ho... | Try this [CODE] The tricky part is that import-csv returns an array of arrays essentially. This is why our first version is formatted the way it is, as what write-host is getting is a list of lists. You have to iterate over each line and treat each line individually. Or at least that's one way to do it. Massimo has the... | 2 | 1 | 6,023 | 2010-06-15T16:52:55.030 | infrastructure | serverfault.com | |
40,481 | Accidentally turned down SQL memory too low to log in, how do I fix? | I turned down the Maximum Memory of the my SQL Server instance to 15 MB... Now I can't log in to increase it. How can I increase the maximum memory without logging in? Version is SQL 2008 R2 | Connect using the Dedicated Administrator Connection (DAC) , which is guaranteed a minimal amount of resources in order to solve issues exactly like this one. For example, if you are connecting via Management Studio, launch a New Query window and just type [CODE] instead of [CODE] when it prompts you to connect. Ignore... | 16 | 20 | 15,457 | 2013-04-19T21:03:22.403 | database_errors | dba.stackexchange.com | |
520,535 | nginx is still on port 80 - bind() to 0.0.0.0:80 failed (98: Address already in use) | I edited this file: [CODE] to [CODE] - https://dpaste.de/nrUy9/ but still is on port 80. What can I do? Port 80 is used by apache. My error: [CODE] | remove the IPv6 bind block (something along the lines of ::1:80 | 0 | 0 | 6,733 | 2013-07-03T13:46:09.127 | infrastructure | serverfault.com | |
569,420 | How to execute multiple SQL statements in virtualmin / mysql | Using the "Execute SQL" feature of the mysql addin for virtualmin, what is the syntax for executing multiple statements? For example if I want to do: [CODE] I get the following error: Failed to execute SQL : SQL delete from Table1; delete from Table2; failed : You have an error in your SQL syntax; check the manual that... | Save your statements to a .sql file and select "Run SQL from file", you will be prompted to upload the SQL file. | 0 | 1 | 942 | 2014-01-23T17:26:12.747 | database_errors | serverfault.com | |
314,850 | Ban, slowdown or stop massive login attempts to RDP | Remote session from client name a exceeded the maximum allowed failed logon attempts. The session was forcibly terminated. One of the servers are being hit by a dictionary attack. I have all the standard security in place (renamed Administrator, etc.) but want to know is there a way to limit or ban the attack. Edit : T... | Block RDP at the firewall. I don't know why so many people allow this. If you need to RDP to your server, setup a VPN. | 23 | 29 | 32,825 | 2011-09-23T14:29:34.060 | infrastructure | serverfault.com | |
274,919 | Should I convert the frontend generated UUIDv6 to binary(16) for use in SQL Server as the clustered primary key? | Background As suggested by the front-end developer, I looked into using UUID as the primary key for a bunch of tables in our new system. From learning the pros and cons of random vs. sequential UUIDs, to the use of a non-clustered primary key in combination of a clustered index with a sort-able type, my research pointe... | reorder the bytes so that the most/least significant bytes are where SQL Server expects them to be Do that. Option 1 is what SQL Server does natively with NEWSEQUENTIALID(), as wikipedia puts it NEWSEQUENTIALID function returns 128-bit identifiers similar to UUIDs which are committed to ascend in sequence until the nex... | 5 | 3 | 696 | 2020-09-03T15:40:41.167 | database_errors | dba.stackexchange.com | |
277,366 | How should I handle database failures in a web application? | I'm developing a simple RESTful API using Go's Goji framework (although this question is language-agnostic), in which parameters from the URL are queried against a PostgreSQL database. Here's how it works: First we define a struct that holds a reference to our ORM This struct contains an [CODE] method that allows us to... | Requiring a reboot of the application when the database goes down is definitely a bad design, because it increases maintainance effort which will negatively affect your uptime. A good design would try to reconnect to the database every few seconds so business can continue as soon as the database is available again. In ... | 2 | 5 | 2,876 | 2015-03-25T15:53:54.687 | database_errors | softwareengineering.stackexchange.com | |
269,379 | Remove saved folder access info? | Yesterday we had a user who was having problems accessing a certain shared folder on our network. When attempting to access the folder, I got the usual "Please enter your credentials here" dialog. Because that user's account has full permissions on a replication of all that data on another domain, and because I was bei... | check the credential manager in the control panel, Under users aand then Manage your credentials. You be able to see a list of realted login information. From here you can remove the login info to the shared resource. | 1 | 3 | 127 | 2011-05-13T12:32:29.403 | database_errors | serverfault.com | |
1,034,866 | ADFS - How to send sAMAccountName without domain | I'm using ADFS and I need to send the sAMAccountName. Currently using a "Transform an incoming claim" rule: Incoming claim type: Windows account name Outgoing claim type: Name ID Outgoing name ID format: Email (I know the format is actually wrong but thats the format the provider wants and it works) Unfortunately the u... | You can achieve this without a custom rule by creating a rule from the template [CODE] and then transforming that claim as you already did. Rule 1: [CODE] Attribute Store: [CODE] Mapping 1 LDAP Attribute: [CODE] Mapping 1 Outgoing Claim Type: [CODE] (Choose a name of your liking) Rule 2: [CODE] Incoming claim type: [CO... | 1 | 1 | 6,441 | 2020-09-22T09:24:52.203 | infrastructure | serverfault.com | |
1,026,035 | Configuring Kubernetes Ingress | I'm trying to configure Google Kubernetes Engine Ingress properly to a load balanced Docker application which runs on port 3000. I'm clearly making an obvious mistake somewhere, but I have no idea where. Ingress always says machines are not healthy, but I am able to verify that the web app is running and listening on 0... | In your ingress resources you are using service port: 443, but In your service definition you have port: 3000. You need to fix your service as follow: [CODE] | 0 | 1 | 295 | 2020-07-20T22:47:05.183 | pipeline_ops | serverfault.com | |
620,887 | there is empty ips in netstat | I have installed ddos deflate on my sever (centos6.5 64bit) and in server mailbox I see that ddos deflate has been blacklisted empty Ip. and when I run this command on ssh I see: [CODE] You see that there is 4649 connections from empty IP. what is cause of this problem and How can I solve it? | Your picking up ipv6 network connections which often have a number of colons in them. The [CODE] command doesnt take this into account when snipping the colons out from the IP address. Might be more suitable to use [CODE] instead of cut in that case I guess. | 0 | 5 | 1,026 | 2014-08-16T13:39:48.993 | infrastructure | serverfault.com | |
74,397 | Is my subquery inneficient. It is extremely slow | I have two tables. Member information and login entries. I am simply trying to display the member information table sorted by the last login access date. So i created this query, but it is extremely slow. Is there a better way to write it? [CODE] | Your query is slow because of the sub-select. It is what is known as a correlated sub query. It will be executed once per row in the outer query. This question answers a similar problem. It's looking for the minimum, you for the maximum; it's using one table, you're using one. The translation shouldn't be too hard, tho... | 0 | 0 | 88 | 2014-08-20T03:13:49.990 | warehouse_errors | dba.stackexchange.com | |
11,847 | Term for relative recall | For in calculating success in information retrieval, precision and recall are fairly standard measurements, relating to accuracy of the results, and to what extent the results are comprehensive, respectively. However, recall values typically require that you know how many correct results there are in total (in order to... | In the x results obtained from the IR system, let TP, FP, FN, TN be the True Positives, False Positives, False Negatives and True Negatives of the trial, respectively. When you take a random smaller-sized sample s of x observations ( cut list in your language), the values TP and FP decrease (by p and q) in their respec... | -1 | 0 | 523 | 2016-05-20T10:00:31.263 | data_quality | datascience.stackexchange.com | |
1,128,679 | Allow interactive login for group managed service account (gMSA) | I'm trying to troubleshoot an issue with a gMSA and the error is displayed interactively. psexec is blocked by sophos, which is quite a hasle to whitelist (would be the sure way to get an interactive session). I tried putting the gMSA in all obvious groups. Tried login via rdp, but this gives 'To sign in remotely, you ... | To answer my own question : change urserAccountControl in active directory from 0x1000 (WORKSTATION_TRUST_ACCOUNT) to 0x200 (NORMAL_ACCOUNT) Now it's basically a "normal" account. At least rdp works for me now. | 0 | 0 | 694 | 2023-04-14T13:25:26.270 | infrastructure | serverfault.com | |
305,849 | Single Source Shortest Path | In the lecture we are taught that we can solve All Pairs Shortest Path(APSP) with matrix multiplication . In APSP we are creating a distance table for all the distances between each nodes in the graph. And now the question is "Is it possible to solve Single Source Shortest Path(SSSP) problem with matrix multiplication ... | Single Source Shortest Path? Since all pair shortest path is possible with Matrix Multiplication and single source is a subset for all pair source, Single source shortest path is also possible. Just ignore the other pairs. Matrix-Multiplication Based Algorithm Consider the multiplication of the weighted adjacency matri... | 4 | 4 | 567 | 2015-12-25T08:40:15.363 | api_errors | softwareengineering.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.