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 |
|---|---|---|---|---|---|---|---|---|---|---|
51,219 | Max Connection Pool capped at 100 | I'm running SQL Server 2008 R2 SP1, on a Windows Server 2008 box. I have a .NET script running from Visual Studio 2010 that does the following: Reaches into the database Makes a change Iterates The total number of times it will iterate is 150, however it is stopping at 100 connections and I can't figure out why. I coul... | SQL Server allows a maximum of 32767 connections by default. It can be altered using [CODE] . To view your current configuration for this setting, use the following query: [CODE] By default, you should see a maximum of 32767, [CODE] equal to 0 (use the default settings). If this has been altered, you can reconfigure SQ... | 34 | 32 | 195,776 | 2013-10-08T16:18:18.060 | database_errors | dba.stackexchange.com | |
429,900 | DDD - How should a model be updated from an [HttpPut] rout in a RestAPI? | I'm learning DDD so apologies if the question is too naive. Assume an application that manages user publications developed following DDD and using a RestAPI for external interaction (for whatever front-end layer for instance). Looking at the [CODE] model we would have behaviors like [CODE] , [CODE] , [CODE] and so on. ... | You are struggling with this question because you are fitting a CRUD problem into DDD. What is missing in your thought process is ubiquitous language - the terms used and the functionality expressed in the business langauge. You are not using the language that business people would use. They would never use terms like ... | 0 | 1 | 158 | 2021-07-02T02:55:49.940 | api_errors | softwareengineering.stackexchange.com | |
156,251 | How can I enable/disable MySQL slow query logging on Amazon RDS without restarting | I would like to enable/disable slow query logging on an Amazon RDS instance without having to restart. I'm aware that I can do this by changing the [CODE] parameter in the instance's parameter group, but this requires me to restart. On the other hand, I've seen that this is possible with [CODE] in MySQL, but this requi... | The [CODE] variable is a dynamic variable . Dynamic variables can be updated without a restart : When you change a dynamic parameter and save the DB parameter group, the change is applied immediately regardless of the Apply Immediately setting. So just change it and you should see the effects immediately. | 2 | 3 | 4,204 | 2016-11-24T08:43:38.017 | database_errors | dba.stackexchange.com | |
918,432 | Borg Backup not behaving as expected - new backup files each day | What I'm doing I'm using Borg backup v1.1.0b6 on my production AWS Linux server. Borg is meant to be block based, deduplicating, and incremental. I've also tried borg-linux64 v1.1.6 with the same results. My Observation I'm finding that instead of getting incremental de-duplicated backups it seems to do a full backup e... | What you see is the effect of borg compacting segments. Your test backup size being small triggers a relatively big effect - it is not (relatively) that big if you use more data (try e.g. 10GB). I am working on improving the compaction behaviour, you can see it there: https://github.com/borgbackup/borg/pull/3925 | 1 | 4 | 911 | 2018-06-27T08:37:21.620 | database_errors | serverfault.com | |
135,941 | Localhost not recognized | For some reason my localhost is not recognized. I have this in my hosts file as I've always had: [CODE] I did do a flushdns, not sure if that caused it. Then I tried a /registerdns in the command prompt. I still have the same issue. | I thought the problem was resource based in terms of localhost not recognizable across the entire PC..but that was not really the problem it turnes out. The problem was IIS. I uninstalled and re-installed and it's fine now. No clue how this could have happened or what the problem was with IIS | 1 | 2 | 2,041 | 2010-04-26T16:28:47.243 | infrastructure | serverfault.com | |
271,571 | Testing a Hive array for IS NULL says not null | I have a table containing an array, and I want to check if it is empty or NULL. It appears that I cannot check the NULL directly! Can anyone shed light on why the NULL check isn't working? [CODE] | I just investigated the same issue: In my case it was due to Hive CBO (Cost based optimizer) erroneously replacing the IS NULL evaluator by a constant operator during query planning. You can try [CODE] to see if it solves the issue. The bug about structs in https://issues.apache.org/jira/browse/HIVE-21778 looks very si... | 0 | 1 | 5,676 | 2020-07-24T12:25:54.080 | hadoop_errors | dba.stackexchange.com | |
970,980 | Ubuntu 18.04 Nginx Server stopped auth.log update for WordPress Site | I can see that my Ubuntu 18.04 Nginx /1.15.12 server stopped recording WordPress site login (success and failure) records on " var/log/auth.log " file. This server correctly records SSH login details. Then I added following code to "wp-config.php" but no luck. define('WP_SYSLOG_CRITICITY_LEVEL', 'info'); How do I ident... | The reason for this issue is, my server installed CSF uses ( csf.conf ) [CODE] now I changed it to [CODE] now Wordpress login details records on auth.log file. | 0 | 0 | 78 | 2019-06-11T15:03:37.940 | infrastructure | serverfault.com | |
597,651 | Puppet Duplicate declaration errors with virtual defines | I'm trying to use puppet to add all my users to a system and add all of them to a single group. However, I keep getting [CODE] If I change user to a variable name, like $title, it works fine. How can I do this with a static group name like 'user'? I'm using the below configuration: NOTE: I might have typos below. I had... | The Group['users'] resource shouldn't be within the defined resource [CODE] . You can only create the group once.Move that out to a separate class. [CODE] | 1 | 3 | 2,645 | 2014-05-22T00:01:58.113 | data_quality | serverfault.com | |
944,468 | Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' on Azure SQL with Active Directory Admin via SSMS | When I attempt to connect to an Azure SQL Server via SQL Server Management Studio using the "Active Directory - Universal with MFA support" method with an account that is configured as the Active Directory Admin, the following error message is shown: . The state value given under "Show technical details" is "State: 1",... | In my case, the reason seems to have been that the user is associated with multiple Azure ADs. I had to specify the Azure AD of the Azure SQL Server using the "Options >>" button: | 3 | 3 | 3,175 | 2018-12-15T10:32:09.380 | database_errors | serverfault.com | |
843,297 | WSUS Update Fails with Error Code 0x80244018 | I am currently operating a WSUS server on a MS 2012 R2 machine. It is supposed to update all computers in an enterprise network. At the moment I am facing the problem that only some computers and some servers successfully pull update from the server. Others fail to obtain the updates and create the following error logs... | Solution Client Side Apparently one of the issues leading to the error described in the original question is apparently grounded in the proxy settings of the affected computers (as e.g. reported in [1]) (for more information regarding [CODE] and [CODE] see [2]). According to the forum posts in [1] executing the followi... | 1 | 0 | 13,288 | 2017-04-07T16:38:36.270 | api_errors | serverfault.com | |
333,692 | SNMP Access on Ubuntu | I am trying to use SNMP to monitor a machine locally on its self and remotely. This is the snmpd.conf (Ubuntu 8.04.1): [CODE] 1.2.3.4 is the local machines IP and everything is working locally. 5.6.7.8 is the remote machine and initially I am just trying to touch SNMPD with snmpwalk from the remote machine; [CODE] I ha... | This is a new one for me, SNMPD had been restricted inside /etc/hosts.allow as well as iptables. I simply added the remote host's IP to the list in there and all is working now. Thanks to all for your help it is greatly appreciated. You all helped my cross of each possible avenue until only one was left. Out of curiosi... | 3 | 2 | 22,935 | 2011-11-22T14:26:22.000 | infrastructure | serverfault.com | |
269,450 | Warning: mysqli_real_connect(): (HY000/2002): Connection refused in /var/www/html/wordpress/wp-includes/wp-db.php on line 1626 | I'm just starting to code and I try to host a Wordpress website on a server of my school. However, as soon as I upload the website on the Wordpress interface with the plugin "all-in-one migration", the database crashed. Wordpress gives me the error : [CODE] When I check my database, I find it : [CODE] And, of course, w... | first check wp-config.php for this 4 lines [CODE] then Check Your Database Host Information and if you failed do this action add define('WP_ALLOW_REPAIR', true); in your wp-config.php and after you have done ,navigate with http://yourwebsite.com/wp-admin/maint/repair.php . and better before doing disactivate all plugin... | 2 | 1 | 6,894 | 2020-06-18T22:06:37.567 | database_errors | dba.stackexchange.com | |
119,986 | Counting values from diffrent columns | I'm working with a pandas dataframe that has some columns like these: [CODE] I'm trying to count the values of each column and then adding them together to get the total counts of that values. however, It's not working with columns that don't have all the values like Col4 is missing Yes and perhaps What is the best way... | [CODE] Number 3–5 is optional formatting. | 0 | 0 | 85 | 2023-03-06T01:46:19.467 | data_quality | datascience.stackexchange.com | |
241,826 | Which Windows Server | I work with a company that has an old server that uses Windows 2000. They really only use this thing as a file server / "always-on" computer. They use quickbooks enterprise, quickbooks POS, UPS, and backup software on this server. In addition, they also use it as a print manager. They don't use active directory, email ... | Server 2008 isn't an overkill. Its actually not even a huge cost difference with the introduction of the Foundation series from Microsoft. You should verify the pricing but I believe you should be able to get the Windows 2008 Foundation server pretty inexpensively. As for being a technology overkill, its really importa... | 2 | 1 | 114 | 2011-03-01T16:28:55.307 | database_errors | serverfault.com | |
257,401 | SSAS database backup | I tried to backup SSAS databases (2008 R2) by using query in SSMS, but it is overwriting previous day's backup. How to take backup without overwriting previous backup. I need to maintain at least 7 days of backup. Currently I schedule a job in SQL Server Agent which overwrites daily backup. This is the job step definit... | The solution to this is fairly straightforward. Using SQL Agent Job Tokens , you can include the date and time of the backup in the filename to ensure a new file is created each tiem the job runs preventing the overwrite. Change the command in the SSAS job step to this: [CODE] When you run the backup job after changing... | -3 | 4 | 436 | 2020-01-14T19:34:14.763 | database_errors | dba.stackexchange.com | |
39,214 | Why is "expected" before "actual" in bug templates? | I've seen a lot of bug templates all having Expected Result before Actual Result . To me, this does not make sense because it breaks the flow of reading through the bug/page. Usually when you read (anything, not just a bug) you'd go: top > bottom and not top > middle > bottom > middle again > almost bottom I asked seve... | The way I see it putting "Expected" before "Actual" eliminates bias. Usually your brain "sticks" to the first things it hears about (that's what Anchoring is about, for example when bargaining the first side to bid will be closer to the final bid) so if you start with the Actual it will be more difficult to see the dis... | 6 | 4 | 1,312 | 2019-05-17T08:51:03.690 | data_quality | sqa.stackexchange.com | |
187,326 | Is it possible to modify Lamport's mutual exclusion algorithm to work without a FIFO guarantee? | I'm trying to implement a modified version of the Lamport Mutual Exclusion algorithm. The original algorithm assumes FIFO message ordering between connected systems, but I would like to use UDP a protocol which does not guarantee FIFO. Is it possible to modify this algorithm to work without FIFO? EDIT: Forget UDP. Just... | Order is the least of your problems. Not only does UDP not guarantee delivery order, it doesn't guarantee delivery at all . Lamport's algorithm requires cooperation of all non-requesting processes that would contend for a resource in the form of replies. The loss of a datagram carrying a request would cause the other p... | 3 | 5 | 1,050 | 2013-02-17T06:51:08.417 | api_errors | softwareengineering.stackexchange.com | |
20,563 | Is there any difference in versions of Chrome across Android OS versions? | In checking Google Analytics to get develop a browser support list for my site, I'm finding that almost all ( see below ) Android versions are using the same version of Chrome (at the time of this writing it's 51.0.2704.81). If there are not any functionality or rendering differences between the same version of Chrome ... | Certainly there are differences between version but of course it depends on what specific version you compare. As for seeing most traffic under 1 version, this may be a side-effect of most recent versions using the evergreen approach to constantly update to the latest versions. See https://stackoverflow.com/q/14555389/... | 1 | 1 | 425 | 2016-07-18T18:04:23.150 | data_quality | sqa.stackexchange.com | |
796,762 | Creating a docker mysql container with a prepared database scheme | I want to create a docker image on top of the mysql one that already contains the necessary scheme for my app. I tried adding lines to the Dockerfile that will import my scheme as a sql file. I did so as such (my Dockerfile): [CODE] To my understanding, that didn't work because the mysql docker image does not contain a... | I had to do this for tests purposes. Here's how i did by leveraging the actual MySQL/MariaDB images on dockerhub and the multi-stage build: [CODE] Full working example here : https://github.com/lindycoder/prepopulated-mysql-container-example | 34 | 34 | 126,304 | 2016-08-14T18:12:52.937 | database_errors | serverfault.com | |
93,693 | MySQL: How do I get my "Maximum possible memory usage" down? | I've recently been having problems with thrashing as a result of running out of memory. (My VPS has 256M total) I'm trying to tune MySQL using mysqltuner.pl, and get the following results: -------- General Statistics -------------------------------------------------- [--] Skipped version check for MySQLTuner script [OK... | You have a server with 256M, but you can't use all of that -- remember there's some OS overhead. Add to that with the fact you're over committing as other folks have mentioned and you'll definitely thrash here. 256M is only enough for a small DB, 20 connections is a lot with what you've got configured. 1) reduce your m... | 18 | 11 | 48,266 | 2009-12-12T13:14:49.757 | database_errors | serverfault.com | |
33,944 | Capturing http errors and customizing the message in webdriver | How to Capture HTTP errors on a web page such as page not found, 500 Internal server errors and customizing the message in webdriver. | You can capture console Logs using the following code snippets: For chrome only - [CODE] You will need to import following classes: [CODE] | 6 | 1 | 253 | 2018-05-29T06:34:30.413 | api_errors | sqa.stackexchange.com | |
263,952 | RDS Does Not Allow Restoring MS SQL DB from S3 | I have a question for you folks who might be familiar with the intricacies of restoring a .bak file from S3 to an AWS RDS MS SQL instance. Here is what I have tried, and how far I have gotten: First some context: I am the sole IT guy at an all Mac, non-profit, special needs school (we help the kids who fall through the... | The quick answer is "don't waste your time with AWS and RDS". But there are nuances. Those solutions might be appropriate for some things but trying to open a MS SQL backup file on a Mac is not one of them. Here is what you want to do: https://apple.stackexchange.com/questions/385430/how-to-read-ms-sql-backup-file-on-m... | 0 | 0 | 557 | 2020-03-30T20:51:03.200 | database_errors | dba.stackexchange.com | |
310,971 | How to handle tables that are needed in 2 or 3 databases? | My situation is as follows I have a sql-server running, which holds a few databases. The physical size of the largest database is about 2 GB, it has 343 tables, 129 views and some stored procs and functions Now we have started development of a new application, that uses it's own database on that same server, but a few ... | You haven't told us whether the shared data should be read-only for the other databases or read/write for all. This point is fundamental if it is necessary to write in this shared database, are the updates in this database related to explicit transactions or not ??? Indeed, the most suitable solution will depend on you... | 1 | 1 | 181 | 2022-04-14T14:14:13.893 | database_errors | dba.stackexchange.com | |
369,041 | Separate server for Resque workers | I'm trying to segment a few servers for a Rails project and part of that is entertaining the idea of isolating Resque workers to their own box. I already have Redis broken out, but is it common to put Resque workers elsewhere? Do they need to be tied to the application itself? If it can be done, are there any commonly ... | I'm trying to segment a few servers for a Rails project and part of that is entertaining the idea of isolating Resque workers to their own box. I already have Redis broken out, but is it common to put Resque workers elsewhere? I'm going to make this a bit more generic. Is it common to put job processing workers on diff... | 2 | 3 | 989 | 2012-03-13T03:16:34.210 | database_errors | serverfault.com | |
916,417 | New Azure Standard LB doesn't allow inbound connection | I have setup a LB with a backend pool (only one host for test). I setup network security group on test host with following rule: Source: AzureLoadBalancer Destination: Any Action: Allow Source: VirtualNetwork Destination: VirtualNetwork Action: Allow Source: Any Destination: Any Action: Deny I can't connect to host thr... | Even going through a LB the source will still be your host and not the LB. All the LB does is forward the connection based on a set of rules and does not change the originating address of the clnnectkon. You will need to edit the NSG to allow connections from the host itself (either public IP or internal) and not the L... | 0 | 0 | 47 | 2018-06-13T09:07:15.527 | infrastructure | serverfault.com | |
6,163 | How to make Terraform Modules wait for resources to be created in place of using computed values | Today I am working on building out several custom Terraform Modules. The issue that I am trying to figure out how to work around dependencies within modules. Until TF 0.12 is released we cannot declare a module to be dependent upon another module. So, in this root level main.tf: [CODE] The result output is: [CODE] As o... | Update: As of TF 0.13x, [CODE] is supported to create dependencies between modules. Using [CODE] should be preferable over using the method detailed below. The previous most popular answer is out of date with Terraform 0.12.24. [CODE] is a protected variable, and cannot be used in a [CODE] . In addition there are a few... | 13 | 7 | 52,238 | 2019-01-30T18:59:17.420 | pipeline_ops | devops.stackexchange.com | |
875,849 | SQL server 2016 express - Error 1067: The process terminated unexpectedly | I have installed SQL server 2016 on windows 10. The install process completed successfully except for the final step, which was a restart. Prior to this I had tried a couple of times and the process did not seem to get as far. I manually restarted the computer and opened SSMS. In the object explorer windows I clicked "... | After resolving several errors and seemingly going back to the first error I encountered I did the following: removed all references to SQL server turned off anti virus turned off firewall ran SQL server custom install (opting out of installing reporting services etc) From here everything worked as expected. I had init... | 0 | 0 | 2,104 | 2017-09-27T21:57:21.360 | database_errors | serverfault.com | |
1,130,669 | Is there a way of rewriting wss to https Apache 2 | Hi im currently trying to find a way to switch out the protocol of a url. Im having a server wich is running fine on its own but behind a apache reverse proxy its throwing the error connection to websocket failed. The problem is that the Websocket is only locally available as wss:// through the ip of the server it gets... | You don't want to switch protocols. WSS and https are two different protocols - for a reason. If your app requires wss it requires wss. What you want is to configure Apache to proxy https and wss for you. That can be done with [CODE] . Add something along the lines of the following to your vhost stanza: [CODE] | 0 | 2 | 374 | 2023-05-08T17:26:39.283 | api_errors | serverfault.com | |
278,375 | Selecting a value from a row where another column is max | I have the following SQL query: [CODE] I now want to select [CODE] instead of [CODE] from the row where [CODE] is maximal. Is this possible? If so, how do I do this with minimal amount of queries/overhead? Relevant Tables (stripped): [CODE] As SQLFiddle | In your case you can simply exchange the column names, but remember that text sorts differently then integer 1.10 comes before 1.2, so if you get such numbers you have to check and change your approach. see https://lists.mysql.com/mysql/183349 [CODE] | 0 | 0 | 135 | 2020-10-20T14:27:37.547 | warehouse_errors | dba.stackexchange.com | |
886,849 | systemd stops restarting service | tl;dr: systemd restarts a crashing service for days and then suddenly stops. I've got a service configured as follows: [CODE] This code crashes sometimes (1-2 times a day), hence the need to [CODE] . Yet once in a while this service doesn't get restarted and here's the output of [CODE] : [CODE] Is there a mistake in my... | [CODE] belongs to the [Unit] section. See https://www.freedesktop.org/software/systemd/man/systemd.unit.html# [Unit] Section Options StartLimitIntervalSec=, StartLimitBurst= Configure unit start rate limiting. By default, units which are started more than 5 times within 10 seconds are not permitted to start any more ti... | 5 | 3 | 4,333 | 2017-12-06T11:22:00.640 | infrastructure | serverfault.com | |
1,147,788 | Monitor RBAC access | I need to tighten RBAC for already deployed CRD in Kuberenets. I am wondering can I drop all existing roles and bindings, then monitoring the forbidden access. Unfortunately the kube-apiserver has no audit log settings, and if possible I would like to avoid modifying statically installed kube-apiserver. So far I tried ... | Droping all the roles and respective bindings is a high-risk operation thatcan potentially lock out authorized or known users from accessing resources. It is highly recommended to proceed with caution and have a backup plan in case of unintended consequences. You can use log server (e.g. Graylog server , Elastic stack ... | 0 | 0 | 34 | 2023-11-13T16:14:24.437 | api_errors | serverfault.com | |
976,830 | Issues with Exchange Online Management Scope | Not sure if I'm missing something obvious here but I'm having trouble getting Management Scopes in Exchange Online to work as expected. I'm hoping to delegate admin rights for a group of users in a geographic area to accounts that are not Exchange Online / O365 admins in general, but who can do certain limited tasks fo... | After some considerable back-and-forth with Microsoft support, the issue is that for Exchange Online the group you're using for your scope needs to be specified by distinguished name. e.g. [CODE] | 1 | 1 | 1,459 | 2019-07-26T12:34:38.137 | infrastructure | serverfault.com | |
962,613 | Set MySQL connection flags from command line client | Is it possible to set MySQL client flags when using the command line client? I would like to set the [CODE] client flag, but the manpages of the mysql client do not mention the setting of client flags. This is only documented in the documentation of the [CODE] function. Is using client flags in the command line client ... | [CODE] isn't a flag for the command line because the command line already tells you how many rows it matched/updated. That option only works for the [CODE] function because it tells the function to return the number of rows as part of the return value (otherwise that data would be lost.) | 2 | 2 | 846 | 2019-04-11T13:52:11.127 | database_errors | serverfault.com | |
923,536 | Net Core 2.1 App deployed to IIS via Octopus not available in IIS, but starts from command line | [Update] I found the following apparently related entries in the [CODE] log: [CODE] [Original] I am attempting to deploy a [CODE] application to an IIS server for the first time (I'm the developer, not a system administrator). .NET Core support was installed by a system administrator and, since I can start the command ... | Answering my own question: The outside provider that maintains our private cloud servers had correctly add the DNS record for the [CODE] subdomain but had neglected to add a firewall rule to allow traffic into the private cloud on port 701. Adding this rule has apparently fixed the problem. | 0 | 0 | 294 | 2018-07-25T15:36:53.200 | api_errors | serverfault.com | |
535,265 | How to use puppets stored config & concat to generate a semicolon seperated list of ip adresses? | puppet version 2.7.18 stored configs (not puppetdb) I my case i have 3 couchbase nodes, which should be concated to an couchbase connection string which looks like that: [CODE] so on each couchbase server i do something like this: [CODE] and on the app server, which should connect to the couchbase server, i want genera... | I achieve this for Zookeeper using PuppetDB to retrieve the nodes, and a custom plugin to join them. The details of using PuppetDB are in the answer to my original question , and the custom plugin looks like this: [CODE] This should allow you to create a string in your manifest like this: [CODE] Which will use PuppetDB... | 3 | 0 | 373 | 2013-08-30T22:25:23.617 | pipeline_ops | serverfault.com | |
623,309 | CentOS 6.5 new Kernel not active after reboot | Today I was running some yum updates and wanted to verify that everything went through fine by making sure I had a new kernel. To my surprise I noticed that CentOS was still running 2.6.32-431.5.1.el6.x86_64 even though it looked as though 2.6.32-431.23.3.el6 was installed. Indeed 2.6.32-431.23.3.el6 shows up in /etc/g... | Found the problem... Apparently CentOS 6 does not properly sync /etc/grub.conf with /boot/grub/grub.conf so /boot/grub/grub.conf which read during boot. Fixed with: [CODE] | 7 | 4 | 17,060 | 2014-08-22T13:06:49.773 | infrastructure | serverfault.com | |
345,596 | Cannot SSH after resetting firewall on VPS | I'm having trouble trying to SSH to my Debian 5 VPS with blacknight. It was working fine until I did the following: Logged into 'Parallels Infrastructure Manager' -> Container -> Firewall -> Set to 'Normal Firewall settings'. It told me there was an error with the IPTables and offered the option again with a checkbox t... | Looking at your debug output, it looks like you are using a PuTTY key generator for your public/private key pair. PuTTYkeygen.exe doesn’t generate keys the same way openSSH reads them and it is not compatible with authorized_keys. Because it starts with [CODE] and ends with [CODE] the server is not able to read the key... | 2 | 1 | 314 | 2011-12-31T17:23:00.273 | pipeline_ops | serverfault.com | |
865,601 | Implications of turning on bitlocker on a server | I have a server which contains some sensitive data and I feel like I should have bitlocker enabled on it. The problem is that the server has many floating licenses installed on it which the PCs on the network connect to from time to time. Also the server is the host to a SVN and stores all the repositories. Will adding... | BitLocker protects the hard drive from offline attacks, not online attacks, meaning that while the server is running BitLocker will not have the drive "locked" (encrypted). You should be able to use BitLocker without issue. https://blogs.technet.microsoft.com/uspartner_ts2team/2010/03/17/what-is-bitlocker-what-does-it-... | 0 | 2 | 179 | 2017-07-28T05:41:56.380 | infrastructure | serverfault.com | |
276,639 | Failure sending Excel attachments larger than 1.5MB | I have innumerous reports that I send from SQL Server to people. But for some reason there's this single one, with 10k+ rows, that I can't send via dbmmail. I tried top 7000 and it worked but top 8000 still creates the file, I can open it, but I can't send via dbmail. No errors or alerts about SQL attachment size limit... | Database mail has a max file size limit and that might be preventing it. Please check and increase max size in your database mail and I guess it should resolve the issue | 0 | 0 | 639 | 2020-10-06T17:55:30.267 | database_errors | dba.stackexchange.com | |
442,830 | Best Practice - Avoid naming class and field the same? | When modeling classes I always have stumbled on the problem that the class has a field with the same name. Look at this example: [CODE] As you can see, the class Name has a field name, which is the actual name. Is this good practice? How to avoid this naming issue? | Bart van Ingen Schenau has some good advice , but I'd like to offer some additional advice. Don't universally avoid naming a class and property the same, but definitely question it. Consider all of the properties together as one cohesive concept: name, language, and meaning. Rather than renaming the property, perhaps r... | 23 | 68 | 6,335 | 2022-12-14T15:43:05.607 | api_errors | softwareengineering.stackexchange.com | |
117,865 | Change recovery mode and enforce a transaction log backup? | I am going to do a special data deletion operation - once and during a maintenance with no user access (Sql 2008 r2). The result is a large deletion of millions of blob data from a table by re-creating the whole table. Reasons: Remove no more required rows including the (blob) data Improve performance Reduce data file ... | Yes in general that is a good approach. As Shanky commented if you take a manual backup then the chain within BackupExec will be broken. If you have the ability to kick all the users on the server and can wait for the transaction log to be backed up by BackupExec then you will find it easier to start the work without i... | 2 | 3 | 110 | 2015-10-13T11:38:45.810 | database_errors | dba.stackexchange.com | |
358,988 | VMWare VMs to Data Domain storage via EMC Networker backup: Do I need a storage node? | I've got several VMs (Windows Server 2003-2008 R2, application servers, Exchange, SQL, small file servers) residing on ESXi 4.1 hosts. We recently purchased a Data Domain system allowing us to backup our data and have it deduplicated, compressed, and stored at two physical locations. The NetWorker server is connected t... | If you are setting up Networker with a single Networker Server, the Server is also a Storage Node by default. In small environments (like mine, and likely yours), the Storage Node role, Server role, and Admin Console role are all on the same server, so that's where your VADP should be. A Storage Node is a Networker ser... | 2 | 2 | 2,518 | 2012-02-10T22:39:55.557 | database_errors | serverfault.com | |
282,004 | EC2 SLES Instance - Problems with Yast and other pre-installed apps | I am Linux newbie, I managed (it was a bit of an ordeal) to get a VNC server (TightVNC) running on a SLES 11 SP1 EC2 instance. Monitor manager on the VNC xstartup file is gnome (it took me a while to figure that out). Now I can connect to the machine via VNC client (on a mac connect to server vnc:address:port) and it s... | I don't have a direct answer, but you asked for help in troubleshooting. First off, try a reboot :). A good place to start looking is your system logs. In most Linux distros and definitely SLES 11, these are located in /var/log/messages. I'm only familiar with the command line, so not sure where to find it in the graph... | 0 | 1 | 362 | 2011-06-19T20:09:58.050 | infrastructure | serverfault.com | |
677,500 | AWS fails to resize an RHEL64 instance upon launch | I'm using AWS to boot up a RHEL64 instance but the disk is failing to resize to fit the volume I've selected. Here's the scenario: I Launch a running instance from the Marketplace AMI ami-517eec6b (which is RedHat's approved RHEL64 image), and select a volume size of say 30GB. The instance launches successfully however... | The reason you cannot resize the file system is, that it is already taking up all the space in the partition. Growing the disk didn't change the partition table, so you still have a partition of the same size and free unpartitioned space on the rest of the disk. The necessary steps are: Grow the virtual disk (you did t... | 1 | 1 | 3,054 | 2015-03-23T06:32:05.967 | infrastructure | serverfault.com | |
317,555 | Install SQL Server 2016 SP2 on SP3 - Windows Updates says that? | Currently our server is on Microsoft SQL Server 2016 (SP3) (KB5003279) - 13.0.6300.2 (X64) Aug 7 2021 01:20:37 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows Server 2016 Standard 10.0 (Build 14393: ). This is secondary read-only AG replica. We installed SP3 on both Primary and Secondary repl... | This can happen if you install a component on the same instance, after the instance has been patched. You have an unpatched RTM component (for example: full text search) and SP3 database engine. If you were running SP3, and recently added a new component (Replication? Full text search? SSRS?) then only those components... | 3 | 5 | 1,842 | 2022-09-28T19:10:51.300 | api_errors | dba.stackexchange.com | |
488,619 | windows server 2008 cannot connect to internet | I am working in project to create local area network for school I created domain school.com and connected the clients with it and assign IP the problem is windows server 2008 cannot connect to internet even I connect the modem to switch the connection local only IP address for server 192.168.5.2 subnet 255.255.255.0 de... | Is your server a domain controller? If so, then you probably have dns installed and your nic is configured to use that Dns server. By default Your dns server will not resolve Internet IP addresses. To fix this, open the dns server management app. Right-click on the server name and pick properties. Then you either need ... | 0 | 2 | 3,631 | 2013-03-17T13:37:33.597 | infrastructure | serverfault.com | |
124,214 | Is Silverlight suitable for an enterprise class web-based product UI? | Our team is currently working on building our next generation HIS (Hospital Information System) comprising of over 30 modules (currently estimated at 400 man months), to be possibly hosted in a central location and accessed across geographies. Hence the primary UI NFRs (Non Functional Requirements) would be Multi brows... | We have actualy this problem. We start developpement on Silverligth. It's a prety technology, but it's probably give up by Microsoft. So we change to develop on ASP.NET MVC. So : Probably does'nt work in Windows 8 metro. Not work on other OS. It's very difficult to change Pattern MVVM to another technology. For our cas... | 8 | 2 | 1,180 | 2011-12-09T11:18:05.750 | api_errors | softwareengineering.stackexchange.com | |
631,325 | Setting default_smp_affinity on Linux to the correct value | I have 12 core boxes: [CODE] I would like to use all of the cores so my understanding is that the default_smp_affinity should be set to ffffffffffff. [CODE] How can I make sure that all of the cores are equally used and the default_smp_affinity is set correctly? Versions: [CODE] uname: [CODE] Any input is appreciated. | Actually the fff is the right setting for a 12 core box. The IRQ distribution was not sooth enough this is why I thought it might be misconfigured. | 1 | 0 | 2,877 | 2014-09-25T18:47:05.363 | infrastructure | serverfault.com | |
736,724 | Port-scanning on Cisco router with Nmap | I have Cisco 2911 router just booted with factory settings and no ACLs or NAT configured. All I did is turned on the interfaces and assigned IPs. I am trying to scan for open ports with Nmap, but the output shows that all ports are closed. So I used nmap 192.168.2.1 that returns All 1000 scanned ports on 192.168.2.1 ar... | You are nmapping the cisco router, so you are checking the open cisco ports, not the open webserver ports behind it. If you nmap the webserver you'll find port 80 open. | 2 | 3 | 7,267 | 2015-11-16T15:04:40.577 | infrastructure | serverfault.com | |
1,090,898 | How to keep a Python app running? | My problem is that i want to keep a Python app running, but it stops every 2-3 days. Is there a way to autorestart the .py when it stops. Is there a way to monitor that? Probably there is but i can't find it. Thanks for the help. | There really isn't any reason why a python app should suddenly stop running. I would suggest looking into why it stops (crash, out of memory, ...) and trying to solve that. If you really just want to restart it tough it depends on how you start it in the first place. If you for example start it as a systemd service you... | 0 | 4 | 412 | 2022-01-23T19:34:41.333 | infrastructure | serverfault.com | |
301,655 | How to create a self-signed SSL certificate with subject alternate names (SAN) for IIS websites | Does anyone know how to create a self-signed SSL certificate for use with IIS (7) that has subject alternative names (SAN)s? I need the certificate to be able to validate the hostname AND the IP address like this: CN=MyServerName IP SAN: 192.168.2.2 Some things i've been looking at: Windows SDK: makecert.exe (doesn't s... | I found a way to do this using OpenSSL. I was hoping to use CertEnroll but since it gave me interoperability problems with Java I'm just going to use OpenSSL. Here is how I created a cert for IIS with subject alternative names using OpenSSL. First create a OpenSSL config text file: [CODE] Then run the following OpenSSL... | 6 | 8 | 27,670 | 2011-08-16T14:54:56.663 | api_errors | serverfault.com | |
259,379 | Cisco VPN Client caching dns? | I'm connected to a vendor using a Cisco VPN client that has local LAN access disabled. So when I can connect to my company's website, let's say www.xyz.com, the traffic goes through the vendor's network. Our website's DNS points to a load balancer, and we have several servers behind it. Connections going through the VP... | No, odds are your load ballancer has some sort of stickyness enabled so that you always hit the same server on the backend. As everyone on that VPN has the same public IP, you all hit the same server. About all you can do it disable the stickness and do a true round robin on the load ballancer. | 1 | 1 | 1,736 | 2011-04-13T18:30:06.160 | infrastructure | serverfault.com | |
464,400 | narrowing why server post from perl web app fails on ec2 | Update: I corrected the below permission issue and I can read the log files dancer generates. There was a small code bug, fixed. So now the logs display nothing, but my POST request still just fails silently! :'( Update 2 : I fixed it by just giving write permissions to [CODE] I have: An amazon-ec2 instance with the Am... | [CODE] What are the permissions set to on the [CODE] directory? Whatever user is running your perl script needs to have read/write access to that log directory. You can [CODE] the directory (literally 'change mode') like so [CODE] It's better to put your log directory somewhere expected like [CODE] but that's beside th... | 0 | 0 | 170 | 2013-01-09T13:48:44.947 | api_errors | serverfault.com | |
109,903 | Optimization of a simple M x N dataset | I have a dataset consisting of M questionnaires and N students. Each students replied to some questionnaires. I would like to make the dataset better, by removing some questionnaires and/or some students. The goal is to optimize the dataset so we have as few "holes" as possible. To be clear, a hole in the dataset is wh... | It would be helpful to clarify how and why the dataset should be "optimized". If I'm understanding the question correctly, we can think of this problem as simply a M x N array, where the rows indicate questionnaires and columns indicate students. The entries are 1 if answered else 0. If you want no holes at all (H=0), ... | 0 | 0 | 23 | 2022-04-11T20:31:29.070 | data_quality | datascience.stackexchange.com | |
313,312 | In a master-slave replication mechanism, how do you avoid / cope with the fact that the master is a single point of failure? Is there a solution? | So master-slave replication is great, but it leaves the master as a single-point of failure. What is the strategy to solve this problem, if there is one? I'm looking for the computer science theory behind it, not for a product that magically supports it. Ok, the slave could become the new master, but what's the theory ... | As soon as a master fails, the remaining slaves can elect a new master. For instance, MongoDB documentation explains how a new master is elected. Depending on the specific requirements, additional complexity can be added, such as the presence of non-voting members. If the original master is restored, there are two alte... | 4 | 4 | 994 | 2016-03-20T19:19:17.387 | database_errors | softwareengineering.stackexchange.com | |
266,697 | Calculating the total row size of a table - SQL Server | I have a table 'Connections' with the following schema in SQL Server : [CODE] and it has a primary key clustered index on the ID column. I need to get the size generate by the entries on this table per month. I have search for any existing SP, function or any DMV that can help me with this but I only found how to get t... | You can use the DATALENGTH function to get the number of bytes for each column in a row. You can sum these up to get the total for the row, get the MIN, MAX, AVG and so forth. [CODE] The advantage of DATALENGTH is that it provides the actual used bytes for variable length fields, so there is no need to guess/estimate. ... | 0 | 1 | 8,441 | 2020-05-07T16:03:18.110 | database_errors | dba.stackexchange.com | |
678,212 | Install terminal application after installing minimal desktop Unity on Ubuntu Server | I installed Ubuntu server 14.04.. and to get a minimal desktop, I installed Unity desktop with the no-install-recommends option. The desktop was installed minimally but so is the terminal application missing. How do I get this one application? | Press Ctrl + Alt + F2 , this will bring you to a terminal screen. From there you can [CODE] your preferred terminal. I recommend terminator. To leave press Ctrl + Alt + F7 . | 3 | 3 | 3,319 | 2015-03-25T16:27:42.250 | infrastructure | serverfault.com | |
232,115 | Design questions for a Node.JS based Dashboard | I checked with meta and apparently this is the best place to ask! The company I work at have many environments, and as such, many Nagios/Icinga etc boxes in each environment. We currently have a dashboard, but it was created quickly many moons ago and needs replacing. It currently scrapes the HTML of every box, builds ... | I don't see why you should mix php and node. Both are server side platforms. If you want to be fast, do it with php. If you want to discover a new platform, do it with node. Both tech fill almost the same space in a web app stack. | 0 | 1 | 592 | 2014-03-12T12:29:17.240 | database_errors | softwareengineering.stackexchange.com | |
161,850 | How can I prevent mysqldump from prepending the database name in CREATE VIEW? | When I execute the following: [CODE] The tables are all dumped without the database name, but the views oddly get the database name prepended: [CODE] Because of this I cannot import this file into another database (without manually removing the database names from the file). This happens with the following MariaDB vers... | The user who asked on How to prevent MariaDB mysqldump from prepending database name in CREATE VIEW? , reported this issue on mariadb's jira It seems to have been fixed on Versions 10.3.35, 10.4.25, 10.5.16, 10.6.8, 10.7.4 Another workaround - also seen on that jira ticket - is to monckeypatch the SQL dump. Just to exe... | 2 | 1 | 498 | 2017-01-21T16:51:34.867 | database_errors | dba.stackexchange.com | |
437,386 | Printing on Remote Desktop session | We have to connect a Windows 2008 server using Remote Desktop from Windows XP machine. A Barcode Printer is attached with XP machine and the printer is shared as Local Resource in RDC session to the server. On the server we have to print from an application which prints either to LPT port or shared printer (UNC path). ... | Requirement: Printing from a Terminal Server host to the printer attached to TS Client over Remote Desktop Connection. Create a batch file to accomplish the above requirement. Conditions: TS Client connects TS Host using Static IP. On TS Host, print can be sent only to LPT port. The application running there can't prin... | 2 | 0 | 10,654 | 2012-10-11T16:34:24.553 | infrastructure | serverfault.com | |
63,618 | SQL Server - Data and Log Separation | We have a SQL Server 2008 R2 which has, among others, a 12K RPM HDD and a 7.2K RPM HDD. The original intention was to store the data files on the 12K drive and the log files on the 7.2K drive, as is our usual practice. However, a DBA has advised that this may not be the ideal configuration and that we may see better pe... | The log vs. data separation is sound advice, but the devil is always in the details. A write intensive workload that commits frequently requires the log stream to flush to disk as fast as possible. This in turn requires a sequential write pattern, as the log does, undisturbed by any other operation. Hence, isolate the ... | 2 | 6 | 167 | 2014-04-22T05:13:46.473 | database_errors | dba.stackexchange.com | |
1,076,793 | How to debug PostgreSQL segmentation fault? | I have a PostgreSQL 13 instance that keeps crashing: [CODE] I've updated [CODE] to include core dumps [CODE] and restarted [CODE] service. Now it seems to allow core dumps: [CODE] [CODE] backtrace gives following output [CODE] Adding [CODE] to [CODE] doesn't really help, as [CODE] terminates all processes immediately a... | Firstly install debugging symbols for your distribution, for Debian distros: [CODE] Jump to a frame that contains some [CODE] variable, e.g [CODE] : [CODE] print that variable: [CODE] now copy the line above after equal sign and dereference it using [CODE] [CODE] It doesn't give you the whole query but at least an idea... | 3 | 2 | 9,436 | 2021-09-06T21:29:58.013 | database_errors | serverfault.com | |
528,648 | PsExec :: Access Denied | I am working on PsExec but i get error as "Access Denied " Firewall is disabled on both machine. Ports are also open at both machine. [CODE] | If this is not related to the firewall, which it sounds like it's not, and you definitely have the correct admin password for the remote machine, then check the following: File and Print Sharing is enabled on the remote (and possibly local) machine. The [CODE] share of the remote machine exists and is accessible. The f... | 1 | 2 | 3,563 | 2013-08-05T06:54:57.480 | infrastructure | serverfault.com | |
696,342 | HP B120i RAID0 very slow to read data from disks | I have a HP DL320e g8 v2 server running CentOS 7.1 (kernel 3.10.0-229.4.2.el7.x86_64). This server comes with a B120i onboard SmartArray controller, and it was configured with two identical 3TB Seagate disks in RAID-0. I've installed CentOS 7.1 minimal system, with XFS and bs=4096. After system´s installation, I got th... | Last sunday, I formatted and reinstalled SO using the B120i in AHCI mode. I've used the Linux MD for RAID, and I've got better results. Now, the read rate is about 300 MB/s, and the copy rate from the disks to a LTO-4 tape is about 140 MB/s. It's copying 1 TB to tape in 2h30. It's not the best solution (I would like to... | 3 | 0 | 2,537 | 2015-06-03T13:51:49.143 | database_errors | serverfault.com | |
59,991 | Regarding SQL Server DENY permission on a table | RDBMS: SQL Server 2005 I am connecting to SQL Server through Windows Authentication. My account(domain\me) belong to a group, "domain\alert" The problem is that, even after denying a select permission on a table(actually all permissions), I could still access that table on a new connection. deny select on dbo.perm to [... | From Books Online's Permissions Hierarchy : SQL Server 2005 Permissions Hierarchy http://i.msdn.microsoft.com/ms191465.dd24bb63-ab23-4f72-906f-ebc348fc64d8(en-US,SQL.90).gif It looks like the Fixed database role takes precedence over the permissions given to a Windows Domain Login. I also was under the impression that ... | 1 | 2 | 1,914 | 2009-08-28T14:20:40.280 | api_errors | serverfault.com | |
360,017 | TFS 2010 Kerberos Falls Back to NTLM When Using FQDN | We have a Team Foundation Server 2010 set up using Kerberos. If we're accessing it via http://tfsserver:8080/tfs , everything's fine and users were never prompted for credentials. However if accessing it via http://tfsserver.domain.com:8080/tfs , then IE prompts for credentials. Has anyone experienced a similar issue? ... | First thing to check on your client that the fqdn is in the Trusted Sites zone, and the Trusted Sites zone is configured to "Automatic logon with current username and password". I would also be inclined to create an SPN for the url if it does not exist: http/tfsserver.domain.com:8080 You can show the spn's like this: s... | 2 | 3 | 1,353 | 2012-02-14T15:45:08.963 | infrastructure | serverfault.com | |
35,829 | Unable to run local version of example.com on browser | I wished to run example.com on my local test server (Win XP). For this I was able to setup BIND and configured zones for example.com. The local DNS server and local Apache web server both work well. However when I try example.com on browser it takes me to the original example.com not to the local version. So what am I ... | is it possible that your web browser uses some proxy rather then direct internet connection? probably not - but still worth asking. what does your windows nslookup say when you fire it up on computer where you use web browser? does it say that 192.168.1.2 is one and only dns server? what happens when you type example.c... | 0 | 2 | 2,229 | 2009-07-04T10:05:01.363 | infrastructure | serverfault.com | |
260,324 | How to have PostgreSQL running forever with constant insert and delete per day | Question: Lots of rows are getting inserted every second. Batch deletion is performed when the disk is close to full. This causes two problems: It is impossible to examine actually how much space in how many pages are reusable. All I see is the disk is almost full, because the database does not return disk space to OS ... | based on the requirements. Option 2 looks like the best solution, creating new partitions at X internal and dropping the older data Partitions in Postgresql creates independent tables when a partition is dropped the file is deleted reclaiming disk space You can do this with a PgAgent task, to pre-create the partitions ... | 0 | 1 | 356 | 2020-02-22T19:53:49.923 | pipeline_ops | dba.stackexchange.com | |
560,391 | 2 backup programs - want to stop program truncating exchange logs | I'm managing a server and have 2 pieces of backup software installed. I have StorageCraft ShadowProtect and since signing up for a cloud backup provider we have Peaceguard software also. After having them both running for a few days I've come across a problem regarding exchange. It seems that SP is doing its daily (loc... | Don't do this the way you're doing it. Classic example of "backups are useless without restores." If you have two different products doing incrementals, heaven help you trying to do a restore, because each one breaks the other's log chain. So, change at least one of these tools to be doing fulls, and evaluate your need... | 0 | 4 | 509 | 2013-12-10T14:51:56.180 | database_errors | serverfault.com | |
594,703 | Dns: two pointer (PTR) with same IP resolve to different hosts | I have a Windows 2003 domain. DNS server and DHCP server run on domain controllers. Most workstations have DHCP enabled. Sometimes I have weird network problems and when I diagnose them I can find two pointer (PTR) with the same IP which are linked to different hosts. Making an educated guess those hosts changed IP at ... | It sounds like you might have an old client, that is unable to update DNS dynamically. In the DHCP configuration, you can select to always update DNS A and PTR records. This option should be under the DNS properties. There is no extra configuration required on your DNS server, the DHCP server can take over the DNS upda... | 1 | 0 | 952 | 2014-05-13T07:56:15.830 | infrastructure | serverfault.com | |
624,425 | How can I log on my linux machine with my Active Directory credentials? | I'm on a windows computer RDPing to a RHEL 7 Server. I now want to be able to log into that server using my windows domain credentials(over SSH, preferably RDP too but not necessary). Here's what I have so far : [CODE] returns my domain information [CODE] works fine [CODE] returns all information about that account fro... | After my instructor himself tried to solve this he noticed that it wasn't possible without the Administrator password, so we got one of the Administrators to enter it remotely. I was then able to add a domain account to my local machine, however, I couldn't log in using domain accounts that weren't already created on t... | 1 | 0 | 17,172 | 2014-08-27T13:34:14.500 | infrastructure | serverfault.com | |
826,993 | I use HPKP, my SSL certificate expired and after renewing my website is inaccessible | I have forgot to renew my Let's Encrypt certificate, and I had HPKP used on my website. At the moment, I cannot open my website due to the old pinned keys being there. The browser error I get is (on Firefox): [CODE] What am I supposed to do so my visitors can reach my website again, after I renewed the certificate? | If you're using the [CODE] client, then clearly you should have read up on HPKP before enabling it. The Let's Encrypt client actually generates new keys whenever issuing new certificates, regardless of whether they expired or not so pinning your keys will never last you longer than 90 days before you run into issues li... | 0 | 3 | 307 | 2017-01-18T11:43:31.653 | api_errors | serverfault.com | |
664,838 | #openshift server unavailable 503 error | I have application created on TOMCAT7 (JBOSS EWS) using Mysql DB. My application keeps getting 503 error (service unavailable) [WARNING] 033/104029 (124189) : Server express/local-gear is DOWN, reason: Layer7 timeout, check duration: 10001ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remainin... | The problem might be that you're not serving anything at the root of your express app, so you need to modify haproxy configuration file, find the file that mentions express and httpchk and change from / to something that responds to request. Alternatively, just serve something up on / so HAProxy doesn't keep restarting... | 0 | 0 | 1,463 | 2015-02-04T07:32:32.890 | database_errors | serverfault.com | |
249,226 | Create CVS user when a LDAP user is created | I am running [CODE] and also [CODE] is installed on the server. I had to migrate my ldap server to the new ubuntu edition and it's migrated. I will be using [CODE] to administer some things. In the webmin there is an option to select so that whenever a LDAP user is created a CVS user is also created with same name & pa... | Yeah, I could able to see all CVS users from the migrated ldap. Where I did wrong is, I installed the cvs service just after migrating the ldap users. And I was checking all the CVS user in the cvs users list on the webmin tool for the migrated ldap users. The key is, the CVS repositories should also be migrated after ... | 1 | 0 | 524 | 2011-03-19T02:30:34.980 | infrastructure | serverfault.com | |
965,814 | AWS RDS (PostgreSQL) - Lost all privileges after upgrading from v9.6 to v10.6-R1 | I just upgraded my AWS RDS DB instance from Postgresql [CODE] to [CODE] . I did this manually using the "Modify" tab in the Databases section under the Dashboard. Immediately afterwards, as the master user, I lost the ability to perform any operations in the [CODE] schema. I can connect to the DB without issue, but am ... | So running these two statements resolved my issue (being unable to access anything in the [CODE] schema): [CODE] However my [CODE] role's attributes haven't changed, and I would definitely like to understand if this is normal (I don't think it is): [CODE] | 1 | 0 | 1,551 | 2019-05-03T21:31:32.710 | database_errors | serverfault.com | |
225,014 | Percona Xtrabackup fails to backup InnoDB table with fulltext index | I'm trying to make a backup of a large InnoDB table with a fulltext index using Percona Xtrabackup (2.4.12). I have innodb_file_per_table set. To create the backup, I'm running: [CODE] Then I create the table exports: [CODE] The --export run produces an error message for each of the fulltext index files ("FTS...") in m... | Do I have to do the --export run right after I create the backup ? Or can I delay that until I actually need to restore a backup ? Not necessarily, as long as the backup completes with [CODE] then it is assumed that the backup is successful. It is still best practice to test your backups regularly. What can I do about ... | 0 | 0 | 517 | 2018-12-14T15:42:25.137 | database_errors | dba.stackexchange.com | |
66,447 | PCA Regression Problem | I have a regression problem whereby my data has 21 features and I wish to apply dimensionality reduction using PCA. As far as I know, all the tutorials I have seen so far use PCA for classification problems. I did do PCA for regression but I am un-able to display the nice scatterplots that show the PC1 on the x-axis, t... | First of all, you can project your explanatory variable (continuous) in your first plane (PC1 + PC2). The direction of the arrow (projection) and how far goes from the axis origin will tell you how the points are distributed according to this representation of variables in your factorial plane. On the other hand, the q... | 1 | 1 | 98 | 2020-01-14T09:12:08.970 | data_quality | datascience.stackexchange.com | |
134,669 | Join second table based on third table with conditions | I"m using Doctrine for a website that has 3 tables to connect together. In simplest terms, they look like this [CODE] I want to join Jobs to Contractors based on a date range, but you can see that the only way to do that is through the ContractorJob table. It means that a simple inner join between Contractor and Contra... | There are several problems with the query The [CODE] list is missing. The join syntax needs [CODE] , not [CODE] : [CODE] There is a missing [CODE] condition (what you correctly identified as arbitrary/random join between [CODE] and [CODE] ). There are column names mismatches between the code and the design: ( [CODE] vs... | 2 | 3 | 9,102 | 2016-04-07T13:59:23.427 | warehouse_errors | dba.stackexchange.com | |
219,434 | access an IP restricted service from a dynamic IP (Broadband modem) on a windows machine | I dont know if this is the correct place to ask this question but here goes .. (please note that I am pretty much a newbie in terms of networking and I work primarily on the windows platform) I have been working on accessing and consuming some web services in C#/ASP.Net, these web services that I consume are IP restric... | If you don't want to (or can't) use VPN, perhaps SSH might be an option. A Windows port of OpenSSH exists, which should allow you to set up a tunnel. Alternatively, you can set up an authenticating SOCKS proxy using FreeProxy . | 1 | 1 | 489 | 2011-01-06T14:56:35.737 | infrastructure | serverfault.com | |
93,149 | Is it acceptable to use label encoding for nominal categorical data when one hot encoding would create too many features? | I'm working on a short data science project to compare the accuracy of different classification methods. The groups decided to use and compare Random Forest, Naive Bayes and SVM. The dataset we are using has four categorical features. Each of which has a large number of unique values. There are 16537 unique combination... | These are some of the things you could try to reduce the dimensionality of your dataset:- 1.) The first thing to do is feature engineering. Try to combine 2 or more features into 1 without losing sense of that variable. For example if you have a dataset of price prediction of used cars, and you have [CODE] and [CODE] a... | 2 | 1 | 680 | 2021-04-16T17:10:31.637 | data_quality | datascience.stackexchange.com | |
558,754 | Application Data Redirection Permissions | I setup application data redirection for my users (which is needed due to my users using different computers all the time and their expectation of getting the same user experience on each machine). Folder redirection works fine except for the app data folder, where several programs (not all of them) are having issues a... | Some applications just don't work with folder redirection because they are having trouble with UNC paths. There's not much you can do about it except turn folder redirection off for AppData if you really need those applications or hope there's an update for the application that fixes the issue. | 0 | 1 | 146 | 2013-12-02T20:40:02.150 | infrastructure | serverfault.com | |
18,997 | Why does 10^37 / 1 throw an arithmetic overflow error? | Continuing my recent trend of playing with large numbers , I recently boiled an error I was running into down to the following code: [CODE] The output I get for this code is: [CODE] What? Why would the first 3 operations work but not the last? And how can there be an arithmetic overflow error if [CODE] can obviously st... | Understanding Precision and Scale in the context of Arithmetic Operations Let's break this down and take a close look at the details of the divide arithmetic operator . This is what MSDN has to say about the result types of the divide operator : Result Types Returns the data type of the argument with the higher precede... | 11 | 18 | 1,460 | 2012-06-08T19:47:32.003 | warehouse_errors | dba.stackexchange.com | |
41,016 | Separating tables vs having one table | At the moment I have a table setup that looks somewhat like this: [CODE] a type would be something like: country, state, city etc etc. I would then join to the various type tables like this: [CODE] with other tables like tbl_cities2locationcollection etc etc. Is this style of seperation better for speed and readability... | First of all, mysql (and other sql databases) are RDMS meaning that they are based in the relational model . This means that the design should be about entities and their relations. In your case: Entities: locations, types. Relation: one location can be of one type (if I have understand you correctly). This is a one-to... | 1 | 1 | 324 | 2013-04-26T14:21:01.293 | warehouse_errors | dba.stackexchange.com | |
1,152,414 | Trying to understand if fail2ban is working on Debian 10 VPS | I have a Debian 10 server running on a VPS. The only software I installed is: tinyproxy (http proxy) and fail2ban I have included the results of port scan using nmap I have included my specific settings in the fail2ban jail.local file. I have included my specific settings in the fail2ban fail2ban.local file. I have inc... | It looks like it's working according to your log file. [CODE] Fail2ban also has it's own tool to check the status with [CODE] On my machine where it's working it looks like this [CODE] | 0 | 1 | 196 | 2024-01-27T23:01:08.970 | infrastructure | serverfault.com | |
89,362 | GZipStream/DeflateStream compressions alternatives | I have created a simple CLR functions for compressing/decompressing [CODE] columns: [CODE] The compression ratio I get is about 4 or if I have 1024 KB of not compressed data I will get 256 KB of compressed data. I am aware that the ratio depends on the data itself and its size, but I want to get a better ratio. As I am... | Here are some thoughts on this: Do you know that you should get better compression on the strings that you have tested with? Have you tested those same strings by gzipping outside of .NET? Such as on Linux / CygWin -- DOS port of UNIX utilities / PHP / etc? If you have updated your system with .NET 4.5, then you are us... | 6 | 5 | 2,942 | 2015-01-15T12:20:41.470 | database_errors | dba.stackexchange.com | |
709,231 | SQL Server 2012 Service not starting (Probably related to Service Agent issue) | I have an application (Dynamics AX 2012) that can't connect to the SQL server. I log onto the SQL server, and open SQL Server Management studio and can't connect to the database engine. I check the Sql Server configuration manager and all the services except SQL server browser are stopped and I can't start any of them.... | Launch SQL Server Configuration Manager, then select SQL Server Services, then access the properties of each service, then configure the credentials on the Log On tab. | 0 | 0 | 793 | 2015-07-29T01:01:28.560 | database_errors | serverfault.com | |
1,024,124 | Getting the same email at the same time from root@server.myserver.com. Not sure where it came from | I created an AIDE script that able to monitor file changes in my hosting, and when something file has changed, it will send an alert email about the changes. In my opinion, I don't think the script has problem. So let me share with you anyway: Here is the script in my git repo: AIDE Script Cron Job To run this script, ... | Due to the problem about db_spec from AIDE so I found out that exim was trying to resend large attachment for many days. (I think maybe a random bug from the disk read or the way how AIDE read the AIDE database). The db_spec error from AIDE means that the database was empty (but in fact it was not). AIDE did not comple... | 0 | 0 | 206 | 2020-07-05T22:12:14.947 | infrastructure | serverfault.com | |
471,419 | Azure VM : Connection refused by host | I recently stopped a subscription with 14 VMs in it and restarted it a few days later. Now all my VMs are working just fine at the exception of 6 used for MongoDB. They respond to ping and so they show as online in the azure dashboard but they do not answer to anything else. I tried (from different locations, in and ou... | There is a better and faster solution than downloading/uploading the VHD. As mentioned, the problem " was recognized to be a missing newline in the sshd_config file! " 0. The first step should be different though, because otherwise you can lose your current Cloud Service IP, if you delete the last VM in it - and on web... | 4 | 5 | 11,580 | 2013-01-22T15:57:18.073 | api_errors | serverfault.com | |
833,089 | Why is IIS not allowing TCP connections from external IPs through NLB | I've got a development web server environment consisting of 2 Windows 2012 VM's configured with NLB (Multicast mode.) They are each using a single network adapter with 2 IP's assigned: the shared NLB IP, and their non-shared individual IP. Our usage pattern is to run builds and deployments to one of the VM's while it i... | One of our server admins found the issue: The problem VM was missing the correct default gateway IP address in its network adapter settings. This would seem to explain why local requests were OK but requests from outside IPs were getting dropped. For future reference, a good test in this situation would be to check tha... | 1 | 1 | 881 | 2017-02-17T01:46:31.013 | pipeline_ops | serverfault.com | |
414,098 | How can I diagose 100% CPU consume of svnserve.exe? | Our Subversion server goes to 100% CPU consume after some hours of work. A restart solve the problem for some hours only. The commit and checkout will be very slow in this case. How can I find the cause of the problem and solve it. Is there a monitor that show the running command and which client has produce it? | I would start by investigating the [CODE] with Process Explorer to see if there is also a lot of disk I/O or if the load is in user space or interrupts or DPCs, then I would use Process Monitor to find out what is really doing. Pay attention that Process Monitor will increase significantly the load on the server. | 4 | 1 | 1,218 | 2012-08-02T13:28:58.187 | infrastructure | serverfault.com | |
999,559 | How to send IPv6 packets from different addresses under my prefix? | I am trying to figure out how to make use of all of the addresses I have on my VPS with a /64 ipv6 prefix. However, when I try to send messages they always exit via the address assigned to the interface, I can't figure out how to get them to leave via a specific IP. Here is my ifconfig output for the relevant interface... | Assuming you want to use a different IPv6 address for a one-shot job or a short period, you can simply add (or change) an IP address using the [CODE] command eg: [CODE] In this example you add an IP address to interface eth0 with a lifetime of just 2 minutes. You can also tell Curl to use a specific interface/outbound ... | 0 | 1 | 327 | 2020-01-19T17:15:04.287 | infrastructure | serverfault.com | |
311,337 | Determine what to draw based on neighbour tiles? | I have a tilemap and I want to add walls to it. I painted 16 images, one for each possible combination. For example: A lone wall tile would get a image that has walls around. A corner would get either four of the corner images. A T intersection would get one of the 4 T intersections. etc... I could make 16 statements b... | If you just want to improve readability, why not just extract some booleans out for those conditions? Then things would be more readable. Alternatively, if you want another approach here's what I came up with: You could do this with some bit masks without too much trouble and it would greatly simplify your code. You es... | 1 | 1 | 152 | 2016-02-28T18:47:19.760 | api_errors | softwareengineering.stackexchange.com | |
243,846 | What are the requirements on a windows domain controller? | Is a single CPU-server ok? What about RAM and network-connection single 100MBit/S or better dual 10GBit/S? What are the parameters to decide? count of users or kind of servers in the domain like web-server or database-server like sql server 2008R2? | The basic requirements for a domain controller are, on paper, no different to the requirements for installing Windows Server in the first place. That is, the requirements to just install it and have it sitting there. So, from the Microsoft windows 2008r2 website : Processor Minimum: Single processor with 1.4 GHz (x64 p... | 5 | 12 | 52,242 | 2011-03-06T11:47:24.773 | database_errors | serverfault.com | |
506,323 | How to update bash 3.1.x to 3.2.x? | [CODE] | You are on an incredibly old, outdated, and unsupported version of Fedora Core, not CentOS. Fedora Core 6 was end-of-lifed on 2007-12-07 , and because of Fedora Core's rapid release cycle, it is almost never seen on servers. Consider migrating to a more enterprise-friendly distro with longer support cycles (like CentOS... | -3 | 6 | 294 | 2013-05-09T10:34:19.767 | infrastructure | serverfault.com | |
337,459 | Before update trigger not triggered when change comes via logical replication | I have a test scenario of two postgresql databases connected via logical replication. DB "A" is publishing inserts and updates for table "a1" and DB "B" is subscribed and receiving everything without problems. I added a trigger before update for table "a1" on DB "B". It is working for update statements executed locally... | It may be tricky to find, but it's documented here The logical replication apply process currently only fires row triggers, not statement triggers. Although, looking at the attempt to use [CODE] in the trigger function, I think that you wanted to create a [CODE] trigger instead of [CODE] . Try with row trigger: [CODE] ... | 0 | 0 | 27 | 2024-03-04T13:07:42.483 | database_errors | dba.stackexchange.com | |
916,581 | docker-compose link with container running on host network | I have a postgres container running as [CODE] network_mode and a Nextcloud container running on default (bridged) network with port [CODE] . How can I link the containers so that Nextcloud can access postgres? I've tried adding this to my [CODE] , but it doesn't seem to work. [CODE] Command I use to run postgres: [CODE... | It is not recommended to run containers with [CODE] . You can just include postgres in you docker-compose without much effort: [CODE] A network will be created automatically, so that you can now connect to the database on [CODE] . | 0 | 0 | 2,555 | 2018-06-14T02:57:41.263 | pipeline_ops | serverfault.com | |
850,237 | Install PHP-Mysql without mariadb-libs | I'm trying to install PHP on my server, running Centos 7.3; I've installed php 5.4, and have MySQL Server 5.6.28 running there too. When I'm trying to install php-mysql, it's trying to install mariadb-libs for dependencies, and it stops with errors: [CODE] When I proceed: [CODE] Is there a way to install PHP without th... | php-mysql use the mariadb client library (libmysqlclient) php-mysqlnd use the MySQL Native Driver and provides the same set of extensions (mysql, mysqli and pdo_mysql), so don't have any dependency on the libmysqlclient. See choosing a library To switch from one installed package to the other, in yum expert mode [CODE] | 2 | 2 | 1,165 | 2017-05-15T16:39:22.630 | database_errors | serverfault.com | |
877,654 | 2017-10-09 AWS Cloudwatch metrics older than 63 days are missing | Is anyone else experiencing this? AWS Cloudwatch Metrics are supposed to be saved for 15 months. 1 minute metrics are rolled up into 5 minute metrics after 2 weeks, and 5 minute metrics are rolled up into 1 hour metrics after 2 months. Currently, as of October 10, 2017, my AWS Cloudwatch console is not showing any metr... | Graphed metric > Period (set 1 hr) Then you can view metrics up to 457 days then. | 0 | 0 | 548 | 2017-10-09T17:33:01.733 | infrastructure | serverfault.com | |
418,923 | How to set Apache to return 403 on images used as CSS backgrounds | Possible Duplicate: How to prevent hot linking (“image theft” / “bandwidth theft”) of ressources on my site? I'd like to configure my Apache server similar to a working configuration I noticed on the Farming Simulator website. They use CSS background images for their main navigation bar but if you try to view an image ... | First I want to tell you that this is a very futile act. As soon as you see the image in your browser, it has been downloaded to your computer. When I followed your link directly I had a 403. Then I visited the page and I could even see the image in the link because it was in the cache. I believe this effect is produce... | 0 | 1 | 552 | 2012-08-18T14:35:42.903 | data_quality | serverfault.com | |
1,099,466 | How can I setup 2FA on non-interactive SSH connections? | I would like to add a level of security for logins to an SSH server (Ubuntu), using two factor authentication. One particularity on how the users connect to the SSH server is that sometimes they do it in a non-interactive way: the SSH server is configured in the users' MySQL client to be used as a bastion/proxy to reac... | You could use an SSH-CA to issue temporary short-term OpenSSH user certificates only valid for a couple of hours. The user has to request the cert by authenticating with any MFA solution you prefer. The SSH cert and private key will be loaded into the SSH key agent and can be used until the user cert expires. There are... | 0 | 0 | 438 | 2022-04-26T06:14:56.977 | api_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.