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 |
|---|---|---|---|---|---|---|---|---|---|---|
44,071 | Which algorithm is perfect to determine best fit analyst based on multiple factors? | Assume I have a team of 200 analyst who work on different IT tickets. I want a better ticket assignment system which considers multiple factors before ticket assignment. Outstanding Ticket with each analyst - availability A skill score on the type of ticket Customer satisfaction Score Communication score, etc Now, as s... | One approach is a set of models which take the ticket as an input and churn out scores for how critical the ticket is, what kind of skill set is required, what kind of satisfaction score will be needed, and the communication skills needed. Based on these predictions, you could then write a simple rule-based algorithm t... | 0 | 1 | 77 | 2019-01-16T05:58:02.190 | data_quality | datascience.stackexchange.com | |
226,513 | How to make mount point in Solaris 10(installing Oracle RAC)? | I want to install Oracle RAC on solaris 10, using ASM but I am new in it... So I want to mount /u0 directory on the disk volume /dev/dsk/c2t0d0s2 1) I have created /u0 directory by root user like this: [CODE] 2) I've added the following entries in .vsftab file: [CODE] For to make file system to mount automatically. 3) ... | 1.) Check if Disk /dev/dsk/c2t0d0s2 exists you can use the format command to check 2.) If yes, does it have a ufs file system ? You can refer to http://www.softpanorama.org/Solaris/Disks_and_filesystems/solaris_ufs.shtml | 1 | 3 | 4,838 | 2011-01-25T08:15:35.573 | database_errors | serverfault.com | |
107,183 | How to calculate time spent for Linux system administration? | I would love figuring out how much time I actually have spent in shell performing administrative duties. For billing of course, this information is not sufficient, but it would be helpful to figure out how much time I have actually spent in shell. My question is: How anyone got tips on how to calculate time spent in sh... | Hmm theres a few ways from creating a file on login and logout to fully featured tracking software take a look here: http://www.cyberciti.biz/tips/howto-log-user-activity-using-process-accounting.html Or google for 'audited shell' If you use Emacs Org mode is used by a lot of people for this. | 3 | 4 | 1,465 | 2010-01-28T13:37:29.473 | infrastructure | serverfault.com | |
156,035 | SSAS Deployment Wizard - Issue with multiple connection strings | I've observed an issue with the SSAS Deployment Wizard. I have two environments DEV and PROD. A few weeks ago when I deployed anything on PROD I had one connection string only there to PROD (similar to this screen): But today I've observed that the SSAS Deployment Wizard window looks like this: Multiple connection stri... | What happened is that developers added new data sources instead of adding tables from an existing connection. In the future go to the Model menu... Existing Connections... Open. Then choose another table or query to import. This process is documented here . I don't believe there is a UI way of switching an existing tab... | 0 | 1 | 108 | 2016-11-22T15:42:18.463 | pipeline_ops | dba.stackexchange.com | |
871,069 | How to trigger a custom error from inside a Jinja template? | Though Ansible itself has a way for triggering a custom error , I can not find anything similar for Jinja. My current method uses a syntax error: [CODE] but those are rendered poorly at run-time -- one needs to look inside the template-file and search for the error (the rendering does not even include the line-number!)... | Answer from the comment: There is no easy way to accomplish this – only via custom plugin. For details see: https://stackoverflow.com/questions/21778252/how-to-raise-an-exception-in-a-jinja2-macro | 6 | 4 | 10,179 | 2017-08-29T14:52:35.973 | pipeline_ops | serverfault.com | |
655,968 | IIS 7.5 FTP and Virtual Directory | Software - Windows 2003 R2 - IIS 7.5 using FTP FileZilla (Protocol=FTP; Encryption=Require explicit FTP over TLS; Logon Type:=Normal; UserName=****; Passwword=****** Currently there are 3 virtual drives and when I connect via FileZilla they all display fine, however when I try to configure a 4th virtual directory it wi... | The "550 Keyset does not exist" error message may be caused by the pass-through authentication settings for the virtual directory. If pass-trough authentication is configured to use a 'specific user' rather than the default setting of 'application user' then the 550 error will be returned unless(probably) the 'specific... | 1 | 1 | 3,226 | 2015-01-02T20:06:11.947 | infrastructure | serverfault.com | |
2,659 | kNN - what happens if more than K observation have the same distance to the centroid of the cluster | EDIT It was pointed out in the Answers-section that I am confusing k-means and kNN. Indeed I was thinking about kNN but wrote k-means since I'm still new to this topic and confuse the terms quite often. So here is the changed question. I was looking at kNN today and something struck me as odd or - to be more precise - ... | You are mixing up kNN classification and k-means. There is nothing wrong with having more than k observations near a center in k-means. In fact, this it the usual case; you shouldn't choose k too large. If you have 1 million points, a k of 100 may be okay. K-means does not guarantee clusters of a particular size . Wors... | 1 | 4 | 7,530 | 2014-12-09T21:13:10.797 | data_quality | datascience.stackexchange.com | |
313,617 | Team constantly fails to meet sprint goals | We are a small software company with one product. We use scrum , and our developers choose the features they want to include in each sprint. Unfortunately over the past 18 month period, the team haven't once delivered the features they committed to for a sprint. I've read a lot of posts/answers stating something along ... | You should first ask, 'who cares'? Completing sprints feels good, and in some companies results in cookies from the scrum parent. But the ultimate test is whether the company is meeting its goals. The above is facetious. If the company is succeeding while never completing the planned content of a sprint, you might as w... | 128 | 153 | 29,132 | 2016-03-23T15:49:21.523 | api_errors | softwareengineering.stackexchange.com | |
1,132,194 | Moving from Apache2 to NGINX configuration | I have been trying to get my website up after moving from apache2 to nginx on my AWS Ubuntu 20.04 server. I have translated the relevant files from apache2 over to my nginx configuration, however I can't seem to get secure https access through page. Are my configs able to be sanity checked? I have allocated an elastic ... | Change the first line [CODE] of the file '/etc/nginx/nginx.conf' to [CODE] Then Restart the nginx server [CODE] | 0 | 0 | 218 | 2023-05-30T05:29:26.160 | api_errors | serverfault.com | |
721,384 | Can't enable and use network instead of NetworkManager | I'm trying to deploy RDO but can't follow some of its prerequisites : In case your system is running with NetworkManager, you need to disable it. Stop and disable NetworkManager: [CODE] I can follow the first two command with no problem. However, the third one gives me a response that I doesn't understand: [CODE] The s... | Somehow, using [CODE] works. | 2 | 1 | 8,149 | 2015-09-10T05:49:37.973 | infrastructure | serverfault.com | |
217,618 | How to handle process blocking in SQL Server Profiler? | I have run a SQL Profiler Trace which detected a process blocking. Now what should i do, if it always brings the same blocking event, each time duration is getting bigger. I have only one transaction which created a block, and I want it to be fixed in a trace only once, why it keeps repeating? Thanks | The Blocked Process Report event class indicates that a task has been blocked for more than a specified amount of time. To configure the Blocked Process Threshold and frequency at which reports are generated, use the sp_configure command to configure the blocked process threshold option, which can be set in seconds. Th... | 1 | 2 | 515 | 2018-09-14T11:26:44.670 | database_errors | dba.stackexchange.com | |
443,794 | Does apache 2.4 have a hard limit on connections somewhere? | Im using Apache 2.4 with prefork. My MPM directives are set as follows: [CODE] However my server-status page shows: [CODE] Notice the line that says 1024 requests currently being processeed with 0 idle workers. It just pegs at 1024 requests. Now at the top of my /etc/init.d/httpd I have ulimit -HSn 32768 so I don't thi... | According to the Apache 2.4 ServerLimit docs : There is a hard limit of ServerLimit 20000 compiled into the server (for the prefork MPM 200000). So, you should not be hitting the hard limit. I've had trouble adjusting [CODE] in earlier versions; try [CODE] and then [CODE] . (Using graceful and even restart failed to pi... | 3 | 4 | 5,013 | 2012-10-30T17:15:40.587 | infrastructure | serverfault.com | |
267,668 | Declaring lambdas in Java8 | What would be the best practice to declare lambdas in Java8 code? How it was designed to be used? For example, let's say that we have a method that accept a [CODE] . I want to provide function implementation that can be reusable. So I can do this: [A] Implement a [CODE] interface: [CODE] [B] Declare [CODE] as lambda in... | If you expect a function to be reused or shared, make it a method and use a method reference. If you just need a short, throwaway piece of logic, make it a lambda. Explicitly creating instances of a functional interface has no advantages and has disadvantages: Less idiomatic More boilerplate You commit to types up fron... | 4 | 5 | 2,099 | 2014-12-30T15:34:53.310 | api_errors | softwareengineering.stackexchange.com | |
317,771 | Modular Objects with conflicting implementations | I am working on a game framework that would allow users to use multiple mods/plugins to add additional features to the game. For the remainder of the post, I'll use the following definitions: [CODE] : code that requires changes to both the client and the server. For example, adding a new packet to the protocol. [CODE] ... | You are most likely feeling like all of your options will take you down a "very dark rabbit hole" because you are already in a rabbit hole, and the proper solution is to step back out of the hole and consider a new direction. Here is a link on how many games are developed which might address your concerns indirectly bu... | 5 | 1 | 240 | 2016-05-07T02:41:54.647 | api_errors | softwareengineering.stackexchange.com | |
348,131 | New SSL Certificate Installation Errors on | We replaced an old SSL certificate with a new wildcard SSL certificate from GoDaddy. We switched out this certificate last week and have been receiving calls from customers trying to register ever since about the following error. We cannot figure out what on earth is going on as we have tested this cert in IE 6,7,8, Ch... | [CODE] So, the DNS for classes.stcharleshealthcare.org is going to a server that is presenting the SSL cert for *.scmc.org. Check your DNS and/or your virtual host definitions in Apache. | 0 | 3 | 2,921 | 2012-01-09T16:30:27.580 | api_errors | serverfault.com | |
307,998 | Is there a reason for support multiple different releases? | I have a discussion with my team recently and I heard a suggestion for deploying multiple releases. Such as [CODE] and [CODE] . But I am thinking what would be the reason for customer want to use the older version. What if the bug was introduced in the older version we would have to make additional support to it. I see... | Older versions can bring stability to a software deployment. New versions of software may introduce new bugs, potentially crippling bugs. For anything mission-critical, only battle-tested software should be deployed in order to reduce risk. If you want the latest and greatest then put it on a desktop or other non-criti... | 5 | 9 | 398 | 2016-01-21T20:47:11.567 | api_errors | softwareengineering.stackexchange.com | |
243,725 | ServerName no longer works as SQL Server 2008 Default instance name? | Folks, Somehow in struggling to install something (Sage MIP), I have unsettled my system's SQL Server 2008 instance names. If I fired up SSMS and connected to "MySystemName" (while logged into MySystemName), I used to immediately connect and could view my databases. Now if I connect to "(local)" or "." I connect just f... | Have you checked the SQL Server logs? When SQL Server startsup, it logs things like the servername, IP address, and port number that it is listening on. Have you tried pinging the old SQL Server name? Does it respond? I've seen something similar before when a SQL Server was cloned (P2V), and the new VM was given a diff... | 0 | 0 | 553 | 2011-03-05T22:10:14.227 | database_errors | serverfault.com | |
568,466 | Security, hardening and NAT for RTP and SIP | I decided to create a VOIP server and it has gotten more complicated then I thought it would. So in order to make my server more secure, I keep it behind a pfSense appliance. I use IP filtering to reduce my online availability to only our remote office locations (all in NYC). I get this impending feeling people will wa... | Asterisk already has builtin methods to handle NAT related issues. Take a look at this article. If you still wan't to proxify, you can try SaRP , which seems to work for both SIP and RTP. | 1 | 0 | 1,247 | 2014-01-20T06:19:08.070 | api_errors | serverfault.com | |
1,118,994 | SIP Websocket to UDP proxy server | There is an ATS provider with SIP phones. It provides phones via UDP, as I understand, giving sip server , login and password for each internal call-line. I want to write a site with browser calls ability. As I understood, searching the web, I can't make complete calls (including audio streams) directly though UDP. For... | A gateway between SIP over websocket (webrtc) and SIP over UDP can be built using Kamailio SIP Proxy/Server and RTPEngine, one example that could be a good starting point is available at: https://github.com/havfo/WEBRTC-to-SIP Searching on the web should reveal other examples of using Kamailio+RTPengine for this purpos... | 0 | 0 | 740 | 2022-12-28T15:10:37.953 | api_errors | serverfault.com | |
611,949 | How to use # in url as a redirect rule in htaccess for apache | I am having a difficult time figuring out how to have the following work: I am trying to redirect a url in htaccess I am trying to redirect from [CODE] to [CODE] I have the following setup [CODE] However, it is not working because the browser redirects to [CODE] and returns a page not found. I have tried many different... | Actually, a friend help me out with this. [CODE] | 1 | 3 | 3,775 | 2014-07-11T15:30:27.927 | infrastructure | serverfault.com | |
2,385 | SQL Server 2005 Index Rebuild/Reorganize | I have checked my huge db and run some shrink tasks for 5 or 7 times. I got about 11 GB freespace. This DB is used for offline reporting operations. Before, when we create a report it was growing about 2 or 3 GB ( this is also strange but there about 6 millons lines of CDR logs imported and processed ) but last time we... | There are two different types of fragmentation to worry about: physical and logical. Physical fragmentation means the file that stores your indexes is fragmented at a file system level. Logical fragmentation means that page splits have occurred while inserted or updating data in an index. Incidentally, shrinking your d... | 4 | 8 | 2,261 | 2011-04-27T07:50:00.883 | database_errors | dba.stackexchange.com | |
390,057 | I can't execute anything on ubuntu server | [CODE] First of all, sorry for bad english... As seen above, even though the server did not perform a delete command has failed. Why is this happening? How do I import my local files? (SFTP, FTP is not working now T_T) | Try [CODE] | -1 | 4 | 1,634 | 2012-05-17T15:23:31.783 | infrastructure | serverfault.com | |
249,921 | Postfix: How to configure Postfix with virtual Dovecot mailboxes? | I have configured a Postfix mail server for two domains: domain1.com and domain2.com. In my configuration domain1 has both virtual users with Maildirs and aliases to forward mail to local users (eg. root, webmaster) and some small mailing lists. It also has some virtual mappings to non-local domains. Domain2 on the oth... | Yes, you can't have domain in both [CODE] and [CODE] . To overcome this you need set [CODE] in [CODE] [CODE] and in [CODE] [CODE] with this setup, email to root@domain1.com will be redirected root@localhost. Because localhost listed in [CODE] then postfix will apply alias in [CODE] | 3 | 1 | 3,610 | 2011-03-21T16:07:10.000 | infrastructure | serverfault.com | |
825,090 | MS DNS permissions on zones script add/remove/query | Anyone know an easy way to modify security across many zones? For example I have a hundred or so reverse pointer zones and I want to make sure a group has certain permission level on all zones. Is there a way to avoid right clicking each and going into security? Also I'd like all new zones to automatically get this gro... | You can use ADSIEdit for this. Connect to the DomainDNSZones partition: Right-click CN=MicrosoftDNS > Properties Security tab Advanced If DNSAdmins does not exist, add it, with Applies To: This object and all descendant objects, and check the Full Control box. | 0 | 1 | 6,040 | 2017-01-09T14:14:13.127 | infrastructure | serverfault.com | |
204,410 | How are GPL-compatible licenses like MIT usable in GPL programs without being subject to the copyleft provision? | I'm currently examining the possibilities and implications of linking against a GPL library for an application in a commercial context. From what I've understood of the GPL, as long as the application is used internally there is no obligation to release its code (even if a copy is moved to a controlled subsidiary). Wha... | How are GPL-compatible licenses like MIT usable in GPL programs without being subject to the copyleft provision? Short answer: They're not. They'll become subject to the copyleft. Long answer: The Wikipedia article on license compatibility has a good section on GPL compatibility : Many of the most common free software ... | 23 | 30 | 15,791 | 2013-07-10T21:59:52.730 | api_errors | softwareengineering.stackexchange.com | |
221,912 | When I try to access a website without www I get access denied | I have an apache web server on a debian machine. I'm using virtualmin to administer virtual hosts. I have two sites on this server right now, when I try to access one site without the www in the URL I get an access denied. The other site is fine. The site with the problem is a cakephp app and has the following .htacces... | What happens if you exchange ServerName with ServerAlias? [CODE] Then try to add another fake virtual domain. | 0 | 1 | 593 | 2011-01-13T07:18:38.990 | infrastructure | serverfault.com | |
993,989 | File is re-creating automatically on change | I have a weird problem on server after the attack. In the web folder I have the [CODE] with malicious content. When I try to delete, rename it or change its content it is re-created somehow. I checked crontab and ps but I haven't found anything suspicious. Also it is very interesting that if I change the owner of the f... | Probably some uninvited process is running on background and recreates the file if it finds out index.php is missing. Alternatively, the attacker did setup [CODE] which then reacts to file deletion event. Anyway, stop using that server in production if you did not already do so and disconnect it from the public interne... | 0 | 2 | 61 | 2019-12-02T10:53:22.323 | infrastructure | serverfault.com | |
754,478 | How to tell squid use Source IP address for sending requests? | I have two interfaces in my [CODE] , eth0 and eth1. Squid is set to accept connections from both of them on port 3000. However, [CODE] 's ip address is always used to send proxy requests, even if client has connected using [CODE] address. How do i force squid to always use just the source IP as tcp_outgoing_address (wi... | There are many types of [CODE] . [CODE] means the client IP and not the interface IP (local address). I use [CODE] acl type for that purpose: [CODE] ACL types are described in doc page . However, it's painful to write each address by hand. I don't think it's a final solution because of that. | 1 | 2 | 2,915 | 2016-02-06T19:05:02.840 | infrastructure | serverfault.com | |
69,899 | Heavy load of one of shards in MongoDB | I have a problem with one of our shards. For some reason I'm getting the next usage: 15:38:42 up 4 days, 10:28, 1 user, load average: 3.67, 3.50, 3.56 In the mean time all other shards are ok. Their average load approx: 16:49:58 up 11 days, 56 min, 1 user, load average: 0.03, 0.03, 0.05 I have 3config, 2 query and 7 sh... | The problem explained As per your comment, your shard key is the [CODE] field of the document. This field is monotonically increasing, basically like an incremented integer. Put simply, sharding works this way: documents are stored in chunks. Those chunks are spread over the cluster based on ranges of the shard key. Le... | 1 | 4 | 871 | 2014-07-07T20:54:07.210 | database_errors | dba.stackexchange.com | |
401,059 | 64-bit Hardware Virtualization on VirtualBox | I am trying to set up a SQL Server practice lab using VirtualBox and a trial copy of Windows Server 2K8 R2 in ISO format. I received an error message that states my processor does not support 64-bit hardware virtualization. Although I "Enabled" Intel ardware virtualization in the BIOS that still doesn't work. According... | On some BIOSes, you not only need to enable hardware virtualization, but also the "execute disable bit", or whatever it's called in that specific BIOS; without it, some hypervisors just won't work. | 1 | 4 | 3,307 | 2012-06-21T19:10:58.930 | database_errors | serverfault.com | |
273,291 | Schema to generalise potentially parametrised status | Let’s say I have some entity: [CODE] ...and I want to assign it some state, which has N possible values. Some of said states also come with a parameter. For example: foo bar quux, 10 quux, 20 quux, 100 I original set this up as a separate table, with the states and parameters populated by the application at runtime. Th... | Define a [CODE] that will migrate through to a [CODE] and provide a mechanism for a [CODE] constraint. DML (I'm doing this freehand, there may be syntax errors lurking): [CODE] From there you would migrate [CODE] directly to [CODE] or to an optional attribute [CODE] : Notes: There should be unique constraints on names/... | 0 | 1 | 29 | 2020-08-05T21:48:27.330 | data_quality | dba.stackexchange.com | |
236,146 | How can I convert emails to an emailable list? | I have been using a coming soon wordpress plugin ( https://wordpress.org/extend/plugins/custom-coming-soon-page/ ) for a site I will be launching in the next few months. It allows users to sign up to be notified of the launch. It emails my account with their address as the from address and a fixed subject line. I now h... | I hope this helps you: grep '^From: ' huge-mail-archive | egrep -o '\@/:[:space:]]+>@[a-zA-Z_.]+?.[a-zA-Z]{2,3}' | sort | uniq > email.addresses | 0 | 2 | 86 | 2011-02-16T11:35:00.320 | infrastructure | serverfault.com | |
40,228 | MySQL replication using a lot of IO | I'm having big troubles on a database pool I've setup recently. There is a master, and 4 slaves replicating one DB. All using MyISAM engine. Thing is, during the replication period (when the slave is not up to date), the IO% showing in iotop is equal to 99% for mysqld. Besides, I'm having a big latency when connecting ... | 2 questions: - Where is the IO problem ? On the master or on the replicas ? - If the IO contention is on a replica, can you create a TEST replica, replicating from the same master, but having innoDb engine ? The thing with MyISAM storage is that an UPDATE / INSERT query will lock the whole table. And the replication th... | 1 | 1 | 243 | 2013-04-17T14:12:04.163 | database_errors | dba.stackexchange.com | |
213,057 | How to link data from two spreadsheets imported to sql | I imported 2 spreadsheets to SQL Server tables. One sheet has data containing persons name & surname, the project they are working on as well as there banking details. The other spreadsheet has only the names & surnames of persons and banking details. Sheet 2 data needs to be grouped to the right projects like in sheet... | The only connection I found is that the Reference column in Sheet 2 has numbers that match the ParentID on sheet 1 but with a suffix appended. You need to match [CODE] value [CODE] (column [CODE] ) on [CODE] with [CODE] value [CODE] (column [CODE] ) from [CODE] . If data types would match you would simply do a direct [... | 0 | 0 | 66 | 2018-07-24T08:23:08.467 | database_errors | dba.stackexchange.com | |
784,966 | Jenkins for windows need java installed on system? | I am in the process of configuring jenkins on server. There is no Java installed on server. From the link, I understood that Jenkins windows installer will install JRE so that no need of external java installation. jenkins windows installer But when I ran the command java-version it returns error that no java installed... | It is possible that the setup installs a private JRE (see https://stackoverflow.com/questions/19510169/what-are-the-differences-between-private-jre-and-public-jre ) so it is not visible outside of Jenkins dir. | 0 | 0 | 200 | 2016-06-20T08:00:15.473 | pipeline_ops | serverfault.com | |
368,223 | Increase InnoDB buffer pool size | I am having difficulty setting the buffer pool size and log file size for MySql InnoDB. I am far from a MySql expert but have been reading around and it seems that to change this I just add these lines to my /etc/mysql/my.cnf [CODE] The server has about 7GB of memory and is also running a web server so I think these nu... | Make sure those lines are within the [CODE] section i.e. after [CODE] but before any other [CODE] such as [CODE] . | 12 | 7 | 45,882 | 2012-03-10T01:14:14.280 | database_errors | serverfault.com | |
284,486 | Dns server which is better bind or mydns? | I am going to start a new website which is going to require DNS servers. It might have over 10,000 zones and will get more zone files as we get bigger. The problem is, which dns server software do you think is more efficent: [CODE] which uses mysql to store the data or [CODE] which uses flat files? How do these DNS ser... | To my maind, BIND is better. It is easy to configure, you don't need to restart BIND except when you upgrade the software. What you should look into for BIND is the rndc command. Rndc allows you to reload an individual zone, while leaving BIND running. If you've edited the zonefile, rndc will publish the changes immedi... | 3 | 8 | 6,492 | 2011-06-27T13:29:19.507 | database_errors | serverfault.com | |
388,411 | Organizing and Creating a Custom Qt Widget | I am looking to create a digital Rolodex to keep track of contacts in Qt 5.9 and am uncertain how to efficiently create custom widgets. Examples online like the classic clock example show to completely override paint, but I want only to create a widget in design that is a collection of labels and buttons to display a l... | You can "promote" a widget to your custom widget . The gist is you point the [CODE] file to a header file that defines your [CODE] derived class, and the [CODE] generated header uses that class. However the visual look is that of the base widget (i.e. a blank frame for QWidget), and these are not added to the toolbox o... | 1 | 1 | 1,723 | 2019-03-11T16:40:42.860 | api_errors | softwareengineering.stackexchange.com | |
460,367 | Why ldapsearch is not working with anonymous bind after upgrading OpenLDAP to v2.4? | I have a setup of OpenLDAP v2.3 which I am using for last few years. Following are the lines in [CODE] for access control. [CODE] When I do ldapsearch using anonymous bind gives me result. For example following command gives result. [CODE] Now I upgraded the OS, CentOS from 5.5 to 6.3 so the version of OpenLDAP is Open... | I posted the question on OpenLDAP mailing list and got the answer. Thanks to Pierangelo Masarati. In OpenLDAP v2.4, search operation requires "search" privileges on the "entry" pseudo-attribute of the search base which was not the case in v2.3. man slapd.access(5): [...] The search operation, requires search (=s) privi... | 3 | 1 | 7,568 | 2012-12-23T04:40:18.230 | infrastructure | serverfault.com | |
309,744 | Are debug-build-only UI controls a bad practice? | Often, to simplify testing, I add UI controls that are only visible and enabled in debug build only. Or prepopulate mandatory input fields in debug build. Is this a bad practice? Assuming the release is tested too. Main reason is to simplify fixing bugs - when the problem is in depths of your program, it's quite a pain... | This is not so much an indicator of bad practices as a strict test of your deployment process. Obviously it is very bad if debugging controls, content, backdoors etc. get into production environments. But if they help you achieve the same business goal faster, they save the company real money. Therefore the crucial fac... | 1 | 7 | 167 | 2016-02-10T10:26:22.563 | api_errors | softwareengineering.stackexchange.com | |
119,593 | Optimize speed on 400GB MyISAM table | We have MariaDB server with single table with image url information. The table is about 400GB on disk and contains probably 400M rows. Table is partitioned in 1024 partitions. All queries are similar to this one: [CODE] The sql usually took 2 sec to be executed. Each row contains a single image url, a title and keyword... | We did profiling MyISAM without partitioning and it was slower. We did test InnoDB and we succeed to speed up inserts, but selects were still not as fast as we wanted. Later, we did migration to TokuDB. Because of TokuDB, at the moment table is about 100 GB and queries are very very fast. | 1 | 0 | 1,022 | 2015-10-29T17:15:57.177 | database_errors | dba.stackexchange.com | |
18,961 | Why is the page life expectancy 0 (zero) on SQL Server 2005 | We have been wanting to know the page life expectancy for our SQL Server. So we look at the counter using Perform. The value is ZERO and never changes. I thought there must be some bug, so I checked the SQL Server DMV query [CODE] That also returns zero, all day long. To make this more interesting, we checked the 'buff... | I would start with doing the steps outlined here: How to rebuild the performance counters of a SQL Server 2005 or 2008 instance Update August 2015: Above link appears broken . Alternative reference: Troubleshooting: SQL Server (2005, 2008) Performance Counter Collection Problems (CSS) Essential steps from the linked re... | 8 | 4 | 1,470 | 2012-06-07T17:47:57.970 | database_errors | dba.stackexchange.com | |
735,121 | SSH'ing from a different subnet. The router does not seem to route correctly | An EDIT was made at the bottom I have a macbook on 192.168.12.x subnet, and a debian machine with apache2 server with ssh enabled sitting on 192.168.1.x subnet. The debian machine has a static IP address that's given from the router (192.168.1.30). When I try to [CODE] from macbook, it gives [CODE] If I try [CODE] ... ... | If you have followed the link you provided to reconfigure ICMP redirections, you need to revert the changes. That document explains how to disable processing of ICMP redirects, whereas in your configuration you need to accept them. This is because you are running two subnets on the same physical network. The router can... | 0 | 0 | 2,585 | 2015-11-10T00:38:16.857 | infrastructure | serverfault.com | |
134,976 | Mounting windows shares with Active Directory permissions | I've managed to get my Ubuntu (server 10.04 beta 2) box to accept logins from users with Active Directory credentials, now I'd like those users to access their permissible windows shares on a W2003 R2 server. The Windows share ("\srv\Users\") has subdirectories named according to the domain account users and permission... | One option would be to setu pam_mount . It allows you to mount shares when a user logs into the system. With pam_mount the folder will be mounted with the users credentials. They credentials do not need to be saved anywhere, they will automatically be passed through by pam from what they used to login. | 4 | 2 | 5,377 | 2010-04-22T17:56:35.303 | infrastructure | serverfault.com | |
376,004 | IIS 6.0 on Windows Server 2003: HTTP 404 error on Virtual directory; system cannot find the file specified (win32 status code 2) | Very strange problem. I am running Windows Server 2003, with IIS 6.0. In one of the websites, there are three virtual directories: A, B, and C. For whatever reason, and, from my understanding, nobody touched the box, A and C are having a major issue. Any page in those virtual directories, whether you browse through IIS... | The answer appeared to be something outside of IIS by a program called KnowledeBase, which leverages IIS. Something or someone ran their administration or registration program, which changed one or two registry of their registry entries. Their registry entries include parameters that store the drive letter of data file... | 2 | 1 | 1,036 | 2012-04-02T17:55:19.023 | data_quality | serverfault.com | |
95,495 | The great Vanishing Act of INetMgr.exe on my Windows 7 x64 system | I'm facing an odd issue with the IIS Manager on Windows 7 (x64). At home, I have Win7 Professional, and when I check my IIS manager icon in the start menu, I see it links to [CODE] When I launch this from the command line, it works like a charm. At work, however, I have Windows 7 Enterprise (x64), and when I check my l... | That's an interesting one. Try launching your command prompt with elevated privileges in case UAC is fighting with you. My only other guess is that %windir% is set differently in your path for the command prompt somehow. Try navigating to it with the explicit path. Also, try creating a test file like 'test.txt' from yo... | 8 | 3 | 6,140 | 2009-12-17T22:00:59.570 | infrastructure | serverfault.com | |
952,965 | Can't connect to SAMBA over openVPN | Please help, i've tried searching the internet to solve this but i still could not make it work.. Server: Ubuntu 18.04 Client: OSX Mojave via Tunnelblick I'm trying to connect my client machine to the samba server via OpenVPN on AWS. Incoming port is already enabled for the openVPN in the AWS security group. VPN is con... | Several potential issues to check here here: you will need to enable ip forwarding on the VPN gateway you will need to add a route back to the host pool via the VPN gateway on the AWS subnet you will need the outbound traffic to not be NATed for the host pool on the VPN gateway (Cisco call this "NONAT" or "IDNAT") | 1 | 1 | 1,722 | 2019-02-08T13:16:05.830 | infrastructure | serverfault.com | |
155,475 | Anything obvious in optimization missed in my left join query? | I've really simple join statement, which take a lot time to complete. I would like to know if I'm missing any obvious optimization steps i could take. So I've got two tables, with the following [CODE] statements: [CODE] And this one: [CODE] I'm performing the following query: [CODE] This query takes a lot of time to co... | [CODE] Don't use [CODE] unless the value is a constant length. What fraction of the rows have 'face'? What percentage have [CODE] ? The optimizer, when given no good choice, starts with the smaller table. According to [CODE] , it found about 1 row with "needs_update". Probably that is far off, and you need to remove th... | 1 | 1 | 48 | 2016-11-16T15:29:10.920 | warehouse_errors | dba.stackexchange.com | |
533,733 | Bridge (?) that is doubly-connected to a network | Note: I think my question has a poor title but I am not sure how to fix it, so please correct if you think of something better. In my office our phones are equipped with a "daisy-chain" port so that users may plug in both their phone and PC into a single network port. One of our users messed up and connected the daisy-... | The loop-back (via the internal hub in the phone) caused your switches to go into a spanning-tree discovery loop. This slows down the network to a crawl, may even make normal operation completely impossible. Troubleshooting this is difficult as the problem itself makes LAN operation problematic. If you can't determine ... | 0 | 1 | 138 | 2013-08-26T07:51:53.423 | infrastructure | serverfault.com | |
1,041,129 | OpenVPN, no internet after connection | I have an OpenVPN server on Ubuntu and several OpenVPN clients on Windows 10, both are behind a router (port forwarding has been done). Each client can connect fine and can ping/connect to each other, they can also ping the DNS server (8.8.8.8) but cannot resolve DNS names (if I try to ping www.google.com or similar, I... | Solved, I deleted these 2 rows [CODE] from the file [CODE] on the OpenVPN server. Now clients can browse internet and communicate with other clients on the VPN, the only problem that reamins is that clients cannot ping DNS names (such as Google.com). However they browse fine, and that's what's important. | 0 | 1 | 993 | 2020-11-03T16:11:10.130 | infrastructure | serverfault.com | |
991,653 | How do I give a client a certificate for our website? | I apologise if this is a real noob question, but we have a server with IIS and it has a certificate, which has a private key, [CODE] I want to enable SSL and require client certificates in IIS for my website. Am I right in thinking that I would export this certificate as a .CER and give it to someone who wants to acces... | IIS require client certificate is a feature that never took off and has limited browser support. I would recommend you look into newer authentication features like: FIDO U2F - Is just as secure as certificate authentication if not more secure because keys are stored on the u2f device. TOTP/Google Authenticator - Secure... | 1 | 1 | 223 | 2019-11-13T11:42:27.690 | infrastructure | serverfault.com | |
187,503 | Cassandra 3.11 commit logs nightmare | Clean installs of Cassandra 3.11 nodes are working fine for me for a few days, and then ‘nodetool flush’ and ‘nodetool compact’ are starting to throw exceptions. After this, restarts after a ‘nodetool drain’, fail. forcing deletion of commitlogs. Is this a problem with 3.11 in general? If What version do we need to dow... | There is a bug in Cassandra 3.11.x series that means [CODE] and [CODE] fail when using a 32 bit install of Java. Switching to 64 bit version solves the problem. https://issues.apache.org/jira/browse/CASSANDRA-13897 | 2 | 1 | 175 | 2017-10-03T08:41:18.270 | database_errors | dba.stackexchange.com | |
593,589 | MySql table size increase | We have old Bugzilla installed 2.20 install Debian Sarge 32bit with MySQL 4.0 Server running fine. Unfortunately from Yesterday noon, It started through error stating below. [CODE] By the above error I understood that, The attachments table is full & checked it with command [CODE] I want know to how do I fix this issue... | This is not inherently a MySQL issue as you can see here in the MySQL documentation for the error message. You will need to determine what the problem is Check your kernel version ( uname -r ) Check your disk space ( df ) Check other things in the article I link to. Once you know the cause you can take appropriate acti... | -1 | 1 | 148 | 2014-05-07T08:51:43.180 | database_errors | serverfault.com | |
768,110 | Allow logon locally option grayed out | We have a Domain Controller running on windows2012R2. All local computers are on Windows10. When i try to login to one of the client computer with Domain User Credentials i get an error What could be the issue? I tried to add users to " Allow log on locally " Policy on Local computer with Local admin login but im unabl... | You need to manage this element via Group Policy Management. Czerw11 did a good write up of the process of using Group Policy Management to update this on your domain controllers via the Default Domain Controller Policy, you can extend this to your client policy as well. https://czerwsup.wordpress.com/2014/11/05/allow-... | 5 | 4 | 32,744 | 2016-04-04T19:13:23.363 | infrastructure | serverfault.com | |
1,059,251 | How to disable SoughtRules in SpamAssassin | I'm running SpamAssassin 3.4 via Amavisd 2.12, installed with [CODE] from EPEL on Amazon Linux 2. According to the SpamAssassin Confluence wiki ( here and here ), SoughtRules should be disabled, but ... I can't figure out where it's configured. How do I turn it off? I'm pretty sure it's running, because I keep getting ... | Check folder /etc/mail/spamassassin/channel.d/ - that's where the sought.conf resided on my system, and after renaming it to sought.conf.off, the nessage was no more. I know the question's old, but the very same problem reappeared for me a few days ago, and I thought I'd document a possible solution. | 1 | 0 | 300 | 2021-04-03T12:09:12.593 | infrastructure | serverfault.com | |
878,533 | Windows Server Active Directory in Security Account Unknown | Active Directory Security Account Unknown When I go to my Active Directory and right click on Properties and click on Security I get the following Users on in Security. Account Unknown with a SecurityIdentifier?? Is there something I am missing? I have not added them to the Active Directory before. Any ideas what this ... | It means the SecurityIdentifier cannot be resolved to an account. This is common for accounts that are deleted, but could be for other reasons such as a domain that no longer exists or a trust that no longer exists or is broken. | 1 | 0 | 213 | 2017-10-15T11:16:20.837 | infrastructure | serverfault.com | |
783,478 | Remove double slash in gitlab address | I set up gitlab on my personal server and used this answer and this answer (along with some input from this to make it work with my apache installation. Everything works fine, when I go to gitlab.example.com, I see the gitlab UI, can create accounts and so on. However, when I inspected the URI I get forwarded to, it is... | You might want try appending a trailing slash / to the ProxyPass target URL's i.e. change [CODE] into [CODE] since you're applying those directives to a path that also terminates with a trailing slash / (or only a slash in this case: [CODE] ) as the manual warns: If the first argument ends with a trailing /, the second... | 2 | 2 | 823 | 2016-06-12T13:04:25.240 | infrastructure | serverfault.com | |
299,672 | How to troubleshoot SQLServerAgent startup | I wonder what can cause SQLServerAgent to stay in "starting" stage after restart. The service restarted successfully, but I can't get details of any job, or start/stop/delete with msdb procedures. It gives the same error Msg 14258, Level 16, State 1, Procedure msdb.dbo.sp_is_sqlagent_starting, Line 9 [Batch Start Line ... | Ran query to discover what is growing tempdb, found a spid running from SQLAgent - Generic Refresher and calling [CODE] . Once I killed this spid Sql Agent Service came online properly and I am now able to run, view, drop jobs successfully. I dropped all jobs in case this happens again, not certain of root cause, perha... | 1 | 2 | 1,058 | 2021-09-16T02:48:19.483 | database_errors | dba.stackexchange.com | |
98,759 | What should we do when same column fields occurring multiple time in many tables? | I have more than 20 tables in my database. There are some columns which occur in almost all of the tables. In that case what should I do? Do I put all those columns in every table or is there a better way to solve this problem? Country Table Example [CODE] As we can see in the table structure above there are 9 columns.... | You can achive this by creating [CODE] table. In that table you can store all changes from those tables. You have to use [CODE] to populate data in [CODE] table. Take into account that if the history table stores all changes you need engine to populate it. Another approach is to have [CODE] table for each table that yo... | 2 | 0 | 206 | 2015-04-24T09:06:04.850 | warehouse_errors | dba.stackexchange.com | |
34,978 | Error Rate of Jmeter Execution Report | I execute jmeter script via Blazemeter and I got 2% error. Is it a acceptable rate? In detail report I observed 1353 request are failed. I just run the script for one user. In that case non of the request doesn't fail. So is that failures are due to performance issue? Following is summary of the report. Kindly help me ... | Most probably your application simply cannot handle the load of 50 concurrent users. With regards to "acceptable" - we don't know. If you're load testing a fan page of your local hip hop star - even 90% error rate will be acceptable. If you're testing an algorithm which will be deployed on a Mars rover and will have to... | 1 | 1 | 2,678 | 2018-07-28T19:54:58.273 | data_quality | sqa.stackexchange.com | |
695,824 | Available virtual memory size is less then pagefile size | When Windows runs out of memory commit size it starts showing 'Low memory' window and performs slowly. This low-memory warning is not directly related to free physical memory amount. One can have 7Gb free physical memory but be out of commit memory. This problem is easily solved by setting higher limit of virtual memor... | Why do you have a 32gb swapfile should be the real question. However really allocated virtual memory is showing only 13Gb available and available commit size is 19Gb lower than needed. Not sure what it is you're asking about here? I will tell you that statically assigning page file amounts is the better route. If you h... | 1 | 0 | 741 | 2015-06-01T13:58:36.890 | infrastructure | serverfault.com | |
430,852 | Centos IPTables configuration for external firewall | Current setup Centos which is a Web, Mail (Postfix,Dovecot), FTP Server and Gateway with public ip and private ip (for LAN Gateway). We are planning to implement external firewall box and bring the server to LAN Please guide on configuring IPTables... Unable to receive mail and outgoing mail stays in postfix queue and ... | You can simplify these rules to this. [CODE] Also you need to load the ftp tracking module. [CODE] I have added a rule to allow DNS lookups, as mail cannot operate without DNS. | 0 | 1 | 995 | 2012-09-22T03:32:27.397 | infrastructure | serverfault.com | |
331,396 | Check if a value is within a numrange in PostgreSQL | In PostgreSQL 16, I need to check if a value is within a [CODE] stored in a table. I found the following example with an [CODE] [CODE] But when I tried it with my [CODE] , I got [CODE] I'm not sure what I need to cast. How should I proceed? | TLDR Cast to [CODE] : [CODE] Why? There is an implicit cast from [CODE] to [CODE] . That is not the problem. The problem is that the numeric constant [CODE] (without single-quotes) initially resolves to type [CODE] , the operator you want is the generic [CODE] , and operator type resolution does not arrive there. [CODE... | 2 | 3 | 803 | 2023-09-20T12:50:01.553 | database_errors | dba.stackexchange.com | |
21,426 | How to rename a PostgreSQL cluster? | I googled and found this old web page , which said just to change the name of the directory. I tried it but it didn't work: [CODE] PostgreSQL 9.1.4, Ubuntu 11.10 | Update: version 166 of the [CODE] package added [CODE] . See Ilya's new answer about that. In older versions (including Postgres 9.1.4 on Ubuntu 11.10) the name of a cluster is bound to the name of the data directory in the "Multi-Version/Multi-Cluster PostgreSQL architecture" introduced by Martin Pitt. This is shipped... | 8 | 10 | 10,172 | 2012-07-24T20:49:10.197 | database_errors | dba.stackexchange.com | |
296,521 | Oscillations detector: how to effectively detect oscillations of a variable? | I monitor a variable in real-time where new value is generated every 1/25 second. Depending on the conditions, this variable may either be stable, i.e. fluctuate a little (+/-1%) around some value (for simplicity, I'll take real value of 40 from my recent experiments) or fluctuate widely from 0 up to 6x or 8x times big... | I tested a solution that keeps a running average of the previous N samples, and N samples before that. This has the effect of smoothing the noise out, but you can compare the differences between the two averages to determine if any significant change has occurred between the two. If this solution doesn't work, I have o... | 4 | 1 | 5,188 | 2015-09-05T18:02:16.253 | api_errors | softwareengineering.stackexchange.com | |
985,157 | Limit network bandwidth on fixed rate for all connections/users | I am looking for the commands in Linux to limit the rate of upload/download for all users to the fixed rate. I have three Linux commands that limit the network rate on OS. [CODE] When I try to download from this server with one client the download rate is 20Kbps, but when trying to download with two clients the rate re... | When you use the HTB qdisc, you should create a separate class for every user/connection, for those you want limit the bandwidth. Typical configuration of class tree: root qdisc (HTB, handle 1:0, default class 1:2) root class (HTB, classid 1:1 parent 1:0, rate 100Mbit) default class (HTB, classid 1:2, parent 1:1, rate ... | 0 | 0 | 1,315 | 2019-09-22T07:03:26.970 | infrastructure | serverfault.com | |
167,609 | Hint to force locks between 2 Select clauses | I have a process that run in parallel on several threads and also on several machines. In summary, the process has to 'lock' a row in a table named 'Queue' and then retrieves some columns from the locked row and do some other logic operations. My objective is to do this with the best performance: reliable info and fast... | If you add an OUTPUT clause to your UPDATE statement you could do all the work using one statement thus eliminating race conditions Available on SQL Server 2005 and later https://www.sqlservercentral.com/articles/the-output-clause-for-update-statements | 0 | 1 | 449 | 2017-03-20T10:28:11.190 | warehouse_errors | dba.stackexchange.com | |
796,598 | Check number of current connections/downloads with a remote server | On a compute cluster, I have several hundred jobs running simultaneously. They each download a single different file ( [CODE] ) from the same remote FTP server, and then process the file and save some computations somewhere. Problem: If the remote server gets too many download requests from my IP in a short amount of t... | If that's your ftp server, you need to fix it. If it's not, find a way to stop abusing it. Find out what the sites limits are and change your code to stay within those limits. Your code can be "self aware", i.e. you don't need to check netstat, etc... have your code keep tabs on it's own behaviour. You can also connect... | 0 | 1 | 163 | 2016-08-13T00:28:56.327 | infrastructure | serverfault.com | |
161,765 | Ubuntu 10.04 + Lighttpd. can't bind to port: :: 80 Address already in use | I've had a machine running Ubuntu 9.10, with lighttpd and PHP. After the OS update to Ubuntu 10.04, it installed apache2 automatically for some reason (I believe it is due to some dependencies php -> apache). Anyway I removed apache2 permanently, but starting lighttpd fails, giving provided error - can't bind to port: ... | Are you running lighttpd as root (sudo)? Normal users can't launch processes that bind on ports | 0 | 2 | 3,620 | 2010-07-19T12:14:40.447 | infrastructure | serverfault.com | |
6,641 | How to manage 10+ team environments with Helm and Kubernetes? | I'm looking for feedback on how we can improve our team environment and staging deployment process. We currently have 10 agile teams, and set up our Kubernetes deployments through Helm as follows: All our helm charts are in a single git repo. At the top layer of the repo we have a collection of bash scripts ( [CODE] , ... | My 2 cents. We have similar requirement like you do. We end up having multiple values files in the form of [CODE] and it should come with the defaults set to [CODE] We also have some shell scripts to deploy to the namespace. Something like this deploy.sh --namespace app. It is not without its problem, the number of fil... | 4 | 1 | 2,867 | 2019-03-17T22:13:10.347 | pipeline_ops | devops.stackexchange.com | |
43,626 | SSIS - How do I execute a single OLE DB Command for mutiple paths? | I have an SSIS package (2008 R2) that I'm working on and I find myself duplicating the same OLE DB commands repeatedly and whenever there is a change its a nightmare to go back through and update all the duplicate OLE DB command tasks. Is there a way to execute a single OLE DB command for multiple paths? | I don't think your reason justifies using this solution (sisyphean labor is part of a programmer's life...) It is not efficient and i would not recommend it in your situation. If, however, your aim was to perform one logical operation for several streams, and your streams have similiar data structure... , there is a wa... | 2 | 2 | 1,652 | 2013-06-02T05:13:46.270 | data_quality | dba.stackexchange.com | |
205,350 | Unable to start Oracle Enterprise Manager | Had some passwords expire, and this knocked out my OEM (11g, SE). Cleared this up, so that SYSMAN is not locked or expired (nor is DBSNMP, SYS, SYSTEM, all of which may or may not affect OEM, depending on various sources). emctl start dbconsole gives me "failed" every time, and points me to a log directory containing a... | I suppose that log directory is something like $ORACLE_HOME/hostname_SID/log. You should ckeck these files: emdctl.trc, emagent. , emoms. . But the best thing i think you can do is backup those logs, delete them and then try to start dbconsole again. You will have a "clean slate" and will have to go through a lot less ... | 0 | 0 | 668 | 2010-11-23T21:20:03.183 | database_errors | serverfault.com | |
1,031,334 | How to Enable Immediate CGI Line Outputs With Nginx, Without Waiting for a CGI Script to Finish? | I have a perl and shell script that process a bunch of data and output results as they happen, like: [CODE] etc. However, when I visit the URL with Chrome, it shows nothing, waits until the script finishes, then shows the entire output at once. Is there a way to configure nginx to show each line output as it happens? I... | You need to tell nginx to not buffer the response from the FastCGI server, with [CODE] . From the docs: When buffering is disabled, the response is passed to a client synchronously, immediately as it is received. nginx will not try to read the whole response from the FastCGI server. The maximum size of the data that ng... | 0 | 0 | 968 | 2020-08-24T22:29:56.047 | infrastructure | serverfault.com | |
463,745 | Linux-HA Pacemaker.. NFS Resource starting "unmanaged" | My cluster I've been working on just starting acting up out of no where... It looks like I'm having an issue with the exportfs resource. Any ideas on how to troubleshoot this? I can find nothing for a "-2" return code [CODE] | The ubuntu server package had outdated resource agents. There was a bug in the exportfs resource agent that caused the nfs rmtab to grow to an immense size (which is why the time outs were occurring). I upgraded the resource agents from github and removed the 2GB rmtab. Everything was fine after that. | 0 | 0 | 1,496 | 2013-01-07T17:20:27.920 | infrastructure | serverfault.com | |
939,320 | Postfix: How do you configure postfix to manage a list of banned destination emails ie with smtpd_recipient_restrictions | We basically want to avoid sending several emails to destination email addresses that have already been bounced. I have a list in a database (currently sqlite, and also a flat file) of banned email address, namely addresses that have been previously bounced. I would like to configure postfix to reject target that are p... | The methodology using smtpd_recipient_restrictions (described in the above link) actually works, it was just a matter of directive order. Order matters within the options! | 2 | 1 | 303 | 2018-11-09T14:38:42.583 | infrastructure | serverfault.com | |
320,862 | MySQL suddenly blocks access from particular IP | I'm using [CODE] on [CODE] I didn't make any changes since weeks. My websites are on another server. So it's a remote connection. Since some hours ago my website suddenly cannot access the MySQL server. I'm using [CODE] for that. Another website of mine which also has a remote access to MySQL is able to connect without... | It is useful to identify whether all connectivity is toast, or just a specific Type-P connectivity. Here's at least three types of connectivity worth trying: TCP port 3306 (mysql) TCP port 443 (https) ICMP (ping) If some but not all IP transport is usable, that suggests that core internet routers have a usable BGP4 rou... | 2 | 0 | 142 | 2022-12-12T16:43:46.260 | database_errors | dba.stackexchange.com | |
605,931 | Can you use Redirect and Proxypass at the same time | I am using Apache 2.2.15 on CentOS to provide SSL for a TomCat application. [CODE] This works fine and everything is great; however, I want to add the following line: [CODE] before the above to handle an error in the TomCat application itself. However, it does not appear to work the way I expect (i.e, it appears to do ... | Yes! Above the [CODE] , add: [CODE] That'll force the proxypass to not act on the page that you're trying to redirect. | 23 | 32 | 27,931 | 2014-06-18T03:50:30.023 | infrastructure | serverfault.com | |
981,695 | How to detect timeouts in an expect script | Consider an expect script that spawns a command and waits for a sequence of events. We use this to test software. I'm trying to always get a failure return value from the script when there is a timeout. [CODE] This script will always return 0 (success) even when the timeout hits. The only way to handle timeouts is to c... | Commenting on meuh's answer , [CODE] takes the same arguments as [CODE] , so you can write it like this: [CODE] | 7 | 5 | 4,222 | 2019-09-03T13:51:23.243 | infrastructure | serverfault.com | |
559,211 | Yum repo server as archive cache | Our software stack requires some specific versions of RPM packages. Unfortunately some of these packages become deprecated over time and get removed from their repos since their maintainers don't keep archives (EPEL, Percona, ...). It is a problem in configuration management. We want to make sure we provision a new mac... | I think [CODE] is a great tool for this. You point it at an upstream repository and it will mirror locally. The configuration option [CODE] , [CODE] , etc, will prevent it from deleting packages from your local mirror when they are deleted upstream. Dag's mrepo | 5 | 3 | 2,516 | 2013-12-04T16:50:47.380 | hadoop_errors | serverfault.com | |
245,326 | How to prevent trigger from overwriting values that were explicitly set? | I tried this but doesn't work because [CODE] is never [CODE] (I suppose [CODE] gets populated by the values currently in the row in addition to the values in the update-statement?): [CODE] How can I make it set [CODE] only when [CODE] is not explicitly set in an update-statement? So that the trigger doesn't overwrite m... | [CODE] contains the current values in the table, [CODE] the values like they would be after the [CODE] . If [CODE] , it is clear that [CODE] must have been changed by the [CODE] statement (or a previous trigger). If [CODE] , you cannot know if [CODE] was specified in the [CODE] statement or not — the [CODE] could have ... | 0 | 1 | 1,124 | 2019-08-14T13:04:33.733 | warehouse_errors | dba.stackexchange.com | |
938,174 | Curl SSL error certificate has expired | I'm doing with python for getting result from API URL. But it happened like this: [CODE] Curl also the same issue: [CODE] I have a look https://curl.haxx.se/docs/sslcerts.html but still don't understand how to solve this issue. [CODE] I don't understand this issue only happen with this machine, on my localmachine it wo... | SSL certificate problem: certificate has expired TLS certificates contain two dates and will be not valid before the start date and not valid after the expire date and verification will fail if the time/date on the client is outside of that time range. That can have two reasons, the certificate is actually expired, or ... | 1 | 4 | 21,618 | 2018-11-01T08:33:48.720 | infrastructure | serverfault.com | |
919,819 | How to use SAMBA on an Amazon S3 mounted directory on Ubuntu VM | I had successfully configured a SAMBA share on /home/myusername on an Ubuntu 17.10 VM . I then used s3fs-fuse to mount an S3 bucket on that exact directory, i.e. /home/myusername. It worked too, any files I created in this directory were created in my S3 bucket. However, I am no longer able to access my samba share. I ... | Solved the problem. By default s3fs blocks other users from accessing the bucket. Had to make two changes: Uncomment user_allow_other in /etc/fuse.conf While mounting, add -o allow_other in the command s3fs bucketname /local/path -ourl= https://s3.amazonaws.com -o allow_other | 3 | 3 | 2,636 | 2018-07-06T16:58:52.873 | infrastructure | serverfault.com | |
339,905 | Mysql password no longer working | Does anyone know if a power outage could somehow have corrupt the mysql logins? We had an outage the other day, my mysql logins no longer work. The mysql process seems to be running fine. Any idea how I can recover from my current predicament! [Edit] It now seems the user account no longer exists! [/edit] | The power failure can cause some mysql tables to be marked as corrupted and should be checked. Before that, you will not be able to query such tables. I remember I faced a similar problem of corrupted tables. Most likely, the tables with ongoing updates will suffer from such an error. I suggest that you restart mysql w... | 1 | 3 | 81 | 2011-12-11T14:47:01.033 | database_errors | serverfault.com | |
473,731 | Moving uploaded files through a DMZ | I'm transitioning a web app (runs on LAMP) from a single host to a configuration with the php/apache app running on a public facing server in a DMZ. The app connects to mysql which is sitting in a private network behind the DMZ. My main criteria I have been given is to keep all user data (in the database or user upload... | You really can't have it both ways: If you want to access a resource on the file server from the web server you need to open a firewall hole for it. There's really no difference punching the hole for NFS versus MySQL -- If someone breaks into your web server they can get your MySQL database (or at least grab the creden... | 1 | 2 | 1,533 | 2013-01-30T06:54:24.097 | api_errors | serverfault.com | |
477,674 | Maillog help - ' removed ' | I'm seeing some strange behavior from the maillog while tailing it and I'm wondering how to know if it a hack, whereby bad emailers (spammers) use legitimate mail servers behind the scenes to send their spam. This will obviously end up getting the poor innocent guy blocked. But my question for what looks like a legitim... | It means the message was removed from the mail server's local queue because it was successfully sent on to the destination mail server. | 5 | 9 | 6,583 | 2013-02-11T16:28:52.307 | infrastructure | serverfault.com | |
150,854 | Why is the value 0 for the Max_data_length of my tables in my database | We are using a commercial version 5.6.16 of MySQL database which seems to have a 4GB limit. We have hit 3.96GB and are experiencing performance issues with the database. We came across some documentation that says you can increase the database size by increasing the max data length. Anyway when I use the call [CODE] in... | Table size limits are affected by the OS and the file system. From MySQL (5.6) documentation, Limits on Table Size : The effective maximum table size for MySQL databases is usually determined by operating system constraints on file sizes, not by MySQL internal limits. The following table lists some examples of operatin... | 0 | 1 | 1,438 | 2016-09-28T10:32:51.253 | database_errors | dba.stackexchange.com | |
663,027 | Open firewall ports on MSSQL for SCOM | I'm trying to figure out which ports I have to open on my MSSQL-Server to let the SCOM (System center operations manager) connect successfully. I've tried: [CODE] firewall -> [CODE] successfully connect. new rule [CODE] -> [CODE] successfully connect. If I just enable [CODE] no connection can be established (from Techn... | I had to configure the static ports for IP1, IP2, IPAll, Erase the [CODE] at [CODE] and set [CODE] to [CODE] , however, Im using a named instance. also open firewall ports Once you have static ports, you'll need to enable access to 1433 TCP and 1434 UDP. (Katherine Villyard) See Screen Shots for configuration details. | 1 | 2 | 1,849 | 2015-01-28T12:53:41.843 | database_errors | serverfault.com | |
730,962 | NS Zone Records and Name servers when using Secondary DNS provider | I am attempting to setup Secondary dns with a well known provider. The goal is to have DNS served from 2 providers. The secondary DNS provider will mirror records from the primary dns provider so I only have to update them in one place. I am reading through their instructions and need clarification. Step one is: [CODE]... | Neither of those steps accomplishes the mirroring of your records into the new provider's servers. You need that to be completed before you delegate to the new servers. I am assuming this means on the current DNS's provider I add the records to their dns zone/system file. Correct. If I do this ahead of time will this c... | 0 | 1 | 134 | 2015-10-22T19:08:06.120 | infrastructure | serverfault.com | |
212,892 | How to Reduce Mysql Size After Dropping Table | I dropped a corrupted table with large size to reduce the server size. But the server size still the same! I entered the MYSQL location in my server and found a .ARN file with the name of the dropped table with 28GB size. I tried to optimize the table after dropping it, but sure its not exist Is it safe to remove .ARN ... | You seem to have leftover some temporary file of the ARCHIVE engine: https://dev.mysql.com/doc/refman/8.0/en/archive-storage-engine.html This engine is barely supported, and I would not be surprised that is has bugs. Assuming there is no .arz file, and that no client is accesing it, it should be safe to drop. One recom... | 1 | 1 | 491 | 2018-07-22T09:27:21.760 | data_quality | dba.stackexchange.com | |
405,365 | Troubleshooting Website problems within the local network | Have an external website which opens fine on some PC's, yet seems to time out (or symptoms of timing out, but never actually does) on others. Seems to only affect (some) of our newer HP Pro 3305 MT Workstations . All of which are running Win7 32bit SP1 with all updates. Older PC's (Win7 32bit SP1 & WinXP) are unaffecte... | As of this morning this issue is 'fixed'. I have worked (via email) with Piers Karsenbarg on several different avenues of resolution, all to no avail. Nothing has been changed on the website and nothing has been changed on the machines - except some Windows Updates. Can't thank Piers enough for getting involved with th... | 6 | 0 | 2,147 | 2012-07-06T11:18:58.087 | infrastructure | serverfault.com | |
818,889 | Collectd and exec: line 1329 near `<newline>': syntax error, unexpected EOL | Trying to use exec plugin with collectd: [CODE] : [CODE] I've simplified [CODE] to this: [CODE] The error: [CODE] There definitely is the new line at the end of both files. No windows EOLs. Nothing in logs. No line 1329 in /etc/collectd.d/redis_simple.sh. Any help would be appreciated. | Sounds like you need your [CODE] (and [CODE] ) to be moved out of [CODE] , so collectd doesn't try parsing these as configuration files Or: look at your [CODE] , there may be something like [CODE] that you may replace with [CODE] " | 1 | 3 | 661 | 2016-12-05T21:24:44.927 | database_errors | serverfault.com | |
175,758 | 'LDF' is not a valid database file header. The PageAudit property is incorrect | I 'am trying to import database into sqlserver 2008 using this query [CODE] but it failed with Error: The header for file '/home/elsayedawd/DATA/data-base-dumbs/database-9/LIQ_DEV_V9_log.LDF' is not a valid database file header. The PageAudit property is incorrect. SQLState: S00015 ErrorCode: 5172 | Ok , is it possible to import without log file? Yes, but stop using deprecated procedures like [CODE] (see the big warning at the top). Next, you need to supply paths to SQL Server that make sense. Can you get to [CODE] in Windows Explorer? Can you do that when logged in as the SQL Server service account? [CODE] This m... | 1 | 3 | 2,733 | 2017-06-08T10:43:55.460 | warehouse_errors | dba.stackexchange.com | |
560,452 | Best way to whitelist 1e100.net? | I'm trying to block all http/s traffic and whitelist a very small handful of websites. iptables works well to whitelist simple websites. It falls apart on the asynchronous client-to-other connections. Google does this a lot. Most of Google's apps will eventually ask the client to make an async connection to Google's *.... | I vote for Braiam's suggestion. Use a proxy, like squid, in transparent mode. This means that you set your router to redirect all of the outbound http/s traffic on your proxy (but the proxy's own traffic of course). For maximum ease, deploy your proxy in a machine other than your router. And yes, you can make both whit... | 0 | 1 | 1,622 | 2013-12-10T17:34:15.527 | infrastructure | serverfault.com | |
63,641 | Error 0x80070570: How to delete corrupted and unreadable file? | On my system partition I have a folder which cannot be deleted. This folder has been created by restoring files from an Acronis TrueImage backup. The error message says: Error 0x80070570: The file or directory is corrupted and unreadable. I already tried running [CODE] when booting several times but the problem persist... | Perhaps try ntfsfix (or similar program) in your favourite linux (or knoppix). Usually located in package 'ntfsprogs'. Sometimes trying to delete from Linux (with ntfs-3g or other ntfs-write-support) helps. Knoppix (Linux-Live-CD/DVD): http://www.knoppix.net/ | 19 | 13 | 355,976 | 2009-09-09T08:30:50.290 | data_quality | serverfault.com | |
907,216 | lvcreate can't take a snapshot; "Unable to create new logical volume with no extents" but target volume filesystem has plenty of space? | Long story short: I'm trying to create a snapshot of a volume using lvcreate using the following command: [CODE] I get an error saying "Unable to create new logical volume with no extents." After some digging, I discovered that the volume group in question has no free space according to vgdisplay, even though df -h sho... | LVM extent allocation and filesystems on top of logical volumes have no significant relationship. LVM commands operate on LVM, and don't care what you use logical volumes for. You're trying to make a snapshot logical volume, which will require free extents in your volume group to create - a snapshot is really just anot... | 1 | 1 | 2,161 | 2018-04-11T17:52:08.473 | database_errors | serverfault.com | |
495,678 | new Catalyst 2950 switch, no console or telnet CLI access | I am connecting a brand-new Catalyst 2950 switch to my LAN. It is on with green lights, and frames successfully go in and out the ports. The switch is on the same LAN has my host PC, and pings are successful. I had an RJ-45 Ethernet cable connecting a switch port directly to my PC network interface, with the intention ... | Had the same issue. They have made it even easier to configure these things. Read the "getting started" portion of link below. All you need is a straight through cable and just run through the setup real quick and enable telnet. Then you can telnet to it and set what you need to configuration wise. A lot easier than hy... | 2 | 3 | 9,409 | 2013-04-03T09:08:20.807 | infrastructure | serverfault.com | |
608,235 | Consistently slow domain logins / folder redirection | I've been trying to diagnose slow logins to my domain. One of my first stops was Domain login very slow 10+ minutes . So far I've been able to tell it has to do with my policy that applies folder redirection and administratively assigns offline files. Enabling this policy reliably adds from 30 - 90 seconds to the login... | I tracked down the culprit. The same group policy that applied the folder redirection / offline files also took care of drive mappings. We had set up a mapped drive that only was supposed to map to certain people, and then only from specific workstations. The server in question started using IPsec a while ago. Instead ... | 7 | 3 | 10,430 | 2014-06-26T19:03:22.723 | infrastructure | serverfault.com | |
5,024 | Is the GA R package the best Genetic Algorithm package? | I am learning about Data Science and I love the Healthcare part. That's why I have started a blog and my third entry is about using Genetic Algorithm for solving NP-Problems. This post is https://datasciencecgp.wordpress.com/2015/01/31/the-amazing-genetic-algorithms/ I have some expertise with GA package solving proble... | For such questions, I like to go to the Task Views on CRAN, since the packages noted there are, to a degree, pre-vetted by the R community. I'd trust those a tiny bit more than just googling myself. The Machine Learning Task View at CRAN says: Packages rgp and rgenoud offer optimization routines based on genetic algori... | 6 | 5 | 9,840 | 2015-02-03T10:14:53.543 | data_quality | datascience.stackexchange.com | |
119,358 | Azure TempDB and Log files | I'm setting up an Azure D11 SQL Server to be used for a data warehouse. I can only attach 4 data disks and have done so, now I need to determine how to configure them and split the DB files. I'm trying to adapt MS guidance to my specific situation. Traditional Design: [CODE] I'm expecting their guidelines are for gener... | Azure IaaS is a different animal than traditional on-premise servers (virtual with a SAN or purely physical). You will get at best 500 IOPS per drive attached. General recommendation is to use storage pools to stripe multiple drives to increase throughput. With only four drives available on a D series, I would do the f... | 2 | 2 | 1,184 | 2015-10-27T21:15:47.117 | database_errors | dba.stackexchange.com | |
961,857 | BIND zone file error | Im having an issue with a zone file in BIND. Here is the zone file, private information is masked. [CODE] Whenever i run named-checkconf xx.com i get this error: [CODE] And then BIND doesnt start up. Anyone see any issues with this file? | As it name implies [CODE] is to check Bind configuration files, not zonefiles! To check zonefiles you need to use [CODE] It will let you know that your zone has a problem because your in-bailiwick nameservers have no [CODE] nor [CODE] records. PS: do not obfuscate things so badly, [CODE] and [CODE] are valid global pub... | -3 | 1 | 3,230 | 2019-04-07T01:27:53.947 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.