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 |
|---|---|---|---|---|---|---|---|---|---|---|
186,217 | How do you deal with discovering bad and false code in your team? | Every year in january we process a big task with our system. While the performance during the task was above average the maintaince follow up is currently having a lot of trouble with jobs running too long and out of their respective time schedule. Therefore I am tasked with the optimization of those maintaince jobs an... | This will depend on your company culture and processes. But personally I wouldn't just fix it for a number of reasons. It may actually be correxct and my understanding might be wrong It may be the lesser of two evils, it might be wrong but may prevent some other part failing altogether It may not be worth the businesse... | 7 | 4 | 578 | 2013-02-07T09:35:51.483 | api_errors | softwareengineering.stackexchange.com | |
641,005 | MySQL: I omitted a space--what did I do? | I'm curious and learning...this is non-urgent On a production server running 19 databases I entered this typo [CODE] I soon enjoyed a solid 12 seconds of Shark-Eats-Quint-Grade elevated heart rate: [CODE] I've confirmed this typo as harmless** but now am curious how this yielded output rather than error. My SQL-Fu grow... | It's treating the whole string as the username and without a password the MySQL client is logging you in as anon. [CODE] | 0 | 5 | 120 | 2014-10-30T22:05:30.723 | database_errors | serverfault.com | |
404,721 | Delete folders with exclusions (case) | i found a VB script that uses FileSystemObject to delete every folder on a drive except ones i specify, my problem is that the FileSystemObject cannot see or enumerate folder with trailing / leading - period / space, but DIR command can , I trying to run a command to delete all folders on a drive (it's from winPE durin... | okay, instead of using the filesystemobject i decided to use simple DIR command in FOR loop, [CODE] here's what happens: DIR list all directories on \?\C:\ recursively and outputs a bare list pipe the output to findstr which exclude names found on that text file and then calls the delete command, the file exclusion.txt... | 1 | 1 | 785 | 2012-07-04T12:56:05.593 | pipeline_ops | serverfault.com | |
675,514 | Upgrade from t1.microto to 2.micro - AWS Free Usage Tier | I run my blog on a t1.micro available under aws free usage tier. I have been facing memory crunch due to only 600mb available ram. http://aws.amazon.com/free/ says that free tier provides t2.micro instances which have 1gb ram. I was wondering if its possible for me to upgrade to the same in free tier. | Yes, that should be no problem. Just stop your instance, and you can then change the instance type to t2.micro and start it again. For other instance types, you'd have to worry about losing data from your instance-store volumes, but t1.micro and t2.micro instances don't have any. However, you should note that its IP ad... | 0 | 1 | 905 | 2015-03-14T15:52:49.883 | infrastructure | serverfault.com | |
517,122 | Why are DNS lookups not respecting /etc/nsswitch.conf & /etc/host.conf? | I have an issue where hostnames are being looked up from DNS even though they are present in /etc/hosts. I have the following configured: /etc/host.conf: [CODE] /etc/nsswitch.conf: [CODE] /etc/resolv.conf: [CODE] The application running on the host makes some internal and external API requests. From tcpdump, I'm seeing... | We were able to resolve this by disabling ipv6. We disabled ipv6 by adding the following to /etc/modprobe.conf and rebooting. [CODE] After reboot, we no longer see DNS lookups for hosts listed in /etc/hosts. It's not clear to me exactly why this resolves the issue. | 5 | 3 | 12,715 | 2013-06-19T23:40:19.230 | infrastructure | serverfault.com | |
52,695 | Sharepoint Crawler is denied access to sites | We create all our site collections programatically with a custom site def/template. Everything works as expected, except for the crawler. It's apparently denied access to the sites. The crawl logs says: http://server.localnetwork.lan/somesites/siteName The object was not found. (The item was deleted because it was eith... | Answer on Stackoverflow | 0 | 1 | 2,019 | 2009-08-11T12:38:39.617 | infrastructure | serverfault.com | |
466,530 | No Internet access after successful failover? | I am using pfSense 2.0.2 and want to set up a failover between my normal WAN connection (GW_WAN) and a 3G surfstick (GW_OPT8). I put both in a gateway group called WAN_FAILOVER: [CODE] Trigger level is member down. Additionally I enabled "Allow default gateway switching" in System - Advanced - Miscellaneous. In the fir... | I meanwhile foudn the error: On Firewall: NAT: Outbound the manual rule creation was enabled (needed e.g. if one wants static ports, useful for VoIP). There I only had rules for the normal WAN interface, duplicating those rules and replacing the WAN interface with the failover interface made everything work :-) Also on... | 1 | 0 | 1,290 | 2013-01-12T21:11:39.723 | database_errors | serverfault.com | |
147,731 | Do large folder sizes slow down IO performance? | We have a Linux server process that writes a few thousand files to a directory, deletes the files, and then writes a few thousand more files to the same directory without deleting the directory. What I'm starting to see is that the process doing the writing is getting slower and slower. My question is this: The directo... | Yes, large directory sizes can be a problem. It's generally best to avoid them by hashing files into subdirectories. If that's not an option, there is an ext3 feature that can dramatically improve the lookup performance in large directories: [CODE] This enables b-tree hashes of directory index data, dramatically improv... | 6 | 9 | 6,128 | 2010-06-03T07:34:38.693 | pipeline_ops | serverfault.com | |
788,686 | Automatically linking Github repository to GCP repository fails | I'm trying to link a private Github source code repository to a Google Cloud Platform Source code repository, but whatever I do I get an error " [CODE] " and end up with the state " [CODE] ". Any suggestions how to fix this are welcome. EDIT: Seems like some backend system healed itself during the weekend. The same thi... | The original poster updated his thread with “Seems like some backend system healed itself during the weekend. The same thing works now” and so indicated that his issue was resolved. It is possible that this issue was linked to a backend inconsistency that is now fixed. Further information on how to connect a Cloud Sour... | 0 | 1 | 290 | 2016-07-08T13:53:14.607 | infrastructure | serverfault.com | |
220,184 | Setup a Reverse Proxy with Nginx and Apache on EC2 | Good Day, I am currently using the free Amazon EC2 micro instance to learn Linux and server setup. I wish to setup Nginx as a reverse web proxy. I found a great article on mediatemple on how to do it: http://wiki.mediatemple.net/w/Using_Nginx_as_a_Reverse_Web_Proxy The directions work for most any server except for EC2... | Your problem has nothing to do with Elastic IPs. The issue is that both Nginx and Apache can't both be listening on Port 80. The simple solution is to change the port that Apache listens on, to 81 or 8080 as examples, while allowing Nginx to listen on port 80 (because when someone types in your URL, you want the reques... | 1 | 3 | 4,185 | 2011-01-08T19:27:58.763 | database_errors | serverfault.com | |
131,716 | MySQL takes forever after running certain php scripts... optimization help? | When I run a couple scripts from the vBulletin software (like uninstalling a plugin) it takes forever. When monitoring the memory usage, it shows this => -/+ buffers/cache: 158 381 Swap: 255 10 245 It seems that MySQL is only using a certain amount and once it does it tries to use the swap instead? I have a 512MB slice... | Try this in your my.cnf : [CODE] | 0 | 1 | 113 | 2010-04-12T19:05:27.967 | pipeline_ops | serverfault.com | |
18,470 | php/mysql merge duplicate records in table and create a new table | please with respect to username and storetype, how can I merge rows to achieve Final table? storetype should be unique per username. There are thousands of usernames and records so php/mysql would help. thanks | Here is the pure MySQL solution [CODE] First here is your sample data from the question [CODE] Now, let's run the SQL I proposed [CODE] All you have to do is run these SQL commands with each mysqli function in PHP and you are all set. Give it a Try !!! | 2 | 2 | 3,551 | 2012-05-28T16:20:08.643 | data_quality | dba.stackexchange.com | |
39,408 | What are the 2 classes of categories to help define a problem | While studying about machine learning, I've learnt the importance of defining your problem before getting started trying to model it. I can see 2 types of problem categorification: Supervised / unsupervised / reinforcement algorithms Classification / clustering / regression / ranking Example definitions found on the ne... | I never saw a name for these categorifications. However, it seems to categorize by type how target variable exists or what is the type of target variable (in supervised and semi-supervised) or input variable (in unsupervised) [wrong] 2. I think in data mining we call "Reinforcement Algorithms" semi-supervised. I think ... | 1 | 1 | 174 | 2018-10-09T06:55:50.907 | data_quality | datascience.stackexchange.com | |
88,095 | Dynamic SQL within stored procedure | Will the below stored procedure be recompiled on every run, because of the dynamic SQL within it? Are there any serious performance hits with this method? [CODE] | It is better to avoid dynamic SQL if possible, is true. For a more detailed discussion, see this SO thread . However, to address specifically your question: the [CODE] statement would behave exactly as if a request from the client containing the script [CODE] was received by the server. If the plan is already in the ca... | 0 | 1 | 123 | 2009-11-25T06:42:25.600 | database_errors | serverfault.com | |
141,421 | Reset value each year with a trigger | I want to set up a trigger which will increment a value (based on previous record). But this will also reset the value if the year of [CODE] is different of the current year. ref ref_handler date_creation x_0001 0001 2016-06-16 00:00:00 y_0002 0002 2016-06-17 00:00:00 z_0001 0001 201 7 -01-01 00:00:00 PS : I also have ... | But the statement which extract the the year is failing I do not know why. Change the way it is assigning the the variables. Use SELECT...INTO. Below is an example, [CODE] This is not a perfect solution in that it creates the @dummy variable, but I can't comment so I just posted it. | 0 | 0 | 310 | 2016-06-16T13:03:41.050 | warehouse_errors | dba.stackexchange.com | |
179,568 | MySQL- if conditon fails (#1064 error) | I have the following query: [CODE] I am trying to find all users which have a lower salary than the next user (in the same table). The table has a simple structure: [CODE] This is the error I am getting at the moment: [CODE] What am I doing wrong here? | Please have a look at IF statement at MySql Docs IF search_condition THEN statement_list [ELSEIF search_condition THEN statement_list] ... [ELSE statement_list] END IF Or at IF() function : IF(expr1,expr2,expr3) [CODE] Your sentence should be something similar to: [CODE] | 0 | 1 | 25 | 2017-07-11T12:53:35.357 | database_errors | dba.stackexchange.com | |
332,305 | Delete records from table that are not in the file being inserted | I have a Snaplogic pipeline that queries a web application every night and loads the data into a SQL Server table. I use the 'Update' snap to add new records or add any changes. The goal is that the database should mirror the web application (with a one day lag). The Update seems to be working fine. The issue is, when ... | Or I could truncate the table in the database and rebuild it each day with the new data but as the data grows that's seems very inefficient. Those are the ways. "Trunc and load" is more efficient then "Stage and Merge" if you are "staging" all the rows that you want in the final table. | 0 | 0 | 29 | 2023-10-18T22:14:43.740 | database_errors | dba.stackexchange.com | |
144,652 | Is monkeypatching considered good programming practice? | I've been under impression, that monkeypatching is more in quick and dirty hack category, rather than standard, good programming practice. While I'd used from time to time to fix minor issues with 3rd party libs, I considered it temporary fix and I'd submit proper patch to the 3rd party project. However, I've seen this... | No, but sometimes monkeypatch is a lesser evil (than having broken code :)). My general rules for monkeypatches in ruby are: have a really good reason for monkey-patch (temporary critical hotfix is a good reason. Nice formatting of to_s method is not, unless you're working on ActiveSupport) make them as transparent as ... | 16 | 19 | 6,990 | 2012-04-16T09:34:04.050 | api_errors | softwareengineering.stackexchange.com | |
565,963 | Why can't I run wbadmin from a Ruby script | I can run wbadmin from the command line like this: [CODE] And it works (I get a proper help message, ellided here). However, when I try it in Ruby (as in this IRB session:) [CODE] I get the following error: [CODE] This is preventing me from ever running wbadmin like this. Any ideas why? | I would suspect that your Ruby binary is 32-bit. A 32-bit program "sees" the "C:\WINDOWS\SYSWOW64" directory as "C:\WINDOWS\SYSTEM32", and there's no [CODE] in "C:\WINDOWS\SYSWOW64". | 1 | 2 | 155 | 2014-01-08T21:13:53.690 | infrastructure | serverfault.com | |
72,208 | WinXP Event Viewer: Internet Explorer - how to log events? | I'm trying to debug a strange rendering/interaction issue with a web application in IE and thought I'd peek at the event viewer in Windows (XP) to see if anything odd was happening at the same time. I see categories for System , Security , Application etc. but I also see one for " Internet Explorer ", but there are no ... | What CodeByMoonlight provided will give you event viewer results for IE compatibility issues, but my understanding (I could be wrong) is that the full Application compatibility toolkit (ACT version 5.5) will provide you with more debug/test tools to find the issue. Might want to give it a try... there's some documentat... | 1 | 2 | 6,736 | 2009-10-07T15:57:00.347 | infrastructure | serverfault.com | |
280,157 | Clustered columnstore index on small tables | Clustered column store indexed tables in general are useful for large tables. Ideally with million of rows. And also useful with queries, which selects only the subset of available columns in such tables. What happens if we break these two "rules"/best practices? Like having a clustered column store indexed table which... | To @YunusUYANIK point for the potential downfalls of designing your schema catered to just one side, why not create both rowstore and columnstore indexes on your table catered appropriately to both scenarios? Sure you may end up indexing the same fields both ways, but the main drawback there would just be the increased... | 5 | 3 | 1,105 | 2020-11-23T11:21:28.320 | warehouse_errors | dba.stackexchange.com | |
644,186 | rdo juno openstack glance operations fail | glance operations are failing glance --debug image-delete and glance --debug image-create don't spew any errors they just hang indefinitely [CODE] There are no red flags in /var/log/glance/api.log There are no red flags in /var/log/glance/registry.log This is an all-in-one install Where else should I look? Specific com... | My /var was only 2G I re-installed with a 50G /var and so far I can create an image without problems. | 0 | 0 | 224 | 2014-11-13T20:17:59.403 | infrastructure | serverfault.com | |
225,000 | How do you reduce geographic latency in web application (MVC ASP.net) backed by a single database | I'm working on a modest sized web application that receives circa 30k unique users per day, this is an MVC C# application hosted on 3 web servers and backed by a single SQL server, everything is hosted in one data center. The issue is we are seeing dom complete times upto 3 times slower in some parts of the world. We h... | Yes, it does make sense. And you could do some more. The difficulty with lightweight HTTP calls is that unless the connection is kept open for the calls (not uncommon today), each call needs to reestablish the three way handshake for TCP, and renegotiate the bandwidth (starting from a low point). This can be improved u... | 2 | 2 | 824 | 2014-01-21T22:42:35.543 | database_errors | softwareengineering.stackexchange.com | |
665,850 | Dynamic Global Hostname and nsupdate do not send update to authoritative nameserver | I'm trying to do DDNS. I have two Apple products: an Airport Extreme and a Macbook Air, and I want to update my DDNS server via the "Dynamic Global Hostname" feature. I setup DDNS in the cloud (BIND), and via my local Ubuntu machine (nsupdate version is, apparently, "nsupdate: illegal option -- V", I can simply say: [C... | Yes, it appears to be related to this bug. https://kb.isc.org/article/AA-01220/0/nsupdate-in-BIND-9.9.6-9.10.0-and-9.10.1-fail-to-resolve-the-SOA-MNAME-in-some-cases.html Also, I think they key type must be HOST, not ZONE (the default for dnssec-keygen) or USER. | 1 | 0 | 1,729 | 2015-02-07T20:11:55.233 | infrastructure | serverfault.com | |
67,563 | Virtual machine hard drive size question | Original Question: If I am sharing a folder using VMware Fusion, that shared folder is 500 GB, can I create a samba share of that folder with a virtual machine that has a 10 GB HD. Or would the virtual machine max hard drive size need to be 500 GB. How would this work? Rephrase of Question: I am mounting a remote folde... | If I understand your question correctly you wish to use OSX file sharing to share a folder that also happens to be shared to a Fusion VM - is that right? if so then it's the size of the volume that the VM share is on that matters, it has nothing to do with whether there's a VM sharing it or not. If this is the case the... | 1 | 2 | 553 | 2009-09-22T03:21:08.703 | api_errors | serverfault.com | |
252,793 | Postfix very slow sending mail | How can I turn off the outgoing mails filtering only? My postfix server is very slow. Sending 1 mail/sec, and I think the problem is with the outgoing mail filter (amavis). Or is it possible the problem is something else? The DNS is good. | Check whether amavis is actually being run. I suspect your issue is on the remote end, and you can't turn off filtering at that end. Draining a queue at 1 mail/sec per thread is probably reasonable. Some of the things which may happen on the other end which will slow down your transfer rate include: DNS lookup of PTR r... | 1 | 1 | 4,169 | 2011-03-28T16:08:32.797 | infrastructure | serverfault.com | |
232,085 | Why am I getting ERROR: duplicate key value violates unique constraint "movies_pkey' | So, I'm creating a database for one of my classes using pg admin. I got all the data in no problem but my one issue is this one error that I don't really understand. [CODE] The above is the error I am getting. [CODE] And this is the database I created. Any help is much appreciated. | You cannot have duplicate keys on primary key column i.e movie_num=20 Change Movie [CODE] with [CODE] [CODE] | 1 | 1 | 8,918 | 2019-03-14T02:31:40.697 | data_quality | dba.stackexchange.com | |
996,715 | Can't SSH into AWS EC2 instance after Ubuntu sudo do-release-upgrade | TL;DR: Can't SSH to my EC2 instance after upgrading Ubuntu. I set up a EC2 instance with Bitnami Wordpress AMI. The image has Ubuntu 16.04 and I want Ubuntu 18.04 so I connected to the instance via SSH using PuTTY with ubuntu@ec2-{ip}.compute-1.amazonaws.com and once inside I did [CODE] During upgrade I was prompted to... | You need to stop the VM and attach its disk to another new temporary VM. Then check the logs ( [CODE] ). Fix the syntax error in [CODE] . Verify the sshd config with [CODE] . Detach the disk, then try to boot again the machine. | 3 | 1 | 1,611 | 2019-12-25T04:55:45.713 | api_errors | serverfault.com | |
332,717 | Install PHP on RedHat | I just ran [CODE] in the command prompt. Everything went fine ('complete!') as per the dialogue. I then uploaded a file that does not use short tags and is named with the proper extension (i.e., the name is test.php). [CODE] When I navigate my browser to test.php it just prints each of the characters shown above; i.e.,... | Try [CODE] This will load the php module for Apache. | 1 | 7 | 2,718 | 2011-11-19T15:28:03.903 | infrastructure | serverfault.com | |
14,098 | How to find element with dynamic names in selenium webdriver | My code: [CODE] Where [CODE] I'm using this to try to find the item: [CODE] The firebug xpath is showing like this : [CODE] and the firebug xpath changes: [CODE] How do I find this element by xpath Is there any other way to find this element | You can use 'contains' : [CODE] | 0 | 1 | 8,145 | 2015-08-03T09:28:21.183 | data_quality | sqa.stackexchange.com | |
880,290 | Export VM from ESXi embedded host client Failed - Network Error or network interruption | I'm trying to export a 60 GB VM from VMware ESXi to my computer via the ESXi embedded host client. Each time i try, it gets about 20 GB of [CODE] file downloaded (downloading ~1GB/min) and then it stops with [CODE] VMware ESXi v6.5.0 (build 4887370) ESXi embedded host client version 1.23.0 (build 6360286) The "Recent T... | It looks like this is a known issue . Based on the referenced thread, exporting large VM's via the embedded host client has some bugs and a reliable work around is to use the OVF Tool which is available for Windows, Linux (yeah!) and Mac. You can also connect to the ESXi Host via VMware Workstation and then select the ... | 3 | 3 | 29,182 | 2017-10-25T18:58:58.837 | infrastructure | serverfault.com | |
129,241 | Transactional Replication issues | I have a question, I am managing 2 SQL servers is Master Server (Publisher + Distributor) is Client Server (Subscriber) The client is basically owned by a client who is buying data from us. Both Servers are replicated with each other using Transactional-replication. Only selected Tables of a single database are replica... | First, you can set up Canary table and other detailed monitoring of transactional replication per Kendra Little'ss article Monitoring SQL Server Transactional Replication . Canary tables, the easiest step in the article, are described as: It’s easy to build your own system for tracking replication latency for each publ... | 2 | 1 | 2,578 | 2016-02-14T16:06:12.137 | database_errors | dba.stackexchange.com | |
306,067 | Where to type RequestHeader in apache? | I need to add to prevent attack: [CODE] Where I can add it? This is my htttp.conf, maybe another file? [CODE] Sorry, maybe I'm asking question without preparations, but I need to prevent attacks. | According to: http://httpd.apache.org/docs/current/mod/mod_headers.html#requestheader You can set this anywhere. If you are doing it to prevent attacks you probably want to make it global, so put it above your first: [CODE] declaration. | 2 | 2 | 15,554 | 2011-08-29T13:52:20.847 | infrastructure | serverfault.com | |
169,081 | Can spatial types be used to store the dimensions of 3-dimensional objects? | Money is made of dollars and cents, but stored as one field because dollars and cents are properties of the same value, not values themselves (you can use simple math to convert between the two). Weight is made up of pounds and ounces, but is also stored in a single column for the same reason. Likewise, it seems that x... | Can spatial types be used to store the dimensions of 3-dimensional objects? Yes, of course ST_MakePoint takes a Z cord (and even an M cord, hello time!) Money is made of dollars and cents, but stored as one field because dollars and cents are properties of the same value, not values themselves (you can use simple math ... | 5 | 4 | 100 | 2017-04-04T14:31:29.693 | warehouse_errors | dba.stackexchange.com | |
907,325 | How to reset the admin password for Observium | How can i reset the password for the user [CODE] with MySQL or a Observium script. [CODE] | Look like it MD5 (1) hash with salt (abcdefgh). [CODE] build new hash from plain password You can use it to update users table. You can try build Mysql-only solution based on https://stackoverflow.com/questions/5903702/md5-and-salt-in-mysql But salt must be cryptographic quality random for secyrity. UPD. Blackbox Hacki... | 2 | 3 | 14,730 | 2018-04-12T09:57:22.310 | database_errors | serverfault.com | |
810,342 | Put a server or two behind a proxy | A little background on why I'm asking this question. We've been recently getting DDoS and other attacks on our Direct Access servers, and when these attacks come in, it dramatically slows down the network connections on all the other servers in our network. We would like to try and put these two servers behind a proxy ... | You need to use nginx for this type of issues, not Squid. You may even get away with nginx sitting on the same box with your apache, depending on attack intensity and type of content you're serving. | 0 | 0 | 318 | 2016-10-20T21:12:17.353 | infrastructure | serverfault.com | |
431,268 | SVN : While committing files automatically unzips and missing several files | SVN Problem While committing files automatically unzips several files missing for large data (for than 15 MB) Environment For Server # Server SVN and client side CornerStone2 (MAC OS X) Edit : I want to commit zipped archives, which have to be unzipped and extracted files will appear in single commit | If question can be expanded into something like I want to commit zipped archives, which have to be unzipped and extracted files will appear in single commit answer will be "You can't do it - pre-commit hooks must not change content of transaction body" If you can agree on additional commit into repo (+1 to every you co... | 0 | 1 | 358 | 2012-09-24T05:35:32.697 | hadoop_errors | serverfault.com | |
125,021 | Trouble virtualizing application under Windows 7 | I'm trying to virtualize an application for Windows 7 but am running into trouble: Application will run fine in Windows 7 if installed in the base. When it is virtualized, it will run on XP, but not on Windows 7. I have tried this in three ways: Captured on XP with ThinApp 4.0 Captured on XP with ThinApp 4.5 Captured o... | If it virtualizes fine under Altiris (looks like Symantec bought these guys) but not under ThinApp , then why wouldn't the problem lie with ThinApp? Have you tried contacting their support? | 2 | 1 | 183 | 2010-03-22T16:39:49.350 | infrastructure | serverfault.com | |
947,273 | Exchange 2016 and Sever 2016 DCs: Unknown KDC Encryption type | Team, Exchange environment is all 2016, no mix. Parent and child domains exist, but the functional level of each domain and forest is 2012R2. All domain controllers have been 2012R2 until recently. The AD team (different from me) have introduced Server 2016 domain controllers and I think it has caused a problem. Here a... | It sounds like RC4 was an allowed Kerberos encryption type on the 2012 DCs, and your AD team introduced 2016 DCs with RC4 disabled. I say this with some confidence, because it is the recommended security setting on Server 2016. The goal is to remove RC4 from the environment, but not without first updating your mission ... | 4 | 1 | 2,614 | 2019-01-02T04:20:30.757 | api_errors | serverfault.com | |
181,715 | Creating Report Subscriptions on report that are using a Shared data source that uses Windows Integrated Security | We've recently deployed a new SSRS Server 2012, that can use Windows Integrated Security. We configured the servers to properly use Kerberos authentication and we solved the double hop issue. Now, all our reports are using Shared data sources that are configured to use Windows Integrated Security instead of storing an ... | Community wiki answer : You have two choices: Change the data sources to use a SQL login and password, then you can use the built in subscription method. Use a scheduled app to generate the report, and have that do the e-mailing. The scheduled app would need to run under an account with permissions into SQL/SSRS. I wou... | 3 | 1 | 750 | 2017-07-25T11:31:09.407 | api_errors | dba.stackexchange.com | |
315,697 | SSMS fails connecting to Oracle via Linked Server but UDL works | I need to connect to a remote server to consume some tables in an Oracle db so I installed the Oracle provider, V1021277-01, ODAC 21c. The way I am connecting is by creating a linked server Provider : Oracle Provider for OLE DB Product Name : Oracle Data Source : [ip-adress:port]/[instance-name] Then I get the followin... | I finally made this work. After trying different alternatives I found one (I didn't think about that before). This is only about to stop all the SQL Services, install the provider and then restart all the SQL services and that's all. Here the link https://stackoverflow.com/a/55422848/1762393 | 0 | 0 | 934 | 2022-08-16T22:12:05.847 | database_errors | dba.stackexchange.com | |
211,470 | Should We Code for Performance or Stability? | There is a point in time where you make design choices and debate them with management. In my case I have to debate my positions and design choices with senior management but it is frustrating that management only strives for performance while I think stability is a must while performance can be achieved later. E.g. We... | I guess all the good advices here on PSE to prefer maintainable code over fast code won't convince your management as long as both of you have only opinions, but no facts. So here is my advice how you might act in your specific situation. Having stored procedures making their own commits without the ability to control ... | 3 | 2 | 410 | 2013-09-14T05:04:04.103 | database_errors | softwareengineering.stackexchange.com | |
773,870 | NGINX / PHP-FPM + SSL very slow | My application is served on an Amazon EC2 t2.small instance. When using the ab command to test performance. ab -n 3000 -c 100 mydomain.com HTTP [CODE] HTTPS [CODE] The relevants parts of my nginx.conf: [CODE] and mydomain.conf [CODE] | My best guess is latency between the test site and the server is a significant factor. SSL requires many round trips to set up the SSL connection, and Apache Bench is fairly simple and I don't think it reuses connections. I suspect if you do the test from a spot instance in the same AZ the SSL stats will go up, just be... | 0 | 1 | 628 | 2016-04-29T15:11:18.247 | infrastructure | serverfault.com | |
770,260 | Jenkins Slave goes offline during the build | A Jenkins 1.651 master and slave have been installed on a Windows Server 2012. The slave is dedicated to run Selenium tests, but most of the time it goes offline: [CODE] and [CODE] slave logs: [CODE] What is causing this issue and how to solve it? | Similar issues https://issues.jenkins-ci.org/browse/JENKINS-27251 https://issues.jenkins-ci.org/browse/JENKINS-6817 https://issues.jenkins-ci.org/browse/JENKINS-28155 https://issues.jenkins-ci.org/browse/JENKINS-28826 https://issues.jenkins-ci.org/browse/JENKINS-22932 https://bugreports.qt.io/browse/QTQAINFRA-928 https... | 5 | 4 | 5,939 | 2016-04-14T09:18:13.360 | pipeline_ops | serverfault.com | |
329,124 | Secure Microsoft Active Directory DC to DC communications through firewall boundaries | We are currently looking to flatten our AD structure a bit to make things a bit more manageable, but we still want to keep our security posture as near as possible to where it is now. Currently, we have AD forest islands segregated by firewalls and none of the forests talk to each other, except for a few exceptions for... | I had a similar requirement in a project several years ago. The accepted solution was to put the DCs in the lower level zone in a sort of DMZ. We then restricted the ports used by active directory replication , set up an IPSEC policy for those ports and and other ports when talking to some predefined IP addresses of DC... | 2 | 1 | 694 | 2011-11-09T01:01:56.263 | database_errors | serverfault.com | |
270,355 | Permissions Error Creating New Folder on a Windows Share from Mac OSX | I have a user who has a MacBook Pro. He connects to a Windows share and is able to browse through directories, open/edit/create documents, etc... He has FULL permissions on these directories and can do everything EXCEPT create a new folder. If he goes to menu and then Create New Folder, he gets an error saying he doesn... | Can you explain how he connects to the share? Do you use the Go>Connect to server menu option, and enter the share path as smb://server/share? If you connect this way and get him to authenticate using his domain credentials this should work. I think you still need to do this even if you've bound his Mac to the domain a... | 0 | 0 | 258 | 2011-05-16T21:53:11.317 | infrastructure | serverfault.com | |
698,279 | postfix not relaying mail from remote hosts | I have the following postfix configuration: [CODE] And the following dovecot 10-auth.conf: [CODE] this is my mail log: [CODE] All I'm trying to do is enable plain text username/password authorization for SMTP. Any suggestions how to accomplish this? | Postfix is asking what to do when it receives email for not your domain. [CODE] That should work and it also keeps you from relaying mail for spammers. | 4 | 8 | 18,906 | 2015-06-11T12:41:46.853 | infrastructure | serverfault.com | |
89,959 | Windows 7 and UltraVNC | We are setting up an UltraVNC server on Windows 7. This box is to be controlled by a viewer from a device we have. The issue is that whenever we make a change, check something, change a password, check to use a new display driver, nothing sticks. We have tested this on Xp and all is fine. We are using the latest stable... | The config file or registry key that the settings are stored in may be protected against changes with the new OS' permission model. Try loading the VNC settings shortcut with 'Run as Administrator' option (right-click). The settings should now save. Failing this try editing the configuration file and reg manually: \HKE... | 0 | 1 | 3,050 | 2009-12-01T22:30:48.823 | infrastructure | serverfault.com | |
58,386 | Mysql select ends with 'killed' | Okay, I'm sure this will turn out to be something dumb, but then I'm a dumb n00b DBA. I've got a largish table, about 163 million rows and something like 44 GiB. After some experiments with mysqldump for backups, I attempted to build a tab-separated output using select in batch mode. I tried [CODE] and it terminates wi... | Okay, I thought that was a familiar message. That's from LINUX saying "process ran out of memory." Well, there's not a lot more to say. The mysql process itself runs out of memory and is terminated by the OS. I dn't have a good feel for the implementation, but it appears that it's trying something like pulling the whol... | 6 | 4 | 6,105 | 2014-02-06T18:01:57.677 | database_errors | dba.stackexchange.com | |
196,806 | postgres - sharing same pg_hba.conf between IPV4 system and IPV6 system | I am trying to package postgres from one machine to another. The source is windows 7 with IP V6 and target is windows XP with IPv4. Starting postgres on windows XP gives error [CODE] -- postgres - sharing same pg_hba.conf between IpV4 system and IpV6 system Here is how my pg_hba.conf looks like [CODE] Is there a way to... | This is probably not going to work without some installation routine that patches the pg_hba.conf file for the local situation. You could look for existing lines that initdb created in the initial file and just modify those, if necessary. initdb won't put in an IPv6 line if the system doesn't support IPv6. In PostgreSQ... | 0 | 3 | 3,403 | 2010-11-01T06:41:30.267 | infrastructure | serverfault.com | |
122,915 | Random numeric string as a primary key - security, performance, efficiency? | I'm building an app aimed to store lots of records (millions) and trying to find a best way to store records identifiers that is publicly accessible from the web (record URL). I'd like to get : Random, probably unique, unpredictable IDs that is reasonably short and possible to use in an URL, meaning UUID will not suit ... | Let me summarize your problem and answer it as I understand it. You want prevent external party going through every page of you site and saving information about your users. This is exactly what search engines do. Therefore your users should have an option to set their info as public/friends only/private. To control wh... | 0 | 1 | 2,564 | 2015-12-04T16:19:44.313 | database_errors | dba.stackexchange.com | |
36,408 | How to read this output from MySQL? | Query that is being ran: [CODE] Error that is being thrown: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '41721' for key 1 Where does [CODE] fall into? How do I read this? How do I check the 'key 1'? | Run this command : [CODE] This will give you a display of the SQL needed to create the table. It will also show you the indexes and constraints for that table. The first index ( [CODE] ) in that table must have a column called [CODE] . From the error message, you are being told that there exists a row in [CODE] that ha... | 2 | 2 | 65 | 2013-03-11T18:20:38.110 | data_quality | dba.stackexchange.com | |
571,018 | Fatal error when installing ESXi 5.5 | I am trying to install ESXi 5.5 to a computer that ESXi 5.1 is installed before. I am doing installation using the CD-Rom. After I select the boot options in the boot menu, installation starts. After a while, it stops and gives following error. Error loading /tools.t00 Fatal error: 10 (Out of resources) Can anyone know... | Follow these steps: Go to System BIOS (Press F2) PCI configuration > MMCFG Change the value from Auto to 2 GB Change the value of Memory Mapped IO above 4 G to Enabled Save and reboot the system Installation will complete These instructions were formerly posted here although that page seems to be gone now. | -1 | 1 | 3,525 | 2014-01-30T14:46:24.857 | infrastructure | serverfault.com | |
557,065 | Is there a way to force PostgreSQL to use the UTF-7 encoding for the connection? | I have a PostgreSQL database which uses an arcane text encoding, and I can't change that. Is there a way tostore text in UTF-7 transparently (for the informed client) so that the database engine doesn't complain that it cannot convert Unicode characters, but the client can still use any Unicode characters out there? I ... | You can use [CODE] , which tells the database to pass the bytes for text transparently without any validation or conversion. This is usually a terrible idea that leads to a horrid mix of incompatible and mismatched text encodings in a DB, with some apps inserting UTF-8, others latin-1, etc. It is an option if you need ... | 1 | 3 | 494 | 2013-11-24T08:49:33.740 | database_errors | serverfault.com | |
546,118 | How to get Mondorescue to work with LVM2 (CentOS 6.4) | I'm trying to make an emergency recovery disk with Mondorescue to: Restore my server in case of hardware (or severe software) failure. Make an "identical" server setup for debugging and staging. My original image was lost when my laptop died, during setting up this server. Then I had to do it again from scratch in a hu... | The two device paths you give are equivalent, as far as Linux is concerned; they always point to the correct LV. | 0 | 0 | 1,738 | 2013-10-15T13:11:16.263 | database_errors | serverfault.com | |
1,577 | Questions about Ansible connection to remote hosts | I want to ask some questions about working of Ansible. 1 - Which shell Ansible uses when logging to remote host ? https://askubuntu.com/questions/937354/track-logins-made-via-non-interactive-shells/937716?noredirect=1#comment1486867_937716 2 - If I have 10 tasks in a playbook, then ansible makes connection 10 times to ... | Can't answer 1 (I always thought it just uses the default /bin/sh unless specified otherwise?). It will make the connection more than 10 times. A single task will typically have an SCP or SFTP connection to copy the taskfile that'll get remotely executed, then another connection to trigger the script. You can monitor t... | 9 | 7 | 1,700 | 2017-07-21T15:38:58.643 | pipeline_ops | devops.stackexchange.com | |
121,921 | Is there any rationale for performing SMOTE-ENN before train-test-split? | I have created a classification model for predicting data, and the problem is that the two classes are highly imbalanced I have a problem. I have created a classification model for predicting data, and the problem is that the two classes are highly imbalanced. So, I dealt with it using the SMOTE+ENN technique. I applie... | You should not apply SMOTE-ENN before splitting. It has two big issues: Adding synthetic data in the test set will change the distribution of the data and the metrics you measure will not be representative of the true distribution. It will introduce a data leak . The fact that SMOTE-ENN will create data based on the en... | 0 | 1 | 178 | 2023-06-02T11:43:01.193 | data_quality | datascience.stackexchange.com | |
168,833 | Division In SQL | I am wanting to divide a int quantity by a number, but my output is not what I am after. This is my DDL [CODE] Now I have trired using the SQL Server functions [CODE] and [CODE] but I am not getting my desired output. This is the query I tried, what do I need to do in SQL Server to get an output of 2, 2, 1? [CODE] | Due 'qtyordered' is an integer, you need to either, CAST/CONVERT it to decimal, or use a decimal/float value. (3.0) [CODE] partid | qtyordered | First | Second | Third :----- | ---------: | :---- | :----- | ----: RR200 | 5 | 2 | 2 | 1 dbfiddle here According to MS DOCS, CEILING returns same type as the numeric expresio... | 2 | 6 | 872 | 2017-03-31T23:50:17.357 | database_errors | dba.stackexchange.com | |
295,369 | Git Bash Default Port 22 to 443 | How I can change my git bash default port 22 to 443.Why I want to change?Our local internet policy not allowed to use that port and I got my error of bad file with fatal error when I am cloning to a project.I heard that I can use putty.But I am not sure that I already tested with putty and I was not ok with it.I use Sm... | The port that you communicate on depends on how the Git server you are connecting to is configured. It will have to allow access over HTTPS. For configuring the server, you can take a look at the "HTTP/S" section in "Git on the Server" chapter in the Pro Git book for more information. When you clone the repository loca... | 1 | 1 | 6,244 | 2011-07-29T05:02:09.240 | infrastructure | serverfault.com | |
124,644 | ORA-01122: database file 1 failed verification check | I moved data file and database started fine but I did the following steps: [CODE] and now I'm unable to resolve this error. | The SCN in the data file is greater than the SCN in the control file or wrong control file is being used. Please use correct control file. If the the control fle is correct then do [CODE] . Steps: [CODE] it will ask you for archive logs, give the path of all archive logs which it needs until it gives you message, [CODE... | 1 | 1 | 24,409 | 2015-12-27T00:11:00.573 | warehouse_errors | dba.stackexchange.com | |
312,213 | Why is solr admin panel not showing? | I have downloaded solr from here and untar'd it. Then went to the example directory in [CODE] and ran this command [CODE] But when I open [CODE] it shows like this HTTP ERROR: 404 Problem accessing /solr/admin/. Reason: NOT_FOUND Powered by Jetty:// I'm using Ubuntu 11.04. Why this problem is coming? | Stop Solr Go to the directory where you run "java -jar start.jar" [CODE] [CODE] It seems that Jetty will use the [CODE] directory if it exists, otherwise it uses [CODE] | 5 | 4 | 15,473 | 2011-09-16T14:53:58.003 | api_errors | serverfault.com | |
1,056,295 | Apache ReverseProxy and external IP | I'm running an apache web server behind an apache reverse proxy. The problem that I have is that if I put in the backend server a php file containing [CODE] the answer I get is the internal ip (192.168.1.20) and not the external ip of the proxy. Any hints? | [CODE] is a field set by the php interpreter itself and is set to: The IP address of the server under which the current script is executing. Source: Link So, your php script assumes the public IP in that variable (which is wrong - that script needs to be modified, because many webservers do not listen to a public IP ad... | 0 | 0 | 397 | 2021-03-08T12:00:21.240 | infrastructure | serverfault.com | |
57,799 | Neural net only works for small datasets | I have a neural network that attempts to solve some regression problem. The network works fine when the dataset has a small number of training examples, lets say 20. It overfits of course, but the training loss decreases to 0 which is what I want right now. However, when I take my entire dataset, which has 5000 trainin... | It could mean, that your data is too complex to be learned by the model using a certain number of observations (what is number of features do you have?). On the plot training loss is almost zero for small dataset, but you should rely on the validation loss, not on training one. And validation loss is lower for bigger n... | 3 | 1 | 1,195 | 2019-08-19T12:03:06.250 | api_errors | datascience.stackexchange.com | |
115,520 | Should I reuse variables? | Should I reuse variables? I know that many best practices say you should not do it, however, later, when different developer is debugging the code and have 3 variables that look alike and the only difference is that they are created in different places in the code, he might be confused. Unit-testing is a great example ... | Your problem appears only when your methods are long and are doing multiple tasks in a sequence. This makes the code harder to understand (and thus maintain) per se. Reusing variables adds on top of this an extra element of risk, making the code even harder to follow and more error prone. IMO best practice is to use sh... | 62 | 133 | 32,863 | 2011-10-21T08:08:26.100 | api_errors | softwareengineering.stackexchange.com | |
541,619 | Postfix mail server taken over by spammers following update of environment despte countermeasures | Long configured, stable Postfix mail server on internal system with greylisting, a long list of restrictions and real-time black-listing, reachable through a gateway / firewall via forwarded port worked fine inbound and outbound following the upgrade of the firewall/gateway system and I moved on to other upgrade issues... | Dispte the fact that one interface's address is non-routing and another's is routing, the new firewalld puts BOTH in the public zone and masquerades both of them. The solution is to run ifconfig to discover which interface is which, and then plug the internal interface's name into the following commands where they pres... | 0 | 1 | 55 | 2013-09-25T17:04:21.023 | infrastructure | serverfault.com | |
1,041,055 | WMI Remote Monitoring getting The RPC Server is unavailable. Windows Server 2019 | I'm having trouble connecting to a remote machine via WMI. Getting the error message [CODE] I've ensured that the [CODE] service is turned on. I've opened all necessary ports in the firewall. I've turned off the firewall altogether to eliminate any possibility it's the firewall for testing. Both on Server & Client I've... | When you say you've changed the IP address to the public IP address, do you mean that you're trying to do this over the internet? If so, you'll need to configure the router that the server is ultimately connected to to forward TCP 135 to your server's internal IP address. Please note that opening up ports like this is ... | -1 | 0 | 1,313 | 2020-11-03T03:07:52.297 | pipeline_ops | serverfault.com | |
43,442 | Partitioned Views - Storage of Indexes | I have a single table that contains 4 billions rows that I plan on splitting up in to separate tables for each Quarter of the year. Then I want to create a partitioned view across all tables. At the moment I have one filegroup for data (where most of the data resides) and one filegroup for non-clustered Indexes (I have... | If you're going with traditional partitioned views with each table containing a different yearly quarter, then you have a few levels of separation here: Each Table Each Index on Each Table So in other words, say you have 10 tables that the partitioned view accesses, and you have a clustered index and a nonclustered ind... | 4 | 4 | 363 | 2013-05-30T14:13:43.453 | database_errors | dba.stackexchange.com | |
655,252 | An internal error has ocurred - MSTSC Crashes | In brief: I cannot Remote desktop a particular server - say "X" from "A" server, but with MSTSC /ADMIN switch I was able to RD "X" server. But the same "X" server can be RD'd from "B" server even without ADMIN Switch. All servers are 2012 R2 DataCenter I am getting this weird error - An internal error has occurred, whi... | With one of our terminal servers, we rebooted it each time this happened. Today, reboot did nothing so we unjoined & re-joined to the domain to fix the issue. | 1 | 1 | 42,967 | 2014-12-29T16:30:33.663 | infrastructure | serverfault.com | |
279,566 | batch insert causing blocking on other unrelated tables - LCK_M_IS | I've got a big batch insert going on every 30 secs I'm currently seeing lots of blocking going on when i run sp_whoisactive In the last 2 weeks we upgraded to sql server ent 2017 from 2016 (latest updates applied) I'm not sure if this is related or if the database is just busier now. From my batch i see this reported i... | sp_whoisactive is complaining about the deleting from [tblStagingTrackingData], but that is one of the last operations You haven't committed the transaction yet, and all exclusive locks (and if in Repeatable Read or Serializable all shared locks) are held until the end of the transaction. | 0 | 2 | 480 | 2020-11-12T09:49:58.073 | database_errors | dba.stackexchange.com | |
144,806 | Real-time Dataflow Programming | Background Recently, I have been fascinated about the possibilities of dataflow -based programming approaches - in particular, signal/event-based concepts as realized by functional reactive programming , Boost::Dataflow::Signals , and the like. Sample scenario: Consider a car that has four speed sensors, one at each of... | This is an old idea, that has popped up an unbelievable number of times over the last several decades. LabView (I think that's the name) is the best-known current version. I worked with one such system, called RIPPEN, from Orincon (as I recall), around 1998-1999. (Orincon was bought by Lockheed-Martin in 2003. The prod... | 6 | 2 | 2,245 | 2012-04-17T10:02:37.173 | airflow_errors | softwareengineering.stackexchange.com | |
724,214 | CIFS/SAMBA Mount still attempts before network is ready even with _netdev | The title gives a pretty good synopsis. I am running a debian derivative (osmc) on a raspberry pi 2 in this case. and am trying to mount a share. It mounts 100% a ok from the command line or just using [CODE] with the exact same [CODE] but on boot it does not come up, no matter what settings I tweak. The entry in [CODE... | Assuming you have an up-to-date version of osmc running, use the following options instead: x-systemd.automount,noauto This results in a systemd automount unit being created. See systemd.automount for more details. | 5 | 5 | 3,297 | 2015-09-23T07:36:48.600 | infrastructure | serverfault.com | |
121,696 | Where to look for clues as to why SQL Server become unresponsive/crashed? | Recently an SQLExpress instance suddenly become unresponsive/crashed whilst I was mid-dialog (SSMS transaction log backup), which froze with an hourglass and the dialog was unusable. No other applications or users on the network were able to access instance. I tried to restart using Services, but that didn't respond. E... | Only administrators may connect at this time. Sounds like the UI has issued [CODE] and then hung. This hasn't actually hung SQL Server, it has only prevented non-admin users from connecting. You could get around this by making your application use [CODE] - I'm kidding . Honestly, stop using the UI for log backups - it'... | 0 | 3 | 1,287 | 2015-11-20T15:53:14.970 | data_quality | dba.stackexchange.com | |
252,554 | Testing strategy for production environment | In an ideal world, dev/ops are working together as one team to release something onto production. However, there are organizations with limitations so that release engineers/teams are kept completely away from development/project teams. This not only added the communication pain for releases but also making the product... | Usually, tests are performed outside production servers for three reasons: Safety. If something goes wrong and all data from staging is accidentally removed, you don't care. If it happens in production, it's... let's say annoying . Performance. An extensive suite of tests can easily use 100% CPU on several servers for ... | 7 | 6 | 8,324 | 2014-08-06T22:21:09.537 | pipeline_ops | softwareengineering.stackexchange.com | |
515,006 | How to install Redis - executables missing after make | Trying to install Redis on Ubuntu 12.04.2 LTS. I ran the steps from the website: [CODE] And then: [CODE] But these last two commands result in this: [CODE] Am I missing something obvious here? [CODE] and [CODE] appear to work fine. | Type [CODE] and smile, because life is good. :-) | 0 | 4 | 7,401 | 2013-06-11T15:10:18.867 | database_errors | serverfault.com | |
788,732 | Wordpress Permalinks and regular php files | I have Wordpress installed in the root directory and configured properly using permalinks. Alongside the Wordpress blog, I have a full-fledged custom developed php application with several pages. I want to not show the .php extension for any of the custom pages, but I'm now getting 404 errors for all the custom php pag... | Method 1: https://stackoverflow.com/questions/4026021/remove-php-extension-with-htaccess Method 2: [CODE] | 1 | 0 | 140 | 2016-07-08T17:39:43.600 | infrastructure | serverfault.com | |
589,534 | Inaccessible_boot_device after installing KB2919355 on Server 2012R2 | I have a server 2012r2 machine that I just installed KB2919355 (the mega 800+MB patch recently released for Windows 8.1 and Server 2012). Server is a Dell Poweredge R715. Disks are 2x500GB SAS in RAID1 on an H200 controller. The server was working perfectly until the update - and I have the dell management tools instal... | You should open a case with [CODE] and [CODE] . It seems to have to do with [CODE] . I don't think there's anything we can do at this point | 8 | 2 | 28,329 | 2014-04-16T18:14:06.783 | api_errors | serverfault.com | |
771 | Is there any tangible difference between a unique clustered index and a clustered primary key? | I understand that there may be a difference in meaning or intent between the two, but are there any behavioral or performance differences between a clustered primary key and a clustered unique index? | One main difference is that the unique index can have a NULL value that is not allowed in the primary key. Clustered or not, this is the main difference between the practical implementation of a Primary Key versus a Unique Key. Oh, and the fact that a table can have one PK and many UK :-). These are both differences in... | 17 | 15 | 1,690 | 2011-01-21T17:51:17.997 | warehouse_errors | dba.stackexchange.com | |
267,878 | What policy should can I set to allow my incoming Exchange mail to to get to my Exchange Server? | I have a juniper ssg 5 as my firewall These are a couple of things I have tried: I used the wizard to create route based vpn I've tried creating multiple policies based on the different services that seem appropriate, starting with pop3,imap,ms-exchange and anything else that seemed close Almost everything that I try s... | There is a very big chance that your ISP or your firewall is blocking port 25. You should call your ISP and start with them and ask. If they confirm that it is open, you could also telnet into your servers IP address from an outside machine and test this as well. Then you will need to open the port, VPN settings should... | 0 | 2 | 894 | 2011-05-09T19:32:39.480 | infrastructure | serverfault.com | |
116,130 | Cannot connect to MySQL sever with MySQL Workbench | I am using MySQL 5.6.26 Community Server on a Mac OSX 10.10.4. The server is running, according to the preference pane utility. Also I can connect to the server using the command line tool with the common login: [CODE] However, using the same credentials in MySQL Workbench gives me this error: [CODE] I tested replacing... | When you specify [CODE] as the host to connect to, the mysql commandline client tries to connect using a local socket. To enforce a tcp connection you have to either set the host to [CODE] or use the [CODE] parameter. Your server is not configured to accept network connections so you have to switch to change your conne... | 2 | 2 | 19,126 | 2015-09-25T11:51:41.227 | database_errors | dba.stackexchange.com | |
521,270 | Debian error : edac mc0 internal error | I have a problem on last Debian Server. I have this error written every seconds on my screen : [CODE] edac-utils give that : [CODE] Nothing on Memtest. What's the problem? How to solve it? Thank you. | EDAC complaning about most(all?) memory banks while Memtest shows no errors at all most likely means, that your ECC RAM is OK, but was not initialized properly by the BIOS on boot. In order to initialize ECC bit - memory has to be written before it can be used. Usually it is done by BIOS, but with some motherboards (AS... | 2 | 3 | 7,535 | 2013-07-06T13:58:56.233 | infrastructure | serverfault.com | |
469,287 | how much memory does my ubuntu server have free? | I am new to linux server administration and I'm trying to figure out if i need a bigger machine. It appears that my machine (running apache2, php5, ubuntu) is using 80% of its memory when getting no traffic at all. [CODE] I'm not sure if i'm reading this right, but it seems ubuntu is using a lot of memory for caching, ... | Your machine has 100MB free and is using about 260MB for buffers and cache. There's no easy way to know how much of the memory it happens to be using for cache it "needs" or whether performance would be helped by having more memory. Excessive disk I/O is a good sign that more memory would help as it would allow a large... | 2 | 2 | 1,795 | 2013-01-15T14:54:25.163 | infrastructure | serverfault.com | |
184,415 | InnoDB memory/cpu use optimization for WordPress with MySQL | I'm not a DBA and need some help here... I have a high traffic WordPress site hosted in a EC2 instance. We are working in a new theme code that will have optimized queries, but right now I need to keep the legacy code with lots of slow queries like this (that are called 3 times in each page load): [CODE] These are the ... | Sounds like you need an index [CODE] This index is needed because the query has [CODE] and [CODE] with static values, while the [CODE] has a range that that is already ordered. As for CPU usage, please add this to my.cnf (Restart required) [CODE] See my post Possible to make MySQL use more than one core? and About sing... | 4 | 3 | 3,730 | 2017-08-26T13:57:28.580 | database_errors | dba.stackexchange.com | |
439,716 | Enable SSL with Jetty 8 | I received certificates from GoDaddy an I'm trying to enable SSL with Jetty but receive an error 107 SSL protocol error when connecting to [CODE] I generated the keystore using these commands : [CODE] and placed it in [CODE] And used the following configuration in [CODE] : [CODE] Am I missing something in jetty's confi... | I think the keystore aliases need to be the same when you're loading the .crt files back into your keystore file. I'm doing essentially the same thing you are using digicert certificates and here's the process I used to generate my .csr and incorporate the results back. Also I find the .p7b version of the certs easier ... | 3 | 3 | 3,651 | 2012-10-18T10:55:37.863 | infrastructure | serverfault.com | |
286,805 | The possibility to define a composite unique constraint for specific cases | I have two tables: [CODE] and [CODE] . User table: id email name 1 henk@example.com Henk 2 john@example.com John Address table: id user_id street is_default 1 1 Super cool street 1 2 1 Beautiful avenue 0 3 1 Some street 0 4 2 Damn cool street 0 5 2 Cool street 1 6 2 My street 0 The problem Image someone setting two def... | Add a foreign key column in the [CODE] table that references the primary key of the [CODE] table. Call it [CODE] . This enforces uniqueness because it can have only one value at a time for a given user. Then drop the [CODE] column in your [CODE] table because it risks disagreeing with the foreign key in the [CODE] tabl... | 0 | 1 | 30 | 2021-03-10T13:53:12.963 | database_errors | dba.stackexchange.com | |
129,477 | FTP from batch file | I'm trying to use a batch file to download a package off my FTP server. [CODE] The server is set to allow anonymous logins on username but when I run the script I get an error: 331 Password required for username If there is any other useful information let me know. -Alex | The trailing space where i was inserting into the textfile was screwing up the login I removed the spaces and it's letting me in. Thanks for the suggestions -Alex | 0 | 0 | 3,032 | 2010-04-05T18:28:48.147 | infrastructure | serverfault.com | |
130,090 | Is there any way to find the exact Query responsible for replication lag? | I've tried checking slowquery.log and binlog. Slow query log kind of helps but not all the time. Binlog entries are inaccurate. I used the following command to check binlog. [CODE] | [CODE] in the Slave's [CODE] . Also [CODE] . Turn on the slow log; wait a day; look in the slowlog. [CODE] or [CODE] will summarize the slowlog, putting the 'worst' query first. (From the Changelogs) ----- 2013-04-23 5.7.1 Milestone 11 & 2013-04-18 5.6.11 -- Bugs Fixed -- ----- The --log-slow-admin-statements ( http://... | 0 | 1 | 805 | 2016-02-22T18:42:55.167 | database_errors | dba.stackexchange.com | |
792,610 | https works on webmin but not on domain name | I got an issue with the https request, when it comes to the access webmin, is working fine even the certificates are working pretty good. when i try to access the domain using https is not working. I am using an Amazon Web Service. on Aws the i have the 443 open. When i [CODE] i got [CODE] Website : http://tituslucian.... | You can start troubleshooting with below. 1. At first, See if your domain is configured to listen on port 443 in apache configuration. Webmin is working with https properly, since it installs the necessary configurations itself. You have used [CODE] and i am not sure if that will work. 2. Add SSL certs and keys directi... | 0 | 0 | 621 | 2016-07-29T04:36:34.897 | infrastructure | serverfault.com | |
129,392 | Should web browsers include popular web framework libraries? | What reasons are there for web browsers to not have a library of popular web frameworks. For example if a web page included jQuery, why shouldn't the browser have it's own static version, which is separate from the normal cached items? I would imagine if most libraries were preloaded into a browsers cache, before any r... | Because within a month, the browser's built-in version of jQuery would be out-of-date, negating the whole reason for using a third party library in the first place. Within 6 months, developers would be wanting to use features in the latest release of jQuery that weren't in what was built-in to the browser, but they wou... | 7 | 24 | 514 | 2012-01-10T16:38:21.243 | api_errors | softwareengineering.stackexchange.com | |
87,510 | MySQL - Get Minimum Value, Data From Multiple Tables | Good evening all, first post on the DBA forums. I am having real issues working out how to accomplish a seemingly simple task within MySQL as a model for PHP code later on. I am not exactly a MySQL noob, but definitely not an expert either. :) Here's the scenario. There are 2 tables primarily involved here. The first (... | Assuming a [CODE] table, it would be a query similar to this: [CODE] | 2 | 2 | 2,041 | 2015-01-04T07:37:55.793 | database_errors | dba.stackexchange.com | |
1,153,155 | How do I stop my PC's `LongPathsEnabled` registry setting from being reset to zero? | I have enabled long file paths in Windows 11, by using regedit to set the [CODE] registry value to [CODE] , in [CODE] . This has worked fine for years, but last week the [CODE] setting has been repeatedly reset to [CODE] . Each time I set it to [CODE] , within a day or two it set to [CODE] . I have tried to fix this by... | If the registry key is changed, it must be done by some process or thread. I would suggest tracing the key with Process Monitor and see if you can find out what changes it. So before you can stop it you need to know what changes it. You could also use another tool from Sysinternals (now for years) and that's Sysmon, th... | 1 | 2 | 394 | 2024-02-08T10:15:38.767 | infrastructure | serverfault.com | |
371,007 | Which is best software design for heavy query based app | I am in charge of design an application (.NET) that has these features: It´s a desktop app (maybe in the future will be web-based) It´s functionality is to provide users analyzed data retrieved from database. It is done by performing heavy queries generating , graphs and grid-tables to show the information. Users analy... | For any kind of reporting you should create a data warehouse with cubes and like and query that rather than the underlying transactional databases. Often these data warehouses will come with their own reporting tools, it can often be best just to use those rather than develop a system on top of them. However, If you ne... | 1 | 1 | 266 | 2018-05-16T11:03:52.920 | database_errors | softwareengineering.stackexchange.com | |
910,473 | Overriding the DNS for a domain is not working | My clients' website is live at this moment, and I am migrating the website to my new Web Hosting Server. I already uploaded the site to the new server. Before changing the DNS, I am testing the site by modifying my hosts' file (windows local machine) to override the DNS for the domain. [CODE] Then after that, I visited... | Please explain "But trying to ping it online shows the IP of the old server." Try to put thedomain.com also in in hosts file, plus any other 3d used in your project (e.g. images.thdomain.com) addendum: If you use some sort of proxy the connection is made from your proxy and modifying your local host file is not relevan... | 0 | 0 | 224 | 2018-05-03T02:55:03.897 | infrastructure | serverfault.com | |
640,589 | httpd won't start with updated SSLCipherSuite (POODLE) | I'm trying to update SSL settings for a testing server running CentOs 6.4, but after updating the SSL cipher suites, apache won't start. Configuration file location: [CODE] . Restart command as root: [CODE] Originally (works): [CODE] Updated (doesn't work): [CODE] I enabled the httpd [CODE] to [CODE] , and below is wha... | SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:!LOW:!SSLv2:!SSLv3:!EXP Disabling SSLv2 and SSLv3 cipher suites effectively disables all cipher suites required for SSL 2.0, SSL 3.0, TLS 1.0 and TLS 1.1, because TLS 1.0 and TLS 1.1 did not define any new cipher suits. Since CentOS 6.4 includes only OpenSSL 1.0.0 which doe... | 1 | 4 | 2,108 | 2014-10-29T16:41:38.040 | infrastructure | serverfault.com | |
123,199 | Organizing large Javascript applications - The view layer | Today Javascript application of a relevant size become more and more common, and as the need arises, certain patterns are identified to manage the code complexity. I try to follow good advice, but I have some trouble in organizing the view layer of an application I am writing. While the other layers are nicely decouple... | I'm posting this as an answer instead of a comment, because it's somewhat big for a comment, even though it's not a true answer. As I said in my comment, component frameworks like ExtJS and Dojo solve this problem. They can serve as inspiration. I'm personally familiar with ExtJS, so I'll give some pointers on where to... | 1 | 2 | 908 | 2011-12-04T12:41:28.323 | pipeline_ops | softwareengineering.stackexchange.com | |
354,292 | Joomla cache_dir and other directories are not writable | I have a Fedora install running apache and Joomla. The http.conf is showing apache as the user and group that it is using. I have changed the owner of the folder structure using chown -R apache /mywebsitepath I have even gone so far as in my testing environment to do a chmod -R 777 on the directory to see if that would... | Figured it out - selinux was set to enabled. Changed to disabled | 0 | 1 | 427 | 2012-01-27T16:16:40.553 | infrastructure | serverfault.com | |
916,120 | How to tell Docker to store and run containers on an external drive | I am running Docker on Ubuntu Linux. I have a [CODE] that brings in a lot of data from elsewhere. I put the [CODE] on an external drive that I have mounted to the local filesystem (ext4). Then I ran the build from within that external drive filesystem. [CODE] I watched the drive usage as the container was building. All... | Several things helped me get this working. First, I was mounting the external filesystem in a home directory, which may have been causing some permissions issues. So I remounted the filesystem under [CODE] and updated permissions and ownership as follows: [CODE] Then I created the [CODE] file with these contents: [CODE... | 6 | 8 | 12,370 | 2018-06-11T15:22:03.400 | pipeline_ops | serverfault.com | |
1,085,763 | Unable to mount FS as a non root user | I have a nginx image that runs as non root (user is nginx UID 101 GID 101 )in kubernetes. This image also has [CODE] installed in it. As the image runs with [CODE] user, I would like this user to mount a GCS bucket. When I try this, it fails [CODE] I went through this documentation and tried the following but the same ... | Figured it out. The path that I want to mount my bucket on [CODE] needed to be owned by [CODE] user. It was previously owned by [CODE] . The moment I gave ownership to [CODE] it now successfully mounts. | 1 | 1 | 2,017 | 2021-12-08T20:12:42.093 | pipeline_ops | serverfault.com | |
741,281 | Wrong size listed in disk management | As you can see in the attached screenshot, the disk management reports an incorrect disk size. However, the disk properties window reports the correct disk size. As a result I cannot upgrade my Windows 2008 server because the windows installer complains that there is not enough disk space available. This Windows server... | Disk Quotas will show different amounts depending how and what is set. (As per comment) These can be disabled doing the following Run mmc.exe Add/remove Snap-in (Local computer policy). Go To Local computer policy > Computer configuration > Administrative templates > System > Disk quotas > Enable disk quotas > Set to D... | 1 | 1 | 1,078 | 2015-12-07T12:40:31.407 | infrastructure | serverfault.com | |
954,680 | How to recover Galera cluster node | I'm running a three node, multi-master Galera cluster under MariaDB. One of the nodes has crashed due to a hardware fault (node3) and for whatever reason this crashed one of the healthy nodes too (node2). So I'm left with one running node (node1) which at this point is the most advanced of the cluster. I am waiting for... | Solved. The crashed node was configured to use a different SST method to the donor node. It previously used Percona xtrabackup and through accident or stupidity the configs were out of date. | 0 | 1 | 7,146 | 2019-02-19T12:15:19.883 | database_errors | serverfault.com | |
876,760 | Read-only DC lost connection and client can't sign in | we have two site (office & factory). in factory site we have read-only Domain controller. connection of two sites is radio wireless and yesterday we lost connection because of storm. now users can't sign-in factory's clients. they see error about lost trust relationship. and repairing connection maybe last two days. if... | You could physically move server the read only DC is running on to other site, connect it to the the network there then demote it and re-promote it as a full DC and take it back to the other site. You should avoid running without a connection between the DC's for too long as it would eventually get tombstoned but as in... | 0 | 0 | 1,320 | 2017-10-04T06:43:05.097 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.