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 |
|---|---|---|---|---|---|---|---|---|---|---|
32,585 | How should I format input and output for text generation with LSTMs | I'm attempting to generate a response to an input line of text using an LSTM. I've considered various forms of input, including one-hot encoding each character in the line and passing each input line as a vector of one-hot encoded vectors. I've also considered using a dictionary and one-hot encoding each word in the se... | You can use word embedding , to encode words as vectors of real numbers. Then all calculations, such as comparison of words (to find similarity), are performed in that high-dimensional space. "What would be the best way to format my input (and my output) for this problem?" I cannot tell which is the best approach (depe... | 1 | 1 | 272 | 2018-06-04T07:57:48.557 | data_quality | datascience.stackexchange.com | |
418,051 | Where do you find logs about connections on debian? | I installed nginx on debian and then tested it with wget localhost and wget 192.168.1.11 to see if it responds to simple requests. After this i changed the default root folder to /var/www and tried testing again. Now if i try wget locahost it works, but wget 192.168.1.11 gets "connection refussed". I'm thinking it's a ... | [CODE] Means that Nginx is only listening on 127.0.0.1. Look at the output of [CODE] , you will see something like this: [CODE] To make the server accessible via the LAN address (192.168.1.11), add a [CODE] directive: [CODE] then restart Nginx and try again. | 0 | 2 | 1,163 | 2012-08-16T03:52:09.430 | infrastructure | serverfault.com | |
107,784 | Bandwidth bottleneck on VMWare ESX Virtual Machine | I have 2 loadbalanced apache virtual servers that handle a couple thousand requests per minute, and I am trying to diagnose the bottleneck that is slowing them down. My webservers each have one virtual NIC in them, and their VMWare hosts have 7 gigabit NICs in each of them. All of these physical NICs feed into 100Mb/s ... | As far as the NIC teaming is concerned your coworker is more or less correct. By default NIC teaming in ESX maps each Virtual NIC in your VM's to a single uplink (the physical NICs) on the vSwitch that it is connected to. The specific NIC load blancing policies are: Port ID: all traffic from each Virtual NIC is mapped ... | 1 | 3 | 3,240 | 2010-01-30T04:53:46.397 | infrastructure | serverfault.com | |
953,652 | How to stop serving static files in Nodejs/expressjs? | I serve a temporary directory using [CODE] At some point, I may delete /var/www/tmp and think it makes sense to stop serving its content both a static files and as an automatically built index page. Is there a way to do so ? I tried calling app.use with an undefined callback but it raises an error. Thanks, Marc | Based on jfriend00's answer, I have installed a first handler that tests if the directory exists : [CODE] | 1 | 0 | 1,173 | 2019-02-13T06:02:58.283 | infrastructure | serverfault.com | |
1,135,784 | App Engine Adding custom domain verification failed despite main site ownership verified | I am trying to veryfy a subdomain to configure a server side GTM container. The property is verified on the search console However when I click refresh domain, I still get "Your domain hasn't been verified yet. Finish all the steps in Search Console and then return to this page." If I remove the property and start agai... | To resolve issues with subdomain verification in Google App Engine after verifying the main domain in Google Search Console, follow these steps or refer to this link: Map a subdomain to your app Go to App Engine > Settings > Custom Domains in the Google Cloud Console. Add a custom domain. Select the verified domain or ... | 3 | 0 | 567 | 2023-07-05T16:12:06.447 | pipeline_ops | serverfault.com | |
238,856 | Why does Java support brackets behind variables and even behind method signatures? | Java allows this: [CODE] and even worse, it allows this: [CODE] Okay, the reason for this might be that it was lent from C/C++. However, Java meant to be easier than C/C++. Why did the Java inventors decide to allow this hard-to-read construct. The convoluted types of C where the variable name is in the middle of the t... | The question can be divided into "Why does Java C support brackets behind variables and even behind method signatures?" and "Why would Java inherit so much from C?"; Java also inherited other weird syntax, especially that for [CODE] (why not use curly braces as for everything else and use : and break ?). To answer the ... | 2 | 3 | 1,996 | 2014-05-12T20:15:56.107 | api_errors | softwareengineering.stackexchange.com | |
318,982 | What is the origin of counting from zero in programming languages? | This is a question which I have wondered (and been asked) about for a long time. In (most? all?) programming languages, an index begins at zero for an array, string, etc. I recognize it became convention over time, adopted in many languages, but can anyone point to the origin of this? I thought, perhaps, it had to do w... | It's about offsets. You have an address, which points to the location in memory where the array begins. Then to access any element, you multiply the array index by the size of the element and add it to the starting address, to find the address for that element. The first element is at the starting point, so you multipl... | 8 | 12 | 3,601 | 2016-05-09T23:26:18.567 | api_errors | softwareengineering.stackexchange.com | |
649,092 | cron: What means mail error status "0x0002#012" | I have a cron job specified in the crontab: [CODE] The doMirror script fails because of a syntax error. I had expected that the root user will become a email notification, but in the cron log stands: [CODE] What means "got status 0x0002#012". Cannot find any information about that. If I send a email via [CODE] this wor... | Found it! The reason why the email could not be send is, that the user "tst" has in my case no own and already created home directory. After create the home directory for user tst it works like expected! :-) | 1 | 0 | 4,005 | 2014-12-04T08:57:01.613 | infrastructure | serverfault.com | |
313,403 | UPDATE FROM with a large table is slow and uses Seq Scans | I have a large table (ultimately maybe a billion rows but currently ~26 million) for which I want to set a flag on the highest PK for a given grouping, in a one-off batch. I chose to create a temporary table that stores the PKs that should be set [CODE] , the rest should be set [CODE] . I made a temporary table rather ... | ... we need to set the 'current' flag true for 98% of rows So [CODE] will be the rare case. Seems like you have been trying to do things back to front so far. Your current indexes are actively unhelpful for the given data distribution: [CODE] We need to keep the [CODE] index to enforce your requirements, and it's usefu... | 2 | 3 | 1,439 | 2022-06-15T15:26:42.227 | warehouse_errors | dba.stackexchange.com | |
1,057,737 | doveadm replication fails with doveadm: Fatal: setuid(XX(banjo) from userdb lookup) failed with euid=8(mail): Operation not permitted (This binary | I've been running postfix & dovecot on separate VMs mounting /var/mail over NFS, and trying to replicate with mailsync, but I get a lot of email duplication so I really want to get dsync working on dovecot. I followed the advice at the following blog to get 95% of the configuration correct. As postfix was using user/gr... | Oops, when editing the username from vmail to mail, I accidentally added an extra line which was the cause. [CODE] Now I have other problems. | 0 | 0 | 481 | 2021-03-20T22:43:41.993 | database_errors | serverfault.com | |
300,879 | SSL error when connecting via SSL for email settings | I would try to give more info but I have no idea why this error is being caused. I have found a number of these errors in the error.log file. I am using Debain and iRedMail. Can anybody help with this? [CODE] | The key clue is in the second last line: [CODE] (Technically, the protocol dump on line 7 gives you a similar hint, but it's a lot more cryptic) You may think you're talking SSL to the server, but in actual fact the client is speaking regular ol' HTTP. Change your URL to be [CODE] and everything should be fine. | 2 | 2 | 1,824 | 2011-08-13T23:55:10.063 | infrastructure | serverfault.com | |
96,416 | Transfer Learning or Custom Network? | I am learning Computer Vision and I was wondering if it's usually worth it to build a custom convolutional network from scratch (through trials and errors) or if using transfer learning with a popular CNN structure (ResNet50, VGG16, etc.) is good enough? | First of all if you are starting out building a solution for a problem statement such as image classification, it will be worthwhile if you start on pretrained models like Resnet50 or VGG16 as they are trained on Imagenet dataset which is the benchmark and you can train the last layers on your own data. You can set the... | 1 | 0 | 43 | 2021-06-08T19:00:05.907 | data_quality | datascience.stackexchange.com | |
930,472 | HDD unpluged for a long period of time goes bad? | I have two HDD's unplugged for two years. It's from my old pc. I have some important files in there but I'm wondering about this problem. Will the HDD's turn on and I'll be able to access all my files or there a possibility of these HDD's goes bad because I let them off for a long time? People, the old question is from... | HDDs are magnetical recording system, so they can lose magnetization (ie: your data) when powered off for extended time period. An ever bigger problem can arise from the lubrificant and moving parts (ie: actuator and motor) being "inactive" for so much time. That said, two years are not so much time; I am quite confide... | 0 | 0 | 85 | 2018-09-11T19:41:19.990 | infrastructure | serverfault.com | |
23,963 | postgres 9.1: both md5 and ident on the same connection type? | In pg_hba.conf, is there a way to enable both 'ident' and 'md5' for local connections? Concretely, I am happy to have 'ident' turned on for humans to interact with the database. However, if I set up an httpd instance (e.g.), I don't like having to add a full linux user so that it can connect to the db via ident. I'd li... | Only if you can differentiate by user or database. You can't have both ident and md5 enabled for the same (user,database,connection-origin) tuple. I usually use unix sockets with ident for my admin and casual use. Many apps only work over tcp, so I use tcp with md5 for them. For apps that can use a unix socket I specif... | 3 | 4 | 381 | 2012-09-09T16:20:34.300 | warehouse_errors | dba.stackexchange.com | |
1,099,515 | error 1258 when restoring from Actifio | I am using ActifioGo on Google Cloud and took a snapshot. When I try to restore it, I get an error message like: [CODE] What can I do? | This worked for me: The service account used by Actifio must have the privileges to perform the restore operation. To make sure this is the case, go to Actifio Go Manager - manage - credentials. Note the service account name, it will be similar to 123465789-compute@developer.gserviceaccount.com Go to Google Cloud Conso... | 0 | 0 | 155 | 2022-04-26T15:40:00.727 | database_errors | serverfault.com | |
322,109 | nginx proxy caching and ssi | I am using nginx for caching requests from the upstream apache server, however I want few blocks inside to be fetched from apache all the time. I am hoping ssi can do this, but the SSI tags are outputted to the user without being preprocessed. [CODE] This is the relevant nginx conf. | [CODE] This line is caching all the individual parts of the page under the same key (the URI that the user typed), so the different parts of the page are overwriting each other, and then only the last one written gets returned. You want to use [CODE] rather than [CODE] , so that each part of each page is cached under i... | 2 | 1 | 2,334 | 2011-10-17T10:27:06.480 | infrastructure | serverfault.com | |
999,484 | isc-dhcp-server fails if interface not connected on reboot | On Ubuntu 18.04 on my gateway server, I've installed and configured isc-dhcp-server, but it doesn't start up (i.e. it fails to start) if there's nothing connected to enp2s0 after a reboot. Note it says " Not configured to listen on any interfaces! " [CODE] My gateway server has two ethernet ports, enp1s0, and enp2s0. I... | Is the interface (enp2s0) up at all ? It needs to have an ipv4 address added and then started (up) It shouldn't matter if any clients is connected to the hub/switch. Edit: Network Manager ? I hate that thing with a passion, but either way: if the iface isn't up with a correct address dhcpd wont start, so you need to fi... | 0 | 1 | 6,832 | 2020-01-18T18:33:37.817 | infrastructure | serverfault.com | |
977,416 | How to fix unable to connect to ldapserver - Authentication Finally Failed | I'm using openldap on opendistro for elasticsearch with docker I get this error: [CODE] This is my docker-compose: [CODE] and this is my config.yml: [CODE] I also have to enable authz but ill do that after i can successfully authenticate myself on elasticsearch using ldap credentials i've tried to query this ldap user:... | Do you have ldap server? Where is the ldap server, on your local machine? Change the parameters for the host on the authentication config file where you have this example.com:389 | 0 | 0 | 1,925 | 2019-07-31T12:24:17.580 | bi_errors | serverfault.com | |
349,876 | Https tunnel for carrying TCP and UDP packets | I had an issue with running Openvpn over UDP in my college network . The firewall was dropping UDP connections. As http and https were working fine and assuming that the firewall was inspecting packet header, I tried to run Openvpn over a https tunnel using stunnel . I was not successful because Openvpn was using UDP. ... | From the stunnel FAQ : Can I forward UDP services over stunnel? As described thus far, no. Stunnel works with SSL, which runs only on TCP. There are ways to forward UDP packets over TCP, and in principle these should be able to work over stunnel. SSL is a connection oriented protocol, while UDP is connection-less. Ther... | 1 | 2 | 6,166 | 2012-01-14T07:35:42.970 | infrastructure | serverfault.com | |
650,521 | Raid fault - Dell PowerEdge T11 II | The server is Dell PowerEdge T11 II PERC S100 Virtual Disk Management (Build: 2.0.0-0162) Disk 0 is set too Offline and gives message [CODE] There is small sound coming from the disk when I try to rescan and in post bios, it sound like the read head is doing the same thing over and over. So looks and sound to me that t... | As far as the failed disk goes, the click of death is hard to recover from, for some issues swapping the logic board with an identical disk helps but the CoD is usually physical. A couple of times I have found HDDs to start working for a short period of time after plugging them in and unplugging them multiple times. I ... | 1 | 1 | 717 | 2014-12-10T12:38:48.907 | infrastructure | serverfault.com | |
116,694 | SQL Server and SSPI handshake failed error | Recently I faced an issue where users from one domain were unable to login to SQL Server and getting this error: Error: 17806, Severity: 20, State: 2. SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT: xxxxxxx] Error: 18452... | Why does a reboot of the server sometimes fix this issue? I think the OS has an issue talking with the DC (for whatever reason(s) you determine) and when this happens, it just gets out of sync somehow with DC, AD, etc. and a quick fix is to reboot the SQL Server OS when this occurs and there is no network communication... | 6 | 2 | 7,052 | 2015-10-01T09:15:45.230 | api_errors | dba.stackexchange.com | |
1,117,171 | Import past log files into Sentry | We're exploring sentry.io Is it possible to import historical logs into Sentry? We're also looking at Prometheus and Grafana, and it looks like general SQL queries work for them, but it seems to me that I'd want to review error logs in the same place as new error logs are analyzed. | I get the idea that a key concept of the product is that events get sent directly by the applications to Sentry, rather than relying on an intermediate step of first logging to a local (error) file. AFAIK Therefor the product simply does not have any native support for "tailing" log files, log shipping and subsequently... | 0 | 1 | 312 | 2022-12-02T21:46:02.550 | bi_errors | serverfault.com | |
219,422 | Unable to find "Local" window while debugging SSIS package | I'm trying to debug my package in SSIS. I need to see the value of my variables while debugging, but the problem is that I cannot find the "Local" window. The only window I have is the breakpoint window as you can see below: What is wrong with my Visual Studio? (I'm using Visual Studio 2013) | You're looking in the correct menu for the Locals (Ctrl+Alt+V, L) window. The issue is that this is a context sensitive menu. With an SSIS project open, I see a similar menus as you under Debug/Windows However, if I set a breakpoint and launch the debugger, then I'll get the full suite of debugging windows available un... | 1 | 2 | 2,053 | 2018-10-06T07:41:12.390 | warehouse_errors | dba.stackexchange.com | |
279,082 | How do I interpolate months in PLSQL | I'm trying to find a way to include all months in a result set my query looks like this: [CODE] but if i'm missing a month of data say December 2019 where no downtime was reported then it will return [CODE] So I'm looking to have it include 19-December with 0 hours if nothing is present. The dates are chosen dynamicall... | It is a calendar you need. How to get it? Using a row generator technique. As I don't have your table, I'll use Scott's [CODE] and count employees hired in every month. Calendar I'm going to create will contain months between MIN and MAX [CODE] (you can create any dates you want, of course). [CODE] table's contents: [C... | 0 | 1 | 92 | 2020-11-02T19:57:21.440 | warehouse_errors | dba.stackexchange.com | |
809,742 | CyberLink PowerDirector : You have to be the administrator to activate the system. Only the administrator has the right to activate the program | I received the following error while attempting to Open/Run CyberLink PowerDirector for the first time: [CODE] This happened while I was logged in as an administrator, and persisted even when I manually ran the application "Run As Administrator". The administrator user in question was logged into the Windows 10 machine... | When logging into Windows 10 as a "Microsoft Work or School Account", there appears to be something different about the an Azure AD account works. Based on what I've seen, I think it may be based on the way the username is referenced, but in any case it breaks things. Vmware is one I can think of immediately . In any c... | 2 | 2 | 2,641 | 2016-10-18T11:53:14.553 | infrastructure | serverfault.com | |
224,711 | Does MSSQL Log shipping truncate the transaction log? | I have setup log shipping on a database in Microsoft SQL Server 2012. I was having issues with my secondary server and I found that this was probably due to a scheduled backup job messing up the log file consistency. The solution was to set the job to do a copy_only backup however, now I am curious as to whether the lo... | The LSBackup job in a log shipping configuration performs a transaction log backup, so this will help maintain your log file size the same as a normal log backup job does. Note that this will not truncate the file (reclaim space), it simply marks the portions of the log that have been backed up as available for re-use ... | 0 | 2 | 2,760 | 2018-12-12T03:58:22.080 | database_errors | dba.stackexchange.com | |
52,845 | What can be done to further enhance performance of Multiple Join and Aggregate Queries? | I have a typical star schema simulated here, and I am mentioning two queries: first query simply joins the fact table with 2 dimension tables and 1 calendar table, and the second query joins and aggregates. I have experimented and have created indexes by studying the execution plan and some by reading the suggested ind... | There is rarely any need, point or benefit trying to micro optimise star schema queries with non-clustered indexes laden with included columns. Fact tables are built to be scanned. The indexes you've created in your examples are subset copies of the parent table, which are being scanned (no seeks). The minor performanc... | 3 | 8 | 1,067 | 2013-11-05T20:49:20.563 | database_errors | dba.stackexchange.com | |
410,212 | WAMP server in Windows 7 safe mode | Windows 7 crashed and gives me this error message: The application was unable to start correctly (0xc0000022) When I started Windows 7 in safe mode to backup my project database, I notice my WAMP server is not working, and it's displaying a red icon. Is there anyway to either backup my database or start WAMP in safe mo... | Sounds like not exactly a professional sysadmin question, but it's pretty easy, yeah. You can copy the database directory off to a USB drive (or whatever else) if the data is your primary concern, and your configs and settings are [usually, by default] be located under the particular program's install folder. If you're... | -1 | 0 | 1,230 | 2012-07-23T08:15:25.607 | database_errors | serverfault.com | |
293,082 | Scaling server cluster setup | I'm in middle of re-building a website that currently gets about 4mil+ visitors a month (and that's going straight up lately). It's currently being run and hosted by an external company, but we're dumping them so I need to design hosting. I'm thinking about building a small cluster (probably on Linode): One Linode Node... | I am in the process of setting up something similar to your with a different company. I cannot necessarily comment on how Linode works, but want to highlight some things that I've run across when looking into VPS: I don't know the costs of linode's load balancers, but I found I like control over the configuration of a ... | 5 | 2 | 2,091 | 2011-07-22T14:16:14.053 | pipeline_ops | serverfault.com | |
59,936 | SQL Server file growth extremely slow | I have a database with a size around 100 GB, and I have serious problems expanding the size of the database. This is my setup: SQL Server 2005, Version 9.0.4035 OS: Windows Server 2003 SP2 x86 Running as a guest on Hyper-V Data file and log file on different disks (virtual and physical) The disk for the MDF file is 500... | I'm guessing that you've got some sort of storage performance problem going on. If you run sp_who2 on the spid that's expanding the file and see what the wait type is. | 1 | 0 | 3,150 | 2009-08-28T12:15:28.100 | database_errors | serverfault.com | |
128,212 | Removing resource limits on Solaris 10 | How should one remove all potential artificial resource limitations for a process? I just saw a case where a server application consumed resources so that some limitation was hit. The other shells into the same server etc were all extremely slow (waiting for something to free up for them; ie. prstat starting 5 minutes)... | Solaris 10 uses "projects" if you want to manually manage resources on a per-user or per-group basis. /etc/project will list the existing setup, which usually only limits the initial shared memory to 8GB for the "default" project. Nothing else gets limited by default. All users that are not root or system users are sub... | 0 | 1 | 1,805 | 2010-03-31T18:21:30.460 | api_errors | serverfault.com | |
92,734 | nginx configuring worker_rlimit_nofile and worker_processes | My site recently got lots and lots of traffic and I think the issue was the nginx was spending too much time scheduling requests. I increased my worker_processes and that seemed to fix the problem. Honestly, I do not really understand why. I was wondering if someone could point me to/explain how nginx workers work, and... | In nginx [CODE] are the number of processes nginx will spawn. Default is 1 , [CODE] is the maximum file descriptors that can be opened by each worker process. Be careful when you increase [CODE] , because this will impact in the number of max. clients your server will handle. [CODE] values of 2 or 4 are ok when working... | 1 | 1 | 13,262 | 2009-12-09T19:44:02.983 | infrastructure | serverfault.com | |
89,338 | What indexes should one use to optimize a PostgreSQL query with a JOIN depth of 2? | Disclaimer : I am relatively new to PostgreSQL. I'm wondering how to optimize a query that does 2 [CODE] s. My scenario is fairly simple: Select Posts with a photo ( [CODE] ) and a Hashtag that has the name 'dead' ( [CODE] ). The associations are as follows: [CODE] Here is the query: [CODE] EXPLAIN results: [CODE] This... | Also consider the first answer . Query This does what your current query currently does, just simpler and faster: [CODE] The [CODE] semi-join should be faster than your subquery construct. I am assuming that the column [CODE] is the PK and cannot be NULL by itself. Also, if referential integrity is enforced by a FK con... | 0 | 1 | 8,191 | 2015-01-15T06:20:02.427 | database_errors | dba.stackexchange.com | |
952,467 | OpenVPN does not use provided port | I can't use the default 1194 port used by OpenVPN as it is blocked by firewall. I've change the port to 80 on server and started it, everything looks good there. On the client I've set the port to 80 with following config (IP obfuscated): [CODE] Yet when I connect OpenVPN prints out 1194. Where is it taking that from? ... | OpenVPN prints out 1194. Where is it taking that from? [CODE] 1194 is the source port on your computer, that the VPN client is connecting out through. It typically uses that source port, although I'm not sure why it does that - maybe just to make the traffic easy to identify. 80 is the destination port on the server th... | 0 | 1 | 4,645 | 2019-02-05T20:33:36.427 | infrastructure | serverfault.com | |
189,535 | Help on Self-Referential CTE SQL SERVER | I have this table below which is has a hierarchy to it where the number of levels vary, for this example I chose a subset with 7 levels. [CODE] My goal is to grab the property of the Parent that isn't NULL. So in this case, this should be returned: [CODE] This is what i have tried so far. [CODE] Except this causes an i... | Your query is running an infinite loop because it always finds more records that can be added. That's because the rows you're adding in the second half of the query (after the UNION ALL) are the exact rows that are in the first half of the query. You won't get an infinite loop if you use the columns from the [CODE] tab... | 3 | 1 | 2,641 | 2017-10-27T21:32:36.540 | database_errors | dba.stackexchange.com | |
614,395 | HDD performance testing over LAN | Do you know some utility that allow me for HDD performance testing over lan. The issue - I have a shared drive with shared file database. Performance of the database is low and I assume that lan-drive communication time might be the problem. Most programs that I saw are intended for direct drive testing. Can you recomm... | Within windows you have performance tools. This can be run over the lan. Run the test and look at the disk queue length, this will tell you if the hard drive is the bottle neck. | -1 | 1 | 183 | 2014-07-22T06:19:57.517 | infrastructure | serverfault.com | |
425,563 | Is this a good approach to stop an API function and return relevant error message? | I am writing an API function using DRF where I want the API execution to stop if it fails in any of the steps and return an appropriate response. So I created a custom exception which takes an error code, and an error message like below. [CODE] And I came up with the below code structure for the API function, [CODE] Is... | In response to the above responses to my above post, I've decided that it's best to reply with "another answer." Here goes. Instead of(!) regarding "an exception" as being "something bad happened, so we're all gonna die," expand your thinking to say that it represents: "any(!) 'exception to the rule.'" * That is: "any(... | -2 | 1 | 123 | 2021-04-19T12:45:52.353 | api_errors | softwareengineering.stackexchange.com | |
663,778 | AWS Override VPC DHCP - Additional Option Sets for RRAS VPN Clients | I am trying to run a RRAS VPN server that pulls from a windows DHCP server running on the same box. I am finding that the AWS DHCP is getting hit first with the DHCP request and it provides invalid information to my clients. I need to get the DHCP offers from my localhost DHCP server for the additional option fields (w... | As far as I'm aware, this is simply not possible within an Amazon VPC, as they use DHCP for all of their IP assignments within a VPC subnet, static IP addresses are assigned by using Elastic Network Interfaces , which work in the same way as a DHCP reservation. Amazon Support will be able to confirm this though, so I'd... | 3 | 4 | 5,537 | 2015-01-30T18:02:08.973 | infrastructure | serverfault.com | |
690,259 | unable to change environment variable using setenv() | I have an a member server with a windows PDC with active directory. Security=ads. I am trying to set an environment variable(credential cache) using C: setenv("CCACHE","cache_name",1); However, when i do a getenv("CCACHE"), its still showing the old value of the variable. Can someone help me with this? EDIT: I am basic... | From other thread: The environment variables are set within the context of your program. When your program exits, you're back in the context from where your program was started. see this thread -> . This thread covers other situations as well, e.g. different process in same program. | 0 | 0 | 207 | 2015-05-07T09:40:33.440 | data_quality | serverfault.com | |
419,554 | Algorithm for line breaking in monospace text | Is there a de facto standard algorithm for finding good places to put line breaks in a paragraph of text rendered in a monospace font (e.g. to a text console)? The algorithm should aim to output lines of an equal length (which is given as an argument), inserting a variable number of spaces between each pair of adjacent... | How about: Scan forward in the text [CODE] characters. While scanning forward if you encounter a line break, stop immediately and respect it. While scanning forward count how many sections of white text there are as [CODE] . If the current character is not white space, or a breaking character (such as -) walk back and ... | 0 | 1 | 354 | 2020-12-01T18:18:37.463 | api_errors | softwareengineering.stackexchange.com | |
252,782 | Very slow DNS I think | looking for advice on my new VPS I have set up with help from a friend. Everything seems to be working well and pages load quickly after the first page load, the first page load takes up to ten seconds even for simple text based websites. I presume this is a DNS based issue, (or could it be related to Apache?), as the ... | I don't think it's a DNS issue... DNS Resolving was very fast for me. [CODE] The one thing that did struck my eye where the ping-latencies: [CODE] There are a lot of spikes there... How is the load on the server? Try running the command [CODE] and [CODE] and see what you get. | 1 | 2 | 561 | 2011-03-28T15:48:29.497 | infrastructure | serverfault.com | |
670,038 | Nginx - 2 https servers on same public ip | I currently have several regular http servers and 1 https server. I would like to add another https server with the same public ip. I have something similar to [CODE] The issue I am encountering is with IE8. I receive sub1's certificate instead of sub2's. Other browsers do not have this issue. Upon reading http://nginx... | If indeed you are running Windows XP, this will not work. Need Vista or higher. I would also double-check that SNI is enabled, from the same link you mentioned. [CODE] The first configuration you posted should usually work if you use a SNI compatible browser. | 1 | 2 | 379 | 2015-02-20T01:39:09.057 | infrastructure | serverfault.com | |
82,202 | Help me configure Coldfusion MX 7 to connect to LDAPS | I need to replace two web servers with IIS 6 and Coldfusion MX Enterprise, but I'm having trouble connecting to LDAPS with the replacement servers. I followed the instructions at http://kb2.adobe.com/cps/191/tn_19139.html , to no avail. I know that it isn't a coding problem, as the same test page works in production. H... | My first thought would be a certificate problem when trying to establish the SSL connection. Do you see any connection attempts from the CF server in the LDAP server log? If so, what do they say? | 0 | 0 | 857 | 2009-11-06T14:34:07.420 | infrastructure | serverfault.com | |
1,060,010 | Persistent storage in captive portals or mobile internet while wifi connection without internet | I have a little problem here: I want to create a WiFi network, which does not provide internet access. The WiFi network should only serve one website to the user like in a museum. That's pretty simple right? But here comes the hard part: I need to store persistent cookies (to save the user's answers and display them ba... | Cookies persisting after captive portal pages will not be allowed. Apple closed an iOS security flaw where malicious captive portals stole auth cookies. Wireless Broadband Alliance acknowledges that most devices will not save cookies from the captive portal mini browser . Maybe allow guest internet access to the known ... | -1 | 2 | 451 | 2021-04-10T23:17:11.580 | infrastructure | serverfault.com | |
222,015 | WITH RECURSIVE with union among the recursive term | Is it possible to use [CODE] queries in PostgreSQL where the recursive term is a union of different tables? My usecase is to extract some tuples from a table and some logical rules: And I would like to exploit recursive queries having the following syntax: [CODE] where [CODE] and [CODE] can be tuples from different pos... | The three parts of the desired recursive term select rows from the same CTE, so you can transform them into a single SELECT: [CODE] Reordering the columns can be done with a CASE expression : [CODE] | 2 | 1 | 1,874 | 2018-11-07T16:11:20.357 | database_errors | dba.stackexchange.com | |
267,050 | Can't Access Database when Logged in As SA | We are using mixed mode authentication. I can see and qbe uery all of the databases on the server except for one. I am logged in as the SA account. One database does not expand in SSMS when I attempt to look at it and I get the error: "The database is not accessible (ObjectExplorer)" When I try to look at it. Error log... | If you can see the database while logged in as you, but not as SA then it's a permissions issue. The SA must have been restricted from that database. Check with the database administrator. If you're the database administrator, log in as yourself and check SA's permissions. If you can't see it no matter who is logged in... | 2 | 1 | 6,474 | 2011-05-06T15:24:04.453 | data_quality | serverfault.com | |
472,900 | Unable to connect to nxserver | I've installed nx & freenx on a RHEL 6.3 via the 'yum install nx freenx' command. In the configuration file, node.conf, I've un-commented the following lines: [CODE] On my mac client I have installed the NoMachine player and copied the client.id_dsa.key from the server. On the server I am able to successfully start the... | When you say that it works on another computer, do you mean another MacOSX machine, with the same OS version ? Because I had many problems with the latest versions of MacOSX since it doesn't come with Rosetta anymore. You may want to try "opennx" instead of the Nomachine client. | 0 | 1 | 3,311 | 2013-01-28T01:25:46.040 | infrastructure | serverfault.com | |
72,975 | WEKA Random Forest and numerical attributes | I am working with Random Forests in Weka. I thought the ID3 algorithm is used to find the best split attribute at each level. But after reading a bit I noticed that ID3 can not handle numerical attributes (one needs for instance C4.5 for that). Random Forests in Weka do have no problems with numerical features as input... | Weka does use its own implementation of C4.5, named J48. That said, its RandomForest calls on RandomTree, which appears to be implemented independently, not ever touching the J48 code. (That's from what I can tell, and I don't normally work in Java so take it with a grain of salt.) I can't tell from a glance whether th... | 2 | 1 | 229 | 2020-04-25T13:17:53.883 | data_quality | datascience.stackexchange.com | |
279,335 | How to get the port of a connection in mysql | I can do: [CODE] To get the data from the current connection I am on, this will give me something that looks like: [CODE] And the port in there is [CODE] . Is there a way to grab the port directly, for example something like: [CODE] | You should be able to use one of the solutions in this StackOverflow: How do I find out my MySQL URL, host, port and username? Specifically I think this is what you're looking for: [CODE] | 0 | 1 | 101 | 2020-11-07T00:04:23.390 | database_errors | dba.stackexchange.com | |
1,073,252 | CentOS 8 compiling kernel 5.13.7 BTF Error | I'm compiling Kernel 5.13.7 for Centos 8.4.2105 I've got the below error [CODE] I tried searching on Google and got this solution https://stackoverflow.com/questions/61657707/btf-tmp-vmlinux-btf-pahole-pahole-is-not-available But that is only for debian/fedora/OpenSuse Can someone please help me regarding Centos 8 | You need to enable the CentOS PowerTools repository, then you can install [CODE] . | 0 | 0 | 1,982 | 2021-08-01T22:38:50.213 | infrastructure | serverfault.com | |
518,742 | How to identify which website on my instance is receiving lots of traffic? | I am new to server administration and have just setup a new quad core instance which hosts around 15 websites. Over the past couple of days my server load has been averaging at around 15.00. I believe it is because of one (or maybe more) websites are getting spammed by spambots. Typing 'top' at the command line shows m... | I installed iftop and found it quite useful to identify which hosts were sending my server requests. However, apachetop was a better tool to see which files were being requested on individual vhosts. It also tells me which ip address's are making the requests | 0 | 0 | 107 | 2013-06-26T14:00:39.360 | infrastructure | serverfault.com | |
440,887 | Best practices: Clarity vs. confidence in code behavior | When reviewing code, I sometimes see blocks like this (I happen to be using a JavaScript since it is widely understood): [CODE] Those who know JavaScript decently well will immediately recognize that [CODE] and [CODE] will never be true if they are evaluated, because if [CODE] is either null or undefined, execution wil... | If you can't trust me to figure out what [CODE] does then either teach me [CODE] Or don't [CODE] Trying to do both at the same time will just leave me more confused. If I don't know what [CODE] does seeing the rest of your code doesn't tell me what it does. It just tells me there's also more stuff going on to worry abo... | 36 | 64 | 8,552 | 2022-09-06T21:18:03.660 | api_errors | softwareengineering.stackexchange.com | |
51,008 | How to solve Mouse over error in Selenium IDE Script Recording | I'm new to Selenium. Currently, I'm trying to automate the testing process of a React Django-based app using Selenium script recording in Selenium IDE. I'm facing repeated issues with mouse click parts. After I record the process and run it, it breaks on a mouse click script. My testing software has a create, update an... | Solution : The methods Actions class has provided for Mouse Hover action: [CODE] Another alternative is : [CODE] Suggestion : When we are trying to perform mouse hover, Try if you could have linkText, partialLinkText or tagName to use | 2 | 1 | 440 | 2023-01-19T05:46:50.337 | data_quality | sqa.stackexchange.com | |
889,835 | OpenVPN service, run as root:root instead of nobody:nogroup? | This was moved from NetworkEngineering. I used this DigitalOcean guide (hereafter "guide") to set up an OpenVPN service (v2.3.10, OpenSSL 1.0.2g) several months ago. It's worked flawlessly, and it's faster than our old VPN appliance. I'm at a point now where I need to revoke a certificate. I followed the steps at step ... | I would not run openvpn as root:root that would be a major security issue. add a new user in a shell openvpn with a group openvpn change the ownership of the config, and the certificates to be openvpn [CODE] Assuming you have a login of your own, and if you want to be able to update the config or any files you can add ... | 3 | 1 | 1,095 | 2017-12-28T04:43:36.877 | infrastructure | serverfault.com | |
323,414 | How to improve performance on query with nested INs? | I am trying to improve the performance of this query using joins instead of [CODE] s. Also I am using the GUI tablePlus with Postgres. What are some good tools to assist with performance? [CODE] I have tried this but I am not sure if it's better perf: [CODE] | You can at least untangle the statement to this: [CODE] Most importantly, you can join more tables with [CODE] in an [CODE] statement like demonstrated. (Do not [CODE] to the target table additionally like you tried in the question!) This is assuming that [CODE] is a [CODE] column. Else, throw in a subquery with [CODE]... | 1 | 1 | 120 | 2023-02-12T13:52:24.677 | warehouse_errors | dba.stackexchange.com | |
56,561 | Combine tables only if no results | We have a table [CODE] that has a huge amount of data in it, most of which is only used infrequently and by (slow) user-interaction. We would like to move all data that is more than 12 months old to an archive table, [CODE] . That will make the frequent reads and writes into [CODE] fast enough. There are many complex s... | You can't say "UNION ALL ONLY IF SOME CONDITION" but you could do: [CODE] | 0 | 1 | 52 | 2014-01-10T17:15:33.367 | hadoop_errors | dba.stackexchange.com | |
721,251 | MariaDB error on installarion | Whenever I try to install MariaDB I get the following: [CODE] When I try to find a solution to this problem, I usually find something related to libmysqlclient18 but I don't think it has anything to do with this problem. At least the solutions don't work here. Currently the server is on a VPS with Ubuntu 14.04 and Ajen... | [CODE] These fixed it. | 0 | 2 | 2,257 | 2015-09-09T16:56:38.403 | database_errors | serverfault.com | |
138,119 | Valid certificate issued by certificate authority | Using the below configuration: internal Domain: company.corp Server 2008 DC and CA I've setup Radius/NPS for WPA2-Enterprise authentication, but the mobile clients are getting certificate warnings because the PEAP certificate is self signed by the CA. How can I fix the warning? Do I need to get a signed certificate for... | You'll either need to get a certificate signed by one of the trusted CA's or add your CA's certificated as a trusted root on your mobile clients. The process on how to do this will differ by client. | 0 | 2 | 477 | 2010-05-03T18:32:50.467 | api_errors | serverfault.com | |
9,767 | Datamodel for cluster analysis terms & segmentation | Hey fellow data lovers! I have a data modelling problem for a clustering analysis that I can't wrap my head around. Perhaps I'm thinking to advanced and I should simplify my analysis. I have 2 data sets: Persons with their properties: PersonId Gender Age Country Etc. Conversations and their properties: ConversationId S... | clustering algo would take any data type as long as it is measurable, ideally shouldn't be string (which can be translated into vectors using topics). If you tell me what application you are using i can guide you on how to go about it step by step | 1 | 1 | 113 | 2016-01-12T21:19:16.740 | data_quality | datascience.stackexchange.com | |
262,077 | IIS6 wont compress js and css | So recently I configured IIS6 to compress files I now have most files compressing apart from my JavaScript and CSS files. Does anyone have an idea what maybe causing them not to be compressed. I know this due to Yslow Add-on and the compression directory I have set(see below) is empty Service Tab Settings: Compress app... | Removed the js and css extensions from HcFileExtensions and added them to HcScriptFileExtensions restarted IIS and its all working | 0 | 1 | 659 | 2011-04-21T09:02:48.013 | bi_errors | serverfault.com | |
64,434 | Setting up a Secondary DHCP Server, for failover | Possible Duplicate: Can I have multiple DHCP servers on one network? Current Environment: Windows Server 2003 (Primary Domain Controller) Primary DHCP Active Directory Print Server Exchange 2003 Windows Server 2008 (Secondary Domain Controller) Active Directory Hopefully secondary DHCP So I am looking to setup DHCP on ... | Setup DHCP on the second server. Set it up to handle the same DHCP scope. On the first server, block it from issuing IPs 1-128. On the new server, block it from issuing IPs 129-255. (adjust ranges as needed). That or setup the second server to issue private IPs on a different subnet (you'll need to make sure that all y... | 5 | 5 | 24,675 | 2009-09-11T09:31:46.077 | data_quality | serverfault.com | |
286,864 | Windows Server: Multiple reserved ip's delete | As far as I know using the command: [CODE] Will delete a single reserved ip, is it also possibile to delete a whole range (through netsh)? I could not find a syntax which deals with this problem. The OS is Windows Server 2008. Thank you in advance. | Don't bother using netsh to delete the reservation range; use a loop to delete them one by one. [CODE] The [CODE] is a literal and does need to be written in exactly. The [CODE] can be replaced with [CODE] if desired. You can even nest: [CODE] | 2 | 3 | 2,784 | 2011-07-04T16:17:34.097 | infrastructure | serverfault.com | |
861,931 | Storage Spaces Direct HDD MediaType is unspecified | I have two HP ProLiant DL380 Gen9 servers with Windows Server 2016 on which a SQL Server 2016 is to be installed in the failover cluster with Storage Spaces Direct. When I try to activat S2D via PowerShell I get the error: WARNING: 2017/07 / 13-10: 13: 48.295 Disk number 2 ({455cd214-ecdd-7e52-b5c5-a505367c878c}, frien... | You have to have supported media types with Storage Spaces Direct which is no-RAID, no-FC and no-iSCSI. Should be SATA, SAS and NVMe. https://docs.microsoft.com/en-us/windows-server/storage/storage-spaces/storage-spaces-direct-hardware-requirements Drives Use local-attached SATA, SAS, or NVMe drives. You can easily wor... | 5 | 6 | 9,508 | 2017-07-13T09:20:14.607 | database_errors | serverfault.com | |
226,972 | MySQL my.cnf recommended settings MariaDB 10.2 | I am a beginner managing a server and I have a problem after upgrading from MySQL 5.7 to MariaDB 10.2. Performance usage is very high: 191%. Can somebody help optimize values in my.cnf for a database server with the following specifications: [CODE] and MySQLTuner: [CODE] If anyone has an optimized my.cnf, can you give ... | How is "performance usage" measured? The main tunable is [CODE] . It should be about 70% of available RAM. The other things in my.cnf should not be changed without first understanding the situation. (The 128MB default is OK until your table get a bunch bigger.) High CPU usage is almost always caused by lack of an optim... | 0 | 2 | 3,555 | 2019-01-12T04:11:51.863 | database_errors | dba.stackexchange.com | |
23,611 | Selenium IE Webdriver showing "Only Local connection are allowed" in TestNG | I am trying to launch my application in IE browser in selenium using TestNG framework. But, after the IE browser is launched, the Eclipse console shows an error that "Only Local Connection are allowed". My IE browser is set to zoom 100%, the Protected mode is set as expected. I am executing the script on Windows 10 64 ... | Solution: When you are executing your automation script you might connected to VPN or any private network. Please connect to open network and then give a try to execute your script. It might resolve your issue. | 0 | 0 | 15,401 | 2016-11-10T13:39:22.387 | data_quality | sqa.stackexchange.com | |
854,866 | Can I migrate a single disk from a datastore to another with "disks consolidation is needed" on VM? | I have a VMware's VM with configuration issue "Disks consolidation is needed" but Consolidation fail because datastore is full. In this situation, Can I migrate a single disk from this full datastore to another (with empty space)? Or is it blocked? | VCSA is up and ok and I can migrate disk in this situation. | 0 | 0 | 91 | 2017-06-09T13:39:04.450 | infrastructure | serverfault.com | |
764,046 | Trying to run PhantomJS (webdriver) as service with systemd | I want to run PhantomJS in webdriver mode as a service on a CentOS box. I created this systemd file but somehow the command-line argument is not accepted. The error message is [CODE] [CODE] Is it at all possible to use command-line switches in [CODE] ? | Yes, command-line switches in [CODE] are allowed in unit files. For example: [CODE] Your unit is not valid because the first [CODE] argument must be the a full path of an executable file ( reference ). You can find it with [CODE] command. | 0 | 1 | 632 | 2016-03-16T09:31:52.630 | infrastructure | serverfault.com | |
1,155,821 | PFSense: Subnet can not communicate to the outside | I have multiple subnets on a hypervisor with four Ethernet ports. Two are called subnets. Both of them are utilizing a NordVPN tunnel as their default gateway. The first subnet LAN can talk to everything, even the internet. Devices on the second subnet of OPT5 can't communicate outside their subnet's gateway. The firew... | When you have multiple network interfaces and a few VPN tunnels you probably need to configure a routing protocol or static routing. To send the right traffic over the right interface. Your story is quite long,can just summarize which traffic needs to over which interface. And which VPN is mapped to which interface | -1 | 0 | 68 | 2024-03-07T06:16:43.543 | infrastructure | serverfault.com | |
209,543 | Error when executing "create pfile from spfile" | I just installed Oracle database 12cR2 and am trying to startup a database. I am trying to create a pfile from spfile using following query. [CODE] Then I get the following errors. [CODE] Can anybody tell me what's going on here or what I am doing wrong? | [CODE] Based on that error I guess you have reached the limit of maximum open files. You can check the soft and hard limits with [CODE] and [CODE] . Configure it in [CODE] or a seperate file under [CODE] . Check the list of actual open files with [CODE] (if the user running the instance is [CODE] ). | 2 | 2 | 6,626 | 2018-06-13T13:31:59.393 | database_errors | dba.stackexchange.com | |
13,683 | How to use the SPEC benchmark (for dummies) | I just had a quick look so far at the documentation of the SPEC2006 benchmark. However, until now I was not able to find some information how I can nicely present the performance measurements I got from the benchmark. So I am wondering if some of you have played around with it and can lead me where I could find a "SPEC... | The closest I have been able to find is this page from a wiki. It may be too specialized for your use. | 2 | 1 | 572 | 2009-05-28T12:11:29.310 | infrastructure | serverfault.com | |
210,892 | cygwin, PATH problem? | I run a .ksh containing a awk call. awk.exe and his shortcut awk is in /bin/awk, /bin is in the PATH environment variable. But when I try to launch awk, I have this error message : [CODE] Why didn't bash look for it in the /bin folder too? edit : tar has the same rights, tar.exe is in /bin and can be listed in /usr/bin... | Does the ksh script explicitly define the path to awk? It could be via a variable ( [CODE] , invoked by [CODE] ). Try running [CODE] and [CODE] , too. Edit Cygwin install process actually sets up [CODE] as a hardlink to [CODE] . (Do [CODE] and [CODE] and you'll see the [CODE] folders have the same inode number. Also, b... | 0 | 1 | 3,379 | 2010-12-09T15:54:59.677 | infrastructure | serverfault.com | |
502,758 | Can I ssh tunnel and reverse ssh tunnel in one connection? | I am currently using [CODE] to store my office's network: [CODE] To connect to a remote office Postgres database, I need to SSH to the office server then jump to the office database, so I use ssh tunneling like this [CODE] (I use port 5433 since I already have a local Postgres database installed on my machine) (And db ... | It's perfectly legal to use both straight and reverse port forwarding in the same tunnel. You can even multiply each option to setup multiple ports forwarding. I'm sure your problem there is a bit different: you want to forward port 9000 that is for X connections and your approach most likely clashes with two more rela... | 1 | 2 | 2,282 | 2013-04-26T05:27:50.430 | infrastructure | serverfault.com | |
102,882 | Why does mysqldump require drop command? | I am trying to backup a large table and after reading various other answers on this site have tried [CODE] I get the error [CODE] which scares me. This is the first time I've worked with such a large DB and thus needed to use mysqldump, so I don't know what's going on. Why would it need the DROP command? I want to basi... | By default [CODE] will output commands to drop tables, if they exist. This is why you get the error. It doesn't come from the [CODE] command, but from the [CODE] command you are piping the commands to. The user doesn't have permission to drop the table. You can append [CODE] to the [CODE] command to remove the [CODE] c... | 0 | 1 | 1,296 | 2015-05-31T05:57:59.000 | database_errors | dba.stackexchange.com | |
1,098,360 | Reducing Amazon EBS Root Volume Size on Amazon Linux 1 | I have been trying to reduce the size of my Amazon Linux 1 AMI root volume using the procedure in this documentation (with some modifications made after failing to do so) and continuously run into errors with the step: [CODE] This is legacy GRUB (Version [CODE] ) I was getting the following error at first: [CODE] and a... | I found a workaround for Amazon Linux 1 by doing the following in the meantime but would still be open to further inspection. Launch a new instance using the same AMI but changing the root volume size to the desired amount. Stop the new instance, detach the smaller EBS volume, and attach it to the current instance wher... | 1 | 0 | 1,009 | 2022-04-11T17:04:14.107 | infrastructure | serverfault.com | |
15,316 | Handling different input fields using Robot Framework | I am writing an automation test script using Robot Framework & Selenium2Library for testing our web application (I am writing test cases in [CODE] format) I am having a problem on handling two different input fields using Robot Framework. I have to change the values of these two input types using RF. So far I couldn't ... | For [CODE] , following keyword [CODE] can be used. I have tested this with this HTML and the used the attached test case for testing the keyword. Just add the following code snippet in [CODE] and [CODE] , time library. [CODE] Here's the test case: [CODE] Reference: Selenium: How to automate html5 input range element on... | 5 | 1 | 9,131 | 2015-10-26T06:08:35.653 | data_quality | sqa.stackexchange.com | |
437,144 | Cant Login to Cpanel After installing | I have installed Cpanel on a CentOS by these commands : cd /home wget -N http://layer1.cpanel.net/latest sh latest /usr/local/cpanel/cpkeyclt After that i lose GUI of CentOS , then i go to webpage of Cpanel but my root password doesn't work ether and then i have check the ssh connection to that server , after entering ... | The problem solved by reinstalling CentOS and WHM but you should make sure your ssh works fine before installing WHM . Hope it Help . | 1 | 0 | 539 | 2012-10-11T06:00:44.653 | infrastructure | serverfault.com | |
43,850 | Should I add my remote web server to the domain? | I have a remote web server (Windows 2008 Web Edition) to host some applications and company website. We only access this server using RDP. But I'd like to access it as it was in our LAN, so I'm considering adding it to my local Windows 2008 domain using a permanent VPN. Is it a good idea? My concern is that this server... | I personally wouldn't do this. My primary concern would be having a public facing machine connected to a private network like this. For example, if someone installed a keylogger through an IIS vulnerability, they would also have access to a domain account (if you logged in with your domain credentials). | 0 | 3 | 283 | 2009-07-22T01:29:55.080 | infrastructure | serverfault.com | |
1,053,393 | Dovecot not authenticating clients in mail server with postfix cyrus(for sasl authentication) and dovecot in centos 7 | As I built a mailserver I have another question in process that I haven't been able to find in google so I am expecting I will get a answer here. The update is I created a mailserver with postfix authenticated with sasl using cyrus and now I am attaching an imap server in it so for the process I am using dovecot. Up to... | I guess I got your error again ... haha I am pretty sure you have messed up around with the table configuration about how to look for the table going through your question very nicely and watching the sites solution you have given I found that you might have mixed the configuration of two sites where both sites have sa... | 1 | 0 | 836 | 2021-02-12T10:28:37.513 | database_errors | serverfault.com | |
407,138 | How would I restart network services without restarting the server? | I've been an IT professional for county government over 2 1/2 years and this problem has occurred 3 times. I can fix it by restarting the primary server, but I would like to fix it without having to take that route. Here's the situation. On our primary server (from here on out called Server1) we have software running c... | I found the answer to the problem! For this year anyway. :) The problem occurred again yesterday morning and at lunch, but this time it was just one PC that wasn't in the affected group last week. During the problem I did the following: Restarted the switch in her department - didn't work. Enabled then disabled her net... | 3 | 3 | 34,057 | 2012-07-12T14:16:59.243 | infrastructure | serverfault.com | |
1,130,641 | For rsyslog - to what facility do ssh and scp belong to? | I am trying to send all the ssh and scp error messages to a pipe and to configure this in the rsyslog.conf I need to know the facility for these services. Does anybody know this or a resource where there are exemples for the list of facilities? In the man pages the descriptions are very short. | TLDR: use whatever syslog facility works best for you. You may want to assign one of the [CODE] facilities that isn't used in your environment (yet) to easily identify and isolate your specific messages from all other syslog traffic, or group them in one of the commonly used facilities. Each message sent to the syslog ... | 0 | 0 | 283 | 2023-05-08T12:23:32.390 | infrastructure | serverfault.com | |
409,417 | In Redux is it better for performance to add a property to the items in the store or to calculate it in the container? | I'm writing my first Redux app. In my store, I have ~300-500 [CODE] objects that I retriev from an API and index by an [CODE] string in an object (being treated like a map). When I'm editing one of these [CODE] s by setting [CODE] in the store, the buttons for the other [CODE] s need to be disabled. I can think of thre... | Making some likely assumptions... 500 objects is not a lot. Calculating a bool on 500 objects is an intrinsically tiny operation. Your cost is unlikely in the derivation of the boolean prop from your objects. A common experience is excess expense in the rendering process for those objects. In Redux make sure your chang... | 0 | 0 | 47 | 2020-04-28T19:25:11.347 | database_errors | softwareengineering.stackexchange.com | |
1,035,369 | Failing play prevents later 'localhost' play from executing | I've written the following playbook. I expect an error from the second play, but the first and third to run. What I get is the first running, the second failing, and the third is completely ignored. If I make the second play succeed then the third play works. How can I get the third play to execute even when the second... | You didn't specify the exact error in your question. However generally you can add [CODE] to your second task to proceed with the third task, even if errors occur. If the error, is that your host "test" isn't reachable than you have to use [CODE] like below: [CODE] | 0 | 1 | 167 | 2020-09-25T17:13:36.900 | infrastructure | serverfault.com | |
647,335 | NGINX ip_hash load balancing not working | I've set up NGINX to load-balance requests to my web app. One front end server passes requests to two backend servers. All works fine. However, I have been using the ip_hash directive to ensure users are served by the same server each time. This doesn't seem to be working - requests alternate between the two backend se... | I found a solution, of sorts. It seems that ip_hash is incompatible with the backup directive, and possibly with any other directive in the upstream block. Once I removed the backup line, ip_hash works as it should. However, this seems strange. I'm using a recent version of NGINX - 1.6 - and I can't find anything in th... | 1 | 1 | 3,818 | 2014-11-26T17:53:48.233 | infrastructure | serverfault.com | |
195,593 | Performance issue | MySQL Consumes more than 80%+ memory and 2000%+ CPU | Everyday during the peak time my server getting slow or down. Our hosting provider insisting us to upgrade the server but I think some performance tuning issue is there. Adding the process information, server configuration and my.cnf parameters below. Process Information [CODE] Dedicated Server Configuration [CODE] MyS... | It would be helpful to have [CODE] for the first few tables in the slowlog. It would also be helpful if you always tagged each column with the alias (or table) that it belongs to. Meanwhile, I will make some guesses. Indexes (or [CODE] ) needed: [CODE] If my suggestions don't help enough, then provide [CODE] for the wo... | 0 | 0 | 90 | 2018-01-17T14:30:15.593 | database_errors | dba.stackexchange.com | |
253,163 | i cant ping to my DMZ zone from the local inside PC | HI everybody. Can anyone please help me on the following issue. I got a Cisco Asa 5520 configured at my network. I cant ping to my DMZ interface from a local inside network PC. so the only way a ping the DMZ is right from the Cisco ASA firewall, there i can pint to all 3 interfaces, Inside, Outside and DMZ,,,, But no P... | Edit: My answer below may be useful to someone running a version of the ASA or PIX operating system prior to 7.0, but probably isn't useful to the poster. In versions 7.0 and up the [CODE] functionality I'm describing below is disabled (see http://www.cisco.com/en/US/products/ps6120/products_configuration_example09186a... | 0 | 2 | 7,377 | 2011-03-29T13:23:21.807 | infrastructure | serverfault.com | |
11,950 | Stress test mvc application | I am new to web performance testing. I was looking for tools with which I could stress test my mvc application written in c# and see how it performs under severe load. I want to simulate approximately 10000 virtual users. I found many people have mentioned JMeter for stress testing. However, I could not find if I can s... | Jmeter is best option for load testing of any web application and database. 1- To simulate 10000 virtual users , if you want to use jmeter then you will have to use cloud system like http://blazemeter.com/ . Because for this type of high load testing cloud system is only capable. 2 - About another tool , You are right ... | 2 | 0 | 980 | 2015-01-26T22:16:45.050 | data_quality | sqa.stackexchange.com | |
999,009 | RHEL SELinux: /etc/sysconfig/selinux or /etc/selinux/config? | I am running CentOS Linux release 7.5.1804 (Core), and bumped into the usual set SELinux to Permissive task. But then my two sources gave me two different locations where the config should be set: /etc/sysconfig/selinux cat /etc/sysconfig/selinux [CODE] /etc/selinux/config cat /etc/selinux/config [CODE] I have read the... | From a CentOS 7 system I have to hand, but CentOS 6 and Fedora 31 are the same [CODE] Seems they are the same file. Personally use /etc/selinx/config due to muscle memory. but in my system they are different files, size is diff, change time is diff Then consider that your system is 'broken'. This is easy to test, set p... | 0 | 3 | 2,169 | 2020-01-15T08:01:49.077 | infrastructure | serverfault.com | |
102,397 | Postgres not using the index even when rows returned is 5% of the table | I have a postgres table with the following structure: [CODE] id - random alphanumeric value timestamp - epoch timestamp numvalues - array of integers text(n) - text values The table has about 150 million rows. I make an inner query to get the nth percentile of the data ordered on one of the values in the array. Then, I... | From your query plans, it looks like you're comparing ints to ints in the first query plan, and int to numeric in the second plan. Your first compare: [CODE] and [CODE] In the second query, it's numeric values: [CODE] and [CODE] Casting to numeric causes the index to be ignored in favor of a sequential scan. You can se... | 1 | 1 | 244 | 2015-05-25T04:48:03.973 | warehouse_errors | dba.stackexchange.com | |
290,642 | server2003, hardware, memory | Dumb question ahead, because I'm pretty new to the gig: I've taken over administration of a small business network (2 locations, 2 win2003 Servers, 1 win2003 test server, 30 PC's, 40 users, router-based VPN, DSL internet). Both servers are basically little more than terminal services servers. So, I'm having performance... | The 3.5GB limit you're seeing is an artifact of 32-bit Windows. What I'm more intrigued by is server2 reporting 4GB ... unless that happens to be a 64-bit server? Alternatively is AWE enabled on the server reporting 4GB? More details of this 3.5GB limit at http://www.codinghorror.com/blog/2007/03/dude-wheres-my-4-gigab... | 0 | 0 | 71 | 2011-07-15T07:43:14.057 | database_errors | serverfault.com | |
470,186 | How to grant full rights in smb.conf for subnet? | I have following smb.conf: http://pastebin.com/gCchZQvC Situation is that when I'm mapping my shares I need to login using my credentials to have ability to create directories and files. When I'm using applications ment to use the share as a write folder I land with write permission denied error. Is there any way to se... | It seems that you need to use [CODE] config option. It determines which local *nix account will be used for guest access. Try something like this: [CODE] More info - in appropriate samba documentation . | 0 | 1 | 2,596 | 2013-01-17T22:58:06.820 | infrastructure | serverfault.com | |
52,925 | Can I use silverlight for building SocialNetworking applicaiton? | I am wondering: how feasible it would be to start developing a social networking website entirely based on silverlight; This has been fairly discussed over the years in favor of HTML. Has something changed with silverlight improvements over the years? What about: [CODE] What are your thoughts on this subject? | Flash is a little bit faster than Silverlight, but I'm sure for your purpose it won't matter that much. Bare in mind though, that making an application in Silverlight restricts your possibilities to extend the platform to certain handhelds. I'm thinking of Android and iPhone.. But Yes , you can use Silverlight, to answ... | 0 | 1 | 288 | 2011-02-28T15:19:42.367 | api_errors | softwareengineering.stackexchange.com | |
691,956 | Enlarge IP Network Address Space | Our small company uses a 192.68.0.0/24 network. As there are only 256 IP addresses, we will be running out of IP addresses soon. I wonder about the best strategy to change the network. Some devices get their IP addresses via DHCP, some devices have fixed IP addresses. There is a DNS server. I had a look at these questi... | You better start adding another subnet as you suggest two separate network and a router because the Broadcast domain with more the 200 users are considered unstable and poor performance. You cant manage a /16 on same broadcast network | 0 | 0 | 76 | 2015-05-14T08:10:18.413 | infrastructure | serverfault.com | |
856,927 | AWS: Subnets vs Security groups for setting up a VPC | I'm new to AWS, and I have an instance on EC2 that I would like to restrict to just the IPs in my home network. What is the difference between the subnets and security groups that are associated with a VPC? From my understanding, it is the security group that does the IP address permissions but I'm not too sure what th... | First Question - Security Security groups are a firewall that runs on the instance hypervisor. Network ACLs are a firewall that runs on the network. You can use either, or both. In theory a NACL reduces host load, but it's likely negligable. Security groups are stateful, so return traffic is automatically allowed. NACL... | 8 | 6 | 6,885 | 2017-06-20T21:20:32.047 | infrastructure | serverfault.com | |
772,855 | How to redirect traffic through IPv6 IPSec (strongswan) gateway? | I'm trying to set up IPSec secured connection to the gateway. Have three hosts: [CODE] I'd like to build IPsec connecten between A and B, which will be insecure forwarded between B and C. ipsec.conf: [CODE] B's configuration looks similiar. I tried to set auto=route, but then I'm not able to initialize any connection. ... | Using such configuration only traffic addressed to B is secured. When I try to send something from A to C - it is on the whole path insecured. That's exactly how it should be. You established a Transport Mode IPsec SA between A and B, which means there are IPsec policies that only apply for traffic between these two ho... | 1 | 0 | 1,411 | 2016-04-25T21:38:56.150 | infrastructure | serverfault.com | |
643,116 | kibana: no indices error | None of the existing answers helped, so here a new question. Usecase : Redirecting syslog (or) monitoring static file. I have successfully installed logstash (1.4.2), elasticsearch(1.1.1) and kibana(3.0.1) but struggling to get rid of error [CODE] I can visit http://example.com:9200 -> Successful 200 message Visiting h... | As mentioned in another thread: "I had something similar, it sounds like you havent setup ACL's to allow the logstash user to view that log file. Use 'setfacl -m u:logstash-:r-x /var/log' for example, and then test by editing /etc/passwd and giving the logstash user a shell temporarily. Then, su - logstash, and try and... | 3 | 0 | 2,663 | 2014-11-09T19:11:35.037 | database_errors | serverfault.com | |
397,952 | Which routers support bgp and would work well for simple dual office redundancy | We have two sites that each have an internet connection and have a dedicated dark fibre between them. Each site has it's own IP space and we have an AS number. We're looking to be resilient to failure of the internet connection to either site and obviously need a pair of HA routers (one on each site) to achieve this. T... | Have you looked at Vyatta ? What differentiates a "dedicated device" from a "server running Linux/BSD"? You do know that Juniper routers run a BSD variant, right? | 0 | 2 | 239 | 2012-06-12T15:39:15.443 | database_errors | serverfault.com | |
377,540 | Connection to mysql server in SYN_SENT | We are facing a strange problem from last few days between our application server and database server(Mysql): connection to database server from application server hangs in [CODE] state and after that we are not able to make any connection to database server on mysql port(3306). When we checked the [CODE] output on dat... | I had this problem with my provider in evenings. It looks like some router in the chain between you and target host doesn't proper work with tcp_sack . The solution is to disable it in /etc/sysctl.conf [CODE] But this is very bad for server, because it will slow down tcp connections. You should make abuse to your provi... | 2 | 0 | 2,203 | 2012-04-07T12:35:22.687 | database_errors | serverfault.com | |
77,081 | Which kind of virtualized networking is fastest? | I am planning to virtualize two servers where the bulk of network traffic will be between just these servers. Will I see a substantial benefit by configuring an internal network between the virtual machines, and only letting traffic destined for clients out via the bridged adapter? I plan to use either VMWare ESXi or H... | I can't speak for Hyper-V but all versions of VMware ESX have software 'vSwitches' which will switch ethernet traffic between two VMs on the same host as fast as the processor will allow - usually significantly faster than even 10Gbps ethernet. In fact this configuration is the default and forcing each VM's traffic out... | 1 | 5 | 453 | 2009-10-22T08:04:29.067 | infrastructure | serverfault.com | |
285,480 | Question about DNS priorities when connected to VPN | So I'm connected to a Windows VPN and I want the following conditions to be met: I want my internet connection to tunnel through to the VPN's internet connection (i.e. I don't want to use the machine's local network internet connection) I want the DNS servers on my local network to take priority over the DNS servers fr... | I don't believe you can do both. Setting the first option would prevent access to the local network (where the DNS servers may reside) which is how you get to the local internet connection (the other place the DNS may reside) | 1 | 0 | 1,071 | 2011-06-29T20:02:27.697 | infrastructure | serverfault.com | |
108,539 | SBS 2008 can browse shares, but not connect to any | I have an SBS 2008 machine which is causing me headaches. For Windows shares, it seems to be living in its own little isolated world. It can browse a list of network shares just fine ( [CODE] ), but it refuses to connect to any, with: \\storage\shared is not accessible. You might not have permission to use this network... | Unfortuantely after following everyones advice here, the issues came back after about a week. We just lived with it whilst preparing to rebuild the server. Whilst we were preparing for the rebuild, the PSU in the server died. I took the oppertunity to upgrade it to a 1kw PSU and low and behold, all the problems went aw... | 4 | 1 | 3,539 | 2010-02-01T23:22:53.727 | database_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.