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 |
|---|---|---|---|---|---|---|---|---|---|---|
722,902 | Is there a way to get the cmdlet for data deduplication when running an Unoptimization job? | I deactivated data deduplication on one of my drives because it doesn't work well with the backup system. I then started an unoptimization job in Administrative PowerShell. After that I realized I didn't put the priority up high so the job runs faster since there is no load on that server at the moment. So I tried stop... | Make sure the Deduplication module is imported in Powershell, otherwise the commands will not be available: Import-Module Deduplication | 1 | 1 | 4,275 | 2015-09-17T02:01:23.503 | database_errors | serverfault.com | |
327,166 | pgbench: generating a random padded string | I have the IMDb database in PostgreSQL 16, and I am trying to generate random strings for performance benchmark. The relevant table is [CODE] with the primary key column [CODE] , VARCHAR(9). [CODE] has values in the form of 'tt0000000', where the zeroes represent numbers, e.g., 'tt0000001' and 'tt9999999'. I want to wr... | [CODE] in a [CODE] condition will be executed for each row, returning a different value every time, which prevents the use of an index scan. The traditional workaround is a subquery: if that does not reference any outside columns, it is executed only once ( [CODE] ), so that the result is constant and an index can be u... | 0 | 0 | 251 | 2023-05-16T09:13:55.190 | database_errors | dba.stackexchange.com | |
754,906 | Are GCE instances connected to Google Cloud SQL via trusted network? | I want to connect Cloud SQL from PHP application on GCE instances. The PHP application cannot connect to Cloud SQL via SSL connection due to old library version. I'm considering to connect from GCE instance to Cloud SQL instance without SSL. In that case, is data protected from others? It is OK that exchanged data is a... | No, the networking route from GCE to Cloud SQL should not be considered trusted. You should work towards upgrading your PHP application. | 0 | 1 | 46 | 2016-02-09T06:40:02.633 | infrastructure | serverfault.com | |
380,935 | How to ban hardware interrupts with IRQBALANCE_BANNED_CPUS on Ubuntu? | I would like to ban interrupts from certain CPUs. I heard about the IRQBALANCE_BANNED_CPUS option. I see irqbalance is running in the background of my machine. Where do I go to edit and how do I configure that option? For example, I want to exclude cpus 2,3,4,5 from interrupts. The argument descriptor is: Provides a ma... | You set IRQBALANCE_BANNED_CPUS in /etc/default/irqbalance . I found this by looking in /etc/init.d/irqbalance . But what are the valid values for that setting? From Red Hat's man page: This is a hex mask without the leading '0x', on systems with large numbers of processors each group of eight hex digits is sepearated b... | 9 | 7 | 18,044 | 2012-04-19T00:37:10.660 | infrastructure | serverfault.com | |
427,608 | Should I never put a transactional replication distributor on a subscriber server? | What factors into choosing a distribution server for transactional replication? In our topology, we've always had the distributor reside on the publishing server. We rarely generate snapshots and performance is good enough, so this is okay for us today. One of our instances is moving to a windows cluster with availabil... | I'd keep the distributor as close to the publisher as possible. My reason for saying this is that one of the conditions for a log reuse is whether or not all of the records in the VLF have been processed by the log reader. If, for some reason, your line goes down between your publisher and the distributor, your log is ... | 0 | 3 | 744 | 2012-09-14T20:56:33.057 | database_errors | serverfault.com | |
61,009 | restarting postgresql quickly | I'm reading over the postgresql admin cookbook. Some of the database server parameters require a restart and with a busy database, you may need to restart quickly. There are a number of things to do to speed up restart: 1) issue a normal checkpoint before shutdown checkpoint, 2) flush all dirty shared_buffers to disk, ... | If your clients cope well with being disconnected, and don't lose data, you should probably use the first process: Force a checkpoint, then perform an immediate restart. That'll get the server back up and running faster than a [CODE] restart will, at the cost of greater disruption to currently active clients. Client ap... | 5 | 1 | 1,996 | 2014-03-15T15:55:38.050 | database_errors | dba.stackexchange.com | |
1,080,421 | How do I get my server HSM working while connected via RDP? (Win 2019) | The error I get from pkcs11-tool.exe is "No slots." My server has a hardware security module (Nitrokey HSM 2) that becomes inaccessible once I connect to my server via Windows Remote Desktop. Note: this is NOT for logging in with smart cards. I use my HSM to decrypt data with its private key. I use this HSM with the pk... | It's hard to categorize this subject, so I tried my luck in the Security Stack Exchange and got my answer there. This is my post: https://security.stackexchange.com/questions/256336/how-do-i-get-my-server-hsm-working-while-connected-via-rdp-win-2019/256391#256391 | 1 | 0 | 173 | 2021-10-13T14:12:29.190 | infrastructure | serverfault.com | |
152,387 | setting up a sub domain on windows hosting | I'm trying to set up a sub domain for development on a windows server and am having problems setting the correct details in the httpd.ini file and hoped someone could help. I have set up the subdomain [CODE] The files that I want to use for this subdomain are on the server in a folder called development [CODE] in the d... | Aren't vhosts supposed to be implemented as vhosts instead of rewrites? http://httpd.apache.org/docs/1.3/vhosts/examples.html dev.website.com /htdocs/development [CODE] | 0 | 1 | 118 | 2010-06-17T15:03:02.457 | infrastructure | serverfault.com | |
134,026 | Cannot execute as the database principal because the principal “guest” does not exist | Recently moved SQL Server from a desktop to a virtual machine and now facing the below error message while connecting to SQL Server using SQL Authentication. -2147205987:[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot execute as the database principal because the principal “guest” does not exist, this type of pri... | I have not needed to overcome this problem on a SQL Server except when I make a mistake with permissions. I do not endorse the below, because I have not spent time on the problem. However, for what it is worth, Symantec has an article on this issue using SQL Server 2012 and Windows 2012 at: Cannot execute as the databa... | 3 | 1 | 11,007 | 2016-04-01T05:01:03.447 | api_errors | dba.stackexchange.com | |
331,622 | postfix virtual mailbox and forwards | I setup postfix to run with virtual mailbox setup: [CODE] /etc/postfix/virtual: [CODE] /etc/postfix/virtual_mailbox [CODE] My question is; where should I set aliases for existing user accounts, forwarding to another email address or piping to a local file? For example; I want to set these three: [CODE] Should I set the... | I found that pipes and aliases should be set in the [CODE] file. Virtual mailbox users can be set under the [CODE] file. | 1 | 2 | 256 | 2011-11-16T17:01:37.080 | infrastructure | serverfault.com | |
176,523 | Is Google Closure a true compiler? | This question is inspired by the debate in the comments on this Stack Overflow question . The Google Closure Compiler documentation states the following (emphasis added): The Closure Compiler is a tool for making JavaScript download and run faster. It is a true compiler for JavaScript. Instead of compiling from a sourc... | The Closure Compiler is a minifier , an optimiser and a validator all-in-one. That kind of puts it in its own category, because you're correct that a compiler should at least take something that won't run in its current form and turn it into something that will (take TypeScript for an ECMAScript-based example). But do ... | 19 | 23 | 1,944 | 2012-11-20T13:53:46.170 | api_errors | softwareengineering.stackexchange.com | |
835,946 | NFSv4 server Errors | I have an nfs server exporting /homes and clients mount this using sssd and ldap. Everything works fine. But, i recently created a central rsyslog server and all my nodes log to this server and I found a couple of error messages as below. rpc.idmapd[15353]: nss_getpwnam: name '10092' does not map into domain Should I b... | If you've got a user who can't access their home directory, this would be why (the server isn't able to map their local UID to an account it recognizes, hence this error message). If there is such a user, you'll want to figure out why they're not being mapped (could be due to misconfiguration of either the server or cl... | 1 | 0 | 343 | 2017-03-02T18:45:47.377 | infrastructure | serverfault.com | |
116,386 | mongoimport error - Failed: error connecting to db server: no reachable servers | I am currently trying to learn [CODE] and I am having trouble finding a solution for this problem. When I run a [CODE] command it I get the following error: [CODE] When I substituted [CODE] for [CODE] I get the following error: [CODE] The document that I am trying to import is not corrupted as I got it from a MongoDB t... | I have gone through the error and checked out, the problem is resist with mongoimport syntax. The mongoimport shell is unable to find the location of ( [CODE] ) file. And also there is mistake like --jsonArray . As per [CODE] --jsonArray Modifies the output of [CODE] to write the entire contents of the export as a sing... | 1 | 1 | 19,681 | 2015-09-28T21:21:12.530 | database_errors | dba.stackexchange.com | |
6,596 | How long should test results be kept? | We've got Jenkins jobs running Unit Tests, Integration Tests, JMeter Tests, and Selenium Tests. Given my choice I'ld keep all these test results forever, but maybe that is excessive. How long does your team keep test results? How far back in history have you found useful? Have you run into any performance issues relate... | As always, it depends. If there are regulatory requirements, results need to be kept for as long as the regulations state. Otherwise, it's a business decision. 1. How long does your team keep test results? In my experience this depends on a number of factors. I've been in places where test results for new development w... | 5 | 4 | 1,886 | 2013-08-11T22:58:09.020 | pipeline_ops | sqa.stackexchange.com | |
613,690 | MySQL suddenly taking 2000 ms per request, instead of 200 | UPDATE : finally remembered to look at munin, and it seems that one of the HDDs is the root of the problem after all, unless I'm totally reading this wrong. Here's the munin output: http://imagizer.imageshack.com/img536/1070/9d5c62.png . Am I right in thinking that one of my HDDs probably needs replacing, or could some... | Tried to run an HDD check on sdb, which wouldn't finish... (initially I thought I had run an HDD check that finished, but I incorrectly thought I was testing sdb when I was actually testing sda). So in this case the answer to my problem was to check Munin, notice the thrashing (failing) disk, and replace it. Everything... | 1 | 0 | 682 | 2014-07-18T16:27:40.390 | database_errors | serverfault.com | |
254,287 | select subquery condition in where statement | I am getting this error: ORA-06550: line 43, column 16: ORA-00904: "STOCK_BALANCE": invalid identifier ...for the following query: [CODE] Even when I remove the [CODE] as suggested by Vérace I still receive an error message: [CODE] Error message: ORA-06550: line 41, column 19: ORA-00904: "STOCK_BALANCE": invalid identi... | You can't reference a column alias on the same level where you introduced it. You need to wrap your query into a derived table. Note that the columns in the SELECT list of your sub-query are pretty useless as you are only using the [CODE] column in the outer query: [CODE] | 0 | 1 | 386 | 2019-11-27T21:35:34.337 | warehouse_errors | dba.stackexchange.com | |
918,080 | Getting "Couldn't connect to realm service" error while joining rhel7 instance to a domain | I am trying to join a [CODE] node to a domain using a chef cookbook but getting error: [CODE] Even if I install only [CODE] package and try to run [CODE] command it times out (specific to [CODE] ). | Is realmd running? You can verify this by running: [CODE] The if it's not running you can start it with: [CODE] And then make sure it starts at boot: [CODE] | 4 | 1 | 10,123 | 2018-06-25T12:12:41.673 | pipeline_ops | serverfault.com | |
224,938 | Cannot allocate memory for the buffer pool when using remote access MySQL | I tried to separate the webserver and mysql server. MySQL server = 16GB RAM and the config of Innodb_buffer_pool_size = 10GB. And my Web server = 4GB RAM My website connect to my database server using remote access with IP assigned. When I running a website it feels very slowly and then web goes down with the log "Cann... | "Separate" -- meaning they are on 2 different servers? If so, then 10GB for the buffer_pool should be fine for a mysql-only server with 16GB of RAM. If you have both on the same server, set the buffer_pool to [CODE] down with the log "Cannot allocate memory for the buffer pool" Something is hogging memory. It could be:... | 0 | 0 | 658 | 2018-12-13T22:57:36.153 | database_errors | dba.stackexchange.com | |
830,924 | Can I use syslog-ng to mirror all log files on a remote server without specifying every file? | Can I use syslog-ng to mirror all log files onto a remote server without specifying every file? Both are running syslog-ng OSE version 3.5.2. The file("/var/log/*") setting seems promising, but it does not appear to recurse, and reconstituting the file names on the other side of a syslog() source seems daunting. Should... | it depends. If you have applications that log directly into files under /var/log/, then you have the following possibilities Reconfigure the applications to log into syslog instead of files, then syslog-ng can read the incoming messages and forward them to your logserver. If your applications support logging into syslo... | 0 | 0 | 1,760 | 2017-02-06T19:53:42.420 | infrastructure | serverfault.com | |
210,647 | "ORA-02270: no matching unique or primary key for this column-list" on table creation | The error is in the Items table. What could be the reason, how to fix it? [CODE] | Remember that primary key of the Menus table is menuid + user_id. Thus, you can not reference only menuid. The solution is: Replace: [CODE] with: [CODE] | -2 | 3 | 1,747 | 2018-06-26T21:35:00.663 | warehouse_errors | dba.stackexchange.com | |
54,470 | Help interpreting a MySQL execution plan | I'm trying to understand a slow query. The SELECT has been running (at this moment) for almost 18000 seconds (output from a SELECT on PROCESSLIST): [CODE] It's spent all that time (as far as I can tell) in [CODE] state. What should I be looking at in the EXPLAIN to tell me about what this query is doing? Here's the tab... | [CODE] in [CODE] output most likely indicates bad indexing or unused indexes and also the using where in the column extra in the explain output is indicating this. It looks like lots off random disk I/O lookup needs to be done on your MYD an MYI files based on your range scan type: ref in the explain output can indicat... | 1 | 1 | 221 | 2013-12-04T22:34:30.843 | database_errors | dba.stackexchange.com | |
606,133 | ADCS - How can I diagnose the exact reason a certificate request was denied by a policy module? | I need to develop operational procedures to audit and understand why a specific request was rejected by an Active Directory Certificate Services (ADCS) Policy Module. I've attempted turning on all logging (checkboxes) in the GUI, and checked the Eventlog. I only see one event log entry per failed request, however I don... | This link describes how to extract more logging from the certificate service. A restart may be required. To enable debug logging for the native Windows CertEnroll client, execute the following command: Certutil –setreg enroll\debug 0xffffffe3 The log file is in the following location: %windir%\CertEnroll.log certutil –... | 2 | 1 | 13,512 | 2014-06-18T15:16:10.633 | infrastructure | serverfault.com | |
770,912 | Turning on HP ProLiant DL 580 G5 with broken power button? | I have an HP ProLiant DL580 G5 whose power button does not work. The server runs, but the button does nothing. Unfortunately, the server has turned off, and I guess my "boot on power" settings did not stay. I also know nothing about ILO, but maybe it's an option? How do I turn on this server without a working power but... | In the future, know that the power button is simply a momentary contact switch. This means there are two wires and jumping them together for a split second with anything will energize (or deenergize, if held for a few seconds) the host. | 0 | 2 | 1,043 | 2016-04-17T01:26:29.883 | infrastructure | serverfault.com | |
509,082 | How to send mail by primary IP? | In a Debian server, I added a second IP by the following configuration in [CODE] [CODE] Now, [CODE] sends emails with the second IP instead of the primary IP. I use a dedicated IP for each domain managed by [CODE] . Is it possible to send email from each domain by the IP dedicated to that domain? If NOT, how to use the... | Its possible to use the IP dedicated to that domain for sending. You need sender dependent transport maps. Something like this: add to /etc/postfix/main.cf: [CODE] /etc/postfix/sender_maps: [CODE] add to /etc/postfix/master.cf [CODE] Do a [CODE] and reload postfix. To accept mail's on both IP the best probably to have ... | 1 | 3 | 493 | 2013-05-19T17:13:48.820 | infrastructure | serverfault.com | |
316,394 | Help in writing more generic code | I'm doing a php MVC project using code igniter. I have two models, a and b. Each class contains four functions (insert, delete, update and view) and their implementations are almost the same with each other. A friend suggested to put generic versions of the four functions inside a utility class and the two models can a... | Have an abstract base class and two concrete derived classes. You didn't tell us what is different, but only said "their implementations are almost the same with each other". Let's assume the database name is the only difference: [CODE] See also: https://ellislab.com/codeigniter/user-guide/database/connecting.html Conn... | 4 | 4 | 976 | 2016-04-21T13:43:56.560 | api_errors | softwareengineering.stackexchange.com | |
63,436 | Error checking with sp_send_dbmail | This question is kind of multifaceted. First, what I'm trying to actually accomplish: I am in an environment where there is not really heavy data validation on inputs. So there is lots of opportunity for errors from a business logic perspective. This alone is not the biggest sin, but there is no form of followup/reconc... | I would suggest one of the below: Method 1 For each error condition, create an inline, table-valued user-defined function which generates the erroneous results. Make a table which contains all of the function names, with a field for the email recipients. Build a procedure (MailErrorResults) which takes a function name ... | 2 | 2 | 3,622 | 2014-04-17T16:50:46.440 | data_quality | dba.stackexchange.com | |
15,867 | Docker warning about platform not matching the host platform | I have a Dockerfile that works on both mac and windows. But when I create an actual container on mac, I always get a warning that says: [CODE] This is despite the fact that when I create the image, I'm specifying amd64. Here's the relevant part of the Dockerfile: [CODE] And the command I use to create the image is: [CO... | The warning is just a warning, though Docker states in Known issues for Docker Desktop > Known issues for Mac with Apple silicon that containers will be slowe, use more memory, and can even crash: ... attempts to run Intel-based containers on Apple silicon machines under emulation can crash as qemu sometimes fails to r... | 0 | 0 | 3,967 | 2022-04-26T13:58:02.957 | pipeline_ops | devops.stackexchange.com | |
322,209 | How to index a Postgres Full-Text Search across relations | I'm in the process of adding indices to support full-text searching in our PostgreSQL (12) database. I noticed that everything works well if all searched columns are in the same table, but that is not my use case unfortunately. Instead, the query no longer uses the index as soon as I search a column from an associated ... | PostgreSQL has no choice but to calculate the whole join and discard the rows that don't match the condition (see this article for an explanation). The classical solution for that is to write two queries and combine them with [CODE] : [CODE] If all conditions (including the join conditions) are indexed and the query se... | 0 | 2 | 953 | 2023-01-17T13:45:22.130 | database_errors | dba.stackexchange.com | |
41,548 | User with dba privs can't login to APEX, but can from SQL*Plus | I'm using Oracle 11gR2 XE. A user with dba privileges can't log in to the APEX interface, but can from the command line with [CODE] . I just created user: [CODE] If I run [CODE] , type [CODE] and log in with "superuser", I get access. But the web interface (APEX) denies access with an "invalid credentials" error messag... | The APEX administrator accounts are not linked to a database schema. Reciprocally, creating a database schema won't create an APEX account. You'll have to create the administrator account via the web interface. Connect to the administration page : If your setup uses the embedded PL/SQL gateway, go to: [CODE] If your se... | 0 | 2 | 7,933 | 2013-05-05T17:19:11.450 | database_errors | dba.stackexchange.com | |
421,825 | Patterns for returning messages/results from business logic to UI | Cross-posting from SO. Is there a name for the patterns used send messages/errors and results through an application's layers from business logic/database to the UI? What is the modern way? For example: The application layers are setup as follows: UI ViewModel Business Logic Database/Repository A user wants to update a... | OneOf is a pretty popular library among the .NET packages. Another really famous one is the FluentResults . We have started to use OneOf like a year ago. We have faced with some of its limitations and that's why we have created a guideline how to use it in a bit more convenient way. In order to demonstrate the bad and ... | 0 | 2 | 1,650 | 2021-02-03T22:33:30.957 | api_errors | softwareengineering.stackexchange.com | |
112,628 | MySQL database design to sort and filter air traffic data | I am struggling to design the correct database / structure for what I'm trying to do. Let me try and explain the situation. Background We are a group of enthusiasts who monitor air traffic via ADS-B reception. If you have seen www.fr24.com then you have a pretty good idea about it all. All planes broadcast a signal con... | It is 'rarely' good form to have two tables with the same set of columns. It is 'usually' better to have one table with an extra column that specifies 'dataset' the row belongs to (Bravo/Delta/...). Often it is helpful to think of the schema (table definitions, etc) from an "Entity/Relation" point of view. Start with t... | 6 | 1 | 460 | 2015-08-29T18:08:07.173 | database_errors | dba.stackexchange.com | |
640,728 | Detect faulty drive in RAID 10 array | I've been told that I can only verify my HW RAID array is working perfectly with KVM. However, I want to be automatically notified when there is a problem by my server. Is there a way via SSH (that will be called via system() in php) that can detect that a drive is having problems? I don't need to identify which drive.... | Install the 3Ware tools ( [CODE] ) on your machine. After you have installed them, get the id # of the controller (I've never understood the system behind it, for all I know it might be random): [CODE] You can then query the array status with [CODE] Obviously, this will look different on your machine. These example whe... | -1 | 3 | 129 | 2014-10-29T23:20:35.127 | infrastructure | serverfault.com | |
614,351 | Proxy Pass not working | I am attempting to get ProxyPass to work on my OpenSUSE 13.1 install. I have tried: [CODE] (All combinations of statements to no avail). I keep getting the same error over and over: [CODE] httpd-proxy.conf looks like: [CODE] Does anyone know how to get this ProxyPass statement working? | it looks like [CODE] isn't getting loaded, make sure you have following inside of your [CODE] : [CODE] | 38 | 41 | 82,296 | 2014-07-22T01:45:28.830 | infrastructure | serverfault.com | |
939,938 | How to forward a domain to a Wamp Apache server | I have not been able to find a guide that resolves my issues with forwarding my domain to my wamp apache server. I've portforwarded correctly and I've made my webpage accessible through my ipv6. So far I've tried putting every combination of example.com and www.example.com for [CODE] and [CODE] in httpd-vhosts.conf. I'... | I guess I was doing it right and it just took the domain a long time to update. It's working now but I don't know why it wasn't for the past two days. Should I delete this post considering the nature of it? | 0 | 0 | 136 | 2018-11-14T06:40:56.250 | infrastructure | serverfault.com | |
432,299 | Setup Postfix to send email to same domain as server | Possible Duplicate: Why does Postfix deliver mails locally instead of relaying them to Google Apps? I have a [CODE] server setup on [CODE] . I am using [CODE] for mail and have set it for myrealdomain.com. Some of the pages on my site have a php form, that when filled out gets sent to my email address, which is also at... | Found the answer: Why does Postfix deliver mails locally instead of relaying them to Google Apps? It would look like that in your [CODE] file: [CODE] | 0 | 1 | 2,592 | 2012-09-26T18:48:01.300 | data_quality | serverfault.com | |
214,116 | Security / Permissions when multiple sites accessing single directory : SuPHP | I am on a HostGator " Basic " Dedicated linux server. A current project calls for an image library that is accessible from multiple sites on the server. We are running SuPHP so each site has a different Owner:Group . The requirement is that PHP scripts need to be able to read and write to this folder. One solution I ha... | suPHP requires 644 permissions on files and 755 permissions on folders or apache will throw a 500 error. Hostgator should be using cPanel which would allow you to create addon-domains under your cPanel->Addon domains option. This would be ideal for adding domains to your account. SuPHP differs from DSO as it REQUIRES y... | 1 | 1 | 437 | 2010-12-19T04:56:56.873 | infrastructure | serverfault.com | |
748,634 | How to alias directories in nginx? | I for the life of me cannot figure out how to make aliases for locations. Basically, I have [CODE] on my server, which could contain any number of folders (for different applications). One of those is ViMbAdmin, located in [CODE] , and the actual web files that should be served to the client are in [CODE] . Here's what... | The location directive matches against the uri in the request. The root directive and alias directives are both used to indicate where in the filesystem to serve resources from, the difference being that when using [CODE] , the entire URI is still appended to the root; whereas when using [CODE] , the location part is d... | 14 | 13 | 123,005 | 2016-01-12T22:21:01.210 | infrastructure | serverfault.com | |
403,874 | inotifywait usage and exclude | I want to monitor special path to any event of create or modified files recursively in it via inotifywait but I don't know what's my problem is. I have some folders that I want to exclude. [CODE] How do I correctly exclude them using a regular expression? [CODE] What is correct regular expression to use to accomplish m... | Correct regexp: [CODE] . But your expression works too. Using a backslash to escape a non-metacharacter is an error. "/" is not a metacharacter and does not need to be escaped. | 5 | 4 | 11,387 | 2012-07-01T14:57:14.450 | infrastructure | serverfault.com | |
1,088,626 | Centos server can ping IPs - but cannot ping domains | I have 3 servers with DigitalOcean (AMS3). Suddenly, three servers at the same time faced the same issue. It seems the servers cannot connect to the outside world. I tried to ping different IP addresses and domains. Here are the results: [CODE] [CODE] I searched for a solution on StackOverflow, ServerFault, and DO Comm... | It took me a couple of days but I have found the source of the problem. I have created a new DigitalOcean droplet and the newly created server had the same problem. So, I figured out there is something wrong with DO itself. I hope this helps the others with the same problem. | 0 | 0 | 1,826 | 2021-12-31T01:19:23.797 | infrastructure | serverfault.com | |
320,685 | DBCC CLONEDATABASE & User Defined Table Types conflict | I am using DBCC CLONEDATABASE to create database copies without data. There are a number of databases that will not clone. The error message is: Cannot insert duplicate key row in object 'sys.sysschobjs' with unique index 'clst'. The duplicate key value is (565577053). It is always one of three IDs: 245575913, 56557705... | (I've replaced my previous reply due to findings when reproing this.) This fails for me as well. I don't have anything strange in my databases, so the issue seems to be with new stuff in the model database. This simple command fails for me: [CODE] So it seems to me that DBCC CLONEDATABASE is broken in 2022. I've mentio... | 5 | 4 | 334 | 2022-12-07T19:24:16.320 | database_errors | dba.stackexchange.com | |
150,794 | Index lost while joining on union | I read a lot about indexes/unions but can't get to the bottom of this. I have here a (oversimplified for this question) query: [CODE] This query as is shows disk I/O of 8 MB result (in supratimas). If I take out the union it uses only 600KB, that's more than a 90% improvement! The time for running the query is less tha... | Try pushing the predicates as close to the base tables as possible: [CODE] Do the same for all legs of the union. If the predicates contain references to an an outer table as in: [CODE] You can use a [CODE] (CROSS APPLY in SQL-server) to be able to push this predicate inside the derived table: [CODE] | 2 | 3 | 695 | 2016-09-27T18:42:07.633 | database_errors | dba.stackexchange.com | |
2,255 | AWS Redshift UNLOAD not firing S3 PUT event | I am trying to use Redshift to UNLOAD data to S3 and then pick that data up with a Lambda function and process it. All of the constituent parts (the UNLOAD, the Lambda function) now work, however the Lambda event trigger ( [CODE] ) is never firing. If I upload manually via the console, it all works. If I run the UNLOAD... | You did not tell how big data amounts you tested with, but if you test ok with little data block successfully and larger real situation fails, there may occur same as occurred here : The larger files are almost certainly being uploaded via S3 Multipart Upload instead of a regular Put operation. .. It sounds like the fu... | 2 | 1 | 953 | 2017-10-06T12:42:24.560 | warehouse_errors | devops.stackexchange.com | |
311,307 | How can I troubleshoot an extremely slow Ubuntu Server? | I have a virtual ubuntu ftp server that is sometimes extremely slow. Connecting via SSH takes forever, it is very slow to run commands, etc. Other times, it runs normally. How can I troubleshoot the problem? I am 99% positive that it is the actual ubuntu installation, not the virtual machine, as we have many other virt... | With a virtual guest, you have to look at the underlying server to ensure it is not over-allocated. I would look at the CPU, RAM and IO stats for the host to ensure your guest isn't starved for resources. Is it possible some other guest is grabbing the CPU at certain time? | 2 | 1 | 10,352 | 2011-09-14T13:45:20.343 | infrastructure | serverfault.com | |
1,133,881 | kubeadm config images pull fails | I am trying to install k8s on a new machine running Ubuntu 20.04 using containerd and kubeadm is failing to load the images: [CODE] failed to pull image "registry.k8s.io/kube-apiserver:v1.21.0": output: time="2023-06-14T15:24:34Z" level=fatal msg="validate service connection: CRI v1 image API is not implemented for end... | this is an issue with the old containerd provided by Ubuntu 20. You can try the following steps (as root): Set up the Docker repository as described in this documentation Remove the old containerd: [CODE] Update repository data and install the new containerd: [CODE] Remove the installed default config file: [CODE] (if ... | 0 | 2 | 1,479 | 2023-06-14T15:42:35.877 | pipeline_ops | serverfault.com | |
145,948 | SSO solution and centralized user mgmt for about 10-30 Ubuntu machines? | I'm looking for a clean way to centralize user management. The setup: About 10-30 linux machines (Ubuntu 10.04 LTS server) Maybe 10-30 users for now. The requirements (hopes and expectations): A single place for the administrator to manage user accounts, passwords and the list of machines each user has access to. (And ... | Google has led you down the right track. Ideally you want both LDAP for the central user management and Kerberos for it's added security and SSO. LDAP alone will get you centralized user management but users will still have to re-authenticate with each service they are connecting too. That's where Kerberos comes in whi... | 7 | 8 | 2,515 | 2010-05-27T17:16:43.623 | infrastructure | serverfault.com | |
1,090,889 | How to fix PHP open_basedir restriction restricting access to subdirectory on nginx server | I am using nginx with php-fpm, and we are receiving a lot of errors like this: [CODE] It is saying that the file [CODE] is not within the allowed path of [CODE] - when it clearly appears to be. Is there something preventing it from working recursively? | The issue was a [CODE] file [CODE] . This was copied from another folder on another instance, and the symlink was pointing to that original file. Unlinking the file and linking to the correct one resolved the issue. | 2 | 1 | 1,762 | 2022-01-23T18:16:31.723 | infrastructure | serverfault.com | |
800,528 | Cannot connect to remote site: Authentication to web service failed | I've installed Check_MK 1.2.8p9 (an open monitoring distribution of Nagios) on two servers and I'm attempting to connect the second host to the master. On the Distributed Monitoring WATO page I've added the second host as a slave. When I click the "Login" button and enter the "Administrator name" and "Administrator pas... | Not sure if this helps. This person needed to set up the automated user. https://monitoring-portal.org/index.php?thread/32744-can-t-replicate-configuration-on-distributed-wato-login-failed/ Sounds like the user configuration needs checked. Also check folder permissions for the users you are using. I've seen mention of ... | 0 | 0 | 780 | 2016-09-01T17:47:44.900 | api_errors | serverfault.com | |
698,292 | CorrectFilePaths (or alternative) for Server 2008 | I have a server with Windows Server 2008 R2 installed, and a third party application that handles all our business transactions. The problem is, we're running out of space, and the root folder for the data is hard coded into the application. Contacting the Application Vendor has gotten me nowhere. Their suggestion is t... | Ok, so after a lot of research and trial and error I found a solution. Definitely not best practice, but fits our need. I had to create the shim on a windows 7 machine. The shim was created with the Win7 compatibility mode, and used the following line as the parameters for the CorrectFilePaths shim: [CODE] The [CODE] p... | 1 | 0 | 410 | 2015-06-11T13:16:29.770 | infrastructure | serverfault.com | |
143,208 | GPL vs plugin interfaces not designed with a specific application in mind | I am not seeking or in need of legal advice, but an interesting though experiment came to my mind. Imagine the following situtation (I cannot really think about a concrete example and I am unsure if a real manifestation even exists): there is a free (libre) api A licensed under some permissive license or even LGPL. Non... | Given your description, I think A and B is irrelevant to the question, what matters is C and D, and the question comes down to whether or not GPL allows dynamic linking. If anyone may violate the GPL, it is C if it is not under GPL. After some digging around, I found that the Wikipedia GPL article has a good summary of... | 6 | 3 | 1,786 | 2012-04-05T19:23:44.900 | api_errors | softwareengineering.stackexchange.com | |
279,763 | php5-fpm not working without restarting twice every time | I'm on ubuntu (10.10) and I've got php5-fpm installed. Whenever I restart it, I get no errors, just a successful restart message. But it's not really working (I only know this because php pages get an error (502 bad gateway if I recall correctly). If I restart again it works just fine. So every time I need to restart I... | /var/log/php5-fpm.log would be a good start. You might want to check out the question and the suggestions at PHP-FASTCGI hangs with nginx, is there a better solution to this problem? , which describes a php-fpm that stops responding. | 0 | 0 | 627 | 2011-06-13T03:16:45.917 | infrastructure | serverfault.com | |
867,557 | Replicate 1 million files two directions - Mostly Read Only | I have a collection of files, currently in a NAS on our LAN which is about 1.1 million files, with a total size of 2TB. We need to replicate this up to AWS to begin processing it. However, changes need to also sync back to our LAN when made on the cloud-side. So far, the lowest sync latency we've been able to get is ab... | Syncing across WAN links can be severly impacted by latency, especially when remote directory walking is involved. With a large number of files it already makes a huge difference whether you enumerate on a local volume or on a network share. Your best bet for two-way is a client-server approach that walks both sides lo... | 0 | 0 | 94 | 2017-08-08T16:27:22.133 | infrastructure | serverfault.com | |
565,951 | What sorts of hardware exists for doing enterprise level web serving in small packages? | My current project involves sending computers to clients that they will plug into their network. These computers fill the role of a web server, primarily. During a peak hour one of these servers will serve 10-20GB of mostly static content, and that content is updated locally or remotely with some frequency. Using consu... | Something like the HP Microserver immediately comes to mind... It still has some remote management capabilities and can handle a web serving workload. You don't mention the OS requirements of your application, but the Microserver supports most major OSes. If that's too large, there are smaller options. Can you clarify ... | 0 | 0 | 72 | 2014-01-08T20:36:15.390 | database_errors | serverfault.com | |
29,270 | command or query to ping SQL server | I have 2 windows 7 machines on a very high security domain one acting as a server, the other as a client. Each box has a SQL Server Express 2005 database and application "A", however I'm only using one of them to store data (the server), the client machine just uses application "A" and a system data source to connect t... | I think you could run a query from SQL Server Management Studio from the machine that you can connect from and run the query with client statistics. That won't be exactly the same as a ping but you can see the server execution time (time from request sent from client to time server starts to send response back) and the... | 5 | 4 | 16,529 | 2012-11-22T11:52:07.950 | database_errors | dba.stackexchange.com | |
121,694 | Why does pandas.dataframe.info() not update when I delete the first row of a dataset? | I am working with a dataset that comes in with nonsense field names in the first row, with the actual field names in the second row. Currently I'm using this script: [CODE] The dataset appears to be successfully updated. When I print the dataset the first row is gone, however when I call df1.info() it still returns the... | The solution is better achieved via, [CODE] I checked the solutions. Solution 1 [CODE] There's a problem because a blank line (or line of junk) is now carried into the dataframe. The outcome will depend on what the first row of the csv is. So the minimum it will do is append a blank line above dataframe. Thus, [CODE] w... | 2 | 1 | 99 | 2023-05-22T13:50:24.953 | data_quality | datascience.stackexchange.com | |
825,611 | Does it make sense to use VSZ from the ps command to monitor memory of processes on a Redhat server? | I found many articles on the web about [CODE] and [CODE] and what the difference between both is and all I really understood is that it's very hard to determine the actual used memory of a process on Linux. This is very unsatisfying. Now an admin who takes care our application does not want us to go into production bec... | It doesn't make any sense to use VSZ for much of anything at all. This number is the entire amount of virtual memory allocated by the application. This includes memory requested but not actually in use by the application, memory swapped out to disk, pages of the application text itself which haven't even been loaded fr... | 0 | 2 | 1,871 | 2017-01-11T15:29:51.390 | pipeline_ops | serverfault.com | |
456,690 | OHS 11g R2 - How to restrict access only to Intranet users | For one of the sub-paths, I am trying to restrict access only to Intranet originated requests. I tried following configuration, but it's not working as expected. [CODE] Can someone please help me resolving this? | After consulting the apache doc again, use the following in your case [CODE] Apply access restriction in location section. | 2 | 1 | 1,859 | 2012-12-10T10:48:29.343 | infrastructure | serverfault.com | |
853,337 | CUPS clogging printer and stalling jobs? | We have 2 network attached HP LaserJet 400 M401dne, and we need them to print invoice PDFs directly from server command line. I have added the printers to CUPS and created a printing class(invoices) that contains these two printers. Then I have set a cron job, which checks a directory for invoice files and sends them t... | So far it seems that the best option is to use ipp://printer-ip/ for adding this particular printer. Using a generic HP LJ PCL6 driver (PCL5 has been recommended somewhere on the net as the best driver for printing PDFs on HP printers) yielded problem of printer not accepting copy parameter (lpr -# parameter), so I swi... | 0 | 0 | 2,876 | 2017-06-01T06:17:22.497 | api_errors | serverfault.com | |
524,384 | SchTasks giving out error (0x1) on Windows 2008 R2 | i have a powershell script which creates scheduled tasks as a part of automation process and my syntax is following; [CODE] The tasks gets created succesfully, but when the execution time comes, it allways fails with error (0X1). If i run batch file individually it runs perfectly; so my schedule task is created wrong. ... | My question is why should i provide a start in path when clearly it says "Optional" in the task's properties? Let's say for instance that I am creating a scheduled task that will run a Powershell script: Why is this wrong? Well first, we're not sure if powershell.exe will resolve correctly because we don't know if the ... | 1 | 4 | 16,596 | 2013-07-18T13:12:25.400 | infrastructure | serverfault.com | |
985,904 | Feasibility of having two independent subnetworks on interconnected switches | I have the following setup, using two standard cheap switches that are interconnected by a long Ethernet cable: [CODE] Considering that: I do not need networks 10.0.0.0/24 and 217.x.x.96/29 to communicate between them, and I do not need 10.0.0.0/24 equipment to have internet access. I only need 10.0.0.1 and 10.0.0.2 ca... | You can use as many ip networks as you want, the switches operate on layer 2 also called 'link layer' and don't care about the higher layers like the 'network layer' (IP), which is layer 3 in the OSI model. That being said, some switches have layer 3 functionality but that's more of an added feature than main function.... | 0 | 3 | 78 | 2019-09-27T14:51:04.477 | infrastructure | serverfault.com | |
412,181 | CentOS Apache: basic auth returning 403 instead of 401 | I have three dirs in /var/www/html, one of them has .htacces with following: [CODE] When sending request to that dir, server returns 403 instead of 401. When requesting other dirs, server returns 200. What is also interesting is that when checking server-info page, there is not a single line refering to protected dir, ... | [CODE] These are not required if you're using HTTP authentication and you can get rid of them. (And Order breaks if there is whitespace after the comma .) BTW, it's a good idea to keep your htpasswd file outside the web documents directory. Since you've updated your question with additional information, I would say tha... | 2 | 2 | 1,919 | 2012-07-28T21:47:10.957 | api_errors | serverfault.com | |
1,745 | What's the most absurd myth about programming issues? | To put it another way... What is the most commonly held and frustrating misunderstanding about programming, you have encountered? Which widespread and longstanding myths/misconceptions do you find hard for programmers to dispel/correct . Please, explain why this is a myth. | That because you're a programmer, you know how to fix [person]'s virus ridden machine. | 101 | 272 | 19,111 | 2010-09-09T11:03:40.117 | api_errors | softwareengineering.stackexchange.com | |
1,095,520 | With Microsoft OpenSSH server for Windows, how do we quote space characters in forced commands in the authorized_keys file? | We have setup Microsoft's implementation of OpenSSH server on a Windows server 2019 (v1809) and have activated authentication based on public keys. We would like to deploy forced commands and are struggling with space characters in the path of such commands. A minimal example: User [CODE] has the following [CODE] file:... | The command to be executed is the whole line after the "command=" moniker. Quotes are required to protect the spaces in your executable's path on the target server. Quotes in the authorized_keys file need to be escaped with backslashes : So, it should look something like this: [CODE] | 0 | 1 | 208 | 2022-03-07T09:40:00.133 | api_errors | serverfault.com | |
870,379 | Redis-cluster Master consumes more memory than expected | I am running this redis cluster implementation in kubernetes: https://github.com/sobotklp/kubernetes-redis-cluster After some time running the master starts consuming more and more memory. It gets to the point where its consuming about 7gb of memory and then It crashes (my kubernetes node gets filled up). If I run INFO... | You have to define a meaningful value for [CODE] , otherwise it'll use all the available memory. By specifying '0' you're telling it to use as much as needed. | 0 | 1 | 790 | 2017-08-25T02:50:29.277 | database_errors | serverfault.com | |
1,017,087 | Performance differences between EXT4 and XFS on kernel 4.15.0-76 | OS: Ubuntu 18.04.4 LTS Kernel version: 4.15.0-76-generic Storage type: RAID10 (4 x SSD) Question: is it a bug for this version of kernel? EXT4 run a lot slower when we perform same SQL insert test; XFS respond a lot healthier at 2K INSERT + 2K UPDATE while EXT4 only have 59 for both. IOSTAT also showing EXT4 was at 98.... | Check the underlying block devices, they are very different. ext4 labored really hard: 377 w/s, 2.94 ms wait, 98 %util. xfs had no problems: 6277 w/s, 0.07 ms wait, 42 %util. Milliseconds versus microseconds block device latency is difficult to explain with the file system. ext4 is not inherently 40x slower. Hundreds o... | 3 | 0 | 1,022 | 2020-05-14T09:40:10.733 | infrastructure | serverfault.com | |
108,351 | Why would I need a third table in a one-to-many relationship? | Good day, Our db professor at the univeristy always said that one-to-many relationships with (0, M) in one side MUST have a third table to relate them. I did not ask him back then and now I cannot, but I would like to know why would he claim that? (specially the must part). I am modeling a simple sensor-measure-campaig... | I don't know what your professor has really said I am not sure if I understand your model. But maybe the following is interesting. In the article A Logical Design Methodology for Relational Databases Using the Extended Entity-Relationship Model by T.J Teory, D. Yang and J.P. Fry is described how entity relationship dia... | 6 | 5 | 3,857 | 2015-07-28T17:59:30.737 | airflow_errors | dba.stackexchange.com | |
290,670 | Damaged HDD - How to recover a MySQL database? | Is it possible to save data from a damaged HDD that I still have access to? Whenever I try to copy the data I see HDD-related errors such as "I/O error", "input/output error". Currently, the faulty HDD is connected to a USB port. HISTORY Last April 19th I was surprised when suddenly my server in which I host a game was... | Is it possible to save data from a damaged HDD that I still have access to? I would say it was unlikely and should absolutely not be your first choice. Hoping to get anything back from such a device is akin to driving your car off a cliff and then hoping that you can just get into it and drive it away again. I'm sorry ... | 1 | 1 | 365 | 2021-04-28T20:42:50.613 | data_quality | dba.stackexchange.com | |
514,591 | What config files does Apache currently have loaded | I'm using Openpanel on my Ubuntu server (fully updated/upgraded last night) and I've got a small issue where I'm sure not all of my config files are being included and thus causing issues with not redirecting and not loading my cache control headers. This doesn't look quite right to me (this is the regex it's using to ... | Assuming you have mod_headers loaded (you can check by doing [CODE] ). I noticed something else on the response headers. [CODE] So although, Yes, CloudFlare will honor the Expires and Cache-Control headers if your origin server returns them Are you sure you've got the right config going on in cloudflare? **EDIT: Anothe... | 1 | 1 | 199 | 2013-06-10T09:23:01.653 | infrastructure | serverfault.com | |
614,994 | Solaris 11.1 in boot loop | Oracle support had me delete the Intel IXGBE driver (/kernel/drv/amd64/ixgbe) and replace it with a Debug Driver to test something. I did this and then rebooted and am now stuck in a boot loop. Right before it crashes, I see the image below on the screen. Support has been slow to get back to me and I need this server b... | Ended up booting into a different Boot Environment through GRUB and copying the file from the old boot environment into my current corrupted one: [CODE] | 0 | 0 | 1,036 | 2014-07-23T22:28:04.437 | database_errors | serverfault.com | |
19,890 | When should indexes be dropped and recreated? | We are constructing a data warehouse that initially will be 1 TB and will grow around 20gigs every month. For certain tables we are doing daily ETL processes and others we are doing weekly/monthly. When there is a data import going into a table, is it necessary to drop and recreate the indexes? Is there ever a point to... | If this is cyclical ETL, and you are in a development (i.e. NOT LIVE) data environment, then you definitely should manage your indexes as a part of your load cycle. I do this for several data sets every month, the largest of which adds around 100 GB monthly to a 5 TB data set. I have done extensive testing, and from my... | 10 | 14 | 25,958 | 2012-06-25T19:03:14.060 | warehouse_errors | dba.stackexchange.com | |
110,651 | Calls cut off in Asterisk 1.6.2 | We are offering hosted VoIP. The Asterisk servers are running in our data center and customers connect their Aastra phones remotely to it. However, I have one customers connected to his own PBX and he is having connection issues. The phones often lose their connection to the server (No service) and sometimes their ongo... | They're sending their voice calls through a netgear router over the Internet to your data center? If the router isn't made for business class data transfers (i.e., is it a SOHO router for home users?) then I wouldn't be surprised if it's being overwhelmed and going glitchy. I didn't see in your mention of the configura... | 1 | 0 | 993 | 2010-02-08T13:47:06.210 | infrastructure | serverfault.com | |
408,007 | Nginx location block specific file | I have the following nginx location blocks: [CODE] The problem is that the location block [CODE] does not seem to be executing. I can call the php script [CODE] from any host. Ideas? Thanks much. | Use the [CODE] location prefix to determine exact match. As it is written in nginx documentation : "If an exact match is found, the search terminates." So, your location should look like: location = /publish/domain.io.php { allow 127.0.0.1; deny all; # Gives 403 } or location = /publish/domain.io.php { internal; # Give... | 3 | 6 | 6,569 | 2012-07-16T03:15:36.130 | infrastructure | serverfault.com | |
42,370 | Table Design for user-specific and user-agnostic criteria | I want to design a table that is general enough to accommodate an increasing number of achievements as I come up with new accomplishments to reward. Initially, I thought to design the table as follows Name (of Milestone) Description (of Milestone) Metric So for the last milestone listed above, I might say Name: 1k All-... | Track your achievements in parts. Right now you have some indicative (i.e. descriptive) information and one "business rule" column ( [CODE] ). You actually need more than one business rule column. Depending on what you foresee being your needs and how much work you want to put into now, this might be either one or two ... | 0 | 0 | 85 | 2013-05-16T20:38:07.930 | warehouse_errors | dba.stackexchange.com | |
1,132,176 | Ngnix Reverse Proxy Setup SSL For Localhost In Docker | Using below docker compose.yml I am creating 2 containers and a reverse proxy container.. [CODE] And also inside [CODE] and used [CODE] for creating SSL cert & key. [CODE] Where I am proxying my VirtualHost requests to target container. Also in [CODE] file I have added below to resolve locally. Which works just fine...... | The containers are unable to reach Nginx because they are trying to connect to the localhost of their own network namespace, we could try the special DNS [CODE] which resolves to the internal IP address used by the host. Modify your [CODE] file so that instead of making requests to [CODE] or [CODE] , it should make req... | 2 | 2 | 1,373 | 2023-05-29T19:34:06.053 | pipeline_ops | serverfault.com | |
1,146,540 | Kubernetes Node NotReady (cni plugin not initialized) | I have installed a K8s cluster. The Working Node has successfully joined the cluster. However, it is not ready: [CODE] This is due to: [CODE] [CODE] Indeed, the Pod is not working: [CODE] I can delete it, so it is recreated, but the issue is still the same. This site mentions a potential problem with CIDR, which does n... | Can you describe the pods and see if there's any events, just like you did with the nodes? Additionally, the copy and paste of your terminal shows the pods still getting ready - how long do you wait and what happens to them after time (minutes)? I'm coming at it from a Calico perspective (another CNI) because that's my... | 0 | 1 | 7,037 | 2023-10-25T10:22:00.903 | pipeline_ops | serverfault.com | |
289,205 | How to specify not null contraints for the fields of composite types in postgres | Let's say I would like to have a composite type for address, like: [CODE] And to make data integrity better, I don't want to allow [CODE] s to be members of [CODE] , [CODE] , or [CODE] . So I would like to have a [CODE] constraint for those fields. Creating domain checks isn't working for me. So this code produces erro... | The correct syntax for a check constraint for a composite type would look like this: [CODE] Let's check: [CODE] But pay attention to the last line. It seems that this is not what you want. Try allow explicitly: [CODE] | 14 | 13 | 3,264 | 2021-04-03T11:40:58.750 | data_quality | dba.stackexchange.com | |
591,471 | apache taking old openssl libraries when doing apachectl graceful | Due to heartbleed vulnerability I have recompiled apache with non vulnerable latest openssl(I had to keep old vulnerable openssl due to some dependency problem). It is running fine and when doing heartbleed test for mydomain.com it says 'seems fixed or unaffected'. But if I do [CODE] and take test for heartbleed it say... | There is no difference between [CODE] and [CODE] in terms of loading libraries. [CODE] sends the SIGUSR1 signal instead of SIGTERM so that open connections have the oppurtunity to close instead of being interrupted. see apachectl man page You may have 2 installations of apache on your system. If apache was installed th... | 0 | 3 | 663 | 2014-04-26T06:36:07.877 | infrastructure | serverfault.com | |
359,387 | After installing something, command not found | Whenever I follow a step by step guide, I have this problem: [CODE] Something is installed, and I can find it with 'locate' after running 'updatedb'. But it is not being added to the PATH for some reason. Is this the normal behavior? I'm on a Ubuntu 10 server edition box (virtualbox) | Many commands are not in the PATH of a normal user, but are in root's path. You can either modify your PATH to match that of root's or preferrably, just specify the full path to the executable as such: [CODE] | 2 | 5 | 2,930 | 2012-02-12T21:45:51.030 | infrastructure | serverfault.com | |
1,073,377 | Limit exceeded for cluster creation on Azure Kubernetes, where to cleanup? | I have deleted the old clusters by deleting the resource group completely. But when I try to create a new cluster, I am getting error as limit exceeded. As you can see in the below error. {"code":"InvalidTemplateDeployment","message":"The template deployment 'microsoft.aks-20210803135741' is not valid according to the ... | If you have deleted the resource group, and it has completed OK then this should not be using your core quota. If there is nothing else in your sub using the core quota then you would need to raise a support ticket to get that resolved. However, the easiest solution is just to raise the quota. You can do this by raisin... | 0 | 1 | 680 | 2021-08-03T08:32:53.853 | pipeline_ops | serverfault.com | |
260,809 | mysqlimport imports NULL values unwantedly as int 0 | I would like to understand how to create a decent back-up file by using [CODE] and [CODE] . I know that I can use [CODE] and [CODE] , but I'm learning to use the combination: [CODE] and [CODE] . I'm on mysql5.7.21 in Windows 10. I have test table: aircrafts that looks like this: I would like to export this table to a t... | I tried Nikita's answer. So I used the mysql command like this: [CODE] The result was: [CODE] Well ... this is not what I want; the escaping is erroneous. So I had to use [CODE] . [CODE] The content of aircrafts.txt: [CODE] Hooray it works! Read more about it over here: https://medium.com/@julek23/how-to-create-an-data... | 0 | 0 | 1,991 | 2020-02-28T09:18:40.010 | database_errors | dba.stackexchange.com | |
673,742 | Group policy to disable auto-disconnect | Several drives mapped via GPO keep on disconnecting. After some googeling I found the feature (more like a bug in my network...) that auto-disconnects active shares after 15 minutes. I realize that the [CODE] command solves this issue for a local computer, but I'd like to apply it to the entire network via group policy... | Your proposal works on the server side: you don't need to run the command on every client computer. [CODE] Where the number is timeout in minutes from 0 to 65,535 and -1 for disabled. For client side you can Configure a Registry Item via GPO, namely [CODE] , [CODE] Specifies the maximum amount of time that an idle conn... | 3 | 3 | 19,227 | 2015-03-07T18:32:23.047 | infrastructure | serverfault.com | |
332,212 | Sending email to a remote user which has the same domain name | My smtp servers domain(origin) is xxx.com. When I try to email user51@xxx.com from smtp server, it does not deliver that mail since this user51 is not hosted on this smtp server. user51 has an google apps account with domain xxx.com So I want smtp server to deliver mail remotely if that user is not hosted locally. How ... | Try removing [CODE] or [CODE] from [CODE] in main.cf | 1 | 2 | 644 | 2011-11-18T01:07:51.407 | infrastructure | serverfault.com | |
66,702 | Using TSNE to Visualize Clusters in Python | I'm using TSNE to visualize my clusters but the output seems a bit strange. There are supposed to be 3 clusters but instead, there are 4 lines. Is there something wrong with how I'm visualizing them or is it the kmeans method itself? [CODE] Sample Dataset: [CODE] Output: | As far as i see, you have your temporal columns involved. They are sequential variables and create such curves in visualization. Try to exclude them from your data and visualize again. If you still the curves, update the post with new plot and we discuss further. | 2 | 1 | 710 | 2020-01-19T12:55:33.060 | data_quality | datascience.stackexchange.com | |
302,443 | Indexed view maintenance with foreign key not elided when inserting parent row | TL;DR; Given an indexed view that has a [CODE] between two tables that already have a foreign key relationship along with a [CODE] predicate on the parent table. When inserting into the parent table of the foreign key, the compiler is adding index maintenance to the plan, even though it is provable that no matching row... | The optimizer doesn't do the sort of reasoning you describe. Rather, it depends on a standard set of often-useful, easy-to-implement, quick-to-check features like contradiction detection and redundant join removal to produce useful simplifications. It is the interaction between these modular features than can produce a... | 4 | 3 | 229 | 2021-11-10T23:21:48.617 | warehouse_errors | dba.stackexchange.com | |
181,044 | How to understand and debug legacy software? | Possible Duplicate: I’ve inherited 200K lines of spaghetti code — what now? Not long ago my company placed me in a team that deals with some of the most complex bugs that are in production. The thing is that almost all of these bugs are in legacy applications I am having a really difficult time understanding and debugg... | You have hit the nail on the head - What you have complained about is the definition of "Legacy software". Working on this class of software requires a different mindset to Green-fields work. Your stress is a result of you measuring your progress against unrealistic measures. Don't try to put todays ideology on yesterd... | 9 | 12 | 2,153 | 2012-12-30T23:11:39.233 | data_quality | softwareengineering.stackexchange.com | |
32,146 | SQL 2008 Install gone bad! | I've had a failed install of SQL 2008 on a windows server 2008 box and now when I try and uninstall the uninstall fails and asks me if I'd like to remove it from the list. If I do a repair I get so many errors and I think I know where it went wrong now, but I can't fully uninstall it properly to try! The first problem ... | Here you go: http://support.microsoft.com/kb/909967/en-us http://mark.michaelis.net/Blog/SQLServer2008InstallNightmare.aspx | 0 | 2 | 337 | 2009-06-26T12:52:03.227 | infrastructure | serverfault.com | |
63,809 | ZFS: Mirror vs. RAID-Z | I'm planning on building a file server using OpenSolaris and ZFS that will provide two primary services - be an iSCSI target for XenServer virtual machines & be a general home file server. The hardware I'm looking at includes 2x 4-port SATA controllers, 2x small boot drives (one on each controller), and 4x big drives f... | The simple answer is that to mirror something takes almost no processing power - it just writes to the disk a second time. For RAID-Z2, you have to compute an entirely new parity block, which although small CAN bog down the CPU when you have to write large amounts of data quickly. Mirroring is always the preferred solu... | 17 | 17 | 26,370 | 2009-09-09T15:32:40.520 | data_quality | serverfault.com | |
1,073,305 | JBOD hard drives report incorrect size | I am trying to setup a netapp ds14 to use with 6 and 8tb SATA drives I got FC to SATA interposer boards and now all the drives are correctly identified and visible, however the capacity that I see is only 1.5tb for all of the drives What am I missing? here are some logs [CODE] [CODE] [CODE] [CODE] | Check that your controller and all other hardware devices support larger drive sizes greater than 2TB. You do not mention the controller, firmware, etc. for me to look up the specification sheets, however it seems highly likely that your controller does not support large drives. Also all firmware and drivers/software m... | 0 | 0 | 195 | 2021-08-02T13:36:14.210 | infrastructure | serverfault.com | |
178,929 | PHP - PATH_INFO issues | This might belong on the stackoverflow.com website, but I don't think so, because this has to do with Apache configuration. I'm getting the an error: [CODE] This is a stock Apache configuration, and I thought that you could just use the [CODE] in httpd.conf: [CODE] What exactly do I have configured wrong here? | This was due to a configuration issue on my end that was overlooked. | 1 | 0 | 3,200 | 2010-09-07T20:39:53.380 | infrastructure | serverfault.com | |
557,771 | Finding $RECYCLE.BIN folders on network shares | Is there a good tool to find $RECYCLE.BIN folders on network shares and their size? In our environment we use roaming profiles and folder redirection for storing user profiles/data. Users are often lazy in cleaning up their recycle bin and so our network shares fill up. I already tried it with a PowerShell script but i... | Thanks all for your answers. I found a shorter and in my opinion a more elegant way to to find "$RECYCLE.BIN" recursively on a network share or local directory using Windows PowerShell: [CODE] or you simply cd into the root directory where you want to start your search: [CODE] If you additionally want to display the si... | 2 | 2 | 14,148 | 2013-11-27T11:25:39.700 | infrastructure | serverfault.com | |
57,451 | Scheme review/Normalization level/query optimization | So I have a relatively complex database I'm designing - basically full in-house accounting setup. In one section I have some concern that I'm over-normalizing; the 'directory' - I'll example the employee section but there will be the same basic thing for customers, suppliers etc. Basically [CODE] stores information tha... | For the most part, it's a good schema design for the internals of an accounting-type system. Normalization gives you a lot of flexibility in this sort of scenario, and what you've done seems appropriate. That said, I did question the choice of the directory table. There are cases in which something like that can be app... | 1 | 1 | 211 | 2014-01-24T08:15:25.230 | database_errors | dba.stackexchange.com | |
1,004,835 | Installing tomcat 9 on oracle linux having tomcat 7 | I have a task to deploy a war file of a Springboot 2.2.4 therefore the oracle linux server i am using already contains tomcat 7, and springboot 2.2.4 is not compatible with tomcat7 I am getting an error of manager no classdef found, how can I install tomcat 9 and operates two tomcats(tomcat 7 and 9) in the same server ... | You can download and upack last tomcat using these commands: [CODE] If you want to have them both running simultaneously you have to change port attribute in [CODE] and [CODE] tag in file [CODE] to different one than currently existing on old tomcat. | 0 | 0 | 417 | 2020-02-27T14:32:22.070 | database_errors | serverfault.com | |
143,160 | ODBC Connections locking tables in SQL Server | We have an ERP system that is a little less than modern, the backend is currently sitting on a SQL Server 2008 R2 installation. We have through mandate of management (isn't that always the case) the completely impractical practice of allowing many users to extract data from this system at will for the purposes of manip... | Unfortunately, we've dealt with too may issues with this where I work. In cases where this has been a problem, people who don't know databases, literally open a SQL table "live" in MS Access. At first things can appear transient because they may open and close Access quickly. But then there are those moments where they... | 5 | 1 | 6,762 | 2016-07-06T19:39:21.263 | data_quality | dba.stackexchange.com | |
237,832 | File permissions to run mysqld in chroot | I'm trying to run mysqld inside chroot environment. Herez the situation. When I run mysqld as root, I can connect to my databases. But when I run mysql using init.d scripts, mysql gives me an error. [CODE] So I guess, I need to change file permissions of some files. But which ones? Oh and in case you are wondering '/va... | It is a bug with schroot. mysqld escapes chroot and interacts with systems's mysqld. http://ubuntuforums.org/showthread.php?t=1625863 https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/430224 | 0 | 0 | 953 | 2011-02-20T13:00:39.330 | database_errors | serverfault.com | |
808,908 | Nginx rewrite rule not working when service redirects | I have the following nginx rule [CODE] If I access the application at mydomain.com/geosamples/index.html it works fine. If I access it at [CODE] it gets redirected to [CODE] and obviously doesn't work anymore! I am guessing the geoserver app is redirecting the client to this buggy URL... How can I prevent this? I would... | You need to add a [CODE] directive to reverse your [CODE] when the upstream server returns a 3xx response. Try: [CODE] See this document for the details. | 0 | 0 | 607 | 2016-10-13T18:06:01.247 | infrastructure | serverfault.com | |
284,926 | How to configure InnoDB/MariaDB to not fill ibdata1 with (rollback/undo?) data that is useless in an in-memory database? | I'm trying to run a tiny (~100-200 MB) database in-memory, but ibdata1 grows out of control. Situation: MariaDB is running on a resource constrained HW (Raspberry, 1GB RAM), storing non-critical sensory data (like room temperature). The real file system is an SD card, so frequent writes destroy it. Storing data in-memo... | Doing smaller transactions and keeping connections not open (Open Transactions) for long time will probably do the job. And: The undo log is usually part of the physical system tablespace, but from MariaDB 10.0, the innodb_undo_directory and innodb_undo_tablespaces system variables can be used to split into different t... | 0 | 2 | 452 | 2021-02-08T12:30:09.827 | database_errors | dba.stackexchange.com | |
528,760 | Postfix - unable to access externally | So I can't seem to access smtp from externally. When using a desktop email client (eM client and thunderbird both fail) I can't get it to hit the server at all. (eM client is trying to hit: smtp://xxx@mail.xxxxxx.com:25 if that helps) I looked through nmap and it looks like port 25 is open for everyone. Also, I tried t... | Your SMTP service seems to be working fine. Your problem is that you're trying to send email from your MUA on port 25, which is a bad idea even if you could make it work somehow. You need to enable the [CODE] sectio n in your postfix [CODE] and then configure your email client to send on port 587 instead of 25. | 1 | 3 | 3,018 | 2013-08-05T14:54:16.890 | infrastructure | serverfault.com | |
41,829 | Should I increase max_connections in AWS RDS t1-micro for MySQL? | I have an AWS RDS t1-micro running MySQL 5.5. It gives me too many connections error. I checked and it allows 34 maximum connections concurrently. What I have read is that i can increase this max value by creating a DB parameter group for this Micro instance. My confusion is Should I increase the max connection value f... | Each connection carries the load of per-connection buffers as set by these parameters join_buffer_size sort_buffer_size read_buffer_size read_rnd buffer_size Changing the number of connections increases the amount of memory each connection can demand to this : ( join_buffer_size + sort_buffer_size + read_buffer_size + ... | 18 | 17 | 27,908 | 2013-05-09T10:47:13.777 | database_errors | dba.stackexchange.com | |
302,384 | ping response time | I have two sites hosted on two different data-centres. Recently one site has become very slow. The ping response from application server to DB server is not fast enough. How do I investigate the issue? [CODE] The tracert command shows the following: [CODE] | Perform a pathping from the web server to the database server and see where the slowdown is reported to be. Then, confirm by performing a pathping from the database server to the web front end. Use the IP address of the nodes, and not DNS names. As Womble pointed out, it could be rDNS slowdowns. FYI, pathping, like tra... | 2 | 2 | 3,159 | 2011-08-18T04:39:19.053 | infrastructure | serverfault.com | |
968,683 | ejabberd mod_shared_roster_ldap - display AD Group Name in Client | we are using ejabberd 19.02 with Active Directory Authentication and using mod_shared_roster_ldap for showing Contacts from a AD Group. Its working fine but there is one problem. In Pidgin the default Group is "Buddies" and we want to show the AD Group Name. I dont get the config done to show the AD Group Name in Pidgi... | My mod_shared_roster_ldap config : [CODE] The gfilter search for the groups find in rfilter. The ldap_memberattr search the member of each group. The trick is on the ldap_memberattr_format_re. It's a regex search the value on a CN=*,OU...... Ejabberd control if user find in the gfilter exist in the virtual host, and in... | 0 | 0 | 653 | 2019-05-24T10:12:28.183 | api_errors | serverfault.com | |
116,250 | Strange results from CNN in Keras | I have a binary classification problem. I designed a model with convolution kernels in first layers and then dense layers. As the output layer, however, I used a softmax layer with size 2, and then used one-hot encoding on my labels. It means my labels look like a 2-bit number: either [CODE] or [CODE] . Also, I report ... | It's a [CODE] , you should change the last layers to [CODE] with [CODE] . The loss function also should change to [CODE] instead. Also, for the y, just keep its value as [CODE] or [CODE] , no need to do the [CODE] to make it become [CODE] or [CODE] . It's redundant and not recommended. You can try this code for the mod... | 0 | 0 | 45 | 2022-11-17T08:30:04.363 | data_quality | datascience.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.