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 |
|---|---|---|---|---|---|---|---|---|---|---|
54,232 | proxy script does not work when two networking cards are connected. How to fix this? | I have deployed a wpad.dat. Works like a charm except for some users that are connected to two networks at the same time (ethernet and another networkadapter that emulates an analog modem for fax). I also tested this with my notebook. When I connect to the LAN through cable and at the same time to another network throu... | I have a solution, eureka :) I had to change the priority of the network interfaces. The interface (LAN) that will have access to the proxy has to be the first interface, if more than one interface is connected to some network. This lead to my solution: http://www.geurtsrus.com/gerke/2005/01/proxy-auto-configuration-bl... | 1 | 1 | 6,420 | 2009-08-14T14:10:37.400 | infrastructure | serverfault.com | |
253,845 | Incredibly long execution time for a update query? | I am using MySQL 5.6. In my table [CODE] I added two datetime columns that I will be setting, based on if another column is a certain value. [CODE] There are only 205 records that have state =6 and 3,500 total records. After 5 minutes I canceled the query, made an index on the state column, and tried again. After 10 mi... | Your problem is simple PROBLEM #1 : KEY DISTRIBUTION The MySQL Query Optimizer evaluates the best course of action and publishes it in the EXPLAIN plan. Note that the EXPLAIN plan says [CODE] while using the index on the [CODE] . That is an index scan. I have a basic rule-of-thumb I always go by : If an index has to re... | 2 | 0 | 134 | 2019-11-21T14:28:13.157 | api_errors | dba.stackexchange.com | |
222,074 | fstab and cifs mounting, possible to store authentication information outside of fstab? | I am currently using cifs to mount some network shares (that require authentication) in /etc/fstab. It works excellently, but I would like to move the authentication details (username/pass) outside of fstab and be able to chmod it 600 (as fstab can have issues if I were to change its permissions). I was wondering if it... | From the mount.cifs manpage: credentials=filename specifies a file that contains a username and/or password. The format of the file is: username=value password=value This is preferred over having passwords in plaintext in a shared file, such as /etc/fstab. Be sure to protect any credentials file properly. | 24 | 18 | 73,092 | 2011-01-13T16:07:25.717 | api_errors | serverfault.com | |
300,157 | Upgrading to PHP 5.3 - solutions for legacy sites | I am about to upgrade a couple of servers from PHP 5.1.6 to PHP 5.3.x, however, we host a number of old websites that would be time-consuming to fix in application code. As I see it there are 2 solutions: stick the old sites on a separate, compatible server make minimal (backwards-incompatible) fixes and turn off error... | If you have a certain degree of freedom, i recommend the following: Try having different web servers ( multiple apaches, apache + nginx, apache + litehttpd, etc...) that are configured to use different versions of php and that handle different requests to different sites? http://share.ez.no/learn/ez-publish/multiple-ap... | 2 | 2 | 168 | 2011-08-11T13:40:04.113 | infrastructure | serverfault.com | |
18,223 | How can I mimic functionality of SQL Server `TYPE` in Oracle? | I apologize if question title is vague, but I was not able to formulate it better. What I'd like to have is an alternative to TSQL [CODE] , so I can use it in column definition. For instance, I need "money" type in Oracle which is technically [CODE] in my system, and each table will have "money" column instead of under... | This is a very good question and not just because it shows effort on your part to answer the question. Thank you for asking it and please do not remove it. The answer as you have already discovered is -- You can't do that . You have correctly identified several similar concepts including... Using standard types with co... | 3 | 4 | 249 | 2012-05-21T14:11:22.800 | database_errors | dba.stackexchange.com | |
320,438 | Retreive upper heirarchy | I have Categories stored in a single table. [CODE] I want to fetch all the upper hierarchy till I reach parent category id. What I have achieved so far is: [CODE] Now the issue with above query is that I gives me lower hierarchy: [CODE] But what I am expecting is this: [CODE] I have created a reproducible scenario: htt... | Your join with the parent is the wrong way around. I also have changed the WHERE in the first part, as you requested all where the Parent = A3. If that was needed, you need to change it back ;-) [CODE] Without order by: With order by: If you also would like to remove A3 from the resultset, you can filter this one out i... | 0 | 2 | 40 | 2022-12-01T10:57:23.990 | warehouse_errors | dba.stackexchange.com | |
671,630 | Why do we frequently have to re-start the default web site to prevent errors 500 after a page edit? | We make frequent changes to web pages in virtual directories on our IIS 8.5 site. Many times after editing, the server responds with 'Error 500'. To resolve this, we restart the entire 'Default web site'. Is there a fix for this or are we doing something wrong? UPDATE: Here is the resolution in case anyone else experie... | You need to determine the reason for the 500 error. It's usual to look in your logs for more detail and work out from there. You should also take a look at the excellent answer to this Q&A which gives sound advice on diagnosing issues. | -5 | 8 | 195 | 2015-02-26T14:00:33.473 | api_errors | serverfault.com | |
51,736 | counter table in mysql | i was going through the book: High performance MySql 2nd edition . In chapter 4 it says: An application that keeps counts in a table can run into concurrency problems when updating the counters. Such tables are very common in web applications. To keep things as simple as possible, suppose you have a counter table with ... | It's the transaction isolation that guarantees consistent results. In your example, if you are concerned about possible changes from other threads between the first and the second query, you should enclose your queries in a single transaction: this is implicit if you have [CODE] disabled, otherwise can be explicitly de... | 2 | 2 | 3,660 | 2013-10-18T06:55:10.210 | database_errors | dba.stackexchange.com | |
748,509 | ColdFusion 11 Scheduled Task not running | I have setup two Scheduled Tasks in the ColdFusion Administrator. When I attempt to run them manually (using the "play" button in the Administrator), the page responds with: This scheduled task was completed successfully. However, the task has not run. The coldfusion-out.log file has the following entries: [CODE] I am ... | I was able to fix this by deleting the existing certificate entry from the keystore, then importing the correct certificate. I had originally imported the private certificate (.crt). So, I had to save a copy of the public certificate in DER format and import it, and the scheduled tasks worked again. | 3 | 3 | 3,111 | 2016-01-12T15:11:34.697 | api_errors | serverfault.com | |
735,784 | Pfsense Access LAN through WAN (ping, shared folders etc) | My network setup is like this {Internet} (Goverment Router) (pfSense with http and https interception) (LAN Switch) Many pcs on the LAN On the goverment router there are some more pcs (servers mostly) that have to stay in that network. The problem i have is that i cannot ping or browse a lan pc through wan. To be more ... | Are you able to ping a 75.x device from the 76.x network? If so, your problem is most likely NAT running on the pfsense box. https://doc.pfsense.org/index.php/Outbound_NAT If you disable NAT and it doesn't help (or makes matters worse) then the problem is likely with routing. If the government router doesn't have a rou... | -1 | 0 | 6,218 | 2015-11-12T10:01:07.733 | infrastructure | serverfault.com | |
955,214 | Why do pods on a node that was recreated after being preempted get stuck in ContainerCreating? | I had a pod created by a deployment running on a preemptible node in a Google Kubernetes Engine cluster. The node was preempted and recreated. There were several FailedCreatePodSandBox events complaining: network: stat /var/lib/calico/nodename: no such file or directory: check that the calico/node container is running ... | The issue experienced may rest outside of GKE and with Kubernetes itself. In the Kubernetes github issue page, we see “ https://github.com/kubernetes/kubernetes/issues/62666#issue-314798540 ” which pertains to Pod deletion but has a similar error your received : [CODE] If your experience a similar issue again, I’ll rec... | 2 | 1 | 2,233 | 2019-02-22T05:08:27.537 | pipeline_ops | serverfault.com | |
946,108 | Azure File Share - Custom URL/file | Hi Serverfault community, Does Azure's File Share provide an individual URL for each file I place on "transfer area"? Is it possible to grant permission to individual files but deny the final user to list folder's files? I'm starting to use Azure, I want to migrate our current local file share server which's an IIS Dir... | no, azure files is all or nothing, azure file sync might be what you are looking for: https://docs.microsoft.com/en-us/azure/storage/files/storage-files-active-directory-overview | 0 | 2 | 557 | 2018-12-20T11:54:05.140 | infrastructure | serverfault.com | |
118,879 | Why does SQL Server use this index? | I have two indexes on a table with 786602 rows: [CODE] The following queries both use IX2: [CODE] Disabling IX2 shows that query 1 then uses IX1 with the same performance. Why does the first query not use IX1 as it seems to PERFECTLY match the requirements? Is SQL Server really that smart and does not use it to show me... | While I cannot confirm this with any official documentation, the reason must be based on the total size of included columns and the cost. With the test i conducted, the indexes with 10 columns and 3 columns had exactly the same cost and logical/physical reads, which I assumed to be the same with the original poster's e... | 2 | 1 | 315 | 2015-10-22T10:54:41.983 | database_errors | dba.stackexchange.com | |
371,849 | Python update, broke yum and python | Ok, I've really ballsed up a server and wondering if the easiest way from this point is to reinstall the OS and restore the files. (We have file backups, but not bootable server backups) I stupidly followed this tutorial, without reading the whole thing: http://wiki.railsmachine.com/RpmforgeRepository And the fix poste... | Have you tried to install python using rpm? Just download RPM file from distribution for your architecture and issue something like [CODE] | 0 | 1 | 1,659 | 2012-03-20T10:38:47.947 | database_errors | serverfault.com | |
1,116,739 | How do I avoid IPV6 errors when trying to use kylemanna/openvpn image | I am trying to run the following deploy command... [CODE] I get Sysctl error for disable_ipv6, please run docker with '--sysctl net.ipv6.conf.all.disable_ipv6=0' So I run [CODE] But I get Sysctl error for default forwarding, please run docker with '--sysctl net.ipv6.conf.default.forwarding=1' So I try... [CODE] But it ... | In case others have the same issue they looked the same but not quite. The actual command that works is... [CODE] | 1 | 1 | 765 | 2022-11-27T19:40:49.840 | pipeline_ops | serverfault.com | |
845,504 | spamassassin has false-positives with emails originating from dialup addresses | I'm mostly a happy admin of spamassassin (3.4.0-6) + exim4 (4.84.2), setup for server-side spam-filtering on a Debian/jessie system. Recently a user reported some false positives. On closer inspection it turns out, that the legit emails were sent from some dialup IP address (which gets listed in multiple blacklists) pa... | I found a solution that does what I want. Rather than adjusting the scores, those blacklist rules can be tuned to skip the first (untrusted) hop, Here's the adjustments I made (the changes are simply adding a [CODE] suffix to the expressions; e.g. [CODE] becomes [CODE] to skip the check for originating IP): [CODE] | 0 | 0 | 8,166 | 2017-04-20T12:13:48.183 | api_errors | serverfault.com | |
91,143 | Visualization with many lines, colors, and markers | I have a bunch of plots as the one reported below. The data is from measurements performed on different times and different days. In the plot (which is a cumulative distribution function, if that matters), the colors differentiate data relevant to different days; the markers are used to further differentiate the data w... | You might want to look at these kinds of error band line plots in seaborn: https://seaborn.pydata.org/examples/errorband_lineplots.html You could compute this for each colour/ day of the week. The central line would be a mean value of each colour/day, the shadow being the distribution. Then it's probably best to look a... | 0 | 0 | 266 | 2021-03-25T17:08:47.123 | bi_errors | datascience.stackexchange.com | |
91,318 | SQL Server query | All machines should have three groups(grp1,grp2,grp3) but some have two groups and some might have all three and some might have 1 or zero. I have data like this, I have two columns: [CODE] I am trying to write a query to see missing groups for all machines from the above data So Machine1 has all three we can skip or s... | Group by [CODE] and get the rows where there are less then 3 distinct values in [CODE] . To figure out what groups are missing you can use the table value constructor to include the group names you want to check and use [CODE] to build a string with the missing group names. [CODE] Result: [CODE] | 1 | 3 | 87 | 2015-02-06T16:37:52.990 | database_errors | dba.stackexchange.com | |
146,298 | Table size increase after data alter | I have noticed when changing the data type of a column, the table size can double with a simple ALTER statement ( Reclaiming Space After Column Data Type Change ). Why does SQL Server do this and what causes it? I have seen posts for how to resolve the issue, how to observe the issue, but nothing about why it is happen... | It depends on the nature of the [CODE] . A lot of times this is in fact implemented by creating a new column, copying the data across and marking the old column as dropped. Example: [CODE] And then looking at the row in SQL Server internals viewer you can clearly see this You can also look at the results of the query u... | 1 | 4 | 2,789 | 2016-08-09T15:48:26.010 | database_errors | dba.stackexchange.com | |
334,650 | Apache Cassandra node restarts randomly | I have a cluster of 11 nodes, [CODE] , where certain nodes are restarted at random times. Nodes characteristics: [CODE] Below, I am attaching system.log file of one node a.k.a node70 before restart: [CODE] I am leaving key logs, so you can follow up. Whole file contains a lot of [CODE] s about [CODE] . [CODE] Also here... | The clue is in these 2 log entries: [CODE] Notice that there is a 6-minute difference between the last log entry (at [CODE] ) and when Cassandra was started (at [CODE] ). It would be safe to assume that the Cassandra process stopped at [CODE] . The first thing I would check is whether the node ran into an out-of-memory... | 1 | 0 | 37 | 2024-01-08T07:31:56.867 | database_errors | dba.stackexchange.com | |
157,198 | Limit user memory usage | I'm using SQL Server 2014. There are some users who can query the tables. The problem is, that most of the time these queries use a lot of memory. I want to know if there is any way to limit resources per user? There is not a specific query. I just want to control users. Sometimes they do crazy things. | As stated before, you can use Resource Governer to limit memory usage for specific users. To summarize shortly the steps you should do: Create a resource pool. This example has max 30% of memory, be careful with that. [CODE] Create a workload group which will use resource pool. [CODE] You should define a Classifier fun... | 6 | 4 | 6,106 | 2016-12-05T10:19:18.510 | database_errors | dba.stackexchange.com | |
554,502 | How to get rid of a stubborn 'removed' device in mdadm | One of my server's drives failed and so I removed the failed drive from all three relevant arrays, had the drive swapped out, and then added the new drive to the arrays. Two of the arrays worked perfectly. The third added the drive back as a spare, and there's an odd "removed" entry in the [CODE] details. I tried both ... | Well all of the usual options (listed in my question) failed, I had no choice but to: Remove [CODE] from the array Nuke it Create a new degraded array containing it and an empty slot [CODE] the files from the old array to the new one Stop the old array Nuke [CODE] Add [CODE] to the new array It started off saying "spar... | 4 | 1 | 3,509 | 2013-11-12T17:23:22.173 | infrastructure | serverfault.com | |
253,353 | #1005 - Can't create table `fasflixdbp5`.`employee` (errno: 150 "Foreign key constraint is incorrectly formed") error with employee table | [CODE] | DepartmentID in Employees is referencing to a table that doesn't exist as a result it raises error.Always create tables in the order of dependency.Swap the order of table creation i.e push Department table ahead of Employees table and foreign key must be same data type of referencing key. [CODE] | -1 | 0 | 636 | 2019-11-15T01:22:07.437 | data_quality | dba.stackexchange.com | |
671,008 | 2012 R2 Hyper-V and File Server (general purpose) cluster | I am in the process of creating a Hyper-V 2012 R2 Cluster. I have 3 physical hosts (128GB RAM , dual Hex-core and 12 NICs each) and a SAN to play with. The SAN is a Virtual Storage system (Datacore), serves its virtual disks through iSCSI and I have the ability to create as many virtual disks (i.e. LUNS) as I require (... | There is no problem running a File Server role on Hyper-V hosts. In general, mixing other roles with Hyper-V is not a good thing. However, the File Server role has been specifically designed and tested to run alongside Hyper-V. One thing I suggest doing is using Windows 2012 R2's QoS features to carve out network capac... | 6 | 3 | 5,170 | 2015-02-24T14:07:38.020 | database_errors | serverfault.com | |
297,307 | CScript.exe - Corrupt file | I'm getting the following error on a Windows Server 2003 machine: "CScript.exe - Corrupt file. The file or directory C:\WINDOWS\system32\shell32.dll is corrupt and unreadable. Please run the Chkdsk utility." I have a few questions: Will running Chkdsk cause problems, such as making the computer unbootable into the Oper... | Yes if it also detects hard disk errors. Or errors in other files that a responsible for a boot. I'm not aware that you can download a single file from Microsoft. So copy it from a machine with exact Service Pack and Patch level. But if your hard disk is broken that wouldn't help anyway. You have to have a (full) backu... | 1 | 1 | 457 | 2011-08-03T21:04:09.977 | database_errors | serverfault.com | |
237,248 | Not getting distinct results using case query | This is the query I am running. I am getting the correct results except they come in on a different line for each corpstorenum, so i am getting : Corpstorenum,BuffetYN, deliverybeeryn, dineinbeeryn,saladbar store1,n,n,n,y store1,n,n,y,n store1,n,y,n,n store1,n,n,n,n instead of: store1 n,y,y,y This is my code: [CODE] | You have multiple rows in [CODE] for store [CODE] , and each row has a unique set of values for [CODE] and [CODE] . Run this to check that out: [CODE] Simply adding [CODE] to the [CODE] clause doesn't magically remove "extra" rows from the output. [CODE] simply returns rows that are unique, across all columns returned ... | 2 | 2 | 1,058 | 2019-05-02T20:05:08.967 | warehouse_errors | dba.stackexchange.com | |
189,693 | Why is DBMS_CRYPTO inaccessible for most users by default? | Oracle's [CODE] package is locked down by default . Very few users have permissions on it; the only ones on my database are [CODE] , [CODE] , and [CODE] . (Of course the owning [CODE] has privileges, too.) These notably don't include even the default [CODE] account. The documentation states Oracle Database installs thi... | A fundamental principle of Oracle security is everything is prohibited unless specifically granted. You see this even in creating a new user. Unless you specifically grant them CREATE SESSION (or a role that includes it) they can't even log on, even with proper credentials. There is no reason grant execute on that pack... | 3 | 1 | 1,732 | 2017-10-30T18:55:40.570 | database_errors | dba.stackexchange.com | |
948,648 | If I buy CPUs for my server, do I have to buy a "matching pair"? | Can I purchase two identical CPUs say from different websites? I was told they need to be a "matching pair" but I can't find any evidence to support that. Will I encounter any problems from buying two individual CPUs that aren't a "pair"? In case it matters, this is the motherboard: https://www.supermicro.com/products/... | You need to buy two identical CPUs. That means they must be the same processor model and stepping. They do not have to be sold by the same vendor. | 0 | 1 | 488 | 2019-01-11T15:54:12.057 | infrastructure | serverfault.com | |
1,074,904 | Why even my root user cannot write in the /tmp directory? | I cannot write in the /tmp directory. This as a non root user: [CODE] and [CODE] As well as a root user: [CODE] It even refuses before(!) asking for the [CODE] password: [CODE] Interestingly it refuses to set the time, as root, in this command: [CODE] The issue showed up this morning. The machine is: [CODE] The partiti... | This is standard behaviour in Ubuntu 20.04+ due to new fs.protected_regular Linux kernel parameter. You can try disabling it like this [CODE] And see if you can write to /tmp now If you want to make the fs.protected_regular=0 change permanent, add it to the /usr/lib/sysctl.d/protect-links.conf file. | 2 | 1 | 4,760 | 2021-08-18T08:39:52.567 | infrastructure | serverfault.com | |
442,641 | limit size of error reply in qmail | We are using qmail as a mail server. If a user sends an email that cannnot be delivered he get's a message back from qmail with some details about this error. [CODE] It is fine to have a copy of the message with the header and message information. But is it possible to tell qmail not to include the full attachment into... | As far as I know there is no way to do this in vanilla Qmail. DJB had his own weird ideas of how things should work. Ofcourse just like everything else in QMail world there is a patch that does approximately what you want. If you are already using JMS's combined patch it is already included in there. It is not a perfec... | 1 | 1 | 355 | 2012-10-26T11:15:58.327 | infrastructure | serverfault.com | |
270,072 | Write access to EVERYONE works, IUSR, IIS_IUSRS, DefaultAppPool does not work. why? | Ok. Here we are trying to set up a Classic ASP website at IIS 7.5 in Windows Server 2008 R2. There is a folder named dbc under the website's root and it has a file which is used to read and write certain information while every page is processed. The issue is, if I grant IUSR Write Permissions, and IIS_IUSRS Write Perm... | Under IIS 7.5 (and optionally in IIS 7) all workers run with Application Pool Identity: user "IIS AppPool*PoolName*". Grant access to that user rather than Everyone (you'll need to type the name into the select identity dialogues—it won't show up in the find function). There is a very useful page on iis.net that covers... | 10 | 5 | 90,675 | 2011-05-16T06:21:56.830 | pipeline_ops | serverfault.com | |
124,566 | Syinc databases mySQL to Oracle | I'm new in "databaase administration" the problem I am facing is that I want to have an exact copy of a table, from [CODE] database (website database) to [CODE] database (a local one). What I've done till now Searched for two days. I installed [CODE] on the 'oracle machine' and successfully connected to the remote MySQ... | well i created a small program using java packages : mysql-connector-java-5.1.18-bin.jar and aoracle jdbc driver : classes12.zip (this version for oracle 8i) with mysql connector i can run a "select" statements an read from mysql databse, and then i build an "insert" statement to instert them in the oracle database. th... | 1 | 0 | 102 | 2015-12-25T14:41:56.487 | database_errors | dba.stackexchange.com | |
656,218 | How to apply PostgreSQL "GRANT ALL ON ALL TABLES" to new tables? | As discussed in the question at GRANT SELECT to all tables in postgresql , as of PG 9.0 you can mass-grant privileges on all existing tables to user u, using a command like: [CODE] Logged in as u, you can now do this to pre-existing table a: [CODE] But if you now create table b and do: [CODE] You get: [CODE] This can b... | A posible solution is to alter default privileges for [CODE] user: Eg: [CODE] Description [CODE] allows you to set the privileges that will be applied to objects created in the future. (It does not affect privileges assigned to already-existing objects.) Currently, only the privileges for tables (including views), sequ... | 12 | 17 | 36,735 | 2015-01-04T18:34:34.133 | database_errors | serverfault.com | |
147,934 | Error while restoring from Enterprise Edition to Standard Edition | I am restoring a database from a SQL Server Enterprise Edition onto a Standard Edition server. I keep getting an error stating: Database 'MyDatabase' cannot be started in this edition of SQL Server because part or all of object 'containedmemebersnapshots' is enabled with data compression or vardecimal storage format. D... | Unfortunately SQL Server Standard Edition does not support vardecimal storage format or data compression. You need to restore to a Developer Edition (or Enterprise Edition), remove the non-supported features by modifying the objects as necessary, then backup the modified database, prior to restoring it on Standard Edit... | 3 | 6 | 1,496 | 2016-08-25T19:30:52.900 | database_errors | dba.stackexchange.com | |
73,143 | Equivalent for Microsoft.SystemsManagementServer.Automation in SCCM 2007 | SMS 2003 contained a great feature for automation via the excellent dll: Microsoft.SystemsManagementServer.Automation.dll . It allowed automating SMS using intuitive objects, properties and methods such as: [CODE] In SCCM 2007 , it seems this great dll has been deprecated in favor of more WMI style "dog's breakfast" co... | This isn't quite as what you are looking for but have you had a look at using Powershell and SCCM to take some of the WMI pain away? You might also want to look at: SCCM and PowerShell - Part 1 SCCM and PowerShell - Part 2 There don't seem to be many Powershell cmdlets yet that provide the same level of functionality a... | 2 | 1 | 493 | 2009-10-09T23:29:15.440 | infrastructure | serverfault.com | |
13,659 | Test methodologies applicable for web based and not for desktop | Today I was in an interview and they asked these questions: What test methodologies are applicable for web-based software but not for desktop? Can Severity or Priority change during bug life cycle? | To start with, there is no formally defined list of standard test methodologies. That said, there are a number of test methods that are better suited to web applications than desktop applications: HTML validation - even if a desktop uses HTML display in some or all of its screens, it's not going to be as accessible as ... | 2 | 2 | 535 | 2015-07-01T16:21:28.993 | data_quality | sqa.stackexchange.com | |
585,198 | Incoming mail's RFC 822 phrase is not put into quotes if it contains special characters | I asked this question at Stackoverflow; I was asked to repeat it here at serverfault. Please be aware that primarily I'm a Domino developer; my knowledge regarding the administrational side of Domino and other server systems is somewhat limited, so please be patient ;) First of all: involved software is Domino 9.0.1 se... | The Parameter [CODE] definitely IS the solution for your problem. AND: The problem IS caused by exchange, because it does not follow the RFC and "forgets" the delimiters around the comma separated names. Of course Outlook / Exchange sends a proprietary additional header- field with the "correct" address, so that outloo... | 0 | 2 | 1,246 | 2014-03-28T16:18:45.090 | infrastructure | serverfault.com | |
174,900 | What is the difference between development and R&D? | I was asked by a colleague to explain clearly the difference between ordinary development and research and development (R&D) and was unable to do it. After reading Wikipedia, I still don't have the precise answer. According to Wikipedia (slightly modified): There are two primary models: In one model, the primary functi... | Great Question. It is important to distinguish between 'Development' and 'R&D.' Point 1 R&D = experimenting with ideas/technology that may never actually become a product. Software Development = working on a product/service desired by a real customer. Point 2 R&D is all about developing new solutions for a specific pro... | 46 | 41 | 58,974 | 2012-11-07T06:11:01.863 | database_errors | softwareengineering.stackexchange.com | |
146,525 | How can I speed up a MySQL restore from a dump file? | I am restoring a 30GB database from a mysqldump file to an empty database on a new server. When running the SQL from the dump file, the restore starts very quickly and then starts to get slower and slower. Individual inserts are now taking 15+ seconds. The tables are mostly MyISAM with one small InnoDB. The server has ... | One thing that may be slowing the process is the key_buffer_size , which is the size of the buffer used for index blocks. Tune this to at least 30% of your RAM or the re-indexing process will probably be too slow. For reference, if you were using InnoDB and foreign keys, you could also disable foreign key checks and re... | 39 | 36 | 75,229 | 2010-05-29T15:37:49.310 | database_errors | serverfault.com | |
474,462 | Twp different php versions on same machine | Possible Duplicate: Running multiple versions of PHP on Ubuntu I am using ubuntu 12.05 and php 5.3.10 Now i want to use php 5.1.6 also . So how to run two versions thanks | This question has been answered a few times already: How can one run multiple versions of PHP 5.x on a development LAMP server? Running multiple versions of PHP on Ubuntu | 0 | 0 | 58 | 2013-02-01T06:15:49.490 | data_quality | serverfault.com | |
232,128 | 32 bit Small ec2-Instance or 64 bit Micro ec2-Instance? | Is the 1.7 GB memory bottlenecked by the 32 bit processor in case of Small instance? Or does choosing 64 bit Micro instance give better performance because its 64bit? I am confused performance wise, and cant think straight. Even if there is no fixed answer, can anyone list out the points I should think about before sel... | It's not necessarily performance, it's memory addressing. If you're going to use a lot of memory, you'll want the 64 bit option. If it's less than 4 gig, 32 bit will work fine, as long as you're running 32 bit programs. Given the amount of memory you cite it won't matter. Processor tuning will be less of a worry than d... | 4 | 3 | 2,453 | 2011-02-07T12:32:23.537 | database_errors | serverfault.com | |
885,486 | configure reverse proxy for subdomain but keep domain for links | I have a website (developed in ruby on rails + angularJS and running on nginx + unicorn) where users can access few pages through differents URIs. For example, www.example.com/1234 and 1234.example.com load the same content. The problem is links in 1234.example.com don't work properly, because these links depend on hos... | An nginx way would be to use a map: [CODE] and set your cookie with [CODE] You then set your server_name to a wildcard: [CODE] For that matter you could do that and handle the routing in code as you can pass the variable as part of the request. | 0 | 0 | 778 | 2017-11-28T10:49:35.853 | infrastructure | serverfault.com | |
1,094,677 | Why enabling _only_ TLSv1.3 is a bad idea? | I have NGINX configured to only support TLS version 1.3 However when I go to https://check-your-website.server-daten.de/ It shows the error Error creating a TLS-Connection: TLSv1.3 found, but no connection via TLSv1.2 possible. Please activate TLSv1.2 Isn't enabling only TLSv1.3 much safer? Why do we still need to enab... | TLS 1.3 only, is possible with modern clients. Test with the oldest client version you will support for your users. Mozilla's server TLS profiles and configuration generator remains a good resource. | 5 | 0 | 2,173 | 2022-02-24T14:45:45.967 | infrastructure | serverfault.com | |
570,555 | Full core of iowait with no actual IO load | I'm having an issue with a box that is "randomly" gaining an entire core worth of iowait -- and as far as I can tell there isn't any IO load to go with it, as illustrated by iostat: [CODE] I have previously isolated the [CODE] load to an issue with [CODE] as detailed in http://www-01.ibm.com/support/docview.wss?uid=nas... | There is no full core of [CODE] as no real CPU load is reported. The CPU is just idle and fully available when in this pseudo state. I wouldn't worry that much about that metric which can be misinterpreted with multi-CPU and multi-threaded hardware. If you suspect an [CODE] issue, look to [CODE] statistics (eg: [CODE] ... | 0 | 0 | 570 | 2014-01-28T21:35:00.690 | infrastructure | serverfault.com | |
923,341 | Add a security group to the list of existing ones to an EC2 using the the AWS CLI (one-liner) | This question is a follow up (not a duplicate) of How to add a security group to a running EC2 Instance? . I believe it deserves to have its own answer rather than a comment. How could I write a one-liner using the AWS CLI to add a security group to an EC2. Because the annoyance of using the command [CODE] is that it r... | We can start by doing [CODE] Which gives us the current security group. For example: [CODE] Then we can build upon the previous answer and write: [CODE] Or in one line: [CODE] Where $newid is the EC2 instance_id, and [CODE] the SG group we're adding. BTW the command is idem-potent, yay! | 0 | 2 | 1,441 | 2018-07-24T19:56:03.517 | data_quality | serverfault.com | |
68,431 | two auto incrementing columns | OK I have hit an issue, now I was going to look at having two auto incrementing columns, but I cant using InnoDB. So I am after a Solution. I have a table called queue. Everything to do with my task queue should go into it, But each time something happens with a task I want it to write a new entry, so I can see what ha... | If the Queue table is MyISAM, I have just the thing for you. OPTION #1 First, you should store task names in its own table [CODE] Then, remove [CODE] and [CODE] from Queue and change the primary key to (TaskID,ID) [CODE] Then, you would do something like this each time [CODE] OPTION #2 If you do not want to introduce a... | 0 | 0 | 1,178 | 2014-06-17T18:51:01.763 | warehouse_errors | dba.stackexchange.com | |
372,290 | Why am I getting a low cach hit rate average in Varnish? | Any one know why we are getting a very low cache hit rate average when using Wordpress (With Varnish and Nginx)? Varnish stat shows : Hitrate ratio: 10 100 518 Hitrate avg: 0.4143 0.2690 0.1948 Any idea how to fix this? My varnish default.vcl is : [CODE] | A good approach is to inspect the traffic with varnishlog in order to see what makes which rules apply. Since you're not enforcing a TTL, my guess is that the wordpress site delivers Cache-Control headers like "max-age: 0", or "no-cache" "private" or something, and varnish honors such headers unless you specifically te... | 2 | 4 | 4,509 | 2012-03-22T06:28:07.833 | infrastructure | serverfault.com | |
218,409 | TImestamp format in Oracle DB | Query: [CODE] Problem is minutes in above time are different 'mm' loses the precision of minutes and probably providing some garbage value. How do I format dates without losing precision? | As documented in the manual you have to use [CODE] for minutes. [CODE] is for the month number [CODE] | 0 | 7 | 79 | 2018-09-24T11:57:10.917 | database_errors | dba.stackexchange.com | |
146,081 | SP2-0003 Ill for timestamp. Please help | May I know what's the problem with this? I keep on getting this "SP2-0003 Ill formed" on the timestamp. How can I solve this? [CODE] | [CODE] is not a valid type when using [CODE] . Use [CODE] . SQL*Plus® User's Guide and Reference - ACCEPT [CODE] | 0 | 1 | 138 | 2016-08-06T19:22:40.570 | warehouse_errors | dba.stackexchange.com | |
213,652 | Tracking the last execution date of a query | My manager is requesting to know when was the last time a number of reports were last ran to see if they are getting used. He requested info from our vendor and the vendor if coming to me for SA level permission to dig through the relative SQL Server. Obviously, I won't be doing that but I would like to know is there a... | When were your servers last booted? Unless you have some form of auditing running, then that is a far back as you will be able to query the [CODE] view and [CODE] table-valued function . You can then use the following statement to see when a statement was last executed: [CODE] However, there are some restrictions with ... | 2 | 4 | 2,960 | 2018-07-31T13:05:34.540 | database_errors | dba.stackexchange.com | |
96,057 | iptables: find out what packet is blocked by which rule? | How can I setup iptables in a way I know what packet is blocked by which rule? The one solution I know of is to -j LOG --log-prefix. Is there any other way? | You can look at packet/byte counters: Chain FIREWALL (2 references) pkts bytes target prot opt in out source destination 73M 42G ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0 You can clear the counters with the '-Z' option. You can direct types of packets to their own table and accept them individually based on the source if ... | 4 | 1 | 4,866 | 2009-12-20T13:23:17.170 | infrastructure | serverfault.com | |
314,930 | 'Query Performance plan' query in singlestore | when I go to memsqlOps > Explore > Query. I’m able to see query performance and active long running queries. What table or tables can I select from to get that same information? | Try using below query, select desired columns and filter out "query" from activity column for which you want to have performance and time stats. [CODE] | 0 | 1 | 53 | 2022-07-27T16:58:41.213 | warehouse_errors | dba.stackexchange.com | |
912,487 | Linux Cluster with LDAP, automatically and simultaneously creating homedir on multiple machines | I'm setting up a computer cluster of (20+) machines, I have a working central ldap server for authenticating users and keeping GID and UID synced across the cluster. One machine acts as a head node, which is exposed to the wider network, users ssh into this and then can ssh into the other machines. This works fine. Use... | I now have a solution, but it's only for my exact workflow. Using the SLURM prolog command, which runs as root on a node that's about to have a job run, I mkdir the users home. This works for me, but hasn't solved the how I would do this otherwise, or with PAM. | 1 | 0 | 1,168 | 2018-05-16T12:35:21.813 | pipeline_ops | serverfault.com | |
109,232 | How to determine effective permissions and how granted for a local or domain account | With SQL Server - if you have a local or domain user (including accounts like LOCAL SYSTEM) how can you determine What effective permissions they have on a database How those permissions are granted (e.g. which roles, any direct etc) | In the Server you can look for [CODE] In the databases that you want [CODE] and all direct permissions [CODE] | 0 | 1 | 194 | 2015-08-06T15:05:21.400 | database_errors | dba.stackexchange.com | |
122,791 | IIS reveals internal IP address in content-location field | Referring: http://support.microsoft.com/kb/q218180/ , there is a known issue in IIS4/5/6 whereby it will reveal the internal IP of a web server in the content-location field of the HTTP header. We have IIS 6. I have tried the fix suggested, but it has not worked. The website is configured to send all requests to ASP.NE... | For anyone looking for the way to do this in IIS 7, the property has been changed to alternateHostName. It can be set by running the command below: appcmd.exe set config -section:system.webServer/serverRuntime /alternateHostName:"website" /commit:apphost Command Reference appcmd.exe Reference | 2 | 3 | 7,111 | 2010-03-16T01:12:50.000 | infrastructure | serverfault.com | |
61,953 | How to perform scheduled directory copies on Solaris 10? | I need to have a set of directories on server A copied to server B each night. At present: I have a share on server A which is mounted on server B a job run by cron on server B copies each directory and its contents from A to B, preserving permissions. After the first run, some files fail to copy because of the permiss... | You can do it with scp if you first setup ssh keys (instructions here ) so you don't need password authentication. The other thing you could do is install rsync, it's available in both sunfreeware and blastwave , or could be compiled from source for your system. In any case though if you do use rsync, I'd probably advi... | 1 | 1 | 2,094 | 2009-09-03T12:49:21.883 | infrastructure | serverfault.com | |
548,449 | openVZ mount of host folder | i am trying to setup openVZ on my new server, but I am running into a problem with mounting the folders which i cant understand. It shows different files in the VZ and on the Host, despite the mount points being the same. mount login scripts for openvz ID 1 [CODE] create file in folder on host: [CODE] entering VZ and c... | You should use [CODE] except [CODE] : [CODE] | 0 | 1 | 1,226 | 2013-10-24T18:47:06.497 | infrastructure | serverfault.com | |
253,325 | Dealing with data, when your database is under version control | Currently my database is not under some kind of vcs, we can get deltas but that's about it. I would like to try and make product deployments more automated, and less time consuming. I understand that placing a db's schema files under source control allow you to manage versions, and that these files are basically for dr... | What we used in a company I used to work at is Liquibase . It is a solution in Java, but since you only ever need to run it once per DB update it will likely work for other languages as well. I'm pretty sure there are other solutions that work in a similar way, so I'm just going to describe how it functions in general ... | 1 | 2 | 212 | 2014-08-14T16:31:20.920 | pipeline_ops | softwareengineering.stackexchange.com | |
294,191 | Is my AD already an LDAP server? | I have installed an LDAP browser, to try and browse my AD information (this is part of enabling Google Directory Sync process). however, I keep getting a connection error (using port: 19389). the first Q I have: Is my Active Directory (2003R2 Server) is already an LDAP server? (from the readings I understand that Each ... | Yes, AD has LDAP as one component. You don't need to do anything to AD to allow an LDAP client to connect. You need to bind (authenticate) to LDAP to be able to browse it; you need to put in your full DN in JXplorer as part of the credentials, and of course your password. Without knowing what you've tried so far, I can... | 11 | 12 | 99,384 | 2011-07-26T13:26:17.760 | infrastructure | serverfault.com | |
5,265 | Change tables from one user to another | I created some objects in MS SQL Server 2008 using SubSonic 3 . It created them based on the user specified in connection string like: [CODE] but for some reason I am not able to [CODE] account. Now I am not able to access the tables within [CODE] schema. Is there any way to transfer schema from [CODE] to [CODE] so tha... | ALTER AUTHORIZATION ON test_user.table1 TO dbo OR ALTER SCHEMA dbo TRANSFER test_user.table1 The older sp_changeobjectowner is deprecated Some FYI: SQL: transfer database schema | 2 | 3 | 196 | 2011-08-31T18:47:02.583 | database_errors | dba.stackexchange.com | |
398,947 | Recommended way to setup a python workspace | I have 3 (python) git repositories that I need to work with. One of them is the top level application (packageA), and the other two (packageB, and packageC) are dependencies of packageA. (Note: none of the 3 are available on PyPI). I've got a virtualenv setup, and have each of my 3 packages checkout within. Option A) U... | As pschill suggested, you can install packageB and packageC with in editable mode with [CODE] in the virtual environment. Then changes in these two packages are immediately active. You can also use this with [CODE] . (The only caveat is compilation: if either package requires compilation, like in cython, you'll need to... | 2 | 1 | 242 | 2019-09-26T14:49:56.600 | api_errors | softwareengineering.stackexchange.com | |
260,085 | One Domain Controller and DHCP Server for multiple VLANS | Currently I have a network separated into two vlans and all the IP addressing is done statically; we are planning to put into place a domain controller and DHCP. My questions are Does the domain controller have to have one physical network connection for each VLAN? Same question for the DHCP server? If not how would th... | No, Your Domain Controller does not need to have a network interface for each VLAN. What you will want to do though is setup each VLANs subnet in the MMC Active Directory Sites and Services console and associate them with your "site". This will associate any domain PC on these subnets as being in your AD "site". You ar... | 2 | 2 | 33,504 | 2011-04-15T12:53:07.750 | database_errors | serverfault.com | |
409,402 | Detecting a registry key with a space in the path from the CLI (or .bat file)? | I've run into a problem in which my experience (and Google-fu) have let me down. Basically, I need to push out KB968730 to a couple hundred clients or so. Naturally, would like to check for the installation of the hotfix before kicking off the install. Sadly, I need to do this with a script and a GPO, rather than a pro... | Double quotes seem to work fine for registry paths containing spaces. I've just tested on Windows XP SP3 here. The following returns the expected keys/values: [CODE] Should you want to use tokens, you'll need to use the [CODE] option to specify not to use space/tab as a delimiter. From [CODE] : [CODE] Simple batch exam... | 3 | 6 | 10,170 | 2012-07-19T21:17:59.523 | infrastructure | serverfault.com | |
80,035 | Oracle 11g r2: Cannot create partition on timestamp field | I have data with a timestamp field of the form '2014-01-01 00:00:00.99' in one of the columns. I want to create a new partition for the table every month. For this I did something like this. [CODE] This is not the actual data but an equivalent sample. It gives the same error. [CODE] Why am I getting this error? Do I ne... | change to [CODE] should work. Don't rely on default formats. | 0 | 2 | 3,373 | 2014-10-13T07:32:17.067 | database_errors | dba.stackexchange.com | |
257,840 | Query data that does not fulfill constraints in table in Oracle DB | In Oracle I have a lot of tables in a given schema. Some of the table constraints in the schema have been disabled. I have to know for all tables in a given schema with any of the constraints deactivated, what are the (data) rows that would not fulfil the deactivated constraints. Question Is there a way to easily colle... | Reporting Constraint Exceptions You must create an appropriate exceptions report table to accept information from the EXCEPTIONS option of the ENABLE clause before enabling the constraint. You can create an exception table by executing the UTLEXCPT.SQL script or the UTLEXPT1.SQL script. The following statement attempts... | 0 | 1 | 61 | 2020-01-21T09:12:47.713 | database_errors | dba.stackexchange.com | |
290,672 | Approach for polyglot logging | I'm building a desktop app with a Java front-end and very performance critical Fortran libraries. We've recently started pushing more of our code out of Java and into Fortran (see below) Soon we will likely have modules in SCALA (using akka.io or JPPF's distributed computing system). I'm wondering what I can do to try ... | I'm unfamiliar specifically with JUL but I have had reasonable success using the [CODE] module from Arjen Markus' flibs package - see http://flibs.sourceforge.net/m_multilog.html I modified it to use [CODE] -style severity classes; the results are reasonably easy to parse into timestamp, severity class, and log message... | 3 | 1 | 293 | 2015-07-24T01:04:02.863 | api_errors | softwareengineering.stackexchange.com | |
199,953 | Lighttpd: PHP_FCGI_CHILDREN correct value | I'm running Lighttpd on 256MB RAM VPS (with low estimated traffic). In order to optimize my server performances I decided to change these settings: [CODE] The reason why I set 1 child is that with setting there are 4 php_cgi processes: 2413 11336 /usr/bin/php-cgi 2415 4592 /usr/bin/php-cgi 2417 11336 /usr/bin/php-cgi 2... | As you can see in this FAQ there are three config options that control the number of mod_php processes. [CODE] (defaults to 1) [CODE] (defaults to 4) [CODE] (ignored in current releases) The formula to caluclate the initially spawned processes looks like this: [CODE] This means, for every procs in [CODE] launch [CODE] ... | 1 | 2 | 6,021 | 2010-11-09T16:52:39.083 | infrastructure | serverfault.com | |
43,278 | How to train millions of doc2vec embeddings using GPU? | I am trying to train a doc2vec based on user browsing history (urls tagged to user_id). I use chainer deep learning framework. There are more than 20 millions (user_id and urls) of embeddings to initialize which doesn’t fit in a GPU internal memory (maximum available 12 GB). Training on CPU is very slow. I am giving an... | One option is to switch to a deep learning framework that supports distributed training. | 3 | 0 | 523 | 2018-12-29T11:27:29.563 | data_quality | datascience.stackexchange.com | |
448,304 | Tool to correlate logs by timestamp | I have various log files, some with the same format (webserver + webserver SSL), some with different formats and even different timestamps. How can I correlate these log files together in a simple console tool? Bonus question: Some logs might not have a timestamp in every line, such as exception logs - that start with ... | You can use Simple Event Correlator (SEC) for this. http://simple-evcorr.sourceforge.net/ | 1 | 1 | 1,954 | 2012-11-13T17:50:14.343 | infrastructure | serverfault.com | |
72,436 | Way to kill frozen application | I have an application that freezes. I can't terminate it with ^C, so I have to do following: [CODE] It is OK to do it in rare cases. But if I'm an author of this application and try to drill-down problem that causes freeze, it is very annoying to do this over and over again. Is there a way to save few keystrokes in suc... | If Ctrl-C doesn't work, you should be able to use Ctrl-\, which will send a KILL signal, rather than the TERM signal that ctrl-c sends. | 0 | 1 | 690 | 2009-10-08T08:04:04.227 | infrastructure | serverfault.com | |
133,460 | Can't start my Windows XP Virtual Machine: Insufficient Disk Space | Okay, I currently have a server with two virtual machines installed on it, a CentOS5.4 and a Windows XP. I was remote desktopping the Windows XP chatting on IRC, and all of a sudden I lost connection. I checked with my HyperVisor and tried to restart it, and it won't start at all. It's giving me this error: Message fro... | VMWare ESXi 3.5 "Could not power on VM: No space left on device" | 0 | 0 | 1,501 | 2010-04-18T02:01:40.887 | infrastructure | serverfault.com | |
979,094 | openssl keeps creating v1 certificate instead of v3 | Hell everyone, so i'm trying to create a self signed certificate for my domain and for some reason openssl keeps creating V1 certificates for my server instead of V3 and that is causing browsers to not give me the "green lock" when im there. Any idea why is this happening. Here is my server.crt file: [CODE] And here is... | Your CA is not adding the extensions requested in the CSR to the signed certificate. When OpenSSL creates a certificate without an extension, it marks it as a version 1 certificate. Have a look at the [CODE] option, which should be placed in the section pointed to by the [CODE] option. Specifically, set it to [CODE] or... | 4 | 7 | 16,825 | 2019-08-13T14:41:45.483 | infrastructure | serverfault.com | |
314,591 | How come mariabackup fails to restore in ubuntu and achieves it on fedora? | I am unable to find the solution alone, so I decided to ask a question after two or three days of exeperimentation and research. I had a mysql (MariaDB) install on a server under Ubuntu 20.04 with a few databases (nextcloud, wordpress) and had a regular backup scheduled with mariabackup run as a cronjob. I wanted to re... | Awards to Rick James. When I posted my question I actually saw the difference between versions (10.3 - 10.5) and I remember having updated MariaDB manually from its own repos and not ubuntu's official. My bad... The restore fails on 10.3 and is a success in 10.5. Thanks a lot, and sorry for that. | 0 | 0 | 671 | 2022-07-19T13:57:45.830 | database_errors | dba.stackexchange.com | |
168,752 | Windows LocalSystem vs. System | https://stackoverflow.com/questions/510170/the-difference-between-the-local-system-account-and-the-network-service-accou tells: Local System : Completely trusted account, moreso than the administrator account. There is nothing on a single box that this account can not do and it has the right to access the network as th... | [wiped large answer, summarizing for clarity. See edit-history for sordid tale.] There is a single well-known SID for the local system. It is S-1-5-18, as you found from that KB article. This SID returns multiple names when asked to be dereferenced. The 'cacls' command-line command (XP) shows this as " [CODE] ". The 'i... | 26 | 33 | 24,611 | 2010-08-10T04:38:47.103 | database_errors | serverfault.com | |
612,535 | 2 drive failures in zpool raid | I have a question if I'm going to be able to restore this partition if I order replacement drives. zpool clear didn't seem to do anything. [CODE] Guessing raidz1-0 means it is z1 raid? I won't be able to send it to a professional, so any input from you guys would be helpful. | A RAIDZ1 pool in ZFS can sustain a single disk failure. Two drives failed means that the pool is faulted/failed/unusable. So no, you're out of luck with this pool and may want to reach out to the FreeNAS support or other ZFS experts to see what's salvageable. Do you have any backups? | 1 | 0 | 682 | 2014-07-14T23:35:50.197 | database_errors | serverfault.com | |
1,087,759 | Encrypt nginx log files | Is it possible to encrypt nginx log files? If so, would the logrotate saving time the best time to do so? The background for this is that the client is concerning about security issues that can happen having some user (login id) saved on access logs when a third party service send something through webhook apis. I was ... | You can send [CODE] through [CODE] or a named pipe ( [CODE] ) and then encrypt the logs but normally you just don't log anything sensitive and you don't send anything sensitive in such a way that it can be logged. If you feel that "login id" is sensitive information then don't send it as a part of a URL as the URL can ... | 0 | 4 | 467 | 2021-12-20T03:01:57.960 | infrastructure | serverfault.com | |
920,813 | how to delete group instance in GCP | When I am going to delete the group instance it always failed. The notification is that, but the problem is that I can not find the 'projects/windowtrafic/global/backendServices/backend' in google console. The notification message: The instance_group_manager resource 'projects/windowtrafic/regions/asia-east1/instanceGr... | Try to delete the Load Balancer that is using the groups instance. Very important thing when you delete the LB don't forget to delete service backend, you can do that by checking the box during the LB deleting. | 0 | 2 | 4,415 | 2018-07-13T12:00:45.237 | infrastructure | serverfault.com | |
301,238 | what is the easiest way to build a custom distro with specific installs? | Possible Duplicate: Easiest way to create a custom linux distribution I did see this post: https://serverfault.com/questions/215628/easiest-way-to-create-a-custom-linux-distribution And wanted to know if there is a new process for this? Also I wanted to know if I could pre-install select packages? Say I want a LAMP ser... | I think a good start to any such endeavor is completing this project right here: http://www.linuxfromscratch.org/ After doing so, most of your questions will be answered. | 0 | 1 | 260 | 2011-08-15T15:31:40.143 | database_errors | serverfault.com | |
18,840 | MySQL Permissions Necessary To Reset Password | On my team there is a desire for some users to periodically update their MySQL password. Our MySQL server is shared between a few projects (and certain users are assigned to certain projects). If I'm correct, changing your password requires access to the mysql.user table (which would, in turn allow the user to modify t... | A user should be able to change his/her own password strictly using SET PASSWORD . For a connected user to set the new password to [CODE] , just run the following: [CODE] According to the MySQL Documentation on SET PASSWORD , if the server is a read-only enabled server , you need SUPER privilege to do this. Otherwise, ... | 9 | 8 | 8,720 | 2012-06-05T14:11:32.653 | database_errors | dba.stackexchange.com | |
358,739 | "chmod / 775 -R" and now our mysql database is down...! | Possible Duplicate: How to repair/restore ubuntu 10.04 after 'sudo chmod / 777' It looks like there are some related issues to my problem.. One of our team members accidentally ran "chmod / 775 -R" and now we've got some issues with our database.. I'm getting stuff that looks like this : Incorrect information in file: ... | I would recommend rebuilding the server but you probably have a problem with your [CODE] , try chmodding it to [CODE] . But you will come across various other issues. Take your backups or what you need and rebuild the system from scratch. Also, take a look at this: How to repair/restore ubuntu 10.04 after [CODE] | 0 | 5 | 787 | 2012-02-10T12:48:29.060 | database_errors | serverfault.com | |
837,352 | How to manage smartcards for Windows logon (inventory, certificates, expirations, etc.)? | We are implementing smartcards to comply with two-form authentication using the builtin support in Windows + AD, using YubiKeys and Gemalto .NET cards. As an admin I can issue new certificates for the users and install such certificates in the smartcards with no additional 3rd party tools, but simply with the current b... | I'm not sure about the management of [CODE] however regarding the Gemalto product line you should first know that the IDPrime .NET line has been discontinued and the [CODE] product line will be the replacement . Per Gemalto : We’d like to update you that we are announcing End of Sale for the following smart cards: [COD... | 2 | 1 | 722 | 2017-03-09T20:41:59.837 | api_errors | serverfault.com | |
995,700 | Why does one of four-way handshake miss with the command nc | I'm using the command [CODE] to simulate the TCP connection with a client and a server. I execute the command [CODE] and [CODE] at the server and I execute the command [CODE] at the client. Then I type [CODE] and a [CODE] at the client. On the terminal of [CODE] , I get the output as below: [CODE] So, I can see that th... | As we all know, TCP needs the four-way handshake to disconnect. TCP does not need a four- way handshake to disconnect. It instead needs a four- step handshake: A sends a FIN B sends an ACK to the FIN B sends a FIN A sends an ACK to B's FIN The steps 2+3 can be merged into a single step where a packet with FIN+ACK is se... | 0 | 1 | 187 | 2019-12-16T10:34:58.487 | infrastructure | serverfault.com | |
34,677 | Webdriverio "And" command is not a function | So I'm using WebdriverIO with cucumber framework but I have encountered myself with the following situation: The feature file comes like this: Scenario Outline: Scenario [CODE] On the test script I got something like: [CODE] And when I try to call the "And" method like this: [CODE] I receive an error that says: "And" i... | "And" is replaced internally with either "Given", "When", or "Then" since it is an extension of one of those lines. In your case, replace: [CODE] with: [CODE] And make the same change with the line that follows. | 1 | 1 | 645 | 2018-07-09T18:08:43.763 | data_quality | sqa.stackexchange.com | |
233,269 | Concatenating Dynamic SQL commands with UNION returns inconsistent results | I'm testing a report that I've written in T-SQL and I'm having some issues with the results that are being returned. Here is the section of the code that I'm having issues with; [CODE] If I [CODE] I get to see all of the commands built by my Dynamic Statement, which is 275 rows in this case. This is perfect, but if I t... | As EzLo said: Don't use variable assignment through [CODE] to aggregate values. You do this when setting [CODE] . Try with [CODE] if you have SQL Server 2017+ or [CODE] on lower versions. | -2 | 1 | 485 | 2019-03-27T14:08:25.050 | warehouse_errors | dba.stackexchange.com | |
294,327 | Database is 300 GB, but I only see small tables? | I wonder why my database is so large. I type: [CODE] and it says defaultdb is 259 GB. That is huge. So I list my tables in psql with: [CODE] For each table I type: [CODE] I get: [CODE] What is going on? Is [CODE] telling me memory allocated, not the storage memory used? Is there some other hidden location, like a log, ... | [CODE] sums up everything that belongs to a table, including bloat. But [CODE] in psql does not list all tables of a database, it only includes schemas listed in the current [CODE] . Check with: [CODE] System tables in [CODE] are always excluded. And there may be additional schemas. To see all tables in the database: [... | 1 | 2 | 548 | 2021-06-15T20:30:32.853 | warehouse_errors | dba.stackexchange.com | |
418,616 | Performance implications of a game project monorepo on *modern* Git | First off please note , I’m fully aware that Git has historically been terrible at dealing with large binary files and very large repos; there are at least a dozen questions on SO that deal with large dataset performance, but as far as I’ve found, they’re all years old and the answers all more or less predate a number ... | Git just does not scale to huge projects. Repos should not generally grow beyond 5GB including the entire history if you want a good user experience (or if you want to use commercial hosting services). Thus, binary assets such as images or even videos should typically be managed separately from the Git repository. Git ... | 6 | 5 | 888 | 2020-11-02T21:46:19.403 | database_errors | softwareengineering.stackexchange.com | |
205,872 | How to access files over a network using local accounts? | I have setup a small (wireless) home network comprising of 3 computers. Two with Vista and one Windows 7. There is no domain controller for this network and all accounts on all machines are locally created. Machine A - Vista Machine B - Vista Machine C - 7 All machines have a local user account called (testuser) with t... | If the same accounts exist with the same password on each of the computers, you should be able to use password protected sharing. The information below was found on this site . Check out the site for yourself, there's a lot of information on setting up File and Printer Sharing between Vista PC's in a Workgroup environm... | 0 | 1 | 10,089 | 2010-11-25T04:42:34.413 | infrastructure | serverfault.com | |
788,103 | Migrating PKI and CA of a Domain Controller that needs to be demoted | I have a Domain Controller that for some reason beyond me has ADCS installed on it. The domain controller is a 2008 R2 server and needs to be demoted, but first I need to do one of two things. This same server also runs DHCP, NPS (RADIUS server),and other third party software. My Options (according to me) 1. Migrate AD... | With only one valid certificate depending on the existing CA after this week, I would do the following: Spin up an entirely new parallel PKI infrastructure (however complicated you care to make it) Generate a new cert to replace the one remaining and migrate the application to use the new cert Decommission the old CA e... | 0 | 3 | 481 | 2016-07-05T19:49:19.903 | database_errors | serverfault.com | |
136,671 | How to get contributors assign copyright for copyright holder? | Let's say we have a company and we release our project under LGPL && GPLv3, as you know the only thing here is about contribution. People commit bug-fixes/features to the project, it's fine and we are GPL fans. Basically company makes money by this project. So what about contributors ? I know they commit code and softw... | In general, when an open source projects receives contributions from others because implicitly the contributor in contributing with the same license as that of project. This is true for most open source licenses single or dual. In this situation whether copyright of incremental work lies with project owner or the exter... | 2 | 3 | 1,665 | 2012-02-24T00:16:02.817 | api_errors | softwareengineering.stackexchange.com | |
246,382 | UDP Socket bound to one IP? | Say I have two hosts - Using fictitious IPs for this example, say host A has IP 1.1.1.1. host B has two IPs - 2.2.2.2 and 2.2.2.3. If host B is listening on port 8888, and sees a packet come in from 1.1.1.1, produces a response and sends it out on a different IP than the original connection was made to, does this sugge... | Host A should receive the response (it will be physically delivered to the machine, assuming routes are correctly configured), but host A may or may not process the response. Since UDP isn't connection oriented, it's up to the implementer to decide whether to only accept a response from the original destination, or to ... | 2 | 2 | 224 | 2011-03-11T20:51:34.183 | infrastructure | serverfault.com | |
199,790 | Error 404 when accesing newly created ASP.NET website on IIS 7.0 | I've created an ASP.NET website and published it to a file from visual studio. Then I've copied my folder to the inetpub\wwwrot directory. Next under IIS I've converted this folder to the application. Unfortunately, when I try to acces it like this: http://localhost/myappname I am getting 404 error. I was thinking that... | IIS does provide detailed error message and 404 is very generic. If you could provide some more information about the error or a screenshot will help a lot. You said you have a working SharePoint web site as a parent site, a new application within SharePoint handled web site will not work. You will need to exclude the ... | 2 | 0 | 4,384 | 2010-11-09T10:45:59.070 | infrastructure | serverfault.com | |
736,818 | Conflicts while installing Samba 4.3 on CentOS 6.7 | I tried to upgrade samba from version 4.0.0rc4 to 4.3.x on a CentOS 6.7 x64 system. I found the following repo that contains the needed packages: http://download.opensuse.org/repositories/network:samba:STABLE/CentOS_6/network:samba:STABLE.repo Listed at: https://software.opensuse.org/download.html?project=network%3Asam... | You can not use an OpenSuse repository on a CentOS machine and expect it to work. This is the wrong way to install packages. Doing a quick search, I can not find samba packages newer then 4.0.x for CentOS6. You have two possibilities: try to use CentOS7 packages, with Samba 4.2.x download Samba source code and compile ... | -2 | 0 | 1,062 | 2015-11-16T21:04:45.247 | infrastructure | serverfault.com | |
1,051,486 | Instance does not have a volume attached at root | I recently started trying out EC2 servers and came across an issue when trying to get an instance back up from a snapshot (which is another odd issue I had, because you can't change root snapshots in the launch setup) I tried quite a few of the answers on here and still nowhere... Actually this is the first time I've e... | What exactly is the issue? Does the instance boot? If it does than it indeed has a root volume attached - that's the [CODE] volume, however it may show as something else in the instance, perhaps [CODE] . | 1 | 0 | 2,843 | 2021-01-27T23:47:44.853 | infrastructure | serverfault.com | |
250,456 | import large CSV using phpMyAdmin | I have a very large CSV file (24 MB) that I am trying to import using the import CSV from phpMyAdmin, however it always breaks down in the middle of import. What should I do to solve this? The error I get is: [CODE] | The problem is probably caused by the timeout or the maximum filesize for PHP scripts on your server. Try setting max_execution_time and max_input_time to a higher value. The configuration file options for maximum file sizes have already been mentioned by kenny.r. | 2 | 3 | 4,055 | 2011-03-22T18:11:12.160 | infrastructure | serverfault.com | |
585,273 | Data Redundant for 2 NAS device | Wanna ask whether is it possible to have data redundant in 2 different NAS device under the same network? I have a NAS device (Dlink 2 Bay Share Center) with 2x 1TB HDD configured in Raid 1. Of course I have no problem if either one of the HDD failure as Raid manage to repair itself or worst I replace another HDD with ... | Forget about such setup. The word you are looking for is called a backup . It helps in the catastrophic scenario and you would still need it even if your RAID devices where completely fault tolerant, just to protect you from software and/or human error. If you have redundant NAS systems and you accidentally delete a fi... | -3 | 1 | 702 | 2014-03-29T03:52:00.170 | infrastructure | serverfault.com | |
460,595 | Execution time differs for different users | I am running simple [CODE] job by [CODE] and another limited user. The execution time differs significantly. What can be the source of problem? Further information Here is how I compare the run time: [CODE] the run under [CODE] user takes a long time and never finishes! The output of [CODE] during these interval is: [C... | I'm not sure it will be relevant, but you should really use [CODE] instead of [CODE] : that way it will invoke a clean login shell. Please check that, doing so, the [CODE] could now possibly show some relevant differences? Another thing: use [CODE] instead of [CODE] so that when it invokes a child process, strace trace... | 1 | 0 | 244 | 2012-12-24T09:00:32.530 | infrastructure | serverfault.com | |
215,736 | Tomcat unable to start | When I am starting the tomcat-6, its giving me the below error: Error: Invalid com.sun.management.jmxremote.port number: %my.jmx.port% I have enabled the remote port sometime back in catalina.sh startup file but I have reverted back, but still giving me the error and tomcat is unable to start. Is there any cache or som... | Try this: [CODE] Hopefully that will give you the answer. | 0 | 0 | 457 | 2010-12-23T17:08:57.220 | infrastructure | serverfault.com | |
471,987 | Do 1 TB Velociraptor SATA drives work smoothly in a Dell PowerEdge RAID setup? | We're looking at using velociraptor 10k SATA drives in a Dell Poweredge R720. The late-2012 1 TB WD velociraptors seem like a great fit for our situation (need 10s of TBs of storage in a 2.5" format for servers with solid performance). I can't find any examples online of people using these disks in a 2.5" server RAID c... | Yes, they will work. Everything will fit and will be recognized by the controller, etc. But please consider using proper SAS drives or the actual Dell-branded models. Don't pay retail. You can find them for less. If you need capacity, go with nearline SAS disks (7.2k). If you need performance, go with enterprise SAS di... | 2 | 4 | 1,150 | 2013-01-24T07:58:36.117 | infrastructure | serverfault.com | |
882,251 | My AWS SSL Certificate is not appearing in Elastic Beanstalk's console | I've created a new SSL Certificate using AWS's service for a subdomain that points to an Elastic Beanstalk instance. It appears in the Certificate Manager correctly... but it doesn't appear in the EB instance's Load Balancer dropdown... According to the documentation ( Configuring Your Elastic Beanstalk Environment's L... | The answer was rather silly. A little gotcha: I didn't notice that I'd changed my region when I created the SSL Certificate, so the ELB and the certificate regions didn't match. I deleted the cert, switched region to match my ELB instance, and then requested a new one. Worked as expected! Doh. | 11 | 10 | 4,176 | 2017-11-07T11:52:39.867 | api_errors | serverfault.com | |
782,316 | soekris net6501, PXE, foreman & boot order | I'm trying to provision Ubuntu 16.04 to a soekris net6501 via foreman. The process itself actually now works quite well. One thing that doesn't quite do what we want is the step after provisioning. The idea is to be able to deploy a new image/OS to the box at any stage, and have it try to PXE boot by default, and move ... | By trial and error I've learned that using the [CODE] command doesn't work on all hardware. You need to have different disk boot commands for different hardware. Read more about hardware compatibility problems on syslinux wiki: http://www.syslinux.org/wiki/index.php?title=Hardware_Compatibility#LOCALBOOT Here are the 3... | 1 | 0 | 487 | 2016-06-06T21:11:26.260 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.