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 |
|---|---|---|---|---|---|---|---|---|---|---|
780,414 | S3/Cloudfront CORS working on some files only | I'm really struggling to get Cloudfront and S3 to add Access-Control-Allow-Origin: * to the headers of video files stored on S3 (for inline video on iPhones - seems to be working everywhere else however inline video is only working on iPhones from the same domain, so assume it's CORS related). Only the first file in th... | I had a problem that might be similar. CORS was an issue but only with some files in the S3 bucket. Deleteing the files with the CORS issue, syncing again and invalidating CloudFront solved the problem for me. | 6 | 0 | 1,968 | 2016-06-02T01:39:21.623 | api_errors | serverfault.com | |
387,861 | Best practices for positioning elements in an HTML-based game | It seems like HTML5 has about a zillion different layouts and methods for positioning divs, few of which seem to work exactly as described in most browsers. Imagine an implementation of, say, Tetris in HTML/CSS/JS. So you have some kind of background, some pieces already on the screen, and a moving piece, all of which ... | It'd be nice if this used some kind of grid-based system so that it would automatically scale to arbitrary window sizes without the program manually calculating pixel widths and so forth. Tetris lends itself very straightforwardly to a grid, so the most appropriate layout technology for Tetris in HTML/CSS/JS is almost ... | 2 | 1 | 241 | 2019-03-01T05:31:46.030 | api_errors | softwareengineering.stackexchange.com | |
51,762 | Advice for Hyper-v deployment on windows server | We just bought two new servers that have windows server standard 64 bit sp2 on them. Relevant Hardware: Dual Xeon E5430 @ 2.66 16 Gig Ram 6 143 GB 15,000 RPM SAS SCSI on Raid 5 for total of 544GB Hard Disk We are attempting to consolidate 6 old servers into these two new ones. My thinking is we run hyper-v and make bot... | What I would suggest and what I use at my company. I have three host servers that are setup much like your servers. 16 GB RAM and lots of disk. What I have found is that we don't have memory issues but I do tend to run out of disk so much planning is required to pull this off correctly. A few things to know about Hyper... | 3 | 2 | 754 | 2009-08-08T08:43:51.637 | pipeline_ops | serverfault.com | |
244,912 | Branching strategy for frequent releases | We have very frequent releases and we use Git for version control. When i am mentioning about frequency, please assume it to include bug-fixes and feature release too. All releases are eventually merged into ‘mainline’. When a release is deployed on production and if a bug is identified, people start fixing the bug on ... | The important thing here is to have a consistent workflow which can be easily followed by both newbies and veterans in your organizations. Decide on a process which meets your requirements and ensure that the workflow makes sense for both trivial and more complex changes. That said, there are a few standard workflows o... | 0 | 4 | 3,186 | 2014-06-13T14:38:30.140 | pipeline_ops | softwareengineering.stackexchange.com | |
1,104,365 | linenfile Ansible module doesn't insert all lines as expected | I am trying to print a few lines to a file of each target host. However, the lines are missing from the file. This means, my hostlist file has about 10 servers. I get lines only for 8 sometimes or 6 and so on. The missing lines concerning hosts are entirely random. Below are the few lines from code, [CODE] is coming fr... | Avoid concurrent writing to a file. There are more options. The simplest one is to set throttle to 1. For example, [CODE] The more efficient option is running the task only once and iterating ansible_play_hosts . For example, [CODE] | 2 | 4 | 694 | 2022-06-29T06:50:04.573 | pipeline_ops | serverfault.com | |
132,610 | Export roles *with* privileges under PostgreSQL 9.3 | New to backups under PostgreSQL. I've been backing up my database with the general commands, and it works well. Except no users or privileges are stored with it. I understand that I need to do that separately. I've been using the following command to dump the users on the cluster: [CODE] Either the -r or the -g return ... | Documentation says: "Database roles are global across a database cluster installation (and not per individual database)." Hovewer, privileges are object based, therefore their definition is stored in databases separately. If you backup your database with a command like; "pg_dump .. --schema-only" you will see the privi... | 5 | 5 | 8,917 | 2016-03-18T03:02:46.307 | database_errors | dba.stackexchange.com | |
81,404 | Binary classification of 2d vectors with neural networks | I'm trying to make a neural network learn a 2D shape. I have an $n\times m$ grid of points with a binary function defined on it, equal to $1$ when the point is in the shape and $0$ when it isn't. I want my network to accept as input two numbers, $x$ and $y$ , and tell me with a single binary output if the point $(x, y)... | if you use "softmax" you would actually need two neurons as the output layer, one for each label 0 or 1, complementing each other. It basically produces a probability distribution for the lables (in this case 2 labels 0,1). This link might be helpful regarding softmax . Then the target you provide should be also two co... | 0 | 1 | 368 | 2020-09-08T17:44:05.410 | data_quality | datascience.stackexchange.com | |
24,480 | ML algorithm where variable importance depends upon other variables - specifying conditionality | I am designing an algorithm that can detect cheating in a game of chess. I have a database of players who have been flagged by moderators as cheating, along with a number of game-level characteristics such as move times and move accuracy (as determined by a chess engine) for both black and white. Let's specify a simple... | A simple place to get started is logistic regression for white outcomes first and then for black outcomes. Set cheatflag to 0 if there's no cheating and 1 if white cheated, then run the regression. Do it again, but set cheatflag to 0 if there's no cheating and 1 if black cheated. | 1 | 1 | 78 | 2017-11-08T14:44:33.157 | data_quality | datascience.stackexchange.com | |
932,444 | How to resolve AWS ELB redirection issue | We have deployed an application (Tomcat based) to an AWS EC2 instance. I am able to access the site directly and I can access it via the internal ELB. However I can't access it via the external ELB anymore. I get the following error: [CODE] I have tried clearing cookies and cached data. No dice. I have no logs from the... | I suspect your application looks at the "HTTP Host" header and expects something , e.g. host.example.com, and if it doesn't see that it tries to redirect there. Or does the app try to redirect to a HTTPS version of the site? If you are terminating HTTPS on the load balancer and then HTTP (non-SSL) to the EC2 the app ma... | 1 | 0 | 1,593 | 2018-09-24T23:14:57.607 | infrastructure | serverfault.com | |
801,685 | Advanced Logging missing from IIS 8 on Windows Server 2012 | I have just installed the features in IIS 8 for Health and Diagnostics in order to enable Advanced Logging in IIS. There should be an Advanced Logging icon that appears in IIS Manager, but there is none. Other logging features I added such as Enabled Failed Request Tracing are working without any problems. Also, I chec... | IIS Advanced Logging is an out of band module. You must install it using Web Publishing Installer or you can download it here . | 2 | 0 | 14,037 | 2016-09-02T17:45:52.687 | infrastructure | serverfault.com | |
942,226 | Apache user-agent blank in log | In /etc/apache2/apache2.conf: [CODE] In /etc/apache2/sites-available/default-ssl.conf [CODE] /var/log/apache2/access_log_agent just shows a hyphen for every visit: [CODE] Why am I unable to log user-agent? I am running Apache 2.4.25 on Debian 9.6. [CODE] | I accidentally was dropping user-agent at a network level. | 0 | 0 | 1,121 | 2018-11-29T21:42:53.907 | infrastructure | serverfault.com | |
326,228 | SQL Server/SSRS is using case to build where a clause feasible? | What I'm doing seems like it should be an SSRS/SQL trope with best practices, but I spent the better part of yesterday trying to google and test this with no luck: I have two parameters: param_date and param_partno, that are used to query a table of invoices and related invoices. I need it to filter based on one parame... | Would this work for you? Next time please add some scripts for testdata. [CODE] | 0 | 0 | 132 | 2023-04-20T15:08:04.317 | database_errors | dba.stackexchange.com | |
307,160 | adding users to sudoers - problem | I have created a user, named [CODE] , now I want to give this user root privileges, so as root, I've added this user to the sudoers list in CentOS. [CODE] The problem is though, when i login as [CODE] I have no access to any root commands. What could the problem be? Thanks | You must use [CODE] to execute root commands, e.g: [CODE] | 0 | 2 | 278 | 2011-09-01T09:58:55.007 | infrastructure | serverfault.com | |
684,095 | SBS 2011, second domain controller - make RODC? | I have an SBS 2011 domain at a single site. I had previously added a second domain controller for redundancy (including DNS) so that when the SBS server needs rebooting the network is uninterrupted. SBS is a virtual on a hyperv host, and the secondary DC was also a hyperv guest on another physical hyperv host. The seco... | I would leave the second DC RW. In case of hardware failure, the SBS server might be down for [a day/four hours/whatever your support contract says] while you get the replacement part. | 0 | 1 | 446 | 2015-04-20T16:06:55.193 | database_errors | serverfault.com | |
244,867 | How To Grant View Definition of Object in SQL Azure | The tsql syntax throws an error about "view" in SQL Azure, but functions on SQL Server: [CODE] Can access be granted in SQL Azure to view the definition of an object outside of db_owner? | Your syntax is incorrect. It should be [CODE] Example [CODE] | 3 | 4 | 5,733 | 2019-08-08T12:24:02.740 | database_errors | dba.stackexchange.com | |
105,390 | SCRUM technical artifacts | My company is introducing SCRUM for new software development. I'm currently both Product Owner and a product manager responsible for the technical aspects of the software. The technical manager role is not part of the scrum team. I'm finding there is some desire within the scrum team to treat the software development a... | What documentation and level of transparency is reasonable? "Reasonable"? The question shouldn't about "reasonable". It should be about "deliverable". information ... about the most appropriate architecture, deployment mechanisms, host system requirements etc isn't available Then, there's a problem with what the develo... | 2 | 7 | 337 | 2011-09-01T22:52:15.680 | pipeline_ops | softwareengineering.stackexchange.com | |
1,038,500 | azure AAD user can't login vendor application base on azure | We have Azure AD (AAD) in our company. Our mailbox will add .cn. For example, domain is abc@xxx.com, mailbox is abc@xxx.com.cn. When vendor grant for us the permission to use their apps base on Azure, we can't login or login with error. We need to login with AAD password but after that will pop out error. Vendor can ju... | Looks like your using AAD B2B, for this to work the vendor needs to add you as a guest user in their tenant. You can see how guest users are created here . | 0 | 0 | 207 | 2020-10-13T07:57:39.067 | infrastructure | serverfault.com | |
459,060 | Slash after domain in URL missing for Rails site | After redirecting users in a Rails app, for some reason the slash after the domain is missing. Generated URLs are invalid and I'm forced to manually correct them. The problem only occurs on a subdomain. On a different primary domain (same server), everything works ok. For example, after logging out, the site is directi... | Asked another developer about this and here's how he fixed it: I made new a vhost file for you. On previous vhost config, there was something wrong on server name and server alias. I removed 'www'. Also I added [CODE] to environments/production.rb [CODE] | 2 | 0 | 1,450 | 2012-12-18T15:37:33.840 | infrastructure | serverfault.com | |
115,237 | What indexes should one use for this two-table setup? | I have the following two-table setup: [CODE] The currently used indexes are included, but that's exactly my question: Given the above tables and the following queries, what indexes should one use (instead)? For the first table only, the following queries are performed (each with the given frequency): [CODE] Frequency: ... | Specific comments [CODE] The [CODE] key is totally useless. InnoDB "clusters" the data with the PRIMARY KEY. That is looking up [CODE] lets you immediately find the rest of the columns, including [CODE] . Also, a PK is a UNIQUE key, so the unique key adds no useful constraint. [CODE] The PK takes care of that. (Both [C... | 2 | 2 | 173 | 2015-09-16T13:43:38.530 | database_errors | dba.stackexchange.com | |
807,283 | Logstash netflow plugin configuration error | I'm trying to use logstash to collect traffic information from VMware ESXi using the netflow plugin. I've installed the latest version of logstash and elasticsearch from www.elastic.co on Ubuntu 16.04.1 with openjdk 8 installed. I've created this config file: [CODE] but when I execute: [CODE] I got the following: [CODE... | I found the problem, the error was that the configuration syntax changed in logstash 2.x, I had to replace [CODE] with: [CODE] | 1 | 0 | 501 | 2016-10-05T15:27:25.533 | database_errors | serverfault.com | |
111,077 | Unable to connect to a remote SQL Server Instance over a VPN | I'm running SQL Server 2005 on two different servers running Win XP. The two servers are in different physical locations and are connected via a dedecated point to point data link in a virtual private network(VPN). Im only able to connect to the remote instance of SQL Server by specifying the IP address on the server n... | This sounds like a DNS issue, can you ping the servers by name from each site? If you cannot, you need to get your DNS infrastructure sorted, at the very least setup host files on each server to resolve these server names to IP address's. To fix this using host files, on your first server (lets call it ServerA) you nee... | 1 | 4 | 1,894 | 2010-02-09T11:27:52.263 | database_errors | serverfault.com | |
544,611 | Sync Active Directory Users in FreeNAS | This is for FreeNas-9.1.1, I am using active directory which appears to be connecting ok, since the following list users/groups from that server with no problems [CODE] I can also join to ads with an authorized user [CODE] I can also connect to a server when that user is set as the owner of the share. However when i lo... | please be aware that local groups and Active directory groups are different. Local groups/users only make sense if you don't have a directory in your organization. In my scenarios, I manage ALL the groups in Active Directory, that is, user creation, group creation and group membership (who is a member), as the organiza... | 2 | 1 | 8,363 | 2013-10-08T14:28:40.127 | infrastructure | serverfault.com | |
22,565 | Does testing assure bug free product? | Is it Possible or impossible to do a 100% testing? We had tested an application and solved all critical or major bugs, but after some time we found some functionality bugs in it. So my question is, is it possible to deliver bug free applications? | It depends on complexity, but in most cases there is no time to make exhaustive testing. 100 % bug free product cannot be guaranteed. Consider an application in which a password field that accepts 3 characters, with no consecutive repeating entries. Hence, there are 26 * 26 * 26 input permutations for alphabets only. I... | 0 | 1 | 584 | 2016-09-14T09:10:04.977 | data_quality | sqa.stackexchange.com | |
317,474 | Is there a bandwidth efficient way to setup VM on a remote XenServer? | Is there a bandwidth efficient way to setup VM (like setting up Linux / Windows from Console) from a remote XenServer? I am trying to setup Linux/Windows vm from a remote server; however the console is painfully slow. Is there a better way to do this? Cheers. | I used SSH Tunner to get the VNC consoles then adjust the quality to achieve better connection from the VNC Client. | -1 | 0 | 136 | 2011-10-01T10:56:29.490 | infrastructure | serverfault.com | |
238,368 | Biztalk 2009 logshipping with SQL 2008 | I am setting up biztalk logshipping for Biztalk 2009 database. Following http://msdn.microsoft.com/en-us/library/aa560961.aspx article, I am doing the following to setup biztalk logshipping on destination server: Enable Ad-hoc queries by: [CODE] Execute LogShipping_Destination_Schema & LogShipping_Destination_Logic in ... | The above process creates linked server with integrated security for authorisation. Work around-change the security on linked server to use service account. | 1 | 1 | 604 | 2011-02-21T21:49:54.233 | database_errors | serverfault.com | |
264,572 | how can I get only the SQL server logins, when we use Export-dbalogin | when we run the export-dbalogin, it will will generate a script(.sql) file, which we will run the in the destination server, then the logins will be migrated, but this command will give both windows as well as SQL server logins. I only want SQL server logins. I tried to use Get-dbalogin to generate a list of SQL server... | As you can see from the [CODE] source , the [CODE] parameter accepts a value of [CODE] to filter to only SQL Logins and exclude AD logins. You can pipe this directly into the [CODE] function like so... [CODE] Note that some logins are excluded by default as shown in the warning feed. | 1 | 3 | 805 | 2020-04-08T11:07:14.970 | database_errors | dba.stackexchange.com | |
1,155,654 | Make Docker Compose available to non-root user? | I've created a non-root user ( [CODE] ) on my Ubuntu Linux 22.04.4 server for an application and added them as a member of the [CODE] group. When I try checking the Docker Compose version as this user, I get an error. [CODE] As my server's main user ( [CODE] ), Docker & Compose both seem to be installed and available w... | As described in https://docs.docker.com/engine/security/rootless/ For each user that will be using rootless docker you need to run a individual setup script [CODE] to set up the daemon. [CODE] | 1 | 2 | 136 | 2024-03-04T16:33:08.027 | pipeline_ops | serverfault.com | |
379,556 | What is Openflow? | Okay, I've been thinking about this a lot recently but I think I may be more confused now than I was originally when I started. I can't find anything about Openflow that helps me understand what it is. None of the websites I have found have given a solid definition of what Openflow really is and what it does, at least ... | First, you need to be familiar with the concept of "Software Defined Networking." The short story is that SDN decouples the "control plane" from the "forwarding plane." The control plane is the part that creates network logic ("Where do these packets go? How are they routed and why?"). The forwarding plane is the hardw... | 4 | 5 | 170 | 2012-04-15T01:08:26.330 | infrastructure | serverfault.com | |
10,780 | The SELECT permission was denied on the object 'syscolumns', database 'mssqlsystemresource', schema 'sys' | MSSQL 2005 sp3 32 bit running on Windows 2003 I have a sql server user MyUser in a database called MyDatabase. MyUser is able to access the MyDatabase database via SSMS. He is also dbo for that database. When using the EMS Database Comparer 2011 to compare this database, I am getting the following error. The SELECT per... | As the error indicates the login does not have [CODE] permissions on the [CODE] schema. This would require you to specifically grant [CODE] to the login, or I believe you could also just [CODE] for the database. Update Sorry just caught that last sentence. I have not worked with that software but seems it might be usin... | 2 | 2 | 17,255 | 2012-01-17T12:31:30.317 | database_errors | dba.stackexchange.com | |
240,163 | SQL Server 2005 inserting null when value hard coded | I have a stored proc that creates an entery in a table. [CODE] But in the trigger the status is appearing as null and the insert fails as i have a check for a null status. [CODE] Any ideas why this is happening? Sp | Shouldn't your inner begin / end block be set this way: [CODE] In your code the raiserror will be always called, because the line following your if statement is considered as execution block and the next line will be called even if the if-statement isn't true. | 0 | 2 | 169 | 2011-02-25T10:42:26.453 | database_errors | serverfault.com | |
673,700 | Main server 2008R2 crashed. Need to copy AD from another server in same IP range | Unfortunately the main server crashed and I have re-installed Server 2008 R2 Standard in it. The server had only ADDS, DNS Services and File Services. I have the AD on a desktop computer where Server 2008 R2 Standard is installed. All the user computers and the servers are in same IP range. I tried replication but an e... | You'll have to reassign or seize the RID master role on a functioning domain controller. Microsoft says: Do not seize the RID master role if you can transfer it instead. Seizing the RID master is a drastic step that should be considered only if the current operations master will never be available again. For more infor... | -1 | 5 | 136 | 2015-03-07T12:42:08.660 | database_errors | serverfault.com | |
99,032 | How to approach the ol' "this will just be a small application"? Yeah right? | Ok I have run into this many times, but here is the worse case scenario slightly exaggerated. A client says "hey can you make us this small module to do this small task"? Me: "Sure no problem". So based on budgets and constraints etc., I skip some of the architecting and dive right in and make it no sweat. Then they as... | I've run into quite a few of these and what I normally do is exactly what you did, dive right in and get it done. When they come back for more, it means that their business model is working and that they should be willing to invest a little more. That's when I sit them down (typically 3rd module depending on complexity... | 11 | 17 | 504 | 2011-08-06T07:35:38.237 | data_quality | softwareengineering.stackexchange.com | |
369,870 | Trying to configure HWIC-3G-HSPA | I'm trying to configure a couple of Cisco 1941 routes. The are both identical routers. Each as a HWIC-1T (Smart Serial interface) and a HWIC-3G-HSPA 3G interface. These routers are to be sent to remote sites. We have connectivity to one of the sites but if remote site A gors down we lose connectivity to remote site B. ... | You could set up a fake GRE tunnel in order to send packets to maintain the interface up. [CODE] The tunnel dest can also be any IP for wich you have a route via 3G. The tunnel will stay down (as the keepalive messages won't be answered) but the keepalives sent will force the 3G interface to stay up. | 1 | 1 | 1,720 | 2012-03-15T00:56:32.143 | infrastructure | serverfault.com | |
37,085 | Merge Replication identity field issues | One of our clients is using our software with merge replication of a database on a SQL Server 2008 R2 machine. There are two production environments in separate geographical locations only one of which is live at any one time, so basically one and live one on standby. Only the live database is updated by teh applicatio... | You could turn off automatic identity management and allocate your ranges manually. Another option could be forcing a range re-allocation by issuing sp_msrefresh_publisher_idrange and specifying the range boundaries. However, both options would not guarantee that the [CODE] column is populated with ever-increasing valu... | 3 | 1 | 2,987 | 2013-03-19T16:53:14.623 | database_errors | dba.stackexchange.com | |
318,471 | Why cannot I reference the second alias from a subquery containing a UNION? | Why cannot I use [CODE] as an alias in my query? I receive this error: Error Code: 1054. Unknown column 'qty2' in 'field list' [CODE] | Column names in the [CODE] query are assigned based on the first [CODE] , and you can't have different names for the same (second) column in the result. My guess would be you want a [CODE] , not a [CODE] . | 0 | 4 | 688 | 2022-10-20T17:20:43.503 | warehouse_errors | dba.stackexchange.com | |
1,030,137 | CloudFront what to use for Origin Domain Name when connecting to Wordpress | I have a Wordpress site set up at [CODE] and I am trying to configure a CloudFront distribution as a reverse-proxy to reduce the load to my origin server. In the past I have used Cloud Flare and the configuration was very straightforward, because CloudFlare knew the IP address of the origin server it could just send re... | The issue can be overcome by forwarding the Host headers to the Origin, there is an Behaviour setting for this: Cache Based on Selected Request Headers | 1 | 0 | 1,473 | 2020-08-14T14:49:50.347 | infrastructure | serverfault.com | |
554,345 | Nginx save file to local disk | My case is: In our China company, we have to access one web server in USA headquarter through Internet. But network is too slow, and we download many big image files. All our developers have to wait. So we want to setup a Nginx which acts as reverse proxy, its upstream is our USA web server. Question is can we make Ngi... | Yes, nginx can be used as reverse cache and cache files to disk. Here is example configuration: http://wiki.nginx.org/ReverseProxyCachingExample | 0 | 2 | 3,190 | 2013-11-12T06:43:41.627 | infrastructure | serverfault.com | |
145,110 | Export firewall rules on Juniper SSG-550 | I'd like to export all the policies set up in my Juniper SSG-550 running JunOS 5.1 but i can't find any way to do so. Preferably in an easy to parse format (csv would be great). Problem is the firmware is awfully outdated and I only have access to the webGUI, maybe there's a way to do that through the serial port but I... | You can grab a copy of the config file by going to Admin -> Update -> Config in the Web UI. I have some dodgy scripts to parse the config files and output policy info, but a more ghetto way is to just copy and paste the policy table (Policy -> Policies in the web UI) into Excel and then munge it. And if you have access... | 1 | 1 | 10,658 | 2010-05-25T14:31:43.227 | infrastructure | serverfault.com | |
30,862 | Optimising plans with XML readers | Executing the query from here to pull the deadlock events out of the default extended events session [CODE] takes about 20 minutes to complete on my machine. The stats reported are [CODE] Slow Plan XML If I remove the [CODE] clause it completes in less than a second returning 3,782 rows. Similarly if I add [CODE] to th... | The reason for the performance difference lies in how scalar expressions are handled in the execution engine. In this case, the expression of interest is: [CODE] This expression label is defined by a Compute Scalar operator (node 11 in the serial plan, node 13 in the parallel plan). Compute Scalar operators are differe... | 40 | 41 | 16,047 | 2012-12-20T20:51:39.870 | database_errors | dba.stackexchange.com | |
219,202 | 9000+ different subdomains 301 to main domain, .htacess apache | I bought a domain that had various subdomains such as Kim.domain.com/whatever john.domain.com/whatever1 Lizo.domain.com/whatever2 Simon.domain.com/whatever1 And this was in the thousands, and also had links to these pages I'd like to do a 301 redirect for all these urls into http://domain.com Any idea how this could be... | Do you intend to lose the "kim" part and retain the "whatever" part so that kim.domain.com/whatever redirects to domain.com/whatever ? If so, then drop this into every site's .htaccess file: [CODE] I assume you want this in .htaccess because you want to get rid of kim, john, lizo and simon but keep larry, moe and curly... | 0 | 0 | 919 | 2011-01-05T23:26:58.683 | infrastructure | serverfault.com | |
939,389 | setcap breaks systemd permissions | adding SMART plugin utility to collectd version 5.8 get a warning about lack of permissions to collect I/O data: [CODE] setcap to allow this capability on collectd: [CODE] systemd isnt able to start the process up after the permissions are added: [CODE] What's preventing systemd from executing with this flag added? EDI... | Try adding the capability using systemd: [CODE] Then add the following line to the Service section: [CODE] | 1 | 1 | 1,505 | 2018-11-09T21:39:29.653 | infrastructure | serverfault.com | |
9,275 | Is $R^2$ an appropriate evaluation metric for k-Nearest Neighbors? | I found a source that stated that $R^2$ is the ”percentage of the response variable variation that is explained by a linear model.” ( Source ) Since kNN is not a linear model (it is nonparametric), is it appropriate to use $R^2$ to evaluate it? If not, what error metric would be appropriate? I'm using the kNN classifie... | $R^{2}$ is a cursory measure of goodness of fit of a linear model to the data and it is used in regression analysis. It appears to be a popular choice when deciding between linear and non-linear regression models. It seems you intend to use kNN for classification, which has different evaluation metrics than regression.... | 4 | 2 | 6,118 | 2015-12-09T04:10:02.643 | data_quality | datascience.stackexchange.com | |
582,202 | Eternal file copy? | I have a file share on a Windows 7 box in my local domain network and is accessed by about 10 users, usually with no problems. Today I have a user that was trying to do a simple file copy of a 26MB QuickBooks file from her workstation to the file share via a mapped drive. She couldn't make it work, so I logged in as he... | This makes me think about a similar issue i had a few times ago, and the cause was the [CODE] feature from Microsoft TCP/IP transport Layer. On Client side, try (from an elevated command prompt) : [CODE] (Maybe you will have to reboot the client computer after that, i cannot remember). | 0 | 1 | 147 | 2014-03-14T19:04:15.607 | infrastructure | serverfault.com | |
743,454 | Configuring azure site-to-site VPN with another network | I have an Azure VM (resource manager) already existing in a VLAN and i would like to know how can i setup a site to site connection. I have read https://azure.microsoft.com/en-gb/documentation/articles/vpn-gateway-create-site-to-site-rm-powershell/ but it does not explain on setting up on an existing VLAN plus it did n... | First I downloaded the latest version of the Azure Resource Manager PowerShell cmdlets to configure connection, see https://azure.microsoft.com/en-us/documentation/articles/powershell-install-configure/ on how to download and install. I took the following steps Connect to your subscription [CODE] Added a gateway subnet... | 0 | 0 | 227 | 2015-12-16T15:16:08.570 | infrastructure | serverfault.com | |
10,067 | Testing matrix: occurence/impact/probability of bug | I am a test manager, and in the 3 years in the job I learned that when deciding whether to write a particular test or not, it is beneficial to look at the following: What is the occurrence of the scenario? The more frequent the scenario that more important is to have a test that covers it. What is the impact to the use... | Your approach seems to be correct. Although, one thing I conclude from it is that you probably work a lot on time frame based projects. I mean there is always a time limit on the task. So it is always hood to have a priority based approach. To decide the priority you may first look for things like - What is the softwar... | 3 | 3 | 1,201 | 2014-10-26T06:37:26.150 | data_quality | sqa.stackexchange.com | |
363,639 | mod_wsgi overriding virtual hosts on Apache? | I have a working Django app hosted on my linode (Fedora 15), and I'm attempting to host a php-based site there as well. I'm using name-based virtual hosts to redirect requests based on the host name, but for some reason, every request is going to the Django app. I'm thinking perhaps mod_wsgi is overriding some defaults... | If you have not setup the second virtual host properly, or not being found, then Apache will fallback to sending requests to first virtual host it found in configuration. Are the virtual hosts in same file, different files? If in different files and in sites-available directory, did you actually enable the second site ... | 0 | 2 | 1,868 | 2012-02-25T02:10:19.383 | infrastructure | serverfault.com | |
157,334 | Best indexing strategy for query that searches between two bigint columns | I have the following table in MS-SQL: [CODE] The ip_from and ip_to columns are calculated from ipv4 addresses as such: [CODE] I am then using an ipv4 address converted to a bigint using the calculation above to search for the row in which the ip address falls between the ip_from and ip_to columns. I'll always find one ... | I think a composite index with both ip_from and ip_to would be the most efficient for this range search. If the only columns returned are latitude and longitude, those queries should be included as non-key columns in the non-clustered for the best performance of this particular query. The index should be clustered inst... | 4 | 5 | 949 | 2016-12-06T12:36:24.837 | warehouse_errors | dba.stackexchange.com | |
814,415 | Options for scalable file storage (Windows Server) | We currently have a windows server that stores images for a web project. The project has been really successful and we are seeing performance issues and we will obviously run out of space in the future with the current 100k or so images we have stored (On the local disk). The servers are dedicated machines hosted in a ... | In order to store your data properly, you have to use some additional software, since native File and Storage Services that come out of the box are not capable of consolidating the storage into single pool dispersing and replicating the data between hosts to achieve more redundancy and performance. DFS has a lot of iss... | 6 | 3 | 499 | 2016-11-11T13:50:27.370 | infrastructure | serverfault.com | |
11,683 | How to sort displayed tasks in the order they were run rather than by the time it took each task to run? | I've configured ansible.cfg to display the steps it has done during a playbook run and it looks like so: [CODE] ansible.cfg is configured like so: [CODE] If you see from the output, the order is all mixed up and is sorted by the length of each task's run in descending order. How can I sort the output so it displays the... | You can add an entry in your ini file to set the sort_order for the callback plugin to none. [CODE] By default it is set to descending, which is why the tasks are displayed in decreasing order of time taken. Refer: https://docs.ansible.com/ansible/latest/plugins/callback/profile_tasks.html#parameter-sort_order | 1 | 1 | 699 | 2020-05-24T09:03:22.380 | pipeline_ops | devops.stackexchange.com | |
274,273 | How to sum the values of a json column filtered with regex? | How to sum the values of a json column filtered with regex? Columns: [CODE] : Varchar with name product [CODE] : JSON with time active By product Query: [CODE] Explanation data JSON 1: [CODE] JSON 2: [CODE] Desired Output: [CODE] Output: [CODE] | The immediate reason for the error message is that the data type [CODE] has no equality operator. See: How to query a json column for empty objects? How to remove known elements from a JSON[] array in PostgreSQL? You have: [CODE] You can do that, using [CODE] instead of [CODE] , where an equality operator is defined. B... | 1 | 1 | 2,138 | 2020-08-24T20:26:20.793 | warehouse_errors | dba.stackexchange.com | |
263,315 | csf dovecot and IP blocking | I'm using csf and noticed a lot of brute force password attempts into a particular pop3 account. csf does not appear to be blocking the IP addresses as it does with other processes. Is there a switch or config option that someone can point me to that instructs csf to block all failed dovecot login attempts? | Have a look at the "SECTION:Login Failure Blocking and Alerts" and set the whished settings. More specific, [CODE] and [CODE] for the amount of attempts before its blocking the IP address. Furthermore you need to check if the log paths are set correctly. Go way back down into the config, and see that these settings are... | 4 | 1 | 2,241 | 2011-04-25T22:49:20.077 | infrastructure | serverfault.com | |
44,223 | What is the best technique for initializing test data | I am working on a functional test automation project for a web application, and I want to integrate my tests with Jenkins. The problem is that I cannot make a decision on the initialization technique of my test data to be able to replay my test several times. The techniques I know are: Backing up and restoring the data... | The best technique is to have a separate, empty database that is reset after every test. This is the technique used by many frameworks. A lot of the change is also in mindset. In manually testing - which today is often done in an 'exploratory mode'- of a zip code you will randomly try several real ones and expect them ... | 0 | 2 | 563 | 2020-04-10T17:49:21.870 | data_quality | sqa.stackexchange.com | |
555,995 | can postfix use a backup relay in response to a 5xx error code | I'm trying to configure my postfix (2.9.6) mail server to initially try deliver messages directly to the recipient MX, then fall back to relaying through my ISP's mail server if it recieves a 5xx status code. My mail server is on the end of a home broadband connection so it falls foul of spamhaus filtering. I'm aware t... | There's no such option in the config. You might possibly do something creative with piping bounces through a script that adds the target domain to a transport table and re-sends the email. But I'd advise you to either get a server from a colo provider who isn't spam-infested enough to get added to blacklists, or to sim... | 1 | 1 | 1,098 | 2013-11-19T13:40:10.033 | api_errors | serverfault.com | |
43,118 | How can I increase performance for select in select statement | The item table is like this [CODE] I have to show total number of items from the beginning. Suppose between 2013-05-01 to 20-05--05, I have to count all the items before 2013-05-01 and add that to count of 2013-05-01 's items. The result have to be grouped by registered and category_id. I have to do this in one query. ... | SQL Fiddle [CODE] | 0 | 1 | 910 | 2013-05-27T09:25:11.673 | warehouse_errors | dba.stackexchange.com | |
633,373 | why user can view IIS default page on every entered invalid subdomain? | I hosting a DNS zone for a public domain on my server (Windows Server 2008 R2). My problem is if user enter any sub domain name who is not available , can see my IIS default page. for example : [CODE] can see my IIS default page. i want to redirect user to main domain name if entered sub domain is not available. how ca... | What's happening is this: Client looks up random subdomain of mydomain.com in DNS (random.mydomain.com) You have a wildcard DNS record that resolves that subdomain to the IP address for your main domain (mydomain.com) Client's browser connects to your server on that IP address, sending random.mydomain.com as the host h... | 0 | 1 | 440 | 2014-10-03T15:58:50.290 | infrastructure | serverfault.com | |
930,199 | How to make Sendmail add an evelope recipient(s) header to all inbound email messages? | Disclaimer: I have read some of the questions and articles here and elsewhere which deal with Sendmail rewriting headers. I haven't found an answer to the question below because the other question mostly relate to rewriting headers (instead of adding them), and nearly all of them relate to outbound messages and the env... | Your question is addresses by Sendmail.org FAQ 3.29 3.29 How can I add a header specifying the actual recipient when having multiple users in a virtual domain go to a single mailbox? Short version: Use virtusertable and [CODE] virtusertable: [CODE] [CODE] should get "plus detail" in [CODE] . OR You can use $h (set to +... | 0 | 1 | 2,041 | 2018-09-10T09:30:14.083 | infrastructure | serverfault.com | |
285,670 | MariaDB Uuid as Primary Key Performance Problem / Tweaks | im upgrading our mariadb database from PRIMARY KEY INT AUTO_INCREMENT to UUID PRIMARY KEY. We have around 80 tables with multiple relations between them. I've build a migration script to change the id field to BINARY(16) and created for every row a Uuid v4. Then i've updated the relations with the new uuid (also as BIN... | UUIDs are not nice when it comes to performance. In particular, there is no relationship between the 'next' row you fetch via a UUID and all the other rows that are currently cached. Docker possibly has a "small" value for [CODE] , thereby leading to I/O when random accesses into the table happen. UUID v1 can have its ... | 1 | 1 | 1,713 | 2021-02-19T09:57:07.420 | data_quality | dba.stackexchange.com | |
444,012 | Selecting a large set of information from a database | So this is a topic I have never really tackled, so bare with me as I try to describe my issue and the scenario. I have an API endpoint in my service that sends emails to a bunch of users. The set of users selected is based on the criteria in the payload in API request. It works well so far. There are new use cases that... | Chunk it . Without a use case that requires loading it all in memory at once my answer is don't do that. Rather, work out how many you can load at the same time performantly and stay under that number. This is similar to pagination where you need the ability to ask for a set number of records starting at an offset or I... | 1 | 3 | 117 | 2023-02-16T20:58:07.060 | pipeline_ops | softwareengineering.stackexchange.com | |
263,890 | Cannot login as new user on MariaDB | When I create a new user in MariaDB, I cannot login as that user. First I login to the database as root doing [CODE] in a bash terminal. I then run the following commands to create a database and a user: [CODE] When I then run [CODE] , it prints the following: [CODE] However, when I then try to login as that user doing... | The [CODE] password prompt seems to be broken. Supplying the password on the command line works as it should. [CODE] | 1 | 0 | 3,544 | 2020-03-30T01:59:29.637 | database_errors | dba.stackexchange.com | |
1,030,641 | Ensure query executes even if connection to Postgres database is lost | I'll often create a ssh tunnel to a remote database and query the database with a local client. Sometimes, I have to make a very long-running command, typically to create a table. Is there anything I can do to ensure that a query will not be cancelled if the client loses the connection to the server? | Run the command on the server in a [CODE] session on that server. If you are disconnected [CODE] will maintain your terminal, processes will continue to run, and you can reconnect to it whenever your network connectivity is restored. | 0 | 0 | 338 | 2020-08-18T15:52:13.797 | infrastructure | serverfault.com | |
28,800 | a simple way to test wether a tree-based classifier would transfer well to a target population? | I trained a tree-ensemble classifier (XGBOOST) on population A, validated it and I'm satisfied with its accuracy (AUC 0.78). Now I'm trying to transfer it to a slightly different population B, and there the accuracy of the model deteriorates badly (AUC 0.68) I tried isolating which of the features did not transfer well... | Not sure if you've tried this already, but you might dig into XGBOOST feature importance to establish how your model is making predictions, then do a more in-depth comparison between the two populations at those splits. This isn't very different from what you've proposed, but it does make for a more focused analysis; y... | 1 | 1 | 21 | 2018-03-08T12:46:31.747 | data_quality | datascience.stackexchange.com | |
363,593 | HAproxy not forwarding .asmx requests | I am trying to use HAproxy to redirect legacy ASP requests to our ASP server like this: [CODE] However the server response I get is 404 - resource not found. Going directly to www.legacy.com/ws/derp.asmx returns the correct exception code (since I am using GET not POST). Any suggestions? I tried replacing the path begi... | The IIS server must bind to the same domain as the domain used by the proxy. In my example the HAproxy is bound to test.domain.com while the IIS only listens on domain.com. After adding test.domain.com to list of names IIS should accept the forwarding started to work. | 0 | 1 | 910 | 2012-02-24T22:31:31.787 | infrastructure | serverfault.com | |
364,882 | Legacy modernisation - Parallel systems vs Extending Original application? | We are in the process of modernizing an existing legacy application and as part of that we are replacing a proprietary off-the-shelf product that is deeply integrated with the application - with a new off-the-shelf product. There are two approaches we are looking for co-existence. Update the Original application (say A... | I'm assuming you have a small team and a limited budget, so my answer assumes the following is true: Maintaining 2 separate applications would be a big strain on the team The work to integrate the new product is non-trivial The old product is nearing end of life or is obsoleted by the new product which does the same jo... | 3 | 3 | 352 | 2018-01-29T16:30:01.380 | api_errors | softwareengineering.stackexchange.com | |
725,928 | Printer dropping packets while in standby mode | We have an HP LaserJet Pro 400 M401n connected to a Brocade ICX6450-24P that is having some intermittent connection issues while it is in standby mode. I have a feeling there might be some electrical interference on the line due to the way it was ran, but I'm not sure if this is the way it would manifest itself. While ... | If it were interference, if would cause issues constantly. When in standby mode, it seems reasonable that the CPU would not be as responsive to pings. If it's not causing issues with that actual function of the printer, then don't worry about it. | 0 | 0 | 732 | 2015-10-01T01:19:09.250 | api_errors | serverfault.com | |
113,326 | Virtual Desktops | We are planning on testing virtual desktops and would like to run them side by side with the physical workstations until users and the bosses are comfortable. The problem is that i don't have enough IP address on my current subnet. Is there a way around this ? Any help is appreciated. | I guess you mean virtual machines, not virtual desktops . The IP Problem can easily be solved by using NAT in the host machine, by doing that the VM accesses the Network through the Host, while the Host provides router functionality. This Setup is the default for VMWare, as well as Virtualbox afaik, so no need for addi... | 1 | 0 | 88 | 2010-02-16T10:56:24.360 | infrastructure | serverfault.com | |
353,115 | Use case, design, and how to append to an immutable object in functional programming | This is not (supposed to be) an opinion question, but it is a newbie question, so if there is just a resource I haven't found that I need to read, point me there :) I am in the design stages of a microservice-based ETL system. One service in particular seems to be a natural candidate for functional programming over oop... | Is this a good use case for functional programming, maybe in Kotlin or Scala (or Python), which are the three languages most used in the application as a whole. Naively, it seems fine. Walking a graph collecting state seems decidedly functional (even better if you could map/reduce the nodes rather than walking the grap... | 0 | 0 | 223 | 2017-07-19T19:08:04.253 | pipeline_ops | softwareengineering.stackexchange.com | |
174,044 | When exactly are multiple users unable to simultaneously run a stored procedure with a temp table? | I have a question regarding a piece of documentation on Temp Tables that I recently read on TechNet . The fourth paragraph of the Temporary Tables section on that page reads as follows: If a temporary table is created with a named constraint and the temporary table is created within the scope of a user-defined transact... | I think of it as you can't have any duplicate names in [CODE] . Here's what's in that metadata view on one of my servers: All of the odd names that end with [CODE] were names generated automatically by SQL Server. They are not named constraints because I did not explicitly give them a name when creating them. SQL Serve... | 9 | 10 | 2,573 | 2017-05-19T15:40:08.913 | data_quality | dba.stackexchange.com | |
356,995 | What is the right way to make HTTP requests when a slider's value changes? | I am designing basic software for smart wireless lighting systems. The software is GUI based, and I have a slider for the brightness setting of a light in my GUI. The lighting system has a RESTful API so I can listen to changes on the slider value and make an HTTP request with the value to the system. The thing is, it ... | It really depends on how you intend to provide feedback and how quickly your hardware controller can respond. There is more than one way to handle this, and the correctness of the solution really depends on what your users expect. In fact, the potential solutions are not mutually exclusive. Send request after n millise... | 6 | 8 | 1,357 | 2017-09-07T16:18:03.640 | api_errors | softwareengineering.stackexchange.com | |
602,441 | xen server 6.2: lost a VM when moving? | I have three servers in a HA group (Xen 6.2). I've been doing some firmware updates which require rebooting so I've been shuffling VMs around to minimize disruption. One of the VMs seems to have gotten unhappy when it was moved. When it was migrated this error appeared: [CODE] Followed by: [CODE] When all the servers a... | FWIW: to solve this I had to force a shutdown of the offending VM. Then I was able to restart it. Further attempts to migrate this VM have resulted in similar faults. | 2 | 2 | 4,567 | 2014-06-06T18:45:04.970 | infrastructure | serverfault.com | |
1,036,763 | Setting up Postfix and Google G Suite email with WordPress | I have finally got WordPress setup and working on my VPS using WP-CLI. It wasn't until I wanted to change my [CODE] found under [CODE] and submit forms from ContactForm7 when I realised I wasn't receiving any emails at the entered email addresses. I have public domain I purchased with Namescheap and I have an email wit... | Do not set your system hostname to your naked domain name. Do not set Postfix's mailname to the naked domain name. Do not add the naked domain name to Postfix's mydestination, or to any other Postfix configuration option. Doing any of these will cause Postfix to try to deliver the mail locally rather than sending it ou... | 1 | 0 | 977 | 2020-10-07T11:56:59.137 | bi_errors | serverfault.com | |
262,810 | Windows Server 2008 AutoLogin Permission on WinLogon Key | I have a windows Server 2008 that need to automatically autologin on startup, i've added this registry key : [CODE] but in the key DefaultPassword is stored the Administrator password and a normal user on the server can view this password, i've tried to create a policy on the key Winlogon of the registry but if i deny ... | Try Autologon . Autologon enables you to easily configure Windows’ built-in autologon mechanism. Instead of waiting for a user to enter their name and password, Windows uses the credentials you enter with Autologon, which are encrypted in the Registry, to log on the specified user automatically. | 0 | 1 | 3,003 | 2011-04-23T18:50:22.770 | infrastructure | serverfault.com | |
142,239 | Some tables don't have primary key, how can I fix this issue? | I have the following message when running myqsltunner.pl in past this was not present. How can I solve this issues? [CODE] | That is a new feature, part of the Galera cluster support. Galera replication is for InnoDB tables (MyISAM replication can be enabled but it is experimetal) and as it uses row-based replication, the tables should have primary keys to work right and fast. But you cannot just add them if the tables and applications were ... | 1 | 3 | 1,020 | 2016-06-25T13:12:28.150 | warehouse_errors | dba.stackexchange.com | |
487,370 | Find source of failed mysql logins | I've been seeing the following log entry in /var/log/mysqld.log and am trying to pinpoint the source of the request: [CODE] This started on Monday evening right on 8pm and continued until last night at 23:59:57, once every minute (roughly). I thought that was the end of it until it started back up again this morning at... | Apparently, since the source of the connection is made through a socket, neither mySQL or any Linux Kernel can identify the source. I'm now working with Atomicorp ( www.atomicorp.com ) as they are developing a kernel patch which will allow this to be traced in the future. | 0 | 0 | 115 | 2013-03-13T10:18:34.930 | database_errors | serverfault.com | |
323,349 | How to configure basic authentication in IIS SMTP Server? | I feel like this is a stupid question but: I have a test environment set up where I need to enable SMTP basic authentication with IIS. I have a Win2k3 r2 server as a DC in its own windows domain called testdom.local. I also have the MS pop3 server set up with the testdom.local domain on that server. I have a windows ac... | I had this exact same problem and the issue turned out to be that I was trying to authenticate using the Administrator account. As soon as I tried a non-administrative user account it started working perfectly. Possibly related information: http://www.apijunkie.com/APIJunkie/blog/post/2007/11/SMTP-535-573-Authenticatio... | 2 | 1 | 7,559 | 2011-10-20T16:11:56.760 | api_errors | serverfault.com | |
1,018,465 | Different server of subdomain(HostMonster) & domain (AWS)? | So I have these 2 different endpoints blog.subdomain.com - The wordpress files of this located on my hosting [CODE] domain.com - This was a parked domain, but recently tried to use [CODE] to upload my files and point this [CODE] A Record & Nameserver to [CODE] . [CODE] was working fine before, but not until when I trie... | You must create the [CODE] CNAME or A record in AWS Route53 pointing back to the original webserver (hostmonster) as Route53 is now acting as your nameserver. Clients will no longer query the old nameservers that you used before, hence you have to have all the records in AWS. Hope that helps :) | 2 | 3 | 339 | 2020-05-24T11:59:12.660 | infrastructure | serverfault.com | |
129,135 | Behavior of case sensitivity of RAISERROR when run remotely | I have a remote SQL Server that I can connect to using a local instance of SSMS. When raising errors, we use [CODE] Remotely, this works fine if it's all uppercase, or even if any one letter is uppercase. [CODE] If I try to run it using all lowercase though, it does not work [CODE] It returns the error message Msg 121,... | This issue may actually be related to a very old bug with SQL Server, but not directly caused by SQL Server itself. I found this MSDN thread which describes the exact same behavior Please note the strangeness of this: RAISERROR won't compile (connection time out), even if it is in a comment! This was the accepted answe... | 2 | 3 | 458 | 2016-02-12T17:50:37.490 | database_errors | dba.stackexchange.com | |
56,323 | Using pg_dump with huge # of tables? | I'm dealing with a database system that can have thousands of tables. The problem is, when I try to back it up using [CODE] , I sometimes get the following error: [CODE] I could of course increase the [CODE] setting. But the problem is that the number of tables can vary. I don't want to constantly have to revisit this ... | If you want a consistent backup, you must increase the max_locks_per_transaction. Doing it in chunks from a script will make the backup inconsistent if you have concurrent access, which is probably not what you want. Your other option is to use PITR and do a filesystem level backup. That will not take out any locks at ... | 3 | 3 | 2,578 | 2009-08-19T20:01:36.567 | infrastructure | serverfault.com | |
229,193 | MySQL-Cluster or Multi-Master for production? Performance issues? | We are expanding our network of webservers on EC2 to a number of different regions and currently use master/slave replication. We've found that over the past couple of months our slave has stopped replicating a number of times which required us to clear the db and initialise the replication again. As we're now looking ... | If you understand your data and the reasons why replication fails you shouldn't need to reload slaves, though this is often the easiest way as it can be tedious fixing the slave so that replication can continue. I've used multiple masters for a few years, and the issues I have encountered are mainly caused by triggers ... | 3 | 3 | 3,358 | 2011-01-31T16:04:37.273 | database_errors | serverfault.com | |
83,753 | insert multiple authors only if it exists in MySQL | I have a problem . I am doing a PHP -My SQL project . I got to store author/s of a conference paper in a database . But sometimes its just 1 and sometimes it can be 2 or 3 or 10 . So how do i store this without creating rows like author1 ,author 2, ... author n . As for each conference papaer the number of authors will... | As this is a m:n relationship you'd need an intermediate table that links authors to papers, e.g.: [CODE] Then you can check for all authors of a paper with: [CODE] Same for all papers by a specific author with [CODE] Or if you you want a list of authors for each paper on a single row you can use [CODE] and the [CODE] ... | 0 | 1 | 363 | 2014-11-26T22:09:18.567 | database_errors | dba.stackexchange.com | |
161,359 | How can I insert into a Destination Table from multiple tables concurrently..? | I have a monthly single threaded process that restores about 2,000 databases and pumps data into a table then drops the DB. It takes about 18 hours for the insert to complete (Its via an SSIS Package). How can I make this multi threaded; avoiding locking/deadlocks on the destination table. I have thought of partition s... | This article is for you then. One quote directly in regards to your question of multi-threading. The package property that determines how many executables can run in parallel is MaxConcurrentExecutables, as shown in Figure 2. The default is -1, which means that the control flow engine will use the number of logical pro... | 1 | 1 | 505 | 2017-01-17T19:01:47.353 | database_errors | dba.stackexchange.com | |
808,096 | Exisiting Windows Server 2008 R2 does not see new SSD | O/S: Windows Server 2008 R2 Enterprise Service Pack 1 64-bit PER IBM Integrated Management Module II: IBM ServerRAID M5110e SCSI Disk Device Drive 0 - 931.513GB Drive 1 - 931.513GB (Mirror) Drive 3 - 447.132GB (new SSD) The system has been running for a few years, updated firmware and drivers for raid controller and dr... | The LSI RAID controller does not pass the disk through per default. You have to create a virtual disk in the controller, using your new disk, which is then seen by the OS. If the other server picked up the SSD directly, maybe you have the controller in IT mode? Although you would need to reflash the controller for that... | 1 | 1 | 908 | 2016-10-10T10:44:05.647 | infrastructure | serverfault.com | |
37,577 | How to get total number of tests ran based off of CSV data file? | I inherited two dozen or so java tests and when the suite is ran, everything is printed whether passing or failing. I would like to only print failures/failure logs and get a total count of tests that passed. Most of the tests use a data source CSV file and iterate over the rows to verify different data values. Intelli... | One way to do this is to create a DotTestListener Class which gets callbacks with test statuses. In this example from http://testng.org/doc/documentation-main.html#running-testng output is printed to the console but you could alter it to store different info and put it in different place. [CODE] | 0 | 0 | 166 | 2019-01-31T21:16:02.297 | data_quality | sqa.stackexchange.com | |
285,434 | sql command utility version is not working | I have two versions of SQL Command Utility installed on my system as mentioned below(I checked the versions by going to Control Pannel->ProgramsandFeatures). Microsoft Command Line Utilities 11 for SQL Server Microsoft Command Line Utilities 15 for SQL Server However, when I go and check the version in command prompt b... | If you don't qualify the SQLCMD.EXE location at the command prompt, it will use the first one found in your search path. So you need to either fully qualify the path to the executable for the desired version or modify your search path so that the newer version directory is before the older one. | 1 | 1 | 519 | 2021-02-15T14:39:33.257 | database_errors | dba.stackexchange.com | |
224,571 | 2 different mysql servers on localhost | Im trying to build application, which uses 2 mysql servers. I set up port forwarding (thats the name to callit -i dont know) like that: [CODE] and i changed my own my.cnf port to 3360 and did [CODE] When i try to connect to the foreignserver - i fail. [CODE] gives me error [CODE] since i cant connect to the other serve... | Looks like you're doing everything right, except that the user that you're trying to use doesn't have privileges for connecting from localhost. The SSH tunnel will mask your IP using the endpoint, in this case it's the localhost machine, you have several ways to solve this. Try to end the tunnel against another server ... | 0 | 2 | 3,449 | 2011-01-20T09:34:04.627 | database_errors | serverfault.com | |
184,233 | Clustering with ColdFusion | Soon we are going to be deploying our webapp built on ColdFusion. We were thinking about clustering ColdFusion however there are a couple questions I have. 1) Is ColdFusion clustering with JRUN good for high performance applications? If So how do you clustering horizontally? 2) Is it possible to cluster Tomcat and have... | Clustering is pretty good with Jrun. Coldfusion 10 is moving to Tomcat so it will be even better. My recommendation is to get setup using Tomcat since your' thinking about it anyways. Remember that you can deploy your CF app inside of any J2EE server as a jar/war/car. As for Tomcat, they have a ton of resources out the... | 1 | 1 | 324 | 2010-09-24T07:51:14.590 | infrastructure | serverfault.com | |
9,944 | Is it possible to combine failure stage from groovy with try catch from pipeline? | I have a pipeline with some stages and logic. The only possible debugger is adding try-catch to each stage: [CODE] however, if one stage fails, I need to stop the pipeline: [CODE] but the try-catch from the pipeline actually cancel it (it proceed to other stages. is there a way to combine them? | You may use and update a flag to [CODE] in the [CODE] and then use that flag in the [CODE] directive of other stage(s) that you want to skip because of any failure in the given stage. Example: [CODE] It would also benefit you in viewing the status of your stage in [CODE] . If the stage is skipped, it shows as 'Not buil... | 1 | 4 | 621 | 2019-11-26T23:47:50.850 | pipeline_ops | devops.stackexchange.com | |
541,648 | Passing PCI Scan on apache 2.2.22 | We are on Ubuntu 12.04 and apache 2.2.2 version. We had PCI scan done on our site and 2 vulnerabilities came out that we can not get under control. First one is BEAST attack and other one SSL RC4 Cipher Suites Supported. So far I have tried following that looks promising. I tried with few more changes after searching f... | Well, the mitigation for BEAST (aside from exclusively using TLS 1.1/1.2, which your server can't do right now) is to use RC4. So, it's probably impossible to configure your server in such a way that it won't be flagged as vulnerable. If you absolutely must get rid of these vulnerabilities, you'll probably need to repl... | 2 | 3 | 529 | 2013-09-25T19:04:01.380 | infrastructure | serverfault.com | |
66,884 | Kmemsize problems in VPS even when there is about 500MB free mem | I have a site hosted on a Plesk VPS with 512MB memory and keep on getting kmemsize in "black zone" QoS errors. The soft limit of kmemsize is 12,288,832 and hard limit is 13,517,715. The definition Virtuozzo gives is: Size of unswappable memory, allocated by the operating system kernel. What's eating up the kmemsize? Is... | I think it is eaten by processes (and threads). Do you have lots of processes/threads running? And concerning increasing it - well, it's up to the hoster, you can't do anything. | 2 | 1 | 1,093 | 2009-09-18T01:17:47.547 | api_errors | serverfault.com | |
328,115 | Rewriting rule to prohibit image linking from another server | Possible Duplicate: How to prevent hot linking (“image theft” / “bandwidth theft”) of ressources on my site? I'd like to forbit image linking on my server. That means if someone tries to link from another server to an image of my server, he should not see the linked image but an alternative image (an image with a writi... | I suspect that the [CODE] is not match, so you should record the rewriting actions with [CODE] or use Firebug to verify the HTTP referer. Try something like this: [CODE] | 0 | 0 | 90 | 2011-11-05T16:24:43.937 | data_quality | serverfault.com | |
715,650 | Server abandons set static ip and returns to dhcp given address | I have a few virtualized (ubuntu 14.04 LTS) servers under KVM that I'm trying to move to an ip block other than the one reserved for servers under dhcp (the 10.10.2.0/24 block). I change the ip and then run this command: [CODE] And the whole setup on the new ip works for a little while. Then, after a few minutes, it al... | It sounds like network-manager is reverting the interface back to dhcp because it's not aware of the config change. Rather than doing [CODE] / [CODE] restart the network-manager service: [CODE] If network-manager isn't installed check to see if dhclient is still running. If it is stop it and try restarting the interfac... | 1 | 1 | 1,952 | 2015-08-20T20:11:07.293 | infrastructure | serverfault.com | |
680,782 | Why are there so many files in /var/spool/postfix/maildrop | We have CentOS 7 running, and previously had [CODE] installed (it is currently uninstalled). After removing [CODE] we checked the [CODE] , as the [CODE] command was reporting over 9GB of usage in that directory. There were hundreds of thousands of files in the directory (we removed them in order to free up space). My q... | It could be anyone's guess as to what was putting them there, but I would suggest reading up on maildrop here: http://www.postfix.org/QSHAPE_README.html#maildrop_queue Also, what was the content of the message files? This should be a huge clue as to what was dropping them off to sendmail per the link above. | 11 | 7 | 44,510 | 2015-04-06T20:34:15.880 | infrastructure | serverfault.com | |
417,370 | SSH - sent password / access granted very slow | I wrote a question the other day regarding slow authentication . disabling GSSAPIauth did the trick. However, I am now faced with another issue. When reviewing the PuTTY event logs, i now have ~20 second delay between Sent Password and Access granted. Log below: [CODE] Has anyone seen this slow behavior ? Again, I am u... | This is typically caused by slow DNS lookups. Add this to your [CODE] : [CODE] | 2 | 5 | 1,715 | 2012-08-14T13:49:41.133 | api_errors | serverfault.com | |
509,823 | ASP.net site on IIS7 - intermittently very slow on all remote connections, but always very fast locally | One of our asp.net sites is intermittently very slow when accessed from the Internet. But even when very slow remotely, it is still running very quickly when accessed on Remote Desktop from the server itself. This isn't a client problem - I've RDC'd from multiple locations and it is always slow from every location, whi... | You have a bottleneck "upstream"of you that appears to be specific to the path used to get from the customers to you. Start with a client machine and work toward your server, checking each step in the path. Use something like firebug to see how long a apecific typical query takes when it's running well, and do a tracer... | 0 | 0 | 1,680 | 2013-05-22T09:52:06.660 | infrastructure | serverfault.com | |
942,059 | I've apparently locked myself out of ssh on one of my Google Compute instances | As recently as yesterday, I was able to connect to our development instance via my local ssh client, using one of several ssh keys listed under sshKeys in the instance's custom metadata (the old-fashioned way). ("Block project-wide ssh keys" is checked). Also that afternoon, while connected, I was doing something where... | The only thing I can remember doing yesterday, that was the least bit unusual, was a chmod on my home directory, setting it to "777." This is probably what locked you out. The SSH daemon is pretty paranoid (for good reason), and it'll check various permissions before it allows a connection. If your [CODE] file is writa... | 2 | 2 | 242 | 2018-11-28T22:04:27.970 | infrastructure | serverfault.com | |
106,295 | What is the best way to scale a CQRS system? | In the previous months I have been asking a lot of questions concerning the architecture of an application I'm working on. Thanks to the answers the architectural design has changed - in fact, it has really been simplified as shown in the following graph: Internally I have a two services ( NOT WCF! ) that follow CQS pr... | I think you are on to a winner here. You have several options for scaling (from easiest to requires some effort). Buy a bigger machine. Run each component on its own server. Run more servers for each component (except for the Database) Replicate the database and service the "visitors" queries from the replication. Part... | 5 | 4 | 2,016 | 2011-09-06T15:38:12.353 | api_errors | softwareengineering.stackexchange.com | |
404,447 | Why is ssh agent forwarding not working? | In my own computer, running MacOSX, I have this in ~/.ssh/config [CODE] b1 is a virtual machine running Ubuntu 12.04. I ssh to it like this: [CODE] and I get logged in without being asked for a password because I already copied my public key. Due to forwarding, I should be able to ssh to pupeno@b1 from b1 and it should... | It turns out my key was not in the agent, and this fixed it: OS X : [CODE] Linux/Unix : [CODE] You can list loaded keys using: [CODE] | 78 | 121 | 98,612 | 2012-07-03T16:32:45.117 | infrastructure | serverfault.com | |
199,367 | What should the relation between parent and child GUI components be? | This seems to happen every time I create any sort of GUI. I have trouble figuring out how child classes should communicate to their siblings. It's a general problem, but it's probably easier to use a concrete example (hopefully that's still okay for this forum? I know it's different from StackOverflow): I have a window... | If I got your right, during the render call, the child needs a service which provides some matrixes, right? It does not really matter that it is the parent which provides that matrixes. So create an interface like [CODE] , give a reference to an object of type [CODE] during construction time to your panels and call tha... | 2 | 1 | 892 | 2013-05-24T21:48:49.133 | api_errors | softwareengineering.stackexchange.com | |
71,325 | Mysql LEFT JOINing same table twice | [CODE] So i have two tables and want to see a column with a customer name then a column with total number of dogs purchased followed by a column for cats and this is what i came up with [CODE] Can someone explain why Matt has 8 cats when i expect it to be 4? This is a boiled down version of my problem | Instead of doing any [CODE] , try this query PROPOSED QUERY [CODE] SAMPLE DATA [CODE] When you execute it [CODE] you get this [CODE] PROPOSED QUERY EXECUTED [CODE] PROPOSED QUERY EXECUTED WITHOUT ROLLUP [CODE] GIVE IT A TRY !!! | 3 | 1 | 21,818 | 2014-07-12T05:53:26.067 | database_errors | dba.stackexchange.com | |
31,866 | Moving from macbook (without GPU) to linux system with Titan V, only getting a 4x speedup, what am I doing wrong? | I was prototyping a network architecture out on the macbook, and after finding something I was somewhat happy with, I wanted to test it out on a big data set on a system with a Titan V as the macbook was very slow for the bigger dataset (12 hours). I was expecting at least a 50x speed up per epoch over the CPU, if not ... | [CODE] Copy paste, run this code. Will tell you if you have tensorflow GPU support. For example, on my MacBook Pro it says [CODE] | 0 | 2 | 56 | 2018-05-20T02:01:11.763 | data_quality | datascience.stackexchange.com | |
45,276 | How to create Oracle RAC database using dbca silent mode with different db_name and db_unique_name | I have a requirement to use dbca (version 11.2.0.3) silent mode to create a RAC database on a 2-node RAC and the db_name and db_unique_name must be different, I tried following dbca command [CODE] But it failed at this error [CODE] I was monitoring my ASM during the run and I can see +DATA/oiddbp got created, but it se... | Since you asked RAC, please see if you can use this non-RAC example as a starting point. For db_name != db_unique_name != sid - Non-RAC - Oracle 12.1 - Custom Database (not seed) On the command line, set ddbname == parameter db_unique_name, and also set parameter db_name [CODE] where wailua.dbt is copied from New_Datab... | 1 | 1 | 6,170 | 2013-06-26T07:11:02.360 | pipeline_ops | dba.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.