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 |
|---|---|---|---|---|---|---|---|---|---|---|
194,681 | How does the spec store JSON on a table? | From this question, I quoted the docs , "MariaDB implements this as a LONGTEXT rather, as the JSON data type contradicts the SQL standard , and MariaDB's benchmarks indicate that performance is at least equivalent."* That spurred a comment I had to google and it appears that MariaDB now supports CHECK constraints. Not ... | SQL:2016 This is from my own read of ISO/IEC TR 19075-6:2017: SQL support for JavaScript Object Notation (JSON) Ignoring both (a) the track record of MySQL with regard to the spec, and (b) the fact that they're now implementing a JSON type . It seems as if they're referring to this, A [CODE] may have an optional [CODE]... | 1 | 1 | 392 | 2018-01-05T00:18:36.353 | data_quality | dba.stackexchange.com | |
52,980 | Central Management Server - can it manage itself? | I'm setting up a SQL Server 2012 lab on Windows 2008 R2 which has 5 SQL Servers. I registered [CODE] as my central management server and created a group under this server that includes all the servers and the CMS itself. I'm a bit confused since the documentation says the CMS cannot be a member of a group it maintains.... | I had also previously assumed that this wasn't possible at all, until I started playing around with it. From what I can tell, the matching is only done by the server network name that's entered. If you attempt to add a server to the tree with the same network name, it won't allow it; however, if you use a different net... | 5 | 3 | 524 | 2013-11-07T21:52:09.670 | database_errors | dba.stackexchange.com | |
533,500 | Windows Server 2012 Essentials Dashboard client app won't start after .NET Framework update on client | I'm running the 180-day trial of Windows Server 2012 Essentials. The client computer has Windows 8 Pro (64-bit) installed. A few days ago, a security update for the Microsoft .NET Framework (KB2840632) was installed automatically via Windows Update on the client (twice; the first installation attempt failed, as seen in... | Remove the .NET update until an adequate fix has been made? | 0 | 1 | 3,326 | 2013-08-24T18:06:53.820 | bi_errors | serverfault.com | |
56,965 | Using deep-learning on graph data for binary classification | The data: I have certain data that I decided to represent it as a graph (I thought it would suit). So I have the weighted graph data that includes a numeric attribute for each node. (networkx graphs). Each graph represents a session. Each session label is either good (1) or bad (0). The mission: I need to predict given... | Feeding arbitrary graphs as inputs to any current general purpose ML algorithm, unless your problem and graphs are very specific (e.g., all graphs on a handful of nodes, or the size of your training set is of the same scale as the number of possible graphs of that size, or there is some very simple dependency - e.g. ou... | 3 | 0 | 794 | 2019-08-05T08:39:39.173 | data_quality | datascience.stackexchange.com | |
359,385 | SQL Server 2008 Web edition - access from another IIS? | We are planning to purchase and install SQL Server 2008 R2 Web edition for our live servers. The grand plan was to install a shiny new server with this SQL Server (web edition), and change the connection strings on our various web-apps on two other servers to point to the new database server. Looking for answers to ano... | You can run IIS on a physically different server to the SQL Server Web edition. In the end I got a support request in to Microsoft via the reseller that we purchased the software from. They first confirmed it, and we have installed it today and is running ok. Once installed, we stepped through this blog post to make su... | 0 | 0 | 587 | 2012-02-12T21:44:23.680 | database_errors | serverfault.com | |
1,001,237 | HAProxy - Need to add a URL parameter to ACL to differentiate between services with the same URL, but on different ports | I have several services that run on different ports, each of which use the same URI paths. For example: [CODE] This has been fine so far, but I now need to set up haproxy to load balance the services. As such, I obviously need to be able to differentiate them for content switching. What I imagine I would do is add a pa... | The backend services are answering with HTTP 404 errors because your HAPROXY configuration is currently forwarding URL's path as they are. For example, a HTTP request for [CODE] is being forwarded to [CODE] backend as [CODE] . [CODE] [CODE] HAproxy should be configured to translate URLs' paths by stripping the first pa... | 1 | 0 | 2,673 | 2020-01-31T13:36:07.140 | api_errors | serverfault.com | |
400,310 | Coupling and shared entity classes | I am currently working on a problem that has a central controller that is handling inputs and outputs between various modules and maintaining a number of entity classes as these change. When working with getters and setters I can either provide raw values or I can provide one of the entity classes, and I'm curious how ... | An object is not a substitute for a bunch of parameters, in other words an object is not (should not be) a record. An object is something with behavior directly tied to the functionality of the application. So, passing an object, which just has data that will be directly read out on the other side is bad design in obje... | 4 | 2 | 121 | 2019-10-29T19:32:08.973 | api_errors | softwareengineering.stackexchange.com | |
329,910 | PostgreSQL: Sum filtered items in a one-to-many relation | I have events and sessions associated with them in a one to many relation. I want to make a query to get the amount of past, happening and upcominng events. Past events have no active sessions Happening events have at least 1 active session Upcoming events have sessions in the future The expected result would be someth... | This solution consists of two views: when_sessions : For each event, count the sessions that are past, happening and upcoming. [CODE] when_events : Count the number of events that are 'finished', 'happening' or 'upcoming'. [CODE] | 1 | 1 | 74 | 2023-08-02T16:50:11.407 | database_errors | dba.stackexchange.com | |
18,931 | Simple Weka classification example in Java gives inconsistent answers | I have the following simple weka code to use a simple decision tree, train it, and then make predictions. [CODE] My train data is just: [CODE] and my test data is the same without the "label": [CODE] Since test and train are the same, I was expecting the same predictions, but I have different results. What am I doing w... | Just because you trained the model on a dataset, it does not mean it will have 100% accuracy in predicting on it. I ran a similar test today on another dataset I was working with and only got 90% accuracy when I ran the model on training data. 100% is actually really uncommon and usually means you are overfitting. Try ... | -1 | 0 | 2,031 | 2017-05-12T19:18:16.590 | data_quality | datascience.stackexchange.com | |
181,781 | UnknownError: error while getting last oplog entry for begin timestamp: find command not yet implemented | I have 2 mongoDBs. One running as PRIMARY, its version is 3.0.13. The other works as SECONDARY in the replica set, its version is 3.0.11. Replication works perfectly at this point. I want to add a 3rd mongoDB, empty data folder, and its version is 3.4.5. Using mongo client I can access to PRIMARY and SECONDARY, and fro... | You cannot add a MongoDB 3.4.x member to a MongoDB 3.0.x replica set. Replication between mixed versions is only supported for adjacent MongoDB major releases (for example, 3.0 and 3.2 or 3.2 and 3.4), and even then generally only intended to be used transiently for the purposes of a rolling upgrade . what does it mean... | 0 | 1 | 1,207 | 2017-07-26T01:13:29.597 | database_errors | dba.stackexchange.com | |
348,192 | Emulex FC HBA not resetting | A Solaris 11 machine with an oldish Emulex HBA seems to have some problems: [CODE] When I try to reset the affected adapter using emlxadm (it is a dual HBA PCI-X card), it throws errors and does not reset: [CODE] [CODE] has no errors logged. A reboot seems to fix the problem and it appears only infrequently. The HBA is... | I ended up replacing the HBA as the problem looked "hardware-ish" to me towards the end. | 2 | 0 | 9,537 | 2012-01-09T18:40:59.590 | infrastructure | serverfault.com | |
74,796 | Is my bayes classification right or meaningful? | I have this dataset and I am learning about Bayes Classifier. After data cleaning, I have tried to use bayes classifier on it. I used R with this code: [CODE] Where RatFactor only has 1, 2, 3, 4, 5 as values (I rounded the ratings). This is my result: predictionChoco$posterior 1 2 3 4 5 1434 5.987980e-14 2.619121e-05 0... | Do you think this result is right? Depends what you mean by "right"... the results seem reasonable, I don't see any obvious sign of mistake in the process. Can you explain what would you understand by looking at this result please? I observe that you don't have any data for classes 1 and 5, so technically it's a 3-clas... | 0 | 1 | 22 | 2020-05-25T09:53:22.927 | api_errors | datascience.stackexchange.com | |
540,764 | Replace MySql databases with a more recent copy via command line | Ubuntu Server running MySql server. We have 5 databases on our server. On a recent crash, the server was restored incorrectly and now 1 database (B) has 2 incorrect tables and a 2nd database (A) is completely incorrect. How do I correctly replace database files? Is it as simple as [CODE] And for what it is worth, there... | With MyISAM - no problem (except metadata), regarding InnoDB: https://dba.stackexchange.com/questions/15531/why-does-innodb-store-all-databases-in-one-file I think your problem is in [CODE] - was this option enabled before tables were created on both A & B or not. If [CODE] was enabled later - you will have mixed table... | 0 | 1 | 169 | 2013-09-22T02:11:36.100 | database_errors | serverfault.com | |
274,152 | Why no job history despite manually triggering my scheduled job (on Windows 2008)? | I have just added a scheduled job in Windows for the first time in my life (I'm a Linux dude). The goal is to run a python script once every night and the problem is I can't understand why the scheduled job isn't run even though I manually execute it . Here are the details: There is a log file being created when the sc... | What's the job status 0x0 or 0x1? The logs that you're talking about, are they from your python job or are you talking about the c:\windows\Tasks\SCHEDLGU.TXT log file? It sounds like you have it setup correctly with the "Execute with Highest Privileges." You might set the user name and password again for the account t... | 1 | 0 | 1,159 | 2011-05-26T17:15:43.373 | infrastructure | serverfault.com | |
695,188 | Out of space on EC2 instance due to docker logs | I'm still learning docker and AWS, and I've had a docker process running awhile with 50gb EBS storage, and now I'm out of disk space and as a result, docker no longer starts up when I reboot my instance. When I try [CODE] I get: [CODE] And when I try [CODE] I get: [CODE] I don't want to touch the 726b0... process, that... | If you're using Elastic Beanstalk to run Docker, this may interest you. I took Yonatan's command and converted it into an [CODE] cron job that will run every X hours, and clear the Docker container logs so that they don't accumulate and clog the server. I had to modify it to use [CODE] to avoid an ambiguous redirect ba... | 3 | 7 | 4,926 | 2015-05-29T05:48:59.067 | pipeline_ops | serverfault.com | |
385,771 | Domain Events, CQRS, and dependency resolution in handlers | Currently: ASP.NET Core 2.2. I've been doing quite an extensive research in this topic (Domain Driven Design used together with Clean Architecture): DDD: Where to place domain event handlers? And I've seen a couple of DDD and Clean Architecture Repos to better understand: https://github.com/VaughnVernon/IDDD_Samples_NE... | Using a static class vs injecting some sort of "event bus" into either an Aggregate's constructor or into one of it's methods is a matter of preference, and each has its trade-offs. While injecting the eventing infrastructure does yield slightly more flexibility, it also means splattering this concern all over your dom... | 2 | 2 | 2,413 | 2019-01-18T19:26:22.293 | api_errors | softwareengineering.stackexchange.com | |
108,996 | How to print the corresponding c of the lowest classification error on the validation data | I'm currently measuring the overall classification error for an SVM classifier and I'm varying the regularization value [CODE] . In the following code, how can I print in the last line of the [CODE] value with the lowest error in the validation set? [CODE] | Try: You can use [CODE] to get the index of the lowest value, then you get that item from [CODE] [CODE] | 0 | 0 | 23 | 2022-03-12T21:15:58.057 | data_quality | datascience.stackexchange.com | |
446,274 | Unresolved dependency after yum update crash (broken ssh connection) | Today I was updating one of production server (one of many to test updates and then update the rest of computers). Soon after run [CODE] ssh connection was broken :/ . After login once again using screen sesion this time I run [CODE] but it has problems so I run it with [CODE] parameter. That worked fine for unfinished... | I manage to resolve deps by removing perl-libs, perl-threads, perl-Pod-Escapes. Removing this apps was easy (no dependency). After that [CODE] and everything is ok even removed apps was updated (there was a problem with some kind of duplicates I think). Lesson for me use screen :) | 1 | 0 | 2,441 | 2012-11-07T12:27:03.937 | infrastructure | serverfault.com | |
774,813 | web server / iis won't install on server 2012 | I'm trying to install Web server role / iis to my dynamic Windows 2012 cloud server but keep getting the following errors: If I have the following not installed and try to install web server / iis 8.0 it keeps telling me I have a restart pending. If I go to tools I can see iis manager and open it and navigate to local ... | Check the IIS and CBS (component based setup) logs, should yield more details on what failed. IIS Logs: c:\windows\iisx.log (where 'x' is the version of IIS you're installing) CBS Logs: c:\windows\logs\cbs | 2 | 0 | 2,167 | 2016-05-04T14:11:52.373 | database_errors | serverfault.com | |
209,401 | Why is squid breaking kerberos/NTLM auth? | I'm using squid 2.6.22 (Centos 5 Default) as a proxy. Squid seems to break the authentication process for web pages when they require NTLM or Kerberos Auth. I tested with sharepoint 2007 and tried all 3 authentication methods (NTLM, Kerberos, Basic). Accessing the site without squid works in all cases. When I access th... | There is a Bug in Firefox, causing NTLM to fail in certain conditions. Using Squid as a proxy will almost always meet these conditions. See https://bugzilla.mozilla.org/show_bug.cgi?id=602814 | 4 | 0 | 5,084 | 2010-12-05T22:15:15.717 | api_errors | serverfault.com | |
1,975 | How to get Custom BIRT reports in SilkCentral Test Manager to pull the currently selected project? | I posted this question on StackOverflow and did not get any answers, so re-posting here. We are using Eclipse (Galileo) to create some custom BIRT reports (version 2.5) for SilkCentral Test Manager (version 11). When creating the report in SCTM, we have to specify the SQL query to be used for the report. We also have t... | Here is the solution that I came up with using and example from BirtReports.doc from the Borland site: In SCTM, I edited the SQL query from [CODE] to [CODE] This creates a parameter named currentProject which passes the value 34 to the BIRT report under the parameter name rp_currentProject . I then edited the BIRT repo... | 2 | 1 | 250 | 2011-10-17T15:55:19.043 | data_quality | sqa.stackexchange.com | |
518,189 | Installation issue in Ubuntu | i wanted to install ufw in my ubuntu 10.04. but, when i try to instal ufw the apt-get installer stalls my progress by trying too install my-sql server, which i dont want to install right now. Is there any way in which i can bypass the mysql installation and just install ufw...installing my-sql gives me a fear of render... | MySQL upgrades rarely cause data corruption (it has never happened to me) but even that shouldn't be a cause for worry if you have backups of your data and a tested backup procedure. You do have tested backups don't you? If you're still worried about it, try running the upgrade on a test system with the same data and M... | 0 | 0 | 35 | 2013-06-24T21:06:50.863 | data_quality | serverfault.com | |
99,312 | Remote Screen Sharing between multiple instance of Windows Server 2003. Is it possible? | I am working on a project with my friends online as well as locally through connecting LAN. I am using Windows Server 2003 that allows maximum 3 instances of remote desktop connections. I have static Ip(when working on internet else local ip) through which all my team mates gets connected to my W2K3 instance and can wo... | Quickest way to do this, is when you're both logged into the 2K3 server, to go to the Task Manager, go to the Users tab, right-click on the person you want to help, and click "Remote Control". The other user will then be prompted to accept control, and once they've done it, you will both be operating in the same termin... | 3 | 4 | 801 | 2010-01-04T19:11:12.517 | infrastructure | serverfault.com | |
798,561 | Exposed Docker port is listening but closed on Ubuntu 14.04 | I have a reasonably fresh install of Ubuntu 14,04 and I have installed Docker. I have done a few things to resolve this issue already so First let me show you some of the config. First I have disabled IPv6. I have also made a number of changes to the Docker Opts command [CODE] As you can see I have specified an IP for ... | So it turns out the service in the container was failing, and that is why I could not connect to the port, despite the host saying it was listening. | 0 | 0 | 2,076 | 2016-08-23T12:16:16.440 | pipeline_ops | serverfault.com | |
333,662 | Postgresql: Performance - SELECT with function in WHERE condition | On Postgrsql 13.5 - I have a SELECT statement with a stored procedure as condition on the PK column (id). This turns out to be very slow: [CODE] But breaking it up into two statements it's very fast. e.g. [CODE] I can only assume that postgres is running the function for each row. But why? And how to avoid this? Here's... | Your function (not stored procedure, which is a different thing in PostgreSQL) is probably marked as volatile. You should probably change the function so that it is instead marked as stable or immutable (assuming of course that one of those things is true of it) and then it should use the index fine. | 1 | 3 | 78 | 2023-12-02T11:19:30.330 | database_errors | dba.stackexchange.com | |
276,477 | Immutably convert enum to string | The normal way to convert an enum value to a string in PostgreSQL is to cast it (with [CODE] ) or to simply rely on implicit conversion when, say, concatenating it to another string: [CODE] However, there's a catch: such conversions seem not to be considered immutable by Postgres. As a consequence, you get an error if ... | It is possible to rename an enum entry, so the cast is not [CODE] . If you are sure that you will never rename enum values, write your own conversion function that uses a cast internally and label the function [CODE] . Then PostgreSQL will trust that label, and it is up to you to fulfill the promise. | 5 | 6 | 4,028 | 2020-10-03T18:02:30.893 | database_errors | dba.stackexchange.com | |
568,783 | Dovecot and virtual users issue | Kindly find your help on the below, I am using Dovecot 2.2.5 with postfix 2.10.2 on RHEL 5.9.. I've a problem that I am using Virtual mailboxes, I need to set passwords for them. I always have an error message [ no userdb ]. could you please help me on this ? Thanks in advance !! | You can refer this link to create virtual user and password for the dovecot users | 0 | 1 | 92 | 2014-01-21T15:01:06.450 | infrastructure | serverfault.com | |
140,060 | Multiple computers in SBS domain that need a Remote Desktop Connection with a sub domain | I've been searching the internet for a while for this answer. I have a bunch of computers that are part of a small business server domain and would like to be able to connect to each one individually with remote desktop connection using a subdomain, like: computer1.mydomain.org computer2.mydomain.org etc... I can curre... | Which version of SBS is this? 2003? 2008? SBS 2008 has a great built-in TS Gateway and web interface, [CODE] (where example.com is your external FQDN), which has everything built in. It gives you a list of all the applicable machines on the network, and off you go. (source: 41085.org ) If you don't have a TS gateway, t... | 1 | 1 | 338 | 2010-05-09T23:25:10.577 | infrastructure | serverfault.com | |
639,310 | blocked.domain.gstatic.com - Where could this blocking be? | As of this morning we were having serious issues (partially loaded site with no functionality) accessing Google Drive which we use heavily. Other websites seemed to work fine. This is happening on ALL networked machines which are Windows 7 Pro machines connected to a Windows 2012 R2 server which gets its internet from ... | If I recall correctly, having a google address resolve to a CNAME (alias) to blocked.domain.gstatic.com is an indication that google is temporarily cutting you off, either for policy violation or as part of protecting themselves from collateral attack (if someone is using them to attack something on your netblock or us... | 4 | 1 | 5,402 | 2014-10-24T05:04:16.637 | database_errors | serverfault.com | |
308,625 | TCP - Three Way Handshake, which Port? | I am trying to understand the Three way handshake in the TCP connection setup. My book states, the client first contacts the server, say we want an HTTP connection, so it sends a SYN to port 80. (1) The server then replies a SYN ACK package. (Here is my question) (2) And now the client sends a final ACK. (3) In the boo... | Your book is talking about system interface for sockets, which is a bit different from real TCP socket. TCP RFC doesn't say about "welcoming socket". So, let's look at definitions. From RFC: The "three-way handshake" is the procedure used to establish a connection. So, what is connection? connection - A logical communi... | 8 | 6 | 5,340 | 2016-01-28T11:34:50.230 | api_errors | softwareengineering.stackexchange.com | |
422,079 | Calendar Sharing | We have an office where people share read/write access to their calendars with each other. We are on Exchange 2010 and they are all using Outlook 2010. While most people are doing this without a problem, there is one case that when person A attempts to grant person B calendar permissions, he is met with the error messa... | Found the problem. About a dozen of our users had mailboxes of type SharedMailbox. Not sure how that happened or why it only affected one person but converting back to a regular UserMailbox resolved it. | 2 | 2 | 6,468 | 2012-08-28T16:38:32.210 | infrastructure | serverfault.com | |
150,062 | INSERT of 1 wrong value -> Error; INSERT of 2 wrong values -> Warning! | [CODE] 1 wrong value [CODE] 2 wrong values [CODE] Why is MySQL raising an error with the single value query, but not at the second query with two values? Is it related to [CODE] But where does this line come from and why is it changing the error type from Error to Warning? MySQL V5.6.31 | It is way MySQL is designed. As per the documentation : If you try to store NULL into a column that doesn't take NULL values, an error occurs for single-row INSERT statements. For multiple-row INSERT statements or for INSERT INTO ... SELECT statements, MySQL Server stores the implicit default value for the column data ... | 1 | 5 | 977 | 2016-09-19T15:05:13.570 | database_errors | dba.stackexchange.com | |
86,237 | Is there a safe way to force an IIS log file rollover on a production web server? | I often have to look at problems on live web servers, would like to know if there is a safe way to force an IIS log file rollover on a production server. | You could try temporarily changing the log file rollover settings, as described here: http://technet.microsoft.com/en-us/library/cc754615(WS.10).aspx Once the logs have rolled over, revert to your previous settings. | 2 | 2 | 4,718 | 2009-11-19T11:07:05.810 | infrastructure | serverfault.com | |
155,344 | MySql: check and remove duplicate rows | How can I check if a table contains duplicate rows, with the same value of the couple (date, time) ? How can I remove all but one row ? Id is a sequential number that I increment after every post, how can I restore it after removing a row ? the table tableTen is: [CODE] | 1. How can I check if a table contains duplicate rows, with the same value of the couple (date, time) ? [CODE] 2. How can I remove all but one row ? a) If you want to keep the row with the lowest id value: [CODE] b) If you want to keep the row with the highest id value: [CODE] 3. Id is a sequential number that I increm... | 2 | 5 | 10,986 | 2016-11-15T17:14:43.337 | database_errors | dba.stackexchange.com | |
690,639 | api-get "Error reading from server" under Docker | I'm running the following command in Bash: [CODE] It runs, but fails in the middle: [CODE] And therefore the whole operation fails with the error [CODE] I'm running this as part of a Docker build. My Dockerfile reads [CODE] and I'm running [CODE] The [CODE] command succeeds some of the time, and fails some of the time ... | This is a problem you'll see more frequently with Docker images because the repositories you're accessing change frequently but the base image (and it's cached metadata) doesn't. Try running [CODE] before you install packages. | 15 | 22 | 5,456 | 2015-05-08T15:12:18.583 | pipeline_ops | serverfault.com | |
335,379 | Storing terabytes of data in Azure SQL Server | I need to develop a Azure SQL server production system capable of storing a user item recommendations based on the user's purchase history, user health profile and item recommendations(around 415 MB). I know the approximate output over 13 months, the time the data has to be stored, and have calculated a need of around ... | Would the community have any inputs on my problem? Sure, these are my thoughts... a user item recommendations based on the user's purchase history, user health profile and item recommendations(around 415 MB) Sounds like a lot for a single user. How did you land on that number? have calculated a need of around 30 TB of ... | 0 | 1 | 62 | 2024-01-31T17:44:34.917 | database_errors | dba.stackexchange.com | |
99,483 | Feature selection for two seperate datasets | Currently, I'm doing research with experimental data. The data comes from two experiments with two slightly different tasks, but with the same setup in a VR environment. Both experiments were done with different populations but with same two groups of participants: healthy controls and patients of a certain kind. From ... | I'm not aware of anything similar in the literature, this might be too specific but I don't know everything. Anyway I think your approach makes sense. I'm not sure if it would help but conditional entropy is also an option for calculating the discriminative power of the individual features. Assuming the training of a m... | 2 | 1 | 229 | 2021-07-29T15:30:22.277 | data_quality | datascience.stackexchange.com | |
41,107 | How to resolve 'Cannot convert from void to WebElement' error in Selenium | I am getting below error: Error: [CODE] CODE: [CODE] And this line of code is part of public void upload() function. | Method [CODE] that you invoke on located element does not return anything. It is void (you probably used this "type" in some of your methods declaration like [CODE] , etc). So as that method is called the last in your right-hand side of assignment, Java assumes you're trying to assign what the method returns to what yo... | 2 | 3 | 3,311 | 2019-10-04T08:04:51.220 | data_quality | sqa.stackexchange.com | |
556,599 | How to remove broken DC from 2003 domain (with complications) | I have never been to heavily involved with managing AD2003 domain controllers. Now I get a broken domain dumped in my lap. I need some advice how to proceed. Here is the story: Earlier today I inherited an old, badly managed, 3 server domain from another division. (It was operated by an outsourced service-provider that... | Removing the failed DC should probably be the last thing you care about right now. You changed the IP address of the DC, which is presumably also the DNS server for the domain. You need to reconfigure the DC itself to use itself for a DNS server, and of course you have the reconfigure the client to use the DC as the DN... | 3 | 2 | 393 | 2013-11-21T19:47:13.917 | database_errors | serverfault.com | |
1,063,595 | My network interface changes names, so DHCP / dhclient cannot operate on it | On some ArchLinux servers I've switched from [CODE] to [CODE] , but the servers are not receiving IP. Upon inspection with [CODE] I see that, on all occasions the IP was not received, [CODE] attempted to operate on the interface and then the interface got renamed. The lines in question are: [CODE] What is this "interfa... | Posting a workaround to my own issue. After troubles with [CODE] (this question) as well as other troubles with [CODE] (that I didn't fully get to the bottom of, but simply switching to [CODE] as a drop-in replacement solved them, since for both you need to just to [CODE] ), I have come to the conclusion it's best and ... | 2 | 0 | 735 | 2021-05-14T20:31:09.983 | infrastructure | serverfault.com | |
219,738 | Evaluate all pair combinations in an array for a condition in n log n time complexity | Task - Consider an array of n elements. Count the number of pairs that satisfy condition X (sum of the two elements The basic approach I could think of would be O(n^2), where I evaluate all n*(n-1)/2 pairs. How can I solve the problem in a better time frame i.e., O(n log n) or less? The best approach so far was to sort... | if you need ALL results on an arbitrary condition (say [CODE] with [CODE] as concatenation) then there are n*(n-1)/2 values you need to output that are all independent; so no there is no better way, but if the result of one pair tells you something about the result of another pair then that information can be used to s... | 4 | 5 | 18,163 | 2013-11-28T08:52:55.937 | api_errors | softwareengineering.stackexchange.com | |
270,130 | If I replace N objects with N pointers, is my space complexity still O(N)? | Lets say I get [CODE] objects as input, and I need to rearrange them into a different data structure. This means the space complexity of my algorithm will be [CODE] . But what if I replace the objects with pointers to objects? I'll still have [CODE] pointers, but will it still be [CODE] space complexity despite the fac... | Let's get philosophical for a minute. Has the number of objects changed from N? No? Then it is still O(N) because you started with the premise that N was the number of input objects and that was what was chosen to measure against. Now you could start with a different premise for a given data structure, say in a case wh... | 3 | 2 | 272 | 2015-01-15T02:03:13.067 | api_errors | softwareengineering.stackexchange.com | |
300,795 | is it possible to reload postgresql idle_in_transaction_session_timeout config without restart | I want to change [CODE] parameter in PostgreSQL 13, then I execute this sql: [CODE] when I show the new set value, it still the old value, seems it did not take effect right now, because the PostgreSQL was online, so is it possible to make the alter take effect without restart the PostgreSQL? My PostgreSQL was deployme... | You have to reload PostgreSQL: [CODE] | 0 | 1 | 583 | 2021-10-07T06:52:51.150 | pipeline_ops | dba.stackexchange.com | |
694,173 | How to install VMware 5.5 and higher on HP BL460c G6 | I have an HP ProLiant BL460c G6 with the HP NC532i Dual Port 10Gbe BL-c Adapter installed. VMware won't install on this machine stating the network device is not found. This happens with both the VMware-issued installer and the special HP edition of the VMware installer that expressly claims it works on the HP ProLiant... | Have you tried doing this on more than one server? The reason I ask is that the 'vanilla' 5.5u2d ISO definitely works on a plain BL460c G6 because I've just installed it for this question on one of our old decommissioned blades. It had had the "2014 09" SPP firmware pack ran on it (2015 04) is out but I didn't bother w... | 6 | 1 | 4,022 | 2015-05-25T03:56:10.100 | infrastructure | serverfault.com | |
906,900 | Importance of the answer order in a DNS lookup | How important is the order of a DNS answer? Example: if you type [CODE] into the terminal, you will see: [CODE] My Question How important is the order of this reply? Because I saw many websites that send the [CODE] then [CODE] then the [CODE] and then the [CODE] and after all that the [CODE] . Is there a speed differen... | With [CODE] you query for [CODE] record. which is one of the special “magic” types in DNS. Instead of being a query for a single type like A , AAAA or MX, ANY retrieves all the available types for a given name. [CODE] requests are mainly a a diagnostic tool for human operators.Normally an application would make queries... | 0 | 5 | 1,030 | 2018-04-10T09:35:57.167 | infrastructure | serverfault.com | |
1,076,693 | Dovecot + Mysql can't authenticate users | I'm setting up an email server using postfix+dovecot+mysql in ubuntu 20.04 I am stuck trying to authenticate users. It doesn't receive the domain information in the %d config variable ( https://doc.dovecot.org/configuration_manual/config_file/config_variables/ ) This is my /etc/dovecot/dovecot-sql.conf.ext file: [CODE]... | I found the problem. In /etc/dovecot/conf.d/10-auth.conf check this setting and ensure its value is %u [CODE] | 1 | 1 | 1,197 | 2021-09-05T15:19:36.470 | database_errors | serverfault.com | |
68,792 | Feature selection for data with both continuous and categorical features? | I am working on a classification problem with 4 ordinal classes to predict, labelling/predicting samples as either a number from 1-4. My training dataset has 284 features by ~40,000 samples and I am looking to explore feature correlation and variance and relate that to using a filtered feature selection method. I've be... | I recommend using the Lasso for feature selection. I think the main advantage is that it is a multivariate method. However, it is more suited for linear models than for tree-based ones. There are some broad theoretical and practical resources that explain why it is used. I wrote one article comparing it to univariate m... | 5 | 1 | 6,098 | 2020-02-27T10:15:11.063 | data_quality | datascience.stackexchange.com | |
666,412 | Windows Sever 2000 machine with striped scsi disk to VHD | Currently have a lot of servers running legacy applications that only work with W2k running on very old hardware that needs to be replaced. The plan is to convert each current machine into a VHD and then import the VHD into W2k8 server using Hyper-V I have managed to p2v w2k offline using the sysinternals Disk2VHD tool... | Use vmware converter and after import the image in hyperv. Vmware converter do a great job for the p2v by adding the scsi driver, and hyperv do a good job to import such image. | 1 | 2 | 413 | 2015-02-10T11:10:08.473 | infrastructure | serverfault.com | |
699,805 | How can I redirect HTTP IIS7 response "403 forbidden" to HTTPS? | I asked our web host to setup SSL on our web site, such that HTTP requests will automatically redirect to HTTPS. They say this is done, however when accessing the site via HTTP I now get: [CODE] HTTPS works fine. I asked for this to be corrected and I've been told this is not a server setting (which they manage) and ne... | Turns out the host had to first uncheck "Require SSL", then I was able to redirect traffic in web.config via: [CODE] | 6 | 7 | 9,865 | 2015-06-17T22:02:53.240 | api_errors | serverfault.com | |
143,825 | Any disadvantage to automatically changing FULL backup on AlwaysON Secondary to COPY_ONLY? | I've been playing around with Ola's maintenance scripts recently, and they are absolutely great. However, I was considering one scenario and was surprised when I found it wasn't catered for. Maybe I'm just missing something, so hopefully someone can help me out. I would like to push out Ola's DB backup script to all of... | Besides being unaware that your backup is being performed as a COPY_ONLY backup instead of not being backed up at all, are there any caveats that anyone can think of if this switch is set to default Y or even if it's used at all? A COPY_ONLY full backup is still a full backup. The only difference between the two is the... | 3 | 4 | 254 | 2016-07-14T07:23:53.183 | database_errors | dba.stackexchange.com | |
104,777 | Best design for a tree-like structure database | I'm designing a database in MS Access which is used for tracking the locations of a variety of chemical solutions, made in batches. Each batch can be split (aliquoted) practically indefinitely. That is, we may manufacture 100g of a product, which is aliquoted into two 50g vials. One is kept in storage, the other is shi... | Bill Karwin covers the alternatives well in his presentation. I have a few notes on a similar but slightly different closure table on this page . The idea is to have one table that represents the parent relation, and another that represents the ancestor relation. All changes to the ancestor relation is a consequence of... | 3 | 2 | 6,746 | 2015-06-22T15:31:40.443 | warehouse_errors | dba.stackexchange.com | |
961,202 | Google Cloud A record issue with setting up CWP web panel | I have a VM deployed at google cloud. Here is the google cloud setup. grant-fullen.com. A 300 35.231.125.190 grant-fullen.com. NS 21600 ns-cloud-d1.googledomains.com. ns-cloud-d2.googledomains.com. ns-cloud-d3.googledomains.com. ns-cloud-d4.googledomains.com. grant-fullen.com. SOA 21600 ns-cloud-d1.googledomains.com. c... | You said: nf1j.com dns servers are set to ns1.grant-fullen.com, and ns2.grant-fullen.com Your domain registrar disagrees. GoDaddy says: [CODE] You need to log in to your GoDaddy account and set the nameservers correctly there. | 1 | 3 | 545 | 2019-04-02T22:43:18.220 | infrastructure | serverfault.com | |
842,542 | Why are IPv6 addresses flushed on link down? | There's a difference in behavior between IPv4 and IPv6 addresses assigned to a network interface: when the link is dropped, as with "ip link set down dev eth0", IPv4 addresses are retained, but IPv6 addresses are flushed. If the link is brought up again, IPv4 addresses can immediately be used to pass traffic, but IPv6 ... | It sounds like the setting you are looking for is [CODE] which was introduced in Linux 4.6. Quoting Documentation/networking/ip-sysctl.txt : [CODE] If you are using an older Linux version than 4.6 the best workaround I can suggest is to assign the address to a [CODE] interface which you keep up even if the physical int... | 8 | 7 | 3,773 | 2017-04-04T16:47:57.020 | infrastructure | serverfault.com | |
294,366 | Renaming all occurances of an HTML class name inside a table with SQL | In a MYSQL database of a CMS all occurances of a specific HTML class name should be pre-fixed. Let's say the table of interest is [CODE] and the HTML code inside this table is like this: [CODE] So the SQL statement should rename the class name "myclass" to "prefix-myclass" wherever it may occur as an HTML class name , ... | [CODE] https://dbfiddle.uk/?rdbms=mysql_8.0&fiddle=e675fc3259589daa5231996b506553a4 | 0 | 2 | 24 | 2021-06-16T10:31:40.580 | database_errors | dba.stackexchange.com | |
190,002 | MS SQL Server Restore: Methods Without Exclusive Access | I've got a team recovering an MS SQL Server database. This database is live and currently working with a live website. An issue occurred (data was deleted) where we needed to restore a backup copy of the data without overriding the current database, in order to retrieve the missing data. Currently, our website is down ... | As far as I know there is no way with SQL Server to keep the database online while it’s restoring. Restores are a point in time version of the database and without having exclusive access to perform the restore it can’t guarantee the state of the data if data was to get changed mid restore. In the case of oops deletes ... | 0 | 1 | 182 | 2017-11-03T00:34:02.973 | database_errors | dba.stackexchange.com | |
73,080 | How do you keep your customers informed about the exact time you spent on their projects? | In my answer of the question about what are the important points to consider when starting your own company, I mentioned the fact that when the customers pay per hour of work, there must be a way for them to be sure that you don't make them pay for more hours that you actually spent working on a project . But now that ... | Something that helps is to actually track what the dev is doing during the hours he/she works on the project. We got an invoice from one place that was billing us hourly, and they marked down exactly what they were doing. Documenting A, Researching B, building class C, building unit tests for D, etc. It sounds really a... | 3 | 3 | 605 | 2011-05-02T18:08:01.517 | api_errors | softwareengineering.stackexchange.com | |
506,907 | What group should public_html belong to? | I have an appache server running on Linux - CentOS. In order to be able to edit my php files on Windows, I linked the server to my Dropbox account and created a symlink from the Dropbox folder, which is located under /root/Dropbox, to my public_html folder. Then when I tried to edit a file in public_html through Window... | You could run Dropbox as a non-root user, have public_html owned by that user and the apache group, and permissioned rwxrwx--- (i.e. 770) so that both your user and Apache can read and write. Also, as a general principle of Linux/Unix administration, you should never run applications as root unless you absolutely have ... | 2 | 2 | 2,428 | 2013-05-11T07:16:29.703 | pipeline_ops | serverfault.com | |
215,221 | What to storage to use? | could you please help me with choosing the affordable HP storage? Requirements are: 1) ethernet for data connection 2) RAID 0/1 3) minimum 12 HDD SATA Virtual machines have to be stored there, through NFS. | Larger server. Sorry. 12 HDD rule out every NAS device (with iscsi) that i know, pretty much all max out at 8 discs. Get an ISCSI SAN smoewhere. Dell, HP have them. Or get a storage server. I know SuperMicro has cases with up to 72 discs in one case. Small motherboard, OS etc., finished. At the end of the day, 12hdd is... | 1 | 2 | 97 | 2010-12-22T09:45:04.347 | infrastructure | serverfault.com | |
303,931 | Managing Installation Packages | I'm looking at our current method of creating installation packages and quite frankly it's a bit of a mess with a large scope for human error. We currently use InstallShield, but to get the files ready for the package, there is a lot of copy and pasting at release time and we're never quite confident that all files/dep... | to get the files ready for the package, there is a lot of copy and pasting at release time When it comes to "copy/pasting" files, there is almost nothing you cannot encode into a script (you have to pick a scripting language, maybe the shell script language of your OS - let me guess, its MS Windows - maybe a more moder... | 1 | 5 | 84 | 2015-11-30T15:38:35.820 | api_errors | softwareengineering.stackexchange.com | |
730,358 | Active Directory & SRX - User Groups | I'm in the middle of configuring a Juniper SRX to do LDAP Authentication for users and am running into an issue in my lab. I'm sure it's my own poor AD skills at play here, but I'm seeing some strange behaviour: I'm trying to permit any user within the group [CODE] . Two users are assigned to it, however their path in ... | Only your AD admin can give you actual OU path of an object. Fortunately, AD info is mostly readable for anyone in domain, so if you have any ldap client, you can just search that object and get its DN (DistinguishedName). You can search based on name, AD username(samAccountName), etc. You don't need to change a user's... | 0 | 0 | 659 | 2015-10-20T19:02:06.880 | api_errors | serverfault.com | |
1,058,960 | EPEL 7 proftp package only outdated version available 1.3.5e | Im a curious why there is no new version for the epel-x86_64 ftp server package proftp in the epel 7 repo: https://centos.pkgs.org/7/epel-x86_64/proftpd-1.3.5e-10.el7.x86_64.rpm.html There is only verion 1.3.5e avaiable from 09/Apr/2017. The latest version is 1.3.7a is 21/Jul/2020. Im am Using Amazon Linux 2 with proft... | Enterprise Linux distributions are not designed to be bleeding edge, but to provide long term stability and support of all components they ship. Necessary security updates (and sometimes new features) get backported rather upgrading to a newer upstream version with new features. https://access.redhat.com/security/updat... | 0 | 1 | 377 | 2021-03-31T13:24:00.553 | infrastructure | serverfault.com | |
15,185 | Why are manual tests in pen and paper style still popular? | Background In the previous company I worked for, we had manual tests since 2004 and until I left. In the beginning, these were very simple Word documents with 3 columns. The first column contained an icon, one for a step and one for verification. The second column contained an instruction to the tester. The third colum... | Just because there are tools for automating testing on the market doesn't mean they work for everyone. See my question about Tool for automatic GUI testing of Gupta Windows Applications : we have two tools but we can't use either for full automatic testing because they can't reliably identify GUI elements. So we must d... | 5 | 3 | 211 | 2015-10-15T22:03:05.937 | database_errors | sqa.stackexchange.com | |
188,499 | sp_BlitzFirst - File Stats Interpretation | I've had sp_BlizFirst running for a few days every 12 minutes to capture the various statistics. What I've come to realise though is that it doesn't seem to gather a lot of File Related Performance Stats apart from I/O stalls. Is there enough info to make a decision on whether I/O is a problem or not based off Wait Sta... | Disclaimer: I'm one of the authors of sp_BlitzFirst and the First Responder Kit. The wait stats section is on top for a reason: you need to focus on your top wait types. It doesn't really matter how fast or slow your drives are if SQL Server isn't waiting on them. Great example: say you've got a read-only database host... | 3 | 4 | 674 | 2017-10-15T04:10:36.843 | pipeline_ops | dba.stackexchange.com | |
233,704 | SVN configuration problem | Configured the SVN with [CODE] service including below modules but it gives an error as below: [CODE] error: [CODE] Server version: [CODE] How would you troubleshoot this error message? | This is usually associated with older versions of the libsvn present on your server: see this thread . Could it be that you still have an older version of the Subversion libraries somewhere? If so, remove them. [CODE] may be trying to link with the wrong version. This is assuming that you did update [CODE] with the new... | 1 | 3 | 1,177 | 2011-02-10T05:59:35.597 | infrastructure | serverfault.com | |
288,477 | How much can you detect undefined behaviour using testing | I hope this question fits this site. You may know you can't detect undefined behaviour in C using compilers - and some tools (static analysis) can help you detect it. My question is more empirical - I know exact solution cant' exist. Question: Say one developed software and performed intensive testing of the applicatio... | In both cases, testing will provide 0% additional certainty that no undefined behavior constructs are used in the application. Testing inherently does not have the ability to detect undefined behavior. Testing tests for wrong behavior. Undefined is very different from wrong. "Undefined behavior constructs" are often de... | 1 | 4 | 1,804 | 2015-07-02T06:44:45.247 | api_errors | softwareengineering.stackexchange.com | |
442,792 | Ubuntu 12.04 - apt-get install ia32-libs unmet dependencies | Trying to install ia32-libs. I run sudo apt-get install ia32-libs. The output is as follows: [CODE] I have tried sudo apt-get install -f, sudo apt-get update, and sudo apt-get upgrade. I tried doing sudo apt-get install lib32v41-0, but that doesn't work either because the package cannot be found. [CODE] Any suggestions... | ia32-libs was really just a hack to get 32 bit libs onto 64 bits as a hold over waiting for multi-arch, which we now have, making ia32-libs obsolete. You can now install i386 packages directly into and amd64 install, once you enable it. I'm assuming that now you are on amd64. To verify, run [CODE] and expect it to retu... | 1 | 4 | 6,228 | 2012-10-26T18:40:26.443 | infrastructure | serverfault.com | |
278,413 | How do I determine why IIS takes 60+ seconds to fail? | I'm seeing a very annoying pause when I run certain applications on my machine. Basically the machine pauses for about 60 seconds with no excessive processor, disk, or network usage during this time (just regular amounts of usage). I have no idea what the process is waiting for. Are there any tools to help me diagnose ... | The 60 seconds may be IIS' timeout setting for ASP scripts. Is it possible there is an application error? What is recorded in the IIS log about the offending call? (I always like to suspect my stuff first before I go looking elsewhere) | 0 | 0 | 1,285 | 2011-06-08T18:30:03.050 | infrastructure | serverfault.com | |
55,072 | This backup cannot be restored using WITH STANDBY because a database upgrade is needed. Reissue the RESTORE without WITH STANDBY | I am creating log shipping for two databases, db1 and db2. It will be from SQL Server 2008 R2 to a newer version, SQL Server 2012. On SQL Server 2008R2, they are both [CODE] = 661: [CODE] I restore them in standby mode: [CODE] One of them restores ok, with upgrade, and another one is giving me error: This backup cannot... | [CODE] is only supported when both SQL Servers are the same version. You can only use [CODE] An alternative if you need read access to the destination databases, is to use replication. | 10 | 10 | 7,433 | 2013-12-16T03:59:12.833 | database_errors | dba.stackexchange.com | |
327,975 | SharePoint crashed after sysprep | We have a Windows Server 2008 R2 machine that ends up being replicated multiple times a week for development purposes. Each time the server is replicated, the machine name changes. This completely kills SharePoint, and since the alternate access mappings are no longer correct--fixing it is no easy task. Is there a good... | Short answer: no. SharePoint is very intollerant to host name changes. What you can do is install the binaries, service packs and language packs. As long as you don't run psconfig.exe you will be able to sysprep and clone that machine. After cloning script psconfig to ease provisioning. | 2 | 3 | 375 | 2011-11-04T21:21:54.073 | infrastructure | serverfault.com | |
729,059 | DNS Issue - Clients on Network can't resolve website names | We have a windows network, with 2 DC's the primary DC is Windows Server 2012 R2 Standard and the secondary is Windows 2008 R2 Enterprise, both are DNS servers and they point to each other first then they point to themselves as the secondary and the loopback address is added as the third DNS address. I also have forward... | Sounds like you didn't have recursion enabled on your DNS server. When your DNS only refers client to ISP/Google DNS servers for external names, the lookup is going to fail because firewall is not open between your client and external DNS. Once you perform the lookup on DNS server itself, it caches the result so client... | 0 | 0 | 959 | 2015-10-15T02:53:26.327 | infrastructure | serverfault.com | |
966,536 | pm2-logrotate rotates standard error but not standard output | pm2-logrotate rotates standard error but not standard output. This is the content of ~/.pm2/module_conf.json [CODE] Actually, looking into pm2-logrotate-out.log, it does rotate the log but it deletes it immediately: [CODE] Note: there are no rotated files: [CODE] pm2 version is 3.2.2 | it's because of the short application name 'app' with only 3 characters. somehow the old log deletion script of pm2-logrotate would behave weirdly when the log filename is too short. just delete it from pm2 and start it again with a longer app name then it should be fine. (renaming the app probably would not work becau... | 1 | 0 | 1,404 | 2019-05-09T10:58:42.847 | infrastructure | serverfault.com | |
1,005,381 | Does SES free tier extend to AWS Fargate? | Amazon SES offers a free tier that is eligible for applications running on EC2 instaces or in Elastic Beanstalk containers. However, am I also eligible for the free tier if I am using AWS Fargate? As far as I understand, formally Fargate is neither EC2 nor Beanstalk, so the rules written in the official AWS documentati... | I think Fargate is included in SES. I can find no direct reference but several indirect references so your mileage may vary. Here's my logic: What is Fargate AWS Fargate is a serverless compute engine for containers that works with both Amazon Elastic Container Service (ECS) and Amazon Elastic Kubernetes Service (EKS).... | 2 | 2 | 1,008 | 2020-03-03T09:05:43.507 | database_errors | serverfault.com | |
54,024 | What are the best hosting companies in the world? | My client is a startup and he needs a world-class website on some of the best hosting providers in the world. Page loads should be fast, we can't have servers not responding and going slow, support must be great (like a Live Chat or similar SOS system), and everything else like custom apps should be supported. Any "Unl... | Most of the "best" hosting companies (in terms of the quality of support) tend to be single-technology (eg Engine Yard are Rails-focused -- so if you've got a Rails site, you'll get good support from them, but a Tomcat site you'd host somewhere else). For me, I want someone who will provide a solid, stable network, and... | -1 | 3 | 330 | 2009-08-14T00:19:33.217 | infrastructure | serverfault.com | |
102,056 | Nested set model: retrieve sub-tree containing nodes that match condition | I'm using the " nested set model " (the backend used by our web application is CakePHP and the Project model uses the TreeBehavior ). This is my "project" table: [CODE] I need to write a query that will return all projects which name match a certain string and also their parent or children. So if the string used is "x"... | The nested set model makes this kind of queries, for unlimited levels, easy to write: [CODE] Test at SQLfiddle-1 It might be more efficient if you use a temp table, because the subquery with the unsargable condition ( [CODE] ) will only be run once. But that depends on the version of MySQL you are using. Some newer ver... | 1 | 2 | 2,047 | 2015-05-20T15:31:43.047 | database_errors | dba.stackexchange.com | |
42,622 | Report non-unique ids? | Since a webpage should only have unique id attributes , does that mean you should report that as a bug on an otherwise functional page? For one, it surely makes automation more difficult, but for some that might not be a sufficient reason to change the id-s. | The id global attribute defines an identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS). https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id So as per standard, ID should be uniq... | 1 | 4 | 111 | 2020-02-20T08:33:17.933 | data_quality | sqa.stackexchange.com | |
114,247 | SQL Profiler in Developer Edition | I have SQL Server 2008 Developer Edition. My issue is that SQL Profiler is not installed, I've tried to reinstall it several times. SQL Profiler is not under Tools in SQL Server Management Studio. And the "Performance Tools" under Microsoft SQL Server 2008 in the start menu is not there. Here is the version number: Mic... | Indeed SQL Profiler is available in SQL Server 2008 Developer Edition. The features supported by SQL Server Enterprise, Developer, and Evaluation are the same. Features Supported on MSDN Likely you'll have to go back into the SQL 2008 installer and modify the installation options to include the Management Tools - Compl... | 3 | 4 | 2,537 | 2010-02-18T13:54:41.273 | database_errors | serverfault.com | |
144,555 | SQLServer - how to move tables between instances? | I'm not very familiar with SQLServer and, thus, I inadvertently created a database in a fashion I thought it would work. In SQL Management Studio, I right clicked the instance and created a [CODE] database, so all my tables are [CODE] instead of [CODE] . Should I expect performance issues? Also, is there a somewhat saf... | First of all if your object names are [CODE] you probably created a schema not a new database. Schemas are the containers for objects such as tables. Databases contain schemas. So the naming format is [CODE] . Assuming that is correct it's very easy to change the schema that owns your tables using [CODE] . [CODE] This ... | 1 | 3 | 362 | 2016-07-21T14:56:28.890 | warehouse_errors | dba.stackexchange.com | |
628,576 | How to access computer content using mac address? | I am making a project in which any one can have video on her pc and access it from anywhere also he can give access to another user so they can watch videos . But the problem is that how to uniquely identify computer on this kind of system .I cant use ip address because it changes after some time only option which i le... | To be able to share across a network, you need an IP. Simply put. When you wish to share videos to another person for that person to access, you need to invoke either the TCP or UDP protocol for download/stream. It is not possible to access content purely on the MAC as Layer 2 has limitations that Layer 3 (IP) provides... | -6 | 1 | 11,571 | 2014-09-15T12:50:29.550 | infrastructure | serverfault.com | |
12,120 | Non clustered index : performance issue | I have table which has schema as follows TABLE EMP [CODE] It has other non index columns as well This table is highly transactional and will have lots of data. Currently I have 824392 rows in this table. Now I am executing query which takes lot of time sometime and sometime it works like a charm. PFB the query : [CODE]... | 1&2 - Every update query must update the data for the table, wherever it may appear - in the clustered index (always), in any index that has the column in its definition, and in any index which just includes this column. 3 - Removing records may or may not help, it depends on 4: 4 - Probably, because sometimes it will ... | 2 | 3 | 484 | 2012-02-01T15:34:46.470 | warehouse_errors | dba.stackexchange.com | |
35,627 | Best practices for history/temporal tables? | Suppose I have an object, with certain fields which I want to track history, and certain fields which I do not want to track history. From a normalization perspective, is the following schema alright: [CODE] where MyObjectHistory contains the tracked fields for all except for the latest revision. Or, should all tracked... | For practical data access reasons, you should use the structure from your first option, but instead keep all versions of your tracked column values including the current version in your history table. The reason for this is that in general, when you want to look at history, you want to include the present and all past ... | 13 | 7 | 15,144 | 2013-02-27T22:26:50.697 | warehouse_errors | dba.stackexchange.com | |
160,991 | How to create a common interface for classes with different subsets of members | Don't know how to put it, But I'll try to be as clear as possible I have a project in which I am creating lots of classes and those classes have some common properties and methods but those methods could have different code in them, So I decided to make an interface so that I could inherit that in all classes and all c... | One way to do this is have one interface with the three methods, and implement it in a few abstract classes (these would be the base classes for the full implementations). These abstract classes would only implement methods that are not needed and would implement them as no-ops (empty methods that do nothing, or return... | 6 | 7 | 45,536 | 2012-08-15T17:58:40.997 | api_errors | softwareengineering.stackexchange.com | |
201,756 | Installing GeoIP on Redhat x86_64 es5 with no success? | I am trying to install GeoIP on my Redhat x86_64 es5 but im getting errors. The packages im trying to install is: GeoIP-1.4.7-0.2.20090931cvs.rhel5.x86_64.rpm GeoIP-devel-1.4.7-0.2.20090931cvs.rhel5.x86_64.rpm And I get this warning: "warning: GeoIP-devel-1.4.7-0.2.20090931cvs.rhel5.x86_64.rpm: Header V3 DSA signature:... | I have previously used this for the same packages.. (EPEL) [CODE] To search for correct packages try.. [CODE] Then simply installing should be as you already have been answered.. Note: when installing the EPEL.. accept the GPG key ( so you dont need to do it on every install) How do I know that a package is a EPEL pack... | 0 | 0 | 4,623 | 2010-11-14T19:58:59.937 | infrastructure | serverfault.com | |
400,329 | CQRS - How can a command properly validate when queries are required? | I'm aware that this question has been asked several times, but I have some concerns regarding querying from the write side that I don't see addressed in the already existing questions, more especifically regarding eventual consistency in the command model. I have a simple CQRS + ES architecture for an application. Cust... | How can I avoid and protect the command from the concurrency case exposed before? The only way to "protect" yourself against concurrent changes is to hold a lock, which effectively means to have both of the changes be part of the same thing. Once you have decided to distribute the information, concurrency is unavoidabl... | 2 | 5 | 2,073 | 2019-10-30T09:07:03.127 | api_errors | softwareengineering.stackexchange.com | |
387,740 | Maintaining parallel libraries: Binary files access + Metadata Database ORM design | I'm dealing with a higher-level data abstraction that I would appreciate some input on. I'm working on an application that uses a large data lake. The data lake is consisted of thousands of large binary files (250MB+ up to many GB each), each of which contains a very small amount of metadata (a few kB) that uniquely id... | Take a step back. If there is something in common between the two API's then they are discussing the same thing. You can extract that sameness into a library which is expanded on by the serialisation API, and by the Database API. This will help in clarifying those common ideas, and also how those ideas are extended as ... | 4 | 4 | 110 | 2019-02-26T17:17:24.613 | api_errors | softwareengineering.stackexchange.com | |
628,512 | pam_ldap and ldaps can't contact ldap server | I'm trying to allow authentication via LDAP on a CentOS host system. But I always get a Can't contact LDAP server error from pam_ldap. The LDAP server is pingable and authentication works perfectly with ldap://, but not with ldaps://. It also works perfectly with ldaps:// on debian OS, but not on CentOS. I got the Can'... | Migtor pushed me in the right direction. Thank you! When I removed TLS_REQCERT and checked for the ldapsearch errors I also got [CODE] . My CA certificate is the correct one, but openldap uses Mozilla Network Security Services (MozNSS) by default for checking the authority. So I have to add my self-signed CA to this da... | 3 | 3 | 44,855 | 2014-09-15T08:30:00.897 | api_errors | serverfault.com | |
330,621 | Security risk of JIRA standalone installation running JRE version 1.6.0_26 vs 1.6.0_29 (latest) | Atlassian recently introduced a standalone installer that installs JIRA, along with its own JRE. Unfortunately the JRE Atlassian bundles with this installer is 1.6.0_26, whereas the current version of the JRE is 1.6.0_29. This is potentially concerning given there were vulnerabilities in _26 that were fixed in the subs... | According to an official risk matrix from Oracle the security risk is quite high. Of course your environment is isolated from an external attacker but security is never too much. I guess Atlassian just did not have enough time to replace the bundled JRE yet, maybe it was not a top priority task in their release plan. | 1 | 0 | 289 | 2011-11-14T00:31:31.210 | infrastructure | serverfault.com | |
319,918 | Why is dropping an index on MyISAM table so slow? | Why is dropping an index on MyISAM table so slow? I can't imagine I'd have social network with 700m records & dropping index. There are only one-column indexes, all of them are fulltext (I need to switch to normal index as InnoDB don't like fulltext) DROP INDEX [CODE] however, ALTER TABLE is faster than that DROP? [COD... | If you want to micromanage the dropping of the index, why not automate yourself ? [CODE] This is essentially what doing the ALTER TABLE would do 'under the hood' Doing it this way will let you see the timing of each of these internal steps. UPDATE 2011-10-10 14:08 EDT I actually researched this personally. I remember c... | 4 | 6 | 4,673 | 2011-10-09T14:25:16.253 | database_errors | serverfault.com | |
1,035,627 | "535 5.7.8 Error: authentication failed: authentication failure" with postfix and dovecot sasl authentication | I'm testing remote smtp login on a server and keep getting [CODE] errors in the syslog and mail.log. Postfix is configured to use system user names and passwords. I generated a user name and password with [CODE] and [CODE] I am logging into the server with [CODE] and using the [CODE] to input the user name and password... | OK, I was able to get authentication working by adding the following lines to the postfix main.cf config file: [CODE] | 1 | 1 | 8,001 | 2020-09-28T17:32:41.463 | api_errors | serverfault.com | |
63,531 | Does routing distance affect performance significantly? | When I say routing distance, I mean on a global scale. For instance, if my target audience is in China, do I look for a host within China? | The Short Answer Yes The Long Answer It may not necessarily need to be right in the country you are targeting - just a close region could be sufficient. A good start is to determine where the major internet backbones/intercontinental links are in relation to your target audience, and plan accordingly. This way you coul... | 7 | 17 | 3,159 | 2009-09-08T22:46:48.683 | infrastructure | serverfault.com | |
704,256 | OpenLDAP - possible to search without specifying base? | I am having some issues with OpenLDAP and Spring security, where the latter does a search with the whole path in dn (filter), and an empty base. OpenLDAP does not like this, and the query fails. The problem is that I have no control over the query, so I am thus wondering if it is possible to configure OpenLDAP to allow... | An empty base is a special case for retrieving information about the OpenLDAP server that can host several databases (or "namingContexts" or "bases"). E.g.: [CODE] There really should be some way of specifying the base to use for searches | 0 | 1 | 866 | 2015-07-08T07:36:56.840 | infrastructure | serverfault.com | |
52,323 | How does locking work in INSERT..ON DUPLICATE KEY UPDATE statements? | I am encountering deadlocks while trying to update multiple rows (a batch) using INSERT..ON DUPLICATE KEY UPDATE. Does MySQL lock all the rows in one batch or does it lock only the row it is updating at a point of time? | This would depend on the Storage Engine. [CODE] : Table-level locks are performed. Consequently, all rows are locked. [CODE] : Row-level locks are employed. Since InnoDB is transactional, all rows are locked implcitly. Those locks would be visible when you run [CODE] . If you want to manually lock those rows beforehand... | 2 | 1 | 4,953 | 2013-10-28T12:49:23.890 | database_errors | dba.stackexchange.com | |
480,222 | Solaris: information on sparc hardware | I'm having 2 solaris machines to manage, So i want to write my own scripts for getting various information. I'm able to get most of the information but not able to retrieve following: Chassis type Mother Board S/N OS Language I have no physical access to the machine. I'hv already tried [CODE] but it just got stuck at c... | Little rusty on sparc/solaris, but these might help ... Chassis type : As far as I remember one of the [CODE] switches will give you a model, e.g. v240. If you just run [CODE] it should be in there somewhere. S/N : try [CODE] or [CODE] [CODE] ? | 0 | 0 | 748 | 2013-02-19T11:05:00.523 | infrastructure | serverfault.com | |
375,158 | Run chkdsk on a headless Windows 2008 R2 Server? | I have a Windows 2008 R2 Server which is running headless. It's a full installation, without a monitor, keyboard or mouse. For the last few days the machine has suddenly stopped responding at random times. It can still be pinged, however it's inaccessible via remote desktop, and none of the web application running on i... | In my opinion the chkdsk really isn't very useful at detecting failing drives. It is aimed more at fixing filesystem issues like the *nix [CODE] command. There are several Linux livecds you could boot up headless with some tweaking (ie sysresccd.org). Can you take the server offline for a bit to boot to a linux environ... | 1 | 2 | 1,413 | 2012-03-30T07:24:34.530 | infrastructure | serverfault.com | |
911,518 | CHKDSK erases VHDX That threw Corrupted/Unreadable Error | A windows 7 Virtual machine instance running on a windows 12 server had a 'blue screen of death' with a REGISTRY_ERROR (Code 51). After several unsuccessful reboots (successfully to safe-mode but could not a safe-mode with networking) a CHKDSK was run on the drive that stored the VirtualMachine's hard disk (.VHDX) Once... | First thing to do is to remove the drive and make a clone to another drive before you do anything else. Chkdsk must have found errors and tried to correct - clearly failed. Once you have cloned, you can remount your drive and right click on the VHDX file and select restore previous versions - if there are any available... | 0 | 0 | 902 | 2018-05-09T18:54:07.027 | data_quality | serverfault.com | |
127,064 | Creating basic, redundant gigE or IB storage network for Xen? | With only a modest budget, I want to move my 4 xen servers over to network storage -either NFS or iSCSI which will be determined based on how well it performs when we test it (we need good throughput and it must continue to work through link and switch failure tests). We may add another couple of xen servers at some po... | If possible, go with Infiniband. It is superior to 10g ethernet because it has small guaranteed latency. it is a much better technology for short distances - and breaks apart as real network over distances ethernet handles. Regarding ibeing in a corner - you are. The corner is "server side cluster high performance netw... | 2 | 2 | 902 | 2010-03-28T15:26:43.177 | database_errors | serverfault.com | |
895,331 | Fixed IP address, hosting via Docker in AWS ECS | We want to host our software on AWS via Docker using ECS. However, our software must connect to an external service, and they limit our access based on IP address. Is it possible to have fixed IP addresses for the EC2 instances in the ECS cluster? | You should be able to accomplish this by putting the instances in a private subnet and running their traffic through a NAT gateway . | 1 | 1 | 1,108 | 2018-02-02T11:04:37.823 | pipeline_ops | serverfault.com | |
16,804 | Configuration Manager: Configuring Active Directory System Discovery fails with ActiveDirectoryServerDownException | I've just set up a new ConfigMgr 2007 SP1 environment for testing. I'm attempting to configure Client Push Installation, for which I want to use Active Directory System Discovery. However, when I attempt to add "Local Domain" to the containers list, I get an [CODE] . What's going on? | The first thing that you should check is that DNS is working correctly. If you're using DHCP, have you configured DNS servers correctly in the DHCP server? If you're using static IP settings, have you configured DNS correctly there? To check DNS, just run nslookup at a command prompt. Does it connect to the correct DNS... | 0 | 1 | 321 | 2009-06-01T13:49:42.623 | pipeline_ops | serverfault.com | |
193,269 | Postgres deadlock in INSERT VALUES concurrent with ON DELETE CASCADE | I create tables like this: [CODE] I then have two processes executing SQL transactions in very rapid succession. Both have the standard READ COMMITTED isolation level. The first process is running this, except the values in the [CODE] are in a random order (I've done it in Python): [CODE] The second process runs the fo... | I would not worry about the behavior, just retry the transaction if terminated by the deadlock. The first transaction tries to delete A and B, and acquires sequentially a lock on them, and the second deletes B and A, with the same approach. Upon locking A and B, none of the two transactions can progress, hence one of t... | 2 | 2 | 2,301 | 2017-12-15T21:41:50.527 | database_errors | dba.stackexchange.com | |
568,732 | How to let rsnapshot continue after backup error? | I have implemented a multi-server backup system, which is working quite effectively. I have a backup server with a large disk-array, and every night it runs rsnapshot to backup relevant data on all servers on the LAN (linux/windows). Connection to server is via regular ssh connections. This is the relevant (simplified)... | I did implement myself a solution... In sub [CODE] I did change [CODE] with [CODE] Testing right now, but quite confident... :-) | 1 | 0 | 683 | 2014-01-21T10:24:29.080 | database_errors | serverfault.com | |
1,028,610 | Hadoop Cluster Capacity Planning of Data Nodes for disks per data node | we are planing to build hadoop cluster with 12 data nodes machines [CODE] data nodes machines are include the disks for HDFS since we not found the criteria for how many disks need for each data-node we are not sure about the minimal disks that should allocated for each data node what is the minimal disks quantity for ... | Since your disk tolerance is 1 then preferably you should have at least 3 disks for HDFS because even if you lost 1 disk then you still have 2 disks running and can further tolerate 1 disk failure and 1 disk for OS and other related stuff to keep things separated. Its always recommended by to user higher number of smal... | 0 | 0 | 224 | 2020-08-02T20:51:07.093 | hadoop_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.