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 |
|---|---|---|---|---|---|---|---|---|---|---|
613,921 | Mail delivery to not-yet-migrated accounts in O365 staged migration | I'm about 10% through a staged migration from Exchange 2003 on-prem to Office 365's Exchange Online. The question I have is how do the migrated users that are now successfully using Exchange Online send email to the users still on the on-prem server? When they try they receive an NDR with the error "Remote Server retur... | Sorry for the slow reply on this... After a lot of research of similar scenarios, and a little trial and error, I found that while I do need to set the staged migration domain to "internal relay" I do not need to create an Outbound Connector. The Outbound connector is for routing specific mail through an external conne... | 0 | 0 | 2,336 | 2014-07-20T00:03:02.640 | infrastructure | serverfault.com | |
1,082,300 | Send email from Heroku server using gmail account and PHPMailer | I have a Heroku app which has a php script that send out an email. The email sent always goes to spam. Let's say the heroku app is mywebsite.herokuapp.com and my email is mywebsite@gmail.com. Based on my research I understand that the problem might be that the email is being sent from my server which is mywebsite.herok... | You can send mail thru gmail but getting it going is a process. You'll have to generate an app userid/pass and then do the setup steps for your system's MTA (i.e. Postfix/sendmail). I've done this myself several times and it works well. There are sending limits however, even if you have a paid gmail account (i.e. Googl... | 0 | 0 | 800 | 2021-11-01T16:52:20.917 | infrastructure | serverfault.com | |
573,307 | Can pdo_sqlsrv driver be installed on Linux/Ubuntu with php 5.5.3 using pecl install pdo_sqlsrv? | In all likelihood, I have overlooked a fine print somewhere, so this question may sound stupid, but will clear my doubts. I spent hours trying to install pdo_sqlsrv PDO driver on Ubuntu 13.04 PHP 5.5.3 server. The attempt was based upon a phpinfo() screen-shot sent to me showing such a driver available and enabled. So,... | From the documentation for the sqlsrv extension at http://www.php.net/manual/en/sqlsrv.installation.php The SQLSRV extension is only compatible with PHP running on Windows. There is the experimental dblib https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CCwQFjAA&url=http%3A%2F%2Fwww.p... | 3 | 3 | 14,013 | 2014-02-05T10:16:34.657 | infrastructure | serverfault.com | |
928,662 | openldap with macOS Clients | I try to configure the mac clients to use a LDAP to connect to their session (using openLDAP). I have created PosixAccounts with PosixGroups, and tried on ubuntu systems : I can log-in with my users. But On macOS (tried with Mojave and Sierra) I simply cannot log-in. I see my users in the Directory Utility, I can even ... | I solved my problem using this script [CODE] I'm pretty sure it's not the best answer but still, it do the trick and now I can log in. | 2 | 1 | 2,070 | 2018-08-30T07:23:40.797 | api_errors | serverfault.com | |
336,242 | Registered password filter on Windows 2008 never fires | I've written a custom password filter for Windows Domain Controllers (a passfilt.dll) and registered it according to the instructions (put it in the system32 folder and updated the registry key) But there are no signs of the DLL even being called. None. I've set up auditing of system events and I'm getting 4614 events ... | You cannot dynamically load or unload the DLL. Put the DLL in system32. Add the name to the list of Notification Packages. You need the name only (not the .DLL part). You will need to reboot. On boot the OS reads the Notification Packages value and loads all DLLs there. When you logon run winmsd or msinfo32 to be sure ... | 4 | 3 | 4,485 | 2011-11-30T14:56:45.643 | infrastructure | serverfault.com | |
320,656 | Need to run the backup command when errorlog having error like 3041 and 18210 | Hi Can you please help to run backup command automatically when error log have error like error 3041 and error 18210 | Error 18210 This message indicates that an I/O error was reported by the operating system after a file handle was successfully opened. The error occurs when reading from or writing to a device specified as part of a BACKUP or RESTORE command, often when there is not enough disk space available for a write operation. Th... | 0 | 0 | 266 | 2022-12-07T10:21:45.147 | database_errors | dba.stackexchange.com | |
305,028 | How can I find under what context the job was invoked? | The SQL job history message column says: [CODE] If I disable the windows account that is the job owner, then the job fails with an error mentioning that the account couldn't be found. For a job that ran successfully, how can I find under what context the job was invoked? Note: I am not asking under what context the job... | The job was invoked automatically by a schedule that someone created for that job. That schedule has a schedule ID of 12 (per the message you've provided). You can lookup what that schedule is from the system table [CODE] . You also could just right click on the job in SSMS, click on Properties, then go to the Schedule... | -2 | 0 | 3,585 | 2021-12-16T12:15:15.433 | warehouse_errors | dba.stackexchange.com | |
223,389 | Mongodb as a data ware house? | Will mongodb a good choice as a data warehouse considering following situation? We are building analytics, report generation platform for our client and a typical table growth in terms of rows will be 2 million rows every year (We need 5 yr history at max, total tables ~ 50) We have proof of concept ready using mysql a... | (Speaking from a MySQL perspective...) 10M rows is not that big -- perhaps only 1GB? It is hardly a candidate for sharding unless the system activity is really high. 2M rows/year = 25/second. 100/second is where I perk up an eyebrow and suggest looking more closely. 1K/sec is likely to need some special treatment. [COD... | 1 | 1 | 124 | 2018-11-25T21:13:37.177 | api_errors | dba.stackexchange.com | |
1,958 | Re-using Python virtual environment vs Re-building it | Currently, we build our application on a build server where we create a virtual environment using [CODE] command , install all the Python dependencies into it, then "patch" it using the following bash commands to make it relocatable : [CODE] Then, we pack it into an RPM package including some other parts of the applica... | What are the general ways to tackle this problem? The ideal way to resolve your problem would be to dockerise your application, as it would remove any worries you have about compatibility between your build and running servers. Installing dependencies using pip in a Dockerfile is trivial, and as long as you're deployin... | 6 | 4 | 1,106 | 2017-09-07T22:31:29.763 | pipeline_ops | devops.stackexchange.com | |
998,564 | Email,DNS, Subdomain issues | I am trying to spin up my own mail server (mail-in-a-box because it seemed simple) for myDomain.com. I spun up a Linode server & got port 25 open and mapped box.myDomain.com to redirect me to the mail-in-a-box server correctly. From box.myDomain.com/mail I am able to sign in to the mail service. I can send emails to an... | DNS setup: type name content MX @ 10 box.myDomain.com. A box x.x.x.x Then test it with https://mxtoolbox.com/ | 0 | 1 | 623 | 2020-01-11T15:14:22.537 | infrastructure | serverfault.com | |
646,442 | Filezilla can not connect my new ftp port on centos 6.6 | I have a webserver running on Centos 6.6. Recently Config Server Security Firewall send me over 150 email about some malicious bots trying to guess my clients ftp users and passwords. I hate bruteforce attacks and i try to change my ftp port from 21 to ****. I configured my purefptd.conf [CODE] Then I allowed in my csf... | I found the answer myself. I changed pureftp conf file's passive connection rows as: [CODE] And allowed it on csf config file like [CODE] on TCP_IN IPv4 and IPv6. Now it works fine. | 0 | 1 | 1,597 | 2014-11-23T12:47:29.737 | infrastructure | serverfault.com | |
42,459 | Sudden increase in log_file_sync waits | I'm on Oracle 11gR2 with a 2 node RAC system. It's shared fiber storage to an EMC Clariion. Last friday things went bad..fast. All of the sudden processes that normally ran fine for years became very, very slow. I noticed a sudden increase in log_file_sync waits and the LGWR process is listed as a blocker for several p... | Log file sync occurs when a commit is made and the redo buffer needs to be flushed to disk. The session has to wait for that to happen. An increase in the number of log file syncs generally means that one of your developers has gone commit-happy, and is committing far too frequently -- every row, for example. Here you ... | 6 | 2 | 805 | 2013-05-17T19:50:15.550 | database_errors | dba.stackexchange.com | |
677,691 | Provisioning MySQL remote users | Seeking advise on optimal way to provision remote MySQL user permissions, when the source of connections is a large network block. Since the MySQL server may have DNS lookups disabled for performance reasons, I do not believe provisioning by the hostname is possible. Am I correct on this? What is the best way to provis... | Both questions are easily answerable in the official documentation . For your first question you are correct. If you turn lookups off, then you can't grant access based on those lookups that won't happen. This is clearly documented in the documentation for the directive that disables the lookups skip-name-resolve . For... | 0 | 4 | 98 | 2015-03-23T20:17:52.090 | database_errors | serverfault.com | |
220,461 | Keep indentation level low | I hear a lot that you should not write functions larger than one screen size, that you should extract things into functions if you call things very often and all these coding guidelines. One of them is also keep your indentation level low. Some people told me even I should max indent 4 times. But in every day programmi... | Inverted If Most developers think in terms of nested logic. It's difficult for them to invert their logic to reduce nesting. Deeply nested code is more difficult to read, and to reduce nesting you often have to invert your logic. When a programmer writes code they write in a logical tree structure like this. [CODE] The... | 15 | 20 | 7,277 | 2013-12-06T11:17:04.950 | api_errors | softwareengineering.stackexchange.com | |
311,169 | OO design: separation of concerns | I have a collection of classes which model Logical(Boolean) Expressions. There is a base abstract class [CODE] , and derived classes : [CODE] , [CODE] , [CODE] , [CODE] . Some code samples [CODE] The issue/dillema here is the LogicalParameter class. Right now it's very simple, it represents an atomic boolean variable, ... | I personally think you're missing a layer. You should (perhaps) have a service/module, taking list of [CODE] variables, process the list in this service class and pass the processed result to a [CODE] implementation (still taking the [CODE] variables as a parameter). It seems like you're programming in C#, if that is t... | 0 | 1 | 293 | 2016-02-26T10:07:53.790 | api_errors | softwareengineering.stackexchange.com | |
18,717 | How to connect to an remote PostgreSQL database on Ubuntu using pgAdmin3? | I'm trying to setup a PostgreSQL database on an Ubuntu machine. I would like to be able to access it using pgAdmin3 from a remote machine. How do I setup this? I have installed the PostgreSQL database on Ubuntu using: [CODE] In my [CODE] have I this line: [CODE] so it should accept connections from all IPv4-addresses a... | The line in your netstat report shows that the database is only listening on localhost:5432 (127.0.0.1) for incoming tcp connections. [CODE] So it can only accept local tcp connections regardless of what permissions you've specified in pg_hba.conf. pg_hba.conf only specifies allowed connections, but does not specify wh... | 23 | 25 | 54,549 | 2012-06-01T20:59:08.740 | database_errors | dba.stackexchange.com | |
723,300 | TCP/IP ack loss between firewall and server | Scenario: Client connects to Server using TCP/IP. Issue: During initial TCP/IP connection setup, the ACK packet [3rd step in TCP] sent from Client to Server has crossed the firewall [evidence from tcpdump] but not reached the server. Therefore server ignores all the packets sent from Client after ACK packet [3rd step i... | Thanks for sharing your inputs. The issue was the packets were getting lost in the OS where firewall is running. It got solved when the firewall Operating System was patched Saravanan N | 1 | 0 | 674 | 2015-09-18T12:55:49.220 | infrastructure | serverfault.com | |
51,394 | How can I create an ad-hoc domain user on SQL Server | Okay, so here's the problem. I have an application I need to install and run locally for testing and debugging. The application has been designed to run on a domain and as such expects to log into the database using domain credentials. I can't modify the section of code that handles the logins without a serious amount ... | You cannot actually login to SQL Server with any domain account. You can either pass a SQL Login with its password, or you can logon using "Windows Authentication". What the latter means is that the account that is executing the windows executable is passed to SQL Server to authenticate. That means you just need to exe... | 2 | 2 | 346 | 2013-10-11T21:13:03.280 | database_errors | dba.stackexchange.com | |
213,068 | Upgrading PHP - Missing Dependency php = 5.1.6 is needed by package php-eaccelerator | im trying to upgrade php from 5.1.6 to 5.2.1 . When invoking the yum update php i get this message: --> Finished Dependency Resolution php-eaccelerator-5.1.6_0.9.5.2-4.el5.rf.x86_64 from installed has depsolving problems --> Missing Dependency: php = 5.1.6 is needed by package php-eaccelerator-5.1.6_0.9.5.2-4.el5.rf.x8... | The RPMforge repo does not have a version of php-eaccelerator built against php 5.2.1. In fact 5.1.6 is the latest it has. See http://packages.sw.be/php-eaccelerator/ Your options: Don't update php. Try to rebuild the php-eaccelerator RPM against php 5.2.1. If you are not comfortable editing rpm spec files and compilin... | 0 | 1 | 1,148 | 2010-12-15T21:48:12.473 | infrastructure | serverfault.com | |
310,853 | Same code, executes through browser, throws a permission error through command line | I've got an app that works fine in the browser, but when run through the command line, throws a permission error (related to folder creation). What could be the reason? | The fact that it will run as the apache user when you execute it in the browser and as another user when you started it from the command line, which might not have access rights in all the necessary directories. | 0 | 4 | 77 | 2011-09-13T12:24:09.310 | infrastructure | serverfault.com | |
156,154 | User with Outlook receiving emails every hour regarding Microsoft Exchange offline address book 0X8004010F | About 6 months ago we upgraded our Exchange server from 2003 to 2010. I have read 0x8004010F when downloading Exchange offline address book and found that this issue is the same as what I am having. I have also read the blog post mentioned the above question. The problem is that I cannot use this method because the 200... | I found out that there was a problem from when we removed our old exchange server from the network. The offline address book needed to be recreated. it was done through powershell. I dont know the exact commands but it stopped this error from happening to all users. It wasnt actually outlook at all. | 0 | 0 | 679 | 2010-06-30T04:51:48.513 | api_errors | serverfault.com | |
972,848 | UFW is blocking mailserver traffic (dovecot, postfix, MariaDB, Rspamd) | As described in the title, I am running a dovecot/postfix/Rspamd Mailservercombo with a MariaDB behind it. I noticed how, in the last days, I couldn't receive/send any mail from my e-mail clients anymore. Thunderbird noticed too: It is not possible to connect with the SMTP Server anymore. The only things I changed arou... | I now seem, after many tries, to have fixed my problem. Some hints to solve this: No, it has nothing to do with those UFW-Blocks. First off, check if you are working with the correct service names! I forgot that, because of a bug, I startet postfix with another servicename than you would normally. You can propably see ... | 0 | 0 | 1,776 | 2019-06-25T17:13:33.690 | database_errors | serverfault.com | |
565,389 | * Starting NFS kernel daemon [fail] | Hi I follow the https://help.ubuntu.com/community/SettingUpNFSHowTo guid to install nfs server on ubuntu 12.04 64 bit server, but when I tried to start the server I get [CODE] I want to see why it fail but I can`t find any log? where are the nfs server logs? Is there something I am missing here? I find the error logs i... | The only problem is that nfs-kernel-server not started because I was trying to run it as root, when I switch to other user and used sudo it started. | 0 | 1 | 3,959 | 2014-01-06T17:52:10.870 | infrastructure | serverfault.com | |
89,308 | What's the best practice to avoid collisions in throwaway temp tables? | In SQL Server, I'm used to creating a [CODE] table for temporary storage in a complex stored procedure. Not wanting to clutter up the system, I [CODE] the table when done. However, if I do the same in Oracle: [CODE] ...in one stored procedure, and another stored procedure does something similar and also uses the name [... | The standard approach in Oracle is that global temporary tables are first-level objects. They should be created at install time when you create all your permanent tables. Doing DDL at runtime is very much frowned upon. I'm not sure how this increases maintenance or how it makes stored procedures "no longer wholly self-... | 1 | 3 | 574 | 2015-01-14T19:51:54.173 | database_errors | dba.stackexchange.com | |
362,501 | Backdoor and zmeu process on a Linux system | Possible Duplicate: My server's been hacked EMERGENCY First some background info. The server we're talking about is running CentOS 5.6, SSH on port 22 which can be accessed over the Internet (bad, we know), Apache on port 8080 which can be accessed over the Internet and MySQL, which can't be accessed over the Internet.... | Nuke the site from orbit. It's the only way to be sure. Unless you are a very smooth and seasoned security professional, you need to start over and load known clean data back onto a fresh install. Even if you are just that damn good , I'd still be quite skeptical about not starting fresh. As you've seen, one of the fir... | 1 | 3 | 1,339 | 2012-02-22T03:50:42.307 | data_quality | serverfault.com | |
211,696 | What are the "least legally restrictive" well-connected countries to host a website? | NB: I am aware that this question is subjective, as it can't be defined precisely, but the answers should still be "objective": Country name, and what makes it legally safer. EDIT: A) I am located in Germany. B) I am NOT looking for a place to offer pirated Software/Media; no binary on my site, except "profile icon". H... | Wherever you go the host is going to be beholden to the legal terms of one country or another and all of them will have limits as to what is or is not acceptable. There is no "safe harbour" imho. I think the issues with wikileaks shows that just about any conventional hosting solution can be 'undone' if govt's are dete... | 3 | 2 | 3,644 | 2010-12-12T09:29:46.030 | infrastructure | serverfault.com | |
795,913 | Apache Reverse Proxy in front of RD Web Access IIS | I have just configured a Microsoft Remote Desktop Services service on an internal Windows Server 2012 R2 server. I have access to RDP through outside the network with port forwarding. However, because I have additional web servers running on port 80/443, I can't expose RD Web Access running on IIS to directly to the in... | Well, after an epiphany, I found the cause of my issues. Turns out, I was indeed supposed to keep [CODE] to allow URL rewriting to the correct external URL. However, because my external URL had an SSL certificate, I was getting an infinite redirect loop which went like this [CODE] I fixed this my turning my [CODE] and ... | 0 | 0 | 2,930 | 2016-08-10T03:13:12.403 | infrastructure | serverfault.com | |
671,564 | Monitor bandwidth consumption for all connected PC over wifi | We have two internet connection connected to individual wifi router (beetel) in our office, lately i am experiencing very slow internet connection or frequent connection drops, when complained to ISP, they say everything is good from their end, and problem could only come from our side, I am not convinced about this so... | You'll need a transparent proxy and/or a firewall behind your router. With this you can monitor and control your environment. There are hundreds of commercial and open source solutions for this. | 0 | 0 | 190 | 2015-02-26T09:54:52.383 | infrastructure | serverfault.com | |
681,333 | Raritan serial consoles (DSX) totally unreliable | We have some serial consoles by manufacturer Raritan. More specifically, 8-port and 16-port DSX-8 and DSX-16s. Currently, I seriously doubt their stability. What happens most of the time: Usually, the device isn't needed for some time. When it is finally needed, I connect to it via ssh and give it the (serial) port num... | We gave the old DSXs the benefit of the doubt and now have some DSX2s. While they IMHO still have some minor deficiencies (like Java being used and some other minor annoyances during configuration) they seem to keep the road a lot better than the old models. They are really faster and more stable so far (just hoping th... | -2 | 1 | 168 | 2015-04-08T17:45:13.163 | infrastructure | serverfault.com | |
317,679 | ec2 and tomcat7: can't connect on port 80 | I have Amazon's own prepackaged instance with Tomcat7 ( i-a23e4ac2 ). Got a war file uploaded to webapps, in Server.xml connector is set to listen on port 80. Default security group settings are: [CODE] I have an elastic ip associated with the instance. ... and I can't get any positive results with that. Here's what lo... | Only root is allowed to bind on ports lower than 1024. Either run tomcat as root or let it listen on a port >1024. Then use an iptables firewall rule to map the upper port to port 80. | 0 | 0 | 2,312 | 2011-10-02T14:31:04.483 | database_errors | serverfault.com | |
1,114,411 | Fix virtualmin domains to use individual php ini files | My server is setup to use virtualmin for managing configurations. In trying to resolve a php issue when a wordpress plugin installation, I inadvertently broke the settings on my domains so they no longer use the individual php ini files in their subfolder, but instead all point back to the server's main php.ini file un... | As it is mentioned here you can use this setting in Apache config: [CODE] | 0 | 0 | 211 | 2022-10-30T22:57:35.247 | infrastructure | serverfault.com | |
861,156 | EC2 instance cross-reference within a CloudFormation template | I'm in a bit of a pickle here. I have a specific application (one that I cannot modify) which I need to automatically deploy on 3 AWS EC2 instances using CloudFormation, and I need all 3 of them to be aware of each other as they boot up, or at least before any traffic hits them. In short, what needs to happen is that a... | Use the CloudFormation stack name as a subdomain for the 3 server domain names. That way you know what the DNS names will be and can inject it into the config file. [CODE] This will create a DNS record [CODE] , for example [CODE] . You do it for all 3 instances. Then in each Instance's Metadata you can create the confi... | 1 | 0 | 496 | 2017-07-09T15:57:48.983 | pipeline_ops | serverfault.com | |
435,487 | Server 2012, Jumbo Frames - should I expect problems? | Ok, this sound might stupid - but is there any negative on just enabling jumbo frames in practice? From what I understand: Any switch or ethernet adapter that sees a jumbo frame it can not handle will just drop it. TCP is not a problem as max frame size is negotiated in the setinuo phase. UCP is a theoretical problem a... | is there any negative on just enabling jumbo frames in practice? No, so long as when switching JF's on you immediately confirm that the server can use the appropriate NIC/s then no, no real downside at all. | 3 | 2 | 2,185 | 2012-10-06T12:27:44.293 | api_errors | serverfault.com | |
95,821 | Algorithm visualization app/plugin | I am looking for an application (or and IDE plugin) that I can use in order to test some algorithms I implement. Mainly metaheuristics used in TSP , VRP and other optimization problems. I have already checked some common suggestions on the net, but they're rather too simple for example Zest . Any suggestions? | See this site for exhaustive resources on algorithm visualization http://wiki.algoviz.org/AlgovizWiki/ It also depends on what language/toolkits you want to use and plugin. Matplotlip, Gnuplot, Ciro graphics and many many tools can be used. | 3 | 0 | 269 | 2011-07-25T18:51:53.760 | bi_errors | softwareengineering.stackexchange.com | |
396,690 | Is the US Department of Defense ip address 6.3.6.0 valid? (reported by Apple products) | I've recently seen a lot of this IP address. A geo ip lookup tells me it is US Department of Defense Network in Arizona so why do some routers ( here and here ) default to this address? The real question is should I treat [CODE] as an incorrectly reported ip address or not? I have only anecdotal evidence of this so I w... | It's a legitimate address range - if Apple's using it as a default address for their routers, then they're doing it wrong. ARIN confirms that the whole [CODE] range is assigned to "USAISC" , and if you take a look at a BGP looking glass , you'll see that [CODE] is being actively routed on the internet by AS668, which i... | 4 | 5 | 494 | 2012-06-08T01:01:53.163 | infrastructure | serverfault.com | |
151,344 | How does syslog-ng handles flush_lines(0)? | I wanted to make sure my syslog-ng was doing async logging. Reading through the documentation I see the flush_lines() option for file() destinations, if unspecified, will use the global default. Then I see that the global setting defaults to 0 but it doesn't explain what that means. Is it going to do synchronous loggin... | Given a default config, with flush_lines set to 0, syslog-ng will act on each message it receives individually. It will not buffer any number of lines but will log them one at a time (at least in terms of line buffering; obviously other config options will affect what actually happens to each message). Thus, assuming t... | 2 | 1 | 3,646 | 2010-06-15T10:04:10.650 | infrastructure | serverfault.com | |
1,029,728 | Single Sign On in Solarwinds Security events manager (SEM) | I am having an issue where I am getting a prompt from SEM web gui to provide my credentials. I provide credentials (we use both tokens and passwords). It does not fail unless I close the prompt. LDAP works fine. I have a CA that I signed the ssl Certificate with. The SEM name is sem.domain (This is an offline domain). ... | It turns out that it was syntax. The domain needs to be DOMAIN (All Caps). So the command for KTPASS should be as follows: .\ktpass.exe -princ HTTP/sem.domain@DOMAIN -pass *** -mapuser domain\sem -pType KRB5_NT_PRINCIPAL -crypto ALL -Out c:\Keytab\sem.keytab NOTE: The key difference is the "HTTP/sem.domain@DOMAIN" Here... | 0 | 0 | 89 | 2020-08-11T18:13:52.357 | api_errors | serverfault.com | |
175,210 | ASP.NET MVVM Handling multiple Data Transfer Objects on a single page | I have an asp.net mvc "edit" page which allows the user to make edits to the parent entity, and then also "create" child entities on the same page. Note: I'm making these data transfer objects up. [CODE] In my view I have two html form's. One for Customer "edit" Http Posts, and the other for CustomerOrder "create" Http... | Well, it is a problem now because you can't trust jQuery to do your validation for you. You can't trust anything on the client because it's not really under your control. You have to validate everything on the server, even if you're doing it client-side just to be slick. What you call a [CODE] is what I like to call th... | 1 | 3 | 653 | 2012-11-09T00:23:35.040 | data_quality | softwareengineering.stackexchange.com | |
789,194 | ZFS checksum errors, when do I replace the drive? | I'm fairly new to ZFS and I have a simple mirrored storage pool setup with 8 drives. After a few weeks of running, one drive seemed to generate a lot of errors, so I replaced it. A few more weeks go by and now I'm seeing small errors crop up all around the pool (see the [CODE] output below). Should I be worried about t... | Having those errors across multiple drives seems to indicate a backplane/controller/cabling problem more than a disk or RAM issue. | 17 | 8 | 16,927 | 2016-07-11T18:12:33.113 | infrastructure | serverfault.com | |
164,930 | Can a WPA key be shorter than 8 characters? | I was helping a person with his computer today, and he was convinced that his router's WPA key was 7 characters (with some brand of consumer router). He has been able to connect with this on a number of computers, but when stepping him through it with Ubuntu we found that Network Manager imposes a strict limit of 8 or ... | WPA Pre-shared key (PSK) mode, defined in IEEE 802.11i-2004 , uses PBKDF2 as described in PKCS #5 . While PBKDF2 has no minimum length, the IEEE standard states in H.4 Suggested pass-phrase-to-PSK mapping (which includes a discussion of security considerations): A pass-phrase is a sequence of between 8 and 63 ASCII-enc... | 3 | 8 | 30,845 | 2010-07-28T17:16:12.053 | infrastructure | serverfault.com | |
158,618 | Pros and cons of intrusive and non-intrusive serialization? | I am interesting in the pros and cons of serialization: intrusive and non-intrusive. On the one hand it seems non-intrusive is easy to use - class to be serialized should not be updated. It seems convenient for simple cases. E.g. XStream.Net implements such approach. But the issues can appear if this class is connected... | From [CODE] there is a very informative article, which every developer needs to read at once. It basically lays down the difference in serialization for approached intrusive and non-intrusive. A practical guide to C++ serialization is another well written source to be aware of. More info from Boost C++ libraries on Ser... | 7 | 3 | 1,621 | 2012-07-28T21:49:19.797 | api_errors | softwareengineering.stackexchange.com | |
845,317 | Outbound traffic in amazon ec2 instance not working | Outbound requests are not working in my instance. When I give a wget a url https: it happens Solving www.facebook.com (www.facebook.com) ... 31.13.65.36, 2a03: 2880: f111: 83: face: b00c: 0: 25de Connecting to www.facebook.com (www.facebook.com) | 31.13.65.36 |: 80 ... connected. The HTTP request was sent, awaiting res... | Have you checked: The Outbound rules of the Security Group associated with the Instance? The Outbound and Inbound rules of the Network ACL associated with the Subnet the Instance is on? Remember that NACLs are stateless so you have to add both inbound and outbound rules for the traffic. The Route table associated with ... | 2 | 2 | 2,031 | 2017-04-19T14:38:03.437 | infrastructure | serverfault.com | |
124,617 | postgres user cannot access location of new data directory | I moved my postgresql 9.3 data directory to a different drive, however, my [CODE] user cannot seem to access that new drive despite my best efforts. I am running on ubuntu 14.04 LTS x64. So I created a new directory under [CODE] and set postgres:postgres as the owner. However when I try and do [CODE] the directory keep... | I figured it out. So the permissions at one level of the directory hierarchy did not have any setting for letting the [CODE] group read that level. Thus that blocked the postgres user from being able to see a drive mounted by any other user. Once that was changed with [CODE] Then this created permissions for the [CODE]... | 4 | 2 | 6,234 | 2015-12-26T21:09:07.170 | database_errors | dba.stackexchange.com | |
544,601 | What are some network issues that could cause my file uploads to stall and fail? | I have a file uploader that is supposed to be used to upload video files to my company's website. At the office, uploads consistently stall out(get stuck at a percentage and never move again, even if I let it sit for hours), or flat out fail. When I attempt to upload a file from my home Internet connection, I have no i... | This happens because your file uploader is trying to grab as much bandwidth as possible, and any delay (by a firewall, etc.) can stall it. Limiting the bandwidth to upload the files could help you. In other hand, my first option will be look at the firewall, routers could have a firewall configured inside, or proxy con... | 1 | 0 | 1,573 | 2013-10-08T14:07:18.437 | infrastructure | serverfault.com | |
161,815 | Network cable keep connecting/disconnecting rapidly or so does Windows tell me | Suddenly this morning one of the computer on our network keeps dropping it's network connection. The computer run an up to date Windows XP Pro and is a Lenovo 3000 J110 computer. The network card is onboard and "from" Broadcom. As soon as the computer is started Windows report that "A network cable is unplugged". Soon ... | You didn't mention what happened with the other computer using that cable. The other thing could be a problem with the switch/hub port. Try restarting the switch, if that doesn't work, change the port it's jacked into. | 1 | 3 | 4,331 | 2010-07-19T14:10:33.057 | infrastructure | serverfault.com | |
475,925 | How to fix PuTTY showing garbled characters? | Connecting from a Windows 7 PC via SSH to an Ubuntu server using PuTTY , I get some screen errors: I.e. it: "Double-draws" the selection inside Midnight Commander (MC). Other characters like line elements are drawn as the wrong characters (e.g. "â" instead of "|"). I connected to the same Ubuntu server with a terminal ... | You almost certainly have set the wrong character set in your PuTTY settings . Verify the character set on the remote system by running the command: [CODE] This should return something like: [CODE] So check your PuTTY settings under Translation and ensure that you have [CODE] set as the character set. You may need to t... | 95 | 85 | 225,259 | 2013-02-06T06:14:46.627 | infrastructure | serverfault.com | |
903,562 | Kerberos Authentication in a Mixed (Windows and LINUX) Environment | I need to map the Service principal name for the user in an Active Directory from Linux environment, where my KDC is located, to Windows. Is there a way to map the AD user from Linux rather than mapping them using setSPN in the Windows environment? Solution tried: Configured Krb5-conf in Linux machine and installed krb... | Client not found in Kerberos database while initializing kadmin interface means that the principal adminuser/admin@TEST.COM you are triying to authenticate with doesn't exists. You can avoid authenticating by executing kadmin.local on KDC server [CODE] Then, use listprincs , addprinc , delprinc ... to manage your Kerbe... | 0 | 0 | 1,143 | 2018-03-20T11:21:54.703 | api_errors | serverfault.com | |
197,879 | AWS RDS MyISAM tables from mysql and information_schema and good snapshots | I'm wondering about the topic of moving all MyISAM tables to InnoDB in RDS. Mostly because I have this annoying warning every day in the RDS console. One thing is pretty clear, the tables of the customer applications must be altered to InnoDB (if possible). No question about that. But what worries my is the "system" ta... | The [CODE] tables in the [CODE] schema are fully supported in RDS snapshots. It's the MyISAM tables elsewhere that are potentially problematic. Never alter the tables in the [CODE] schema. That will leave you with a server that may never start up again. Important Do not convert MySQL system tables in the mysql database... | 2 | 5 | 3,352 | 2018-02-14T09:29:40.940 | database_errors | dba.stackexchange.com | |
226,354 | Is there any Cross-platform SQL editors that allow joins from different databases? | Initially tried dbeaver but after configuring it, I realized that you can't perform joins from different data bases. Also tried TeamSQL which apparently does what I need but looks to be designed without privacy in mind (requires constant connection with internet). [CODE] Thank you for your time. | On the client side, there's Quest Toad Data Point , but I haven't used it. I worked at Quest years ago when they sold a similar product, Toad for Data Analysts, and at the time, the problem was that people would wanna join big tables between multiple platforms - but do the filtering only after they found related rows. ... | 0 | 0 | 2,935 | 2019-01-04T17:21:42.237 | warehouse_errors | dba.stackexchange.com | |
573,648 | ISP provider for big sites? | I want to know what ISP is running sites like stackoverflow, basecamp, asana, etc. I guess not everyone is running on VPS as an in-house server can have much more horse power for the price than what is offered by VPS providers. So once you have you in-house server: Which ISP you go for to ask for ultra high speed conne... | Unless there's a need for data to be on-site, it most likely wouldn't be VPS OR in-house. If VPS services are not capable enough and it's not possible to get a connection to your office that's suitable for hosting your service (leased lines are available but not always the best solution) you can also rent servers or se... | -1 | 4 | 134 | 2014-02-06T13:12:35.067 | infrastructure | serverfault.com | |
545,149 | Exchange 2007 GAL\OAB Photos | Environment: Exchange 2007 Avctive Directory 2008 R2 Outlook 2010 I'm having a problem with thumbnail photos in the GAL\OAB. I can add photos and they display fine when connected to Exchange (using Outlook Anywhere), but they do not display when disconnected. With Exchange 2010, this can be corrected via [CODE] ...but ... | To quote the Exchange Team Blog : Q. Do I need Exchange 2010 to display GAL Photos? A. As noted in the post, Active Directory has the thumbnailPhoto attribute. Outlook 2010 has the client-side feature to display the photo. Exchange 2010 provides the Import-RecipientDataProperty cmdlet to easily import the photo (yes, a... | 1 | 1 | 887 | 2013-10-10T14:32:16.487 | infrastructure | serverfault.com | |
784,020 | single internet connection VS double internet connection | We have a two story building office and we are going to upgrade our internet connection. Is it better to have two separate internet connection with 15mbps each for first floor and second floor or just a single internet connection with 30mbps bandwith? | I would say that a single connection of 30mpbs would be better for the following reasons: Less chance a high usage burst is going to fill the pipe during peak times. If one floor's usage capacity is much higher, it is more likely that the 15mbps would get saturated vs the 30mbps. Monitoring and Control - Unless you hav... | 0 | 2 | 209 | 2016-06-15T03:50:00.760 | infrastructure | serverfault.com | |
415,530 | How do I assign a memory limit for mySQL? | mysql tuner reports that mySQL can use 166% of installed ram, how do I limit RAM usage ? [!!] Maximum possible memory usage: 426.8M (166% of installed RAM) | You can either configure All MyISAM All InnoDB Mixture of MyISAM and InnoDB Before allocating memory to either engine, it is good to reflect on what caching goes with each Storage Engine Configuring for MYISAM The main mechanism used is the key cache. It only caches index pages from .MYI files. To size your key cache, ... | 8 | 9 | 36,095 | 2012-08-08T14:10:26.453 | database_errors | serverfault.com | |
669,815 | ntpd servers stuck in init state when defined by hostname, but sync correctly when defined by IP address | I started having an issue on a couple of our colo servers which is causing a fair bit of head scratching. I as alerted to clock skew on a couple of servers, and when I went to investigate ntpq -=p showed the following: [CODE] so clearly the server could not contact its ntp servers. However, its sister servers have no s... | I have some servers at Hetzner which with the default ntpd configuration from the install image will use IPv6 to communicate with the ntp servers provided by Hetzner. Given that you see the duplicate entries in the output I am strongly suspecting that your ntpd has resolved those hostnames to IPv6 addresses rather than... | 3 | 3 | 4,492 | 2015-02-19T09:55:19.200 | infrastructure | serverfault.com | |
590,952 | How to Downgrade an i386 / ia32-libs Library on Wheezy? | I recently upgraded to an amd64 version of Wheezy, and I have a couple of compiled proprietary programs that need to keep running 32-bit. No problem, I installed the i386 compatibility libraries [CODE] Unfortunately, the version of one of the libraries installed is wrong, generating an error: error while loading shared... | I just copied my libdb-4.6.so file off of my old i386 machine into /usr/lib/i386-linux-gnu and it seems to work fine. Anyone want to tell me why this is a horrible idea? If not, this may be the answer ... | 1 | 1 | 141 | 2014-04-24T00:11:38.877 | infrastructure | serverfault.com | |
959,964 | 413 error in apache even though my POST is much smaller than the max limit | I have asked this question on stack overflow as well. I have an apache server and a fastcgi script. When I try to send POST request to my script, it fails giving me the 413 error. If I send in no parameters, my script actually runs giving me error in json (as expected). I am using curl to send data to my script: [CODE]... | I see that the call to the Apache Server at 09:05:42 [CODE] correctly started the CGI Script [CODE] So the Response Code [CODE] might come from your Script itself. It would be useful to see what Content reaches your Script. | 1 | 1 | 2,871 | 2019-03-26T03:53:24.847 | infrastructure | serverfault.com | |
61,261 | Impose similar metric on segments to model | I am training a binary classifier in a dataset using AUC as a score. The dataset has two main groups (we will refer to them as good and bad population). A property that this dataset has is having a higher proportion of target = 1 in the bad population. For this reason, a relatively dummy classifier would give higher sc... | Given that in your data there is correlation between population type (good vs. bad) and target, your model may learn undesirable associations between both. Therefore, the population type is a confounding factor . A natural tool to cope with scenarios with confounders it causal inference . You can find an overview of ca... | 2 | 0 | 127 | 2019-10-04T14:45:54.133 | data_quality | datascience.stackexchange.com | |
136,694 | How can I reset the permissions of /bin /boot /etc and /dev to orignal owner, Ubuntu? | I accidentally changed the ownership of the /bin, /boot, /etc and /dev recursively to nobody:nogroup using chown when I misplaced a forward slash! How can I resort the original file ownerships? I've managed to get them all to root:root but I'm not sure if all the files should be owned by root and if this will break som... | I run debian squeeze, and I used the following command: [CODE] to get this list of files not owned by root:root (changed normal user to name "me"): [CODE] Shouldn't be too many to change by hand, and hopefully your system doesn't differ too much from mine. | 3 | 1 | 697 | 2010-04-28T17:09:43.200 | infrastructure | serverfault.com | |
883,244 | GPResult error The user does not have RSoP data fails as Domain Admin | Is there a way to get [CODE] to work without never logging in to computer as an actual user? Lets say UserA is logging in to computer XYZ . You login via TeamViewer to it or are there locally as AdminA , you right click Run As Administrator , type in your administative credentials you type in the famous gpresult /R com... | Yes, it can be done without doing a interactive login, although you need to know a user that has actually done an interactive login on that computer. In your case, UserA would do it. Then, from an elevated prompt: [CODE] Also, from a remote computer: [CODE] I really don't get why you need to specify a user when using [... | 7 | 8 | 57,159 | 2017-11-13T18:18:57.580 | infrastructure | serverfault.com | |
342,469 | Accessing thread state from main process | I am currently writing a Python program with a main process distributing work to a number of worker threads via separate worker queues per thread. I am now having the problem that the main process needs to know what kind of work a worker thread is doing at a particular moment, since the job allocation depends on this (... | no other worker thread may be allocated a job of type X if a job of type X is currently being processed by some other worker thread Then the resource that needs to be protected here is type X. Before any worker thread does work on anything of type X it must test if some X thing is being worked on. If it's not then it m... | 1 | 1 | 628 | 2017-02-17T15:03:41.230 | api_errors | softwareengineering.stackexchange.com | |
16,201 | PHP -> Mysql persistent connection pooling WITHOUT mysql_pconnect - Possible? | I have been trying to figure out a nice way of doing this for a while now. But have had a hard time finding the right pieces to do this. I am guessing this must be possible. To put it in simple terms here is what I would like to accomplish: [CODE] Does such a tool / way of doing things exist? We would basically like to... | After much searching, I have finally found a solution. I am not much of a writer, so I will do my best to make this as concise as possible. So as far as I could find, there are 2 possible solutions: SQL Relay http://sqlrelay.sourceforge.net/ This does exactly what the question asked for, and a bunch more. I wont go int... | 15 | 12 | 17,282 | 2012-04-07T10:39:39.047 | database_errors | dba.stackexchange.com | |
589,120 | iptables port forwarding rule ignored | I want to forward the traffic from port 1111 to port 2222. So I execute the [CODE] command, but it seems that, somehow, the rule is not being saved. [CODE] I would expect that the [CODE] command would show the rule that I just created. It works for other rules but for this one it doesn't. Am I missing something? | By default, the [CODE] table is used. Try [CODE] . | 0 | 1 | 287 | 2014-04-15T12:05:13.707 | infrastructure | serverfault.com | |
724,842 | Xackup Backup Type for Xen Server 6.5 | I'm running the Xackup trial and started backing up a few linux and windows VM's. I selected disk and memory state as the type of backup. Everything ran fine and backed up ok. When I went to edit the scheduled backup plan I made to add another VM it complains that " a VM saved to a storage location cannot be restored t... | Basically a "disk backup" is a snapshot of just the disk: Imagine shutting down a computer and backing up the disk. The RAM is empty becaus ethe computer is shutdown, so all the files are closed and whatnot. Now a "disk + memory backup" is like backing up the disk and the exact state of the RAM at the same time, while ... | 0 | 0 | 217 | 2015-09-25T15:32:18.733 | database_errors | serverfault.com | |
398,109 | fsck a filesystem in a file | I created a filesystem like this: [CODE] filesystem is created with this: [CODE] I then mounted and copied some test files and unmounted like this: [CODE] I then run a [CODE] which returns [CODE] My question, since this is a file and not a block device, is the above warning something that I should be worried about. How... | You just run [CODE] and specify the image file, just like you would for a block device. I'm not sure why you're using the [CODE] option (this checks for badblocks). [CODE] | 9 | 13 | 26,842 | 2012-06-12T23:04:30.847 | infrastructure | serverfault.com | |
314,632 | Whether the disconnected state caused by session timeout is to be manually or automatically resolved? | Link: https://learn.microsoft.com/en-us/sql/database-engine/availability-groups/windows/overview-of-always-on-availability-groups-sql-server?view=sql-server-ver16#SessionTimeoutPerios Once the session timeout has expired, and it goes into a disconnected state, when next does it try to re-establish a connection and whet... | Once the session timeout has expired, and it goes into a disconnected state, when next does it try to re-establish a connection and whether this is automatic or manual? It's automatic and it happens based on an internal timer which checks certain internal tasks very often. | -1 | 3 | 139 | 2022-07-20T11:04:48.410 | database_errors | dba.stackexchange.com | |
43,945 | Machine Learning library in Python, list or numpy or pandas | Background : We are trying to build a customized ML library in Python 3 to tackle analysis we often repeat, in a general fashion. But it would not be nearly as general as [CODE] . In fact, we are prepared to break some interfaces if that give us enough performance boost in return. The basic starting point would be cons... | Pandas does normally a decent job allowing dataframes to behave as numpy arrays. My recommendation is to use numpy types, the reason is that, for consistency with pretty much what the industry is doing, you are much safer with numpy. I love pandas, and I love the dataframes, but they provide extra functionality that th... | 0 | 1 | 272 | 2019-01-14T03:20:14.000 | data_quality | datascience.stackexchange.com | |
783,200 | blank page displayed after logging into ecp with exchange 2013 | I have just installed Exchange 2013 into a test environment for a testing lab. Install of prereqs (update AD schema and prep AD) and software was successful. I go to https://serveraddress/ecp and I get the login page - I enter correct credentials but then get taken to a blank page - no errors. Issue occurs on IE/Chrome... | I was able to fix this issue after setting ecp and owa directory to Windows authentication in power shell here [CODE] Perform an [CODE] on your desktop. log in to your ecp with [CODE] | 2 | 0 | 2,576 | 2016-06-10T12:10:36.637 | infrastructure | serverfault.com | |
65,767 | How can we perform STS (Semantic Textual Similarity) on unsupervised dataset using deep learning? | How do you implement STS(Semantic Textual Similarity) on an unlabelled dataset? The dataset column contains [CODE] , [CODE] (contains paragraph), and [CODE] (contains paragraph). Ex: Column representation: Unique_id | Text1 | Text2 Unique_id 0 [CODE] public show for Reynolds suspension of his coaching licence. portrait... | You could take a pretrained embedder and look for distances between the embeddings. There's LASER from Facebook. This is an unofficial [CODE] package, it replaces some of the internal tools used for tokenization and BPE encodings. I have used it extensively and it works just fine. It encodes your text as a 1024-element... | 1 | 0 | 507 | 2020-01-03T04:45:14.820 | data_quality | datascience.stackexchange.com | |
39,202 | Selenium | Locate elements via custom attribute | I'm new to test automation with Selenium (Python) and just wondering if it makes sense to locate elements on webpages via a custom attribute? In some places the IDs of the elements are generated and have a new ID the next time the page is opened. Names and classes can sometimes change and are not unique. The developer ... | When using selectors i try to assume nothing. [CODE] is a bad selector because the frontend might change the button to an [CODE] . If possible, i try to mark all my test intends with specific classes. Like [CODE] . This only assumes that there are elements with these classes, independent of location or element type. An... | 1 | 1 | 12,788 | 2019-05-16T20:06:42.863 | data_quality | sqa.stackexchange.com | |
1,096,502 | Erased System Path Variables | I was writing a batch file that was supposed to automatically set up a computer to receive "psexec" remote commads. Unluckly i didn't really pay attention to what i was writing and i wrote this command and then ran It: [CODE] You can imagine what happened... I erased all the other path variables! Then, panicking, mis-r... | First of all, the system path environment variable is stored in the registry at: [CODE] You may have a backup of this value under [CODE] or ControlSet002 or ControlSet003, but most likely the value will be the same as under [CODE] . The [CODE] value should be of type [CODE] and the default value looks like: [CODE] if y... | 0 | 1 | 419 | 2022-03-18T16:44:55.040 | database_errors | serverfault.com | |
402,757 | sudo prompts for password over ssh | I have sudo set up for a user (myuser) as follows on "hostname" (sudoers content): Cmnd_Alias SCRIPT=/path/script* myuser ALL=(suser) NOPASSWD: SCRIPT this works fine, so I can run the following, logged in locally as myuser on hostname, without need for password: sudo -u suser /path/script however, when I use ssh (with... | You didn't specify a host in the sudoers, so it only works locally as you have it setup now. So if you set the host parameter to ALL, it will work on any host. From man sudoers : The reserved word ALL is a built-in alias that always causes a match to succeed. It can be used wherever one might otherwise use a Cmnd_Alias... | 3 | 3 | 4,475 | 2012-06-27T16:01:04.030 | infrastructure | serverfault.com | |
270,320 | Lost domain controller without backup. Recovering user permissions | This definitely falls in the category of "You should know better." I lost the domain controller on my home network a while back. I've been running my other computers (a desktop and laptop) without a DC since then, and it let's me login from the cached passwords. But this morning I brought the newly build domain control... | So first off, this is usually why you have two DCs in the environment, as Bad Things happen when you lose the DC and don't have a backup. This on the surface seems like an easy thing to fix if you still have admin access to the files. Personally, I'd just stick with a new user account, and then move over all your files... | 4 | 1 | 2,426 | 2011-05-13T12:30:08.860 | database_errors | serverfault.com | |
841,505 | Failed to find Linux Kernel Module | I`m trying to add driver for specific hardware at startup. Module file is located at [CODE] . Also I've tried [CODE] . Module is successfully loaded with command: $ sudo insmod /lib/modules/4.4.0-66-generic/kernel/drivers/misc/tmk1553b.ko d0=1 t0="MRTAI" nrt=8 misc=1 But couldn’t load module at startup. Configuration: ... | Investigations revealed that systemd is unable to load modules with options. Solution worked for me: place module name to [CODE] place module options to [CODE] $ cat /etc/modules tmk1553b $ cat /etc/modprobe.d/options-tmk1553b.conf options tmk1553b d0=1 t0="MRTAI" nrt=8 misc=1 Seems this is common behavior for linux di... | 0 | 3 | 9,281 | 2017-03-30T08:45:43.263 | infrastructure | serverfault.com | |
994,819 | Under what circumstances IPv4 conntrack drops packets? | I always thought that IPv4 Connection Tracking ( a.k.a. [CODE] ) is a passive module, that just reads packets and tracks them, so later other modules can use that collected information to decide about the fate of related packets (e.g. packets belonging to the same L4 connection). However, recently I stumbled upon this ... | Consider the order of operations. Conntrack would need to be relatively early anyway. If it doesn't modify packets so much the better; assuming pristine packets must simplify something. If connection tracking fails, what else can be done with untracked packets but drop them? A firewall policy to automatically allow res... | 0 | 1 | 741 | 2019-12-08T22:06:18.270 | infrastructure | serverfault.com | |
829,420 | Nginx 502 Bad Gateway Error | Currently have a 502 Bad Gateway Error on my Centos 6.8 Server. [CODE] I checked whether the directory existed and it doesn't. The closest I could find to the folder was /var/run/php-fpm, which only contains php-fpm.pid. | Here are the steps to troubleshoot this issue: Check if [CODE] is running: [CODE] Check for the [CODE] directive in php-fpm’s www.conf configuration file: [CODE] Make sure your nginx [CODE] directive matches your [CODE] directive. | 3 | 5 | 11,678 | 2017-01-30T13:15:40.013 | infrastructure | serverfault.com | |
30,716 | DBT2 benchmark for AWS RDS | I am new to MySQL and linux and also AWS. Previously i have worked with windows azure and .NET framework. Currently I am trying to get DBT2 benchmark to run for AWS RDS for MySQL. I was able to connect to RDS with shell command line from MySQL. But i was not able to configure or install the benchmark on the DBInstance.... | It is not possible to run shell scripts, install other software, or do any kind of serious administrative tasks on Amazon RDS. In an RDS environment, you're completely isolated from the operating system and from administration of the actual system that is running MySQL for you. Your RDS instance is an opaque black box ... | 0 | 1 | 463 | 2012-12-19T06:53:16.597 | database_errors | dba.stackexchange.com | |
482,479 | Can't mount nfs volume - time out | I have an NFSv3 export from a Linux fileserver which used to mount fine. The fileserver had to go down for hardware maintenance. After bringing the server back up, the Linux client can no longer mount the nfs export. No configuration has changed on the server or the client. I did do a software update and reboot the cli... | So, NFS is weird in the it relys on portmapper to be running, so it can map a specific port to an RPC port. (I guess it's not weird. It's just the way it works.) If NFS is up before portmapper, NFS doesn't know how to route requests, because it checks portmapper for this at the start of the process. If portmapper is no... | 13 | 4 | 119,075 | 2013-02-26T04:21:54.470 | infrastructure | serverfault.com | |
21,263 | Searching the path in Windows to find a file | I know there is a small utility program to do this, but my memory fails me. I often want to find the location of an executable that is somewhere on my windows path -- I just don't know where. I know it is on my path because I can run it regardless of my current directory. Can someone refresh my recollection? :-) | There is a good answer for this in PowerShell over on StackOverflow https://stackoverflow.com/questions/63805/equivalent-of-nix-which-command-in-powershell | 4 | 4 | 154 | 2009-06-06T21:18:22.590 | infrastructure | serverfault.com | |
803,922 | I get "Request exceeded the limit of 10 internal redirects" in Wordpress under Apache | I've added a post in Wordpress and when I try to see it in my browser I get error 500. This is the configuration in apache.conf: [CODE] And this is Apache's debug log: [CODE] What is wrong here? Thank you! | There was a rule in my .htaccess file [CODE] That caused the problem. | -1 | 0 | 1,917 | 2016-09-19T09:17:14.253 | api_errors | serverfault.com | |
36,638 | Problems with socket policy file on flash/flex clients | I have a MMO using a flash/flex (AS3) client that needs to make a raw socket connection to our server. I have tried several different methods of serving the xml policy file on port 843 as detailed by Adobe. Now everything seems to work fine for most clients, but a large percentage (20% ?) of our clients cannot connect ... | Maybe these users are behind a firewall which prevents them from connecting to the 843 port? For an 'offical' flashpolicyd see: http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html | 1 | 1 | 1,753 | 2009-07-06T21:30:41.997 | infrastructure | serverfault.com | |
349,275 | Logging an error and creating an error when the logging fails create a circular dependency between two projects | As part of a program I am developing for practice purposes, I've created a namespace [CODE] designed to contain the core code resources for the program to use. This namespace is in a Class Library project. Two of the sub-namespaces in [CODE] are [CODE] and [CODE] . In [CODE] there is a [CODE] class that is responsible ... | If you are not interested in redesigning the object model, the following (fairly common) change will get you going again. Start a new class library called [CODE] or something similar. In both of your existing projects, add a reference to [CODE] . In the new library, define an interface [CODE] and [CODE] that match the ... | 3 | 3 | 96 | 2017-05-19T12:59:56.690 | api_errors | softwareengineering.stackexchange.com | |
84,708 | Skip sections that have GO | I'm working on a script I can run on new servers to do some initial configuration. I would like to be able to skip some sections but the problem I'm running into is the "GO" that's required. Because of the GO I can't wrap my sections of code in IF statements. For example [CODE] The problem is this won't work because yo... | Whether or not you are using SQLCMD mode, you can always avoid the need for a GO (which enforces batch separation) by wrapping the calls in an [CODE] . For example: [CODE] This also works when creating objects that need to be the only CREATE in the batch, such as: stored procedures, functions, triggers, views, etc. The... | 5 | 6 | 970 | 2014-12-09T15:30:15.907 | warehouse_errors | dba.stackexchange.com | |
294,901 | Detect CPU Vendor on OSX | So, I considered asking here instead of SO because people here are more likely to be familiar with this stuff. I'm currently using PHP to detect some generic stuff on the host OS. In this case, I'm trying to detect CPU vendor. To do this, I have: linux: [CODE] windows: [CODE] osx: ??? OSX is indeed my problem. I don't ... | Try this from the terminal or execute as needed: [CODE] Sample: [CODE] | 0 | 2 | 536 | 2011-07-28T06:40:51.567 | api_errors | serverfault.com | |
728,435 | Add LoadBalancer to existing service | Following this guestbook tutorial . Near the end they sort of gloss over how to create a [CODE] or assign [CODE] to the service. They reference this doc that describes the different types and what they do, but don't really go into detail about how to apply them to a service. Is there a way to update the running service... | It's pretty confusing, but apparently [CODE] can only create a new service, not update an existing one. It says that when running on an existing service, you should pass a [CODE] flag to specify the desired name of the new service to avoid the conflict you were seeing. To update a service in place, you should be able t... | 2 | 4 | 4,802 | 2015-10-12T18:38:03.537 | infrastructure | serverfault.com | |
1,025,971 | Server shutdown in progress for hours | I have a relatively large database (> 500 GB), and have run a [CODE] last night, that upgraded [CODE] . Since then, the MySQL server has been in "Server shutdown in progress" status for 16 hours now: [CODE] Plus, [CODE] is now constantly using 300% CPU. Is there a problem, or is this just a consequence of the database ... | Seems it's known bug and the reason why it happened because you haven't stopped database before the upgrade and some query was running. You can find more details on Percona article Try to use command line utility mytop to see what's going on. But you've mentioned you can't reach the database, try under root user. If it... | 4 | 4 | 9,858 | 2020-07-20T13:59:00.500 | database_errors | serverfault.com | |
198,225 | Table was deleted during ALTER, how to recover? | I tried to [CODE] a table to add a [CODE] as: [CODE] and I received an error of [CODE] I tried twice and the same error. The third time, my table was gone. How can I recover the dropped table? MySQL server (Ver 14.14 Distrib 5.7.21, for Linux (x86_64)) is on localhost. The entries in other tables which have FK to this ... | Install the same version of MySQL onto another VM. Create the same database. Create that same table; just the schema, no data. Shutdown original MySQL server. Copy the .frm from VM-MySQL to original in proper location. Fix permissions, if necessary. Start original MySQL. This should allow MySQL to see the table. | 3 | 0 | 345 | 2018-02-18T20:43:00.893 | database_errors | dba.stackexchange.com | |
56,628 | OpenLDAP : adding ldif output error | Here is my ldif file : dn: ou=export,dc=XXXXX,dc=local objectClass: top objectClass: autoumountMap ou: export dn: cn=/,ou=export,dc=XXXXX,dc=local objectClass: top objectClass: automount cn: / automountInformation: -rw,nfs,hard,intr,nodev,nosuid 10.0.0.2:/home/& When I try to add it, I got the following error : SERVER2... | You have a typo. objectClass: auto u mountMap correct: objectClass: automountMap In another cause, I think your slapd.conf not include autofs.schema. | 0 | 2 | 907 | 2009-08-20T13:15:32.707 | infrastructure | serverfault.com | |
245,309 | approach to re-route (plain-text) protocols for machines behind a router that are down | I've been looking for some time now, how to achieve that, but I can't seem to find similar solutions or synthesize one from my knowledge. Here are the details about my setup: I have one gateway/router that has the uplink to the internet. "Behind" that are several different servers. Some of those have a public IP, other... | One solution would be to use a loadbalancer like HAProxy . It supports the concept of a backup server, so you can route your traffic to your normal server as long as it answers to the regular checks the loadbalancer does. If it doesn't answer anymore, traffic can get routed to backup servers which in your case could si... | 1 | 3 | 48 | 2011-03-09T17:57:08.990 | database_errors | serverfault.com | |
310,538 | For a table A, is it possible to redundantly store some of the columns of its unique type table AType? | I have a table [CODE] [CODE] table [CODE] has a column named [CODE] , it is a foreign key constraint on the table [CODE] and the table [CODE] [CODE] The table [CODE] has few records, at least, it will not exceed the length of the alphabet. However, there are many records in the table [CODE] . In the case of assuming th... | General rules, and how they apply to your situation. Redundant data is a no-no in schema design. (So not repeat [CODE] in [CODE] .) The cost of a [CODE] is usually small enough so that you do not need to worry about the performance. Joins should have a suitable index to make the action efficient. (You have [CODE] for [... | 0 | 0 | 21 | 2022-04-05T06:44:27.473 | data_quality | dba.stackexchange.com | |
185,837 | Any reason to have both an index with included columns and one without? | I am looking through a few slow running queries on a database that has under gone significant development (under a number of different developers) over the last couple years. One of the most commonly used tables has a couple indexes with the same indexed columns, but one will have included columns and the other will no... | To expand a little on what everyone's favorite n-dimensional analogue commented, there may be some benefit to having both. Here's a small (but not inadequate) demo. The necessary: [CODE] The indexes: [CODE] So like your question, one index on one column, one index on the same column with some includes. The queries: [CO... | 7 | 12 | 1,903 | 2017-09-13T09:24:00.647 | database_errors | dba.stackexchange.com | |
406,020 | Postfix rewriting some emails | I manage a hosting for a domain (let's say sendingdomain.com). The machine is not attached to a public domain (as it hosts more domains), and hostname is albergues02.resolve.com. Sendingdomain.com is a Wordpress application It has Postfix installed, to allow local applications to send emails. It doens't have the MX rec... | I have to disagree with your assertion that [CODE] is not running. The log file above shows that it accepted an email from Apache and relayed it to Postfix. If it wasn't running, it wouldn't write to the mail log. It also wouldn't have the PID 919. Since Sendmail and Postfix do the same thing, you really only want one ... | 0 | 2 | 409 | 2012-07-09T12:14:34.927 | infrastructure | serverfault.com | |
548,559 | Nginx + Nagios : 502 Bad gateway | I have a fully new install nagios, but I can't access to it. Here's my Nginx config: [CODE] Nagios is installed step by step(From this Linode guide ): [CODE] Then I try to visit [CODE] , but it shows [CODE] . How do I deal with this ? This is my [CODE] : [CODE] And there're lot of [CODE] visit in nginx log, but I actua... | you forgot to start apache: [CODE] and you should set: [CODE] in your nginx.conf | -2 | 0 | 2,847 | 2013-10-25T06:37:43.857 | infrastructure | serverfault.com | |
120,417 | OpenAI Gym/Gymnasium Custom Env: How should done signal be defined in a continuous task/infinite horizon problem? | I am creating a custom gym environment that should abstract a non-episodic/continuous task. Generally [CODE] requires to return [CODE] after each step: [CODE] Now, what if there will never be a termination signal ( [CODE] )? Should my implementation always return [CODE] or should it always return [CODE] ? Would returni... | There is a big difference. If your [CODE] flag was always True, then you would always have episodes of length one, which is the opposite of what you want. What the updated version of Gym, Gymnasium, has introduced, is a [CODE] and [CODE] flag. Rather than receive a single [CODE] flag we are now told whether the termina... | 0 | 1 | 259 | 2023-03-22T21:36:04.137 | data_quality | datascience.stackexchange.com | |
196,599 | same email account with different domains in exchnage 2010 | i have one exchange 2010 server installed. i want to add about 4 to 5 domains on this exchanger server as trusted domains. but my real issue is i can't add same email id for different accounts. for example [CODE] how can i do this ? Thanks | If these are all going to be processed by the same person, there's no need to create a new user for each of the addresses. In the Exchange Management Console, open up the properties of your info user and go to the Email Addresses tab. From there, add an SMTP address and add [CODE] and [CODE] as aliases. If for example ... | 0 | 1 | 788 | 2010-10-31T09:33:49.993 | infrastructure | serverfault.com | |
155,404 | Building a Small Office Simuation Server | I'm trying to set up a little "Small Office" scenario on a bunch of VMs to experiment with actually being in IT, sort of a testing grounds to try out different things. I would like to have these based on Linux if at all possible... The users would (probably) be running Windows 7. To start up a basic small office server... | You are way too granular. Domain Controller File Server User Account Server DHCP / DNS Server All that is ONE server. Seriously - using Windows all those are OS roles, there is nothing against installing them on one server. Especially as most are not using any load / memory worth mentioning. Now, the question is what y... | 1 | 1 | 191 | 2010-06-28T05:44:40.330 | api_errors | serverfault.com | |
626,614 | Recover data files from corrupted linux partition | I have a dd image of a 1TB drive. It has 8 partitions. first 3 are ntfs 4 is an extended partition 5 is linux boot 6 is swap 7 and 8 are linux partitions used by users for various storage purposes. all partitions are OK except for 7 and 8. dumpe2fs is unable to find any superblocks on partitions 7 and 8. fsck says: [CO... | +1 for having an image to work with. My go-to solution for filesystem recovery is UFS Explorer . It's relatively cheap and has a good reputation. You should be able to scan and get a feeling for what can be recovered at this point... Good luck. | 1 | 0 | 248 | 2014-09-05T20:14:04.283 | data_quality | serverfault.com | |
396,819 | Flexible (dynamic) user input vs statically typed language c# | Problem domain: There are different types of financial products and I am trying to simulate them in different scenarios. Each of the product types requires different input data. Suppose the input data are organized with a database table, then the input data for a certain product may have its own total number of columns... | It generally depends on the requirements but, more often than not, it depends on how much time you have at your disposal, because when lots of conflicting requirements arise, you may have to actually begin implementing and build from there, improving your architecture as you go (which may include throwing code away). F... | 2 | 5 | 316 | 2019-09-01T13:29:22.840 | api_errors | softwareengineering.stackexchange.com | |
504,724 | Centos Web server can not connect to my computer's ip on port 9001 | When i use; [CODE] on my Centos server, i get [CODE] In my Windows 7 computer, Tcpview shows that port 9001 is listening, i also forwarded port 9001 from my router. How can i debug this connection problem? Thanks EDIT The problem was with the router port forwarding, in port forwarding i was using my own ip as client, c... | Here is how to open both Windows Firewall incoming 9001, and iptables outbound 9001. Linux [CODE] Windows [CODE] | 0 | 0 | 1,270 | 2013-05-03T10:00:53.920 | infrastructure | serverfault.com | |
234,861 | Does design by contract imply correct output? | Design by Contract says, in terms of the function talking: "you give me all the right parameters and I'll give you exactly this kind of data" ...in essence. So, given that, should I use up resources checking the output? I should check for properties that the function does not guarantee its output possesses, but the pro... | The Design-by-Contract methodology makes clear separation of responsibilities: a client has to fulfill a precondition of a supplier a supplier has to fulfill its postcondition as soon as the precondition is fulfilled As a result of this policy if the precondition is violated, it is a fault of the client (the client is ... | 1 | 0 | 151 | 2014-04-04T18:36:56.117 | api_errors | softwareengineering.stackexchange.com | |
500,852 | Puppet: Service must be down to change config files | I have an issue with puppet. I need to define a service with "ensure=>running" but its config files can only be changed while the service is stopped. The default behaviour seems to be that the service is restarted after config files changed (connected through notify ). Is this representable with puppet? And if so, how?... | Here is an ugly method with an exec. There may be better solutions. [CODE] | 3 | 5 | 2,788 | 2013-04-19T07:58:11.847 | pipeline_ops | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.