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 |
|---|---|---|---|---|---|---|---|---|---|---|
437,892 | Guideline choosing between reporting solution or application front-end | I am working in the data department of a middle-sized logistics company who is shifting from an 'old-school' on-premise BI data warehouse to a more 'modern' cloud-based data lake approach. Another piece of context: the data team is separate to the application development team. Probably quite common, but a precision tha... | There is a hard technical reason to run your reports on a data warehouse/lake/swamp rather than your transactional database, and that is because they can slow the application down. Aside from that, the thing that always gets me is that companies spend thousands if not millions on these off the shelf reporting tools tha... | 1 | 1 | 67 | 2022-04-07T13:19:42.947 | bi_errors | softwareengineering.stackexchange.com | |
139,502 | dropping SYNONYM is blocking in sql server? | I have synonyms which points to a TestDB1, by the next refresh synonyms point to TestDB2. while re-pointing from TestDB1 to TestDB2 it will drop all synonyms and re-creates them for TestDB2. Now my problems is: while users querying from synonyms which points to TestDB1 is still running it won't let me drop synonyms. It... | No, dropping a synonym requires a Sch-M lock, and also IX locks on [CODE] / [CODE] , at least if it is on the same server (I haven't tested what happens when the synonym uses a 4-part name). What exactly would it mean if you could change a synonym in the middle of a query or transaction? If you have a query plan operat... | 1 | 2 | 903 | 2016-05-25T14:26:32.130 | database_errors | dba.stackexchange.com | |
108,613 | Computer only starts on Last known good configuration | My computer restarts everytime the login dialog is about to appear. It only loads fine on 'Last known good configuration' option What steps should I follow to debug this issue? OS: Windows Server 2003 | Debugging is going to be very difficult but if it boots to the last known good configuration then obviously the problem is connected to whatever changed since the last successful boot. So, what changed? | 3 | 0 | 3,638 | 2010-02-02T04:44:43.533 | infrastructure | serverfault.com | |
278,514 | Handling the end of sprint cycle between testers and developers | I've convinced our organization to move to a full-team definition of "Done", i.e. one that includes the QA testing and not just code completion. As a result, we can now more accurately tell where the bottlenecks are and see what our real velocity is. As well, this project continuously integrates and deploys regularly. ... | It is your team's responsibility -- the whole team -- to make sure everything is done. If the devs are finished coding and there are still tests to write or perform, they should pitch in and help the testers. There shouldn't be any "open developer time" -- why penalize your testers by giving the developers free time? T... | 3 | 3 | 1,492 | 2015-04-08T01:17:57.970 | api_errors | softwareengineering.stackexchange.com | |
47,436 | Why a Random Reward in One-step Dynamics MDP? | I am reading the 2018 book by Sutton & Barto on Reinforcement Learning and I am wondering the benefit of defining the one-step dynamics of an MDP as $$ p(s',r|s,a) = Pr(S_{t+1},R_{t+1}|S_t=s, A_t=a) $$ where $S_t$ is the state and $A_t$ the action at time $t$ . $R_t$ is the reward. This formulation would be useful if w... | In general, $R_{t+1}$ is is a random variable with conditional probability distribution $Pr(R_{t+1}=r|S_t=s,A_t=a)$ . So it can potentially take on a different value each time action $a$ is taken in state $s$ . Some problems don't require any randomness in their reward function. Using the expected reward $r(s,a,s')$ is... | 5 | 4 | 522 | 2019-03-16T21:59:49.053 | data_quality | datascience.stackexchange.com | |
646,331 | Reverse proxy for 2 domain with same context path | I have 2 different domains [CODE] and [CODE] and both have context name [CODE] and this should be routed to two different backend boxes. Problem here is [CODE] is running on [CODE] and routing [CODE] for [CODE] server. Now i need to configure [CODE] to route [CODE] requests to [CODE] server. Is there option for conditi... | Unless I am missing something from your description, you are basically just describing using virtual hosts. In that case, I would probably set up segments such as the following (I've included a sensible SSL configuration as you've mentioned your current setup is running on port 443) [CODE] and for the second host: [COD... | -1 | 0 | 791 | 2014-11-22T16:18:14.960 | infrastructure | serverfault.com | |
841,521 | Iptables + NAT and port forward loop with one network interface | I am setting an OpenVPN Access Server behind my NAT server in AWS. Currently, my NAT server has one network interface and I am trying to forward some ports to OpenVPN Access Server. Port forwarding works and I can connect to my OpenVPN Access Server either via browser or OpenVPN Client (establish the VPN connection). N... | You should reconsider whether any of the DNAT rules are required. You haven't provided a reason for it. Same with the SNAT rules, as they're forcing all of the connections to appear local for no clear reason. If the DNATs are required, use connmark to mark and restore packets coming from the openvpn-as tun interface in... | 0 | 0 | 3,734 | 2017-03-30T09:39:41.230 | infrastructure | serverfault.com | |
514,546 | Custom 401 Page - 401 Authorization Required error was encountered while trying to use an ErrorDocument to handle the request | I cannot for the life of me work out why this isn't working. I have 2 apache directives. My entire site should require authentication except for the login page which everyone should be able to access. When I do this I get the error below: This server could not verify that you are authorized to access the document reque... | You need to allow [CODE] as well without a login before it will work properly [CODE] | 2 | 4 | 9,304 | 2013-06-10T04:34:51.633 | api_errors | serverfault.com | |
821,923 | Every couple emails marked by gmail as "Couldn't verify Sender" | I'm using postfix as a send only solution from a debian server. The sever is a subdomain, I have and SPF record set for the sub domain as follows: [CODE] Obviously there is an A record pointing the subdomain to the correct IP. The emails come from username@subdomain.example.com. What am I missing here? The hostname of ... | I figured out the problem. IPv6 was enabled on the outgoing interface and the failed messages were sourcing from the ip6 address. Disabled ip6 and everything works. | 1 | 1 | 150 | 2016-12-20T23:12:47.080 | infrastructure | serverfault.com | |
747,608 | how to execute bash script with args in parallel on all the remote server if the remote server in the from of pair | Please read carefully problem first and then give solution... ................ we are having 3 files in directory myscript.sh (the myscript.sh file contain many function and starts/stop to all-pair/single-pair from serverlist.txt file ,the functions like for start() function: its check whether arg2 is all-pair or singl... | You can try to use pdsh (Parallel Distributed Shell). Pdsh is a an efficient, multithreaded remote shell client which executes commands on multiple remote hosts in parallel. While it hasn't been updated in quite some time, it still works great when I run scripts across 700 machines. pdsh | 0 | 1 | 471 | 2016-01-08T11:37:42.397 | pipeline_ops | serverfault.com | |
584,556 | Change the Hard Drive in RAID using tw_cli while lustre file system is mounted | I've setup RAID-5 array disk, but recently one of the Hard drives is reallocating excessive sectors: (Reallocated Sectors = 323) [CODE] However, as you see below there is no problem in the RAID, and the lustre filesystem has been mounted on it, and is working properly now: [CODE] Now, I want to replace the p1 before so... | You don't have to unmount your filesystem while you are replacing a disk on a 3ware controller. Be careful your write cache will be disable on the unit until the unit is rebuild. So you can have degraded performance. You can adjust the rebuild rate to deal with. Use the tw_cli documentation to help you adding the disk ... | 0 | 0 | 1,416 | 2014-03-26T05:52:17.413 | infrastructure | serverfault.com | |
1,033,384 | QEMU Ubuntu Server 20.04 Initramfs write error | I created a QEMU virtual machine intending to install Ubuntu Server 20.04. The host is a Proxmox 6.x Debian system. The virtual machine parameters are: 2 CPU cores, 1 socket 512 MB ram, ballooning device 32GB SCSI Hard Drive, VirtIO SCSI controller VirtIO ethernet device Note: these are all the Proxmox defaults from th... | The recommended minimum RAM for an Ubuntu Server installation is 1GB. I was able verify that using the parameters above, but with 1GB of RAM, allowed the system to boot properly. From the comments Installation with 768MB works, too (as of 2021-01-24). After installation you can reduce the RAM assignment, the server wil... | 5 | 11 | 7,267 | 2020-09-10T15:55:22.337 | infrastructure | serverfault.com | |
732,765 | Gmail not accepting emails from my local Postfix server | When I am trying to send from my postfix server to gmail accounts, I am getting the following error message in logs: Our system has detected that this message is 550-5.7.1 not RFC 2822 compliant. To reduce the amount of spam sent to Gmail, 550-5.7.1 this message has been blocked. Please review 550 5.7.1 RFC 2822 specif... | You're fixing it in wrong point. You should fix/change applications which sends emails without From: header, not faking it on your mailserver. Email without From: header is incorrect and should be blocked by first server on the path. | 2 | 3 | 6,923 | 2015-10-30T12:52:34.733 | infrastructure | serverfault.com | |
57,651 | How to find the probabilities of certain events occurring in a defined sequence? | Good day, everyone! I have a problem where I have to program something like this: I have some arbitrary number of events, let's call then Event A, B, C, D, E, F, ... and so on. Now they occur in well defined sequences, just like below: [CODE] That's just a random sample, I have a data of thousands of such event sequenc... | My answer is inspired by this question in Code Review SE [CODE] What the above code does: 1) The [CODE] function, creates a [CODE] lists with [CODE] items using elements of the [CODE] parameters. In specific, we create 50000 lists with 9 items length using the capital letters [CODE] This is just for testing the code 2)... | 3 | 1 | 355 | 2019-08-16T12:09:15.757 | data_quality | datascience.stackexchange.com | |
478,561 | gunicorn working vs uwsgi timeout | I've setup my Python / Django app on a vmware machine with CentOS, uwsgi and gunicorn along with all my apps dependencies. After running my app with gunicorn with the following command: [CODE] The application works like a charm and everything is going smoothly. However, i tried running it with uwsgi to compare performa... | Adding --protocol=http solved the problem. By default uwsgi works with wsgi protocol which doesn't accept http requests. In addition, instead of using the reverse proxy, you have to use uwsgi mode [CODE] | 0 | 0 | 2,726 | 2013-02-13T21:42:17.860 | api_errors | serverfault.com | |
571,264 | How to benchmark maxCache 3.0 with SSDs? | We're a software development company and previously outsourced the HW side of business but now we're looking into building our own private cloud. We recently purchased a few servers, one of which is supposed to act as a central storage. The specs are as follows: Chassis: CSE-826BE16-R920LPB Motherboard: Supermicro X10S... | does this configuration make sense for a central storage of a private cloud where we plan to have other 3 compute nodes with two CPUs and lots of RAM on them? I'd be worried that you have a single-point-of-failure here as it will only act as a single-controller storage box, you've also not really got a lot of memory (g... | 0 | 1 | 591 | 2014-01-31T11:17:27.107 | pipeline_ops | serverfault.com | |
25,475 | Long Keywords like `function` and `namespace` | In many English-based programming languages like C++ and JavaScript, there exist long keywords like [CODE] , [CODE] , [CODE] (in OCaml languages) and such. Do you think shorter keywords like [CODE] should replace them? Why or why not? What about replacing them with digraph operators? The long keywords we will be mainly... | I accept keywords like [CODE] and [CODE] in functional languages, because functional languages tend to be math-like and more symbolic. But in imperative, object oriented languages, where you are telling the computer how to do something as well as what to do, I prefer that the identifiers and keywords be whole words. An... | 6 | 10 | 686 | 2010-12-11T05:49:28.067 | api_errors | softwareengineering.stackexchange.com | |
765,103 | PHP not able to connect to MySQL | I just compiled PHP 7.0.4 on a Fedora 23 box, created a test script to connect to MySQL on localhost and all I get is: [CODE] According to PHP that is because PHP cannot find /tmp/mysql.sock, the file does exist, so I reconfigured MySQL and PHP to have them both point to the same file, without success, this is what /tm... | It turned out when I built PHP I did not include --with-mysql-sock=/path/to/mysq.sock, so even though it was set in php.ini it did not know where to find it, once I included that it worked. Thanks for your help everybody. | 0 | 0 | 2,585 | 2016-03-21T14:23:21.213 | database_errors | serverfault.com | |
193,049 | Troubles with an attribute that depends on the value of another attribute | I'm redesigning a health insurance costs database (actually they're not really insurance plans in my country but I think that for the sake of the example it doensn't matter). We're the health plan consulting firm so we don't provide health plans, we manage health plans on our client's companies. My problem lies specifi... | My first thought off the top of my head is that you could put in the relationship_type attribute and have it be "self" rather than null for the primary. Another possibility is that you could make the "type" include "primary", "dependant spouse", or "dependant child", depending on how you need to access it. I know that'... | 2 | 0 | 88 | 2017-12-13T17:52:51.610 | warehouse_errors | dba.stackexchange.com | |
648,946 | IIS 7.5 web application failing with NT Authority\Anonymous Logon | I am finding various google results, but none seem to fix my problem. I am setting up a new WINDOWS 2008 R2 box at work that is to communicate with an existing SQL 2012 box via web tools running in IIS 7.5 within our intranet. We are to use windows authentication through out - IE -> Web Server -> SQL. We are using Kerb... | The last two things I can think of is to check of you have the MSSQLSvc SPNs registered under the SQL server service account registered (which you may have already since you have a working scenario). Just in case: MSSQLSvc\NetBIOS MSSQLSvc\NetBIOS:1433 MSSQLSvc\FQDN.domain.com MSSQLSvc\FQDN.domain.com:1433 If that is d... | 5 | 0 | 5,772 | 2014-12-03T19:59:33.527 | api_errors | serverfault.com | |
440,159 | UI/UX design feels like waterfall, What do you think should be the proper process? | I'm currently working as Fullstack developer, our frontend is being built in React. Our current process involves: The client / product owner describes a feature to the UI / UX designer. The designer creates a nice template in Figma, or any other UI tool like-so The design is given to us the developers to implement The ... | What you describe doesn't feel like waterfall - it is waterfall. One of the twelve principles of Agile Software Development is that "business people and developers must work together daily throughout the project". Today, the phrase "business people" is interpreted to mean project and product managers, which often inclu... | -1 | 4 | 287 | 2022-08-01T12:04:40.357 | api_errors | softwareengineering.stackexchange.com | |
306,464 | Do Virtual Machines (for execution of PL) operate on one contiguous array for their bytecode? | I have been reading every now and then on the virtual machines of programming languages like Java, Python and Lua. They all have a notion of bytecode, into which the source code is translated and that is excutable on a virtual machine (register or stack based). Now on an x86 architecture, all code resides in RAM which ... | Most VMs do not put all instructions into a single array, for various reasons: Instructions might not have constant size, so a piece of memory might not be interpreted as a C-like array of instructions. OK, that's a bit pedantic. However, there are interpreters that don't use a sequence of opcodes, but a graph that's t... | 4 | 4 | 95 | 2016-01-04T12:27:05.047 | api_errors | softwareengineering.stackexchange.com | |
383,749 | Iptables doesn't log to /var/log/kern.log or syslog | [CODE] Doesn't log anything to kern.log or syslog at all. What might cause that and how to fix that? Using Ubuntu 10.04.4 LTS That's the contents of /etc/rsyslog.d/50-default.conf [CODE] | Your iptables stanza defines log-level as [CODE] and your [CODE] says loglevel info gets written to [CODE] . Can you find your iptables messages there? | 0 | 1 | 1,229 | 2012-04-27T09:01:11.843 | infrastructure | serverfault.com | |
884,107 | Google Compute Engine: The resource 'projects/xxxx/global/networks/default' is not ready | I am using Google Cloud Kubernetes engine, it is awesome but my cluster suddenly got stuck in an error: [CODE] Now I just want to delete it but I can't since the cluster is not configured. I am continuously paying for a cluster that I can't use and I can't delete it. Have any of you seen this before? | It looks like the network the cluster uses has become stuck in a state of "not ready", which is in turn affecting on your cluster. Have you made any recent changes to the network? One thing you could try is rather than trying to delete the cluster via [CODE] you could try deleting the instance group that governs that c... | 3 | 0 | 3,042 | 2017-11-18T22:19:55.507 | pipeline_ops | serverfault.com | |
269,128 | Create junction table where one referenced table has a composite key as PK | I have a category table which currently has only a title field (PK) [CODE] and a product table with a composite key as a primary key [CODE] A product can have many categories so I created a junction table. I'm struggling with the composite key from the product table. In the junction table I need to reference the combin... | You have also to define two columns for a double Primary KEY [CODE] | 1 | 2 | 242 | 2020-06-14T16:28:51.357 | warehouse_errors | dba.stackexchange.com | |
115,298 | Clustered columnstore index performance SQL Server 2014 | I'm setting up an OLAP database using SQL Server 2014. The core fact table has about 40,000,000 rows, 225 columns with an average row size of 181 bytes. I've been toying around with the clustered columnstore index a bit without much luck. In general I find query performance more than 4 times slower with the new technol... | If you can post the specific data and queries you are using, that is probably the only way we can help answer the question in the context of your specific case. You can use a script that generates anonymous data in roughly the same scale as your real example. However, I went ahead and created a similar type of script m... | 6 | 7 | 1,110 | 2015-09-16T20:32:49.087 | database_errors | dba.stackexchange.com | |
975,729 | Set Stackdriver severity based on textPayload | We have an in-house Java application created by our developers that uses [CODE] to format its logging messages. Recently, we've started to run this on Google Kubernetes Engine and so logs are piped through to Stackdriver from stdout automatically. However, all logs appear with the severity level [CODE] . One such messa... | The quick answer is No, you will need to change your code and implement proper logging with the correct severity for each message. You could export your Stackdriver logs to BigQuery, which is normal to do, and then run more complex queries. Here you can find some helpful links: https://cloud.google.com/logging/docs/exp... | 1 | 2 | 659 | 2019-07-18T10:21:41.290 | pipeline_ops | serverfault.com | |
286,934 | PHP 5.3 and Lighttpd? | I currently have a couple of servers, running CentOS: Lighttpd/MySQL/Php5.1.x - because that's the PHP version that installs with Yum. The problem is that 5.1.x is out of date (by a long time) and in order to use the software I want (WP3.2), I need 5.2.x. I've been a'searching and I can't seem to find anything that has... | You'll need PHP compiled with FastCGI support, and have at least a few PHP-FastCGI processes running. See this page for more info: http://www.fastcgi.com/drupal/node/5?q=node/10 As is often the case with CentOS, you will probably need to compile this yourself. There is some RPM packages out there which can be found by ... | 0 | 1 | 629 | 2011-07-04T17:58:21.523 | database_errors | serverfault.com | |
504,914 | my ibm x3550 server can't find the hard drives | I recently purchased a used ibm x3550 server with two 2.5" SAS hard drives included. When I boot the server it doesn't recognise them. I get into the bios and I can't see them there. I try to install windows and it doesn't show any hard drive. When I open it, everything seems to be correctly connected. I think the prob... | You most likely have to enter the RAID controller BIOS and create a logical disk and initialize it before an OS will see them. Consult your server's manual if you're unsure of how to do this. | 0 | 3 | 6,374 | 2013-05-03T21:18:41.317 | infrastructure | serverfault.com | |
108,986 | Cisco PIX land attack | I am continouly getting errors log [CODE] . Both source and destination IP address are same. Can any one please guide me what could be the issue and how I can fix this? | The Land Attack spoofs the source and destination IP to be the same basically causing the machine to continuously reply to itself causing a DOS. It's a pretty old attack and most OS's are now patched to not be vulnerable to this. In this case I think your PIX is doing what it's supposed to and dropping the traffic. I d... | 2 | 5 | 1,376 | 2010-02-02T23:15:41.250 | infrastructure | serverfault.com | |
656,697 | CentOS Minimal Installation - Ports blocked? | I am trying to connect to a new CentOS 7 server to do some performance testing. It is a minimal install and at this point the only things installed / configured are to test RAID performance, Java 1.7 and Wowza Media Server which has a web service that runs on port 8088. I am able to SSH / Sftp into the server all I wan... | Turns out it was a firewall configuration from the default installation. Live and learn. This is what I ended up finding: https://www.centos.org/forums/viewtopic.php?f=47&t=47129 [CODE] Note that you have to restart the service before you can see the changes. If you want to test it without restarting the service, you c... | 6 | 5 | 10,654 | 2015-01-06T18:15:59.937 | infrastructure | serverfault.com | |
441,547 | Sharepoint 2010 moving site collection to different database error | I am trying to move a site collection from one content database to another content database. First I used the following PowerShell command: [CODE] I confirmed that this did in fact create the DB in the SQL Server. I then used the following command: [CODE] This generates an error stating that the "Operation is not valid... | Try disabling all the Sharepoint services before moving the database . | 3 | 0 | 962 | 2012-10-23T21:25:08.760 | database_errors | serverfault.com | |
274,231 | Since MS ForeFront firewall is installed the network is going crazy | a few weeks ago we installed the new MS Forefront Firewall server. Since that day we have trouble in our network. example: a user is trying to visit www.google.com -> his browser opens www.facebook.com a user is trying to go to msdn.microsoft.com -> his browser tries to open msdn.facebook.com/... This happens irregular... | Sounds like you have a Facebook related rule somewhat jacked up. Have you analyzed all of your firewall rules, specifically any dealing with facebook.com? | 0 | 2 | 134 | 2011-05-26T21:11:40.437 | infrastructure | serverfault.com | |
738,406 | How do I search AD Configuration partition for a given string? | I'm having an issue with installing/uninstalling an Exchange server. I suspect the server wasn't properly removed from AD and as a result I'm getting an error. (I've already wiped the machine, the only constant is the hostname, and AD) How do I search AD for a given host name, wherever that may be (including partial ma... | The following should work. Assuming you want to search for a server name that begins with "CONTOSOEX". [CODE] To search for all text: [CODE] Then you may open the Exchange.txt file in your favorite text editor to search for the required values. | 3 | 1 | 1,000 | 2015-11-23T18:03:18.043 | infrastructure | serverfault.com | |
309,459 | ZendServer, Apache2 and VirtualHosts with SSL | I have an ZendServer on a Ubuntu Linux. The ZendServer uses Apache2, so that's where I'm looking for a proper configuration to setup a set of Virtualhosts with SSL. I am not longer using [CODE] as it was blank, and I'm assuming no longer in use? As such I have been modifying [CODE] and [CODE] Here is what I have (and t... | Did you enable the SSL module using "a2enmod"? This is analogous to the sites-available/sites-enabled thing, where symlinks are created from mods-enabled to the files in mods-available. To use the IP address, you will put it in the VirtualHost line, something like [CODE] | 0 | 0 | 2,033 | 2011-09-08T17:16:30.877 | api_errors | serverfault.com | |
473,125 | What is the easiest way to obtain a script-driven hot failover system? | I need to reconfigure a prod env to provide hot failover for a db driven web app written in Perl that is currently running on an Apache HTTPD server, on a Linux OS. The app is not designed to run in a cluster. Thus, if 2 instances of this app are connected to the same db and exposed to users via a NLB it would result i... | Why try to recreate the wheel? There are lots of perfectly good failover solutions with proven stability records. For example, use Pacemaker to control starting/stopping your services and Heartbeat to detect the health of you servers. If all you're trying to guard against is failure of one of your Apache front-end serv... | 0 | 0 | 127 | 2013-01-28T16:33:54.870 | pipeline_ops | serverfault.com | |
2,179 | WinXP: connecting to AdHoc network | Using WinXP SP3. Trying to create an ad-hoc wireless network for ipod. (Also has a primary wired network). Using a USB wireless adapter. (All drivers installed,etc). When I configure the wireless device to connect to ad hoc I get an error: "some configurations changes were not saved" I check the group permissions (gped... | There are two ways of doing this. Bridge your wired and wireless connections, your router will see your ipod just like it is on the wired network and assign it an IP and give it network access. Setup internet connection sharing. in network properties right click on the network connection you want to share (in this case... | 0 | 2 | 629 | 2009-05-01T05:36:36.967 | infrastructure | serverfault.com | |
179,208 | Alternatives to sql like databases | These days computers usually have 2GB or 4GB memory. I like to use some secure client server model, and well an sql database is likely candidate. On the other hand I only have about 8000 records, who will not frequently be read or written in total they would consume less then 16 Megabyte. And it made me wonder what wou... | Very first thing that comes to mind is SQLite . Have you considered giving that a shot? Very light weight and ubiquitous. Easy to use too. SQLite (in addition to the comments below) is easily backed up and transportable across systems, mobile devices, client machines, embedded systems, servers all because it is a file.... | 1 | 3 | 2,608 | 2012-12-12T20:30:24.320 | database_errors | softwareengineering.stackexchange.com | |
174,984 | Unable to connect to Windows VPN from iPad | I have a 16 GB iPad wifi I can't get to connect to VPN. The error I get is: "A connection could not be established to the PP server. Try reconnecting. If the problem continues, verify your settings and contact your Administrator." I have tried a variety of tasks to troubleshoot the issue: I have verified that another i... | If you're trying to do this over 3G, be aware that AT&T's network will block VPN access (outbound) unless you have their Enterprise Data Plan. | 2 | 1 | 1,373 | 2010-08-26T21:32:27.540 | database_errors | serverfault.com | |
888,089 | Apache HTTP Fallback if SSL Handshake fails | I have a very specific use case. I want to check, using an Apache, if a user's browser is capable of using modern CipherSuites. The Apache ist called with https and should try to establish a SSL connection, if that fails the Apache should redirect the user to a fallback HTTP site, where he is told that his browser is o... | the client should try to establish a SSL connection, if that fails the Apache should redirect the user to a fallback HTTP site, where he is told that his browser is outdated. I think you can't, the TLS handshake would fail at a stage well before the stage where the client and webserver can exchange HTTP protocol messag... | 0 | 1 | 1,060 | 2017-12-14T09:37:40.700 | infrastructure | serverfault.com | |
22,478 | How to set weights in multi-class classification in xgboost for imbalanced data? | From this post , I know you can set [CODE] for an imbalanced dataset. However, for the multi-classification problem in the imbalanced dataset, I don't quite understand how to set the weight parameter in [CODE] . How can I use XGBoost for an imbalanced dataset in a multi-classification problem? | As you say, [CODE] works for two classes (binary classification). [CODE] can be used for three or more classes. The parameter goes into the [CODE] function and must contain one value for each observation. Example: [CODE] A similar question can be found here . | 4 | 1 | 4,131 | 2017-08-22T13:09:19.953 | data_quality | datascience.stackexchange.com | |
565,184 | What Database Host Entry Should be used to Install Drupal on WAMP Server? | I'm installing Drupal 7 on my Windows Server 2012 running WAMP. Apache is listening on port 99. I copied defaul.settings.php to settings.php and began the install process. When I get to the database page, I enter the following in database host: [CODE] I also supplied the correct MySQL credentials, created an empty Drup... | Why would you enter the path to a php configuration file as the database host? You're running MySQL on the same server, correct? Then enter localhost or 127.0.0.1 . | -4 | 2 | 1,492 | 2014-01-05T17:12:20.313 | database_errors | serverfault.com | |
31,045 | Swap Columns on some rows? | I have a table of about 106k rows where about 11k rows have the values in 2 columns swapped. I want to run a query to fix it, but I don't think I can do this: [CODE] Or can I? I'm worried the 2 scores will end up the same value. Also, please validate that my query will do what I intend to do: I need to swap the home an... | Your concerns are valid , mysql documentations says If you access a column from the table to be updated in an expression, UPDATE uses the current value of the column. For example, the following statement sets col1 to one more than its current value: UPDATE t1 SET col1 = col1 + 1; The second assignment in the following ... | 1 | 5 | 4,959 | 2012-12-26T17:32:51.697 | warehouse_errors | dba.stackexchange.com | |
618,922 | Spam emails from Suse server: test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp | Have a virtual server with old Suse. About a month ago cron started spamming me with emails like this: [CODE] I use postfix (sendmail was deleted long time ago) and can't see how to turn off this spamming email. And yes, no one change anything on the server (neither install updates, nor reconfigure it). At one day this... | It looks you have not removed fully all sendmail packages. | 0 | 0 | 370 | 2014-08-08T07:39:20.290 | infrastructure | serverfault.com | |
381,542 | keepAlive in Apache causing apache to reach its max_clients | I have an Apache 2.2 running on ubuntu 11.4 with 16Gb RAM, for image hosting from mobile phones through GPRS,since connection is slow i have enabled keepalive and set time out to 6,**based on average loading time.But usually even with 10-20 users apache is reaching its max_clients of 300 and preventing further connecti... | You're running apache 2.2 with the prefork MPM; this is notoriously unsuited to serve large numbers of concurrent connections. Consider either switching to the worker MPM, or upgrading to apache 2.4. Even apache 2.2 using the worker MPM can serve thousands of concurrent requests with 16GB of memory. Especially on mobil... | 0 | 1 | 3,038 | 2012-04-20T13:55:12.627 | infrastructure | serverfault.com | |
698,195 | Executing commands on the Ansible host from a handler | I am trying to implement the following scenario in Ansible (v1.9.1): Ansible connects to remote host and uses [CODE] to become [CODE] . Ansible host fetches remote configuration file that it is about to clobber. Ansible host stores adds the just-fetched file to a Git repository that contains the destination directory u... | While I expect that the root cause of this problem will be fixed in a future Ansible version, I rolled out my own solution. Basically I modified/hacked a stripped-down connection plugin for Ansible that simply executes a command on the host. The process was as follows: In the playbook directory create a subdirectory na... | 2 | 2 | 4,413 | 2015-06-11T06:20:28.973 | pipeline_ops | serverfault.com | |
240,125 | place php errors in log file | I am running mac 10.6.4 on an iMac and am using it as a developer server. I have Apache and Entropy php5 installed, when i write my applications, some pages wont run when php has errors, however these are not recorded on a log file, I created one php_errors.log and entered the following on the php.ini file [CODE] Howev... | In your [CODE] you must also set [CODE] Then restart your webserver. | 0 | 0 | 83 | 2011-02-25T08:25:26.723 | infrastructure | serverfault.com | |
224,389 | Questions about the issue of getting stuck in a problem, and making snail's pace progress | Let me describe my background. I am currently a software developer co-op working at an architecture firm that has a large focus on research and development, mainly in mathematical modeling and physics simulations in better aid architecture design. I am one of the three main software developers. Realistically, we're all... | You must ask for help when you are stuck, regardless of how it makes you feel. You are using an SDK that is dragging down your productivity; it is not your fault. You cannot be considered incompetent. It is always easier to work on stand-alone code that does not depend on third party libraries, or only uses well design... | 1 | 1 | 437 | 2014-01-16T14:18:49.620 | api_errors | softwareengineering.stackexchange.com | |
854,294 | UDP connections with no foreign address | Ubuntu 14.04 [CODE] None of the UDP "connections" are in the LISTEN state, but none of them have a foreign address. What does this output mean? | UDP is stateless. Those are processes that have called the [CODE] system call to wait for an incoming datagram on the ports indicated in the local address column. If you want to see the PID/Program name run [CODE] (as root). | 0 | 0 | 1,623 | 2017-06-06T19:11:50.677 | infrastructure | serverfault.com | |
344,913 | Options for non-virtualized network interface isolation? | My server has two physical NICs, interfaces are eth0 192.168.1/24 (lan) and eth1 192.168.3/24 (dmz). Both NICs are connected to a router via wire. Router has two vlans for lan and dmz with separated ports also, with a firewall between the zones (OpenWRT). Problem object is the server and the way Linux prioritizes loopb... | The whole point in the loopback interface is that it should never get to the router and it should just loop back to the host without getting to the NIC. I suspect you need to change a setting somewhere to stop your particular application from using the loopback interface (127.0.0.1) if that is supported. | -2 | 1 | 722 | 2011-12-29T02:29:53.143 | infrastructure | serverfault.com | |
756,068 | WebDeploy 3.6 won't connect with TLS 1.0 disabled | Recently I had my servers audited for PCI compliance. As part of this I was picked up for not having TLS 1.0 disabled as per: http://blog.varonis.com/ssl-and-tls-1-0-no-longer-acceptable-for-pci-compliance/ https://www.pcisecuritystandards.org/documents/PCI_DSS_v3-1_Summary_of_Changes.pdf When I disable TLS 1.0 using I... | We added registry keys to force the .NET app pool over to TLS 1.2. This was to allow an app to talk to Salesforce after SF issued a critical update disabling TLS 1.0. The registry keys apply to the whole server as opposed to a single site, unfortunately. The build broke for the reason you indicate above. This worked fo... | 6 | 6 | 1,434 | 2016-02-13T23:23:27.117 | infrastructure | serverfault.com | |
134,062 | Server warnings on MongoDB startup | I recently installed MongoDB on an AWS EC2 instance running Ubuntu. When I'm starting the MongoDB service, I get some warnings: [CODE] I think that this is what prevents the migration from Parse.com, as I posted on this question . How can I ignore these warnings and disable it? | You need to apply what MongoDB Docs say: https://docs.mongodb.org/manual/tutorial/transparent-huge-pages/ I installed MongoDB 3.0.8 as couple of months ago and got the same warnings. This setting was set by Amazon. First thing to do is create a script that can enable and disable Transparent Pages. Documentation gives t... | 2 | 3 | 3,691 | 2016-04-01T10:50:27.623 | database_errors | dba.stackexchange.com | |
1,152,184 | Strongswan IPsec site-to-site on Gcloud | I am trying to initialise an IPsec tunnel between an Ubuntu VM on Google Cloud and a remote site. The connection is correctly established but from the Ubuntu machine on Google Cloud I cannot reach a host on the remote network (172.17.20.25). Gcloud: Public IP: 50.50.50.50 Private IP: 10.132.0.63/32 Remote site: Public ... | I found the problem, in addition to opening UDP ports 500 and 4500 on Google Cloud Firewall it is necessary to add the ESP protocol Protocols and ports udp:500 udp:4500 esp | 1 | 1 | 99 | 2024-01-24T17:38:20.537 | infrastructure | serverfault.com | |
145,989 | How to differentiate between "no child rows exist" and "no parent row exists" in one SELECT query? | Say I have a table C that references rows from tables A and B: [CODE] and a simple query: [CODE] I would like to differentiate between the following cases: No row exists in A where id = X No row exists in B where id = Y Both such rows in A and B exist, but no rows in C exist where a_id = X and b_id = Y The above query ... | I think I managed to get a satisfactory solution using the following two features: Subselect bound to a column, which allows me to check if a row exists and (importantly) get a NULL value otherwise (e.g. [CODE] ) Common Table Expressions Initial data: [CODE] And the query: [CODE] This query will always return at least ... | 2 | 2 | 448 | 2016-08-05T11:31:11.800 | warehouse_errors | dba.stackexchange.com | |
620,013 | Importing a certificate and granting permissions on Windows Server 2012 R2 | On Windows 2012 R2, winhttpcertcfg -i FileName -a CertAccount -c LOCAL_MACHINE\MY -p Password installs the certificate on Trusted Root Store instead of LOCAL_MACHINE\MY. I also need to grant access to the private key to an account specified by the -a option. Is there a way to achieve the same using Powershell / CertUti... | Winhttpcertcfg does not import certificates correctly on Server 2008 R2 and onwards. The download page says it is compatible upto Server 2003. See http://www.microsoft.com/en-us/download/details.aspx?id=19801 The alternative command is certutil. http://technet.microsoft.com/library/cc732443.aspx What is missing is a to... | 2 | 1 | 19,157 | 2014-08-13T02:25:16.353 | infrastructure | serverfault.com | |
27,153 | Alter table on live production databases | How do most "popular" (MySQL, Postgres...) database system handle altering tables on live production databases (like adding, deleting or changing the type of colums)? I know the correct way is to backup everything schedule downtime and do then do the changes. But... does any current database system support doing these ... | When you issue an [CODE] in PostgreSQL it will take an [CODE] lock that blocks everything including [CODE] . However, this lock can be quite brief if the table doesn't require re-writing, no new [CODE] , [CODE] or [CODE] constraints need expensive full-table scans to verify, etc. If in doubt, you can generally just try... | 30 | 25 | 55,699 | 2012-10-18T11:39:23.607 | database_errors | dba.stackexchange.com | |
799,933 | prometheus.yaml syntax error | I am trying to set up a new Prometheus server, and the config file has changed a little since I last did this. I have edited my config file, but I am getting the following error. [CODE] here is my prometheus.yml file: [CODE] line 13 is the first "static_configs" line. All the documentation says there should be a colon.... | it must have been some line feed or something. I typed the whole thing out again and it works. Comparing the text and there is no difference. | 0 | 0 | 1,867 | 2016-08-30T09:02:55.123 | pipeline_ops | serverfault.com | |
249,417 | improve speed of fuzzy search | I have configured trigram index for fuzzy search in Postgres. I inserted 8500000 rows to this table with 4 words text. [CODE] Now I do a fuzzy search: [CODE] And have results: [CODE] It takes about 1 second. That's good but I would like to have it faster (300ms). What's are possible ways for optimization the speed? Her... | You create the fuzzystrmatch extension, but you never use it. Are you missing an example? This type of query is very context sensitive, so you have to test it on realistic example data with realistic queries. Your example doesn't look very realistic. For one thing, your random string is the same random string in every ... | 1 | 2 | 1,065 | 2019-09-23T13:22:47.593 | api_errors | dba.stackexchange.com | |
152,301 | Using SSIS to extract query data and present it through a cube | The problem: I have a client who is running their application on SQL Server. They use SQL Server Analysis Services for additional reporting based on the cube that's been provided. It turns out, there is one query they are looking to run that is written in SQL and is fairly complex. The cube doesn't give them the data t... | If you just transfer the data to another server using SSIS it won't magically appear in the SSAS database, so you would need to change the SSAS solution. If your question is about providing access to the production database you could use SSIS to transfer data onto another server where the user does have access, but it ... | 2 | 4 | 1,470 | 2016-10-14T13:55:26.500 | database_errors | dba.stackexchange.com | |
279,640 | NGINX does not pass POST request when posted to / | The issue occurs when sending a post request [CODE] to [CODE] . The output is [CODE] , though the expected output is: [CODE] . (PHP backend outputs JSON encoded [CODE] ) However, if I send POST request directly to [CODE] , I get the expected output. All the relevant config: [CODE] | NginX cannot POST to a static file (url without a files extension) You need to change the POST into a GET by proxying to self. See this gist for relevant components of my solution: https://gist.github.com/1021739 More info may be found here: http://article.gmane.org/gmane.comp.web.nginx.english/1941/match=post+405+stat... | 1 | 3 | 12,732 | 2011-06-12T15:12:51.220 | infrastructure | serverfault.com | |
546,274 | Starting command on boot with correct user env vars | I am attempting to create a start-up script that will run this command on boot for my ubuntu 12.04 server: bundle exec thin -R config.ru start -p 3030 When I run it as a regular user it works just fine, the thin web server starts and I can access my page that I need. Below is the start up script I am trying to use /etc... | you should use wrappers, you can read more about them here: http://rvm.io/integration/init-d | 1 | 2 | 2,399 | 2013-10-15T22:00:39.833 | infrastructure | serverfault.com | |
87,866 | How would you build a big production ready image training dataset from scratch? | How would you most likely create a large production ready image training dataset from scratch including annotations for a image classification task? We will take a large amount of images (~1 million) with industrial cameras and save them in a S3 bucket. Do you think a data lake infrastructure is necessary? In your opin... | I'm not expert in images classification, I'm just going to give some general advice here. The strategy should be progressive, for instance: Proof of concept: devise a first draft of annotation process with some general guidelines, then take a random subset of a few hundreds images and try annotating them following the ... | 2 | 1 | 57 | 2021-01-12T14:37:27.473 | data_quality | datascience.stackexchange.com | |
951,347 | Docker compose doesn't reuse the intended anonymous host volumes on container recreation | I have an Ansible container and when I have developed a docker-compose file create the container. [CODE] but when I remove the container and when I recreate the container all the volume data are lost. (PostgreSQL data will be lost.) After a bit of debugging I have found that the host volumes are getting remapped with t... | Your docker-compose.yml only specified a path to have PostgreSQL data created in a new transient volume each time the container is started. This is what happens if you specify the container path without a host path. If you want the data to be persistent, you must specify a source for storing the data on the host: eithe... | 0 | 0 | 694 | 2019-01-29T18:25:35.527 | database_errors | serverfault.com | |
532,900 | What is LDAP enumeration? | I have been working with implementing LDAP in our servers. We are using SSSD instead of nscd/nslcd to communicate with the LDAP server. One of the options in SSSD is enumeration. Enabling it solved an issue we were having while implementing the LDAP-client on RHEL. Can somebody explain more clearly what LDAP enumeratio... | From http://docs.fedoraproject.org/en-US/Fedora/14/html/Deployment_Guide/chap-SSSD_User_Guide-Configuring_Domains.html : Enumeration means that the entire set of available users and groups on the remote source is cached on the local machine. When enumeration is disabled, users and groups are only cached as they are req... | 2 | 3 | 3,082 | 2013-08-22T11:27:10.993 | infrastructure | serverfault.com | |
408,923 | Is it allowed to include the composition in the compositor in the Strategy Pattern | I have a range of different animals in my zoo such as turtles, birds etc. As they all share a common trait such as either swimming, flying etc., I thought a strategy pattern would be appropriate to model them. The thing is though that I want to call a method in the composition from the compositor. See this MWE: Animal.... | It helps to think in terms of the actual domain you are modelling: Not all animals can fly, swim, etc. Thus, methods like [CODE] , [CODE] , etc. don't really fit in the class [CODE] because, in the object-oriented sense, calling a method of any class should not appear to "randomly" cause an error. If you are going to c... | 2 | 4 | 170 | 2020-04-17T08:06:00.703 | api_errors | softwareengineering.stackexchange.com | |
83,294 | How can I simplify this UNION? | Here's the case - I have the following query: [CODE] The above query works as intended but, as those two inner SELECTs are fairly similar, I was wondering if there is a way to merge them into a single query? Here's the background: This is related to a WordPress database, expanded with custom tables. I need to get IDs o... | Your inner query should look like [CODE] REFERENCE | 2 | 0 | 187 | 2014-11-21T14:32:38.750 | warehouse_errors | dba.stackexchange.com | |
105,953 | How to install smtp/email server to work with php script? | I have this code [CODE] How i configure my postfix/sendmail or whatever server to actually work and send the mail? This has been driving me insane! I've tried numerous times to configure these servers. I just want to be able to send emails via my php script... Can someone please link me to a guide to get this all going... | Isn't this question should be placed on StackOverflow instead of here? Try telnet on 465 port, are you sure that the service is available on this exact port? If it is available, you will see something like this in your terminal: "220 mail.craze.cc ..." If it is available on this exact port, try this: [CODE] | 2 | 1 | 356 | 2010-01-25T04:50:30.160 | infrastructure | serverfault.com | |
238,303 | MVC: my controller seems useless half of the time. Is this a problem? | Often when I design a program with MVC, the controller is useless half of the time. What I mean is this: something happens on the view (e.g. a button click). The view then notifies the controller. The controller then directly delegates to the model and does nothing else because it has nothing to do. For example: User p... | You're underestimating the importance of having a layer of abstraction between your User Interface and your Model. The Controller fulfills this function 100 percent of the time. Your example [CODE] is a bit specious. In a real model, this would probably be a CRUD method. So your button might be a Create Customer button... | 9 | 12 | 988 | 2014-05-07T20:58:59.807 | api_errors | softwareengineering.stackexchange.com | |
287,226 | Expandable alternative to Visitor pattern for tree traversal? | I have a tree containing various subtypes of the my base node class. I now want to traverse this tree and do something with the nodes depending on their type. The most straightforward idea is to just define a method [CODE] in my base node class, but this means that to add functionality I have to add a method to all exi... | I want the new subtypes to inherit the way they are handled from their base type The classic GOF visitor pattern behaves exactly like that. For example, look the Wikipedia CarElement example (it is a Java example, but the important part is similar in C++). Lets assume you add new Wheel types like [CODE] , [CODE] by inh... | 4 | 4 | 2,671 | 2015-06-18T17:57:30.667 | api_errors | softwareengineering.stackexchange.com | |
192,368 | Killed DbccFilesCompact found running for days | There were 2 running, actually, the first one I killed went away quickly. The second is in suspended status, from sys.dm_exec_requests the percent_complete doesn't change (88.87) and the estimated_completion_time keeps going up. What can I do? There is no room left on the one mdf file drive, is that the problem? This i... | I just killed it today and it went away immediately... hope this helps someone else. Thanks! | 1 | 1 | 3,735 | 2017-12-04T19:27:52.153 | hadoop_errors | dba.stackexchange.com | |
1,070,269 | Is it possible to specify an existing CloudSQL instance as the destination for the database migration service in GCP? | According the GCP guides, setting up a database migration involves creating a migration job in the console using the wizard [1]. The wizard creates a new CloudSQL instance, but I would like to specify an existing instance such that we can manage the destination instance through version control (e.g. Terraform) Is it po... | You asked the below questions : Is it possible to specify an existing CloudSQL instance as the destination for the database migration service in GCP? Does the "gcloud database-migration migration-jobs create" command automatically create a destination instance? Does this mean that to create the migration job through th... | 0 | 2 | 1,090 | 2021-07-22T05:56:27.407 | database_errors | serverfault.com | |
268,288 | what is the impact of changing log shipping schedule timing jobs? | I have two severs primary and secondary log shipped server , after configuring it, I noticed that the latency of last copied file and last restored file increased and the alert of monitor sever fired a lot of times as I see it in SQL server error logs so I modified the alert job at primary server to fire every 15 minut... | As Shanky noted, this is not a problem as long as you are not actively conflicting with your own SLAs around backup/restores. The documentation notes you can customize the jobs as needed (steps #8, 16, 21): Note the backup schedule listed in the Schedule box under Backup job. If you want to customize the schedule for y... | 0 | 0 | 240 | 2020-06-01T12:10:39.397 | database_errors | dba.stackexchange.com | |
107,438 | How to import export.sql in sql developer? | In SQL Developer, from the top menu choose Tools > Data Export. This launches the Data Export wizard. So that is export. It creatres export.sql file. Now how to do import ? I am usgin SqlDeveloper 3.20. Trygin to follow this tutorial , and have created new connection but I cannot find import. Tools->Preferences->Databa... | Open the file(s) it has created, and run them with F5 in SQL Developer. They should also work in SQL*Plus. They'll create the tables/objects (if you have the Export DDL option checked), and then they'll INSERT the rows (if you have the Export Data option checked.) Note that there are more efficient ways for moving obje... | 9 | 3 | 49,275 | 2015-07-18T13:49:07.647 | database_errors | dba.stackexchange.com | |
530,384 | My hosting provider allows me to see the names of all other databases on their servers, is this bad practice? | I've got MSSQL DB functionality set up with a hosting provider, and recently logged in for the first time. When I added the connection, it then listed (apparently) every single MSSQL database on their servers. I couldn't access them, but I could see their names, which led me to identifying the related websites. Is this... | This is an unavoidable artifact of being on shared web hosting: The resources are shared between clients without much isolation. If it's of particular concern to you, for privacy or other reasons, you should not use shared web hosting. | 1 | 4 | 202 | 2013-08-12T12:24:01.520 | infrastructure | serverfault.com | |
410,218 | How can I tactfully point out that a colleague's work is bad? | As my first job, I joined a startup with a small number of developers. I mainly work with this one other person -- let's call him Paul for now. We are the only two devs on our team. He joined the company a year before I did, pretty much at its inception, and built a considerable part of our company's core and gets a lo... | You can try and have a conversation (with your colleague, or management) about code quality, but if your colleague has a track record of delivering sufficient quality, then they are likely to fall on deaf ears unless management had already detected the problem for themselves. Beware management who are not interested in... | -3 | 2 | 392 | 2020-05-16T15:55:27.683 | api_errors | softwareengineering.stackexchange.com | |
416,969 | /var/log/messages sdb error messages. HP MSA50 | I have a HP machine running Debian squeeze/sid. In the /var/log/messages log file, I have the following errors... As well, when doing intense file transfer. Let's say... at backup time... After a while, the server crash.... This happens every day during the last minutes of doing the backup.... Any clues on what it can ... | Well, most of this is moot because the original question is a mess, but the StorageWorks MSA 50 is an HP device and looks to be accessed using an HP controller (probably a Smart Array P600 or P800 SAS RAID controller)... This is denoted by the CCISS block device naming; [CODE] In this case, your MSA 50's storage is pre... | -1 | 2 | 626 | 2012-08-13T13:31:40.923 | database_errors | serverfault.com | |
406,333 | Plesk httpdocs permission in skeleton | I would like my plesk skeleton httpdocs to have a drwxr-xr-x permission. Plesk creates users for each domain we create, but the only users that need access to the domain, are the developers who update the application code, and they belong to the group that owns all t / I tried setting it up in /var/www/vhosts/.skel/0 b... | Thanks to Sergeys suggestion in another post I created an event that chmods all the directories on "Physical hosting created" FYI Domain Created doesn't work, as it is being called before the actual files are created on the server. [CODE] | 0 | 0 | 772 | 2012-07-10T10:26:43.767 | infrastructure | serverfault.com | |
377,593 | PHP won't run on Fedora 15 | I have followed this exact tutorial on installing php on a Fedora 15 system. I have all the necessary packages installed with no errors. Yet the simple phpinfo() test page will show - it will show a blank page. When I try to see the source, I see it downloaded my .php file as plain text and loaded it in the browser. So... | It could be an issue with SELinux. To narrow it down, check to see if it's even turned on: [CODE] If it's turned on, temporarily disable it with: [CODE] SELinux will be enabled after a reboot, or until you manually enable it: [CODE] | 1 | 0 | 232 | 2012-04-07T21:35:17.990 | infrastructure | serverfault.com | |
180,855 | iPad and Exchange 2003 | We have Exchange 2003 and both OWA and OMA working over HTTPS. I don't have a device to test OMA with but at least I can access it with a browser, even though I get a message saying that it's an unsupported device. We have a user with an iPad that we're trying to get connected to Exchange. Although there's no problem u... | As Sam has stated, you should be looking into configuring RPC over HTTP on the Exchange server so that you can utilize ActiveSync. OMA is only a browser based "view" of the mailbox and is not a connection method. | 0 | 2 | 1,548 | 2010-09-14T07:53:47.867 | infrastructure | serverfault.com | |
242,358 | How do I get PostgreSQL FDW to push down the LIMIT to the (single) backend server? | I've set up a PostgreSQL FDW server with the following table, sharded by [CODE] over four servers: [CODE] [CODE] [CODE] On the backend servers I have set up a table with several indexes, its data CLUSTERed by [CODE] across several partitions. I don't think those details are very relevant for my actual question, though.... | This works as expected since version 12 with commit d50d172e51 indeed, but only for non-partitioned (non-sharded) tables. Running the query directly against the foreign table name ( [CODE] ), the LIMIT is pushed down correctly. Reported as a bug ; I don't see a technical reason why this should not work with partitionin... | 4 | 2 | 3,988 | 2019-07-08T15:03:47.813 | database_errors | dba.stackexchange.com | |
334,711 | easily enable or disable cron | Whenever I need to enable crons, I will copy the cron file to the spool folder. [CODE] Will this work? Any issues I may face? update: using CentOS | The official way to disable some cron jobs for specific user is type [CODE] and put a [CODE] at the begin to comment out. UPDATE Because cron file is going to be a part of shell script. Try this: [CODE] | 0 | 1 | 8,400 | 2011-11-25T09:13:50.257 | infrastructure | serverfault.com | |
5,345 | Remote desktop client cannot find the remote computer | The Remote Desktop client on Windows XP x64 (SP2) sometimes gets into a state where it can't find certain remote computers by name. For instance: dc.example.local = 10.123.0.27 Attempting to RDP to dc.example.local yields the error message: This computer can't connect to the remote computer. Remote Desktop cannot find ... | How many DNS servers do you have? Will it be possible that --if you have more than one-- one of them do not have those machines on record? | 4 | 6 | 5,550 | 2009-05-06T15:05:22.173 | infrastructure | serverfault.com | |
15,220 | XGBoost in final model what does "yes=3,no=4" mean? | XGBoost v0.6 Binary Classification [CODE] In other words, the negative instance label 0 requires low values for all three features. [CODE] What does "yes=3,no=4" mean? | I assume it should read as follows: if condition is true, go to branch 3 otherwise go to branch 4 I am only guessing, but seems plausible | 3 | 2 | 666 | 2016-11-18T17:35:24.240 | data_quality | datascience.stackexchange.com | |
990,144 | Firewalld still allowing traffic after removing port from zone | I have an issue with firewalld where I opened some ports and now want to close them for example I opened tcp/3000 in the public zone and now want to close it. So far I've tried this [CODE] after running that, I ran [CODE] and it's showing the public zone no longer has that port open [CODE] However i can still access my... | I know you flagged --list-all-zones and did not see port 3000/tcp open, but: 1- Just to be sure, can you grep all files in /etc/firewalld/zones/ .xml for "3000" ? 2- grep for "3000" in /usr/lib/firewalld/zones/ .xml 3- Check the logs 4- Double check if iptables is not running and allowing port 3000 | 0 | 0 | 1,123 | 2019-10-31T14:06:53.933 | bi_errors | serverfault.com | |
152,066 | Server 2008, 2 NICs, 2 fixed IPs - big delays using internet | I have an all in one Windows 2008 server, configured with AD/DHCP/DNS/RRAS - all set up with wizards and no specific tweaking. The server has 2 network adapters : one of which ("MyWAN") is plugged into our office's internet connection, the other ("MyLAN") is plugged into a local switch, which is also where all our desk... | Looking at "route print" from the server, the LAN adapter has a lower metric than the WAN adapter. This means that it's the first route tried - which is obviously not correct. Both the LAN and WAN adapters had Automatic Metric ticked in the TCP/IP properties. The LAN adapter happens to have had a lower metric automatic... | 0 | 1 | 1,754 | 2010-06-17T12:05:55.133 | infrastructure | serverfault.com | |
140,123 | vsftpd ubuntu issue | I have installed vsftpd on ubuntu 10.04 When I login using ip , username and password then I straight go to home directory of user. Is there any way that I can Make separate user for only ftp When they login via ftp, they should see the mounted drive i,e /media/shared_drive only not their home directory They have all r... | http://alien2thisworld.net/sitePages/tutorials/vsftpd_virtual_users_setup.html I think this link covers what you want. You can accomplish #2 with symbolic links. #3 you'll have to set user permissions for the directories in question, I think. | 0 | 0 | 219 | 2010-05-10T07:12:37.077 | infrastructure | serverfault.com | |
200,531 | Why are my MongoDB queries really, really slow? | I've inherited a large MongoDB server at work, and have been tasked with figuring out why queries run against it are so slow. The DB contains tons and tons of records (on the order of 10^9) and takes up about 300 GiB. At first, I thought that the raw number of records may have been the culprit, so I set up indices on a... | It seems that you are missing an important index, especially since the query with no matches is taking that much longer than a query with matches. What type of query is it? Maybe you need a compound index? Are you using [CODE] as part of the query? I'm not an expert in MongoDB, but 80-90 minutes is absolutely abnormal.... | 10 | 5 | 43,689 | 2010-11-10T21:27:59.157 | database_errors | serverfault.com | |
614,073 | Routing mail from domain to external provider | I have a server with hostname and DNS [CODE] . I also have a google apps account for [CODE] . I have my MX records setup correctly and I can send and receive emails to and from [CODE] with my personal email. On server [CODE] , I have some code sending email using sendmail to [CODE] . I don't have any smtp configured wi... | The problem is - as you deduced - that your server's hostname is [CODE] making the MTA on that server think that any e-mail messages to [CODE] should be delivered locally. The quick solution is to simply change the hostname, e.g. call your server [CODE] . Alternatively you use sendmail's MAIL_HUB feature to redirect lo... | 1 | 2 | 831 | 2014-07-21T06:22:16.333 | infrastructure | serverfault.com | |
300,842 | openssl keeps giving me "unknown option" errors | I'm trying to create an SSL cert for the first time. I have no idea how this works and am simply following some instructions provided to me. first command works fine: [CODE] then the second command is giving me the errors: [CODE] it says "unknown option -new" and then lists all of the options, one of which is of course... | Ok, this is kind of weird, but you're not going insane. Copying and pasting your example fails for me in the same way that it does for you. But typing it manually works fine. It looks like wherever you copied those lines from has swapped the regular dash symbol with another, similar looking glyph. In fact, if you look ... | 30 | 70 | 61,385 | 2011-08-13T20:36:27.100 | api_errors | serverfault.com | |
932,507 | How to make right redirect from www ssl to non-www ssl using NGINX? | I'm using NGINX and I have ssl cert for example.com And I don't have ssl cert for www.example.com. In brief: I tried to configure NGINX to redirect from all the www requests to non-www (from [CODE] and [CODE] to [CODE] ). Nevertheless I used a tone of different answers to more or less similiar questions, I get either n... | Hello and welcome to Server Fault! Try to separate your [CODE] directives: [CODE] and [CODE] Please keep in mind that a redirect done this way will work only for [CODE] requests and not for [CODE] . | 0 | 1 | 64 | 2018-09-25T09:20:29.967 | api_errors | serverfault.com | |
116,919 | MariaDB subquery cache scope and settings | I am migrating an application from MySQL 5.6 to MariaDB 10. One major new feature of MariaDB is the subquery cache. I am trying to determine the expected effect this cache will have on our application before enabling and testing it. Under the "Implementation" section, the knowledge base article says this: Every subquer... | The cache needs to return the same results as running the subquery would, so the scope has to be limited by active transaction too. But seeing that the cache can only be enabled or disabled as an optimizer feature and not configured otherwise, my guess is that it actually is instantiated once for each specific cacheabl... | 3 | 1 | 458 | 2015-10-04T05:16:18.037 | database_errors | dba.stackexchange.com | |
1,088,907 | Ubuntu VirtualHost on port 8003 not working remotly | I trying create Apache Virtual Host on port 8003. My site configuration file (/etc/apache2/sites-available/test.oracle.dev.conf): [CODE] Ports.conf: [CODE] UFW is disable for test. I try connect from other host (Windows OS) . I added [CODE] to host file. Site: [CODE] is working corectly. But site: [CODE] does't work. W... | [CODE] output shows that you don't get any responses to your requests. As you said that port 80 works normally then IP routing is working. Most probably port 8003 is blocked by a firewall somewhere between source and target hosts. | 0 | 0 | 151 | 2022-01-04T00:05:29.297 | database_errors | serverfault.com | |
584,746 | PowerShell script can't open a file when run as a scheduled task | My PowerShell (2.0) script has the following code snippet: [CODE] I can run this script in the PowerShell command prompt without any issues. The spreadsheet gets updated, and error.txt is empty. However, when I run it as a task in Task Scheduler , I get errors with the first line. Exception calling "Open" with "1" argu... | Add the -No Profile switch to powershell.exe in your scheduled task (edit your task, go to the Actions tab, edit your action and in Add arguments field, add -No Profile as the first argument.) | 0 | 1 | 5,750 | 2014-03-26T19:15:05.420 | infrastructure | serverfault.com | |
250,730 | Update column with the value of two columns multiplied | I want to update ColumnA with the value of ColumnB x ColumnC. Can someone please help? I have tried the following: [CODE] Error message as follows: ERROR: operator does not exist: double precision * character varying LINE 2: SET ColumnA = ColumnB * ColumnC; ^ HINT: No operator matches the given name and argument types.... | Text values must be converted to numeric before any math operation. [CODE] Have a look at this tutorial | 0 | 2 | 2,163 | 2019-10-10T07:59:58.120 | warehouse_errors | dba.stackexchange.com | |
27,496 | MySQL: Lock wait timeout exceeded | I have a developer that has been trying to alter a large table (~60M rows). Via LiquidBase/JDBC they're running [CODE] Today while it was running I checked in on it periodically; everything looked normal, the query was running, in state "copying to tmp table", I could see the temp table on disk getting larger and large... | This is definitely a head-scratcher, but here's one possibility, especially if you're running MySQL 5.1 or earlier. MySQL Bug #37346 addresses an issue where there are locks at two different layers that are (at least partially) unaware of each other's existence... an uncommitted transaction is holding locks inside the ... | 4 | 3 | 4,997 | 2012-10-24T00:22:05.773 | database_errors | dba.stackexchange.com | |
1,107,921 | NAS de-duplication best practices - how do hardlinks handle compression? | I just joined a SMB as their first full-time tech guy, and the company's backup architecture is a mess. Leaving aside all other issues (of which there are many), the office has multiple different NAS devices and disorganised backups all over the place, about a third of which are duplicates by volume. I want to clean th... | Replace as many duplicates as I can with hard links You can do that only if the duplicates files are never going to be changed; otherwise, the change would affect all hardlinked files. To avoid that, [CODE] explicitly break the hard-link (by copying and renaming) before overwriting a file. If I compress hard-linked fil... | 0 | 1 | 391 | 2022-08-11T08:54:42.970 | database_errors | serverfault.com | |
230,447 | Find router's configuration ip | I wanted to set up a small wireless network, and in order to save some cash, had a look in the basement... where I found an old Speedtouch 580 router. However, I'm currently having loads of trouble actually configuring it. It's been used (obviously), and it seems like some default settings have changed - most manuals l... | You can try connecting it to a spare interface with a crossover cable, and do a network capture on that interface. Look for arp traffic, or maybe DHCP requests. That might get you started. It might arp and give away its address as it boots. | 2 | 4 | 146 | 2011-02-03T00:49:48.420 | infrastructure | serverfault.com | |
399,713 | Multithreading with duplicate matrixes? [critique/insight wanted] | I'm working on a video streaming project for drones with opencv where I want to apply multiple stacked image manipulations on a 2D input matrix. I was advised to make all manipulations calls non-blocking. In designing this I had the idea to give each of the manipulations a thread and 2 matrixes, the last completed matr... | The advantage of threading is that you can get a pipeline of processing stages going. On a multi-core processor, this can allow you to have several steps running at the same time , each processing the output of the pervious step. But if some steps take longer than others, then you can't really get around that. The fast... | 0 | 1 | 55 | 2019-10-15T08:38:25.563 | data_quality | softwareengineering.stackexchange.com | |
314,065 | SQL Server 2008 SP1 Transactional Replication of a Partitioned Table Generates StackDump | I have a partitioned table that is published for transactional replication. The SWITCH operations on this table appears to replicated to the subscriber even though the options to allow_partition_switch = 1 and replicate_partition_switch = 0 on the publication. When I try to execute the following sample script on the pu... | SQL Server 2008 Service Pack 2 was released in August, so it might be worth a try if you have the luxury of time to try to resolve it yourself. Alternatively, can you replicate in a fresh build? SQL Server 2008 Service Pack 2: http://www.microsoft.com/download/en/details.aspx?id=12548 | 1 | 0 | 589 | 2011-09-21T19:13:18.707 | database_errors | serverfault.com | |
41,466 | Unable to delete locked page file on SAN | I am running Symantec Backup Exec 12.5 on Microsoft Windows Server 2003 Standard x64 SP2 on 1 server for backups. I am running Microsoft Exchange 2007 Standard on another 2003 Server. I use Backup Exec to back up my Exchange database. When Backup Exec was performing a backup about a month ago it had an error and the pr... | Sometimes those files won't go away even with all the privleges in the world because they believe they are still in use. First try deleting the file with the Backup Exec service stopped. If that doesn't work options get more drastic. Rebooting the server should allow the file to become deletable. I know finding a windo... | 1 | 2 | 414 | 2009-07-16T08:03:47.947 | database_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.