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,082,543 | How does RDMA transfer between two servers without the CPU? | I've been reading about RoCE and it talks about transferring data zero copy between the memory in one server directly to the memory of an application in another server. Most articles make a point to say this is done without involvement from the CPU. I don't understand how this is accomplished though. How does the data ... | I think you misunderstand "without CPU". It does not mean the CPU is not involved at all - it just means that the CPU is not doing the copying. It does - via drivers - the setup of the copy operation and then the hardware does the actual processing. Your link says so VERY explicitly - just read it: RDMA supports zero-c... | 2 | 3 | 383 | 2021-11-03T16:53:06.603 | infrastructure | serverfault.com | |
121,738 | Extract phrases/keywords that are SIMILAR to a python list of keyword/phrases, from a document | EDIT : If I had to match single worded phrases, I could first tokenize the text from the document and then calculate the cosine similarity of all the tokens with all the keywords from the [CODE] . But the issue is that I might have single worded or multi worded keyphrases present in the [CODE] . Even if I try to use [C... | You could use sentence transformer library to calculate the similarity between different phrases. It also works for multi worded tokens. [CODE] | 0 | 0 | 212 | 2023-05-25T07:08:58.643 | data_quality | datascience.stackexchange.com | |
35,703 | How would you deal with inf. or NA for rate or ratio as a feature variable | I'm trying to create a feature for a churn model (binary classifier). The feature is mean of sales growth rates for several months. But if I just take the mean of sales for several months, I often get NAN or inf. since sales are often zeros. I could impute some numbers like 0 or mean as the missing sales but I feel I'm... | Do you want to consider the missing sales values or not? If you do want to consider, impute them to 0. Or else, ensure that your mean calculation does not take them into consideration and only calculates mean over the other values. | 1 | 1 | 571 | 2018-07-19T06:20:57.923 | data_quality | datascience.stackexchange.com | |
46,203 | Training on data with inherently non-applicable data cells | I am training a model on a chemical sample dataset to find outliers and perform imputation where it makes sense . Chemical Dataset Contains thousands of rows of chemical mixtures with many columns of properties. Example properties : bromine content , density . Inherently non-applicable data The chemicals can be gas, li... | Welcome to the site! The usual approach to missing values is to handle them manually. There are a few algorithms which can do this automatically, such as LightGBM and XGBoost , but in most cases it's better for model performance to decide on how you should indicate that a value is missing in your data. For example in w... | 2 | 2 | 52 | 2019-02-25T14:03:02.307 | data_quality | datascience.stackexchange.com | |
35,686 | Blocked Vs. Incomplete Test Case Status | What types of things define whether you should mark a test case as Incomplete versus Blocked? i.e. no Data to use the Sorting/Filtering lack of Users with Correct permissions etc. I searched and only found one definition A test case that cannot be executed because the preconditions for its execution are not fulfilled. | What you have found pretty much clearly defines when to set [CODE] status for the test. You set [CODE] when something is blocking you from executing the test case. You set [CODE] when you set execution on pause/hold and then realize you do not need to continue. | 3 | 4 | 4,349 | 2018-09-18T23:33:46.327 | data_quality | sqa.stackexchange.com | |
41,471 | How to calculate $\phi_{i,j}$ in VGG19 network? | In the paper Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network by Christian Ledig et al., the distance between images (used in the loss function) is calculated from feature maps $\phi_{i,j}$ extracted from the VGG19 network, where $\phi_{i,j}$ is defined as "feature map obtained by th... | In section 2.2.1 of the paper, they state that they use euclidean distance. I'm going to take your word that there are 512 filter activations in that layer; if I'm reading this right, there aren't 512 feature spaces, there is a 512-dimensional feature space that they are calculating euclidean distance in. So your dista... | 3 | 2 | 149 | 2018-11-20T17:41:51.217 | data_quality | datascience.stackexchange.com | |
60,383 | Categorical features preprocessing for clustering | Can anyone tell suggest the best practice for clustering data with mixtured features (both with categorical and continuous). I am struggling with a problem; I realized that for all metrics algorithms it is necessary to scale continuous data before clustering, so I used [CODE] . With my categorical features, I used oneh... | Using Gower distance for the clustering. You can find different article about this measure in this and this article. Gower Distance is a distance measure that can be used to calculate distance between two entity whose attribute has a mixed of categorical and numerical values. Gower distance is computed as the average o... | 2 | 1 | 382 | 2019-09-18T11:40:19.047 | data_quality | datascience.stackexchange.com | |
194,774 | FastCGI Error when installing PHP on IIS7.5 | I'm trying to install MediaWiki on a Win2008r2 server, but can't manage to install PHP. Here's what I did: Grabbed a Zip archive of PHP and unzipped it into C:\PHP. Created two subdirs: c:\PHP\sessiondata and c:\PHP\uploadtemp. Granted modify rights to the IUSR account for the subdirs. Copied php.ini-production as php.... | This is caused by the lack of the VC9 runtime on your machine. You will need to install VC9 runtime from here . | 3 | 3 | 12,367 | 2010-10-26T09:07:07.850 | hadoop_errors | serverfault.com | |
1,088,413 | htaccess rewrite rule not working with file extentions | I have two domains setup on the same folder on a server. i.e. [CODE] I have an htaccess file in /var/www/public_html/domain123.com with the following lines: [CODE] This rule is working fine with any URLs that does not contain file extension [CODE] but doesnt work with any URL that contains a file extension [CODE] It's ... | The reason is the following block in nginx configuration: [CODE] This tells nginx to serve files directly with the mentioned extensions. Note, the list has [CODE] and [CODE] extensions. You should do the redirect inside nginx: [CODE] | 1 | 2 | 347 | 2021-12-28T21:26:46.150 | infrastructure | serverfault.com | |
264,957 | Should every job, SSIS project, SSRS have its own sql login | Apologies for asking an opinion type question, but I'd like to know what is best practice. I have a bunch of sql servers and every job as well as every connection manager for every SSRS report & SSIS project all use one login, sysadmin of course. I see it as a problem for two reasons: I would like every SSRS, SSIS etc ... | I have a bunch of sql servers and every job as well as every connection manager for every SSRS report & SSIS project all use one login, sysadmin of course. Since you asked for best practices, by using sysadmin like that you are breaking The Principle of Least Privilege which states that: [...] Administrative tasks are ... | 0 | 0 | 92 | 2020-04-14T11:43:51.307 | database_errors | dba.stackexchange.com | |
134,837 | MySQL is trimming my numbers and I can't figure out why | I've got a table with a bunch of decimal(12,2) fields that are supposed to hold money amounts. For some reason which I can't figure out one of them is trimming the value when either inserted or updated to a whole number. So if I enter in 2.2 into the PHP web form all that is saved is 2.00. It's not rounding because if ... | Sounds like your PHP code is converting the string to a integer and chopping off the decimal place. Possibly in the prepare statement. You could try binding the param as a string, or possibly a cast as a (float). Example PHP: [CODE] Will output 2 [CODE] Will output 2.9 I would just leave it as a %s string. | 4 | 1 | 235 | 2016-04-09T06:00:10.390 | database_errors | dba.stackexchange.com | |
289,054 | Mariadb concurrent insert not working for MYISAM tables | I am using mariadb 10.1.13. I have a large MYISAM table ( > 2000000 rows ) which used to have frequent 'INSERT' operations from multiple scripts. Recently I had to add a new 'SELECT' query to the same table as a part of another script , which is causing the 'INSERT' query to be locked. I used to 'DELETE' some of the ol... | Face it, MyISAM survives only because it uses table locks for almost every kind of write. Even a [CODE] can get caught up in the middle. The obscure exception has to do with multiple [CODE] that are inserting into a table with [CODE] [CODE] (and, I suspect, no other [CODE] keys). In that case, they can play around at t... | 0 | 1 | 503 | 2021-03-31T14:24:00.070 | database_errors | dba.stackexchange.com | |
105,125 | SQL SERVER Express Connection String for User Instances same on SQL Server Standard | So SQL Server 2005 Express edition has the following connection string by default, which enables user instances instead of Concurrrent Multi-User Access: [CODE] So my question is just simply is this the same for SQL Standard, or SQL Enterprise? I know the database development aspect, but implementing on a server, I am ... | No, that's an Express specific connection string. The AttachDbFileName directive is only supported by Express. For a comprehensive reference have a look at ConnectionStrings.com | 0 | 0 | 490 | 2010-01-21T18:25:38.210 | database_errors | serverfault.com | |
171,761 | Registering a co.za using private nameservers | I'm having some difficulty registering a co.za domain using my own name servers. I'm new to this so please excuse and newbie mistakes and questions. I'm using BIND 9.7.1-P2 and have followed all the tutorials I can find. But when I try register the co.za domain I get the following: [CODE] I did provide IPv4 glue record... | The issue is with your PTR records they do not exist for 41.185.17.58 41.185.17.59. [CODE] From what i can see that block belongs to web africa, you need to get them to deligate your part to you or create PTR records for you. [CODE] | 0 | 0 | 754 | 2010-08-18T09:36:22.193 | infrastructure | serverfault.com | |
847,608 | Setting up a BIND server to provide additional records | I've got a nice small VPS from OVH and two domain names (let's call them first.com and second.com). As OVH does not support DNSSEC and CAA records I was informed that I can set up my own DNS server to provide those records for first.com by directing second.com to the dns server (so far I'm right?). Now, I've followed t... | At your registrar, change the nameservers for the domain to point to the DNS server that you've set up. You'll want to list the name of it, not the IP address. | 1 | 3 | 345 | 2017-05-01T17:00:36.833 | infrastructure | serverfault.com | |
240,137 | mysql join tables query | I have 2 tables job and dn (layout below) and would like to join the tables if i use [CODE] I get (part,description,job_numbers,qty_ordered) but would like to join tables to include qty del and delivery note numbers as output (below). how would I do this thanks Job +---------+---------+-----+----------+-----+-----+----... | Here's one approach: [CODE] OP says that this is the result: [CODE] | 0 | 1 | 54 | 2019-06-08T16:32:02.637 | api_errors | dba.stackexchange.com | |
144,352 | Passing comma separated values to parameters in stored procedure | I have a requirement to retrieve data from a table based on the comma separated values sent in the parameters for stored procedure. As of now I have made the code work for one single value not sure how to make it work for multiple values. Sample table: [CODE] Test data: [CODE] Stored procedure: [CODE] Execution script ... | There are several ways of doing it. Changing the data model may also be a better option if you can do it. 1. Comma separated parameters If you want to stick with the comma separated string, you can find many string split functions online using CLR, CTE, XML, ... I am not going to put them all here and I won't benchmark... | 4 | 7 | 39,890 | 2016-07-19T17:32:48.360 | database_errors | dba.stackexchange.com | |
27,352 | Error - No Such Element Exception - when using ImplicityWait | Here is the code. I have attached the image of the error message: [CODE] In Java & they do not offer good enough answers: Selenium Webdriver: No such element exception even though element gets available after waiting for some time https://stackoverflow.com/questions/20903231/how-to-wait-until-an-element-is-present-in-s... | I recommend you switch from ImplicitlyWait to Explicitly wait for the element you want as detailed at http://www.seleniumhq.org/docs/04_webdriver_advanced.jsp Example: [CODE] | 2 | 1 | 883 | 2017-05-19T11:56:43.410 | data_quality | sqa.stackexchange.com | |
76,744 | Writing a view that caches to another table | I have a table [CODE] with columns [CODE] , [CODE] , and [CODE] : [CODE] And I just created a table [CODE] : [CODE] I want to write a view (or some other type of reusable function) called [CODE] that takes a [CODE] , [CODE] , and [CODE] as parameters and does the following: If there is a row in [CODE] with the given [C... | [CODE] A couple of warnings It's a bad idea to use names of basic functions ( [CODE] ) or data types ( [CODE] ) as column names. [CODE] includes lower and upper bound. Often, you would rather include the lower, but exclude the upper bound. There is a tiny chance for a race condition in the above function. To be prepare... | 1 | 2 | 105 | 2014-09-16T17:08:52.420 | database_errors | dba.stackexchange.com | |
6,146 | Best way to store large data set using R from Twitter? | I am working on a project that aims to retrieve a large data-set (i.e., tweet data which is a couple of days old) from Twitter using the twitteR library on R. have difficulty storing tweets because my machine has only 8 GB of memory. It ran out of memory even before I set it to retrieve for one day. Is there a way wher... | Find a way to make your program write to disk periodically. Keep count of the number of tweets you grab and save after that number is high. I don't write R but psuedocode might look like: [CODE] | 8 | 5 | 842 | 2015-06-18T18:23:07.763 | data_quality | datascience.stackexchange.com | |
90,010 | is this problem a multiclass case? | I'm trying to classify my textile design patterns (let's just think of it as medieval painting) what I understand of "multilabel classification" is like this: it outputs multiple possible result out of all those classes (let's say classes are of some artists, style and technique) so one example could be possible classe... | It is not a multiclass problem. It is a multilabel problem. Since, you have the clusters of classes you want to get. You just let the network predict multiple classes and segregate them afterwards. In this case, you will have single classification head. Other way to do it, is to separately derive multiple classes of ar... | 0 | 0 | 19 | 2021-02-27T02:33:37.180 | data_quality | datascience.stackexchange.com | |
327,487 | Deadlock while concurrently updating multiple rows on the same table | We have a database where concurrent kafka streams are updating multiple rows at the same time, We are seeing deadlock occur in very few cases and I am not entirely sure what's causing it [CODE] Output of [CODE] : [CODE] We also have a stored procedure that gets triggered every 24 hours to drop partition which holds dat... | Assumptions (for this Answer): Lots of one-row UPDATEs are done throughout the day. They use a 5-column unique key and change only a JSON and [CODE] . Data with [CODE] before 15 days ago should be purged. You never [CODE] new rows. (If you do, it seems like it would be combined with [CODE] into [CODE] With those, I rec... | 0 | 0 | 371 | 2023-05-24T19:34:15.767 | database_errors | dba.stackexchange.com | |
594,920 | apache wont follow symlinks | 403 permission denied | im using Ubuntu 14.04, and got problem with apache configuration: i created a Symlink in [CODE] (the apache DocRoot since Ubuntu 14.04) torwards [CODE] [CODE] [CODE] but [CODE] renders a 403-permission denied and in fact, [CODE] returns a permission denied too apache2.conf had following directive : [CODE] i changed it ... | When it comes to permissions, I think you got it backwards. Adding user [CODE] to [CODE] does not help, you should add Apache's user to [CODE] users group. Also if you changed only the group rights of [CODE] , that is not sufficient if [CODE] is inaccessible by [CODE] group. Make sure that users with [CODE] group can e... | 2 | 1 | 8,821 | 2014-05-13T23:29:06.297 | api_errors | serverfault.com | |
885,305 | Check manual page of check_sql always giving a warning status | I've installed OMD and activated the Check_mk interface and Nagios engine. It works like a charm except for one thing. I can't properly check my SQL. Here is what I've done so far: Created a new database with an owner. DB: omd User: omdadmin Table: omdtable 1st column: id (int) with value 1 2nd column: name (varchar) w... | I had the same issue and finally I found what was wrong. According to documentation: https://mathias-kettner.de/cms_check_check_sql.html the result from first column is parsed and final status depends on what script finds in that first column. In other words, you have always WARNING status, because you INSERTED '1' ins... | 0 | 1 | 558 | 2017-11-27T10:06:07.943 | infrastructure | serverfault.com | |
1,121,289 | Print Access Across Parent-Child Domains | I am running a Parent/Child domain for a number reasons. I have a printer server that accessed the Parent domain on VLAN 2 and the Development domain on VLAN 3. The printers are on VLAN 2 and users on VLAN 2 print without a problem through the print server. For the printers users on VLAN 2 and VLAN 3 have "Print" permi... | Found the issue. Our device control software did not have the permission on the print server to pass the print jobs. Gave it that permission and now it works! | 0 | 0 | 84 | 2023-01-27T13:34:47.383 | infrastructure | serverfault.com | |
1,152,002 | Why pickup service needs wake up from Postfix master? | The Postfix master.cf file contains a definition to wake up qmgr service: [CODE] From qmgr man page , "awaits the arrival of incoming mail and arranges for its delivery via Postfix delivery processes." that's true, I see how the mails are moving along incoming and active queues as soon as they arrive. But why is it nee... | After enabling verbose "qmgr -v" the log print more insights, the process seems to wake up at the schedule time defined on master.cf: [CODE] And when a new mail arrives, the qmgr spin up and inserts the named message file into the active queue. [CODE] So i can confirm the idea proposed on the postfix mail list I don't ... | 0 | 0 | 39 | 2024-01-22T10:18:30.610 | infrastructure | serverfault.com | |
143,560 | Why the deadlock in this scenario? | I was going through the examples of deadlock exceptions online and found this link As I understand, here we have two processes (session 1 and 2). The first one acquires lock on pd1, and second acquires on pd2. Then after that, first one want to read from pd2 and second one from pd1. What I dont get is that why do we ha... | Sybase ASE uses blocking locks for transaction isolation, meaning that readers block writers and writers block readers (unlike other databases which use versioning so that writers don't block readers and vice versa). So each SELECT is blocked by the exclusive lock taken out by the earlier UPDATE on the table it is sele... | 1 | 3 | 937 | 2016-07-12T04:49:51.350 | database_errors | dba.stackexchange.com | |
885,036 | Sonicwall dropped packet Drop Code: 702(Packet dropped - Policy drop) | I'm seeing these error messages in my SonicWall firewall (SonicOS Enhanced 6.2.7.1-23n): [CODE] I've googled the heck out of all combinations, but I can't seem to find what this is. I see max of 404 code, and no explanation how to trace this drop to the policy. What's more mysterious, (this is SIP protocol) it allows t... | Holy thread revive...Leaving this in case other come across this issue in the future. I saw this when setting up remote client with SSLVPN. Set ALL allow from SSLVPN to LAN subnets. Client side would connect but would pass no traffic. Packet capture showed same drop message. After wiping and reconfiguring, the SSLVPN t... | 1 | 1 | 11,358 | 2017-11-24T15:25:02.597 | infrastructure | serverfault.com | |
965,244 | Strongswan IKEv2 vpn on Windows 10 client "policy match error" | I have the newest version of Strongswan vpn on my ubuntu server running. I followed this tutorial here and got it to work on my android and Iphone. Now I want to get it to work on my windows 10 laptop but when I try to connect via the vpn settings in windows I only get a "policy match error" and the event view gives me... | The problem is most likely that the Windows client proposes a weak Diffie-Hellman (DH) group (1024-bit MODP). That group is not used anymore by strongSwan unless the user configures it explicitly. You have two options: Configure Windows to use a stronger DH group. This can be done either via Set-VpnConnectionIPsecConfi... | 9 | 18 | 32,797 | 2019-04-30T10:02:50.073 | infrastructure | serverfault.com | |
1,142,279 | Best practice on deploying MSIs via group policies: from dedicated share or from the AD itself? | For years I have been using GPOs to install MSIs to our Windows clients. All MSIs resided under a single [CODE] , with a GPO assigned to each MSI for installation. Currently, out AD servers are Windows Server 2019 systems (DFS-R for replication). Since we have a number of remote offices that had had local AD servers, I... | Generally, SYSVOL should be avoided as a file share for deployments. The share is required for AD to function, and combining it with other uses can lead to situations where there is an outage. Exceptions may include the installer for your Configuration Management solution or RMM tool to provide minimal management funct... | 4 | 4 | 321 | 2023-08-24T06:19:36.633 | database_errors | serverfault.com | |
219,505 | Using a function's return value as an if condition, good practice? | Do you think it is a good practice to use function return values as if conditions? I'm coding in PHP atm but it holds for many other languages. [CODE] or [CODE] I can't think of a situation where the first one creates a problem, can it? EDIT: Assume return value is not going to be used after condition is evaluated. | In the code you posted, there's no reason to store the function result in a variable before using it. (Unless perhaps the name of the variable is sufficiently meaningful that it makes the code clearer to the reader.) On the other hand, if you need to refer to the value more than once, you should probably store it in a ... | 7 | 18 | 5,315 | 2013-11-26T03:11:15.370 | api_errors | softwareengineering.stackexchange.com | |
256,688 | Indexing only for most recent entries in PostgreSQL | Consider the following table: [CODE] In this table, most requests are not done to the [CODE] column, but to the [CODE] and [CODE] , which is a 64-bit timestamp (no 2038 Bug): [CODE] The table grows by the minute, but that is not the problem, but rather, the records for the [CODE] in the current month are most accessed ... | The index type you are looking for is Range Type | 3 | 0 | 1,488 | 2020-01-03T21:16:44.460 | database_errors | dba.stackexchange.com | |
82,467 | Should old servers be retired | I have servers which are still running well but are over 5 years old. They are still doing the job perfectly and there will be no advantage to upgrade the servers, should I just let them run forever or should I schedule maintenance to replace the servers, or parts thereof, with new hardware? I fear that a server failur... | Here's a previous question and answers: Do you continue to use your end-of-life server/network equipment? And another one: How often does your company replace all its servers? At 5 years, for what sounds like mission-critical functions, I'd start looking at replacement even if they're working fine. But since they are w... | 12 | 11 | 4,594 | 2009-11-07T08:55:56.140 | pipeline_ops | serverfault.com | |
825,422 | How to host an email gateway/firewall for OVH MX solution? | We have our emails hosted on OVH.com using their MX plans. It happens that we want to limit the subscriptions/spam/unwanted mails received by our enterprise's mails. To add OVH premade spam/virus mail filter, you only need to add dedicated MX records (i.e. mx1.ovh.net). My idea would be to host my own email gateway to ... | Solution picked: Postfix configured as relay Postfix relay_domains and mynetworks set to your email domain Postfix smtp_sasl_auth_enable set true and sasl enabled Header check enabled, put all "received" mails to "HOLD" status/queue Use postsuper and postfix to get the emails information and move the legit mails to act... | -1 | 0 | 318 | 2017-01-10T20:41:36.270 | infrastructure | serverfault.com | |
717,901 | Risk of compromised Amazon SES SMTP Credentials? | I host www.foo.com for a client. The website sends emails via postfix which has my Amazon SES SMTP Credentials configured and my SES has [CODE] as a verified domain and this all works fine. Now the client wants to send emails from her gmail account as [CODE] (using gmail's "add another email address that you own" featu... | Set up a separate AWS account for your client, preferably billed directly to them. Problem solved. | 0 | 3 | 863 | 2015-08-31T01:55:34.980 | infrastructure | serverfault.com | |
130,707 | How early is too early to be involved in new feature development? | I develop an internal business application that our engineers use to test and debug the company's product. The engineering manager has been pushing to get the software developers involved when the engineers are in their design phase. He says that he wants to give us an idea of what's coming down the pipe, and give us t... | There's no general rule, it's always a tradeoff. On the one hand, involving SW engineers early may mean a lot of wasted work for them, because they discuss and think about problems that turn out to be irrelevant. On the other hand, involving SW engineers early allows them to give feedback about the relative complexity ... | 6 | 5 | 349 | 2012-01-18T15:08:35.323 | api_errors | softwareengineering.stackexchange.com | |
374,487 | MySQL com_select? | I'm looking to tune my query cache a bit. According to 7.6.3.4. Query Cache Status and Maintenance in the manual: The Com_select value is given by this formula: Qcache_inserts + Qcache_not_cached + queries with errors found during the column-privileges check However in 5.1.5. Server Status Variables it suggests that th... | The command [CODE] is at the session level. You probably want the server level. Try [CODE] | 3 | 7 | 3,670 | 2012-03-28T17:00:56.867 | database_errors | serverfault.com | |
301,091 | Why are all my other 301 redirects working except these 2? (NOT a query string) | I've got a list of over 100 redirects, nearly all of which seem to be working except for two. I'm using the common format for a htaccess 301 redirect: [CODE] Near as I can tell, there's nothing wrong this one. The ones I'm having problems with are these two: [CODE] I've read about problems with query strings, but that'... | Are the others working for you? I've tried a handful, and each one that I've tried under [CODE] has thrown my browser under [CODE] . [CODE] becomes [CODE] . The culprit is your last line: [CODE] The [CODE] directive is based on prefix matching. As the documentation puts it: [CODE] This last rule catching all of [CODE] ... | 2 | 0 | 215 | 2011-08-15T02:42:56.477 | infrastructure | serverfault.com | |
469,388 | Install IIS 6 Management Compatibility on IIS 8 / Windows 2012 | I cant access IIS server from console application because i need to install 6 Management Compatibility. I fixed this error on Windows 7, since its easy to find how to install 6 Management Compatibility. Where and how i can do that on Windows 2012 / IIS 8 ? | In Server 2012, go to Add Roles and Features. If you have not installed the Web Server Role, be sure to select that from the Server Roles section. When you get to the Role Services page for the Web Server Role, you will have the option to select IIS 6 Management Compatibility. | 8 | 11 | 35,380 | 2013-01-15T19:22:04.843 | infrastructure | serverfault.com | |
752,625 | bind9 with $GENERATE in PTR records and a lots of 'ignoring out-of-zone data' | I have a next issue. I have subnet 92.222.0.0/17 and I rule reverse records of it. Definitions of zones are the next: [CODE] In this single file I have a lot of: [CODE] In them I put a lot [CODE] All is wokring fine exept starting of bind and checking file zones with named-checkzone. In log file I have [CODE] So for ev... | The issue is not specific to reverse zones or [CODE] , rather general for any case where there is data that belongs to some different zone in the zone file specified for a given zone. Simply have one zone file per zone and this should not be an issue. | 0 | 0 | 1,661 | 2016-01-29T10:51:04.310 | infrastructure | serverfault.com | |
751,305 | how to stress test an apache proxy | I've a EC2 instance acting as a proxy for a webserver that are in other region. This setup works great at the beginning but then, some users start receiving [CODE] I guess the connection was resetted, so I added a changed in the configuration file of apache: [CODE] Now, I would like to try to reproduce the problem agai... | I use Siege . Make sure you turn on benchmark mode to really stress it. In the /etc/siege/siegerc file use [CODE] As well as setting up how many concurrent users you need, and such Here's the important parts of the config file, at least for me [CODE] And here's the command line. Note that you of course need to provide ... | 0 | 1 | 1,511 | 2016-01-24T01:11:02.947 | infrastructure | serverfault.com | |
138,187 | How to find the specific file in a filegroup in which an object resides | Today, I encountered below error on one my SQL Server which I manage. Could not allocate space for object '%.*ls'%.*ls in database '%.*ls' because the '%.*ls' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrow... | All of them had at least one file with auto-growth enabled and disks hosting them had enough free space available. So then why my index maintenance failed? As it says in the product documentation Reorganize and Rebuild Indexes : (emphasis added) The [CODE] statement requires the data file containing the index to have s... | 5 | 4 | 1,911 | 2016-05-11T07:36:14.550 | database_errors | dba.stackexchange.com | |
91,018 | Tracing email on Windows Server 2003 | I have a website that I run together with a contact form on it. It runs on a Server with Microsoft Server 2003 installed on it. Now everything seems to work 100% when submitting the form, no error messages come up. This used to work in the past but not anymore, did not make any changes. Is it possible to check on the s... | If the machine is running the Microsoft IIS SMTP server, you can turn up logging (assuming it's not already turned on) and review the logs it generates. Configuring the SMTP Service The logs for the default SMTP server instance will be located in the %SystemRoot%\System32\Logfiles\SMTPSVC1 directory (typically "C:\WIND... | 1 | 4 | 114 | 2009-12-04T10:51:18.733 | infrastructure | serverfault.com | |
675,820 | How to see what Windows registry and file system changes happened after a software install? | I'm solving a problem - I'm installing software on Windows and it makes the system unstable for some reason. Windows starts crashing soon after. I want to know what changes it made to the registry and also to the file system. Does anyone know a tool that I can use to snapshot state of the file system and registry? Like... | Here are some ideas. Ive used regshot before and it worked well https://www.raymond.cc/blog/tracking-registry-and-files-changes-when-installing-software-in-windows/ | 3 | 2 | 6,127 | 2015-03-16T13:18:22.580 | infrastructure | serverfault.com | |
1,109,490 | Ethernet connection disables WIFI | Our company makes a 3d printer built around a Jetson Nano. The printer connects to the internet using a wifi dongle, but for the initial setup the user must connect to the printer using an ethernet connection to one of their devices. The printer is running dnsmasq-base so that when the user navigates to http:// they ca... | The problem is that when they connect to the jetsonNano via ethernet it disables the Wifi on their host device. And routes all traffic through the printer! and until the printer's wifi is setup they lose all connectivity. By default, [CODE] reports the host on which it is running as the default route. That means when y... | 1 | 1 | 122 | 2022-08-30T16:46:22.953 | infrastructure | serverfault.com | |
828,276 | cat /dev/zero | pv > /dev/null | [CODE] What exactly happens here and what determines the speed of this process. Even on low end hardware you get a couple of GB/s transfer speeds like this. | [CODE] gives you a stream of zero-characters. When you open it and read from it you're using the kernel. The kernel implements [CODE] in drivers/char/mem.c . As far as [CODE] or [CODE] is concerned this is nothing special. Choosing to use [CODE] is no different from reading [CODE] . The only difference is that you're r... | -2 | 2 | 3,094 | 2017-01-24T13:53:27.923 | infrastructure | serverfault.com | |
630,927 | How can CMAN restart after a network failure | I try to configure a 3-nodes HA cluster with pacemaker/cman on centos 6.5. STONITH is disabled ( [CODE] ). When I simulate a network issue ( [CODE] ), the master resource is moved to another node, and is stopped on the failed one. When I enable network again ( [CODE] ), the failed node can't automatically join the clus... | The idea here is that you want cman to be killed if it looses contact with the cluster. This is referred to as "fencing". During this time, the node will drift from the rest of the cluster. If it were to simply come back into production without review, you could get some rather serious corruption or undefined behaviour... | 0 | 0 | 864 | 2014-09-24T15:38:01.657 | infrastructure | serverfault.com | |
1,080,951 | Apache reverse proxy with self-signed certificate | I run a Unifi hardware appliance which comes with a self-signed certificate, issued on [CODE] . For my current setup, it's not an option to import a certificate on the appliance directly for several reasons, so I tried to get rid of the invalid certificate message of my browser by using an apache2-based reverse proxy w... | This worked for me! Requirements: Apache Tomcat on :8443 with self-signed key Apache HTTPD with Reverse Proxy to localhost:8443 Tomcat Apache HTTPD REQUIRES Client Mutual Authentication. If that is not a requirement for you, then set: SSLVerifyClient none Apache HTTPD will pass along the X.509 identity of the caller th... | 3 | 2 | 15,190 | 2021-10-18T20:47:17.183 | infrastructure | serverfault.com | |
990,560 | How do I delete Google Managed Certs from the Console? | I have old and unused Google Managed Certificates on HTTPS Load Balancer. I want to delete them since we are limited to 15 and I think old certs may be causing problems with browser clients. How do I delete old certs from the console? I don't want to install google command line software on my workstation. Thanks. | In the left panel of the Edit HTTP(S) load balancer page, click Frontend configuration. In the right panel, click the X next to the certificate resource you want to delete. Click Done. Full article: https://cloud.google.com/load-balancing/docs/ssl-certificates#delete-ssl-cert-resource | 1 | 2 | 2,043 | 2019-11-04T20:35:29.460 | infrastructure | serverfault.com | |
111,973 | Cannot login to Openfiler if the Active Directory controller is down | I am in the middle of trying to resolve a problem with Openfiler when it is linked to Active Directory. I have a Server running Openfiler 2.3 x64 and another Server running Windows Small Business Server 2003. I have integrated Openfiler with Active Directory so that the shares are only accessible to users from Active D... | I don't have a direct answer for you, but how often is your SBS down? If this is a frequent occurrence, you should: 1. Remediate the reason for the frequent downtime 2. Install a second DC. I understand that SBS will allow additional DCs in the domain, they just can't hold any of the FSMO roles. In small offices, I've ... | 1 | 3 | 1,429 | 2010-02-11T16:09:48.150 | infrastructure | serverfault.com | |
673,451 | logrotate syntax error near unexpected token `20' | I cleared out my apache logs last week and now started to get these errors. Any ideas how I can fix this? [CODE] File: /etc/logrotate.d/apache2 [CODE] | You should review your find command, in particular this [CODE] I'm not sure that is proper syntax. Are you redirecting a file named '20' into the find? | 0 | 2 | 650 | 2015-03-06T09:35:57.123 | infrastructure | serverfault.com | |
180,972 | Designing entities to be self-manageable | Although this is a gamedev project, the question is about general OOP practices, so I believe it goes here. Here's the problem: (note: I will call any equivalent of real-world physical objects "entities" from now on; e.g. a rock in the game is an entity) A specific class: [CODE] Inventory functionality is self-containe... | Are there any advantages to the 2nd way? Absolutely, you're not repeating yourself. [CODE] is just going to call [CODE] anyways. Worse, it is going to also know enough of the item to have to dispatch to the different things that care about it. A better approach is to create your stats class with input as to where it ca... | 2 | 1 | 290 | 2012-12-29T21:50:30.793 | data_quality | softwareengineering.stackexchange.com | |
502,523 | fresh installation of IIS 7.5 ignores <system.web> in my web.config | I have deployed a web application as usual, but on already installed and running Windows Server 2008 R2 with IIS 7.5. On all machines until now the application works fine, but here an entire [CODE] section from my [CODE] is not used at all. We use it to specify some settings, like [CODE] , enable Role Manager etc (debu... | Might seem like a basic question, but is ASP.NET installed? Do basic ASP.NET pages work, what you are describing doesn't seem like an IIS issue as much as configuration. | 0 | 0 | 89 | 2013-04-25T10:40:05.970 | infrastructure | serverfault.com | |
330,636 | Qmail SMTP Whitelist & SMTP Authentication? | How can I get qmail to work with both an smtp whitelist and smtp authentication? If my IP is whitelisted, SMTP authentication does not seem to work (error: "the server does not support SMTP password authentication). This is particularly annoying when using our SMTP server on a roaming device, eg. an iPhone. As soon as ... | If you have the option, install something specifically as a Mail Submission Agent (MSA) for authenticated SMTP mail submission listening on port 587, and have that forward mails to your qmail MTA for subsequent delivery. | 1 | 1 | 1,113 | 2011-11-14T02:07:43.790 | api_errors | serverfault.com | |
222,850 | Table design to support pending changes | I have a [CODE] table. Users can belong to a group. For them I have a [CODE] table, with id, title and description. Now, any changes in the group table must be approved by an admin. So, I need a (preferably fast & easy) way to handle both live and pending group data. I thought about having a [CODE] field in the group t... | The pending table is a better concept. It only gets used to create and approve pending elements. Approval is a transaction: [CODE] This will simplify the lookup logic so you don't need [CODE] in every other SQL query. | 0 | 0 | 634 | 2018-11-19T07:38:07.350 | data_quality | dba.stackexchange.com | |
1,131,779 | Docker compose gitea remote ssh connection refused | I have setup Gitea on an Ubuntu server using this docker-compose config: [CODE] My regular ssh service runs on port 1026, so should be no port conflicts, here is my UFW [CODE] When trying to connect from a remote machine with ssh as a test: [CODE] However testing locally on the server, over ssh on port 1026, I get this... | I managed to fix this with information from here: Docker breaks libvirt bridge network Basically I added the following rule to ufw: [CODE] | 0 | 0 | 428 | 2023-05-23T22:22:26.167 | pipeline_ops | serverfault.com | |
358,312 | Does it make sense to place constraints in the code instead of in the database? | I've recently joined a project that uses a database model which is, to me at least, unconventional. Every column, except the primary key, is nullable. Instead, the constraint is enforced in the code used to access the database. The reasoning of the developers is that it's more flexible to do so, and since the REST API ... | Of course it's more flexible to allow everything. Arguing against this is a losing game. The point of constraints, types, information hiding etc. etc. is that we've slowly and painfully realized that total flexibility isn't good for us . We're too error-prone to assume that much responsibility, and we're too bad about ... | 3 | 9 | 513 | 2017-09-29T10:46:46.933 | data_quality | softwareengineering.stackexchange.com | |
271,008 | Table partitioning on OLTP | On SQL Server 2017 Std, I have an SSIS package that runs once a day on a 24×7 mission critical operational database to archive the largest transactional tables. The data is moved to tables on a separate archive database and the process runs smoothly with minimum locking contention on the live db (deletes are spread thr... | With partitioning you have a couple of additional options. Switch older partitions to a separate table in the same database. Query is still not transparent, but advantage of is primarily that a partition switch is a metadata-only operation, only requiring a brief schema lock and not generating a significant amount of l... | 0 | 1 | 345 | 2020-07-15T16:15:53.043 | hadoop_errors | dba.stackexchange.com | |
17,029 | Cannot output MySQL data to file | I am trying to output the data from an MySQL table to a file but getting permission errors: [CODE] If the directory in question is chmodded to 777, then why cannot the MySQL user write the file? Interestingly enough, I cannot write to /tmp/ either. EDIT: It looks like the DB user has the proper MySQL permissions: [CODE... | According to MySQL Documentation on SELECT ... INTO OUTFILE Any file created by INTO OUTFILE or INTO DUMPFILE is writable by all users on the server host. The reason for this is that the MySQL server cannot create a file that is owned by anyone other than the user under whose account it is running. (You should never ru... | 14 | 12 | 64,411 | 2012-04-24T02:36:44.933 | database_errors | dba.stackexchange.com | |
110,544 | SQL Server restore database with active connections | I am trying to run this SQL script on a SQL Server instance to restore a test database to a newer copy of the live database. [CODE] However, on running the script I receive the following error. Msg 3101, Level 16, State 1, Line 5 Exclusive access could not be obtained because the database is in use. Msg 3013, Level 16,... | You must switch to single user mode: [CODE] | 12 | 20 | 31,262 | 2015-08-10T09:38:21.277 | database_errors | dba.stackexchange.com | |
26,741 | How to make a selection from a dropdown using Selenium/Python | I've been trying to make a selection from a drop down but cannot seem to figure out how. Here's what I'm trying to get: [CODE] I would like to set option 0 as my value. I'm trying to get the value using: [CODE] For this given example, it says that the element is an input, not a select object, when it try to use ng-vali... | This is working for me using UI's Select option. e.g.: [CODE] Documentation here and some credit to Daniel Abel here . I'm a bit concerned your error may be coming from somewhere else as the error you're getting is selenium unable to find an element with the class of [CODE] , which isn't included in your example seleni... | 7 | 3 | 58,559 | 2017-04-12T22:12:09.443 | data_quality | sqa.stackexchange.com | |
158,402 | How to make SSRS 2005 run fast in general? | Are there any general rules/tips which we can use to run Sql Server Reporting Services 2005 reports faster? I have been tuning the Tsql behind the reports but does there exist any SSRS specific performance tuning? regards Manjot | SSRS is pretty slow when it comes to generating reports. The T/SQL tuning is about the best you can do. | 1 | 1 | 1,571 | 2010-07-07T23:21:08.590 | database_errors | serverfault.com | |
1,127,442 | FreeIPA authentication issues across high latency link? | We recently setup a FreeIPA server. We're using it for central user management, DNS, and CA. It's been working great with one exception. Some of the workstations that authenticate with this FreeIPA server are several thousands of miles away. Round Trip Time is about 300 ms. We've noticed some unpredictable authenticati... | Holy crap! I've found the problem. Without going into too much detail, essentially someone had created a crontab that is triggering every 2 minutes. The crontab entry kicks off a script that checks the state of the sssd service and restarts it if it's in a hung or weird state. However, the script is evaluating the stat... | 1 | 0 | 221 | 2023-03-29T16:25:52.030 | api_errors | serverfault.com | |
993,067 | How to access free internet through a server | I have an internet connection which is limited to only connect to some local servers in my area. In this area, I own a server which access is wider than my internet connection and through this server, I can SSH another server which is located in Finland. I use Ubuntu 19.10 on my personal laptop. Both these two servers ... | As @davidgo has commented and linked this solution, it worked for me and now I have free access to everywhere. Solution: I ran this command on my terminal: [CODE] And ran this command on my local server: [CODE] And now as I google 'my ip', it shows me a Finnish IP. | 1 | 2 | 1,791 | 2019-11-24T00:48:17.363 | infrastructure | serverfault.com | |
169,207 | Can I have notifications/alerts sent by IM to a Skype account from a headless machine? | I want to make my network monitoring system send IM alerts, and the IM client of choice at my workplace is Skype. Is there a command-line driven API, that doesn't require the GUI Skype client, so I can run it on the Linux machines that run my monitoring? Alternatively, is there a Jabber-to-Skype gateway that would solv... | According to common wisdom, including this SuperUser post , Skype has not been reverse engineered, and they do not offer a command-line only client. There are a number of options for controlling a GUI client from the command line, including Skype4py and skype-command-line (Java) . | 2 | 1 | 1,906 | 2010-08-11T10:57:06.347 | pipeline_ops | serverfault.com | |
62,501 | Get elements from lists in pandas dataframe | I have the following column of a data frame: I get it by doing [CODE] . and I would like to consider only the first 20 and the last 20 elements of each list. Is there a way to do this? I have tried to do the following: [CODE] but i get the following error message: [CODE] can somebody help me? Thank's in advance. | You logic is correct, it's just the lambda function that is slightly wrong. [CODE] adds a single element to the end of the list, so in your case I guess it adds an element which is a list of 20 elements. You could either use [CODE] instead, which will do what you want or you can simply write [CODE] | 2 | 2 | 1,700 | 2019-10-31T22:10:30.157 | data_quality | datascience.stackexchange.com | |
439,097 | Should domain know about exceptions thrown from outer layer? | Let's take a hypothetical system, a state based, exceptions thrown from persistence layer or other outer layer, should propagate to ui layer through domain layer. Domain need not know about this exception. so no catching(ideal domain?) the issue is that the outer layer catches the exception, but now the system is in so... | If you‘re using concentric architecture models such as hexagonal architecture, onion architecture or clean architecture, the inner cores (e.g model) should not depend on outer cores. However, interfaces may be used for the purpose of dependency injection. And if the interface foresees potential exceptions, these must b... | 1 | 2 | 297 | 2022-06-07T19:52:41.500 | api_errors | softwareengineering.stackexchange.com | |
626,133 | Apache Virtualhosts Permission Denied. Tried everything I can come up with | I am using apache virtualhosts for a couple sites I want to run off my ubuntu 14.04 server. My setup works if sites are under [CODE] but if i try to run one under [CODE] i get a 403 permissions error. I checked permissions over an over now. My /home directory permissions are [CODE] Here is ls -al from home/myuser/www [... | There was a change from apache 2.2 and 2.4 that changed the way you do it. (And you didn't do it right for 2.2 either...). You are missing "Require all granted" (or for 2.2 it would be "Order allow,deny" and "Allow from all"): [CODE] | -1 | 0 | 1,241 | 2014-09-04T03:48:22.697 | api_errors | serverfault.com | |
57,805 | Can you recommend a failover solution for setups running multiple VPSes? | Here's what I have to work with: Root access to VPSes with different hosting companies that run CentOS only Two dedicated nameservers with over 100 zone entries Several webservers hosting the same content The failover solutions I've found either require hardware, clustering in the same network, and other options that I... | You could use Linux IP Virtual Server using tunneling. No need for the "real servers" (webservers) to be on the same subnet. The ipip encapsulated packages will be ordinary packages that can be firewalled and forwarded. http://www.linuxvirtualserver.org/VS-IPTunneling.html keepalived is a great tool to handle the servi... | 0 | 2 | 474 | 2009-08-24T07:04:45.990 | database_errors | serverfault.com | |
748,437 | Puppet, changing multiple properties file with augeas | I'm using puppet and augeas tool quite a lot to configure property files. My latest requirement is to apply the same fixed set of changes to quite a long list of property files. So, I would like to do it in one run, and not to write an augeas for each property file. Example: [CODE] I would like to use: [CODE] but it's ... | The best option to achieve that is to create a defined resource type: [CODE] and then use it with an array in the title: [CODE] You could even (and I'd recommend it) abstract the change set as key/value parameters in the defined resource type. For example: [CODE] | 2 | 5 | 1,545 | 2016-01-12T10:44:29.460 | pipeline_ops | serverfault.com | |
1,000,195 | Why is Get-ContainerNetwork not recognized as the name of a cmdlet on my Windows 10 box? | I'm new to docker, and am attempting to get my sql server image running under a predictable IP address. Is this powershell command only for Windows Server? PS> [CODE] When I try running it, I only get the classic PowerShell error: [CODE] | Seems, that you are trying to run deprecated PowerShell for Docker: THIS MODULE HAS BEEN DEPRECATED - Please note that due to low usage this module is no longer being actively maintained. It is recommended to use either the Docker cli (docker.exe) or try Docker.DotNet directly. https://github.com/Microsoft/Docker-Power... | 0 | 1 | 3,661 | 2020-01-24T04:24:02.983 | pipeline_ops | serverfault.com | |
1,132,675 | Why don't I have permission to create this directory / file? Permissions on Debian 11 Linux | I thought I understood Linux permissions, but alas... why don't I have permissions here? I'm part of the [CODE] group: [CODE] The parent directory is user/group [CODE] , and the group has [CODE] : [CODE] But when I try to create a new subdirectory, I get a permissions error: [CODE] What am I missing here...? | Permissions are [CODE] which mean [CODE] for owner ("read-write-execute"), [CODE] for group, [CODE] for others. For directories, "read" flag ( [CODE] ) means "get a directory listing", "write" ( [CODE] ) means "create/delete/rename objects" in that directory, and "execute" ( [CODE] ) is "enter" (cd) into that directory... | 0 | 0 | 493 | 2023-06-06T02:01:40.743 | infrastructure | serverfault.com | |
1,002,031 | Ubuntu requires subordinate CA as well as Root CA | I have an environment with a root CA and a subordinate CA. my environment is mixed. I have both windows and Linux (Ubuntu 18) servers. On the windows machines it is enough to add the root CA to the trusted root certificates store, and from there on all certificate issued by the -subordinate- CA are trusted by the compu... | Issue was due to missing subordinate certificate in the server certificate chain. once added everything works well. thanks to user Gerrit for the help :) | 0 | 1 | 508 | 2020-02-06T12:03:48.243 | infrastructure | serverfault.com | |
440,778 | Can you have too much unit test coverage? | Google tells me that the ideal unit test coverage is 70 - 80% (although Google's source for that doesn't look especially credible). This old post suggests that in fact it depends on what gives you confidence to release. Which is right? If the mayor of a peaceful town with 100 residents were to hire a squad of 80 police... | Tests are useful even when they pass. Tests provide an example of how to use the code. I've learned how more than one codebase really works by looking at its tests. Reading code is hard. Simple examples of how it works are really valuable. So please don't think a test suite is only adding value when it shows a failure.... | 8 | 15 | 1,319 | 2022-09-02T04:10:42.453 | pipeline_ops | softwareengineering.stackexchange.com | |
130,635 | Impact of WHERE Clause on Table-Valued Function and query performance | I have taken over a legacy application that has had many performance issues. One I found is on a table valued function. The TVF runs fine as a basic [CODE] . However, it is incredibly slow when it has a [CODE] clause on it. I would have thought that the [CODE] filter is applied after the TVF query has run? I don't unde... | This would be a "bad plan" scenario. Essentially, that when expanded out for that particular set of values, your query is being executed in a way that takes a long time - such as performing many lookups instead of using a wider index. Expand out the plan for each, and it should become clear. And see if there are certai... | -1 | 0 | 1,233 | 2016-02-27T09:49:19.677 | warehouse_errors | dba.stackexchange.com | |
46,479 | Why isn't none of the contents of the page loading while recording script through JMeter in Firefox even after all the configurations are done right? | I am facing an issue with recording Scripts in FireFox browser through JMeter. Configuration: I have the Proxy setting in Firefox set to Proxy -localhost; Port -8080. I have added the RootCA certificate to the browser. I have set the Port number to 8080 in JMeter also. Running Script: TestPlan >Add >Non-Test Elements T... | I can only think of 2 possible reasons: Your Firefox doesn't "respect" the localhost proxy, the functionality was introduced a couple of years ago so if you specify a localhost as the proxy host Firefox silently ignores this so you need to type [CODE] into the URL bar, look for [CODE] setting and set the value to [CODE... | 2 | 1 | 1,150 | 2020-12-30T07:03:29.373 | data_quality | sqa.stackexchange.com | |
439,701 | Can't create directory named "mysql" in subversion repository | I have a particular problem with subversion. Environment: subversion (1.6.12dfsg-6), apache2 (2.2.16-6+squeeze7) + mod dav_svn. I can't create a directory named "mysql" or "testmysql" or add and commit a file named "mysql.txt" in my repository. There are many references to "subversion PROPSET 403 forbidden" problems in... | It sounds like you have something in your apache config that is refusing such URLs with "mysql" in them. Have you looked thoroughly through your configuration? Try grep for "mysql" in there. | 2 | 1 | 203 | 2012-10-18T10:18:59.727 | api_errors | serverfault.com | |
157,533 | PostgreSQL DELETE FROM fails with `Error: attempted to delete invisible tuple` | The error Trying to delete tuples containing invalid timestamps with [CODE] ends in [CODE] There is a mailing list from 2009 discussing the exact same error message, where OP had it fixed, but I find no explanation of how he did it or what might have led to this error. I am helpless due to lack of hits on Google and to... | Well, I have managed to automate the recovery process of [CODE] and [CODE] , skipping ranges and waiting if the server crashes. I have first coded it in Node - it ripped undamaged data from [CODE] , and is still going. Yesterday I've decided to try Golang, and here is a repo with Go code: https://github.com/kaivi/pg_ri... | 26 | 2 | 4,122 | 2016-12-07T23:38:34.993 | data_quality | dba.stackexchange.com | |
966,145 | Azure Portal --> Virtual Machine (Default Directory) page issue? | I am very new to Azure Portal. I have noticed the following for Subject mentioned page. Once I open the Virtual machines page The (Assign Tags,Start,Restart, Deleted, Services) are comes to be disable and it should be? as I have not selected any of the VM checkbox. However once I select any of the checkbox then above m... | It is an odd user experience, but when you first visit the page (what you described in #1) there are no VMs selected and it has no context. When you un-check the check box the the row and VM are still selected. If you initiate one of those actions you will find that the highlighted row is the item you are changing. | -1 | 0 | 22 | 2019-05-07T08:39:40.757 | infrastructure | serverfault.com | |
124,081 | Error adding 4tb LUN (Raw Device Mapping) to ESX4 VM | I'm trying to map an existing 4tb LUN from a Fibre Channel SAN, through to a VM in my ESX4 environment. It keeps telling me that the VMDK file size exceeds the the maximum size supported by the datastore. I've tried in Physical compatibility mode, and also both Virtual styles. I'm a little confused by this as we had th... | VMWare has a 2tb Limitation on Raw devices : http://www.vmware.com/pdf/vi3_301_201_config_max.pdf Hope this helps ;-) | 1 | 1 | 992 | 2010-03-19T00:40:33.870 | infrastructure | serverfault.com | |
792,700 | ZFS :: bitrot (in checksum) | As far as I know, zfs uses checksums to protect against data loss caused by bitrot. But what happens if a bitrot affects the data of the checksum. Then, does zfs think the data is corrupt or think the checksum is corrupt? Thx 4 any answer, tbol | I've found the right explanation: A ZFS storage pool is really just a tree of blocks. ZFS provides fault isolation between data and checksum by storing the checksum of each block in its parent block pointer -- not in the block itself. Every block in the tree contains the checksums for all its children, so the entire po... | 0 | 1 | 1,075 | 2016-07-29T12:36:06.847 | data_quality | serverfault.com | |
1,026,501 | Google Compute Engine Virtual Machine: Unable to connect via SSH using any method | When using SSH to connect to my VM, the process hangs indefinitely when the VM asks the metadata server for an authentication token. This happens when using a browser shell (the SSH button on the VM tab) and also when using Cloud Shell. This is the output from the serial console, which I am able to connect to. [CODE] I... | After a couple rounds of Google support, they recommended re-installing the Google Guest Environment. They said, "It's very sensitive. If you change permissions on a single file, it can break." After reinstalling, the issue was fixed. https://cloud.google.com/compute/docs/images/guest-environment https://cloud.google.c... | 0 | 0 | 479 | 2020-07-23T21:33:41.527 | api_errors | serverfault.com | |
1,119,075 | Advices on automating installation for Debian 11 | I'm currently trying to automate Debian 11 template creation through Packer for Nutanix environment and need some advices about preseeding/automating Debian installation. First of all, after reading this bible https://www.debian.org/releases/stable/amd64/apbs02.fr.html I went into using preseed.cfg file. I started with... | Regarding your first question, I don't think there's any easier way to enable automated install for [CODE] in terms of passing the preseed file to it. Mounting a second image could be a good idea for your specific need, but AFAIK [CODE] does not respect a second media for its preseed and there are no workarounds that I... | 0 | 1 | 3,302 | 2022-12-29T16:04:56.200 | infrastructure | serverfault.com | |
46,507 | Integrate LDAP into NIS | I have the task to implement a LDAP service for the typical use cases: User authentication, storing more information on users, storing information on machines, etc. Currently, we have a working NIS system in conjunction with NFS for Linux workstations. Windows machines do not participate and this is one reason, next to... | I suggest you look into PAM on the Linux-side of things. There you can define authentication and authorization in chains with all sorts of tricks. Ex. first attempt login using local /etc/passwd, then LDAP, finally NIS. Or the other way around. You can then hook up SSH, GDM, Apache2, etc. to use that. | 1 | 2 | 1,786 | 2009-07-27T14:30:17.253 | api_errors | serverfault.com | |
318,558 | Sharding MongoDB internationally with data stored based on location | We're looking to set up data centers globally and switch to a NoSQL database like MongoDB to support having our data distributed over these data centers (and as a pleasant side effect, introduce more redundancy, failover etc). However, the reason for global data centers is primarily to speed response times for our user... | Some of this already in place with MongoDB, see a decent write up here: http://www.mongodb.org/display/DOCS/Data+Center+Awareness In terms of read-routing, there are some implementations in the drivers, but it is not built in. The feature complete version of localized data reads is intended to be released with 2.2 If y... | 5 | 5 | 590 | 2011-10-05T02:52:51.987 | database_errors | serverfault.com | |
274,259 | Multi-Statement Table-Valued Function with a Cursor: How to Check If The Cursor is Still Open On Error? | I have a stored procedure preparing a dataset using an employee listing as base query and performing a [CODE] to a MSTVF to build a small resultset per employee. In the MSTVF, a cursor is used to build the interim result set (performing complex math using running totals and case logic). MSTVFs don't allow [CODE] blocks... | Use a cursor variable ( details here ), then you don't have to worry about closing and deallocating (which, as David points out , isn't necessary inside a TVF, but it - and/or [CODE] - is required in other contexts). Just change: [CODE] To: [CODE] Work on the logic that you think requires a cursor and conditional/flow ... | 1 | 2 | 892 | 2020-08-24T16:27:01.583 | database_errors | dba.stackexchange.com | |
255,002 | Are there alternatives to using an optional type in a multithreaded environment? | I'm making an MPMC queue in C++, and I would like to find out what the best interface for a [CODE] method would be (I'm not concerned about its implementation). I'd like to provide a method which does not block if the queue is empty (like my [CODE] method does), but somehow notifies this to the caller. While I provide ... | As long as the task is not to design a 100% generic lib for each and every case, only a queue for types "T" under your teams control, I would prefer the [CODE] approach, or even better [CODE] (since [CODE] must never be NULL). By this design, the usage will typically look like this: [CODE] and the implementation will l... | 3 | 2 | 1,462 | 2014-09-01T05:19:40.210 | api_errors | softwareengineering.stackexchange.com | |
13,931 | Why can't relational databases meet the scales of Big Data? | It is often repeated that the Big Data problem is that relational databases can not scale to process the massive volumes of data that are now being created. But what are these scalability limitations that Big Data solutions like Hadoop are not bound to? Why can't Oracle RAC or MySQL sharding or MPP RDBMS like Teradata ... | MS just had a tech talk in the Netherlands where they discussed some of this stuff. It starts off slowly, but gets into the meat of Hadoop around the 20 minute mark. The gist of it is that "it depends". If you have a sensibly arranged, (at least somewhat) easy to partition set of data that (at least somewhat) is homoge... | 17 | 15 | 20,297 | 2012-02-26T08:23:18.863 | database_errors | dba.stackexchange.com | |
328,052 | ASIHttpRequest duplicate request on heroku | I have an iphone app using ASIHttpRequest. The server code is on heroku in node.js From time to time, a single request is sent from the iphone (only one trace) app but it is received twice on herokuapp (I can see twice the same request in the heroku logs). I though at the beginning the request was requested twice becau... | This has bitten me too. I was using a GET request to validate a multi-use voucher code on a server. When we added a rate limitation for redeeming codes some customers reported hitting the limit before they should have. Turns out that some of the validations triggered two redeems. I assume that your request is using the... | 1 | 2 | 876 | 2011-11-05T07:35:59.437 | data_quality | serverfault.com | |
909,523 | Nginx "ngx_http_geoip_module.so" error on nginx -t | I am trying to setup Nginx on my CentOS 7 VPS, I have installed Nginx, MariaDb and PHP. But when I run [CODE] I get: [CODE] Why is this happening? I haven't even touched anything [CODE] related. Version Information Nginx version: [CODE] CentOS version: [CODE] | Ok here is what I did to fix this. [CODE] I then re-installed it by doing: [CODE] And now when I did [CODE] I got: nginx: configuration file /etc/nginx/nginx.conf test is successful | 5 | 1 | 19,027 | 2018-04-26T07:23:03.837 | database_errors | serverfault.com | |
973,093 | Host 'XXX.XXX.XXX.XXX' is not allowed to connect to this MySQL server | I am getting a MySql.Data.MySqlClient.MySqlException (0x80004005) with message Host 'XXX.XXX.XXX.XXX' is not allowed to connect to this MySQL server, where IP == Google.cloud IP. I do not know if there is a problem because I change the mysql database password and some how Google Cloud stayed with the old. My C# code fo... | Go to your console at cloud.google.com from navigation menu select App Engine > Instances and at look [CODE] copy VM IPs and add them at your domain panel as [CODE] , for GoDaddy cpanel. | 0 | 0 | 1,090 | 2019-06-27T08:47:42.127 | database_errors | serverfault.com | |
174,600 | How can I see the skip target value on demand? | I am reading Paul Randal's Investigating the proportional fill algorithm it says The skip targets are recalculated whenever a file is added to or removed from a filegroup, or at least 8192 extent allocations take place in the filegroup. I am playing in AdventureWorks on a SQL 2014 (SP2) instance. I have added and remov... | There are parameters for [CODE] . So I think you can create 2 query for recent operations. [CODE] for Proportional Fill Recalculation logs. [CODE] for skip target logs. | 0 | 1 | 115 | 2017-05-25T17:56:17.407 | warehouse_errors | dba.stackexchange.com | |
1,116,927 | GCP Compute Engine full disk not resized file system on public image | GCP VM with 99,8% full disk has not resized its file system after increasing the disk capacity in google console. I have a small VM on GCP based on public image [CODE] . There was a 10GB disk with root partition and file system. Some logs occupied 99,8% of the disk capacity. I am able [CODE] the VM because GCP can stil... | Finally I was able to fix it. In my case disk was too full what prevented system from running resizing file system scripts . After reading John Hanley blog post I realized that file system resizing has never happened. I resized file system and partitions myself as described here : [CODE] and then, I extended the file s... | 0 | 1 | 719 | 2022-11-29T20:20:10.847 | infrastructure | serverfault.com | |
87,570 | What causes network cable to not work? | I've installed a bunch of cat-5 and when I check it for continuity and polarity it seems fine, but when I hook up a pair of laptops with a x-over cord and try to ping between them, they can detect there is something on the other end but I get 100% ping failure (mixed between "hardware failures" and "timeouts"). I punch... | You don't say how you've bundled them together. Did you use zip ties and pull them tight? Did you loop the cable and cinch the loop (like a figure eight)? Are there any other places where there are sharp bends? How small is the radius of the loops or bends? You don't say whether they're pulled through walls or drop cei... | 6 | 7 | 3,038 | 2009-11-23T23:07:16.133 | infrastructure | serverfault.com | |
539,437 | How does a NIC send a hardware interrupt? | Some context. A few weeks ago, a NIC was replaced on a box without much troubleshooting to find a clear resolution to the problem. A senior administrator got into a small tiff with an entry-level admin concerning hardware interrupts and ethernet cards. Specifically, how they work. The entry-level admin gave a vague ans... | I know, in theory, how a hardware interrupt works, but how does it specifically function when a NIC receives packets of information? What is happening on a hardware level? When the NIC receives information, it checks to see if the conditions are met to trigger a hardware interrupt. This is typically done in firmware on... | 6 | 6 | 4,845 | 2013-09-17T01:28:31.967 | infrastructure | serverfault.com | |
801,496 | Cipher Mismatch error - tomcat7 and godaddy certificate | (I have asked the same question in stackoverflow as well.) I am trying to install an SSL certificate in a tomcat server (linux based server). This is a godaddy certificate. Installation is proper and when I check the website with https, it shows the cert is valid, but with some other error: [CODE] My server.xml now: [C... | The cipher list is broken, you have the same list repeated several times. Check the Tomcat wiki for the right syntax, and check the Mozilla wiki for the ciphers suites you should be using. You can try [CODE] to see what's being negotiated, cipher lists specifically. You can also use the tools in this repository to perf... | 0 | 1 | 3,220 | 2016-09-07T08:09:23.143 | api_errors | serverfault.com | |
432,288 | Windows XP long login (15 minutes +) | I'm having a lot of issues with our Windows XP SP3 machines (about five of them, but every week another gets on the bandwagon of this issue). They take forever (15 minutes) to apply the user settings once our employees enter their username and password to log in to our domain. It only happens say if a user has rebooted... | Have a look at the following resource, it may help: http://blogs.technet.com/b/askds/archive/2008/11/11/understanding-how-to-read-a-userenv-log-part-2.aspx Seems to indicate that a third party security tool could be interfering. Have you changed your antivirus or firewall software? Are any errors being reported in the ... | 2 | 2 | 2,777 | 2012-09-26T18:13:49.790 | database_errors | serverfault.com | |
1,136,079 | File hosting on multiple servers? | I have a PHP website for file hosting (like Dropbox) on a Debian server with Apache, but I'm running out of disk space. Is there a way to add another server in the network and somehow make Apache use the two servers as one? I've heard it can be done with Load Balancer, but I'm not familiar with it. I've Google'd it but... | Besides adding additional disks to your server, there are a few other options available to you. You can use NFS to share folders over the network between the two servers. You can then have your PHP script either load balance between the two folders (the local one, and the remote NFS mount), or use a multi-layer filesys... | 0 | 0 | 154 | 2023-07-07T11:53:14.473 | infrastructure | serverfault.com | |
1,034,015 | Unable to use YUM. RHEL 8.2 server hosted in Azure | I have a Red Hat server hosted in Azure and when I try to use yum to install software or do a system update I get the below error, Errors during downloading metadata for repository 'rhui-rhel-8-for-x86_64-baseos-rhui-rpms': Curl error (28): Timeout was reached for https://rhui-1.microsoft.com/pulp/repos/content/dist/rh... | Try: yum clean all rm -f /var/lib/rpm/__db* rpm --rebuilddb | 0 | 0 | 2,748 | 2020-09-15T17:07:05.020 | infrastructure | serverfault.com | |
123,720 | Is this Dataset somehow skewed? | I am working on a dataset that has 100K points, it's about Customer churn. So I don't know whether this dataset is skewed, incomplete or what. I tried doing some feature engineering on it but couldn't get any further. I tried fitting the data to multiple models, but the performance I am getting is terrible. I just thin... | One of the data aspects that affect model accuracy, depending on the model, is variance. This is usually corrected by performing standardization or normalization of your features using various methods such as those found here . The other one is converting your categorical variables to numeric values through encoding, a... | 0 | 0 | 33 | 2023-09-15T21:19:41.633 | data_quality | datascience.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.