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 |
|---|---|---|---|---|---|---|---|---|---|---|
184,025 | Weird Apache Access log | This is the current access log for my site rishavrastogi.com 196.201.39.98 - - [23/Sep/2010:12:08:16 +0000] "POST http://www.tagged.com/api/?application_id=user&format=json&session_token=c85rqoo30bqrc7jnpdmlp57d83 HTTP/1.1" 200 472 "http://www.tagged.com/profile.html?view=mini&uid=5411562347" "Mozilla/5.0 (Windows; U; ... | Those looks like attempts to leverage mod_proxy to get at other parts of the 'net. An incorrectly configured mod_proxy config makes a web-server an open proxy, very valuable for people trying to look like they're not from the place that they actually are. I can't be sure, but that's sure what it looks like to me. Apach... | 1 | 2 | 1,860 | 2010-09-23T16:19:34.373 | infrastructure | serverfault.com | |
289,714 | SQL2K8 Backups over an NFS mounted SAN | We have a SQL2K8 server with a 100GB+ database that mostly stores image BLOBS and it fails to backup to our SAN that is connected over NFS. The SQL2K8 server runs off our VMWare Host and it losses network connection when this backup happens. I tend to think its a number of factors but I am learning towards the size of ... | I have discovered what the issue is, the error I am getting from SQL is stating that the network path is no longer available. This in conjunction that I have just discovered that the interface is set to 100Mbps on our QNAP device that is running SATA disks ( http://www.wdc.com/global/products/specs/?driveID=610&languag... | 2 | 2 | 7,587 | 2011-07-13T03:12:43.487 | database_errors | serverfault.com | |
291,580 | Slow query with where and index on some fields | I'm working on a project with the PostgreSQL 12 database. I have a table of about 500 MB. The structure of the table is as follows: [CODE] For the following query: [CODE] I defined the indexes: [CODE] But it has a very low performance. What can I do to improve performance? The result of the explain analysis: [CODE] I c... | Rewrite the condition on [CODE] to [CODE] and create an index for it: [CODE] Then you should gather statistics: [CODE] | 0 | 3 | 264 | 2021-05-14T15:26:58.187 | api_errors | dba.stackexchange.com | |
901,108 | Repeated disk failure on Dell T610 Server | I purchased a used Poweredge T610 and upgraded it to 2x Hexcore Xeon X5675 processors and 96 GB RAM. Initially, I used 3 WD green 2TB drives in a RAID-5 array (Perc6i controller) and installed Ubuntu server on the virtual disk. This setup served me well for about a year and then the problems started: I bought some new ... | From experience, it sounds like a ram corruption issue. First thing I would try is a memory diagnostic tool. Dell has them available via download. If that finds no errors I would pull all hardware to get down to bare minimum needed and then add them back until you see the issue. Very time consuming but sometimes the on... | 1 | 1 | 489 | 2018-03-11T18:32:21.547 | data_quality | serverfault.com | |
175,041 | "-bash: telnet: command not found " error? | I have the following services running: [CODE] why i still got "-bash: telnet: command not found " error? Thanks | The RHEL/CentOS 5.4 telnet client is installed at [CODE] . Your $PATH variable thus needs [CODE] listed. (Preferably before /usr/bin) If for some reason you don't have that file installed, it's part of the package [CODE] . Installing that package manually or via YUM should give you what you need. You can check quick wi... | 12 | 8 | 148,823 | 2010-08-27T00:07:24.510 | infrastructure | serverfault.com | |
999,534 | How can I make my libvirt/KVM guest see all IPv4/UDP multicast traffic? | I have an issue with IPv4/UDP multicast traffic not being fully visible from within a KVM guest. The guest has a dedicated NIC which is attached using MacVTap. Both the host OS and the OS in the guest are Ubuntu 18.04. This is the VM’s network configuration: [CODE] (Note that I obfuscated the actual MAC address.) Since... | Maybe rnxrx' answer could help? [CODE] | 2 | 1 | 3,755 | 2020-01-19T11:38:51.273 | infrastructure | serverfault.com | |
453,256 | Troubleshoot port forwarding. Could it be ISP blocking incoming connections? | Had a new Axis IP camera delivered yesterday. Plugged into Cisco E2400 Wireless Router but having problems. Example topology: WAN IP: 82.10.10.10 (example) Cisco Router: 192.168.1.1 Axis Camera: 192.168.1.10:80 Port forwarding rules set up on router External Port: 999 Internal Port: 80 Protocol: TCP & UDP Device IP: 19... | I'm guessing that indeed your ISP is blocking the port 999. Some ISP's block all ports under 1024. Try forwarding a higher port on your router (f.e. 9999) to the ip camera and see if that works. | -1 | 3 | 1,325 | 2012-11-29T01:17:30.400 | infrastructure | serverfault.com | |
975,035 | nginx reverse proxy SSL | Goals : Have a single nginx reverse proxy for all sub-sites ( running on other ports ). BLOCK all direct connections, and instead; route through nginx. Problem(s) : [CODE] when trying to access [CODE] ( connect() failed (111: Connection refused) while connecting to upstream ) Setup : example.com running on port 80 ( ng... | Block all direct connections to port 8000/8001: Close the firewall for ports 8000/8001 with IPtables/firewalld/ufw Disallow any external IP addresses to access your content on 8000/8001 (requests from nginx will come from localhost). Then you say “I have a few problems”. It isn’t really clear what those problems are. I... | 0 | 1 | 685 | 2019-07-12T14:49:27.200 | api_errors | serverfault.com | |
357,725 | vsftpd won't start with ssl_enable=YES. Why or where can I find logs about why? | I just configured vsftpd but if try enable ssl in the config file, my server doesn't start. In other word, vsftpd won't start with [CODE] What can I do about this? I thought there should some information in the log files, but I can't find this information in [CODE] How can I find out wheres the problem located? | Have you specified a certificate file in your vsftpd.conf? i.e. rsa_cert_file=/path/to/vsftpd.pem | 0 | 1 | 1,971 | 2012-02-07T18:33:49.933 | infrastructure | serverfault.com | |
81,384 | Why do we only care about convex functions when doing Gradient Descent/SGD? | I mean I know why we specifically care about convex functions: it's because their local minimum are also global, and so you just have to "follow a path which goes down" to find the minima of the function. However, there are also functions which are not convex, but for which local minima are also global minima, for exam... | Probably in the 1-dimensional case this more precise class of functions you aim at would be something like: Piece-wise monotonous (thus approachable with gradient descent locally) with up to one flip (thus you know that one optimum would be where the pieces meet, the other would be at the extremes) However, even if one... | 2 | 0 | 150 | 2020-09-08T12:48:20.203 | data_quality | datascience.stackexchange.com | |
264,412 | Bridged mode virtualbox client not working | I have CentOS server installed in virtualbox running on windows 7 host. The CentOS client has internet access if I select NAT, but if I select 'bridged' then it has no internet access. I have to use bridged because I need the CentOS client to have its own unique public ip address, and as far as I know NAT doesn't provi... | There are few issues: Are you sure your address provider is allowing you to pull multiple IP addresses? In the case of many cable/dsl modems, you are often prevented from using the network with multiple machines simultaneously. In many cases, you can get a second DHCP lease from the modem, but it will only communicate ... | 1 | 1 | 3,488 | 2011-04-28T17:22:02.760 | infrastructure | serverfault.com | |
313,433 | Postgresql update using CTE and priority | I have a employee leave balance table as follows emp_code leave_type yearmonth Balance Priority 1 PL 202205 2 0 1 SL 202205 1 1 2 PL 202205 3 0 2 SL 202205 1 1 3 PL 202205 1 0 3 SL 202205 1 1 and a Attendance Table as follows emp_code date yearmonth Attendance Leave 3 2022-05-01 202205 1 3 2022-05-02 202205 1 3 2022-05... | [CODE] https://dbfiddle.uk/?rdbms=postgres_14&fiddle=b35c63631a0808e9007d61bc502352a7 | 0 | 1 | 1,227 | 2022-06-16T11:24:58.780 | database_errors | dba.stackexchange.com | |
672,209 | Why does a DHCP server need a static IP address? | I'm experimenting various network setups using VMs. When I setup the DHCP role on Windows Server, it requires a static IP. I am having trouble understanding why this is necessary from a technical point of view. My understanding of DHCP is, a client broadcasts a DHCP Discovery request on the network, and any device on t... | My understanding of DHCP is, a client broadcasts a DHCP Discovery request on the network, and any device on the network can respond. A client can make an unicast DHCP request too, the renewal request is made in unicast, so the client requests directly the DHCP Server. What if the DHCP changed his original IP address ? ... | 10 | 6 | 12,830 | 2015-03-01T07:53:01.410 | infrastructure | serverfault.com | |
1,029,730 | How do I stop mailx from triggering Postfix's mail delivery report? | I have a script that needs to send emails to notify about system events and status - a pretty common use-case, I'd think - and I chose to use [CODE] for this (why I no longer remember) on my Fedora Server system. Everything was just fine and dandy until a recent upgrade whereupon I started getting an extra email for ev... | Aha, I was finally able to reproduce your problem. The [CODE] Heirloom Mail command will request a Delivery Status Notification if you use its [CODE] (verbose) option. Unfortunately this behavior appears to be undocumented. The man page only says: [CODE] Other than requesting a DSN, this option just prints verbose stat... | 1 | 5 | 2,729 | 2020-08-11T18:14:57.650 | data_quality | serverfault.com | |
31,422 | SQL Server 2005 Blocking Issue | I am experiencing a blocking issue in sql server 2005. An end user executes a query (e.g. select statements) and seems to get into a never-ending blocking until i kill the process e.g. for hours on end . the end user querys run just fine when I test the. It seems to get into a blocking issue when qanother process tries... | The easiest way I look at it is, right click on the database in SSMS and under Reports => Standard Reports => All Blocking Transactions. There are other standard reports with blocking transactions as well but I found all one pretty useful. The other thing you could do is setup a SQL Server Agent Alert for figuring our ... | 1 | 2 | 202 | 2013-01-04T12:34:55.060 | database_errors | dba.stackexchange.com | |
1,151,268 | nginx always routes to first domain | I just had to setup my dev server (ubuntu 22.04 in case it matters) to get the networking adapter to work again; unfortunately forgot to backup my domain configurations. I have three server blocks, let´s call them domain1, domain2 and pma. nginx.conf includes sites-enabled. And no matter what I tried so far, any addres... | Everything works fine now. I wasn´t sure what happened at first, when I noticed I´m on a different browser. Cleared the cache in the other one and: bingo. Sorry for wasting everybody´s time. | 0 | 0 | 34 | 2024-01-10T20:00:47.107 | api_errors | serverfault.com | |
511,707 | supervisord: error: <class 'socket.error'> | I can't get supervisord to work; after starting the process with: [CODE] From another terminal, I get: [CODE] Running in vagrant, CentOS 6.3 x86_64. Configuration: [CODE] Trying to find the socket file: [CODE] Versions etc: [CODE] | The problem was that the version was old and buggy: I have upgraded this: https://github.com/haf/puppet-supervisor to install the latest version of supervisor. The core problem seems to be that failure to launch the daemon the first time creates the socket file at the run location, but the initv script doesn't support ... | 5 | 1 | 12,607 | 2013-05-29T15:46:37.383 | infrastructure | serverfault.com | |
1,143,995 | TLS 1.0 broken with newer Debian/OpenSSL | I'm migrating a server running Debian 10 to a server running Debian 12 (and a 6.x kernel), and the last thing that doesn't seem to be working is TLS 1.0, which I've been trying to figure out. I'm aware of changing the [CODE] and [CODE] as described here: https://stackoverflow.com/a/61568390/6110631 , but this hasn't wo... | I knew this was possible, and likely a configuration snafu... indeed, that's what it was. Setting the SECLEVEL to 0 is indeed necessary, but I had this in multiple places, and hadn't updated it in all of them. In particular, the specific virtualhost still had [CODE] , which worked fine with older OpenSSL versions, but ... | 2 | 2 | 2,501 | 2023-09-19T01:21:09.770 | api_errors | serverfault.com | |
42,841 | How to get a row_number to have the behavior of dense_rank | I have a stored procedure will be used to page through data. One of the requirements of the procedure is to have a parameter that will be used to sort two columns of data, the sorting should be used when applying the [CODE] . Some sample data: [CODE] The procedure and the sorting is currently working as written. But an... | This is about as concise as I could get it without squeezing my brain to disastrous effects. SQLFiddle . [CODE] You'll of course want to extrapolate out all the [CODE] references to the actual columns you need to carry forward and ultimately output. I'm lazy but do as I say, not as I do. :-) | 4 | 7 | 706 | 2013-05-22T21:05:28.393 | database_errors | dba.stackexchange.com | |
430,859 | best approach to store "enums" shared between collections | I have several enums that need to be defined and shared between collections. A practical example: There are X colors available "Light Blue", "Red", "Purple".... people can like items of several colors items can use several colors I need to be able to change name of color "Red" to "Cherry Red" and all the associations n... | The underlying question is whether your color is a value object (any color with the same value is considered to be the same color) or an entity (each color has an identity that is kept despite value change): Value objects are in principle stored directly in a mongodb document. Think of it as you would of a numeric amou... | 1 | 2 | 810 | 2021-08-07T06:20:59.300 | api_errors | softwareengineering.stackexchange.com | |
233,799 | What design pattern can I use to represent processing data from any stream? | I'm reading data from a stream in buffered series of bytes (say 1024 bytes at a time) and do some comparison, checking, or processing, before writing it back to the same type of stream. Currently data comes from file. But in the future it may come from other sources (memorymapped file, TCP etc) Is there a design patter... | The .NET Framework provides the Stream abstract class for this purpose. .NET offers a number of Stream Reader and Writer objects out of the box. One of those may already fit your needs, or you can inherit from [CODE] in a new class, and write your own custom implementation. | 1 | 2 | 1,153 | 2014-03-26T17:20:40.933 | api_errors | softwareengineering.stackexchange.com | |
452,013 | How to disable "sender non-delivery notification" in postfix? | I want postfix to stop sending non-delivery notifications to my local account, here is example from my log [CODE] How can I configure this in my main.cf? | The answer: master.cf [CODE] should be changed to: master.cf [CODE] | 14 | 13 | 53,803 | 2012-11-25T14:46:24.177 | infrastructure | serverfault.com | |
48,097 | Database Structure and Design | Okay my project in simple words. Multiple shop sites are hosted on different hosting services receiving orders from customers. All the orders are to be directed to the main company website where the employees will receive the orders, complete and update the system. So its a two way traffic of information between shop s... | Sounds like a great opportunity to use a webservice to me. on your customers end, whenever an order is entered, either: have the site update the customers local database and post a webservice call to your backend with the order details. have the order inserted only in the customer local database with a sync flag set to... | 0 | 0 | 164 | 2013-08-14T00:26:36.303 | warehouse_errors | dba.stackexchange.com | |
549,379 | Weird URL issue (DNS fail for specific user) | I run our research group's website, though I don't have direct access to the DNS records. Currently, our DNS set has an A record and a CNAME record as shown below [CODE] For one user using OSX, accessing [CODE] via Firefox (specifically) fails. However, accessing via Safari works, and if they access [CODE] using either... | Like EEAA said, sounds like DNS cache. Firefox maintains its own DNS cache in addition to OSX's DNS cache. I would recommend the user restarts firefox and flushes OSX's cache ( [CODE] ) and tries again. So many caches in DNS, it's a common cause of issues especially "works on my box but not this one" types. | 0 | 1 | 67 | 2013-10-29T12:29:16.907 | infrastructure | serverfault.com | |
419,615 | MySQL: 5000 core users, 2GB Table Heavy Write / Read: How to Prevent Crashing | This is a controversial issue for sure, since many might want to recommend the simple things right away, like: Split up the tables! Split up the read/write into master/slave configurations! Amp up the server ram! And so forth .... let me explain the issue first though: I have a somewhat powerful server: 8GHz, 160GB Sto... | I think your my.cnf is misconfigured regarding what have you presented in the comment. You are probably "giving" mysql far more RAM that your system has available. The thread_stack=100M is far greater that recomended. I'd bet that OOM-killer just kills your mysql to prevent kernel getting out of memory. You should fist... | 2 | 1 | 690 | 2012-08-21T12:23:02.193 | api_errors | serverfault.com | |
279,039 | How to get the last non-null value that came before the current row | Say I have the following table: [CODE] When i query the data there may be some nulls: [CODE] [CODE] Now I like to replace the null values with the first non-null value that comes before it. Like so: [CODE] I've tried using several variations of the FIRST_VALUE and LAST_VALUE window functions but they always only return... | You can use a subquery: [CODE] ts | a -: | -: 1 | 1 2 | 2 3 | 2 4 | 2 5 | 3 db<>fiddle here | 0 | 1 | 2,319 | 2020-11-02T09:38:04.317 | data_quality | dba.stackexchange.com | |
338,706 | Why have a crossover value that isn't 0.5? | Most of the literature I've read about GAs suggests using a crossover value of around 0.7, so you take the first 70% of one chromosome's genes, and the last 30% of the other to produce one new chromosome. If you are picking the parent chromosomes by taking the top two (ranked by fitness), then I can see the logic here,... | The ideal crossover operation depends very much on the problem space. The underlying assumptions of evolutionary and genetic algorithms is that two good solutions can sometimes be combined into a better solution – good solutions look similar to other good solutions. This intuitively makes sense if the problem space has... | 9 | 6 | 1,449 | 2016-12-22T17:01:26.073 | api_errors | softwareengineering.stackexchange.com | |
532,880 | syslogd filtering not working on FreeBSD | I am failing to get filtering by program or facility working in FreeBSD syslogd. I added [CODE] to my [CODE] and restarted the syslog daemon. I then wrote a little Go program [CODE] that sends a "debug" message to syslogd (facility "user") and then sent an additional message using [CODE] . The first message was only lo... | It seems that your log messages are sent to /var/log/debug.log because of this line : *.=debug /var/log/debug.log You can either : Use another priority for your tests (eg notice instead of debug) Change the order so that your lines are before the one referring to debug.log | 2 | 1 | 1,552 | 2013-08-22T09:51:48.873 | infrastructure | serverfault.com | |
224,543 | How should an embedded OS be combined with user code? | As a side-effect of an embedded project I've been working on, I've developed a small operating system for an ARM processor. While the OS and my user code are in separate directories and have clean boundaries between them, they're built into a single image using a single Makefile. I'd like to release the OS as open sour... | For a small-systems, hardcore embedded OS, the first option is the only really viable one. The problem is that for nearly every chipset, you would have to make small adjustments to the interfacing with the hardware and that gives you a high risk that the OS needs to be re-compiled for the new chipset. So, the first opt... | 4 | 7 | 152 | 2014-01-17T15:43:57.483 | api_errors | softwareengineering.stackexchange.com | |
168,110 | Is COUNT(DISTINCT PRIMARY_KEY) faster than COUNT(*)? | I haven't got a particular problem here, I'm just interested. One of my associates uses [CODE] every time he needs to select all the data from a table (with 100m + rows) is it any quicker to do it this way rather than just [CODE] ? If it's the primary key surely the database knows that it's just pulling a count for the... | It is slower. [CODE] Plain [CODE] finished in 0.54 seconds. [CODE] 5.22 seconds, and it used 32 MB memory, and even had to use temp, because it has to [CODE] because of [CODE] . | 1 | 2 | 6,066 | 2017-03-24T16:14:29.343 | warehouse_errors | dba.stackexchange.com | |
281,477 | MySQL 8.0.22 Trigger won't run unless definer is logged in | I have the following tigger that used to work before upgrading to MySQL 8 from MySQL 5. Now the trigger will only run if the definer is logged in via phpmyadmin or some other database admin tool. The trigger is setup as timing After and event Insert. [CODE] I have tried deleting the trigger then creating it again and s... | Everything is fine, with your triggers, as long as you don't have also a Trgger on [CODE] [CODE] [CODE] [CODE] [CODE] [CODE] [CODE] id | upcount | downcount | systemname | lastupdate -: | ------: | --------: | :--------- | :------------------ 18 | 1 | 0 | SystemA | 2020-12-15 19:18:43 db<>fiddle here | 1 | 1 | 433 | 2020-12-13T23:25:38.953 | database_errors | dba.stackexchange.com | |
529,786 | FAT32 limit on total length of all filenames in a directory combined? | I've kind of a weird problem on one of our customer's backup harddrives: The harddrive is formatted in FAT32 and last night our backup jobs threw an error on a subdirectory, claiming that it couldn't copy the files that it had to copy. I checked the disk size first of course, but there is plenty of space. The error giv... | The maximum number of files within a directory of a FAT file system is 65,536 if all files have short filenames (8.3 format). Short filenames are stored in a single 32-byte entry. That means the maximum size of a direcotry (file) is 65,536 * 32 bytes, i.e. 2,097,152 bytes. Short filenames in 8.3 format consists of 8 ch... | 5 | 5 | 9,932 | 2013-08-09T07:11:00.173 | database_errors | serverfault.com | |
337,116 | Server Unresponsive: Hardware Swapped, No Hints from Window Logs | We have a Windows SQL Server: Intel Xeon E3-1240 Quad Core, 8GB RAM, 500GB 7200 RPM SATA hard drive. The Server becomes unresponsive once every 2-3 days. But nothing "unusual" shows up in Windows logs. We even set up Performance Monitoring Scripts: but our resource usage is no more than 10%. Is there any way we can che... | Troubleshootnig server hangs is a difficult task where ther is no crash or event log to go on. Monitoring is yor only real help here. You should probably follow the guidance in this series of articles from the Windows performance team. Troubleshooting Server Hangs 1 Troubleshooting Server Hangs 2 Troubleshooting Server... | 1 | 0 | 150 | 2011-12-02T18:25:46.397 | database_errors | serverfault.com | |
390,492 | Apache HTTPD proxy - Deny directive ignored | I am running CentOS 5.5 with the stock Apache httpd-2.2.3. I want to set up a proxy server which will forward proxy requests from a single IP address (123.123.123.123 in the example below) and reject requests from all other addresses. The problem is that apache is proxying all requests through port 81 (rather than just... | The match string for the [CODE] block is for the resource being requested, not the server's listener. Try [CODE] instead of [CODE] . | 2 | 2 | 265 | 2012-05-18T18:58:54.707 | infrastructure | serverfault.com | |
325,298 | Qmail screws new lines in email so outlook cannto format them? | We are having trouble with emails sent from our new CentOS server running QMail. The email seem to loose new line characters in Outlook so the formatting is garbled while On other email clients the line spacing is doubled. Outlook gives an error "extra line breaks were removed" but adding the extra breaks in outlook ma... | Configure an email alias to deliver to both a mailbox that Outlook reads, and a local mailbox or maildir file on the mail server that is not touched by anything other than the mail system. Send a test email that exhibits the problem in Outlook and compare the raw content (drag the Outlook message to disk, then open wit... | 0 | 0 | 236 | 2011-10-27T11:06:51.047 | infrastructure | serverfault.com | |
128,474 | Getting around the lack of GPT support with CentOS 5.4 | Last night I upgraded a server (Dell 2970) to have four 1TB Hard Drives in RAID 5 which leaves a 3TB block. I tried to partition this but keep getting an error that GPT is not supported so. I found a site online telling me I need to run the dd command and right random data to /dev/sda. This is great (if it works) but t... | Do you really need such a large partition? I would split it up into smaller chunks using LVM on top of the RAID array, to avoid using unsupported workarounds. | 0 | 2 | 2,753 | 2010-04-01T14:22:37.567 | infrastructure | serverfault.com | |
60,703 | Trouble with SVN on second port | Got apache 2.2 listening on 2 ports: one for public serving and just added the second one for maintenance purposes. Now, Here's what works: [CODE] And this doesn't: [CODE] Accessing http://localhost:40/svn results in a [CODE] record in apache error log. Any ideas? TIA. | Ok, here's what has worked out: [CODE] | 1 | 0 | 329 | 2009-08-31T09:15:58.717 | infrastructure | serverfault.com | |
82,929 | ORA02063 error while connecting to remote databse | I have connected to remote database using DB link. From prod databases it works fine but from test env reporting error invalid username/password. Please help. | My Oracle Support Doc ID [456320.1] indicates that the IDENTIFIED BY VALUES clause is only intended to be used by internal utilities (export/import) when used in a database link definition, which may be why the link is not working. Database link passwords are stored in a separate encrypted format starting in Oracle 10.... | 0 | 1 | 491 | 2014-11-18T11:45:40.037 | warehouse_errors | dba.stackexchange.com | |
1,003,417 | Unable to reach host from outside network, can from same subnet | I have two nginx acting as web proxy servers, both Ubuntu 18.04.4 fully updated. They're in failover with keepalived so if one dies the other takes over. They are in a DMZ network, and forward requests to several webservers in a different subnet. I cannot access them directly from company LAN, I have to proxy from anot... | Ended up being some funny sysadmin which assigned master's IP to another device in the DMZ | 0 | 0 | 193 | 2020-02-17T16:56:16.263 | pipeline_ops | serverfault.com | |
15,793 | How to add an AWS Auto Scaling Group health check on a non-web instance | Background Adding health checks to our web ec2 instances on AWS is easy, we simply have to create an endpoint that always returns a 200 http response when it's healthy. However, we also have other non-web instances in our Auto Scaling Groups (ASG) where this model doesn't apply: Problem The problem we have is that our ... | Related StackOverflow question: https://stackoverflow.com/questions/43975456/how-to-implement-custom-health-checks-for-ec2-instances-without-using-an-elb Basic suggestion: use a cron job to push health info to AWS using the CLI. I've not encountered a better solution in recent/limited research unfortunately. | 0 | 0 | 150 | 2022-04-14T10:08:53.727 | pipeline_ops | devops.stackexchange.com | |
495,218 | Security configuration in IIS8 does not allow for folders to be created on network shares with ClassicASP | I need to find the IIS8 configuration that allows this code to work with Windows Authentication Enabled. No Anonymous access. I have a three lines of code written with Classic ASP that are meant to create a folder on a network share. It is setup as Windows Authentication. It gives me a classic ASP error stating the "pe... | Sounds like the double hop issue. What do you see in the event log? In IIS 6, the network service is the default app pool account. Did you try setting the app pool as network service, classic mode? Is UAC (user account account) enabled? | 2 | 2 | 2,019 | 2013-04-01T19:41:47.647 | api_errors | serverfault.com | |
774,813 | web server / iis won't install on server 2012 | I'm trying to install Web server role / iis to my dynamic Windows 2012 cloud server but keep getting the following errors: If I have the following not installed and try to install web server / iis 8.0 it keeps telling me I have a restart pending. If I go to tools I can see iis manager and open it and navigate to local ... | Check the IIS and CBS (component based setup) logs, should yield more details on what failed. IIS Logs: c:\windows\iisx.log (where 'x' is the version of IIS you're installing) CBS Logs: c:\windows\logs\cbs | 2 | 0 | 2,167 | 2016-05-04T14:11:52.373 | data_quality | serverfault.com | |
547,767 | Hadoop single node cluster memory and storage requirements | I have been advised to learn Hadoop for my company and so I want to build a test environment. The company I work for has a datacentre with a VMware vCloud infrastructure which they use to sell private clouds to other companies. I'm allowed to use some CPU, RAM, network and storage, but I can't seem to find a base level... | If you're just looking to learn how Hadoop works, I would recommend grabbing one of the available distributions on a VM. These are designed to be small learning environments that get you running with a pseudo-distributed cluster running inside one node. Cloudera Quickstart VM Hortonworks Sandbox MapR Virtual Machine Th... | 0 | 1 | 2,444 | 2013-10-22T10:46:14.973 | hadoop_errors | serverfault.com | |
954,333 | Nginx $upsteam_cache_status custom header will not appear | I am trying to debug the nginx proxy cache and to do so I need to see the [CODE] value. My config is as follows: [CODE] [CODE] is appearing as expected, with the value [CODE] [CODE] on the other hand is not appearing on any requests, why is that? How can I get it to appear? | This is happening because nginx [CODE] removes the specified header, when the value you try to set is empty. And [CODE] is always empty, because you never pass the request to an [CODE] . To populate this variable, you must pass requests to a named [CODE] . For example: [CODE] [CODE] must be in the [CODE] block, outside... | 3 | 2 | 2,296 | 2019-02-17T05:06:54.147 | infrastructure | serverfault.com | |
886,191 | Journald does not log error messages before failing exit of program | I'm invoking a python3 module using systemd (version: systemd 232) on debian stretch. The problem is, if the python module raises an exception, the exception message (stderr) and some prior prints (stdout) are not output to the journal before the module exits with failure. The service configuration looks like this: [CO... | The only solution that I found is not a good one but it works. In the bash file, sleep before exiting to give journald chance to record the output: [CODE] | 2 | 2 | 747 | 2017-12-01T19:03:47.497 | infrastructure | serverfault.com | |
341,096 | Does Exchange 2010 impose a maximum length for individual headers? If so, what is it? | Does Exchange 2010 impose a maximum length for individual headers? If so, what is it? Let's say a user sends an email to 200 recipients, resulting in a TO: field having 200 email addresses (very bad idea I know). Or let's say an upstream content filter adds an X-header that has a lot of information. At what point would... | Found the answer here: http://technet.microsoft.com/en-us/library/bb124345.aspx By default, Microsoft imposes a limit of 64 KB as well. | 2 | 1 | 6,558 | 2011-12-15T01:17:40.977 | infrastructure | serverfault.com | |
149,447 | nginx reverse proxy to apache mod_wsgi doesn't work | I'm trying to run a django site with apache mod-wsgi with nginx as the front-end to reverse proxy into apache. In my Apache ports.conf file: [CODE] In my nginx config: [CODE] After restarting both apache and nginx, nothing works, example.com simply hangs or serves index.html in my /var/www/ folder. I'd appreciate any a... | I've got a sneaky suspicion that the problem might be [CODE] -- I think you might be trying to find python eggs at [CODE] ;) | 3 | 1 | 1,102 | 2010-06-08T23:31:50.043 | infrastructure | serverfault.com | |
1,068,098 | Null Client Mail Server | I want to set up a null client mail server, i.e. a mail server that sends e-mails, but does not receive e-mails. I tried multiple guides relying on postfix, checked discussions on this and other sites, and consulted the official postfix website . The server still does not send e-mails. The message submitted via the fol... | For some reason you have set [CODE] This doesn't make any sense, as you say you are trying to send outbound mail directly to its destination, rather than back to yourself. Even if you were trying to redeliver all mail locally, this wouldn't be the way to do it. Just remove this line from your configuration entirely. | 0 | 1 | 248 | 2021-06-28T18:27:59.893 | infrastructure | serverfault.com | |
378,795 | Debian virtual memory reaching limit | As a relative newbie to systems, I inherited a Debian server and I've noticed that virtual memory is very high (around 95%!). The server has been running slow for around 6 months, and I was wondering if any of you had any tips on things I could try, particularly on freeing up memory. The server hosts various websites a... | I would hazard a guess that your system is using a lot of its swap space (what I think webmin is calling virtual memory) because of the databases you have running. You have both MySQL and Postgres running on the same box (do you mean for this to be the case? I suggest you just use one or the other) and, depending on yo... | 1 | 0 | 2,026 | 2012-04-12T09:18:05.530 | infrastructure | serverfault.com | |
638,360 | How to get Run Puppet button working on Foreman? | First of all, I know there is already a very similar question here on serverfault, but it doesn't quite answers my problem. So, my setup is the following: I have one server, running Ubuntu 14.04 LTS and puppet master 3.4.3 with foreman 1.6. The client is a Windows 7 computer running puppet agent 3.7.0. The automatic ru... | Finally managed to get it running! It seems the error code ( [CODE] ) corresponds to different errors. I had different misconfigurations that returned different errors on the console, but Foreman always reported the same message. The way to solve the issue for me was to use the [CODE] command from the command line. The... | 7 | 2 | 9,235 | 2014-10-20T15:58:50.833 | pipeline_ops | serverfault.com | |
278,958 | Postgres 10 Log Shipped Replica with cascading replication | I'm planning for a tricky (at least for me) migration whereby I have master postgres 10 db from a cloud provider that will not allow for replication user connection. I do have a base backup and WAL getting shipped to AWS S3. I've easily set up a log shipped replica as a hot standby to promote and officially migrate off... | PostgreSQL supports cascading replication, so you can configure your warm standby as a normal streaming replication standby server to your WAL shipping standby. If you have [CODE] on that standby server (default in later PostgreSQL versions), that second standby server will keep replicating when you promote your WAL sh... | 1 | 1 | 163 | 2020-10-30T22:58:29.617 | database_errors | dba.stackexchange.com | |
827,915 | Use a Single VPS for Multiple Customers | I run a small web development and design business and also offer hosting to my clients. So far, I've been buying very affordable VPS' and using those for my customers. Since many of my customers have small WordPress websites or static websites with no database, I can put 5-10 customers on a single VPS. The problem is t... | There's always a better way, one of them being ansible. Simply make a few roles (nginx, apache, mysql, common) and migrate your manual tasks to playbooks, each time you add a user (which could be to an internal billing system) you would rerun your playbook to add them to your VPS of choice. | 0 | 1 | 674 | 2017-01-23T03:45:30.310 | infrastructure | serverfault.com | |
64,100 | Configure Domino to use SMTP routing and hMailServer | I have been trying for a couple of days to set up a Domino 8.5 server. Basically, I want everything to be run inside a local network. Right now I can send email to other user in the Domino directory without any mail address. I am pretty new to all this stuff, so maybe the answer will be really obvious. What I need to d... | Don't have enough points to post a comment, but when you telnet to the Domino server on port 26 can you send a message? Does the message deliver to a Domino mailbox? How are you trying to get hMailServer how to interact with Domino SMTP? Is hMailServer forwarding emails to Domino SMTP or vica versa? Is there any need f... | 4 | 1 | 1,874 | 2009-09-10T11:47:05.850 | api_errors | serverfault.com | |
869,543 | Bash script entrypoint (PID=1) kills `tail` sub process ONLY if a fake trap (which does NOTHING) was there | I am facing a strange behavior in my [CODE] script, I have this [CODE] script which is running with [CODE] (it is an [CODE] for [CODE] container, if you are not familiar with Docker, I assume you can ignore this info). When I run the following script, [CODE] terminates everything very quickly, and everything seems to b... | Actually adding [CODE] parameter (to allocate tty) when running the container solves the problem. I was running it with [CODE] parameter, and now with [CODE] . I don't know why, but it did it. If would be great if any one can explain why is that happening. | 1 | 0 | 3,265 | 2017-08-20T02:03:50.677 | pipeline_ops | serverfault.com | |
454,257 | Built local glibc, broke system, how do I ssh without parsing the .bashrc? | The cluster I am on had really old build tools and I needed to use CUDA5. I'm a pretty clever dude and I planned on building the necissary tools. So, I built a local copy of gcc, bintools, and glibc. Everything a CUDA5 could want. All builds finished without error. and I tested gcc and bintools. Everything was wonderfu... | Apparently, I found a command that will work [CODE] This overwrote the [CODE] and I was able to log back in. In retrospect doing [CODE] would also fix this problem. | 0 | 2 | 1,600 | 2012-12-02T06:00:21.567 | infrastructure | serverfault.com | |
126,444 | Increase number of concurrent shells in PowerShell V2 | I'd like to increase number of concurrent shells in PowerShell V2.I tried using the following command ,but I got no luck.The error I got is" Error: Invalid use of command line. Type "winrm -?" for help." Can someone shine some light? [CODE] | In most cases concerning the upper limits of programming structures and the like: "If you have to ask, you're probably doing it wrong" - TheDailyWTF.com | 3 | 0 | 2,644 | 2010-03-25T23:06:26.967 | infrastructure | serverfault.com | |
108,273 | Custom Encoding for Categorical Features - sklearn | Just wanted to check if there are any obvious flaws with a custom encoding idea I have - for categorical features used with RandomForestClassifer or any tree-based classifier. As all of you would know that sklearn can only handle numerical valued features, categorical features should somehow be encoded to have numerica... | There is nothing inherently wrong with any of these encodings. The best way to find out which works best is to use a validation set to verify your encoding methods. Label encoding is usually not preferred for sklearn tree based models because the model treats it as a numerical value and might form a decision tree such ... | 0 | 0 | 375 | 2022-02-18T05:24:52.290 | data_quality | datascience.stackexchange.com | |
24,215 | How to turn off header only in psql (postgresql) | I'm using PostgreSQL 9.1.X I am trying to build [CODE] script to print results without a header but including a footer. http://www.postgresql.org/docs/9.1/static/app-psql.html From the document above [CODE] will turn both header and footer off. and [CODE] will turn footer off only. Is there a way in [CODE] to turn the ... | When executing [CODE] from shell you can use [CODE] (prints tuples only) option: [CODE] Within [CODE] use [CODE] to turn off printing header and row count. | 55 | 56 | 76,804 | 2012-09-12T20:36:38.417 | database_errors | dba.stackexchange.com | |
623,865 | RemoteFX GPU not appearing in Add Hardware for HyperV | I'm trying a PoC for RemoteFX and am having issues adding a 'RemoteFX Video Adapter' to my Win8 Enterprise VM. I'm working on section four of this link and just don't have the option to add the video adapter to the guest. HyperV sees the card and acknowledges that I can use it. I have verified I'm running Windows 8 Ent... | My problem was I was trying to use a Gen2 VM instead of a Gen1. Creating a new VM based on Gen1 "hardware" fixed the issue. | 6 | 4 | 1,814 | 2014-08-25T17:27:14.080 | infrastructure | serverfault.com | |
757,235 | Docker compose and nginx load balancer | Currently I have 2 Docker containers: Application (python flask) Load Balancer (nginx) I'm starting both containers separately with docker-composer up Nginx is listening in port 8080 and should forward HTTP requests to application which is listening to port 8081. Currently this is not working as nginx doesnt know anyth... | did you define a link to application_application_1 in your docker-compose.yml file? | 1 | 1 | 2,106 | 2016-02-15T08:53:38.330 | pipeline_ops | serverfault.com | |
920,384 | How to reserve a static-ip on Mikrotik router for a device that is attached to a fixed router's Ethernet port | I am trying hard to figure out how can I force any DHCP client device connects to the port ETH10 on Mikrotik router get assigned a fixed IP-address. Please note that the device MAC address is unknown and I will not reserve the static IP address binded to a MAC address of the attached device on the router side, in addit... | Set up a separate dhcp server on eth10 which dynamically hands out that single address with a short lease time and no DNS settings. [CODE] To block every traffic from IoT devices but allow replies setup a firewall filter rule that blocks new connections from the IoT device: [CODE] If you want to block only the internet... | 1 | 1 | 9,613 | 2018-07-10T22:06:08.147 | infrastructure | serverfault.com | |
283,192 | MySQL - cannot examine view definition - Error getting DDL for object - No database selected | I have a view that I can run, it returns a dataset, but whenever I try to alter the view or look at its definition, I get [CODE] But I do have a database selected and I can run the view with results. How do I recover the definition? Please advise | [CODE] error message means that no database is selected as current. Specify default database in my.ini, connection definition, or execute [CODE] as the very first query in the connection. why no other view required a default schema be defined, and why is a default schema required at all? – Roy Hinkley Default scheme ne... | 0 | 1 | 678 | 2021-01-14T00:33:37.847 | database_errors | dba.stackexchange.com | |
1,111,815 | WMI issue - Access Denied - tearing my hair out! | I'm getting a weird access denied error for WMI on one of our servers that I can't understand. It appears to fail from any PC/Server that's attached to our domain, yet if I try it from my laptop that isn't part of the domain, it works! I've checked all permissions in DCOM and WMI and all look correct. All required serv... | Turns out this was an issue with Windows Updates not being consistent across the servers. The server I was connecting to was up to date, but the 2 or 3 I was trying the connection from were not. Something to do with a security change in DCOM that's now mandatory. | 0 | 0 | 1,427 | 2022-09-28T18:25:19.310 | infrastructure | serverfault.com | |
298,350 | Couchdb removal | I am trying to remove couchdb in my Ubuntu Server ( 10.04 ) and I received the following error: [CODE] How do i fix this? I have tried the following commands: [CODE] but to no avail... | I'd be more worried about how you managed to get your installation so badly wedged in the first place, myself. Have you tried following the recommendation that [CODE] gave you, and reinstalling the package to get everything into a consistent state before you try your purge again? | 1 | 0 | 678 | 2011-08-06T06:22:36.523 | infrastructure | serverfault.com | |
46,239 | Finding the best "depth" of ICD9 codes with pseudo-hierarchical clustering | Here is a common problem in health care modeling. Did I just invent a new algorithm or has someone already thought of this? The goal is to find the most homogeneous partition of patients by medical costs using ICD9 codes. There are 13,000 individual codes in the data set, so using the full code results in many only hav... | It's called a prefix tree. And because the ICD codes are human made, and humans tend to think in categories, there is indeed such a structure in this codes. It's just that humans first thought of the structure, then made these codes to reflect that structure, not the other way round. What you are now doing is reverse-e... | 0 | 2 | 97 | 2019-02-26T06:01:12.363 | data_quality | datascience.stackexchange.com | |
1,135,335 | 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 | I have Postfix installed on a Fedora 38 box with the following: [CODE] and I'm trying to log into it like this, where the username/password was generated with something like [CODE] [CODE] I've read a lot of posts here and it is my understanding that authentication against the server is handled by Dovecot (so I'm guessi... | generating the base64 values like this is better: [CODE] and the AUTH PLAIN will work | 0 | 1 | 684 | 2023-07-01T03:03:16.377 | api_errors | serverfault.com | |
423,667 | Dynamic virtualhost causing "client denied by server configuration" error | I'm trying to configure a dynamic virtualhost on mac: [CODE] It causes this error: "client denied by server configuration". When I replace [CODE] by [CODE] it works fine... Any ideas ? | The [CODE] definition does not use the same logic as the directives from [CODE] - to it, the [CODE] is just a [CODE] , not the second part of the domain the request is for. Just use [CODE] instead, since that applies to all of its subdirectories. | 1 | 1 | 207 | 2012-09-02T14:40:27.113 | infrastructure | serverfault.com | |
163,154 | Windows XP connection limits & FTP Server? | I'm looking to set up an FTP Server and have a spare XP box that I want to use. I know XP limits user connections to 10? Will this affect the number of FTP users who can login at the same time? Also, I'm using a 3rd party FTP server so I don't need to issue Windows accounts for any of the FTP clients. | Per microsoft "The TCP connection limit is not enforced, but it may be bound by legal agreement to not permit more than 10 clients." Edit: Source - http://support.microsoft.com/kb/314882 The section that I quoted was from their development part, but thats why other tools such as a non-microsoft ftp will work. | 0 | 1 | 1,086 | 2010-07-22T18:37:00.953 | infrastructure | serverfault.com | |
1,130,453 | Old TLS or RSA version on Wifi Antenna preventing maintenance | First I'll disclose that I'm not a professional in networking by any means. That being said, I manage my family's home/small businness network. We have a few buildings, with the modem being in the middle one. The routers in the other buildings are connected to the modem with point-to-point wifi antennas (TP-Link CP210)... | Firefox on Windows as of version 112.0.2 (released 2023-04-25) still via about:config allows configuring [CODE] with a value of [CODE] re-enabling connections to the now deemed dangerous TLS1.0 protocol. Be sure to reset the setting after you are done, there should be an button with an arrow to get back to the default ... | 0 | 1 | 45 | 2023-05-05T15:50:38.803 | infrastructure | serverfault.com | |
506,541 | Hyper-V VM on Windows 8 - No Network Access | I have a VM set up in Hyper-V and 2 virtual switches that SHOULD allow me to RDP to the VM and for the VM to have access to the internet. I can RDP to the VM, but the VM does NOT have access to the internet. I have it configured as follows. Can anyone see my problem? I thought I had this setup working before: Hyper-V S... | Just started working. I think these settings are OK, but there was something else going on that made it so my VM couldn't connect to the internet. After a few days (and several restarts) I checked again, everything was working. | 1 | 0 | 1,218 | 2013-05-09T23:15:40.290 | infrastructure | serverfault.com | |
224,698 | How to display interface in tcpdump output flow? | This seems to be quite a trivial problem, but after some searching I can't stil figure out the answer. One can run tcpdump using "any" as the interface description, ie: [CODE] Is there any way to force tcpdump to show on which interface displayed packet was captured? Update: As more people confirmed this is probably no... | I hope somebody is still interested in the solution to the problem. ;) We had the same issue in our company and I started writing a script for this. I wrote a blog post about it with the source code and a screenshot . I've also shared it below... And the code: (Be sure to check my site for future updates) [CODE] | 36 | 29 | 81,157 | 2011-01-20T15:29:15.160 | infrastructure | serverfault.com | |
83,003 | Database table to keep track of objects | I have a table called [CODE] and another table called [CODE] . Every [CODE] has multiple [CODE] . I also need a 3rd table to record what has been made, when and with what [CODE] . It might have these fields: [CODE] , [CODE] , [CODE] , [CODE] . This is pretty straightforward since I can put IDs' of [CODE] and [CODE] in ... | It is quite common to copy the data as it stands at the point in time that a transaction occurred - in your case the [CODE] when a [CODE] made something. This happens with financial systems a lot for audit and reporting purposes. Yes, it is duplication, but in a known and controlled way for a purpose. The alternative i... | 1 | 1 | 118 | 2014-11-19T00:59:53.000 | warehouse_errors | dba.stackexchange.com | |
573,190 | Why does GPO for firewall inbound connections still allows change from "Block (Default)" to "Block all connections" | I found an interesting issue where I set a GPO to control the firewall policy to "Block (default)" the inbound connections, however that setting is not completely enforced. It still allows an administrator to alter it from "Block (default)" to "Block all connections". Why is the GPO not forcing the setting I provided? ... | In almost all cases, an administrator can change whatever is set by GPO - it's just a registry setting and one way or another an administrator on a PC can change any registry setting. If your intent is to lock these machines down, then users shouldn't be local admins. | 0 | 0 | 1,791 | 2014-02-04T21:02:44.720 | infrastructure | serverfault.com | |
77,165 | How to analyse the results of cross-validation do determine overfitting | I performed k-fold CV and measured the resulting average error (RMSE) for each fold. This was done with 5 folds, and 4 of the measurements gave similar errors (between 10% and 12%), but one of the tests has given a 4% error. What can be concluded in regards to overfitting in this experiment? Is the model overfitted bec... | In short, k-fold CV is not about over-fitting. Your samples can never be ideally identical, so you can only conclude that your error is mean±std. If your model training process is iterative, then you can detect overfitting by checking test score over the course of training. If you're making hyper-parameter search with ... | 0 | 0 | 48 | 2020-07-05T10:44:52.093 | data_quality | datascience.stackexchange.com | |
16,387 | Guarantee latest version of Chrome on Azure VM | We have automated tests run by an Azure pipeline on an Azure VM and would like to guarantee that the latest version of Chrome is installed before running the tests. Is there any way to do this? We use WebDriverManager.Net to automate the Selenium WebDriver binaries management which means we always use the latest versio... | Create a PowerShell task in Azure DevOps and add this command to it [CODE] So we are running the google update exe in the command line which will update the google chrome before you run the other task. We are piping the command to cmd in PowerShell. | 1 | 1 | 1,434 | 2022-08-04T10:13:38.793 | pipeline_ops | devops.stackexchange.com | |
117,109 | Why uninstall did not remove the corresponding folder? | I have just uninstall WampServer because it did not worked (I had 403 error which I could not resolve). After the uninstall is still see "C:\wamp\" directory. Why? | Not all installers remove all the folders they originally created. There is a good reason for this - you may value any configuration files you changed that were stored in that folder. I'm just speculating that this is the reason whoever wrote the installer/uninstaller did it this way. It could also be a mistake, or any... | -2 | 4 | 58 | 2010-02-26T10:32:44.417 | api_errors | serverfault.com | |
869,585 | Kerberos KDC won't start : invalid credentials | I'm having troubles my kerberos server (LDAP back-end). I wanted to restart the KDC service and it failed. It has been working fine for several weeks. Since I had just tweaked LDAP ACLs, I tried the following commands: [CODE] - [CODE] - The result of the second command doesn't make any sense to me. How can it be allowe... | The ACLs were wrong. I added a line [CODE] to the first one: [CODE] | 1 | 0 | 2,597 | 2017-08-20T14:12:29.410 | infrastructure | serverfault.com | |
172,611 | MySQL commits taking time | We are facing an issue, where at certain times there are number of commits that takes a more than a second. The time interval for this is not fixed. Our application sends thousands of commits but at some instance the commits with exact same timestamp gets slow. This is extracted from MySQL slow query logs There isn't a... | Since your commits are stalling, it's pretty safe to assume you're running with [CODE] ( see #4 here ), so one obvious change you could do is switch to [CODE] , however that may not be the right choice for you - see the previous link. In any case, [CODE] don't usualy stall due to other activity on the server (like quer... | 8 | 10 | 10,141 | 2017-05-03T11:50:30.973 | database_errors | dba.stackexchange.com | |
667,533 | Strongswan to OpenBSD isakmpd IPSec VPN | At my end I have a StrongSwan installation, connecting to an IPSec VPN hosted by an OpenBSD box running stock isakmpd. The OpenBSD box already hosts multiple other associations, but the StrongSwan box is a new client. The credentials I have (an x509 certificate) have successfully be used on a Windows box with TheGreenB... | [CODE] is only used for dynamic assignment of configuration attributes (including IP addresses) via mode config or IKEv2 configuration payloads. strongSwan won't install that address locally if mode config is not used. The strongSwan wiki has more on this. If you want to use a specific IP address inside the tunnel, jus... | 1 | 1 | 1,612 | 2015-02-13T21:39:13.803 | infrastructure | serverfault.com | |
204,480 | Server HTTP Load times slow? | My server @ codemeh.com (HTTP Server) seems to be randomly loading slowly, I cannot tell if it just my forums ( http://www.codemeh.com/forums/ ) that are loading slowly or if the WHOLE site is just loading slowly since my forums are the largest thing on the site right now. [CODE] That is super low to my knowledge. I ha... | A couple things. 1) Yes once page is generated and sent to the browser, other links will download in parallel to an extent. IIRC, most browsers will only make 2 requests to the same domain at a time. This means if you have 40 images, css, js, etc from the same domain, they will download 2 at a time, until it's all down... | 1 | 1 | 6,084 | 2010-11-21T17:19:31.857 | database_errors | serverfault.com | |
422,255 | AWS EC2 security group source | I'm currently trying to configure a security group and allow MS SQL connections from my other instance. I want to be able to specify the security group's name as the source. But the connection is not going through. The instance's firewall has a rule to allow connections on the port. In fact, if I specify the IP of the ... | Use the other instance's private IP address (10.X.X.X) to make the connection when the security group ID is used as the source. This does not apply between regions and probably not between availability zones. | 1 | 0 | 463 | 2012-08-29T02:11:41.583 | infrastructure | serverfault.com | |
194,221 | File Server - One large LUN or multiple smaller LUNs? | We're about to replace a bunch of kit (servers, SAN etc.) and migrate our servers across from their current platform. Our file server has around 8tb of data on it right now, spread across 5 LUNs (all on the same SAN mind you). To my mind the pro's of multiple LUNs mainly come down to "what if" things, such as file rest... | Check whether there are any limitations on max LUN size on your SAN or at any other point in your stack. For example, if you're running this as a VM within ESX then you have a limit of 2Tb per LUN without hacking around it. Inspect the payloads. If you're serving several distinct kinds of content from the same server (... | 0 | 2 | 3,264 | 2010-10-24T10:21:17.437 | api_errors | serverfault.com | |
823,376 | Ticketing System Logic | Currently we have a ticket management system and like all ticketing systems it needs to assign cases in a round-robin manner to the agents. Also, at the same time the agent can apply their own filtering logic and work on their queue. The problem, The table with the tickets is very large now, spans over 10 million rows.... | I would approach the problem like this: Update the first open ticket to be handled by user USERID: [CODE] Get the ticket [CODE] Update the ticket after it has been processed. | 1 | 0 | 171 | 2016-12-30T11:08:07.873 | database_errors | serverfault.com | |
783,742 | Signing/Generating SSL Certificates for ElasticSearch (search-guard) | I am trying to build my own ElasticSearch cluster and I decided to use an open source plugin called Search Guard . It requires generation of client and host/node certificates. In its demo there is a script which generates a root ca, client and node certificates signed with the generated root ca. My problem is that I wa... | To generate a wildcard cert, follow the same procedure but add a wildcard to the CN -- so instead of CN=foo.example.com, use CN=*.example.com. | 1 | 0 | 1,324 | 2016-06-13T21:54:50.090 | database_errors | serverfault.com | |
75,966 | How do I view my K features with SelectKBest? | I am getting an error for "no attribute columns". Because of this, I can't see the selected K features and can't build plots: First occurrence of error: Second occurrence of error: I'm also not able to plot the score for each selected feature, I've tried some alternatives but I'm failing: | get_support() will only return an array, there are no column names in that object. Check this website out for usage: https://scikit-learn.org/stable/modules/generated/sklearn.feature_selection.SelectKBest.html In your code, mask will show an array of True or False values [CODE] If you want the column names, you can get... | 0 | 2 | 3,165 | 2020-06-14T03:05:29.310 | data_quality | datascience.stackexchange.com | |
562,771 | Cannot register new System Center 2012 Service Manager Data Warehouse after Service Manager database move | I recently migrated a customer from a 3 server SCSM topology to a 5 server SCSM topology and I am now having an issue registering the Data Warehouse Management Server with the Service Manager Management Server. All servers run Windows Server 2012 except for SCSM3, which run 2008 R2 SP1. Original Configuration SCSM1 Ser... | This is an old posting, but it's a situation I found myself in recently under the same circumstances. The problem I had was self-inflicted, when you go through the process of updating all the SCSM DB table references to the old servers and point them to the new servers, all of them point to the new SQL server except th... | 7 | 1 | 2,791 | 2013-12-20T16:38:56.717 | bi_errors | serverfault.com | |
968,722 | VLAN help (HP Switch) | First off, thank you all very much for taking the time to read my post, I am hoping for some help! I was hoping to get some help with getting the configs right for my network switches. I don't believe my issue is directly related to the vlans in my pfSense setup, rather my network switches, but please let me know your ... | First you should know that HP and Cisco use the term "trunk" differently. What HP calls a trunk, Cisco calls an Etherchannel (port aggregation). I'll use the term in the Cisco sense (VLAN trunk) since you seem comfortable with that. Trunk ports can have up to one untagged VLAN; all others must be tagged. You can, if yo... | 1 | 4 | 756 | 2019-05-24T14:36:37.533 | infrastructure | serverfault.com | |
577,393 | vsftpd : limit connection to a set of IP addresses | Is it possible to setup vsftpd to only accept connections from a certain set of IP addresses? I've looked at the /etc/vsftpd.conf for options but there is no hint at that. The manual does not either. My Server OS : Red Hat Enterprise Linux Server release 6.5 (Santiago) | Seems you can use [CODE] (just tested it on my Ubuntu) and use [CODE] and [CODE] to filter vsftpd access. Add the following to your [CODE] file : [CODE] Restart vsftpd. In [CODE] deny everyone for vsftpd : [CODE] Then, in [CODE] add the authorized IPs : [CODE] | 8 | 17 | 35,385 | 2014-02-21T16:58:27.177 | infrastructure | serverfault.com | |
654,765 | How to fix a function in bash that checks if an RPM package is installed? | I've written this function: [CODE] But something is wrong. It always returns 0. Even when package is installed. I guess I'm not checking the return signal correctly. [CODE] | [CODE] is invalid use of the [CODE] builtin. You would see this in the error message if you didn't redirect stderr, like this: [CODE] Every command you execute has an exit code, so there's no need for wrapping in [CODE] , and it's invalid syntax. Write it this way: [CODE] | 1 | 4 | 3,262 | 2014-12-25T19:36:58.080 | infrastructure | serverfault.com | |
550,350 | Performance difference between compiled and binary linux distributions/packages | I was searching a lot on the internet and couldn't find an exact answer. There are distros like Gentoo (or FreeBSD) which does not come with binaries but only with source code for packages (ports). The majority of distros uses binary backages (debian, etc.). First question: How much speed increase can I expect from com... | The performance difference will be in almost all cases minimal and not worthwhile. Good reasons to use source distributions (while rolling your own binary packages, as gentoo's bindist system allows) include: Deploying your own custom patches Customizing your kernel easily Packaging your own updates If you're not doing... | 16 | 7 | 23,038 | 2013-11-03T02:11:15.420 | database_errors | serverfault.com | |
567,698 | Centos 6 webserver - best use of spare memory | Just after any quick easy suggestions about where I should try tweaking my web server to use some of the spare memory and reduce CPU usage. Sorry if I'm a bit vague, but this isn't really my area. I run Apache 2 with MySQL 5 and most websites are PHP - either bespoke or usual Wordpress / Drupal etc. I already have some... | Assuming you've done basic tuning for your APC cache , and have Apache's memory/worker settings appropriately sized (most common error here is to overdo it), the best approach for the rest is to leave it alone and let Linux do its thing . It will use that spare memory for caching and buffering. And, if your site sudden... | 0 | 2 | 326 | 2014-01-16T13:56:54.690 | database_errors | serverfault.com | |
836,980 | Open vpn not working ubuntu 16.04 | I have installed open vpn access server, Also installed OpenVPN 2.3.10 as client, I've downloaded client.ovpn file for my account With open vpn server running, when i do [CODE] i get below message [CODE] And that's it, the message keeps reappearing and i won't get a success connection message. What am i doing wrong ? | There doesn't seem to be a server listening (or responding), check if service is running at all, if firewall blocks it... Side note: SHA1 is considered broken, you should use a different encryption mechanism | -1 | 0 | 1,071 | 2017-03-08T11:57:42.483 | infrastructure | serverfault.com | |
362,707 | Algorithm for Uneven Product allocation in Multiple Warehouses with PHP | I have a script which returns the ID's of the warehouses (4,1,2,10,9) in order how close they are to the customer. [CODE] When I lookup a product from the database, I return a breakdown of which warehouses have it in stock and the quantity. Like so: [CODE] [CODE] I made this loop to determine which warehouse has the de... | Look at what you wrote: They request 20 pieces. And the distribution is as follows '4'=>5, '1'=>5, '2'=>1, '10'=>8, '9'=>10. So ideally the warehouses will be assigned something like this: WID:4=5, WID:1=5, WID:9=10. Why there is no WID:2=1, or for that matter, no WID:10=8? You must be employing some logic here, that m... | -1 | 2 | 457 | 2017-12-19T19:11:26.743 | warehouse_errors | softwareengineering.stackexchange.com | |
15,437 | Why does MySQL choose this execution plan? | I have two queries, [CODE] and [CODE] Both return 10 rows; the first takes 2.74 seconds, and the second takes 7.07 seconds. [CODE] is not a part of any index. [CODE] is the primary key column; [CODE] has a b-tree index and a cardinality of 200 (according to MySQL). Here are the [CODE] results: [CODE] Why does MySQL cho... | An indexed column in InnoDB always has an additional key to the gen_clust_index (aka Clustered Index) attached to it. This would be traversed by the first query to get to row 4000000 in the order of the index. Since it is the only column being requested, access to the table is unnecessary. The second query has to colle... | 7 | 7 | 3,300 | 2012-03-22T21:04:43.303 | database_errors | dba.stackexchange.com | |
765,017 | Endpoint to security gateway tunnel | I want to establish a connection between the client and the proxy server through a VPN tunnel in android device. I want to do this at layer 2 or 3 , where a packet can captured and encrypted. Please suggest any way to establish the connection. As far as now I found that tun/tap but they can only be done on rooted devic... | Android is also linux environment. In android by default use tun adapter for vpn connection. Your android not need rooted to use vpn with tun adapter. Use openvpn client, you can config with your own custom server. But there is any commercial apps, they say support tap adapter, may be it need rooted for install tap ada... | 0 | 0 | 43 | 2016-03-21T08:10:49.413 | infrastructure | serverfault.com | |
694,184 | Cannot provide permission to IIS_IUSRS on C:/Windows/Temp | I have an ASP.NET Web Forms Application which has some reports created using SAP Crystal Reports Runtime for .NET Framework 4. The [CODE] folder contains my Report files of the application. That's why, I need to provide [CODE] permission on [CODE] . Problem is, whenever I'm trying to give [CODE] permission to Temp, I'm... | How I Solved the Problem 1. Run cmd as admin (keep it open ). 2. Open task manager and kill explorer.exe. 3. Go to previously opened CMD. Type [CODE] and hit enter. 4. Navigate to c:\windows\temp (right click) -> properties -> security 5. Now you will be able to change \IIS_IUSRS to Full Control Edit: Some applications... | 2 | 0 | 10,099 | 2015-05-25T06:12:42.113 | infrastructure | serverfault.com | |
650,395 | Nginx / PHP-FPM = Blank pages | Dear ServerFault Community, I managed to get my site into a fully functional state two days ago.. Around 3 hours ago today, I've restarted my linux box and have found my site to no longer work. I have no idea as to why this would be and quite frankly I just don' think I'm at a level right now to fix it - I could really... | The first things I would try in this case is to double-check the permissions on the files you are trying to read, just in case a startup script caused them to be changed. "ls -l /var/www/" would let you see this, where /var/www/ is your web root. Then, try turning on error reporting in the php configuration to see if P... | 4 | 3 | 21,325 | 2014-12-09T21:51:58.307 | infrastructure | serverfault.com | |
953,632 | Low random read IOPs for 5 SSDs in hardware RAID5 setup | We have 5 Toshiba Px04Srb192 SSDs (270K random read IOP as per spec), setup in hardware Raid5. Running fio is giving 250K IOPs which is much below what I was expecting. [CODE] I was expecting 5 SSDs IOPs to be at least 2 times individual SSD. Is that right? Any suggestions why we are seeing low IOPs? | First, you expect 270k iops as per spec, but what is the block size required to meet this value ? is it actually 4k io size in the spec ? Second, if you use a single io thread to benchmark your raid5, you will never be able to show the overall read performance of your raid5. Each read io is served by only 1 SSD drive. ... | 3 | 1 | 991 | 2019-02-13T00:12:07.327 | infrastructure | serverfault.com | |
239,630 | select top 5 accounts in each region in an month per sales | My data is in table Sales [CODE] I want to find out rank of each account in a district per month by sales my output will look like [CODE] I am using Mysql 5.7 version, I have tried below [CODE] I am getting duplicates as well it not properly ranking based on sales. Where I am going wrong and is there any other efficien... | You must init ALL variables on the level where they are used. In your case - in subquery data source. - akina | 0 | 0 | 54 | 2019-06-01T11:42:26.123 | data_quality | dba.stackexchange.com | |
289,656 | Parsing XML to two separate (WInForm) controls | I've spent a great deal of time researching a solution to my issue with very little success. I'm rather new with .NET and vb.net so I apologize if this seems simple to anyone else. I had a first version of what I am trying to do which worked fine. I will provide sample XML and the vb.net code I used to render it. As I ... | My apologies but a muse came along and I have an answer to my own question which I wanted to post here in case it helps someone else. However, if you have any other ideas of how to do this then please share. Updated Code: [CODE] Honestly in my original code I did not really understand the "Tables" part of the code to p... | 2 | 1 | 126 | 2015-07-13T23:32:19.877 | api_errors | softwareengineering.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.