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 |
|---|---|---|---|---|---|---|---|---|---|---|
56,972 | Need to include FKs in SQL Indexed View clustered index? | I'm using a SQL Server Indexed view to improve performance of a join that filters a (very) large table by a category on a small table. eg: [CODE] (BigTable.ID is the PK on BigTable) Query performance is substantially increased (since the subset of bigtable required is already stored), but I'm concerned to ensure that S... | SQL Server will always be able to automatically update the view's index(es) as the source table(s) change; there's nothing extra you need to do. You can inspect a query plan that modifies one of the source tables, you'll see there are extra operators to update the view's index(es), the same way it has to update all the... | 7 | 4 | 177 | 2014-01-17T04:14:12.133 | database_errors | dba.stackexchange.com | |
816,053 | SSRS-error about report server database version after hotfixing SQL. The found version is '164'. The expected version is '163' | After applying hotfix KB3194725 to our SQL server, the SSRS server throws the following exception when trying to generate a report: Exception type: InvalidReportServerDatabaseException Exception message: The version of the report server database is either in a format that is not valid, or it cannot be read. The found v... | This can be fixed by applying the same hotfix to the SSRS-server. | 1 | 0 | 9,005 | 2016-11-21T09:01:13.577 | database_errors | serverfault.com | |
253,242 | Powershell FTP Script Error: The remote server returned an error: 227 Entering Passive Mode | I am having Powershell FTP script problems. I have pulled my hair out over this one. I recently setup an "automated build server" for my software projects. All software projects get built and bundled into a zip file. In theory, this zip file will be downloaded via FTP to several different servers. I am trying to build ... | When you connect to the FTP site from a command prompt, you're using active FTP (only one available) which is far more predictable on the part of the firewall. When you connect using the [CODE] , you are connecting using PASV which takes a random port from a predefined available range. These requests are getting stoppe... | 1 | 2 | 11,571 | 2011-03-29T15:52:46.297 | infrastructure | serverfault.com | |
783,863 | Many 404 URLs when using mod_proxy[_html] | What I want to do Make all of http://cloud.example.com/ appear as http://webmail.example.com/cloud/ http://cloud.example.com : the targeted website http://webmail.example.com : the website where apache2 is running with mod_proxy, as reverse proxy (but not exclusively, there's also webmail). http://webmail.example.com/c... | As suggested by @HBruijn I've added [CODE] But then the server received requests for /index.php/apps/files/, so I added that as well [CODE] Got rid of all the 404 errors, but couldn't get owncloud to work nevertheless. http://webmail.example.com/cloud redirects to http://webmail.example.com/index.php/apps/files/ which ... | 1 | 0 | 2,569 | 2016-06-14T13:33:14.867 | infrastructure | serverfault.com | |
963,449 | 802.1Q VLAN Tagged Vs Untagged | If I have a port A which has say VPID 200, has VLAN 200 untagged and also VLAN 150 untagged, does that mean that frames on the switch tagged 150 can reach port A, and open a connection, but port A cannot go find IPs/MACs on VLAN 150? I haven't seen this discussed in detail, but does this create 1 way VLANs in a sense? | In principle you can have only one untagged VLAN. This vlan may be called differently based on the brand but all the time it is pointing the same status. You are pointing trunk mode but there is allowed just single one native / default / untagged VLAN. The configuration should not allow you to set more untagged VLANs a... | 0 | 0 | 748 | 2019-04-17T11:03:26.920 | infrastructure | serverfault.com | |
582,446 | Postfix/Dovecot cannot receive email from external sources | HELP! Haha. I recently was an idiot and foobared my server. I had a mail server running on it. On my new server, i am trying to set it back up and I cannot get it to work. I have almost the same exact configs from before. Everything works except I cannot receive emails from external sources. I can send emails find, I c... | I suspect that the problem is you are using check_relay_domains - I believe this has been deprecated (and here ) and you now use "reject_unauth_destination" for smtpd_recipient_restrictions | -1 | 0 | 2,103 | 2014-03-16T16:07:55.047 | infrastructure | serverfault.com | |
543,998 | bind apache2 to localhost only Ubuntu 12.04.3 LTS | Trying to bind apache2 to localhost only, running Ubuntu 12.04.3 LTS on OpenVZ VPS. It fails on me (see /var/log/apache2/error.log). Default configuration is: [CODE] I change Listen 80 to Listen 172.0.0.1:80 in /etc/apache2/ports.conf. Apache2 errors out. There is no other service listening on port 80, also there is no... | localhost address is 127.0.0.1 not 172.0.0.1 | 1 | 0 | 934 | 2013-10-05T11:28:33.573 | infrastructure | serverfault.com | |
210,667 | Performance related doubt in Java with Hibernate | Suppose in some ORM based project (say Hibernate) I am trying to fetch only few columns rather then the whole Object with may be more than 20 attributes. I am writing HQL like [CODE] . I know I am not taking advantage of using Hibernate because I will get the result in Object form only and then I have to do explicit ca... | If you're not seeing performance problems when retrieving all entity attributes, don't spend time on micro-optimization. Unless the attributes are very large, you probably won't see any performance difference in selecting only the columns you really need for a given operation as opposed to all columns. If you're really... | 6 | 7 | 1,847 | 2013-09-06T13:07:17.443 | api_errors | softwareengineering.stackexchange.com | |
46,803 | 1062 Duplicate entry but there are no duplicates? | I keep getting this error: failed to INSERT: [1062] Duplicate entry 'Upping Your Type Game- http://jessicahische.is/talkingtype ' for key 'PRIMARY'. The problem is, is that there are no duplicate entries. Which is why I'm confused when receiving that error. Is there any way to check using InnoDB? I have tried exporting... | It isn't saying that there is a duplicate entry in the table already , it is saying that there is already one entry in there with that value for the primary key and it is refusing to insert a second for that reason. I suspect if you run: [CODE] or if that key is a composite [CODE] You will find one matching row, and th... | 13 | 8 | 118,300 | 2013-07-22T18:52:55.857 | data_quality | dba.stackexchange.com | |
109,435 | Howto: mysqldump cron on godaddy | I have a MySql database that I want to backup to a file daily. (Which I will later download for off-server backup). I have set up the following command in my crontab (ran daily): [CODE] The database name is ebooklibrary . I am constantly getting this error: [CODE] How can I fix this, or do it properly, so that mysqldum... | I believe the matter is with how you specify the password. Try [CODE] | 1 | 3 | 3,658 | 2010-02-04T04:37:23.260 | database_errors | serverfault.com | |
124,599 | Can't search for non-ascii characters | I have a database with Turkish names and surnames. Here is some information about my table: [CODE] [CODE] is hex value for utf8 encoded 'YAŞAR'. When I search for 'yasar', I want to get both 'yasar' and 'yaşar'. Similiarly, when I search for 'yaşar', I should get both 'yasar' and 'yaşar'. However, when I search for 'ya... | Sometimes ago, I faced a similar issue and I solved that issue with the help of my friend. How I did was I changed the collation to uft8_turkish_ci in MySQL. Also from MySQL website, I found the following document, which may be helpful for you, MySQL Character set Thanks. | 1 | 2 | 206 | 2015-12-26T12:54:31.997 | database_errors | dba.stackexchange.com | |
251,109 | Apache2/mod_fcgid/PHP Process Limits Not Respected | I've recently moved to Apache2 / mod_fcgid / PHP from nginx / php_fpm. This is the second server on which I've made this migration, but it's used much less frequently than the first, which is working like a charm. The problem is in the PHP processes that it's spawning. In looking at the mod_fcgid documentation , it app... | Try setting the env variable: [CODE] in your php starter script. mod_fcgid will take care of spawining all the processes that are needed. So no children are actually needed and those are the one usually left behind. | 1 | 1 | 754 | 2011-03-23T23:56:31.280 | infrastructure | serverfault.com | |
274,241 | Compile and upgrade to PHP 5 on linux with old php settings how to? | I am running CentOS i need to compile and install PHP 5 there but i never done this before is this still possible or i need to find someone to do it for me? There is already installation of PHP 4 and site running on it, my major problem is how can i import settings from php 5.1.6 into php 5.3.6 prior to compilation or ... | Try out some of the pre-packaged php 5.3 RPMs: http://rpms.famillecollet.com/enterprise/5/remi/x86_64/repoview/ If you need to recompile with some specific options, his SRPMs are a good starting point. | 0 | 1 | 276 | 2011-05-26T21:41:15.987 | infrastructure | serverfault.com | |
19,571 | Copying from external device very slow | i am running debian lenny on my machine. The problem is when I try to copy data from usb device to my hdd, The transfer rate is very very slow, Even if i put 10MB file to copy it takes arround 15min to cp to hdd. But the same usb device it i connect to laptop it works fine. Even it was problem when etch was there, i th... | As Bernd asked: Which usb module is loaded? uhci or ehci [CODE] The output should look something like this: [CODE] If it only shows uhci and not ehci, then the usb 2.0 drivers just aren't loading | 0 | 3 | 1,245 | 2009-06-04T10:23:12.917 | infrastructure | serverfault.com | |
415,266 | .php files see Apache environment variables, .html files don't | Consider this environment: [CODE] This is the output of [CODE] : [CODE] This is the output of [CODE] : [CODE] Why might that be? How might I fix it? Here is [CODE] : http://pastebin.com/rgq7up61 Here is [CODE] : http://pastebin.com/VUKFNZ36 If anyone knows where I can host a real webpage instead of just the HTML for on... | the difference is visible in the block: [CODE] there in the html-version all variables are set in the old global form: [CODE] and in the new form too: [CODE] in the php version they are set only in the new form. it seems like the html-version uses another php.ini. also i see the variable [CODE] maybe the html-file is p... | 2 | 1 | 1,016 | 2012-08-07T21:27:00.090 | infrastructure | serverfault.com | |
129,306 | Much slower SQL application performance after upgrading from Windows Server 2008 R2 to Windows Server 2012 R2 | Has anyone seen much slower SQL Server application performance when upgrading from Windows Server 2008 R2 to Windows Server 2012 R2? We recently did a side-by-side upgrade of an important server with this newer operating system, SQL Server 2012 to SQL Server 2014 SP1, Citrix XenServer to vmWare, and an older Nimble SAN... | Originally self-answered in comments: After doing a lot of testing, this issue appears to occur when crossing the temporary network bridge from our new environment over to our old environment. Although we haven't figured out the root cause at the network layer, we have decided to leave the centralized server on our old... | 2 | 1 | 6,024 | 2016-02-15T15:35:40.153 | database_errors | dba.stackexchange.com | |
300,645 | RMAN Duplicate PITR without connection to Target database | I would like to understand which network requirements are needed following the least privilege needed policy in order to perform a [CODE] in this scenario My environment is Azure, and I have Oracle 12.2 and a RMAN Catalog in 19c Production Network ( Subscription Azure Pro ) [CODE] Backups are taken in Servers A and B o... | I do not remember the rman command hearth, but it should be something like: [CODE] The "only useful information" you can find in source database is DBID. When you provide DBID using command, rman can fetch all the remaining information form catalog. So just omit [CODE] clause and do provide [CODE] to rman. | 0 | 0 | 486 | 2021-10-05T06:53:56.657 | database_errors | dba.stackexchange.com | |
184,159 | Newbie ASP.NET developer being forced into MVC4 with WebForms | I recently got hired on as a new ASP.NET developer (C# code behind). When I arrived, I was told that they were moving to MVC 4, and so I bought two books on that. However, the other day I learned that they are NOT using Razor, but using WebForms. Most of the results via Google returned articles from before the WebForms... | If the culture, work environment, and boss are all acceptable, I wouldn't worry too much about it for two reasons: If your development team is progressive enough to use MVC 4 and .NET 4, then they will probably discover the benefits of the Razor view engine very soon and you'll write new views with the Razor syntax in ... | 2 | 2 | 888 | 2013-01-18T20:39:35.577 | api_errors | softwareengineering.stackexchange.com | |
44,692 | ldirectord process disappears | I have 2 frontend apache webservers that are load balanced using ldirectord . ldirectord is kept running on one server or the other by heartbeat Recently I upgraded these servers from Debian Etch to Debian Lenny Ever since then, every once-in-a-while, the ldirectord process disappears, however, load balancing appears t... | ldirectord is the app to administer load balancing, it doesn't do the balancing. once settings are transferred to the kernel they will stay until changed again or the server is rebooted. Stuart | 1 | 2 | 186 | 2009-07-23T15:48:01.343 | infrastructure | serverfault.com | |
478,074 | sendmail connectivity issue | I am really baffled by sendmail sending emails to one particular host. It seems absolutely fine while communicating with other servers, but on a particular host it just hangs at the very end: [CODE] The last line is just hanging for 3-4 minutes before continues to [CODE] | This look like a DNS timeout issue. I think that the remote server is checking your reverse DNS for the primary IP of your mail server. It could be an anti-spam policy - to delay incoming connection so that the server is not desirable for spammers. It could be their DNSBL or other anti-spam or anti-virus modules on the... | 0 | 1 | 108 | 2013-02-12T16:48:45.547 | infrastructure | serverfault.com | |
186,633 | Nginx and uwsgi timeouts | I have nginx serving a django app powered by uwsgi. Occasionally I am getting 504's and want to increase the timeout. When using the nginx uwsgi module, do I need to use a special param to account for possible timeouts, or can I use a standard one? | I view source and find uwsgi_connect_timeout,uwsgi_send_timeout,uwsgi_read_timeout params and it works. But default is 60 second... I think this is enough. | 3 | 3 | 4,653 | 2010-10-01T14:53:20.970 | infrastructure | serverfault.com | |
818,937 | HAproxy is giving me problems with regex replace, Is this a bug or am I doing something incorrect? | I am attempting to correct a URL parameter issue by forcing a URL encode on a node of a POST path that is somewhat a frequent occurrence. It seems best, at this time, to fix this at the proxy layer until a better solution has be developed.. but Haproxy is giving me problems with this, I should also mention that I am st... | This suggestion I made in comments appears to do almost the right thing: [CODE] In fact I put [CODE] on the wrong side of [CODE] . I also incorrectly made the space at the beginning of the second capture group optional, which doesn't break the regex but is not techically correct. This is the correct form: [CODE] That's... | 2 | 4 | 5,608 | 2016-12-06T04:39:11.260 | infrastructure | serverfault.com | |
680,893 | Website is down but only for me | I have a website that is working fine for everyone but throws an error whenever I try and access it. The web developer is saying it is a problem with my network. What should I check to confirm this? I have tried via different internet connections and it always works on them. I have tried using google's DNS server 8.8.8... | Either your IP is blocked from the external web-service, and you cannot circumvent this directly without going through a VPN or proxy. You could check to see if you have not directly blocked it yourself in whatever browser you are using (I assume Chrome). You could also force the port, I.e: https://www.myhost.com:443/ ... | 1 | 1 | 236 | 2015-04-07T09:37:18.163 | api_errors | serverfault.com | |
245,507 | Any drawbacks of using GIN PostgreSQL index for an integer foreign key? | I have a large table (600 millions rows) with a foreign key [CODE] of type [CODE] . A single value of the foreign key is repeated about 100 times on average. I need to have an index on that FK column because the data is frequently selected by [CODE] . My tests show that the [CODE] index type is about 10 times smaller a... | This seems like a rather esoteric thing, which is probably why it doesn't get recommended all that much. I do recommend it when the issue comes up, which just isn't all that often. The size of one index is unlikely to be all that meaningful in the context of an entire database, so making it smaller usually isn't worth ... | 4 | 4 | 2,937 | 2019-08-16T10:13:39.053 | database_errors | dba.stackexchange.com | |
159,204 | Can someone help me understand this GPL license | I can't understand the last line of this GPL license. Copyright (C) 2011 Some Name This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later versio... | No, you cannot use this code unless your shareware application is also licensed under the GPL. You could ask the original copyright holder to license the code to you under a different license. | 2 | 5 | 271 | 2012-08-02T14:49:34.630 | database_errors | softwareengineering.stackexchange.com | |
185,472 | Can not drop a PostgreSQL database using dropdb? | I can not drop a database using [CODE] I get this error: [CODE] but with [CODE] I see user admin (the one dropping the db) with [CODE] besides the database I want to drop. What is wrong in PostgreSQL 9.x in Linux? | What you see there with [CODE] only means that the Postgres role [CODE] has been granted a couple of privileges by the Postgres role [CODE] - which is the default superuser and probably the actual owner of the database. Quoting the manual: If a superuser chooses to issue a [CODE] or [CODE] command, the command is perfo... | 5 | 9 | 15,011 | 2017-09-08T23:21:56.903 | database_errors | dba.stackexchange.com | |
281,379 | Catch deadlock events in a background job? | I'm currently catching deadlock events with the profiler. (deadlock, deadlock graph, deadlock chain). So far so good, but for this, a client computer needs to be constantly running and online. ==> Is there a way to catch & collect deadlock events as a background job directly on SQL Server? | Deadlock events are captured by the system_health Extended Events trace so you don't need to run Profiler interactively or create a SQL Trace to capture the information. Below is an example query to retrieve the deadlock info from the file target: [CODE] | 0 | 6 | 439 | 2020-12-11T20:31:31.707 | database_errors | dba.stackexchange.com | |
1,011,017 | VirtualBox Ubuntu VM (Windows host) stops resolving names after connecting to VPN on host | I am running a Lubuntu guest VM on my Windows 10 host using VirtualBox ( [CODE] ). Everything works fine network wise. When I connect to my company VPN, in most cases the VM loses ability to resolve names. In Firefox it doesn't open any sites (e.g. github.com: [CODE] ). Though I am able to connect to our company Jenkin... | It sounds like the VPN is pointing your local resolver to your company DNS servers. Start with checking where your VM gets it's DNS from before you open the VPN: On the Windows host, try this command: [CODE] This should give you something like the following [CODE] The line [CODE] shows you what DNS server answered the ... | 0 | 1 | 2,678 | 2020-04-05T17:30:23.193 | pipeline_ops | serverfault.com | |
76,115 | Improving a basic neural network with only 3 input columns | I am just getting started with neural networks, and I was hoping someone could shed some light on an issue I keep facing with a model I am working on. I have a dataset that looks like this: [CODE] ...with a shape of (400, 4) My objective is to train a deep learning model to predict the y1 value using the x1, x2, and x3... | There is no point in looking at the prediction at this point. Your model has not learnt the data yet. Suggestions - When copy from a source. Try copying everything first. Run it and then start tweaking for learning Or to map with your own need. You have changed a few things as compared to what Jason has in his post Use... | 0 | 1 | 138 | 2020-06-16T18:51:44.827 | data_quality | datascience.stackexchange.com | |
34,473 | What would cause Mysql database entries to be truncated to 253 characters? | Randomly seeing database entries truncated to 253 characters on a php site and can't figure out why or if it could be malicious or a corruption issue. Any thoughts would be appreciated. | If not configured (by adding [CODE] to your [CODE] settings) to throw errors when presented with invalid data, such as a character value that is longer than the definition of a [CODE] column allows, MySQL truncates it to fit, and only throws a warning. My guess is that you've got a VARCHAR(255) column and at some point... | 1 | 2 | 4,148 | 2013-02-09T22:17:56.870 | data_quality | dba.stackexchange.com | |
541,390 | keepalived doing a lot of TCP DUP ACK and TCP Retransmission | I'm trying to replicate the setup our hosting provider have done for our load balancer, which is using keepalived. So I have one "load balancer", running CentOS 6 and keepalived 1.2.7, with two Web servers running Ubuntu 12.04 LTS and Apache 2.2. If I query one of the two Web servers directly, it's working fine, I get ... | it may be that your are having errors farther down the stack that are causing tcp retransmission. this could be as simple as a bad ethernet cable and/or nic. run "ifconfig" and look for errors... also look in messages. if you eliminate L1 hardware as cause, check L2 issues, such as speed/duplex mismatch on switchports,... | 0 | 1 | 1,906 | 2013-09-24T20:27:31.020 | infrastructure | serverfault.com | |
125,736 | Project managers: Do you encourage any sort of task division between morning and afternoon? | I haven't read about this anywhere, but here are my thoughts: programming is inherently intellectually hard. I remember reading in Code Complete something that stuck with me: the author pushing and working on something long hours only to spend the rest of the week fixing it. This is something managers don't understand.... | First off, I'd suggest that other that organizing when items need to be delivered, project managers should stay out of the business of telling the development team when to perform certain activities. The team should be able to figure out for themselves when they need to do what, based on the priorities the project mana... | 3 | 6 | 326 | 2011-12-17T14:27:01.910 | api_errors | softwareengineering.stackexchange.com | |
1,081,260 | How can the SPICE password of a libvirt+kvm+qemu virtual machine be changed while the machine is running? | I have a virtual machine that is running on a KVM+QEMU stack with libvirt. The VM is using a qxl or virtio display and has a spice graphics listening on a port. I'd like to change the password (in SPICE they call it "ticket") used to access that machine from virt-manager or remote-viewer while the machine is running. T... | In order to be able to change the SPICE access password without a stop/start of the VM, the VM must already be equipped with a password. SPICE passwords cannot be added/removed without a restart. Under this prerequis, we have two options to achieve this: A: solution with virt-xml Use the command [CODE] B: solution with... | 1 | 1 | 1,299 | 2021-10-21T12:01:57.563 | infrastructure | serverfault.com | |
196,472 | Display summary results based on empty value in another column | I need some assistance and guidance. I want to retrieve a summary of results based on values in another column. For example, I have a column in my data set that shows an audit date. There will be some records which will have an empty audit date, in that case I want to display summary results based on it which where so ... | COUNT(expr) will count the number of rows where expr is not null , which can be used to figure out which groups have any nulls: [CODE] OFFICECODE | AUDIT_STATUS :--------- | :----------- DEF | Complete ABC | Complete XYZ | Incomplete dbfiddle here you can get the same result with [CODE] (or [CODE] , etc): [CODE] | 2 | 3 | 424 | 2018-01-29T08:16:12.007 | warehouse_errors | dba.stackexchange.com | |
246,799 | Can't connect through sqldeveloper because locale not recognized even though my language/regional settings are English/US | On a certain machine I consistently cannot connect to an oracle db due to the locale not being recognized: Other people have noted the locale or language settings may not be compatible with the oracle db driver but my laptop is US/English and I can connect to this same db w/o a problem from similar laptops. Moreover, I... | Try adding the following to your [CODE] : [CODE] | 0 | 1 | 2,323 | 2019-09-02T22:32:43.753 | database_errors | dba.stackexchange.com | |
531,998 | Spamassassin: store bayes per user in mysql (with amavis) | I use postfix (mysql virtual users) + amavis + spamassassin and configured spamassassin to use mysql for storing the bayes data: [CODE] In the mysql table "bayes_vars" I found only a row with the username "amavis". Is it possible for spamassassin to use the e-mail address as username instead "amavis" for each mail? | Yes, you could use sa_username_maps to split it up. | 6 | 1 | 1,288 | 2013-08-19T13:04:59.307 | database_errors | serverfault.com | |
426,093 | How To Use Semver In REST API Versioning | I am trying to understand one thing of using semver in rest apis. Semver says that Major version X (X.y.z | X > 0) MUST be incremented if any backwards incompatible changes are introduced to the public API. It MAY also include minor and patch level changes. Patch and minor version MUST be reset to 0 when major version ... | Requirements to remove fields from an API (regardless if it is a REST API, a classic library, or some other kind of component) can usually be resolved by removing those fields semantically , not syntactically . So the body of a message may still contain the field, but the content of that field can be always left empty ... | 0 | 5 | 660 | 2021-05-05T20:43:47.790 | api_errors | softwareengineering.stackexchange.com | |
835,037 | Gap in Waterfall Loadtime test | When I test my wordpress websites with GTmetrix oder other Loadtime Testing tools I notice a gap in the Waterfall graph where no action is taking place. It looks like the time this gap is lost which leads to higher loading times. Is this the correct way of interpreting it? I even see it when testing some really large w... | Based on the updated information, I can see that the client CPU is max'd out during page load. I suspect it's progressively parsing resources and building the page as resources and CPU allow. Try using Chrome / Firefox developer console network tab , watching your PC CPU. It may have more resources. You could try putti... | 0 | 0 | 870 | 2017-02-26T20:44:08.800 | infrastructure | serverfault.com | |
1,150,611 | pfSense in disable all packet filtering mode allows web admin on WAN IP | A while back, I had a fiber internet connection installed at my business with a number of public IPv4 addresses. The ISP provided two blocks of IP addresses: a "P2P" block which contains a gateway (a physical device at my site) and a "usable" block for the public IPv4 addresses I paid for. The instructions from the ISP... | For those that end up here looking for a way to configure or disable the nginx webConfigurator in pfSense, there is not a good way to do it at the time of this writing (as of pfSense 2.7.2). However, I have some hacky solutions that might interest you. Disable the webConfigurator From the shell, you can stop the webCon... | -1 | 0 | 404 | 2023-12-29T14:41:05.103 | infrastructure | serverfault.com | |
34,135 | Inbound routing stops working on Windows 2003 Server x32 behind RRAS and Hyper-V | We are having a weird issue with a Windows 2008 DCE Server running a Windows 2003 R2 SP2 x32 Server in a Hyper-V instance behind RRAS. Essentially, this server stops receiving inbound traffic through RRAS periodically. Connecting to the server via Hyper-V manager and disconnecting and reconnecting the NIC allows inboun... | This VM subsequently had HD issues, so I will chalk this one up to data corruption wonkiness. | 1 | 0 | 1,037 | 2009-06-30T22:18:45.483 | infrastructure | serverfault.com | |
356,507 | "safe" ext4 configuration for systems running unattended | I have a system running linux that must run unattended for long periods of time. The system uses industrial CF card for storage. Most of the time there are no writes to flash, although every now and then some configuration data/settings can be modified. The system must be resistant to power failures. I would like to us... | I've worked in building a system for automation on boats, and there was a prerequisite: in every moment the power could go down and everything must boostrap again correctly. My solution was to build a Gentoo-based initramfs system, with only a rw folder for application and configurations (this is the approach used by e... | 22 | 14 | 11,047 | 2012-02-03T11:50:19.327 | data_quality | serverfault.com | |
523,882 | Asterisk console output 'no button pressed' on no DTMF input | I've got an outbound survey program, here is an example of what the survey does from the dialplan. [CODE] When no DTMF input is received the console prints a single line (no datestamp or id): [CODE] No matter what level I set in logger.conf, I get this message. That's fine, but I'm doing thousands of outbound calls, wh... | I believe what you are seeing is based on the verbosity level in the console. I'd start with doing "core set verbose 1" and increment it until you get the details you want without the details you don't want. | 2 | 0 | 390 | 2013-07-17T01:34:32.477 | infrastructure | serverfault.com | |
769,450 | restart php5-fpm from php script | Ok, this is a tricky one (I think) I need to reload php5-fpm from a php script The obvious issue is that once the reload command is executed, the current script is disturbed, I tried to delay the execution like so [CODE] but this does not help, the immediate nginx response is 502 bad gateway. FYI, i'm using php's [CODE... | Make sure the user running php has the sudo privileges to reload php5-fpm, then: [CODE] | 0 | 1 | 1,760 | 2016-04-11T11:11:06.877 | infrastructure | serverfault.com | |
642,426 | Adding a zone from a file via dnscmd - Microsoft DNS | I am trying to add a file backed zone on microsoft dns via dnscmd. I have a zone file in c drive, [CODE] Upon entering the command, [CODE] the zone is added correctly, the entry in boot file is, [CODE] the zone is added but the records in the zone are not the ones which are in the file, instead, the records are added a... | I got the answer to this, the zone file has to be in C:\Windows\System32\dns folder(which is the default working directory for dnscmd), and there should be a /load statement at the end on the /zoneadd command. Here's how, [CODE] This works. | 0 | 1 | 6,992 | 2014-11-06T08:56:03.220 | infrastructure | serverfault.com | |
903,643 | Error: "Your logon has expired. Please log on again to continue" When Accessing StoreFront Through NetScaler Gateway | My Citrix test environment is the following: One Windows 2016 VM acting as Domain Controller and DNS One Windows 2016 VM with everything from Citrix in it (XenDesktop 7.15) plus the SQL Server DB Two Windows 2016 VM acting as XenApp in my unique Machine Catalog, one for each Delivery Group (one for Apps, one for Deskto... | From my question, it was clear that the error was somewhere in the authentication passthrough from Netscaler to StoreFront. The following option what was missing was: Citrix StoreFront configuration page Manage Remote Access Settings Enable Remote Access Pick the Netscaler Gateway Found Citrix Article CTX204766 that pr... | 1 | 0 | 9,386 | 2018-03-20T18:14:24.473 | database_errors | serverfault.com | |
538,997 | Flush all messages in mailbox from Zimbra to another server | I have a primary Dovecot + Postfix mail server and a secondary Zimbra 8.0.1 server. The primary server went down for a week and all the incoming messages were delivered to the secondary server which has configured a "catch all" account. Now that the primary server is back online, I'd like to flush all messages on the "... | Use imapsync . [CODE] excerpt from website The purpose of imapsync is to migrate IMAP accounts or to backup IMAP accounts. IMAP is one of the three current standard protocols to access mailboxes, the two other are POP3 and HTTP with webmails (often tied to an IMAP server). | 1 | 2 | 693 | 2013-09-14T23:59:26.803 | infrastructure | serverfault.com | |
1,034,892 | Why is MySQL taking up all the space on my server? | I have a server with Ubuntu 20.04 LTS and MySQL 8 My system drive is normally around 11gb out of the 20gb available. For a week my database has used everything. Why is MySQL taking up all the space on my server ? Why the database went from 1.4gb to 14gb [CODE] and [CODE] | Those are binary transaction logs. You can purge them , but you should actually read into their purpose and make an informed decision about how many you should keep, based on the criticality of your data. You can control a lot of their behavior in the configuration options. | 0 | 3 | 1,183 | 2020-09-22T12:42:15.023 | database_errors | serverfault.com | |
951,379 | nginx proxy to apache - Remote IP not recorded | I have nginx terminating websites and proxying them to Apache with PHP-FPM. I'm trying to record the Clients IP in the apache log, but cannot seem to get this to work. nginx configuration [CODE] apache configuration [CODE] Apache logs always show 2.3.4.5 as the IP address of the client, which is the public IP address o... | You could try this solution: Apache doesn't log remoteIP when RemoteIPHeader X-Forwarded-For is present [CODE] Furthermore, log combined use [CODE] . Setting [CODE] , it tells to Apache to log the client IP as recorded by mod_remoteip ( [CODE] ) rather than hostname ( [CODE] ) For your reference: https://httpd.apache.o... | 2 | 2 | 4,001 | 2019-01-29T21:20:44.970 | infrastructure | serverfault.com | |
144,911 | Has anyone used uwsgi nginx and django for a high-load environment? | I was wondering if anyone has used uwsgi with nginx to serve a high-load django site before. If so, did they have any problems? | We did some tests and it seems that uwsgi just answers with one concurrent request per process. This is because uwsgi DOESN'T fork off another process or thread. If make your application fully asynchronous (you have to use "yield" as often as possible), you could use uwsgi async feature. This should make your app a lot... | 5 | 1 | 2,284 | 2010-05-25T00:46:24.200 | infrastructure | serverfault.com | |
8,619 | Is a ReplicaSet pulling a fresh image at every spin up? | I inherited an app without a ton of handoff information, and there's a Kubernetes setup with ReplicaSets and KOPS (and based on Docker containers). I am pretty new to Kubernetes Whenever one of the associated servers goes down, a cloned server is immediately spun up, which is working as desired. However I am looking to... | my understanding is that I'll probably need to modify the images pulled to do this. Yes and no. It depends on how your [CODE] - specifically the associated [CODE] - is configured. You can see the corresponding YAML configuration by doing [CODE] Which will give you information about environment variables, images used, v... | 1 | 1 | 100 | 2019-07-15T15:05:24.487 | api_errors | devops.stackexchange.com | |
942,303 | How to identify the server providing a DNS response? | TL;DR: Where, in a [CODE] will I find the name/IP of the server(s) which reply to the chain of queries? Details: I have a setup (Windows 10 machine) which is connected to a corporate LAN ( [CODE] ) and has an outbound OpenVPN connection in place (to [CODE] ) where the DNS requests are delegated to a local ( [CODE] ) se... | When you launch nslookup in interactive mode the server being used is listed as "Default Server". That is the server that is being used by nslookup. If you're looking for the upstream servers that the Default Server is using, you won't see that in nslookup. | 2 | 3 | 765 | 2018-11-30T11:36:15.773 | infrastructure | serverfault.com | |
16,340 | failed to acquire lease: subnet "10.244.0.0/16" specified in the flannel net config doesn't contain "192.168.0.0/24" | I'm trying to configure Kubernetes with web dashboard. I use these steps: [CODE] Remove following line from [CODE] [CODE] then run these shell commands: [CODE] I applied this configuration: [CODE] [CODE] But I get: [CODE] Do you know what should be the correct configuration? | I figured it out by reading the documentation: Take care that your Pod network must not overlap with any of the host networks: you are likely to see problems if there is any overlap. Flannel uses 10.244.0.0/16 and can't run on the same as your host... it creates new interfaces when implemented. So when you run this ini... | 0 | 1 | 956 | 2022-07-24T21:23:35.003 | bi_errors | devops.stackexchange.com | |
646,364 | screen command process id | First of all sorry for my bad english and i am new at linux. When i do this, it can write process id to pid file [CODE] And know i am using this command but it can't write to pid file [CODE] How can i get process id or fix this? Edit: [CODE] I want to write 4333 process id to pid file | Not 100% sure I understand your question, but lets try : $! would work from the parentshell, not from inside the child process $! is for a background process, screen is not exactly a background process Also screen -S will not detach the screen, you probably need more screen options you probably want something like [COD... | 2 | 2 | 6,513 | 2014-11-22T19:31:35.433 | infrastructure | serverfault.com | |
756,042 | How can I tell whether the system booted because of Wake-on-LAN (WoL) or because of the power button? | In Windows 10, I would like to know how I can tell in a script whether the system booted because it was turned on by receiving a Wake-on-LAN (WoL) packet, or because it was turned on because of pushing the power button. I did find the WakeUpType property of the Win32_ComputerSystem class. That is documented to return t... | My approach would be to use dmidecode which will read data from the BIOS, with something like dmidecode | findstr /R /C:"Wake-up" Similarly to feitingen's answer to this question If that doesn't work then your hardware must not be properly recording that value. | 12 | 2 | 5,563 | 2016-02-13T19:15:58.677 | infrastructure | serverfault.com | |
987,425 | unable to create t3 burstable instances with custom VPC | I created a custom VPC with 9 subnets, such that for 3 AZ I have 3 subnets (public, private, and persistence). It has the following configuration: VPC 10.100.0.0/16 Subnets [CODE] Everything seems okay, except I am unable to create any type of burstable instance within my VPC. In the AWS web UI, if I choose a [CODE] in... | The problem was that the VPC was created with a [CODE] tenancy, which is incompatible with [CODE] instances. I changed the tenancy to [CODE] and everything was resolved. | 1 | 1 | 805 | 2019-10-09T23:12:51.087 | infrastructure | serverfault.com | |
122,449 | mysql to postgresql, migrate files directly ( longblob > pg_largeobject ) | I'm working on a python(2.6.6.) script and I'm evaluating what approach to take to migrate files from mysql-server to PostgreSQL . I've read the following posts: How to insert (file) data into a PostgreSQL bytea column? How to migrate large blob table from mysql to postgresql? But in both cases large object interfaces ... | [CODE] takes a file path as argument and imports the file contents. As you want to avoid the round-trip to the file system, that function won't do. I haven't use Python/psycopg2 personally, but from a glance at the doc it appears the class you're looking for is lobject . It provides the usual read/write/close methods w... | 1 | 2 | 892 | 2015-11-30T11:59:41.320 | database_errors | dba.stackexchange.com | |
200,925 | Dollar Sign Blues: Javascript and PHP | I grew up programming C++ and Java where everything was safe and beautiful. Compilers made sure to keep me in check if I ever strayed. Of course, everyone did a little Perl in college, but I didn't inhale. Kids these days are all about PHP on the backend and Javascript on the front. In trying to be hip, I do the same (... | There is nothing wrong in using [CODE] in variables. I wouldn't do it on purpose on every variable, but it's still a valid syntax. jQuery is one of the examples where [CODE] is used as a variable name. That's also why "Chrome dev tools don't always see this is a Javascript error" , because there is no error in the firs... | 18 | 11 | 1,687 | 2013-06-08T21:31:13.740 | api_errors | softwareengineering.stackexchange.com | |
481,169 | Ethernet Adapter Bonding on Ubuntu 10.04 Issues | I have a few machines using which I am building a cluster. To improve performance we choose to use bonding on the Ethernet interfaces ( Each link is 1Gig). I have installed the ifenslave-2.6 module for Ubuntu 10.04 and I have configured the interfaces as well. The following is my configuration. [CODE] Also tried bond-s... | We use LACP /802.3ad for our bonded connections throughout our network; from our SAN (4xGigE + 2xGigE) servers (2xGigE) links to our inter-switch links (mixture of 2x and 4xGigE). You get both bandwidth aggregation and redundancy benifits -- and the main benifit for me -- it is a damn sight easier to manage than static... | 2 | 0 | 679 | 2013-02-21T16:39:43.257 | hadoop_errors | serverfault.com | |
555,743 | ENOENT errors when running npm inside vagrant shell provision | Have a project with the following [CODE] file: [CODE] Have the following [CODE] config: [CODE] [CODE] is most interesting and looks like this: [CODE] At the [CODE] invocation it fails miserably with the following random errors: [CODE] What the heck is going on here? If I do the [CODE] and run [CODE] there npm runs with... | Okay, I have found solution in here: https://askubuntu.com/questions/269727/npm-errors-when-installing-packages-on-windows-share I just have to use [CODE] . Would be glad to have an answer why . | 1 | 2 | 4,053 | 2013-11-18T14:51:46.080 | infrastructure | serverfault.com | |
310,730 | What is the ninja performance gap, why is it so large, and how can we overcome it? | According to this abstract : The "Ninja gap" [...] is the performance gap between naively written C/C++ code that is parallelism unaware (often serial) and best-optimized code on modern multi-/many-core processors. It appears that they are saying that a programmer who can skilfully handle concurrency can write much mor... | What is the "ninja performance gap?" A naive approach finishing many tasks might be to start one task, wait for it to finish, and only then to start the next task. Suppose one wanted to retrieve many networked resources. The naive approach would be to send a request for the first resource, wait for the request to compl... | 1 | 6 | 1,145 | 2016-02-22T04:53:57.700 | api_errors | softwareengineering.stackexchange.com | |
406,151 | User cannot book a room resource in Exchange 2010 | Im having a problem with a specific user not being able to book a room resource. No error message is generated at all. The user attempts to add the room as a meeting resource and it simply doesnt register with the resources calendar. I have tested the resource with other accounts and other rooms for this user but it is... | Can you try running this. [CODE] | 1 | 0 | 2,923 | 2012-07-09T19:07:26.830 | infrastructure | serverfault.com | |
4,848 | Is there a DBMS that allows the "= NULL" syntax? | Inspired by a StackOverflow question ( Why doesn't SQL support "= null" instead of "is null"? ). Is there a DBMS that actually supports the [CODE] syntax? | Some implementations of SQL do recognise x = NULL as equality, the ISO/ANSI standard on the other hand does not. In SQL Server for instance, SET ANSI_NULLS OFF results in (NULL = NULL) = true. [CODE] | 2 | 9 | 787 | 2011-08-19T22:14:35.900 | warehouse_errors | dba.stackexchange.com | |
75,520 | Error executing sudo command on CentOS 5.3 vps server | I have a very clean brand new install of CentOS 5.3 running on a vps hosted by linode. After installing the new OS, I did a [CODE] to apply recent patches. I then did [CODE] to install sudo (I was surprised it was not installed by default). I edited the sudoers file, and all went well. I log in via ssh as a regular use... | The error mentioned is due to the fact that CentOS by default doesn't have [CODE] compiled in to the kernel. The error is purely a cosmetic fault and can be safely ignored. I think that one can get rid of the error by compiling a new kernel (> 2.6.23) and enable auditd support by selecting 'CONFIG_AUDIT=y'. Also, updat... | 0 | 0 | 644 | 2009-10-17T16:56:45.963 | api_errors | serverfault.com | |
104,770 | Using precision as a metric - how to gauge if more TP's | So precision is calculated as tp/(tp+fp) But this doesn't seem to be a good way to assess a model as both of the below would give a result of 1? Binary Classification [CODE] Am I missing something here? Or is there a better metric for binary classification which would limit the amount of false positives while also prod... | Your example doesn't make sense without a gold standard, evaluation measures work by comparing predicted labels against true labels. To answer your question: precision is not sufficient on its own to evaluate a model, it's always used together with recall. And the two are often combined into F-score, indeed. Precision ... | 1 | 1 | 20 | 2021-12-04T12:58:33.310 | data_quality | datascience.stackexchange.com | |
63,414 | Keras - Implementation of custom loss function with multiple outputs | I am trying to replicate (a way smaller version) the AlphaGo Zero system. However, in the network model, I am having a problem. The loss function I am supposed to implement is the following: $$l = (z - v)^2 - \pi^T log(p) + c ||\theta||^2$$ Where: $z$ is the label (a real value between -1 and 1) of one of the two heads... | As you are mixing [CODE] with [CODE] and [CODE] with [CODE] , you could consider having different losses for each, and using [CODE] when compiling. Internally, it will add the result of each one in a final loss. [CODE] | 6 | 0 | 8,112 | 2019-11-19T17:42:52.047 | data_quality | datascience.stackexchange.com | |
695,783 | Apache 2.4 Virtual host apache.conf 403 permission & 404 document root access errors | I know this questions has been raised before, but I swear I have read through the other posts. I am using virtual hosts on Apache/2.4.7 (Ubuntu) server to host multiple wordpress sites. I have one site, SiteA which is running fine but SiteB (SiteBroken) is not running. I installed apache via apt-get and my config file ... | Changing ownership to www-data:www-data with r/w permissions for the folders hosting the content will allow the httpd process to write to this folder which, depending on the complexity of the application and it's security, might give a hacker a way to overwrite legit code with stuff of his or her own choosing. Likely t... | 1 | 1 | 4,566 | 2015-06-01T11:46:17.980 | api_errors | serverfault.com | |
154,918 | MongoDB 3.2.10 Index rebuilding did not complete: 11000 E11000 duplicate key error collection | MongoDB 3.2.10 Getting the following error when adding a replica set as WiredTiger. This is sharded cluster ( 3 shards nodes ). 2 Shards replica sets created using wiredTiger storage so only 1 shard is having a problem when creating the replica set. [CODE] I did not have issue when I was using mmapv1 replica set but no... | I have deleted all data from dbpath and again restarted replica set sync and it looks it is going fine now. I was trying to restart a failed replica set sync and it looks like MongoDB was not able to handle it, once I cleaned up failed replica set data and restart mongo and looks like it is passed point where it was fa... | 1 | 0 | 526 | 2016-11-11T01:00:16.820 | database_errors | dba.stackexchange.com | |
70,178 | Are Chrome Developer Tools an adequate substitute for Firebug? | Are Chrome Developer Tools an adequate substitute for Firebug? I'm learning how to develop simple web apps using Django. The book I have recommends installing Firefox/Firebug. I'm used to Chrome and wanted to know if I need to switch or if Chrome Developer Tools contain all the essential functionality of Firebug. | I'm a full time web-developer, and I use Chrome's Developer Tools on a daily basis. I have only ever touched Firebug a few times for debugging in Firefox. For the times I have used Firebug however, I felt as though the functionality was much the same. I played around with a number of different areas and found everythin... | 19 | 21 | 6,875 | 2011-04-21T12:47:37.323 | api_errors | softwareengineering.stackexchange.com | |
35,012 | Are there problems with using SQL Server AlwaysOn Availability Groups with Windows 2008R2? | [Cross post from StackOverflow ] Brent Ozar published this webcast ( slides , video with free registration) entitled "Real-Life SQL Server 2012: AlwaysOn Lessons Learned", in which he repeatedly states, with varying degrees of force, that using Windows 2008R2 with SQL Server 2012 Availability Groups is a bad idea Among... | We have multiple customers using SQL Server 2012 with availability groups on Windows Server 2008 R2. The fixes listed in the pre-requisites for implementing availability groups needs to be applied for Windows to ensure that you don't run into known issues. | 3 | 1 | 1,806 | 2013-02-19T10:53:46.873 | database_errors | dba.stackexchange.com | |
446,117 | smartOS HPC config suggestion | I'm configuring a brand new HPC server and am interested in using SmartOS because of it's virtualization control and zfs features. Does this configuration make sense for a SmartOS HPC, or would you recommend an alternative? System Specs: 2x 8-core xeon 384 GB RAM 30 TB HDs with 2x512GB SSDs Uses: - zfs for serving data... | Your server specs seem fine, but I don't know where you'll find 30TB drives (at least not in this decade). The ZIL does not need to be very big, certainly a 512GB SSD is a waste. You'd have to calculate the "optimum" size, but it's going to be in the 2-20 GB range typically. Take the fastest 'storage' drive in your zpo... | 2 | 1 | 471 | 2012-11-06T22:42:43.423 | pipeline_ops | serverfault.com | |
1,060,571 | PHP and Nginx on docker, curl get Connection refused in php container | I am working in a local environment with docker. I have an nginx web container and a php container which are in the same network. I build the php container from my own dockerfile (with phpfpm and phpcli); and, the nginx I compose it in a docker-compose from the [CODE] hub image. I have 2 projects: a symfony( [CODE] ) a... | I solved the problem by adding an alias in the network of the web container through which I can access from the php container. [CODE] and of course, I needed to add the url aliases in config nginx : [CODE] | 0 | 0 | 6,189 | 2021-04-16T08:01:31.143 | api_errors | serverfault.com | |
191,773 | Recommended technology for layered disk cache in linux | I originally asked this on superuser but it occurs to me it's more more of a server topic. I've just bought a 6-core Phenom with 16G of RAM. I use it primarily for compiling and video encoding (and occassional web/db). I'm finding all activities get disk-bound and I just can't keep all 6 cores fed. I'm buying an SSD ra... | Compiling: What is the point in writing anything but the binaries to disk? Use tmpfs completely for this and then move the compiled stuff to your disk. Video Encoding: I would suggest using rsync (in the mode that does transfer partial file differences) to tranfer files during encoding to disk. e.g. in a background loo... | 2 | 0 | 1,400 | 2010-10-17T08:13:59.490 | pipeline_ops | serverfault.com | |
142,164 | What is the "Find-Fix-Verify" pattern? | What is the "Find-Fix-Verify" pattern, as related to the process of doing editing/spellchecking/debugging, etc.? Where is this pattern best described? What are some advantages and disadvantages of this pattern? | It seems to be a workflow pattern for crowdsourcing, first described in this paper and used with some success by Zappos to improve the spelling and grammar of product reviews on their site. I guess the "pattern" is a simple division of labor: Have some people identify problems Have other people fix the problems identif... | 1 | 4 | 1,074 | 2012-03-29T20:44:12.383 | api_errors | softwareengineering.stackexchange.com | |
48,425 | Connect Orange 3.20 to postgresql database | I installed orange 3.20 on windows 7. It works so far, the problem is connecting it to a server-based Postgres database. While the connection can be made at the moment, when you try to load a table the message "missing extension quantile " comes up. A few problems are coming up with this message. It seems like it is no... | To summarize my linked answer. While you may be able to connect Orange to Postgresql, Orange does not handle large datasets very well (it will cause it to crash). Generally, it does not support datasets the size that you would be storing in SQL sized databases. Personally, I think Orange works, and is most effective, w... | 1 | 0 | 973 | 2019-04-02T09:11:58.413 | database_errors | datascience.stackexchange.com | |
737,356 | AWS, NodeJS - Connecting app to Mongodb on another EC2 instance | I am trying to connect my app, running on one EC2 instance, to MongoDB, running on another EC2 instance. I'm pretty sure the problem is in the security settings, but I'm not quite sure how to handle that. First off, my app's instance is in an autoscaling group that sits behind an ELB. The inbound security settings for ... | Your issue is that you are using the public elastic IP to connect to your database server from your other servers. This means that the connection is going out to the internet and back into your VPC, which presents the following issues: Security issues due to the data transmission not being contained within your VPC Net... | 1 | 1 | 1,378 | 2015-11-18T19:48:46.397 | database_errors | serverfault.com | |
545,499 | powershell not diplaying result properly | So i have the below script which basically 'imports' the log file from a robocopy task and then emails me the last 14 lines ( which are basically the stats at the end). However i cant seem to get the format correct. Here is the script : [CODE] So when the email comes through the original formating where it looks neat i... | Without a significant amount of detail about your mail client receiving the email and the servers that transport your email (any sanitation that may be happening), I'm gonna give two suggestions: Check whether your mail client is using a fixed-width font . Your console output likely uses a fixed-width font, whereas you... | 0 | 1 | 502 | 2013-10-11T20:09:30.807 | infrastructure | serverfault.com | |
32,027 | Should I be concerned about a high SMART Hardware_ECC_Recovered value? | I got such a message in [CODE] : [CODE] [CODE] : [CODE] Does it mean that the disk is failing and I have to replace it? Where can I read about the interpretation of S.M.A.R.T test results? | According to Steve Gibson of Spinrite fame, SMART values have to be taken over time, not as instantaneous readings. That means, a value of 47 isn't necessarily bad if the value has been 47 for months. However if the value was 42 an hour ago, and its climbing rapidly, then that means the drive is experiencing difficulty... | 20 | 19 | 38,120 | 2009-06-26T06:26:00.630 | infrastructure | serverfault.com | |
88,935 | Where to host my 4 asp.net websites - recommendations needed | I have 4 asp.net websites that use sql server 2008. I need some recommendations for hosting my sites. Each of them have at least one subdomain, I am running one web-service, and in some cases one windows service for each of them (and perhaps going to host dotnet facebook app). I would like to host them all at the same ... | You might want to give AppHarbor a look. Hostnames are configured by you, and we don't currently charge extra for adding additional domains. (disclaimer, I'm co-founder of AppHarbor) | 0 | 2 | 222 | 2009-11-27T23:58:14.557 | database_errors | serverfault.com | |
326,532 | AWS Aurora Mysql seemingly not picking PRIMARY or secondary index | Relevant System Info: Aurora Mysql 8.0.mysql_aurora.3.03 rg6.xl instances (1 writer, 2 read replicas) Total size:5.5TB (all databases combined, or just looking at the most recent Snapshot) I have been working on migrating mariadb databases deprecated tokudb engine to RDS Aurora Mysql. With some fine tuning of the param... | From the looks of the example query, my immediate suggestion would be a better index. I would adamantly recommend creating the following [CODE] So, the table would end up looking like this [CODE] Another alternative would be to reverse the order of the primary key columns with [CODE] producing this [CODE] Doing one of ... | 4 | 0 | 804 | 2023-04-27T21:34:27.173 | database_errors | dba.stackexchange.com | |
382,310 | How to engineer and test mission critical software? | TL;DR : My goal is to create some framework with which I could discover/test all possible internal states of my application so that I would approach with confidence for example engineering software for medical devices, airplanes etc... Let me first explain some context... I was watching interesting video on example map... | I've worked in places that produce life critical software. We do not "test all possible internal states". Instead we: Review all code before accepting it into the code base (see Peer Review & Security Review ) Test each side of every boundary in our state space (see Boundary Testing ) Test all paths through the code (s... | 5 | 13 | 551 | 2018-12-01T19:37:09.447 | data_quality | softwareengineering.stackexchange.com | |
700,453 | Can't mount my hard drive | When I try to mount one of my hard drives, it can't locate the folder with the hard drive. This is the output for the command [CODE] : [CODE] This comes when I run the command fdisk -l: [CODE] When I try to mount the [CODE] hard drive with the command [CODE] it gives me this message: [CODE] How can i fix this, so i can... | For the first question: When I try to mount the /dev/sda1 hard drive with the command mount -o barrier=0 /dev/sda1 it gives me this message: [CODE] How can i fix this, so i can backup all of my stuff? The answer is that [CODE] looks for mount points in either [CODE] or [CODE] , but none is configured for [CODE] . You c... | 1 | 1 | 5,765 | 2015-06-20T18:04:06.113 | database_errors | serverfault.com | |
215,862 | Percona pt-table-checksum output is in infinite loop "Waiting for the --replicate table to replicate" | We have following Multi master replication scenario. We are using Mariadb 10.1.34 and percona 3.0.11 Master: Name: db-master1 (192.168.14.5) Slave: Name: db-slave2 (192.168.15.5) Replica Connection name: master1 (192.168.14.5) [CODE] on slave server is working fine. On execution of following [CODE] command on DB Master... | On Master DB Server (i) For safe side, I made copy of original /bin/pt-table-checksum cp /bin/pt-table-checksum /bin/pt-table-checksumorg (ii) Open the /bin/pt-table-checksum file vi /bin/pt-table-checksum (iii) Go to line number 8590 Press esc, type 8590 , press shift g (iv) replace the line my @lagged_slaves = map { ... | 0 | 0 | 699 | 2018-08-25T14:41:19.087 | database_errors | dba.stackexchange.com | |
357,272 | EDB repair in SBS exchange 2003 | One week before in our HP PROLIANT ML370 G5 server with RAID5 one hard disk turned amber and we removed and it is working under degraded state until now. Yesterday morning our users in the domain complained that mails are not going from their OUTLOOK connected to our sbs 2003 exchange .All the users are configured with... | It sounds to me like you have hardware problems (likely more errors in the already-degraded RAID). The Information Store service isn't going to make the server "totally hang", no matter how "corrupt" the database files are. If the machine is actually hanging when trying to mount the Information Store you're not going t... | 1 | 2 | 495 | 2012-02-06T16:27:41.720 | data_quality | serverfault.com | |
63,639 | Can't take a write lock while out of disk space | Help me please! My C:\mongodb-win32-x86_64-2.4.6\data size is 8G. I have 95G free space of drive C. But I get this message: com.mongodb.WriteConcernException: { "serverUsed" : "/127.0.0.1:27017" , "err" : "Can't take a write lock while out of disk space" , "code" : 14031 , "n" : 0 , "connectionId" : 10 , "ok" : 1.0} Th... | The problem was that I used folder as a mapped drive on Windows. I've replaced link to the link with absolute path on the real hdd and problem has gone. It seems that mongo checks free drive space and compares its changes with created file size. I don't understand the reason for downvotes... | 3 | 2 | 4,178 | 2014-04-22T02:51:44.067 | database_errors | dba.stackexchange.com | |
231,091 | Recording maillog data for longer period of time? | I have recently had some problems sending emails from my server. When I looked at the maillog, it only goes back a day or two. Is there anyway to either increase the size of the log or archive the old data for viewing at a later date? This is on a Red Hat server. Any advice appreciated. Thanks. | Firstly, what's in [CODE] ? If you're running a normal RH box, there will be [CODE] or [CODE] , and some other similar files, which are made by logrotate. If you can confirm those are there, we can talk about how to configure logrotate to do what you want. Edit: OK, then you need to look in [CODE] for some entries rela... | 0 | 0 | 143 | 2011-02-04T11:20:12.903 | hadoop_errors | serverfault.com | |
299,647 | Do software patches ever modify an existing file or do they replace the whole thing? | Imagine a modern PC game for example. I'm using this example because typically the executable file is fairly large, and especially in modern games the resource files are also pretty big. Patching a resource file is fairly simple because depending on the file format it could just be a case of replacing one contiguously ... | Yes and no, both mechanisms work. The easiest way to patch a product is by replacing a component (eg a dll) with a new version of it. This usually requires the program to be stopped, so it's useful for a game or other program that is run occasionally but not so good for OS components. So various techniques have been de... | 5 | 12 | 2,100 | 2015-10-12T09:20:39.327 | api_errors | softwareengineering.stackexchange.com | |
1,053,627 | OpenDKIM reports "signing table references unknown key" (CentOS 8) | I'm attempting to configure OpenDKIM with PostFix on CentOS 8. I've set the following in [CODE] : [CODE] My [CODE] file is as follow: [CODE] [Edit] My [CODE] file contains: [CODE] [/Edit] My [CODE] file is: [CODE] I've generated my domain key with the following command: [CODE] I copied the contents of [CODE] , into my ... | Look at: [CODE] This returns empty, which is unexpected. Instead you have it under a different name [CODE] : [CODE] | 2 | 4 | 3,379 | 2021-02-14T17:14:02.847 | infrastructure | serverfault.com | |
615,715 | Trac notifications (smtp) and Postfix | I've two separate ubuntu 12.04 servers. Runs Trac (homeserver/Dyndns) Runs postfix (VPS/staticIP) I configured trac to use TLS and connect to postfix server. Trac config: [CODE] When I try to send notification, Trac says: [CODE] Postfix says: [CODE] postconf -n output is [CODE] Any thoughts what is happening here? | TEST: [CODE] [CODE] was working fine. It appears [CODE] and [CODE] are not functioning correctly. Trac seeing better methods was trying to use them, but faild. In trac there is no fallback mechanism. Temporary fix in [CODE] [CODE] Obviously this is not a good solution. Good one would be to fix CRAM-MD5 and DIGEST-MD5. ... | 0 | 1 | 550 | 2014-07-26T18:14:17.067 | infrastructure | serverfault.com | |
1,091,136 | Exchange 2013 PowerShell EMS not working | I get the following error when opening EMS on my local 2013 server (or remotely). EMS has worked fine up until recently and I'm not sure what caused the issue. I've read many articles and forum posts and none of the suggestions have worked. Thanks, Travis Error: [CODE] | I have figured this out. A binding got wiped out on IIS. I don't know why it didn't occur to me, but our internal DNS scheme is different than our external. I had to re-add the binding for the internal servername. | 0 | 0 | 1,406 | 2022-01-25T18:51:18.327 | infrastructure | serverfault.com | |
529,152 | Provide Internet To Two Networks One Connection | Currently we have one network set to 192.168.1.x and is set via DHCP providing internet to all machines on that network. Recently we've began development on programmable logic controllers that are on a 192.168.92.x network. The problem is that I need to have the controllers communicating to the internet. Could I just c... | Essentially you need a router, layer 3 switch or a computer with 3 network interfaces. Or, two, if you can connect that to a managed switch with vlan capabilities*. Beyond that, you either need to separate the two networks physically or use more switches with vlans. *look up the term 'router on a stick' | 0 | 3 | 104 | 2013-08-06T20:39:38.207 | infrastructure | serverfault.com | |
44,522 | Yum Update fails due to conflicting perl packages | Possible Duplicate: Yum Update fails due to conflicting perl packages I have a CentOS 5.2 i386 Production box with Qmail, LAMP etc now since it showed me that it could upgrade to 5.3, i downloaded all the packages using yum update However, the update fails due to perl packages conflicting I believe that while installin... | You can temporarily disable the repository, containing older version of your incompatible packages using --disable-repo=XXX switch where XXX is the repository name. | 0 | 0 | 199 | 2009-07-23T10:45:16.697 | database_errors | serverfault.com | |
581,033 | Centos 6.5 crashing with kernel panics | I recently built a small cluster for running Solr. The cluster consists of 12 Supermicro Blades running E3-1270V2 with 32GB of ram. 11 of these servers are running fine. One of them crashes on me constantly. When the server crashes it typically produces some output on the terminal. The first time it was: double fault: ... | I have had this type of experience with Nehalem and Westmere CPUs on HP ProLiant servers. In my case, the server would POST properly and recognize all RAM, but would generate machine-check exceptions tied to a particular slot after application load was applied. If you haven't already, please try isolating the issue to ... | 3 | 1 | 3,000 | 2014-03-10T14:11:00.963 | infrastructure | serverfault.com | |
441,222 | Multi-tenant monolith splitting - Handling interactions with third party apis | Background: I'm splitting a monolithic multi-tenant chat bot builder application. Each customer registers an API token for a third party API which their bot will run on such as slack/telegram/discord. They then use our service to code the "brains" behind the bots functionality. I have identified a number of microservic... | Unless I'm missing something, it sounds like you could feasibly keep all the keys in the existing database and have the separate microservices query it as needed. There's no rule that says a microservice has to have its own datastore. If you wanted you could also implement caching in each service to limit queries (if t... | 0 | 1 | 80 | 2022-09-23T19:19:22.790 | data_quality | softwareengineering.stackexchange.com | |
68,669 | mysql xtrabackup missing binary logs | It seems xtrabackup is not backing up binary logs, although it creates xtrabackup_binlog* with apparently correct information inside. Should the binary logs be copied manually beforehand or is this a bug? | When using [CODE] the binary logs aren't copied per file (but in one binlogfile). You need to restore this differently, see docs: Preparing a Full Backup with innobackupex . Or, with more extensive explanations: Percona documentation - Prepare with xtrabackup Percona documentation - Restore with xtrabackup In relation ... | 1 | 0 | 2,091 | 2014-06-20T11:28:01.587 | database_errors | dba.stackexchange.com | |
237,349 | "trying to connect via tcp://localhost:3306" problem with php mysql setup | I have installed the WAMp server on my windows XP machine. When I am trying to connect to DB it give the following error. [CODE] I have attached my list of active services. You can see that I no service installed at port 80. So, When i have installed the WAMP, I have to use http://localhost:81 for my root folder. My PH... | in mysql.ini file port was defined to 3307 I have changed it to 3306 and its works great. @symcbean : thanks for your time.. | 1 | 1 | 16,727 | 2011-02-18T16:54:18.127 | database_errors | serverfault.com | |
11,538 | SQL Server Cluster Failover Making DB Inconsistency Error | I encountered the following DB tables inconsistency error whenever I do a cluster 'move' over from Server-A to Server-B and then do a DBCC CHECKDB on the database in Server-B: SQL Server detected a logical consistency-based I/O error:incorrect checksum. It occurs during read of page(1:142) in dtabase ID 4 at offset 0x0... | After many trials and errors, the fault lies in NIC card of Server-B. After I replaced it, the cluster move-over operates smoothly without any DB inconsistency ;) However, I do not understand how a NIC card can cause DB inconsistency (a 'ping' to the NIC card works well) | 3 | 1 | 404 | 2012-01-25T09:53:03.613 | database_errors | dba.stackexchange.com | |
321,770 | Use table from another SQL 2016 instance | I have two SQL 2016 Enterprize instances, payroll and PP (Production planning); currently, I have an employee(Demographic) table in both instance databases, and now data is loaded in both instances' tables. I want to remove the employee table from PP and utilize the table from the payroll. 1)I decided to create the vie... | Reasonable options are -Move the Payroll and the PP databases in one instance; you'll have to scale the instance to handle the storage and compute requirements of both workloads. -Replicate the employee data between databases on separate instances. Make Payroll.Employee the master and copy all changes through ETL or Tr... | 0 | 0 | 44 | 2023-01-05T22:01:48.260 | warehouse_errors | dba.stackexchange.com | |
136,727 | Change Windows network share permissions using command-line tools | Can it be done without downloading [CODE] at all? | Have you looked at [CODE] and [CODE] ? (both in the [CODE] folder, at least on Win7) | 10 | 5 | 67,504 | 2010-04-28T17:54:28.753 | infrastructure | serverfault.com | |
37,184 | Communication link failure for some queries to linked server | I am seeing the following error in SSMS (server has Windows Server 2008 and Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 installed) when running some queries against the linked server, in particular long running queries. Simple selects from tables across the linked server work fine. This is a new issue that was no... | We disabled TCP Chimney Offload per the Symantec article and rebooted the servers and the issue appears to be resolved. The problematic SPs are no longer throwing the communication link failure exception. More info from Microsoft on TCP Offloading | 7 | 2 | 19,012 | 2013-03-20T23:28:55.843 | database_errors | dba.stackexchange.com | |
358,962 | SRP processing file line-by-line | I'm writing a class that read lines from a file, process them, store them in an accumulator and when it reaches a threshold bulk inserts in a SqlServer database. Like this: [CODE] But I can't help but fell I'm breaking single responsibility with the [CODE] class. It does too much: it reads the file, uses the accumulato... | Here goes my suggestion in the following code. I'm trying to solve the problems below: If I need to change the way of extracting the data (currently is from a file), I want to change only one class (no problem if additional class needs to be created); If I need to change the database or way of importing the data, I wan... | 3 | 2 | 186 | 2017-10-11T13:42:12.780 | api_errors | softwareengineering.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.