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 |
|---|---|---|---|---|---|---|---|---|---|---|
791,433 | Mounting a folder on the host as the postgres config directory/ | I have a git repo with my app, with a [CODE] in the root for running an environment. It uses postgres 9.1 for the database (that will be upgraded). The postgres part of the config looks like this: [CODE] I'd like it so that [CODE] in the container be mounted from [CODE] in the git repository so I could store the postgr... | Using [CODE] to launch just the db instance exposed the actual error: [CODE] Since I forgot to put the config files on the host PostgreSQL didn't start. | 0 | 0 | 282 | 2016-07-22T14:46:25.403 | pipeline_ops | serverfault.com | |
18,569 | How to troubleshoot enq: TX - row lock contention? | I have the following situation. I have RAC. On both nodes there are the locks. On the First Node [CODE] Blocking session info [CODE] On the Second Node [CODE] Blocking session info [CODE] Additional Info : Blocking session SQL_TEXT [CODE] How do I troubleshoot this ? As you can see blocking session is INACTIVE but stil... | Query [CODE] on each node to see uncommitted sessions: [CODE] | 10 | 7 | 85,584 | 2012-05-30T10:05:53.140 | warehouse_errors | dba.stackexchange.com | |
364,895 | Entity and Value Object are not part of the Ubiqtious language. Should this stop me from using them? | I was talking to a Business Analyst about our Domain Model a few weeks ago. I used a class diagram to facilitate communication. She understands UML at a high level and this worked out quite well. She only asked two questions: what is an Entity and what is a Value Object? I explained. I have two base classes i.e. Entity... | If I'm understanding you right, every class in your domain is based on on of two classes. Entity which enforces a single type Id field, tightly coupled to your database and various equality overrides and reflection of classes Value which emulates a value type and attempts to enforce immutably I am struggling to underst... | -1 | 5 | 564 | 2018-01-29T19:55:25.950 | api_errors | softwareengineering.stackexchange.com | |
246,157 | MySQL: INSERT INTO SELECT issues | Consider the following tables: [CODE] Basically, [CODE] aggregates data from several other tables, including from [CODE] . One way to update [CODE] data in MySQL is: [CODE] Although this code works, it seems to be wordy (going around in circle). At first, a better approach would be: [CODE] Unfortunately, due some unkno... | According to the documentation : In other words, VALUES( col_name ) in the UPDATE clause refers to the value of col_name that would be inserted, had no duplicate-key conflict occurred. Therefore, a more direct approach would be: [CODE] | 2 | 2 | 482 | 2019-08-24T02:31:20.003 | database_errors | dba.stackexchange.com | |
244,819 | finding the bottleneck | I have a process running that is opening TIF files. Each TIF file is just one regular page and they are maybe 100 kB each. Every time he opens a TIF file it tries to read a barcode in a specific area on the page.after it reads the barcode in the specified area it closes the file and opens the next file. For some reason... | If the files are hosted on a SAN or NAS you are looking at the potential for network latency here. Does your program have a log file? Can you turn on logging? The problem does seem to either be with the I/O (possibly network if that is how it's hosted) or the the software itself. I would check into those two pieces fir... | 0 | 1 | 220 | 2011-03-08T18:17:33.920 | infrastructure | serverfault.com | |
154,904 | Why does my MySQL server keep converting HEAP to MyISAM | We ve been having some issues with our MySQL server intermittently. It keeps throwing out a lot of these queries concurrently (thus stacking them up in my processlist). We are using a MyISAM db and connection pooling through Glassfish v3 for a Grails Application. db_user myhost:35143 db Query 39 [CODE] We speculate tha... | Could be a few things. Most obvious would be your [CODE] variable is to small and MySQL must create the temporary table on disk and not in memory. Using the following query will show if MySQL is creating disk tmp tables. [CODE] Other issue could be that the table that should go to a temp table is [CODE] or [CODE] table... | 0 | 2 | 2,927 | 2010-06-25T16:27:15.060 | database_errors | serverfault.com | |
245,400 | Is storing pointer (of new'd object) in static collection from object constructor a common idiom in C++ | I am reviewing an approach I see commonly used in storing objects (e.g. a socket client object). Namely, usage of a static container to hold the objects. Said objects are created by some helper function as follows: [CODE] The thing that confused me at first was function called like this: [CODE] i.e. a copy of the point... | Not so familiar with C++, but I do not like the assignment into the static structure from the constructor, because: 1) Introduces a dependency: now the contained class needs to know about the containing instance. You cannot reuse the class without either rewritting or using the same structure. 2) It causes a reference ... | 1 | 3 | 231 | 2014-06-18T15:51:16.777 | pipeline_ops | softwareengineering.stackexchange.com | |
359,776 | How to design the system based around a CLI tool | BACKGROUND I am trying to design a micro-services based SaaS application, where each micro-service would be packaged into their specific Docker container. I also have a CLI tool (a binary file) that functions as a Swiss knife (i.e. does more than one thing) and there are a few micro-services that would want to use the ... | It depends on what the tool does and how frequently it will need updating. If you package the tool with each service then an update to the tool means that you need to push out a corresponding update to each service that uses said tool. Packaging the tool as a separate service will mean that updates or fixes to that too... | 2 | 6 | 203 | 2017-10-26T12:08:17.423 | pipeline_ops | softwareengineering.stackexchange.com | |
1,024,544 | Website authentication method? | Once, many years ago, I secured my website. I'm struggling to remember exactly what I did. I believe I generated a certificate (or a token???) that I delivered to a select few people I wanted to grant access to. My site somehow checked to see if the request included this certificate/token/whatever and only allowed the ... | Maybe you are thinking about "https ssl client authentication". A couple of link about it: https://medium.com/@sevcsik/authentication-using-https-client-certificates-3c9d270e8326 https://comodosslstore.com/blog/what-is-ssl-tls-client-authentication-how-does-it-work.html | 0 | 2 | 61 | 2020-07-08T18:28:52.790 | api_errors | serverfault.com | |
684,304 | Using CFEngine to copy a directory tree except certain files | I'm using CFEngine to deploy apache sites. So, I have a repository setup and my agents are copying files from it. The trouble is when I'm editing my files using vim, it creates swap files. And they are copied to the server, which is bad because everytime I'm firing up my editor, all these machines download the swap fil... | I'm not certain about the CFEngine configuration - I haven't worked with that. You can work around your issue by telling vim not to create additional files during editing. set nobackup set nowritebackup set noswapfile | 0 | 0 | 415 | 2015-04-21T10:34:05.207 | infrastructure | serverfault.com | |
294,826 | When to partition table in SQL Server based on the amount of memory on server | I understand that table partitioning is mostly done for data management. I understand that table maintenance becomes more difficult for large tables, since e.g. an index rebuild cannot fit in memory or because e.g. sorts scale with O(n*log(n)) and this causes extra problems with large tables. Can someone give some exam... | There's not really a size-based formula to start partitioning a table. Unfortunately, it's a lot more complicated than that. A tangent on performance vs data management I would word it even more strongly than saying partitioning is "mostly done for data management." I would say that partitioning is a data management fe... | 2 | 5 | 1,431 | 2021-06-25T18:12:17.727 | database_errors | dba.stackexchange.com | |
782,632 | Can not using websocket with nginx | I am using [CODE] as broker, client side is [CODE] to send websocket request(ws protocol). Everything work fine on server, but when the server start to set nginx as proxy, the client can not connect to server( but I can connect to Activemq UI web). My nginx setting is: [CODE] I am using 80 port to listen ActiveMQ webUI... | The problem come from Docker, [CODE] command sometimes does not work exactle, I have to restart Nginx container. | 2 | 0 | 1,801 | 2016-06-08T07:14:28.697 | api_errors | serverfault.com | |
622,060 | Backup strategy for millions of files in lots of directories | We have millions of files in lots of directories, for example: [CODE] backing up these to tape is slow as backing up data in this format is much slower than backing up a single large file. The total number of files on a disk and the relative size of each file impacts backup performance. Fastest backups occur when the d... | Storing lots of small files in a file system, which itself is kept as a file does have some potential benefits. If the format of this file is sparse, then the backups will initially be faster. However as time passes and files are created and deleted, the sparse image may not remain as sparse. Eventually the image may e... | 0 | 0 | 1,951 | 2014-08-17T22:17:15.973 | database_errors | serverfault.com | |
408,650 | Chef 'notifies' fails to restart or reload services | I'm using chef-solo v10.12.0 to configure an Ubuntu 12.04 VM, and I keep running into an issue where services don't restart or reload as expected when a configuration file is changed. There are no errors in the log although it's clearly doing everything else in the recipe. As a workaround I've been manually restarting ... | The first thing I would check is that the user running chef-client has permissions to start/restart the service (usually not the problem). Next I would check that there are no other recipes running that are counteracting the logic of this recipe (sometimes the problem, but not often). What I really think is causing you... | 5 | 2 | 8,770 | 2012-07-17T21:10:57.000 | pipeline_ops | serverfault.com | |
210,252 | List primary replicas and non-HA databases - excluding forwarder replicas | When asking which databases are writable on any given server, I've been using the below snippet to list [CODE] replica databases and databases that do not participate in an AG. Now that I've deployed a Distributed Availability Group , it's not working anymoar! Since the local forwarder reports as a [CODE] replica on th... | To list all databases in an forwarder replica on the current server... [CODE] To list all databases that are [CODE] or local only and exclude forwarder databases... [CODE] | 2 | 3 | 1,869 | 2018-06-21T13:02:56.633 | warehouse_errors | dba.stackexchange.com | |
970,563 | How to reliably keep a list of servers in a company network | We want to set up a connection to several servers at a customer site and are requested to deal with potentially changing IP addresses as they don't want to keep track of the MAC addresses used, with some quick research I came up with the following options: Broadcast: Using some discovery mechanism like mDNS whereas UDP... | DNS. Every network should have name services, sometimes bundled or integrated as DNS, DHCP, and IPAM (DDI). | -1 | 2 | 240 | 2019-06-07T14:22:20.523 | infrastructure | serverfault.com | |
80,264 | cannot uninstall SharePoint Server 2007 | I have installed SharePoint Server 2007 Entrprise. And I want to uninstall it. But each time I select to uninstall it, and at the beginning of the uninstall process (i.e. of the progress bar of uninstall process), the uninstall dialog will suddenly be terminated/disappeared (without any error message). From control pan... | You have to do a few things before you can run the uninstall. Here is the list: http://www.keirgordon.com/post/Uninstall-MOSS-2007.aspx | 0 | 1 | 1,337 | 2009-11-01T09:02:11.187 | infrastructure | serverfault.com | |
330,991 | Update the second last row for each group | I am building a database in SQL Azure, with an MS Access front end. I have a set of data in a table called PostHolders which looks like this: ID PersonID ApppointmentID ContractStartDate ContractEndDate PostTitle 1 1 ABC-123 1 Jan 23 30 June 23 Tutor 2 2 DEF-234 1 Feb 23 Manager 3 3 EFG-345 2 Mar 23 Supervisor Into thi... | I'm still using the "one less than the max row number" that I'd tried earlier - am I missing something here? Yes, as I mentioned in the comments, if you switch your [CODE] clause's direction from ascending to descending then the first row will always be your max (the new row you just inserted into your table) and your ... | 0 | 0 | 218 | 2023-09-07T11:39:13.147 | warehouse_errors | dba.stackexchange.com | |
48,100 | How is WordPiece tokenization helpful to effectively deal with rare words problem in NLP? | I have seen that NLP models such as BERT utilize WordPiece for tokenization. In WordPiece, we split the tokens like playing to play and ##ing. It is mentioned that it covers a wider spectrum of Out-Of-Vocabulary (OOV) words. Can someone please help me explain how WordPiece tokenization is actually done, and how it hand... | WordPiece tokenization is a type of subword tokenization. Subword tokenization is a technique for splitting words into smaller units, called subwords, that are still meaningful. This is in contrast to traditional word tokenization, which simply splits words on whitespace or punctuation. WordPiece tokenization works by ... | 7 | 0 | 9,117 | 2019-03-27T16:54:59.150 | data_quality | datascience.stackexchange.com | |
307,874 | Postgresql error syntax error at or near "END;" | Can someone explain why it throws error [CODE] at this block of code: [CODE] But not here: [CODE] | The solution to this was to change ELSE IF to ELSEIF without the space in between, because that's the correct syntax for postgresql. [CODE] | 1 | 3 | 3,263 | 2022-02-23T14:30:08.913 | database_errors | dba.stackexchange.com | |
28,726 | Select column names whose entries are not null | I would like to have a list of those columns of a table that have at least one not- [CODE] data entries in them. In other words, I would like to get the column names for which the following returns at least one entry: [CODE] I tried the following: [CODE] But this also returns the column names where all the entries are ... | Let's pick a sample table on my machine: [CODE] With this table, here are two questions: Which columns are nullable ? Which columns are not nullable ? This query will find out for you: [CODE] Check out the result of that query for the table: [CODE] OK, we have two lists. What do we learn from this? If you get two lists... | 7 | 6 | 85,447 | 2012-11-15T14:25:22.870 | warehouse_errors | dba.stackexchange.com | |
106,341 | How to improve language model ex: BERT on unseen text in training? | I am using pre-trained language model for binary classification. I fine-tune the model by training on data my downstream task. The results are good almost 98% F-measure. However, when I remove a specific similar sentence from the training data and add it to my test data, the classifier fails to predict the class of tha... | In order to make your model more robust to different wordings, you may try with data augmentation techniques, that is, creating variations of your sentences and adding them to the training set with the same label as the original sentence. There are frameworks like TextAttack that offer several text augmentation techniq... | 2 | 4 | 212 | 2021-12-22T10:50:35.333 | data_quality | datascience.stackexchange.com | |
323,388 | MySQL select query slow despite having indexes | Have this rather simple SELECT on just one table: [CODE] For some reason, the query takes 10+ seconds to run. The [CODE] table have a bit more than 6 million rows and there are indexes on both the [CODE] column and the [CODE] column. If I drop one of the where clauses, like below, the query takes less than 0.1 seconds ... | [CODE] in this order A [CODE] without an [CODE] gives you an unpredictable set of rows. If you have the above composite index and add [CODE] , the query will still be efficient. Almost any other combination will lead to a further slowdown. Get rid of [CODE] (as Liva suggests). It is unnecessary since [CODE] implies tha... | 0 | 3 | 1,446 | 2023-02-11T09:38:13.167 | database_errors | dba.stackexchange.com | |
68,223 | net use command - system error 5 while mapping a network drive | I got a system error 5 while mapping a network drive of a server to my local machine using the net use command. This error doesn't occur when I use Administrator account of the server. When I use my user account the net use command gives system error 5. But, my user account is added to the Administrators group on the s... | Here's a helpful hint re: those error messages: If you ever need to diagnose error messages from the "NET" command, just go a "NET HELPMSG ". Like, for example: [CODE] So, you're getting an "Access is denied". What's the share you're trying to access? Are you seeing anything in the "Security Log" on the server computer... | 1 | 3 | 41,866 | 2009-09-24T00:11:51.460 | infrastructure | serverfault.com | |
1,134,378 | Postfix cleanup logs not showing all mail ids in Cc header | my main.cf file contains [CODE] these are the ids in Cc in my test mail [CODE] below is the postfix/cleanup log generated [CODE] The log is not showing all mail ids in the Cc header, some ids are missing in the logs, I'm facing the same issue in the To header also, if there is a bunch of recipients, how to fix this iss... | Enable more verbose logging for Postfix by setting [CODE] and [CODE] parameters in main.cf | 0 | 0 | 61 | 2023-06-20T19:21:48.607 | infrastructure | serverfault.com | |
433,118 | How to deal with master data in a microservice environment | Hey Software Engineers Currently we basically have a what I would call "modular monolith". A diagram would likely look something like this: What we want to do in the future is being able to deploy each module independently and move to a microservice environment where every module has its own database. We have a table t... | If the parameters change through "ops" (i.e. not as part of the service), I would remove it from database completely, make it "normal" environment variables for the service. Then make those settings a part of the versioned infrastructure code. For example a k8s "SealedSecret", checked into git. This way you simplify th... | 2 | 2 | 221 | 2021-10-28T14:58:15.953 | api_errors | softwareengineering.stackexchange.com | |
333,434 | Reset root password in MySQL | I am logging in with root user in MySQL, and the server has been hardened, so this parameter is set [CODE] , and this is currently the only user I have. getting the following error: [CODE] | [CODE] This worked for me. | 0 | 1 | 59 | 2023-11-24T07:32:33.847 | database_errors | dba.stackexchange.com | |
280,294 | Not able to install Statistics::Basic on RHEL5 | I am trying to install the perl module Statistics::Basic::Mode on a RHEL 5 system and am having issues. I have tried MCPAN and RPM. Here is the result of running sudo perl -MCPAN -e shell > output2.txt install Statistics::Basic::Mode Link to CPAN results When I tried to install it using rpm I used the following: Link t... | Is Number::Format at the correct version? It's possible that the version in your repos is too low. It's also worth making sure that Number::Format is in your @INC. If it's not, you could add the path to it into $PERL5LIB, and try installing again? | 1 | 0 | 419 | 2011-06-14T13:51:09.627 | infrastructure | serverfault.com | |
651,995 | Why aren't my puppet variables getting assigned by Vagrant's puppet.facter options? | Given that the following is config'd in my Vagrantfile: [CODE] ... and the following is in the manifest: [CODE] When I run [CODE] (or [CODE] if it's already up) I see the following line in the output: [CODE] and when I add [CODE] to the vagrant command, I also see this in the output: [CODE] Why aren't the variables get... | Thanks to @SebastianWeigand, a coworker of mine, I've found that the use of cammel-case in the variable names was causing the problem. Switching to "variableone" and "variabletwo" in both sides fixed it. | 4 | 2 | 1,544 | 2014-12-11T21:56:55.287 | pipeline_ops | serverfault.com | |
813,932 | Apache user authentication based on LDAP group memberships not working | i would like to auhenticate and authorize all users of one LDAP group (ApacheDS 2.0.0-20 on Windows, using multiple uniqueMember attributes in the group and the "Require ldap-group" statement in httpd config) for access to a web ressource. The user which tries to authenticate is also part of this LDAP group and is auth... | In answer to the bounty comment/request, here's the minimum Apache configuration that uses AD authentication and requires group membership, tested on RHEL 7.x which is using mod_authnz_ldap: [CODE] Tweaking the [CODE] allows me to use groups that have nested membership but when set to 0 requires my user to be an immedi... | 6 | 5 | 20,255 | 2016-11-09T06:32:10.147 | api_errors | serverfault.com | |
1,004,612 | Forcing route to interface, no matter what | I've got 2 interfaces on my server ( eno1 & eno2 ). Whenever any process try to reach an IP (lets say 183.182.99.1), I want the traffic to use the eno2 link. Here is my current routing table: [CODE] The problem here is whenever eno2 is down, then kernel try to reach this IP using eno1 . Instead, I want it to fail as if... | Yes you can just "insert" a blackhole route "between" your two routes. By insert between, I mean use a higher metric than eno2 's metric but lower metric than eno1 's metric. Of course not having a default route on eno1 at all would also solve it. [CODE] You can replace [CODE] (drop) with [CODE] or [CODE] to get variou... | 1 | 1 | 530 | 2020-02-26T05:52:46.230 | infrastructure | serverfault.com | |
22,303 | What is the fully-convolutional model? | What is the fully-convolutional model? Is fully-convolutional model a model that has only convolutional layers (with Batch-norm and Activation) and has not any: max-pool, fully-connected, and other layers? If it is true, then why Yolo v2 neural network for object detection is named Fully-Convolutional model if it uses ... | In general, a network with CNN with no Fully connected layers is termed as Fully Convolutional Network(FCN). It can include any type of pooling layers, batch norm, dropouts etc. | 5 | 4 | 391 | 2017-08-16T11:43:56.423 | data_quality | datascience.stackexchange.com | |
1,017,685 | Kubernetes Pod OOMKilled Issue | The scenario is we run some web sites based on an nginx image in kubernetes cluster. When we had our cluster setup with nodes of 2cores and 4GB RAM each. The pods had the following configurations, cpu: 40m and memory: 100MiB. Later, we upgraded our cluster with nodes of 4cores and 8GB RAM each. But kept on getting OOMK... | First of all, the pod should not request more memory/CPU just because the node has gotten more resources. Without your specs it is hard to point out what might be wrong config wise but I would like to explain the concept to make it more clear. You mentioned your pod configuration but did not specify if these are limits... | 0 | 0 | 2,120 | 2020-05-18T21:12:41.740 | pipeline_ops | serverfault.com | |
25,677 | Classify future performance of customer | I have a dataset with monthly revenue per customer. I want to build a model that can try to predict if the customer will exceed $10,000 3 months out (yes/no). While this seems like a traditional ML problem I have an important questions Should I build my dataset with one row per customer id and let the label be the reve... | I'm not sure it will matter very much whether you have one row per user or if you have one row for per month per user. The important part is that the data you have is accurate for that user for a particular month. You might construct your training data like this: [CODE] The important thing to notice is that even though... | 0 | 1 | 40 | 2017-12-14T15:51:59.513 | data_quality | datascience.stackexchange.com | |
806,055 | Adobe ExtendScript http request fails: no shared cipher | For my Adobe CEP project I try to call to a REST API over https from the Javascript side: [CODE] The code triggers the following output in the console: [CODE] Looking at the nginx server log on the other side, there is only a single error message: [CODE] Other clients have no problems connecting to the server. The web ... | It turns out that InDesign's Javascript side is unable to establish a connection using TLS 1.2. After enabling TLS 1 and 1.1 on our server (while maintaining our A+ rating), everything worked. | 1 | 0 | 520 | 2016-09-29T10:06:21.893 | api_errors | serverfault.com | |
989,492 | How to change rancher single-install cert from self-signed cert to signed by CA cert | How to change rancher single-install cert from self-signed cert to signed by CA cert? I tried to backup the rancher container and created a new one with [CODE] . All the data seems gone. Afterwards, I created new admin account and tried to remove all the data in [CODE] and re-restore data again. The container log says ... | Not really a solution to your problem but, starting with Rancher 2.0, Rancher have built-in support for Lets Encrypt certificates. The only parameter needed to enable this, is [CODE] . It will use the http-01 challenge to verify, so make sure port 80 is open from the container. | 2 | 1 | 1,066 | 2019-10-26T16:03:04.087 | pipeline_ops | serverfault.com | |
352,483 | Efficient way to search data based on multiple attributes | We are building a system where we accumulate data from many of our internal services, process them and generate set of data called Jobs saved to database. Our client application running on client systems periodically requests for these Jobs and eligible Jobs for the requested client will be sent in the response. For ea... | Your requirements seem to need full text indexing/search abilities which most RDBMs (including MySQL) can do. But if full text searching is the majority of what you will be doing, you might be better off with a noSQL type DB like Solr. Of course you could use both, if you need things that SQL RDBMs does well and noSQL ... | 0 | 1 | 2,784 | 2017-07-10T12:43:31.343 | database_errors | softwareengineering.stackexchange.com | |
497,814 | Create a local ESXi user through vCenter | The Users and Groups tab doesn't appear presumably because I'm connected through vCenter (ESXi 4.1). Can you: a) authenticate via AD integration to an ESXi host directly through vCLI or vSphere client directly to the host? Doesn't appear like I can, but maybe I'm missing something. b) any way to create an administrator... | With the host selected in vCenter, click the Configuration tab, then click Authentication Services . By default, you only have Local Authentication at the host level, but if you click Properties on this screen, it will bring up a window allowing you to enable Active Directory as an auth service and specify the domain t... | 0 | 0 | 4,475 | 2013-04-09T23:51:53.553 | infrastructure | serverfault.com | |
42,568 | Should estimated probabilities from multi class classification sum to 1 | I am using a neural network with sigmoid activation function $h(z) = 1 / {(1+e^{-z})} $ in order to classify image data into 6 categories. When running the trained neural network over new image data, I noticed that the sums of the estimated probability from the hypothesis output for all 6 classes do not always sum to 1... | Summing up to one or not both can have their special meaning that I'll try to explain them. If you have classes that are not mutually exclusive, say you have dog and cat classes and they both can exist in an image. In such cases, you should use [CODE] nonlinearity as the output of each class and interpret each one sepa... | 3 | 2 | 3,048 | 2018-12-13T19:50:57.580 | data_quality | datascience.stackexchange.com | |
165,846 | Do other developers feel that as they get better, it becomes harder to get jobs? | When I was starting out, it seemed I had a much better time getting interviews and passing them. But now that I'm more experienced, I'm finding that its harder and harder to find a job. Do other developers out there feel the same way? I'll give you an example. I did an interview last Wednesday. It was a small start-up ... | Do other experienced developers notice the same thing happening? Yes and no, for a number of reasons. As developers (or anyone in a technical role) get more experienced, they start to look at roles and companies differently. Less experienced developers are happy to take more repetitive or less desirable positions to ge... | 10 | 10 | 1,018 | 2012-09-23T04:54:58.850 | database_errors | softwareengineering.stackexchange.com | |
164,698 | Storing NULL versus storing '' in a varchar column | I realize this may be marked as duplicate, but I'm specifically asking in relation to SQL Server 2005 I have read conflicting advice on the internet so I'm asking here. Specifically in SQL Server 2005 does a NULL in a varchar column take up the same space as an empty string? I built a 'holding' table on another drive, ... | Let's create three tables with a varchar column, two of them allowing NULL, one not. [CODE] Populate them with 1,000,000 rows: [CODE] Let's check the size: [CODE] Results: [CODE] So it looks like for 1,000,000 rows, choosing [CODE] over [CODE] saves a whopping 8 KB (and this isn't even reflected in [CODE] , because tha... | 7 | 9 | 22,835 | 2017-02-17T14:58:14.580 | data_quality | dba.stackexchange.com | |
240,280 | How many nodes can you install SSRS on when using basic availability groups? | I have migrated a SQL Enterprise standalone SSRS installation to a new SQL Standard 2 node Basic AG recently. I got the expected "scale-out-deployment is not supported error", and I resolved that by removing the old server's information from the keys table in the reportserver DB. I now have just 2 lines in that table, ... | A SSRS scale-out deployment is an Enterprise Edition ONLY feature . I don't like providing link-only answers, but this alternative approach outlined by Rodney Landrum , is much too long to copy/paste into an answer, and I suspect his blog entry will be around for quite some time as it's hosted by Red-Gate . Long story ... | 2 | 0 | 145 | 2019-06-11T14:19:14.380 | pipeline_ops | dba.stackexchange.com | |
286,161 | Gmail flagging emails as spam despite SPF being enabled and working perfectly | I have a website where people can recommend contents to their friends using their email. The issue is that emails are being flagged as spam whereas if I do the same from my development machine things are working out fine. I have enabled SPF and it is perfect. When sending through website, the email appears as this in G... | I figured out where the problem was. So in case someone has the same problem, he can do this: In php's mail function I was not specifying envelope-sender address and therefore php was defaulting it to something like this mywebsite @server.isp.com. I specified it like this as an additional parameter : '-f mywebsite@mywe... | 3 | 2 | 2,011 | 2011-07-01T13:34:24.803 | infrastructure | serverfault.com | |
457,281 | Forcecommand is giving strange results with Tmux | I'm trying to set up pairing with tmux (wemux specifically). I have a pair user set up on my system and can ssh into pair and attach to a tmux session manually. However when I set up Forcecommand in the Match block to attach to tmux automatically on login, it fails saying that there is no tmux session to attach to. Per... | If the other participant uses a different user account, you need to state the path to the socket you want to connect to with the [CODE] flag. The same flag can be specified when creating the tmux server. This is because if you do not specify the socket path manually, the default location for the socket is [CODE] as you... | -1 | 0 | 136 | 2012-12-12T02:11:35.623 | infrastructure | serverfault.com | |
43,281 | How to plot data points and not centroids using sklearn k-means? | I have issues finding a way to plot data points colored by cluster with k-means. I have a very long list of strings.I managed to plot the centroids but not the data points; [CODE] I expect the output to be the data points colored by cluster, and not the centroids | Scatter plots work well for 2 dimensional, continuous data. Like the toy examples you see everywhere. But the data produced by tfidfvectorizer is high-dimensional and sparse. It is to be expected that almost all points will have a 0 value in any two dimensions you plot. One does not simply plot test as 2d coordinates i... | 1 | 2 | 683 | 2018-12-29T15:16:09.533 | data_quality | datascience.stackexchange.com | |
473,860 | How to change 'Advertised pause frame use' and autonegotiation setting on gigabit NIC | I'm investigating some poor nfs performance on a new server, as compared to an old server. Both the old and the new server are nfs clients, and they connect to the same exact NetApp nfs server. My specific question: How to I change the "Advertised pause frame use" setting ? I took a look on the switch side, and the por... | Apparently [CODE] and [CODE] are settings that can't be set to off on a gigabit NIC per IEEE standards . Thats the word around the intertubes. | 4 | 2 | 20,565 | 2013-01-30T15:23:59.020 | infrastructure | serverfault.com | |
1,103,333 | MariaDB 10.8.3 in Docker: can't initialize timers | This error happens even after clearing the Docker image cache: [CODE] 10.8.3 is currently the [CODE] image on Docker Hub. The image tag is [CODE] . This is on 64-bit Ubuntu 18.04. The server has low CPU load, 100+GB of free RAM, and terabytes of free disk space. I have an existing database that was already touched by t... | The solution is to change the MariaDB version to avoid version [CODE] , for example by forcing [CODE] or [CODE] , or to set [CODE] If your Dockerfile or docker-compose are referencing [CODE] or [CODE] in Summer 2022, that's pointing to [CODE] . Contrary to the post by @Arno, the Docker version is not the issue. I am ru... | 6 | 5 | 11,460 | 2022-06-15T11:36:30.713 | pipeline_ops | serverfault.com | |
144,429 | Why some rows are missing in my recursive CTE? | These are my 2 tables [CODE] and [CODE] : [CODE] With [CODE] = [CODE] For the below CTE query: [CODE] I am getting this result: [CODE] Rows [CODE] and [CODE] are missing from [CODE] . Where is my mistake? | If we slice your query, the first cte ( [CODE] ) returns this: [CODE] The first [CODE] ([root]) in the second cte ( [CODE] ) returns this: [CODE] This is indeed the only row with [CODE] . The recursive CTE starts with this single value and goes all the way down the hierarchy until there is no match anymore. From this, ... | 3 | 6 | 470 | 2016-07-20T11:42:02.580 | warehouse_errors | dba.stackexchange.com | |
101,679 | Mysql Cluster Ndb Restore Foreign key constraint violated | I am trying to restore mysql cluster backup on slave cluster. When i run ndb_restore command it gives me following error: [CODE] How can i skip foreign key errors ? | With any more complex data it is almost impossible to restore data in MySQL Cluster in one step. Usually one needs two steps: [CODE] First step has to be run on all nodes of the cluster. Second step though - just on one node which will rebuild all the indexes. For foreign keys you can try to split first step into two: ... | 1 | 0 | 444 | 2015-05-16T09:53:33.707 | database_errors | dba.stackexchange.com | |
697,281 | how to check name servers are pointing to my server IP | I have an application in node.js on a VPS(Cent OS 6.6) and I have set the port to 80. the problem I'm having is that the zone I have created in my DNS server doesn't work. I have created the name servers and added them to my domain, but still my domain doesn't point to the IP. so my question is, how to check if My name... | The best way to check nameservers is to dig it or ping it. You will have to just fire following commands from terminal. dig n1.yournameservers.com ping n1.yournameservers.com Result of above commands should show your IP address. Currently your website is using nameservers of cloudflare: clark.ns.cloudflare.com. ['173.2... | -2 | 0 | 2,231 | 2015-06-08T04:52:13.527 | infrastructure | serverfault.com | |
1,053,172 | How can I grant rights to update ServicePrincipalName when I can't see that option in the list? | I'll happily close this if its a dumb question. I am trying to grant rights to SELF on an AD service (user) account for a MSSQL Server instance account. Problem is I cannot see the check box for Read ServicePrincipalName / Write ServicePrincipalName based on multiple sources that suggest I need to add that ACE to the a... | This will happen if you are attempting to set these permissions via Active Directory Users & Computer (dsa.msc). You need to be doing this via ADSI Edit (adsiedit.msc). Editing the security that way will allow you to see the appropriate options. This is reinforced on dbamohsin.wordpress.com On a Domain Controller, run ... | 2 | 1 | 3,383 | 2021-02-10T21:07:48.730 | database_errors | serverfault.com | |
812,828 | cfgadm hangs when attempting to attach SCSI device | I'm trying to hot plug a EXB-8900 tape drive into Solaris 10 and having issues. Here's the process I follow. Please note this has worked: [CODE] yes at the first prompt to suspend SCSI activity on the c4 HBA. Next I connect and power on the device then input yes to the second prompt to complete the operation. At this p... | I would never try to hot-plug a SCSI device. Different HBAs react differently but you will always get a scsi-reset which doesn't guarantee it will correctly (re)discover a new device. Do it properly by plugging it and rebooting to single user mode. The HBA POST will show you if it has seen the drive, and you can always... | 0 | 1 | 363 | 2016-11-02T20:35:57.530 | infrastructure | serverfault.com | |
150,493 | Generate lower case tag names with Oracle DBMS_XMLGEN? | I am generating XML in Oracle PL/SQL with the DBMS_XMLGEN package: [CODE] My problem is that whatever I do I always get the tag names in upper case. To maintain compatibility with things further downstream, I need them to be in lower case. Is there any way I can fix this? I know there is an option for this in DBMS_XMLQ... | According to ORACLE-BASE, Where possible DBMS_XMLGEN should be used as it is more efficient than using the Java based DBMS_XMLQUERY And: The example below is a copy of the previous code with all references to DBMS_XMLQUERY replaced by references to DBMS_XMLGEN. Note that two of the lines have been commented out as this... | 4 | 3 | 920 | 2016-09-23T11:41:33.597 | database_errors | dba.stackexchange.com | |
240,199 | pg_dump does not return schema for repmgr objects | While trying to browse [CODE] , I noticed it has many tens of millions of records. Wanting to get a peak at the indexes that (may or may not) already exist on the table, I try a quickie [CODE] ... [CODE] ...which frustratingly returns only the boilerplate header/footer info... [CODE] ...well darnit! Did I typo somethin... | Beginning with repmgr 5.2 , the metadata tables associated with the repmgr extension (repmgr.nodes, repmgr.events and repmgr.monitoring_history) have been marked as dumpable. This answer found in FAQ: How can I exclude repmgr metadata from pg_dump output? | 1 | 2 | 294 | 2019-06-10T14:45:45.087 | warehouse_errors | dba.stackexchange.com | |
163,464 | Can CPU / memory influence restore performance | I want to restore a database and it takes minutes. I am using a virtual machine with 4 CPUs and 16GB of memory and I want to know if there is any relation between the CPU/Memory to the restore DB process? For example: if I increase CPUs to 16 and memory to 48GB, should it be faster? | Can CPU / memory influence restore performance Restoring involves bringing data pages into memory so yes memory can be a factor but cannot be a show stopper. Things which really can affect backup performance are the drives on which data file and backup resides and the network connectivity. Ofcourse you will see faster ... | 5 | 2 | 1,310 | 2017-02-07T13:49:13.333 | database_errors | dba.stackexchange.com | |
456,897 | ntvdm.exe is using a lot of CPU | One of my servers is a Windows 2003 Enterprise Edition SP2. Usually there are up to 14 people logged in during all day. They use regular programs like Office 2010 or any internet browsers and a couple of specific software as well (For banking and for their core business developing). Today I've been monitoring the serve... | ntvdm.exe (Virtual DOS Machine) is called whenever a user attempts to load a 16-bit (Win16) image. The 16-bit MS-DOS application is emulated within ntvdm.exe, which is why you can't see what the actual application is. The easiest thing to do is find out what user is running an old DOS program and tell them to stop it. ... | 0 | 2 | 5,049 | 2012-12-10T23:20:46.090 | pipeline_ops | serverfault.com | |
731,438 | Spoofing a duplicate MAC address on an interface not connecting to the network where the original MAC is | I'm trying to run a PHP project on a test server. The project uses an internal framework that has been modified so it will only run on the production server by checking the MAC address in [CODE] , and encoded with ioncube, (I have no access to the original source files, so I cannot modify the framework in any way, i on... | Yes, some conflict could happend even if you forget disable eth0 or keep some ip on it. Because arp reply could go to another network. See http://linux-ip.net/html/ether-arp.html For clean solution, enable arp_filter to prevent this on both server. [CODE] | 0 | 0 | 703 | 2015-10-24T19:50:03.677 | data_quality | serverfault.com | |
224,495 | How to optimize a table for a very high-frequency updates? | I have a table that contains a list of tasks that need to be run periodically: [CODE] Every time a task is selected to be executed, we update the value of [CODE] . The following query is used to schedule new tasks: [CODE] [CODE] query is being run at approximately 600/ minute rate. The problems start to occur after abo... | The setting [CODE] was added in Postgres 9.6 for cases like this. A long-open query will not be allowed to hold back the vacuum indefinitely. If the query never needs data that might have been vacuumed away, it will complete as normal. If finds it does need such data, it will throw an error. And if it is part of a forg... | 5 | 4 | 3,087 | 2018-12-09T11:06:42.590 | warehouse_errors | dba.stackexchange.com | |
366,412 | Requiring client certificate issued by a specific intermediate CA in Apache | I have a CA hierarchy like this: Root-CA ________|_____________ | | TEST-CA PRODUCTION-CA _____|_____ ____|____ | | | | TEST-SRV TEST-CLI PROD-SRV PROD-CLI From the perspective of the production server identified by the PROD-SRV server certificate, how would I setup Apache mod_ssl to require the PROD-CLI client certifi... | Look into the SSLRequire directive - the following rule should look at the Issuer field (i.e. the CA certificate) of the certificate presented, pick out the CN, and match it against the name of your PRODUCTION-CA certificate. [CODE] | 4 | 2 | 3,136 | 2012-03-05T10:55:45.053 | infrastructure | serverfault.com | |
490,294 | Domain Controller not updating from WSUS server | I have just inherited some existing issues in my new Sys Admin position, as i have never used WSUS before i thought i would ask you fine people for some input! All servers are 2008R2, 2 physical servers running Hyper-V and these run 8 Virtual machines, each physical has one domain controller on it. One of the virtual d... | Probably easier to start with a few standard things first, and then maybe rebuilding the Wnidows Update component, rather than rebuilding the DC totally (although this is a valid way of solving the problem, and probably not that much effort) I would try running from an elevated command-prompt, the command 'wuauclt /det... | 0 | 1 | 5,896 | 2013-03-22T00:31:12.773 | infrastructure | serverfault.com | |
735,105 | Extremely slow when executing multiple individual MySQL queries | I've been noticing a performance issue in one of my servers running Apache/PHP/MySQL. So I decided to investigate and test it against other servers. What did I do? In three different servers, I created a database ( db_sandbox ), with a single innodb table ( table_sandbox ), with 4 columns ( id (int), title (varchar 255... | If I read and understand well your question you are comparing those results you obtain in a Windows VM running on ESXi with server2 and 3 that run their OSes on bare metal. As long as HW stays similar, there is no chance you will see better performance on the VM. Bare metal db server will always be faster. More write t... | 2 | 1 | 2,268 | 2015-11-09T23:27:13.180 | database_errors | serverfault.com | |
617,842 | Postfix: sender-dependent-relay and mail for host | I'd like to extend my configuration of postfix to be able to receive mail for my domian. Currently, I've set up postfix as a smarthost which accepts mail after authentication and forwards it, dependent on the sender, to different servers (like gmail). That works well so far. I'd like to extend the configuration such th... | Because you've set [CODE] in [CODE] , then you can put permit_auth_destination in your restricition. [CODE] As NickW say, [CODE] was redundant. You can delete that line. | 1 | 1 | 2,200 | 2014-08-04T16:43:55.100 | api_errors | serverfault.com | |
733,066 | how to config apache namevirtualhost with different domain and different port | i config the httpd.conf [CODE] the service works well,but the domain sub2.domain.com:8801 can also access the first site,i do not want this. how can i fix? thank you. | Put them on the same port (e.g. 8801). Apache will do its best to match a vhost based on IP address (* in this case), port and lastly, if it needs to, based on name. It also defaults to nearest config if it can't find a match. So when you look for sub2.domain.com:8801 it can't find an exact match based on on three crit... | 0 | 0 | 51 | 2015-11-01T04:43:51.107 | infrastructure | serverfault.com | |
793,383 | Logon as a Service overwritten by Default Domain Policy | First things first: Some months ago I was installing a WSUS Server on a W2k12 R2 in a domain environment and the installation was failing because a service wasn't able to logon after the Post-Installation routine. After a bit of troubleshooting and searching I found a solution on the internet where it said that I shoul... | I know it's an old question, but the last answer/comments are wrong (at least for Windows 7 and Server 2012). I applied a 'User Rights Assignment' to 'Log on as a Service' on the domain GPO, and noticed that the local policy does not merge with the domain policy. So on the local computer 'NT SERVICE\ALL SERVICES' was r... | 1 | 2 | 13,467 | 2016-08-02T14:11:55.607 | database_errors | serverfault.com | |
1,130,112 | NTLM Authentication Failing once Domain Controller was upgraded to Windows Server 2016 | NTLM Authentication Failing once Domain Controller was upgraded to Windows Server 2016. Application server is running Server 2012 R2. We have one domain controller left on 2012, NTLM works fine on that controller. When I switch to one of the 2016 servers, it fails. It seems that this may be the issue: https://learn.mic... | It's pretty hard to answer accurately to your question as we do not have a complete insight of your network. This being said, since you are having problems with NTLM, it sounds like a good opportunity to jump over Kerberos, unless you need NTLM for backwards compatibility. If you absolutely need NTLM to work, I suggest... | -1 | 1 | 767 | 2023-05-01T16:14:09.877 | api_errors | serverfault.com | |
274,094 | Automated failover strategy for master-slave Mysql replication - why would this not work? | I'd like some feedback about this failover strategy for a couple of MySQL servers I'm speccing up for a cluster, and I want to check if there's something obvious I'm not missing here. One app server that connects to a mysql master server in day to day operations, and that has a mysql-server set up as a slave to it for ... | The reason automatic failover is not conducive has to do with replication lag. If the slave happens to be behind and failover occurs, you may be writing updates with keys that do not exist yet because the inserts from the master has not been written yet. The more replication lag, the more this is a problem. At my compa... | 4 | 2 | 9,620 | 2011-05-26T14:43:57.163 | database_errors | serverfault.com | |
675,293 | SQL Server 2008 Restored Database allows differential backup when no full exists | I restored a backup file (it's used as a template for new databases) as a new database. Normally as part of this process, I take a full backup after the restore, but this time I was called away on another issue before I could do that and in the meantime, my regularly scheduled differential backup job ran. It successful... | It may seem counter-intuitive, but it's counting the full you restored it from as the last full backup. This is a really good diagram to show what I'm talking about. I got that image from this article on restore chains and not breaking them , and the rest of the article is also really good. (In short: Copy only is your... | 4 | 5 | 269 | 2015-03-13T14:55:39.717 | database_errors | serverfault.com | |
33,928 | error altering database collation | Due to a database-restore, collation has been changed. If I try to [CODE] I get an error, that no exclusive lock to database to fulfil this operation can be gotten. Since sql-server is part of a virtual-machine, I'm quite sure, that no* one * has any database-access at this time but me. I thing that one ore few process... | Assuming that you have full control over the database and can kick everyone out/close all existing process that are connecting to that database, you can use the following statement to force the database into single user mode with you as the only connection, then make your change, then switch it back to multi user. The ... | 2 | 2 | 1,513 | 2013-01-31T21:16:43.253 | database_errors | dba.stackexchange.com | |
743,446 | Migrating from .local to internet-routable domain ramifications? | I've recently come to realize that having our domain end in .local is going to prevent us from being able to set up DirSync with Office 365. I plan to use Microsoft's IdFix tool to correct issues with our AD as well as migrate our domain to something like ad.example.com. I will make sure the NETBIOS and UPN to be consi... | Depending on what services you have running (Exchange, etc), forest functional level, domain functional level, etc you may be able to use Microsoft's Domain Rename tool which includes a good list of conditions and effects. Regardless of the method mentioned, there is a chance users may end up unable to log into their P... | 0 | 0 | 2,865 | 2015-12-16T14:50:53.467 | infrastructure | serverfault.com | |
269,387 | how to force grub to boot (no human input) regardless previous booting failure | When previous boot was failed. (because of power failure, hardware failure) booting will hang at the grub menu for human prompt. Can you set option to force boot up no matter what happened? | Ok I found solution myself via shlug mail list. what you do is to modify the /etc/grub.d/00_header and find: [CODE] change timeout = -1 to 0. -1 means manual selection. also remember to [CODE] afterward, to generate the actual grub.cfg | 5 | 7 | 8,845 | 2011-05-13T07:53:45.460 | infrastructure | serverfault.com | |
848,711 | SPF with -all includes directive with ~all? | I want to update and simplify the SPF record of my domain. Unfortunately, http://www.openspf.org/SPF_Record_Syntax is unclear. My domain uses one MX relay for receiving and sending. The SPF rule is then as simple as this [CODE] . This will forbid sending mails from any other sources. The problem I have is that one user... | The [CODE] mechanism in SPF is a bit of a misnomer in that it does not actually include the referenced record's contents into the main record. Instead the referenced record is evaluated separately and its [CODE] / [CODE] result is reinterpreted as the [CODE] being a [CODE] or a [CODE] (no longer [CODE] / [CODE] !). (Se... | 5 | 6 | 1,415 | 2017-05-07T13:42:46.827 | infrastructure | serverfault.com | |
167,935 | VLAN help on ESX 4/vSphere | I setup a new VLAN with ID 153 in vSphere for my ESX4 server. The VLAN is setup for virtual machines and then I added a new NIC to the VM I want to be able to access the VM. The NIC is added to VLAN 153, but yet I am unable to ping the VLAN .1 IP that is setup on our Cisco 3750. The IP is properly setup on the Cisco 37... | Make sure that you have an active dot1q trunk to your 3750 and that the vlan is not being pruned off, either on the server or the switch. Also ensure that your vlan is up/up and that the switch can ping its own .1 interface. | 1 | 0 | 378 | 2010-08-06T19:33:44.983 | infrastructure | serverfault.com | |
1,098,678 | Why does Duplicity allow a new symmetric passphrase on incremental backups? | I am new to Duplicity and trying to test it as a new backup tool. However, I have found that it permits incremental backups with new symmetric passphrases which then causes the backup to be unrecoverable. For instance, this is my test script: [CODE] Trying to run the verify line causes this result: [CODE] I would have ... | This problem affected me, and with real data. I believe this is fixed in the most recent versions; see the gitlab posts linked to below. But I note that, as of mid-November 2022, if I just install on Ubuntu 22.04 via apt install, it does not get the most recent version, so you may have to go elsewhere to get the most r... | 2 | 1 | 160 | 2022-04-15T10:35:53.327 | database_errors | serverfault.com | |
757,843 | Windows Server 2012 R2 (Hyper-V VMs) - random BSOD | I have a problem. My VMs (Hyper-V) - Windows Server 2012 R2 restart themselves quite often (BSOD: CRITICAL_STRUCTURE_CORRUPTION (109)). Last time it was 11x over weekend. I have new HW, 2x Supermicro server. I installed Windows Server 2012 R2 and Hyper‑V role on both servers (+ drivers from Supermicro website are insta... | Setting " Package C State Limit - C0/C1 State " causes BSODs (as well as setting Power Technology - [Disable] ). Because I can't set "C0/C1 State", I choosed "C2 state" which is working without problems. In a nutshell: The higher Package C State Limit you chose, the more energy efficient CPU would be (by stopping clock... | 3 | 1 | 10,239 | 2016-02-17T14:48:27.527 | data_quality | serverfault.com | |
875,266 | How to share session IDs among distributed nginx deployments? | I need to deploy a handful of nginx (with docker). These instances need to share a in memory pool of session IDs so that TLS resumption can take place regardless which instance client connects to. Session tickets with shared key rotation would be great as well. Ideal answer: docker compose file with nginx and memcache/... | It’s available as 3rd-party modules and Lua code as part of OpenResty https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/ssl/session.md | 1 | 0 | 1,100 | 2017-09-24T17:35:25.860 | pipeline_ops | serverfault.com | |
217,897 | Set up Glassfish connection pool to talk to a database on a Ubuntu VPS | On my Ubuntu VPS, i have a mysql server running and a Glassfish 3.0.1 Application Server running. And I am having a hard to have my GF successfully ping the database. Here is my GF set up Assume: [CODE] is the ip of my VPS [CODE] Inside my [CODE] , I have my [CODE] Inside the database, table [CODE] here is the result o... | Your database is binding on 127.0.0.1. just change, in my.cnf, bind-interface to: x.y.z.t and it will work. | 0 | 0 | 1,018 | 2011-01-02T05:40:13.790 | database_errors | serverfault.com | |
292,013 | Failed to run Tarantool replication | I'm trying to reproduce the tarantool master-replication from documentation so I made [CODE] , [CODE] , [CODE] , cd for each directory and run it, but it shows something like this (for 10+ minutes, no progress): [CODE] the code are here: [CODE] [CODE] [CODE] [CODE] [CODE] [CODE] What's wrong with it? | Nevermind, my bad, first replication line should be the master, so it should be something like this: [CODE] | 1 | 1 | 63 | 2021-05-21T14:23:25.597 | database_errors | dba.stackexchange.com | |
204,963 | Conditional Connection in SSIS based on Availability Group status | I'm working on an SSIS package that will refresh dev databases from production backups. The package has been in place for years, but we're deploying Availability Groups on the dev instance, so the tasks have to be changed to work with both the primary and secondary replicas. Background: All instances are SQL Server 201... | Let's assume that you have an availability group with only one secondary replica (you could easily expand this sample for more replicas) 1. Connections You will need 3 connections: AG listener (to run the query that will return which server is holding the primary an secondary) Primary (to be parameterized with the prim... | 7 | 9 | 1,686 | 2018-04-25T20:19:10.587 | database_errors | dba.stackexchange.com | |
175,934 | What's the best way to use requestAnimationFrame and fixed frame rates | I recently got into using the HTML5- [CODE] -API a lot on animation-heavy websites, especially after seeing the Jank Busters talk. This seems to work pretty well and really improve performance in many cases. Yet one question still persists for me: When wanting to use an animation that is NOT entirely calculated (think ... | Your animation should be calculated even if that calculation is entirely a function of time. And at any given time you should be able to [CODE] an [animated] image and know that you're getting the right frame. You want something like this, but not necessarily this : [CODE] ... Or whatever. | 4 | 2 | 4,851 | 2012-11-15T10:02:59.027 | api_errors | softwareengineering.stackexchange.com | |
442,108 | Sudoers file permissions | I'm trying to run the following command without the need for sudo: [CODE] The $hd variable changes dynamically from sdb -> sdi for each one of my HDD's in my drive bay. I added the following line to the sudoers file: [CODE] But this didn't make a difference its still asking for sudo password even if I run: [CODE] | The [CODE] line can only point to the command you're intended to run, not the destination output file. Anything under that [CODE] is a special device that characters are written to. What you want to do is create a script that will do [CODE] where $hd is checked to match the regular expression [CODE] . Point the sudo co... | 0 | 4 | 399 | 2012-10-24T14:01:44.620 | infrastructure | serverfault.com | |
84,460 | Changing metadata changes query output issue | Recently stumbled across the following problem: changing metadata changes query output. Here is how to get it. [CODE] The following query always returns ‘This is the end’ (error always raised). Also the filter should be some sort of a random generator. [CODE] Now add primary key constraint. Note: no data changes. [CODE... | Is this behaviour correct? It is intentional (by design) behaviour; whether it is 'correct' or not is more a matter of opinion. The general point is: SQL Server does not guarantee the timing or number of evaluations of expressions . This behaviour exists to give the query optimizer the freedom it needs to find good exe... | 4 | 5 | 206 | 2014-12-05T16:55:27.383 | data_quality | dba.stackexchange.com | |
641,472 | Backplane of a switch | How to practically find the back plane capacity of any Ethernet switch ? Also how to calculate the maximum TX and Rx load on trunk port of switch . And calculation of memory and processor utilization at peak time. | For the first part: Read the docs / tech specs. For the second part: Why? | -5 | 2 | 149 | 2014-11-02T18:14:57.687 | infrastructure | serverfault.com | |
307,000 | Does innodb_buffer_pool_size setting affect update queries? | I have a huge database(16GB) to which I wish to add a new column based on an existing column. The existing column looks like this:- [CODE] I wish to create a new column by doing : [CODE] This new column looks like this: [CODE] My query is: Will increasing the innodb_buffer_pool_size make this and similar queries run fa... | Possibly. 128M is an old, too-small, default value for that setting. Change to about 70% of available memory, which might be: [CODE] Because it is a "cache", a bigger value will cut down on I/O, which is a big part of any big query on a big table. [CODE] a 16GB table will be quite slow, but for another reason. The syst... | 0 | 1 | 939 | 2022-02-04T07:44:04.843 | database_errors | dba.stackexchange.com | |
374,643 | Nginx dynamic upstream configuration / routing | I was experimenting with dynamic upstream configuration for nginx and cant find any good solution to implement upstream configuration from third-party source like redis or mysql. The idea behind it is to have a single file configuration in primary server and proxy requests to various app servers based on environment co... | Here is exactly as Michael Hampton referenced - implementing dynamic upstream using Lua http://sosedoff.com/2012/06/11/dynamic-nginx-upstreams-with-lua-and-redis.html | 5 | 0 | 10,395 | 2012-03-29T00:21:08.020 | pipeline_ops | serverfault.com | |
11,981 | Jenkins - docker login doesn't seem to persist: docker pull won't work but docker-compose can pull without problems | I am setting up a new Jenkins as our old one is based on a deprecated base image. Dockerfile is: [CODE] When I [CODE] into the container and log into our Sonatype Nexus to pull Docker images from it, the successful login does not seem to be heeded by Jenkins afterwards: [CODE] Login has succeeded, the auth credentials ... | I was able to produce a correct behaviour starting from [CODE] base image and installing Docker only (no Jenkins yet) via the steps provided in the official Docker docu: https://docs.docker.com/engine/install/centos/ Seen here: [CODE] While I still have the faulty behaviour when I install docker via [CODE] . So it's pr... | 1 | 1 | 2,374 | 2020-07-09T12:03:49.937 | pipeline_ops | devops.stackexchange.com | |
156,549 | PHP - Internal APIs/Libraries - What makes sense? | I've been having a discussion lately with some colleagues about the best way to approach a new project, and thought it'd be interesting to get some external thoughts thrown into the mix. Basically, we're redeveloping a fairly large site (written in PHP) and have differing opinions on how the platform should be setup. R... | Your approach looks like the way to go. A single HTTP API isn't that simple if you need to be making http requests all the time. Features like "good documentation" and ORM will be a necessity when the project becomes larger. | 6 | 3 | 2,192 | 2012-07-12T13:15:48.250 | api_errors | softwareengineering.stackexchange.com | |
368,021 | Is "too many parameters" a visual or a logical issue? | according to Are there guidelines on how many parameters a function should accept? , a method should not have too many parameters. However, some answers suggest this issue can be solved by builder pattern: [CODE] or encapsulate parameters in a single object. [CODE] But I doubt if it solves the problem, because I think ... | It is first and foremost a logical issue (which often comes with visual issues, too). The wrong solution to this is by trying only to improve the visual problem by encapsulate parameters in a single object [...] just align the parameters at better way (i.e.:from horizontally to vertically) Encapsulating parameters in a... | 9 | 25 | 3,575 | 2018-03-21T06:19:33.887 | api_errors | softwareengineering.stackexchange.com | |
529,213 | SMTP Server 550 Access denied - Invalid HELO name | A bank we're working together is trying to send us an auto generated email to our company's email but it keeps bouncing off with the following SMPT error: Status: 5.5.0 Diagnostic-Code: smtp;550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1) Since I'm also not a sysadmin of my company, I can't tell if the prob... | according to the error message the sending server doesn't use a fully qualified domain name in the smtp HELO, so for example instead of heloing with "servername.example.com" it maybe just helos with "servername" (check your server log for the actual values) This behaviour is blocked by many receiving MTAs. The sender s... | 6 | 8 | 39,161 | 2013-08-07T04:49:30.990 | infrastructure | serverfault.com | |
732,767 | A Record causes DNS issues | We have two networks, able to talk via routes and DNS transfers. lets call DomainA.local and DomainB.local DomainB.Local has a sever called FileServer (FQDN FileServer.DomainB.local) In both Domains A and B we have Zones setup(DNS servers exchanging records between both domains), however because of an applicaton in Dom... | As we had a External trust in place between the two domains, it turned out that although users from Domain A could access files on Domain B, we ended up repairing\validating the trust, and bingo! it all worked! Hope this helps anyone else out with such a strange behaviour! | 0 | 0 | 59 | 2015-10-30T12:55:50.120 | infrastructure | serverfault.com | |
282,023 | Design patterns for navigation between pages on mobile platforms | I'd like to ask you about the best way of handling navigation between pages/activities on mobile platforms. To be more specific - about handling state in more complex apps, about handling 'Back' actions, etc... At the beginning it's worth to mention that I'm looking for a solution which will fit to MVVM approach (Windo... | Include crucially required state information as url parameters/cookie-as-last-resort (assuming you probably loose the querystring portion of a request in some cases). Much like you may have a controller/action url portion to your MVC/VM setup, you can include id i.e. http://wherever/area/process/stage/essential_param1/... | 6 | 1 | 470 | 2015-05-05T19:27:21.610 | pipeline_ops | softwareengineering.stackexchange.com | |
992,719 | Nextcloud Snap - Vulnerability issue | My company needs a self-hosted file sharing solution and after browsing the web, I've decided to go with Nextcloud. To test it, I've used snap to install it on a Debian 9 server. Everything works like a charm and that's what my company is looking for as a solution. However, my colleague pointed out to me that every nex... | This seems to be less of an issue with understanding how Nextcloud works, it's more about snaps in general. Snaps provide their own filesystem and environment, they are not permitted to write on the host system, but they can read from it. You can think of them kind of like docker images but they are still part of the h... | 0 | 0 | 188 | 2019-11-21T10:54:17.520 | database_errors | serverfault.com | |
796,921 | linux can't delete users profile | I have tried to delete none active users from the server, when I ran: [CODE] delete the user but not a home directory, and got this error: cannot remove ‘olduser/.bash_history’: Operation not permitted I have tried to remove manually as root: [CODE] I got the same not permitted. What else I can try to remove this user ... | after few search. I did [CODE] and return ----a-------e-- .bash_history so, I have run [CODE] after that I am able to delete .bash_history | 2 | 2 | 308 | 2016-08-15T16:01:19.467 | infrastructure | serverfault.com | |
590,186 | Nginx only handing domains properly | On my server, all requests to mydomain.com and www.mydomain.com go to my server's IP address correctly and the content is displayed accurately. However, if you go directly to the server's IP, the "Welcome to nginx!" default page is shown. I want requests directly to the server's IP to show the proper content. My server... | Your configuration for [CODE] and [CODE] is fine. What happens is that there is another "default" [CODE] defined in [CODE] (probably in main [CODE] configuration file) which responds to requests by IP. You need to remove that catch-all server configuration. | 1 | 2 | 84 | 2014-04-20T09:28:52.733 | infrastructure | serverfault.com | |
8,841 | How do you manage servers in a different town | We have servers in two different locations in our town. We connect to them through ssh to do almost everything that we need. But whenever we need to re install a server, we need to drive to the hosting location to do it. This works well for now, but we are planning on getting a third location in a different city. Drivi... | You mention you use Dell servers. Dell offers an option in some servers to add a module to the system that you can basically remotely connect too and see the console. Anyway if the you already have equipment that doesn't support this you should look at getting an IP-based KVM, and manageable power strip. This way you'l... | 6 | 8 | 1,111 | 2009-05-16T02:38:54.347 | infrastructure | serverfault.com | |
299,888 | postgresql deadlocks: SELECT blocked and blocking query | Based on the 2nd answer on https://stackoverflow.com/questions/22775150/how-to-simulate-deadlock-in-postgresql I performed the following snippet: [CODE] Now, following the guidelines on https://wiki.postgresql.org/wiki/Lock_Monitoring I performed [CODE] , expecting to see the correct values for the columns [CODE] and [... | Whatever client you are using to send your queries to the database decides to send "SHOW search_path" whenever it is bored. How shall I correct the above query? Stop using that client. | 0 | 1 | 4,188 | 2021-09-20T18:57:56.950 | pipeline_ops | dba.stackexchange.com | |
641,544 | Slow connection to Azure Sql Server | I'm moving from a Rackspace Cloud platform to Azure but I'm having some real performance issues. It seems like everything is a little but slower but especially database interaction. I've done some load testing with all the different Scale options for both the CPU and the Sql Database and they only get comparable to the... | Try the legacy Web or Business tiers that are going to be retired next year instead of using the new tiers as recommended since the new tiers have performance problems. You can change over by going to the database dashboard on the Azure portal can changing the setting on the Scaling tab. In our case for example, a quer... | 3 | 1 | 5,608 | 2014-11-03T06:01:56.067 | database_errors | serverfault.com | |
441,540 | Megaraid Firmware fault | After building a new server (IBM X3550). Getting error Firmware is in Fault state: MFI register state 0xF0FF2102. -- For this one could not get any help in google. And on the BIOS system setting getting the message: Driver Health Protocol: Missing configuration requires changes setting F1. -- now for this error I went ... | It turned out to be Hardware problem. The Cache attached to the controller was faulty. After replacing the DIMM it issue got resolved. | 0 | 1 | 8,060 | 2012-10-23T21:07:17.543 | infrastructure | serverfault.com | |
11,365 | Add permissions to readers (DevOps Web Portal) | I have a public Azure DevOps project, and I want to allow everyone to add Work Items. However, adding the Readers group as a member of Contributors for the permissions doesn't change anything, and I can't find "Add Work Items" but only the "Delete Work Items" toggle for changing its own Readers perms so I am really stu... | Usually each projects would have teams defined with the team members. So if you have a team defined then add the team to the contributors list. | 0 | 1 | 78 | 2020-04-16T18:09:13.650 | pipeline_ops | devops.stackexchange.com | |
136,380 | Error during Oracle database 12c Release 1 installation | I am trying to install Oracle database 12c on Oracle Linux 7 version. But it is keep on failing with the below error. [INS-30131] Initial setup required for the execution of installer validations failed. CAUSE: Failed to access the temporary location. ACTION: Ensure that the current user has required permissions to acc... | I tried creating /tmp which was not existing as a separate file system and kept 4gb of space. But the issue did not get resolved. I try to keep my temporary file in a different place where the space available around 20gb. Still issue did not get resolved. Finally I had to run the below command which resolved the issue.... | 2 | 4 | 19,469 | 2016-04-24T16:36:43.107 | database_errors | dba.stackexchange.com | |
205,043 | Windows share: The specified network name is no longer available | We've got an EMC NX4 SAN box serving a CIFS share to a number of Windows Server 2008 R2 app servers. The app servers are using the CIFS share to serve lots of image files (~2500 ops/sec on the share), however neither the SAN nor the app servers are showing any obvious signs of stress. Once in a while an app server will... | This sounds like it's the MaxCmds have run out. Here are two good articles about that: here and here . Here's now to change it. Create a file called update.reg and place the following in it: [CODE] Save and then double click and accept the prompt. A reboot is required. | 8 | 6 | 55,831 | 2010-11-23T08:26:55.983 | database_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.