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 |
|---|---|---|---|---|---|---|---|---|---|---|
1,079,438 | Substitute a string into timestamp | I want to use [CODE] or [CODE] to replace a string with the current timestamp in miliseconds. I tried so far, but it's not working. [CODE] [CODE] Does someone has the idea to get this running? I was also thinking about, to combine it with ssi, but also not working. | From reading the [CODE] documentation , I cannot find a single reference as to why you would think it would work with executing an external process (or forking a shell, or anything of that sort). So I would not consider this route to be a viable one. [CODE] , on the other hand, seems adapted to what you wish to do. How... | 0 | 0 | 87 | 2021-10-03T21:11:40.510 | infrastructure | serverfault.com | |
995,334 | Unable to use Azure AD accounts to remotely authenticate to Windows | How can I use an Azure AD account to remotely authenticate to Azure AD-joined Windows? I have: Tried authenticating remotely using Azure AD accounts and every sign-in format that I'm aware of (listed below) but all result in error message [CODE] and Audit Failure event with ID [CODE] , status [CODE] , and sub status [C... | From my extensive testing, I have concluded that Windows 10 v1909 (latest as of writing) simply doesn't support the usage of Azure AD accounts / credentials with Network-Level Authentication (NLA). Remote access via RDP can be worked around by disabling NLA and manually editing the .RDP file adding [CODE] . Remote acce... | 1 | 1 | 1,759 | 2019-12-12T12:42:00.713 | infrastructure | serverfault.com | |
518,092 | Squid SSL bump with parent proxy | Does SSL bumping work with parent proxy? [CODE] and [CODE] are set up like this: [CODE] : [CODE] [CODE] [CODE] [CODE] version: [CODE] Everything works fine for HTTP but HTTPS connections raise [CODE] in [CODE] . Parent proxy works if set as HTTPS proxy in browsers. | Need 3 lines in there: [CODE] Point your browser HTTP and SSL proxy to 3128 and it should work. Anytime it gets a secure CONNECT request, it goes down the line to 3130 for https. No other firewall entries needed since it is all internal with squid. | 2 | 1 | 10,443 | 2013-06-24T13:46:37.207 | infrastructure | serverfault.com | |
369,172 | Direction to take to improve a AST interpreter | I'm looking for some opinions/advices about a particular subject. Here is the situation : I'm developing for fun, in my spare time, a programming language interpreter made in C# and I'm looking for improving its speed. I've made a Lexer (works great !), a Parser (works great !), Optimizer (works great !) and Interprete... | Emitting actual bytecode will (pretty much) always have the best performance of those options (for this sort of code) because the translation from AST to operations happens at compile time rather than runtime - and you're not likely to take advantage of run time information to perform further optimization. And honestly... | 3 | 1 | 534 | 2018-04-10T20:11:58.477 | api_errors | softwareengineering.stackexchange.com | |
23,121 | Why are good programmers referred to as Ninjas? | How is a Ninja programmer defined? If it is just an experienced developer, then is there really no better way to describe that? Ninja sounds like a childish marketing ploy designed to attract developers with delusions of self-grandeur. Or am I missing something? In particular I want to know what qualities of a Ninja ar... | To my mind there are a few parallels between a Ninja and a good programmer: Hidden weapons/unorthodox style - If you ever saw the G.I. Joe cartoon from the 1980s you may remember the character of Storm Shadow . He had a sword and some throwing stars but with just the right sequences of punches and kicks managed to take... | 37 | 34 | 32,488 | 2010-12-02T14:27:10.057 | api_errors | softwareengineering.stackexchange.com | |
146,478 | postgresql: hindi encode and decode error | [CODE] Why does not this return the Hindi text? collate: en_US.UTF-8 Ctype: en_US.UTF-8 | The documentation tells you what exactly [CODE] returns: [CODE] [CODE] is the [CODE] output. You need an additional call of [CODE] to turn this back to text: [CODE] | 0 | 2 | 532 | 2016-08-11T07:28:56.307 | database_errors | dba.stackexchange.com | |
45,192 | How to get the Chrome Browser cookie file path when it is launched from selenium? | I am trying to scan the cookies of a specific page with selenium. Unfortunately, the [CODE] method can only get the first-party cookies, but I am more interested in the 3rd party cookies. As far as I can see the easiest solution could be reading Cookies database file of the browser. I tested my idea with the normal chr... | Launching chrome URL [CODE] will give app cache path. This gives a path from where the profile is loaded So now we can use this trick in a browser launched in selenium and enter this URL. Will display the different profile path as shown in the image below. When You navigate this path in your window file explorer you wi... | 0 | 2 | 2,019 | 2020-07-09T09:03:05.387 | data_quality | sqa.stackexchange.com | |
375,404 | Persisting domain state without exposing underlying provider(s) | Working on a DDD application where I need to persist state. Here's a very simple example: [CODE] By using the internal setter / getter only interface, I can ensure that state isn't changed outside of the business logic implemented in the domain root. I have a factory/builder set up within the same project to instantiat... | A separated project that implements the IStateRepository is a good way, but you should to consider that you really need to create a internal class on the Data project that implements IState. Note, since the Interfaces are contracts, imagine if this project is being developing by two people who should to work by respect... | 2 | 1 | 210 | 2018-07-18T12:50:13.000 | data_quality | softwareengineering.stackexchange.com | |
606,998 | Why does Fedora 20 still deny access to home directories after enabling SELinux httpd_read_user_content and setting files to httpd_user_content_t? | On my Fedora 20, I've learned that to allow write access to files by processes like PHP via Apache, the process owner, which is in my case [CODE] , must have write permissions to the files. Also, since SELinux is enabled, the files must have the [CODE] context. It also looks like an SELinux policy prevents httpd from a... | Sigh... always check your permissions, people. Even though the SELinux settings were good, there was a directory on the way down to the path I wanted [CODE] to reach that was not allowing that user to read/execute it. First of all, I should have looked at [CODE] which plainly said: (13)Permission denied: [client 127.0.... | 1 | 0 | 3,154 | 2014-06-21T17:40:31.403 | infrastructure | serverfault.com | |
185,175 | Specifying Query in Unit Test | When writing unit tests, should I specify the query that will be performed for interacting with the database? I can see both sides of this. On one hand, I want to make sure that the query that I specify is being performed. But I can be making the test more brittle due to the formatting of the query. EDIT: Basically the... | Each of your classes should have a specific responsibility (what it does) and it should only do that thing (a single responsibility) and it should do it well. Your testing should ensure that the object in question does what it is supposed to. With regards to a mapper object we are concerned that it can properly map fro... | 2 | 3 | 1,267 | 2013-01-29T16:39:11.927 | api_errors | softwareengineering.stackexchange.com | |
273,243 | I lost access to my webserver with FTP and SSH, What can I do? | I have a weird issue, I've been using this webserver for months without problems, but this morning I accessed with FTP to move some files, and then every time that I wanted to download or upload files I had this error: [CODE] and then I tried to use SSH to connect to my webserver and I had this error: ssh_exchange_iden... | If you own the box, see if you can get console access into it. Verify the daemons are running, and see if you can connect locally. If you can connect locally, but can't externally, check your firewall settings. Some consumer firewalls will upgrade their own firmware automatically, and who knows? Maybe this went bad. An... | 0 | 1 | 1,441 | 2011-05-24T15:57:51.843 | infrastructure | serverfault.com | |
1,041,082 | How to increase Apache's timeout correctly when mod_proxy is used | Background: I have machine to machine communication system, where client is sending every now and then data to Apache Server. Communication is slow as mobile 2G is used for communication. Apache uses mod_wsgi (for Django). Because client doesn't know actual data amount when communication is started, chunked transfer en... | Are you sure the 408 error is due to Apache is taking too long to serve the request? HTTP 408 is "Request Timeout". It occurs when the client connects but doesn't send any data before the timeout triggers. You can use the ReqTimeout module ( https://httpd.apache.org/docs/2.4/mod/mod_reqtimeout.html ) to increase the ti... | 1 | 0 | 14,247 | 2020-11-03T09:34:12.013 | infrastructure | serverfault.com | |
383,914 | Persistent Web Server Connection from Multiple Hosts | Suppose that a Web server runs in Host C on port 8080. Suppose this Web server uses persistent connections, and is currently receiving requests from two different Hosts, A and B. Are all of the requests being sent through the same socket at Host C? If they are being passed through different sockets, do both of the sock... | Applications that persistently listen on a port handle connection-management of the higher level protocol. The two separate connections over the same port will be handled by the same instance of an application. Two connections, one application, one listening socket. The application is responsible for maintaining applic... | -2 | 2 | 1,003 | 2012-04-27T19:34:29.600 | infrastructure | serverfault.com | |
146,159 | Fixed expired accounts in Oracle 11g | I have an Oracle 11g server that's used for PHP development. Recently, I had a problem logging into the Enterprise Manager due to expired passwords. I've already changed settings so passwords no longer expire and I've unlocked all users. However, the user manager shows most built-in users as expired. How can I fix that... | Try with: ALTER USER user ACCOUNT UNLOCK; If you want that the user is no longer expired you have to change the password (as far as i know). Anyway for those system users is pretty normal they're expired and locked. Instead here http://download.oracle.com/docs/cd/B28359_01/server.111/b28337/tdpsg_user_accounts.htm he's... | 2 | 1 | 6,471 | 2010-05-28T07:44:39.703 | database_errors | serverfault.com | |
411,571 | Does intel matrix raid 1 setup require raid enabled hard drives | Hi I have a failed drive on a server running intel matrix raid array RAID1, I can't get the same model drive anymore to replace the missing one as it is 5 years old. Can I use a regular type workstation drive that is readily available or should I really only use some raid enabled hard drive like the RE4 series from wes... | Where's the spare drive that should have been bought 5 years ago? :) To answer your question, the only difference between the WD Caviar Black and the otherwise identical RE4 drives is that the latter has Time-Limited Error Recovery , which reports back to the RAID controller in a shorter amount of time if the drive had... | 0 | 1 | 142 | 2012-07-26T19:34:42.060 | infrastructure | serverfault.com | |
94,217 | GROUP BY on two large joined tables | I have two tables: [CODE] The fields are custom-created; hence the schema. I am trying to run a histogram-type query to discover the range of values for a given FieldID together with a count of the times each value occurs. Here is the query: [CODE] We use GUIDs for the GroupIDs. Performance is fine for small groups but... | Sorry, but you have designed yourself into a corner. Strike 1: EAV (key-value) schema sucks when the tables get large. Further discussion and possible workarounds: http://mysql.rjweb.org/doc.php/eav Strike 2: GUIDs (and UUIDs, MD5s, etc) suck as KEYs because they are so random. Further discussion and a possible (but un... | 1 | 3 | 865 | 2015-03-02T21:09:46.807 | database_errors | dba.stackexchange.com | |
245,602 | Why can't arrays be passed as function arguments in C? | Following this comment , I've tried to google why, but my google-fu failed. Comment from link: [...] But the important thing is that arrays and pointers are different things in C. Assuming you're not using any compiler extensions, you can't generally pass an array itself to a function, but you can pass a pointer, and i... | My first guess for the reason was simply because of performance and memory saving reasons, and for the ease of compiler implementation as well (especially for the kind of computers at the time when C was invented). Passing huge arrays "by value" seemed to have a huge impact at the stack, it needs a full array copy oper... | 14 | 21 | 4,625 | 2014-06-20T16:53:06.343 | api_errors | softwareengineering.stackexchange.com | |
1,012,222 | ansible Dynamic inventory Hosts value does not accept list of hosts | I am trying to create dynamic inventory for my setup. everywhere i see examples of IPs and hostname as list. but when i provide hosts value as list it error's out and says it has to be dict. Below inventory i am providing to playbook, [CODE] it gives this warnning and error [CODE] [CODE] Howeever when i pass it this wa... | Apart from the above error, you can get the same error if you are using a [CODE] hosts file. Change the extension to a [CODE] file to match the actual file format. Mine was that simple and it was resolved like that! | 0 | 1 | 2,256 | 2020-04-14T09:48:14.493 | pipeline_ops | serverfault.com | |
442,159 | How to solve php warning for mediawiki running on tomcat with quercus | I set up a mediawiki (1.19.2) with quercus (4.0.25) on a Tomcat 7. The installation process went well, there were no errors or warnings, the database connection is OK and at the end of the installation process I copied the LocalSettings.php into the mediawiki base folder as required. From that point I got the following... | According to the PHP manual , htmlspecialchars does take 4 parameters, 3 of which are optional. This suggests that Quercus is an incomplete implementation of PHP. A Warning in PHP usually indicates that it is going to keep going and do whatever it can. Presumably, in this case, it will behave as if it were set to true ... | 0 | 2 | 488 | 2012-10-25T08:11:26.110 | infrastructure | serverfault.com | |
922,238 | HP Procurve STP Path Blocking | I have four Switches that are interconnected with each other, witch form a loop as shown in this network diagram The [CODE] is the root bridge and is connected to the primary edge router. The [CODE] is the failover root bridge and is connected to the secondary edge router. The two switches are interconnected with a 10 ... | Essentially, SW2's STP priority doesn't matter as it's only used for root election. Since SW4's path costs are 1G+1G across SW3 but 1G+10G across SW2, the latter is set as root path and the former is blocked - it'll automatically do what you'd like. The better 10G link cost tends to attract the active links in the tree... | 1 | 1 | 538 | 2018-07-17T09:08:31.513 | database_errors | serverfault.com | |
705,896 | SSL certificate issue for all clients | I had exchange 2013 installed on Windows 2012 server and all way happy until I attempted to add remote access role. This failed the first time, and I had to remove the role and re-add the role. Remote Access is working fine, however, I now have a very annoying issue with every PC on the network not being able to confir... | Here is what I did to fix the issue. Purchased the external domain certificate and installed that as per instructions here https://www.digicert.com/csr-creation-microsoft-exchange-2013.htm Installed as per here https://www.digicert.com/ssl-certificate-installation-microsoft-exchange-2013.htm Resolved the certificate is... | 0 | 0 | 137 | 2015-07-15T11:29:08.820 | api_errors | serverfault.com | |
218,545 | Performance: ALTER TABLE with default value vs. iterating over all records to set new value | For adding values to a new column, I have the following options: Using [CODE] to add value during [CODE] command. Doing [CODE] without [CODE] , then fetching all the records and iterating over all of them to save them with the new value. I am interested to know how much performance difference should I expect? I am addi... | The primary difference you need to be concerned about is whether or not a table lock is acceptable for an extended period of time. One approach acquires a lock against the table and one acquires locks on rows (if done correctly). You might also consider, if possible, creating a view against the original table that also... | 0 | 0 | 574 | 2018-09-25T18:44:17.187 | warehouse_errors | dba.stackexchange.com | |
462,668 | stop Centos 6.3 loading 'Text Mode Setup Utility' at restart | I've just puppetted a virtual machine and from scratch (based on Centos 6.3 minimal). That install process does a variety of things, but one annoying side effect is that when the VM reboots, it automatically opens a tool called: [CODE] Is says "Choose a Tool" with options for "Authentication configuration", "Firewall c... | Can you show the output of [CODE] ? How about your kickstart file? Another consideration is [CODE] enabled on start? If it has been enabled, then you can disable it by command [CODE] Make sure you haven't activated the [CODE] functionality. This places a file in [CODE] which can start the setup tool you're referring to... | 3 | 3 | 2,800 | 2013-01-03T16:31:26.223 | api_errors | serverfault.com | |
666,682 | Why is https://www.foobar.com redirecting to itself? | I don't have any rules that suggest [CODE] should redirect to [CODE] . But why is it doing that? This is my [CODE] output: [CODE] Nginx config: [CODE] | It is a redirect to add a trailing slash: from [CODE] to [CODE] . From the manual If a location is defined by a prefix string that ends with the slash character, and requests are processed by one of proxy_pass, fastcgi_pass, uwsgi_pass, scgi_pass, or memcached_pass, then the special processing is performed. In response... | 1 | 1 | 928 | 2015-02-11T07:40:05.790 | infrastructure | serverfault.com | |
186,182 | Jira - allow public to add bugs | We've just bought a 10 user Jira license - happy as larry. I'm a reet n00b to Jira, one of our guys is fully versed but away atm. One question I have is: is it possible to allow the public (our beta users) to submit bugs somehow without using up our user licenses? They just need to be able to submit bugs, viewing statu... | 3 options: Create a single user that the public can use and put it on the announcement page. So they can login with it. Set a jira service, to create issue from email, and assign that issue to a user - called it anonymous probably. This is if you are not "happy" to allow anonymous user to login. Set in permission schem... | 3 | 2 | 722 | 2010-09-30T12:49:25.717 | infrastructure | serverfault.com | |
52,400 | How to analyze the performance report if the application doesn't have access to any Monitoring tool | Had asked in an recent interview that if an Application doesn't have access to any monitoring and profiling tool then how do you analyze the report. How can we identify any issues like bottlenecks, slow calls , CPU and Memory utilizations etc.. | If you don't have any access to application-side metrics you can only provide analysis using the metrics from the performance testing tool. The maximum you can do is to run a stress test to wit start with 1 virtual user and gradually increase the load. Normally application's under test throughput (number of requests pe... | 1 | 1 | 24 | 2024-03-04T09:56:25.917 | pipeline_ops | sqa.stackexchange.com | |
994,085 | Replay DHCPDECLINE to host by edit ethernet address in dhcpd | I known in [CODE] , I can use following config to assigned a fixed ipv4 address to a client. [CODE] But what should I do if I just want to block the host [CODE] (send DHCPDECLINE to host). My situation is: In my datacenter, I use iLO (shared NIC with OS, aka NCSI) for server management. And I only know iLO MAC address ... | Turn off DHCP on the client. Add the fixed address as you've shown above. Firewall rule to block UDP port 68 from the client If the client address is in your DHCP scope range, I recommend you do the first two suggestions - turn off DHCP on the client AND also add a fixed address in case it gets turned on again. It prev... | 0 | 0 | 88 | 2019-12-03T06:34:46.233 | infrastructure | serverfault.com | |
949,489 | Suppress "X11 forwarding request failed on channel 0" | I would like to suppress this message: X11 forwarding request failed on channel 0 And I want to suppress only this particular message (I don't want to run in quite mode). Is there a way to configure open-ssh like this? | Two options: Disable the request for X forwarding (e.g. don't use the [CODE] or [CODE] switches for [CODE] or disable it in [CODE] (or even the global config... install [CODE] on the remote machine That doesn't supress the message, it fixes the underlying problem.... | 0 | 2 | 1,139 | 2019-01-17T09:13:34.507 | infrastructure | serverfault.com | |
120,599 | MySQL InnoDB Error | I'm currently experiencing issues with my server MySQL databases as I keep receiving the following error: [CODE] Hope someone can help me with this. Thanks, in advance! | Stop MySQL server; Check the error log see verify if your shutdown was successful. (No errors) Move your log files: mv /path/to/datadir/ib_logfile* /tmp/ Start MySQL server. This will create new logs; When you’re absolutely sure that MySQL server has started successfully, you can remove the old log files: rm /tmp/ib_lo... | 1 | 1 | 7,524 | 2015-11-10T12:39:33.340 | database_errors | dba.stackexchange.com | |
175,534 | Authenticated User Impersonation in Classic ASP under IIS7 | I've recently moved one of our servers from Server 2003 and IIS6 to Server 2008 R2 and IIS7 (technically IIS7.5 I suppose). In doing so I am transitioning a small account management tool written in classic ASP and have run into a problem with user impersonation. Extensive searching hasn't been much help so far. Under I... | There's a little-known setting called LogonMethod, which varies the capabilities of a user account which logs on with an anonymous or plain-text logon. I (think I) remember this changing for IIS 5 or 6, so it's possible it's changed again for 7. The effect would be exactly what you describe - a failure to do things an ... | 2 | 0 | 10,181 | 2010-08-28T03:24:56.603 | pipeline_ops | serverfault.com | |
446,972 | Certain clients (IP range) can not ping server | I just virtualized a Windows 2003 Server SP2 x32. The server contained our help desk server (Spiceworks) and our anti virus management server (ESET RAC). The host computer actually contained the virtualized server originally; I created the vhd and then I wiped this system clean and installed Windows 2008 R2 x64 Datacen... | I fixed the problem by removing the hidden physical network adapters. This can easily be removed by opening the command prompt with administrative access and typing the following command: [CODE] [CODE] When the Device Manager loads, from the File menu, expand the View and select the Show Hidden Devices option. This wil... | 0 | 1 | 1,102 | 2012-11-09T02:24:42.820 | infrastructure | serverfault.com | |
201,319 | iptables to isolate VM Host from vbridge | I ditched shorewall because it seemed overkill for the simple, unchanging ruleset this seems to call for. I have 2 bastion firewalls in the rack between the host & each ISP. The host contains an enclosure-bound VM which load-balances the 2 WAN connections and provides routing for multiple networks. Since it also hosts ... | I might be wrong, but aren't you basically doing static NAT? Try the SNAT target (it's in the mangle table). | 0 | 0 | 521 | 2010-11-12T22:17:26.467 | infrastructure | serverfault.com | |
1,148,492 | Cannot access deb.debian.org from VM after port forwarding using /etc/libvirt/hooks/qemu | Setup On host server with Debian Bookworm I created two VM-s ( pserver 192.168.122.227 and pagent-1 192.168.122.126) via cockpit (kvm). Both of them are running Debian Bullseye. I am using default network. At this point everything works, I can access network from either of them. Since I cannot use bridge due to only ha... | The DNAT rules don't filter what they will apply to: so they apply to everything: Internet-initiated traffic as well as VM-initiated traffic. Anything using ports 80 or 443 always get redirected to the VM 192.168.122.227, including traffic from that VM itself or other VMs (host itself is unaffected, this would require ... | 1 | 2 | 261 | 2023-11-24T10:01:17.867 | infrastructure | serverfault.com | |
610,869 | Windows network failing, not present on linux clients | got a really strange one for you all. I have a network setup using a linux machine as a gateway between various network segments (on seperate nic's) and virtual machines (one of which is a mail server) all managed by shorewall and bind9. This has all been running happily for ages, but on the weekend the servers went do... | Are the slow connections through your firewall or also on local segments? Are the non-Windows machines connecting the same way to the same services from the same ports on the firewall? That is, you have a mac and a windows machine plugged into the same switch in the closet, they both try to open the same email in the s... | 1 | 0 | 41 | 2014-07-08T08:49:09.023 | infrastructure | serverfault.com | |
36,192 | Jmeter ADFS authentication | I am looking for a solution for the below problem statement: Authentication is done through [CODE] . I recorded a script via [CODE] , but observed that [CODE] is never returned in response for any request. Observed that the [CODE] is directly sent over a URL via reply by [CODE] . Due to above situation I am not able to... | Use Fiddler to record the application and search by text "RequestSecurityTokenResponse " in Fiddler then you will get the request in which response you will get it. This is an xml which you need to capture from the response of https://qfs.XXXX.com/adfs/ls/?prompt=login&client-request-XXXXXXXX request then you need to r... | 1 | 0 | 986 | 2018-10-26T10:49:36.240 | api_errors | sqa.stackexchange.com | |
907,245 | ERR_CONNECTION_TIMED_OUT with IIS 10 on some SSL IPv6 Bindings, dependent on host name | Running IIS 10 on Windows Server 2016, I have encountered an issue where an IPv6 binding has mysteriously stopped working. When connecting from the server via IPv6 or connecting from any system via IPv4, everything works fine and the site loads as expected. When connecting to the hostname with no subdomain or when conn... | I think you have a typo in your DNS records. [CODE] It looks liike the IPv4 address of www.ajhenderson.com has been mistyped. | 0 | 1 | 3,816 | 2018-04-11T20:52:06.960 | infrastructure | serverfault.com | |
446,589 | What is the best way to store a recursive data structure? | What is the best way to store a recursive data structure in a program? (in C++) I'm reading data from file, and want to keep it in memory while I validate the data and the user can manipulate it. It will then be written back to file. I have a many [CODE] s I wish to store, and each [CODE] can be a [CODE] , [CODE] (== [... | If it's merely recursive and can be represented as a tree or directed acyclic graph: do what everyone else does and serialize to JSON. If that's not adequate for performance, try protobuf? Or otherwise come back with a more specific problem. If it's actually cyclic: you have a more serious problem. You have to label no... | -1 | 3 | 311 | 2023-07-17T07:30:39.183 | pipeline_ops | softwareengineering.stackexchange.com | |
271,684 | Windows 7 firewall blocking some features of my app despite custom firewall rules | For automation purposes, I build a certain application which sends and receives UDP packets, and I run this tool every few hour on a Windows 7 machine. However the Windows firewall blocks me from sending/receiving packets - I get the message "Windows firewall has blocked some features of this program". Because this too... | As Jim B said, use a port based rule instead rather than an application rule, Also check if there aren't other rules in you firewall settings that would superseed yours. This could be a application rule on deny that work on same port as your program. You might also want to fire up Wireshark ( http://www.wireshark.org/ ... | 3 | 1 | 1,308 | 2011-05-19T21:26:13.810 | infrastructure | serverfault.com | |
265,206 | Backup with date to azure blob storage url | Im trying to do backups to an azure blob storage that have the date when the backup is made, that way the job does not fail when the backup is generated with the same name, I am concatenating convert(varchar(500),GetDate(),112) + '.bak') but im getting the next error in the job execution Incorrect syntax near '+'. [SQL... | You can't do concatenation in the backup command. But you can have a variable for the file name, so construct the file name first into the variable and use that variable in the backup command. | 1 | 1 | 97 | 2020-04-16T20:19:25.283 | database_errors | dba.stackexchange.com | |
1,079,691 | Why would an Email be missing recipient email address's in headers? | We have 2 companies working out of the same Remote Desktop environment. Company A uses Office 365 for all emails and Office apps. Company B uses a 3rd party hosted Exchange for sending emails but utilizes the same Office 365 Apps on the terminal server as Company A . We are seeing an issue where occasionally emails sen... | According to your description, this issue occurs randomly when senders who locate in company B send mails to company A? Does this issue occur to another recipients who outside company A? What is the version of your outlook client in company A? To narrow down this issue, run outlook in safe mode and check if this issue ... | 1 | 0 | 971 | 2021-10-06T06:27:55.727 | infrastructure | serverfault.com | |
501,440 | Copying files over chained SSH connection | I am using a remote server and want to copy files from the server. When using the server, I need to log in with 2 steps. ssh [CODE] after loging into server A, I need to log in again. [CODE] . So I am in server B now. (by [CODE] ) Is there anyway to download files in server B to local computer? I tried sftp and scp, bu... | First fire up an SSH tunnel from your local machine to Server B, through A: [CODE] Then from another terminal, scp directly to/from B: [CODE] Note that due to port tunnelling, [CODE] is actually [CODE] , so make sure to use the appropriate username for that remote server. | 1 | 5 | 333 | 2013-04-22T03:39:19.257 | infrastructure | serverfault.com | |
361,679 | How to approach this legacy Java project? | Edit: Assume that I will stay on this project until "the end". The Problem I'm currently working on a legacy interesting Java project(s). A full rewrite is currently out of the question, as I am working alone , and the current desired functionality was due months ago (before I came onto the project). It is rather large... | Because you have no requirements, your requirements essentially become: make it do what the old thing does, until you are told otherwise. I only know of one way to successfully deal with this. You need to create/acquire/find as much data as you can related to the usage of this system. That is, you need tons of input da... | 5 | 3 | 1,030 | 2017-12-01T17:22:21.350 | api_errors | softwareengineering.stackexchange.com | |
643,874 | Cron needs restart in order to process modified /etc/crontab | I know there are many questions about this which say it will work right away. Alas, at least on our newer SLES (Suse Linux Enterprise) 11 SP3 systems, that no longer seems to be the case. (You have to reload/restart cron in order to get it to realize that [CODE] has changed.) I just tested it. You need to restart cron.... | I'm not crazy. Suse have identified it as a regression which will be fixed shortly. | 0 | 1 | 1,692 | 2014-11-12T15:55:17.237 | infrastructure | serverfault.com | |
486,093 | Apache Reverse Proxy via mod_proxy_ajp not routing requests to Tomcat | I have two instances of Apache and Tomcat7 installed. One on my Macbook Pro with Mountain Lion and the other in a VirtualBox VM on that Mac with Ubuntu Server 12.10. Both have the same VirtualHost configuration and server.xml configuration. Everything works fine on my Mac but on the Ubuntu VM I get "File does not exist... | Okay, two ideas. First, in your Apache config why do you have 3 ProxyPass settings for URLs that all seem to be set to live at [CODE] ? [CODE] I would suggest simplifying it—if possible—to the following: [CODE] I also add this bit of [CODE] to make sure a trailing slash is added: [CODE] Also, for [CODE] I do this: [COD... | 0 | 1 | 13,330 | 2013-03-08T18:47:21.233 | infrastructure | serverfault.com | |
508,497 | mysqldump in cron not working | I am trying to do a [CODE] on the [CODE] for every 5 minutes but it seems that it is not working. I try to execute the [CODE] and it works fine. [CODE] [CODE] [CODE] [CODE] LOG [CODE] UPDATE I think I found the problem, it is in [CODE] , because if I replace it with [CODE] it now works. However, I need to append a date... | This should be a path problem for the cron entry. Try to use [CODE] instead of [CODE] , [CODE] instead of [CODE] only, and [CODE] instead of [CODE] . Change the path accordingly to your system. Use command [CODE] to find the paths for the commands. | 1 | 0 | 2,664 | 2013-05-17T02:39:24.590 | database_errors | serverfault.com | |
103,782 | Wrong results from joining two CTEs | I've had some help to create a query to solve a problem I had and the solution seemed to be to create two CTE's and then join and query them. If I run the two CTE's as single queries each table contains the expected data without fail but the join produces less results than it should and duplicates and even rows with th... | As the discussion in the comments revealed, an [CODE] can be related to many products, due to the 1-to-many relationship between [CODE] and [CODE] . Try this query, which will choose only one product per fcontainer. The missing fcontainers are due to the [CODE] join. Changing it to [CODE] join will show all fcontainers... | 2 | 2 | 1,084 | 2015-06-11T10:57:35.430 | pipeline_ops | dba.stackexchange.com | |
393,264 | Web Deploy to IIS7 fails with 401 (Unauthorized) | We have IIS7 running on Windows Web Server 2008 R2. It's set up to support Web Deploy. It worked fine when we used the default Administrator account. We recently disabled this account (for security reasons) and are now trying to deploy using another account which is member of the Administrators group. With this account... | Well it's a rights issues : Correct fix : separate users add him to the corresponding groups http://technet.microsoft.com/en-us/library/cc732621%28v=ws.10%29.aspx (IIS users) or give rights from Windows groups http://technet.microsoft.com/en-us/library/cc754009%28v=ws.10%29.aspx Quick fix (not recommended ) add the win... | 1 | 0 | 7,944 | 2012-05-28T09:40:37.203 | pipeline_ops | serverfault.com | |
329,856 | Proper way to setup Ubuntu 22.04 server for Mysql | I would like to know the proper way to setup the MySQL service in such a way that during reboot or shutdown, the system does not force it to close. As it currently stands (default?), the system gives MySQL about 38 minutes to shutdown during a reboot or shutdown, and then forcibly exits the MySQL daemon process. I'd li... | A possible solution to your problem was adressed in the following Ubuntu/Linux post How to change systemd service timeout value? : A small excerpt of the answer is posted below for your convenience. Please read the full answer over on Unix/Linux site. Edit your systemd file: For modern versions of [CODE] : Run [CODE] (... | 0 | 2 | 103 | 2023-07-31T20:10:57.473 | database_errors | dba.stackexchange.com | |
1,017,195 | Powershell - Run SCP command from CYGWIN but also expand variables | I need to expand variables before running the [CODE] command as a result I can't use single quote. If I run the script using double quotes in [CODE] it works fine. But doesn't work if I run the script through command prompt. I'm using zabbix to run the script which calls the script as [CODE] Here is the code that needs... | Figured it out. It was halting when using [CODE] was due to [CODE] , the known hosts thing (where you get a prompt to type yes/no). I set the [CODE] switch to [CODE] and it showed me the Debug logs where it was halting. Had to set [CODE] options. The complete line now looks like the following: [CODE] | 0 | 0 | 375 | 2020-05-14T19:17:54.403 | infrastructure | serverfault.com | |
915,733 | Can't SSH Into Cloud Endure Replicated VM on Google Cloud Compute | I'm having trouble SSHing into a VM I am trying to migrate to the cloud. I used the "Cloud Endure" option from google's migration doc's. I tried yesterday and realized in my LAN the only way to log in via SSH is if my LDAP server is running, so I enabled SSH Login via PWD and confirmed it worked with my LDAP server off... | Make sure there is a firewall rule to allow traffic to your instance on port 22 . The fact that SSH just hangs sounds like a firewall issue. Also check the base image (the one you imported) does not have any internal firewall or iptable rules that can block SSH connections For non Google provided images, you need to ma... | 1 | 1 | 1,040 | 2018-06-08T06:21:50.820 | database_errors | serverfault.com | |
6,595 | How to get out of supporting deadend sales pitches? | As part of being a programmer, you often are asked to provide estimates/ make slideware / do technical demos for Sales teams to present to end-clients. Sometimes we go along for the 'technical' discussions or 'strategic capability planning' or some similar mumbo-jumbo. Sometimes, you kind of know which ones are totally... | One-by-one, you can't. You're at your desk, sales calls and says excitedly that they've set up another meeting with Mr Big, and are you free at 2? And can you make another demo by then? It's just never going to be an appropriate response for you to say "dude, Mr Big is totally not buying this software, that meeting wou... | 5 | 7 | 295 | 2010-09-23T09:19:02.020 | api_errors | softwareengineering.stackexchange.com | |
96,884 | Clustered index on a column with low selectivity | I have a table with a lot of columns. Two lookup functions are performed: 1) lookup by using column name (this happens rarely, maybe twice a season), and 2) lookup by column date. The column name has a very high selectivity measure (almost all rows are distinct), whereas the date column has very low selectivity measure... | Low Selectivity Here is a good quote from SqlServerCentral: In general, a nonclustered index should be selective. That is, the values in the column should be fairly unique and queries that filter on it should return small portions of the table. The reason for this is that key/RID lookups are expensive operations and if... | 3 | 1 | 2,200 | 2015-04-02T12:55:25.027 | database_errors | dba.stackexchange.com | |
763,797 | Hadoop - Name Node and Data Node on the same machine | We have 7 identical physical servers (2x8 core CPU, 128GB RAM, 8x 6TB disks) that will be used for Hadoop. All of the machines are connected to 10G switch with double 10G interfaces. Since we do not have many machines we want to use one of the machines as both name node and data node. Is this configuration would cause ... | Its not advisable to use NN and DN on the same machine as DN may get full and your NN may start having issues and in turn bring the whole cluster down! If you are sure your DN will have enough space at all times then you may do it(not recommended). | 5 | 2 | 2,250 | 2016-03-15T08:32:10.660 | hadoop_errors | serverfault.com | |
660,150 | Windows Server 2012 NIC Teaming "Host unmanageable" issue | Windows Server 2012 NIC Teaming issue. When trying to create a team the following error appears: "Host unmanageable" When trying to add a couple of nics to create a team all nics are listed as cannot be added to a team. How do you reset this information so it allows nic teaming? | The "solution" is not to edit wmi or registry, apparently the lbfoadmin tool caches only the last session opened. To open it correctly use the server manager under local server section or run [CODE] , which is what the server manager does. | 2 | 2 | 16,275 | 2015-01-16T18:58:48.770 | infrastructure | serverfault.com | |
498,901 | How do I "catch" a failed command that doesn't work with try...catch? | I'm running the following script that fails for a mailbox that doesn't exist [CODE] Here is the failure [CODE] How do I properly detect the error that is shown above, since it doesn't actually offer a "exception" style failure I'd expect in the C# world | You are seeing this behavior because try/catch blocks only work on terminating errors ( MSDN Powershell Error Type Reference ) You can manipulate the way Powershell works by changing the $ErrorActionPreference Variable. If you adjust your script to have [CODE] at the top, then all errors will be considered terminating ... | 3 | 4 | 5,032 | 2013-04-12T20:16:00.553 | infrastructure | serverfault.com | |
485,679 | Unattended Windows 7 install with non-DHCP DNS Server: Domain join fails, claiming it can't find the domain | I'm trying to build an unattended Windows 7 image script that will do a simple domain join. The catch is that the DHCP-provided DNS server knows absolutely nothing about my domain, so I need to set the DNS server to something that is aware of the domain before the [CODE] task runs. I do this with a [CODE] in the [CODE]... | There are a couple of options to help you join your machines to the domain in this situation. First, because the network settings are being set in the specialize pass, you can run a script later in the process that joins the computer to the domain. In the oobesystem pass, you can use the ‘SynchronousCommand’ settings u... | 7 | 1 | 2,600 | 2013-03-07T16:50:11.077 | infrastructure | serverfault.com | |
355,381 | Local DNS not resolving on network machines | I installed a new modem, for which I had to enable DHCP, and ever since our network has not been able to resolve domain names in our local development environment. If I am to log on to the server and open up a browser, the FQDN is resolved at the root of our IIS server, but any sub domains are not. However, on network ... | Your modem is likely pushing out DNS server settings to your clients, which is why you can't resolve local names. On one of your workstations open up a command prompt and run [CODE] and check to see what your DNS server(s) are set to. If they AREN'T the DNS servers for your network, you will need to change the DHCP set... | 0 | 0 | 3,829 | 2012-01-31T12:20:46.067 | infrastructure | serverfault.com | |
219,003 | How does UDP track connections? | If UDP does not establish a connection as TCP does.. it seems the only way it could track connections is source ip/port and destination ip/port. Is this correct? So, I guess there are special packets for Connection Refused and Connection Reset. Is that correct? Also, is it true that my data may not be received in the o... | Your first para is correct. There is no connection, though some IP engines use source address/port and destination address/port to provide a synchronicity-based approximation to state. Refusal is handled with ICMP, often ICMP port-unreachable (type 3 subtype 3). Your last para is also correct; it's up to your applicati... | 5 | 10 | 10,340 | 2011-01-05T15:06:31.060 | api_errors | serverfault.com | |
86,096 | Oracle DB import error | I get the error below when importing a database - any ideas why? I do this type of import all the time and I've never seen this error. Prior to doing the import we drop all objects in the schema. The import always fails when importing the same table.. [CODE] | You already have a job in the target database that is numbered 99. You'll need to drop that job. Edit: The ISUBMIT procedure of dbms_job is a bit hard to find docs on. Here is where I found some. That procedure submits a job with a specified job number, whereas the SUBMIT procedure assigns a job number for you, avoidin... | 2 | 2 | 1,485 | 2009-11-18T22:45:13.737 | database_errors | serverfault.com | |
45,173 | DNS issue on Windows SBS2008 - Some external websites unavailable | Since few weeks, some websites are suddently unavailable. We are getting a 404 - The web page requested cannot be displayed. Basically, the only way to fix this is when I restart the DNS client/server on the server. The server is up to date but I did not update the browser since I don't use it on the SBS. Is anyone hav... | This is a known bug on Windows Server 2008 DNS Server, including SBS 2008. You need to use Forwarders on your DNS server instead of Root Hints, or use this workaround. Windows Server 2008 DNS Servers may fail to resolve queries for some top-level domains Cause: When the DNS server saves the NS records to the cache, the... | 4 | 4 | 7,341 | 2009-07-24T14:00:01.057 | infrastructure | serverfault.com | |
433,602 | AWS Security Groups - EC2 to RDS | I wanted to ask about connecting EC2 to RDP in AWS. I have added my EC2 Security Group (that contains the EC2 instances) into the Default RDP Group and Data is flowing - the connection works. The EC2 Security group has Port 80 to 0.0.0.0/0 and SSH to my IP enabled. I'm a touch concerned that by adding this EC2 group to... | Your RDS security groups are different then your EC2 security groups. So what you did is you set a EC2 security group to have access to that RDS security group. So any server you setup with that EC2 group can hit the database port for any RDS instance that is in the RDS security group. So public traffic can't hit the d... | 2 | 3 | 518 | 2012-10-01T11:03:01.163 | infrastructure | serverfault.com | |
801,824 | How to access web site with revoked security certificate in IE11 | I am debugging an issue for Internet Explorer 11 and have loaded up my dev URL in the browser, this works fine in Mozilla Firefox but in IE (and Chrome) I am getting an 'Website security certificate' warning (shown below) and cannot access the site (but can do fine with the same URL in Firefox). Can anyone explain how ... | Chrome and Microsoft's browsers (Edge and Internet Explorer) are using Windows' certificate management system. Firefox uses its own certificate management system. That's answer why Firefox works fine. According to the help page, this error stands for (formatted by me): the security certificate was obtained or used frau... | 0 | 3 | 31,347 | 2016-09-08T11:02:35.490 | infrastructure | serverfault.com | |
163,384 | Full and differential backups are taking way longer only from one server | I see a perplexing issue on one quasi-production machine (SQL Server 2008 SP2 standard edition) only. Full and differential backup job all of a sudden started taking 48 hours since 2/4/2017. Full backup usually finishes within an hour and differential within minutes. There are four other servers backing up to same shar... | Resolved. There was antivirus software trying to scan backup file as it was being created. Once sysadmin fixed it, differential backup finished within minutes as opposed to taking 2-3 hours. | 0 | 1 | 369 | 2017-02-06T18:21:54.280 | database_errors | dba.stackexchange.com | |
327,021 | Added a new node but still getting RuntimeException: "Not enough space for compaction" | I have cluster cassandra-2.2.19-1 with 3 nodes. On each of them i have errors in system.log [CODE] I added a new node, but this did not solve the problem, and I see that the data in the cluster does not match in size [CODE] Can I run nodetool repair on nodes if there is a problem with compaction and there is not enough... | Running [CODE] on the three original nodes is definitely the correct procedure to evict partitions the nodes no longer own to free up space. However if you haven't been running repairs regularly AND the nodes have been dropping mutations, there is huge risk of data loss since replicas will be inconsistent. Our recommen... | 1 | 1 | 115 | 2023-05-12T06:36:47.740 | database_errors | dba.stackexchange.com | |
450,641 | What is a route I could take when considering setting up a data warehouse for a small business? | I am working for a medium-sized development and construction company and we are looking to upgrade our data and BI. Currently, all project data is managed via Excel (data, project management, and performance) while financials are captured via Acumatica. We are in the process of adopting a true project management system... | where the data will be hosted by the software company The problem with that approach is that you end up effectively undoing that arms-length cloud hosting when you want to draw things together for bespoke reporting, because the data ends up back in your possession for you to manage. The real perceived advantage of most... | -2 | 2 | 73 | 2024-01-18T21:18:20.533 | bi_errors | softwareengineering.stackexchange.com | |
674,786 | Microsoft Exchange sending to incorrect mail server address | My client is having intermittent problems sending email to a few customers. It has really only happened in the last five days and so far only to six different messages but they all have the same differences between a working and failed delivery. In the screenshot below, the difference between a working and failed deliv... | TL;DR : One of the two ISP's we are using blocks DNS requests from outside their network. DNS requests were occasionally coming from the other ISP's network... The fix : Implement a static route at the firewall for ISP DNS servers to use a specific interface, or use another service (like OpenDNS or Google DNS). The sto... | 0 | 0 | 2,230 | 2015-03-12T02:09:25.180 | infrastructure | serverfault.com | |
991,172 | Invalid time zone 'UTC' | Listing the available timezones shows 'UTC' [CODE] Setting it to UTC fails claiming UTC is "invalid". [CODE] This is on Ubuntu 19.10 (Google Cloud) [CODE] Why is this failing? | [CODE] You are missing Area code defined in the official tz database . The time zone format is [CODE] . For most zones, the Area is a continent and the Location is a major city. For example, [CODE] , [CODE] , [CODE] , and [CODE] . Peruse this list . Administrative zones have a special area: [CODE] . Therefore, the corr... | 18 | 24 | 4,654 | 2019-11-09T01:46:38.740 | infrastructure | serverfault.com | |
7,682 | Help optimizing MySQL slow query | i'm running a wordpress which needs some mysql optimization, i have a slow query and i would like to get rid of "Using temporary; Using filesort" query: EXPLAIN SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) WHERE 1=1 AND ( wp_term... | I would like to get rid of "Using temporary; Using filesort" One of the problems I see is that you're using different [CODE] and [CODE] clauses. From the manual on how MySQL uses temporary tables: If there is an ORDER BY clause and a different GROUP BY clause, or if the ORDER BY or GROUP BY contains columns from tables... | 7 | 2 | 2,476 | 2011-11-09T09:45:13.463 | database_errors | dba.stackexchange.com | |
232,406 | MSSQLSERVER Will Not Start - Event ID 913 and 1814 | I need some serious help. I have a major database server down and am scratching my head at how to fix it. The server was hit by rolling black outs last week in Dallas and sense then, Microsoft SQL 2005 SP2 will not start up. I am getting the following errors (both when starting the service and while trying to execute m... | Database ID 3 is the model database. Without it the SQL Server won't start. Open a cmdshell and navigate to the C:\program files\microsoft sql server\mssql\binn\ folder (or where ever the .exe files are stored). Run "SQLSERVR.exe -c -m" This will run the SQL Server within that command window in single user mode. See if... | 1 | 5 | 8,886 | 2011-02-07T23:01:11.723 | database_errors | serverfault.com | |
541,345 | Installing SSL on Apache 2.x - self-signed errror | So I bought an SSL cert from GoDaddy and followed their instructions on how to get it signed, and downloaded and installed it. It's not working. It says the SSL certificate was self-signed and the common name is "SomeOrganization" even though I entered all the information correctly in the CSR. Here are the lines in my ... | I figured it out, and I feel pretty dumb about it now. I was adding those SSL lines to the [CODE] directive. I took that directive and made a copy of it, but changed it to [CODE] for the SSL port and it's working perfectly now. | 2 | 0 | 40 | 2013-09-24T17:05:19.630 | api_errors | serverfault.com | |
203,255 | Creating java package on ubuntu? | I am new to java. Here I am trying to create java package. And try to compile it from another directory . But there is an error like bash: [CODE] Here is My first code and directory is /home/Desktop/package/A.java [CODE] For compilation I did this command it's works fine. Working Directory is /home/gaurav javac /home/g... | Here you are making some basic mistake First is in class B [CODE] Second change package folder name according to there package name e.g. : /media/gaurav/iPlay/package2/B.java /home/gaurav/Desktop/package/A.java Then compile A.java (Assuming you are in root dir) javac /home/gaurav/Desktop/package1/A.java Then B.java [CO... | 0 | 3 | 8,282 | 2013-06-30T18:36:03.107 | api_errors | softwareengineering.stackexchange.com | |
282,866 | High CPU for SQL server running on VmWare | I am trying to understand the below behavior for one of our SQL server running on VM. SQL Server version 2017 has 64vCores and Host has 96 cores with base speed 2.1 GHZ Based on the article from https://sqlperformance.com/2017/05/monitoring/troubleshooting-cpu-vmware i collected the counters and can see below"- Process... | thats seems to be a lot of CPU being burned and should be approached IMHO. Do you have any performance issue? I would try sp_blitz https://www.brentozar.com/blitz/ and if you have querystore enabled, take a look at queries that eat up the CPU. | 0 | 1 | 552 | 2021-01-08T22:11:14.743 | database_errors | dba.stackexchange.com | |
300,023 | How does google calculate travel distance/time | I've been working for quite a while now on a service that generates optimal routes for a given set of addresses and vehicles (Vehicle routing problem / traveling salesman problem). Now it's all working fine, but the bottleneck is getting the distance/time between two addresses used for calculation. Currently we use web... | You start out using A* with intersections as nodes. GPS units in the 90s had enough memory and processing power to do that. You don't have to store the distance from every intersection to every other intersection. Just to the next intersection over. A* uses heuristics to avoid searching possibilities that are unlikely ... | 3 | 1 | 1,226 | 2015-10-16T07:11:41.020 | api_errors | softwareengineering.stackexchange.com | |
974,993 | BIND9 Slave server not resolving but master is working and replicating fine | This is my first post on this site so be gentle. I am not too clued up with DNS so that might be my first problem but I am pretty sure I covered as much as I know. So I installed Bind9 on centos 7 and created all the configs for the master etc and its working like a charm. I can resolve the records that I have created ... | Your [CODE] command line is incorrect for the file you are testing. You ran: [CODE] But looking at your [CODE] as well as the contents of this zone file, it appears the name of that zone is [CODE] (not [CODE] as indicated on the command line). If you adjust your command line, the test itself should work: [CODE] An alte... | 0 | 0 | 1,532 | 2019-07-12T11:28:15.957 | infrastructure | serverfault.com | |
460,275 | How to choose a correct value for open_file_cache in nginx configuration? | I have a website with load of about 60 000 requests per minute served by nginx. Recently, I have enabled the [CODE] and saw a dramatic improvement in performance. But in the evenenings, when loads is maximum, response times are still quite large and nginx uses a lot of IO. Here are my current settings: [CODE] And I sti... | The open file cache is a caching system for metadata operations (file mtime, file existence etc), not for file content, so it helps but not as much as you would expect. Some workarounds you could try are: Lower the gzip compression ration if you have turned dynamic gzip on. If you are running a sufficiently recent kern... | 6 | 4 | 11,945 | 2012-12-22T14:51:48.473 | infrastructure | serverfault.com | |
533,081 | WDS Capture Image Failing to Load | Using the instructions posted here: http://social.technet.microsoft.com/wiki/contents/articles/11680.creating-a-capture-image-in-wds.aspx I created a capture image and then injected network drivers into the boot image. When trying to load the capture image I get the error: Status: 0x000000f Info: The boot selection fai... | I don't know if you're having the same issue that I did, but I found this link on driver start values (the whole tutorial is super useful for understanding the Windows start up process). Due to some idiosyncrasies of the image creation process the drivers for the hard drive weren't being loaded at the wrong time. What ... | 0 | 0 | 1,449 | 2013-08-22T21:09:31.927 | infrastructure | serverfault.com | |
970,926 | How to exclude PDF folder from samba recycle? | My problem is how can I exclude the folder PDF from recycle (/home/*/PDF)? I have tested to exclude PDF;PDF/;/home/*/PDF... Nothing works. [CODE] | recycle:exclude_dir = /home/'user'/PDF/* | 1 | 0 | 447 | 2019-06-11T09:18:39.500 | infrastructure | serverfault.com | |
297,744 | How to forcefully drop all active connections off a database? | On one server I have a Postgresql database and there're many clients on other servers accross the internet that connect to it. I want to drop all the active connections on demand, they should be dropped forcefully and for N minutes. Then I'll do some maintance work on a database and then allow clients to reconnect. I d... | You can do the following (adapted from here ): First, you block new connections. Now, we are fortunate in that you only have one username which is connecting (see commments), so the process should be relatively painless (if you are the [CODE] user). [CODE] So now, having blocked new connections, we get rid of current o... | 0 | 1 | 3,811 | 2021-08-08T09:19:37.420 | hadoop_errors | dba.stackexchange.com | |
857,294 | CentOS update package in install folder | I was trying to deploy CentOS from PXE with an install directory extracted from latest iso (1611). Install failed (with or without kickstart) because of microcode_ctl package, after some researches I found out there is updated rpm that fix the problem. My problem is : I don't know how to update the rpm in my install fo... | I would not mess with the initial installation tree. Instead I would provide a second yum repository for important updates/drivers and use the following parameter in the kickstart file: [CODE] microcode_ctl issues are often due to unsupported server hardware (either too old, or not yet certified for the given CentOS/RH... | 0 | 0 | 954 | 2017-06-22T15:19:51.757 | infrastructure | serverfault.com | |
228,404 | equals and hashcode methods autogenerated, is it always a good practice? | Preamble: Let's say I aim to cover all my classes with test coverage. Despite the common opinion (expecially in Java community) to "not pay too much attention to Cyclomatic Complexity (CC) and code coverage", I really think that these information are extremely useful: When you have a very high CC, or an uncovered zone ... | The story of [CODE] combines several unfortunate design decisions that are now impossible to change, and that every Java user just has to live with one way or another: it is deeply woven into the semantics of the standard container types, it is automatically inherited by every user-defined class but with a behaviour th... | 3 | 4 | 4,504 | 2014-02-10T14:29:30.790 | data_quality | softwareengineering.stackexchange.com | |
176,989 | Cant get RDP to work with a 2wire router | I've got a 2wire router for uverse and I haven't been able to connect via RDP through this router. Here are the steps I've followed Setup a windows 7 box with RDP, patched and up to date Disabled the firewall temporarily on the windows 7 box Placed server in DMZ (2wire calls it DMZPlus or something) Attempted to RDP in... | Try checking the RDP "Server Authentication" setting on the client RDP connection settings. Are they same on the machine that doesn't work, and the machine that does work? I'm thinking the client that doesn't work is set to "Do not connect", when maybe it should be on "Warn Me" | 1 | 1 | 574 | 2010-09-01T15:15:43.703 | infrastructure | serverfault.com | |
340,525 | Cannot send drafts from Outlook, permission error | We upgraded to Exchange 2010 SP1 this summer, and I have noticed an odd behavior with drafts in Outlook 2007 since. A user just reported to me this morning that it happened in OWA as well. Certain emails saved as drafts, when you open them and try to send them, results in the following error: Cannot send this item. You... | This is a known bug. Cause The issue occurs because the email message item is saved as read-only. When the Exchange server tries to change this property of the cached message item, the operation fails. Update Rollup 5 version 2 for Microsoft Exchange Server 2010 Service Pack 2 (SP2) should fix that. Suggested Workaroun... | 1 | 2 | 5,913 | 2011-12-13T16:08:52.133 | infrastructure | serverfault.com | |
188,100 | How to restrict data pump logon to localhost | I have a user in Oracle 12c database that will be used to run full data pump export and import. I would like to restrict logons from that user to localhost. I have tried to create logon trigger: [CODE] I can see from the audit trail that this trigger has fired (ORA-20000: Login not allowed) but the user is still allowe... | ADMINISTER DATABASE TRIGGER Privilege Causes Logon Trigger to Skip Errors (Doc ID 265012.1) [CODE] And: [CODE] So yes, you can try local OS authentication. | 1 | 1 | 240 | 2017-10-10T12:12:51.047 | api_errors | dba.stackexchange.com | |
175,673 | Java application unable to connect to MariaDB Galera cluster | I was debating whether to post this question here or on Stack Overflow but through my own examination, I believe this to be a server-side issue over Java code being wrong. My goal for this project is to be able to make write requests and verify that both servers are, in fact, replicating properly and do all sorts of ot... | Solved my own issue after working with someone else. The basic, easy solution was: In PuTTY, before entering the terminal for either server, go to Connections > SSH > Tunnels. For the source port on the first server, use 3306 and then in the field right below it (Destination), input "localhost:3306" and start the serve... | 1 | 0 | 1,477 | 2017-06-07T15:14:22.827 | database_errors | dba.stackexchange.com | |
169,517 | What could be the best practice while allocating so that I/O performance is high | I have a question on planning. Recently, I got a request to create 2 625GB Luns (clariion cx-240), FC Connected, to ESX server 4.0 (four new hosts). I don't know the application they would be running. However, I only had option to carve luns from raid 5. All FC disks, and i did not look for number of disks in the raid ... | I had trouble following some of what you wrote, but I'll start with the questions. First, your decision to provide more smaller LUNs (volumes) was not a bad one. In general, the rule of storage is to go wide before going deep, and each volume will have its own command queue that could become a limitation on IO/s. It al... | 1 | 4 | 252 | 2010-08-11T21:05:20.090 | infrastructure | serverfault.com | |
1,091,165 | I need to have my 2 websites to have an individual rDNS record but they both are running on the shared web hosting servers | I'm a server noob and want to get some solution or some advice from the gurus of the ServerFault. I currently have two different live websites running and they both are using the shared web hosting servers. But I need to have those two websites to have an individual rDNS record set up for each and to work that out, it ... | Yes, there are VPS providers that allow you to assign multiple IPs on a single VPS, and a rDNS on each. However, I recommend using an email service provider, who provides you with infrastructure for email and takes care of reliable delivery. | 0 | 1 | 33 | 2022-01-26T00:38:14.130 | infrastructure | serverfault.com | |
124,028 | help in correcting the syntax error of the below create table with as with multiple select | Please help to correct the syntax of the below. I am from a math background trying to use Oracle. The command helps me permute the columns and put them in one table. [CODE] Error at Command Line:4 Column:49 Error report: SQL Error: ORA-00907: missing right parenthesis 00907. 00000 - "missing right parenthesis" *Cause: ... | You can get the result by using [CODE] . Take help of following example for understanding: [CODE] As @a_horse_with_no_name perfectly mentioned ! | 2 | 0 | 256 | 2015-12-18T05:13:06.143 | database_errors | dba.stackexchange.com | |
217,141 | sp_spaceused reveals 0 rows but 72 KB of reserved space | When I run [CODE] I get the following results: [CODE] I am expecting the following results: [CODE] What is causing the reserved memory? I have already tried to force a ghost record clean up with [CODE] but it doesn't change the results. I've also tried [CODE] but it doesn't do anything to these stats. I also note that ... | Likely, there is an IAM page and extent reserved for this table. [CODE] will remove these. When all data is just deleted, a bare minimum structure will still exist for the table. Have a demo! [CODE] If you want to actually see the pages and where they are, use this: [CODE] This shows one IAM page and one reserved exten... | 1 | 2 | 267 | 2018-09-10T06:57:04.517 | warehouse_errors | dba.stackexchange.com | |
61,369 | SHOWPLAN does not display a warning but "Include Execution Plan" does for the same query | I was running the following query in SSMS and it showed me a warning in the "Include Execution Plan" window [CODE] The warning was "Operator used tempdb to spill data during execution with spill level 1" ( Plan XML here ) I went to investigate more, but neither doing [CODE] nor [CODE] show the warning in their versions... | This: [CODE] Is equivalent to pressing [CODE] on the toolbar (or hitting Ctrl + L ). You'll notice that no rows are returned from the query, like there is when you use [CODE] ( Ctrl + M ). The spill warning is only a runtime warning. There is no way that SQL Server can know, when displaying the estimated plan, that a s... | 3 | 4 | 1,061 | 2014-03-20T15:59:51.857 | database_errors | dba.stackexchange.com | |
389,772 | How can I create multiple VirtualHost entries that share a set or RewriteRules? | I have an apache configuration with three virtualhost entries. Each entry is bound to a different port so that we can provide a different SSL certificate based on the port. Our load balancer is transparently redirecting requests to certain domain names to specific ports on the web sever. The problem that I have is that... | I believe you could put the shared rules into a file and use the [CODE] directive to included them each place they are needed. here are the docs for the Include directive | 1 | 4 | 83 | 2012-05-16T18:40:06.443 | api_errors | serverfault.com | |
214,371 | Periodically measure speed of web server internet connection | I fear that our ISP suppling our web server's connection is not providing a good service. What software do people use to monitor the spped of a web server's internet connection? (or any internet connection for that matter). I am thinking something that will periodically monitor it to allow a picture to be built up over... | I suggest to create a simple html page (to rule out database issues etc) and then use a website monitoring service like AlertFox . If everything else stays the same, the only performance parementer is your ISP's internet connection speed. | 1 | 1 | 895 | 2010-12-20T11:12:23.090 | infrastructure | serverfault.com | |
313,959 | MySQL InnoDB Cluster config - configure node address | I first asked this question on Stack Overflow but I woke up this morning to the realization that it belongs over here. I'm setting up an InnoDB Cluster using [CODE] . This is in Kubernetes, but I think this question applies more generally. When I use [CODE] I see messages that includes: This instance reports its own ad... | Apparently this value has to be set at startup. The option for my setup was [CODE] when starting the MySQL instances resolved the issue. Specifically for Kubernetes, an example is at https://github.com/adamelliotfields/kubernetes/blob/master/mysql/mysql.yaml | 0 | 0 | 147 | 2022-06-30T16:43:37.717 | pipeline_ops | dba.stackexchange.com | |
373,623 | Seeking clean resolution for zombie who caused by git fetch / ubuntu motd | I have jenkins and gitosis running on the same [Ubuntu 10.04] server. Jenkins fetches git commits from a repo served by gitosis (also running on the same server). Many repos, actually, since there are many jobs in Jenkins. Every now and then I end up with a zombie [CODE] process, where the root cause appears to be some... | If I'm reading this right, and I like to think that I am.. Then you're asking for a very roundabout way to disable [CODE] on ubuntu. Have a look in [CODE] for [CODE] , and if you've got it, mv it to /tmp. That should stop it. I don't think you should kill long-running processes. I do think that no harm can come out of ... | 3 | 3 | 1,124 | 2012-03-26T21:14:34.873 | pipeline_ops | serverfault.com | |
53,696 | Troubleshooting 'Windows ERROR -- Possible Deadlock Condition" | I logged into a Windows 2003 Server machine this morning and saw one of those yellow pop-ups in the lower right that said: "Windows ERROR -- Possible Deadlock Condition" The server is my file server, other than that there is Symantec AV running on it and Netbackup 6 client. I don't see anything in the Event Viewer Logs... | Are you running SQL server? Exchange? Backup software? Could be a database issue. | 1 | 1 | 2,288 | 2009-08-13T12:27:42.957 | database_errors | serverfault.com | |
726,130 | Email address Policy is invalid | I have setup an accepted domain, everything in the background is done, I am in the process of setting up the mail policy using the following command: [CODE] I get the following error [CODE] I have setup the new accepted domain as an authoritative domain type. | There is a space at the end of your string: [CODE] . When you change that to [CODE] it should work. | 0 | 1 | 501 | 2015-10-01T19:45:52.027 | infrastructure | serverfault.com | |
957,573 | understanding a psad error for src 0000:0000:0000:0000:0000:0000:0000:0000 | My server is generating this psad error. I am not sure what it means? I think it is saying an IPv6 ping request was blocked but am not sure. And if it is a ping request, is it from the server to another device? I don't recall anything on my network being IPv6 enabled so I'm confused what it could/would be. [CODE] | ICMPv6 type 143 is Version 2 Multicast Listener Report as defined in RFC 3810. It is sent from your node to the local router(s) to advertise its ability (or inability) to receive multicast traffic. It's a bit bizarre that PSAD would call this traffic "Invalid" as MLDv2 has only been around for 15 years. PSAD appears to... | 0 | 3 | 295 | 2019-03-10T05:11:26.157 | infrastructure | serverfault.com | |
800,984 | SSL Setup with CNAME | I need to implement SSL for my Web Application. I've never done this before so I want to be sure I'm going to do the right thing. My Setup: Webserver1 for the public Site Webserver2 for the Web Application (Virtual Ubuntu Server) www.mydomain.com has a DNS A Record to Webserver1. My Webserver2 has no static IP Adress, ... | Static IP addresses and name DNS configuration don't really affect your certificate. Whatever FQDN will be in the request to the server should match the certificate. If your request is for [CODE] then that's what should be in the certificate, regardless of whether it's an A record, a CNAME or even an entry in [CODE] . ... | -1 | 1 | 218 | 2016-09-04T12:25:29.357 | infrastructure | serverfault.com | |
299,549 | IIS IUSR account inherit permission confusion | I've read up on the IIS7 permissions and have a clear understanding of the new user and group. However, what is confusing me is what is happening with the folder permissions. I have a directory in one of our sites which appears to have inherited IUSR permissions from its parent. Upon inspection, the inherited permissio... | Assuming a default installation of IIS, the IUSR account should have permissions on the wwwroot folder, which should be the parent folder from which it is inheriting permissions for all of your web sites, assuming the default root folder for all web sites is wwwroot\websitefolder. | 0 | 0 | 958 | 2011-08-10T07:13:09.090 | infrastructure | serverfault.com | |
210,371 | How do I encrypt data to be decrypted on a linked server? SQL | I have been searching for 2 days for the solution to this, but every solution does not apply to my situation. I have 2 SQL servers: DataServer and InterfaceServer set up as linked servers. DataServer does all of our data processing. InterfaceServer pulls only the data it needs from DataServer. Each server has its own e... | It's possible to do what you are suggesting. You can't create the same asymmetric key directly using parameters, but you can backup the database containing the asymmetric key and backup the database master key on the data server. Restore them on the Interface server and drop the private key on the data server using ALT... | 2 | 0 | 1,041 | 2018-06-22T14:13:45.270 | database_errors | dba.stackexchange.com | |
107,361 | Is it okay to fake part of the class under test? | Suppose I have a class (forgive the contrived example and the bad design of it): [CODE] (Note the GetxxxRevenue() and GetxxxExpenses() methods have dependencies which are stubbed out) Now I'm unit testing BothCitiesProfitable() which depends on GetNewYorkProfit() and GetMiamiProfit(). Is it okay to stub GetNewYorkProfi... | You should break up the class under question. Each class should do some simple task. If you task is too complicated to test, then the task the class does is too big. Ignoring the goofiness of this design: [CODE] UPDATE The problem with stubbing methods in a class is that you are violating the encapsulation. Your test s... | 22 | 28 | 11,814 | 2011-09-10T23:47:50.160 | api_errors | softwareengineering.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.