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,031,922 | Might "Require TLS Encryption" in Exchange mail-flow rules cause compatibility issues for e-mail? | Picture of how I'm forcing TLS. This is essentially forced TLS. Should "Require TLS Encryption" be required for microsoft exchange mailflow rules? I'm worried about compatibility issues, e-mails not being sent or received if I force TLS encryption in Microsoft Exchange for e-mail. Worst case is someone sends an e-mail ... | Based on my knowledge, If you decide to configure TLS between your organization and a trusted partner organization, Exchange Online can use forced TLS to create trusted channels of communication. Forced TLS requires your partner organization to authenticate to Exchange Online with a security certificate in order to sen... | 0 | 0 | 1,225 | 2020-08-28T21:45:12.953 | infrastructure | serverfault.com | |
549,846 | Apache 2 Multiple Named Virtual Hosts with one IP vhost | I have an instance running on AWS, with an Apache 2, two named domains and one ip. I managed to configure apache with both domains, ( domain1.com and domain2.com ). The first domain's docroot is pointing to /var/www/html/vh/domain1.com The second domain's docroot is pointing to /var/www/html/vh/domain2.com This is ok. ... | Your [CODE] and [CODE] directives must match. This means that you must either change [CODE] to [CODE] or else change each [CODE] to [CODE] Also, I would recommend that the default virtualhost have the actual hostname of the server as [CODE] , instead of the IP address. Since it will be default, it'll still be the one c... | 2 | 2 | 320 | 2013-10-31T10:05:21.987 | infrastructure | serverfault.com | |
462,471 | Standard solutions to keep LAN connection up | Do you use some "standard" solution to manage your server connectivity? In particular, how do you ensure that, week after week of uptime, your LAN remains connected, even if the router should reboot or other temporary problem should occur? Since some years, I've arranged this using a custom script (loaded by [CODE] ) w... | In short: there is no such thing as a "standard solution" to this problem solely because of the fact that it is not a "standard" problem. With a modern OS and sane network equipment, there is no need to do anything to ensure the network connection stays up, nor should any "custom script" be required to bring things up ... | -1 | 6 | 97 | 2013-01-03T01:45:47.360 | infrastructure | serverfault.com | |
855,170 | Nginx install don't work | I have a problem with nginx , I deleted nginx because I did some modifications in nginx.conf and now I can't install it ... [CODE] | Try and run the following commands [CODE] purge delete configuration files for an application, but if it isin't removed first this gives issues. && only executes if previous command executed, exited with exit code 0 (successfull) [CODE] will show you the exit code of an application. If all of this fails try and run [CO... | -2 | 1 | 1,649 | 2017-06-11T23:37:36.727 | infrastructure | serverfault.com | |
1,066,433 | Connecting subdomain to a server as hostname | I have my website (mydomain.com) connected with a vps server and now I want to setup another server and use subdomain from main domain for hostname as well the nameservers (e.g. srv1.mydomain.com should point to new server, ns3.mydomain.com and ns4.mydomain.com new server nameservers). I have created both nameservers (... | On Request of Alena, i will show my DNS-zone [CODE] As you see, there are 3 NS used for one domain, but all changed can be done within here. This zone has a Catchall and a Sub-Domain defined, and is also avaible for IPv4&6 for the Catchall | -2 | 0 | 252 | 2021-06-11T14:13:11.687 | infrastructure | serverfault.com | |
401,380 | How to throttle your own internet connection? | I am writing a website and want to test its speed on slower internet connections. I have the unfortunate first world problem of downloading at 100mbps, how can I throttle my own computer's internet connection to 56kbps or 5mbps to give myself an idea of how my users might be downloading my website? EDIT: I am using Win... | Can you not just get a router/switch that supports QoS and filter it that way? I know if you use the Tomato firmware on the WRT54G they have quite a few options that may work for you. http://www.wi-fiplanet.com/tutorials/article.php/3800416/How-to-Manage-Traffic-Using-Tomato-and-QoS.htm Edit: Matter of fact, I had a fr... | 4 | 1 | 40,720 | 2012-06-22T16:47:18.573 | infrastructure | serverfault.com | |
378,469 | ubuntu settings for mail sending | What should I install, on fresh Ubuntu server, to make proper working web scripts for sending out emails ? I've tried to install mailutils but it want to install postfix also. But i don't want to accept any incoming emails, so i don't know how to configure it. I need only MTA which will send out as lot as i want emails... | This is kind of a subjective thing, but you can install postfix, just set it up to accept only incoming mail from your localhost or local IP. That will in turn try to deliver mail to external sites from your local scripts and applications. Once installed, you edit your [CODE] file so the [CODE] is set to [CODE] . Or yo... | 0 | 3 | 737 | 2012-04-11T13:21:27.583 | infrastructure | serverfault.com | |
661,779 | php-fpm using 100% CPU and nginx gives 404 | I am playing around with Magento CE on Nginx and its working fine. Problem starts when I do a 500 user load test. The [CODE] process hogs up all the CPUs to 100% and I start getting 404 as the response. Here's my nginx config [CODE] I am a bit new to [CODE] and [CODE] so not really sure what configs I should be focusin... | Magento is a heavy piece of software. What makes you think your server would NOT scream in agony during your 500 users performance test? Of course serving static content is fast, but parsing all that black magic PHP that Magento contains... well, it's a heavy duty job for your server. The PHP op-code cache does not mea... | -1 | 3 | 1,369 | 2015-01-23T07:27:10.017 | api_errors | serverfault.com | |
431,826 | Solaris Slow ARP Failure Unreachable Host | We have been experiencing slow timeouts for unreachable hosts is extremely slow. Recent testing in our lab shows it may be a delay reporting negative ARP lookups. Dumping traffic during attempts to open a telnet connection to a local zone which was down for patching showed the following. If the source was Linux three A... | Did you consider running [CODE] to see a list of ARP related kernel configurables? | 2 | 1 | 823 | 2012-09-25T15:58:45.877 | infrastructure | serverfault.com | |
275,117 | The application attempted to perform an operation not allowed by the security policy | I ran this command on the server that has the share of code that my local IIS site set to (Via UNC to that share): http://support.microsoft.com/kb/320268 [CODE] (obviously I replaced Drive with C, and the actual computername and sharename with the one I'm sharing out). But when I run the ASP.NET site, I am still gettin... | Did you restart the IIS service? If you didn't your change has not taken on yet. | 1 | 0 | 5,528 | 2011-05-30T05:45:07.317 | infrastructure | serverfault.com | |
71,720 | How to join the latest previous record with SQL | I have a table whose schema is like this: [CODE] Once the shipping date is arranged, the deal_dt and deal_reason_no will be set and cancel_dt and cancel_reason_no is null. However product_id is not unique in the table since the every product shipping can be cancelled. Once cancelled cancel_dt and cancel_reason_no will ... | I suggest you join to previous products that match criteria and (if any exist) narrow down to the one where no later row exists : [CODE] Assuming [CODE] to be [CODE] , else you need tiebreaker criteria to be unambiguous. This way you do not need [CODE] , because only one (or no) row is left-joined. Also assuming [CODE]... | 3 | 2 | 13,170 | 2014-07-17T01:58:07.060 | warehouse_errors | dba.stackexchange.com | |
328,036 | How do you adapt to changes to product specifications during development? | Problem Changes to product requirements/specifications during the development cycle are inevitable in a professional setting. In particular, I'm constantly dealing with changes to the specification for an embedded system's software parameters: I/O, user settings, calibration data, logging information, etc. Are there an... | Your parser approach is definitely a step in the right direction. To deal with what you describe, you need to follow two well known software engineering principles as rigidly as possible: 1. Single source of truth You wrote changes ... need to be propagated to multiple places in the product's source code That is exactl... | 4 | 6 | 900 | 2016-08-10T06:03:29.957 | api_errors | softwareengineering.stackexchange.com | |
393,687 | Should validation be inside or outside function? | Which one is better? A [CODE] vs B [CODE] In A, the function does one and only one thing which is good, but OTOH it may be called with invalid input. In B, the function does multiple things (assuming the validation part is a non-trivial part of the logic). I want to know what are other pros and cons of the above and if... | Both can be useful , but neither is better . Which way this is handled has to be determined by gathering data and making decisions. Making the decision is a complex process that depends on requirements, what assumptions are safe to make and how the functions will be used. Start with your "A" case: [CODE] This favors co... | 3 | 7 | 2,437 | 2019-06-22T12:01:50.187 | data_quality | softwareengineering.stackexchange.com | |
246,527 | Oracle SQL - find the character '&' in a string | I am intending to do an update (Oracle SQL) for any customer records that includes an ampersand in their name (eg: Joe Bloggs & Co.) to replace this ampersand with the actual word 'and' (eg: Joe Bloggs and Co.). See script below: [CODE] HOWEVER, prior to doing this, I would have liked to run a select statement to ident... | My choice for a test would be a simple [CODE] : [CODE] | 0 | 1 | 5,728 | 2019-08-29T08:20:16.513 | database_errors | dba.stackexchange.com | |
524,618 | IBM SR-BR10i RAID Controller too slow with VMware ESXi | I'm transferring a virtual machine from one ESXi host to another using SSH on both ESXi Servers. But it's painful slow, it's a massive 750GB .vmdk disk image, the VM is stopped (with downtime) and with 5.5MB/s speed ratio it will take more than one day com complete the move. Am I missing something? [CODE] Important har... | If you think the copy is slow, you have not seen the VM run yet . The major trouble is that your controller is missing a BBU and ESXi is doing many synchronous writes (where the controller's or disk's write cache which otherwise might have been of use is circumvented to ensure data consistency). Add a BBU (if available... | 1 | 5 | 1,614 | 2013-07-19T04:50:45.383 | infrastructure | serverfault.com | |
5,932 | Multiple Application in single SSL 443 server NGINX | I have two application served in a single server [CODE] and [CODE] . I want to proxy pass the request from [CODE] to serve static file and [CODE] to [CODE] [CODE] I already have both SSL certificate using letsencrypt, how can I serve both apps using a single server? I thought I can use different [CODE] . I read from he... | Oops, turns out I just have to remove the line [CODE] and it works. it's leftover from running NGINX certbot, I thought that was important | 0 | 1 | 1,416 | 2019-01-10T03:21:10.103 | data_quality | devops.stackexchange.com | |
433,839 | Design for deduplicating concurrent tasks in flight simultaneously | I have 1-20 agents that issue requests over time with roughly ~50 in total in flight at any given time. Many of these requests are identical. The tasks are idempotent, but if two identical requests were to evaluate in parallel, the evaluation is still costly even though the final results could be stored in a thread saf... | This looks like a question about: Load-balancing, Partitioning, and Non-blocking design (or, preventing unnecessary blocking by making trivial tweaks to the design) Facts gathered from the question: There is already a results cache. Under the current design, each results cache is local to a worker. Inputs, outputs, and... | 3 | 1 | 131 | 2021-11-27T13:12:38.627 | data_quality | softwareengineering.stackexchange.com | |
969,228 | Intermitent bug on encrypted swap over Ubuntu 18 | Wanting encrypt swap and the only script I found to do it as I want is it: [CODE] On the same machine and same Version of Ubuntu it sometimes works but sometimes crash on boot. Following some output on each boot it did: [CODE] - [CODE] - [CODE] - [CODE] - [CODE] - [CODE] - [CODE] - [CODE] - [CODE] - [CODE] - | I think you saw this script on a question of mine , had the same problem as you but having enough memory here I solved by just getting rid of all swap itself by doing it: [CODE] | 0 | 0 | 436 | 2019-05-28T21:47:03.693 | infrastructure | serverfault.com | |
818,379 | SAN array storage not accessible | Good morning peeps. I'm fairly new sys admin world and am working in my first systems engineer position (jr) and inherited a dual drive SAN array last week which was entirely unused without being touched since 2007. FUN! Given our need of storage for backup data as BackupExec won't backup our Notes databases, I'm writi... | The MSA 2012fc is fibre-channel, the 2012i was the iSCSI version and the 2012sa was the direct-connect SAS version. If it is the fc version (it'll say on the controllers themselves) then you'll have to connect them via fibre-channel (or FCoE but that's way out of your picture I suggest) - and FC isn't the least-complex... | 5 | 3 | 826 | 2016-12-02T15:43:13.937 | database_errors | serverfault.com | |
293,768 | Optimization of recursive view | I have an optimization problem when using a recursive view on PostgreSQL. When I perform a trivial query using this view, the execution time is abnormally long. To expose my problem, here is a database, with the view and the query that causes the problem: http://sqlfiddle.com/#!17/9d39e/13 The main table is [CODE] and ... | By using a materialized view and [CODE] , I lowered the execution time of the request by about 96%. I have changed : [CODE] To [CODE] The materialized view is not refreshed with each query that uses it, it must be refreshed if changes have been made to the table. For my problem, I refresh the materialized view every da... | 3 | 3 | 442 | 2021-06-04T10:36:24.793 | database_errors | dba.stackexchange.com | |
421,542 | Receiving spam where sender is @mydomain | Possible Duplicate: How to stop people from using my domain to send spam? I am running a mail server with Ubuntu + Postfix + Maia Mailguard + Dovecot, all has been working well until recently people have started receiving spam email that appear to be sent from my domain. For example: [CODE] But the return path is along... | Coincidentally, we're working on a Canonical Question about fighting spam: Fighting Spam - What can I do as an: Email Administrator, Domain Owner, or User? I think this is the type of spam that gets identified by setting up SPF and DKIM for your domain. Your antispam scanner in Amavis will be better able to pick these ... | 0 | 1 | 3,248 | 2012-08-27T10:00:34.730 | data_quality | serverfault.com | |
147,607 | Postgres Large Objects & Multiple Users | Problem Dynamically created users are not able to query a table that contains Large Objects as it did not originally create it. Background I have an Java Atom Hopper application deployed to AWS across 2 instances , both using a Postgres 9.5.2 database hosted in RDS. Vault Credentials The database credentials are stored... | One option is to use [CODE] command after you open a connection from your application to the [CODE] : [CODE] In such way any object (including large objects) created within this session will be owned by [CODE] instead of [CODE] . Another option is to use [CODE] and make it work only within the transaction used to creat... | 6 | 7 | 9,085 | 2016-08-23T14:46:35.603 | warehouse_errors | dba.stackexchange.com | |
312,803 | Development Methodology for Many Projects | Twice now I have encountered an office where there are many projects being done simultaneously. The two different approaches I've seen to this is splitting people up into very small (1-2 people) dedicated teams and the opposite where everyone works on many projects (perhaps 1-3 projects) and split the time they work on... | If you can't change your team, work on a model that fits the people you have. You can gain some flexibility with fewer options. Large/lengthy projects are identified as those requiring 5 or more people. Assign them and have them focus on that project. Substitute people only if necessary (Someone leaves.). Hopefully the... | 2 | 1 | 179 | 2016-03-15T14:23:58.547 | api_errors | softwareengineering.stackexchange.com | |
951,366 | Permission denied when using scp, but able to ssh | I'm trying to copy a file from my local desktop to a remote server. Yes - the remote directory I want to copy to is set to [CODE] Yes - the server is password protected, and I am sure I have the right password because I am able to ssh onto the server. The server is for a Drupal 7 site, I've tried Gitbash and Windows Po... | Try copying to home directory of or some other directory (you'll be able to figure out if it is permission issue) and then to the location which you want to actually copy. | 5 | 2 | 7,172 | 2019-01-29T20:02:48.803 | infrastructure | serverfault.com | |
139,965 | What happens when the buffer pool size is insufficient in mysql | Let us assume I run a query for a table whose size is very huge. My buffer pool size is as low as possible. What happens now? whether I will get an error regarding the insufficient space in buffer pool or will mysql fetch the data from the disk ? Just curious to know the behaviour of mysql in this scenario. | If MySQL properly started and InnoDB initialized with the configured buffer pool size then there is no reason for any error (barring some bug of course). The buffer pool is just that - a memory area used to buffer your IO. When there is not enough of it to keep all the active data , the server just reads them from disk... | 0 | 3 | 816 | 2016-05-31T06:30:48.273 | database_errors | dba.stackexchange.com | |
368,490 | Exclude some IPs from a subnet in squid | I have squid configuration to allow access to the proxy from a particular network [CODE] . I'm blocking access to media to all users except some IPs within the subnet. Here is the relevant part from the /etc/squid/squid.conf : [CODE] where [CODE] and [CODE] are the ACLs blocking streaming. When running this configurati... | The idea came to my mind right after posting the question: [CODE] should allow [CODE] to access media right before denying [CODE] use to media. Tested and worked... | 3 | 3 | 6,871 | 2012-03-11T06:56:46.887 | infrastructure | serverfault.com | |
742,567 | Possible Operating System for Linux-experienced admins when configuring a MikroTik RouterBoard RB951Ui-2HnD as balance-loader | I have just bought a MikroTik RouterBoard RB951Ui-2HnD router and would like to try it as balance-loader, if that is possible. Until now I have just used some desktop computers with Zentyal running on Ubuntu Linux Server v14. Starting from suggestions on this forum, I am planning to test pfSense (for desktop computers ... | A possible solution is Gargoyle , a well featured OpenWRT enhancement, including Monitor Bandwith , Set Quotas and Throttles , Block Forbidden Websites or Wireless Bridging . Anyway, there are no Mikrotik devices in the official supported devices list , but, as long as it is based on OpenWRT , you could give it a try. ... | 1 | 0 | 159 | 2015-12-11T23:18:50.417 | infrastructure | serverfault.com | |
974,635 | How to fix the lack of Elastic Network Adapter (ENA) in old AMI images which prevents instance launch? | I have an old AMI which used to run on a c4.large machine. Since this class is not available an all AZ, I picked a c5.large to restore the image to. However, when I run terraform to restore, I got this error message: 1 error(s) occurred: aws_instance.convertor: 1 error(s) occurred: aws_instance.convertor: Error launchi... | You have to use AMI which has ENA enabled option. Follow these instructions: Enhanced Networking ENA Do not forget to set: [CODE] | 5 | 3 | 9,777 | 2019-07-10T07:34:19.737 | api_errors | serverfault.com | |
200,390 | Windows 2008 Server SP2 64bit - TCP Connections never releasing after TIME_WAIT | We have an issue with Windows 2008 Datacenter edition SP2 64bit. We have a process that is polling very frequently and establishing new TCP connections. The system gets in a state where we end up with over 16k connections in TIME_WAIT state. The default OS timeout is 120 seconds after which these connections should go ... | Amazon EC2 had a major problem with this. They recently fixed the bug. Maybe the same problem applies in your situation? Hi, I am pasting below an explanation of what was causing this issue. Good news is that this has been fixed very recently by our engineering team. To get fix, all you'll have to do is STOP/START the ... | 7 | 5 | 14,938 | 2010-11-10T16:15:49.370 | infrastructure | serverfault.com | |
58,861 | Setting up Windows 2008 with VPN and NAT | I have a Windows 2008 box set up with VPN, and that works quite well. NPS is used to validate the VPN clients, who are able to access the private address of the server, once connected. I can't for the life of me get NAT working for the VPN clients, though. I've added NAT as a routing protocol, and set the one on in the... | What kind of VPN are you using? (windows vpn, ipsec, openvpn) I'm assuming the windows one so. When you say that clients are able to access the private address of the server you mean if from you NAT subnet of VPN subnet? Did you check if the routes are applied correctly on client site ("route print" on windows, "netsta... | 1 | 1 | 1,669 | 2009-08-26T09:21:52.700 | infrastructure | serverfault.com | |
328,522 | SQL Server: Inserting empty value (zero-arity INSERT) | I made test table: [CODE] Now I want to insert a value: [CODE] and it complains: [CODE] I cannot insert ID, because it fails with: [CODE] [CODE] syntax for [CODE] is also forbidden: [CODE] | Try with [CODE] To explicitly specify the column name,in particular cases, try with [CODE] (1. and don't forget do set it back to off [CODE] ) (2. the value you provide for [CODE] column, because it's primary key, should be unique): [CODE] All Script : [CODE] id 1 dbfiddle | 0 | 3 | 222 | 2023-06-22T06:09:40.150 | database_errors | dba.stackexchange.com | |
46,800 | FileWatcher Troubleshooting Options | I have setup a Credential/Procedure/Program/File Watcher/Job to monitor a folder for new files, but it is not working. I am trying to figure out what I can check to troubleshoot why this isn't working. After scaling back the code to a bare minimum, here are somethings I have already done. Verify that files are being cr... | To use file watchers, the database Java virtual machine (JVM) component must be installed. Check whether java is installed : [CODE] 8 rows selected. [CODE] | 5 | 1 | 1,954 | 2013-07-22T18:41:40.397 | warehouse_errors | dba.stackexchange.com | |
575,035 | Alfresco : Import FileSystem permissions w/ Bulk Filesystem Import Tool | I have Alfresco 4.2.c installed on a Windows Server 2012, linked, sync and SSO to a LDAP (working great). I'm trying to use BFI ( https://code.google.com/p/alfresco-bulk-filesystem-import/ ) to import a filesystem linked to the users of the LDAP (permissions of the FS are set on the users of the AD). But BFI doesn't im... | As stated by its name, the bulk file import tool does a bulk import. This means that only binary content is imported. Any metadata has to be defined in the xml file that define the import. ACEs (and so ACLs), associations and are not handled at all as shown bellow: https://github.com/pmonks/alfresco-bulk-import/issues/... | 1 | 1 | 694 | 2014-02-12T15:14:19.493 | infrastructure | serverfault.com | |
914,451 | Where to get Hardware info about Routers | I have been trying to get information about the hardware itself from Cisco routers but I was unable to find that on Google. It seems weird I cant find that info neither on Cisco page itself. My question is, can someone direct me to a page where I can get the CPU, the amount of memory and the overall hardware features o... | Simply put: if you can't find detailed info from the vendor and no detailed review you'll have to take them apart yourself. Apparently, most customers don't require or ask for detailed datasheets any more, so they've grown out of style... | 1 | 2 | 385 | 2018-05-30T13:36:41.270 | infrastructure | serverfault.com | |
1,053,187 | Systemd fails to run in a docker container when using cgroupv2 (--cgroupns=private) | I will attach the minimized test case below. However, it is a simple Dockerfile that has these lines: [CODE] It is Debian:buster-slim based image, and runs systemd inside the container. Effectively, I used to run the container like this: [CODE] It used to work fine before I upgraded a bunch of host Linux packages. The ... | tl;dr It seems to me that this use case is not explicitly supported yet . You can almost get it working but not quite. The root cause When systemd sees a unified cgroupfs at [CODE] it assumes it should be able to write to it which normally should be possible but is not the case here. The basics First of all, you need t... | 24 | 18 | 41,415 | 2021-02-11T01:58:56.697 | pipeline_ops | serverfault.com | |
1,113,547 | What is the purpose of version dates in AWS policy documents | AWS policies contain a date version. What is its purpose? In this example a bucket policy and a user policy both contain [CODE] in the JSON. I don't see the purpose of the date explained in the docs . I want to add statements that I found in AWS documentation which show the date [CODE] to an s3 bucket policy. The polic... | I'm going to copy and paste from the page Tim P linked to , so the question can be marked answered. Short answer: it's so the policy format / language can change over time, still letting old templates work while new templates can have different format / features. -- The Version policy element specifies the language syn... | 2 | 3 | 1,133 | 2022-10-20T03:24:53.720 | infrastructure | serverfault.com | |
373,908 | Tomcat repeated 401 and the client nonce cache | I've got a Tomcat 6.0.35 service with a SOAP based webapp protected by Digest Authentication. We are seeing issues with various users getting repeated 401 responses since we upgraded to 6.0.35. Additionally we are getting the following entries in Catalina log: [CODE] Any idea what is going on? | The "Digest Authenticator Valve" for Tomcat 6.0.35 supported the following attribute: cnonceCacheSize -> To protect against replay attacks, the DIGEST authenticator tracks client nonce and nonce count values. This attribute controls the size of that cache. If not specified, the default value of 1000 is used. Tomcat 6.0... | 0 | 0 | 627 | 2012-03-27T12:22:03.713 | api_errors | serverfault.com | |
480,119 | Perfmon counters for monitoring general IIS/MSSQL server activity | I have a virtual server with a hosting company so CPU and RAM are limited. I need to watch load/performance over time to know when to upgrade the server. The site runs multiple ASP.NET apps as well as PHP apps, all with MSSQL backend. What are some vital perfmon counters to use to monitor a standard IIS/MSSQL web serve... | You should start with the basics; Processor Information\% Processor Time Memory\Pages/Sec Memory: Available Bytes Logical Disk*\Average Disk Queue Length SQL Server:Buffer Manager\Buffer cache hit ratio If you went with the default install of non-express SQL then it will take all the memory it can and starve IIS/Window... | 0 | 3 | 2,828 | 2013-02-19T01:57:59.570 | database_errors | serverfault.com | |
217,804 | Get row with max date from a joined table | I have this schema of dossiers having 1 to N pages, and each page has a date: [CODE] I want to select all the dossiers alongside the page with its maximum date. This is what I tried (error): [CODE] I need to get the A1 dossier along with its "page3" page, and the A2 dossier with its "page1" page. I'm sure it's not as t... | A solution is to do an extra [CODE] with 'newer pages', and filtering those with no newer pages: [CODE] SQLFiddle | 2 | 1 | 1,518 | 2018-09-17T14:48:43.013 | warehouse_errors | dba.stackexchange.com | |
301,596 | PostgreSQL trigger to update date modified | I am attempting to update the column [CODE] whenever any of the fields are updated in the table [CODE] with a trigger in PostgreSQL version 13. [CODE] But I am getting the error [CODE] . What am I missing? | Look at the previous line: the semicolon [CODE] at the end of the line was missed. [CODE] The exact error text will point to the error line: [CODE] Due to the nature of syntax errors, it is always recommended to check the previous sentence. The syntactic parser usually cannot guess where someone forgot to complete the ... | 0 | 4 | 1,997 | 2021-10-24T19:58:52.350 | database_errors | dba.stackexchange.com | |
246,673 | What is a good practice to push notifications in a "near real-time" delay in this case? | I want to enable some real-time notifications about friend's activities (social network). Technical context is: Webapp calling backend (REST API's). Scenario is: Kevin follows Bob. When Bob posts a new comment, Kevin should be notified immediately (near real-time). Besides, when Kevin logs in, he should be able to see ... | Event handling is not necessarily something internal only to the Domain instance. Sometimes, an external service handles more appropriately such events needs than an internal implementation. Text Messaging for instance, can be handled better by an XMPP or IRC services, which are interfaced as dependencies into the doma... | 1 | 1 | 1,295 | 2014-07-02T14:49:34.057 | database_errors | softwareengineering.stackexchange.com | |
1,080,535 | Java large heap in container environment | I'm trying to run a Jetty webserver on kubernetes, it needs an extremely huge amount of heap ~ 250 GB in our production environment, ~ 50 GB in our test environment. I'm using [CODE] , I'm trying to avoid setting [CODE] or [CODE] flags explicitly because the value is different between different environments, for that I... | A JVM argument called [CODE] which is enabled by default on Java 11, is the cause, from the documentation . [CODE] Just changing [CODE] to [CODE] as shown above will disables it. Using [CODE] is not recommended either in my case, from the same documentation . [CODE] But I guess it is worth testing. | 0 | 0 | 486 | 2021-10-14T11:53:33.053 | pipeline_ops | serverfault.com | |
58,865 | Windows Server 2008, Stuck on TCP Handshake | The problem: My Windows 2008 Server cannot establish TCP connections with remote machines. Steps to reproduce: I have a service running on a Windows 2008 Server machine on port 40.000 with the ip 10.100.5.46. From another Linux machine i try using [CODE] This results in a connection with the state [CODE] . I use netsta... | We have now found a solution to my problem and i wanted to share this solution. The problem was caused by a single option on the Socket. [CODE] When this option was set to true, our service was unable to receive any connections from a different subnet on Windows 2008. The connection would get stuck in the TCP Handshake... | 0 | 0 | 4,708 | 2009-08-26T09:35:58.490 | infrastructure | serverfault.com | |
523,729 | Why VM cannot get the public IP I have from provider? | I have a KVM-Host (on Debian) with [CODE] I have public IPs: 176.x.y.133 (KVM-Host), 176.x.y.151, 176.x.y.155. Now I'm trying to get the network on each VM: [CODE] I uninstalled the network-manager. Next steps: [CODE] (i.e. empty, no even default gateway) [CODE] I can't even set static routes (MAC-addr./IP-addr.). What... | Check that the MAC address is not randomly generated; many ISPs will only allocate IPs to MAC addresses that are issued by valid providers. I was able to get an IP on a machine by taking a known-good one, incrementing the last octet by one. Edit: make sure "brctl show vmbr0" shows something sensible. Something like [CO... | 0 | 1 | 1,506 | 2013-07-16T14:47:08.353 | infrastructure | serverfault.com | |
779,292 | Need help in understanding the packet analysis(wireshark) | The snapshot capture below contains a single HTTP request to a web server, in which the client web browser requests some files from server, and the server returns an HTTP/1.1 200 (OK) response which includes the file requested: Here is what I understood!! Packet# 4 After the connection is established,the client initiat... | I think you just need to remember these two key ideas: The Sequence Number is the first Byte of the packet, not the length. The Acknowledge Number is basically saying, "The next sequence number I'm expecting to see from the other side is X" So to answer your questions: How come the sequence number changed to 208 and AC... | 1 | 1 | 231 | 2016-05-26T21:08:37.590 | infrastructure | serverfault.com | |
614,623 | syslog-ng 3.5 flush_lines not working with smtp | What I want : automatic emails every time someone successfully logs into my Ubuntu 14.04 LTS server. /var/log/auth.log gets 2 lines written to it every time I login. Example: [CODE] I would like 1 email detailing this event, instead of the 2 I am currently receiving. What I have installed : [CODE] What I've added : [CO... | I would add a filter on [CODE] (using [CODE] ), that limits it to that particular log line, and the ssh one will not trigger the e-mail. (The [CODE] functionality is not implemented for the SMTP destination in syslog-ng) | 0 | 0 | 652 | 2014-07-22T19:00:02.170 | infrastructure | serverfault.com | |
45,901 | Issue Management | I know this isn't about [CODE] but i should learn " [CODE] " What is [CODE] ? I read Wikipedi page but i don't understand very well. Can you tell me [CODE] and if there is some product for this subject? | Others have already answered what Issue Management is. For commercial tools, many claim JIRA is the best. We've also had a good experience with Redmine , which is free and open source. | -2 | 2 | 257 | 2011-02-09T12:26:48.957 | api_errors | softwareengineering.stackexchange.com | |
550,276 | How to block internet access to certain programs on Linux | Recently, I have encountered a problem of limiting Internet Access to specific programs. Could anybody recommend a good way of doing that, without using any particular software? | The solution for me happened to be straight forward. Create, validate new group ; add required users to this group: Create: [CODE] Validate: [CODE] Add user: [CODE] Note: If you're modifying already existing user you should run: [CODE] check with : [CODE] Create a script in your path and make it executable: Create: [CO... | 40 | 53 | 78,940 | 2013-11-02T07:30:06.130 | infrastructure | serverfault.com | |
971,532 | What's the process to use a cellular wifi hotspot as an ISP? | I'm currently waiting out an ISP outage. I have a Radware box that has static rules to push clients to the secondary ISP should the primary ISP go down. My secondary is the one that's down, so nothing is really impacted. Some servers are statically assigned to the secondary so they don't have to compete for bandwidth. ... | Routers at your Internet edge supporting multi homed. With multiple WAN ports (Ethernet, USB, or integrated 4G modem) and failover capability. Possibly you could use your existing box if you can add a third WAN interface. Usually, cell data modems intended for this purpose have Ethernet or USB, and not only wifi like a... | 0 | 1 | 67 | 2019-06-14T22:41:46.740 | database_errors | serverfault.com | |
990,028 | NetworkManager gsm connection on Simcom SIM5320A via serial port is failing | Device Hardware: Raspberry Pi 3 OS: Raspbian GNU/Linux 10 (buster) NetworkManager: 1.14.6 ModemManager: 1.10.0 Modem: Simcom SIM5320A connected via UART to the port ttyAMA0 Problem I don't think I fully understand what is causing the modem to disconnect, I've been told it might go into a binary state where it stops res... | I've been running into a similar issue. How to maintain and manage a cellular connection to a serial modem? I tired using modemmanager but but didn't get far, it looks like you got way further than I did. The issue that I also ran into is that once a PPP connection is made, you cannot use the same serial port for AT co... | 0 | 0 | 2,813 | 2019-10-30T21:10:49.640 | infrastructure | serverfault.com | |
519,117 | Unusal internet traffic drop off | I'm after advice on how to approach a problem I'm having on my e-commerce site. Occasionally, the site suffers a levelling off of users on the website, compared to our historic traffic this is unusual. We have checked the website/db and servers for faults and all looks ok. We do not believe our website or database is a... | Is the time period when this happens predictable? I doubt this is related to your website. Possibly it could be related to your server, if it is doing other bandwidth intensive activities during the time period in question, or something else on the network is using all of the available bandwidth during that time. For e... | -2 | 1 | 116 | 2013-06-27T19:04:10.287 | infrastructure | serverfault.com | |
644,118 | ubuntu sudoers file hacked? | I've 3 ubuntu 14.04 vm on a remote hosting for code repository and testing purpose. I've got them for more than 1 year now. Two of them are working properly, but on one of them I can't run root commands anymore. I disabled root access and I'm log in as "user1", using sudo to run commands. But now it say that the users ... | Not that long ago I accidentically removed myself from the sudoers file by attempting to add my user to another group. Instead of typing the intended: [CODE] I instead typed I believe it was the following: [CODE] What happened? Well it did add me to one group, but removed me from all the others including sudo. NET resu... | 0 | 0 | 1,096 | 2014-11-13T15:30:16.250 | data_quality | serverfault.com | |
360,863 | Domain user invisable on local Remote Desktop Users group | I am following Microsoft's " Installing Remote Desktop Session Host Step-by-Step Guide ". I am on the step Step 2 sub-section: "To add Morgan Skinner to the [CODE] group". I can add [CODE] to the local [CODE] group, however once I click Apply(or I click OK then come back in to the list) the list is empty again. If I tr... | The thing that stands out the most to me is the following "Both machines are clones of a base Win2k8R2 (180 day eval version) VMware Image Snapshot. After the clone I turned one into a domain controller" Sounds like there's an issue with the RID FSMO: Relative ID (RID) Master Allocates RIDs to DCs within a Domain. When... | 2 | 5 | 1,468 | 2012-02-16T16:25:44.377 | infrastructure | serverfault.com | |
189,255 | File permission for a really simple website host on Apache | I'm going to host a really simple, static, readonly website on apache but failed with file permission settings. Here's my config file under [CODE] which is OK: [CODE] and the file permissions: [CODE] and [CODE] (which is the account running apache) is in group [CODE] : [CODE] It work perfectly fine now since I set the ... | As ultrasawblade suggests You want Jeffz to be able to edit the files. Web users, in group www-data, to be able to read them. Everyone else to have no access. You need To apply this recursively to existing directories and files. The group settings to apply to newly created subdirectories and files. So [CODE] Notes The ... | 0 | 0 | 540 | 2010-10-09T02:31:42.263 | infrastructure | serverfault.com | |
291,719 | web application can't connect to database | I have a web application which accesses MySQL using Hibernate as a JPA provider. Though all is well on my development rig, once I deploy the WAR to my server I get the following error: [CODE] The dev machine runs Ubuntu 10.10 and the server 10.04; both are using the provided MySQL package and Apache's (not Ubuntu's) to... | In my case it turns out another admin had denied [CODE] in [CODE] and [CODE] was empty. Placing [CODE] in [CODE] fixed the problem. For reference, here are all the potential causes of errors like the one I described: localhost may not connect as per [CODE] and [CODE] JDBC driver is not available to tomcat The database ... | 1 | 0 | 1,617 | 2011-07-19T07:11:09.657 | database_errors | serverfault.com | |
725,810 | Windows 2012 R2 NTP server Unable to sync with Cisco Nexus | I am the PDC Admin, The Windows NTP server is set correctly, we have 5 different time sources set. We are able to sync with 2 of those time sources and other external time sources such as ntp.org (Below is the config). We know time is able to sync, it is just not able to sync with the Cisco Nexus device (that info is b... | We had similar issues in our Cisco based environment. The Cisco NTP servers may be rejecting the requests from the Windows servers due to the "mode" they are using to synchronize time. I'm not terribly familiar with the intricacies of the NTP protocol, but this KB875424 explains a bit better than I can. Essentially, Wi... | 1 | 2 | 7,689 | 2015-09-30T14:42:56.633 | infrastructure | serverfault.com | |
686,785 | Apache httpd does not implement updates to a 301 redirect configuration | I'm having a problem updating a previously-working redirect in my apache server (httpd, rhel). I'd previously had: [CODE] which worked. I changed it to: [CODE] and now it does not work. That is, when I try to hit the simple /apidocs" rel="nofollow noreferrer">http:// /apidocs url, I get a 301 with the old redirect loca... | ...so the "answer" is that the premise of the question is wrong. That is, apache httpd is doing its job correctly. The real issue is that there is a caching tier somewhere between httpd on the server and my local machine. I take as evidence of this that: 1. a wget executed from my local machine is redirected to the old... | 1 | 0 | 1,544 | 2015-04-30T15:08:26.883 | infrastructure | serverfault.com | |
151,701 | transaction log backup format sector size | I am trying to backup a log file in SQL Server but I obtain an error message while yesterday I did it successfully. The only difference between yesterday and now is that I just truncate the principal table in the database. The error message in french I get is the following: [CODE] Impossible d'utiliser le fichier de sa... | Correct. You can't restore backups to storage with a different sector size (this is something to do with the way the log is structured internally where it would be unsafe to do so - there's a big article on it which is as clear as mud). Are you using Storage Spaces ? The problem with all of this is that the when creati... | 2 | 1 | 577 | 2016-10-07T14:22:09.213 | database_errors | dba.stackexchange.com | |
1,034,025 | How do I allow WebSockets connection with HTTPS in AWS EC2 | I have a chat made with the library RatchetPHP, but I don't know how to allows websockets connection with https, my chat works only with http, when I try to use with SSL, it give me error in G Console: error connection timed out. So, how can I allow websockets connection under https? Do I need to make reverse proxy? An... | So, how can I allow websockets connection under https? Generally you would allow https (TCP 443) through your firewall, then configure your web server to accept those connections. Now that you know this you can search for "(web server) accept websocket connections". Do I need to make reverse proxy? And how can I do it?... | 1 | 1 | 4,284 | 2020-09-15T18:52:03.530 | api_errors | serverfault.com | |
640,182 | Windows profile is deleted when user does not log in for several days | We use a Windows Server 2008 R2 Active Directory network with Windows 7 Professional clients. After logging in a profile gets created on the computer as normal with all the usual settings, such as the background image, certain preferences and Outlook account settings. However, if an employee does not login for a certai... | There is a GPO setting named [CODE] under [CODE] that may be configured to delete older user profiles. Have a look there. | 0 | 1 | 363 | 2014-10-28T09:16:33.943 | infrastructure | serverfault.com | |
239,546 | 30 days rolling sum as base for fee calculation. Faster solution | I need to calculate PayPal fees or an online shop to show an overview table with the fees per day. I came up with a solution playing this over several views, but it's dead slow. I takes more than a seven minutes for around 4200 original rows of order data with Paypal fees to calculate. Hence, I am looking for a faster ... | The issue you are running into is because you are creating nested views which can cause postgress to lose track of indexes and not use them properly. This is something that I have noticed before when you get multiple layers deep the optimizer will no longer be using the indexes. A good way to check this would be do an ... | 1 | 1 | 93 | 2019-05-31T11:27:53.587 | api_errors | dba.stackexchange.com | |
626,405 | ECP Access Denied? | I'm having an issue with Microsoft Exchange Control Panel. I have 2 servers with Exchange installed, both have the Client Access role, however only one has the Mailbox and Hub Transport roles. When I log in to the server hosting the Exchange Mailbox and Hub Transport roles, I am able to access the ECP webapp no problem... | ... After the third attempt rebooting, everything started working perfectly. No idea what the problem was, but it's fixed now. Disaster averted. | 0 | 0 | 3,186 | 2014-09-05T02:26:26.780 | infrastructure | serverfault.com | |
213,052 | Heuristic for consistiently ordering points in a a plane | I have rectangular regions in a plane. I want to consistently order them in a human-friendly way that a typical y-x sort won't work for. Basically I want (0,0), (1,0), and (0,1) to sort the same as (0,0), (1, -0.1), and (-0.1, 1). Ideas? From comments: The obvious answers, y-x and x-y sort, result in different orders f... | In principle, a Hilbert curve can do that. It's a fractal that fills a two-dimensional space. This paper defines a generalization of the Hilbert curve and uses a relationship with reflected binary Gray code to define efficient conversions, with the main application being multi-dimensional database indexes. The key poin... | 1 | 5 | 374 | 2013-10-01T16:52:12.057 | api_errors | softwareengineering.stackexchange.com | |
451,671 | Is it possible for Apache to display PHP source code if PHP crashes? | This is more of a security question: Are there any circumstances (i.e. running PHP as a CGI binary versus Apache module, examples of poor default configurations, etc.) where Apache would render the unprocessed source code for a PHP script if PHP were to crash independently of Apache? | No: Apache delegates script processing entirely to PHP using some method or another (DSO, CGI, suPHP, whatever). Whatever it outputs, will be treated as the response to render to the user. If it is going to crash, then most of the time, the process will crash without outputting headers. If it does not output headers (w... | 3 | 3 | 1,082 | 2012-11-23T23:11:11.637 | infrastructure | serverfault.com | |
45,345 | Mapping a shared physical folder to filestream | We are working on a project where we have large amounts of images, texts etc which we need to work on in SQL Server. We were thinking of using Filestream and filetable functionality. However, even after trawling through a lot of data on the net, we aren't able to find answers to the below queries: We are trying to crea... | this isn't exactly how filestream and filetables work, you can't specify the name of an existing share as SQL server will try and create the share that you specify in SQL Server Configuration Manager. This is because the share is not mapped directly to a folder on the filesystem like a normal share, but an NTFS data co... | 7 | 7 | 12,679 | 2013-06-27T06:03:02.733 | database_errors | dba.stackexchange.com | |
300,157 | Kubernetes - Replicated stateful mySQL database | Helloo This is the scenario: I have a cluster on gke with apache, mysql and keyrock and i would like to scale it up with horizontal pod autoscaler. For mysql i am using statefulset and the code is here: [CODE] and mysql-service code: [CODE] Problem: When hpa scales up mysql database, the second replica is empty and i d... | This is late, but you can find an example that includes copying the data from the primary instance to replicas in the Kubernetes docs: https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/ This example uses a sidecar with Percona's xtrabackup to copy data from the next instance up the ch... | -1 | 0 | 414 | 2021-09-25T17:26:53.097 | pipeline_ops | dba.stackexchange.com | |
728,007 | Mail forwarding server | Is there any way I can "relay" mail traffic? To explain better, lets say the server that will relay the mail is 10.0.0.1, and the proper mail server containing the mail is Gmail, is there any way I can make the mail client connect to 10.0.0.1, but send all the traffic to Gmail? This is because in the circumstance I hav... | Is there any way I can "relay" mail traffic? Yes. Is there any way this is possible, and if so how? This is generally known as a mail "smarthost", and it is a very frequent use case. You'll need to choose an MTA (choose postfix), and then consult that MTA's documentation for how to set up a smarthost relay. | 2 | 7 | 131 | 2015-10-09T22:14:09.333 | infrastructure | serverfault.com | |
419,405 | Can't connect to Exchange Web Services from staging servers via Autodiscovery | I have a hosted Exchange server on Rackspace. I am using it to test Exchange Web Services integrated with my personal web application. Rackspace provides an Autodiscovery URL through which EWS connections can be made. I can connect just fine locally. However, when I try to test the same functionality on my staging serv... | This sounds like something in EC2 blocking your access to the EWS URL. Do you need to open a EC2 firewall port to allow your EC2 box to talk to the EWS server? I can't imagine that hosted EWS would care where the HTTP request was coming from. | 0 | 0 | 729 | 2012-08-20T20:26:28.103 | infrastructure | serverfault.com | |
382,181 | How to handle a many to many relationship with an ORM mapped to a Domain Model when there are no technical constraints? | Domain Driven Design states that you should have a domain model, which reflects the ubiquitious language used by the domain experts. When using ORMs and many to many relationships I am use to doing this: [CODE] However, with EF Core you must create a join class as described here: https://github.com/aspnet/EntityFramewo... | The overarching paradigm that DDD seeks to provide is one focused on the behavior of your system. Everything else is an implementation detail. As such, one does not model the domain according to any specific persistence mechanism, rather, models the persistence mechanism according to the domain. Including some sort of ... | 0 | 2 | 2,154 | 2018-11-28T21:59:44.087 | data_quality | softwareengineering.stackexchange.com | |
261,001 | Why didn't my performance increase when I went from 4 disk RAID 10 to 6 disk RAID 10? | I had 4 drives in a RAID10 set and 2 spare disks. We've been monitoring the perfmon Average Disk seconds per transfer (reads and writes) counter. We bought 2 more disks, rebuilt the RAID10 set using 6 disks (2 span) and the performance stayed the same. Is there some limitation that RAID10 only improves based on 4 disk ... | You should dig deeper into SQL performance stats as well as drive stats. If you have lots of connections it may help to make multiple smaller TempDB files. (read up on that, it was a major gain for us. http://msdn.microsoft.com/en-us/library/ms175527.aspx ) If you have a buffer cache ratio below 93 you may want more me... | 6 | 1 | 4,317 | 2011-04-18T19:08:14.580 | database_errors | serverfault.com | |
755,025 | Find Stale/Inactive Exchange Mailboxes | Hoping someone can help with this/it's an easy to explain issue, but basically I'm looking to find mailboxes in our Exchange 2010 environment that haven't been logged into for more than x days/a certain amount of time. I've found several powershell scripts online which would/should seem to work by looking at the last l... | Last Logon time being blank usually means it hasn't been used at all. However I personally would adjust the script to remove the requirement for the time limit [CODE] Then export those results to CSV and sort the results by the dates involved. That will give you a better idea if the results you are getting back are exp... | 2 | 4 | 3,563 | 2016-02-09T15:40:12.707 | infrastructure | serverfault.com | |
11,211 | Error Msg 823, Level 24, State 2, Line 1 | We have been recieving the error below in one of our server during restoring a database. Has anyone experienced the same problem? If yes can you please share how you fixed it? The operating system returned error 38(Reached the end of the file.) to SQL Server during a read at offset 0x000001f3400000 in file 'H:\Data\XXX... | I have heard of this occurring during a restore of multiple databases, non-sequentially (i.e.: multiple restores occurring on different SPIDs at once), after a drive failure, on a hyper-V VM. (I'm sorry to include all of those caveats, but that was the situation... and I'd hate to find out that any one factor changes t... | 0 | 0 | 3,172 | 2011-05-17T22:41:12.733 | database_errors | dba.stackexchange.com | |
1,033,736 | Ceilometer event publisher | Can anyone help me sort this problem out? I am trying to install Ceilometer. I have install Gnocchi already. When I tried to restart the Ceilometer-agent-notification service, following messages are shown: [CODE] Any idea to help me out? thanks in advance | Panko is the storage facility for events, just like Gnocchi is the storage facility for samples. It would seem that your Ceilometer configuration wants to publish events to Panko, but Panko is not installed. Either install Panko or remove references to Panko from the pipeline file(s) under /etc/ceilometer. | 0 | 0 | 401 | 2020-09-13T17:18:51.297 | infrastructure | serverfault.com | |
197,185 | sp_refresh_parameter_encryption fails to refresh objects | I am testing [CODE] feature and once the operation of encrypting column is done I have a file with hundreds objects failed to be refresh by the [CODE] procedure. Should I investigate these errors and perform the refreshing by myself? What are the risks of not doing this? | Generally, you need to check each object this system routine do not refresh. It is a good start point to locate routines that are referring the new encrypted columns in not correct way - for example, performing scalar functions on the columns (cast/convert, aggregate, string functions or concatenation, etc.). If you do... | 2 | 0 | 1,227 | 2018-02-06T15:42:27.857 | warehouse_errors | dba.stackexchange.com | |
867,112 | resize2fs does not resize filesystem | I'm mounting a volume from a storage array on an Centos 6.5 server. I resized the volume and tried to resize the FS on the server, but resize2fs does not resize. I'm not using LVM. I'm mounting /dev/mapper device directly on the mount point with an entry in /etc/fstab. Note that I downloaded and built e2fsprogs-1.43.5 ... | This sequence seems to produce consistent results. (NOTE: When I was trying this test, I'm pretty sure I was able to run rescan-scsi-bus.sh without any arguments to find new volumes on the storage.array. Now I have to specify -i to find new volumes. rescan does not find the new volume without it. Server and array are c... | 0 | 0 | 2,705 | 2017-08-06T11:01:46.680 | infrastructure | serverfault.com | |
814,775 | HOW-TO resolve "Add-AzureRmVhd : The remote server returned an error: (400) Bad Request." | I am trying to add a VHD image from my local filesystem to Azure BLOB storage. Whenever I do this after about 6 minutes I get the error "The remote server returned an error: (400) Bad Request". I use the following steps to upload the image (using Azure Resource Manager): [CODE] I have no idea how to debug this further?... | Your Azure Storage Account type is "Blob Storage". According to docs, it doesn't do page blobs, which are required for VMs. Fix this by uploading into a General Purpose storage account. More info in my blog . | 1 | 1 | 2,143 | 2016-11-14T12:07:28.347 | infrastructure | serverfault.com | |
294,978 | xenserver: installation via kickstart file after adding storage | [CODE] when i do this i get a error that there is no bootloader. if i add a disk to the template and omit the 2nd command everything works fine. so the question: how can i boot into installation after adding disk(s) | I'm trying to follow along here: When I run the vm-disk-add line, i get "A device with the name given already exists on the selected VM device: 0 " Meaning that I already have a disk at position 0. This is true; my template includes a disk in slot 0 when it's made. I guess my question is, why do you want to do it this ... | 0 | 1 | 2,689 | 2011-07-28T11:42:59.467 | infrastructure | serverfault.com | |
284,475 | keep double slashes when working with passenger | I've urls on my site that have nested urls encoded by encodeURI function. [CODE] My site is running using nginx 0.8.53 The problem is that when nginx gets such url it decodes the whole url and remove double slashes passing incorrect url down to passenger and then in my ruby code. Here is my general nginx configuration:... | merge_slashes only works as a directive in a server block when that server is a default server . Specify it instead in your http block. Note however that even with merge_slashes off, nginx will still decode the slashes, and Passenger will still merge them. I worked around this on my site by looking for things like "htt... | 2 | 0 | 1,622 | 2011-06-27T12:37:12.243 | infrastructure | serverfault.com | |
63,691 | Installing Office SharePoint 2007 on Windows Server 2008 R2? | I have Windows Server 2008 R2 Standart. I want to install Sharepoint Office Server 2007 on my server. When I try to run setup, Program Compatibility Assistant warning this message : http://i26.tinypic.com/b495vl.png I installed WSS 3.0 With SP2 and I try install again but problem is not solved. How can I install Sharep... | You need to make sure that SP2 is bundled in the MOSS installation contents. This blog has a posting on how to do it, and this post is good reading. | 1 | 2 | 702 | 2009-09-09T11:10:43.127 | infrastructure | serverfault.com | |
96,923 | Using Z-test score to evaluate model performance | I think I know the answer to this question but I am looking for a sanity check here: Is it appropriate to use z-test scores in order to evaluate the performance of my model? I have a binary model that I have developed with a NN in Keras. I know the size of my (equally balanced) training set and it has a proportion of 0... | From your description, you can not use Z-test because the z-test requires knowing the population variance. | 1 | 0 | 74 | 2021-06-21T15:20:04.667 | data_quality | datascience.stackexchange.com | |
295,739 | SQL Server Costs | Possible Duplicate: Can you help me with my software licensing question? I`ve been looking on the web for quite a long time to find out the pricing for SQL Server. Microsoft makes you browse for a long time until you find some piece of info. Could some one please show me the link for the pricing? | This link should answer your questions about pricing: http://www.microsoft.com/sqlserver/en/us/get-sql-server/how-to-buy.aspx You may also find some pricing differences through your local Microsoft reseller. | 2 | 2 | 120 | 2011-07-30T03:20:39.753 | database_errors | serverfault.com | |
663,770 | How would using caching nginx template affect adsense? | I'm considering using the nginx template below for WP sites with adsense on them. Would that cache the adsense ads too and make the clicks invalid? [CODE] } | Adsense resources are hosted on google's side, not yours. | 0 | 4 | 1,633 | 2015-01-30T17:33:38.247 | infrastructure | serverfault.com | |
675,650 | How to rebuild Raid arrays after booting to a live cd? | Problem: Botched kernel upgrade left me with an unbootable system (don't ask me how it also made my backup kernel unbootable) where boot and root are on mdadm raid 1 arrays (with metadata 1.0/1.2 respectively). Booting by live CD doesn't detect my raid arrays and I can't repair my system without assembling them by hand... | The solution was the following: [CODE] If the [CODE] above fails the module was probably included in the kernel. | 3 | 5 | 5,154 | 2015-03-15T16:01:04.340 | database_errors | serverfault.com | |
583,294 | Tomcat service crashing | I am having issues with a Tomcat service that crashes (stops responding to requests) and needs to be sigkill'd and restarted every few days. My graphing shows that HEAP memory usage gets to about 3gb during the peaks and this is the most obvious symptom of the issue. From what I have read, adding in Xmx max memory limi... | I would first recommend that you do a crash course in Java and Tomcat. I can give you all sort of tips but in the end, you need to understand what you are doing to correctly administer a server. That said, you can't tell the JVM that it can use more memory than your machine has available. If your Xmx is already above 1... | 0 | 1 | 1,208 | 2014-03-20T02:06:13.510 | infrastructure | serverfault.com | |
647,821 | Php-fpm process always running | I am using Nginx with Php-fpm (php 5.5 + opcode) for a very high traffic web site, php-fpm status endpoint to monitoring what going on. After a big traffic peak, 200 "active process" are still running despite no more traffic. Here my php-fpm pool config: [CODE] Here the result of php-fpm status for a "always running" p... | Switch PHP-FPM to ondemand and set the timeout values lower than they currently are. | 2 | 0 | 2,878 | 2014-11-28T15:47:37.290 | pipeline_ops | serverfault.com | |
1,045,640 | LOW IOPS after MySQL RDS Upgrade | We were hitting the upper limits of our IOPs the last several days. We provisioned more IOPS a few times. 1250 -> 2500 -> 4500. Each Step we quickly saw we were using all the available IOPS as it would max out between the reads and writes. Finally this morning we had another large customer onboard and our CPU, Memory, ... | You probably have a query that fell off a cliff. (Thanks for the good description. Here's the likely explanation.) An example. Let's say a query is scanning a 7GB table (without a useful index, etc) with 70M rows. Case 1: RAM = 8GB; [CODE] = 6GB. The query bumps everything out of cache to finish the scan. This takes so... | 2 | 1 | 551 | 2020-12-10T01:58:41.627 | database_errors | serverfault.com | |
210,673 | Optimizing MySQL query with some LEFT OUTER JOINS | I have a classifieds website and want to optimize the most intensive query in my server. I don´t have so much experience with MySQL (or any other DB). This is the complete listing ads: [CODE] When I do the EXPLAIN Query, this is the result: So, I see in the Slow queries logs this is consuming about 0.350 secs. Is this ... | Please provide [CODE] ; it is important for optimization to know, for example, which table [CODE] is in. Even before looking at the joins, get rid of the "index merge intersect" by building a "composite" index: [CODE] A [CODE] (aka [CODE] ), per se, is not the villain. Having a subquery in it may be the real villain. S... | 0 | 1 | 410 | 2018-06-26T20:29:21.280 | database_errors | dba.stackexchange.com | |
632,001 | Xen cannot see all the LUNs in ISCSI HP StorageWorks MSA2312i Dual Controller Modular Smart Array | I have a HP StorageWorks MSA2312i Dual Controller Modular Smart Array and a second enclosure. I have four vdisks: vd01 (RAID5) (Current Owner A) vd02 (RAID5) (Current Owner B) vd03 (RAID10) (Current Owner A) vd04 (RAID10) (Current Owner B) With two volumes per vdisk (vd01_001, vd01_v002 and so on) The problem is that w... | I found without any explanation, the solution. The vdisk need to start with 00. vd00, vd01, vd02 and vd03 just works. | 0 | 0 | 116 | 2014-09-29T08:42:21.517 | infrastructure | serverfault.com | |
764,303 | Sendmail: Maillog is not verbose enough | I use sendmail to send through Mandrill SMTP as requested by the web application. I have been noticing that there is weird activity in [CODE] such as: [CODE] It is an hourly job, and there is no information about who is requesting this to be sent. How can I debug this thoroughly? | I recommend looking for your syslog or rsyslog ( What's the difference? ) For example, I have Debian 9 which had a default rsyslog.conf like... [CODE] In my case, mail.log doesn't show errors, they're in mail.err! You can get extra verbosity just by looking at these additional files. It seems there's a way to increase ... | 1 | 0 | 628 | 2016-03-17T08:39:39.470 | infrastructure | serverfault.com | |
898,225 | Get-ADUser WhenChanged and WhenCreated are empty for some users | I've built a PowerShell 5.1 script to export all the users in the DB and save all the data in to a CSV file. The script allows you to set a date back in time so you can decide since when you'd like your users to be exported. After some testing a realized that not all the users are exported, and upon further investigati... | The solution to the problem is to right click on the PowerShell shortcut and select [CODE] . You have to do this even if you are an Administrator already. If you do that and run the command again all your data will be there. [CODE] | 2 | 2 | 7,872 | 2018-02-21T14:39:43.213 | infrastructure | serverfault.com | |
306,826 | Get next invoice number and increment without concurrency problems | I have a table of locations that looks something like this: [CODE] Now I want to create an invoice for a location and I need an invoice number. The invoice number will be equal to the [CODE] value for that location. And then I must increment this value for the next invoice. Very simple logic but is complicated by concu... | If the transaction that allocates invoice numbers is always short-running, and your throughput needs are modest (a few 100s of invoices/sec), you can use a sequence table. It shouldn't be the main "Location" table, as rows are going to be frequently (but briefly) exclusively locked. So [CODE] Then to generate a new inv... | 0 | 3 | 1,729 | 2022-01-31T18:01:04.843 | data_quality | dba.stackexchange.com | |
540,159 | Remote host said: 550 5.7.1 message content rejected | A sender from France is trying to send an email to us. Unfortunately his email is being rejected with the message below. I suspect there are some weird characters in the mail content but how can I allow the content to be accepted in our mail server. Thanks [CODE] Logs [CODE] | Here is a relevant log entry: [CODE] As you can see, it refers to the email [CODE] header, and there are invalid characters in that header. Your sender should check his mail program and ensure that it is constructing email headers properly. | 0 | 5 | 17,700 | 2013-09-19T11:09:59.013 | infrastructure | serverfault.com | |
334,164 | Design pattern for free / premium user role | this question is actually about a complex java project I am doing at university, but it is possible to find a simple case which is really similar to the problem I am facing. In this scenario, we have an app with free version and premium version. A user registers the app for the first time and uses the free version by d... | Clarify your requirements Which of the following do you intend to implement ? premium/free users (as suggested in the title): you have an app with a role based design. One instance of the app could have several users. The same app delivers different behavior to different users (depending on their active role). premium/... | 4 | 1 | 1,316 | 2016-10-20T15:05:46.020 | api_errors | softwareengineering.stackexchange.com | |
255,427 | What are the benefits of using entity framework code-first instead of designing my database using SQL? | I'm currently working on designing a small web application (MVC5) and I'm to the point of designing my database. I have the schema I want worked out and I am quite proficient in SQL Server. (I have my SQL 2012 MCSA.) I'm going to be using entity framework 6 as my ORM. I've been quite interested in the code-first approa... | The biggest benefit in my opinion is that it allows you to focus on designing the model, not the database used to store it. This makes things like separation of concerns etc. easier as your mental approach is already doing that by seeing entities as simple classes, not database tables. Of course, you can always use Flu... | 3 | 4 | 7,839 | 2014-09-05T02:15:39.350 | database_errors | softwareengineering.stackexchange.com | |
801,761 | ext4: Running out of inodes | I am running out of inodes. Only 11% available: [CODE] Is there a way to solve this without creating and copying to a new partition? Details: [CODE] Please let me know if more details are needed. | Is there a way to solve this without creating and copying to a new partition Nope, the number of inodes is fixed when the filesystem is created as the man page says Be warned that it is not possible to expand the number of inodes on a filesystem after it is created, so be careful deciding the correct value for this par... | 9 | 14 | 8,580 | 2016-09-08T07:30:03.890 | infrastructure | serverfault.com | |
879,795 | server not reachable by IP | I have a strange problem in our local environment. Our file server is not reachable by IP, probably since I updated it to windows server 2016. I can reach the server by \name and by \name.domain.local but not by \IP. We have a local AD and DNS @ domain functional level 2012 R2. I added a secondary network card to the s... | You actually connect the server every time with an IP, while [CODE] and [CODE] are actually resolved using DNS or WINS before making the connection. Therefore, the most reasonable explanation would be that the IP address of your server has changed. It might for example be that your server had a static IP but during you... | 0 | 2 | 1,497 | 2017-10-23T09:55:21.537 | infrastructure | serverfault.com | |
170,877 | help for choosing an encryption method for a database column | I'm storing some phone numbers in the database which should kept totally secret (they're supposed to access via web). BTW, because of the position of these people, I need to prevent any chance for leak of their numbers. So, the only solution I could thinking of is Encryption. As the database could contains bunch of dat... | For maximum security against compromise, don't store the phone numbers unless you have to. Sounds like you don't have a choice in the matter. Obfuscate the phone numbers prior to encrypting them. A simple obfuscation would be to rearrange the numbers based upon a predefined pattern. A more advanced obfuscation would be... | 2 | 6 | 717 | 2012-10-22T13:43:02.077 | api_errors | softwareengineering.stackexchange.com | |
159,717 | How to work around a 'Request timed out' response? | I am in India On ocassion I navigate to the portal of companies I'm affiliated to; these in the US, & Canada As of today afternoon, I'm unable to navigate to the portal of some companies ... albeit the website is deployed and can be navigated to from people at third-party locations (outside US, and outside India). Just... | Keep in mind that PING & Tracert do not use the same protocols that http does: ICMP vs TCP So, I could ping a webserver, and a firewall sitting in the middle of the connection disallows ICMP, but allows TCP Port 80 (Default http). -Josh | 1 | 1 | 11,020 | 2010-07-12T20:20:51.323 | api_errors | serverfault.com | |
896,918 | FreeRADIUS REST expansion | I am working on an integration between FreeRADIUS 3.0.15 and an API server in NodeJS, which will handle accounting, authorization and authentication. This is all documented (for instance, this repo is a very valuable starting point) and relatively straightforward. However, I also want to use the Dynamic Clients module,... | The JSON response format is documented in raddb/mods-available/rest . The link from the mailing list originally linked to an anchor which also displayed the same JSON response format, but those get stale. Yes, you can return multiple attributes, with different lists, operators and values, but the rest string expansion ... | 0 | 0 | 3,866 | 2018-02-12T17:17:08.970 | api_errors | serverfault.com | |
1,108,406 | iSCSI Discovery Issue | I have an issue with iSCSI discovery. Just some background, I'm using Openstack Cinder and part of Cinder requires the use of iSCSI for networked drives. Cinder is unable to get the list of nodes anymore for some reason, and after tracing, it seems to be due to the inability of my Openstack controller to get the list o... | The issue that I had was due to a kernel update that broke something at the lower level. Wireshark dumps of the working connection via 1234, and 3260 showed that the 3-way TCP handshake mentioned here https://elatov.github.io/2012/06/iscsi-login-packet-capture/ was not established when communicating via 3260. Downgradi... | 2 | 2 | 796 | 2022-08-17T15:28:42.517 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.