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 |
|---|---|---|---|---|---|---|---|---|---|---|
931,301 | sendmail and Smarthosting based on a particular port | I have a VPS with a sendmail instance on it which is used to deliver mail from a few Wordpress sites that I host. The sendmail is on the same machine as the Wordpress sites and I'm keen to keep it that way for quicker local mail hand-off. The sendmail server listens only for local connections and is also firewalled fro... | Well, basically there are three ways to deal with this problem, as usual they are best, old-school and Jedi's :). The best way is to finally trash sendmail in 2018 and start using postfix or exim, where mail routing could be fine-tuned more easily. The old-school way, and probably the one you're looking for, is to crea... | 0 | 1 | 466 | 2018-09-17T14:59:12.510 | infrastructure | serverfault.com | |
128,689 | What is a good overview of options for access controls/permissions? | I'm in the process of designing the access control portion of a moderately complex application, but I feel like I'm re-discovering a lot of wheels. Does there exist a good overview of the "access control" domain, including terminology, discussion of the tradeoffs of different schemes (RBAC, ACL, ???), how it interacts ... | Take a look at a security framework such as Spring Security ; Spring Security in particular implements a lot of usual security requirements, has good documentation and I suspect well-engineered code (at least Sprinc Core has). You might be able to find a similar framework for your platform of choice, of course. | 2 | 1 | 201 | 2012-01-05T21:33:23.050 | api_errors | softwareengineering.stackexchange.com | |
173,969 | How to login to a remote SQL Server instance via IP and specify the Server name? | I'm following instructions HERE to add a remote publisher to a Distributor server here. However, when trying to add a publisher via SQL Server Authentication I get the following error: THIS recommends checking to see the machine name and servername is the same: [CODE] They are. And there is a stack overflow question ( ... | The solution that worked was to create an alias of (server name => IP address of the publisher) on the local machine on the configuration manager. Though I suspect that this could also have been added to the windows host file on the local server On configuration manager, I added the following: [CODE] | 2 | 0 | 687 | 2017-05-18T18:16:06.803 | database_errors | dba.stackexchange.com | |
371,335 | Upgrade 10.6 Server to 10.7 server error | I am trying to upgrade 2 Mac mini Servers from OS X Server 10.6 to 10.7. I get the following error: The additional components needed to install Mac OS X can't be found. Googling for this message only returns a handful of results , which aren't too helpful. I have purchased and installed OS X Lion Server as well. What c... | What support do you use to install Lion ? (Recovery Partition, Recovery Assistant, InstallESD) Have verified Tech Spec first ( http://support.apple.com/kb/SP630 ) ? Does not looks like a upgrade (migration) issue, but more a install support issue. Then if you are still stuck, you make a clone You erase and install Lion... | 2 | 0 | 607 | 2012-03-19T22:40:01.883 | infrastructure | serverfault.com | |
981,289 | Postfix refuses incoming mail from some (good) servers with 4.7.25 but they have correct reverse DNS | Scenario: This is a production mailserver since 4 years, with around 2000 mailboxes on ~50 domains, and works good with almost any other mailserver. Logs are constantly watched and the following issue arised recently. Edit 1 : Ubutntu 16.04.6 - postfix (3.1.0-3ubuntu0.3) Issue: There is a mailserver who seems unable to... | The IP addresses don't match the domain lookup. Quote from the documentation : reject_unknown_client_hostname Reject the request when 1) the client IP address->name mapping fails, or 2) the name->address mapping fails, or 3) the name->address mapping does not match the client IP address . If you look up the client IP a... | 2 | 1 | 1,503 | 2019-08-30T10:32:29.570 | infrastructure | serverfault.com | |
199,824 | SQL deadlock on nonclustered key caused by two INSERTs and a CHECK CONSTRAINT on the same table | Been struggling with deadlocking on a table during INSERTs. It's a multi-tenant database and Read Committed Snapshot Isolation (RCSI) is enabled. There is a CHECK CONSTRAINT upon INSERT to ensure there can be no overlapping bookings (by smalldatetime regardless of event) which executes a Scalar Valued Function and chec... | It would be easier to narrow this down if the parameter values being passed into the [CODE] Scalar UDF were available, but I think there is enough info here to offer an educated guess: You have two different rows being fought over. The process itself does the following: Insert a row [CODE] fires: Within the explicit / ... | 5 | 5 | 2,318 | 2018-03-09T15:24:30.593 | data_quality | dba.stackexchange.com | |
7,147 | Find highest level of a hierarchical field: with vs without CTEs | note: this question has been updated to reflect that we are currently using MySQL, having done so, I would like to see a how much easier it would be if we switched to a CTE-supporting database. I have a self-referencing table with a primary key, [CODE] and a foreign key [CODE] . [CODE] Given a [CODE] , how can I query ... | You definitely have to script this via MySQL Stored Procedure Language Here is a Stored Function called [CODE] to Retrieve a ParentID given an ID to Search For [CODE] Here is a Stored Function called [CODE] to Retrieve a List of ParentIDs starting from the First Generation all the up the hierarchy given an ID to start ... | 65 | 72 | 81,765 | 2011-10-24T14:48:52.640 | database_errors | dba.stackexchange.com | |
57,492 | Where clause for multiple rows and columns | I have a UDT that receive 2 parameters which is ID and Quality [CODE] This UDT will be use as condition to filter records from a table [CODE] What i trying to do is get the records that match both ID and Quality [CODE] However, above query will match all listed ID that consists of all Quality from the UDT. For example,... | Some DBMSs allow tuples to be used in [CODE] . [CODE] SQL Server isn't one of then and just allows a single column. You can use [CODE] [CODE] | 1 | 7 | 6,225 | 2014-01-24T16:06:28.657 | warehouse_errors | dba.stackexchange.com | |
772,759 | Getting error in sendmail nameserver not found | I added this code to sendmail.mc file: [CODE] I did the m4 conversion to make the sendmail.cf file, there is the following code added: [CODE] I get the following error in the /var/mail/example: [CODE] I don't know what I did wrong here, new to sendmail. Thanks for helping ! | Name server:example.com: host not found Is not necessarily a sendmail specific problem but most likely a generic DNS issue. The hostname (or MX record) for example.com can't be resolved. Check if [CODE] also gives an error => DNS problem that needs to be resolved as even when configured with a Smart Host by default sen... | 0 | 1 | 2,760 | 2016-04-25T14:49:20.630 | infrastructure | serverfault.com | |
356,521 | Pacemaker Active/Active haproxy load balancing | I am using Haproxy to load balance replicated mysql master servers. I am also using Heartbeat and Pacemaker for Active/Active ip failover with two virtual ips on the two load balancers for web server high availability. I used location in pacemaker to stay VIPs one on each load balancer and I'm using round-robin DNS dom... | I have active-active 2*virtIP cluster For CRM config: I'm using two virtual IPs as [CODE] IPaddr2 services and for the service which should run on both nodes: create primitive for it, you'll then use it's ID make "clone" from it like: [CODE] You may add [CODE] (to start virt IP after starting clone - NOT primitive, aft... | 6 | 1 | 6,976 | 2012-02-03T12:57:31.970 | database_errors | serverfault.com | |
461,125 | How do I measure NAS latency? | I have two Linux systems at work which have different NAS servers. Our developer tools run directly from them. The tools seem to run very slowly in one of the systems. (The tools read-write many files which too are mounted from the same NAS.) How do I measure the data transfer rate the NAS storages have? | It's rather difficult to measure the data rates using reall application data. You'd need to use a disk benchmarking tool like fio ( bonnie++ used to be a favourite, but I prefer fio as it's much more customizable). | 1 | 1 | 1,827 | 2012-12-27T10:19:49.447 | infrastructure | serverfault.com | |
169,340 | Where can I (safely) get libintl3.dll? | I am having problems running the Windows version of wget on a Windows 7 machine. When I run the command I get this error: The program can't start because libintl3.dll is missing from your computer. Try reinstalling the program to fix this problem. Is there a safe place I can download and register this DLL? I do not con... | If you are on Windows 7, you should also take a look at WGet 2 for PowerShell . The PowerShell version could be a lot more powerful depending on what you want to do with [CODE] (and avoids the whole DLL install issue, making it more portable) | 13 | 3 | 20,299 | 2010-08-11T15:05:11.573 | infrastructure | serverfault.com | |
22,480 | Several values from different tables | I'm totally lost here and not know how to get this to work and hope any can help me here. I have several tables: default_users, default_profiles, default_status, default_comment and latest default_friend. Here is the SQL for those tables: http://pastebin.com/PxGZ8QYz with some values for testing purpose. So how this sh... | Ok, first off I think you are almost there. From looking at the schema and data one thing I have noticed is that you seem to have overlooked the fact that a friendship is bi-directional. So when you create a friend entry from a request you also need to create one in the other direction as well: [CODE] After you have do... | 2 | 1 | 164 | 2012-08-14T18:41:43.667 | data_quality | dba.stackexchange.com | |
924,886 | correctly routed responses to NATed packages via OpenVPN are rejected by client | I have the following setup: Dedicated server S with static public IP address on [CODE] running OpenVPN as server on [CODE] and performing NAT from [CODE] to [CODE] Gateway router G that is the OpenVPN client on [CODE] with IP 10.8.0.16 the issue is that I can apparently reach the internet just fine and the responses ge... | Your routing table shows that you aren't routing any traffic to the VPN, other than the VPN's own 10.8.0.0/16 network. If you want the VPN to handle traffic, you need to set up the appropriate routes for that traffic. Otherwise, nothing will go through the VPN. For instance, to route all traffic through the VPN, your s... | 0 | 0 | 183 | 2018-08-03T22:04:58.763 | infrastructure | serverfault.com | |
950,516 | Is there any security issue when I set `apache` as the only owner of websites files and folders? | My server is [CODE] ,with [CODE] , [CODE] . My website locate in [CODE] . As for [CODE] is the only one user read or write in [CODE] ,I set all files and folders owner and group to [CODE] : For the folders and files read only: [CODE] For the files need to be write: [CODE] Which means only [CODE] or [CODE] for files per... | No, this is not best practice. The user that apache runs as should not own any files or directories. This user should have only read access to anything, and especially to executable files, such as [CODE] , unless write access is specifically needed for a particular case, such as an uploads directory. The reason for thi... | 0 | 6 | 337 | 2019-01-24T08:02:39.307 | infrastructure | serverfault.com | |
131,293 | Personal Software Process (PSP1) | I'm trying to figure out an exercise but it doesn't really makes to much sense.. I'm not asking someone to provide the solution. just to try and analyse what needs to be done in order to solve this. I'm trying to understand which PSP 1.0 1.1 process I should use. PROBE? Or something else? I would greatly appreciate som... | The use of Proxy-Based Estimation (PROBE) is indeed introduced at PSP 1.0. PROBE is also the recommended estimation technique, but from the standpoint of the PSP as a process improvement framework, it's not required. There are a number of other estimation techniques that can be applied. In a course about the PSP, howev... | 2 | 1 | 1,800 | 2012-01-22T07:48:28.263 | api_errors | softwareengineering.stackexchange.com | |
532,994 | Graphical Glitch - Outlook 2013 on a 2008 R2 Remote Desktop Server as a Remote App | Server 2008 R2 SP1, with Remote Desktop Services. Office 2013. [Edit: Most] Microsoft updates installed. Publish Outlook as a RemoteApp, and run it from a Windows 8 client, then open an email. What happens is this: The email opens and renders briefly, but the Outlook inbox becomes partly-visible through the email. Most... | A post in the Microsoft Partner Support Forum did yield these two possible approaches: enable RDP 8.0 via the update 2592687 install the hotfix from KB2786923 but none seemed to ultimately fix the specific issue, yet they might be worth trying. | 4 | 1 | 5,016 | 2013-08-22T15:46:35.400 | infrastructure | serverfault.com | |
224,638 | To MVC or not MVC, that is the question | Originally, I started off doing jQuery plugins, then moved onto Backbone.js applications, then been experimenting with MicroJS MVC modules, but these days I'm even wondering if there is any need for them at all. Recently, I've been prototyping a new application, and the code is slim, sleek, and beautiful. I then procee... | Maybe your applications aren't very big? I remember the first big app I co-wrote, it consisted only of a large number of complex jQuery plugins. There was no separation of concerns, the code was convoluted, testing it was almost impossible. The next app we wrote in Backbone. It gave us a basic structure to build upon. ... | 5 | 10 | 4,092 | 2014-01-18T13:59:42.493 | api_errors | softwareengineering.stackexchange.com | |
730,452 | SMTP slowness on Ubuntu | I'm using a Linux client machine, connecting to a 3rd party external mail server. The mail server takes extremely long to respond when I try sending mail. To debug this, I installed the mailx basic client and tracked the communication between client and server. After narrowing down further, it turns out that the telnet... | The most likely causes of what you have described: Problems with reverse DNS lookups of your client IP address by the remote server IP_Address->[ [CODE] DNS record]->name->[ [CODE] / [CODE] DNS record]->IP_Address Ident queries timeouts [TCP connections from the remote host to smtp client host] Default Ident timeout ha... | 1 | 3 | 373 | 2015-10-21T05:25:25.537 | infrastructure | serverfault.com | |
723,788 | Install CoreOS on HP thin client | I am trying to install CoreOS on HP Thin Client, but I am unable to format the flash drive. i have created the USB boot as per https://github.com/jriguera/coreos-usb-creator - then i can login to the thin client, but when i try to install CoreOS, i get the following error [CODE] If i try to mount the drive, I get the f... | The answer is in your question: the flash drive is 500Mb while the error is [CODE] and your downloaded file http://stable.release.core-os.net/amd64-usr/766.3.0/coreos_production_image.bin.bz2 is 186 MB in compressed data and expanding to a 4,756,340,736 byte (4.5 GB) file. Given that the largest available flash module ... | 0 | 2 | 384 | 2015-09-21T16:00:53.697 | api_errors | serverfault.com | |
73,391 | Optimization function returns the same optimal parameters for two labels | I've recently enrolled in the Coursera machine learning, and am working my way through making my own classifier for the Iris dataset problem using matlab. I'm training a classifier for each species (the one-vs-all method). The code runs smoothly without any errors, but the results are not quite what I was expecting. He... | The error stemmed apparently from the formula for the gradient: there should be no minus sign (-) at the start of it. The correct code for this would be: [CODE] | 0 | 0 | 29 | 2020-05-01T23:05:42.933 | data_quality | datascience.stackexchange.com | |
241,387 | Indexes getting highly fragmented during normal usage of system | I am using MS SQL Server 2014 Standard Edition in my project and recently I have encountered an issue with index fragmentation getting high during normal usage of the system by the users. Currently indexes are rebuild once per day during maintenance window, but after certain operations some of the indexes can get quite... | If you can properly confirm that fragmentation really is a problem, for example because read performance drops measurably when read-ahead becomes less effective, or because the system is struggling to keep up with the number of page splits, you might look at gently adjusting the fill factor on the most critical indexes... | 5 | 6 | 2,023 | 2019-06-25T16:08:07.693 | database_errors | dba.stackexchange.com | |
300,482 | SQL Developer: View only permissions | I am using SQL Developer, generally to assist in writing reports against various databases but there is one application that is run on an annual basis and at the end of that processing (about a 3 hour window) I use FME to further process the records that were added during that time frame. I am limited to view only perm... | Define "cause a problem"... Will running a query affect the data in any way? No. That is literally what Oracle is designed to do: allow queries and transactions to occur simultaneously. What it might do is affect performance of the system, especially if compute resources are tight. Users could possibly experience a slo... | 0 | 0 | 239 | 2021-10-01T21:28:03.830 | database_errors | dba.stackexchange.com | |
754,186 | How can I find what file/user is consuming all the bandwidth on an SMB share? | I manage a windows server (2012 R2) that has an SMB share used by people across my company. Recently, people have been complaining that the share is slow, and I'm seeing that the network bandwidth is completely saturating the NICs. I can see the number of files opened per user/session connected to the share, but I can'... | Finding the remote machine is easy: Just use Resource Monitor. Go to the 'Network' tab, expand "Network Activity", sort by Send(B/s). Your culprits will have the highest current Network traffic. Alternatively, you could use TCPView. https://technet.microsoft.com/en-us/sysinternals/tcpview Order by "Sent Bytes". Look fo... | 0 | 4 | 1,815 | 2016-02-05T04:35:02.953 | infrastructure | serverfault.com | |
102,529 | Replace nan with sequence of values | I have the dataset for covid tests in Ireland. In May the data just stops. To continue the trend, I took the average mon-sun during the last stable period. So I have 7 different mean values. Now I want to edit the dataset to insert these values in sequence from the row indexed '47545'. I don't get any error and it does... | Try [CODE] or [CODE] , such as: [CODE] and so on What do you want to do with the operations in the brackets? As it is now it looks like it checks if mod 7 of the index equals 47545? which does not make sense. | 1 | 1 | 155 | 2021-09-27T11:00:45.367 | data_quality | datascience.stackexchange.com | |
225,732 | Cron job with ssh not working after boot | I have the following script collecting data about current logged users. [CODE] Run periodically with cronjob: [CODE] When the server reboots the script can't ssh to remote stations and I need to manually run the script for the first time. What can I do to make the script work after reboot without manually running it th... | When you manually run the script the first time, what does it do differently? Try the manual first-time run with [CODE] and see if there's anything useful in there. What directory is [CODE] written to? Oh this is probably your problem, from the keychain(1) manpage: When keychain is run, it checks for a running ssh-agen... | 1 | 1 | 911 | 2011-01-23T09:43:50.633 | infrastructure | serverfault.com | |
194,134 | What is MySQL's "Implicit Default Value" and how does it work with "strict mode"? | From this question comments, In the documentation (dev.mysql.com/doc/refman/5.7/en/insert.html), inserting with [CODE] is mentioned. It is allowed except for what the doc says : "If strict mode is not enabled, MySQL uses the implicit default value for any column that has no explicitly defined default. If strict mode is... | An "Implicit Default Value" seems to be in reference to the type ; the "Explicit Default Value" or simply "Default Value" seems to be in reference to the column's [CODE] , Also from the docs, Inserting [CODE] into a column that has been declared [CODE] . For multiple-row [CODE] statements or [CODE] statements, the colu... | 2 | 3 | 2,645 | 2017-12-28T21:17:46.183 | database_errors | dba.stackexchange.com | |
161,036 | Multiple catalyst switches | We're about to do a major office move, which will involve re-cabling everything in our premises. We're in two floors of a single office building, with 2-4 comms cabinets on each floor; each of these cabinets contains a Catalyst 3560; currently these are all connected to a single "core" switch (also a 3560) that joins e... | I believe you're right and that a single or etherchannel'ed link will provide everything you'll need over regular ports. It's a pity that box doesn't have a stackwise port though :( | 2 | 1 | 265 | 2010-07-16T09:04:18.480 | infrastructure | serverfault.com | |
228,327 | Trying to get a better understanding of object-oriented design's performance pitfalls | I'm currently in a high-performance computing class taught in C++. Usually, I do work in C#, meaning everything is taken care of for me, and optimization comes behind maintainability and higher-level features. It's like... a nice productivity furnace that keeps me nice and warm in the programming project winter at the ... | Many of the OOP's performance problems come from indirection caused by inheritance and virtual methods. The virtual methods are problematic because: They take more time because of virtual table lookup Cannot be properly optimized, eg. using inlining for example. Or at least it is too hard to do it. In some languages, t... | 6 | 7 | 1,639 | 2014-02-09T19:29:57.263 | api_errors | softwareengineering.stackexchange.com | |
333,387 | MySQL query optimisation | This is the MySQL table DDL: [CODE] the table has 20000000 records, when I update the column with this query: [CODE] this table is doing a full scan, thus getting a slow response for the update query. how to modify the query or modify the column to add an index? if I do add an index, will the index creation also take a... | To speed the query up a little bit you could add a where clause based on your comment Is "chat.com" always at the beginning of jid? Yes The [CODE] column is already indexed and the following query would lookup only the values starting with chat.com. [CODE] | 1 | 1 | 56 | 2023-11-22T22:23:13.720 | database_errors | dba.stackexchange.com | |
94,067 | How to organize a set of syntax highlighting classes? | I am creating a set of syntax highlighters for an application. The languages include: HTML (specifically HTML5) JavaScript PHP CSS (specifically CSS3) The problem lies in the way the classes need to be organized. Since this is a Qt application, each language has its own class which derives from QSyntaxHighlighter . Eac... | So, it seems that highlightBlock() is your entry point. I'd keep each class deriving directly from QSyntaxHighlighter and overriding highlightBlock() with the needed code. Then, the HTML highlighter should invoke CSS, JavaScript, and PHP highlighters inside their respective open and close tags, while it should use HTML... | 3 | 1 | 354 | 2011-07-19T02:07:06.563 | pipeline_ops | softwareengineering.stackexchange.com | |
445,027 | RAID Card Event Notifications Email to Gmail | I need to get email for event notifications from our RocketRaid 2782. The problem is I don't see a way to get it to send mail to our google apps gmail account. I don't think the card offers authenticated email. Picture attached below: I am prepared to install Postfix on the host computer the card is in, (Ubuntu Server ... | The screenshot clearly shows a login name and password field. That would be for authenticating to the SMTP server. | 0 | 1 | 1,373 | 2012-11-03T11:03:54.590 | infrastructure | serverfault.com | |
347,621 | Memcache basic configuration | I have installed memcache for a Drupal site with the memcached pecl extension. It's all running fine but I'm still struggling with the configuration settings. For instance , following advice on drupal.org [CODE] Problem is that I don't have this file on my server, in any case not at this location. Some other articles h... | You did not tell us about your OS/distro. Also, you did not tell us how you installed memcached. Usually, you will get a sample config file under [CODE] when you install memcached using [CODE] under debian-based systems and [CODE] or [CODE] under redhat, fedora or centos. If you installed it from source, you may not ge... | 16 | 19 | 109,998 | 2012-01-07T10:17:58.843 | infrastructure | serverfault.com | |
45,296 | Running Total which Resets when Customer changes (keeping existing RowNumbers)- attempt included | I have a table where the RowNumber is of essence. It has a range of clients, and a running total for that client - which resets every time the Client changes. e.g. [CODE] I tried using Partition, but it always Groups Client A together, and Client B together- it removes the crucial part of the Row Numbers. Any help plea... | How about: [CODE] That first join could be expensive on a large dataset if an index on client (to be efficient at all you'll need an index on client,rownr and one on rownr (though I'm assuming that would be your PK which would imply an index already)) is not very selective (if the variety of data in the client column a... | 7 | 4 | 8,226 | 2013-06-26T14:43:08.967 | warehouse_errors | dba.stackexchange.com | |
796,539 | Issues to loadbalanced web servers in network when one fails | I have a network of one load balancer server (using nginx) lb1 which routes traffic between four web servers web1 , web2 , web3 , web4 . These four webservers are routed to using round-robin in nginx. All servers are set to max_fails=1 and fail_timeout=5s , so when a server is down, it should be ignored fairly quickly ... | It seems you misunderstand the [CODE] parameter. Please, re-read the documentation . the time during which the specified number of unsuccessful attempts to communicate with the server should happen to consider the server unavailable; The parameter doesn't limit the time of each such attempt, it's about how many of them... | 0 | 1 | 62 | 2016-08-12T17:24:23.987 | infrastructure | serverfault.com | |
8,047 | helm - cannot get resource "namespaces" in API group | I installed Kubernetes, helm on the Ubuntu 16.04.6 Box, I want to deploy kubernetes-dashboard using helm but getting below error while installing it [CODE] Tools Version: [CODE] helm updated to latest version. I followed this : https://stackoverflow.com/questions/46672523/helm-list-cannot-list-configmaps-in-the-namespa... | Check https://github.com/helm/helm/issues/3130 , this might help. I followed the instruction in the post: [CODE] This works for me. | 4 | 4 | 11,300 | 2019-05-07T13:18:10.120 | bi_errors | devops.stackexchange.com | |
126,812 | GMM expectation maximization ValueError: could not broadcast input array from shape (2700,1) into shape (2700,) | Problem Statement The goal is to have the Gaussian Mixture Model has_prediction() function to execute after the Gaussian Mixture Model fix() function that will invoke methods on this custom expectation maximization class to ultimately return the cluster means. However, the ValueError shape is an issue. Once this logic ... | Hard to be sure, but it looks like your 'extra' dimension is coming from the exponent array. Can you try squeezing it, something like this: [CODE] Also, the self.has_converged() method is undefined. | 0 | 1 | 33 | 2024-02-11T05:03:42.023 | data_quality | datascience.stackexchange.com | |
39,337 | What is "External issue ID" field in Jira for? | What is the purpose of "External issue ID" field in issue form in Jira bug tracking system? Or in any other bug tracking system for that matter. | It's used when importing issues from an external system, see this answer for example | -4 | 2 | 3,116 | 2019-05-24T13:33:41.043 | data_quality | sqa.stackexchange.com | |
865,862 | Google Cloud Shell is temporarily unavailable | I am new to google app engine. Recently I have been using the google cloud console to develop my own blog for a while. However, since last Sunday, I cannot connect to the google cloud shell. Whenever I try to connect to the cloud shell, an error message comes up saying that "Google Cloud Shell is temporarily unavailabl... | There does seem to be intermittent/sporadic issues with Google Cloud shell today. I kept 'retrying' and it eventually got me connected into Cloud Shell after 20 or so retries. Probably an issue on Google's side. | 1 | 1 | 3,625 | 2017-07-30T01:49:32.543 | infrastructure | serverfault.com | |
856,727 | Appropriate arguments to copy data form HFS+ formatted drive to ZFS array | I'm migrating away from Drobo. I have about 4TB of data on a Drobo 5D, which is connected to a Mac Mini and formatted with HFS+. I used this command to copy the data there originally: sudo rsync -vaE --progress /Volumes/SourceName /Volumes/DestinationName I'm moving the data to FreeNAS, which uses ZFS. However, this co... | I ended up using the following: sudo rsync -az -H /Volumes/SourceName /Volumes/DestinationName -a archive mode -z compress file data -H preserve hard links So far, there have been no errors like I had been seeing with my previous rsync arguments. One completed (could take days) I'll verify the results and update my ans... | 0 | 0 | 187 | 2017-06-20T02:31:01.663 | infrastructure | serverfault.com | |
274,030 | Best practices to serve a large number of files | Currently we have one Windows Server 2008 R2 as a domain controller and file server. We're serving about 6 million JPGs to 4 IIS servers which are then served to web users. The problem is we're getting memory alerts on the server daily. Our current server serves these files from a single drive (LUN). We also have an is... | How are you getting memory alerts? Have you done any process analysis to see if the memory usage is somehow out of the norm? Remember that LSASS and the cache will grow to the point of physical memory. UPDATE: Not getting alerts under Windows Server 2003 doesn't surprise me since it was not as efficient at using RAM as... | 5 | 1 | 344 | 2011-05-26T12:25:14.190 | infrastructure | serverfault.com | |
840,402 | Multicast causes link down on Mikrotik RB2011UiAS-RM switch2 | I am trying to simply push multicast traffic through the second switch of the router... for now I connected swtich 2 port 8 to my ISP router iPTV port and port9 to SagemonUHD88 IPTV decoder. I set master port port 6, and added slaves port 8,9. I removed all ports in switch2 from default bridge (no bridges beside). Afte... | The answer is, that version 6.38.5 , 6.37.5 , 6.39rc5 all contain the same issue with pushing multicast on RB2011 to 'switch2 cpu'. They claimed that it had been nailed and fix is going to be a part of the next release. EOT EDIT: Already checked, the provided fix works: [CODE] | 0 | 1 | 2,432 | 2017-03-24T14:17:50.733 | infrastructure | serverfault.com | |
850,170 | Munin stopped working after rebooting the server | Munin stopped working after rebooting the server. When I try to run, it gives: [CODE] And this: [CODE] What is this and how can I solve this problem? Logs: [CODE] | Just had the same problem an hour ago on an Debian based system. For me reinstalling the [CODE] package fixed the problem: [CODE] If this doesn't help, you should check your logs in [CODE] . You can start with [CODE] | 1 | 0 | 877 | 2017-05-15T11:27:31.410 | infrastructure | serverfault.com | |
279,764 | How do an ISP's DNS servers resolve a local hostname? | This might be a stupid easy question for some of you, but I couldn't find a fast, accurate answer online. I had a problem recently where I was trying to SSH to a local FreeBSD server, but the connection was refused. The hosts.allow file on the machine specified that only local machines should be allowed to communicate ... | Check out your /etc/resolv.conf. I am guessing there is a line in that which says something like [CODE] . So that is saying that your host is part of that domain. When you look up your localname, that domain is getting appended. Try using [CODE] , and you should see a result like the following: [CODE] Dig gives a lot o... | 2 | 1 | 1,375 | 2011-06-13T03:17:40.417 | infrastructure | serverfault.com | |
518,055 | Custom PHP.ini file | One of my clients is requesting register_globals to be turned on so his site can normally work. But I disabled custom php.ini files with suphp because of security issues. I must do this because of some attack which is called Symlink, and when someone has access to some hosting account on my server, he can see list of a... | Register Globals is no longer part of PHP, and for extremely good reasons. You need to push this back to your client and tell them to sort their site out. Here is a link with a little more info: http://php.net/manual/en/security.globals.php (Note that they were deprecated in 2009 ) | 0 | 3 | 148 | 2013-06-24T10:26:35.273 | infrastructure | serverfault.com | |
203,601 | How to simulate high video payload to benchmark an SSD? | I'm trying to evaluate some SSDs for a video on-demand use-case. We've done some benchmarking tests on them, but we'd like to get an idea of the number of video streams that they can support with a more realistic load test than typical benchmark tools. So far, I've done this: fill the SSD with movie files remotely moun... | I do video on demand systems and there's no substitute for actually writing a bit of code that accurately portrays real playback characteristics. We wrote one we call 'VODBasher', it uses the exact transport mechanism we really use on the real platform and we run it from real locations all over the place. This helped u... | 1 | 3 | 352 | 2010-11-18T19:52:33.693 | infrastructure | serverfault.com | |
216,428 | NOTIFY vs. pg_notify | I write a DB LISTENing program something like as shown here (Example 3)==> https://www.postgresql.org/docs/9.1/static/libpq-example.html I have a problem with pg_notify such that; [CODE] ==> works fine, C program catches the signal whereas [CODE] ==> Program can't catch anything. Any idea? Note: My Version is PostgreSQ... | In [CODE] , 'Channel' is treated as an SQL identifier, and will automatically be transformed to lower case if not surrounded by double quotes, like [CODE] . This is usual PostgreSQL behavior. The arguments to pg_notify are strings, not SQL identifiers, so they are case-preserved. | 2 | 4 | 1,790 | 2018-08-31T14:42:58.200 | database_errors | dba.stackexchange.com | |
618,861 | OpsCenter 5.0: No Data on Dashboard Graphs | I have an OpsCenter 5.0 instance running and 10 agents connected. The agents are in 2 regions in AWS, so everything is using external addresses to communication. All the necessary ports are open, and in fact, the OpsCenter dashboard says "All agents connected". I can also click on any of the nodes for details, and all ... | Figured it out! Found a bunch of the following in the agent logs: [CODE] This is kind of weird since all the other communication was fine, and the graphs initially worked. To fix it, I just added the following to the address.yaml file on all the agents and restarted the agent service: [CODE] | 0 | 2 | 1,545 | 2014-08-07T23:39:24.933 | bi_errors | serverfault.com | |
55,244 | Why is the difference of datetime = zero in the following dataframe? | This issue that I am facing is very simple yet weird and has troubled me to no end. I have a dataframe as follows : [CODE] I am trying to find out the datatime difference as follows ( in two different ways) : [CODE] For a particular trip_id, I have the results as follows : [CODE] But for some other trip_ids like the be... | It is hard to see where the problem is with your code; given your comments, my guess is a problem in the timezone conversion. I cannot see a problem exactly, buy my suggestion to help debug your situation would be to convert all time to timestamps - by default that will be seconds since the epoch (January 1st 1970). Th... | 1 | 1 | 559 | 2019-07-08T03:01:25.150 | data_quality | datascience.stackexchange.com | |
279,431 | Can I upgrade MariaDB replication infrastructure gradually? | I have 2 masters and 1 slave (replicating form both masters). M1- MariaDB 10.4.11 M2- MariaDB 10.4.16 S1- MariaDB 10.4.12 I want to upgrade this LIVE system to 10.5 with possibly 0 downtime. The idea is this: upgrade slave S1 (this is used mainly for backups, not queried at all) switch all traffic to M2, stop M1 and up... | Fast forward few months and I want to give warning to using different major versions for replication. Even when slave is newer than master, and hence should keep compatibility, there are possible SQL changes that can cause issue. One example I faced [CODE] This query executes just fine on MariaDB 10.4. But there is a k... | 1 | 2 | 1,000 | 2020-11-09T21:01:22.660 | database_errors | dba.stackexchange.com | |
388,664 | DDOS Attacks Explanation | I have some questions regarding the ddos attacks and how it really works , i really need some good explanation for it as i can't find any good reference that can help me . Questions : what are the relations between PPS (packets per seconds) and MBPS and can a huge number of pps like 500k/second leads to a ddos if even ... | You have to be more specific here. There are a couple of ways to do a (D)DoS: a) "Application DoS" (don't know if the correct name exists for this), is where the network can handle the traffic, but the application server(s) cannot. That is when incoming traffic is below network speed, but the number of requests is abov... | 0 | 5 | 1,064 | 2012-05-13T14:40:39.007 | api_errors | serverfault.com | |
544,553 | Why would a domain controller encounter a USN rollback after an unclean shutdown? | I have this Windows Server 2008 R2 domain controller running on a physical Dell server, model PowerEdge R510. There are some electrical problems around here, thus a black-out is, unfortunately, quite a common occurrence; there are UPSes, but they are not as reliable as they should be, and sometimes servers will experie... | I thought on this for a few hours today. It's a bit perplexing, but as I indicated in my comment, my best guess is that you either have some sort of disk caching going on that is not getting committed to disk before the power outage/dirty shutdown has wiped out the contents of the cache... Or, since you are running on ... | 8 | 6 | 1,030 | 2013-10-08T11:15:29.313 | data_quality | serverfault.com | |
75,525 | Diagnosing the error in a Postgresql to Redshift migration through psycopg2 | I am running a job class that contains the following: A Postgresql connection that can issue SQL statements A Redshift connection that can do the same an S3 connection to function as an intermediary between the two The current process I am taking is dealing with the columns with redshifts differences on a per-case basi... | This is because you are querying a postgresql replica that doesn't allow queries to run for very long. Your only solution is to ask the database administrator to increase the query limit on that replica, or hit production instead. | 3 | 2 | 1,153 | 2014-09-02T21:04:28.993 | warehouse_errors | dba.stackexchange.com | |
50,968 | FTP: 450 Can't Access File | First of all this may belong on SU so feel free to migrate. Problem is as follows Getting this error when trying to upload a specific file to a specific directory on a Windows-based FTP server (Filezilla to be accurate) The error is as follows: 450 can't access file I can upload this particular file to any other direct... | Have you checked within Filezilla that you have full (Read/write/Delete and Modify) access within the shared folder that you setup with Filezilla. This is different from the file access rights on the server | 2 | 2 | 12,302 | 2009-08-06T15:13:36.933 | infrastructure | serverfault.com | |
1,045,938 | What is Apache trying to do with port 80 that SELinux is blocking? | I have a small web server (CentOS 8) that runs a small php & mysql app. It also runs runs Nagios, BIND, and Postfix running as a secondary MX. Everything seems to "work", and I've never noticed any problems. I'm able to load Nagios and the other php app over port 443. If I load the URLs over port http / port 80, Apache... | The connection being made here is Apache connecting back to itself: these are logged as an [CODE] and are Apache's way of waking up its child processes . By default SELinux doesn't allow the web server to make outbound network connections. Several booleans will change this behavior, but probably the one you want to use... | 2 | 3 | 1,125 | 2020-12-12T15:28:10.750 | database_errors | serverfault.com | |
741,498 | Finding out which is the failed drive on Intel SRCASRB RAID Controller | There is very old server with Intel RAID SRCASRB Controller with 4 x WD5003ABYX-0 500GB drives connected to it in RAID5 array. One of those drives has failed and I want to replace it. Since server is old tower case, drives are screwed manually into 3.5" bays. There is no HDD backplane, so there is no LED indicating whi... | Turns out I had old v2.XX Web Console 2 version. Upgraded to v15.XX where they included detection of drive serial numbers. | 0 | 0 | 413 | 2015-12-08T09:43:41.903 | api_errors | serverfault.com | |
683,248 | Issue connecting SSH after using rsync | Before using rsync to copy files from local to remote I was able to do passwordless login to the remote host using ssh. This always worked: [CODE] Then I used rsync and everything was fine, the files were indeed synced without any request for password. This is the command I typed: [CODE] After that I have to digit my p... | Your rsync have probably messed up your rights with /root/ or /root/.ssh/ folders. Your /root folder owner is not root anymore and your chmod should be 700. The following commands should fix the problem [CODE] | 2 | 4 | 734 | 2015-04-16T15:44:02.800 | infrastructure | serverfault.com | |
281,421 | Make two different updates with two different where conditions | Although this question is very similar, I don't think that it is also the best approach for my case, though it seemed to work. Consider the following example: [CODE] I now want to create ONE update query which hides all messages of user [CODE] for him; i.e. which sets [CODE] equal to 0 where the [CODE] is [CODE] , AND ... | Do two [CODE] . And have a [CODE] And two secondary indexes: [CODE] If you are concerned about ACIT integrity, make a transaction: [CODE] | 0 | 1 | 61 | 2020-12-12T21:54:58.127 | database_errors | dba.stackexchange.com | |
521,298 | Cant get access to phpmyadmin with nginx under debian "No input file specified." | I've installed Nginx, php-fpm, mysql and phpmyadmin.. When I type myserver.com I see "Welcome to nginx!". But when I type myserver.com/phpmyadmin, I got : "No input file specified. ". I know it's probably a problem with the path, but I can't find where... :S Config file: /etc/nginx/sites-available/default [CODE] /etc/n... | On file /etc/nginx/sites-availables/www.myserver.com.vhost Change the line [CODE] inside location /phpmyadmin to: [CODE] | 0 | 1 | 3,563 | 2013-07-06T17:28:18.283 | database_errors | serverfault.com | |
27,303 | Can't access Brew PostgreSQL | I've used Brew to install PostgreSQL. I want to log in with [CODE] . Since I haven't set a password I 'm trying to login without one. When I try I get this: [CODE] I have this in [CODE] : [CODE] Brew is a clean install. I believe I've removed all instances of postgres ( [CODE] doesn't run if I remove the brewed postgre... | Seems like the file was not read properly. make sure that you restarted the postgresql-server after editing the file make really sure that it's restarted (I ran into this twice...) try again. I searched one day for one suche error and a simple restart was all that was needed. Also: with the last homebrew-install I made... | 0 | 3 | 506 | 2012-10-19T01:11:43.723 | database_errors | dba.stackexchange.com | |
5,671 | Setting up a postfix email server | When I set up an email server using postfix on ubuntu server, how do I make sure that it won't be an open relay?? | Being an open relay means that you are accepting mail from unauthenticated users for domains that are not the domains you manage . Postfix has some very simple config options to help: mynetworks and mynetworks_style between them dictate from which network addresses messages to any destination will be accepted. mydestin... | 5 | 6 | 1,805 | 2009-05-07T08:19:04.183 | infrastructure | serverfault.com | |
894,134 | Build new image, lose old volue data? | In my docker compose file, I specify two services: phpant (a custom image derived from debian with PHP compiled and postfix running so PHP can actually send emails) and a mysqldb service that pulls the latest from the docker hub. In the phpant service, I define a volume: [CODE] After installation, we write config files... | You specified only a path within the container for your volume. In this configuration, Docker creates a new volume each time the container is recreated. If you want the volume data to be persistent, you need to specify a path accessible to the container host where the volume data can be stored. For example, relative to... | 1 | 1 | 506 | 2018-01-25T19:07:13.147 | pipeline_ops | serverfault.com | |
1,019,707 | SSL Certificate error for self signed certificate although certificate is installed | we are using a server that is used by like 5 coworkers and is accessed by its web interface. It is a internal only website and doesn't have a valid SSL certificate as it is self signed. The certificate is deployed via GPO to the trusted root CA folder, so it is installed on the computer. Still the user would get a cert... | Check the common name of the certificate and if it matches the URL of the site. If it is a multi-SSL certificate, ensure the common name is also added to Subject Alternative Name field. Ensure the certificate is in the trusted root CA of the clients, which will ensure the GPO has been applied correctly. Lastly avoid us... | 0 | 1 | 892 | 2020-06-02T14:56:39.703 | api_errors | serverfault.com | |
499,383 | PostgreSQL server failed to start: request for a shared memory segment exceeded your kernel's SHMMAX parameter | I increased PostgreSQL's shared buffer (among other settings) to 4096M and now PostgreSQL fails to start, giving the error message below. Should I change the kernel's [CODE] parameter to 4096M? The system has 16GB of RAM. How should this be done? What should I change [CODE] to? I want the changes to be permanent and pe... | Looks to me like you edited yout [CODE] in your config from the default. And you have a lot of memory so you are probably trying to up that more then the kernel is letting you. So create a file like [CODE] Then have the following in it [CODE] Replace the number with what you want to put there.. Then to set it run the f... | 3 | 3 | 15,992 | 2013-04-15T06:18:41.310 | database_errors | serverfault.com | |
531,873 | How to whitelist a directory in Apache configuration | In Wordpress, one of the few effective ways at reducing server load is to whitelist individual clients to [CODE] and [CODE] : [CODE] But I don't want to have to edit and reload Apache to change this list. In my Virtual Host, I want: [CODE] But: [CODE] So is there a way to accomplish what this says that doesn't require ... | Create .htaccess file and put allowed IP addresses there. RewriteMap is not allowed within [CODE] . | 1 | 0 | 4,191 | 2013-08-18T23:42:25.870 | infrastructure | serverfault.com | |
528,975 | Choosing FQDN for Internal Use (avoiding split DNS) | I've been looking everywhere for a definative answer to this. We are recreating our interal Windows domain and trying to come up with a FQDN for our TLD. Currently we are using "company.co.uk" internally. We own this domain and also use it for our public website. This causes all sorts of DNS issues internally and by cr... | Subdomains are the perfect use of registered domains for internal DNS, you won't be trampling on other people's valid domains, they will not conflict with your external domains, you can keep them private or expose them to the world (I prefer to keep them private). They also require just a small change on the part of em... | 0 | 1 | 1,661 | 2013-08-06T09:27:35.110 | infrastructure | serverfault.com | |
294,455 | How to make sure people call methods in the right order? | Situation I'm designing a database abstraction layer for sql (mysql, sqlite) and mongoDb. The goal is to give the user/developer a library which is able to create queries for different databases. Without even knowing which type of database is queried. Let's say we have a class which is able to create for example the wh... | The fluent interface for a inner domain specific language is built on top of the Builder pattern. Ultimately, you are building up a representation that is to be used. The solution is to then use a stateful builder (related: How should I handle incompatible configurations with the Builder pattern? ). The object that you... | 6 | 13 | 463 | 2015-08-24T14:11:56.740 | database_errors | softwareengineering.stackexchange.com | |
940,527 | postfix restrict delivery to only certain email addresses | Here is what I want to accomplish with postfix: we do frequent copies of our production system that sends mail vendors, users, etc. Occasionally after the copy, our technician forgets to turn off email sending so the test system starts sending out email to vendors etc causing confusion. To prevent this I have asked our... | It's possible to do this with Postfix transport(5) (using [CODE] ). [CODE] Also, you could consider forwarding all mail from this test network into a shared mailbox for the developers and testers. This way your technicians won't have to remember changing the addresses at all, reducing their workload. I assume this Post... | 3 | 3 | 453 | 2018-11-17T19:53:43.157 | infrastructure | serverfault.com | |
12,462 | How to quantify TEMPDB usage in relation to other databases hosted on same hardware? | Working on a project to decide if configuration 1 or 2 is the best way to organise disks for my SAN: Config1 (sql 2008): 8 disks @ raid 10 data 2 disks @ raid 1 logs 2 disks @ raid 1 tempdb 2 disks @ raid 1 hyper-v (based on SQL best practice suggesting isolating tempdb) Config2 (sql 2008): 8 disks @ raid 10 data + tem... | Scott, Check this statement out: [CODE] This should give you all of the information you need. If all you're interested in is disk usage just keep the total reads/writes and average reads/writes. | 2 | 3 | 472 | 2012-02-08T13:17:53.263 | database_errors | dba.stackexchange.com | |
58,766 | Creating pflog interface | I'm attempting to create a pflog interface using ifconfig so I can log to more than one file and when I attempt to execute the following command I get this error. I'm attempting this on a vanilla install of the latest FreeBSD. [CODE] Any ideas on how to create a second pflog interface? I cannot seem to find any documen... | you can listen multiple times on the same pflog0 and use bpf filters to split them up [CODE] (c) Mike Frantzen PS. right syntax is [CODE] | 2 | 4 | 1,892 | 2009-08-26T01:39:06.463 | infrastructure | serverfault.com | |
427,272 | Port-forwarding with Authentication | Okay, so here's the story: I administrate a server running a web application on my internal LAN, say foo:1234. My team uses this actively. We have now decided to make this application accessible from outside our network - but we don't want to install it on our webserver. I have forwarded an external port (say 5678) on ... | A common way to handle this situation is to place an authenticating reverse proxy (e.g., apache) in front of the web server. See e.g. http://thelowedown.wordpress.com/2008/10/12/reverse-proxy-with-apache/ | 2 | 2 | 2,851 | 2012-09-13T22:09:43.667 | api_errors | serverfault.com | |
325,961 | Getting an "Incorrect syntax near '(' " error message when using the standard create table using a select in SQL Server | Why am I getting the error in the Title of this post when I run the following query using SQL Server via Microsoft SQL Server Management Studio? [CODE] I followed the instructions for Solution 2 in this how-to-article , but it clearly didn't work. So, as a sanity check, I ran it in MySQL Workbench and it did work there... | Congratulations! You found SQL dialects. There are many SQL database systems, and each system has its own SQL dialect. Sometimes the difference is small, sometimes it is big. Usually, the difference appears in DDL (Data Definition Language) part of the SQL which has command to manipulate database objects, like [CODE] ,... | 8 | 14 | 5,183 | 2023-04-13T09:22:37.857 | database_errors | dba.stackexchange.com | |
1,029,535 | How to create a thirdlevel CA in Step? | Step allows to use an existing root-certificate using [CODE] . In that case step generates an intermediate certificate for later use. However, my root certificate was already used before for generating certificates outside of step. The idea to solve this without serial-clashes in the "A"-CA is an intermediate CA "B" wh... | Running a thirdlevel CA is possible, but not needed with the reason "serial-clashes". The signature of the step-controlled CA can be done also by [CODE] and step does not need control the root, it just creates one by default, which can be replaced together with the intermediate as written in the questions page : [...] ... | 0 | 0 | 109 | 2020-08-10T13:49:50.550 | hadoop_errors | serverfault.com | |
527,125 | Nginx rewrite issue | I would like a particular configuration for one of my virtual servers but I have a problem explaining that to Nginx :) Its quite simple. If the URI looks like [CODE] I would like to rewrite it as [CODE] The second is if the URI begins with [CODE] like [CODE] I would like it to be rewritten as [CODE] I was tinkering arr... | This is nginx, not apache. You should avoid rewrites when possible (and it often is possible). Use [CODE] instead. For example: [CODE] | 1 | 2 | 63 | 2013-07-29T20:44:07.623 | infrastructure | serverfault.com | |
27,415 | How to understand why below request fails using Gatling tool? | I am working in Gatling. when I inject with 1000 users, GUI shows some failed request, I want to know which request got failed? How to understand why the request will get fail? Maybe accessing low-speed internet got failure sometimes is it true? Below is my Scala code where failed request found: [CODE] How to understan... | Use saveAs ans session. Something like this (maybe needs some changes): [CODE] | 3 | 1 | 1,023 | 2017-05-23T11:13:02.860 | data_quality | sqa.stackexchange.com | |
238,336 | SQL queries to get the duplicate records based on trim | I have a table that has got the below set of records. [CODE] From the above table I need to select only the below records. [CODE] (I.E) Whatever values in UNMASK has any number of '0' before the '1-9' and also the row that doesn't have 0s before that 1-9. Like 123 and there can be 000000123, 456 and 00456, I need such ... | Test data: [CODE] I've done this with a CTE, as I love them. [CODE] ing the string to a [CODE] removes the leading characters, which I find easier than messing around with [CODE] . Query: [CODE] DB Fiddle that demonstrates is here . | 1 | 0 | 469 | 2019-05-16T15:32:01.043 | data_quality | dba.stackexchange.com | |
851,418 | How to keep orig_to with maildrop? | I have configured a personal mail server with Postfix + Maildrop and Mysql for virtual domains, mailbox and aliases. My problem is the lost of the [CODE] field only when maildrop comes in action after spamassassin. Here logs when I send an email from an email account hosted in my server (they seem good for me) : May 21... | After more researches and tries, I found a solution when I discovered the avalaible arguments list in master.cf (cf man pipe ). In [CODE] , I replace the line spamassassin unix - n n - - pipe user=spamuser argv=/usr/bin/spamc -e /usr/sbin/sendmail -oi -f ${sender} ${recipient} with this line spamassassin unix - n n - -... | 0 | 0 | 497 | 2017-05-21T18:40:52.740 | database_errors | serverfault.com | |
303,548 | How can I query my "subtype" tables? | I am trying to model inheritance in my database. The purpose of the database is to use it to emulate a directory structure in a desktop GUI. The directory structure is made up of nodes, which can either be a directory, document, or executable file. Each node has an icon ( the icons for the directory are determined at t... | Will there ever be another entity that extends the [CODE] entity (other than [CODE] )? If not, I don't see a lot of purpose to it, and would just store the [CODE] field in the [CODE] table instead of having a separate table. Anyway, after you've recursively built out your hierarchy of [CODE] s, you can just join to the... | 0 | 1 | 301 | 2021-12-06T00:30:56.890 | data_quality | dba.stackexchange.com | |
736,187 | server crashes under high load | We are running a setup that has gotten a lot of media attention these days and we expect the traffic to continue. We have 1 haproxy loadbalancer, 3 application servers(2 image, 1 general) and one databaseserver. The loadbalancer takes all the load and redirects based on url. The problem is that our application crashes ... | So we figured out the problem. It was, as it often is, the database server. We had 2 problems: 1) We had one mysql query that used three joins. Turns out this function was crashing Mysql. We rewrote this query to use 4 mysql queries without joins and that solved that problem. (Bit of a hot-fix, we will probably rewrite... | 1 | 0 | 1,448 | 2015-11-13T16:54:18.517 | infrastructure | serverfault.com | |
180,448 | How to add index to increase speed of mysql statement | How do I increase the speed of this mysql statement? taking 1.10s but was wondering if it could be made faster. [CODE] When using [CODE] : Stats of the query: | You should add an indexes for each table having [CODE] in the [CODE] of [CODE] . Columns used for index should be the same used for [CODE] s. In case of [CODE] table you have to add an index for [CODE] field while corresponding tables [CODE] and [CODE] should be indexed on the [CODE] fields each. The common rule is: Wh... | 0 | 2 | 229 | 2017-07-21T13:28:41.590 | database_errors | dba.stackexchange.com | |
327,611 | Automate user quotas for edquota to bypass vim | Possible Duplicate: Setting up disk quota on ubuntu for multiple users When assigning user quotas, one has to use [CODE] . However, this brings up the vim editor. Is there any way to bypass this. Observe this pseudocode [CODE] I want to create 100 users (with 1/100th of the hard disk space), and I don't want to edit 10... | If all of the quotas are the same for all users you can set quota to one (prototypical) user and then use [CODE] in for loop to duplicate the quotas of the prototypical user specified for each user specified. | 1 | 2 | 1,155 | 2011-11-04T00:12:24.927 | data_quality | serverfault.com | |
1,048,051 | kubernetes client-go plugin exec command not found on Windows 10 | Our client's core team uses kubeconfig with client-go authentication executing a python script to get token. They all use Macs. I use Windows with mingw64. No matter how I try to specify path to that script: forward slashes with drive letter between slashes or classic Windows style (even though it is present in PATH), ... | There is little documentation on using kubeconfig under Windows, so with a lot trial and error and a little help from @mdaniel's comment I came up with the following solution: I created a Windows batch file that contains one line: [CODE] and referenced that file with full path in [CODE] under [CODE] . I had to use [COD... | 3 | 2 | 10,434 | 2020-12-30T14:44:41.470 | pipeline_ops | serverfault.com | |
787,075 | OpenStack Horizon behind reverse proxy (nginx preferred) | Current situation: I have a Triple-O OpenStack installation (Liberty) where even the "public" network is in a private environment (10.24.7.0/24 network). The only way to get access to that network is via a gateway host. I'd like to make Horizon accessible from the internet using a reverse proxy. Due to security concern... | I was able to solve the second of the issues (error 1006) by changing some of the configuration options. As the other problem still persists I cannot confirm that the NoVNC console works from within the Horizon UI but when I call the NoVNC URL directly I get a connection and can interact with the instance. This is the ... | 2 | 0 | 5,414 | 2016-06-29T15:45:08.490 | pipeline_ops | serverfault.com | |
285,027 | .NET solution dependency workflow for a small dev team | We have a team of 5 developers working on a product and are at a crossroads trying to determine a better way (if one exists) of managing development workflow and project dependencies. We currently have two solutions, [CODE] and [CODE] . Core references 8 projects as dependencies ( not via NuGet ). [CODE] is essentially... | A classic problem - the simplest resolution is to do what everyone does, treat your Core product as a separate product, similar to how you'd treat an open source project you were reusing in your product. For example, I use log4net in my product. I don't have a copy of their source, I only take the latest stable dll and... | 1 | 1 | 507 | 2015-05-26T21:43:06.140 | api_errors | softwareengineering.stackexchange.com | |
220,240 | Column to be populated using other columns values | I would like to add a new column in my table using SQL code in PostgreSQL / PostGIS, the values in this column must be filled from the other eight columns and updated with a trigger as I insert data to a new line for the first rows. As I show in the attached image. I have used this code to alter the table, [CODE] But I... | The question on why you think you need that aside, you can simplify the concatenation using [CODE] which you can easily use in the trigger as well: [CODE] | 0 | 2 | 163 | 2018-10-16T12:47:20.933 | database_errors | dba.stackexchange.com | |
959,179 | Windows Remote Desktop Client fails to connect with error code 0x4 | When I connect to my Windows 10 machine from my Mac via Microsoft Remote Desktop client v10 or from Windows I'm getting an error: Your session ended because of an error. If this keeps happening, contact your network administrator for assistance. Error code: 0x4 | I reported this issue to MS via their Report Issue form on Mac Remote Desktop client and got the following response: Set this key to a high value, like 10,000 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server MaxOutstandingConnections DWORD Once I followed these recommendations the problem stopped. | 10 | 9 | 62,225 | 2019-03-20T18:55:56.377 | infrastructure | serverfault.com | |
67,877 | Sql job fails when connection string is updated with port number,where as it succeeds without port number | We have a sql job which creates package dynamically based on metadata config values.We have specified connection string of servers in below format. Source : sat\sql2012,5000 destination:tak3\war2012,55750 our job tries to first validate schema of metadata after acquiring source connection and then creates package and e... | You should not include the instance name when specifying the port, so instead of Source : sat\sql2012,5000 destination:tak3\war2012,55750 You should use Source : sat,5000 destination:tak3,55750 ** Note: following queries about this, I can find no documentation to support my answer. Consider it to be my personal experie... | 2 | 1 | 674 | 2014-06-09T14:46:47.007 | api_errors | dba.stackexchange.com | |
329,527 | Sql Server access user to database after restore | I've written this script to restore a database backup (from another server instance) and assign to a specific user an access to it. This script has run in powershell console I've already got a valid login in target instance [CODE] My trials When I've run this script under planned operation under Windows OS, the restore... | It seems the user is an orphaned user ie it exists in the database but is not connected to a server login. This is because users are mapped to server logins by SID not by name. You can reattach it using this [CODE] Having said that, I would strongly recommend you use the excellent DbaTools Powershell module . This can ... | 1 | 1 | 118 | 2023-07-21T12:37:49.450 | database_errors | dba.stackexchange.com | |
143,291 | What would be better long term: Creating many documents in MongoDB or fewer documents with nested arrays | I have a scenario I'm debating for my app. Let's say I have a Quiz application with a MongoDB structure that looks like this: [CODE] I'm torn between what's better long-term for my application: let each user have just one document and for each quiz he/she creates, it will be added to the "quizData" array of objects...O... | I'm torn between what's better long-term for my application: let each user have just one document and for each quiz he/she creates, it will be added to the "quizData" array of objects...OR...let each user's quiz have its own document in the MongoDB, where I create the above structure for each quiz (obviously, the "quiz... | 0 | 0 | 729 | 2016-07-08T00:05:32.803 | database_errors | dba.stackexchange.com | |
395,394 | Opening 443 in iptables doesn't work | I have iptables on my CentOS 6.2 machine. Installed and configured apache2 with SSL support and works with iptables disabled. When i add the following rule: [CODE] When i save this and restart iptables, the connection in the browser times out... Any suggestions? full script [CODE] | You added this rule to the end of your iptables. If you have a: [CODE] before this, the packets are dropped, before evaluating your rule. You should try putting the rule to the top (inserting, not appending): [CODE] Also, iptables are applied immediately, so it should work without saving/restarting restarting. | 1 | 1 | 877 | 2012-06-04T14:50:05.577 | infrastructure | serverfault.com | |
933,150 | What is meant by '550 Relay not Permitted' when it comes to emails? | For the past few months, I have been emailing a company with no problems. They have been able to receive my emails and they have been responding. A few days ago, they dropped me an email where my response was met with the following System Response: This is the mail system at host mail.example.com. I'm sorry to have to ... | This message "Relay access denied" or "Relay not permitted" means that the mail server received a message for a recipient at a domain that it doesn't handle email for, and it is refusing to accept it on that basis. While mail servers can be configured to accept and relay mail for domains they don't serve, this is calle... | 5 | 6 | 23,527 | 2018-09-28T15:01:01.017 | infrastructure | serverfault.com | |
401,353 | How to avoid code review bottlenecks when some of the team pair program | There is a school of thought that describes code reviews as the number one priority activity for all developers in a sprint since they are either: a) A source of unrealised value b) A source of bugs While I'm not sure I subscribe to such as black and white view, I do agree with the sentiment. But enough of the backgrou... | The teams should be empowered to review their own code, after all there's no one better qualified. GIT Pull Requests implement one of the easiest and most robust models for this: Code cannot be merged to master until it's been reviewed by X (two is recommended) other people, usually there's a stipulation of one dev and... | 6 | 9 | 918 | 2019-11-20T13:17:12.153 | api_errors | softwareengineering.stackexchange.com | |
168,264 | Automatically kill the IIS 7 process which is hanging | I have an intermittently occurring problem with my application. It is always under relatively high load (10-50 req/second). Most of the time it runs fantastic, with CPU Is there a service or tool I can use to monitor the w3wp.exe and automatically kill the process if it goes above 80% utilization for a period of time? | IIS can take care of this by itself; you can configure an application pool to be recycled (i.e. restarted) when its CPU usage stays above a certain threshold for a given period of time. | 3 | 3 | 3,941 | 2010-08-08T16:24:37.163 | infrastructure | serverfault.com | |
78,402 | Tables names in a supertype/subtype schema | I have 3 types of users in my app. The users share some common attributes, but they also have quite a bit of stuff that pertains uniquely to each user type. I have a person table that contains limited information about each user. I then have 3 tables for each user type: admin, reader, approver. Now, the design I have g... | Instead of changing the names of individual tables, I would recommend using schema names to denote the different types of users. For instance: Admin.Users Reader.Users Approver.Users Using Schemas in this way allows a more flexible method for controlling access since you can assign rights by schema instead of at the in... | 2 | 2 | 633 | 2014-10-05T08:27:43.430 | warehouse_errors | dba.stackexchange.com | |
472,955 | How to make upstart back off, rather than give up | I want Upstart to do two things: stop trying to respawn a failed process so fast never give up trying to respawn In an ideal world, upstart would try to restart a dead process after 1s, then double that delay on each attempt, until it reached an hour. Is something like this possible? | The Upstart Cookbook recommends a post-stop delay ( http://upstart.ubuntu.com/cookbook/#delay-respawn-of-a-job ). Use the [CODE] stanza without arguments and it will continue trying forever: [CODE] (I got this from this Ask Ubuntu question ) To add the exponential delay part, I'd try working with an environment variabl... | 23 | 29 | 11,068 | 2013-01-28T09:18:11.463 | infrastructure | serverfault.com | |
25,037 | Error in FUN(newX[, i], ...) : argument "Iclo" is missing, with no default | [CODE] [CODE] Error in FUN(newX[, i], ...) : argument "Iclo" is missing, with no default | This is the answer: [CODE] This would do the job. | 0 | 0 | 516 | 2017-11-23T06:12:08.190 | data_quality | datascience.stackexchange.com | |
237,537 | Progressive Enhancement vs. Single Page Apps | I just got back from a conference in Boston called An Event Apart . A really popular theme amongst the speakers was the idea of progressive enhancement - a site's content should go in the HTML, and JavaScript should only be used to enhance behavior. The arguments that the speakers gave for progressive enhancement were ... | It seems to me that single-page apps draw a line in the sand of progressive enhancement. Where before we might try to work around the fact that implementations and features vary between browsers going back for decades, SPAs assume that there's a certain baseline that we can reasonably agree most visitors of a given sit... | 35 | 22 | 6,836 | 2014-04-30T23:07:30.970 | api_errors | softwareengineering.stackexchange.com | |
745,198 | cyrus imapd broken after server restore from backup | I had to restore a vserver with a running installation of cyrus imapd from a 24h old backup. After that, imap clients are timing out and the log gets flooded with the following: tail /var/log/mail.info: Dec 24 20:59:16 h2229778 cyrus/master[3570]: service notify pid 10857 in READY state: terminated abnormally Dec 24 20... | The lack of lock files indicates that cyrus is not working, it could be that the database has been corrupted. You can try to repair DB using: [CODE] It does not show any output, buy you can open a tail -f to syslog to see what is happening. It it fails, you can try deleting /var/lib/cyrus/db/* and executing the same co... | 2 | 0 | 579 | 2015-12-25T00:00:26.853 | database_errors | serverfault.com | |
1,065,465 | Transfer DNSSEC signed zones on GCP | I'm transferring zones between different Google Cloud Platform accounts which have been signed using DNSSEC. I've put the new zone into DNSSEC transfer state but when I try to load the DNSKEY into the new zone I am get an 'invalid value' error. The old DNSKEYs are being retrieved by [CODE] , I've tried entering the res... | The error came from trying to replace the new KSK/ZSK, they must be in addition to the existing keys. | 0 | 0 | 48 | 2021-06-02T16:36:24.263 | infrastructure | serverfault.com | |
967,003 | Which file has chaged from one VM-overlay to the next? | I've a base image of a windows10 machine. [CODE] I have a bug of a app which I can reproduce. This bug does alter something on the system. I want to reproduce the bug on a innocent windows VM. All changes should be tracked in the overlay of this image. How can I retrieve the changes stored in the overlay? Which format ... | virt-diff can list the different files between raw or qcow2 images. It claims to allow diff between overlays, in which case try creating an empty qcow2 for the [CODE] argument. Or, compare guests with and without the overlay using the [CODE] option. Although the RHEL builds appear to patch out NTFS from libguestfs so y... | 0 | 3 | 246 | 2019-05-13T09:16:03.390 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.