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 |
|---|---|---|---|---|---|---|---|---|---|---|
24,422 | How to install Oracle 10g Express and 11g Enterprise on same machine | I have to continue maintaining an Oracle 8i database that receives information (about 20 Inserts and Updates a day) from a 9i database. I am upgrading the 9i database to 11g which does not support database links to 8i. The plan is to link from Oracle 11g to Oracle 10 XE and then to the 8i and hope that one day I won't ... | It appears that you don't need to worry too much. Install XE first. You don't get to choose the database name (XE) or the port (1521). Next, install 11g to the default app folder. Modify the TNSNAMES.ora files for both databases so they know about each other. Test connections and create database links and you are good ... | 4 | 1 | 3,799 | 2012-09-17T13:35:33.167 | database_errors | dba.stackexchange.com | |
36,183 | Required MultipartFile parameter 'file' is not present in Jmeter | I am using JMeter to perform file upload test. I have created an HTTP request to upload the file but I am getting 400 Error. Following is the data I am using to perform the test. The file type is CSV and verified the same by keeping the file in Jmeter bin folder and outside as well. HTTP request which is getting sent t... | If you want to upload the file my expectation is that you should be using [CODE] tab of the HTTP Request sampler Tick [CODE] box Switch to [CODE] tab Configure File Path, Parameter Name and MIME Type sections: Remove [CODE] header from the HTTP Header Manager - assuming above setup JMeter will generate proper boundary ... | 0 | 1 | 9,545 | 2018-10-25T13:00:45.517 | data_quality | sqa.stackexchange.com | |
181,027 | Data decoding initialization/Constructor error handling | I have a set of loadable data decoders for a specific type of data and a stream to read containing data. Now I want the program to select the correct decoder in a reliable way so I want to use a trial-and-error algorithm. It seems resonable to create a decoder and connect it to the stream using a constructor: [CODE] He... | Many programmers see throwing exceptions to control flow as a code smell , because Exceptions (in Java, c and C++) are like non-local goto statements that are hard to understand and the chances for memory leaks are high. | 2 | 1 | 128 | 2012-12-30T18:52:39.373 | api_errors | softwareengineering.stackexchange.com | |
408,150 | Automatically setup routing after OpenVPN connection | I'm using Debian 6 as my server, I have configured OpenVPN server there, and clients are connecting successfully using tap mode. This server is available from the internet, but It's also connected to internal network. Local LAN: [CODE] - eth0 on OpenVPN server OpenVPN clients: [CODE] - tap0 on OpenVPN server It would b... | If you really need a TAP-style connection, you would need to specify the [CODE] option without further parameters - this would enable bridging mode and OpenVPN pass on DHCP requests (DHCP proxy mode). You also would need to bridge your tun interface with whatever your LAN interface is using [CODE] : [CODE] see the serv... | 0 | 1 | 1,899 | 2012-07-16T14:31:59.947 | infrastructure | serverfault.com | |
724,539 | CentOS, 4 NICs: two teams redandant, each team has 2 NICs, is it possible? | We have one CentOS7 or RedHat 7 "BIG" HP Proliant DL360 Gen 9 server with 4 NICs, two external switches Switch 1 and Switch 2 and many "small" servers. Those small servers have two NICs: those NICs send exact the same traffic through each NIC to different switches. NIC1 is connected to Switch 1 and NIC2 to Switch 2. So... | No, you cannot bond bonds. What you can do is use LACP to have a bond fail over between two switches. See my answers here: https://unix.stackexchange.com/questions/82569/bonds-vs-aggregators/172232#172232 https://unix.stackexchange.com/questions/81633/rhel-5-complex-port-bonding/168545#168545 | 1 | 0 | 109 | 2015-09-24T13:06:12.633 | infrastructure | serverfault.com | |
191,606 | Error 1045 (28000): Access denied for user 'myuser'@'localhost' (using password: YES) | This looks like a duplicate of many questions asked here. I haven't found the answer for my specific problem, so I'm posting it here. I was trying to create a local database and a user with basic permissions to it: [CODE] Query OK, 1 row affected (0.00 sec) [CODE] Database changed [CODE] Query OK, 0 rows affected (0.01... | The fix was to specify the IP address when creating the user and granting it permissions: [CODE] Query OK, 0 rows affected (0.00 sec) [CODE] Query OK, 0 rows affected (0.01 sec) [CODE] Query OK, 0 rows affected (0.00 sec) [CODE] Query OK, 0 rows affected (0.01 sec) Then you can log in this way: [CODE] Credits to http:/... | 3 | 2 | 8,367 | 2017-11-23T17:55:13.733 | data_quality | dba.stackexchange.com | |
293,496 | bind mounting read-only using fstab? | I'm using [CODE] to attach a certain directory under another path (it is part of a system that holds multiple copies of mirrors where some copies are slightly different then others but I don't want some parts to be duplicated, such as ISOs). The problem is that I would really like the bind mounts to be read-only, but w... | I found the answer which works for me on debian. It's from: http://www.sagui.org/~gustavo/blog/fedora/read-only-bind-mount.html [CODE] If that doesn't work, you could do put the mount commands in rc.local. Which is ugly. | 5 | 8 | 7,876 | 2011-07-24T07:11:54.180 | data_quality | serverfault.com | |
51,671 | Getting File not found error doing point in time database restore in SQL Server 2008 | So I'm testing out some of our DR stuff and tried to restore a point in time backup from one of our main databases to a new database on the same server. I am admin on the box and I'm RDP'd into the box and am using SSMS to do the restore. When I choose my database the "select the backup sets to restore" window populate... | When you open that dialog, SQL Server populates that windows with a lot of backups for the history of backups taken for that database. This history is stored in msdb and is not synchronized with the file system, so it is possible that the backup files themselves were deleted or moved already. Instead of restoring from ... | 1 | 1 | 2,218 | 2013-10-17T12:30:12.820 | database_errors | dba.stackexchange.com | |
76,131 | Permission for sequence in another schema | Postgres 9.3 Debian 7.0 I created a specific schema for a specific user and created a view in this schema for this user, so it's the only table he knows that exists. The problem is that this same user needs usage on the sequence of the primary key of this table, but it says "ERROR: permission denied for sequence" The o... | This can be done. The column default for your [CODE] primary key is typically defined as: [CODE] Two options: 1. Move sequence (my preference) to the [CODE] schema - or any schema with sufficient privileges: [CODE] Moving the sequence to another schema is easy: [CODE] Now you can grant [CODE] : [CODE] That preserves al... | 4 | 6 | 11,067 | 2014-09-09T18:57:55.257 | warehouse_errors | dba.stackexchange.com | |
303,808 | How do you set up the crossdomain.xml for site whose URL is the machine name? | I'm working on a Silverlight app hosted on IIS 6 (Windows Server 2003), which talks to a web service on a JBoss app server (JBoss 4.2.2 also on Windows Server 2003). The Silverlight app is only used on the LAN, so it's addressed with a URL like so: [CODE] I created a crossdomain.xml file for the JBoss server (as requir... | It's expecting the domain to be fully qualified. Since your machinename is not a fully qualified domain name, it's failing on the check, and won't work unless you use something like machinename.local to access the site. Your only solution in this scenario is to use [CODE] . I'm guessing that won't be an issue anyway, b... | 1 | 0 | 6,522 | 2011-08-22T15:58:50.377 | infrastructure | serverfault.com | |
292,696 | Can I make postgres' pg_dump condense the alter table statements in the create table section? | If I use pg_dump to get the schema from my database, I get separate sections for things like keys, constraints etc., like this: [CODE] This makes the entire dump incredibly verbose. How can I condense the dump so that it puts everything in the create table section? | Short Answer: No The [CODE] help does not include a documented option to allow you to manipulate the output syntax in this way. Workaround: Write it yourself You can either loop table-by-table using [CODE] natively with the [CODE] filter ... [CODE] ...or you can use a fancier custom scripting with something like SQLAlc... | 2 | 1 | 1,105 | 2021-06-03T07:56:27.397 | data_quality | dba.stackexchange.com | |
296,222 | How to limit memory consumption of mysql server to prevent OOM kills? | My MySQL instance is getting killed by the Linux [CODE] due to huge consumption of memory by mysql when inserting into [CODE] columns. This occurs when restoring a mysqldump which contains a very large [CODE] column. I've run through things like this blog which suggests setting various read/write buffers to different s... | Are both the client and server in the same docker space? I would expect the client to load 500MB, expand it into hex (1.0GB), send that to the server. Then the server might need similar space for parsing. So, I guess 6x is needed. Note that the "log file" needs to be 10x the largest blob. So maybe 10x is the number you... | 14 | 1 | 1,319 | 2021-07-27T08:25:39.967 | api_errors | dba.stackexchange.com | |
51,534 | Any virtualisation software that works with... gasp... Windows 95 as the *host* O/S? | I know this sounds crazy, but is there any VMWARE/Virtualbox type software that was around back in the days of Windows 95? Reason I ask is that I just got a Nokia E71 (hooray) and have successfully run Windows 3.1 on it though DOSBOX. I'm told Win95 is also possible. I've got a bit of a thing about putting O/Ss places ... | If you can find an older version of Virtual PC for windows you might be able to get it running. A quick google search showed VPC for Win v5 supported 98SE so v 4 or 3 if you can find them might work (although i think Connectix only released mac versions back then). Also Wikipedia seems to think you can get partial func... | 5 | 2 | 331 | 2009-08-07T15:25:40.590 | infrastructure | serverfault.com | |
111,854 | Forefront Client Security - Deploying to client PCs | I wonder if someone can help me - I'm a developer who's having to build/run a small network for a new startup until we can get a real Network Admin on board. I have very little experience with running a domain so am reading everything I can lay my hands on but have run into a brick wall with regards to Forefront Client... | You can force Windows Update to get any updates using 'wuauclt -detectnow' Your problem might be with how you have WSUS configured. FCS probably had added and approved the client for install in its WSUS (Server B) and then by turning it in to a replica you have override the configuration from Server A. | 2 | 1 | 1,824 | 2010-02-11T10:46:30.610 | pipeline_ops | serverfault.com | |
140,122 | Is it safe to install dotnet 3.5 on an IIS server running a dotnet 1.1 web application? | If I recall correctly, this is fine, the different versions coexist peacefully, but I just want to double-check there's no possibility of problems (I'm installing the newer version of the .net framework on an older production server in preparation for upgrading a critical asp.net 1.1 app to 3.5 in the near future). | As long as the two applications are running in a different AppPool, it's like having two separate servers. No problems. | 2 | 8 | 759 | 2010-05-10T07:10:48.893 | infrastructure | serverfault.com | |
158,397 | Do large test methods indicate a code smell? | I have a particular method called TranslateValues() (Cyclomatic-Complexity of 5) which I would like to test. The test requires a substantial number of mock objects which take up most of the method ; The method being tested is fairly straightforward with this exceptional requirement. I am suspicious of this. For me, I m... | I say yes. You are testing too much. I'm guilty of it myself but ideally you test one thing at a time (to be read as "one assert per test"). That's the Utopian view and so long as you're closer to that than the "one test for everything with a ton of asserts" side you're ok. I think it really comes down to properly usin... | 7 | 3 | 1,888 | 2012-07-25T22:03:44.927 | api_errors | softwareengineering.stackexchange.com | |
244,012 | max_stack_depth error in postgresql | I am fairly new to PostgreSQL and would appreciate any help and recommendations. I'm running the following function to update a table: [CODE] but I get the following error: ERROR: stack depth limit exceeded HINT: Increase the configuration parameter "max_stack_depth" (currently 2048kB), after ensuring the platform's st... | Presumably your trigger firing on UPDATE executes an UPDATE on the same table, which itself fires the triggers, and so on recursively until the stack is full and the stack depth limit exceeded error is raised. Here's a bare bones example demonstrating the problem: [CODE] The mistake in the above case is to issue an UPD... | 2 | 2 | 11,298 | 2019-07-29T08:51:08.983 | database_errors | dba.stackexchange.com | |
152,902 | How do I make Tomcat start automatically? | I'm trying to get Tomcat to start automatically, and I'm failing miserably. (It's Tomcat 6.0.16 running on Fedora 8, based on Amazon ami-11ca2d78.) So, following standard instructions, I've created [CODE] containing this: [CODE] And I chmod 755 it. Then I create soft links: [CODE] But when I reboot it fails, and the lo... | If it is readable then the problem is that it can't find the directory. When you started tomcat by hand, you were logged in as 'root' user, I'm guessing. The user has CATALINA_HOME setup to point to where tomcat is installed. I think the problem is tomcat can't find the application base directory. In server.xml file, w... | 1 | 1 | 6,044 | 2010-06-20T03:46:28.190 | infrastructure | serverfault.com | |
322,788 | Most efficient method for large switch statements | Let's say you have many paths that an application can take at a certain point based on the value of a specific input (for example a simple [CODE] ). Is there a certain method that is most efficient for picking which path to follow? A nice and organized way would be a simple [CODE] statement, but does that scale as the ... | I hope this is just a thought experiment, because if you have a real-wold program with a thousand distinct code path selected by an int parameter, performance considerations should be way down you list of worries. It sounds completely unmaintainable. But to actually answer the question: [CODE] is O(n). If you really wa... | 4 | 8 | 13,164 | 2016-06-20T16:58:26.160 | api_errors | softwareengineering.stackexchange.com | |
556,569 | Scheduled task to run a 32-bit PowerShell Script with three arguments | TLDR Version I need to run a 32-bit PowerShell script that takes three arguments as a scheduled task in Windows Server 2008 R2. The script starts a FileSystemWatcher, so I need to keep it alive so that it can keep picking up new files. You should probably look at the stuff under "Arguments", below if you're skimming. B... | By George, I think I've got it! Ultimately, I reverted to the way I was originally running it in Console (that is, with dot-sourcing ), but added the -Noexit flag in front: Program: [CODE] Arguments: [CODE] | 5 | 3 | 5,218 | 2013-11-21T16:26:48.217 | infrastructure | serverfault.com | |
126,870 | Fetching data from 3 tables | Wanna fetch data from 3 tables by mysql query to display in feed. But stack. My query is [CODE] Expectation: Want to fetch data where [CODE] and [CODE] are matched from [CODE] and [CODE] tables respectively. Beside above condition, want to fetch data also if any user likes any post. The condition I putted like this way... | Please try it. [CODE] | 1 | 1 | 6,871 | 2016-01-21T14:20:16.073 | database_errors | dba.stackexchange.com | |
733,549 | Postfix/Dovecot with MySQL on CentOS 7 not creating the proper directory structure | I have set up a mail server using Postfix, Dovecot and MySQL on a CentOS machine to serve some virtual users but for some reason it doesn't store emails in their proper folders. Postfix and Dovecot both use a system user called vmail with it's home directory set to /home/vmail Domains and their associated email address... | check your /etc/postfix/master.cf file, should contain something like: [CODE] | 1 | 0 | 725 | 2015-11-03T12:10:19.717 | api_errors | serverfault.com | |
308,700 | Server 2008 Permissions | Sorry if this is a silly question. In server 2008, it is impossible for a user with administrator privileges to run things as an administrator without explicitly commanding it (right click->run as administrator, or properties->always run as administrator). This is not working for us for many reasons. Is there anyway to... | Turn off UAC (or disable Admin Approval Mode). (Note: doing this voids any warranty I may give you as to the security of your server) | 1 | 5 | 91 | 2011-09-06T20:20:11.803 | infrastructure | serverfault.com | |
401,583 | Is there any scientific evidence that programming katas work? | The idea of programming katas is kind of widespread at this point. A lot of people know what that is, not a lot of people actually practice it. Furthermore, you can find a lot of resources about coding katas on the internet, majority saying that katas can improve code quality, programming skills and etc. Still, there's... | I am a seasoned developer and I never heard of the phenomenon so I am not so sure about the popularity of so called katas. I had to look up the term and found they are just programming exercises. Can there ever be proof of exercises improving skills? It would be a pretty pointless experiment. If you do something a lot ... | -1 | 4 | 219 | 2019-11-25T09:25:01.597 | api_errors | softwareengineering.stackexchange.com | |
264,616 | Apache caching based on cookie | I'm trying to put mod_cache in front of my application server to cache "public" requests but not requests from logged-in users. For various reasons using alternate subdomains or paths isn't a viable option for me. I have the basics set up as: [CODE] So if Apache sees the NOCACHE cookie it will always pass the request t... | Usually you would do this by simply setting [CODE] but in this case this disables the caching layer. The [CODE] appears to only ignore the no-cache and no-store headers and not Expires. I would try using the no-cache header like: [CODE] with the CacheIgnoreNoLastMod (see mod_headers for more details on setting headers)... | 3 | 3 | 2,649 | 2011-04-29T06:33:19.717 | infrastructure | serverfault.com | |
256,861 | After SQL restart, CTE causes invalid object name error for a short period in SQL Server 2019 | We have some SQL code that has been in production for some time, in a SQL Server 2016 database; but it is raising an error in a SQL Server 2019 database for the first hour or so after restarting SQL Server (anywhere from 5-10 minutes to an hour or more, probably depending on the level of activity in SQL Server). The er... | Initially, it seems like this was a bug related to the new Scalar UDF Inlining feature added in SQL Server 2019, since you mentioned that disabling inlining resolved the problem. On further inspection, the function cannot be inlined due to the presence of a CTE in the function definition. Here's my (failed) attempt to ... | 8 | 4 | 2,430 | 2020-01-07T12:49:55.843 | database_errors | dba.stackexchange.com | |
28,162 | How should I respond when the team wants to ignore a critical but hard to reproduce bug | I am a Test engineer in a company. Recently, I caught a special bug. Here is the bug description. Process: Send money to a recipient via online banking. Fill in all the required details and Transfer Amount X to the recipient. The problem happens on the submit page. When I click Submit button on the confirmation page, t... | Good job not abandoning the problem! This does sound like a "scary" bug to me, and, potentially not only on the UI. Here are some of the things I would do if I were you: still create a formal issue in the bug tracker (you may put a "not-stable", or "requires more information" label on the ticket). Mention both your and... | 17 | 18 | 1,910 | 2017-06-30T13:45:23.493 | data_quality | sqa.stackexchange.com | |
336,401 | Reliable way to get external IP address | Possible Duplicate: Finding the Public IP address in a shell script I'm currently doing this in a script: [CODE] There's got to be a built in linux command or something for this, no? | No, there is no built-in command, and even the command you suggest may not give you what you want if your NAT device is doing anything more complex then a simple masquerading. | 2 | 1 | 1,727 | 2011-11-30T21:32:42.577 | data_quality | serverfault.com | |
181,256 | Port forwarding problem | I have a modem connecting to ADSL2 network and a router connecting to the modem. The rest of the machines all connect to the router. The modem has IP as 192.168.1.1 and the router's IP is 192.168.0.1. From the modem configuration, I can see that the modem thinks the router's IP is 192.168.1.2. I can visit the router by... | 1) All routers have two IPs, a WAN and a LAN IP. Your WAN IP is how your modem talks to the router, the LAN IP is how your computers talk to the router. 2)There is no port forwarding inside, that is not how port forwarding works, it will only work over NAT, which is one IP to another, in this case your public IP to a p... | 0 | 0 | 162 | 2010-09-15T05:13:58.533 | infrastructure | serverfault.com | |
536,564 | How to change windows self extraction location? | I am trying to deploy a WSUS role on a server but in the installation stage the wizard tries to extract a file to a drive which does not have permission. Can you help me to change this to C drive?. | It's odd that windows can't create a folder on a drive. You should take a look at the drive's security settings and verify SYSTEM has access to it. if for some reason you can't / won't give windows access to the drive, then it looks like n: is the drive with most free space (as far as I can remember windows uses the dr... | 1 | 0 | 77 | 2013-09-05T09:42:17.837 | infrastructure | serverfault.com | |
1,119,950 | Can Windows Server 2022 read passed through SAS drives in a JBOD configuration? | I recently bought a simple RAID controller card (LSI-9210-8i), and flashed it to IT mode. I also bought a single SAS drive of 3TB. I formatted the drive in the LSI Card's BIOS, and have checked the drive in MEGARAID, and it is reading as "Unconfigured (Good)". I am able to see the drive once I boot into Windows Server ... | There's nothing special about SAS drives. If the controller is supported, they'll appear in Windows like any other drive. | 0 | 1 | 316 | 2023-01-10T20:54:21.110 | infrastructure | serverfault.com | |
1,013,628 | (proxy_fcgi:error) AH01071: Got error 'Unable to open primary script:' (No such file or directory) | X-post from StackOverflow I've read countless forum posts about this but none of the answers seem to help my situation. Here's the log excerpt: [CODE] I've verified manually that this file is readable through SSH; also, other non-php files can be accessed through the browser. My directory structure is as follows: [CODE... | And the answer is that I had to set the doc_root through the PHP-FPM Configuration for the given domain. Why? I don't know - if someone can shed some light on this I'd rather not have to do things through the FPM configuration and set it through Apache if possible. I don't have to do this for subdomains... | 2 | 2 | 7,400 | 2020-04-22T19:39:44.583 | infrastructure | serverfault.com | |
78,603 | Execute permission denied on object sp_start_job | I need to allow a user to kick of a specific agent job without having any ability to start other ones. To accomplish this, I've created the following procedure (simplified): [CODE] However, when I call this procedure (having verified it is running via "sysadminaccount"), I get the following error message: Msg 229, Leve... | I don't like the [CODE] option because it significantly increases your exposure to a variety of things. As Remus explains in this answer , it essentially elevates any [CODE] to [CODE] . Some other things worth reading are a series on [CODE] by Sebastian Meine , the BOL topic, and a KB article (even though the assembly ... | 10 | 13 | 60,346 | 2014-10-07T16:00:00.710 | warehouse_errors | dba.stackexchange.com | |
842,639 | Ubuntu SFTP Access to a Single Folder in /html/ | I have an Ubuntu server with several sites on it. I would like to create SFTP accounts for my developers and give them access to only a single website. For example developer_A would only have access to website_A developer_b would only have access to website_B I created the users, set their home folders to website_A and... | Also [CODE] needs to be root owned and not writable by anyone else or you should [CODE] to [CODE] only. This is requirement for the [CODE] and you can't workaround it in OpenSSH, otherwise the server would be vulnerable to CVE-2009-2904. User can't have write permissions to root of his chroot. Period. | 0 | 0 | 620 | 2017-04-05T03:42:47.080 | infrastructure | serverfault.com | |
37,362 | Why can't we write ddl statement directly into the PL/SQL block | Why can't we write ddl statements directly in PL/SQL block, for example when i write [CODE] But, [CODE] Why second one executed successfully ? | As it says in the documentation : Only dynamic SQL can execute the following types of statements within PL/SQL program units: Data definition language (DDL) statements such as CREATE, DROP, GRANT, and REVOKE A [CODE] operation is [CODE] . When using [CODE] , remember that any [CODE] operations you execute will implicit... | 11 | 7 | 37,829 | 2013-03-22T18:25:30.027 | warehouse_errors | dba.stackexchange.com | |
54,224 | Fibre Channel LUN rescan and QLogic | I have a serious problem with a SAN storage array connected to a Linux box through Fibre Channel. Here is the configuration : Debian with plain vanilla linux 2.6.27.25 Fibre controller QLogic 4Gb dual port ( ISP2432 based) Basically the problem is: how to get this #?@!! FC controller/driver to recognize properly config... | In the off chance that the block device is being detected, but no /dev/ device is being created, you can manually create the device. This isn't optimal, but might limp you along. The major and minor numbers are presented in /proc/partitions, and you can create your own block devices through the mknod command. [CODE] Ho... | 9 | 2 | 44,494 | 2009-08-14T13:54:50.750 | infrastructure | serverfault.com | |
401,268 | How to duplicate a backup set from one media server to another | I really honestly can't figure out how to do this. It's easy enough to open Backup Exec and tell it to duplicate the data on one local device onto another local device. What I cannot figure out how to do is make it duplicate data from one local device to a remote device. I can connect to the remote BE server, but then ... | In a nutshell, you can't (with BE 12.5 - I haven't used a more recent version). A Backup Exec Media Server only has access to devices which are attached to it. In short, to duplicate between media servers you have to move the media from one media server to the other, then duplicate it. Methods of moving media might be:... | 2 | 3 | 2,648 | 2012-06-22T10:41:51.903 | data_quality | serverfault.com | |
30,083 | SQL Server 2008 R2 DMV Question | I have a query to retrieve the Top 10 queries based on total logical reads from the dm_exec_query_stats DMV. [CODE] The query returns all of the information requested, except for the name of the database that the query came from or was directed at. Whether I use dm_exec_sql_text or dm_exec_query_plan the result is the ... | [CODE] This query consumed lots of CPU and requested a large memory grant. In which database? The information you want simply doesn't exist as a concept. As a human with insight knowledge and with hindsight benefit, you probably would be able to explain why 75% of CPU is due to db1 and 15% is due to db2. But ultimately... | 7 | 8 | 1,194 | 2012-12-10T06:59:07.597 | database_errors | dba.stackexchange.com | |
38,361 | What design is best for data transformation? | My company's database makes available data to a lot of external applications. So I need to transform the same data to a lot of dynamic views. I can see that a former database developer had implemented many long chains of view-function-procedure call sequences to do transformation more common to all external application... | Have you considered building a datamart instead? Maybe it's what your colleague already did? It highly depends on your specific case, but I understand you can't describe your whole business in your question. If you are serious about that, I recommend you this great book which not only describe how to do it, but explain... | 5 | 4 | 370 | 2011-01-20T10:42:28.237 | api_errors | softwareengineering.stackexchange.com | |
1,125,655 | Postfix - Discarding EHLO Keywords Duplicate Log Entries | Ubuntu 20.04 Postfix 3.4 For each message received by my Postfix I see the following two entries: [CODE] My configuration... [CODE] [CODE] does not exist in master.cf, but even if it did that overrides - not additive - main.cf, correct? How can I stop this behavior or is it normal (albeit odd)? Thanks. | Its harmless - actually, the norm , in all but rare special cases: Almost all clients will send [CODE] once to coax the server into revealing that yes, of course, it will accept the [CODE] workaround to upgrade the existing connection to a secure channel. And then they will have to send [CODE] again because the server ... | 2 | 3 | 916 | 2023-03-08T16:56:39.270 | data_quality | serverfault.com | |
804,506 | SQL 2005 SP4 Maintenance Plan Not Saving | I am using SQL 2005 SP4 specifically version [CODE] it is the [CODE] Version and I am accessing it using [CODE] . I am trying to create a [CODE] tasks from the maintenance plan wizard and it fails on the process overview (last) section. I get this information from Advanced Information... [CODE] I have tried this as bot... | much of the Sql community uses the Ola Hallengren scripts to perform Index maintenance. Especially due to the fact that the scripts allow different levels of fragmentation to be handled in different ways (rebuild vs. reorg). The scripts are valid for all versions of Sql Server. Take a look at this link https://ola.hall... | 0 | 0 | 132 | 2016-09-21T16:44:49.950 | infrastructure | serverfault.com | |
26,056 | How can I run a script when my network connection changes? | I'd like to create a script to do various things when the network connection changes. For example, if the machine connects to my office network I might desire it to: mute itself change its DNS change its proxy settings change default printer Then, when the machine is off the office network it might revert some of those... | The "Network Location Awareness" service ( http://msdn.microsoft.com/en-us/library/ms739931(VS.85).aspx ) in Windows XP (and 2000? I don't recall...) and up will enable this functionality, but I haven't found where anybody has written an application to take advantage of it. I'd love to code something myself, but I don'... | 11 | 2 | 22,909 | 2009-06-15T18:23:29.190 | infrastructure | serverfault.com | |
319,042 | In SemVer 2.0.0, what kind of public API change category is the addition of a new exception? | I am working on an implementation for an existing public API. Now I needed to change the implementation to throw an exception for a failure condition about which previously the API consumer was not informed in any way. So basically I added a new possible exception. Is the addition of this exception an incompatible chan... | Looks like a potentially large change. It depends on the language/platform, but if you're using Java and you've added a checked exception, then your clients may not even be able to compile their code against your library without changes. Regardless of compilation issues, your library has a potential change in behaviour... | 2 | 2 | 343 | 2016-05-20T09:25:06.790 | api_errors | softwareengineering.stackexchange.com | |
38,462 | Buffer for errors in the Sprint Planning Meeting? | In a discussion with a Product Owner I had the situation that there were many bugs in the Product Backlog, but PO did not have time to prioritize them. So he wanted to set a story that is timeboxed and should serve as a placeholder for the later to be prioritized errors. Apart from the argument that it testifies to a b... | Sounds like deflection of their own inability As a product owner, their core function is to know what is most import based on the stakeholders input for teams to work on. If they cannot prioritize the product(s), and their respective defects, that they are responsible for, then I wonder what they are doing with their t... | -1 | 1 | 62 | 2019-03-26T21:40:59.637 | data_quality | sqa.stackexchange.com | |
678,536 | Installing Samplicator on CentOS | I'm trying to install Samplicator to test Netflow central collector and then forwarding to other collectors from there. I mainly want to use Samplicator due to it being able to easily sample the Netflow data and/or send the full raw feed. When I download it from the github repo, there is no configure file by default li... | Projects usually include a [CODE] script that generates the necessary GNU autoconf environment. These files aren't checked into git, so you'll need to run the script to generate them yourself. Unfortunately this particular project includes no such script, so you'll have to do it yourself. These items need to be run to ... | 1 | 0 | 1,728 | 2015-03-26T18:04:06.500 | infrastructure | serverfault.com | |
198,630 | How to persist temporary data over multiple HTTP requests? | In our webapplication we have a list of questions that have to be answered by the user. These questions are served to the user one by one and will be saved once the last question has been answered. The problem we faced was saving all the 'help'-data that goes with this: storing the index of the last question, returning... | Go with the ASP.NET Session object - it was made exactly for "persisting temporary data over HTTP requests" and it sounds like it was working for you. Your project mates should recognize that a "dirty" solution which is working is better than a "clean" solution which is not. Real-world software development is about ite... | 4 | 5 | 13,478 | 2013-05-18T15:30:10.197 | api_errors | softwareengineering.stackexchange.com | |
871,850 | ISC-DHCP and Bind9: DDNS update fails for reverse map (NOTAUTH) | I use the isc-dhcp-server with this configuration [CODE] : [CODE] and bind9 with this [CODE] : [CODE] When I reconnect with a client to optain a new IP my syslog says: [CODE] From my search I learned that the message from named [CODE] points to the DHCP server who is not authoritative. Even though I believe to have ide... | The zones in the BIND config are misspelled, eg [CODE] instead of [CODE] . Also, you should consider creating a separate TSIG key for this purpose instead of misusing the key for [CODE] in a wildly different context. | 1 | 2 | 4,977 | 2017-09-03T15:44:01.457 | infrastructure | serverfault.com | |
297,848 | RAID config. for a Heavily Used File Server | I'm building a new file server to replace an existing server. The current workload is about 50 connections that are heavily reading and writing files all day long. It is about 50/50 read to write. Most of the files are less than 10MB, though some files near or exceed 1GB. All files need to be on the same volume. We wil... | Who gave you that advice? They're an idiot. Large contiguous reads and writes benefit from a large stripe size (which, in extremis, might be "the size of the disk"), but you've explicitly said that you've got random access, which benefits from RAID-10 immensely. To get maximum performance, yes, you will have to correct... | 1 | 3 | 203 | 2011-08-05T00:26:27.920 | infrastructure | serverfault.com | |
1,040,768 | DHCP Server stops handing out leases | I currently have a DC running Windows Sever 2008 R2 (yes I know) and for the past two weeks, when employees travel back to the office, they can't connect to the internet unless I do one of two things. Reboot the DC Give them a static IP The DC also hosts the DHCP and DNS roles. So I've checked and checked for errors bu... | thank you for the question. Do the affected clients still hold a lease when they get into this state ? I'm assuming they are Windows clients - what's the output of "ipconfig /all" ? Have the clients been able to renew a lease ? | -1 | 0 | 555 | 2020-10-31T15:29:41.173 | infrastructure | serverfault.com | |
242,954 | This failure occured while attempting to connect to the Principle server | One of our clients recently came to us with a problem he's facing while working with our application. The error in the log file is the next: System.Data.SqlClient.SqlException (0x80131904): Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. This failure occ... | You mention two key things in your post: Mirroring Work is being performed against the failover-server I suspect what is going on is actually expected behavior . Mirroring connection strings define both a [CODE] (e.g. the Principal Server) and a [CODE] (e.g. the Mirror Server). When establishing a connection to a mirro... | 1 | 2 | 641 | 2019-07-16T05:34:51.363 | warehouse_errors | dba.stackexchange.com | |
665,030 | How do I log when CPU usage is over 40% per process | I have a problem with my server. Once in a while the CPU spikes to 100% and the server crashes and then needs to be rebooted. I've tried to go through my current logs but no luck. I would like to log every time a process uses more then say 40% of my CPU. I've read about a sar solution here : [CODE] but that doesn't hav... | based on results from: https://stackoverflow.com/questions/9229333/how-to-get-overall-cpu-usage-e-g-57-on-linux The I would install mpstat program, from that Based on a few user suggestions: [CODE] This will give you total CPU usage, you could then use that as a safe threshold in a script to take action. EDIT: Example:... | 0 | 0 | 215 | 2015-02-04T19:01:49.453 | infrastructure | serverfault.com | |
139,909 | Running router as virtual machine, can it be realible? | Does anyone here run their routing through virtual machine, have virtual machine setup as main router/getaway etc ? If yes, how many clients are using this kind of setup ? For those who are wondering why I'm asking this. I got assignment for my internship to create all in one "box" which would do routing and be IP PBX ... | There is no reason this won't work, although it's not the way most would choose to do it. One suggestion I would make is to use bare metal virtualization, such as ESXi or Xen Server, rather than using application mode virtualization. Obviously you need to consider the consequences of not having the router available whe... | 12 | 5 | 11,024 | 2010-05-08T19:56:59.467 | infrastructure | serverfault.com | |
823,730 | Removed ZFS files reoccurring after remount | I have a nasty situation with some of my ZFS filesystems (see list below). Files I removed therein keep reappearing after a remount (such after a reboot). One such filesystem is [CODE] . I get an mount error because the [CODE] directory is not empty. Fair enough, I do a [CODE] and then a [CODE] . Everything is fine unt... | ZFS root is often a bad idea... but maybe you can [CODE] (when the filesystem is unmounted) to prevent writing to the empty mountpoint. See: Prevent the possiblity of writing data to an unmounted mount point directory | 2 | 0 | 85 | 2017-01-02T16:42:14.063 | infrastructure | serverfault.com | |
123,791 | Is probabilities mean of predicted class (RandomForest) a consistent estimator of class recall? | I'm working on a classification problem in order to predict among 50 different classes. I'm using a Random Forest classifier and I'm using the [CODE] method to the fitted [CODE] in order to know the estimated probability of the predicted class. Then, for each class, I calculate this estimated probability mean [CODE] . ... | Unfortunately this doesn't work. To understand why, let's think about the perfect classifier and the maximally wrong classifier. The perfect classifier has 100% recall on any given class. If there are 5 uniformly distributed classes, the average probability assigned to each of those classes by the classifier (over some... | 0 | 2 | 37 | 2023-09-21T10:22:14.677 | data_quality | datascience.stackexchange.com | |
647,794 | apache tries to access .htaccess in lost+found directory | A subdirectory [CODE] of an apache (ver. 2.2.22 on ubuntu 12.04) vhost webroot is a disk partition of its own. Accordingly, there is also [CODE] . In my apache error logs I find errors that [CODE] cannot be read, with a referer like [CODE] (i.e. when a [CODE] directory index of that dirctory is displayed to the user). ... | Apache will try to find [CODE] files in every directory, but [CODE] is usually readable by [CODE] only, so it can't even check if a file is there. One solution is to mount the disk somewhere else, move the data into a subdir of that mountpoint and then either symlink or bind-mount that subdir it into place. This way, [... | 1 | 3 | 474 | 2014-11-28T14:05:35.310 | infrastructure | serverfault.com | |
150,416 | Vertica UNION and ORDER BY | I want to use ORDER BY clause but still have one specific entry on the top. I thought this might do it but Vertica is ignoring the ORDER BY clause on the second query: [CODE] Resulting in [CODE] DDL is [CODE] | The query needs [CODE] in the end, not in the subqueries (and note that the parentheses are optional there, at least in standard SQL, not sure if Vertica requires them): [CODE] But since you are grabbing all the data from the same table, there is no need for the [CODE] and the subqueries: [CODE] | 1 | 4 | 483 | 2016-09-22T15:07:12.940 | warehouse_errors | dba.stackexchange.com | |
97,078 | RAID5 2-disk failure - what steps to take? | I've got a 6-disk RAID5 array on a gentoo server. mdadm is reporting that two of the disks have failed. In the event that the disks are actually gone, I'm prepared to send the drives to professionals for recovery, but I don't want to have to do that unless it's necessary, and I don't want my own recovery attempts to ma... | How appropriate, that this should come on the heels of "Backup Appreciation Week" (or whatever it's called). The problem with trying to do anything yourself is that you're just increasing the amount of degradation on the drives whenever you're running them. Decide now if you're going to send it to the pros, and if so, ... | 3 | 13 | 26,320 | 2009-12-23T22:06:44.550 | infrastructure | serverfault.com | |
671,623 | Azure Site-to-Site VPN to Cyberoam cannot ping Azure VM from local VPN PC | I've set up Azure site-to-site VPN to Cyberoam following these instructions. The problem is that I can ping the local PC through the Azure VM but I cannot ping/access the shared folder/rdp of the VM from local PC. I tried disabling firewalls on both system but still with no luck. Please Note that I used the exact setti... | I resolved my issue by removing NAT Policy for outbound traffic LAN to VPN. | 0 | 0 | 1,595 | 2015-02-26T13:29:19.813 | infrastructure | serverfault.com | |
50,399 | Does ROLLBACK TRAN honor LOCK_TIMEOUT value? | I have a following stored procedure on my system. [CODE] UPDATE tbl went into timeout and ROLLBACK TRAN also failed because of timeout. Question is: is this possible? | No, this is not possible. SQL Server will always finish the [CODE] , no matter what. Even if you cut the power to the system in the middle of the [CODE] , the [CODE] will continue after the power is returned. [CODE] also ignores any connection interruptions and [CODE] settings. In fact, a connection interruption will s... | 0 | 3 | 297 | 2013-09-24T10:22:00.477 | database_errors | dba.stackexchange.com | |
17,565 | Logistic regression GD implementation in Python | I am implementing logistic regression in Python with the regularized loss function like this: But the gradient algorithm works bad. Read the bold text first, please! Just paste the code cell by cell [CODE] Here is the loss function: (scipy is to "clip" the logarithm's arg near [CODE] ) [CODE] Here is the gradient funct... | Actually, i have finally made it work. I dont know, what exactly was the crucial change, but here's the extract of my changes: replaced all [CODE] with [CODE] Decreased learning rate and regulizers Applied [CODE] to exponents So here is the final code: [CODE] | 3 | 0 | 873 | 2017-03-13T20:46:57.017 | data_quality | datascience.stackexchange.com | |
384,983 | Design pattern for an indeterminate number and format of questions | In my application, I have a finite number of question types, but the order in which they're asked and whether they're asked at all is not known up-front. An example analogy is a hotel booking process, during the process you may be asked a number of questions, like whether you want late check-out, rent-a-car, breakfast-... | Read @JohnWu comment . My answer will echo much of that I expect. My initial thought is that the State Design Pattern is most applicable The state machine idea could apply in "the big picture". For example a player is scored only when in the "questions completed" state. If anything, MVC applies here because the fundame... | 2 | 1 | 163 | 2019-01-04T17:13:02.450 | api_errors | softwareengineering.stackexchange.com | |
230,050 | get inherit keys inside json | I have JSON field with values like in the example, and I need to get all data from the key 'stat' inside it. The list of keys inside the data not constant. [CODE] as you see I do the multiple join to the table to it self, is it right way or may be has other best solution? More details: in the table [CODE] field, curren... | I'm not sure if it fits what are you looking for: [CODE] | ?column? | | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------... | 0 | 0 | 60 | 2019-02-18T14:30:58.990 | warehouse_errors | dba.stackexchange.com | |
727,719 | Oracle Linux 7: web server not reachable | Here's my setup. I have a vm running with Oracle Linux 7 installed. I started apache with [CODE] and it started without issue. I've created an [CODE] file in both [CODE] and [CODE] . I'm able to reach the VM from my host machine using [CODE] or [CODE] , but when I open a web browser and navigate to the IP address, the ... | You forgot to open the port in the firewall. For instance. [CODE] Remember to make it permanent as well. | 2 | 3 | 1,519 | 2015-10-08T20:37:36.450 | database_errors | serverfault.com | |
430,690 | If you had a medium size company, several developers - but zero tests written in your REST API's - where would you start? | I am looking to identify a benchmark to shoot for, and to come up with a decent game plan for introducing tests into our systems before deploying new code. Just some backstory My employer is not a tech company and our end users are inside the organization, we are just a department of 2-4 developers supporting a medium ... | I've actually been in this situation. When you talk about it taking 2 years to write the tests, I assume you mean unit tests. That's not where I would start. What I (or my team, rather) have done around this is create a system of characterization tests (thanks Vincent Savard .) That is, you create a set of inputs, you ... | 5 | 9 | 547 | 2021-07-29T19:35:48.390 | data_quality | softwareengineering.stackexchange.com | |
183,934 | How to implement a hybrid role-based access control model? | I am writing an enterprise web-forms-frontend application for in-house use. It has Direct access control (DAC) masquerading as Role-based access control (RBAC). For anonymization purposes, let's call the main unit of information stored in my application a Document, and the roles in the company a Boss, a Grunt and a C-l... | User permissions If you had full permissions information for each user entry in your database, you'd have the advantage of simplicity. You want to know the permissions of user X, load permissions for user X. The advantage is in the work you'd have to do. It's also true that it would use more database space, but I consi... | 1 | 3 | 3,272 | 2013-01-17T10:45:33.210 | api_errors | softwareengineering.stackexchange.com | |
419,462 | vhost file not bring recognised by apache | Hi sorry total noob to Apache and Macs here... feel the answer is really obvious but I've been looking for ages without success I have the following lines in /private/etc/apache2/extra/httpd-vhosts.conf [CODE] The httpd.conf file is including vhosts [CODE] So why when I run the command in terminal: $ httpd -S do I get:... | Is https.conf a typo in your question? Anyway, a reason why apache wont start : You are not root. Apache won't start because it tries to listen on port 80, and regular users can't bind ports below 1024 . Try starting apache as root and post the next errors. | 1 | 5 | 3,604 | 2012-08-20T23:19:19.653 | infrastructure | serverfault.com | |
1,049,962 | Mariadb not starting on amazon linux | I am new to [CODE] server configuration. I have setup an [CODE] web server with [CODE] database server for my [CODE] web application. My database server was running good for the last few days hence my website was running without any error. But yesterday the database server has been stopped working automatically. I trie... | I have solved my own problem. Following Stanley's answer, I opened the log file: /var/log/mariadb/mariadb.log. There I found line [CODE] That means, the RAM size of my server was not enough to run all the applications. That's why mariadb server was getting stopped. There are two solution: Increasing the RAM size Creati... | 0 | 0 | 723 | 2021-01-15T12:36:14.220 | database_errors | serverfault.com | |
489,829 | Troubleshooting I/O latency possibly caused by file system driver | I have a SQL Server instance (SQL Server 2008 R2, Windows 2008 R2) that complains, for very short, random periods of about 15-20 seconds, that some of its I/O requests are taking longer than 15 seconds. ("SQL Server has encountered x occurrence(s) of I/O requests taking longer than 15 seconds to complete on file x") Th... | here is another link bomb and run http://support.microsoft.com/kb/978000 and http://blogs.msdn.com/b/ntdebugging/archive/2010/04/22/etw-storport.aspx these will give you more insight as to wether its a filter driver issue or san issue. | 1 | 1 | 2,298 | 2013-03-20T20:41:00.243 | database_errors | serverfault.com | |
906,424 | Does spam reputation of my workstation IP affect email deliverability? [with smtp-relay/smart-host] | I apologize if this is off-topic, I wasn't sure if this should be posted here or on SuperUser. We had an ISP change at our office and we have a new fixed IP. We have a remote SMTP server. Today I was using MxToolbox's email header analyzer tool on a test email I sent from my office workstation, and the tool notified me... | I find it unsurprising that MxToolbox checked the headers when asked to do a header check. There are anti-spam solutions that look at all email headers as part of their evaluation. This includes the apparent origin address rather than just the last hop. | 2 | 2 | 85 | 2018-04-06T16:56:59.237 | infrastructure | serverfault.com | |
773,209 | Running an application on a second server with a dynamic IP. Do I need two SSL certificates when using Apache ProxyPass? | Terms [CODE] : The domain that points to the [CODE] . [CODE] : This server has a static IP address and has Apache ProxyPass pointing to [CODE] . [CODE] : This server sits behind a dynamic IP address and hosts the [CODE] . [CODE] : A web application running on the [CODE] . Intro I have an [CODE] that will be running fro... | It all depends on what you are trying to achieve with TLS certificates. If you need authentication and encryption for the client then you will need to have a TLS certificate for [CODE] . If the connection between [CODE] and [CODE] is secure (such as over a private network or VPN) then you may not need HTTPS between the... | 1 | 1 | 116 | 2016-04-27T08:56:17.430 | api_errors | serverfault.com | |
17,820 | Testing techniques for verifying a compiler | As part of a larger project, we are creating (or rather updating an existing) compiler that translates a Domain Specific Language (DSL) into a proprietary bytecode. The bytecode then gets loaded into and interpreted by the appliance that we are creating. Due to time constraints and the fact that testability was not tak... | (Edit to add answer here instead of just linking to a blog entry, thanks for the feedback on my original) Here are some ideas for a test plan for your complier. Many of these ideas were derived from a blog about how Microsoft tests their C++ complier . Functional Tests: In short, you should write many programs in your ... | 5 | 3 | 888 | 2016-03-28T13:24:52.040 | data_quality | sqa.stackexchange.com | |
557,476 | Fail2ban settings after changing ssh port | I switched my ssh port to 22000 and I changed the port settings in [CODE] to specify to ban on both 22 and 22000 but when I tried failing to login 6 times, my connection was cutoff but was able to try logging in again immediately. It appears my IP wasn't banned for an hour per the default bantime I set. Is there someth... | What I have seen by trying myself is that restarting the fail2ban daemon doesn't make it reload its configuration file . (Unlike most other daemons under linux... I don't even know how it manages to save its configuration when stopped. Temporary files I guess) The following command will solve your problem : [CODE] This... | 3 | 4 | 2,446 | 2013-11-26T09:47:00.257 | infrastructure | serverfault.com | |
259,435 | Postgresql group by for many columns | I have such query: [CODE] In MySQL i needed only one column for grouping that's Movie.id. For postgresql I needed to add 10 columns to make this query work as shown above. Is this natural for postgresql or this query should be refactored to remove need of so many grouping columns? | Imagine there is a row in [CODE] where [CODE] is 42. Then imagine that there are two rows in [CODE] where [CODE] is 42. Then the result of [CODE] would be something like [CODE] Now consider the following query: [CODE] By definition of [CODE] , there can be only one result row per [CODE] . Which number should we take fo... | 1 | 0 | 238 | 2020-02-11T18:08:03.987 | database_errors | dba.stackexchange.com | |
113,237 | CatBoost solves the problem of bias in pointwise gradient estimates | I've been reading the following papers: https://arxiv.org/abs/1810.11363 , https://arxiv.org/abs/1706.09516 and https://www.researchgate.net/publication/318030603_Fighting_biases_with_dynamic_boosting . If I understood correctly, CatBoost solves the problem of bias in pointwise gradient estimates: A prediction model F ... | If I understood correctly the pointwise gradient estimate is the empirical gradient given a point. And the bias come from the estimate is being heavily data dependent. I didn't read the full paper, but the seems like in order to estimate in the algorithm above looks inteasd of use all the same data points in each model... | 0 | 1 | 110 | 2022-08-04T07:56:13.673 | data_quality | datascience.stackexchange.com | |
68,639 | When is the Identity Column as Clustered Index a Bad Idea? | Its just been a few months of programming in SQL Server for me so my knowledge is not good in many regards. In an already existing project at work I came across many tables with large composite primary keys with clustered index. From what I have gathered, a large column/composite column with clustered index hits perfor... | I usually use an identity column as clustered primary key. However in some (rare?) cases this is not ideal because of the LastPageInsertLatchContention. This happens if a table is heavely filled with data. Because of the identity key all this INSERT's wants to write the last page of the table (index). So this page can ... | 9 | 7 | 18,122 | 2014-06-20T05:58:34.183 | database_errors | dba.stackexchange.com | |
695,056 | NGINX + uWSGI + Flask. Some requests very slow | We're running a fairly large Flask application and finding that at random times we'll end up with a very slow request (sometimes a minute or more) I presume the issue is related to lazy-loading modules and slow requests are when a new worker needs to start-up, or on reload. (we originally had this issue with Apache + m... | Figured this issue out: The issue was the Availability zones in the ELB. I thought I had to have an availability zone set the same as where my instance actually is and then at least one Public zone (the zone the instance is in is private). Apparently where the instance is doesn't matter, just the availability zones nee... | 1 | 2 | 3,721 | 2015-05-28T16:09:10.963 | infrastructure | serverfault.com | |
326,774 | Installing MCollective on Ubuntu 11.10 | I have tried installing MCollective on the latest version of Ubuntu, and out of the box, it does not seem to be working. I am curious what I have missed, and where the correct place to file a bug is, assuming it is a bug. Steps so far: $ apt-get install mcollective-middleware mcollective mcollective-client $ mc-find-ho... | To fix the "silence", I restarted the mcollective service and things are now working as expected. It looks like the package dependencies are a little messed up on Ubuntu 11.10 oneiric. I have submitted a bug report: https://bugs.launchpad.net/ubuntu/+source/mcollective/+bug/884908 | 0 | 0 | 484 | 2011-11-01T19:06:51.527 | infrastructure | serverfault.com | |
1,141,084 | why does systemd tag my self-made service "thawing" after running it for a few days? | I have found the strange tag of "thawing" running my self-made service using [CODE] like this: On the contrary, I found it running several threads via [CODE] : At first I thought it was a python problem, until I found a golang binary encountered the same problem: [CODE] The [CODE] bash script that [CODE] runs is this: ... | Its not clear what [CODE] should do, but it obviously exit often with your exit 5 directive. Thawing means systemd thinks its not a good idea to restart failing service eternally because if it fails always it should be fixed and not waste resources, so after few restarts it is thawed. First problem you have is that you... | 1 | 1 | 164 | 2023-08-09T06:35:44.797 | infrastructure | serverfault.com | |
242,525 | VPS[DebianSQ] - Super user can't mount | Having trouble with mySQL /tmp directory being to small. Need to resize the size from 16MB to something bigger. Only problem is that it won't allow me to resize it. [CODE] Im pretty sure there should be more space in the /tmp. Why can't I umount it. Further more do you guys have any recommendation on /tmp handling. BTW... | It looks like your VPS provider is using Linux-VServer. The /tmp filesystem is not under your control within the VPS. Your VPS provider will have to increase it from the default of 16MB for you. If they won't do this, you can configure MySQL to use a different directory for temporary files. | 0 | 1 | 595 | 2011-03-03T01:40:01.920 | database_errors | serverfault.com | |
275,238 | What does scalability mean when talking about ethernet networks | I need to do a homework and write a bit about ethernet. I am totally new to the topic, so i thought maybe some one could give me a hand by explaining me a bit about what scalability is, when talking about ethernet networks? I have experience with web programming, and when we talk about scalability, we think in the perf... | Ok, this IS tricky because there are different scalability axis. How many computers you can happily have on a segment How much data you can move on a segment How much data you can move on a cable. All those mean differen thigns and different ethernet level technologies migitate some of them more or less (switchesvs. hu... | 0 | 1 | 2,016 | 2011-05-30T14:06:23.783 | infrastructure | serverfault.com | |
957,021 | Pfsense routing between OPT subnet and LAN subnet | Hereafter is my today address plan and related cabling which works partially. on top of this picture I have in mind to offer a OpenVPN connection NATed to the OPT subnet (but this is for later because the first step does not work). [CODE] the picture is more delailed: the traffic between internet & 192.168.1.1 subnet w... | You are putting the firewall rules on the wrong interfaces. Use the same rules, but just switch them: In LAN rules, pass any LANnet to OPTnet, and in OPT rules, pass any OPTnet to LANnet. | 0 | 1 | 6,145 | 2019-03-06T13:19:37.627 | infrastructure | serverfault.com | |
18,818 | Required permissions to reorder Board items | EDIT: This is a duplicate of https://stackoverflow.com/q/77852519/1637105 . I originally posted this question in this "DevOps" community, then I found a Microsoft support article that says to post questions in the main StackOverflow community with the [azure-devops] tag. In my organization, I have a user who will serve... | Thanks to Daniel Mann (see the comment on this SO post ), the docs clearly state that Basic access level is required to: Change the priority of an item within a board Change fields on cards on a board, except for State field | 0 | 0 | 27 | 2024-01-20T19:46:08.483 | data_quality | devops.stackexchange.com | |
6,216 | Access denied when pulling private registry image using helm with gitlab runner helm chart and ci job | I have a kubernetes cluster with 1 master and 2 workers. All nodes have their IP address. Let's call them like this: master-0 worker-0 worker-1 The network pod policy and all my nodes communication are setting up correctly, all works perfectly. If I specify this infrastructure, it's just to be more specific about my ca... | The error you are getting is from your Kubernetes cluster being unable to pull container image from GitLab. Providing a temporary credential to pull the containers as deploy time is not a great solution. For example, say your Kubernetes cluster needs to scale up by adding another node, the node will come up and try and... | 0 | 1 | 3,274 | 2019-02-04T09:22:15.107 | pipeline_ops | devops.stackexchange.com | |
10,146 | Why does 'sysfiles1' show up in the sys.objects catalog view in SQL Server 2008? | We were recently using this query to find tables in our database that didn't have clustered indexes and found that one of the results it reported back was the 'sys.sysfiles1' table. We're running SQL Server 2008 and I was under the impression that this table wasn't used anymore (as some answers have pointed out there s... | [CODE] is an internal catalog table. There are many of them (basically any table with object_id between 1 and 99 is, by definition, an internal catalog table). The query compiler refuses to bind queries to them under normal context, so if you try to select from them you get the error you see. DAC connections can bind t... | 3 | 5 | 1,630 | 2012-01-04T14:57:03.227 | api_errors | dba.stackexchange.com | |
1,117,642 | Debian x64 limited to 4GB Memory- why? | I have a virtual machine (running on a QNAP NAS) which is configured for 8GB of memory. But my Debian only uses 4GB of them. See outputs: [CODE] So the (virtual) hardware offers 8GB as you can see. But Debian does only use 4GB of them: [CODE] And yes, it is a 64bit system: [CODE] And no, there are no kernel parameters ... | update shortly after posting. This issue is solved: Looks like the "dynamically assigned memory" from the QNAP hypervisor has causedd this issue. Disabled dynamic memory and the Debian VM runs with 8GB fully. Ok, I will investigate a little bit further if and how to use the dynamic memory feature. /KNEBB | 0 | 0 | 80 | 2022-12-09T13:16:40.857 | infrastructure | serverfault.com | |
17,856 | Clients timing out with no apparent reason | I have a SQL Server 2005 server that's been running fine most of the time. Today the users started to get time outs when opening new connections, including myself when I tried to open another tab on SSMS. I've looked everywhere for the problem but I haven't found anything actually wrong with the server! It's over 10.00... | Have you checked the error log? In Object Explorer, expand Management, expand SQL Server Logs, right-click [CODE] and choose [CODE] . Hopefully there will be more details there about what is causing the timeouts. If you can post anything suspect that you find there, we can help you troubleshoot further (though it may b... | 2 | 3 | 9,790 | 2012-05-15T01:47:47.793 | database_errors | dba.stackexchange.com | |
1,149,054 | Can I log when the message arrival rate exceeds the message delivery rate in postfix? | I am trying to implement a MTA, on reading documentation of the postfix I found a parameter 'in_flow_delay' whose description in sort says 'Time to pause before accepting a new message, when the message arrival rate exceeds the message delivery rate.'. How can I log or receive email notifications when such thing happen... | Postfix has logging implemented by default in its design. Depending on your Linux distribution it either logs to journalctl using systemd logging( [CODE] ),or using syslog or rsyslog to a seperate log file in /var/log. You might need to tweak the logging level a bit too get there right info. | 1 | 0 | 44 | 2023-12-04T03:27:19.847 | infrastructure | serverfault.com | |
333,337 | Mental model for working with linked list | I have been doing some practice problems on LinkedList but more than half of my time is spent on managing [CODE] pointer issue in my code, provided I have to keep track of [CODE] , [CODE] and [CODE] sometimes. I need to know is there any way / model to deal with such issues? Example: [CODE] What are common pitfalls whi... | As I understand your post, there are two questions here. One is how to build a mental model of a linked list. The other is how to deal with all of the checks for [CODE] . If you want a simple model to think about linked lists, it would have to be this: You have an important node which is the head, and from there you st... | -1 | 5 | 410 | 2016-10-11T10:49:27.740 | api_errors | softwareengineering.stackexchange.com | |
212,428 | Migrate SCOM 2007 R2 Databases to SQL 2008 R2 (change server) | UPDATE I have a SCOM 2007 R2 server that uses a sql 2005 server. Machine 1: SCOM (SCOM 2007 R2 - W2K3) Machine 2: SQL2005 (SQL 2005 SP2 - W2K3) SQL Cluster: SQLCLUSTER (SQL 2008 R2 on Cluster - W2K8R2) Reporting Services is on one of the cluster machines as it's not cluster aware. I Currently use SQL2005 for Operations... | SCOM 2007 R2 still does not support SQL 2008 R2 for existing installations. The latest cumulative update for SCOM (CU#3) was just released November 15 and didn't include support, so you will have a while to wait for a CU to cover it. You may be able to contact Microsoft Support and see if a hotfix is available through ... | 1 | 2 | 1,447 | 2010-12-14T13:42:33.447 | database_errors | serverfault.com | |
570,800 | Apache mod_proxy+mod_rewrite = "Request exceeded the limit ..." error | Good day, I'm using Apache as a reverse proxy for my Tornado app which runs on [CODE] . I want Apache to proxy everything that arrives to /api/v2 through HTTPS to [CODE] . Apache is also takes care of authentication, thus I need to forward the authenticated user name to my Tornado app. Hence using [CODE] . I've added t... | That's very strange, as there shouldn't be anything causing the appending on the subrequests. Let's see if anything changes when that rule isn't applied to the insane subrequests by adding an [CODE] flag: [CODE] | 3 | 4 | 5,108 | 2014-01-29T17:03:58.780 | api_errors | serverfault.com | |
1,118,067 | What is the easiest way to shut down Kubeadm on Ubuntu? | I have just installed [CODE] on Ubuntu 22.04 and they all are working fine. I am wondering how I shut them all down without making them corrupted? Also how can I start them all up again? Furthermore I like to know if I shut them down and startup again whenever I want to put my Laptop on suspend? (I am using Kubernetes ... | I have experimented with the scenario mentioned above. I tried to check whether any option is available for kubeadm but there is no such option available, However if we are using kubeadm and the system gets restarted the cluster will become up one it got restarted provided you have used static ips for configuring the k... | 0 | 0 | 401 | 2022-12-15T07:01:22.590 | data_quality | serverfault.com | |
849,828 | smart long test - what is the performance impact on busy server? | I have a busy server with a RAID 1 setup. The application (runs in PHP) is very read/write intensive to the database (MariaDB). A cronjob runs [CODE] short test every day and checks the output of [CODE] and [CODE] . I would like to run a long test sometimes, but I am concerned about its performance impact. I read that ... | It depends. (muhahaha) On what? How much your application uses the disk and how much caching can your application take advantage of. There's no magic here - if the drive is being tested, it cannot serve at the same maximum speed and low latency as when it is not. However, if your minimum latency requirements are less t... | 6 | 5 | 3,454 | 2017-05-12T20:32:19.927 | database_errors | serverfault.com | |
120,514 | Oracle rman db restore | First to mention that I came to the need of asking help after furious research I reattempts for about 3 weeks. I checked previous threads in Oracle community but nothing works for me. I am trying to restore Oracle 11.1.0.7. multi HDD cluster production on single hdd locally on amazon ec2. Restore is done from full back... | This line clearly states the reason for the block corruption: [CODE] [CODE] operations are not logged in the redo as traditional operations, the amount of information logged is greatly reduced to an extent, where data recovery is not possible. Because of this, if you did not make a backup of the affected datafiles afte... | 0 | 0 | 252 | 2015-11-09T08:31:43.247 | hadoop_errors | dba.stackexchange.com | |
704,497 | Domain joined server is not identified as domain joined on the network profile | IS there a way to force set this setting? The server is a Hyper-V server and the AD DS is hosted in a VM on this server. Is this going to be a problem? I noticed this issue when my RDP connections stopped working to the main node which hosts all the VMs. | My solution: Using Local Security Policy Open "Local Security Policy". Click on "Network List Manager Policies" in the left pane. (This selection is buried in older versions of Windows.) Double-click on "Unidentified Networks" in the right pane. Set "Location type" to "private". Using Network Connection Properties Go t... | 3 | 2 | 59,418 | 2015-07-09T01:56:51.517 | infrastructure | serverfault.com | |
1,030,346 | 301 Redirect with nginx | I moved my website URLs from this form: [CODE] to this form: [CODE] And I would like to set up nginx redirection so that I don't lose the visitors going through old URLs. I have found the regex that I need to use, which is simply [CODE] (Takes all text after the last slash). But how can I set it up to use with nginx? T... | The following configuration should work, it should be the last [CODE] block in your [CODE] block: [CODE] The [CODE] block matches both one and two levels of directory prefixes, and captures the rest of the URL into [CODE] variable. The variable is then used to generate the 301 redirect. | 1 | 0 | 3,850 | 2020-08-16T18:14:43.143 | infrastructure | serverfault.com | |
885,346 | lsyncd not excluding files in the lsyncd.conf files | I have searched the internet but could not find an answer to my problem with lsyncd. I am working on a WordPress project and basically I need to exclude a few files from updating/copying over to the slave server. I am using a master/slave setup. So I this it up on two test servers, both RedHat 7.3 with lsyncd version 2... | Two things come to mind: Can your lsyncd process read the exclude file? You should be able to see this in the status log. Also, have no blank lines in the exclude file as that gets interpreted as 'exclude all'. | 0 | 0 | 1,595 | 2017-11-27T14:31:56.933 | infrastructure | serverfault.com | |
256,537 | Linux LVM: Expanding vg to match "expanded" physical disk | I have a volume group that was created out of a 30Gb drive and a logical volume inside it with an ext3 filesystem. Now the disk has magically "grown" another 30Gb to 60Gb (that is, I changed the physical device attached to the virtual machine...). Parted recognized the change and asked to fix itself (which I did). How ... | Actually, I think I got the answer on this one. Having come from HP-UX where LVM is native - and there are no partitions, I forgot something: on PC-based systems, LVM considers a partition to be a "physical device", not the entire disk as is natural in HP-UX LVM. Thus, when the "disk" was expanded from 30Gb to 60Gb, th... | 3 | 2 | 816 | 2011-04-06T19:38:25.177 | infrastructure | serverfault.com | |
46,393 | Get top most parent by nth child id? | Now there is a question we commonly use this technique to maintain the parent child relation i.e we store all the entities in one tables with a parent_id column and all top most parents have 0 in the parent_id column this is a good and normalized technique i agree but there is a disadvantage also, it’s slow and ineffic... | What you are looking is simply not facilitated by MySQL as of writing this answer. Common Table Expressions (CTEs) are supported by several databases. @a_horse_with_no_name posted an answer naming those RDBMSs. I have posted recursive Stored Procedures: Find highest level of a hierarchical field: with vs without CTEs .... | 2 | 1 | 11,125 | 2013-07-15T17:32:03.383 | database_errors | dba.stackexchange.com | |
68,070 | Date and Time in Log file | I've the translated Sybase ASA 9 log file, and the log looks like [CODE] I need to know the date and time in the "--UPDATE" / "--INSERT" and "--COMMIT" were executed in the db. I can't find in the Sybase's help file nor in my search in Internet. Kind Regards, William Bertan | I'm afraid that information is not available. The transaction log file doesn't store information to that level of detail for most statements. You can get the date and time for connection attempts and checkpoints, but not for DDL statements. Disclaimer: I work for SAP in SQL Anywhere engineering. | 1 | 1 | 321 | 2014-06-11T19:33:18.550 | warehouse_errors | dba.stackexchange.com | |
608,831 | Docker doesn't start MONGODB, and IPAddress doesn't appear, when started with other services | I have been trying to build an OS image from Fedora unsuccessfully to start the following: Systemd SSHD RabbitMQ MongoDB I can get the first 3 (Systemd, SSHD and RabbitMQ-Server) to work. I can also get MongoDB to work within the container. However, I cannot get MongoDB to work along with other 3 services. In addition,... | This question was answered on stackoverflow . Ref: Docker doesn't start MONGODB, and IPAddress doesn't appear, when started with other services | 1 | 0 | 1,885 | 2014-06-29T22:48:45.153 | database_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.