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,000,937 | virsh: failed to connect to hypervisor as user | I'm currently running a RHEL 7.7 operating system. I was trying to setup minkube environment using kvm2 driver, so what happens is that minikube starts pretty, but with some errors during the startup . The error is the following: [CODE] So i start to investigate, and first what i did i tried to run the virsh command on... | So after all the struggle (And btw probably adding the user to the right groups was part of the correct configuration), i was still missing one thing to get it works as a user. Apparently it needs the following environment variable to be exported: [CODE] After that export if the user is in an allowed group for libvirt,... | 1 | 2 | 5,054 | 2020-01-29T16:18:56.207 | infrastructure | serverfault.com | |
110,452 | how do you back up your code on your local computer? | Possible Duplicate: Version control for independent developers? I have a folder containing all my code (working code, experiment code). I'd like to back it up to a zip file on an external hard drive or whatever is best. How do you guys backup your code? Do you setup your own source control server? Do you use a script t... | One word: Git. Commit locally as often as you like, giving you a backup. Push remotely as often as you like, giving you an offsite backup. Have a full history of all changes, be able to fork locally and remotely, so that you can play around with ideas. And it's dead easy to set up. It's not sooo easy to learn, but anyo... | 2 | 7 | 6,876 | 2011-09-24T21:10:25.250 | database_errors | softwareengineering.stackexchange.com | |
275,001 | Is mongoexport more optimized for querying than running the same query with a driver like "mongodb" for nodejs? | I'm in charge of building a nodejs module that dumps varied amount of data from a mongodb into a file and then put it into S3 (sometimes a single document, sometimes thousands, like a whole collection). The project where this module will be already uses "mongodb" driver for different use cases. I was told that for larg... | Mongoexport connects to the MongoDB server using the Go driver. Any operation it performs can also be performed by any other user. If there is no filter provided, it will hint to use [CODE] to read the documents in the order they appear on disk, which is more efficient than using an index when reading the entire collec... | 1 | 0 | 633 | 2020-09-04T23:25:49.423 | database_errors | dba.stackexchange.com | |
110,607 | Can PostgreSQL use nulls in its indexes? | I've been reading this book which says that The database assumes that Indexed_Col IS NOT NULL covers too large a range to be useful, so the database will not drive to an index from this condition. I recognize that the book is more than 10 years old, but it has already proven quite useful--Using instructions gleaned fro... | PostgreSQL certainly can use an index for [CODE] . I don't see any query planner assumptions about that condition, either. If the null fraction for the column ( [CODE] ) is low enough to suggest that the index is usefully selective for the query, PostgreSQL will use an index. I can't figure out what you're trying to sa... | 10 | 9 | 7,627 | 2015-08-10T22:13:50.760 | database_errors | dba.stackexchange.com | |
12,419 | How do you block ad-hoc distributed queries from specific sql server instances? | For one reason or another, a particular development SQL Server is unable to [CODE] or [CODE] to production servers, but can hit other dev servers. I've tried sqloledb and sqlncli providers. I'm not sure if this is a database or network configuration. If it is a database configuration, is it set on the dev server, or AL... | It's a simple setting for sp_configure (that should work for all newer versions of SQL Server - 2005, 2008, 2008 R2): [CODE] This will enable the use of OPENROWSET and OPENDATASOURCE. | 2 | 4 | 3,051 | 2012-02-07T21:25:49.063 | database_errors | dba.stackexchange.com | |
362,958 | How do I script screen to create multiple windows? | I have a little problem with screen. I wanted to launch several servers in a screen session, so I made a little script designed to to have one server per window. [CODE] But it's not working right - the sessions are created, but all the commands start on the first window. I read the man page, but I still can't find what... | Try this: [CODE] The "-T xterm" switch isn't really necessary, unless you plan to use curses-based programs from inside the screen (mc, less, etc.). | 1 | 0 | 2,854 | 2012-02-23T11:05:13.667 | infrastructure | serverfault.com | |
1,121,065 | Postfix starts before /etc/resolv.conf is ready and fails to resolve DNS | I have configured Postfix to send all emails to a smart host, and it can work for weeks without problems. But every now and then it stops working and shows messages such as these in the log (the first two lines are for the last successful sending, and the last two are the first message that fails to go out): [CODE] Sub... | The way you specified relayhost makes it to do a MX lookup on the specified name and use that name to look up the address of the server where to connect to 587. This is why it says "MX: Host not found, try again". If [CODE] is the literal name of the MX server (and not a domain name where MX records exist that specify ... | 0 | 2 | 364 | 2023-01-25T08:41:53.637 | infrastructure | serverfault.com | |
591,245 | SSHD to retrieve forwarded client IP | This is my use case: I have a bunch of hosts behind load-balancers and clients SSH through the load-balancer. The LB internally creates a new connection so the connection with the end-host has the LB`s IP addres. In order to know who started the request, load-balancer is set up to forward the client IP address in a hea... | If the load balancing was operating in DSR mode, the sshd process would see only the client IP and never the IP of the load balancer. I assume there is something in your networking setup preventing the use of DSR, so you have to use other methods. There are different protocol layers at which the client IP could be inse... | 0 | 0 | 1,475 | 2014-04-25T03:08:55.050 | infrastructure | serverfault.com | |
379,614 | Does Defect density measure QA or DEV effectiveness? | Most Defect density metrics are like this: Number of bugs / Size (KLOC, Story Points, Function points..) I have read that it measures the effectiveness of QA but I do not get it: I can have a super senior developer and a sloppy QA. Therefore, the sloppy QA guy finds nothing because there is nothing. I can have a bad de... | I have read that it measures the effectiveness of QA but I do not get it It is surely a good idea to take any such statement about metrics with a grain of salt. The only way I can think of to use the given metrics to measure the effectiveness of QA, is to take the same piece of code , give it to different QA people and... | 4 | 4 | 1,262 | 2018-10-08T12:45:09.660 | api_errors | softwareengineering.stackexchange.com | |
365,932 | What would be the architecture for a polling-based monitoring service? | I have a list of 75000 websites that need to be monitored for uptime. Monitoring the websites involves making a HTTP request for the website every minute, and the website is said to be "up" or "down" based on whether we could successfully make a HTTP request and received a HTTP response. This kind of "polling" is the o... | When you are working with a large queue of websites like this, you'll want a combination of non-blocking I/O and a finite thread queue. You'll find that the exact number of threads that would be optimal is a function of the number of cores in your CPU. Testing will let you find the optimum ratio. Even then, you may nee... | 0 | 1 | 1,320 | 2018-02-14T14:41:33.283 | api_errors | softwareengineering.stackexchange.com | |
23,583 | Selenium Webdriver testNG | I have created three classes in TestNG and every time that I run my test.xml file it is then opening up multiple instance of IE. I need to do the the following activity in single browser instance :- Launch IE>>Open URL>>Login To Application>>Search Task.............. As of now by my code it is opening three instance of... | This is because when you call the [CODE] it initiates the [CODE] before [CODE] since there is a [CODE] and you have two test method (1 test method in each class) the IE browser is initiated twice. Also show us the TestNG.xml code. | 0 | 0 | 96 | 2016-11-09T12:48:24.600 | data_quality | sqa.stackexchange.com | |
319,036 | Which server solution for an office that doesn't really "need" a server? | In the office I work for, the situation is as follows: There are ~20 PCs running Windows 7 (mostly) and Windows XP. No domain. There are four network-capable Ricoh printers, currently shared over a Windows 2000 Server machine. It will be retired. There is Lotus Domino running on a virtualized Windows Server 2003. Now, ... | The non-server versions of MSWindows are limited in the number of concurrent socket connections / number of listening sockets they will allow - sorry I don't know what that limit is nor whether it will affect a network of your size. You shouldn't need any server for printers directly attached to the network (unless you... | 1 | 2 | 199 | 2011-10-06T12:30:33.810 | infrastructure | serverfault.com | |
77,918 | SQL2K5 Standard to Enterprise upgrade | I have SQL2K5 Standard configured in an active/passive W2K8 cluster in my Production environment, and on a standalone box in my Staging environment. I want to upgrade to SQL2K5 Enterprise (mostly for the parallel indexing capability). I need to do this with minimal downtime (failover hiccoughs are fine). Following is a... | Another option would be to build a new clean temporary cluster using spare and staging server to reduce risks. You can't upgrade just one node, if I recall correctly, because SQL Server does a cluster install not a node install. So, steps 4-8 won't work. | 0 | 1 | 137 | 2009-10-22T23:20:33.037 | database_errors | serverfault.com | |
900,287 | How do I launch a service on linux | I have written server-socket Java application (not a web application) and I have a server running on Linux machine. How do I deploy this application so that I can request from anywhere from any app (assume the app has permission). Should I install eclipse/netbeans IDE on server machine and then run the code forever? Or... | First off, your question lacks any research effort as this is a very common thing done on many, many websites. Or is there any application like tomcat/xampp which will run my server code like Java/other web application. Yes. Depending on your deployment and code-base, you'll need to find a translation mechanism between... | -2 | 0 | 119 | 2018-03-06T15:43:21.007 | infrastructure | serverfault.com | |
141,213 | Spam just keeps on coming | I administer a Windows Server 2003 with Exchange 2003 as well as GFI installed. I am watching the GFI dashboard and every third email is spam. Not only that it goes to a non existent address then the Postmaster@ourdomain.com sends out an NDR to the sender. Should I be worried about this? I know it is directory harvesti... | Welcome to the internet my friend, would you like some spam? :) In my experience 3:1 (or higher) Spam:Ham ratio isn't unusual -- My company gets on the order of 3.75:1 & my personal box is around 2:1. If you want email you just have to cope with the fact that you will get a bunch of spam along with it. Definitely don't... | 1 | 4 | 232 | 2010-05-12T18:00:38.617 | bi_errors | serverfault.com | |
15,868 | Create a folder in slave node using Jenkins pipeline groovy script | I have a Jenkins job which runs on a slave node on another machine, both master and slave run on windows. The slave node is being run as a windows service. The main repository has git submodule included. After checking-out the code for both the main and sub module repositories, I need to create a folder inside of the s... | Issue got resolved with the use of File Operations Plugin methods like [CODE] & [CODE] . Example code snippet below: [CODE] | 0 | 0 | 2,933 | 2022-04-26T14:35:50.537 | pipeline_ops | devops.stackexchange.com | |
203,000 | SQL Server 2017 Management Data Warehouse: collection_set_1 not working due to database trigger | The problem I have got an issue setting up Management Data Warehouse on SQL Server 2017 CU 5. The job "collection_set_1_noncached_collect_and_upload" keeps failing. It is related to the "Disk Usage" collection set. Error Messages are the following (I highlighted the part which is most relevant IMHO): Executed as user: ... | Eventually I have found a solution to my problem. As on a StackOverflow question described your can hack you way around the problem using [CODE] . So I added these two lines to my code (within the IF clause and before doing other things) and got things to work: [CODE] I admit that this solution is not pretty and presum... | 0 | 0 | 1,170 | 2018-04-04T10:35:22.413 | database_errors | dba.stackexchange.com | |
431,241 | Website Upgrade - Avoid Downtime | I have been requested to investigate how I can reduce the downtime of our website upgrades. We maintain a DNN site with both public facing pages and member only pages. The member only pages are directly linked to our core application database while the public pages are not. Our current process is to redirect website us... | Do you practice any agile deployment methodologies? My first suggestion is to measure what part of the deployment is taking longer than desired and optimize it. Try to separate database deployment from code deployment schedules. Since you are backing up your database nightly (correct?), There shouldn't be too much data... | 1 | 0 | 393 | 2012-09-24T01:28:34.410 | database_errors | serverfault.com | |
1,059,460 | Using nobarrier with ext4 and google persisten disks | I was looking into speeding up some heavy DB write workload on google cloud vm. I saw nobarrier option for ext4 FS can provide some performance boost. I was wondering if anyone knows if it is safe to use nobarrier option with google persistent storage (Balanced PD). My understanding is that [CODE] , but I dont know how... | Red Hat has a document on the use of barriers: The use of nobarrier is no longer recommended in Red Hat Enterprise Linux 6 as the negative performance impact of write barriers is negligible (approximately 3%). The benefits of write barriers typically outweigh the performance benefits of disabling them. Additionally, th... | 1 | 2 | 356 | 2021-04-06T00:57:02.870 | data_quality | serverfault.com | |
548,582 | How can I recover an ext4 filesystem corrupted after a fsck? | I have an ext4 filesystem on luks over software raid5. The filesystem was operating "just fine" for several years when I was beginning to run out of space. I had a 9T volume on 6x2T drives. I began upgrading to 3T drives by doing the mdadm fail, remove, add, rebuild, repeat process until I had a larger array. I then gr... | My preferred tool for filesystem data recovery is UFS Explorer . I do not know how the LUKS encryption will impact this, but download an evaluation of UFS Explorer and try the normal best-practices. Run it against your image and see if things appear to be more recoverable. The tool will provide you with a good view of ... | 11 | 3 | 27,765 | 2013-10-25T08:51:22.587 | database_errors | serverfault.com | |
650,703 | Troubleshooting web server continuous load issue | I am a beginner at managing a web server. And I am trying to learn how to troubleshoot an issue in Windows Server 2008 R2 running IIS 7.5 with a .NET 4.0 MVC website. A website I manage has been running perfectly on a GoDaddy shared hosting plan for months. The last code update to the website was about 6 weeks ago. Sev... | I finally solved this last week. There is a configuration file that is apart of our web application that needs read/write permissions for IIS. On our shared hosting account at GoDaddy, the permissions had been removed for some unknown reason. And when we loaded the application onto the test server, I basically just for... | 1 | 2 | 5,878 | 2014-12-10T22:50:09.953 | infrastructure | serverfault.com | |
57,551 | I'm looking at sharing a printer over the internet, what are the implications? | Is it safe to NAT to the TCP/IP printer on the appropriate port in the router? Will I get unwanted documents from hackers or is this not a huge problem? | Keep in mind that even printer firmware (presuming it's a printer and not a print server like CUPS) has security vulnerabilities. There have been reports of printers getting 'bots installed on them. You may get random messages from people, much like junk-fax. | 1 | 3 | 421 | 2009-08-23T05:37:24.247 | infrastructure | serverfault.com | |
1,033,570 | DKIM aligned but not authenticated on On-Premises Exchange 2019 | I have an On-Premises Exchange 2019 server with Hybrid Deployment with Office365 configured. Everything is working as expected, but DKIM aligned messages are arriving as unauthenticated. I can confirm that the sender have properly authenticated DKIM, since other public mail providers receive the message correctly with ... | Have you modified something before this issue occurs? I have found an article on On-Premises Exchange: DKIM and DMARC setup and you could refer to this article to check the steps you configured. In addition, you could refer to this and it may be helpful to you. | 0 | 1 | 920 | 2020-09-11T18:49:01.287 | api_errors | serverfault.com | |
410,045 | How to redirect localhost to 127.0.0.1:8080? | Due to unidentified problem, any service pid4 is using port 80 of my Windows 7-64 bit PC's. I ultimately decided to change my default port to 8080. But how can I change the way that when I enter localhost in URL, then automatically the data from 127.0.0.1:8080 comes. I also edited the hosts file as [CODE] but it didn't... | You can't specify a port in a hosts file or DNS A record. You need to do one of two things: Type :8080 into the browser at the end of your URL. Redirect traffic on port 80 to 8080 using a reverse proxy, rewrite rule, or firewall rule. | -3 | 4 | 2,600 | 2012-07-22T12:44:57.973 | infrastructure | serverfault.com | |
341,559 | Can I have TCP timouts up to 10-20 minutes? | It it important to rely on TCP guaranteed delivery even in case of mobile client which could disappear in a tunnel for a long time when TCP with standard settings give up and close the connection. Is it possible to make TCP implementation keep trying for up to 10-20 minutes? What settings should be done on linux and on... | [CODE] - look for tcp_retries[1,2] for Linux machines. I have no idea what to do for Android and given Apples attitude to system-level tweaking there is probably absolutely no way to do this on iOS except when you jailbreak . TCP socket timeouts put aside, most applications will implement their own timeouts which are p... | 1 | 4 | 361 | 2011-12-16T10:26:16.993 | infrastructure | serverfault.com | |
292,035 | Deleting Billion records in a range vs exact ID lookup MYSQL | I have a database table which is around 700GBs with 1 Billion rows, the data is approx 500 GB and index is 200GB, I am trying to delete all the data that's before 2021, Roughly around 298,970,576 rows in 2021 and remaining before this are 708,337,583 rows. To delete this I am running a non-stop query in my python shell... | I would use much smaller batches, and delete in specific ranges: [CODE] Start with the first number equal to the minimum id of the table, and the second number 1000 higher than that. Doing batches of 1000000 is too large, it'll take too long and make the rollback segment grow too large. Then as you loop, increase the s... | 0 | 1 | 541 | 2021-05-21T19:25:13.123 | api_errors | dba.stackexchange.com | |
347,660 | running a linux script to check on process and if stopped how to make it start the process | We are running OES2/SuSE. The problem is with our groupwise webaccess. From time to time it stops and we just have to restart the process. The commands are: [CODE] [CODE] How would I create a script that would check the status and if it comes back stopped, then it would run the rcgrpwise start command. | If it's a really simple process to start I would probably add it to inittab with a respawn entry. Otherwise look at using something like monit to check and automatically restart processes . | 0 | 2 | 1,476 | 2012-01-07T14:25:14.067 | infrastructure | serverfault.com | |
984,060 | Windows 7 Sending SSDP M-SEARCH Packets Even Though UPnP and SSDP Services Are Disabled | I have a small Windows 7 business workgroup network (no Domain Controller, not using Homegroup) that I am trying to eliminate SSDP traffic from. I've disabled the SSDP Discovery and UPnP Device Host services on each computer and restarted each computer. When I use Wireshark to capture packets from one of the computers ... | From an elevated command prompt run: netstat 1 -a -o > path \netstat.txt where path is the path to a folder of your choice. Let that run for a few minutes then terminate it. Review the generated netstat text file and find the traffic in question. Look at the PID (process ID) for the traffic. Then launch Task Manager an... | 0 | 0 | 1,635 | 2019-09-13T00:15:42.633 | infrastructure | serverfault.com | |
329,916 | Experiencing IP conflicts restoring Cassandra DB from snapshots in GKE environment | While restoring 750TB Cassandra database using disk snapshots in GKE (google cloud K8s) environment from one namespace to another namespace we are experiencing issues with IP conflicts, to avoid the conflict we had a different cluster name but still seeing below errors sometime when bringing up the target node. Out of ... | The error you posted doesn't seem to be related to restoring snapshots. It indicates that you're trying to bootstrap a new node into the cluster but one of the replicas it needs as the data source for streaming is unavailable. Note that you can only bootstrap one node at a time, not multiple nodes in parallel. Once one... | 0 | 0 | 20 | 2023-08-02T20:16:16.577 | database_errors | dba.stackexchange.com | |
66,759 | Assistance needed on what machine learning approach to use | I'm currently writing my Master's Thesis on Subjective tagging of sounds and I feel that I've been stuck with the same problem for quite a time now and need assistance to progress. I'll, in short, describe my goal and what I've accomplished so far. I'm writing a program that lets users manually tag audio files with a s... | Just a few observations from my side: I think you should clarify your goal for yourself. Writing a program isn't a goal in itself. I'm missing the top level picture. The second part: 'The goal is to have the program automatically tag similar sounds with the correct label by finding related sounds using machine learning... | 1 | 0 | 64 | 2020-01-20T12:31:05.257 | data_quality | datascience.stackexchange.com | |
302,223 | How to grant permissions to Network Service to write in a remote location | I need to grant permissions to the Network Service account to write on a different machine on the same network. Can you tell me which permissions I should add? Thanks! EDIT From http://technet.microsoft.com/en-us/library/ms143504.aspx Services that run as the Network Service account access network resources by using th... | Grant rights to the remote resources to the computer account; this will allow for [CODE] to access the resources. Note that for this to work, the systems must be in a domain. When granting permissions, Computer accounts aren't searched by default. You'll need to change your search scope in the permission granting dialo... | 4 | 5 | 3,796 | 2011-08-17T19:16:04.667 | infrastructure | serverfault.com | |
176,164 | Preventing expansion of : in batch file for loop | Trying to build a cmdline tool for reviewing TFS changesets. Currently I have this: [CODE] Which gives the following result: [CODE] I'm not even sure why the : is turning into "curr", but if I remove /format, I get the same thing happening in /version. Secondarily, if I just replace the :'s with spaces assuming I'll de... | Try: [CODE] From [CODE] : To use the FOR command in a batch program, specify %%variable instead of %variable. Variable names are case sensitive, so %i is different from %I. | 1 | 1 | 391 | 2010-08-30T17:59:18.673 | infrastructure | serverfault.com | |
6,949 | How will ADA Boost be used for solving regression problems? | I have an idea of how ADABOOST will be used for classification but I want to get the idea of how to re-weight and thus use ADABOOST in case of regression problems. | Here are link to some famous boost of regressor. Adaboost.R2: Improving Regressors using Boosting Techniques Adaboost.RT: Experiments with AdaBoost.RT, an Improved Boosting Scheme for Regression Scikit-Learn have many implementations: AdaBoostRegressor Decision Tree Regression with AdaBoost | 7 | 5 | 10,546 | 2015-08-31T05:45:00.513 | data_quality | datascience.stackexchange.com | |
605,252 | What database permissions to grant for Postfix using MySQL? | I'm trying to set up a Postfix mail server using MySQL for the mapping tables. As it's bad practice to simply grant all permissions unless they're needed, I want to grant only the minimal permissions required to make Postfix work. Unfortunately, even the Postfix MySQL Howto doesn't seem to want to give up this info, an... | You only need the SELECT permission for Postfix as it only runs SELECT queries on those tables. In this kind of setup you are also likely to have some admin panel which will have to write to those tables. So it's best to setup a read only user for Postfix and a separate read/write user for the admin panel. | 2 | 3 | 303 | 2014-06-15T11:37:48.373 | database_errors | serverfault.com | |
956,097 | Why didn't I need a hairpin NAT with my DD-WRT setup? | My old DD-WRT router was dying, so I grabbed a UniFi EdgeRouter, which is, stylistically, much more like a "real router". I have various public IPs that I have 1-to-1 NAT setup for, i.e. the internal system has an IP of 192.168.123.134 , and any external requests to 173.13.139.236 get translated to the internal IP and ... | I think the DD-WRT interface used the term "Internet NAT Redirection" for the correction of hairpin NAT issues which was active by default and because it probably "just work as expected" you simply were not aware of its existence. Rather than on specific IP-addresses (and port numbers) that was probably effected in/wit... | 3 | 3 | 1,802 | 2019-02-28T06:37:18.923 | infrastructure | serverfault.com | |
497,812 | BitLocker Setup requires the drive file system to be NTFS | We are running a new Windows 2008 R2 Server on Dell PowerEdge R620 Hardware. I am trying to enable BitLocker Encryption on the C Drive, I have already enabled the TPM from the BIOS. During the phase where it checks your computers configuration, we get an error that says "BitLocker Setup requires the drive file system t... | You are right in your assumption that the Error you get is in case because you have that DELL OEM Partition with the FAT32 FS. If you want to turn on BitLocker, backup that partition, delte it, turn on BitLocker and restore the Partition if you really need it. I have not found another way yet to get around that issue. ... | 7 | 4 | 5,246 | 2013-04-09T23:40:27.657 | infrastructure | serverfault.com | |
26,302 | TestNG reporting dynamic test cases | I have multiple Test Cases using a single test method dynamically. It it possible for TestNG to report the number of passed Test Cases and number of failed Test Cases? If it is possible, how do I do this? | Looks like the TestNG reporter shows this info in the results by default. The screenshots in this TestNG reporting howto shows: Total methods, failed and passed. Alternatively let a CI-server (like the free teamcity or open-source jenkins ) report and mail results. You do have a build server which runs the tests on eac... | 1 | 1 | 341 | 2017-03-22T10:33:40.983 | data_quality | sqa.stackexchange.com | |
104,322 | spot/stain growth in image classification problems | I am working on a problem with images where we are monitoring development of spot in certain region of image. We are able to classify spot present(NOK) or not present(OK) successfully if initially image doesn't have spot in that region and developed over time by using CNN with ReLU activation. But our challenge is in f... | I found my answer in data pre - processing steps. Finding the growth of spot or stain was the major challenge for the cases where we have already stain. Calculating delta with respect to initial image can clearly show the evidence of growth in stain. So we decided to train the model on the pre-processed data by get rel... | 1 | 0 | 42 | 2021-11-20T14:35:32.663 | pipeline_ops | datascience.stackexchange.com | |
219,686 | SQL Server - How to improve/optimize remote scan on a linked server | I'm trying to figure it out how to optimize/improve the following thing, on a VM hosted in MS Azure and a database, also hosted in MS Azure. Besides the instance hosted in MS Azure, there is another instance (local) that has a dedicated database for an integration made between two software applications and there is a l... | Based on my personal experiences, you will get far better performance by transferring data between the two servers and performing the update on the target server. After watching one of these at a more detailed level (i.e. amount of data transferred between the servers), I determined that at least 90% of the remote tabl... | 2 | 2 | 853 | 2018-10-09T17:12:00.623 | database_errors | dba.stackexchange.com | |
259,713 | Change BIOS settings without a reboot Dell Power Edge 1850 | I have a server that has "F1 to continue" option enabled on the BIOS. This is a problem, because I do not have easy physical access and I need to reboot occasionally. My question is, is there a tool or technique to change the BIOS settings while in running windows? Does Dell make a tool, or are there any third party to... | If the POST process is stopping and presenting you with the "Press F1 to Continue" message, there's something wrong. It's either detecting a keyboard failure or a memory reconfiguration, or some other condition that prevents it from booting without confirmation from you. What you should do is determine why it's prompti... | 0 | 4 | 4,591 | 2011-04-14T15:47:28.197 | infrastructure | serverfault.com | |
925,268 | Nginx Non-WWW Redirect to WWW Record Issue | I am running Nginx via an AWS ElasticBeanstalk application and have Https enabled through a load-balancer and forced Https redirect for www., but it appears that there is either an issue with my Route53 records or Nginx server block as when I try to access the root domain (non-www), it brings up a godaddy.com parked pa... | Please check older post https://stackoverflow.com/questions/41669583/redirect-non-www-to-www-with-aws-elastic-beanstalk Or make following change [CODE] | 0 | 0 | 511 | 2018-08-07T12:06:45.630 | database_errors | serverfault.com | |
138,657 | In Postgres, how can I calculate cume_dist (relative rank) over the entire table, but only for a single row? | I have a table with the following schema: [CODE] I'd like to get the relative rank of a single entry, based on [CODE] , as it relates to the entire table, but I'm not sure how to structure the [CODE] clause in order to do this. Running the following gives me a rank of 1, so I'm assuming the [CODE] clause is getting lim... | You need to first apply the function in the whole table and then restrict the results with [CODE] : [CODE] Alternatively, you could calculate the function with 2 subqueries: [CODE] or with the new [CODE] syntax: [CODE] | 3 | 4 | 971 | 2016-05-16T18:36:46.630 | warehouse_errors | dba.stackexchange.com | |
257,112 | Running the .sql script in Linux to get the postgresql database table and functions | I am using Red hat Centos 7. When I use this command to run the .sql script to get postgres database table and fucntion: [CODE] What could be my error? How do I fix the error so that I can successfully run the script to restore table and function and all the data in postgresql. This is my pg_hba.conf. Is there anything... | You are trying to run the psql as the OS user 'root'. Your pg_hba.conf file doesn't let OS user 'root' log in as database user 'postgres'. You could instead use sudo to run as OS user 'postgres', not 'root': [CODE] (Although perhaps OS user 'postgres' won't have access to the sqlscript) You could also make use of a map... | 0 | 2 | 297 | 2020-01-10T15:49:25.907 | database_errors | dba.stackexchange.com | |
848,142 | Google Cloud VPN is not allowing outbound HTTP or SSH into Office Network | We have a new Google Cloud Platform setup. We have successfully created a VPN connection to our office router. We can reach private addresses in Google Cloud from our office and some services from inside GCP can reach into our office network. We have set up kube-dns to use our internal DNS server over the VPN for priva... | The following explains the MTU setting required for Google Cloud VPN. https://cloud.google.com/compute/docs/vpn/advanced#maximum_transfer_unit_mtu_considerations On our Juniper SSG series routers, I set the MTU on the VPN tunnel virtual interface with: [CODE] However the solution required more than just MTU, because on... | 0 | 1 | 808 | 2017-05-04T00:49:21.360 | pipeline_ops | serverfault.com | |
172,544 | ORA-00001 - But no name | We have a huge table with nested tables and such. We are using Bulk Collect & FORALL to insert. When loading data, I am getting this error: ORA-00001: unique constraint (.) violated There is no constraint name......so, how can I find out 1) What or where is causing the error, and, 2) Which record it is? I know you can ... | A possible bug for not displaying the constraint name with bulk DML and [CODE] clause: Bug 7210333 : CONSTRAINT NAME IN SQLERRM IS NOT OUTPUT WHEN SAVE EXCEPTIONS IS USED To catch the records causing the error, you could use DML error logging as well: [CODE] Insert data: [CODE] Actual data: [CODE] Rows violating the co... | 3 | 3 | 457 | 2017-05-02T18:13:31.517 | data_quality | dba.stackexchange.com | |
734,195 | Nginx servers old static files after git commit | I'm using Nginx to serve static files (while also used as a revers proxy for my NodeJS express RestAPI). The problem is when I push a new git commit to the server, users will still get the old (last revision) files. The workaround for now is that the user clear his cache in browser. What could be the reason for this? I... | I think this is not a server side caching misconfiguration. Static files are cached by the browser automatically. You need some kind of static file versioning to force the browser to read your modified sources: [CODE] | 2 | 1 | 1,392 | 2015-11-05T16:24:51.083 | infrastructure | serverfault.com | |
278,799 | Cisco LAP1142N-A-K9 wireless range similar to SOHO Linksys? | I've just started testing wireless for our building, we plan to implement it across the board this fiscal year. Currently we have no wireless except in our IT area (DSL for outside testing). I've borrowed a Cisco LAP1142N AP from a friend that works in another sister organization, they have these and had an extra. I've... | Coverage is the first question. There's nothing magical about the antennas in the higher end APs. They still function similar to the consumer devices with two major exceptions. The first exception is that you can always attach external antennas to boost your signal. The second exception is that you can mess with the an... | 1 | 2 | 1,600 | 2011-06-09T16:01:52.677 | infrastructure | serverfault.com | |
484,323 | gzip_http_version set to 1.0 but sends 1.1 | I am trying to set Amazon CloudFront up with Nginx using W3 Total Cache and WordPress multisite. CloudFront only works with http 1.0 so, I read that you need to change the http version in gzip to 1.0. I made the change but my headers are still using http 1.1. Here is gzip block: [CODE] Here is my complete nginx.conf fi... | Amazon CloudFront sends an HTTP/1.0 request to your origin server , which causes nginx to refuse to send a gzipped response (by default). Setting [CODE] works around this broken behavior in CloudFront. (It's been 15 years since HTTP/1.1, anything still speaking HTTP/1.0 is fundamentally broken...) However, once you set... | 0 | 0 | 1,390 | 2013-03-03T22:57:52.613 | infrastructure | serverfault.com | |
20,887 | User autoincrement ID for username | I want to automatically create user's, which all have a unique ID. Now here's the problem. If two users are created at exactly the same nanosecond, it may not cause problems. Thus, what i do now is: Get the next Autoincrement number Add a new user with the name "U" + autoincrement number + random(0-9) When more than 10... | With MyISAM, there's a neat trick you can do: [CODE] With the above [CODE] , if all users have different name, they will be given [CODE] . If another user comes and chooses name that already exists, he will get [CODE] , etc. UPDATE It seems I misread your question and you only need to have [CODE] for user with [CODE] .... | 4 | 4 | 2,977 | 2012-07-14T12:52:10.753 | database_errors | dba.stackexchange.com | |
4,906 | Restoring a backup to an older version of SQL Server | When trying to restore a backup to a SQL Server Express 2008 database I got the following error: [CODE] Is there a way to get a backup which is compatible with the older (in my case 10.00.2531) version from the newer (in my case 10.50.1600) version of SQL Server Express? | You'd have use the Import/Export wizards in SSMS to migrate everything There is no "downgrade" possible using backup/restore or detach/attach | 37 | 20 | 178,599 | 2011-08-22T14:32:45.010 | database_errors | dba.stackexchange.com | |
533,778 | nested Cmnd_Alias in sudo configuration | im trying to simplify my sudo configuration but not sure if sudo supports this configuration. I have a "view" command alias which we use to provide access to log files: [CODE] In the past, i have simply duplicated this block with the relevant files that users need access to: [CODE] Which works fine but gets a little cr... | It cannot work like that, read sudoers(5) man page | -1 | 1 | 913 | 2013-08-26T11:26:24.253 | data_quality | serverfault.com | |
268,555 | How to tell Vim to extend the background color to the whole screen? | I have an issue with the Vim color schemes: The background color does not fill the whole screen. For example, in the "blue" color scheme the whole screen should turn blue. Instead, the blue background only extends to the end of each line. Is this a setting in the console I'm missing or is this an issue with my vim defa... | As explained here , disable Background Color Erase (BCE) by clearing the [CODE] terminal option (run [CODE] in Vim and then press Control + L to refresh the terminal's display) so that Vim extends the color scheme's background color to the whole terminal screen. This also works if Vim is being used inside tmux or GNU s... | 12 | 18 | 7,351 | 2011-05-11T12:42:50.720 | infrastructure | serverfault.com | |
53,684 | SSMS gives error if column name is "MERGE" where as other keywords works | IN SSMS create table if we include sql keywords in column name then it will be wrapped around square brackets "[]" automatically and the table gets created without any error generally. But if we include some keywords such as merge then SSMS will not insert square brackets around it and while saving table error is shown... | This is yet another flaky bug in yet another inconsistent and unreliable visual designer in SSMS. My suggestions, in this order: Stop using the visual designers. Learn [CODE] and other DDL syntax - not only does this break your dependence on terrible tools, it is also much easier to place these in source control, send ... | -1 | 1 | 272 | 2013-11-21T06:06:13.877 | warehouse_errors | dba.stackexchange.com | |
293,901 | Oracle Data Pump - export from Enterprise Edition to Standard Edition | I am migrating from an Enterprise Edition of Oracle 10g to a Standard Edition of Oracle 10g and I was wondering if anyone has experience doing this. I've searched around and I can't really find a definitive answer, but it seems like the features in Enterprise Edition will not smoothly translate to an import into a Stan... | Try using DBMS_METADATA with a TRANSFORM to disable the storage clauses This should allow you to get all the table structures in a format that you can create the table in SE. Then you can just import the rows on top of the tables you've created. You won't be able to do anything about bitmap indexes though. | 0 | 0 | 4,042 | 2011-07-25T15:22:35.500 | database_errors | serverfault.com | |
886,852 | reply on the same interface in windows server | we have two servers each with 2 NIC, and three services (daemons) installed on each server, the first service use the first NIC and require load balancer, the two other services not requiring the use of the load balancer and use the second NIC the problem, is which gateway to configure ? if the gw1, all services will p... | Here are a few possible solutions to play with: IP Application Binding : some apps, like DNS and IIS allows you to select the IP address that the application can use to reply from. For the apps that doesn't have such option, you can use a 3rd party tool to force the binding (never tried any myself, and this is directly... | 3 | 2 | 536 | 2017-12-06T11:32:05.573 | infrastructure | serverfault.com | |
54,546 | MySQL query log | I wonder if there is an alternative for MySQL general query log. I would like to log (mostly) DDL statements, so I could trace what user [CODE] database/table etc. I know that enabling general query log may cause some performance degradation. Questions: can I log/filter DDL statements only with general query log is the... | A) Different methods of auditing MySQL server: The error log The slow query log The binary log Custom made triggers Using MySQL Proxy The general log - You can change general log file path to other path by editing value for this General log file variable in [CODE] You can refer this blog post: http://serge.frezefond.co... | 1 | 2 | 2,292 | 2013-12-05T21:42:48.703 | database_errors | dba.stackexchange.com | |
695,282 | No longer able to add email aliases in Google Apps user's account | I'm using Google Apps for my domain. I'm the only user in the account. Recently I lost ability to add email aliases in Gmail of admin user. On attempt to add new one I get error "Functionality not enabled." I've digged through billion of setting in Admin Panel of Google Apps but didn't find anything that can be related... | It's unfortunate that Google services are getting worse every day since Larry took over. I figured out how to "fix" this issue. Go to your Google Admin Console and then click on "Google Apps" Click "Gmail" Click "User Settings" Scroll down to "SMTP relay service" and click Configure Set configurations to the following:... | 1 | 1 | 5,191 | 2015-05-29T14:06:31.063 | infrastructure | serverfault.com | |
318,615 | Will tables partitioned using inheritance always lock all partitions with AccessShareLocks? | Will tables partitioned with inheritance based partitioning always take AccessShareLock locks on all child tables, even when constraints would exclude those partitions? I'm currently trying to reduce the number of AccessShareLocks taken when querying an inheritance based partitioned table. We've been seeing a large amo... | Yes, it will lock all the tables. The system can't know the constraint rules out the partition until the constraint is inspected, and with inheritance-based partitioning a lock is needed to do that inspection. | 3 | 4 | 1,169 | 2022-10-24T07:18:33.433 | database_errors | dba.stackexchange.com | |
16,952 | sqlplus not working on opensuse | take a look at this: [CODE] looks like working [CODE] but cant connect [CODE] I'm not a oracle guy ... any help I appreciate.. (sorry my english) | sqlplus is not in your path. Use [CODE] instead of [CODE] , as that will read the users ~/.bash* files & set the environment accordingly. | 1 | 4 | 2,317 | 2012-04-24T14:07:48.147 | database_errors | dba.stackexchange.com | |
929,453 | Does glusterFS allow you to use multiple "classes" of storage? | I am used to traditional SANs. On a traditional SAN, we're able to create tiers of storage (fast disks, slow disks), and then allocate volumes from those tiers of storage. This way a device that needs ultra low latency and ultra high throughput can get volumes built out of flash disks, and a data warehouse can get volu... | Yes, you can create these kind of different 'classes'. What you would do with Gluster, is create a volume (basically network filesystem, share or export) that has all the bricks on one type of media, and an other volume with bricks on an other type. Many users name the volumes after projects or departments, but there i... | 2 | 3 | 221 | 2018-09-04T19:59:15.473 | warehouse_errors | serverfault.com | |
559,755 | How can I 'dip my toes' into dynamic IPv6 network addressing? | Is there any way in IPv6 to enable dynamic addressing and configuration for a subset of hosts on a network identified by specific mac addresses? I have been slowly working at setting up IPv6. All my routers have static addresses and routes and a few critical servers are statically addressed. Now I want to start testing... | I don't see why you can't do it substantially the same way with IPv6 as with IPv4 (though I will recommend deploying by subnets rather than by single hosts; it will save you a lot of time and headaches later). This is how IPv6 works here (greatly simplified; see RFC 4861 for the gory details): The default router sends ... | 14 | 7 | 1,029 | 2013-12-06T18:17:53.543 | infrastructure | serverfault.com | |
440,509 | Using orm events or database triggers | In orms, we can easily perform our desired operations in the save() method (for example, when a record is added in the likes table, the count column in the post table will increase.) This is great, but it prohibits direct manipulation of the database! No one has the right to execute a raw query (insert or update) on th... | It is an architectural choice. Either you do it in the ORM. But the you should make sure that the relevant database objects are only accessed outside of your code via a service that also uses the ORM. Or you do it using database triggers, and rely on your database, with the risk of less portability, database lock-in, s... | 0 | 4 | 440 | 2022-08-19T16:20:05.563 | data_quality | softwareengineering.stackexchange.com | |
1,109,231 | Sending remaining network traffic with RSYSLOG to specific file | I'm trying to concentrate logs from multiple equipments from multiple clients on my RSYSLOG server. My server runs on Debian 11 with RSYSLOG v8.2102 The configuration is quite simple at the moment: I've simply allowed UDP and TCP connections in /etc/rsyslog.conf and opened port 514 in UFW. In /etc/rsyslog.d/ I add for ... | Following on from your own answer, you cannot use [CODE] as a string and expect it to become, say, [CODE] , where [CODE] is your local host name. You can use backticks only in 2 forms: [CODE] for some environment variable, or [CODE] for some filename. This is why your [CODE] statement is matching all input. However, th... | 3 | 0 | 477 | 2022-08-27T09:21:16.433 | infrastructure | serverfault.com | |
226,176 | Visual Studio extract database values to excel with header text! | I am trying to extract the values from an mdf database to excel, but i can't display the header texts(title fields). I can only view the values. In order to make this work i need a query like this below, but it seems that select with cte gives me an error. | When you paste code as an image, it's difficult the take that code and rewrite it to show you the correct way to do it. You should always paste your code as text when asking a question. You need to put the [CODE] at the beginning of the [CODE] , such that [CODE] | 0 | 2 | 66 | 2019-01-02T16:09:25.303 | warehouse_errors | dba.stackexchange.com | |
1,108,070 | Postfix wildcard, virtual_alias, and recipient_delimiter forwarding glitch | Using Postfix with an MySQL backend, have a group of aliases set up, including domain aliases. Using '.' as recipient_delimiter, and have propagate_unmatched_extensions = canonical, virtual, alias. Here's where it gets weird. If I send tagged traffic to the alias user.tag2@example.net, I would expect postfix to forward... | UPDATE: Added test code, hopefully the regex escapes survive translation, YMMV... THANK YOU @ANX for the advice to enable verbose logging on smtpd and proxymap, then looking for dict_proxy_lookup and input_attribute_value in the logs for hints to where postfix was going off in the weeds. Test traffic revealed that it w... | 1 | 1 | 312 | 2022-08-12T16:28:15.963 | database_errors | serverfault.com | |
337,799 | HTTP cache or in-memory cache | I have two options for implementing caching in my web application. I can either add a Varnish cache outside of my application code, and cache the responses on a per-request URL basis, or I can use an in-memory cache like memcached to store the results of database accesses. I am having a hard time choosing between these... | You haven't told what your rationale is behind needing a cache. Having both kinds of cache would be the ideal case though since both speed things up in their own way. I would suggest you try varnish first and see if the improvements it provides to be satisfactory(most of the time, it is). If it doesn't, then try app-le... | 5 | 1 | 781 | 2016-12-08T21:48:31.427 | api_errors | softwareengineering.stackexchange.com | |
1,080,420 | Forbidden (403), when accessing server-status on Apache | I am trying to access Apache server-status?auto but it is giving me Forbidden 403 Message I checked apache2.conf and there is this options under html directory: [CODE] Has anybody came across this problem and was able to fix it? Thanks in advance. Let me know if you need more information... PS: I already tried the solu... | https://serverfault.com/a/653642/875383 Please try this user approach once. | 0 | 1 | 3,856 | 2021-10-13T14:02:12.453 | api_errors | serverfault.com | |
156,225 | UPDATE and CASE problem | It is my first question in this forum. I wrote this code, but it is incorrect and I can't find a problem. I have 2 tables: [CODE] and [CODE] . If table [CODE] is empty I want to [CODE] , but if [CODE] is not null I want to find [CODE] [CODE] First example: [CODE] Second example: [CODE] IS NOT EMPTY [CODE] so after the ... | I think you want to do something like [CODE] [CODE] will return you the first non-NULL parameter. Then [CODE] is NULL for an empty table, which means the COALESCE expression returns 0 when the table is empty, and the actual maximum when it is not. You can further improve this by checking if the value will be different ... | 0 | 2 | 739 | 2016-11-24T00:11:12.293 | warehouse_errors | dba.stackexchange.com | |
379,452 | Is current SATA 6 gb/s equipment simply unreliable? | I have a 45-disk array of Seagate Barracuda 3 TB ST3000DM001 (yes these are desktop drives I'm aware of that) in a Supermicro sc847 JBOD, connected via LSI 9285. I have found a solution for the problem description below by reducing speed via [CODE] and rebooting. The question remains: Is this typical for current 6 gb/s... | Much like 4-pair UTP (ethernet) cable, not all SATA cables can be used for every speed. Make sure your cables are rated for 6.0gbps (usually the cable has a "split" appearance and has text like 6.0gbps SATA printed on it). | 1 | 2 | 1,770 | 2012-04-14T13:32:04.293 | infrastructure | serverfault.com | |
8,282 | OPENROWSET can't import an excel spreadsheet into SQL Server 2005 Express | I am trying to run the following query to select data from an excel spreadsheet: [CODE] SSMS is sending back the following error: Msg 7399, Level 16, State 1, Line 1 The OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)" reported an error. The provider did not give any information about the error. Msg... | Ok well I found the solution or at least its one or both of the two Instead of running express with the Network Service account, I created a regular user. Then I gave that user rights to the folder with the excel spreadsheets. I had already installed AccessDatabaseEngine.exe but I hadn't restarted the computer. This ti... | 3 | 1 | 3,019 | 2011-11-23T05:49:33.017 | database_errors | dba.stackexchange.com | |
888,161 | How can I get salt-ssh to run a local script on a remote node? | .::UPDATE-SOLVED::. With must assistance form @wirap, it is now working. I've symlinked the script directory into [CODE] and using this [CODE] configuration it is now working. [CODE] I am new to salt-ssh and looking at some info here regarding how to run a script which resides on my admin box ( [CODE] ) on a remote nod... | Are you sure you want to use salt-ssh ("Execute salt commands and states over ssh without installing a salt-minion."). You only need to do it this way if you cannot install salt-minion on your minions Where did you put your states? Typically in the /etc/salt/master configuration you write the path where your state file... | 1 | 2 | 3,368 | 2017-12-14T15:50:35.783 | infrastructure | serverfault.com | |
228,545 | How to suspend active ssh connection | How do I suspend an ssh connection. Control-Z suspend remote process. I use OpenSSH client and bash. | Use escape character. The escape character must always follow a newline. ~^Z(~ Ctrl+Z) - background ssh. Supported escapes: [CODE] | 5 | 11 | 3,445 | 2011-01-29T16:52:29.610 | infrastructure | serverfault.com | |
738,113 | mysql stopped and cannot start | I need some help here (excuse me for my bad English). mysql stopped suddenly after running for several hour. Since then I'm unable to start it. I have also restarted my computer. I get the following error message [CODE] What should I do? Any advice? I'm using xampp 5.6.14. Thanks. | Stop the mysql service. navigate to the data library and repair the table [CODE] Don't forget to make a backup before trying to repair. You can find more relative informations in the official documentation : http://dev.mysql.com/doc/refman/5.0/en/mysqlcheck.html | -1 | 1 | 1,845 | 2015-11-22T09:50:48.943 | database_errors | serverfault.com | |
737,699 | Why do I see "sendmail: queue runner" as a process after running SOME sendmail commands but not others? | I'm in the process of trying to troubleshoot some queue processing issues in SendMail and am confused on why I'm seeing references in [CODE] output following SOME sendmail commands but not others. I have a 8.14.x sendmail server and I presently have a couple operations going on: [CODE] When I launch this, and then chec... | [CODE] starts main daemon process ( [CODE] ). The daemon process will spawn queue runner process for one time queue run when needed . You need separate command to start client-queue runner process ( [CODE] ). The client-queue runner behavior is controlled by [CODE] not by [CODE] . [Some setups use periodic "single run"... | 0 | 1 | 2,972 | 2015-11-20T02:34:47.960 | infrastructure | serverfault.com | |
474,834 | move raid hard drives between different servers, preserving data | Possible Duplicate: Move raided hard drives between identical servers, preserving data I'm a server beginner working with a Sun x4600 and an IBM x3650. In the event that one of them dies, I want to have a plan for removing the hard drives from the dead server and hot-swapping them into the other with minimal downtime. ... | Different RAID controllers? All bets are off. You may be able to get it to work with very closely-related cards of the same lineage, same firmware, etc., but it's highly unlikely that this is going to be supported by your hardware vendor. Honestly, this is where a well-implemented and well-tested backup regimen comes i... | 0 | 2 | 4,855 | 2013-02-02T19:56:11.820 | database_errors | serverfault.com | |
420,937 | How to add APM/observability/tracing in a monolithic architecture? | I keep reading articles analyzing Monitoring and Observability , or having lots and lots of text regarding how the latter is the extension of the first, or how they are complementary, or how tracing is the next step in APM (Application Performance Monitoring/Management), or any other random opinion on the subject. I ho... | Tracing is usually more than just adding labels. Tracing is a feature of an APM solution that lets you follow a request from its entry point into the system through the entire system. With the APM solutions that I've used, this often involved instrumenting the runtime environment to understand down to individual method... | 0 | 1 | 575 | 2021-01-11T23:40:22.053 | pipeline_ops | softwareengineering.stackexchange.com | |
496,503 | Converting BTRFS filesystem to RAID1 fails with "Inappropriate ioctl for device" | I had a ~1.6TB BTRFS volume on a single partition, to which successfully I added another freshly created and formatted partition (on another device) of exact same size with the intent of mirroring them. The size of the volume now appears to be ~3.2TB. However, when I try to convert the volume (mounted to [CODE] ) to a ... | Solved by upgrading kernel to 3.8.4. Had to compile my own, but stock settings seem to be working fine (I built btrfs statically rather than as a module, though I'm unsure if this was necessary). EDIT: I can't believe I missed this... according to the BTRFS wiki , changing raid levels after the filesystem has been crea... | 3 | 3 | 3,280 | 2013-04-05T14:45:07.653 | infrastructure | serverfault.com | |
211,368 | C# Delegates are immutable - but why does that matter? | This is a followup question to this other question. Background Working from the MSDN Delegates Tutorial (C#) , I see the following: Note that once a delegate is created, the method it is associated with never changes — delegate objects are immutable. And then, in the code sample, I see this (Spread out a little througo... | I think you're mixing up what immutability means. What Immutability Isn't Take a look at this example: [CODE] Are [CODE] s immutable? Yes. Will this compile? Yes. Have we in any way changed the string instance? No . We are not making any changes to [CODE] . We are creating a string, assigning it to the variable [CODE] ... | 9 | 15 | 3,454 | 2013-09-13T07:44:27.253 | api_errors | softwareengineering.stackexchange.com | |
896,646 | Get SPN error when trying to join a machine to a domain | I am trying to join a Windows Server 2016 VM called [CODE] to a domain which has a Windows 2012 R2 domain controller. The DC name is [CODE] When I try to join I get this error: [CODE] !? I tried to find out why with this command on the domain controller: [CODE] I'm not sure what else to try, any ideas? | If you view the Attributes tab for [CODE] in [CODE] Users and Computers, remove [CODE] if it is present in one of the [CODE] . | 6 | 5 | 70,639 | 2018-02-10T17:20:51.680 | infrastructure | serverfault.com | |
106,238 | Optimizing Queries HAVING COUNT and INSERT...ON DUPLICATE KEY UPDATE | There are two main queries I'm tying to improve, one question is much more conceptual and learning about databases and another is much more straightforward. Both cases deal with the same table It has 2 relevant columns as far as the question is concerned, they make up the primary key of the table. Each of the elements ... | I'm guessing a bit on what your query is supposed to do. I assume you are looking for all users that share 5 or more items with a certain user: [CODE] Is that about right? For the second part of the question, as I understand it the tables are defined as: [CODE] If that's the case I see no particular reason why the inse... | 1 | 0 | 626 | 2015-07-07T19:47:55.207 | data_quality | dba.stackexchange.com | |
21,977 | What do programmers "micro-optimize" for today? | Back in the "good ol' days," when we would copy shareware onto floppies for friends, we also used a fair bit of assembly. There was a common practice of "micro-optimization," where you would stare and stare at lines of assembly until you figured out a way to express it in one fewer instruction. There was even a saying,... | Code Formatting [CODE] | 13 | 21 | 1,709 | 2010-11-27T23:56:39.250 | api_errors | softwareengineering.stackexchange.com | |
1,118,048 | Stunnel + OpenVPN connected but no internet | I have setup stunnel on server [CODE] stunnel on client [CODE] And before I connect via OpenVPN add the ip to the gateway using (on macOS) [CODE] Then I press connect button in OpenVPN (which is setup to use 127.0.0.1 instead of public ip of the server), it's connected (real fast no issues and it connects everytime I t... | Checking the iptable output more carefully I see that the openvpn rules for (tun0) are not applied at all, applying them manually solved the issue, the rules are at: [CODE] and the content is [CODE] So I did : [CODE] for now. | 0 | 0 | 281 | 2022-12-14T22:47:03.583 | infrastructure | serverfault.com | |
99,624 | VMware vCenter Server Standard and Foundation Editions | Wondering whether anyone could advise as to the differences between these two products, from my understanding the difference is the latter allows control of more than 3 hosts. What I really wanted to know was, the (cool) features like chargeback and extended Application monitoring are they included in both versions or ... | Foundation has all of the features of regular VC but is limited to 3 host, that's all. Chargeback and AppSpeed are separate products that are chargable whichever VC version you have. | 2 | 3 | 22,400 | 2010-01-05T15:03:05.423 | pipeline_ops | serverfault.com | |
707,861 | Logwatch postfix report. Where does this "Deferrals" come from and how to stop it? | I'm using logwatch to monitor the logs on my server and I'm trying to make sense out of the postfix report. (See the report below.) By looking at [CODE] I saw that this mail seems to be bouncing for a long time. How can I stop this? Also I would like to know how to lockdown this mailserver so it only can send mails to ... | Can anyone explain what this means or point me to some documentation that a server-admin noob understands? A server-admin noob should not run a public facing mail server! Does that mean somebody is misusing our mailserver?) Can't be answered with this amount of information. Defering is a temproary delivery failure, e.g... | 2 | 2 | 1,793 | 2015-07-23T08:34:41.110 | infrastructure | serverfault.com | |
357,154 | cron job gives me permission denied errors when running | Been trying to run a cron but keep getting permission died error in my [CODE] [CODE] This is my [CODE] for the directory my cron jobs are in [CODE] I have [CODE] set to [CODE] The backup file looks like this [CODE] I ran the cron with [CODE] I can see that my cron jobs are set up to run because when I do [CODE] I get [... | [CODE] The file that you feed to [CODE] command doesn't need to be executable, since it isn't a shell script. Any commands that you invoke as cron jobs do need to be executable. There's another oddity here. There are two slightly different syntaxes for crontab. One has 5 fields that specify when the command is to be ex... | 2 | 3 | 9,448 | 2012-02-06T10:31:21.953 | database_errors | serverfault.com | |
82,820 | How can I remove only consecutive duplicate fields when the id is not consecutive in MySQL | In this table, I have a price change history. The prices are checked regularly and as you can see, sometimes the price does not change. How can I take a specific sku and delete all cases where a duplicate price is consecutively measured. As you can see, on 08-08, the price changed to 79.47. Then, it stayed that way unt... | This should do the job : [CODE] Here is the fiddle . | 4 | 2 | 3,964 | 2014-11-17T09:46:37.267 | database_errors | dba.stackexchange.com | |
947,034 | How to bind windows server 2016 to a domain | I have a domain that I bought from a third party website and I want to point it to my windows server 2016. I have used a shared hosting before, and the way to link a domain name to shared hosting would simply be update the domain's DNS information to the purchased shared hosting NS. I figure the idea would be pretty si... | Add an 'A' record to your ISP's DNS. Your own ('private') DNS will most likely never get a domain name delegation. | 1 | 0 | 521 | 2018-12-30T03:38:26.667 | infrastructure | serverfault.com | |
454,427 | CPU/JVM/JBoss 7 slows down over time | I'm experiencing performance slow down on JBoss 7.1.1 Final. I wrote simple program that demostrates this behavior. I generate an array of 100,000 of random integers and run bubble sort on it. [CODE] } Just after I start the server, it takes approximately 22 seconds to run this code. After few days of JBoss 7.1.1. runn... | This problem was resolved by upgrading to JBoss 7.1.4-SNAPSHOT. Look at this thread: https://community.jboss.org/thread/213546?start=0&tstart=0 | 4 | 1 | 6,957 | 2012-12-03T02:21:37.743 | infrastructure | serverfault.com | |
331,671 | OData - Handling Structural Changes | Working with the Success Factors OData API and encountering issues whenever the schema is modified. For example this morning my code broke because a new column was added to provide new functionality. My code obviously wasn't using the new column but an exception was raised because it encountered an unexpected column. H... | I ended up using Simple.OData.Client to solve the problem as it's loosely coupled and has worked well. | 0 | 0 | 82 | 2016-09-22T00:48:04.643 | api_errors | softwareengineering.stackexchange.com | |
688,409 | Nginx 1.8 Configuration Problems | Here is the problem : (I'm new to NGinx, read about it, but didn't find my working solution yet.) I'm on a Windows system. My projects file system is located there : [CODE] here is a project folder I will try to reach later in this example : [CODE] I have an apache server running fine. I'd like to set up a Nginx server... | There are several issues in your configuration: You specify [CODE] on the server level, and then specify [CODE] in [CODE] blocks. This isn't wrong in itself, but causes confusion easily. If all your project files are under [CODE] , I would use these remove both the [CODE] block with [CODE] blocks, and would set up only... | 3 | 1 | 2,762 | 2015-05-04T10:00:55.367 | infrastructure | serverfault.com | |
631,970 | Since Upgrading NFS and Ubuntu to 14.04, All NFS Mounts Are Failing | Since upgrading my Ubuntu Machine, all my NFS mounts are hanging. I checked the syslog, and I'm seeing this now: [CODE] All other methods of debugging NFS still show it up and running (telnet, rpcinfo, etc). What is the AUTH_GSS service and why does it need to be running? I've been running around on Google, but I can't... | GSSAPI or the Generic Security Services Application Programming Interface is used by NFS (versions 3 and 4) when using Kerberos for authentication and encryption. The ubuntu config file [CODE] has a few lines about this: [CODE] Either configure Kerberos and GSS or make sure you don't use them. There's a related bug rep... | 2 | 7 | 11,743 | 2014-09-29T06:39:16.723 | infrastructure | serverfault.com | |
1,014,738 | install_fastcgi.sh is missing on ubuntu 18.04 | I am trying to configure hhvm, nginx and mysql in my ubuntu 18.04 system following the following tutorials Tutorial: How to install Facebook’s HHVM on Ubuntu 18.04 How To Install HHVM with Nginx on Ubuntu 14.04 but after installing hhvm using [CODE] I am not able to find [CODE] hhvm directory itself is not there inside... | The correct path is [CODE] and not [CODE] . Those reference tutorials are outdated. | 0 | 0 | 255 | 2020-04-29T06:07:34.263 | database_errors | serverfault.com | |
1,065,364 | 2 websites hosted on same domain, 1 needs to look like a subfolder ( /blog) | I bought a VPS for my new project running apache. On it I have 2 websites on the same domain. The first one is Ruby on Rails /var/www/html The second one is Wordpress /var/www/blog I want Wordpress to act like a subdirectory of ruby ( /blog). Ruby on Rails website works, but if i go to /blog it just says that the page ... | On it I have 2 websites on the same domain. Well, you actually have 1 website (1 domain). It's just that you have WordPress in a subdirectory of that 1 website. Consequently, you should only have 1 [CODE] container, not 2 - which is where you would seem to be going wrong here. The second [CODE] is not being used and sh... | 1 | 0 | 83 | 2021-06-01T23:13:55.247 | infrastructure | serverfault.com | |
219,254 | Approach to algorithm for assignment of resources | We have a requirement to be able to match people with locations based on availability and certain conditions. Let's say I have a group of people each with 3 types of things they may need to park. A car, a truck and a boat. Each person also indicates their preferred parking location (choices 1, 2 and 3). I also have a l... | It's not quite that simple. You'd have to do backtracking in the cases where one person matches multiple lots. Let's say you have the same lots, but the following people: [CODE] Adam could fit into [CODE] or [CODE] , so you let him have his first choice: [CODE] . Now Eve can't fit anywhere, even though if Adam was in [... | 4 | 3 | 190 | 2013-11-22T19:35:29.033 | api_errors | softwareengineering.stackexchange.com | |
195,373 | Impact of ending contract with know-ins-and-outs lead developer of a project | I have a long time running project. Its been running for about 6 months. The project is very big. The lead developer/team leader designed the project and the whole project is in his brain. He knows all ins and outs. I also know almost everything. But I am not confident like him. Problem is recently he is charging quite... | What happens to the project if I end the contract? You will have more work, you will gain more confidence, the project will be yours. Are the high charges is because he knows I can not end the contract now? This is a possibility. If you want a confirmation, suggest him that you can't afford such high charges and theref... | 0 | 1 | 205 | 2013-04-18T14:29:07.860 | api_errors | softwareengineering.stackexchange.com | |
790,882 | Why is response time exploding when request frequency drops? | Correction : response time ( [CODE] ) is μs not ms! 1 This doesn't change anything about the weirdness of this pattern but it means that it is practically way less devastating. Why is response time inversely correlated to request frequency? Shouldn't the server respond faster when it is less busy handling requests? Any... | This is common behavior in data centers. The times your response time is slow corresponds to what is commonly called the Batch Window. This is a period of time when user activity is expected to be low and batch processes can be run. Backups are also done during this period. These activities can strain the resources of ... | 22 | 31 | 3,745 | 2016-07-20T10:11:44.143 | infrastructure | serverfault.com | |
180,534 | Training Camp Algorithm | Problem Statement - The task is to find the most profitable contiguous segment of tests, given a sequence of test scores, with being allowed to drop any k tests from a chosen range. The problem appears to be a DP problem at the outset, but complexity arises when the test drop condition comes into the picture. What modi... | Well, here how I would do it (without getting in too much detail) I would keep track of the value of the all the results I dropped. I would probably put them in a sorted queue whose size is the allowed number of dropped test. It would sorted such as the dropped test the nearest to zero is at the start. As I go trough t... | 5 | 2 | 1,025 | 2012-12-24T13:40:02.970 | api_errors | softwareengineering.stackexchange.com | |
23,339 | TestNG +Selenium : How to resolve exception: "java.lang.IllegalStateException"? | I am getting following error when run my selenium webdriver program using testNG (Using Eclipse Kepler service release 2) [CODE] Here is the Java program [CODE] And here is the XML file [CODE] | It can't find the driver for Firefox. Downloading the GeckoDriver and putting it into your Bin folder or setting a System Property for webdriver.gecko.driver should fix the problem. | 0 | 1 | 4,676 | 2016-10-26T12:01:42.917 | data_quality | sqa.stackexchange.com | |
314,927 | Extended Events - How to capture executions for a given stored procedure along with the passed parameter values? | How do you capture executions for a given stored procedure along with the passed parameter values? I tried using sqlserver.module_end but it only shows the store proc execution with no param values: [CODE] | This is possible only if your proc is the oproc submitted in batch. If this is case, use rpc_completed or sql_batch_completed and filter with like predicate Nested procs is notnpossible see parameters values. Consider logging the parameters in a table for analsis. | 1 | 1 | 619 | 2022-07-27T16:36:02.153 | database_errors | dba.stackexchange.com | |
556,258 | Why is SPDY breaking 'Vary: Accept-Encoding' in Nginx 1.4.3? | I've compiled Nginx 1.4.3 from source with the SPDY module. However when SPDY is enabled, it seems to break my 'Vary: Accept-Encoding' header. My Nginx Configuration: [CODE] My `nginx.conf' file: [CODE] Header results with SPDY enabled/disabled: [CODE] As you can see, when SPDY is enabled, the [CODE] headers disappear.... | SPDY (and HTTP/2.0) require user agents to support compression and that draws the [CODE] header useless. That’s why nginx drops the header. | 3 | 4 | 2,219 | 2013-11-20T14:11:34.350 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.