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 |
|---|---|---|---|---|---|---|---|---|---|---|
1,017,443 | How beneficial are self-healing filesystems for general usage? | I have recently looked into advanced filesystems (Btrfs, ZFS) for data redundancy and availability and got interested in the additional functionality they provide, especially their "self-healing" capabilities against data corruption. However, I think I need to take a step back and try to understand if this benefit outw... | Yes, a functional checksummed filesystem is a very good thing. However, the real motivation is not to be found into the mythical "bitrot" which, while does happen, is very rare. Rather, the main advantage is that such a filesystem provide and end-to-end data checksum , actively protecting you by erroneous disk behavior... | 34 | 36 | 12,617 | 2020-05-16T19:51:18.913 | database_errors | serverfault.com | |
745,449 | Cannot access network share from only one PC | It's a strange problem. I'm very confused. In my Test Lab, I have configured NetApp virtual storage appliance and configured shares. This NetApp appliance is connected to domain and any domain user can authenticate to access shares. Only only one server running windows server 2008 cannot access this appliance. However,... | This problem started because I previously added AllowInsecureGuestAuth DWORD entry into the registry and forgot about it. This Link made me check the registry. I removed AllowInsecureGuestAuth and made entries to the below parameters. The system can now successfully connect to storage. Screenshot below for current regi... | 1 | 0 | 645 | 2015-12-27T17:39:44.147 | infrastructure | serverfault.com | |
855,317 | BIND ICMP Port Unreachable responses | I'm experiencing random issues on a DNS resolver running BIND 9.8.2 (RHEL6) behind a loadbalancer. The loadbalancer is actively probing the server with a DNS query to find if it's alive, and every now and then it gets a "Connection refused" (ICMP) for port 53, which briefly makes the server unavailable for service in t... | [CODE] 105.88 datagrams received for every 1 UDP receive error is an extremely high ratio of DNS packet loss, and it indicates that you have a bottleneck in the software. If the receive queue associated with a UDP socket is full when the kernel tries to hand off the packet, the packet is lost and this counter will incr... | 3 | 2 | 2,712 | 2017-06-12T17:33:00.963 | api_errors | serverfault.com | |
35,589 | How to wait for JavaScript scroll action to finish in selenium? | I've come across an interesting problem while automating our web application using selenium webdriver. I'm waiting for page load and all the ajax call to finish but the application use JavaScript scrolling to scroll the page after page load. The problem is sometimes chrome driver miss the click since the page is scroll... | I did this many years ago in Java and JavaScript so it may be out-dated but I use to scroll to an element and then call a JavaScript function which I injected into the webpage to check if scrolling has stopped. AutomationJS below is the class used to inject the scrolling method first and the method scrollUntilElementIs... | 0 | 2 | 8,734 | 2018-09-11T18:26:38.283 | data_quality | sqa.stackexchange.com | |
289,767 | How, in Three Tier Architecture is Database Access Achieved | So I am attempting to make an application based on the architecture proposed by this image; (source: ibm.com ) [1] However, I am getting very confused with how data access is achieved between the data access layer which is on a seperate tier (from my understanding this means a seperate server/machine) to the database. ... | In an app like this the "tiers" are usually various parts of the same application. You could write it as multiple JARs packaged into a single deployment, but the different tiers are more about separating the different concerns in the code than putting physical distance between them. If you were to put the data access o... | 2 | 3 | 1,175 | 2015-07-15T00:19:50.013 | database_errors | softwareengineering.stackexchange.com | |
430,005 | Machine check events logged | In /var/log/messages, this error occurred: [CODE] Shortly there after, the entire server became unresponsive. This is in the log of the Dom0 for a Xen Server (running the latest version on Debian Squeeze). Can anyone shed some light on what this error means? Should I be ordering new hardware? Edit: Also, it seems to im... | For more information check logfile (this log file might be there or might not be, it depends how it is configured in /etc/mcelog/mcelog.conf) where should be detail description of the problem found. [CODE] or just run command [CODE] Mcelog is decoding kernel machine check log on x86 machines. From [CODE] : [CODE] You c... | 4 | 9 | 17,569 | 2012-09-19T19:43:16.637 | infrastructure | serverfault.com | |
983,806 | Debian preseed.cfg formatting | I'm trying to customise a user profile from preseed.cfg and some commands are working and some not. There is much conflicting snippets across the internet so googling actually does more harm than good. For example these work: [CODE] And these do not: [CODE] I've tried the latter with/without [CODE] , without specifying... | maybe my approach will help in such cases: [CODE] this way I can basically execute a common bash script without the hustle of taking preseed-specials into account. | 0 | 0 | 402 | 2019-09-11T11:22:21.337 | infrastructure | serverfault.com | |
17,237 | Why does behat call my context class twice? | When I want run my behat test like in this tutorial , I get an error message: [CODE] And I do not know why, because I wrote my [CODE] like at this page : [CODE] My file structure is like: [CODE] | Important: several problems occur because you copy and paste behat.yml from website to your behat.yml - there are sometimes whitespaces, that you can't see but will effect your behat system!!! You should re-write the [CODE] , the context mentioned in behat.yml is wrong. It should be as follow. [CODE] By default context... | 1 | 1 | 559 | 2016-02-24T09:49:00.137 | data_quality | sqa.stackexchange.com | |
39,231 | No Encapsulation in my project | It's been a long time that I am writing Test Automation scripts in Java, but I never had encapsulation in my code (code hiding). Creating Interface, Abstract Classes or Java beans were never part of my code and I never faced any issue without them. However, when I see the code of other Test Automation Developers I see ... | OOP concepts like encapsulation could make your life easier. Probably they help when multiple programmers work on the same code-base. If you are alone you might work in a single file, but as complexity and contributors grow it might make sense to apply good OOP principles. The term encapsulation is often used interchan... | 1 | 2 | 90 | 2019-05-17T20:08:09.487 | data_quality | sqa.stackexchange.com | |
95,695 | DB2 sorting by lowercase uppercase - problem | I'm struggling with DB2 - sorting by Polish letters with diacritics and uppercase/lowercase. When I created a database using: [CODE] Sorting by Polish letters works properly, however ascending sorting returns results ordered by lowercase as first aAbB... How I can change this setting to revert results to AaBb..? Is the... | You'd need to use the UCA (Unicode Collating Algorithm): the [CODE] value would be something like [CODE] for Polish and uppercase first. More info here. Note that you cannot change the collating setting of an existing database; you would have to create a new one with the required collation and move your data. | 2 | 1 | 876 | 2015-03-19T15:20:03.423 | warehouse_errors | dba.stackexchange.com | |
369,337 | Does using MEAN stack reduce the need for code and data structures compared to ASP.net with SQL? | I've been writing web applications for almost 10 years. The ASP.net stack has been my bread and butter and although it has a lot of great things about it, I honestly never chose ASP.net. It's just a matter of what my employers and clients wanted. Recently, I had the opportunity to prototype something I was working on t... | I'm not an expert in the MEAN stack either, but... I tend to think that what you describe for your ASP.NET workflow is typical of any well-architected system, not something happenstance to .NET. If working in the JS stack (most experience is in Node, Express, Angular, Electron, etc), one could put together a "streamlin... | 2 | 2 | 93 | 2018-04-13T19:28:37.197 | database_errors | softwareengineering.stackexchange.com | |
1,132,176 | Ngnix Reverse Proxy Setup SSL For Localhost In Docker | Using below docker compose.yml I am creating 2 containers and a reverse proxy container.. [CODE] And also inside [CODE] and used [CODE] for creating SSL cert & key. [CODE] Where I am proxying my VirtualHost requests to target container. Also in [CODE] file I have added below to resolve locally. Which works just fine...... | The containers are unable to reach Nginx because they are trying to connect to the localhost of their own network namespace, we could try the special DNS [CODE] which resolves to the internal IP address used by the host. Modify your [CODE] file so that instead of making requests to [CODE] or [CODE] , it should make req... | 2 | 2 | 1,373 | 2023-05-29T19:34:06.053 | api_errors | serverfault.com | |
1,097,868 | btrfs - failing disk generated checksum errors, disk replaced, errors remain | I had a pair of 3TB disks in a btrfs raid1 array. One of these disks started failing (smartd shows bad sectors), and so I bought a pair of new 8TB drives to replace both disks in the array. I replaced both with [CODE] , and ran a [CODE] afterwards - which fails on the following message: [CODE] Now, I've seen these mess... | I've made a few extra attempts to solve this and eventually only a clean filesystem reformat solved the issue. Once I transefered the data out of the disks I tried two dangerous commands - [CODE] and a [CODE] - neither of which did any harm but did not solve the issue. After reformatting, I transferred the data back on... | 1 | 1 | 1,751 | 2022-04-05T14:40:36.637 | database_errors | serverfault.com | |
923,648 | Nginx runs on .com/port but not on .com/ | I may need a little help here. I feel I am almost there but missed something in my setup. I can connect to my [CODE] to see my local node app running on server. To connect to .com directly I just need to use proxy_pass so I did [CODE] ; But it won't run. I have a nodejs app running on localhost:3000 on server. Below is... | Remove [CODE] from your [CODE] : [CODE] Then your [CODE] config file should get the requests. Also, I would only use [CODE] for a document root that should be used as a last resort when a request arrives for a domain that is not configured on your server. Use the actual domain name instead of [CODE] . | -1 | 1 | 67 | 2018-07-26T12:59:07.050 | api_errors | serverfault.com | |
1,120,155 | How to override Nginx response headers in PHP | I want to apply a default CSP header in nginx - basically a catch all. However, I also want to be able to override the CSP header via PHP in certain scripts. So far I've been unable to find a way to do this and the result is I get 2 headers - the first from PHP and the second from Nginx, with the last header taking pre... | The [CODE] directive will not generate a header if the value provided is an empty string. You can provide various values to the [CODE] statement by using a [CODE] block. See [CODE] directive documentation . The header returned by the PHP script is available as [CODE] . So the solution is to test the value returned by t... | 1 | 1 | 798 | 2023-01-13T09:19:32.863 | infrastructure | serverfault.com | |
244,000 | Troubles installing/starting Redis via Resque | Trying to complete instructions for Resque/Redis installation here: [CODE] Am stuck at where I'm trying to start up Redis via Resque at the following command: [CODE] Rerunning with --trace (showing only part of trace): [CODE] Not sure what is wrong here - by the way, when I did those instructions [CODE] I wasn't sure w... | When you install Redis and dtach using a custom prefix, you also need to pass that prefix when starting Redis. Otherwise, the Resque Rakefile will try to look for [CODE] in [CODE] (or so I believe). Alternatively, you can just download, install and run Redis yourself (see: this page ). | 1 | 0 | 940 | 2011-03-06T21:38:20.710 | database_errors | serverfault.com | |
1,117,309 | How to create RAID5 with existing data? EFDITED | Here is the original post There is very ancient post on this forum about adding / creating new RAID5 using EXISTING data on non RAID5 partition. I ASSUME the discussion was pertaining to HARDWARE RAID5. Can I add / create / build RAID5 partitions using SOFTWARE RAID5 using exiting data on one partition? I am familiar w... | First would like to repead the warning from Chopper3, reconsider creation of RAID5. And the procedure. From here you can see how to create RAID1 from single disk. Partition the second disk (w/o data) Create the RAID device Make file system Copy the data on the array Boot on the new disk (if this is boot disk) Add origi... | -1 | 1 | 365 | 2022-12-05T14:47:51.823 | warehouse_errors | serverfault.com | |
122,931 | Optimizing a MySQL "IN" query | I'm trying to optimize a MySQL table for a query of the form: [CODE] I've added an index to the table: [CODE] and verified that it was created, but when I analyze the query using [CODE] the type is still "ALL" (indicating that all rows are retrieved and searched). What am I doing wrong? Update: I've tried [CODE] . Type... | Since the query optimizer decided a full table scan was best, you might need a new query [CODE] This should force an indexed lookup per value followed by a merge of the query results UPDATE 2015-12-04 15:35 EDT Based on jkavalik's comment , I have a suggestion. Please run this [CODE] This will show which values will li... | 2 | 3 | 103 | 2015-12-04T19:35:24.663 | database_errors | dba.stackexchange.com | |
354,734 | How do I start a fresh apache error log? | I did something stupid about 1 million times in a PHP script so my apache error log is now 12 megs! Not exactly a good situation to be in for debugging. Under what conditions does the error.log get turned into error.log.1 and error.log.2.gz? Is there a linux command that will roll the logs over manually to get a fresh ... | Your logs are rotating because of log rotate tool You can rotate logs manually with this command. if you want to rotate your apache logs. logrotate /etc/logrotate.d/apache2 or (file_to_be_rotated) This tool help you to administration of systems that generate large numbers of log files. It allows automatic rotation, com... | 3 | 1 | 1,032 | 2012-01-28T18:27:34.677 | infrastructure | serverfault.com | |
111,217 | Postfix is rejecting some incoming emails ("Client host rejected: cannot find your hostname") | Our postfix sometimes rejects emails. I see this error in our postfix log (/var/log/mail.log): [CODE] Here is my postconf -n : [CODE] It doesn't occur often, but it could have serious consequences if we missed an important email. Do you see where this problem comes from? Is it a problem of configuration or a reverse DN... | This is caused by the reject_unknown_client instruction ( http://www.postfix.org/postconf.5.html#reject_unknown_client_hostname ) | 8 | 12 | 47,670 | 2010-02-09T17:40:30.780 | infrastructure | serverfault.com | |
317,488 | How to improve timeout value dynamically? | I'm working on an application where I want to keep a timeout value computed dynamically using a moving average of say 100 previous response times for service A. This [CODE] will be used as a timeout for network requests to service A. The problem here is, I want this timeout to improve with network characteristics- this... | With the moving average, you can't identify easily the quick variations. By construction, the curve of the moving average always flatten/smoothen the reality. It will react to change trends with a time shift. The longer the moving average span, the longer the shift. Here how your timeout based on moving average could e... | 3 | 2 | 1,387 | 2016-05-04T03:39:20.037 | api_errors | softwareengineering.stackexchange.com | |
54,920 | CNN Architecture for Multiple Instance Learning | I have a binary classification problem where I have a bag of documents (image files) that I need to classify - the bag that is, not the individual document. However, a bag can have a different number of documents and the combination of documents will determine the classification. E.g. [CODE] In Bag1, the presence of A,... | As I understand there is some information that needs to be present in order for the example to "pass". I have a few questions as well as a suggestion. First off do the information come in different forms? Meaning, different fonts, different kind of documents for the same information etc? Is the cnn mandatory? Any more ... | 0 | 0 | 565 | 2019-07-02T16:23:04.330 | data_quality | datascience.stackexchange.com | |
164,714 | Package 'Microsoft SQL Management Studio Package' failed to load | All of a sudden today, Sql Server Management Studio refuses to load and open. and got the error "Package 'Microsoft SQL Management Studio Package' failed to load".The configurations of the system are as follows: Windows Server 2008 and x64 Sql Server 2008 Since this is the production environment can any one please give... | Thanks for the suggestions.After windows updates the production machine has not been restarted for few days,rebooting the machine solved the problem. | 1 | 1 | 3,041 | 2010-07-28T06:28:14.443 | database_errors | serverfault.com | |
1,067,976 | NGINX - WORDPRESS - PHP-FPM: Query parameters (GET) not passing in subfolders | I have a wordpress site running with NGINX (and Php-fpm) with 4 virtualhosts, everything works fine, except if i want to pass a query string. Look, it works if i do: [CODE] But it doesn't if i try [CODE] Here is my /nginx/snippets/wordpress.conf: [CODE] I have tried with all types of the try_files variations; i don't k... | You have: either to rewrite your path to the root, for example with own location for [CODE] or using rewrite directive: [CODE] or don't use [CODE] to split path, just try to supply the captured script name from location pattern, for instance add other location or rewrite your location [CODE] like this: [CODE] | 0 | 0 | 785 | 2021-06-27T10:07:49.583 | infrastructure | serverfault.com | |
344,220 | apache error log file on shared hosting account | I have a shared hosting account with no SSH access (only cpanel & ftp) and I have trouble viewing error logs by apache. There is a error_log file in my home directory and I have a feeling that error logs used to go in that directory correctly when I first started working on server. Then I edited and deleted all content... | Try restarting syslog [CODE] | 0 | 0 | 1,137 | 2011-12-26T18:34:46.200 | infrastructure | serverfault.com | |
716,795 | inactive option not working for pam_lastlog.so | I'm trying to set up my system to lock out inactive users after 10 days. I'm using CentOS 6.x, and looking at RHEL manual, this is what I found: [CODE] So, this is my /etc/pam.d/login : [CODE] I log in through ssh as a user, and log out. After that I set up the time 1 year in the future, as root logged in on TTY1: [COD... | I even reboot the VM, but still, when it gets back, I'm able to log in as user through ssh. Apples and oranges. You're editing the [CODE] file, but you're performing tests against [CODE] . The sshd daemon calls the PAM library directly with a service name of [CODE] , thus the identically named file is used. In the even... | 1 | 0 | 1,946 | 2015-08-25T23:58:57.117 | infrastructure | serverfault.com | |
535,981 | Guaranteeing SSH access on a stressed server | I had an issue some time ago with a server in which Apache and Snort was occupying 100% of the processor, making the sshd unresponsive through remote access. I had to go physically to the server to log on a local TTY and then stop apache/snort. I'm wondering if there's a way of guaranteeing ssh connectivity on a situat... | Other than using an out-of-band method, there's no way to guarantee that SSH will be available on a fully loaded server. If your service is so loaded that it can't even serve a basic SSH terminal to you, then you have other problems. Yes, [CODE] and giving it a lower [CODE] value will improve the performance in heavy l... | 12 | 12 | 2,220 | 2013-09-03T17:25:08.463 | infrastructure | serverfault.com | |
681,029 | Opennms how to poll services that are listed as Not Monitored? | I'm runninng Opennms in a Docker.io container: https://registry.hub.docker.com/u/study/opennms/ [CODE] and [CODE] Works like a charm. user/pwd: admin/admin as default login. I've added a custom http detector through Home > Admin > Provisioning Requisitions > Edit Foreign Source Definition. The detector basically checks... | To enable polling (and thus monitor the service state) you actually have to edit the poller-configuration.xml and add an entry for the service you want to poll. I was pretty amazed to find that Opennms does not supply a UI for this rather crucial use case. | 1 | 1 | 4,057 | 2015-04-07T17:03:55.057 | pipeline_ops | serverfault.com | |
125,275 | Log Shipping SQL Server 2012 | I'm a developer at a small shop that doesn't have a DBA and i'm trying to get log shipping with sql server 2012 working. I'm trying to off load reporting from the transaction system to a new data warehouse and will use this db as a staging area. I ran the log shipping wizard and the primary backup and file copy jobs wo... | It just seems so fragile. Logshipping is tested and proved since sql server 2000 (and even older) days. Its not fragile. Look at the errors ... Last Restored File: \server\folder\db_201601050 60002 .trn, Logshipping is trying to restore Destination: '\server\folder\db_201601050 80001 .trn' This means you have a gap in ... | 9 | 10 | 1,054 | 2016-01-05T16:27:35.900 | warehouse_errors | dba.stackexchange.com | |
294,394 | Increasing file descriptor limit on Debian does not work! Help! | I am running Debian 6 and I am trying to increase the file descriptor limit but it does not want to work. This is what I have done: I edited [CODE] by adding [CODE] at the end and applied the changes using [CODE] . I then edited [CODE] and added the following lines: [CODE] and [CODE] . Now when I execute [CODE] and [CO... | [CODE] ? If it's not return [CODE] , run the following command: [CODE] logging out and in again to see it works. | 2 | 2 | 3,345 | 2011-07-27T00:36:57.070 | infrastructure | serverfault.com | |
95,155 | What should the output sizing be for a class that returns multiple image arrays for a dataloader | I have a custom image class (mainly borrowed from examples) that takes in an image of size 3x244x244 for use in a VGG model and returns augmented versions (rotations of 90,180,270 and an Hflip). Previously, I used this class to get one image and return that and the dataloader and everything worked as expected. When I t... | You are almost there. You just need to perform the batch inference correctly. So, while model inference you need to convert the list of images to a single tensor, as follows - [CODE] Your code might be creating a tensor of list of images, while the model expects tensor of tensors (tensor of image tensors). You need to ... | 1 | 0 | 44 | 2021-06-01T23:29:36.400 | data_quality | datascience.stackexchange.com | |
758,769 | Unable to create new host using Foreman API - missing finishing template | I'm hoping this belongs on server fault... I'm trying to create a host using the foreman API (using hammer, but POSTing the host payload gives me the same result). Each time, it complains that I'm lacking a finishing template. The error message from the API is this: No finish templates were found for this host, make su... | Just to come back to this, I ended up resolving the issue as a permissions problem. That said, the payload I posted will NOT create a host correctly because it's actually somewhat erroneous. However, the error I posted goes away if you call the API (or use hammer) using an administrator user. | 1 | 0 | 3,767 | 2016-02-21T17:26:38.907 | infrastructure | serverfault.com | |
9,527 | How to write a check constraint to disallow empty varchar fields? | On SQL Server not nullable varchar columns can hold empty strings. Under ORACLE they can't, because varchar2 treat '' as equivalent to NULL. If you design a database schema suitable for both RDBMS it seems to be a good idea to add to each not nullable varchar column on SQL Server a constraint which disallows empty stri... | To allow strings containing only spaces but disallow empty strings you can use [CODE] | 7 | 9 | 9,905 | 2011-12-21T15:25:03.553 | data_quality | dba.stackexchange.com | |
2,789 | How do I determine which Android devices to test on so that I get the best coverage? | Android platform is famous for it's saturation and variety. Even if I test my app on 6 different devices (low-end, high-end, gingerbread, honeycomb, ICS, small display, large display, vanilla android, HTC sense, etc), some device-specific bugs still seem to haunt my apps. Android Market says that there's rough 600 diff... | Welcome Habba, This is a variant of the problem that is faced by website developers everywhere. Ultimately it needs to be about where do you want to focus your time and efforts. Just like a website, or java client app, no program will run perfectly everywhere. This is the exact reason why Java was referred to as 'write... | 6 | 3 | 734 | 2012-03-09T13:22:00.013 | data_quality | sqa.stackexchange.com | |
824,969 | Large AWS Regional Data Transfer cost; ELB to blame? | Recently an AWS account I'm handling has seen a large increase in the Regional Data Transfer cost. Inspecting the usage / bill details reveals this is down to an increase in "ELB data" being processed and "Regional Data Transfer". All the instances are in the same availability zone, so the issue must be the load balanc... | Your suspicion is correct. If you communicate between instances using public or elastic IP address even in the same region you pay regional data transfer rates (0.01$ per GB in/out): Public and Elastic IP and Elastic Load Balancing Data Transfer $0.01 per GB in/out – If you choose to communicate using your Public or El... | 4 | 7 | 5,999 | 2017-01-08T19:36:11.960 | infrastructure | serverfault.com | |
201,607 | gui/tool to manage full-text in SQL Server 2008 express | so apparently SQL Server 2008 express doesn't let you graphically manage full-text and such. I was wondering if there is a tool/addon to do that. I came across this : http://fulltextmanager.codeplex.com/ However, I'm having a hard time getting it to work. It's complaining about path being null or something. (I was read... | Have you grabbed the free SQL Server Management Studio Express ? I couldn't really tell from your post but it certainly offers quite a few GUI means to accomplish tasks. | 0 | 0 | 129 | 2010-11-14T02:00:35.783 | database_errors | serverfault.com | |
213,339 | Excel file has disappeared from sharepoint document library | Two days ago an excel came up missing from a document library. This document library only had this file and nows it's gone. When I go to All Site Content->Document Librarys it shows that there is still one file in the library. Seems like there is something screwy. Is there anything I can do to get this item to reappear... | The file has probably been checked out by someone (particularly since the Doc library is set to force this), which in many circumstances hides the file from everyone else till the file is checked back in again. You can manage checked out files via the Document Library settings page - as an admin you can force the files... | 1 | 1 | 2,909 | 2010-12-16T15:34:58.983 | infrastructure | serverfault.com | |
747,526 | How do I set up squid reverse proxy to use https and http traffic? | I already have a squid reverse proxy working for two test sites. My two sites are www.test1.com and www.test2.com My current working config file looks like this /etc/squid3/squid.conf [CODE] As I said, this configuration works, but I wanted to add a couple of https sites. I did my best to follow the example here , but ... | From my research, it doesn't look like this is a simple config file problem. Squid has to be compiled using a [CODE] flag, and this appears to be fairly difficult with Debian based distros. It looks to me like squid is more ideal for RPM based distros. See here for more info. I'm going to mark this as an answer for now... | 1 | 0 | 1,460 | 2016-01-08T00:58:42.123 | infrastructure | serverfault.com | |
268,541 | Can't drop an empty database in mariadb | As the title says, I cannot drop an empty database. In PHPMyAdmin, the request says that it times out and from running it in bash it just goes on until I cancel it with [CODE] . Running [CODE] then [CODE] just displays [CODE] What can I do to fix this? Thank you in advance. | If I can remember correctly, I fixed it by setting the innodb_force_recovorey level or I just purged the mariadb package and restored from [CODE] files | 0 | 0 | 173 | 2020-06-05T00:20:52.280 | database_errors | dba.stackexchange.com | |
119,022 | Scenario/Method (idea) for transfering database from one server to another | The scenario is next. Every day on linux mysql server script copy from samba share wich is "/var/lib/mysql/db2223" to another backup server over network lets say windows server. Database has lets say 200 GB of data. One day linux mysql server get down and cannot be fixed. Method: Take another machine install on it linu... | If you are using InnoDB, the "backup" is useless . [CODE] is needed. And there are other issues. If you are using MyISAM, it will probably work. | 0 | 0 | 38 | 2015-10-23T18:02:30.840 | database_errors | dba.stackexchange.com | |
655,499 | web.config URL access and rewrite | I'm trying to clean up some URLs to a bunch of PDF files. Right now, you access a PDF by visiting the following: [CODE] But I want to clean this up by being able to access the same files using this URL: [CODE] I thought that I might be able to do the following: [CODE] But this is not working. Of course, the sample rule... | To match more than one specific URL, you need to use a regular expression and then reference the found string in the action: [CODE] Here I assume your filename consists only of letters, digits and underscores. I haven't tested this, but it should give you the idea how to solve this. | 0 | 0 | 1,130 | 2014-12-30T21:15:07.227 | infrastructure | serverfault.com | |
159,955 | nginx + php fcgi + high load = hang | I've got PHP working in fast-cgi configuration with nginx (0.7.65-2~bpo50+1), PHP 5.2.9, but I find that our busy website hangs when there is high load. The problem is immediately relieved by killing and restarting the php processes. I have 8 php worker processes, and 2 nginx workers. I understand this is quite a commo... | I found having less PHP instances, or at most as many PHP instances as nginx instances, improved stability dramatically. Unfortunately, and it pains me to say this, but after many months of running a high traffic website under this configuration, I found it better to redeploy it on EC2 running Apache + mod_php, which i... | 1 | 1 | 1,192 | 2010-07-13T14:42:36.277 | infrastructure | serverfault.com | |
821,556 | how to add static route to specific host | I'm currently using "strongSwan" ipsec VPN client on linux. I can connect to my VPN server, default route automatically set to 10.10.10.1. And I can access my local network by [CODE] [CODE] output: default via 192.168.7.1 dev ens33 proto static src 10.10.10.1 172.17.0.0/16 dev docker0 scope link 192.168.7.0/24 dev ens3... | [CODE] if necessary replace [CODE] with the correct IP address of your internet gateway router (if it is not [CODE] it might be [CODE] | 3 | 2 | 34,004 | 2016-12-19T11:41:02.000 | pipeline_ops | serverfault.com | |
347,281 | On a public wifi where are EAP messages (for the RADIUS AAA) actually created? | After doing quite a lot of research there's one part of providing public wifi I dont get: In what piece of software/hardware is the EAP packet created to send to my AAA server? I was only planning to have an access point and some type of gateway on the client side of the internet and then from the gateway a VPN connect... | They're created in the 802.1X supplicant (also known as an "EAP over LAN" or "EAPOL" client) software in your wireless client machines. Most APs just receive the EAP messages via 802.1X, take off the 802.1X wrapping and then wrap it up in RADIUS, and ship it off to the RADIUS server (and vice-versa). | 0 | 0 | 125 | 2011-12-31T18:18:34.613 | infrastructure | serverfault.com | |
626,352 | SQL Server 2005 global slowdown | Two days ago our production server suffered a massive slowdown where the primary symptom was that an extraordinarily high number of requests were suffering SQLTimeouts. I will quickly describe our setup, what I investigated, our workaround, and will then follow with my question. Our Setup A pair of servers host this br... | The problem eventually recurred the day after I posted this question. Running Paul S. Randal's query, I quickly found out a number of PAGELATCH_XX blocking waits going on, so with sp_who2 I was able to find the culprit databases and only restart the relevant client application pools from the web server as a much less h... | 3 | 0 | 45 | 2014-09-04T20:22:39.677 | database_errors | serverfault.com | |
1,064,960 | MYSQL restarts every 5-10 minutes | Server configurations is CentOS, RAM: 40GB, 16 Cores. We have even tried re-installing MYSQL Server. 5.7.34 - MySQL PHP version: 7.3.27 My mysql_error.log : [CODE] My /etc/my.cnf file: [CODE] | I suspect your max_allowed_packet and the presence of a large TEXT/BLOB field. I answered two questions in the past that involved mysql crashing because of the max_allowed_packet being too small. MySQL server has gone away obstructing import of large dumps InnoDB table SELECT returns ERROR 2006 (HY000): MySQL server ha... | 1 | 1 | 1,149 | 2021-05-28T10:25:28.767 | database_errors | serverfault.com | |
364,690 | solaris + vxprint + mirror for rootvol & rootdisk7vol not exist | I run the vxprint -g rootdg on my Solaris machine (HW- NETRA T2000) As we see here - rootvol & rootdisk7vol has missing lines (swapvol is OK) How to fix the rootvol & rootdisk7vol in order to bring the missing lines as we see then in swapvol ? [CODE] | I'm not entirely sure what you mean by "missing lines"? From the output provided it appears that you have multiple plesks for the swapvol volume, but only a single plesk for rootvol and rootdisk7vol. What exactly is not working? It is unclear what you are trying to achieve here. | 1 | 0 | 182 | 2012-02-28T22:09:43.643 | infrastructure | serverfault.com | |
227,122 | How to from IIS 32-Bit to 64-Bit Migration? | How can I transfer to IIS located on Windows Server 2003 64-Bit OS to IIS located on Windows Server 2003 32-Bit OS ? IIS good now working.But , When I query , that's gives me errors " Error:object reference not set to an instance of an object " etc. Thanks in advance. | That sounds more like an application problem, possibly with the data. It could also be that the application has pieces that were compiled for 64-bit which are not usable in the 32-bit environment. | 0 | 0 | 201 | 2011-01-26T14:47:23.700 | infrastructure | serverfault.com | |
6,757 | 32-bit versus 64-bit ODP.NET to Oracle connection | I seem to be having an issue connecting a 32-bit .NET application to a 64-bit server, without a full Oracle client. If I build a 64-bit application, using the 64-bit ODP.NET dll's or a 64-bit instant client, everything seems to work fine. But if I build a 32-bit ODP.NET application or use the 32-bit instant client, it ... | Did you control PATH Environment Variable to which comes first, 32 or 64. Which ever client is installed last, change PATH accordingly. I have encountered similar issue. Windows uses PATH environment variable to decide which dlls to load. I have two clients installed in my machine and used PATH variable to force which ... | 0 | 1 | 2,501 | 2011-10-12T18:41:04.867 | database_errors | dba.stackexchange.com | |
760,441 | Why is zfs/btrfs recommended for an lxd host? | Note that for maximum performance, it's recommended to have /var/lib/lxd on a btrfs filesystem or setup ZFS or LVM and configure LXD to use a ZFS pool or LVM VG. Source Why is that? I.e. How will those file systems (on the host) equate to better container performance? Is it computational performance, is it just reduced... | In addition to what @Sven said; ZFS, btrfs and LVM all provide copy-on-write clone/snapshot features. This makes it very cheap storage and time-wise to spin up new containers. With an image stored on regular ext2-4 filesystem, LXD will have to copy all the data itself, which takes more time and storage. | 2 | 3 | 4,252 | 2016-02-29T09:34:25.167 | pipeline_ops | serverfault.com | |
777,993 | Tunnel / Forward connections on server 1 to server 2 | I have now spent some time researching, but I haven't found a working solution to the following problem: I want to tunnel any requests on server 1, port x to server 2, port x. The port stays the same, I just want to tunnel any data being sent to server 1 on port x to server 2. The connection would look like this: Clien... | This is called Proxy(ing). Yes this is possible by enabling the forwarding module on server1 and then add the appropriate forwarding rules on your iptables. For example: *On server1: Enable Forwading: [CODE] Add forwarding Rules on Iptables [CODE] where: portX: The port you wish to forward server1_ip: Server ip which r... | 1 | 0 | 264 | 2016-05-20T12:27:15.133 | infrastructure | serverfault.com | |
403,550 | NFS mount mounted inside another NFS mount disappears randomly | I have quite an odd issue where my nested NFS mounts just disappear randomly from time to time. The fstab entries look somewhat like this: [CODE] The issue is that from time to time the "/home/bigdir" folder will be empty, even though mtab think that the share is still mounted. nfsstat et. al. do also think the share i... | You mentioned trying automount. Did you take the [CODE] entry out of autofs? I'm wondering if you left it in there by accident and automount is timing it out. I'm not sure how an entry in both fstab and autofs would play out (though I'd guess fstab would win and it would be treated as a static mount). Also, does [CODE]... | 9 | 1 | 4,360 | 2012-06-29T19:37:30.460 | infrastructure | serverfault.com | |
1,054,464 | Enabling AMP parameters in Nginx | I'm trying to enable AMP pages on my drupal website on a VPS running on CentOS 7 and nginx. Previous web server was Apache and I changed it to Nginx for better performance due to daily requests. Before switching to Nginx, the amp page structure was: domain.com/content/slug/ [CODE] after switching to Nginx, the link abo... | I found the problem. It was : [CODE] So I removed it and added [CODE] Hope it helps anyone with my problem. | 1 | 0 | 566 | 2021-02-21T06:39:01.117 | infrastructure | serverfault.com | |
474,004 | Exchange/IIS making Server 2012 unusable due to lack of resources | I currently have a VM running Windows Server 2012 DC, with 4GB of RAM and a dual core CPU. This machine has Active Directory running, so is also a DNS and DHCP server. The problem I have is thus: as soon as I install Exchange 2013, the machine is all but unusable. Everything grinds to a halt and rebooting takes forever... | Microsoft recommends a minimum of 8 GB of RAM for combined mailbox/CAS server. I wouldn't recommend less than that even on Exchange 2010, unless it were in a test environment (I use 4 GB for my 2010 test server). Like SQL Server, Exchange mailbox servers will appear to use all of the RAM you give it as the Store proces... | 1 | 3 | 2,171 | 2013-01-30T22:35:36.563 | infrastructure | serverfault.com | |
392,558 | Should we still create separate custom ApplicationExceptions? | Given that [CODE] is supported in [CODE] blocks, does it make sense to create a single [CODE] class, say, with an [CODE] property to differentiate "reasons" instead of creating a new exception type for each reason (it could have [CODE] , if multiple reasons are necessary/possible)? | There are three separate issues at play; and in order to answer your question, I need to address all three issues. Custom Application Exceptions should be for exceptional events, and not errors that are not exceptional events . Think of an invalid user input. Users getting input wrong is not exceptional; and shouldn't ... | 0 | 1 | 84 | 2019-05-29T15:35:18.287 | api_errors | softwareengineering.stackexchange.com | |
203,775 | SSMS 2017 Changing SSIS Package Version During Deployment | Steps taken, can be reproduced: Develop SSIS package in SSDT 2012, project deployment model. Deploy project to server A, SQL Server 2012. Package version internal.packages is 6. Deploy project from server A to server B, SQL Server 2012. Package version internal.packages is 8 on server B. If I deploy directly to both se... | I'm not surprised but haven't tested it myself. Project deployment model packages are deployed using ISDeploymentWizard.exe and there is a version associated to each version of SQL Server (and bit-edness). For example, one laptop here has VS 2013/2015 installed and SSDT for 2012/2014/2016 installed. If I look for that ... | 3 | 3 | 2,598 | 2018-04-12T15:40:22.483 | pipeline_ops | dba.stackexchange.com | |
438,823 | Moving Gitlab and Gitolite server to another machine | Now, I have gitlab and gitolite running on my ubuntu server. However, this server is too slow and my company wish to move the server to another machine. Are there any way to move gitlab and gitolite server( the whole files, users and setting) to another machine? Installing and creating all users and repositories again ... | I am constantly doing this by hourly crontab job for faster local deployment. (which creates an exact copy of the original server, serves as a read-only mirror, personally I call it a puppet machine). All you need to do is: backup/restore mysql data (tools: mysqldump / mysql copy all gitlab www to new machine (scp, rsy... | 4 | 6 | 4,986 | 2012-10-16T07:43:14.253 | infrastructure | serverfault.com | |
976,705 | NOQUEUE: reject: RCPT from 451 4.3.5 Server configuration | Unfortunately after some changes on master.cf and main.cf in postfix I'm getting these errors when I try to send out a e-mail. [CODE] this is my master.cf [CODE] main.cf [CODE] EDIT [CODE] | In order to fix the errors I've been having I've made the following changes to master.cf [CODE] and main.cf [CODE] Hope this helps someone... | 0 | 0 | 4,996 | 2019-07-25T15:57:18.383 | infrastructure | serverfault.com | |
1,046,377 | Run xterm script from /etc/profile leads to "cannot load font" | I want to auto-start a shell script and therefore I added this line to my [CODE] : [CODE] the script itself starts a xterm shell command and output following error during autostart: [CODE] => if I manually start the xterm script I have no problems How can I solve this issue? | Added the script to [CODE] solved the problem for me. No User change is needed. (Thanks to @user2965433) So just append: [CODE] to [CODE] of the desired user. | 0 | 0 | 280 | 2020-12-16T08:46:26.430 | infrastructure | serverfault.com | |
775,119 | redirect EC2 nginx to different domain | I have a website mysubdomain.mydomain.com that needs to be redirected to myotherdomain.com/coming-soon The application, which has existing users, needs to be redirected to another site on a completely different domain. My EC2 machine is using nginx. I've tried modifying the [CODE] file by adding [CODE] I've also tried ... | Credit to @gf_ for helping get the answer. I needed to edit the server block in [CODE] file instead of adding in another server block to [CODE] . I just modified the server in that file to do the redirect and all is well. | 1 | 1 | 1,212 | 2016-05-05T20:17:39.343 | database_errors | serverfault.com | |
78,037 | Windows Updates installation fails - has never happened before | I am running W2K3, have Windows auto update enabled and things have been running smoothly for a long time, but the last time I have OK'ed to install downloaded updates all of them have failed. Any ideas what to do? | Have a look at the WindowsUpdate.log in your Windows directory. That will tell you exactly what is going on and should provide some more info on where to look next e.g. errors. | 0 | 1 | 114 | 2009-10-25T04:24:04.343 | infrastructure | serverfault.com | |
597,779 | Mount /usr on different partition | I want to mount /usr directory on different partition and keep the same owner on all files and subdirectories in /usr directory. I want to mention that this issue is for linux ec2 machine where I can't enter to the single-user runlevel. Is it possible? | Yes, this is almost certainly possible. Mount the new partition somewhere in your filesystem. [CODE] Copy the contents of your current /usr to the new partition. [CODE] Unmount the new partition. [CODE] Update your /etc/fstab to reflect the changes. [CODE] Mount the new partition. [CODE] | 2 | 6 | 11,949 | 2014-05-22T12:13:53.853 | infrastructure | serverfault.com | |
134,072 | Find all stats that were sampled | I am using Ola's scripts for stats updates and for one particular index I want to do full scans when updating stats (to solve for the Ascending Key problem in conjunction with trace flag 2389). We have thousands of identical databases (this is how our vendor software works) and I'd like to make sure that all stats for ... | You can see how many rows were sampled (among other things) by using the [CODE] DMF: [CODE] You can add some math to do the comparison for rows_sampled vs rows. Given that there will be data movement in the table after you update stats, I wouldn't expect this to be 100%, but you can assume that if a full scan was done,... | 0 | 2 | 123 | 2016-04-01T12:09:34.087 | warehouse_errors | dba.stackexchange.com | |
394,031 | Only one domain is not resolving via Windows DNS server at multiple locations, but is at others | I'm having quite a weird issue. Had mail delivery issues to a specific domain. After looking closer, I realized that the DNS for that domain isn't resolving via the in-house Windows 2003 SP2 DNS server. [CODE] (DC.DOMAIN.com and 10.1.1.1 are generic values to replace the actual ones) Even if I run this nslookup from th... | Ok, sorry to send you all on a goose chase. Ran a few more Wireshark sessions and realized that the ns.webhostingstar.com and ns2.webhostingstar.com weren't sending any replies whatsoever. So I forced our DNS server to go out a different internet connection of ours and it worked. From what I can tell, the nameserver is... | 3 | 3 | 7,073 | 2012-05-30T16:12:00.560 | infrastructure | serverfault.com | |
89,775 | What should be the structure for a person-to-person store database | I am going to create a person-to-person store with Laravel , a website whose users can share and sell their product or their mobile, TV, Computer, Shoes, Shirts, Books ,Cars, Bags, Animal etc. I am going to create a table named [CODE] . Other tables about product are, for example, [CODE] , [CODE] , [CODE] , [CODE] , [C... | There could be many way possible to store data for such scenario, as with your design attempt it seems that you are looking to have unique Id to identify each product and if that is the case the you are right with having a [CODE] table and make that [CODE] an auto increment key. Now the next thing to make sure that wha... | 0 | 0 | 61 | 2015-01-21T07:00:28.333 | warehouse_errors | dba.stackexchange.com | |
699,031 | How to establish new connection through proxy using Squid in Python script? | I am new to networking and proxy. For a project I need to give a proxy connection. I already have a connection and I want change the connection behavior of the process to connect through that proxy. I would also like it to use a new IP in the event that it detects that it has been throttled. The new connection process ... | Try this piece of code [CODE] | 2 | 2 | 1,813 | 2015-06-15T07:31:15.740 | infrastructure | serverfault.com | |
713,896 | How to use Windows netsh firewall command to allow only specific ipaddress on all port and deny all other ipaddress? | I require a configuration of firewall which will allow me connection through only specific ip-address say 10.0.0.1 on all port ranging from 0-5555 and deny all other ip-addresses? What will be the syntax of netsh firewall command to generate this type of rule on Windows 2008R2 machine? | You can use these commands: [CODE] [CODE] | 3 | 1 | 7,883 | 2015-08-13T11:21:08.760 | infrastructure | serverfault.com | |
112,642 | What frequency of updates is acceptable for a mobile application? | It's possible to publish daily updates for your application on Google's Android Market, but I have an assumption that users don't like to get frequent updates. How can I determine when I should publish updates? Is there an optimum interval to balance between delivering new features and bug fixes while not upsetting my ... | While there can't some general best frequency for updates, here are some factors that you should look at when making your decision: Severity of the update . Fixes for critical bugs and security vulnerabilities should of course be pushed out as soon as possible. But if you only have minor changes, you might want to wait... | 3 | 3 | 1,937 | 2011-10-05T18:52:19.710 | api_errors | softwareengineering.stackexchange.com | |
170,238 | Designing a Database Application with OOP | I often develop SQL database applications using Linq, and my methodology is to build model classes to represent each table, and each table that needs inserting or updating gets a Save() method (which either does an InsertOnSubmit() or SubmitChanges(), depending on the state of the object). Often, when I need to represe... | In modern SQL Server versions (> 2008 IIRC) you can use User defined types. So your sproc can actually take an array of user types: Link In our app we actually use the repository pattern, but hack it a bit to get around slowness issues like you describe. So, in your example, I'd do something like this: [CODE] The idea ... | 5 | 2 | 1,187 | 2012-10-17T16:03:24.650 | database_errors | softwareengineering.stackexchange.com | |
806,474 | Why can't I connect to the internet when my server is down? | Does anybody know why I cannot connect to the internet when my Server is down? Problem: 1.) My Windows 7 machines cannot connect to the internet when my Windows 2012 server is down. 2.) My Windows Vista machines cannot connect to the internet when my Windows 2012 server is down. Note: The browser error that I get is ".... | When your Windows 7 machines start up, they go through a DHCP discovery process to obtain an IP address and (most importantly for you) DNS settings. DNS is used to resolve domain names (e.g. google.com) to IP addresses. This is essential for browsing the web. Without DNS you'd need to know the IP address of all the sit... | 0 | 3 | 2,743 | 2016-10-01T04:47:32.333 | infrastructure | serverfault.com | |
35,156 | How to keep track of regression bugs during Sprint in JIRA? | I want to keep track of all the regression bugs in JIRA, which is not related to any specific user stories in the current sprint. While creating as separate bug/task in the sprint affect its scope. Irrespective of the user stories, can we add those bugs in the sprint? or Maintain the regression bugs in a separate board... | I'd suggest you look at it as two separate actions: Can I add regression bugs to the product backlog so I don't lose track of them. Can I bring them into the sprint. For the first one, I see no reason not to. I think Jira has a "bug" issue type by default and these are perfectly valid items to have in your backlog. If ... | 3 | 1 | 1,909 | 2018-08-09T13:14:12.073 | data_quality | sqa.stackexchange.com | |
325,222 | Detecting breaking changes when modifying shared code | Currently we have about 20 solutions. The majority of these have multiple projects, including share utils projects, data access, etc. We've had a few problems where a contractor changed something in a common project and unknowingly this breaks a number of other solutions. We currently have 7 perm developers and 3 long ... | We've had a few problems where a contractor changed something in a common project and unknowingly this breaks a number of other solutions That's is unfortunate We're currently trying to decide a new software architecture in our company STOP. You have a process problem, not an architecture problem. A much simpler, and m... | 3 | 12 | 188 | 2016-07-19T15:38:14.153 | pipeline_ops | softwareengineering.stackexchange.com | |
653,140 | Postfix forward incoming emails to mailin | I've setup the smtp server using postfix with dovecot on mail.example.com server running on port 25. And then I've also setup another smtp server using mailin ( http://mailin.io ) on mail.example.com server but running on port 10025. The purpose of this mailin is simply to parse the incoming emails received from postfi... | Disclaimer: I'm assuming that you only want to parsing email with mailin and the email won't to delivered to dovecot again. To do that, replace the virtual_transport parameter so it becomes [CODE] That's it, instead delivering it to dovecot, postfix will pass the email to mailin via SMTP port 10025. [UPDATE] Based on t... | 0 | 1 | 1,266 | 2014-12-17T09:52:22.073 | infrastructure | serverfault.com | |
985,926 | Why should I choose a subdomain of my registered domain for AD (besides having to type "www" to access the comapny website?) | Best practice all over the internet would have you believe that the sky will fall on your head if you register [CODE] as your public domain name and then use that same domain name in Active Directory here , and here for example. Yet in all those dire warnings, the only concrete reason I have ever seen is that users on ... | have a different NETBIOS name that does not match the domain name. That doesn't really bother me but it's something you have to think of. Not at all, when creating a domain, you are definitely able to specify the NetBIOS name of the domain. The default UPN suffix when creating users in ADUC is @ad.company.com. The user... | 2 | 4 | 1,866 | 2019-09-27T16:47:05.667 | infrastructure | serverfault.com | |
592,097 | Yum fails with [Errno 4] IOError: <urlopen error (111, 'Connection refused')> but TCP traceroute works | When I try to connect to yum repos using either yum info or yum install I get the error: [CODE] I first thought our Firewall may be to blame, but [CODE] completes successfully, however [CODE] fails with connection refused. I am a bit confused here. What could account for this behavior? This is a RHEL 5 box which I didn... | [CODE] doesn't do what you seem to think it does. It uses a TCP SYN packet to probe for the existence of a device. Success in this means that it got some sort of response. It is likely it did get a response: connection refused. Here's the Fine Manual: [CODE] | 2 | 0 | 3,466 | 2014-04-29T18:26:46.420 | api_errors | serverfault.com | |
314,351 | Disappearing emails exchange 2007 | Happening to 2 reported users. It appears a new mailbox solved the 1st persons issue. Symptoms: Email arrives on phone (via activesync) notices it then disappears a few seconds later. In testing, this only happens when outlook is open. Outlook closed: Email arrives on phone and webmail and remains there as normal. Outl... | Deleteing the mailbox and creating a new one seems like a pretty drastic measure to resolve this kind of problem. If the problem only occurs when Outlook is open then that tells me that Outlook is the culprit, not the mailbox. I would suggest starting outlook from Run using the following: outlook.exe /cleanrules This w... | 0 | 2 | 973 | 2011-09-22T13:08:57.170 | infrastructure | serverfault.com | |
328,169 | MariaDB Power Outage Issue | We have a desktop application on Windows OS that installs with MariaDB server 10.4.10. Sometimes the client loses power and after restarting of PC MariaDB database becomes corrupted and Windows Server is not starting. The logs show that some tables are randomly broken. The server configuration is the default, not heavi... | Most likely it is because of Windows [CODE] . While caching provides speed, it also defers writing to disk. You dont normally want to remove it for everything. One way to fix it, create a new partition on your disk move the database files onto it disable write caching. Note that there is the [CODE] command in MariaDB, ... | 0 | 1 | 128 | 2023-06-11T20:40:32.293 | data_quality | dba.stackexchange.com | |
125,320 | What Host Name is my application connecting to SQL Server on | We have this 1 node broken cluster that I have been given the joy of fixing. Wont go into the reasons why its only got one node but I am planning on migrating this off onto a newly built cluster. So the broken cluster is running on a single node "NODE1" on IP "10.1.1.10". The old SQL Cluster Name has been added as a st... | Assuming you can install the app on a Windows 7 (or higher) workstation you can perform the following steps to determine exactly what server and IP address the app is using: Start a cmd.exe prompt "As Administrator" Run "ipconfig /flushdns" Run the app, and ensure it connects to the server From the cmd.exe prompt, run ... | 2 | 1 | 2,151 | 2016-01-06T00:46:24.480 | database_errors | dba.stackexchange.com | |
371,656 | How to sort top result on virtual memory on Redhat Linux? | There is an interactive key "M" to sort by memory, which seems to be sorting on resident memory. Is there a way to sort on virtual memory? I happen to be working on Redhat Linux, but the question is not specific to this distribution. | You get a list of things you can sort by by pressing [CODE] . Virtual segment size is option [CODE] , so you can get what you want by pressing [CODE] . | 9 | 8 | 20,919 | 2012-03-20T17:42:27.097 | infrastructure | serverfault.com | |
258,054 | SSL Configuration Problem | I've generated an SSL certificate with keytool: [CODE] I got this configured and working fine, but obviously it wasn't signed by a trusted CA, so I generated a CSR: [CODE] GoDaddy gave me two certificates back, which I imported into my keystore: [CODE] I thought this would be sufficient, but I am still getting an untru... | After messing around with this for a couple hours, I was able to find a solution. I ended up using [CODE] instead of [CODE] : [CODE] Submit the CSR, and once you get issued a cert: [CODE] Hope others find this useful! | 1 | 1 | 1,129 | 2011-04-10T23:30:30.333 | api_errors | serverfault.com | |
264,031 | Can I use `base/pgsql_tmp` directory for non-admin applications? | (( edit after answer: this is a typical XY question/problem , there are no restriction on use absolute path , on PostgreSQL's FileSystem functions. As @LaurenzAlbe comment, "just try". )) I need to export/import JSON files, CSV files, XML, GeoJSON, etc. Example: [CODE] All are temporary (exists in a BEGIN/COMMIT), but ... | Question 1: It is a bad idea to create these files in the PostgreSQL data directory. That is for database files only. In addition, you cannot be certain that [CODE] is there at all (it is only created when the first temporary file is written). Use an absolute path and write the file somewhere else, ideally in [CODE] . ... | 0 | 1 | 899 | 2020-04-01T01:14:35.207 | database_errors | dba.stackexchange.com | |
243,076 | sendmail TLS issue | I have a user that cannot authenticate. What I am getting is: did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA I have SASL installed for plaintext passwords. Can someone please point me in the right direction? What am I missing? | The error message means that the client opens up a connection to port 25 on your server, but does not issue any other commands. I will make a wild guess here and will suspect that this is a TCP window scaling problem. If the client is a Windows Vista / 7 machine try something like: [CODE] or [CODE] from a command promp... | 0 | 1 | 249 | 2011-03-04T04:57:22.017 | infrastructure | serverfault.com | |
697,444 | Windows Server 2008 R2 "WIN7_DRIVER_FAULT_SERVER SYSTEM_SERVICE_EXCEPTION STOP: 0x0000003B | I need some help with my Windbg output on our Win Server 2008 R2 Standard installation. It is our mission critical production server and it crashes every 2 months or so. It's done it a couple of times already. Logs say it might be a driver, but which? who crashed says: [CODE] windbg output: [CODE] I've uploaded the min... | Stop error 0x3B when an application changes the z-order of a window in Windows 7 SP1 and Windows Server 2008 R2 SP1 https://support.microsoft.com/kb/2965768 | 1 | 1 | 2,732 | 2015-06-08T16:20:23.280 | infrastructure | serverfault.com | |
504,511 | Dell Perc 4/DC controller - managing it from Windows 7 on a not dell workstation? | I've installed a Perc 4DC on a non dell workstation with windows 7. I have no issues with the drivers (used the 2003 ones), but I'm not sure what kind of disk management tool I could and should install. By example, would Dell Array Manager am360a05 cause issues if installed on windows 7 x64 ? (given that such sw is for... | I don't think you're going to find a supported tool. That controller is old and certainly not intended for use in desktop operating system deployments, let alone one so much newer than the controller. I am familiar with the Array Manager software you're talking about and my gut says that it will work poorly, if at all,... | -2 | 1 | 470 | 2013-05-02T15:20:23.783 | infrastructure | serverfault.com | |
215,535 | Totals on multple case conditions - mySql | I am attempting to translate the query in this question into mySql, as we moved the data from an access db to a new structure. I have come up with the following, since there are multiple conditions (Value of '' or 'Did Not Compete'), and I was getting the following error (Since resolved, see edit 2 below). 1064 - You h... | In the latest iteration (edit #5), the problem would be that you can't use column aliases within the query where they're declared. You can either go back to the original query (get the total for each category in a sub-query, and add them together using the aliases in the main query), or do this: [CODE] | 0 | 1 | 4,844 | 2018-08-22T00:40:38.967 | database_errors | dba.stackexchange.com | |
260 | Would it be possible to close questions because of insufficient research effort? | On serverfault it is possible to close questions due to insufficient research: Requests for product, service, or learning material recommendations are off-topic because they attract low quality, opinionated and spam answers, and the answers become obsolete quickly. Instead, describe the business problem you are working... | I feel like closing a question because not enough research was done prior to asking is a bit against what SE is about. Creating a reason for closing because not enough research was done, I feel, may allow for an elitist atmosphere to form. When the community on SE is so young (as is devops) I feel as these questions ar... | discussion | 1 | 2 | 75 | 2018-03-02T20:15:30.593 | pipeline_ops | devops.meta.stackexchange.com |
183,135 | SVN - http checkout issue | I have corrected my httpd config file after that I could able succeed the LDAP authentication Now I am trying to checkout the files using the following code [CODE] I am getting the following error OPTIONS of ' http://100.21.45.12:8999/SVN/myrepo/SDT ': 200 OK ( http://100.21.45.12:8999 ) Please help me Thanks in Advanc... | Why are you doing this in a high-level language? (what is that? .NET?) If it's laziness (remember, it's a virtue...) so that you don't have to type in the whole command, why not just do a batch script (.bat/cmd or *nix shell)? Besides, you're getting a return code of 200, and since that's a web server (http...), the "2... | 2 | 0 | 108 | 2010-09-21T11:38:15.940 | api_errors | serverfault.com | |
692,247 | Formatted capacity of a Sandisk Fusion-IO Card? | I'm interested in buying some 6.4 TB Fusion IO SX300 cards. They will be formatted as NTFS 64 Kb cluster size with Windows Server. My question is what will the actual usable space be once the drives are formatted with a filesystem on top? Does anyone have some of these and have formatted them for Windows Server? | I called Fusion IO and they said 5.81 TB. | 1 | 1 | 159 | 2015-05-15T09:12:58.090 | infrastructure | serverfault.com | |
856,128 | NetBIOS Name Service requests not being sent or answered | I have serious inconsistency on my systems of whether NetBIOS name service requests are working on endpoints. I'm testing with Win7 and Server 2008R2 systems. We do not have a WINS server and don't want to have one, but I'm most interested in the differing behavior. The driver here is our Nessus scanner, which obtains ... | I had a problem that several computers could not access SMB share on old Windows 95 (yep, I know...) machine networked on a separate VLAN without internet connectivity. Few computers were able to connect the shares but gradually over time just stopped working. I dug deep with wireshark to see that the last working comp... | 3 | 1 | 1,430 | 2017-06-16T04:27:57.187 | infrastructure | serverfault.com | |
148,199 | Why give owner anything other than 7 for file permissions? | In Unix-like OS's, what's the point of giving the owner of a file anything less than 7 (rwx) for file permissions? The owner can trivially change the owner permissions for his/her files, and so can a cracker if the acct. is compromised. Setting the owner permission to anything other than 7 seems to just get in the way ... | It is to protect the user from making a mistake. If the file is important and should not be modified you give read only. Then if the user needs to change it they will have to make a conscious choice to go and chmod 777 the file and then do the action. Also not letting things be executable helps. If you are writting a s... | 4 | 4 | 125 | 2010-06-04T13:59:39.940 | infrastructure | serverfault.com | |
910,382 | Blocking postfix requests and access | I have noticed that I keep getting trash access to my postfix/smtpd in the [CODE] I see many repeats of [CODE] I thought I will just ban that [CODE] in [CODE] by adding: [CODE] I restarted postfix, but then I keep on seeing this trash. Any suggestions? Should I be looking at blocking something else? Thank you | Your header checks are looking for a match in the headers of an email. However, the connections shown in your log never get as far as submitting an email. They are connecting, trying to authenticate which fails, then disconnecting. The best thing you can probably do in this situation is use something like fail2ban. Thi... | 0 | 2 | 597 | 2018-05-02T15:14:56.287 | infrastructure | serverfault.com | |
653,170 | Syslog-ng loghost - filter not-match | I've got a problem with receiving remote logs from syslog-ng OSE to syslog-ng OSE. I am configuring loghost and at now - i how no idea what i am doing wrong. It seems like filters are not working for received logs from remote hosts. This is a part of my configuration related to loghost: Client (syslog-ng 3.3.5) (it's w... | The issue was that I used tcp() and udp() source driver [BSD format] instead of syslog() [IETF format]. It's working now. | 0 | 1 | 2,293 | 2014-12-17T12:14:51.607 | infrastructure | serverfault.com | |
169,893 | Mercurial existing Active Directory integration failing for a new user | We've got an existing Mercurial server running under Windows 2008/IIS that is using Active Directory for authentication. We have three existing users that have no problems at all with Mercurial. Clone/push/pull all work just fine. I was trying to get another domain user set up with Mercurial this morning, and he can cl... | It started working after I included a list of explicit users in the server's hgrc file. [CODE] I still am perplexed why it was working without an allow_push setting previously. | 2 | 2 | 230 | 2010-08-12T19:04:09.747 | api_errors | serverfault.com | |
279,289 | How do I change the MTU for only localhost connections on a Red Hat box? | I want to change the MTU value for only the connections that are going between localhost / 127.0.0.1 on a Red Hat box. How do I do that? | Use ifconfig [CODE] You can make the change more permanent by adding to /etc/sysconfig/network-scripts/ifcfg-lo: [CODE] | 1 | 3 | 2,426 | 2011-06-10T19:17:58.440 | infrastructure | serverfault.com | |
324,433 | In SQL Server Temporal Tables start/end date timestamps are identical for rows that are created inside a EF Core transaction | I'm using a EF Core DbContext transaction to create/update entities on a SQL Server temporal table . The data I'm processing (array of items) has a key (Year-Sequential, like: [CODE] , [CODE] , etc.) and then a set of attributes that corresponds to other columns on the table below. One of this attributes identifies the... | Temporal Tables start/end date timestamps are identical for rows that are created inside a … transaction This is by design and is a SQL Server thing, not EF specific. All start times for rows in temporal tables will be the same in a given transaction, the time of the start of the transaction. This makes sense from the ... | 3 | 1 | 668 | 2023-03-06T16:08:36.310 | data_quality | dba.stackexchange.com | |
149,196 | Origin of structures and classes | What design and implementation issues did programmers have to solve when they decided first to use structures and classes? When did this happened and who were the pioneers behind these ideas? Note, this is double question, because structures and classes are related. I realize that structures are quite older than classe... | The idea of a structure is to group together a collection of variables into a single container. E.g. if you have three coordinates [CODE] you might want to see them as a unit of data and group them together: [CODE] You can see this as a way to modularize your data. Now you can define variables containing all three valu... | 8 | 5 | 536 | 2012-05-18T15:33:00.603 | api_errors | softwareengineering.stackexchange.com | |
659,823 | Samba only works when firewall is disabled | I can not seem to get samba to work correctly without disabling [CODE] . As soon as I disable [CODE] everything works perfectly although I am not fond of not having a firewall in place. I am hoping someone can tell me what I did wrong, I am guessing there is a missing rule inside of [CODE] but I have searched all over ... | Ports 137 and 138 should be opened for UDP traffic instead of TCP: [CODE] Source: https://wiki.samba.org/index.php/Samba_port_usage | 0 | 1 | 1,178 | 2015-01-15T16:44:40.537 | infrastructure | serverfault.com | |
189,415 | How to verify (CHECKSUM or MD5) dataset you received over a network? | I will remotely query mysql database and I want to check that the received dataset matches the table in the host computer. How do you do that? I am fairly new to sql database. I know of Checksum and md5, but how do you use them to verify the received dataset is not corrupted on the local machine. | Why? If there is a hardware error in the machine, all sorts of things will be dying, not just your one query. If you are concerned about the network, see all the checksums, etc, involved in TCP/IP and Ethernet. You don't need a layer of checks on top of that. If you are asking about consistency between Master and Slave... | 2 | 2 | 521 | 2017-10-26T15:53:34.833 | data_quality | dba.stackexchange.com | |
715,016 | unable to get the IP,Mac, and other network info using (Get-VMHost).NetworkInfo | I am using powerCLI verion 5.5, and I wrote the following script:- [CODE] I got info for the vmhost such as used memory, build, state ,cpu spped, etc. but for the networkinfo section inside the generated .csv file I got "localhost" instead of the VMHost network info. so I wrote another script as follow to get the ip,ma... | You'd probably want to use the [CODE] cmdlet . In particular, using the [CODE] switch to only get the host's management interfaces. Something like this: [CODE] | 1 | 1 | 338 | 2015-08-18T14:53:53.050 | infrastructure | serverfault.com | |
65,705 | How to Code Faster (Without Sacrificing Quality) | I've been a professional coder for a several years. The comments about my code have generally been the same: writes great code, well-tested, but could be faster . So how do I become a faster coder, without sacrificing quality? For the sake of this question, I'm going to limit the scope to C#, since that's primarily wha... | I like Jeff Atwood's approach to this which can be found here http://www.codinghorror.com/blog/2008/08/quantity-always-trumps-quality.html . Basically in the article he references a passage from the book Art & Fear by David Bayles and Ted Orland. The passage goes: The ceramics teacher announced on opening day that he w... | 157 | 173 | 77,361 | 2011-04-06T19:31:12.077 | database_errors | softwareengineering.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.