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 |
|---|---|---|---|---|---|---|---|---|---|---|
12,790 | Successful ETL Automation: Libraries, Review papers, Use Cases | I'm curious if anyone can point to some successful extract, transform, load (ETL) automation libraries, papers, or use cases for somewhat inhomogenious data? I would be interested to see any existing libraries dealing with scalable ETL solutions. Ideally these would be capable of ingesting 1-5 petabytes of data contain... | I don't think you'll find anything that checks all of your requirements, but here are some things to look at: Automated ETL mapping: There is a tool called Karma started by a team at USC's Information Sciences Institute. It learns from your ETL mappings and helps automate future mappings. It's the only open source tool... | 2 | 1 | 307 | 2016-07-15T08:00:32.163 | data_quality | datascience.stackexchange.com | |
827,633 | Confused about rsync, port 873 and NAS | I am trying to set up a backup from my NAS (QNAP TS-469 Pro) to my PC running Ubuntu 16.10, using the "Backup Station" offered by the NAS. If I ssh to the NAS and run the following commands, the rsync works: [CODE] However, when setting up a backup from the GUI of the NAS (in a browser), I get the error Invalid port nu... | Rsync can work in two different modes: via SSH: Rsync connection (both for control and data transfer) inside an SSH tunnel (basically using pipes). Due to the ubiquity of SSH access, and its security, this is often the preferred approach. However, to be truly transparent and automated (with no password required), you h... | 1 | 2 | 26,235 | 2017-01-20T20:23:05.450 | database_errors | serverfault.com | |
1,097,266 | Interpreting LastLogon vs. LastLogonTimestamp | To get the time of last logon of an account in an Active Directory of a Windows domain im querying the LastLogon attribute on every Domain Controller and the LastLogonTimestamp on one domain controller. For the specific user account that im currently looking into there are LastLogon attributes with values >= 180d which... | LastLogonTimeStamp can be updated without an actual logon from the account, due to the Kerberos impersonation model. How LastLogonTimeStamp is Updated with Kerberos S4u2Self https://techcommunity.microsoft.com/t5/core-infrastructure-and-security/how-lastlogontimestamp-is-updated-with-kerberos-s4u2self/ba-p/257135 LastL... | 3 | 4 | 3,821 | 2022-03-29T07:16:55.663 | database_errors | serverfault.com | |
565,899 | Problems with Vhost on Ubuntu 12.04 + Apache2 | maybe somone can point me in the right direction with this. A Domain (kat.mydomain.de) pointed to a Ubuntu Server. We set up a new server and changed the Ip adress of the url to the new Server Ip. This seems to work (if I check this with trace). On the new Ubuntu 12.04 runs a Apache/2.2.22. Apache should now redirect t... | I needed to add [CODE] to get this working | 0 | 0 | 307 | 2014-01-08T16:24:11.470 | infrastructure | serverfault.com | |
632,478 | csf Integrated User Interface not working | I've installed CSF on ubuntu 14.04 using their official install guide . After disabling UFW with the following command: [CODE] then I have modified [CODE] with the following values: (comments removed to make question cleaner) [CODE] and restarted CSF with [CODE] However I cannot access CSF UI from browser no matter wha... | it really helps to write a question here to find answer :P while gathering info to write this question , when i was looking for csf log file to include in question i noticed that LFD has a separate log file here: [CODE] there i found this line: [CODE] even though i did installed it apparently [CODE] does not restart lf... | 3 | 3 | 6,036 | 2014-09-30T15:05:42.267 | infrastructure | serverfault.com | |
27,223 | What happens when you modify (reduce) a column's length? | Lets say I have two columns of type [CODE] (without precision, and scale) and [CODE] . I saw that these columns are way too large for my data, so I want to modify them to [CODE] and [CODE] . So If I run this SQL statement: [CODE] Will I be able to do that on nonempty column? If so, what If there is one value greater th... | The Oracle Administrators Guide says the following: Use the ALTER TABLE...MODIFY statement to modify an existing column definition. You can modify column data type, default value, column constraint, column expression (for virtual columns) and column encryption. You can increase the length of an existing column, or decr... | 11 | 13 | 67,890 | 2012-10-19T11:00:48.140 | data_quality | dba.stackexchange.com | |
959,680 | Apache2 RewriteRule does not work | I configured my apache2 like this before: [CODE] When I access [CODE] or [CODE] it does shows the contents of [CODE] . Then I installed another software and it requires to access [CODE] for the main webpage, and directories other than [CODE] shouldn't be exposed to the public. So I write this: [CODE] It works by access... | It looks like you have another RewriteRule somewhere in your config that is rewriting [CODE] to [CODE] . Since [CODE] doesn't match the regex you've written, it never gets applied. You will probably want to move this rewrite earlier in your config, before the one that adds the [CODE] . You may also want to add the [COD... | 0 | 0 | 1,017 | 2019-03-24T03:55:57.527 | api_errors | serverfault.com | |
282,300 | Postgres random text in JSONB column | Following is the query I'm using to scrub some fields in the JSONB column. I'm trying to radomize the first and last name so would like to use something like [CODE] as values. [CODE] I tried replacing [CODE] with [CODE] but I get an error "DETAIL: Token "md5" is invalid.". I also tried using [CODE] to concat but that d... | You have to use the md5 hash as a part of the string so you have to concat it [CODE] [CODE] db<>fiddle here still md5 is old and not very secure, so you should use a more secure version | 2 | 2 | 500 | 2020-12-29T16:35:30.090 | warehouse_errors | dba.stackexchange.com | |
634,546 | bind9 proper recursion setup | If I remove recursion then I can't resolve external domains but can still resolve domains that are on the DNS server. What is the proper way to setup recursion correctly so external domains can still be resolved without leaving the DNS server open? named.conf.options [CODE] I have also added in internal subnets to allo... | Filter who is able to query DNS recursively and who is not with ACLs. [CODE] Also, set up ingress( BCP 84 )/egress filtering in your gateway to avoid spoofed UDP packets to reach your network and generate unexpected traffic or poisoning. Blackhole untrusted parts of your local infrastructure. | 12 | 8 | 28,228 | 2014-10-08T20:13:01.133 | infrastructure | serverfault.com | |
73,393 | MAE estimation for k-fold cross-validation | I have code that estimates RMSE for k-fold cross-validation and I think it is correct (from book: Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, 2nd Edition by Aurélien Géron) [CODE] So what about MAE? Should I use (with [CODE] ): [CODE] or this (without [CODE] ): [CODE] Also for MAE estimation, it... | It’s an issue of units. Compare what you’re doing in RMSE and in MAE. RMSE is a way of getting MSE back to the original units, like how we take the square root of variance to get standard deviation. This makes more physical sense. Sure, we can make sense of square meters, but what about square dollars? When you do MAE,... | 1 | 1 | 608 | 2020-05-02T00:04:57.817 | data_quality | datascience.stackexchange.com | |
47,733 | How to avoid API tests duplicating Unit tests | How to deal with the overlap between unit tests for API endpoints (presumably written by the developers) and automated API tests (written by testers)? The authorship of the tests is of secondary importance. What I want to achieve is not to have duplicate tests. For example, if a dev writes a batch of unit tests for the... | The tests serve different purposes. Overlap is good. The 'overlap' of higher order tests (such as API) and Unit tests should be high. In fact 100% would be good. Unit tests mock and stub all dependencies. API tests do not. API tests may involve calling many units via the initial call. A unit test should test only one u... | 1 | 5 | 321 | 2021-07-01T11:17:05.433 | api_errors | sqa.stackexchange.com | |
461,564 | Copy entire filesystem in a folder where a raid-1 array is mounted | I am trying to migrate from a single disk drive system to a double disk drive software raid-1 system that already has a running system on it. Meaning that formatting and having a new installation of ubuntu using raid-1 is NOT an option. In this process I have to copy the contents from main disk (/dev/sda1) to mounted r... | Use the [CODE] command. It preserves everything that you would care about and you have specified everything that matters. Then after you are finished, boot from a live media (Ubuntu has live disks too) and do the [CODE] again. It will not take long, since rsync is smart enough to skip files that are already copied. Thi... | 2 | 1 | 756 | 2012-12-29T00:21:38.323 | infrastructure | serverfault.com | |
857,075 | DOS Set variable only available after execution | I have a very simple script that I want to take a value from a text document (single line, one value) and pass it to taskkill - it needs to be a one liner too so I have: [CODE] The issue is that the pidtokill variable is only updated AFTER the taskkill command has executed, e.g. if I run the command twice the taskkill ... | What you are witnessing is "just the way it works" ( see "Multiple commands on one line" section ). In a batch file the default behaviour is to read and expand variables one line at a time, if you use & to run multiple commands on a single line, then any variable changes will not be visible until execution moves to the... | 0 | 1 | 158 | 2017-06-21T15:14:42.840 | infrastructure | serverfault.com | |
199,681 | Creating Database Mail with T-SQL returns "principal name is not valid" | Configuring Database Mail is so long. So I want to create a script that automatically create it for me [CODE] But unfortunately SSMS returns me: [CODE] The error is obviously on line [CODE] but I don't understand what is wrong with that | Is the name you're using a user in the msdb database? [ @principal_name = ] 'principal_name' The name of the database user or role in the msdb database for the association. principal_name is sysname, with a default of NULL. Either principal_id or principal_name must be specified. A principal_name of 'public' makes this... | 0 | 1 | 1,546 | 2018-03-08T08:12:16.233 | warehouse_errors | dba.stackexchange.com | |
220,622 | Enabling 8021q on a nic | I'm trying to get a vlan interface on a bonded nic (Centos 5.5) and whilst the interface has been very happily created with vconfig I'm seeing no traffic on it at all. Running tcpdump and tshark on the underlying eth0 I see no sign at all of vlan tags in the traffic, and I'm wondering if there's somethign I'm missing o... | Turned out it was all correct at this level. lsmod output was normal, if confusing. | 0 | 0 | 1,269 | 2011-01-10T12:42:05.010 | infrastructure | serverfault.com | |
62,687 | customer segmentation with unbalanced data | I am trying to do a customer segmentation on my transactional data and I am struggling a little bit on the best approach. Since it is an unsupervised model I can throw it to any algorithm and get some clusters but I am more interested in the best approach to do it. My data has basically 3 different products. Each produ... | Split your data into zero and non-zero valued to get like 8 clusters. That is by far the best clustering you can find in your data because of the data . I doubt you can find much more than that. Have you tested if any of the "interesting" patterns you found with k-means are better than these? | 0 | 0 | 216 | 2019-11-05T01:56:08.683 | data_quality | datascience.stackexchange.com | |
372,819 | Can't send mail from server using sendmail/postfix; 'connecion timed out' | I can't send mail via my server. The mails get stuck in the mail qeueu. How can I fix this? [CODE] : [CODE] [CODE] : [CODE] | You have two options: Setup you email server to use the ISP SMTP server as relay host. Usually, they should allow you to send over port 25 to their email server only. Use an external email server running (like gmail). This server can be accessed on port other than 25. | -1 | 3 | 432 | 2012-03-23T17:31:01.300 | infrastructure | serverfault.com | |
10,003 | Is it dangerous to have duplicated entries in a table? | My table have many duplicated entries, is it dangerous if I don't fix this? My table is structured like this: [CODE] This is just an example, but that is the table I have. Look at the Music title. There's duplicate entries already. Sometimes the music_title will reach 10 duplicates So I plan to make a look up Music tab... | In this case, I would keep the single table and allow repeated song titles. Lookup tables are used for finite sets (artist, status, city etc). Moving song titles to a lookup table will result in a lookup table nearly as large as the main table. If anything, artist should be a separate lookup table because this will be ... | 2 | 6 | 107 | 2012-01-02T05:47:44.640 | data_quality | dba.stackexchange.com | |
849,729 | VmRSS used to only about 25%, yet oom-killer strikes | I have a dedicated MySQL server equipped with 128 GB RAM. MySQL recently gets killed by the oom-killer, although MySQL is configured to use 95 GB in the worst case. In my research I came across this: [CODE] I'm wondering, why is the VmHWM and VmRSS at only around 33 GB whereas on another server (also a slave to the sam... | Your problem is here: [CODE] You have enabled some huge page assignments and aren't using them. These hugepages have taken up a big slice of your memory. Disable this assignment. Run [CODE] Then check [CODE] and remove the assignment you have set. This should free up about 90GiB of memory you are wasting. | 0 | 2 | 1,103 | 2017-05-12T12:52:59.960 | database_errors | serverfault.com | |
144,095 | PhpMyAdmin (on ubuntu lamp): Login without a password is forbidden by configuration (see AllowNoPassword) | My mysql password = '' i try to login to PhpMyAdmin (on Ubuntu 10.04 lamp) and get error: Login without a password is forbidden by configuration (see AllowNoPassword) What should i do for enter to phpMyAdmin without set password? Thanks | You can turn on the option AllowNoPassword on file /etc/phpmyadmin/config.inc.php. Edit the file config.inc.php, search and uncomment this line: // $cfg['Servers'][$i]['AllowNoPassword'] = TRUE; Then you can access PhpMyAdmin without password. | 19 | 29 | 93,974 | 2010-05-21T13:29:42.607 | database_errors | serverfault.com | |
170,807 | LVM volume group not found (debian lenny) | Earlier I solved the problem with a kind help :) software RAID 1 on Debian - GRUB cursor blinking I can see the menu and can go into my XP again. However, I am getting error with Debian. This is what happen with after selecting Debian (from the screen, literally...) [CODE] Is this an indication that something goes wron... | I think I see what the problem is. It appears that your acm_root Volume Group sits on the second RAID array, which is having trouble starting due to this error: [CODE] To fix this, boot into rescue mode once again, and run the following (as suggested): [CODE] Then try booting again. Hope this helps. | 1 | 1 | 9,137 | 2010-08-16T01:08:26.403 | database_errors | serverfault.com | |
86,891 | Which definition of Likelihood function is correct? | In the online version of the Deep Learning book on chapter 5 the estimator for likelihood function is defined as: That is the product of individual probabilities. After taking the log it arrives at the log-likelihood funciton ( Eq.1 ): It then rescales the above by dividing it by m to obtain a version expressed as the ... | 1 - Equivalence between $\mathbb{E}_{x\sim \hat{p}_{data}}\log(p_{model}(x;\theta))$ and $\frac{1}{m}\sum_{i=1}^m \log(p_{model}(x;\theta))$ : Yes, as you mentioned in the question, the key issue here is to realize that the following expectation is with respect to the empirical distribution defined by the training data... | 3 | 3 | 111 | 2020-12-19T00:36:36.570 | data_quality | datascience.stackexchange.com | |
315,216 | xen 4.0 squeeze fails to start guests with: launch_vm: SETVCPUCONTEXT failed | As Chris Benninger says over at: http://www.benninger.ca/?p=58 lots and lots of people have the problem with Squeeze and xen4.0 telling them: [CODE] but nobody seems to know what the solution is. I don't know either, but at least here, a solution might get recorded. In my case, I can start one guest machine. An identic... | check http://wiki.debian.org/Xen "Configure Domain 0 Memory" /etc/default/grub GRUB_CMDLINE_XEN="dom0_mem=1024M" /etc/xen/xend-config.sxp (dom0-min-mem 1024) (enable-dom0-ballooning no) and no more "launch_vm: SETVCPUCONTEXT failed (rc=-1)" for me. | 0 | 2 | 486 | 2011-09-25T01:08:43.357 | infrastructure | serverfault.com | |
49,275 | MySQL looking up more rows than needed (indexing issue) | In our MySQL 5.5 database, we have following InnoDB table with 30M+ rows: [CODE] The combination participant_id + question_id + given_answer_id is unique. At the moment we have following keys : PRIMARY KEY (in this order) participant_id question_id given_answer_id INDEX KEY question_id For this table, we have two kinds... | Your indexes are fine for the two types of queries you mentioned. This query will be satisfied by traversing the clustered index on the primary key... [CODE] ...and this one is satisfied by the index on 'question_id': [CODE] The output of [CODE] is not telling you what you think it is telling you, because the value sho... | 1 | 3 | 2,095 | 2013-09-04T18:21:44.410 | database_errors | dba.stackexchange.com | |
68,694 | Working code and user needs | Programmers, like myself, often is too worried about if their code is really going to work, rather than how to communicate with the users. Scared of throwing an exception at the user, we test with different scenarios in different environment like development, staging and production. But when it comes to deliver a simpl... | I think you might be generalizing about what typical programmers do. Most programs I use and the ones our team creates have useful exception messages for users. To create useful messages, you have to put yourself in the user's shoes which can be difficult, but should be something you are doing whenever you are writing/... | -1 | 2 | 151 | 2011-04-15T19:24:03.323 | api_errors | softwareengineering.stackexchange.com | |
107,223 | How to change/adapt loss function while using "class" incremental learning | As a beginner on class incremental learning and trying to understand the general concept. In class incremental learning, we have a model that can make a classification between classes A, B, and C. By using data from another class D, we want to apply class incremental learning to obtain a model which can predict classes... | One straightforward way is hierarchical learning. Train model #1 that learns A, B, or C. Then train model #2 that incrementally learns D and not D (i.e., A, B, or C). At prediction, model #2 makes the first prediction. If model #2 predicts not D, model #1 then predicts A, B, or C. | 1 | 1 | 24 | 2022-01-19T11:42:04.470 | dbt_errors | datascience.stackexchange.com | |
975,524 | Talking to NRPE2 clients from an NRPE3 server | I'm standing up a new Nagios server, and I have run into a bit of a snag. Our existing server is running FreeBSD 11 w/ Nagios 4.3.4 and nrpe2. It can communicate w/ the nrpe2 daemons on our various servers (Ubuntu Xenial boxes, for the most part) as well as a few FreeBSD boxes running nrpe3. The new Nagios server, howe... | Have you tried using the [CODE] argument in your [CODE] command definition for these hosts? [CODE] I have separate [CODE] command defined for older hosts, in file (Nagios 4!) [CODE] : [CODE] | 1 | 1 | 415 | 2019-07-17T03:38:30.697 | infrastructure | serverfault.com | |
16,749 | How should a tester deal with a bug found in production? | In my previous project, I was working as a black-box/manual tester. My major responsibilities were performing function testing, executing regression suites, running smoke tests etc. I was testing a core banking application. There were other automation guys on the team, but I was the only manual QA. A new payment featur... | There will always be bugs that get past a tester and land in production. I have even had bugs that where in my face, we researched it, thought it was a fluke, because we couldn't reproduce it and then released the issue into production. The best thing you can do is learn from it and prevent the same in the future. I wr... | 17 | 18 | 18,280 | 2016-01-31T14:52:58.093 | data_quality | sqa.stackexchange.com | |
234,121 | DB Design: How to link a single column to a collection of entities | I have a db design question that I am sure has been quite extensively covered but I cannot find a good answer already. The problem is how to efficiently link a single school course to a collection of textbooks, a course may have 0 books and it may have 10. The problem here is that multiple courses can use the same text... | You are certainly getting close with your last thought. When you start to think about "a class could have at most ten textbooks," you're complicating the problem more than you need to. Instead of having multiple columns for the [CODE] table, stick with one for textbook and one for course. This is a many-to-many mapping... | 0 | 4 | 160 | 2014-03-29T02:21:04.540 | database_errors | softwareengineering.stackexchange.com | |
434,127 | Headless server with an mdraid array won't boot | I'm in a bit of a pickle. I have a headless server (Acer EasyStore) running Ubuntu 12.04.1, which, after an update, now refuses to boot. It has four disks, one of which holds the OS in a partition and the rest, along with the other three disks, is an mdraid array. I've inserted the OS disk in another computer (a VM) an... | In the end, I decided to answer "yes" to the prompt. It dropped me in an initramfs shell, I [CODE] ed it and it resumed booting. It turned out that the kernel I had upgraded was not working properly, but the array was fine, even after I had answered "yes" multiple times with failed boots, even getting to the user promp... | 0 | 1 | 610 | 2012-10-02T17:15:46.250 | infrastructure | serverfault.com | |
1,007,794 | Algo VPN strongSwan client "no issuer certificate found" | I set up an Algo VPN instance on AWS Lightsail using the official Ansible playbook. I can establish the VPN connection using Wireguard, however I cannot get it to work with strongSwan. I configured two different Ubuntu clients with according to these official instructions: https://github.com/trailofbits/algo/blob/maste... | This ultimately boils down to an incompatibility between how algo configures the CA certificate and strongswan. See https://github.com/trailofbits/algo/issues/1758 for a workaround. | 1 | 0 | 1,685 | 2020-03-21T12:38:43.703 | pipeline_ops | serverfault.com | |
997,121 | nginx using proxy_pass very slow | I had an existing website hosted on a server, but we migrated this to a GKE instance. I set up a simple nginx reverse proxy to use the new GKE do all the work, and the server just redirect as we do not have control over the DNS entry (it's a subdomain of the client's web site). Accessing the gke-hosted site through a G... | The issue was that [CODE] did not work, I copy-pasted the complete host name in both [CODE] and [CODE] , and now everythong works. I have no idea what happened before though | 1 | 0 | 2,970 | 2019-12-30T14:24:23.270 | infrastructure | serverfault.com | |
849,817 | Solutions to Classical Cluster Problems | This is a multi-step question, so bear with me. I am considering building a small (10 - 20 node) cluster. However, I want normal programs (not designed for clusters) to be able to take advantage of the extra processing speed. In the most ideal scenario, I would like to be able to run a single hypervisor over the whole ... | Is it possible to create such an environment in which all the computers boot off of a single disk (probably a NAS)? (I am aware of PXE, but as far as I can tell it does not provide persistent storage, it only hosts the OS.) Sure, a combination of PXE with NFS-mounted share for persistent storage. Is it possible to modi... | 0 | 2 | 63 | 2017-05-12T19:13:04.443 | infrastructure | serverfault.com | |
797,415 | squid3 access.log TCP_DENIED | In squid.conf we have some http_access deny ACL catching a lot of connection attempts, so filling the access.log with TCP_DENIED lines. It is normal behaviour, but too much verbose for us. Is it possible to avoid logging these ones ? best regards, Sala | The access_log directive in squid.conf defines where and how access.log data is to be logged. This directive can be followed with a list of ACLs which all must match for any given request to be logged to that output. http://www.squid-cache.org/Doc/config/access_log/ You can do it like this: acl dontLog http_status 403 ... | 1 | 2 | 5,281 | 2016-08-17T15:45:21.490 | infrastructure | serverfault.com | |
370,815 | Granularity of Exceptions | I've run into a debate between a few friends and I. They prefer general exceptions such as [CODE] and [CODE] with detail as fields of the exception, whereas I prefer making things more specific. For example, I might have a handful of exceptions like: [CODE] [CODE] [CODE] Each of these built based on the error code retu... | The main difference between having many different exception classes, and having only a few, with more detailed information in the error text (for example), is that many different exception classes allow the calling code to react differently to different kinds of errors, whilst having only a few classes makes it easier ... | 9 | 18 | 1,036 | 2018-05-12T05:26:24.370 | api_errors | softwareengineering.stackexchange.com | |
692,696 | disable logon to active directory with a blank password | I have set up Active Directory on a Windows Server 2012R2 instance. I have written a basic application which I use to authenticate to the AD. Basic authentication works, but I noticed that I am able to authenticate even with an empty password field . The application which I have written first binds using credentials of... | Use GPO to set a minimum password length for the domain and then flag everyone's password to be changed at next logon to ensure that the change happens immediately. Update your service accounts, etc, manually. | 0 | 2 | 1,868 | 2015-05-18T09:05:59.547 | api_errors | serverfault.com | |
56,197 | Python is reading my data with NANS and Infs, but they don't have any | I'm having an issue in Python where it says that the dataframe I have loaded through [CODE] cannot be scaled using [CODE] because of the presence of Inf values or values too big for [CODE] I checked in R (I am more comfortable with this language, but have to use Python for this project) and it shows that the dataframe ... | You should use [CODE] to find the values that are present in the feature and see which specific values might be an issue. | 2 | 0 | 108 | 2019-07-23T03:24:59.617 | data_quality | datascience.stackexchange.com | |
594,424 | subversion on apache - checkout failed: 405 Method Not Allowed | I try to setup subversion on an apache server. I followed this guide: [ http://wiki.centos.org/HowTos/Subversion][1] If I try to checkout afterwards with Tortoise SVN a project I get the following Error: [CODE] If I try to use the svn client on the linux server itself I get the follwing error: [CODE] My current configu... | I found the issue, the Location and SVNParentPath has been wrongly set. I followed the solution here [ http://www.wandisco.com/svnforum/threads/35525-Stuck-with-error-%E2%80%9C405-Method-Not-Allowed%E2%80%9D][1] the correct config on apache looks like this: [CODE] | 1 | 2 | 23,425 | 2014-05-11T20:37:32.993 | infrastructure | serverfault.com | |
57,707 | Check entry based on entry in another column | Still fairly new to databases and SQL, so bear with me. I'm trying to check whether or not data can be inserted depending on data in another column, [CODE] This probably isn't the way to go about it, but I want [CODE] to accept data if [CODE] is [CODE] , [CODE] if [CODE] is [CODE] , etc. How would I create those checks... | One way would be a check constraint, but this will not give meaningful error messages [CODE] It would probably be better to do a foreign key relationship or just have a single column for the number with a check constraint that checks that the number is of correct format for each payment type ps: dont store CreditCard n... | 3 | 1 | 164 | 2014-01-28T16:48:10.820 | data_quality | dba.stackexchange.com | |
124,039 | Tracing failed login attempts in Oracle | I have some users who are logging in with a wrong password and their accounts get locked. Now I need to find the source of the failed login attempt. The machine, username etc. Is it possible to find this? I did try [CODE] and also, [CODE] Both the above queries show up results but I'm not sure if the results are the on... | You are on the right way. Column RETURNCODE in DBA_AUDIT_TRAIL or RETURN_CODE in UNIFIED_AUDIT_TRAIL view. http://docs.oracle.com/database/121/REFRN/GUID-A9993FAC-12D3-4725-A37D-938CC32D74CC.htm#REFRN23023 This view is populated only in an Oracle Database where unified auditing is not enabled. When unified auditing is ... | 3 | 3 | 31,254 | 2015-12-18T08:06:14.150 | database_errors | dba.stackexchange.com | |
946,612 | Trouble enabling OTP for Opnsense logins | I'm trying to secure my firewall machine by enabling OPT for Opnsense. At a glance, it seems straight forward, see https://wiki.opnsense.org/manual/how-tos/two_factor.html . However, it doesn't seem to be working as intended, the authentication fails when the OTP token is included although it works fine using the built... | After a few hours looking at the source code and clever google'ing, I stumbled upon hard to find solution: Source: https://forum.opnsense.org/index.php?topic=9690.msg44232#msg44232 Step 6 is a bit unclear. You need to change the appropriate service (IPsec, Captive Portal, Web Proxy, OpenVPN or web GUI) to use the TOTP ... | 1 | 1 | 1,225 | 2018-12-26T00:24:46.097 | api_errors | serverfault.com | |
760,948 | Questions on Elastic Beanstalk application in VPC | I am trying to deploy a rails application on Amazon's Elastic Beanstalk. I am not very well-versed in network/server environments, so I picked up some knowledge along the way by reading documentations and researching whatever technologies are present in my stack, so bear with me if I make any mistakes. So here's what I... | Since RDS requires you to have two availability zones when deploying in a VPC, you need to make sure that beanstalk is able to get to both of them via Network ACLs as well as the permissions for the instance based security groups. Only your ELB and your NAT instance/NAT gateway need to be public subnets, everything els... | 3 | 1 | 915 | 2016-03-02T10:10:10.480 | database_errors | serverfault.com | |
1,110,857 | Puppet errors with cron resource | I have this in my manifest: [CODE] When [CODE] runs I get: [CODE] and, unsurprisingly, the crontab entry does not get made. I can't remember seeing error messages from puppet without the usual [CODE] prefix before. Suggestions as to what is wrong or how to diagnose the problem solicited. | The minute line ends with a semicolon (;) instead of a comma (,) or nothing, per YAML specifications. So I'm guessing Puppet thinks your minutes are '11;' (an invalid value) instead of '11'. | 0 | 0 | 142 | 2022-09-15T21:28:20.967 | pipeline_ops | serverfault.com | |
373,493 | Missing drive space in Server 2003 | I have two drives used for SQL backups which for the last week have been acting strange - the free space indicated by windows is far off from what windirstat, etc indicates. There should only be about 60 GB of drive space used and there is about 160. This would match the utilization if the two last backup files were st... | Try chkdsk - if the files didn't get deleted properly due to a crash, the space they used might not be marked as free. Are the two drives experiencing the same behavior, or is it just one where the numbers are weird? | 3 | 2 | 1,184 | 2012-03-26T15:10:30.927 | database_errors | serverfault.com | |
3,078 | SQL Server Backup Process Tuning | I am working for a small company that has 20 full time web sites. And another 20-30 micro sites. We are having issues with the sites freezing every day after the SQL Server Agent backup is running. When the back up service was stopped we see no issues. Is this something common? We are using SQL Server 2005 and the back... | CHeck to see if you are having the backups stored on the same physical location as your data and log files. If you are trying to write all activity to one disk, that is going to be a likely bottleneck. Also, if you are using a 3rd party tool (such as Litespeed) for backup compression, there is a chance you are consumin... | 6 | 4 | 680 | 2011-05-31T19:17:46.550 | database_errors | dba.stackexchange.com | |
841,632 | Tacacs+ with PAM two-factor Google authentication? | I'm working on a tacacs+ server for my campus network, and I have been wondering how I could set up a tacacs+ server to communicate to PAM running google's two-factor authentication. I've done quite a bit of googling, found some useful information, but I haven't found a clear 'road map' and a lot of steps seem fuzzy at... | Breaking this into two pieces, the pam directory is for your authentication for services: tac_plus. The tac_plus configuration file is for the the service: tacacs+ PAM Pam is your pluggable authentication, this is where you are going to configure user/password authentication with google auth, since google auth is very ... | 1 | 1 | 3,077 | 2017-03-30T19:35:31.867 | hadoop_errors | serverfault.com | |
295,656 | 2008r2 RRAS VPN issue due to poor domain naming. Any ideas? | We have a domain with 900+ clients and 250+ workstations that has the name of the domain the same as it's public domain name (we'll call it example.org). I'm trying to set up RRAS VPN, and it works beautifully as far as connecting goes. The problem rears it's ugly head when you want to do anything beyond connecting. I ... | You've got a mess there. I'll have to file this away as yet one more reason why an AD domain shouldn't use a public-facing Internet domain name. Block outgoing DNS requests from all machines except your internal DNS servers at the firewall. Demand that all VPN clients are configured not to use split tunneling. Their DN... | 1 | 0 | 528 | 2011-07-29T20:38:28.187 | data_quality | serverfault.com | |
1,374 | You are using a picture of a window well cover from my website with out my permission | I have not given you permission to use my photo. You have not mentioned where the picture came from. Please remove the photo from your website | The only image from a post I could find that appears to match one on this vendor's website is this one from this post : I used TinEye rather than Google to look for matching images. TinEye isn't as good, but it found 120 matches. So apparently the OP copied an image of the same type of window well cover rather than tak... | discussion | -8 | 3 | 186 | 2018-08-16T13:50:53.570 | other | diy.meta.stackexchange.com |
478,083 | MS SQL Server 2012 - Unable to access Instance on localhost | 5 days ago I was access able to access SQL Server on my localhost machine via SSMS perfectly, no errors logging in with credentials. Now I get this error: ================================================================================== A network-related or instance-specific error occurred while establishing a connect... | Thanks to squillman's answer, along with these few more steps I fixed my issue: Disabled all services besides SQL Server (MSSQLSERVER) Reboot your machine (most likely restarting SQL Server (MSSQLSERVER) service would have worked also) I was now able to log into SSMS, but was crashing when trying to right click the ins... | 2 | 1 | 12,506 | 2013-02-12T17:13:34.557 | database_errors | serverfault.com | |
644,760 | LXC container clone has no network and SSH stopped | I was having this networking problem with LXC containers (question and answer here: bridging LXC containers to host network with different IP range ) and if I have found a solution, I still have not found the reason of the problem: I started with a fresh install of Ubuntu 14.04 Server, and installed LXC The lxcbr0 brid... | did you try to stop the container first? i had this issue, too. stop the blue print container, clone it, change the ip, mac, directories, etc. then try to start the containers. note: do not use the lxc web panel as it is buggy and does not behave as wanted. | 0 | 0 | 563 | 2014-11-16T17:40:01.663 | pipeline_ops | serverfault.com | |
276,015 | Enums in java switch-statements and completeness | I feel like I should be able to find an answer to this, but it turns out to be harder to search than expected... so: In C#, when we do something like: [CODE] we get a "not all code paths return a value" error and need to add the default case, because enums are actually just numbers in disguise and we might be calling t... | Imagine what would happen if you decided that enum needed a new value, but that enum is being used in a thousand switch statements just like that one. Because Java forced them all to have a default case when they wrote those switches, then whatever logging statement or exception throw everyone chose to put there will p... | 4 | 8 | 10,202 | 2015-03-11T20:17:25.220 | api_errors | softwareengineering.stackexchange.com | |
1,041,463 | systemd[1]: Failed to start Advanced key-value store | A little rodeo with redis. The error issued by redis is pretty unspecific ... When doing [CODE] I got: [CODE] When doing [CODE] : [CODE] So how to resolve? | So I started searching for solutions covering the "systemd[1]: Failed to start Advanced key-value store" and "redis-server.service: Start request repeated too quickly." issue. None of the offered solutions seemed to help or make sense. However finding the true cause of the issue was quite easy by issuing [CODE] . This ... | 2 | 3 | 15,936 | 2020-11-05T21:22:31.327 | database_errors | serverfault.com | |
462,729 | Rolling Out Printer Drivers via GPO | Heres the scenario I am in. I am running Windows Server 2008 R2 with the print server role installed. I have installed the necessary printer drivers that I want to push out via GPO. I went to start, devices and printers and clicked add a printer and setup the networked printer (Konica Minolta). The printer is printing ... | You wouldn't need to replace printer driver just because you changed the print preferences. What you should be able to do is to deploy the printer via Group Policy Preferences using the Replace method/option. That should delete and recreate the printer on each client, updating the print preferences in the process. | 1 | 2 | 2,700 | 2013-01-03T20:09:54.550 | infrastructure | serverfault.com | |
310,874 | Check a record exists already and stop the loop in a recursive query | I'm working on a SQLite table saving class inherit information, I need to get all ascendant classes or descendant classes in the inherit chain. I use recursive query to get these two fields of all classes for the target class. DB table: Classes, with field uuid (class name as string) and parentClass (parent class name ... | You need to use UNION instead of UNION ALL to detect recursion loops. From sqlite docs : If a UNION operator connects the initial-select with the recursive-select, then only add rows to the queue if no identical row has been previously added to the queue. Repeated rows are discarded before being added to the queue even... | 1 | 1 | 544 | 2022-04-13T06:16:08.927 | warehouse_errors | dba.stackexchange.com | |
399,899 | Seeking appropriate design pattern(s) to describe most function-based mathematical problems | I have been looking for a good, general design pattern to implement simple mathematical structures where functions have the following properties: know which parameters they contain, parameters are "fixed" can be called with variable values as arguments are defined in terms of other functions, which have the same proper... | I think that you need some variation of the interpreter pattern . Your mathematical construct would be a aset of [CODE] : A function would be represented by a concrete [CODE] if it is self sufficient, and the values of the parameters would be defined in the context (normal case) or at construction of the object (if you... | -3 | 3 | 123 | 2019-10-20T10:09:29.597 | api_errors | softwareengineering.stackexchange.com | |
5,049 | Best practices for backup checking? | It is a common situation, when administrator makes system for automatic backuping and forgets it. Only after a system fails administrator notices, that backup system has broken before or backups are unrestorable because of some fault and he has no current backup to restore from... So what are best practices to avoid su... | Run fire drills ... every couple of months it is a good idea to say XYZ system is down ... then actually go through the motions of bringing it back online to a new VM etc etc. It keeps things honest and helps you catch mistakes. | 21 | 28 | 2,906 | 2009-05-05T22:29:20.320 | database_errors | serverfault.com | |
330,154 | How do shared hosting servers keep executing code from crossing accounts? | I am kind of curious, how does a hosting server support multiple users with php but keep each user away from the other code? The 'easy' solution i thought were file permissions. So every user can have www-data belong to their group and the server would have executing access but the users cant access the others file. Bu... | most of them use apache module mod_userdir : http://httpd.apache.org/docs/2.0/mod/mod_userdir.html | 0 | 0 | 60 | 2011-11-11T16:24:18.440 | infrastructure | serverfault.com | |
527,367 | AWS-EC2: Shared file system for high availability | I have a couple of ubuntu instances running on Amazon EC2 and would like to make them a bit more fault tolerant by running a duplicate instance in another region(generated from a snapshot) with load balancers -- or even a manual fail over with elastic ip. The problem is the specific data, as an example it does no good ... | As cyberx86 says, EBS volumes cannot be mounted on multiple EC2 instances (even in the same Availability Zone). The first answer should be to store your shared assets in Amazon S3 - that way, you can deploy your code via Capistrano/Mcollective/whatever directly to both your live and standby EC2 instances, and completel... | 0 | 3 | 4,028 | 2013-07-30T16:44:59.000 | database_errors | serverfault.com | |
669,785 | High load due to I/O wait in Ubuntu 12.04 on EC2 instance | I am using Ubuntu server 12.04 , having trouble finding cause of load, I have seen change in response time of server from past week after reading Linux Troubleshooting, Part I: High Load It seems like there is no issue with CPU and RAM, and this load may be related to I/O-bound load by using [CODE] command I got follow... | Tune your mysql service for avoid touching to disk and watch out in your postfix queue, you may have a lot of emails into an I/O sensitive queue (i.e. deferred, small itens with random read behavior). Your email system have been used as relay for spammers. Take a look at postfix documentation and restrict relay access ... | 9 | 2 | 6,734 | 2015-02-19T08:13:03.080 | infrastructure | serverfault.com | |
187,793 | MongoDB date mismatch | I have a .Net MVC app that, when submitted, captures the current DateTime in a jTable. The information in the jTable in populated from the MongoDB that the information hits when the app is submitted. The problem I am having, is that when I go to export the data, it is showing the date -1 information for the current-day... | Please note that your [CODE] field actually isn't a date field but a string field (you can see this by the type icon next to the value). It seems that in the export it gets converted to a simple string. I hope this helps! (Disclaimer: I work for the company who makes Studio 3T) | 0 | 2 | 110 | 2017-10-05T19:06:12.507 | database_errors | dba.stackexchange.com | |
171,448 | Setting a low max memory size for SQL 2012 Developer edition | I tried to limit the Max Memory size for a local instance of SQL 2012 Dev edition to 64 MB but two things happened: 1) the value reverted to 128 MB when I tried to save and 2) the server kind of died. It stopped responding and the service had to be restarted. Then it came back to life until I tried to set lower than 12... | If you take a look at [CODE] you will see that the minimum value for max server memory is 128 MB. [CODE] What will happen if you attempt to run [CODE] after setting the value smaller than that is that it will bump to the lowest possible value. At that point 128 MB may not be enough for SQL to function, and so it become... | -5 | 4 | 179 | 2017-04-19T20:20:01.073 | warehouse_errors | dba.stackexchange.com | |
490,168 | OSX terminal bash permission denied after GIT changed file permissions while cloning repo | I am a beginner at OSX/Unix command line. I have a GIT repository that was created on my OSX computer. Recently I cloned the repo and went to run a bash script within the repo via ./BashFile.sh. This is giving me a permission denied error. So i ran chmod 777 ./BashFile.sh. The next time I ran ./BashFile.sh it worked, e... | You cannot directly execute a file that does not have the execute permission bit set. Using [CODE] will allow you to (attempt to) execute a file that has any execute bit set at all, but if no execute bit is set, you will get "permission denied", no matter who you run as. You can check whether git thinks the file permis... | 0 | 0 | 1,749 | 2013-03-21T17:53:10.017 | infrastructure | serverfault.com | |
51,034 | Incremental MySQL restore using binlogs | I've tried to restore a MySQL database using incremental binlogs and mysqlbinlog tool but I received the following message: ERROR 1666 (HY000) at line 30: Cannot execute statement: impossible to write to binary log since statement is in row format and BINLOG_FORMAT = STATEMENT. BINLOG_FORMAT parameter in my database is... | [CODE] I believe you will find the server will tell you that it is configured for [CODE] since there's not another good reason why you'd get this error. The error message is referring to the server where you're trying to restore the files as currently configured, not the format the server may have been in when the log ... | 0 | 2 | 1,229 | 2013-10-04T14:19:19.990 | database_errors | dba.stackexchange.com | |
251,410 | Some timeout in query store but get all SP:Starting and SP:Completed in profiler | I have a report SP running. The user complaint report timeout sometimes. And I do get some canceled execution plan in my query store. But in my profiler tracing file, every SP:Starting has its SP:Completed. Am I missing any? or could you please give me some direction? Thanks, | If you capture queries when they finish with the [CODE] or [CODE] trace running, aborting a query will show up as a finished query. Lets say I run this query: [CODE] And kill it end it after 2 seconds of executing: It will still show up in my profiler trace. What will be different is the error column. On normal executi... | 2 | 1 | 430 | 2019-10-17T23:48:40.923 | database_errors | dba.stackexchange.com | |
503,482 | XenServer disk space maxed out but no idea why? | My XenServer 6.1 installation reports the following for the local SR: 3711.6 GB used of 3717 GB total (1491 GB allocated) There are no snapshots visible under the "snapshots" tab of each VM and the host has been rebooted but to no avail. The problem is we cannot create any new VMs because there is no disk space and I'm... | Are you using Snapshot-based backup software like PHD Virtual Backup, Alike or bash-scripts? Besides fast clones (as mentioned by Pascal), they can also fill up your storage repo. You can see all VHDs with [CODE] over XenServer CLI. If you see entries with "parent=VHD-xxxxxxxx-xxxx..." then you have VHDs with dependenc... | 1 | 1 | 17,117 | 2013-04-29T09:46:05.000 | database_errors | serverfault.com | |
634,426 | tomcat not able to start in jpda start mode | This is my catalina.sh [CODE] after starting ./catalina.sh jpda start I am getting [CODE] and i am not able to remote debug in eclipse But if i start normal tomcat is starting | You should either set the [CODE] switches in the JAVA_OPTS environment variable, or pass the [CODE] arguments to [CODE] , but not both. If you do both, it will try to load the agent twice and give you an error. Edit : Personally I prefer to use the JAVA_OPTS switches because they give more control (e.g. to set the port... | 1 | 4 | 10,979 | 2014-10-08T12:19:16.210 | infrastructure | serverfault.com | |
10,922 | Azure DevOps service connection: lifetime of service principal | I have a hard time understanding the lifetime of the service principal created in Azure AD when creating the service connection between Azure DevOps and Azure. I do it like this: I pick the Azure Resource Manager And then i choose the recommended Hereafter I fill in the blanks I now have a valid service connection and ... | I will try to elaborate a lite about those topics. When secret expires and you got error, you have to refresh connection. Go to Edit dialog for connection and save without any changes. Described here: Azure devops service connection expired and cannot edit/renew But I have already tested scenario when I delete all secr... | 6 | 4 | 2,218 | 2020-02-27T20:16:28.147 | pipeline_ops | devops.stackexchange.com | |
718,500 | WUFTP: sleeping: fcntl lock of pid file failed: Permission denied | Our main and largest FTP server, which uses wuftpd as FTP server software is facing constant drops of connection. It has been running for years now, all of suddenly, is presenting this problem. Searching the logs I found out this entry: "daemon:err|error ftpd[9306438]: sleeping: fcntl lock of pid file failed: Permissio... | After deep investigation, it was found my problem was a reflex of a memory shortage in the F5 LoadBalancers of our Brocade switches. This was not a problem in the OS, FTP, settings whatsoever. If you have a problem similar to mine, I suggest you to get your switches analyzed. | 0 | 0 | 240 | 2015-09-02T08:30:18.050 | infrastructure | serverfault.com | |
990,800 | Having a redis service linked to a specific application deployment revision | Say I have an application that has two deployments: An application deployment, with the actual application itself A Redis deployment, which is used by the application deployment for caching The Redis cache is exposed by a service called "redis". The application connects to the Redis service using the service hostname (... | Does Kubernetes facilitate a construction where a new revision of a Deployment gets its own Redis service Have you considered shipping your application in a Pod with two containers, one of which being your Redis? during the update process, two versions of the application are using the same Redis service Maybe look into... | 0 | 0 | 247 | 2019-11-06T10:25:22.007 | pipeline_ops | serverfault.com | |
254,268 | How to use index for simple time range join? | I have a large (~ 100 million rows) timeseries table [CODE] in Postgres 11.5 where the primary key is a field [CODE] of type [CODE] . This is a follow up of this question: Why does a CTE cause a full table scan? Initially I thought it was related to a CTE. But this query is slow, even without CTE. How can I make the fo... | Your last (fast) query has two identical [CODE] conditions, which Postgres is able to identify and fold to one . Hence the simpler plan with just a single index condition. It gets more expensive with multiple different conditions. But Postgres still keeps operating based on estimates for actual input values. Try with o... | 1 | 2 | 1,207 | 2019-11-27T17:01:38.000 | database_errors | dba.stackexchange.com | |
362,443 | Should I have entities that automatically persist? | In a MVVM application (Xamarin.Forms, FWIW) I have a viewmodel that stores settings explicitly [CODE] I am thinking about if it's a good idea to have settings store itself automatically via a decorator that is instantiated when [CODE] returns a [CODE] object [CODE] This would simplify the viewmodel and make saving the ... | I see no problem behind idea of having self-persisting settings. But I really don't like implementation. First thing, I would create [CODE] interface, with [CODE] property. Then, instead of [CODE] I would have [CODE] and bind to [CODE] . This way, you can have lazy-loading of your settings, instead of having to manuall... | 1 | 3 | 77 | 2017-12-15T11:33:16.523 | api_errors | softwareengineering.stackexchange.com | |
952,869 | Cannot identify the cause of high memory usage | My VPS is continously running out of memory, my apache server goes down and when I login to reboot, I get a "memory fault" error and have to reboot through my hosting company dashboard. However, before rebooting I'm able to look at the memory usage with [CODE] , and I see nothing suspicious. Mysqld sometimes peaking at... | I guess by the time you log in the process causing the problem is gone. Try logging in and using top to work out what is using memory when the system is working normally but has been up for a while. As @yoonix suggests, check your system log. To find this log google something like "(os name) system log location". Look ... | 1 | 2 | 333 | 2019-02-07T22:33:47.693 | bi_errors | serverfault.com | |
597,951 | How to best monitor/log problems on eth0? | I have manually configured an email server - very simple config and I have done no fancy networking. I simply opened up only the relevant ports via iptables. Once every 10-15 days however, eth0 simply disappears and all networking stops. The default logs give me no indications of what happens. When it happens, the only... | Just for future reference, I finally discovered what the problem was. This was actually due to a CentOS kernel due to timesync tx control register not set as expected. References: https://groups.google.com/forum/#!topic/springdale-users/bBqrE545sYo http://bugs.centos.org/view.php?id=6810 In the end this problem simply ... | 0 | 0 | 657 | 2014-05-22T23:29:52.497 | pipeline_ops | serverfault.com | |
411,814 | Cannot connect to domain error: The format of specified network name is invalid | I cannot connect clients to sbs2003 domain because of this error: The format of specified network name is invalid. Before that there is a prompt for a login and password, so the server is found. I can't also view the server resources via \ \ servername or \ \ ServerIP because it can not find the path. I can not add the... | Host names are not allowed underscores... Or is the underscore just for demonstration purposes? If not I am not entirely sure how you managed to set up your SBS domain with an underscore but be prepared to bin your SBS build and do it with a standard domain name. Also try choosing a meaningful domain name. | -1 | 0 | 3,907 | 2012-07-27T11:25:04.560 | infrastructure | serverfault.com | |
808,138 | Can't access NGINX on Virtualbox machine : connection refused | I've setup an ArchLinux box, on VirtualBox, where I installed and configured NGINX service to accept requests from anywhere. [CODE] I've also updated my UFW (and also tried disabled it) to allow from anywhere at WWW (80) and I've setup an host-only network bridge so I can access my box, from my Windows host, by static ... | Well.. after some time on trial and error, it seems that changing the network adapter and changing the IP range defined on that adapter did the trick. I don't know if that's how it's suppose to work but it did it. The major difference is that not all the virtualbox are in the same IP range.. My vagrant ones are, this f... | 1 | 1 | 2,574 | 2016-10-10T13:29:43.413 | api_errors | serverfault.com | |
687,050 | Postfix: How can I BCC myself on outgoing mails only if I'm not already in the recipients list? | To avoid setting up Bcc or sent mail locations manually on every email client I set up to access my mail server (Debian Wheezy + Postfix + Dovecot IMAP), I've configured my Postfix server to automatically BCC me every message I send out through it, by using a sender_bcc_map like this: [CODE] so every email I send out, ... | First, you will receive the two copies because the first is the one addressed to you, and the second is the bcc itself. In other words, it is working as intended. I think a better solution for you would be to create an oversight email box at a separate email address. That way all copies are forwarded once to the oversi... | 2 | 2 | 1,917 | 2015-05-01T20:05:01.833 | infrastructure | serverfault.com | |
629,133 | setting up postfix email forwarding on ec2 when using route 53 | I'm trying to make email forwards for my domain on EC2. I use route 53. I have added following two lines to /etc/postfix/main.cf [CODE] In the virtual file i have added [CODE] I then mapped the virtual file: [CODE] However, it is not working. Do I need to configure route 53 in some way to have the forwarding work? | If mail is not reaching your ec2 instance you need to: The dns configuration required is that you either have an A record for example.com pointing to your IP, or that example.com has an MX record pointing to an A record that points to your IP. In addition to that you need to open the appropriate ports in the firewall. ... | 0 | 0 | 987 | 2014-09-17T09:18:00.207 | infrastructure | serverfault.com | |
16,637 | SQL Server 2008 R2 - VLDB Backup Strategies | I have a 200GB database running on SQL Server 2008 R2 Enterprise Edition. I just recently partitioned it in order to archive 11 months of history, so it was pushing 400GB prior to archiving. Our company has 2 data centers in order to implment DR solutions. Most of the databases are at DC1 where there is tape backup inf... | Log shipping to the primary site then doing backups isn't going to work as you can't backup a database which is waiting for t-log backups. With SQL 2008 your only option would be to backup to local disk, have the storage array (I'm assuming that you have a storage array in both sites that can replicate data between the... | 1 | 2 | 1,164 | 2012-04-16T19:42:58.387 | database_errors | dba.stackexchange.com | |
293,779 | Does sp_recompile performance enhancement always link to parameter sniffing? | We have a production app which runs ok normally, but gave us very poor performance this week. As it was very urgent, I identified the problematic procedure and ran [CODE] against it (forgot to take the plan first). After running [CODE] , the system became fast again. For me, this indicates a parameter sniffing issue. H... | It's probably parameter sniffing , but the documentation for sp_recompile does note that performance can drop for other reasons as well: The queries used by stored procedures, or triggers, and user-defined functions are optimized only when they are compiled. As indexes or other changes that affect statistics are made t... | 0 | 0 | 215 | 2021-06-04T14:07:33.597 | warehouse_errors | dba.stackexchange.com | |
801,864 | svn checkout on nfs: Value too large for defined data type | I get error when I try to svn checkout on nfs mounted directory: svn: E000079: Can't read directory /mnt/nfsdir: Value too large for defined data type. Solaris 10 SVN 1.8.14 NFS server: QNAP TS 853 Pro | NFS client is not supporting the NFS server version completely or NFS server has bug or subversion has bug. I've encountered the problem on NFS 3. Solaris 10 NFS client had problem with linux NFS Server. ( linux nfs bug ) First check the NFS version that your NFS server can provide. [CODE] Then use a different version ... | 0 | 1 | 1,876 | 2016-09-08T13:53:50.430 | infrastructure | serverfault.com | |
20,779 | MySQL table design / architecture, table is too big | I have a MySQL DB that contains a lot of text, I'm fetching data from a website and inserting it into a table. I'm using a SSD HD (100GB) for the DB and I'm out of space, I think that something in the table structure made it too big, I can't predict the size of all the columns so I'm using varchar\text\medium text for ... | Well first there is no way that all of this should ever be in one table. You need related tables for information such as Assignee and Inventor. Please read about normalization. But in reality are you sure that mysql is the way to go for this since you seem mostly to want to search on data that is not always in the same... | 1 | 3 | 1,133 | 2012-07-12T13:58:01.213 | database_errors | dba.stackexchange.com | |
3,826 | When is it ethically acceptable to fork someone else github code and continue with that? | https://github.com/kamaln7/ansible-swapfile Seems not to be maintained. For example, an issue was created in May and no reaction. A new issue has just been created to ask whether this repo is still maintained. When is it allowed to fork someone else repo and to publish it to Ansible galaxy for example? | It is always ethically acceptable to fork any code on Github (or Sourceforge or wherever you got it from) and do whatever you want with it, within the terms allowed by its license! This is what open source and permissive licenses are all about. The original author wanted the world to contribute to this piece of softwar... | 6 | 13 | 689 | 2018-04-06T19:30:05.277 | pipeline_ops | devops.stackexchange.com | |
39,619 | Database user permissions: GRANT VIEW DEFINITION but DENY on some object types | I'm trying to figure out a combination of permissions that will allow a partner to see basic db schema but not expose objects including code. So, VIEW and SELECT on TABLES (including keys) Prevent/DENY on Views, Stored Procs, Functions. I've thought about going through and denying on individual objects, but this won't ... | You can create a role and then grant / revoke permissions to it. Any user that is a part of the role will inherit the permissions. Below is an example to get you started : [CODE] | 3 | 3 | 8,583 | 2013-04-10T09:02:55.657 | warehouse_errors | dba.stackexchange.com | |
1,000,303 | Nginx - Why Am I Getting a 403 Error on Centos 7 with Configs and Permissions Seemingly Set Correctly? | I'm trying to set up a basic web server using Nginx 1.16.1 on my Centos 7 server. I installed Nginx normally using yum, and the default page loads as it should in my browser. However, when I try to set up my own document root dir, I keep getting a 403 error even though I believe both my config (I just changed the serve... | Turns out it was an SELinux problem and the file had the wrong context. How to fix: If it's in the /var/www dir: $ sudo restorecon -R /var/www/test Or, if it's somewhere else $ sudo chcon -R -t httpd_sys_content_t DIRPATH | 1 | 2 | 1,304 | 2020-01-24T20:15:56.803 | api_errors | serverfault.com | |
542,426 | SVN+SSH On Ubuntu: Locking down security - Passwords | Good day, I have setup a server running Ubuntu 12.04 LTS. I have left the default SSH port as-is for now, and have set up a DynDNS.org account. From a machine, running linux, on a separate network, I am able to query my server via SVN+SSH: [CODE] So far so good: I am queried for the user's password, and an SSH private/... | In SSH, public key authentication and password authentication (or keyboard interactive authentication) are separate things. You can either use PAM, or passwords, or public keys (or any of the other available facilities like kerberos GSSAPI). Which one gets used is negotiated between the client and server based on capab... | 1 | 2 | 237 | 2013-09-29T02:28:58.797 | infrastructure | serverfault.com | |
187,074 | mod_rewrite "Request exceeded the limit of 10 internal redirects due to probable configuration error." | What i want: Force www [works] Restrict access to .inc.php [works] Force redirection of abc.php to /abc/ Removal of extension from url Add a trailing slash if needed old .htaccess : [CODE] New .htaccess: [CODE] errorlog: [CODE] Rewrite.log: http://pastebin.com/x5PKeJHB | This seems to be your initial problem: [CODE] You're trapping a '/' character. 119.154.34.231 - - [03/Oct/2010:16:17:06 +0000] [www.example.net/sid#7f3fa2d89670][rid#7f3fa3466b58/initial] (4) [perdir /var/www/example.net/public_html/] RewriteCond: input='/var/www/example.net/public_html/how-works.php' pattern='-f' => m... | -1 | 0 | 3,679 | 2010-10-03T12:22:33.307 | infrastructure | serverfault.com | |
102,945 | How should I handle measurement errors in a timeseries database? | I have a table used to record measurements sampled at regular intervals on different sensors. Each row records the time, the identifier of the quantity being measured, and the value itself. Now and again measurement errors occur and garbage is being recorded in the value field. How should I deal with these errors: Dele... | An excellent way of dealing with this kind of situation is to move the offending rows to a table named something like [CODE] , which contains the same column definitions as the main table. This prevents bad data from polluting statistical analysis of the good data saved in the main table, while retaining the rows that ... | 2 | 2 | 63 | 2015-06-01T13:38:56.697 | airflow_errors | dba.stackexchange.com | |
322,789 | OpenVPN on ec2 bridged mode connects but no Ping, DNS or forwarding | I am trying to use OpenVPN to access the internet over a secure connection. I have openVPN configured and running on Amazon EC2 in bridge mode with client certs. I can successfully connect from the client, but I cannot get access to the internet or ping anything from the client I checked the following and everything se... | I think, mistake is in bridge definition. Bridge must consist of eth0-device and tap0-device. For MY example it`s so: [CODE] Bridge-device has in IP 10.1.2.1 (from your example) and iptables (FORWARD-chain is default ACCEPT in your example): [CODE] So client with 10.1.2.201 will have MASQUERADE-action on OpenVPN server... | 0 | 0 | 1,338 | 2011-10-19T03:58:21.683 | infrastructure | serverfault.com | |
1,150,434 | www to non-www redirection not working on Nginx | I have the following config under my [CODE] . What I need is HTTP traffic to be redirected to HTTPS, and WWW to be redirected to non-www. But for some reason WWW to non-WWW redirection is not working. Cleared browser cache to test as well... [CODE] | What you have is a redirect from [CODE] to [CODE] . In addition you will need a redirect from [CODE] to [CODE] , with certificates to match. | 0 | 1 | 48 | 2023-12-26T21:55:44.840 | infrastructure | serverfault.com | |
189,328 | Error after applying SQL Server 2008 R2 Upgrade 10.50.6542 (Latest Build) | First the problem: Since I applied the latest patch to SQL Server 2008 R2 (released on March 3, 2016) that should have taken my server to build 10.50.6542 I can't connect anymore. This patch is to provide support TLS 1.2. The error I'm getting (when attempting to connect using a client tool directly in the server) is [... | Finally! after 3 days of trying everything under the sun I found the root cause of my problem. The aha! moment was when I got together with a group trying to understand why this patch was deploying just fine in other servers while not in this particular one. We noticed that something different (among other things... th... | 2 | 2 | 1,805 | 2017-10-25T20:50:13.457 | database_errors | dba.stackexchange.com | |
573,579 | Can't make Koji Work on A Centos6 server | I setup the koji build environment in a Centos6 Machine server as suggested by the documentation ( http://fedoraproject.org/wiki/Koji/ServerHowTo ). I could properly access the Koji Web using HTTP, yet I'm facing an SSL certificate trouble when switching to HTTPS: Client Browser error produced by Mozilla FireFox: [CODE... | The kojihub and kojiweb certificates must have their CN set to the fully qualified domain name of each respective server. This was in the documentation: Two of the certificates (kojihub and kojiweb) are used as server side certificates that authenticate the server to the client. For this reason, you want the common nam... | 2 | 0 | 600 | 2014-02-06T08:24:48.993 | api_errors | serverfault.com | |
334,754 | What programming techniques are there to find the combination of inputs that produces the best result? | I am working with a big set of data right now and I wrote a program that calculates a result based on some inputs. I have 10 inputs, each of them has about 20 different possible values. I am not sure what technique to use to find the combination of these inputs that will produce the biggest result. Here is a made up ex... | This is of little concrete help, but maybe some encouragement. You've already calculated that you can't afford to check all [CODE] value combinations. That's okay. It means that you may have to live with an approximated solution, but in most real problems approximate solutions are not so bad compared to the theoretical... | 2 | 2 | 249 | 2016-10-27T11:03:48.127 | api_errors | softwareengineering.stackexchange.com | |
1,135,572 | How to setup 410 permanently deleted on nginx | How do I setup 410 permanently deleted on nginx for a specific URL for e.g. [CODE] Or better yet how can I do it for a specific prefix for e.g. [CODE] Here I want to 410 all URLs that are [CODE] for e.g. [CODE] , [CODE] etc. Here's my current conf setup. [CODE] | Use a [CODE] statement to generate the required status response. A [CODE] statement with the [CODE] operator is probably best as it cannot be overridden by other regular expression locations. For example: [CODE] | 0 | 4 | 292 | 2023-07-04T01:23:52.607 | infrastructure | serverfault.com | |
381,675 | Why does the Square–Rectangle problem violate SOLID principles? | My previous question was just with class diagram and because of some comments I thought I try to find an example with a little piece of code for the diagram to see if principles correct understood? [CODE] I think first problem is that Liskov Substitution Principle is hurt because square extends rectangle so there is no... | There is no problem with the Single Responsibility Principle. The SRP doesn't say that the class shall do only one thing. It says that it should have only one reason to change . Some will argue that this implies that it should have only one single purpose. So for a shape, setting the dimensions and calculating a couple... | 2 | 4 | 2,488 | 2018-11-18T15:01:09.807 | api_errors | softwareengineering.stackexchange.com | |
325,856 | vsFTPd on Amazon Linux EC2 instance | Can anyone offer any suggestions. I have an Amazon EC2 instance running, based on the 64-bit Amazon Linux AMI. I've installed all updates using yum, and have installed PHP5.3 and the vsFTPd service. I've created a new user group, and a new user, given a password to the user and made the html folder for web php files ow... | SETUP vsFTPD SERVER IN AMAZON LINUX VIA SFTP Update the "yum" repository sudo yum update -y Install vsFTPD Server from yum repository sudo yum install vsftpd -y Configure Basic Settings for vsFTPD server sudo vi /etc/vsftpd/vsftpd.conf a. Make the below changes in the file and save i. Disable anonymous users anonymous_... | 2 | 1 | 5,442 | 2011-10-28T23:10:03.143 | infrastructure | serverfault.com | |
218,914 | Migrate on-premise SQL Server databases to Azure SQL Database | We're in the process of a server migration from an on-premise server (Win2008R2) to Azure PaaS. To move the databases, we used the Microsoft Data Migration Assistant (DMA) tool, which worked great and we can connect to the migrated Azure DB via SQL Server Management Studio. Considering: Made quite a few changes to the ... | I would recommend you to migrate first only the schema of your on-premises databases to Azure SQL Databases and then let Azure SQL Data Sync to migrate the data to Azure and keep it updated on Azure SQL Database. My suggestion to start with an empty schema on the Azure SQL Database side is because when SQL data Sync fi... | 2 | 3 | 1,315 | 2018-09-30T16:03:34.050 | database_errors | dba.stackexchange.com | |
636,349 | Exim 4 route all but one user to alternate smtp | We are migrating our mail server away from EXIM and are struggling with emails generated on the host server such as webforms and system messages, as they are not being delivered to the new host. I'm looking for a routing script that will basically stop ALL local delivery and deliver all @domain.com emails to our new se... | Two there should be; no more, no less: [CODE] I hope that would help. | 0 | 0 | 2,993 | 2014-10-12T00:42:58.173 | database_errors | serverfault.com | |
264,512 | MySQL Workbench: I need to update values in a table based on values from a csv | Newbie Problem, but I've tried creating a new table and importing the csv to that then updating, but I have been having trouble with that, any guidance would be greatly appreciated. I have a csv file that contains about 1500 entries, with an "ID" column and an "Unit" column. I am trying to figure out the best way to up... | Import CSV file to temporary table and then run the UPDATE. For example: [CODE] You may need to use different symbols for fields and lines terminators and file path of course. Also if you are working with remote server use "LOAD DATA LOCAL INFILE" command. | 1 | 4 | 5,375 | 2020-04-07T17:28:30.720 | database_errors | dba.stackexchange.com | |
127,384 | Sharing Databases and Tables between users in MySQL | I want to know how it is possible to share a database tables between multiple users/user groups, I mean, SQL Server has a security feature that we can create user groups and assign users to them, then we can give each user group permissions for tables in a database/schema. So, a user from visitors usergroup can't read ... | [ https://mariadb.com/kb/en/mariadb/roles/](MariaDB 10.0.5 has Roles); see if they provide what you desire. (Yes, MariaDB is essentially compatible with MySQL; Roles is an extra feature.) | 0 | 1 | 886 | 2016-01-26T14:40:41.230 | database_errors | dba.stackexchange.com | |
997,129 | Linux Bash Script for detecting (and notifying by email) new SFTP connections to server | I am looking for help with a Linux server (CentOS) guide or script that can be used to send an email to a server account when a new SFTP connection is detected. For example, giving the connection name and the requesting IP address as well as connection authentication type (if possible) (such as SSH Key or a Password, e... | The nice thing about ssh subsystems is that you can replace the default implementation ( internal-sftp as Martin remarked) with another implementation, e.g. a wrapper script around [CODE] . A small example: create a file [CODE] with content: [CODE] Then you just have to replace the default SFTP server with your script ... | 2 | 6 | 1,967 | 2019-12-30T15:24:57.573 | api_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.