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,016,945 | Unable to move files to archive storage in Azure Storage Account | I'm struggling to move some files/folders from the cool tier in a container into archive storage. I've a load of machine backups that I want to get migrated over. I've got the files in a container that's set to private and I know I need to select each of the files individually and change the properties to archive. The ... | Good shout from @henrik above. Not available in the region yet! | 0 | 0 | 424 | 2020-05-13T12:22:12.623 | hadoop_errors | serverfault.com | |
124,723 | RAID FS detection at boot time | An excerpt from dmesg : [CODE] Is it OK that kernel tries to mount an ext4 raid as ext3, ext2 first? Is there a way to tell it to skip those two steps? [CODE] TIA. | Yes, it's perfectly normal that the kernel probes the filesystem for the correct driver to use to mount the file system. I've had a Linux box before probe for XFS, JFS, and a few others before it got to loading the ext4 driver up. The only harm was the error messages in dmesg. | 0 | 1 | 887 | 2010-03-21T14:52:57.070 | infrastructure | serverfault.com | |
882,388 | Reverse DNS issue with Mailserver (Postfix) | My mail server is set to server.mailtuner.com, but when i try sending to a hotmail user, it goes into the spam folder. Results on mailtester show the following reverse DNS issue: https://www.mail-tester.com/web-1bcbe&refresh=3 [CODE] I am using a linode VPS server if anyone is familiar with it and could help. | Go to your Linode control panel, open the 'node in question, go to the "Remote Access" tab, and at the top next to the first part of the "Public IPs" area with the IP/gateway info where the "ssh root@your.ip" text is there is a link that says "Reverse DNS". Click that, change the value to match your [CODE] , save it. W... | 0 | 2 | 375 | 2017-11-08T01:59:07.347 | infrastructure | serverfault.com | |
358,107 | The Open/Closed Principle, how does it work for adding entities? | I'm not even sure how to ask this, but here goes: Let's say I have a Web application that incorporates Teachers, Courses and Students in such a way that I can do things like this (pseudocode): [CODE] There are a lot of ways to handle this, but my question is about change. Let's say that once we have the Teacher/Course/... | It's not your changes that told the open/closed principle to go to hell. It was the design. OCP says it's a better design that allows change to come, not from rewriting code, but from adding new code. Apart from creating StudyGroup and StudyGroupQuery, you're going to have to add getStudyGroups() to Student and Course ... | 1 | 4 | 606 | 2017-09-26T20:04:20.910 | api_errors | softwareengineering.stackexchange.com | |
979,417 | How to access Arista switch login? | I have an Arista 7048T-A switch that needs to be set up. However I can't seem to access the login prompt for the switch. I'm using PuTTY over serial connection. What i mean by not being able to access the switch login is that when the CLI boots up I get prompted to log into localhost. After following the quick-start ma... | I think the text before the prompt is just whatever the device host name is, in a lot of switch documentation they choose the host name 'switch'. So I wouldn't worry too much that yours (I'm guessing) says localhost> and the documentation says switch> The varying degrees of access are denoted by the prompt character or... | 0 | 1 | 3,600 | 2019-08-15T15:07:02.723 | infrastructure | serverfault.com | |
279,036 | open terminal via ssh run firefox -> display not found | I want to run selenium tests on a Hudson slave. The slave (i.e. the machine) that will execute the selenium is a Ubuntu 10.04. Thus it has Gnome. Selenium needs a firefox to run. What Hudson does now is, it creates a ssh connection to the Ubuntu machine and launches selenium there. Selenium tries to start a firefox. An... | Make sure that the remote machine has ssh X11 forwarding enabled: [CODE] Use [CODE] to connect to remote machine. If on remote machine you are using a different user to start the X client, use [CODE] to get the current credentials in the ssh user, then use [CODE] to add the credentials to the user you are becoming with... | 3 | 2 | 18,894 | 2011-06-10T06:46:44.343 | infrastructure | serverfault.com | |
55,298 | SQL Server 2012 Publisher SQL Server 2008 Subscriber version issue | So I have a setup where one virtual machine is a SQL Server 2012 publisher and I need to setup merge replication on a SQL Server 2008 subscriber on a different vm. When setting up the subscription at the subscriber, during the wizard step where to add the SQL Server subscriber, I get that error : For merge publications... | It seems That this Problem is due to the SSMS versions. What you could do is create the subscription by right clicking on the Publication. I assume you are using SQL 2012 as Distributor/Publisher & 2008 as Subscriber. | 5 | 1 | 1,865 | 2013-12-19T10:53:22.763 | database_errors | dba.stackexchange.com | |
1,020,735 | How do you build an MSIX package from the command line | My end goal is to be able to run a Powershell install script in a VM and capture all the changes it makes into a MSIX package. I can do this manually without issue using the MSIX Packaging Tool wizard, but I have a lot of apps to package and some of them update frequently, so I would like to get something automated goi... | I have been working on this for more than a day, and of course as soon as I post online I discovered what was going wrong. The main issue was MsixPackagingTool.exe doesn't seem to work when I let it prompt for elevation as opposed to explicitly running it from an administrative PowerShell window. Additionally I had som... | 0 | 1 | 1,561 | 2020-06-09T18:55:25.743 | infrastructure | serverfault.com | |
256,160 | Giving user access to specific directories | I've got a new MythTV box at home and figured it would be a great opportunity to use it to do daily mirrors of my mysqlbackup directory (let's say /mysqlbackup/backups) and my website at /usr/local/apache/htdocs and below. I figured it would be a best practice NOT to use a root login but to create a user (say dhebackup... | Ubuntu file permissions indicate permission for owner, then same group, then everyone else. So [CODE] means the owner can do all, group can read or execute, others can't access A user can belong to one or more groups and can change group with chgrp So what you want to do is put a new user into the groups that the file ... | 0 | 1 | 110 | 2011-04-06T02:08:23.983 | database_errors | serverfault.com | |
48,621 | Column With Many Missing Values (36%) | Hello this is my first machine learning project, I got a dataset with 18.000 rows and I have a column with 4244 values missing. I don't know why the values are missing since when it's appropriate there's a 0 value in it. The dtype of the column is int64 I consider this column usable and would like to implement it to th... | I don't know why the values are missing since when it's appropriate there's a 0 value in it. The first step is to check with some SME (Subject Matter Expert) or the Data Custodian. I can't tell you how many times I've built a model/started analysis just to figure out that the data was wrong. Try to figure out the reaso... | 1 | 2 | 895 | 2019-04-04T15:47:22.933 | data_quality | datascience.stackexchange.com | |
305,444 | Nagios host dependencies not triggering checks of master hosts, or suppressing notifications | I'm trying to model a network of servers, routers and switches with nagios so that I can minimise false alarms/floods of emails. The topology is reasonably complex, with hosts having a single router as a parent, but connected via a switch on multiple VLANs (and therefore connected to several routers). I have arranged t... | You are confusing host dependencies with parent/child host relationships. Host dependencies have no influence on the reflection of your network topology. You should use parent/child relationships . | 1 | 0 | 695 | 2011-08-26T21:42:16.203 | infrastructure | serverfault.com | |
291,926 | MariaDB Galera Arbitrator failing to sync with SSL | So the scenario is this. I have already setup a 4 node MariaDB Galera cluster (10.5). I'm also adding on top a 5th Galera Arbitrator and everything syncs and connects just fine. However when I enable SSL on the cluster ( after bootstrapping it from scratch ) I'm able to sync the 4 nodes but the Arbitrator for some reas... | There is a flag [CODE] = yes that the options of [CODE] need which for some reason is not documented that needs to be enabled for the arb to try to connect via SSL. | 2 | 0 | 495 | 2021-05-20T11:28:44.563 | database_errors | dba.stackexchange.com | |
1,081,755 | Maximum number of iscsi connections | Is there a way to increase the maximum number of iscsi connections on windows to avoid this error? Connect-IscsiTarget : Exceeded max sessions for this initiator. | As said on the official page : the maximum iSCSI target instances per iSCSI Target Server is 256 :/ | 1 | 1 | 884 | 2021-10-26T14:29:12.230 | infrastructure | serverfault.com | |
839,893 | Cannot update LDAP admin password | I have the following python script to update LDAP password. [CODE] Which hits the second exception: [CODE] The user_dn entry is correct - exactly as it appears on the internal account management system. Am I getting this error because it's an admin password and needs to be handled differently? Any help would be greatly... | Obvious question: are you running this in the context of a user that has the rights to make changes to the account? Unless there's no security on your domain - this looks like an AD domain - you'll need to bind with a valid account, and that account will need to have the rights to modify the other one. Second: for a Wi... | 0 | 2 | 614 | 2017-03-22T13:03:29.900 | infrastructure | serverfault.com | |
312,581 | NT 4 inaccessible boot device | We have two NT4 SP6 machines that are identical. One of them went down and gives a bsod on boot with 'inaccessible boot device'. We assumed the hard drive went bad. So we attempted to take an image of it with Norton Ghost but it error-ed out way to much. So we ended up taking down the other NT4 machine to image it and ... | There's a procedure for recovering from this error and virtualizing the machine here | 2 | 2 | 1,288 | 2011-09-17T21:49:24.633 | infrastructure | serverfault.com | |
1,026,442 | OpenSSL - error in SSLv2/v3 read client hello A | Do you know how to resolve OpenSSL errors: ssl_engine_io.c(2079): - OpenSSL: I/O error, 11 bytes expected to read on BIO#55900da46090 [mem: 55900da4d700] ssl_engine_kernel.c(1809): OpenSSL: Exit: error in SSLv2/v3 read client hello A I have 2 websites using SSL/TLS hosted in the SAME Apache web server inside the SAME L... | Check your openssl package version on both servers, check if you have gnutls package on both (you're disabling SSL support in your apache config, you're probably missing the gnutls package). You can try to temporarily change configuration in your apache config to see if it resolves your errors (if it does, it's library... | 0 | 1 | 4,665 | 2020-07-23T15:17:30.320 | infrastructure | serverfault.com | |
1,086,203 | apache2 is directing to wrong path when using https for sub domains | I have an ssl wildcard cert (letsencrypt) for example.de & *.example.com. My 000-default.conf looks like: [CODE] default-ssl.conf: [CODE] dev.example.de & cloud.example.de has the wildcard ssl certificate and redicts both to the html directory?? enter image description here Same happend when I use this: enter image des... | Your DocumentRoot in the ssl virtualhost is pointing to that path [CODE] | 0 | 0 | 242 | 2021-12-13T17:10:17.750 | api_errors | serverfault.com | |
231,842 | What are the right questions to ask when deciding whether to use Chef or Puppet? | I am about to start a new project which will, in part, require deploying many identical nodes of approximately three different classes: Data nodes , which will run sharded instances of MongoDB. Application nodes , which will run instances of a Ruby on Rails application and an older ASP.NET MVC application. Processing n... | Both Puppet and Chef can do what you want just fine. Your best is going to be to start doing what you're trying to do and decide which tool you like the best. I think the big questions you have to have to ask is: Do you want a DSL? - Chef recipes are written in ruby, puppet has a DSL. Whether a DSL is good or a bad cho... | 16 | 12 | 2,156 | 2011-02-06T13:23:11.323 | database_errors | serverfault.com | |
40,205 | How do I disable tomcat caching? I'm having weird static file problems | How do I prevent tomcat from caching? I have css and basic html files that I load and use via ajax, and unless I restart tomcat, the changes do not seem to reflect. Different machines, different browsers, and I don't receive the updated files. Thoughts? | You might have to delete the application cache folder in [CODE] after changing the [CODE] flag. Configuration can be introduced in [CODE] as [CODE] | 28 | 21 | 141,725 | 2009-07-13T23:49:47.347 | infrastructure | serverfault.com | |
137,221 | Generically get all related records from SQL Server Database based off of Primary Key of one table | In Sql Server it is possible to visually see all relations a table has by creating a diagram of one table and right clicking and selecting 'Add Related Tables.' Is this also possible to do for one record of the table? For example, I have table A and B are related by foreign key ab and I have table B and C are connected... | If the tables have defined foreign keys, you could query the system tables themselves, especially [CODE] ( Documentation here ). Here's a good query to start with, written by Stack Overflow user littlesweetseas , from this post : [CODE] Keep in mind that bringing down data regularly could get more difficult, as you wil... | 3 | 4 | 3,041 | 2016-05-02T14:42:12.917 | database_errors | dba.stackexchange.com | |
72,501 | duplicate key violates unique constraint when using multi-threading | I am using ExecutorService with a fixed thread pool of 50, and a fixed database connection pool of 50, using HikariCP. Each worker thread processes a packet (a "report"), checks if it is valid (where each report must have a unique unit_id, time, latitude and longitude), grabs a db connection from the connection pool, a... | By creating a unique constraint on your table, you are telling the database "each time I try to insert a row in this table, please check that there is no existing row with this combination of columns the same. Oh, and make sure you do it in an atomic fashion so that if someone else tries to insert one at the same time ... | 5 | 4 | 20,272 | 2014-07-19T16:42:02.423 | data_quality | dba.stackexchange.com | |
801,448 | Volume full according to vgdisplay, but not df | I am trying to shrink a ubuntu 16.04 extended partition using gparted. gparted and vgdisplay both show say the partition is fully used. So I can't shrink the partition. df says 5% is used (the correct value). Here's the GParted screenshot. And here's the relevant command line output: [CODE] Note also that this is an ub... | I think it because [CODE] tells you the percentage of the filesystem you are using and [CODE] tells you the percentage of the volume group you are using. A volume group is composed of "hard disks" (it's a little bit more complex than that). A logical volume is like a partition on top of a volume group instead of direct... | 0 | 2 | 531 | 2016-09-07T00:18:21.610 | infrastructure | serverfault.com | |
439,304 | Windows Update Error 800B0001 in Windows7 | Update fails with error code 800B0001 after installing fresh instance of Windows 7 Ultimate 64bit. Note: the system is connected to WSUS. Is there a way to fix this? | Make sure that the WSUS server has KB2720211 installed. | 1 | 4 | 3,805 | 2012-10-17T11:22:46.220 | infrastructure | serverfault.com | |
361,966 | Amazon AWS instance to run MongoDB on? | What's the most optimized way to run MongoDB in AWS? I'm getting some slow disk i/o bench marks (which I understand is the norm on EC2). Is a large ec2 instance my best bet? is there anyway to get better disk reads? | MongoDB performs best if the entire database can fit in memory - so a high memory instance may be a consideration, especially if your application is read-heavy (good indexes will also help). MongoDB uses memory mapped files - so it is fairly efficient about what it stores in memory and what it writes to disk. Indexes a... | -1 | 7 | 885 | 2012-02-20T20:13:10.633 | database_errors | serverfault.com | |
235,298 | Can only access asp.net app on localhost | I'm trying to get an asp.net application up on IIS on a Windows Server 2008 machine. I can hit the app from localhost, no problem. But I can't access the app using the server's domain name either locally or from another machine on the network. But here's the odd part. I can access a normal file on IIS using the domain ... | I worked this out. Basically the app was redirecting to https, but only for remote connections, and IIS was not bound to 443. | 1 | 1 | 804 | 2011-02-14T14:26:50.833 | infrastructure | serverfault.com | |
176,178 | Many-to-many relationship with a one column ‘junction’ table? | Basically trying to get my head around how to enforce primary / foreign key constraints on what is essentially a many-to-many (M:N) relationship. Or if I should ignore them in this instance... The schema design below is based on the following. Shops sell fruit (item) The fruit for each shop can be retrieved from certai... | I would include the table you're calling [CODE] (though I might change the name to something like [CODE] or even [CODE] if that actually makes sense in context. A [CODE] represents a unique entity in your schema; it defines a set of inventory that is available to a set of stores. If you do not store it and enforce it a... | 0 | 1 | 579 | 2017-06-13T15:06:27.377 | data_quality | dba.stackexchange.com | |
484,633 | Would storing logical volumes on a ZFS storage benefit from caching? | What I'm planning to do is having a ZFS storage connected to my network. Attaching it with either iSCSI or SRP to the hypervisor server. And storing KVM images (logical volumes) on it. Would this setup benefit from ZFS's caching in the memory? | Yes, using ZFS storage as a backing for a virtual environment takes advantages of the filesystem's efficiencies. Design will matter quite a bit, as you'll want a proper dedicated ZIL write cache device to handle bursts of random write activity. The L2ARC caching will serve as a large SSD-based read-cache. But even with... | 2 | 5 | 262 | 2013-03-04T22:46:53.893 | infrastructure | serverfault.com | |
155,286 | What's the connection between an AWS EC2 AMI's private key and the ~/.ssh/authorized_keys? | I have an EC2 instance running with a keypair that I don't have access to the private key of. I am currently accessing the instance freely thanks to having the public key of my own custom keypair added to the ~/.ssh/authorized_keys on the instance. Now I would like to rebundle the running instance into a new AMI, and I... | The AWS private key is associated with your X.509 certficate; it isn't the same as an SSH private key. See this summary of AWS security credentials . The X.509 certificate is associated with your AWS account rather than with individual EC2 instances; if you start a new instance using your custom AMI, it will be associa... | 1 | 1 | 1,418 | 2010-06-27T17:52:34.313 | infrastructure | serverfault.com | |
357,472 | F5 Networks VPN | I have a Windows 2008 server which needs to establish a VPN connection to a company that is using a product from F5 Networks. They sent a VPN URL, username and password to me for establishing the connection. However, I need this to work from a server and can't have a constantly logged in user on the box. I believe the ... | Use the CLI Client, this works with Firepass, EDGE & BIGIP APM. http://devcentral.f5.com/wiki/FirePass.ClientCLI.ashx -md | 0 | 1 | 2,144 | 2012-02-07T02:33:45.233 | infrastructure | serverfault.com | |
261,077 | Set FORCESEEK for only one of hinted indexes | Is there a way to use a [CODE] with two indexes on the same table and set the [CODE] for only one of them? The following statement causes an error because the first index is columnstore: [CODE] | I think the answer to your question is no, at least I haven't found a way to do it. It would be interesting to know what you hope to accomplish with this set of hints, specifically as a query hint (rather than normal inline table hints). Here's a repro of your scenario: [CODE] db<>fiddle link That results in this error... | 1 | 3 | 1,595 | 2020-03-03T11:46:19.337 | warehouse_errors | dba.stackexchange.com | |
1,053,976 | Dig from a specific domain shows no answer but normal dig works | I am having an issue with a WHM installation that was done over a week ago. It seems all is good on the WHM side of things but I am having issues with my nameservers I have set up Whenever I try to change a domains nameservers over to mine it rejects it(ns1.iclixhosting.co.za, ns2.iclixhosting.co.za) I have called arou... | It look like the TCP port 53 is firewalled on NS2 [CODE] VS [CODE] could you please list open port on ns2 ? ( ss -ntpl for tcp open port on debian ) | 0 | 0 | 1,392 | 2021-02-17T13:41:25.527 | infrastructure | serverfault.com | |
804,088 | htaccess rewrite rule, root url to index.php fake directory to different .php file | I've struggled with exactly what to search to find the answer to this question so I thought I would ask it instead. I am building a small CMS script with PHP and want to prettify my urls. I have no issue with sending root level requests to my [CODE] as variables; for example [CODE] to [CODE] . However, without removing... | [CODE] work is the pseudo folder and work-single.php is the file which is getting the request of the variable | 0 | 0 | 1,683 | 2016-09-19T21:25:05.323 | infrastructure | serverfault.com | |
779,357 | How to properly refuse ssl connections to subdomains that don't have a certificate | I'm currently setting up a (semi-serious) server with nginx for the first time. I have a couple of domains and subdomains and want to use SSL as much as possible to keep the traffic to and from my site reasonably secure. A problem that I have run into lately is that I find myself unable to properly handle SSL-requests ... | I would disable the catch-all for invalid domains. That way, attempting to access [CODE] in a web browser would result in a less-scary “Server not found” error which the user would be more familiar with. In the case of Firefox, it helpfully suggests that the user, Check the address for typing errors such as ww.example.... | 2 | 0 | 745 | 2016-05-27T07:31:08.803 | api_errors | serverfault.com | |
637,032 | Automysqlbackup - dumped files have wrong permissions | This question has been askewd here. But it was not answered. I just got a 3rd server and on all 3 servers I use A utomysqlbackup script to create MySQL backups. I do it with cronjob: [CODE] Dumped and gzipped files of 2 first servers have permissions 644 and I can download them. The new 3rd server creates files with pe... | What you might be able to do in your case is to change your backup script so that the line: [CODE] appears near the top BEFORE any file is created. This will generate files with a default permissions of 755 or 644 (depending if it is a file or directory). However, this default can be overridden by any of the applicatio... | 0 | 2 | 1,188 | 2014-10-14T20:58:49.683 | database_errors | serverfault.com | |
1,120,580 | Adding Office 365 apps to an existing Azure AD Free | I have an Azure AD Free subscription that has users. I want these users to have Office 365 (Essentially Outlook). I want to manage this from my existing Azure if possible and I don't have an Office 365 account at this stage as I want to avoid costly merge problems if there is a standard way. All the resources online ar... | Basically, you need to buy Office 365 licenses and assign them to your Azure AD users. If you want actual services, such as Exchange Online, SharePoint Online and/or Teams, you'll also need to set them up. Depending on your environment, synchronization between Azure AD and on-premises Active Directory may or may not be... | 1 | 0 | 114 | 2023-01-18T23:33:48.463 | infrastructure | serverfault.com | |
83,532 | Is it ok to have 40+ columns in a table | I am currently re-designing some of DB's for a project. There is one DB in particular that is giving me a little of a headache. The idea is that for every client_id and date (client_id + date would be the Pri. Key) each column would contain the usage for each product that we offer (around 12 products, and for each one ... | Considering that MySQL is still a relation database management system an (RDBMS if you will), you should considering the following things: Your tables are defined by the data they contain and the relationships to other tables Your data should be as non-redundant as possible This last point leads to the process of norma... | 2 | 5 | 425 | 2014-11-25T00:23:40.613 | database_errors | dba.stackexchange.com | |
999,147 | Bind VNC over SSH jump host tunnel to something other than localhost port | I know how to use a jumphost to create an VNC SSH tunnel [CODE] however, that binds to the localhost of the initiating machine. So if I want to bind to many hosts at the same time through something like Royal TS, it becomes a problem when you get over 10 machines. Let's say I want to establish a VNC connection to 192.1... | Have a look at [CODE] ssh command line option or [CODE] ssh_config option. | 0 | 0 | 955 | 2020-01-15T23:42:17.263 | infrastructure | serverfault.com | |
178,166 | Should I implement BackBone.js into my ASP.NET WebForms applications? | Background I'm trying to improve my group's current web app development pattern. Our current pattern is something we came up with while trying to rich web apps on top of ASP.NET WebForms (none of us knew ASP.NET MVC). This is the current pattern: ! Our application is using the WinForms Framework. Our ASPX pages are ess... | It will depend largely on how you've architected and written your code, but it is possible to retrofit your application to allow for using Backbone.js (and no, I don't think it's necessarily a bastardization). What you'll need to do is translate your calls somewhere to something that your web services can understand. T... | 2 | 2 | 2,511 | 2012-12-03T16:45:18.330 | api_errors | softwareengineering.stackexchange.com | |
983,988 | Docker container failed to run with pacemaker resource agent | I have a 2 node cluster configured on [CODE] with latest [CODE] and [CODE] packages. I am currently trying to provide HA for couple of containers but after configuring [CODE] resource [CODE] all containers fail to run. I have tried with a simple [CODE] container without any other parameters except the ones required by ... | I found the solution after tinkering a bit around the [CODE] command. The issue was due to the way I provided values to the [CODE] argument. Had to encapsulate the answer within [CODE] to run it correctly. [CODE] | 0 | 1 | 1,375 | 2019-09-12T14:11:40.270 | pipeline_ops | serverfault.com | |
731,151 | Where should I install DHCP server | On enterprise or medium size company where is DHCP server installed? What is normal practice followed, in terms of DHCP server? Here, I have DHCP server installed on one of my core switch. Problem which i face is that my domain controller which is also a DNS server, don't update, if I select dynamic update with secure ... | My understanding is that it is common practice to have Windows do DHCP, since you get all that awesome AD integration (like DNS). That's what Microsoft expects you to do. In any case, I would run it on some kind of server. Why are you running DHCP from a switch? | 4 | 2 | 291 | 2015-10-23T10:57:26.940 | infrastructure | serverfault.com | |
871,064 | SQL Server slow in guest machine over time (virtualization with KVM on a Centos 7 Host) | We have a new server a HP DL360, 64GB RAM, 2x8 core CPU, SAS HDD Raid1 array and one SSD Raid1 array. The SSD Array is configured with 2 Samsung 850 Pro devices (not HP certified). We installed a Centos 7 OS as a Host OS and we have only one VM with Windows Server 2012 and SQL Server 2012 , with only one storage device... | This one was easy! Yet it took us 2 days to discover! Somebody installed the 32 bit MSSQL version. so it ran fine but in 10-15 minutes the performance degraded and it actually hang! Reinstalled the 64 bit MSSQL solution, everything ok now! | 1 | 0 | 1,011 | 2017-08-29T14:42:00.343 | database_errors | serverfault.com | |
900,587 | Azure Nested Hyper-V Child VM No Internet Access | I'm having problems getting the internet access working on a child vm inside hyper-v on my azure vm. I've created two NIC's on azure and assigned them both to the VM. From there I setup static IP's for both NIC's and create 3 public IP's assigned to NIC#2 (Reserved for VM traffic) Install Hyper-V, create my first child... | Here is the step-by-step guide on how to enable nested virtualization in Azure Virtual Machines. Double check your configuration with the guide. Hope it helps. https://docs.microsoft.com/en-us/azure/virtual-machines/windows/nested-virtualization | 2 | 3 | 3,679 | 2018-03-08T05:26:32.920 | infrastructure | serverfault.com | |
587,066 | Force OpenVPN Access Server clients through proxy? | I have an OpenVPN Access Server (v2.0.3) which I use to provide remote access to a dozen or so users, as well as a small site-to-site connection with a pfSense gateway. I am currently pushing a proxy config for the proxy server running on the same system as OpenVPN-AS (push "dhcp-option PROXY_HTTP 10.153.19.1 8080") to... | Just changing the destination of regular http requests so that they go to a plain http proxy will not work, the requests are not on the form that a regular proxy accepts. What you need is a transparent proxy (aka intercepting proxy) in addition to the rules needed to intercept the actual packets. The specific rules wil... | 0 | 0 | 3,917 | 2014-04-06T20:26:14.030 | infrastructure | serverfault.com | |
321,368 | Installing PostGIS SFCGAL 1.4 extension in the latest official PostGIS docker image (Debian bullseye based) | I do need to use the PostGIS SFCGAL extension in its latest version (i.e. [CODE] at the time of writing). This extension is based (and needs) the [CODE] system library. Because the official PostGIS docker image available at https://registry.hub.docker.com/r/postgis/postgis/ ( [CODE] ) is based on Debian 11 (bullseye), ... | Short answer One cannot simply install [CODE] because the PostGIS Docker image is currently building SFCGAL from Oslandia sources. Detailed answer In order to have PostGIS build with SFCGAL 1.4.1 support, one has to install [CODE] 5.5.1 from Debian testing (sid) in its Dockerfile. Indeed, the [CODE] version is [CODE] o... | 2 | 0 | 472 | 2022-12-23T11:31:53.227 | database_errors | dba.stackexchange.com | |
284,019 | Extended properties are not copied using SMO | I'm using the following code to copy a database from server to localhost using SMO. The code works well except the fact the extended properties are not copied. [CODE] | yes extended properties are a bit "special" to handle, fortunately Phil Factor has written a long article with helper functions which you can find here :- PhilFactorsArticle | 0 | 0 | 105 | 2021-01-26T15:13:05.813 | warehouse_errors | dba.stackexchange.com | |
56,663 | Difference between a log scale and linear scale : np.random.rand() | How and why will a linear [CODE] (to generate a linear scale between 0.0001 and 1) not result in better distributed result but [CODE] (log scale) will. I am just accepting the below explanation as it is, But I can't understand the reason behind it.(simple math, i believe, which i am missing. Kindly help with some examp... | Let us assume you want to do hyperparameteroptimization with a hyperparameter $h\in[0,1]$ . Let us additionally assume that we want to test hundred possible values for the parameter. If you choose a linear scale your parameter values will be uniformly selected form $[0,10^4]$ . It will be very unlikely that you will sm... | 0 | 1 | 251 | 2019-07-31T08:42:09.280 | data_quality | datascience.stackexchange.com | |
116,519 | What is the purpose of multiple users? | In setting up an apache web server on my linux box, I've been told to make a separate user who has permission to use (and whose home directory is) the files in the /www directory. Additionally, I've made a mySQL user. Both of these users have the nologin attribute. I have very little idea what I'm doing here, and I'm m... | In brief... Separate users does exactly that - it keeps things separate so that one user can't access or modify another user's files, depending on the permissions that user has set on their files. Many daemons (including Apache) run under a particular user account - for instance, Red Hat tends to use the 'apache' user,... | 2 | 7 | 906 | 2010-02-25T00:49:52.340 | database_errors | serverfault.com | |
218,113 | Percona system tables corrupted | I am having problems setting up mysql replication with a percona as server. accidentally, took a full dump from mysql and restored it on percona and then started,the replication. now when i stop slave and start slave, i am getting the error "[ERROR] Failed to open the relay log './s5-bin.000003' (relay_log_pos 2029993)... | The error "Can't create/write to file '/var/run/mysqld/mysqld.pid'" looks like a permissions problem. Please make sure that the directory /var/run/mysqld belongs to the user 'mysql'. | 0 | 2 | 202 | 2011-01-03T09:36:57.373 | data_quality | serverfault.com | |
246,138 | Source code modification and GPLv3 compatibility | Assume that the source file A contains the following license notice: "This code is Copyright 1234 by XYZ. It may be freely redistributed in its entirety provided that this copyright notice is not removed." Can I combine it with a project B published under the GPL version 3 license? In particular, does the lack of a per... | For a formal answer on the compatibility of the two licenses, you need to ask a copyright lawyer or the FSF . My, non-lawyer, take on it is that the two licenses are not compatible and that you can't use file A in a GPL project. The licenses are incompatible because the license on file A gives you fewer rights than the... | 2 | 1 | 132 | 2014-06-26T13:09:34.207 | database_errors | softwareengineering.stackexchange.com | |
2,124 | TSQL: Find Queries causing too many SQL Compilations and SQL ReCompilations seperately | I want to find out what is causing the high SQL Compilations (not re-compilations) I am seeing in performance monitor counters. Here is my take on it: If I am seeing a lot of SQl compilations, then it means that the queries on our system are not getting cached for following reasons: Many adhoc queries Running queries w... | I don't think you can find this by an easy way but it is possible anyway to get through this. Profiler offers many event class types that can be used in analyzing the performance of a query. Start a new Profiler session and check following events: [CODE] Check to Show all columns and select each one of the columns unde... | 8 | 7 | 5,449 | 2011-04-08T03:52:07.333 | database_errors | dba.stackexchange.com | |
1,061,537 | authenticate ASP.Net App on Azure WS2019 against Azure SQL via AAD - Access token could not be acquired No mapping between account names and securi | I try to reconfigure our ASP.Net app with .Net Framework 4.7.2 from SQL username/password Auth. to token based Azure Active Directory Authentication by using the system assigned managed identity of the VM running the Web Site. I started with https://docs.microsoft.com/en-us/azure/azure-sql/database/authentication-aad-c... | IIS, after several errors, not able to find the dlls, finally gave the error: This is most likely the issue here, IIS is unable to see those DLLs and is ignoring the connection string and reverting to use Integrated Authentication as per the error message. Also, the authentication to AAD doesn't happen using IIS, it ac... | 0 | 0 | 500 | 2021-04-26T05:38:26.103 | api_errors | serverfault.com | |
204,343 | Is abusing Application.UnhandledException for login redirection okay? | I'm programming a windows phone 7 app which needs authentication for news-like read access. I use Application.UnhandledException to handle (my) [CODE] , which can be thrown from any page, and navigate to a login page. To mimic a modal dialog, I do the following: I attach a [CODE] event handler to clear the back stack, ... | The guideline that you shouldn't use exceptions for flow control exists, in part, because exceptions can be orders of magnitude slower than a simple [CODE] statement. But you can handle an exception, especially a lone one, and that's exactly what you're doing here. Revel in the mosh pit. It's OK. | 0 | 2 | 166 | 2013-07-10T14:53:01.793 | api_errors | softwareengineering.stackexchange.com | |
560,324 | Apache2 Debian server falls. Out of memory | help me please with my apache problem. I got an droplet at DigitalOcean with 512mb of RAM (Debian). There are 3 sites on MODX CMS (works on php). Today morning as i think system discovered an out of memory problem and started to kill processes (There was about 43 of apache procesess). It killed mysqld and started kills... | Configure nginx + php-fmp static pool and you will be able to have mostly stable ram usage. If you use apache + php module, your max apache memory usage is MaxClients * average request ram usage. Count this and you will see, how much ram your setup are able to eat:) Alternatively you can limit MaxClients, but nginx + p... | 0 | 1 | 3,227 | 2013-12-10T11:21:38.723 | database_errors | serverfault.com | |
297,994 | What will happens if read from a node which just suffering a net partition in Galera sql? | Suppose this mode, I have 3 node with Galera sql, each node is a master. I call them A,B,C. If I have a transaction like update, what will happens if I execute the transaction at node A, but the node B is suffering a net partition from A and C just now, and A, C is not aware that B is failed since the detection mechani... | When B becomes inaccessible from A and C, A and C talk to each other and realize that they comprise more than 50% of the cluster, so they continue to accept writes. (I do not know whether the pending write you described will give up before the timeout.) Your code must check for errors after every [CODE] and restart the... | 0 | 0 | 65 | 2021-08-13T02:54:38.373 | warehouse_errors | dba.stackexchange.com | |
1,018,922 | Issue with disk space on VM instance | Our team has encountered an issue with one of our VM instance hosted in region Asia-East zone C. Problem we have encountered: The root partition of the VM instance becomes full. Rebooting the server decreases the disk usage back to 11-15 % utilization. We tried creating a new VM instance in the same zone but we experie... | Look at the sizes of directories in your root volume to see what is large. [CODE] is good at this, as you can navigate the tree from / to where the space is being used. Common files that can grow without bound include text log files and database journals. Rebooting getting space back often means files were deleted with... | 0 | 0 | 249 | 2020-05-27T15:00:34.100 | infrastructure | serverfault.com | |
984,195 | Authenticate with SSSD in multiple domains in Ubuntu 18.04 | I was able to successfully follow this document to get [CODE] to work with my Active Directory domain , but I was sad to learn that [CODE] does not support authenticating with external trusts. I read that you can actually join multiple domains with the assistance of [CODE] and [CODE] (?) so I tried to do so by copying ... | It turns out that I needed to use the UPN to login. After trying [CODE] with that, it works! | 0 | 0 | 1,769 | 2019-09-13T23:32:32.493 | infrastructure | serverfault.com | |
9,593 | SQL Server Deadlock Log Entries | We're analysing a deadlock situation on a SQL Server 2005 database and have set the trace flags 1204 and 1222. In the resulting logs we're seeing the following line repeatedly: "Log Viewer could not read information for this log entry. Cause: Data is Null. This method or property cannot be called on Null values." Can a... | Something wrong with the viewer (looks like the bug in SSMS), but you always can open ERRORLOG in any other viewer, such as notepad and get exactly the same info | 3 | 4 | 1,529 | 2011-12-22T12:33:52.050 | data_quality | dba.stackexchange.com | |
973,976 | Apache Header edit Location not working | I'm trying to edit the [CODE] header for responses but I can't get it to work - other headers are editable though [CODE] The [CODE] header is being set by a .htaccess file that I can't edit. At the moment I have the code in the main apache.conf but I could move it into a vhost if necessary. What can I do to make this w... | Can you live with the .htaccess being ignored completely? Then you could set the AccessFileName to something else. https://httpd.apache.org/docs/2.4/howto/htaccess.html I find it quite strange that you are the server admin but do not have the chance to edit the .htaccess though. | 0 | 1 | 1,813 | 2019-07-04T13:52:57.300 | infrastructure | serverfault.com | |
31,754 | Setting Windows ACLs to allow sub-subdirectory access | We're in the process of moving some directories from NetWare to Windows, and have run into a difference of permissioning. Because NetWare makes this easy, we have whole volumes where no users have any rights at the top of the volume, and the first, second, and third tiers of directories are where the rights are granted... | You're looking for "List Folder Contents" permission (which includes the "Traverse Folder" right) applied to folders w/o inheritance. In order for access-based enumeration to work, though, you can't inherit that permission down the hierarchy, so you have to get a bit crazy with it. At the root of the share, add the per... | 3 | 7 | 14,371 | 2009-06-25T17:50:50.890 | infrastructure | serverfault.com | |
456,915 | centos 6 debuginfo repository does not have httpd debug version available | I am trying to get the debug version of httpd so I can use it in conjunction with gdb. I am having a hard time getting them, and they don't seem to be in the standard epel-debuginfo repository. What should I do? [CODE] | It looks like debuginfo-install is only searching epel-debuginfo. httpd in not in EPEL. The httpd debuginfo is in a repo called ' debug '. Enable debug repo: [CODE] If that doesn't work use yum: [CODE] | 4 | 4 | 4,272 | 2012-12-11T01:52:44.897 | infrastructure | serverfault.com | |
318,628 | How do you expand a table where one column is a key and the other one is a json array of values into a record set of key/value columns? | Fiddle link: https://dbfiddle.uk/HlySSJ58 Tables and Types [CODE] Input data [CODE] Query [CODE] The problem At [CODE] CTE I need to transform this table: account_init_index login password email profile_inits 1 3ED4ECBBC9 E67EDDB6033D02140BB4 a@b null 2 C86D7E2CF0 75404617C000A0EB070C null [{"name":"C1B549E","descripti... | I accidentally stumbled upon the solution using a [CODE] : [CODE] I was a bit confused why it did exactly what I needed with no additional qualifiers. I assumed it would include account inits without profile inits too. But I guess [CODE] just completely ignores the [CODE] tables and [CODE] also swallows up [CODE] input... | 0 | 0 | 853 | 2022-10-24T09:58:28.940 | api_errors | dba.stackexchange.com | |
908,503 | URL rewriting and indexation by search engines | For a website, I want using URL rewriting to allow easy access to pages and better indexation. For instance, assume the page about Mozart is: [CODE] Instead of this, I would like that the visitors enter: [CODE] and reach the same page. I also want that robots from search engines index the "friendly" address and be unaw... | As the category names will never change over time, I assume that the first case --URL rewriting only without perceivable redirection-- is better in this situation as search engines would store and display the friendly url instead of the unfriendly one. Is this indeed the case? Yes. Concerning the internal links accross... | 1 | 1 | 40 | 2018-04-19T13:24:08.787 | data_quality | serverfault.com | |
389,620 | Failed Account Logon Events | We have a server running SQL 2008 R1. We have a web server in the DMZ that connects through the firewall to the SQL server and executes SQL Reporting Services reports using a domain user account. On the SQL server, the event log has been auditing failed "Account Logon" events (event ID 680, code 0xC0000064) for this do... | What is the value of the LmCompatibilityLevel registry value on the domain controller? Authentication of trusted users fails on a Windows Server 2003-based server if the UPN format is used and if the value of the LmCompatibilityLevel entry is equal to or larger than 3 http://support.microsoft.com/kb/947861 LmCompatibil... | 2 | 1 | 1,311 | 2012-05-16T12:33:15.693 | pipeline_ops | serverfault.com | |
270,434 | Multiple users using the same script for their websites | I'm working on a project, I have a question regarding the architecture: Say I have a many python scripts on my server and there's main.py which contains all the classes. And there's a script called [CODE] A user named alex signs up and the url of his site is stored in mariadb [CODE] checks if a user has signed up every... | It's not uncommon to do what you described. In fact, when you create a new database for your user, you basically creating a new file for that user. So, it just adding a file to the set of per user files. The choice of when to do the work begs explanation though. Doing the sign up process in batch periodically can creat... | 2 | 2 | 1,982 | 2015-01-17T22:52:31.553 | database_errors | softwareengineering.stackexchange.com | |
369,429 | .NET Core - Using Visual Studio And Keeping It Cross Platform | I've written a few things using .NET Core and like it a lot. So far, I have always used Visual Studio Code (which I think is very good and getting better all the time) and have enjoyed being able to pick up work on a Mac. I've been using Visual Studio less and less as I do more using .NET Core. However, last night, I a... | We use dotnet core a lot, and mixing VS Code / Rider and VS was not a problem. Most problematical are projects in a solution which cannot be understand by Rider or VS Code. E.g. docker-compose projects (.dcproj) are created by VS to enable docker support. Building them on linux do not work and can lead to errors - ther... | 2 | 4 | 370 | 2018-04-16T07:25:42.400 | api_errors | softwareengineering.stackexchange.com | |
990,083 | Running AWS Lambda in same VPC as DocumentDB or DynamoDB | We are currently running our AWS Lambda's in a VPC due to an earlier architectural decision. We are also using MongoDB Atlas and a peering connection setup between the VPC and Atlas. This obviously is causing longer cold starts with the need of setting up the ENI. I'm looking to cut this down by moving our database wit... | Here is the announcement you're after: Improved VPC networking for AWS Lambda functions That should speed up your Lambda cold starts significantly. In the announcement AWS claims that the change reduced their cold start "from 14.8 seconds to 933 ms" . Whether your Lambdas run in the same VPC as your MongoDB or not does... | 1 | 1 | 730 | 2019-10-31T07:50:17.567 | api_errors | serverfault.com | |
10,278 | Not able to click in Selenium Webdriver. Getting a NoSuchElementException | I got my code ready in Selenium IDE and exported it to Selenium Webdriver (JUnit 4). My code was working perfectly in Selenium IDE but an issue has arose after my migration to Selenium Webdriver. The issue is on a click! In Selenium IDE [CODE] In Selenium Webdriver [CODE] All the other clicks in Selenium Webdriver are ... | there will be 2 reasons : Maybe it is trying to click the button before page loads completely in this case you should use wait() Maybe that button is located in iFrame in this case u need to move to iFrame and then click on button | 1 | 0 | 1,313 | 2014-11-17T10:59:12.740 | data_quality | sqa.stackexchange.com | |
973,642 | PSQL : ERROR: could not extend file No space left on device HINT: Check free disk space | It's my first time working with a dedicated server of my own and i'm running into issue when trying to important a large ( 10gb , millions of rows ) postgresql backup file into a new table. Running ubuntu 18.04 LTS. I've installed postgresql with apt-get then logged in as root and created a database. I then ran [CODE] ... | So i've followed this tutorial to move the datadir to /home/postgresql/ and it's working. | 2 | 1 | 24,268 | 2019-07-02T07:00:17.613 | database_errors | serverfault.com | |
145,231 | Best way to script checking whether a machine is on the corporate network | I am writing a Powershell script to determine if a machine is on the corporate network. The machine may or may not be on the domain, so I want to check at "IP" level. Have written something to check by pinging a couple of servers on a couple of different subnets (to get around the risk of someone being on another (exte... | Look into WMI. The Win32_NetworkAdapterConfiguration class will tell you information about the host like what dns suffix it has and from which DHCP server it leased an ip address. | 1 | 3 | 181 | 2010-05-25T19:42:36.380 | infrastructure | serverfault.com | |
18,695 | How to automate UI testing of an app using a Google login | We are using a testing framework composed of robot-framework with ExtendedSelenium2Library that our developers are using to write acceptance tests. Our Web site has several auth options, including direct user/pass but also Google and Twitter OAuth. Devs can run these tests directly on their desktop, and they also get r... | We have found that dealing with third party software in CI/dev environments was a great source of intermittency/failure and pain. So in our CI environments, we always create stub services for third parties. A stub service is basically a fake API service that you control, that behaves the same (or similar) to how the re... | 6 | 7 | 5,787 | 2016-05-16T18:31:47.370 | database_errors | sqa.stackexchange.com | |
557,215 | How can I give an AWS IAM user permissions to manage his own security credentials? | Specifically, I want the user to be able to create/delete his own access keys ( [CODE] ) in the AWS console, but without giving them a full user list view in the IAM dashboard. The instructions listed in the AWS documentation here add [CODE] for all users to the policy, which is what I'd like to avoid. I tried using [C... | Is there a way to do what I aim for, or is the full user list a prerequisite to be able to change your own credentials in the console? I'm afraid the latter is the case, at least that has been my experience as well so far, see e.g. my related answer to IAM access to EC2 REST API? , where I explore 'IAM Credentials Self... | 4 | 4 | 3,035 | 2013-11-25T11:09:05.760 | bi_errors | serverfault.com | |
1,028,941 | DNS subdomain delegation for different servers, but same domain | could someone explain to me what i am doing wrong, or it is just impossible to do. Just for learning, and understading how subdomain delegation works. I have 1 domain eg.: server.com and 3 VPS servers , what i am trying to do is set custom name servers with subdomain.server.com to VPS servers like eg.: ns1.vps2.server.... | The problem is most likely not in the zone file on vps1, but in your zone file on vps2. Bind on vps2 will need to be configured with a zone file for [CODE] and have the appropriate block in [CODE] . The A records for [CODE] are merely glue records. | -2 | 0 | 253 | 2020-08-05T09:24:29.323 | infrastructure | serverfault.com | |
344,411 | Do I sacrifice shorter variable names for longer "columned" code? | I am an amateur programer in a CS class trying to learn proper programming skills. This is how my code looks, the edges of it extends to 103 columns. [CODE] Before I had those super long variable names I had thing like i, j, k, but my professor insists that we are not to use variables like that in the "professional wor... | Normally when I see code posted here like yours, I edit it, because we hate horizontal scroll. But since that's part of your question, I'll show you the edit here: [CODE] That break may be surprising, but it's more readable than the version with horizontal scroll, and it's better than shortening the names to [CODE] , [... | 17 | 24 | 1,677 | 2017-03-18T03:10:57.067 | api_errors | softwareengineering.stackexchange.com | |
793,624 | Client Denied By Server Configuration Appache Reverse Proxy | This is driving me stir crazy and I have researched across the Internet trying various answers none of which have worked. I am using Apache 2.2.9 for Windows and my httpd.conf is as follows: [CODE] | You are just giving access to a subdirectory, while the documentroot has no permissions. Also do not mix "absolute" Options "FollowSymlinks" with relative Options (-Indexes) you either, use +/- or not at all in all your options, but do not mix it. The correct configuration for the directory would be: [CODE] Try with th... | -1 | 0 | 6,260 | 2016-08-03T14:15:25.783 | infrastructure | serverfault.com | |
341,645 | Testing a mail server / server not making it to recipient | We have a Drupal website on a Linux server, it is using mail() to send mail through PHP. I think that would be using PHPmailer and sendmail. Domain is www.myclientdomain.com and we can receive email from the website all day long. To our email, to our Gmail, everything is great. However, they cannot receive any email fr... | When I have seen this happen, it is almost always because the mail is being delivered locally. Your Drupal web server hosting myclientdomain.com does not know that myclientdomain.com's email is being hosted externally. You should be able to quickly verify this by looking at the /var/log/maillog or mail.log or exim_main... | 3 | 4 | 461 | 2011-12-16T15:07:10.510 | infrastructure | serverfault.com | |
335,356 | Account lockout using Openldap | What is the best way to implement account lockout in openldap? I have an openldap server with Ubuntu desktop client connecting to it for authentication. I want he accounts to locked out after say 5 failed authentication attempts I have enabled ppolicy layout in slapd.conf. [CODE] I have also imported a policy as given ... | Use OpenLDAP Password Policy Overlay . It offers you many advanced password rules, one of them being Prevent password guessing by locking a password for a specified period of time after repeated authentication failures See the doc I linked for you and come back if you can't make it work. | 2 | 3 | 12,436 | 2011-11-28T08:26:05.507 | api_errors | serverfault.com | |
268,537 | Amazon EC2 asking me to move AMI, how to go about doing it? | Amazon is asking me to move to another AMI within 24 hours since the root password to the one I am one has gotten compromised (¿?). How do I go about moving to another instance? This setup was fairly specific, how do I make sure the next instance I use is compatible? Will I lose my current processes? (minor issue) Will... | Amazon will be satisfied when the AMI-number changes. You can do this the easy way: Shutdown your instance. Create an AMI from your instance (Instance Actions > Create Image). Create a new instance, based upon the newly created AMI. Destroy the previous instance if everything is working as it should be. Delete the AMI ... | 2 | 1 | 185 | 2011-05-11T12:22:27.640 | infrastructure | serverfault.com | |
778,408 | Custom file/folder permissions with S3FS? | I have setup an SFTP server using OpenSSH. The home directory for users is [CODE] . I'm mounting an S3 bucket at [CODE] using S3FS. The problem is that S3FS cascades user permissions down through it's directory structure, meaning: I can configure files at [CODE] to have these permissions [CODE] which allow SFTP users t... | Syntax: s3fs# fuse _netdev,allow_other,passwd_file=/home/ubuntu/.passwd-s3fs,use_cache=/tmp,umask=002,uid=1000 0 0 Example: s3fs#examples /home/ubuntu/s3bucket/examples fuse _netdev,allow_other,passwd_file=/home/ubuntu/.passwd-s3fs,use_cache=/tmp,umask=002,uid=1000 0 0 | 3 | 1 | 4,445 | 2016-05-23T05:00:51.690 | infrastructure | serverfault.com | |
742,063 | Single Kubernetes/OpenShift cluster/instance across datacenters? | As posted on SO (not sure which community is best suited?) With the understanding that Ubernetes is designed to fully solve this problem, is it currently possible (not necessarily recommended) to span a single K8/OpenShift cluster across multiple internal corporate datacententers? Additionally assuming that latency bet... | There are a fair number of people deploying like this. Keep latency low between etcd instances, spread machines across AZs, and plan for failure. You can isolate SDN even between regions if you wish - simply disallow traffic between those nodes and ensure the masters don't get tricked into bridging the traffic. If you'... | 2 | 5 | 489 | 2015-12-10T05:49:07.303 | pipeline_ops | serverfault.com | |
50,723 | Linux - Is there any way to identify the speed of your memory through software? | Is there any way to identify the speed of your memory through software? I am on Fedora 9 and looking to find out the speed of the DIMM's I have in there currently. I have tried a 'lshw' but it doesnt display the speed. I know the motherboard supports 3 different speeds, but I dont know whats in there and dont want to t... | dmidecode is the tool you're looking for. | 11 | 20 | 34,368 | 2009-08-06T02:08:17.573 | infrastructure | serverfault.com | |
1,068,486 | Can 2 websites www.example.com and www.example.eu reside on the same server | We have 2 websites and want to get a SSL-certificate for both: www.example.de www.otherExample.eu Both sites reside on the same server under different root with their own config-file. With certbot I got a certificate for each one of the sites: [CODE] www.example.de works fine but www.otherExample.eu throws SSL-NO-CIPHE... | I am aware of the fact that the handshake happens before the addressed site is known This is wrong. This is a long solved problem and the solution is that the client sends the request URL part (or at least the domain) BEFORE the protocol negotiation. This is in place since - no idea, many many years at least - because ... | 0 | 1 | 84 | 2021-07-02T12:58:46.263 | api_errors | serverfault.com | |
500,533 | LVM mirror with data and logs mirrored on same 2 devices | I'm trying to set LVM mirroring with only 2 devices. It works perfecly when I add third device for mirrorlog, or use corelog. But with only 2 devices and --alloc anywhere LVM nearly always creates both mirrors on one device. Situation : 2 x 50GB devices /dev/xvdf and /dev/xvdg I need 1 x 40GB partition on /dev/xvdf tha... | Use a partition editor such as [CODE] , [CODE] or [CODE] to create partitions: [CODE] and [CODE] etc. and put them into your [CODE] VG. In this example I use [CODE] etc. [CODE] | 0 | 0 | 4,647 | 2013-04-18T10:17:10.237 | infrastructure | serverfault.com | |
45,821 | MAE,MSE and MAPE aren't comparable? | I'm a newbie in data science. I'm working on a regression problem. I'm getting 2.5 MAPE. 400 MAE 437000 MSE. As my MAPE is quite low but why I'm getting high MSE and MAE? This is the link to my data [CODE] Selecting the target Variable which want to predict and for which we are finding feature imps [CODE] | I'll be honest, I haven't thoroughly checked your code. However, I can see that the range of values of your dataset is approx [0,12000] . As an engineer, I see that: sqrt(MSE) = sqrt(437000) = 661 units. MAE = 400 units. MAPE = 2.5 which means that MAE can be up to 0.025*12000= 250 units. All three cases show similar m... | 2 | 2 | 313 | 2019-02-19T15:26:12.343 | data_quality | datascience.stackexchange.com | |
812,511 | How to check postfix server using telnet | I have postfix email server on Ubuntu 11.04 version. I upgraded installed packages using the following command [CODE] Once I update those packages, I couldn't connect my email from my client machine. So I tested my postfix server using telnet. [CODE] I got the following result for the above command. [CODE] I am very ne... | Google "check email server using telnet" no quotes Some of your output may vary but if you do not get any errors and you receive the email from the email server you can know that emial is flowing properly. Also im not 100% sure if this answers your qestion however this is the way the check your email server form comman... | 16 | 15 | 22,248 | 2016-11-01T13:47:39.130 | data_quality | serverfault.com | |
179,717 | Is restoring a mysql database backup faster at removing white space than running OPTIMIZE? | I have a myisam database running on MariaDB 10.x. I'm pretty sure it has a lot of whitespace that I'd like to trim down. I was planning to run [CODE] but a thought occurred to me: would it be faster/easier to just collect a backup and restore it? For example... 1) Run: [CODE] 2) Then run: [CODE] The white space wouldn'... | Both will achieve essentially the same thing. If your exact db version doesn't offer online OPTIMIZE then the dump and restore could be useful if you restore into a new table and then DROP the old one and RENAME the new one, allowing concurrent selects during the import. Regarding the speed, the dump and restore might ... | 0 | 1 | 290 | 2017-07-13T03:54:32.843 | database_errors | dba.stackexchange.com | |
283,182 | Zabbix MariaDB Copy item data to another item | My current DB: [CODE] There are some duplicated items in my Zabbix. I have the old item which has "history" and "trend" data, but it was disabled. The new item also has data and is enabled. I thought of copying old item history and trends to the new item but I'm not really sure how to do it safely. I created some test ... | After some digging, I managed to successfully copy history and trends from one item to another. The sort of syntax I used is this: History table: [CODE] Trends table: [CODE] The secret was with INSERT INTO and the SELECT clause that added the literal itemid. The actual was inserted into every new row. The result: [CODE... | 1 | 1 | 389 | 2021-01-13T21:38:17.383 | data_quality | dba.stackexchange.com | |
201,427 | Running 2 virtual hosts side by side interactively - no guests, just hosts | Are there any virtualisation products out there that let me run Windows XP and Linux side by side and interact with both of them at the same time without logging into them from another computer. i.e. something like ESXi but to be usable on the same box? You might be wondering why I want to do that. Well, I'm a develope... | As far as virtualization is concerned what you are looking for a Type 1 Client Hypervisor and even though I understand what you mean about running two hosts "side by side" that isn't how these things work. Either you have a Hypervisor that takes control of the hardware and it boots VM's or you have hardware that can ac... | 1 | 0 | 181 | 2010-11-13T08:12:07.767 | infrastructure | serverfault.com | |
229,673 | Is "SET IDENTITY_INSERT" required to insert arbitrary GUID into [uniqueidentifier] column? | SQL Server 2016 and 2017, Standard Edition I need to insert raw data (from another table) into a table that has two [CODE] columns. Does this require that I use [CODE] ? Here is the table: [CODE] Will the following work without the [CODE] option? (I think it should but the DBA here is very married to the [CODE] option.... | [CODE] is only used for columns with the [CODE] property . [CODE] is merely a data type. Your insert statement will work. | 2 | 8 | 2,249 | 2019-02-13T22:05:36.953 | database_errors | dba.stackexchange.com | |
145,656 | Dependent Transaction in separate Database-Connections | I am quite new to database and I am in the following situation. I have two tables defining a 1:n relation, let's say Company and Employee which I access in two separated database connections in postgres. I am now writing a new company and some of its employees to the respective tables, in two separate transactions. I t... | If you really need to split data in multiple databases, you will need a [CODE] [1] (A.K.A Two fase commit). Your process will be much simpler if you put all tables in the same database. If you want, you can map the tables of one database into the another using a FDW[2] like [CODE] [3]. FDW can map a remote table to a p... | 0 | 3 | 1,765 | 2016-08-02T16:09:25.703 | warehouse_errors | dba.stackexchange.com | |
251,495 | Xammp virtual host problem on Mac | I followed this tutorial on how to set up a virtual host: http://optionexplicit.wordpress.com/2009/10/15/xampp-virtual-hosts-on-a-mac/ Now, I have to admit i'm a newbie in these kind of things and i'd just like to make that server/site visible to everyone that access that web address, for instance zendapplication.dev. ... | Get MAMP here: http://www.mamp.info/de/index.html Works great. | 0 | 0 | 50 | 2011-03-24T18:31:03.087 | infrastructure | serverfault.com | |
693,772 | Static route to Single IP using SSL connection | I am trying to configure a static route to a single IP. My question is two fold: How do I specify a single IP using a subnet mask [CODE] (not a range of ip's) My pc is making an SSL connection to this ip. Can my router still look at the packet to see that the packets must be routed through my static route (Even though ... | I found that a slash notation mask of /32, implies one single host. Thanks [CODE] | 0 | 0 | 137 | 2015-05-22T07:46:05.807 | infrastructure | serverfault.com | |
129,493 | Making an HTML5 application for both Android and iOS | I was checking out a video tutorial on HTML5 using Dreamweaver to do Android and iOS apps (using Phonegap) and it clearly mentioned that you need a Mac to debug and simulate for iPhone, iPod, etc. Is there any way around this? I really want to develop apps for iOS and android (more iOS) using HTML5 but what I need to k... | In principle, an HTML5 application should behave the same on any device. But there are small (and some not so small) implementation differences across different architectures/platforms. The most important factor to consider is the touch gestures that the iPhone provides, that some Android phones don't and vice-versa. O... | 1 | 2 | 847 | 2012-01-11T01:39:28.183 | api_errors | softwareengineering.stackexchange.com | |
14,960 | Why is SQL Server 2008R2 using more memory than the "max server memory" setting? | Possible Duplicate: Microsoft SQL Server 2008 Memory I've explicitly set the Maximum Memory value in SQL server 2008R2 to 13,000 MB, however when I check task manager I see it is using 14,071,448 KB (13,741 MB) I'm concerned because the server crashed recently due to a low memory condition where SQL server had allocate... | For SQL Server 2008 R2, "max memory" is for buffer pool only (basically data cache) Other memory is used for other things. This is changed in SQL Server 2012 | 2 | 10 | 2,334 | 2012-03-14T00:28:22.953 | data_quality | dba.stackexchange.com | |
290,991 | Database scoped configuration applicable to Secondary | I saw some new database scoped configurations like MAXDOP and legacy cardinality for secondary options and have few questions or doubts i am not able to understand MAXDOP- How do i setup MAXDOP, say for primary OLTP it needs to be 8 but on readable secondary i want the value to be 4? This is to make sure after AG failo... | These settings are stored inside the database. When a secondary becomes a primary, it is no longer a secondary, and it will adapt the settings for the primary. Also, since this setting is stored inside the database and since a secondary is read only, you can only set these on one place: the one which currently is the p... | -2 | 4 | 59 | 2021-05-04T18:27:51.777 | database_errors | dba.stackexchange.com | |
1,128,211 | How to make an regex in Fail2ban with ip:port | First of all, English is not mu native language, so if I make a mistake don't shoot me. :) Here's my problem: when I use every thing works fine, as soon as there is a port number or a comma direct after the IP-address is involved, it never has a match. Here is a snippit from the logfile: [08/Apr/2023 17:48:27] SMTP Spa... | i was able to do that by below string Regex [CODE] My complete Regex [CODE] | 0 | 0 | 195 | 2023-04-08T16:29:12.177 | infrastructure | serverfault.com | |
1,121,330 | How to reverse proxy assets from another unsecured website? | I have this situation. Current VM where this nginx config is stored has a valid ssl certificate. Inside this VM is the main application [CODE] served in port 80. On another port 1234 another service is served [CODE] in a docker container. I managed to reverse proxy [CODE] like this [CODE] [CODE] can be accessed by http... | You need to set the root URL in your Laravel application, so that Laravel generates the correct URLs for the resources it refers to. https://stackoverflow.com/questions/35304448/laravel-change-base-url has information how to do it. | 0 | 1 | 653 | 2023-01-27T19:52:53.823 | api_errors | serverfault.com | |
912,927 | How to disable autoforwarding option in office 365? | Im struggling to disable [CODE] option of emails in [CODE] . I wish to remove highlighted autoforwarding option entirely. So i followed, https://blogs.technet.microsoft.com/exovoice/2017/12/07/disable-automatic-forwarding-in-office-365-and-exchange-server-to-prevent-information-leakage/ I logged into office 365 tenant ... | Finally I found out that tt is not something to do with old profiles vs new profiles . If a user is a globaladmin in office 365 his/her profile will not be applied above policy. May be its by design. not sure though. already project in techcommunity.microsoft.com , https://techcommunity.microsoft.com/t5/Office-365/Why-... | 2 | 1 | 1,454 | 2018-05-19T12:47:11.893 | infrastructure | serverfault.com | |
801,505 | Force www prefix using an SSL VirtualHost setup | Running Apache/2.4.7. I seem to be having some trouble forcing a [CODE] prefix for one of my SSL domains. The following patterns should redirect to: [CODE] [CODE] [CODE] [CODE] [CODE] [CODE] It's worth mentioning, I also want to preserve any URI that may have been requested, eg. [CODE] => [CODE] So here's the, relevant... | Jonah's snippet worked well, but I ended up utilising mod_macro to avoid repetitive code. [CODE] | 1 | 0 | 749 | 2016-09-07T08:43:56.290 | infrastructure | serverfault.com | |
346,906 | Effect of distance from server on page load speed | I measured the load speed of a static image file severed by nginx from my server (using pingdom service). The server should normally process this request within few seconds. My server is located in Dallas, TX. When I used pingdom Dallas server, it took 200ms to load the file. This includes DNS resolving, and data trans... | +1 to Chopper3, but I'd also like to explain something. Geographic distance has less to do with transfer than you would think. What does matter: Your ISP's peering Their ISP's peering The route between those peers traffic shaping Example 1: At my university, we get our internet through a state owned ISP. This ISP has i... | 4 | 7 | 2,244 | 2012-01-05T12:29:35.507 | infrastructure | serverfault.com | |
304,372 | How do I get /dev/random to work on an Ubuntu virtual machine? | Apparently, /dev/random is based on hardware interrupts or similar unpredictable aspects of physical hardware. Since virtual machines don't have physical hardware, running [CODE] within a virtual machine produces nothing. I'm using Ubuntu Server 11.04 as the host and guest, with libvirt/KVM. I need to set-up Kerberos i... | It should 'just work'. Even though the vm has no dedicated physical hardware, it still has access to several very good sources of randomness. For example, it can use the CPU's TSC to time its read from virtual disks, which will ultimately wind up timing physical disks to the billionth of a second. These timings depend ... | 21 | 10 | 20,538 | 2011-08-24T05:04:22.470 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.