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 |
|---|---|---|---|---|---|---|---|---|---|---|
823,688 | Someone posting to /wp-login.php every 2 minutes. Is it commonly happens? | When I check my nginx access.log there are requests (GET request followed by POST) every two minutes on /wp-login.php. Then I log those POST requests (changing login page to empty page and save POST requests to file). The request contains login credentials, with correct username and wrong password. Those requests didn'... | As those in the comments have stated, it is common. Likely those ips originate from the Western countries. Most of these insophisticated brute force attacks can be credited to bots or a botnet simply automated for trying known user names like admin, root, guest and their counterpart passwords. A few methods you can imp... | 3 | 2 | 3,178 | 2017-01-02T11:12:38.807 | infrastructure | serverfault.com | |
721,250 | Finding google unusual traffic | We are a small Internet provider. In order to get Internet access we are using NAT (10-20 users per one public IP). And lately we've met with Google blocking services (captcha and full block) and we were unable to find a proper solution for our users. Unfortunately we couldn't find any official recommendations and inst... | By personal experience this is an issue concerning too many (legitimate or not) requests coming from one single IP. This also happens to tor exit nodes. Go single address (i know, unlikely) or even better start providing proper IPv6 connectivity and the problems for the legitimate users will go away. | 4 | 0 | 846 | 2015-09-09T16:48:42.627 | infrastructure | serverfault.com | |
234,434 | SQL update query with join and subquery | I am trying to update the values of a column to the results of a sub query. I get the error that the sub query is returning more that one row, which it should. It should be returning a column of values. [CODE] The sub query runs fine by itself. [CODE] | This seems to work: [CODE] | 0 | 1 | 4,088 | 2019-04-10T11:03:05.157 | warehouse_errors | dba.stackexchange.com | |
967,106 | Why SSL does not work between my 2 servers? | I have 2 servers with Ubuntu 18.04: monitoring.example.com (with ELK on a single server) www.example.com (with Filebeat) on the server ELK Create directories to store SSL certificates [CODE] Generate SSL Certificates [CODE] Change the owner [CODE] Send the SSL certificate to the client server [CODE] on the server clien... | You are missing the SAN record in the certificate. Generate certificate again with the following commands: [CODE] [CODE] [CODE] I have added [CODE] above, but you could remove that if you wish Test the generated certificate: [CODE] There should be the following data: [CODE] Also ensure to remove comments there: [CODE] | 1 | 1 | 1,148 | 2019-05-13T21:21:14.143 | api_errors | serverfault.com | |
907,457 | VARIABLE IS NOT DEFINED ! response from API Call in Ansible | The following is my playbook containing a Rest Call [CODE] And this is my response [CODE] Can anybody find why I'm not getting a proper response? And btw, the body just contains an empty payload. The empty.json looks like this [CODE] | Please check documentation for [CODE] module. [CODE] is for variable name, [CODE] is for templated value. So: [CODE] | 0 | 5 | 9,139 | 2018-04-13T06:10:00.200 | pipeline_ops | serverfault.com | |
900,318 | How to use Let's Encrypt with Google HTTPS Load Balancer and managed instance groups? | I'm trying to understand how to use auto-scaling with an HTTPS Regional Load Balancer on Google Cloud. Their documentation recommends having the connection to the backend services (from the proxy) also be HTTPS. This makes me think I need: An instance template that contains an SSL certificate and Nginx configured to re... | You can use self-signed certificates on the VMs. In fact, the self-signed certs I'm using with NGINX on my VMs all expired about 8 months ago. I don't believe the load balancer does any validation on the cert itself--it is just a necessary part of the SSL handshake. You could attempt to generate something in the instan... | 1 | 2 | 1,749 | 2018-03-06T19:57:46.293 | pipeline_ops | serverfault.com | |
884,536 | Turning my Windows Server 2016 into a remote file server | my company purchased a Windows Server 2016 instance with AWS in order to replace our current Windows Server 2008 (which resides in a closet in our office). However it has proven more difficult than expected to replace all the functionality. Our 2008 server essentially has a file drive that all users on the network can ... | You have at least two options: The probably-less-good option: Create a VPN between the firewall protecting your office and your AWS account, so that you can connect to the AWS VM in question via that VPN tunnel. Then it will be like connecting to a file server at a remote site. The almost certainly better option: Resea... | 1 | 1 | 661 | 2017-11-21T19:13:31.637 | infrastructure | serverfault.com | |
20,909 | Optimizing real-time Database table in Microsoft SQL server 2008 | We are using a web interface to monitor our jobs state and its started and completed timestamps. We have >200,000 job instances running on each day for different job run-users. We maintain the state of all jobs executed in last 6months in a database table. Database server used in Microsoft sql server 2008. With the gro... | The best strategy for your case is to properly index the table, update statistics and defrag it. That should solve the problem. There is no inherent limitation on row count in SQL Server. With the right indexes it should not start to become slower. You need to look at your select and update queries and build useful ind... | 3 | 2 | 1,811 | 2012-07-14T12:41:08.700 | database_errors | dba.stackexchange.com | |
917,219 | Postfix doesn't send mails to own domain | I have a problem that my kopano / postfix on ubuntu 18.04 doesn’t send mails to my own domain. My domain is for example: example.com I try to send a mail from admin@example.com to admin2@example.com there comes the following error: [CODE] here is the output of postconf -n [CODE] here is the output of postconf -M [CODE] | I find these errors quite clear: [CODE] The corresponding line in your [CODE] : [CODE] [CODE] (default: [CODE] ) The default mail delivery transport and next-hop destination for final delivery to domains listed with [CODE] . This information can be overruled with the [CODE] table. Specify a string of the form [CODE] wh... | 0 | 2 | 739 | 2018-06-19T06:23:26.310 | infrastructure | serverfault.com | |
418,685 | "Dev to QA handover" process improvement | I would like to get some help or ideas to solve my problems, I just join a small company as junior project manager and I faced with 2 challenges sorry for my ignorance but I am new into the agile world. QA has many tickets in each sprint that appear as “Ready for testing”. Some of them are indeed ready, while others - ... | There are a couple of different problems happening here that may be intertwined. Having a hand-off between a development team and a QA team is generally anti-agile. In order to achieve agility, teams often need to be self-organizing, cross-functional, and highly collaborative. Having a hand-off from a team that designs... | -3 | 4 | 2,539 | 2020-11-04T23:15:42.450 | api_errors | softwareengineering.stackexchange.com | |
329,295 | MultiPath configuration on RHEL5 and Clariion CX-300 | I have problem with discovering my FC-connected CX-300 storage. Frankly speaking I'm complete novice in FibreChannel, so step by step explanation would be appreciated. My configuration consist of two IBM HS20 blades with RHEL5.4 on board and 2x Qlogic ISP2422-based 4Gb Fibre Channel HBAs on each blade. As a FC switch t... | This configuration is not specific to EMC. Get your storage properly presented by your storage admin. You can assist the storage admin by providing the WWPN (like a fiber channel mac address) of each of your fiber channel NICs to him. You can find them by running the following command: [CODE] or [CODE] Rescan your "scs... | 0 | 1 | 4,625 | 2011-11-09T13:39:28.740 | infrastructure | serverfault.com | |
231,930 | Display all fields with null values in a particular row in SQL Server | I have a requirement where I want to fetch and display all the fields with NULL value for a particular row in the table. Some thing like: [CODE] I use SQL Server 2012. Please help achieve this. | SQL as a language allows you to easily dictate which rows to include in output, but not which columns. For this you'll need dynamic SQL (and a consuming app which is equally dynamic). An example, given this table and data: [CODE] One solution: [CODE] Try it with all four combinations. Don't forget to clean up: [CODE] | 0 | 3 | 1,738 | 2019-03-12T14:00:44.300 | database_errors | dba.stackexchange.com | |
1,113,162 | how to exclude folders by date with find? | This is "myfolder": [CODE] my command: [CODE] Problem: i need exclude weekends. How do I do it? PD: I know that in bash/awk it is [CODE] thanks Update Solved! I found the answer in stackoverflow HERE | To filter out the weekends, you could format the name of the folder to a date format [CODE] , which signifies the day of the week (by number). Check out this example: [CODE] | 1 | 1 | 306 | 2022-10-16T00:06:12.453 | infrastructure | serverfault.com | |
348,933 | Explain load averages on Solaris 10 | I understand load averages on Linux, but am a bit mystified by the load averages on a legacy Solaris 10 machine my app runs on. The load averages seem impossibly high. Here's the output. [CODE] I don't see how you can have a load average of 35 on a two-processor system. That seems incredibly high to me. When I view the... | The "load" is normally an average of the first column of [CODE] (column [CODE] , the run queue). The first load is averaged over 1 minute, second over 5 minutes, and the last over 15 minutes. As you can see, in your system vmstat at one point reported no less than 102 threads woken up to use the processor (probably som... | 4 | 1 | 26,984 | 2012-01-11T17:02:46.730 | infrastructure | serverfault.com | |
425,794 | Why do AWS spot-instance prices spike above the "on demand" pricing? | Amazon Pricing on Spot Instance Inconsistencies This is something which will be best explained through screenshots of a historical chart of instance pricings. If you look at a lot of the instance prices for spot instances, you will notice regular patterns of spikes. See here: As you can see, the price for this compute ... | There is a paper by folks from Israel Institute of Technology which analyzes the spot market. Their conclusion is that spot prices are not bid driven but rather generated with AR(1) function. So in such case it wouldn't be due to other's bids, but due to algorithm used. http://www.cs.technion.ac.il/~ladypine/spotprice-... | 11 | 6 | 6,445 | 2012-09-09T23:41:49.393 | infrastructure | serverfault.com | |
219,739 | I/O Performance Benchmarking Linux | Just finished setting up a poor mans SAN with iSCSI and want to benchmark it. What are some good I/O performance benchmarks for Linux besides: [CODE] How do I get a IOPS measurement? Thanks. | I'd recommend using bonnie++ for disk performance testing. It's made specifically for doing that sort of thing. | 6 | 5 | 37,605 | 2011-01-07T08:18:59.767 | infrastructure | serverfault.com | |
38,499 | I am having problems adding domain accounts to local groups | When adding domain accounts to local groups in my newly created domain, the domain account displays the sid next to the same (for example DOMAIN\ACCOUNT (s-1-5-21-XXXXXXX) ) Can someone give me some ideas on how to correct this situation? Additional info: I have noticed that all accounts (local and domain) are showing ... | Are you actually having a problem? Or is it just that you don't want to see the SIDs alongside the usernames. Honestly as long as you're not seeing ONLY a SID it should be ok, and might just be a visual issue. | 1 | 1 | 263 | 2009-07-09T17:55:27.783 | infrastructure | serverfault.com | |
35,984 | Categorizing defects to identify root cause | In my current project, we have a lot of defects :) arising from different areas of the system. I would like to go to each defect and associate what is the root cause for that particular bug. Obviously, this is to understand the common areas a defect is coming from and to invest more where needed. Do you have any sugges... | There are many different ways to get a list of root causes. And root causes vary on the basis of what we want to [CODE] by doing RCA. In my last company, our aim for root cause analysis was to find the origin of the bug (in which phase of SDLC was the defect introduced). So, here are some of the categories that we had:... | 2 | 2 | 8,856 | 2018-10-10T20:32:33.477 | api_errors | sqa.stackexchange.com | |
443,354 | How to propagate parameters through several architectural layers? | Overview I am tasked with designing a system that serves as an Interface between a User and one or more microcontrollers in different Variants. As an example, our Microcontrollers Type 1 are milk frothers. They heat milk to a preset temperature, also they spin a little circular spring to make the milk foamy with varyin... | I think the design smell is here that you are planning to use a huge global object (or component) with mutable state. That is an invitation for all kind of errors and can cause maintenance headache. Instead, I would recommend you pass the request data explicitly from one layer to the next, using local values or immutab... | 5 | 6 | 525 | 2023-01-12T11:40:53.537 | api_errors | softwareengineering.stackexchange.com | |
325,710 | Postfix policyd dual usage setup - greylisting and quotas | On our server we are using policyd 1.x together with Postfix 2.1.5 for greylisting and enforcing incoming quotas from unauthorized users (ie. mail for our domains). For this, I have set up Postfix [CODE] like this: [CODE] and set up a selective greylisting configuration: [CODE] i.e. the SASL authentication overrides po... | It is possible in policyd v2 (cluebringer). You can define rules for each policy (1 policy for incoming email, another policy for outgoing, another for SASL). And then you can assign different policyd components (grelist, SPF, quota) to each policy. http://wiki.policyd.org/documentation | 1 | 1 | 1,252 | 2011-10-28T13:29:53.060 | api_errors | serverfault.com | |
583,389 | Can't configure Nginx on Ubuntu 13.10 to work with Subdomains and main domain name | I am new to Nginx, switched 2 days ago from Apache. With Apache my website had 1 main url (www.example.com & example.com) and 2 subdomains (s1.example.com & s2.example.com). I succeeded to configure Nginx to work with PHP but I have 1 major problem: In the config file, inside a server block I've set [CODE] Underneath i... | Not sure how you have setup your Virual Hosts because you should have provided more of your config file. However something like this should work : [CODE] | 1 | 0 | 173 | 2014-03-20T11:56:01.810 | infrastructure | serverfault.com | |
79,011 | Take ownership of a file that used to be owned by a domain account | I upgraded a PC to Windows 7 (Ultimate x64) from Vista when it was part of a domain. I later removed it from the domain. I now cannot take ownership as an Administrator user of a certain file on my system harddrive. Through properties | security | advanced | owner dialog box it says "Unable to display current owner" an... | Yep as a local admin you can always take ownership of any local file. This sort of problem is usually a corrupt or readonly drive. (as you found) | 0 | 1 | 1,246 | 2009-10-28T08:05:13.643 | infrastructure | serverfault.com | |
1,035,449 | creating user and sshkey with ansible user module | I wanna create some local and remote users and generate ssh keypair for respective users and transfer them to remote server but it seems local user - ansible - which runs ansible-playbook does not have access to /home/USERNAME/.ssh/id_rsa.pub [CODE] I'd appreciate if you let me know the solution. | You can copy the public key directly into your playbook. For example: [CODE] You can also specify multiple keys. [CODE] Note that [CODE] is for Ansible 2.10 and later (see its documentation as it must be installed separately with [CODE] ). Older versions of Ansible will use the now-deprecated [CODE] . | 1 | 2 | 6,539 | 2020-09-26T17:24:17.100 | pipeline_ops | serverfault.com | |
53,194 | Potential problems with expanding training set | The problem is a binary classification one. My dataset contains users with activity over multiple days, where they all start with class 0 and can become class 1 after a certain activity (which is not part of the input features). If I have 1000 class 0 users and 100 class 1 users, I will have 1100 training instances. Wh... | One problem is that you insert correlated data points. Different days from the same user (may) have some underlying correlations that the days from different users don't. These correlations might be relevant for the classification task, and the model might learn them, instead of learning the relevant features. This doe... | 1 | 1 | 52 | 2019-06-04T14:09:54.183 | data_quality | datascience.stackexchange.com | |
265,711 | 64 Availability groups max on SQL STD : Failure when attempting to create a new NetBIOS interface while bringing a resource online | I was patching our DB Servers this morning and encountered a really strange error when failing over some Availability Groups : In our environment, we are running a somewhat unconventional setup, but it works well. We have 85 Databases, running SQL Server Standard, so each DB has its own Availability Group. What we do a... | The Microsoft EnableNetBIOS documentation states: There is a limit of 64 NetBIOS devices in the cluster. You should be able to just ignore this--disabling NetBIOS on clusters is recommended and SQL Server doesn't need it. See Speeding Up Failover Tips-n-Tricks . | 1 | 1 | 95 | 2020-04-23T19:21:46.580 | database_errors | dba.stackexchange.com | |
398,837 | Best practice in synchronized form data validations (Web apps - Client-Server) | Here we go again with topic what was asked many times all over internet, but I not found any good enough answer: What are best practices in making client and server side validations synced? I was not doing it in web apps I was making (I just had duplicated validations), but now when I started with React Native and REST... | Yes!!! This could be a bit annoying. I too find no perfect solution. Now that your have listed all possible options, let me give you my opinion on them: Option 3: "Having just client side validation (I AM JOKING!)" Glad you were only joking :) Option 4: "Let client app download at start some rules/sets from server and ... | 4 | 1 | 2,317 | 2019-09-24T22:09:31.323 | data_quality | softwareengineering.stackexchange.com | |
277,707 | Proper Bash Daemon Script Creation | On Ubuntu, I copied [CODE] skeleton as a new file and made it "all" executable (just like the others in that directory). In it, I made a "foo" that was just another Bash script in [CODE] , but it was special in that it sits in a loop waiting on a named pipe connection from a PHP web page. (More details on that are here... | I think in that situation the shell will be the leader of the process group containing the various commands run by the script. You can kill a process group by sending a signal to the opposite of the PID of the process group: [CODE] | 2 | 1 | 1,636 | 2011-06-07T05:39:27.893 | infrastructure | serverfault.com | |
136,782 | Postgres: set client encoding default | When querying from certain tables, I'll often receive the error: [CODE] Varying bytes, but you get the idea. I can solve this by doing: [CODE] But the (very) annoying thing is, I have to do this client_encoding set every. Single. Time. I open postgres. How do I set this to default? Also, I am not asking how to change t... | You can also set it as a default for any user or role (takes effect after a new connection is established): [CODE] | 4 | 3 | 9,185 | 2016-04-27T20:37:26.320 | warehouse_errors | dba.stackexchange.com | |
37,350 | effective mysql table/index design for 35 million rows+ table, with 200+ corresponding columns (double), any combination of which may be queried | I am looking for advice on table/index design for the following situation: I have a large table (stock price history data, InnoDB, 35 million rows and growing) with a compound primary key (assetid (int),date (date)). in addition to the pricing information, i have 200 double values that need to correspond to each record... | coincidently I am also looking into one of the client support where we designed key-value pair structure for flexibility and currently table is over 1.5B rows and ETL is way too slow. well there are lot of other things in my case but have you thought about that design. you will have one row with all 200 columns present... | 17 | 1 | 4,039 | 2013-03-22T15:12:39.260 | database_errors | dba.stackexchange.com | |
302,510 | ASP.NET app eating memory. Application / Session objects the reason? | So we're stress testing an ASP.NET application developed by an external company. We're doing roughly 50 requests per second, and after about half an hour each of the 48 worker process (w3wp.exe) is up to about 400 MB and counting. Running on IIS7. Now after meddling with dotTrace, I'm fairly certain there is a memory l... | The developers might be right. In the .Net world, garbage collection and freeing memory happens when needed. I.e. if, there's plenty of memory available to the application, it may consume more and more, until the operating system does not allow more allocation. You shouldn't worry about that, unless it really causes pr... | 5 | 2 | 7,395 | 2011-08-18T11:53:55.583 | infrastructure | serverfault.com | |
671,058 | Switching Log4j mode to DEBUG in Weblogic Server | I am using weblogic 10.5 and my application has 4 managed servers, having the below mentioned configuration in weblogic startup script to enable log4j. JAVA_PROPERTIES="${JAVA_PROPERTIES} -Dlog4j.configuration=file:${LOG4J_CONFIG_FILE}" I have given the log4j.properties path to LOG4J_CONFIG_FILE. I brought down the ser... | I would suggest using the console to perform this task. Log into the admin console and choose your managed server, proceed to logging -> Advanced and choose the Debug level of your choice. You could also be specific and choose the Debug tab and pick the one you want. There are many options you could choose from for the... | 0 | 0 | 1,490 | 2015-02-24T17:21:08.393 | infrastructure | serverfault.com | |
10,772 | Why can't I connect to Gitea using ssh via command line? | My computer: Windows 10 Pro 1909 I have a Gitea server running in my office, at local IP address 10.100.10.24, with SSH configured on port 22000. Gitea is configured to use port 3000 for HTTP. I'm able to access the Gitea website through my desktop, which is not the same PC that Gitea is running on, at URL [CODE] Also,... | OK, there seems to be two problems here. SSH hanging after connection It's probably a problem on the client tty due to limitations of MinGW. In the past I've encountered that [CODE] was unable to [CODE] the local [CODE] because the lack of a control device ( [CODE] ). I've used https://github.com/rprichard/winpty at th... | 0 | 1 | 7,406 | 2020-02-11T19:57:38.073 | pipeline_ops | devops.stackexchange.com | |
723,387 | Configuring postfix and dovecot for Secure IMAP and SMTP | I have a clean install of postfix and dovecot-core dovecot-imapd dovecot-lmtpd installed on Debian 8 OS. I want to configure mail to work with PAM but I want to restrict it to users who are part of the [CODE] group so not every linux user has mail access. I'd also like to make sure the following files were configured p... | dovecot/10-auth.conf You should set both PLAIN and LOGIN, your actual configuration looks good. dovecot/10-master.conf That's not necessary to comment the other services, with [CODE] In your dovecot configuration, users will only be able to login if they are connected through ssl. That's a better approach since users m... | 1 | 2 | 4,226 | 2015-09-18T19:17:39.170 | api_errors | serverfault.com | |
291,320 | What exactly is copyrighted, the text of the code itself, or the design? | I am both the sole developer for a relatively small company and someone who enjoys programming as a hobby. Recently, for one of my personal projects, I started making a framework for a RESTful API and NoSQL integration that I enjoyed programming at home. Near the same time, my work assigned me to begin a project for in... | Even if you did not copy code between the two projects - at least not intentionally - if your employer gets to know about the issue, he might impute this to you. And can you be 100% sure you did not copy anything unintentionally? Given someone runs a compare tool on both source codes, can you be sure he will not find p... | 0 | 2 | 684 | 2015-07-30T13:49:56.003 | api_errors | softwareengineering.stackexchange.com | |
257,299 | Does PostgreSQL and other databases have a feature to reset serial/identity values? | I recently started a new personal project. The first thing I do after thinking about it is to construct an install.php script which consists of a series of database calls where it does things like CREATE TABLE to "build the basic foundation". When I felt reasonably confident about the structure, I ran that PHP script. ... | In Postgres you can use [CODE] or [CODE] function to change that "internal counter" without truncating the table. See also http://www.sqlines.com/postgresql/datatypes/serial for examples. In SQL Server you can use [CODE] to see and reset identity value of the table. | 0 | 1 | 1,877 | 2020-01-11T03:03:01.667 | database_errors | dba.stackexchange.com | |
276,919 | Timeout on CPU usage? | Is there any way, in SQL Server, to cause a batch to time out if its CPU usage exceeds some value specified in the batch? I need this to occur at the batch, and not the connection level. | There has been a quick and dirty method in SQL Server for 20 plus years - you set the value of Query governor cost threshold to your arbitrary amount and then if the estimated cost of the execution plan exceeds that the query is rejected - I believe the end user receives some kind of error message but I haven't seen th... | 0 | 1 | 296 | 2020-10-12T14:47:38.733 | database_errors | dba.stackexchange.com | |
242,401 | Compare row value when records are not successive | I have a table wich holds the records for all the products purchases made. What I'm trying to do is to get a list of all the purchases made that contain one specific product to get a price variation history. I also want to display an icon showing if the price increased, decreased or is the same value as the previous re... | As already suggested by Rick James in the comments, if you are working with MySQL 8+, you can make this much easier by using the [CODE] analytic function to return the previous row's price. You can also get the variation using the [CODE] function instead of the [CODE] expression, as demonstrated in the following query:... | 2 | 2 | 276 | 2019-07-08T23:54:47.020 | warehouse_errors | dba.stackexchange.com | |
36,752 | Network throttling for large file upload process | My application need to have a file upload component which will be uploading very large(>1gb) files. I'm yet to decide on the protocol (HTTP or FTP) to go for (Any help in this regard will be highly appreciated). Now, when one user is using this upload feature other user's work should not be hampered i.e. one large file... | If security is not concern then prefer ftp over sftp to avoid encryption over head. For files as big as 1 GB I do not think you have worry about people sniffing as users do not usually sniff such big files. So ftp is ok. | 3 | 1 | 2,366 | 2009-07-07T01:57:46.673 | infrastructure | serverfault.com | |
176,594 | SQL Server 2014/2016 (Win2K12R2) and Winsock limits - how to cope? | We're experiencing a problem with connections to SQL Server and after a week of digging through I was able to pinpoint it to Winsock limits. Here's the description: We have SQL Server 2014 (and 2016) Ent installations running on Windows Server 2012 R2. Virtualized and not virtualized. We observe the problem in both env... | The information presented here makes it look likely connections are rejected due to the TCP backlog queue being full of partially opened connections. The other item I ask folks to double-check in cases like this is that MPP (Memory Pressure Protection) is either globally disabled, or disabled for the SQL Server listene... | 5 | 2 | 1,483 | 2017-06-18T21:41:59.400 | database_errors | dba.stackexchange.com | |
219,739 | Are there established algorithms for spacing out objects of unequal size? | I'm working on visualizing a hierarchy. There will be clusters of objects, each cluster containing rectangles of fixed width but variable height. I'd like to arrange these within a rectangular space so as to have equal visual spacing between them, something like this: Before I spend a day inventing the wheel, are there... | This is called in mathematics the bin packing problem . There is some example code of the application of the first fit algorithm . Tackling the distribution of white space as required in the second half of your post might be implemented by introducing the concept of elastic "glue" as it is used in the famous typesettin... | 6 | 1 | 1,125 | 2013-11-27T17:35:17.277 | api_errors | softwareengineering.stackexchange.com | |
338,168 | In MySQL master-slave could it happen that the oldest log bin data gets deleted before the slave has read it? | I have a MySQL database with a large number of individual tables having the same definitions. The number of tables is about 2000-3000 and their total size is about 50 GB. Of course they have different content. I want to put them in one common table and get rid of them. To do that I will use the script like this (some v... | It's unlikely for a replica to fail to at least download the binary log. As long as the replica is actually running and replication is started, the I/O thread downloads events very quickly. It might lag in applying those events on the replica, but the files are present on the replica server. If the replica is downloadi... | 0 | 1 | 20 | 2024-03-29T08:32:51.877 | database_errors | dba.stackexchange.com | |
213,199 | What are exact benefits of using R services on Enterprise vs Standard? | I am currently using [CODE] standard edition and want to install R services. In the documentation is said that a stand alone installation is allowed only on Enterprise ( [CODE] ). Also, I found a post, where the guy is talking that on standard I am not able to use parallel operations and there are memory limitations: C... | Check out the "Feature availability across editions of SQL Server Machine Learning Services" page of Books Online: The difference between basic and advanced integration is scale. Advanced integration can use all available cores for parallel processing of data sets at any size your computer can accommodate. Basic integr... | 4 | 6 | 1,181 | 2018-07-25T14:36:25.630 | warehouse_errors | dba.stackexchange.com | |
100,418 | AllenNLP installation issue - No matching distribution found for torchvision<0.9.0,>=0.8.1 | As per demos, we are expected to install AllenNLP using following command: [CODE] But it always throws error: [CODE] Have tried installing torchvision separately but the version demanded by AllenNLP is not available at all. As can be seen in error above the torchvision =0.8.1 is demanded, but the available versions are... | I can see in the link that there are versions 0.8.1 and 0.8.2 which satisfy your requirement. So just try installing with version - [CODE] Better if you do it in a virtual environment. | 0 | 1 | 2,074 | 2021-08-23T13:34:15.727 | data_quality | datascience.stackexchange.com | |
8,307 | Deploying Anchore to Kubernetes Cluster using Helm | Kubernetes version 1.14.2 (Client) 1.14.1 (Server) Anchore Chart anchore-engine.1.0.5 App Version 0.4.0 I'm trying to deploy Anchore via Helm to a Kubernetes cluster, but I'm getting failures in every pod. Helm is properly configured and I've confirmed this by installing several other releases. I install Anchore with [... | A co-worker ended up taking over deploying this a few days ago and managed to get it working. I'm not certain what he did differently, but I know discovered very similar issues I was facing with other Helm charts boiled down to the database they depended on not deploying properly which caused the other components to fa... | 1 | 1 | 327 | 2019-06-05T22:11:50.243 | pipeline_ops | devops.stackexchange.com | |
269,183 | Why is my .bashrc script executing out of order / not waiting for steps to complete? | I have the need for teachers to fill in electronic registers in remote areas, and they need to be able to do it fast and with the least fuss necessary. To accomplish this I have set up netbooks with a "vanilla" Debian 6 install with nothing on it other than rdesktop. The netbook logs in automatically (via /etc/inittab)... | What may actually be happening is that [CODE] is being run more than you think. If it's run and there's no X screen or DISPLAY variable, rdesktop will fail and then the shutdown will run. @dimmer's fix should handle that, though there's a cleaner way. It should work if you put the shutdown command after the [CODE] comm... | 3 | 3 | 780 | 2011-05-12T19:45:18.727 | infrastructure | serverfault.com | |
580,793 | VPN error 619 - "A connection to the remote computer could not be established." | Have been trying to get this PPTP VPN working on a CentOS 6 x64 VPS for a few days but im getting: "Error 619 - A connection to the remote computer could not be established." I did research on Google and most of the time it was due to routers not allowing VPN passthrough or whatnot, however I have another CentOS VPS se... | As indicated in the logs, the GRE tunnel cannot be established. Maybe your ISP filters ip traffic and let udp + tcp + icmp go throught, but not gre (ie the "vpn passthrough" feature ). Another problem with GRE is it does not go well with NAT. For example, if you have two clients behind the same nat-ed ip address which ... | 3 | 1 | 3,373 | 2014-03-09T07:00:41.320 | infrastructure | serverfault.com | |
979,144 | NGinx add Retry-After header to ONLY 429 Responses | Given the following NGinx config, how would I alter it to issue a Retry-After header to ONLY 429 reponses? [CODE] | There is variable [CODE] that holds response status value. You could use [CODE] directive to define another variable that holds retry delay and use [CODE] directive. [CODE] [CODE] will not send header if value (second argument) is empty. And we need [CODE] flag, otherwise it will not set header for 429 status code. Ful... | 3 | 5 | 3,438 | 2019-08-13T19:15:34.183 | infrastructure | serverfault.com | |
17,780 | Use an asymmetric cypher to secure Ansible vault | I'm trying to develop a Playbook which must handle sensitive user data (SSH keys, Registry credentials, etc.). Only a user and the Ansible controller can see the data associated with that same user. The data will be stored in a Git repository, accessible to all users. Thus it must be encrypted. I'm having an issue to s... | Is it possible to setup Ansible vault to use asymmetric encryption? To setup or configure unfortunately not. It might be possible to enhance the functionality of [CODE] and implement such. Regarding Is it possible to setup the playbook to automatically decrypt data encrypted by something else than the vault (basically ... | 2 | 1 | 162 | 2023-05-04T09:56:41.997 | pipeline_ops | devops.stackexchange.com | |
561,127 | Nagios: HTTP checks with XMPP, notifications missing the URL | We're using a Nagios installation to watch over our infrastructure and alot of websites. The way the websites are monitored is by using [CODE] with the URL passed as a parameter. We use this, because multiple websites are hosted on the same systems, and the URLs can reasonably change because the URL key of products can... | I don't know if there is a better solution but this seems to be a use case for custom variables (reference: http://nagios.sourceforge.net/docs/3_0/customobjectvars.html ) Just add something like this to your service definition: [CODE] Then you can use it at the notification command as $_DOMAIN$ | 0 | 1 | 368 | 2013-12-13T10:43:50.003 | infrastructure | serverfault.com | |
117,812 | Oracle RESTRICTED SESSION error | I tried to install Oracle database 12c on my machine following the documentation: http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/12c/r1/Windows_DB_Install_OBE/Installing_Oracle_Db12c_Windows.html I have successfully installed the database itself and can login to the database pdborcl using: [CODE] I unlock... | If [CODE] doesn't work it means that there are patch violations Check the status with below command: [CODE] If post steps did not complete properly then it will keep PBD's in restricted mode. Run the below steps: [CODE] check the log, should be no errors [CODE] | 1 | 6 | 51,729 | 2015-10-07T22:47:18.607 | database_errors | dba.stackexchange.com | |
299,961 | Is it possible to set a role privileges by postgres user? | We are using a remote connection by postgres user to set the PostgreSQL DB in RDS on AWS. There is an [CODE] user with [CODE] role in the DB. If use it in the same AWS account to set default table privileges to the another rule [CODE] , it's possible. After it, if [CODE] role create new tables in the future, [CODE] wit... | The name 'postgres' has no inherent special powers. It is common (and often the default for own-hosted environments) to name your most powered user that name, but is not mandatory. If you chose some other name, then that other name is what you have to use. | 0 | 1 | 182 | 2021-09-22T09:11:12.537 | api_errors | dba.stackexchange.com | |
297,983 | Why putting SQL Agent offline caused WSFC to fail over on passive node? | I have 2 node Windows Failover Cluster with Quorum disk. SQL agent is NOT a resource of the cluster. I needed to enable service broker on the server; for that I need to set SQL Agent offline, run tsql statement then simply put it back online. However, as soon as I stopped SQL Agent using SSMS, the Windows failed over t... | If you look in Failover Cluster Manager, if you select the role for the Failover Cluster Instance (FCI) Role, then select the "Resources" tab at the bottom you'll see that the role is actually built with both the SQL Server service and the SQL Server Agent service as resources under that role. When you stopped the Agen... | 3 | 7 | 646 | 2021-08-12T23:17:04.007 | database_errors | dba.stackexchange.com | |
39,953 | Management of Static IP Addresses in the data center | The university where I work uses DHCP for the vast majority of our IP addressing needs. Workstations and the like. However for servers we obviously use static IP addresses. The current method to figure out if an IP address is available works like this. Guess an IP in the data center range, or look for one that doesn't ... | We use a copy of dokuwiki, with a page for each used subnet. Whenever anything is commissioned, it's updated, althought we're small enough that if it's not updated for something, we can probably work out who did it. | 4 | 1 | 5,798 | 2009-07-13T16:24:01.577 | infrastructure | serverfault.com | |
333,980 | Function creating function, compiled languages equivalent | I'm new to compiled languages. I'm learning C. I'm used to coding in python. I was wondering if there was any equivalent, or replacement method in compiled langues for functions able to create a function, and to return it. In python one can write: [CODE] Is it possible to do such a thing in C, or C++, or any other comp... | Yes, many compiled languages support higher order functions. No, they rarely if ever do runtime code generation. In C, "function pointer" is the appropriate search term. C++ also supports function pointers, though there's a number of alternative approaches (and libraries) to support similar behavior. Though they genera... | 2 | 6 | 805 | 2016-10-18T19:17:37.397 | api_errors | softwareengineering.stackexchange.com | |
125,279 | Max number of user connections | In SQL Server 2012 Standard edition, I know that the max number of user connections is 32,767. What should I do as a DBA if I am heading towards this number? Currently there are 30,000 user connections, and this number is expected to increase. | The maximum number of connections across SQL Server versions and editions is 32,767. You can determine how many connections SQL Server currently has by looking at: [CODE] If the ratio between used and unused connections from the above query is concerning, it is likely that connection pooling is enabled by client applic... | 25 | 33 | 63,940 | 2016-01-05T16:47:26.403 | database_errors | dba.stackexchange.com | |
982,009 | SFTP blacklist commands on Centos 6? | I've set up a new account to SFTP only by giving shell of [CODE] , and made member of [CODE] group. I then edited my [CODE] as outlined in numerous guides I've been reading like so [CODE] So far so good. I can upload files and everything is locked down for the most part, except the user can still [CODE] , [CODE] , and ... | CentOS 6 ships with too old a version of OpenSSH. You can try installing your own version but you will then have to maintain that, I'd much prefer to rely on Red Hat/CentOS to keep that patched. If you upgrade to CentOS 7, the version of OpenSSH shipped is 7.4p1 which supports the [CODE] flag you require. | 0 | 1 | 447 | 2019-09-05T11:57:33.413 | infrastructure | serverfault.com | |
917,181 | IIS 10 404 error with minified JS and CSS files | I am setting up a website on Server 2016 with IIS 10 and any minified files (.min.css or .min.js) are returning a 404.0 error. It looks like the ".min" portion of the URL is being stripped out for some reason. For example, if I try and access the URL below: [CODE] I get a 404 and it tells me this is the "Requested URL"... | Yes, try this as I just spent two days finding and fixing the problem. If you install IIS6 components on the same server hosting IIS10, it will start to work. IIS10 should have catered for this most basic feature OOB in the release of Server 2016. Screenshot of IIS6 components required My issue specifically related to ... | 2 | 0 | 2,461 | 2018-06-18T21:03:35.077 | infrastructure | serverfault.com | |
843,177 | Can't access staging server via IP | I'm trying to transfer a wordpress site from one server to a new one and I don't want to take my site down during the process. The site is currently running on its original server and I just set up a new server via Laravel Forge / AWS. What I had planned on doing was to get the site set up on the new server by navigati... | Your new WordPress site contains the name of your old website in the HOME and SITEURL variables which are set via the [CODE] file or the site's control panel. See this document for more. You could set these values to use the IP address for the hostname, or by omitting the scheme and hostname altogether (e.g. [CODE] ). | 1 | 1 | 236 | 2017-04-07T04:45:47.183 | infrastructure | serverfault.com | |
569,628 | What happens when User's UPN Suffix is not Trusted in Active Directory | I have 1275 UPN Suffix in the AD. This is the maximum allowed in Windows Server 2012. [CODE] When I create a user using ADAC interface I cannot select an UPN with an UPN Suffix that is not listed in the ADDT UPN Suffixes. I can however create an user using PowerShell with any UPN Suffix. [CODE] This does not add the UP... | As far as I know, the "trusted UPN list" is just what populates the dialog box when creating a new user. There are no problems with users created using any UPN via PowerShell or another API. As far as I can remember from my days with HMC/MPS, any custom UPN (each customer would have one or multiple unique UPNs) were ne... | 4 | 4 | 1,343 | 2014-01-24T14:12:27.460 | infrastructure | serverfault.com | |
82,255 | How to use time-sequence data with "meta data" of single value per sample? | I'm, trying to estimate a fish weight by a time-sequence signal of the change in resistance when the fish goes through a gate with electrodes installed. When the fish pass through the gate there's a spike in resistance, and the shape of it supposedly derives from the fish weight. Here is an example of resistance readou... | My impression is that this is as much an instrumentation problem as a DS/ML one. Without knowing the details of your setup (geometry, position of the electrodes, number of fishes in the tank at once and how you are planning to use it passed what looks like a calibration phase it's a bit hard to get a good intuition of ... | 2 | 0 | 26 | 2020-09-26T10:20:38.440 | data_quality | datascience.stackexchange.com | |
77,266 | Alternatives for a LEFT OUTER JOIN query | Problem I have a SQL statement with an [CODE] which works fine on our [CODE] . My problem is that i have to be compatible with [CODE] and this one got a bug with [CODE] . SQL Query [CODE] Table [CODE] Example data [CODE] | Solution this is not exactly what i asked for but it solves the problem of the original query to fail on [CODE] thanks ypercube your suggestion is correct [CODE] results in a correct result. but due (lot) better performance i process the whole table to Objects in my Application now and grab the Objects (select which on... | 2 | 1 | 13,907 | 2014-09-22T12:51:46.633 | warehouse_errors | dba.stackexchange.com | |
87,214 | Get the pais_id not associated to fabricante_distribuidor_id and producto_solicitud_id, the opposite from SELECT query | I have this query for get all the [CODE] given a [CODE] and [CODE] , the query works fine. [CODE] But I want to get the opposite, I mean all the [CODE] that does not associated to [CODE] and [CODE] , how? NOTE : I though this will be more easy but I'm getting some problems getting the data I need. Take a look to this p... | @Lennart's answer is one way to negate your query, but it only selects países that are associated with other fabricantes_distribuidores . If you want to include países that are not linked with any distribuidor , too, you have to add an outer join (I use a left outer join as per convention): [CODE] Check the differences... | 1 | 3 | 77 | 2014-12-30T02:57:03.490 | warehouse_errors | dba.stackexchange.com | |
319,967 | New print server on Windows Server 2008 R2 64bit | Just wondering if anyone can help me out with some best practice for setting up a new print server and all of the individual queues. I have some questions regarding setting up the print queues, for example should I prefix the port names with IP_10.x.x.x etc? or just leave the port names 10.x.x.x Any feedback regarding ... | Portnames don't mean a whole bunch, though if you have a print-server with a lot of print-queues on it the names do begin to make some difference. At my old job I was running a print server that supported somewhere around 1700 computer-lab seats at a large University. We had about 120 queues on that thing, and at that ... | 0 | 4 | 1,647 | 2011-10-09T19:54:18.980 | infrastructure | serverfault.com | |
93,821 | Clustering 2D curves | I have a set of curves in 2D space each expressed as a set of (sampled) data points. Each set has more or less the same number of items - eventually I guess I’ll use binning to make sure the number of points is the same (say 50) if that can help. I would like to cluster the curves in N groups. Computing N should be par... | Yes, you could start with k-means on the 100-dim data. Make sure you have normalized your data to perhaps zero mean and unit variance before running k-means. Use the elbow method (google it) to determine the optimal number of clusters for your data. By the way you also want to check if the two dimensions are correlated... | 0 | 1 | 225 | 2021-05-01T19:29:00.377 | data_quality | datascience.stackexchange.com | |
526,976 | Handling exceptions for modules in Puppet | I have an LDAP module in Puppet that is used by 100 servers and edits about 10 files on all servers, before it runs authconfig --updateall to activate the new LDAP configuration. Most (98) of these servers needs a standard access-1.conf as their access.conf, but 2 servers need access-2.conf. This is part of a big ldap ... | You can use a custom fact to distinguish between them, and resolve a template using that fact: [CODE] Using current [CODE] version, it is easy to provide custom facts on your servers: [CODE] Then, depending on how you have configured your hierarchy, you can have a default role and roles per domain or host, an example: ... | 1 | 4 | 1,438 | 2013-07-29T09:22:00.740 | pipeline_ops | serverfault.com | |
40,997 | Database creation on Linux with dbca: "command not found" | I have installed an Oracle on my machine. When I open a session with VNCServer and type [CODE] , either as [CODE] or as [CODE] , I get these errors: [CODE] [CODE] [CODE] What do I need to do to fix this? | Regarding your first error ('dbca: command not found'): ensure ORACLE_HOME is set correctly ensure $ORACLE_HOME/bin is in your path run the command as oracle user If the error persists, check the contents and permissions of $ORACLE_HOME/bin. | 0 | 3 | 13,931 | 2013-04-26T08:01:06.827 | database_errors | dba.stackexchange.com | |
212,914 | Server memory constantly usage at 91%, but the website is still in staging (cpu 0%) | I have my server on VE MediaTemple, adn as i can see from their admin panel, my memory usage is always about 91%..it is strange because the only wbesite resident on that server is on staging mode and no one can see it but me and another developer...so I'm wondering how can see which processes are sucking memory? via We... | Firstly, webmin does not run under apache - it provides its own webserver so its entirely self-contained (and, if it was running under Apache, it'd be difficult to manage Apache itself) The main control panel page will show you memory used, and the ' running processes ' module will show you memory used by each process.... | 0 | 2 | 303 | 2010-12-15T16:03:08.257 | infrastructure | serverfault.com | |
174,692 | Is there any free monitoring applications for Windows servers? | I understand that this question had answered before many times, but I can't find something to help me. I tried Nagios and Munin from a Linux VM but I don't find them so helpful (maybe my fault on configuration). Does anybody know any other Windows friendly programs for monitoring servers, network? Thanks in advance for... | You say that you've tried Nagios but apparently didn't get the results you were after. Nagios WILL do what you want, as will a number of alternatives, but you have to put in a bit of effort to learn how to configure it. If you want something that "just works" you're in for some bad news. All monitoring systems require ... | 2 | 8 | 3,554 | 2010-08-26T08:40:51.360 | pipeline_ops | serverfault.com | |
61,447 | Is Hyper-V Server 2008 working on Intel's Atom platform | Did anybody try to install Hyper-V on Intel Atom platform? Hyper-V requires: x64 compatible processor with Intel VT or AMD-V technology enabled Hardware Data Execution Prevention (DEP) It seems that both requirements are satisfied with Atom as processor. However, I wonder whether there is some blocking issue (e.g. BIOS... | Plenty of people have tried VMWare ESXi on Atom, and have come to the conclusion that it works if you get the right motherboard, but performance is absolutely awful. I can't see this being different for Hyper-V. You're going to be able to buy a cheap AMD Opteron system with virtualization built-in and fully supported b... | 7 | 7 | 10,210 | 2009-09-02T07:22:17.163 | infrastructure | serverfault.com | |
168,763 | What is the equivalent of MS Access InStr function in SQL Server 2008? | This query runs in Access 2013 but I need it converted to SQL Server 2008. The issue is that the [CODE] function does not exist in SQL Server and the query references the field generated in same query [CODE] . How would this be changed over to SQL Server 2008? [CODE] | [CODE] is pretty similar to [CODE] . So, your query can be written as: [CODE] | 2 | 3 | 1,943 | 2017-03-31T13:31:02.687 | database_errors | dba.stackexchange.com | |
64,215 | Windows 7 shared printer hangs from Windows 2000 | I have a Windows 7 x86 system and a printer that is shared publicly in my workgroup. When I try to print to that printer from a Windows 2000 Pro sp4 box, the print job gets into the printers queue, but then hangs the print queue. From both systems, you can view the print job, but the job never prints until you reboot t... | Russ, If yoy configure the following policies on the Windows 7 host it should work. Local Computer Policies\Administrative Templates\Printers Allow print spooler to accept client connections > to enabled User Configuration\Administrative Templates\Control Panel\Printers\ Point and Print Restrictions > to disabled The o... | 1 | 0 | 832 | 2009-09-10T16:49:09.837 | infrastructure | serverfault.com | |
435,892 | Chroot to jail users into a directory | Possible Duplicate: How can I chroot ssh connections? I want to jail a particular user into a directory (so they can sftp and ssh) using chroot on Debian. How can I do this? The man page says [CODE] I want to jail user "smart" into /home/servers/smart but when I type: [CODE] , it says [CODE] I've googled my brains out ... | This is basically a duplicate of: How can I chroot ssh connections? A [CODE] does not apply per user , but per process . -- So it has to be called/activated by the sshd or the user's login shell. Limiting an SFTP login is quite simple in newer OpenSSH versions. For interactive shell logins it is always more difficult, ... | 0 | 1 | 887 | 2012-10-08T10:31:34.487 | data_quality | serverfault.com | |
1,042,506 | How do megasites like Youtube perform backups? | How do megasites like Youtube perform backups? According to https://www.quora.com/Where-does-YouTube-store-so-many-videos , 2014 they stored 76 PB every year, a number that most certainly has increased a lot since then. Is it even possible to backup this or do they solve the problems backups usually are used for in som... | With an enormous number of tapes and disks. And talented site reliability engineers to continuously improve recovery processes. Read Google's SRE chapter Data Integrity: What You Read Is What You Wrote . The wisdom on recovery is appropriate in many environments. Replication and redundancy are not recoverability. Deliv... | -2 | 2 | 93 | 2020-11-14T02:44:48.763 | database_errors | serverfault.com | |
400,433 | How to secure postfix to find out whether the emails are coming really from the sender? | Is it possible to secure postfix in a way, that incoming emails are checked on whether the email comes really from the sender? Is that possible to write php script and chose a sender, like the mail is really coming from the sender and what are the possibilities for postfix to find out that this mail is not actually com... | Remember that SMTP mail was designed to be pretty much like regular mail. You write a message, put it in an envelope, write the recipient address on the envelope), write the sender name on the envelope, hand it over to the postman and off it goes (sorry no stamp here). Even if you write the wrong sender (purposely or n... | 2 | 3 | 541 | 2012-06-20T07:52:48.030 | infrastructure | serverfault.com | |
681,347 | Configure Zenoss login screen for SSL URL | I'm trying to configure Zenoss 4.2.X to use an SSL-enabled URL in the login form. I have nginx as an SSL reverse-proxy sending requests to Zenoss listening on port 8080. This works. However, the login form uses " http://10.1.2.3:8080/zport/acl_users/cookieAuthHelper/login " as the POST action. This is a non-starter! I ... | Everything what do you need to setup - it's your case nginx as reverse proxy for zope: http://wiki.zenoss.org/Newsletter:5/Encrypt_All_the_Bits | 0 | 0 | 725 | 2015-04-08T18:41:57.697 | infrastructure | serverfault.com | |
347,161 | Cyclic dependency with logger and filesystem class | I have a cyclic dependency in my architecture design. Let's assume there are the following modules: FileSystem (uses Logger) Handles file operations like reading, writing files etc. This module should log its actions. The logger is injected via dependency injection. NullLogger (implements Logger) Discards all log messa... | I pass FileLogger to FileSystem, and poof! It won't work because those two modules are recursively dependent on each other so I won't be able to instantiate either of them. I think it is debatable if a [CODE] module really needs logging at its core, or if this concern should be solved on a different level, like suggest... | 7 | 17 | 894 | 2017-04-14T04:24:29.630 | api_errors | softwareengineering.stackexchange.com | |
278,155 | Dynamic Data Masking Doesn't Seem To Work Correctly With ISNULL | Here is the code to reproduce the issue: [CODE] It appears, when using ISNULL, the partial masking is being converted to a full (default) mask. Is this the expected behavior? Update: I discovered that COALESCE does not exhibit this problem. These queries return the expected results: [CODE] Using Azure SQL Database | As a test, I created a custom user function that does nothing except pass the string back to the caller; it also exhibits this behavior. Be aware, this code will drop users and objects, so only run it in a test database. First, we create the required objects, users, and insert some data: [CODE] Next, we'll query the da... | 2 | 2 | 479 | 2020-10-15T19:29:11.497 | warehouse_errors | dba.stackexchange.com | |
928,185 | Azure DNS Private Zone Preview not working with ubuntu virtual machines | I need help getting the DNS resolution working using an Azure DNS private Zone. I followed the documentation here: https://docs.microsoft.com/en-us/azure/dns/private-dns-getstarted-cli I was able to create the private zone example.local and I created an A record called jump.example.local. As the documentation tells it ... | It seems that you have figured it out. I also test this using Ubuntu LTS 16 and Ubuntu LTS 18.04. The same scenario of [CODE] without result happened in Ubuntu LTS 18.04. However, It did work in Ubuntu LTS 16. I think this is because of the way Ubuntu manages network interfaces has completely changed. Also, I add follo... | 2 | 3 | 1,644 | 2018-08-27T16:17:07.460 | infrastructure | serverfault.com | |
827,485 | Clone Windows 10 to new disk | I have problem with Windows 10. I've installed Windows 10 on Qemu virtual machine and I need to clone this image to physical disk. I use ntfstool for do that. Unfortunatelly my Windows doesn't boot because UNIQUEID for disk is different. I can change disk uniqueid to correct and boot windows but I must change uniqueid ... | +1 Run sysprep to prepare system for cloning then go with Clonezilla to prepare image of your VM and to write it on physical host. | 2 | 4 | 1,119 | 2017-01-20T09:08:02.570 | infrastructure | serverfault.com | |
1,030,884 | Nextcloud Mail not accessible using TLS | I configured my mail server on my server using Postfix and dovecot. SMTP and IMAP Server works well whan using the commands [CODE] and [CODE] . I used Let's Encrypt Certificates. But when I set the same credentials in nexcloud there is always the log Creating account failed: Could not open secure TLS connection to the ... | STARTTLS runs when I actually type my host mail.example.com but does not work with localhost. I run this mail client from a subdomain cloud.example.com, it seems that cloud.example.com does not find the localhost mail.example.com | 1 | 0 | 1,346 | 2020-08-20T11:22:32.483 | infrastructure | serverfault.com | |
267,895 | Using GPO to install/update java on windows terminal servers | We've been using GPO to manage java + reader installs on user PCs for a while now... I'm wondering if there would be any issue using the same method on terminal servers. How do you handle switching to install mode? Or is it not required since it installs at startup? Thanks! | If you're using an MSI-based solution that installs for all users , you shouldn't need to change anything for the process to work on a terminal server. There's other considerations for managing programs that exist on a terminal server, but the installation itself doesn't care what the system setup is like. | 2 | 0 | 257 | 2011-05-09T20:04:46.103 | infrastructure | serverfault.com | |
78,783 | MongoDB failover process | Hello guys I've been all over the MongoDB documentation ( http://docs.mongodb.org ) and I can't find a solution to my problem. Imagine the following scenario: I have 2 Nodes (1000Km apart). Both nodes can communicate with the other; Node1 has several replicasets and therefore several Masters, Slaves and Arbiters; Node2... | So assuming that node(n) is a physical box, and the host(n) is a mongod process...If the link between the nodes fails, nothing cool will happen :). node1 will continue operating as normal, and node2 will just sit there asking wtf. The regular secondary will only have 2/4 votes which is not the strict majority. If node1... | 0 | 0 | 718 | 2014-10-09T14:59:35.633 | database_errors | dba.stackexchange.com | |
12,488 | hello world with flask and redis using docker networking | The sample from Docker, a "hello world" with [CODE] and [CODE] , seems to build fine, but, as an exercise can it be broken into two components? The redis service uses a public Redis image pulled from the Docker Hub registry. and Compose pulls a Redis image, builds an image for your code, and starts the services you def... | Yes, it's absolutely reasonable and this is how real apps work. This is the microservice approach which allows to independently scale instances of a service and a DB. What you have to do is to run your Flask and Redis services in a way so the first one can achieve the second one. If they are on the same machine, you ju... | 0 | 2 | 131 | 2020-09-24T21:24:47.723 | pipeline_ops | devops.stackexchange.com | |
157,675 | "httpd -k restart" has killed my website... How to debug? | so I broke my business' website, doing a stupid sanity check command that failed. We can discuss why I chose to sanity check apache like this. How would I go about debugging this problem? Here are my observations on the situation: httpd -k restart works the vps*.host.com still resolves the website won't resolve ping ww... | I tried accessing your site and all non-HTTPS requests to [CODE] are being redirected to the same URL but with an [CODE] scheme, e.g. [CODE] But the HTTPS port on your server (port 443) is closed, which means there's no server listening on it (which is what you'd need to be handling HTTPS requests). I'm guessing that t... | 0 | 3 | 598 | 2010-07-05T22:14:56.063 | infrastructure | serverfault.com | |
1,115,861 | Getting a SQLSTATE[HY000] [2002] Connection refused in PHP Apache Docker container using mariadb, if connected via Dockerfile's CMD (PHP CLI works) | I'm trying to run a Docker container based on: PHP 8.1 Apache 2.4 MariaDB (latest official docker image) It all starts up without any issue; but I'm unable to connect with the Docker Container's DB via PDO. Dockerfile: [CODE] docker-compose.yml: [CODE] According to the majority of the posts and answers from different f... | Got it for real now. The connection was refused because the environment variables were only used if the script is executed via shell, and via Docker's [CODE] - as I used it - no shell processing occurred. From the docs, I also found this : Unlike the shell form, the exec form does not invoke a command shell. This means... | 0 | 0 | 4,700 | 2022-11-16T16:07:14.883 | database_errors | serverfault.com | |
549,741 | Conditionally Rewrite Email Headers (From & Reply-To) Exchange 2010 | I have a client who maintains Company A (with email addresses %username%@companyA.com) and they own the domain companyB.com however there is no "infrastructure" (no Exchange server) set up specifically for companyB.com. My client needs to be able to have the end users within it's company (companyA.com) add a specific w... | unfortunately the only way to do what you want is programming. Hire someone if you can't write a program yourself. Best regards, Victor | 1 | 0 | 2,567 | 2013-10-30T20:37:22.030 | infrastructure | serverfault.com | |
1,103,615 | libvirt nwfilter breaks networking of other VMs | I just switched from VirtualBox to Virt Manager with KVM and I am very happy with the switch (my initial motivation for it was to use the same virtualization for desktop VMs and server VMs by ditching both Virtualbox and vanilla Proxmox in favor of libvirt). That said, I don't really know what I am doing so I can use s... | In case someone lands here, here are some progress: I realized that nft would give me a better picture than iptables which is referenced by old posts. From what i understood, libvirt uses nftables nowadays It turns out that ufw does not play well with libvirt: if I disable it then my problem goes away and other VMs wit... | 0 | 0 | 383 | 2022-06-19T10:01:55.580 | database_errors | serverfault.com | |
39,273 | Selenium WebDriver "Cannot instantiate class " error is coming | Below is my Base Class: [CODE] Below is my Page class: [CODE] Below is my test Class [CODE] Below is the error i am getting: { org.testng.TestNGException: Cannot instantiate class com.mercury.qa.testcase.LoginPageTest at org.testng.internal.ObjectFactoryImpl.newInstance(ObjectFactoryImpl.java:38) at org.testng.internal... | Judging by this: [CODE] The properties file cannot be found - you should fix the path, or create a folder [CODE] and use [CODE] to load the file like this: [CODE] | 0 | 1 | 1,686 | 2019-05-20T18:47:51.713 | data_quality | sqa.stackexchange.com | |
37,109 | How to Model / Quickly test for set membership in SQL? | Each row in a table needs to be protected a list of application specific roles lets say something that looks like this example below [CODE] In this example the row with primary key 1 should only be visible to any user who has roles 1 or 2 or 5, row 2 should be visible to any user who has role 1 or 4 or 3 ... etc. When ... | The first thing I will say here is that you really need to encapsulate this properly to make it work. Secondly this is a good case where breaking 1NF is likely to be a good thing performance-wise. I would break this into three pieces, totally mangling Codd's rules in the process, but I think those can be broken in cert... | 6 | 5 | 1,703 | 2013-03-20T05:52:56.840 | database_errors | dba.stackexchange.com | |
935,885 | Postfix bounce when unable to validate TLS option | I'm using postfix as mail transfer agent on my mailgateway to send and receive emails. Because I'm communicating with sensitive information I'm using the tls options to validate the receivers mx. He changed his certificate so my tls option in [CODE] ( [CODE] ) was wrong and the mail was 3 days in my mail queue before w... | I don't know if you can hard bounce mails in that circumstance, but you can certainly turn on delay notifications by setting [CODE] . Back in prehistory, when everyone ran sendmail, it would notify the sender if a mail couldn't be delivered after four hours (by default). Postfix has a similar capability, but it's disab... | 1 | 0 | 225 | 2018-10-17T07:55:49.913 | infrastructure | serverfault.com | |
862,579 | specify root volume size for ec2 instance in cloudformation | Inherited an amazon hosted infrastructure consisting of a load balancer, a DB server, and several webservers inside an autoscaling group; with deployment coordinated by CloudFormation. Problem is, the spun webservers have a puny root volume (8gb), and sometimes during the webserver lifetime the disk gets filled with lo... | I had been stuck for days to change root-disk size using Cloudformation, , this is how it works for me.. If you use [CODE] the instance will fail, the correct way is to use [CODE] . Using YAML format: [CODE] | 2 | 8 | 15,220 | 2017-07-17T14:24:18.237 | pipeline_ops | serverfault.com | |
202,355 | Temporarily disable an AD server | Topology and setup We have main office A, and branch office (abroad) B. Our ISP somehow messed up the MPLS, and office A<>B will not be connected until a few days. At location B, we have an AD (and the other two ADs at location A). Location A also have an exchange server. The problems A few users at A have problem to l... | To prevent clients from attempting to contact an offline Domain Controller, remove its A record from DNS. When your sites can communicate again, restart the DHCP Client services (Win 2k3) or the DNS Client service (Win 2k8) on the DC to recreate the A record. | 0 | 3 | 3,261 | 2010-11-16T09:34:40.070 | infrastructure | serverfault.com | |
406,787 | Solaris10 x86 mirror. Making second disk booteable when failure | Did a mirror (RAID1) with Solaris 10 in x86. Everything OK. Now, I´m trying to make the second disk booteable, this is: from grub or in case of failure of disk1. I edited /boot/grub/menu.lst: [CODE] But is not working. In the BIOS, when I select "alternate boot" I get: [CODE] also, how to configure to GRUB to make the ... | On an x86 system you have to tell the BIOS to use the second disk before you boot into grub. This can be done in ILOM according to http://docs.oracle.com/cd/E19860-01/E21549/z40015871020900.html or you can push the F2 key (or CTRL-e if you do this through the serial console) during bootup to enter the BIOS settings. On... | 1 | 1 | 9,445 | 2012-07-11T14:37:10.900 | infrastructure | serverfault.com | |
1,044,488 | Docker MySQL - You must set environment variables but it is set already | I've set the ENV variables but still container throws error that I should set them. This is the image I'm trying to use: mysql-56-centos7 . Any suggestion on how to fix this? Dockerfile: [CODE] Following is the error: [CODE] | To cut it short, you cannot run this image as root. In most cases, it is a bad practice to run any docker image as root. Try to run as a different user, and you will be able to run the image. For further details, I would just refer you to this discussion. Also if uncertain, always try to just use the default configurat... | 0 | 1 | 1,065 | 2020-12-01T06:16:42.570 | pipeline_ops | serverfault.com | |
216,955 | Listing the Microsoft SQL Server configuration with the values set by mssql-conf? | The utility [CODE] in [CODE] has the setting [CODE] which tells you possible keys , [CODE] How do I get the values ? | There is no command line option to view what the values are actually set too, for now you'll have to check the file yourself [CODE] However, it does not show the defaults. Stock, it has two options. One for [CODE] and one for [CODE] . If you change one of those values as in the case of disabling CEIP , [CODE] Your conf... | 3 | 6 | 4,702 | 2018-09-06T22:28:14.253 | database_errors | dba.stackexchange.com | |
285,958 | In-Memory OLTP SQL Server 2016 - insufficient system memory | I am trying to place an In-Memory OLTP table, Here is the memory estimate you will need: But when the migration starts, the following error message is displayed: The size of my table is approximately 22GB I have a server with 64GB of memory and I allocated it for SQL 56GB, and to put the table in memory I only need 23G... | So my guess is you may not actually have enough Memory for that table to be used as an In-Memory Table . As mentioned in my comments, per this Brent Ozar article Hekaton (In-Memory OLTP) Tables In Use , it sounds like one of the requirements are you have at least twice as much Memory available as is the size of your In... | 5 | 3 | 473 | 2021-02-24T12:46:38.147 | database_errors | dba.stackexchange.com | |
220,078 | How do I allow mysqld to use more than 24.9% of my cpu? | I have a Web server running on RHEL that is running Apache and MySQL. It has a Quad core 3.2Ghz Xeon CPU and 8 Gigs of RAM Most of the time, we don't have any issues at all. Our web application is very database intensive. When our usage gets pretty heavy MySQL will peg out at using 24.9% of the cpu. Most of the time, i... | Because you use a OLD version of MySQL that don't scale well with multiple cores. Try to upgrade :) | 6 | 1 | 819 | 2011-01-08T09:51:45.900 | database_errors | serverfault.com | |
74,113 | Running gui based desktop software in a headless VM | I am dealing with some software that "wants" to be run from a system that has a desktop (call it the primary package). This software invokes other packages that also run as user level applications on the desktop (call them the secondary packages). Most of these secondary applications are windows based programs that req... | Although I am note entirely sure what this program you are running is getting at - and what this misguided "security policy that disallows unattended systems to be left running" is or what problem it solves, there are plenty of VMs that run on host Operating Systems that are GUI-less. As you stated ESX Host is gui-less... | 2 | 2 | 5,160 | 2009-10-13T17:21:52.327 | infrastructure | serverfault.com | |
904,036 | Nginx 502 error after updating Ubuntu 12.10 to 14.04? | I had a particularly outdated ubuntu distribution (12.10) and was beginning the process to update sequentially to 16.04. Yesterday, I successfully updated from 12.10->13.10->14.04 using the Ubuntu old releases archive and this tutorial from Digital Ocean. I didn't have to change the kernel, because our droplet was usin... | Nginx connects your PHP FPM via an unix socket. Depending on the used version, which may differ from OS version to OS version, the name of the socket or the location may be different. As well as sometimes you don't have a socket, you have a port. See how your PHP FPM provides it's service [CODE] The result can be a por... | 0 | 0 | 439 | 2018-03-22T14:23:18.810 | database_errors | serverfault.com | |
421,052 | Design an extensible permissions model in database | I’m trying to model a system with Users, Permissions and Products. The main goal is to have a way of checking if a User has a specific Permission in order to allow or deny other system operations. So Users will have a list of Permissions and this Permissions will be given to the User when the User buys a specific Produ... | I'm under 50 points so I cannot comment, but I can answer. If I understood alright, you have: A Product has permissions associated to it. A Person that buys a product will have all the permissions associated to that product. A Person may have another permissions besides the permissions "automatically" given by buying a... | 0 | 3 | 168 | 2021-01-14T20:54:34.363 | api_errors | softwareengineering.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.