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 |
|---|---|---|---|---|---|---|---|---|---|---|
217,811 | Mysql subquery not recognizing the subquery join table field | I have a three tables. The main table is the journeydata and next table is the alarm tables. The primary key for journeydata is journeydataID and its available as key in the alarm tables. Next in the alarm table there is a fenceID which is a primary key of another table that is fence table. Below I am trying to run a s... | Your derived table is missing the extra field it is looking for try this: [CODE] There might be more that needs fixing, but I would need a little time to look over the query and information you have provided. Try this for now. EDIT: Added the (untested) distinct grouping and formatting of [CODE] as requested. | 1 | 2 | 116 | 2018-09-17T15:34:29.313 | database_errors | dba.stackexchange.com | |
190,252 | Automate Leaving and Joining Domain in VCenter | The scenario is this: there is about 40 workstations that get regular backups and I would like to convert them to VMs and send them off to a disaster recovery site and then add them to the VCenter server cluster I've got there. Everything works great up until the point of putting them back on the domain... Using PowerS... | Yep. Invoke-vmscript in PowerCLI will do that for you. In fact, it looks like someone wrote something already here ! | 1 | 1 | 1,536 | 2010-10-12T21:16:24.843 | database_errors | serverfault.com | |
383,842 | Add a SQL user similar to a current user via PowerShell? | I'm slowly but surely perfecting a new user script. As it is, my script will do everything to add a new user to our domain, except one thing. We have an in-house program, webpage front end that connects to a SQL database. Typically I go to the webpage and open up a current user for reference, then add the new user with... | You can use the standard .Net data access objects to execute SQL or stored procedures on your database. I don't know the details of your problem, but your script will probably begin something like this (with a couple of changes if you are using a non-Microsoft database): [CODE] OK - so that's not a totally realistic ex... | 0 | 0 | 311 | 2012-04-27T15:01:45.243 | database_errors | serverfault.com | |
68,299 | 1GBit copy throughput, protocol independent | I've a question which bothers me since quite some time now. I have several environments and servers. All of them are connected to 1 Gbit ethernet swiches (e.g. Cisco 3560). My understanding is, that a 1 Gbit link should provide 125Mbyte/s - of course this is theory. But at least it should reach ~100Mbyte/s. The problem... | If it's all a per-stream thing, then you're coming up against the "bandwidth-delay product" problem. Basically, there's a limit to how much data will be "in flight" at any one time (in TCP, that's the "window size"), and for a given round-trip delay, you can't get more than a certain amount of data across in a given ti... | 0 | 1 | 454 | 2009-09-24T08:03:56.647 | infrastructure | serverfault.com | |
259,196 | mdadm fail, disk won't show up | One of my disks failed in my raid array: [CODE] : [CODE] When i tried to remove then re-add the drive the following happened: [CODE] [CODE] returns nothing. Can you tell me what's happening now, especially because [CODE] looks fine. Tried to Google it but nothing interesting come up. Update (just for verbatim), now [CO... | Sounds like the [CODE] drive is dead. I'm guessing [CODE] was for booting, which means it probably didn't get accessed much so its driver doesn't know sda1 is dead too. Before you reboot the computer, make sure that you've installed grub to sdb since the BIOS probably isn't going to be able to boot off of that first dr... | 2 | 1 | 1,060 | 2011-04-13T12:13:12.083 | infrastructure | serverfault.com | |
849,125 | Server Request URL appears wrong when doing reverse proxy | My goal is so when somebody visits [CODE] , they get served content from [CODE] . Both sites run Apache 2.4 and Ubuntu (14.04 and 16.04 respectively). I have the following code in the top of an index.php at the root of the [CODE] folder for the [CODE] server. [CODE] When I visit main_site.com/blog in the browser, I get... | WordPress doesn't just believe the [CODE] is missing: it actually is missing. You should have: [CODE] And you may also need to adjust Domain and Path strings in [CODE] headers: [CODE] | -1 | 1 | 76 | 2017-05-09T18:37:04.027 | infrastructure | serverfault.com | |
14,029 | ansible playbook cannot apply, giving host unreachable error | I'm completely new to ansible and I'm having a hard time with it. I have an inventory.yml file which is as the following: EDIT: changed my inventory.yml now looks as follows inventory.yml: [CODE] also I have a playbook called kube-repos.yml which is as follows: EDIT: changed kube-repos.yml now looks as follows: kube-re... | Do the following for each Vagrant machine you want Ansible to work with...in this example, using the machine [CODE] : Do [CODE] Enter content from [CODE] into your [CODE] , modifying it as needed, like this example for some machine named [CODE] : [CODE] Then, in your hosts (inventory) file, include the login informatio... | 0 | 1 | 1,135 | 2021-05-31T17:11:10.433 | api_errors | devops.stackexchange.com | |
139,353 | potgresql foreign key index unused for some columns on one specific server | I have a table publication, with two columns [CODE] and [CODE] (there are, of course, more columns, but they are not important) on a server, all containing int8 foreign keys to tables [CODE] and [CODE] , respectively. My problem is that while indices are present for both columns, they are not used for [CODE] , so from ... | It seems that the table [CODE] needed a [CODE] . After freeing up enough space for that and running it, new indices seem to work now. | 0 | 0 | 60 | 2016-05-24T11:23:28.890 | warehouse_errors | dba.stackexchange.com | |
40,272 | SQL Server 2012 AlwaysOn: need to automatically add databases by script- T-sql or PowerShell | I've installed and successfully configured our SQL Server 2012 AlwaysOn 2-node servers for our new "Intranet" that is coming out. I've gotten AlwaysOn working great, and our Front End servers for the Intranet will be using SharePoint 2013. The glitch is that SharePoint 2013 is configured to add databases automatically ... | You don't have to write a cursor tsql script to check for new database created and schedule it to run for e.g. every minute. Instead use EVENTDATA() function in conjunction with server level trigger. [CODE] Since you now have an automated mechanism in place that will fire up when a new database is created, you can use ... | 6 | 4 | 15,294 | 2013-04-17T18:52:32.887 | database_errors | dba.stackexchange.com | |
91,776 | How to get at the extra drive space when upgrading a set of RAID 1 hard drives | My current configuration is a Dell PowerEdge SC440 server with 2 SATA 160 GB drives in RAID 1 configuration. I bought two 1 TB drives and I want to replace the 160 GB with these 1 TB drives. There is only 1 partition on the virtual drive. The first thing I tried was to remove 1 160 GB drive and replace it with a 1 TB d... | Does this server have a PERC or other RAID controller? Check the RAID controller configuration to see if you can grow the hardware RAID volume. Then use [CODE] to grow the NTFS into the new space. | 0 | 1 | 2,461 | 2009-12-07T18:12:08.130 | infrastructure | serverfault.com | |
123,625 | SQL Server: Interplay of personal login and group membership | I created a login for a user using his windows user then I created a login for an AD group in which the same user is a member. I did NOT give any access to the personal login any access to the DB and did not add this login to any server or DB fixed roles. I gave the AD group access to the DB. I have then DISABLED the 1... | SQL Server will deny access to a login that has been disabled. This is by design. If it is your intention to allow the person access through the group login, you should simply remove the login that is linked to the Windows account. SQL Server limits principals' rights such that any rights that have been explicitly deni... | 3 | 4 | 1,277 | 2015-12-14T13:08:46.850 | database_errors | dba.stackexchange.com | |
498,114 | how can you use openID to authenticate different kind of users? | How can you have users authenticate on a web site with different permissions. I would like to have administrator, superuser, collaborators and normal users. In particular, I would like to restrict access to normal users, and only allow the others. Moreover superusers and administrators should allow/revoke access to col... | OpenID is an Authentication system. You're asking about integrating OpenID into an Authorization system. The details about how you pre-grant an OpenID a level of authorization depends on how OpenID security principles are represented in the authorization framework. If they're predictable, then you can pre-grant. If the... | 0 | 0 | 75 | 2013-04-10T17:02:50.683 | infrastructure | serverfault.com | |
1,015,110 | Strange Errors in Security and Compliance | I'm getting an odd error in many of my security and compliance pages, error is as follows or a varient of the same: The requested search root 'APCPR06A002.prod.outlook.com/ConfigurationUnits/XXXXXXXXXX.onmicrosoft.com/Configuration/Transport Settings/Rules/SafeLinksVersioned' is not within the scope of this operation. ... | Based on your error messages, you could modify the recipient scope, run the command: Set-ManagementScope For more details: Set-ManagementScope How to Modify Recipient Scope in the Exchange Management Shell | 0 | 0 | 46 | 2020-05-01T06:01:00.107 | infrastructure | serverfault.com | |
5,748 | SQL Server performance triage? | If you get a call/page about a SQL server performance issue, what do you do first? Start a trace? Pop up Perfmon? Open activity monitor? Each of these are useful tools, but what's your "sequence" of troubleshooting? | Depends. Is this a sudden, out-of-the-blue performance is dead slow issue, or it is a long term case of general poor performance? If it's the former, I'll start with the execution-related DMVs (sys.dm_exec_requests). Is there any blocking? Is there a query that's running excessively long or using massive resources. Bas... | 7 | 4 | 888 | 2009-05-07T12:36:19.230 | database_errors | serverfault.com | |
1,061,780 | Python sockets: TCP errors in linux, while same program works fine on Windows10 | I'm trying to communicate with a commercial power supply device via TCP/IP using python sockets. I tried using both a virtual linux(centos8stream) and virtual windows10, both running at the same physical computer, on the same network interface. Both have python3.9. I imagined the tcp/ip sockets would work same in both ... | I figured the problem was related to tcp timestamps. In linux, by default tcp_timestamp is enabled, in windows it's disabled. Disabling tcp timestamps on linux, solves the problem: [CODE] Conversely, enabling timestamps on windows reproduces the same problem I observed on linux. [CODE] Digging a bit further, I saw that... | -1 | 1 | 926 | 2021-04-27T23:19:42.750 | infrastructure | serverfault.com | |
10,230 | Is it out of line to give unsolicited constructive criticism to a programmer? | I recently started work at new office that uses a proprietary program written by a solo developer. He's occasionally around as part-time tech support, but the company has signed off on this software and he's no longer being paid to develop it. As a user of his software there are many issues that leap out to me as a sou... | If you are not in a position to change the code yourself then you should decide which issue is the most important one and approach him about it. Rather than couching it as "criticism" do it under the guise of "feedback". When I say feedback I mean a VERY distinct process of stating the behavior and the effect of it, al... | 11 | 14 | 793 | 2010-10-07T15:26:19.553 | api_errors | softwareengineering.stackexchange.com | |
339,335 | How to implement business logic with Web Services? | I'am little confused about how business logic should be implemented using web services. For example, think about an education management application. There are simply students, teachers and courses. Now, the server side of the application may provide [CODE] operation via a WSDL interface. This operation returns list of... | Your example getStudents() is what is confusing you. I realize you've selected this as a simple example, but that's the problem. It is so simple in your mind you don't see any logic being applied. Taken literally, you are going to return every student ever entered into the system since the beginning of time. Is there r... | 1 | 3 | 3,853 | 2017-01-03T09:32:59.287 | api_errors | softwareengineering.stackexchange.com | |
353,456 | ratelimit POST requests | I'm running a large WordPress multiuser site. I have a varnish cache in front of the WordPress application server. As it makes no sense to cache POST requests, I am vulnerable to DDoS using lots of POSTs against the varnish cache server. I have tried setting op a firewall rules that only accepted 20 simultaneously conn... | I am going to put this down as an answer only because it's going to be long. As you quite accurately said blocking more than 20 concurrent requests from 1 IP won't do the trick. You have to set "smarter" criteria. I will go as far as to say that putting another proxy between a proxy and an application server is not ele... | 4 | 2 | 1,479 | 2012-01-25T13:08:00.060 | api_errors | serverfault.com | |
104,643 | Storing phone number in E.164 | TLDR; If I store a phone number in MySQL(or any DB with equivalent constraints), would the correct format be E.164 values into a VARCHAR(32) field? Have been reading up on format/storage of international phone numbers. In the past for various reasons it was suggested to store as a string due to this data being an ident... | [CODE] or even [CODE] might not be long enough to store all possible phone numbers. Depending which country and if a PBX is involved 18 digits are not going to be enough. I have seen quite a number of longer ones already. Even so E.164 recommends to not assign phone numbers with more than 15 digits to phone providers w... | 5 | 1 | 4,514 | 2015-06-20T08:32:05.913 | database_errors | dba.stackexchange.com | |
45,479 | What are some good practices before checking in source code? | My team uses Team Foundation Server for source control, and today I fixed some bugs and smoke test application before I checked it in but I forgot to comment some code. (This code made the UI a little bit strange.) I want to know what good practices there are before checking code in - I don't want to make this kind of ... | One thing I have gotten in the habit of doing is always looking at the diffs of every file I'm about to check in, right before I check them in. | 47 | 149 | 21,332 | 2011-02-08T14:22:24.117 | api_errors | softwareengineering.stackexchange.com | |
77,765 | SQL: SOS: MySQL indexes overloads disk | My server is down now, 'couse indexes of 84GB DB are overloads disc. Here is output of [CODE] : [CODE] DB retuns [CODE] every time. I can login in phpmyadmin, but don't know how to delete indexes of tables. | I am glad you mentioned the table was MyISAM. You can now run this [CODE] on the 14.8G table. So why did you get [CODE] ? It wasn't so much the indexes in themselves. Sometimes, a temp table may need to be written to disk. If there is no space for the temp table on disk, mysqld will not crash. It will freeze until spac... | 1 | 0 | 276 | 2014-09-26T14:44:32.477 | database_errors | dba.stackexchange.com | |
206,914 | Multi-IP address zimbra server DNS PTR records and spam | We have a mail server running Zimbra (ZCS 6.0.8). The server has 5 active public IP addresses in the same subnet. ( [CODE] - [CODE] ). I currently have [CODE] records for each of these ( [CODE] .. [CODE] ), with the main [CODE] of the machine pointing to [CODE] . Our host has ended up being listed on the SORBS DUHL lis... | If there is no specific reason you want/need a service to listen to multiple addresses, it always makes troubleshooting a lot less complicated if you can decide on one address to bind to. This is a generally good practice, and especially true for protocols such as SMTP which may attempt to match reverse DNS lookups wit... | 0 | 1 | 6,712 | 2010-11-29T09:39:33.657 | infrastructure | serverfault.com | |
129,520 | Difference between static testing and code review | Possible Duplicate: What is the difference between Static code analysis and code review? What is the difference between static testing and code review ? I found some information on wikipedia that in both cases the programmer checks the syntax and code logic for bugs. | In a code review, the source code is read by a human. This is often someone other than the original developer, but that's not a requirement. For example, the Personal Software Process enables personal code reviews guided by checklists of specific problems to identify. Alternatively, there are a number of techniques tha... | 4 | 3 | 4,272 | 2012-01-11T08:27:04.507 | data_quality | softwareengineering.stackexchange.com | |
55,388 | How to setup reverse NAT using Windows Server 2003 | We have recently installed 2 IP Video Conferencing kit, which currently we only used internally with laptops connected to a VPN connection. However we have started using it more extensively and require some method of port forwarding. We currently use NAT to allow internal WS to access the Internet. I was thinking of us... | You can use Windows Server 2003's Routing and Remote Access Service (RRAS) to implement a firewall/NAT solution. You need a server with two network interfaces, one connected to your LAN and the other one connected to the internet. On the internal one, give it a static internal IP address, the proper subnet mask and NO ... | 0 | 1 | 2,357 | 2009-08-18T08:37:13.813 | infrastructure | serverfault.com | |
91,473 | transfer of fmso roles to an sbs 2003 computer from original DC running server 2003 | here is the outline that was done about 4 years ago. 1) we had a Windows 2003 server pdc running in the organization 2) i added sbs 2003 to the network about 3 years ago, at the time i transferrd the fsmo roles from the Win2k3 box to the sbs2003 box. BUT left the old Win2k3 box on the network still as a backup Domain C... | Transferring the roles as you did is the correct way to do it. We do fsmo transfers quarterly as part of our drp testing and have never had a server refuse to resume any o0f it's previous roles due to them being transferred on an earlier occasion. Basically, no need to worry. | 0 | 1 | 268 | 2009-12-06T15:30:39.307 | database_errors | serverfault.com | |
22,750 | Orange 3 "Find Informative Projections" and target variables? | Having issues with the "find informative projections" feature in Orange 3. In order to be able to use this feature in the scatterplots, you have to select a target variable in the "select columns". So I choose the value that I'm most interested in finding correlations to. However, whatever I choose as a target variable... | As you said, "find informative projections" gives you the best pair of features ("score plots") to explain the target variable. The two best features will be on the x- and y-axis, while your target variable will be the color (hue for numeric, categorical otherwise). Here is an example for the Iris dataset. Where "iris"... | 1 | 0 | 2,268 | 2017-08-31T17:20:36.823 | data_quality | datascience.stackexchange.com | |
126,833 | MS SQL Server 2012 Data Quality Services (DQS) installation failure | I tried to install MS SQL Server 2012 DQS using DQSInstaller.exe, but installation failed. In the console output started by the install tool (DQSInstaller.exe) I found this line: [CODE] It was a bit odd, since my password was 15 characters long, but who knows. I used a different one and made it sure that it is 30 chars... | The solution was starting one of the installer scripts manually and starting installer again afterwards. I've searched for recreate_schema.bat script on my PC, opened cmd, changed directory to the script location and started the script the way installer starts it... cd C:\Users{my user name}\AppData\Local\Temp\j1bnpjct... | 0 | 1 | 525 | 2016-01-21T08:43:29.497 | database_errors | dba.stackexchange.com | |
31,802 | Unable to locate element with id, showing error- NoSuchElementException | [CODE] While running above code getting error: [CODE] As I have written correct [CODE] . | First correct your syntax error: [CODE] If this is correct and still your are facing the same then try by adding some wait at some conditions. [CODE] Try with different locator type XPath/CSSSelector- [CODE] | 0 | 3 | 5,886 | 2018-01-31T07:10:27.330 | data_quality | sqa.stackexchange.com | |
74,846 | Why dynamically typed languages do not let the developer specify the type? | The dynamically typed languages I know never let the developers specify the types of variables, or at least have a very limited support for that. JavaScript, for example, doesn't provide any mechanism to enforce types of variables when it is convenient to do so. PHP let you specify some types of method arguments, but t... | The point of having static typing is the ability to prove statically that your program is correct with regard of types (note: not completely correct in all senses). If you have a static type system throughout, you can detect type errors most of the time. If you only have partial type information, you can only check the... | 15 | 18 | 3,872 | 2011-05-09T10:54:53.080 | api_errors | softwareengineering.stackexchange.com | |
36,238 | What does the output of model.predict function from Keras mean? | I have built a LSTM model to predict duplicate questions on the Quora official dataset. The test labels are 0 or 1. 1 indicates the question pair is duplicate. After building the model using [CODE] , I test the model using [CODE] on the test data. The output is an array of values something like below: [CODE] I am only ... | The output of a neural network will never, by default, be binary - i.e. zeros or ones. The network works with continuous values (not discrete) in order to optimise the loss more freely in the framework of gradient descent. Have a look here at a similar question that also shows some code. Without any kind of tweaking an... | 25 | 11 | 96,053 | 2018-07-31T03:48:32.293 | data_quality | datascience.stackexchange.com | |
20,469 | Indexed View Slows Replication | I have setup SQL Server transactional replication, and then added indexed views at the subscriber, but the indexed views appear to really slow down the subscriber and almost bringing it to a halt. I have tried to reinitialize the subscription, and even recreate the publication, still the problem remains and as soon as ... | OK I found the solution, and I am writing it here not just to help others that encounter a similar problem, but it is also something worth for everyone that works with indexed views. First some points on indexed views. Indexed Views An index view although it is also an "index" it is also a "view", thus it might benefit... | 4 | 3 | 2,443 | 2012-07-05T21:47:14.303 | database_errors | dba.stackexchange.com | |
460,029 | sendmail.mc to fwd all mails for a domain -> First.Last@gmail.com (MX record already set up) | I'm currently using Google Apps to forward mails addressed to recipients at my domain balkan-preferans.de (176.9.40.169) to my address First.Last@gmail.com - this is done by the following DNS-zone served by my hoster: [CODE] This has worked well for the past year, but I'd like to get rid of Google Apps, because they ar... | I don't think you need to mess with sendmail.mc - just add @balkan-preferans.de first.last@gmail.com to the /etc/mail/virtusertable and you should be good to go. This assumes sendmail is set up to correctly receive mail for that domain, which I'm further assuming you've ensured already. | 1 | 2 | 87 | 2012-12-21T15:06:48.333 | infrastructure | serverfault.com | |
99,023 | *nix measure memory usage | i'd like to measure the total memory (like RAM) used by a program during its execution. Ideally, something like [CODE] that runs the program and print stats when it exits. Is there such a standard tool in the unix / linux / bsd world? Thanks. EDIT : the program i'm trying to profile takes fractions of a second to execu... | The [CODE] command might be of some use. It will show you in what system calls the time is being taken up: [CODE] | 6 | 2 | 660 | 2010-01-03T18:10:43.340 | infrastructure | serverfault.com | |
622,770 | Asterisk relay between multiple subnets | I wonder what's the best way to go when you have phones on multiple networks which are not directly reachable. I have 3 networks [CODE] My asterisk server resides on the 10.3.0.5 IP. The machines from the 10.6 and 10.17 networks are routed here through VPN tunnels. At this point we don't talk about NAT anywhere on the ... | The default behaviour of Asterisk is to use reINVITEs to connect media between the SIP endpoints directly. The name for this setting has changed between versions of Asterisk, currently it is directmedia . Disabling this should cause Asterisk to proxy the RTP and act as a B2BUA. | 0 | 1 | 1,219 | 2014-08-20T14:40:59.970 | infrastructure | serverfault.com | |
306,210 | What the heck is really going on in these Lion LDAP vulnerability reports? | Just read a Slashdot thread on LDAP brokenness on OSX. Can anyone explain exactly what is being secured by OpenLDAP and why anything other than data stored on a Lion machine might be at risk? A quote from the article: “As pen testers, one of the first things we do is attack the LDAP server,” Rob Graham, CEO of auditing... | Don't be alarmed. This is not a huge threat to enterprise networks which is suggested by this article in The Register . Apple Lion is new, and thus this bug is getting a disproportionate amount of attention when compared to similar flaws on other operating systems. Here are some calmer descriptions of this same problem... | 8 | 8 | 650 | 2011-08-29T21:32:48.087 | infrastructure | serverfault.com | |
127,717 | .htaccess authorization requiring username/password for every resource | I am using Apache2 on Ubuntu and I have having some "weird" user authorization issues. I am using .htaccess to control access to my directories. I have many users and have grouped them into user groups which are defined in a "group" file. I then use .htaccess within each directory to define which users have access to t... | It almost sounds like require group design admin is requiring the user to be a member of both groups or the group file is not set up correctly. design: usera userb userc admin: userd usere No commas in the group file (this is different than the format for /etc/group) LogLevel warn (possibly debug) and watching your err... | 0 | 0 | 494 | 2010-03-30T15:10:01.363 | infrastructure | serverfault.com | |
437,176 | Should I raise an exception/error when an optional argument is used but is not necessary? | Take this constructed example: [CODE] If the function caller supplies the right kind of [CODE] the [CODE] is not necessary. Should I be guarding against the use in that case, like this: [CODE] I feel the user might be confused about the business logic if they supply the country code. There seems to be some confusions a... | Exceptions should be thrown in exceptional situations. If an exception is thrown that could be avoided, that’s a bug on the caller side. So you force the caller to change their code from [CODE] To [CODE] So that is lots of unnecessary code just because you’re keen on throwing exceptions. But wait, it’s worse: if your f... | 14 | 42 | 7,564 | 2022-03-06T20:41:52.980 | api_errors | softwareengineering.stackexchange.com | |
364,685 | What command can I use to search sendmail logs for ALL message details involving a specific recipient. | CENTOS 5.x | Sendmail Occasionally I need to search through sendmail delivery logs to find out what happened to a missing message. This usually involves two (or more) steps: STEP 1: Search /var/log/maillog for the user's email address. For example grep -i "someuser@recipientdomain.com" /var/log/maillog That usually ret... | You could do something similar to this. [CODE] This will grep out the line for the user you are looking for, then select the 5th item on the line (seperated by spaces iirc). Then for each message ID in that list, will then grep for the lines containing the message ID's. If you want to remove the : from the end of the m... | 5 | 7 | 36,078 | 2012-02-28T21:50:28.653 | infrastructure | serverfault.com | |
1,061,001 | How to use 1 ip to receive connections, and another to establish connections | I have a VPS with 2 usable IP addresses. I would like to use one of them to receive connections on, and use the other when the server is establishing a connection. So if the starter of the connection is not the VPS, it will use IP Address A and if it is, it will use IP Address B. VPS is running Ubuntu 16.04 how would I... | When Linux makes outgoing connection, it first tries to use whichever address application requested on socket creation. If it didn't requested anything particular (or requested [CODE] ), it looks for a hint in the route. You may set a route to have such hint to any address you have assigned, this is done with [CODE] ke... | 0 | 2 | 214 | 2021-04-20T20:50:42.623 | infrastructure | serverfault.com | |
1,050,741 | ZFS 2.0: How can I lower CPU-load on write with very slow disks and weak CPU? | I have a small 32bit-ARM-based board with three disk attached via USB 2.0. This has been running fine with ZFS 0.7.1 and 0.6.x for a long time, and I do not mind the reduced disk performance. (I am using ZFS elsewhere, I like to have this compatible and available when the real servers go down). However, I had to upgrad... | Short answer: you can't. Long answer: zfs uses certain amount of CPU to process the iops, most of which are compression and checksuming. If you have the CPU not capable of handling the amount needed - you'll get freezes/spikes. Partial solution is to disable compression and set a weaker/faster checksumming algo. You ca... | 0 | 0 | 2,002 | 2021-01-21T23:14:45.043 | infrastructure | serverfault.com | |
1,128,710 | firewalld SSH closed ports still logging failed login attempts | Setting up a new VPS with almalinux. I've set up firewalld with the following settings [CODE] Why is there still failed log in attempts logged in /var/log/secure when the ports they are connecting to are closed? [CODE] When i try to ssh in to the server with a random port: [CODE] it returns: [CODE] And nothing is logge... | I don't see your firewalld policy applied in the iptables-save output. Your INPUT change has default policy of accept. And it only jumps to f2b-SSH chain which I suspect is managed by fail2ban and bans a lot of source hosts (which I suspect are banging at your sshd server). If the address has not been banned by fail2ba... | 0 | 0 | 268 | 2023-04-15T02:19:24.930 | infrastructure | serverfault.com | |
743,110 | Trying to run Jenkins behind SSL reverse proxy - 404 http://localhost/jenkins/manage vs. https: | I am trying to run Jenkins behind nginx. Jenkins runs in a Docker container, listening on Port 8080 from directory /jenkins. My nginx container has this Jenkins container linked as hostname "jenkins", so in its context, Jenkins is accessible via http://jenkins:8080/jenkins . I followed the steps at Running Jenkins from... | I had a problem like this just now, and what solved it for me was described in https://stackoverflow.com/a/20514632/1446479 My NOT working config used this line: [CODE] But my working config now looks like this: [CODE] | 3 | 6 | 4,231 | 2015-12-15T10:36:44.437 | pipeline_ops | serverfault.com | |
710,089 | VPN ERROR 500 STATE_MAIN_I1, unable to start phase2 | i'm trying to set up a site to site vpn to a fortigate 60c from a CentOS 7 with openswan, the error i get everytime is the following [CODE] my configuration files office.conf [CODE] ipsec.conf [CODE] | I had the following error, which I read on a post that it won't matter, but I did had to enable forwarding, it solved this error and allowed to establish connection Two or more interfaces found, checking IP forwarding [FAILED] [CODE] | 4 | 0 | 6,495 | 2015-07-31T23:21:02.017 | api_errors | serverfault.com | |
84,223 | How to backup live mysql database? | I have 12 GB MySQL InnoDB Database with around 800 queries per second. No sooner I start 'mysqldump' over it to make backup I start getting '503' on my website. How do I make backup of my live database without affecting the site performance? | try the following command since the database size is not small: [CODE] | 6 | 6 | 9,818 | 2014-12-03T19:20:19.210 | database_errors | dba.stackexchange.com | |
77,067 | Adding mail header if postfix DNS based RBL (realtime black hole) check fails | I have setup a receiving Postfix mail server. Here i have custom code written that parses the whole mail received by postfix and use the headers, body and attachments separately for different uses. I have currently added SPF and DKIM checks in postfix that result in appending of their results in the mail header to indi... | Could you extend your custom parsing to programatically query the RBL in question and then handle the response? i.e., pass the sending address to the RBL, get response, add X- header. You'd probably want to turn off the smtpd_recipient restrictions if you did this just to reduce the number of hits against the RBL serve... | 2 | 2 | 923 | 2009-10-22T07:12:15.490 | infrastructure | serverfault.com | |
288,848 | Apache crashing with memory/cpu overload when google crawler visits site | I have a site with low traffic, less than 500 hits a day. It has a 6G of memory and it is way underutilized, on average 5% is in use. But as soon as googlebot establishes a connection to my webserver/apache, the memory and cpu usage spikes in seconds and the server becomes inaccessible - website, ssh and all other serv... | My work actively blocks Googlebot and other crawlers on servers when the load jumps; I certainly don't agree with it, and in my opinion, it's a sign of something far worse with the server in general when we have to block it, though we are hosting thousands of many different websites; you, on the other hand, seem to hav... | 2 | 2 | 4,352 | 2011-07-10T21:44:21.570 | api_errors | serverfault.com | |
498,553 | freeradius server adding additional check | I successfully managed to deploy a freeradius server and created a python script which does an additional check on the user (incoming request). I checked the internet (resources for freeradius are pretty horrible) and only found a thread which explains some basics about adding a python script to the process. Right now ... | ...if my script returns Accept any other authorization request under is ignored Yes. That is by design. You're telling FreeRADIUS to Accept that user. It won't bother with anything else in your authorize section. I believe you are correct in that you want your script to return a [CODE] instead of an [CODE] if you want ... | 1 | 0 | 2,616 | 2013-04-11T20:43:29.183 | api_errors | serverfault.com | |
1,074,409 | Debian 10, cant use 2 Network Interfaces at the same time | Problem and explanation: What I want to do: Setting up the interfaces, so all can be used at the same time. Problem: I got 3 Interfaces in total. 1 is the LAN Connection and 2 are LTE Connections tethered by phones. I'm testing the Connection via Ping -I (interface name) and only 1 Connection works. The other 2 are not... | I installed Ubuntu and used Netplan to fix it. I put this in the netplan: [CODE] This is the solution. | 0 | 0 | 1,034 | 2021-08-13T00:32:01.597 | infrastructure | serverfault.com | |
646,736 | Apache 2.2.4 Proxy Balancer Extremely Slow When a Balancemember is down | I am using apache 2.2.4 as a reverse proxy server in my DMZ. The Proxy Balancer appears to work great when the two BalancerMember servers are up. But if I shut one down, It takes roughly 30-45 seconds to get anything to load on my site every time I load a page. Here is my configuration: [CODE] The server acts as a reve... | Set a [CODE] to just a few seconds - what's happening is that it's sitting there trying connections to the down backend for a long while, not timing out. Setting something like [CODE] will cause the connection to fail more quickly, then your [CODE] setting will cause the down server to not be used again for the next mi... | 1 | 0 | 2,440 | 2014-11-24T19:24:23.257 | infrastructure | serverfault.com | |
708,757 | Is it possible to configure pip, gem, cabal, pear, npm to do unattended upgrades like apt? | The world of package managers is a wonderful one. If one package isn't available in your Linux distributions package manager chances are that it's available in any of the language specific package managers. But as soon as you install a package through any venue, including of course manual install, other than the distri... | With PHP's PEAR, you can use [CODE] without package name arguments. Simply employ a cron job to automate it. AFAIK there's no way to distinguish security-related updates in PEAR, you can only limit update channels (stable, beta, etc.). You can also use [CODE] with cron, to get automated notifications of possible upgrad... | -1 | 2 | 412 | 2015-07-27T12:22:55.807 | infrastructure | serverfault.com | |
33,766 | How to compare fast the value with the ones of neighbours in a 3D array | Question: I want to compare every item in a 3D array with its first neighborhoods. It's really slow when I have a 500x500x500 (e.g. with only values of 0, 1, 2) ndarray. I post the principle lines here: [CODE] This code take me hours only for the n=1 neighbour! Is there an efficient way which can also check the 2, 3...... | NumPy performs operations in a vectorised manner, you should try and operate on the whole array and avoid explicit loops. e.g. [CODE] can be done for different shift and axis values and results combined | 0 | 1 | 2,041 | 2018-06-28T12:52:40.890 | api_errors | datascience.stackexchange.com | |
471,216 | Remote Desktop won't launch program upon user login | I'm using Windows 2008 R2 server and am trying to get it to launch a program automatically when a user logs in via Remote Desktop. RDP will bring up the desktop, and the program runs perfectly when launched from the desktop. However, I want it to run automatically when the user logs in. I have configured everything to ... | I was able to find the solution to this problem. Even though remote desktop allowed us to remote in and launch programs manually, it would not automatically launch programs until we installed the Remote Desktop Services role in the server manager. Seems like a no-brainer, but after configuring everything and being able... | 0 | 1 | 9,050 | 2013-01-22T00:36:36.797 | infrastructure | serverfault.com | |
118,450 | How to do train-test split for multi-class classification | I am performing multi-class classification problem of different concentrations of Acetaminophen in a specified dataset. My data is in the form of images and I am using CNN. I have compiled all the image paths (with the images being the features) and their respective concentrations (classes) into one excel. Next, I form... | To do the train-test split in a method that assures an equal distribution of classes between the training and testing sets, utilize the [CODE] class from [CODE] model selection module. Try: [CODE] | 2 | 0 | 1,575 | 2023-02-11T10:19:34.477 | data_quality | datascience.stackexchange.com | |
33,171 | What’s the best way to save many pandas dataframes together? | I’m looking for a way to save house prices data by city, for example a pandas panel with one dataframe per city. But I need the dataframes to be independent, meaning that if one dataframe is corrupted, the others are untouched. I tried using pickle and csv, but once a line was corrupted I lost the whole file. | If you want to get quite involved and be able to specify names for each of the panels you create, you could look at the h5 file format. This allows you to group datasets in named containers. You can then read them from disk later on one by one i.e. you don't need to read the whole dataset into memory. Here is an exampl... | 5 | 4 | 18,451 | 2018-06-14T20:35:18.240 | data_quality | datascience.stackexchange.com | |
136,573 | How do I refer to the smallest possible non-zero value? | Back in my C programming days I thought there was a constant or function (I can't remember what it was called, let's call it [CODE] ) whose value was the smallest possible positive value. (Imagine the LSB=1 and all other bits = 0.) It was used to avoid a divide by zero error. For example, let's say you want to compute ... | Take a look at http://www.cplusplus.com/reference/clibrary/cfloat/ the FLT_EPSILON can be used to compare a float variable to 0 (zero), or nearly zero in that case. There's an other article here: http://www.cygnus-software.com/papers/comparingfloats/Comparing%20floating%20point%20numbers.htm EDIT: what you need is this... | 2 | 4 | 10,069 | 2012-02-23T16:42:25.967 | api_errors | softwareengineering.stackexchange.com | |
671,546 | Asterisk - very high Load Average with no reason | There is a problem with Asterisk server showing high Load Average I can not explain. Ny setup is: Asterisk 13.1.0 Linux 3.13.0-24 (Ubuntu Server) Dual socket (Xeon E5-2620) server, HT enabled - 24 cores total; 32G RAM Asterisk is used for sending voice messages. I have one upstream SIP provider, no hardware telephony c... | Ookay, I figured it out. This is just workaround, but the problem has dropped to acceptable level for me. After un-wanted reboot in a middle of a day I noticed that Load Average dropped greatly! I checked our server monitoring system - LA always climbed up little-by-little in a 3-4 hours of continuous (and stable) load... | 3 | 3 | 6,561 | 2015-02-26T09:11:02.333 | database_errors | serverfault.com | |
942,743 | Postgres crash loop caused by a tuple concurrently updated error | Sometimes when starting Postgres POD in OpenShift following error code is being shown [CODE] | To fix the issue: Find the name of the postgres pod that is in the crash loop. Start an [CODE] session with the pod. Scale the associated Postgres deployment to zero pods. From the cmd line of the debug session; Run [CODE] . This is the [CODE] for the docker image. As part of the start-up process the script creates a n... | 5 | 11 | 4,765 | 2018-12-04T00:26:56.587 | infrastructure | serverfault.com | |
281,671 | uWSGI Virtualhost mode with touch-reload | So far I have been experimenting with uWSGI to replace a lot of kludgy server code that builds and does setup for Python wsgi applications under supervise. I am running dozens of these small projects (Django, Flask, other) at once. Currently I am running in Virtualhost mode and I allow NGINX to basically invoke applica... | you should ask it in the official mailing-list, all of your statements are true, so you should try to ask for an improvement in the list. | 0 | 2 | 1,972 | 2011-06-17T21:29:37.173 | pipeline_ops | serverfault.com | |
805,065 | Getting "Response is stale" from Squid proxy | I'm looking at the logs in Chrome dev tools. I can also see it using curl. Here is the output of curl [CODE] Why is Squid saying [CODE] ? | Squid adds this header because it is required by the HTTP caching specifications. https://www.rfc-editor.org/rfc/rfc7234#section-5.5.0 : The "Warning" header field is used to carry additional information about the status or transformation of a message that might not be reflected in the status code. This information is ... | 1 | 2 | 1,085 | 2016-09-24T03:26:30.563 | infrastructure | serverfault.com | |
941,520 | Issues with Wordpress container configured for external database host | I am trying to run the Wordpress container, configured to use an external MySQL database server like so: [CODE] However, when I do so I get this error: MySQL Connection Error: (1045) Access denied for 'username'@'WRONGIPADDRESS' (using password: YES) The problem is that it is using the IP address of the container host ... | By default the Docker internal [CODE] network, on the [CODE] interface, uses NAT to communicate with hosts outside the container host. So the IP address that external hosts see is that of the container host, not of the individual container. The address you call "wrong" is actually the expected address, because your MyS... | 0 | 1 | 896 | 2018-11-25T08:32:16.140 | database_errors | serverfault.com | |
327,685 | Insert rows into a (postgres) table where the first col is a static value and the second col is the result of a SELECT DISTINCT from another table | I haven't had to use SQL in years and I'm clearly rusty. I have a situation where I'm trying to insert multiple rows into table A. There are two columns of data to be inserted, the first is a "static" value (it is derived but will be the same for all new rows) and the second is the result of a SELECT DISTINCT on table ... | INSERT takes a set of rows as input. You can use VALUES to create a set of rows (possibly only one): [CODE] This, however requires that your select results in at most one row. A better solution is to add your scalar to the select as: [CODE] Here the constant 'foo' is added to each row. It is somewhat similar to the cro... | 0 | 0 | 549 | 2023-05-30T17:32:01.943 | data_quality | dba.stackexchange.com | |
395,132 | Haproxy and CNAME | I want to create a simple load balancer for the two servers. The problem is with CNAME records, I think. Let's say I have two the same applications on AppFog.com. app1.aws.af.cm and app2.aws.af.cm Here is my haproxy.cfg file: [CODE] But this only resolving IP for domain app1.aws.af.cm and app2.aws.af.cm, which obviousl... | Having a little trouble following your issue. However, one thing to keep in mind is that HTTP requests have the requested domain name as the Host field in the HTTP header. Therefore load balancers and web servers will generally direct the request or respond to the request if the name binding matches the host header. Pe... | 1 | 1 | 3,632 | 2012-06-03T14:57:10.207 | infrastructure | serverfault.com | |
228,638 | Enabling EFS on FileStream Folders | Please help me on below: Below is my Environment: Windows Server 2012 R2 Standard SQL Server 2014 SP2 GDR Availability Groups 2014 with 3 Node (2 Sync and 1 BCP async) I have 7 Databases with FileStream enabled. Each 7 DB Filestream data folders is around 500 GB. Due to security policy I need to enable both Transparent... | Use Microsoft Handle to determine which process has the file open. For instance, if the file mentioned in the error message is [CODE] , you'd run: [CODE] The output will tell you which process has the file open, allowing you to close that process, then continue on with the encryption procedure. If the filesystem where ... | 0 | 0 | 125 | 2019-02-01T05:19:06.217 | database_errors | dba.stackexchange.com | |
243,169 | Insufficient privileges as a definer of package | I cannot run a procedure within a package with a user that also defined it unless I specify "authid current_user" for some reason. Here is my original code that produces insufficient privileges error [CODE] So the user that defines the package is HR. when I query view USER_OBJECTS I can see the package and the body asw... | When you compile a procedure that executes with the current_user 's authorisation, then the current user must be able to do everything that the Procedure wants to do. When you compile a procedure that executes with the definer 's authorisation, then the owner of that procedure must be able to do everything that the Pro... | 0 | 0 | 568 | 2019-07-18T08:52:27.087 | warehouse_errors | dba.stackexchange.com | |
81,852 | How to skip OR if AND statement row count is not 0 | Heey Guys, I have a question and i can't find the solution. So this is my QUERY [CODE] Result: http://cl.ly/image/1r0c2P0m3K07 So what i want, is if this return a row, i don't want the or statement. [CODE] But if the row count is 0 then i want it to get [CODE] Is there anyway to do this in one Query? | You want to limit your result to one row anyway, so just write your [CODE] like this: [CODE] [CODE] returns 1 or 0, true or false. Then just sort ascending and you got it :) | 0 | 2 | 714 | 2014-11-04T16:39:41.377 | warehouse_errors | dba.stackexchange.com | |
280,620 | When designing a replacement application, how can I compare its performance to the original, if there are no existing statistics? | I don't believe there are any performance statistics kept for the application I'm being asked to replace, and don't want to ask the individuals doing the work to manually record things like how long it takes them to perform a given task. However, the main objective of my project is to make it easier for the users to ge... | and don't want to ask the individuals doing the work to manually record things like how long it takes them to perform a given task Here's the problem. You basically want to create meaningful metrics, without measuring the only thing that matters. Nearly all of your users won't care about how fast the code itself is unl... | 5 | 7 | 154 | 2015-04-30T19:50:49.090 | api_errors | softwareengineering.stackexchange.com | |
133,420 | How should I include third-party models in my domain model? | I'm currently trying to design a little application using Domain Driven Design but I'm afraid I don't really get the concept yet. Let me try to explain this as clearly as possible. [CODE] The interface above is defined in my domain model and this will be used in a different project called [CODE] . Now [CODE] is not def... | A third party component has its own model expressed in its own language. Moreover, generally the third party component addresses a general-purpose problem which is normally a portion of the more context-specific problem you are trying to solve. The first thing to do is be aware that your model, and the third party one ... | 6 | 8 | 2,051 | 2012-02-05T12:48:29.647 | api_errors | softwareengineering.stackexchange.com | |
117,975 | Alert and notification option in job properties | During SQL Agent Job configuration I see the options to define ALERT and NOTIFICATION. I see that notification is what I'd expect, a notification of a job failure for example. But I do not understand the requirement to create a notification within the job configuration. For example there I can configure to notify me ab... | Magier -- The alerts are designed to allow you to capture and sent a notification for just about any condition that occurs on your SQL server. One common practice is to have the SQL agent looking for different fatal error severity levels that could be returned as a result of an error being raised from an executed comma... | 0 | 0 | 1,194 | 2015-10-14T09:31:09.057 | pipeline_ops | dba.stackexchange.com | |
1,086,188 | "Bad Request" when sending request to Socket.IO app via Apache | What I have I have [CODE] app letteraly from template [CODE] And I configured [CODE] [CODE] When I try to send request via Postman to [CODE] everything works But when I try to send request to [CODE] I always get [CODE] What I tried I tried to configure Apache from docs this does not helped me I tried to use [CODE] and ... | The answer turned out to be very prosaic. As it turned out, the front-end had version 2 of [CODE] , and on the server 4. Upgrading the packages helped to solve the problem | 0 | 0 | 2,624 | 2021-12-13T15:24:19.497 | api_errors | serverfault.com | |
160,826 | ORA-47500: XE edition memory parameter invalid or not specified | Recently i tried to increase the memory_max_target in Spfile as well through cmd.But After restart the instance it shows "ORA-47500: XE edition memory parameter invalid or not specified" .I couldn't start the instance,but later i started by create SPfile from pfile.why this error comes after change the memory?Should i ... | XE is limited to 1 GB, you can not increase its memory. Oracle Database XE RAM Limitation The maximum amount of RAM that an Oracle Database XE database uses cannot exceed 1 gigabyte, even if more is available. | 0 | 0 | 8,372 | 2017-01-12T06:28:41.760 | api_errors | dba.stackexchange.com | |
379,583 | share folder on Win 2003 with XP machine not in the domain | We have 2003 Sever R2, a folder is shared with many win 7 machines in the domain, I want to share the folder with an xp machine that is not in the domain, When I open the folder from the xp machine, it doesn't let me enter a username and passwrod, it just tells me I don't have permission to see this folder. | As a first workaround, you can use the commande line: [CODE] or with [CODE] Next, you can have a look at cached credentials on your Windows XP: http://support.microsoft.com/default.aspx?scid=kb;en-us;306541&FR=1&PA=1&SD=HSCH | 0 | 2 | 246 | 2012-04-15T07:01:22.840 | infrastructure | serverfault.com | |
162,135 | Optimise many-to-many join | I have three tables: [CODE] and [CODE] and [CODE] which forms a many-to-many relationship between [CODE] and [CODE] . Having a tag with milions of posts. How could I effectively retrieve the first 10 posts ordered by its name which contain the tag? Schema: [CODE] I tried the query below but it's too slow. [CODE] UPDATE... | Has a standard join structure less performance? [CODE] | 0 | 1 | 90 | 2017-01-24T22:56:36.390 | database_errors | dba.stackexchange.com | |
540,575 | nohup create multiple process | I am using nohup for the script run inotify command, because inotify stop when I exit from terminal so I want the script to run on background. so I run the script like this [CODE] the problem is not nohup create new process every time the new file created by inotify. how I can avoid that or any other suggestion method ... | you either [CODE] and wait for the previous process to end... or you [CODE] the previous process... Without details on the [CODE] you are running... We can't really tell you much. Ideally your script would check something in some kind of loop. If there was something to do, it would do it, and then do some kind of sleep... | 1 | 0 | 2,206 | 2013-09-20T18:58:19.493 | infrastructure | serverfault.com | |
429,890 | Could the async keyword be eliminated in a new programming language? | This post implies that the creators of Rust had to add the "async" keyword to make the async/await functionality backward compatible. Why do we need the async keyword? In a new language, where backward compatibility is not an issue, would there be any drawbacks to eliminating "async"? An alternative might be to have th... | Indeed, having an [CODE] keyword is technically unnecessary. This would also avoid issues such as the what color is your function? problem. But it's not without cost. There might be a cost in performance, and a cost in clarity. Async code implies a very different execution model from synchronous code. In some languages... | 4 | 5 | 383 | 2021-07-01T18:25:53.603 | api_errors | softwareengineering.stackexchange.com | |
199,945 | How can I improve the performance of a sorted join? | This feels like such a common question, I'll understand if it is closed but if so please suggest a better place I could ask. I have the following two tables of interest: [CODE] My most common query, and most expensive (quite often times out now) involves listing all packet transmissions for a particular tracker. [CODE]... | Perhaps this is crazy, but I like to try a bit of blue-sky-thinking every once in a while, so I'd consider adding the [CODE] column to the [CODE] table to avoid the join completely. Obviously, this means you need to modify the row-insert procedure for the table, which may or may not be feasible. However, this change, c... | 4 | 3 | 167 | 2018-03-12T01:20:30.917 | database_errors | dba.stackexchange.com | |
49,197 | What happens to a machine learning technique (specifically Decision Tress and Logistic Regression) if the validation dataset has a new category? | Let's suppose I have a dataset which has a categorical variable and the problem I am solving is a classification one. This categorical variable var has ['A','B','C'] as the possible set of data. What happens to a decision tree if a new category 'D' is seen only in the validation data set (meaning: absolutely new data)?... | There are no categorical value support in the decision trees used in scikit-learn. Either the values are just numbers, or they have been one-hot-encoded. One-hot encoding with an unseen input value will change the width of the feature array, which will give an error when running [CODE] . Without one-hot encoding the ou... | 1 | 2 | 86 | 2019-04-12T14:06:29.210 | data_quality | datascience.stackexchange.com | |
619,568 | Using Google Business Email simultaneously with other mail server for one domain | My partner is having some problems with delivering and receiving emails. They asked me to check Google Business Email, if it can provide a solution. My question is: Is it possible to split users into two groups? One group of users using Google Business Email, the other one using the former mail server. Asking this, bec... | What you are talking about is referred to as SMTP namespace sharing. If the mail systems support it and you know how to configure it, yes. Otherwise, you'd have to do some tricky mail forwarding to a fake domain and then change outbound addresses to the right SMTP domain which gets complex and frustrating. | 2 | 2 | 161 | 2014-08-11T15:00:34.190 | infrastructure | serverfault.com | |
895,520 | Sending emails to external mail server having same mailbox as exchnage | I have an exchange server 2016 with some local mailboxes and also have same mailboxes on Rackspace ( test@example.com on both exchange and rackspace ). Currently the MX record is pointed to rackspace server. I want to send a mail from exchange server to a mailbox test@example.com. The issue is that Exchange is checking... | You have posted this question twice and the answer is the same in both. You can't. Exchange will never use MX records for internal email. If the email address is matched to a mailbox on the server, then it will deliver to that mailbox without any DNS lookups. You need to review your configuration, which as it stands wi... | 0 | 1 | 319 | 2018-02-03T17:33:56.557 | infrastructure | serverfault.com | |
377,390 | C# encapsulate field is a violation of YAGNI | Consider these two ways to declare a field in a C# class option A [CODE] option B [CODE] Which one is better? My code analyzers (sonarqube, resharper, etc) unanimously say B is better. But I disagree. I can see that B encapsulates the field, so that a person can later add validation and logging, etc. However, why not w... | There are two completely different kinds of software: libraries that need a stable binary interface across multiple versions, and applications or internal software where you can just refactor. For internal software or applications, you are right: you can wait until something is needed, then refactor and recompile your ... | 9 | 18 | 1,779 | 2018-08-24T16:28:12.703 | data_quality | softwareengineering.stackexchange.com | |
371,283 | Deploy Adobe Pro X GPO Issues | I am trying to deploy adobe pro x extended to clients machines. The deploy is working fine except when you launch Adobe, it asks to enter the serial number. I have used the adobe customization x wizard and generated the MSI and MST files and they include the serial number but no matter what it still asks for the serial... | Fixed this myself...was a missed step and didn't put the serial number in the ABCPY.INI file in the same dir as the MSI file. | 0 | 0 | 330 | 2012-03-19T19:57:34.467 | infrastructure | serverfault.com | |
294,748 | Why are C string literals read-only? | What advantage(s) of string literals being read-only justify(-ies/-ied) the: Yet another way to shoot yourself in the foot [CODE] Inability to elegantly initialize a read-write array of words in one line: [CODE] Complicating the language itself. [CODE] Saving memory? I've read somewhere (couldn't find the source now) t... | Historically (perhaps by rewriting parts of it), it was the contrary. On the very first computers of the early 1970s (perhaps PDP-11 ) running a prototypical embryonic C (perhaps BCPL ) there was no MMU and no memory protection (which existed on most older IBM/360 mainframes). So every byte of memory (including those h... | 36 | 43 | 20,406 | 2015-08-27T19:22:15.433 | api_errors | softwareengineering.stackexchange.com | |
1,079,566 | AWS Certificate Manager failed validation due to a Certificate Authority Authentication error | I feel like I'm taking crazy pills, because I've completed this process before and my configuration seems to match AWS' docs . But, every time I request a new certificate, I get this error message (usually less than a minute after making the request): The status of this certificate request is "Failed". One or more doma... | I had this issue, and discovered the answer for me this post: https://repost.aws/knowledge-center/acm-troubleshoot-caa-errors . Our CAA record for the root domain has the [CODE] tag which blocks wildcard certificates from being issued. | 1 | 0 | 464 | 2021-10-05T01:11:21.220 | data_quality | serverfault.com | |
634,312 | Slow local area network speeds | Updated on 2014-10-09 Disclaimer This question is similar to Unexplained slow gigabit network speeds but because the latter is still unanswered after 5 years, and that I think I'm able to add more details, I'm posting another question on this topic. Background We have 2 DELL PowerVault NX200 storage server. Both featur... | it might be an issue with the flow control on both the nic and switch, please see the following article and make sure you disable flow control on both the nic and switch. http://www.smallnetbuilder.com/content/view/30212/54/ | 1 | 1 | 1,804 | 2014-10-07T23:16:30.873 | infrastructure | serverfault.com | |
48,864 | What is causing Waiting for table level lock errors? | We got the database hanging twice already and trying to find a cause. [CODE] In here the disk space was full so we thought the problem was over after giving it some more but the next day at midday it hanged again: [CODE] What could be causing it? Mysql Default Engine: InnoDB. Database has a mixture of tables with both ... | INITIAL OBSERVATIONS Process ID 42686 says its preparing to execute a SELECT query There are some sleeping connections All other processes cannot acquire a table lock I would have expected an UPDATE, DELETE, or INSERT to do the lock. There are no claiming ownership of the table in question. Can't see the full query in ... | 8 | 8 | 72,897 | 2013-08-28T10:31:27.750 | database_errors | dba.stackexchange.com | |
17,234 | Monitoring solutions | Possible Duplicate: What tool do you use to monitor your servers? What apps do you use to monitor your servers, and what do they monitor? I'm kind of impressed by some of last.fm's monitors | Nagios : internal system metrics and availability Cacti : network performance and load, internal system metrics AlertSite : external service availability | 0 | 3 | 554 | 2009-06-01T21:28:47.070 | pipeline_ops | serverfault.com | |
417,820 | Automate verification of script generated emails | We have over 100 servers that generate hundreds of emails every day using scheduled scripts (cron jobs) when the system/data is backed up or any other activity takes place. The email is sent to our network admin group, so a few people receive them every day. The issue is that we don't have enough time to go through eac... | Send email only if the scripts fail. And as HopelessNoob mentioned, for 100 servers, you should already have monitoring system in place to figure if a server is down. If not, it's high time you had one. | 0 | 1 | 155 | 2012-08-15T15:07:26.147 | infrastructure | serverfault.com | |
574,983 | Thousands of robots.txt 404 errors from bots trying to crawl old multisite | Current situation is that we are getting thousands and thousands of 404 errors from bots looking for robots.txt in different places on our site due to domain redirects. Our old website was a labyrinthine multisite powered by dotnetnuke with multiple domain names. We have changed over to a single site on Wordpress with ... | When doing the sort of redirects you are doing, there is only one HTTP response code which is applicable, namely [CODE] . RFC 2616 , the standard that defines the HTTP protocol, defines the 301 response code thusly (my emphasis): The requested resource has been assigned a new permanent URI and any future references to ... | 1 | 3 | 1,702 | 2014-02-12T11:48:04.133 | infrastructure | serverfault.com | |
543,878 | Can't Restart Mysqld | I'm having trouble restarting the mysql service [CODE] From the [CODE] [CODE] Processes [CODE] It almost seems like there's 2 mysqlds running, one of them zombie. How can I fix this? | try [CODE] to find the other mysqld running and then kill it. | 3 | 5 | 8,723 | 2013-10-04T17:38:19.797 | database_errors | serverfault.com | |
119,826 | Configure ApacheDS 1.5 with accessControlEnabled=true for authenticated access | I need to set up an apacheDS instance. I am using standalone 1.5.5 on Linux. I have removed the example partition and added two of my own, each with their own suffixes. I have imported LDIFs for the two partitions and everything looks correct data-wise. I need to configure ApacheDS to disallow anonymous access. I was a... | You need to define an administrativeRole attribute for your context entry: [CODE] http://directory.apache.org/apacheds/1.5/32-basic-authorization.html#3.2.Basicauthorization-Furtherconfigurationtaskstoperformafterwards should be clear enough. BTW, I would suggest to ask such specific questions at the ApacheDS user mail... | 2 | 0 | 3,854 | 2010-03-06T10:11:11.267 | infrastructure | serverfault.com | |
32,219 | MySQL install on Ubuntu | I have install mysql cluster on one of our linux machines, we did a pilot and decided to use replication instead. Now I want to remove it and install mysql-server. I have removed all the old files as much as I could, now everytime I [CODE] it seems to install but puts no files in /etc I tried to purge the install and t... | Have you tried this? [CODE] Update: The purge failed because the removal script errored when it went to find a file. You'll need to get your package manager back to a consistent state; at first blush I would be tempted to reinstall mysql-server, do a [CODE] on the missing file, and then do the purge all over, but I sus... | 0 | 1 | 1,941 | 2009-06-26T14:43:22.067 | database_errors | serverfault.com | |
848,877 | Windows port will not open in google compute engine | I've added a firewall rule in [CODE] [CODE] in my networking config. I've also added an [CODE] in Windows to accept both udp and tcp connections on port 5585. I'm trying to set this up for Chef. However, when trying to telnet, I get a connection refused error. I run [CODE] in powershell on the remote VM and I don't see... | Nothing was listening on 5585. Running [CODE] fixed the issue when pasting into powershell. This added some special firewall rule and began listening on that port and fixed my chef problem. | 0 | 1 | 166 | 2017-05-08T17:58:09.330 | pipeline_ops | serverfault.com | |
899,632 | Unusual SQL Service Account - Service did not start due to logon failure | This is crazy , so please bear with me. This is NOT incorrect password. I have a SQL Service Account that will NOT authenticate. I am an experienced server guy and have tried all the basics with a couple of knowledgeable colleagues (even if they are Cisco orientated). Scenario : Active Directory on 3 sites each with 2 ... | Managed Service Accounts (MSA) resolved this. Server 2012 AD uses gMSA so that kind of threw me: In AD (with Advanced options) under Novacroft there is an OU called Managed Service Accounts. You find your created MSA's there once created with Powershell. So, to install a service account: You create the account (without... | 0 | 1 | 3,373 | 2018-03-02T08:51:42.443 | database_errors | serverfault.com | |
94,188 | web site certificate issue | I am working on IIS 7.0 on Windows Server 2008 Enterprise x64. I want to know if I apply for a certifcate from Verisign, is the certificate bind to domain name or bind to computer? Any comments to my 2 concerns below? More details, if the certificate is bound to computer other than domain name, then if the computer has... | A standard SSL certificate is not bound to an IP or name, instead the machine your using it on needs to have access to the certificates private key. You can export this certificate and use it on another machine quite easily, most commonly as a pfx file, which will include the certificate and its private key (password p... | 0 | 1 | 135 | 2009-12-14T16:29:29.123 | infrastructure | serverfault.com | |
274,642 | Query tables with 400 million records fast | Table: Customer Data Rows: 400 million Indexes: Non-clustered (as per queries) Issue: Index Scan happening with most queries, 400 million scan take too long to complete Need advise on how to address above problem: Will partitioning the table by [CODE] help improve performance or partitioning only helps in data manageme... | Will partitioning the table by YEAR help improve performance or partitioning only helps in data management? Yes. If your queries have date filters, Partition Elimination will allow queries to ignore some partitions. How to convert Index Scan to Seek (majority of reports using different columns, filters and aggregation)... | 0 | 4 | 2,827 | 2020-08-30T12:32:09.607 | database_errors | dba.stackexchange.com | |
915,037 | KVM - is VEPA "software implementation" of SR-IOV? | I'm reading about options to improve CPU usage and in general networking performance between VMs. I knew about bridged networking and pci-e passthrough, as well as SR-IOV however now I found out about VEPA interface attachment method and it's quite interesting. From what it looks like to me - VEPA [CODE] interface work... | VEPA is about having a switch supporting extensible virtual interfaces. More about scalability than performance. If you are looking to utilize macvtap and increase performance, have a look at VMFEX (if you have Cisco blades) or start looking at things like DPDK | 0 | 1 | 352 | 2018-06-04T06:48:35.757 | infrastructure | serverfault.com | |
709,098 | PHP/mail is sending emails to wrong mail server | Recently we have switched our email Exchange server from Intermedia to the Office 365. After that change web server (LAMP) is still sending emails to Intermedia. I have check [CODE] for our domain and MX record comes as [CODE] which is correct. At that point, as DNS has correct value for MX record, I have no idea what ... | Confirm that your LAMP server is actually routing mail based on [CODE] record and is not configured with a static mailroute to the old Exchange server. For sendmail you would check for [CODE] or [CODE] settings or the mailertable feature, for Exim [CODE] settings. | 2 | 4 | 691 | 2015-07-28T15:38:44.787 | infrastructure | serverfault.com | |
331,899 | Apache mod_rewrite double encodes query string on redirect | We've encountered a strange issue (a bug, perhaps?) with Apache mod_rewrite's behavior when passing through query strings. To reproduce, we've set up a clean Ubuntu (oneiric) install with the default Apache configuration. We have enabled mod_rewrite, and in the default site configuration, we've added the following: [CO... | This seems to be a bug in Apache. This bug report is a bit messy, but describes your problem exactly: https://issues.apache.org/bugzilla/show_bug.cgi?id=34602 It looks like they are aware of the issue. Though the bug claims they have fixed, I have tested this with Apache 2.3.15, and the problem still seems to be there.... | 13 | 7 | 6,692 | 2011-11-17T11:20:44.923 | infrastructure | serverfault.com | |
297,235 | SQL Server: how do I know if I have lost or corrupt data after an automatic recovery? | My SQL Server 2000 logs show that the server performed an automatic recovery on several of our databases. The logs do not mention any errors found. Could I have corrupt or lost data? | This happens automatically when SQL Server starts you attach a DB bringing a database it online ... Nothing to worry about. | 0 | 0 | 33 | 2011-08-03T13:34:25.407 | data_quality | serverfault.com | |
834,589 | TMG only windows 2008 r2 installing. NOT WORKING windows server 2012 r2 | TMG Forefront only working windows server 2008 or 2008R2 - Not working windows server 2012. How to mitigation windows server 2012R2 - Flood attacks,http attacks ? Please help how to build windows server 2012R2 [CODE] Thank you for help (all) | TMG Forefront is EOL. Please use another product, or use the builtin tool of Windows Server. Support for Windows 2012 in TMG was never finished, as feature like IPv6 was not supported in TMG. 3.We are discontinuing any further releases of the following Forefront-branded solutions: - Forefront Protection 2010 for Exchan... | 2 | 2 | 735 | 2017-02-24T00:36:01.077 | infrastructure | serverfault.com | |
371,302 | Squid Log Rotation and Sarg | We have just setup squid as our proxy, and i was going to use Sarg to analyze the log files. I had initially set the Squid logs to rotate everyday so they dont get huge. The problem is i cant see an option in the squid config to read a folder full of squid log files (say *.log). Is there an easy way to do this or am i ... | Well, first things first. The software that rotate your logs probable isn't squid itself. Most probably is logrotate. Second. why do you want squid be able to read the full squid log folder: is Sarg who need it to read the access.log file. And AFAIK Sarg can process only access.log So you need to go into logrotate conf... | 2 | 0 | 2,109 | 2012-03-19T21:04:15.757 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.