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 |
|---|---|---|---|---|---|---|---|---|---|---|
498,525 | Apache virtualhost strange behaviour | I have multiple domains linked via A-Record to my server. For all of them I created a virtualhost. Some of them run with and without of www. Some have additional subdomains and some have wildcard (sub)domains. All runs pretty fine, except one thing. When I surf to my server by using the servers ip adress, I don't get t... | Oh, I see. You have no [CODE] directive in your default [CODE] . It needs to have a [CODE] , or one will be generated for it (either inherited from the main configuration or guessed via reverse DNS lookup). Note that this doesn't create a conflict with the [CODE] name, since it's just taking precedence for the exact na... | 0 | 2 | 313 | 2013-04-11T19:21:11.693 | infrastructure | serverfault.com | |
202,027 | Missing exchange tabs in AD | I'm having a small problem and would be great if someone could help me out. I have exchange 2007 and Active Directory installed on my windows 7 machine. I'm not able to view exchange tabs in the Active Directory console. Is there any specifc installable / setting to get them enabled / displayed. Thanks in advance. | Everything is done in the Exchange Management Console, MS did away with the Exchange tabs in ADUC on 2007. | 1 | 6 | 387 | 2010-11-15T15:14:04.960 | infrastructure | serverfault.com | |
1,121,213 | AWX can't find host during provisioning callback | I have recently set up RHEL Satellite and I'm now integrating with our AWX/Ansible Tower implementation. The curl request I'm using is as follows: [CODE] This appears to (correctly) kick off an inventory sync (and the host is in the Satellite inventory), yet the AWX server returns [CODE] The documentation I have found ... | Okay I figured this out. I'm using a Kubernetes deployment, and AWX was not seeing the client's true IP as requests are being proxied through Nginx. Looking at the webserver container logs got me on the right track as they showed the nginx ingress IP rather than the client device. The solution was as simple as setting ... | 0 | 0 | 732 | 2023-01-26T15:51:37.903 | pipeline_ops | serverfault.com | |
980,725 | Host ssh-rsa key is refused by WinSCP when connecting on scheduled task, but not when launched manually | As part of a scheduled task that runs on a Windows Server 2012 machine, I use WinSCP to connect via sFTP using credentials and ssh-rsa key. When the scheduled task runs, the connection fails with the following error message: [CODE] As you can see, the ssh-rsa key is the same in both cases. And if I run the task manuall... | Your script is wrong. The [CODE] switch must include even the key type and key size (only an upcoming WinSCP 5.16 will allow checksum only, but it will discouraged anyway) . So it should be: [CODE] The reason why it works in other environments is most probably that the host key is cached in Windows registry of the acco... | 1 | 1 | 4,164 | 2019-08-26T13:02:38.813 | infrastructure | serverfault.com | |
204,707 | Same query different execution plans | I am trying to optimize performance for a server and this particular query was causing huge reads from database, in turn causing timeout for queries. This query is generated from EF6 in Asp.Net MVC. Here is the problematic query: [CODE] So what I did was remove the parameters from query and run it as a single unit like... | The first query calls parameterized dynamic SQL which makes it eligible for parameter sniffing: [CODE] The second query doesn't use dynamic SQL. It has hardcoded values instead of parameters. The question, as I understand it, is why does SQL Server pick a less efficient plan with dynamic SQL even with sniffed parameter... | 3 | 5 | 4,986 | 2018-04-23T12:58:03.307 | database_errors | dba.stackexchange.com | |
73,325 | "Pythonic" equivalent term for code written in modern C++ style? | There's a lot of good idioms promoted in modern C++. These include RAII and elegant use of boost or STL or a [CODE] to solve a given problem. Just like you can write C in any language, you can certainly write C in C++. However you can write really good modern C++ code with the right subset of features. When someone doe... | I usually call it "modern C++" and most people get what I mean by that. | 7 | 13 | 1,131 | 2011-05-03T14:28:54.523 | api_errors | softwareengineering.stackexchange.com | |
28,641 | How does postgres use the schema search path when making indexes? | Using Postgres 9.1.4 with PostGIS 1.5, as part of a Rails 3.2.x app. I have a DB containing schemas A and B, with schema A empty and schema B containing tables foo and bar, with indexes on each table in a non-PK field, say [CODE] . If I set my schema search path with [CODE] , then I can run: [CODE] and it creates table... | Given the following setup: [CODE] I cannot reproduce the problem you report in PostgreSQL 9.2: [CODE] However, rather than using the [CODE] , it's safer to use explicit schema-qualification. For example, I'd re-write the above as: [CODE] The indexes are automatically created in the schema of their associated table; see... | 7 | 8 | 6,935 | 2012-11-14T00:52:52.833 | warehouse_errors | dba.stackexchange.com | |
643,242 | Linux router: User friendly, web-based traffic monitor app | This is not a tech question but I hope someone can help me out. I've been searching all over the web for an app like this, but I can't seem to find one: Friendly user interface where a non-technical person can manage LAN computers. Set individual download quotas. After that quota is reached, disable the internet connec... | Check out http://www.ntop.org/ . It has comprehensive traffic stats and web interface easy to use by non-technical person. The part with quotas is not that trivial, but ntop can certainly provide statistics based on which block can be applied. | 0 | 1 | 377 | 2014-11-10T13:36:16.257 | infrastructure | serverfault.com | |
34,700 | Adding indices to views | I have a table that contains XML data in a varchar type field. This field is used to store data from a variety of different XML schemas some of which are related via a record stored in another table. I recently created some views which parse the XML and in some cases make a pivot of some of the values. The views provid... | I believe that the cast to XML is killing performance for you and what is happening is described by Paul White Compute Scalars, Expressions and Execution Plan Performance The cast to XML is deferred to where you actually use the XML column so in your query the cast happens three times for each row returned. | 4 | 5 | 981 | 2013-02-13T23:01:23.417 | warehouse_errors | dba.stackexchange.com | |
296,277 | I need the identical lines to merge | Previous question: Return row with values if nothing fits the conditions I almost got this working. The problem that I have is that this variant of query does not merge the line from the SELECT with the one in the UNION if they are the same: [CODE] This is what SVINVD looks like: This is what GESUPD looks like: No line... | The [CODE] operator eliminates duplicate rows. It means that two rows will merge only if they are completely identical. Row CODPRO VALPRO SUM PRODUCT3 0 212 will not merge with row CODPRO VALPRO SUM PRODUCT3 0 0 because the values in the last column differ. Anyway, if the goal is to complete the set returned by [CODE] ... | 3 | 4 | 165 | 2021-07-28T07:26:01.147 | warehouse_errors | dba.stackexchange.com | |
471,008 | Folder creation date is very recent, while last modified is years ago | We're experiencing some weird stuff with our roaming user profiles. We use folder redirection for Documents/Pictures/Music/Destkop/Downloads, yet these folders are being created in the roaming user profile (they shouldn't). Looking at the dates for these folders it's quite obvious that we're hitting some kind of bug wi... | The folder was copied on 18.01.2013 (1/18/13) from one that was last modified 14.07.2009 (7/14/09). | 2 | 3 | 824 | 2013-01-21T12:12:07.547 | infrastructure | serverfault.com | |
107,465 | How to teach a script to detect sarcasm? | I'm currently building a fun script, that basically matches given phrases and gives a predefined response based on the match-points. You can ask it to retrieve some information based on live feeds, run tasks, tell anecdotes or just chat with her. I already have built-in detection for badwords, caps lock or both. The pr... | If you had a full natural language processing system and a database of facts ala the IBM Watson system, you might be able flag some statements as possible sarcasm. For example, "I hear your mother has cancer and you just got fired!" "Yeah, isn't life wonderful!" could be flagged because it could recognize that getting ... | 11 | 17 | 2,814 | 2011-09-11T23:00:22.807 | api_errors | softwareengineering.stackexchange.com | |
292,813 | Best T1 terminating router | Folks! My network has a CISCO 2611 Router which is used to terminate a T1 connection. An ethernet cable then goes from the T1 to a SonicWall's WAN port. I would like to replace the CISCO 2611 Router with another router that is easier to configure and manage (preferably with a Web page or a GUI interface). Which router ... | I would recommend the Cisco 2611, or another device in the same general family. Cisco make s a fine router, the units are very common, and reasonably well-liked. Sticking with Cisco hardware (or if you're sure you want to change, another major vendor like Juniper ) will make it easier to find qualified network admins i... | 1 | 4 | 680 | 2011-07-21T20:13:49.440 | infrastructure | serverfault.com | |
630,144 | postfix cannot access dovecot config file | I do not receive email because of the below, as mentioned in my mail.log: [CODE] I tried adding the mail and vmail users to the dovecot (113) group but no no avail. What worked is adding read and execute access to all for the /etc/dovecot file but I consider that a workaround with possible hazards now or in the future ... | The error message explicitly tells you that the [CODE] directory needs the [CODE] permission, so that should have been the first thing you tried. [CODE] | -1 | 4 | 6,474 | 2014-09-21T13:36:33.877 | infrastructure | serverfault.com | |
1,065,491 | Windows update causes IIS Express to fail with ERR_HTTP2_PROTOCOL_ERROR | I've been building reactjs apps on a windows machine for the past year, running the Visual Studio IIS test server for debugging / testing. I just installed a windows update pack , rebooted, and my local VS IIS Express server fails to serve my sites anymore-- the only errors reported are: [CODE] I have no idea where to ... | After lots of searching I came across this SO thread, which was the solution for me: https://stackoverflow.com/questions/67747270/reactjs-neterr-http2-protocol-error-200-with-netcore-in-https/67767129#67767129 | 1 | 0 | 6,720 | 2021-06-02T20:01:35.387 | infrastructure | serverfault.com | |
277,109 | ISP Call center "user without internet" solution? | ive got this situation: Operator pickups phone in helpdesk. By CallerID he gets users contract number and can see personal details. Main question from user is "I dont have internet connection or i cant view web-sites" Main Page: MAC IP Ping results (his and neighbourhoods) Type of connection (raidolink/LAN/WiFi) Accoun... | On the first page: Any currently outstanding incident tickets for that user. Any known problems that may be affecting that user. Any user "flags" - common account statuses that might be relevant to the account handler in dealing with the customer | -1 | 1 | 205 | 2011-06-05T08:25:03.207 | infrastructure | serverfault.com | |
53,367 | Why DBCC CHECKDB is multiple times in error log | I have an issue with dbcc checkdb command . In the errorlog file I find the dbcc checkdb command multiple time within the interval of 30-45 minutes. I have scheduled a job which grep keyword error from the errorlog file but due to dbcc checkdb all the dbcc checkdb command my mail is simply full with it. Can anyone plea... | I think @MartinSmith nailed it in his comment. When you have [CODE] set to [CODE] , then the database will shutdown when the last user exits. Likewise, when somebody attempts to use the database it will reopen. When the database reopens, a message about the last time [CODE] ran will be logged. Take the below example (s... | 2 | 5 | 2,527 | 2013-11-07T09:08:46.523 | warehouse_errors | dba.stackexchange.com | |
368,066 | Rsync for Windows with support for ACLs | I have a need for a free rsync-like tool for Windows (very preferably with some sort of delta encoding) that supports synchronizing Windows ACLs and can copy open files, probably via VSS/Shadow Volumes. (I have zero budget for this, as it is a one-time project.) Many tools come close, but fail on one or more of those a... | In particular, I'd be happy to create a VSS snapshot, mount it as a drive letter, and sync from there using something like SyncToy, but I can't find any way to mount a VSS snapshot. Shadowspawn would do this, though, you'd have to invoke synctoy manually or invoke something else to keep the 'drive letter' open when you... | 1 | 2 | 8,237 | 2012-03-09T15:26:17.663 | infrastructure | serverfault.com | |
457,689 | How to get apache to use python 2 with mod_wsgi? | I have an Arch Linux server that used to use Python 2.7.3 just fine with Apache and mod_wsgi-3.4-2. I have both Python 2.7.3 and 3.3.0 installed on the server, and both executables are located in [CODE] . Recently it has started to use Python 3. I need Apache to go back to using Python 2.7. The [CODE] looks something l... | I was able to fix this be uninstalling the [CODE] package and replaced it with the [CODE] package. | 0 | 0 | 1,288 | 2012-12-13T06:30:53.237 | infrastructure | serverfault.com | |
110,371 | How do freelancer web developers manage web hosting for customers? | I have built a number of websites for friends, family, etc. and I have put them all on a single shared web hosting account. Now that they are built, I want to get out of business of supporting them and paying for them (my friends are reimbursing me but I am paying for the actual bill) so I was thinking of having them c... | I've done it in different ways, based on the type of project, the skill level of the client, and their level of trust/ongoing relationship with me. For example, I have two customers who are small businesses and are very non-technical. Since I was creating a web application for them, and they didn't really need their ow... | 35 | 29 | 36,973 | 2011-09-24T06:08:18.463 | api_errors | softwareengineering.stackexchange.com | |
287,982 | Duplicating a website in IIS 7 | I've set up an integration website in IIS 7 on Windows Server 2008 r2. Now, I'd like to create copies of this site with different bindings and physical paths so that each developer can work on his own copy of the site. On a previous project, I simply created a new site in IIS and then manually recreated all the necessa... | Could IIS Export be the tool you're looking for? Additionally, this StackOverflow post may be useful: https://stackoverflow.com/questions/841547/how-can-i-duplicate-a-websites-settings-in-iis7 Effectivly, all settings are stored in the web.config file, so you should be able to simply duplicate that after you have used ... | 3 | 1 | 10,228 | 2011-07-07T16:46:14.563 | data_quality | serverfault.com | |
319,830 | Missing dependencies at compile-time with IOC | Thanks to my new job, I recently discovered the inversion of control design principle (with windsor castle in C#). I really enjoy using it but something's bothering me. For me the good part about strongly typed languages is the fact that you can see errors at compile time and you avoid having your app randomly crashing... | Alternative solution: If your container is able to validate its own configuration, you can write an integration test for that. That's not really compile time checking, but if it's part of your test suite, you'll still notice missing dependencies quickly. Of course it only works when all your dependencies are known at c... | 5 | 2 | 1,079 | 2016-05-30T15:41:28.240 | api_errors | softwareengineering.stackexchange.com | |
148,046 | UPDATE n:m relation in view as array (operations) | Environment I came up with a view and trigger based solution to modify rows in multiple underlying tables in a Postgres 9.5.3 database. This works reasonable using Qt's model view programming. The next task I have to solve is mapping n:m relations which refer to the mentioned objects. Tables [CODE] The view is populate... | I'll assume a single given [CODE] at a time. Since there is no provision to explicitly lock not-yet-existing rows ( "value locking" ) in Postgres, it's hard to defend against concurrent [CODE] commands in the default isolation level [CODE] . The more expensive isolation level [CODE] should solve this, I didn't take a c... | 1 | 2 | 365 | 2016-08-26T18:55:50.190 | database_errors | dba.stackexchange.com | |
218,411 | Issues setting up a publisher for transactional replication on a SQL Server with a custom instance | I'm trying to set up transactional replication of a fairly large database (Business Activity Monitor database from BizTalk Server 2013R2) (>500 GB). I have an active/passive cluster which holds the main database, another server configured to act as distributor and an active/passive server cluster that will be subscribe... | I'm afraid you are not going to make it work. Biztalk uses internally distributed transactions and thus, DTC. Replication procedures use save points. These 2 things are not compatible as far as I could read. References: https://feedback.azure.com/forums/908035-sql-server/suggestions/33422404-replication-and-availabilit... | 1 | 2 | 1,013 | 2018-09-24T12:00:29.767 | database_errors | dba.stackexchange.com | |
81,341 | Moving a mysql innodb data partition from one computer to the other | /etc/mysql/conf.d/myserver: [CODE] i have two identical ubuntu machine on amazon servers. two of the machines have identical /etc/mysql configuration files. the problem is that when i unmount /elastidb (mysql data) on one server and remount it on the other, when i try to start mysql on the other server i get the follow... | Does the [CODE] error occur on both machines? My guess is so. Did the datadir come from a pre-5.1 installation? Run [CODE] to get rid of this. Even when using [CODE] MySQL will still create a single shared tablespace. The lack of [CODE] and [CODE] variables in the config you're provided should mean that a 10M auto-exte... | 1 | 1 | 2,806 | 2009-11-04T14:03:03.947 | database_errors | serverfault.com | |
158,480 | Running several SMTP servers in EC2 behind one load balancer and single Elastic IP - will it work? | We have web application hosted on EC2. We use two Ubuntu servers: one is web server, second is database server. Web server has public Elastic IP assigned. Now we want to send notification mails from the application (notifications about changes in the system made by other users). The simplest solution would be to instal... | It's my impression that many (all?) of the AWS IP's have been blacklisted as spam sources already, so the deliverability of mail sent from them won't be very good. Also, using an AWS host as a mailserver seems like a bad choice to me, because it may disappear at any moment - together with the undelivered E-mail. It wou... | 2 | 2 | 7,287 | 2010-07-08T09:23:01.283 | database_errors | serverfault.com | |
780,125 | How to force STARTTLS in Exim? | I am learning to set up a mailserver. I got it working with postfix, now trying the same configuration with Exim. How can I force a client to take up only STARTTLS connection for SMTP outgoing connection? I followed the instructions in this question. Require STARTTLS for sending email in exim My config looks now as fol... | A [CODE] connection needs to start unsecured. The [CODE] option is not advertised until after the first [CODE] command. If you want to enforce [CODE] you will need to add or modify an [CODE] . I published the Email Policy I apply . If this server is your MX, you should not enforce [CODE] on all connections. My configur... | 2 | 2 | 10,657 | 2016-05-31T20:39:04.113 | api_errors | serverfault.com | |
570,825 | DirectAccess & VPN on Windows Server 2012 Essentials | This is supposed to be very simple - deploy WS2012E on server, install the DirectAccess and VPN role and that should be about it. But it seems that its not, tried this method with no success, Not just that, it also made something that prevented new clients from connecting to the network using the Connector (Server not ... | If you're simply looking for an authoritative source of information about Direct Access, you're going to want to read all of the information available on the TechNet Remote Access documentation page. Not all of it pertains to Direct Access, but the information that does is complete and official. | -2 | 1 | 860 | 2014-01-29T18:34:47.477 | pipeline_ops | serverfault.com | |
411,327 | IP address used by nslookup and ping is different | I have a web server hosted in the network. It has a domain name registered. However, I also host a DNS server for the LAN. So, when someone wants to access the web server, it would check the DNS server and use the internal address 192.168.x.x. The web server's public address is 203.x.x.x. When my computer is working fi... | You've configured the client to lookup against your internal DNS for its primary, and an external DNS server as a secondary? You have a race condition; if the internal DNS happens to be too slow to respond, then the client gets an unusable response from the public DNS server. [CODE] is using the cached response from th... | 5 | 9 | 22,031 | 2012-07-26T04:02:10.760 | infrastructure | serverfault.com | |
1,036,080 | CentOS 8 - uninstalled python, How to recover laptop? | Yes I know I'm an idiot, I just need help I have a laptop running centOS 8 and I was trying to set another default version of Python. Long story short I used [CODE] and my laptop immediately crashed and now when I boot it just brings me to a command line. What are the steps I can take to safely recover? [CODE] Since bo... | You could revert the last transaction with: [CODE] Since you already ran something else, reverting last won't restore to the desired state. List the last 5 transactions: [CODE] Then rollback to the one prior to the ID that corresponds to when you mistakenly deleted Python, e.g.: [CODE] The [CODE] should be a transactio... | 0 | 0 | 958 | 2020-10-01T23:23:05.000 | infrastructure | serverfault.com | |
1,008,224 | Can't change Tomcat 9 JDK when running as a Windows service | My Windows 10 already have [CODE] set as environment variable pointing to JDK8. But I want to run this Tomcat 9 with OpenJDK 12. I download Tomcat 9 64-bit zip . When I run it manually via [CODE] , all I need to do is create [CODE] and put the new value of [CODE] there as stated in the RUNNING.txt that accompanies the ... | When installing tomcat service I should do: [CODE] After, I execute [CODE] and change the JVM in the java tab. | 1 | 1 | 1,045 | 2020-03-24T19:19:15.600 | infrastructure | serverfault.com | |
104,671 | SQL Server: track database changes | I have two very similar database questions related to changes tracking. There are a lot of automation tests for an application, all of them use one database backup. Currently before each test execution the backup is restored. It's needed as these tests might change data, so if several tests were executed in a row witho... | You should separate the tests into tests that can execute inside a transaction and rollback and tests that require a full restore. Execute accordingly :) If you have any DDL in the test then don't bother with transactions, the only safe option is to restore. Most single threaded DML tests will work if wrapped in a tran... | 1 | 2 | 368 | 2015-06-21T10:45:07.753 | database_errors | dba.stackexchange.com | |
289,785 | Can I distribute a GPL executable (not a library) in a closed-source application? | I want to write a closed-source desktop application that uses a piece of GPL software in the background. I know that I can't link to a GPL library ( [CODE] ). But if I embed a GPL application ( [CODE] ) into a closed source application, unzip the GPL app to a temporary location, and then make calls to it using some for... | Short answer : you're not forced to release your software under GPL; you can do it because you're making interoperability with GPL software and this doesn't make your software a derivative work (but if you want to feel more safe then don't distribute Git inside your application package, a dependency is OK). Dirty worka... | 8 | 4 | 8,191 | 2015-07-15T08:00:39.760 | data_quality | softwareengineering.stackexchange.com | |
39,572 | Linked Server to SQL Server 2000 server from SQL Server 2012 | I have a new SQL Server 2012 instance, and am migrating a database from SQL Server 2000. Some of the stored procedures in the DB I am moving reference another database back on that 2000 server. What is the best way to handle this? Would a linked server help? I am having trouble creating a link for testing. Some people ... | Be careful when using SQLNCLI10 as described in connect item A workaround can be found here You have to first test the application that is using such SP's from 2012 to 2000. It also depends on where both server's are located and how much data you are pulling out using Linked Servers. Is there a reason that the other re... | 7 | 5 | 30,998 | 2013-04-09T14:35:51.157 | database_errors | dba.stackexchange.com | |
1,123,998 | What to do with DNS if IP address is changed? | I'm working with Windows Server 2016 Essentials. Someone in the organization installed a Linksys mesh network into the router that our server was once plugged into. The Linksys parent node's DHCP is now assigning IP addresses. When the mesh network was installed, it obviously messed up the DNS server because it was con... | I've reread the question a few times and have an update. Either create a DHCP reservation for the server in the Linksys mesh interface... If you have access to that. If not, from a computer on the LinkSys network, ping 10.182.1.245. If you don't receive a response, I'd say it's safe enough to hardcode that IP into your... | 0 | 1 | 3,185 | 2023-03-01T01:46:02.957 | infrastructure | serverfault.com | |
932,126 | Amazon EKS: how to configure S3 access for worker nodes? | How can I configure an EKS cluster to automatically allow S3 access from worker nodes? I've set up an EKS cluster following the Getting Started guide and have run the example Guest Book app. Now I want to use Snakemake to run bioinformatics pipelines on the cluster, which requires S3 access for the worker nodes. I've t... | I was finally able to get it working. In the Getting Started guide , add the necessary permissions (AmazonS3FullAccess) to the NodeInstanceRole used by [CODE] , after the "To launch your worker nodes" step, but before running the command [CODE] . | 9 | 6 | 16,586 | 2018-09-21T20:01:22.160 | pipeline_ops | serverfault.com | |
348,281 | Optimizing my MySQL server | I just updated to a 8gb dedicated server from a 3gb vps that can no longer handle my site. I have built a search engine using sphinx full-text search engine and receive 100k to 200k queries a day "a lot of which are googlebot etc". Anyway I need help configuring MySQL to a very heavily database driven site. The databas... | http://mysqltuner.pl/mysqltuner.pl is a excellent script that identifies any potential problems. It is best to run it once MySQL has been running for at least an hour or so. If you have just restarted MySQL then it doesn't have a lot of statistics to work with. wget http://mysqltuner.pl/mysqltuner.pl && perl mysqltuner... | 0 | 2 | 435 | 2012-01-09T23:41:35.540 | api_errors | serverfault.com | |
491,525 | Is this DNS setup correct | Won't go into full details of problems here but we are seeing some unreliability in pinging domain.local so I wondered if the DNS records are correct: SOA, Primary server: "server.domain.local." (note final dot) NS, "server.domain.local." (note final dot again), 192.168.10.5 A, Host: (same as parent folder), FQDN: Doma... | Yes it is correct. The name server record (NS) designates which server is the name server for the zone, but it needs to resolve/point to to an A record, which in turn resolves to an ip address. That is what the A record for the NS record is for. DNS records such as NS and MX records need a corresponding A record. Think... | 0 | 5 | 99 | 2013-03-26T16:48:25.803 | infrastructure | serverfault.com | |
892,739 | How to remove the ssh tunnel to a remote docker instance | I followed the instructions on docker's web site to add an SSH tunnel to a remote docker instance and it works great however I don't know how to disconnect it. The command I ran was: [CODE] How do I disconnect this ssh connection? I tried exiting the machine and it didn't unbind the local socket. | try "Ctrl+P+Q" it should close the connection and keep the container running. | 0 | 0 | 698 | 2018-01-17T19:21:34.467 | pipeline_ops | serverfault.com | |
294,946 | SQL Query to Return Rows that don't exist as blank | I have a database of information of a possible 1-100 rows. The issue is some of the numbers don't exist. When I run a query the following results are retuned: Unit,Location,Name,Description 1,1,a,xxxx 1,2,a,xxxx 1,3,a,xxxx 1,6,a,xxxx 1,7,a,xxxx 1,9,a,xxxx 1,10,a,xxxx How can I get the following result instead: Unit,Loc... | You could use a table that would contains numbers from 1 to 100 and then use a left join in your query to get all numbers (from this table) join to the data in your other tables. ex: [CODE] | -3 | 0 | 513 | 2021-06-28T17:12:58.910 | warehouse_errors | dba.stackexchange.com | |
515,151 | Managing access to multiple linux system | A searched for answers but have found nothing on here... Long story short: a non-profit organization is in dire need of modernizing its infrastructure. First thing is to find an alternatives to managing user accounts on a number of Linux hosts. We have 12 servers (both physical and virtual) and about 50 workstations. W... | FreeIPA is probably what you're looking for. It's to Linux what Active Directory is to Windows. (It can also talk to AD if you have a heterogeneous environment, but shouldn't be used to manage Windows machines directly. Use AD for that.) Red Hat's documentation (they call it Identity Management) is very thorough and ea... | 17 | 17 | 9,117 | 2013-06-12T00:37:48.523 | api_errors | serverfault.com | |
212,681 | Is it possible to set up Azure as a publisher for Pull Replication to an on-premise database? | I am trying to set up Pull Replication from an Azure database to an on-premise database. I have set up the on-premise database as the distributor but when I try to establish a subscription to the Azure database I get an error, see below. [CODE] | At this time, replication is only supported from on-prem to SQL Database, and it has to be push replication. See here: Replication to SQL Database Supported Configurations: The SQL Server can be an instance of SQL Server running on-premises or an instance of SQL Server running in an Azure virtual machine in the cloud S... | 1 | 1 | 139 | 2018-07-19T16:50:27.957 | database_errors | dba.stackexchange.com | |
964,769 | IIS - Detecting Brute Force Logins and Password Spraying | TLDR; What techniques are being used to detect brute force logins and/or password spraying on IIS hosted websites (including SharePoint, OWA, etc.)? ModSecurity There are many tools for other operating systems to address this with the primary being [CODE] . While it has been ported to support IIS, it doesn't integrate ... | [CODE] is a PowerShell module available on GitHub and PowerShell Gallery which addresses these concerns. The README has detailed information though here's a brief overview: Only requires access to the IIS logs and can run from an entirely different system. No changes are needed to IIS. Uses [CODE] to parse the IIS logs... | 0 | 0 | 3,268 | 2019-04-26T15:58:51.030 | api_errors | serverfault.com | |
324,863 | SSH/SCP filebrowser supporting server hopping | To access our file server here, I need to connect first to a server which is public available and then open a second ssh connection to that server. If I need to copy files, I first need to copy them from the file server to the public available server. Then I can use a tool like Cyberduck (MAC) or WinSCP on (WINDOWS) to... | You can first create an ssh tunnel with [CODE] or one of its utilities, [CODE] . With Plink you can do [CODE] With Mac you probably can just replace [CODE] with command [CODE] . After that you can connect your Cyberduck or WinSCP to [CODE] and access your second server over an ssh tunnel. To make this easier, you can w... | 0 | 1 | 492 | 2011-10-26T09:34:52.977 | infrastructure | serverfault.com | |
92,575 | Dangers of huge monolithic application | The big project I'm working on for a couple years now is a control (and everything) application of an advanced device, heart of its firmware. The device is quite advanced, with more different functionalities than I could say from memory, and 98% of them are handled by this one huge executable. In one hand, the program ... | Except for the tiny comment at the end (second, supervising CPU) you could be describing my company. Yup, we need Easter too. Well, we're a bit further along. We did split the big executable and tried to use standard components for standard bits. Not exactly the big improvement you'd hope for. In fact, performance is b... | 20 | 5 | 3,261 | 2011-07-13T14:41:15.150 | api_errors | softwareengineering.stackexchange.com | |
233,723 | How I should design tables for transaction (payment) for banking? | My team and I are trying to design a new simple database system to manage transaction of customers who use their debit cards. These are some problems we haven't yet decided: When it comes to 'payment by card' process, there should be a transaction to deal with it, there might be pending status before the process will h... | i think there are a lot of different solutions in the field. There are different workflows on wirecard, Computop, Saferpay and so on. Basicly i prefer these steps. Store the initial Step (init payment) with timestamp, useragend... (Table A) Put this id to the Payment-Request to the prowider as an optional field. Often ... | 0 | 1 | 1,603 | 2019-04-02T08:06:30.943 | warehouse_errors | dba.stackexchange.com | |
303,405 | DBMS in a container/cluster vs data corruption | I am fairly new to db administrations as well as containerization/kubernetes concepts. I see every here and then containerized/clustering solutions for i.e. running PostgreSQL (i.e. here . This conflicts with info I get during my training where it is said that " databases can not run into ephemeral enironments like con... | Your training was wrong. In my organisation we've been running containerised databases in production for few years now. Postgres, MySQL, Db2, Clickhouse. We are not alone: a survey conducted by the Data on Kubernetes community in September of 2021 found that, of the participating 500 users 90% believe [Kubernetes] is r... | 1 | 4 | 216 | 2021-12-02T15:30:52.983 | pipeline_ops | dba.stackexchange.com | |
215,341 | VMware networking - PortChannel or not? | My ESX hosts each have 8 NICS. I have set up 2 NICs for our iSCSI SAN - each is connected to a different SAN switch. 2 NICs are set up for vMotion and Service Console - these are each connected to a different core switch (ports are trunked with VLANs dedicated to vMotion and Management) I now have four ports left over.... | Duncan Epping knows his VMware networking quite well and the scenario he describes is particularly nasty but it's little bit unusual (four nics aggregated into two separate Etherchannel groups). His analysis is right though - VMware doesn't support link aggregation in the way that set up required. Port aggregation does... | 1 | 2 | 2,043 | 2010-12-22T16:11:08.517 | infrastructure | serverfault.com | |
1,129,131 | My location restriction to admin panel is not working in Nginx | My website is at [CODE] and I have a CMS Panel at [CODE] -> 301 -> [CODE] -> 302 [CODE] And I am trying to restrict the access to /administrator but this is not working - Can someone please help? [CODE] here are the logs [CODE] Here are error logs [CODE] | You don't need regular expressions here. Just the directory should do it [CODE] And you were missing a blank after [CODE] , which was most probably the actual problem. | -1 | 1 | 177 | 2023-04-20T04:01:49.643 | infrastructure | serverfault.com | |
32,164 | What's wrong with my deep NN of two hidden layers? | [CODE] Now it's 2 days trying to know what's wrong with my solution, I hope somebody can spot it, the purpose is to train a simple deep NN of two hidden NN, I have checked other's solutions and I still don't get what's wrong with my code (it's 4th problem 3rd assignment of Udacity deep learning online course) I am gett... | You didn't tell in your question what you tried when debugging, but I'll try to answer. Short answer: It looks to me you got to choose a lower learning rate since your loss is exploding after the first iteration. Explanation: You are using a standard [CODE] to perform optimization. Therefore, it's an non-adaptive learn... | 2 | 3 | 97 | 2018-05-25T14:31:46.797 | data_quality | datascience.stackexchange.com | |
66,767 | MySQL nested queries | I'm working on a project using a MySQL database and we'd like to combine a query which was previously made in several steps into one step. The queries are created in a Java-App using Hibernate. Goal The goal of the query (or queries up to now) is the following: Loading a subset of data from several different tables (ac... | I think this query does what you are asking. The sub select gets the counts for each id. I then joined it back to t1. The outer query gets the max for each id. I didn't put the WHERE clause since I don't know the criteria but you can easily add it. Here's a link to SQL Fiddle [CODE] | 2 | 1 | 367 | 2014-06-06T21:56:51.450 | database_errors | dba.stackexchange.com | |
1,068,166 | Google API key IP-based restriction when using private instances and Cloud NAT in GCP | I'm using a private VM instance in GCP along with Cloud NAT to allow internet access for this instance. Recently I've been trying to access the Google Places API service via this instance, using an API key. The recommended approach is to restrict the use of this API key by IP address in this scenario. Unfortunately I'm... | When establishing private connectivity to Google API services certain procedures have to be followed involving creating a route to restricted.googleapis.com. The relevant additional details which can be referred from the doc . Your observation is right that by enabling NAT leads to activate PGA even though it is not ac... | 0 | 0 | 1,195 | 2021-06-29T14:50:47.253 | infrastructure | serverfault.com | |
442,378 | .htaccess to block by file name possible? | I have a bunch of files that are secure_xxxxxx.php. Is there a way to use .htaccess to block access to all the secure_* php files based on IP? EDIT: I've tried but I get 500 errors [CODE] Don't see any errors in apache error logs either [CODE] Files seem to work fine. | You should be able to use the Files directive and mod_authz_host to achieve you goals. For example: [CODE] See the references below. http://httpd.apache.org/docs/current/mod/core.html#files http://httpd.apache.org/docs/current/howto/access.html Or using FilesMatch and the older ACL syntax: [CODE] This should only allow... | 3 | 3 | 2,977 | 2012-10-25T16:25:07.167 | api_errors | serverfault.com | |
1,005,877 | Cannot update apt https repositories via corporate proxy ("reading from proxy failed") on Debian 10 buster | Trying to run [CODE] against https repositories on a Debian 10 host which has an apt proxy configured. This example shows the output when trying to update from the grafana apt repository: [CODE] The above xxx.xxx.xxx.xxx is the IP address of the proxy. Details: The proxy inspects the https traffic and the corresponding... | It seems that the problem was the web proxy itself. After an upgrade, which fixed several SSL inspection issues, the problem went away. | 2 | 2 | 4,639 | 2020-03-06T14:39:11.717 | bi_errors | serverfault.com | |
995,066 | Google Compute Engine - Error on deployment | I think I might be missing something, but it won’t let me deploy with an SSD above 500gb {"ResourceType":"compute.v1.instance","ResourceErrorCode":"QUOTA_EXCEEDED","ResourceErrorMessage":"Quota 'SSD_TOTAL_GB' exceeded. Limit: 500.0 in region us-west2."} Am I doing something wrong, or should my boot disk not be that lar... | To check if your exceeding your generals quotas you can go to the IAM and Admin page and select quota. In your case, you are most likely exceeding the quota you have in that specific region to check that run the command below: gcloud compute regions describe us-west2 If you are exceeding your quota, for details on what... | 0 | 0 | 759 | 2019-12-10T16:47:37.683 | pipeline_ops | serverfault.com | |
193,854 | Cannot reset MySQL default root password after initial installation | I have installed mysql 5.7 on a Red Hat Enterprise Linux 5.5 server and when I tried to run following command after installation it is asking for a password for root@localhost. [CODE] I have never set a root password and I'm logged in to Linux as root user. Then I have found following documentation for resetting root p... | Restart the service without authentication Ubuntu/Debian [CODE] Other sysv If you're on a [CODE] Linux use this [CODE] Resetting Then you need to login as [CODE] [CODE] Then when logged in run [CODE] Difference between other guides There are a lot of "guides" on this, for clarity, Some guides use the older [CODE] synta... | 1 | 1 | 2,981 | 2017-12-22T09:42:54.323 | database_errors | dba.stackexchange.com | |
122,338 | Running Mathematica-5 remotely | I have Mathematica 5 - a powerful CAS. I have a cheap netbook (running Windows XP), wich not only is too slow to run mathmatica on, I doubt it has the harddrive space. I do however have remote access to a number of very powerful computers, (most of wich run variose Linuxes, but one of which is Windows Server 2008, thou... | In 2012, I made a script to solve this. It is now (in 2015) available on github It should make running Mathematica on the command-line pleasant and fine, over SSH. Should work on any Unix-like system. | 0 | 1 | 699 | 2010-03-14T12:52:50.833 | infrastructure | serverfault.com | |
1,148,415 | How can I monitor journald to invoke a program on a condition? | Before I reinvent the wheel and start scripting, is there a simple way (or existing tool) that can watch the systemd journal and take actions when certain log entries or conditions are detected? Examples: Send an email if an error was logged in the last twenty minutes or record the IP address of a failed login attempt ... | I assume you want to do this for multiple servers, because serverfault is about managing servers in a business environment. It might be a overkill for you, but I would recommend taking a look at log collection tool like graylog. You could also use journal-brief https://github.com/twaugh/journal-brief This can be run fr... | 0 | 0 | 124 | 2023-11-23T02:35:22.057 | database_errors | serverfault.com | |
256,761 | Python property best practices | Is there any situation where it makes sense to define a python property, where getting (not setting) it would raise an exception? I don't think this ever happens for fields in classes, hence the question. Or is always better in these cases to use a method instead? | I've created properties that raise exceptions in situations where I didn't want [CODE] to raise exceptions and/or I wanted to delay processing. [CODE] | 5 | 2 | 1,313 | 2014-09-19T17:57:58.963 | api_errors | softwareengineering.stackexchange.com | |
881,473 | Can't install PostgreSQL 9 server on Centos 6 | Can't install PostgreSQL server on Centos Machine. I simply added official repo with PostgreSQL [CODE] And then ran [CODE] Here is the error i am getting: [CODE] I have tried PostgreSQL 9.4, 9.5, 9.6 and they all have same error. Also other packages from this repo are installing without any problem Does anybody know wh... | Try downloading the package locally, then install. But pay attention to the version you are downloading. Quoted from https://www.postgresql.org/download/linux/redhat/ Distribution Version RHEL/CentOS/SL/OL 7 9.2 RHEL/CentOS/SL/OL 6 8.4 RHEL/CentOS/SL/OL 5 8.1 Sorry about the formatting for the above. It is the best I c... | 2 | 0 | 1,329 | 2017-11-02T09:35:49.823 | database_errors | serverfault.com | |
623,780 | Low latency TCP settings on Ubuntu | There is a server for measurements running on Ubuntu in my lab. And there is C program, which receives data through TCP connection and should as soon as possible send a reply. Configuration CPUs: 2 processors x 4 cores - Intel(R) Xeon(R) CPU E5345 @ 2.33GHz RAM: 12 GB NIC: Intel Corporation 80003ES2LAN Gigabit Ethernet... | Honestly, I wouldn't be using Ubuntu for this ... but there are options that can be applied to any Linux variant. You'll want to increate your network stack buffers: [CODE] If the application is writing to disk, maybe a scheduler/elevator change would be necessary (e.g. the [CODE] elevator). At the server level, you ca... | 14 | 13 | 40,239 | 2014-08-25T11:01:21.427 | infrastructure | serverfault.com | |
167,209 | Persuading management that refactoring code is a good idea | Possible Duplicate: Best supporting argument for refactoring Has anyone got any tips for persuading management that refactoring code is a good idea ? I was asked something like "After this refactoring, will I have a better product ? How does time spent on this benefit the company?" Or something along those lines. I can... | Don't bother. Rather than selling refactoring as a stand alone feature combine refactoring into your estimates for implementing fixes/ new features when it makes sense to do so, generally speaking the business need not and does not want to know exactly how you plan on implementing a feature, just that it gets done. | 0 | 3 | 251 | 2012-10-03T08:04:19.503 | data_quality | softwareengineering.stackexchange.com | |
177,909 | SQL Server 2014 compression and maximum row size | I need to create wide denormalized table with lot of decimal(26,8) columns (fewer than 1024 column limit, most of the columns would be null or zero). I know about 8060 bytes per row limitation, so i tried to create table with page compression. Code below creates table, inserts one row and queries row size. Row size is ... | The limit that you're running into has nothing to do with the data stored on the page. The calculation is done based on the data types of the columns. That's why you run into the error without any data in the table. Compression makes this limit worse. You can read about the technical details behind the overhead here . ... | 8 | 4 | 2,020 | 2017-07-03T21:53:21.870 | database_errors | dba.stackexchange.com | |
250,198 | Optimize complicated sql query by either changing query or indexing | I'm not great with SQL and I started working at a place and they have a query that is running slow. This SQL query is taking about 4 seconds to load and is coming from a table with about 160,000 rows. It's a MyISAM table and we're using MySQL. Here is the query: [CODE] [CODE] Here is the jobs table structure: [CODE] I'... | I dont have the reputation to add comments so I will take a stab at an answer. My experience is with MSSQL but I think it is transferable here. It seems like this query is doing a bunch of redundant checks. Do you get different results from this: [CODE] than you do from this?: [CODE] The check for customer and truck in... | 0 | 1 | 44 | 2019-10-03T15:06:25.557 | database_errors | dba.stackexchange.com | |
656,488 | IMAP TLS connection to Dovecot fails | Original title: IMAP connection to Dovecot fails only from Thunderbird I have set up Dovecot with SSL (TLS) on port 993. I can connect with Outlook, PHP SMTP and Android Mail, however Thunderbird doesn't connect. It says [CODE] . The Dovecot error log shows this: [CODE] I have disabled SSLv2 and SSLv3 in 10-ssl.conf: [... | First thing I would do would be to update the client . What is happening here is an attempted protocol downgrade. That is, the client is trying to downgrade from TLSv1 to SSLv3, or from any higher version of TLS to a lower version. (Exactly which is not clear from the logs, and would require more verbose OpenSSL debugg... | 5 | 10 | 34,404 | 2015-01-05T22:51:22.687 | infrastructure | serverfault.com | |
386,816 | How to model attribute dependency "inside one class" in UML class diagram? | I have the following "software reality in working code" (also no access to it): There is a class Class1 with different attributes AttributeA - sums up all "ordinary attributes" EnumType DataType AttributeValue It is realized that there are some objects John... of type Class1 , so they all have these 4 attributes. They ... | UML is built on a layered basis, where the MOF defines the classifiers in the UML metamodel and your UML model is an instance of the classifiers in the UML metamodel and your objects are instances of the classifiers in your UML model. Your 'EnumType' is acting as a type in the same layer as the instance it is controlli... | 1 | 1 | 3,640 | 2019-02-07T15:11:41.677 | api_errors | softwareengineering.stackexchange.com | |
723,246 | DNS resolution issues until Windows DNS service is restarted | I am managing a pair of Windows 2008 R2 Enterprise SP1 domain controllers with AD integrated DNS. We occasionally see member servers in the local domain intermittently fail to resolve an internet DNS name which the business requires use of (xmlgate.hpi.co.uk) Restarting the DNS service on our domain controller(s) will ... | After implementing various hotfixes from microsoft and testing each, the one which seemed to solve my problem was https://support.microsoft.com/en-us/kb/968372 Im not sure why changing the cache from 24 to 48 hours fixes resolution issues for a DNS record with a TTL of only an hour, but my issue has gone. Thanks for an... | 3 | 1 | 1,972 | 2015-09-18T10:12:54.327 | infrastructure | serverfault.com | |
502,828 | Adding tail behaviour where enter adds blank lines to less | I love [CODE] , which I can use to follow logs with the [CODE] flag (or the Shift F hotkey), search forwards and backwards, and generally move freely through the document. But there is one thing missing in [CODE] : usually I am at the end of the file, and I want to see new things happening. In [CODE] I would just hit e... | This isn't really [CODE] 's behavior -- it's the terminal. Tail is just sending a stream of output to stdout, which goes to your terminal, and you're inserting blank lines in the middle of that output by hitting enter. Tail itself isn't actually accepting input from you at all. You can type whatever else you want and t... | 9 | 6 | 1,109 | 2013-04-26T10:00:59.577 | infrastructure | serverfault.com | |
15,100 | Python not connecting to mongodb in docker container | I have a simple python script which fetches certain values from the mongodb database. The script works fine on my local machine(host machine) but when i containarized my aplication it doesnt work. Here is my docker file. [CODE] My python code [CODE] This code works fine on my local machine but not on the container. How... | Are you using dockerized Mongodb like this? https://hub.docker.com/_/mongo you must replace localhost in this line of code with mongodb container name: [CODE] | 1 | 1 | 4,208 | 2021-12-10T17:29:19.470 | api_errors | devops.stackexchange.com | |
14,470 | PostgreSQL: Trouble accessing another server's Data via NFS | Background: I'm working on a 2-node High Availability PostgreSQL database cluster for my company. The system has a master/standby setup where the standby takes over the duties of the master when the master fails and both have up-to-date data. Here is a previous question which describes the exact scenario I am trying to... | I figured out the issue. It was due to improperly shared NAS folder. I fixed it by using this entry in /etc/exports [CODE] to share. And if it interests anybody, I managed to get shared database running successfully. The only folder that needed to be common was the above folder. And both PostgreSQL Server instances nee... | 2 | 1 | 739 | 2012-03-06T13:54:04.180 | database_errors | dba.stackexchange.com | |
127,322 | Cisco asa 5505 locks up / unresponsive | We have a cisco asa 5505 that's new (in service for about 2 months) running 7.2(4) software. Every day around 10a it locks up for approx 10 minutes. We're monitoring it via snmp with stg, and snmp doesn't respond during that time. There's no output in the 'show crash' output. Internet connectivity is also dropped. Wond... | I would upgrade your ASA to the latest version 8.3(x) and see if that takes care of your lockups. Edited to add: You can safely move to the 8.0(x) version of the software without upgrading your memory. I believe that starting with 8.2(x) you'll have to actually upgrade the memory. You can research the readme's to see i... | 0 | 1 | 1,480 | 2010-03-29T15:14:23.577 | pipeline_ops | serverfault.com | |
624,232 | org.apache.catalina.session.ManagerBase- Start expire sessions StandardManager and End expire sessions StandardManager | I am just a beginner with tomcat and got stuck with following error while deploying a third party application. I have certainly start getting in tomcat (tomcat version is 7 on windows 2008 r2) logs lot following error and these are happening multiple times in second. Any idea why tomcat is behaving like it? The applica... | These are no erros. These are debugging messages they show correct and expected tomcat behavior and there is virtually nothing you should do about them. If you dont want to see them you need to change logging level in $TOMCAT_HOME/conf/logging.properties. Check this http://tomcat.apache.org/tomcat-7.0-doc/logging.html ... | 1 | 1 | 6,939 | 2014-08-26T20:31:53.633 | infrastructure | serverfault.com | |
1,024,454 | SpectreV1 Mitigation Performance profiling | I am trying to measure the system performance when spectreV1 mitigation is on. I am using stress-ng for that. So far I have tested the system with various stressors like cpu, qsort, str, matrix, tsearch, lsearch, sem, switch and mq. I am looking at bogo ops (real-time) values to compare the performance by first disabli... | Micro benchmarks do not reflect the performance of real things. Test with your actual workload. Load generator replaying production load on a test system, if you have such a thing. Install on test servers. Gradually roll out to production hosts, if you have more than one. Once you have chosen your mitigation level and ... | 0 | 0 | 48 | 2020-07-08T06:07:52.617 | infrastructure | serverfault.com | |
806,246 | Unable to Remove Container Network | Since I upgraded Docker on my computer to beta27, I have been unable to run Windows containers using the default network. I get the following message: [CODE] I have uninstalled/removed everything (Docker for Windows, Hyper-V, the Containers feature, and files left over in C:\ProgramData\Docker) and then reinstalled eve... | Try removing the NAT network using the following: [CODE] You can also try restarting HNS and docker [CODE] | 5 | 3 | 4,845 | 2016-09-30T04:46:26.640 | pipeline_ops | serverfault.com | |
404,684 | Alternating between Java streams and parallel streams at runtime | This is a question I constantly ask myself when designing a data intensive application: When is it appropriate to use [CODE] over [CODE] ? Would it make sense to use both? How do I quantify the metrics and conditions to intelligently decide which ones to use at runtime. From what I understand, [CODE] is a great facilit... | You can define a custom thread pool by implementing the ( Executor ) interface that increases or decreases the number of threads in the pool as needed. You can submit your parallelStream chain to it as shown here using a ForkJoinPool: I've created a working example which prints the threads that are doing the work: [COD... | 4 | 5 | 1,047 | 2020-02-04T14:37:54.197 | api_errors | softwareengineering.stackexchange.com | |
145,809 | Only allow certain processes to connect to MS SQL | I've lost the source code for a very old application that connects to a MS SQL-server for some SQL queries. Since the login is hard-coded in the application I can't change the username/password on the server. One day the password will probably be known to the users and we surely need to change it. But how? One idea is ... | You can't really do this, AFIAK. You could block the SQL ports with Windows Firewall so that only the machine running the application can connect to SQL, which you say is the SQL server itself. Of course, this breaks anything you have that connects using SQL that doesn't run on the SQL server. Are you saying that the u... | 0 | 1 | 86 | 2010-05-27T11:03:52.207 | database_errors | serverfault.com | |
1,080,612 | OpenLDAP : Confidentiality required for ldapmodify (ldapi://) | I'm asking your help beacause i'm stuck since 2 days about that. After i have setting up TLS and SSL on my OpenLDAP server, it works fine but i can not execute command anymore to edit the configuration. When i try to change the configuration with a command like this : [CODE] It return me an error like : [CODE] And when... | The default SSF value for LDAPI access is 71 which is below the default value of required minssf in attribute olcSaslSecProps . So instead of lowering the required SSF value you should set attribute olcLocalSSF to a higher value. To have the ldapi connection working, the olcLocalSSF have to be equal or higher than olcS... | 0 | 2 | 1,294 | 2021-10-15T09:01:33.233 | infrastructure | serverfault.com | |
257,574 | mod_rewrite interferes with $_SERVER['REQUEST_URI'] | I have an issue involving PHP and mod_rewrite. I am trying to load the page [CODE] . index.php [CODE] The var_dump gives out [CODE] and the page_id echoed is [CODE] . The problem is that I also get the following warning. PHP Warning: Cannot modify header information - headers already sent by (output started at PATH:6) ... | Seems a PHP error more than anything else. If there is ANY output from a script, you can NOT do a header() function anymore. So [CODE] Will fail, because you sent the number 1 back to the client already. So your var_dump sends some output, and this causes the header() function to fail. Remove the var_dump. | 1 | 0 | 1,204 | 2011-04-08T23:33:28.637 | infrastructure | serverfault.com | |
996,203 | How is outgoing email encrypted by S/MIME certificates? | After several hours of surfing the internet, I failed to find any comprehensive guide on how to encrypt the email between two users using the S/MIME certificate. In parallel with SSL certificates: the server sends the public key to the browser, the browser verifies its signature and encrypts with the public key the sha... | You are correct: Alice and Bob must share their respective public keys with each other. It’s not uncommon - for a very limited value of common - to share one’s public key in an attachment or in one’s mail signature. | 0 | 1 | 146 | 2019-12-19T17:03:46.837 | api_errors | serverfault.com | |
244,485 | Need passwordless rsync -- remote server doesn't allow ssh keyfiles | Possible Duplicate: rsync with script supplied password I have a process that makes several rsync calls to the same server because I have to copy several files locally into different directories remotely. The remote server does not accept ssh keyfiles for authentication. Is it possible to: automate the password phrase ... | Duplicate and answer found here: rsync with script supplied password | 0 | 0 | 317 | 2011-03-08T05:28:55.447 | data_quality | serverfault.com | |
941,910 | Enabled GPO for registry entries not showing up on server | Preface: I am a Linux admin. I don't really "get" (or like) Windows. I am in the process of remediating Windows 2016 servers with the CIS recommendations. It is mostly just creating a GPO set according to CIS specs, and applying it to the server(s) in question. I'm using Tenable's Nessus Audit Scanner to check the vali... | It sounds like you're applying User Configuration settings in a Group Policy Object (GPO) that's linked in a place where it applies only to Computer accounts. User Configuration will only be applied if the GPO is linked at or above the Organizational Unit (OU) or Container where the User account you're testing with is ... | 2 | 2 | 3,229 | 2018-11-27T23:02:24.690 | infrastructure | serverfault.com | |
121,217 | Sql server 2005 sp3 problem with Ghost Cleanup | The Ghost Cleanup process is killing my server. I have tried everything and nothing seems to work: Tried to run dbcc checkdb (didn't get any errors) Tried rebuild indexes tried to restart services and even the server Please any help to show me how can I get rid of this mess... thanks!!! | paul randal has written a few posts regarding the ghost process http://sqlskills.com/BLOGS/PAUL/search.aspx?q=ghost he also talks about turning it off http://sqlskills.com/BLOGS/PAUL/post/Turning-off-the-ghost-cleanup-task-for-a-performance-gain.aspx | 1 | 1 | 347 | 2010-03-10T18:11:02.867 | database_errors | serverfault.com | |
453,217 | query keepalived | *Note: I have trouble deciding what should go in serverfault and what should go in superuser, if some kindly admin decides this is in the wrong place please move it for me - many thanks. I am implementing a basic HA system with keepalived. I only want to be notified of the failover in the case of hardware failure. I do... | You could do it by disabling the email notification in keepalived and creating [CODE] and [CODE] scripts which will send emails when a servers gets promoted to a master, or if it has a fault. The [CODE] could touch a file to update its modified time when it does the "planned" switchover and the [CODE] and [CODE] script... | 1 | 0 | 351 | 2012-11-28T22:31:05.160 | database_errors | serverfault.com | |
788,771 | Are there any consequences of deleting the Full control permission on an user object for Administrators, Domain Admins groups? | I'm trying to create a user in AD which is undeletable, unmodifiable even by Administrators, Domain Admins. Is there any problem that might occur if I delete the Full control permission on the user object for Administrators, Domain Admins groups? I suppose, it would result that the user can only be edited by itself. | No, nothing unexpected will happen, since the system uses the [CODE] principal and you aren't planning to delete that. However, what you are planning to do won't stop an administrator from modifying or removing the object. Administrators always have the [CODE] privilege , which allows them to set the owner of any objec... | -1 | 1 | 141 | 2016-07-08T20:35:25.840 | infrastructure | serverfault.com | |
449,118 | CentOS 6.3 task blocked for more than 120 seconds | Recently have been getting Zabbix alerts about our mail system being unavailable, the uptime on the machine is 30+ days. I've been tracing the Zabbix logs and it looks like the communication between the Zabbix agent & server failed to respond in time which triggered the alert. To find out if it was a network issue, etc... | Found this post, not sure if it applies to you or not. http://blog.ronnyegner-consulting.de/2011/10/13/info-task-blocked-for-more-than-120-seconds/ How much CPU do you have? Looks like you have quite a bit of memory (24GB). If the blog post is correct then you system may not be able to dump memory from the cache fast e... | 1 | 2 | 12,241 | 2012-11-15T17:24:07.283 | infrastructure | serverfault.com | |
521,425 | exim4 is showing a TLS error on connection... (gnutls_handshake) | My exim server is showing the following error: TLS error on connection from xxxx.xxxx.xxxx. ([127.0.0.1]) [xxx.xxx.xxx.xxx] (gnutls_handshake): A TLS fatal alert has been received. I'm using the plain authentication and my settings are : [CODE] Looking forward to any help or pointers thanks in advance | If you are running an exim installation, the reason was GnuTLS here. Solution found at http://blog.josefsson.org/2009/04/16/cacert-and-gnutls/ . Type following commands [CODE] to have [CODE] available. [CODE] (starts a session with your mailserver) [CODE] [CODE] Press CTRL+d ( [CODE] ) Then you see something like [CODE... | 5 | 10 | 16,125 | 2013-07-07T16:53:33.383 | api_errors | serverfault.com | |
78,769 | \\my.domain.com\ not accessible in windows explorer | When i try accessing [CODE] , Windows Explorer suggests me i check my spelling, but when i try [CODE] , it works. Also, [CODE] and [CODE] resolve to the same ip addresses. What could possibly cause this? UPDATE: the machine i'm experiencing this on is a primary domain controller. [CODE] works properly on other members ... | My understanding is pretty vague, but AFAIK [CODE] type paths are sometimes resolved via broadcast query or WINS rather than DNS. I'm not sure how the two interact sometimes. Try running [CODE] on the command-line and see if it gives you a more informative error? Also, is [CODE] the Windows domain for the machine in qu... | 0 | 1 | 813 | 2009-10-27T17:09:36.637 | infrastructure | serverfault.com | |
131,470 | What is the standard way to deploy memcached? | I have two IIS servers and two MySQL servers. On all servers I have some available memory (More than a GB). What is the standard way to deploy memcached? Should I add a new server especially for memcached, or should I use my existing servers? If so, which servers? Thanks in advance | Whatever works. It's generally better to separate concerns, but it's also much more expensive to dedicate hardware. We run memcached on a bunch of machines that are used for other purposes, allocating 2 GB out of 8 GB available, and it all runs just fine. | 3 | 2 | 234 | 2010-04-10T11:29:55.623 | database_errors | serverfault.com | |
22,458 | How to securely enable file sharing over PPTP on Windows 2008 Server | I have set up a Windows SBS 2003 domain (LAN) and a stand-alone Windows 2008 Server (web server) at another location (workgroup). I established PPTP VPN connection (SBS dials web server) over which users from LAN should be able to access web server. On web server I enabled TCP/IPv4 and File and Printer sharing protocol... | While it's possible to do what you're trying to do strictly with RRAS and the Windows Firewall, it's going to be a fairly complex configuration, and will not be secure if not properly configured. You may find that operating system patches impact the functionality, as well. I don't know that I'd be very trusting that th... | 2 | 1 | 4,536 | 2009-06-09T10:08:16.730 | infrastructure | serverfault.com | |
25,679 | Is it worth to update to an x64 environment? | Situation We have 10 to 20 Tomcat web applications with hundreds of concurrent users per application on a server. Each Tomcat application connects using its own user to a database on Microsoft SQL Server 2008 R2 server. This database contains loads of Stored Procedures that are executed by the Tomcat application. The S... | Well, memory management will be much better in a 64bit platform. This is because all the memory is real memory and there's no concept of extended memory any more. This means that you can now have much more than 1 Gig of execution plans in memory at any one time. If you've got lots of stored procedures you are probably ... | 2 | 1 | 121 | 2012-10-09T13:26:40.190 | database_errors | dba.stackexchange.com | |
541,187 | sa account not working anymore on SQLServer2008 | I have been running SQLServer 2008 for some years now on my laptop. At a certain point I cannot login anymore with my sa account (mixed authentication turned on). I get the error message 233. This happened when I attempted to install a new application and the installation process aborted. When I login with another acco... | Try this: SA can be disable or enabled using following script. Make sure that you are logged in using windows authentication account. [CODE] If this doesn't work you can try logging in as a local admin and then re-enable the SA account. Restart the SQL for changes to take action. | 0 | 0 | 178 | 2013-09-24T06:04:06.870 | api_errors | serverfault.com | |
1,030,639 | How to redirect register output for failed hosts in ansible using assert or any ways | [CODE] I need only the failed hosts to be redirected using when condition but it is not working. Any different condition will help | It seems like you are trying to use facts that do not exist (I've checked in ansible 2.9.12). So my way of getting this to work would be: [CODE] Using shell module extensively is not recommended as Idempotence ( https://en.wikipedia.org/wiki/Idempotence ) is hard to achieve but for reporting purposes - why not :) . | 0 | 2 | 966 | 2020-08-18T15:50:18.113 | pipeline_ops | serverfault.com | |
1,104,185 | Some ports in my IP direct to unknown server | Backgrounds I have a dedicated server(which is a desktop) running in my office. It has static IP and was running for about 5 years now with out any network problems. However, after the office had a power outage for a day, I cannot no longer access my server with some ports. (Yes, the server IP did not change and the st... | I would first run [CODE] to see which process have running ports. Make a copy of that and save it kill the process which are malicious Also install clamav to run a virusscan. https://upcloud.com/resources/tutorials/scan-ubuntu-server-malware And use a firewall like iptables to only allow incoming ports you trust. For n... | 0 | 0 | 63 | 2022-06-27T05:17:33.427 | api_errors | serverfault.com | |
296,659 | Difference between rsop.msc results and gpresult /v group policy being applied | I have applied a GPO to a series of computers on a test network. It applies fine except on one Vista machine that is ignoring it. The only setting in the GPO is to set Allow Inbound Remote Administration = Enabled On the Vista system, I opened rsop.msc and looked in Computer Configuration -> Administrative Templates ->... | You need to run the gpresult with an account that has local admin rights from an elevated command prompt to see the computer settings in gpresult /v. | 2 | 2 | 9,461 | 2011-08-02T13:46:20.833 | infrastructure | serverfault.com | |
1,070,250 | Mount a HDD from a RAID to recover some data | I'm struggling to mount a HDD from a Synology DS214 RAID1 on my computer to backup some data from it. I can't mount directly because this HDD come from a raid [CODE] So i installed mdadm on my computer (Debian Buster) and --force assemblage [CODE] dmesg : [CODE] I tried : [CODE] and : [CODE] I'm not sure what to do now... | You need to specify that a device is missing with the [CODE] keyword. For example: [CODE] | 0 | 0 | 2,287 | 2021-07-21T21:28:25.430 | database_errors | serverfault.com | |
1,096,786 | Qmail bounce using spamassassin | I have a qmail / spamd / clamd server and it’s recently started bouncing emails with a code 553. Spamhaus is sayings it’s an open relay problem on their message to the user. Has anyone come across this problem and how to configure it for qmail as the Spamhaus only has solutions for postfix/ others. 550 5.7.350 Remote s... | Ended up removing the /usr/local/bin/rblsmtpd -b -rbl. line from the var/qmail/supervise/qmail-smtpd/run file | 0 | 1 | 106 | 2022-03-22T19:36:21.787 | infrastructure | serverfault.com | |
728,069 | Windows web server 2008 fatally crashing daily | I'm a bit of a newbie when it comes to server issues. So I apologise in advance if this is something simple. I have a 1and1 cloud server running windows web server 2008. Recently this has begun to fatally crash near enough daily. In order to get working I have had to restart the machine through the one and one control ... | If it's an application/software crash, you may see events in the [CODE] log. For operating system events (BSODs/bugchecks, ASRs) you will see events in the [CODE] log. For IIS (Internet Information Services) logs, see this link for details. To view all events with a level of [CODE] and above ( [CODE] ), look under [COD... | 1 | 1 | 221 | 2015-10-10T11:04:16.877 | infrastructure | serverfault.com | |
29,433 | How to write a good exception message | I'm currently doing a code review and one of the things I'm noticing are the number of exceptions where the exception message just seems to reiterate where the exception occurred. e.g. [CODE] All three items in this message I can work out from the rest of the exception. I know the class and method from the stack trace ... | I'll direct my answer more to what comes after an exception: what's it good for and how should software behave, what should your users do with the exception? A great technique I came across early in my career was to always report problems and errors in 3 parts: context, problem & solution. Using this dicipline changes ... | 118 | 87 | 33,254 | 2010-12-23T11:43:54.363 | api_errors | softwareengineering.stackexchange.com | |
481,774 | DegradedArray event on /dev/md1 | This morning I got this message: [CODE] Does it mean that 1 of the hard drives is not working anymore? How can I fix this problem? Should I ask the data center to replace the hard drive? Can I try to re-add the missing device? If yes, what command should I run and is it safe to re-add? I just don't want my server to go... | You can try to re-add the failed member to the mdadm array using the following commands: [CODE] If you got resource or device busy error, you can try the following: [CODE] If you tried them and got an error, please post the error message to get help. | 8 | 6 | 16,385 | 2013-02-23T09:34:16.667 | infrastructure | serverfault.com | |
532,675 | Which permissions/policies for IAM role to be used with CloudWatch monitoring script | With CloudWatch monitoring script (mon-put-instance-data.pl) it's possible to specify a IAM role name to provide AWS credentials (--aws-iam-role=VALUE). I'm creating a IAM role for this purpose (to run mon-put-instance-data.pl on an AWS instance), but which permissions / policies should I give to this role?? Thank you ... | The Amazon CloudWatch Monitoring Scripts for Linux are comprised of two Perl scripts, both using one Perl module - a short peek into the source reveals the following AWS API actions being used: [CODE] - DescribeTags [CODE] - GetMetricStatistics , ListMetrics [CODE] - PutMetricData With this information you can assemble... | 14 | 23 | 28,364 | 2013-08-21T16:01:37.333 | pipeline_ops | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.