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 |
|---|---|---|---|---|---|---|---|---|---|---|
143,548 | POST Fail via AJAX Request? | I can't for the life of me figure out why this is happening. This is kind of a repost (submitted to stackoverflow, but maybe a server issue?). I am running a javascript log out function called logOut() that has make a jQuery ajax call to a php script... [CODE] the php function it calls is here: [CODE] Now, 18 hours out... | Is that the only script that calls functions.php? Instead of logging just "POST FAIL", try logging the result of print_r($_POST, true) and maybe $_SERVER['HTTP_REFERER']. That may tell you where the failed calls are coming from. | 3 | 1 | 3,629 | 2010-05-19T20:55:35.740 | database_errors | serverfault.com | |
776,981 | How to enable debug logs in OpenSwan? | I use OpenSwan IPSec tunnel on CentOS 6.7. I have added the following configuration in [CODE] according to this link: http://linux.die.net/man/5/ipsec.conf [CODE] Unfortunately I can not see logs in openswan.log. What I have missed? | Required to add the configuration to file [CODE] [CODE] | 6 | 10 | 36,727 | 2016-05-16T06:16:35.510 | infrastructure | serverfault.com | |
65,255 | Log MySQL login attempts | From time to time there are failed login attempts in our MySQL production server (MySQL dashboard alerts us). Is there a way to log every single success and failed login to the MySQL server without enabling [CODE] ? We think [CODE] is not an option due it's a production server with high load. | just to inform the curious one: dig in your error log and presto! Edit [CODE] (Settings documentation found here ) MySQL 5 [CODE] MySQL 8 The name of the config variable changed; edit the same file, but add [CODE] Restart MySQL Server Restart mysql (e.g. on systems using [CODE] ): [CODE] Search the log file for failed ... | 30 | 26 | 111,267 | 2009-09-14T17:44:25.420 | bi_errors | serverfault.com | |
65,836 | SQL Server 2012 performance degradation | We are running SQL Server 2012 SP1 on Windows Server 2012. The issue we have is that after some time the server automatically reboots. Checking the logs did not show any errors. When looking into the SQL Server log we find these logsDate 24-5-2014 13:42:47 SQL Server is terminating because of a system shutdown. This is... | The first message regarding the shutdown means that someone or something has initiated a shutdown of the machine. Take a look at the Windows system logs in Event Viewer for more information. You should look at log events leading up to and just after the shutdown time to look for messages indicated why Windows shutdown.... | 3 | 3 | 5,950 | 2014-05-24T12:38:39.567 | api_errors | dba.stackexchange.com | |
411,250 | Getting data from this MS SQL bak file | The following commands [CODE] produce this error [CODE] This command [CODE] produces [CODE] I verified the [CODE] file did indeed come from a Microsoft SQL Server. It is not encrypted. It is doubtful that it was created from Microsoft SQL Server 2012 because the old system was several years old. The import was attempte... | If this is not a version mismatch, then the backup file could be actually corrupted. If this is the case, you're not going to be able to (at least easily) recover anything from it. | 1 | 3 | 1,744 | 2012-07-25T21:23:43.673 | database_errors | serverfault.com | |
949,892 | NFS export an overlay of ext4 and btrfs | I have 2 data sources. One is btrfs (raid) and one is a simple ext4 partition. Those should be transparently displayed as one. This is a simple read only example, but the lower/upper/workdir version produces the same problem, with btrfs as upper and ext4 as lower. manual mount: [CODE] fstab mount: [CODE] this is my nfs... | From kernel.org and from [CODE] while trying to reproduce the error you also have to specify [CODE] [CODE] when there is no [CODE] Your mount command then should be as follows. [CODE] The output of [CODE] shows the default of the mountoption and verifies that it is actually available. | 2 | 7 | 5,627 | 2019-01-19T20:24:24.530 | infrastructure | serverfault.com | |
933,422 | How can I proxy multiple LDAP servers with completely different name spaces? | We are developing R/Shiny Applications on Ubuntu Server. Authentication is done via OpenLDAP on Ubuntu Server. The Shiny Server only supports one LDAP directory. Now, we have an external customer which would like to connect to our applications with their own LDAP. So, we have the following setup right now: OpenLDAP (dc... | You can use overlay slapo-rwm to rewrite the suffix of proxied databases. It's bit tricky to get it right. Make sure to pay enough attention to every little detail in the docs. | 2 | 0 | 510 | 2018-10-01T09:21:41.480 | api_errors | serverfault.com | |
1,045,805 | Postfix not rejecting unknown user | So Far This answer has been helpful https://serverfault.com/a/793202/604224 The Issue I have been configuring a virtual mailbox in a virtualbox for testing, however it seems to accept all users even ones not defined in virtual_mailbox_maps, this is despite clearing mydestination (so it is not processed as a local mail)... | The problem is this config line [CODE] You have to check the recipient adress in your restrictions. Look at the check_recipient_access configuration parameter: [CODE] | 0 | 0 | 393 | 2020-12-11T09:59:39.727 | database_errors | serverfault.com | |
341,267 | What is the preferred way to get data from database for data that frequently used? | Says, I have employee table, with {id, name, unit, etc..} what is the preferred ways to get this data if I frequently use this data, my first option is to query it from database when needed, something like this, [CODE] Or second option, create DataSet, then add employee table as TableAdapter on the dataset. [CODE] then... | To make this really flexible and transparent, you need an interface and a couple of concrete classes implementing the interface, and eschew static classes and methods for true object oriented programming: [CODE] I'm adding a [CODE] method to the interface to illustrate later the difficulty of caching these objects. Now... | 3 | 2 | 5,494 | 2017-01-31T07:08:36.397 | api_errors | softwareengineering.stackexchange.com | |
870,464 | allow ssh login for certain groups from certain IP addresses, deny from other addresses | OS: CentOS 6.5 SSH v5.3 Goal: root access is allowed with PubKeyAuthentication from several hosts. users of "group1" are allowed to login with whatever they provide: PubKey, Password, GSSAPI, KerberosPassword; but they are only allowed to arrive from one certain IP: 192.168.1.10 Status: root access is already defined v... | I found a working solution. sshd debug mode ( [CODE] ) indicated the missing link: [CODE] As you can see the login matched the correct block; but due to [CODE] PAM obviously overruled the "no"-entries in the [CODE] block; see manual: [CODE] The final config looks like: [CODE] Only after having added [CODE] the PAM pass... | 0 | 0 | 2,994 | 2017-08-25T14:59:10.203 | api_errors | serverfault.com | |
311,619 | Server architecture for a read-heavy website | The site is a custom written PHP application with a nearly 3NF (highly relational, many foreign keys) Mysql database. This website is about 90% read / 10% write. Currently, we are on a VPS with 2Gig's of memory and with around 1000 unique visitors per day, and we are finding that this host is failing. For several reaso... | If you have a read-intensive site that's failing, you need to look at your database caching strategy. Before doing anything with the hardware, examine your MySQL cache usage in detail and see if you can tune it better. It's also worth checking that all your joins are using indexes. 1000 unique visitors per day is very ... | 0 | 2 | 643 | 2011-09-15T06:40:41.440 | database_errors | serverfault.com | |
638,125 | 3ware: Add a drive to a RAID unit | I have a 3ware RAID controller running a RAID-6. I manage the RAID via the [CODE] command line utility. So, one drive in the array failed, and I removed the faulty drive ( [CODE] ) from the array, and then inserted a new drive. For some reason, the 3ware controller placed the drive in an older, inoperable array ( [CODE... | Hmm, I agree, it's vague. I've always worked with spares, so drives are added automatically. Perhaps you can hack that too: [CODE] Then perhaps it will pick it up automatically. | 4 | 3 | 7,632 | 2014-10-19T14:28:14.377 | infrastructure | serverfault.com | |
1,112,887 | Nginx cache for frequent and different requests | I have a service. This service has a GET handle(/api/v1/retrieve_blocks). This handle's requests and responces are small, no more than 1024 characters. regular situation : this handle is constantly under 500rps. Almost all requests are different by url's parameters. for example: host/api/v1/retrieve_blocks?entity_id=11... | One thing that can be optimized is to change gzip compression level to 1. It doesn't change disk I/O, but it decreases CPU usage. The [CODE] logging could be one reason for bad performance. I have no experience with that module, so I don't know how well-written it is. For nginx normal logging, it is useful either to di... | 0 | 1 | 1,113 | 2022-10-12T09:29:17.557 | api_errors | serverfault.com | |
321,663 | Caching 404s - NGINX or Varnished? | I'm looking for a solution to cache 404s in long term (a few days/weeks) on the webserver. My current setup is NGINX with memcached_pass proxy and PHP-FPM to deliver uncached pages (PHP also writes the contents to memcached). The crawlers all around the web seem to like my pages and generate a few thousand 404 requests... | Varnish caches 404's by default, so no configuration (except for initial, basic Varnish-configuration) is necessary - unless the backend provides a reply Varnish considers uncachable. If that is the case, you can do the necessary changes to the reply using VCL, and force it to be cached. I haven't provided any examples... | 2 | 1 | 1,513 | 2011-10-15T00:18:55.280 | infrastructure | serverfault.com | |
261,216 | Performance - Looking for Some Advice on Improving this Query | I've been looking into a performance issue for the last few days and although I've improved the query runtime from 48 seconds to 11 seconds, I feel that it can be improved even further. The issue is that I'm not sure what the next steps could be in order to do that, so I thought I'd post it here! Execution plan is here... | Regarding the operators you called out as the bottleneck (the join from [CODE] to [CODE] ): SQL Server estimates that the seek into [CODE] will be executed 3,971,931 times (once for each row coming out of the hash match join "above" it in the execution plan). This is almost exactly right, so that part is not the proble... | 1 | 1 | 165 | 2020-03-04T17:12:44.833 | database_errors | dba.stackexchange.com | |
709,924 | nginx spam 404 errors | My server is spammed by multiples XXX domains, there is a lot of 404 errors in my logs and i can't find the solution to stop that. [CODE] As u can see i have theses errors logs each seconds.. I tried to put a file with bad referers : [CODE] and [CODE] but there is always spam from this domain.. or others.. Anyone have ... | You should list all the domains you really don't care about in one "special" server stanza, and disable all logs for those domains: [CODE] | 1 | 1 | 492 | 2015-07-31T09:20:09.063 | infrastructure | serverfault.com | |
754,100 | Running dmesg on Docker results in "dmesg: read kernel buffer failed: Permission denied" | In order to debug why this issue occurs the following command is run on a container: [CODE] results in: [CODE] Attempts Running [CODE] returns the same issue | as Michael Hampton mentioned, containers are meant to run only single atomic service. As a matter of fact, one should understand that containers are not virtual machines but a single process by itself on your localhost. Nevertheless, I got to know that, its a bit more harder to get SystemD working inside a container fr... | 8 | 7 | 16,234 | 2016-02-04T20:02:44.730 | pipeline_ops | serverfault.com | |
1,066,760 | Ansible run a task on a different host than local | I have an ansible playbook which runs on localhost. I need to run a particular task which is invoked inside my playbook on a different host (different group). Is this possible to speicify within the task that this task should use a different connection as opposed to the local which is used by all other tasks and roles?... | Q: " Is it possible to achieve this scenario without invoking two ansible playbooks? " A: Yes. It's possible. Split the playbook into plays, e.g. [CODE] | 1 | 1 | 3,673 | 2021-06-15T09:37:33.087 | pipeline_ops | serverfault.com | |
372,006 | Struggling with implementing synchronization or concurrency | In my app two components A and B, have their data and state based on the data and state of a 3rd component, component C: Both A and B can change the data of component C. Both A and B listen to changing of data of component C and react to it by re-computing their internal data and state. A and B each run on their own th... | C has an internal lock which prevents updating data concurrently, so the operation needs to wait for A to complete first. This is the root of the problem: internal locking for updates and reads only makes the act of reading and writing the memory where C's value resides safe. It does nothing for situations like yours w... | 0 | 2 | 188 | 2018-06-03T11:47:14.417 | api_errors | softwareengineering.stackexchange.com | |
70,992 | Spoofing domains - using one domain to look at another without frame redirect | In Plesk 9.2.2 does anyone know how the following can be achieved? I've got domain1.co.uk registered in plesk, but the domain has not been set up with any nameservers or A records, so it is unreachable from the web. However, I need to test it while we get the domain1.co.uk nameservers etc sorted over the next week or s... | Assuming the code in place at the domain1.co.uk site is DNS/hostname independent, and as you already have sparedomain.co.uk pointing to the server - the next step is to tell your web server (presumably apache - I know little about Plesk) to accept HTTP requests for the sparedomain.co.uk and where to send them. With apa... | 1 | 1 | 544 | 2009-10-03T11:48:25.723 | infrastructure | serverfault.com | |
842,750 | gpupdate causes flickering in some programs | We have an issue with GPOs during gpupdate . When a group policy is processed, which adds a net share, then e.g. the calendar side pane in Outlook starts to flicker. Also an other application which we're using for accounting flickers a lot at that time. We're using Windows 10 and Domain Controllers are running on Windo... | It looks like the flickering is default behaviour during GPO update. The only way is to increase the GPO update refresh interval: https://technet.microsoft.com/en-us/library/cc940895.aspx?f=255&MSPPError=-2147217396 | 1 | 1 | 2,165 | 2017-04-05T13:30:26.123 | infrastructure | serverfault.com | |
769,280 | ProFTPd timeout on LIST | Recently I've migrated a centOS 5 server to 7. But since then connection to FTP through FileZilla doesn't work unless I put FileZilla on FTP Plain Connection. TLS doesn't work when getting the folder list Logging in works fine. But it times-out after that. [CODE] The only thing I've managed to find so far is adding thi... | See: ProFTPD - Failed to retrieve directory listing while using TLS it might be a problem with the related rules of a firewall between you and the server. | 2 | 3 | 5,267 | 2016-04-10T08:50:29.890 | infrastructure | serverfault.com | |
89,221 | Windows Server Backup 2008 R2 bare-metal to network share incremental - is previous backup lost if backup fails? | In the backup config panels, Windows Server Backup warns that with backup to a network share, the previous backups are overwritten. What I haven't figured out is whether a failed backup results in NO backup, or if the failed backup is just dropped, leaving the previous backup in-tact. In this scenario, the previous bac... | Yes. Failed Backup results in NO backup. | 1 | 0 | 1,117 | 2009-11-29T20:38:13.713 | database_errors | serverfault.com | |
1,097,942 | fail2ban not banning but matches logs | I try to create a brute force protection with fail2ban. With the fail2ban test, it matches the logs I wanna match but with my test brute forcing the site with 7+ failed logins, it does not ban my ip address. filter: [CODE] jail: [CODE] log example (anonymized with ..., 88.88.88.88 and example.org): [CODE] test: [CODE] | I try to create a brute force protection with fail2ban [CODE] This is not necessarily a brute force attempt, because 200 is a regular response, that means OK... Normally codes like 401 or 403 would signal unauthorized attempts, or if the service answering with 200, it would write an additional log-entry in some log-fil... | 0 | 0 | 290 | 2022-04-06T11:19:31.090 | infrastructure | serverfault.com | |
93,575 | encoding datetime features .. label or onehot? | I am working on a cab booking prediction problem where I need to use datetime aspects like hour,day ,week etc for prediction. As I need to do categorical encoding for the purpose. can anyone help me out on which one to use i.e label encoder or one hot encoder. I am not able to gather much information on the web regardi... | One hot encoding removed the order information compared to the label encoder. Which one to use depends on the specific question. If you think the order of categories matters, use the label encoder. If not, use the one-hot encoder. For booking prediction, I will prefer one hot. | 0 | 1 | 1,845 | 2021-04-26T15:12:56.873 | data_quality | datascience.stackexchange.com | |
72,286 | Pipeline heterogeneous data | I'm facing an issue I don't know how to solve, but as I'm a beginner probably there is an easy solution I can't find. I'm playing with the titanic dataset and I want to work with pipelines (In order to avoid data leakage using cross validation). For that reason I'm using two pipelines (one for numerical, one for catego... | Approach 1: create features before transforming If you want to create a categorical variable based on a numerical variable and then treat it in [CODE] , you need to do create it before the column transformer. Implement a transformer (called "bucketer" ?) that takes p variables and transforms it into p+1 (if you want to... | 1 | 1 | 141 | 2020-04-14T09:02:51.063 | pipeline_ops | datascience.stackexchange.com | |
620,238 | Why isn't my RAID array rebuilding? | Got a notice last night that a drive failed on a server. Got in this morning to replace it, and we're getting the following. Controller config report for the array looks fine, with the unusual status Ready for Rebuild . [CODE] The logical drive shows a hint, Parity Initialization Status: Initialization Failed : [CODE] ... | [CODE] is a bad status if you're using a parity RAID level, like 5 or 6. It means that you likely have read errors on another drive in the array... e.g. another failing drive. If the system is still online your best option is to recover data or rebuild. There's no good fix for this, and definitely not much you can do t... | 3 | 4 | 21,200 | 2014-08-13T18:43:40.280 | infrastructure | serverfault.com | |
690,979 | GitLab CE 7 behind Debian 8/Apache 2 virtual host: can’t access assets | On Debian 8.0 I’m trying to have Apache 2.4.10 manage a GitLab CE 7.10 Omnibus installation as a virtual host. Setting and goal Apache 2 is already set-up and running several virtual hosts that all look like [CODE] . I want to configure Apache and GitLab so that [CODE] gets handled by Apache to display the GitLab web i... | This worked for me: [CODE] and try to change users from http to www-data | 6 | 1 | 3,992 | 2015-05-10T19:04:30.870 | infrastructure | serverfault.com | |
196,679 | Eliminating PostgreSQL/database network latency: PL/Java stored procedure VS. Java code running on localhost | A couple years ago, I learned the hard way that having my Java application sitting on one server, with the database sitting on another, and having complex transactions that issue lots of queries each, results in very poor performance due to network latency that keeps adding up. In my specific case, a single DB transact... | Why don't you put your Java application server (e.g. Tomcat, Glassfish, ...) on the same server as the database? To me PL/pgSQL would be the first choice to implement "transaction logic" on the server side. PL/Java has way too much overhead as it will start up a JVM for each database connection. - user1822 By the way, ... | 0 | 1 | 729 | 2018-01-31T05:20:41.753 | database_errors | dba.stackexchange.com | |
46,762 | Selenium screenplay pattern vs PageObject with `isLoaded` | I'm starting to embrace and utilize the screenplay pattern with selenium testing. It's a new concept for me which has me un-learning old behavior. I've been slowly translating some sample tests using screenpy from an existing test suite. One of the things I am struggling with is how to handle "traditional" PageObject s... | I incorporated an Eventually class into screenpy which basically handles the logic of retrying the actors actions until they finish or time-out. This took the responsibility of retries out of selenium's hands. [CODE] | 2 | 0 | 291 | 2021-02-05T15:48:28.040 | data_quality | sqa.stackexchange.com | |
1,080,796 | Hyper-v issue Event ID4625. Hype-v Cluster | I have an issue with event id 4625. Hope you can help me to fix it. I have a Hyper V Cluster whit 6 hosts(2016). On several of my hosts every day I am found alert "Security-Event ID: 4625". Sometimes the "Source Network Address:" is one of my nodes, and sometimes null. Example: Problem started at 19:30:14 on 2021.10.16... | A null SID may occur when the username specified in a logon attempt does not correspond to a valid account. https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventID=4625 | 1 | 0 | 362 | 2021-10-17T11:46:14.420 | api_errors | serverfault.com | |
206,475 | Database slows down at millions of rows, how to optimize schema and queries? | I am building a database to store Ethereum Transactions that are connected to specific addresses. Once the database table [CODE] starts hitting 3 million + rows, things start slowing down a lot and CPU starts hitting 100%. Storage is fine, 1 million rows is about 300mb. Before spending more money on a server, I would l... | Hash indexing is bad when table is big Assuming [CODE] is some form of "hash", [CODE] has a very inefficient [CODE] . When a table (or index) gets bigger than can be cached in RAM and the key is "random" (as are hashes), things slow down because the block needed is less and less likely to be cached in RAM. What do do? ... | 3 | 1 | 7,775 | 2018-05-11T11:10:28.717 | database_errors | dba.stackexchange.com | |
18,834 | Why do we have SHRINKDATABASE command in SQL Server | I have read across the internet where Finest Developer says shrinkdatabse should be avoided as it causes increase in fragmentation and decrease in performance . I would like to know from you guys have you ever used the shrink database command if yes then in which practical scenarios we should be using them. | First and foremost lets distinguish between the need for SHRINK and it's well known unintended side effect: possible increase of fragmentation. The later is an implementation side effect . In fact is perfectly possible to design a shrink that would reduce fragmentation (ie. has the same effect as a REORGANIZE) at the c... | 7 | 8 | 454 | 2012-06-05T07:02:54.610 | database_errors | dba.stackexchange.com | |
61,075 | Does Decision tree classifier calculate entropies before transforming categorical features using OneHotEncoder or transformation should be done | I am new to machine learning, and I've got to the point to drop out from it as online tutorials are pretty confusing as well. Entropy and Decision trees One of confusing tutorials was as the following: Another tutorial was pretty straightforward and comprehensive in term of how entropies and information gain is being c... | It's not totally clear to me what is your main question but here are a few points which might help you: Like any regular classifier, a decision tree classifier does not transform the features. It's up to the user if they want to apply any transformation before calling the classifier. Standard decision tree classifiers ... | 0 | 1 | 219 | 2019-10-01T05:35:51.070 | data_quality | datascience.stackexchange.com | |
137,472 | Why set Auto Update Statistics to False? | I've just inherited about 20 instances of SQL Server, as part of a wider acquisition project. I'm in the process of assessing performance and I don't like the way maintenance plans have been implemented. I'm seeing daily blanket index rebuilds (I can deal with this one) and also daily manual updating of statistics. Aro... | You are correct, I also believe that in most cases the [CODE] should be set to true we should allow SQL Server to decide when to update stats and believe me it does good job. When this is set to true it make sure stats are updated about distribution of data in the field which would eventually help optimizer to prepare ... | 14 | 7 | 15,763 | 2016-05-04T08:42:54.893 | database_errors | dba.stackexchange.com | |
233,907 | How to add indexing for a search based on multiple columns in MySQL table | I am adding a search button with the suggestions displayed while we type on it similar to google and I need to search multiple columns in a single table. How to add indexing for that columns? I have two tables in my application named as [CODE] and [CODE] . I want to add a search box so that the Employer can search empl... | If you need to increase performance you can do the following: Add FULLTEXT index to the columns name, email and phone [CODE] Dont use select * ( no caching ) [CODE] In this solution you get an result in a better order of your results. If your keyword match with name, it is more helpfull to show than a match with phone.... | 0 | 0 | 187 | 2019-04-04T04:51:35.217 | database_errors | dba.stackexchange.com | |
142,217 | SQL Server Express 2016 high CPU Usage as soon as I log into Windows | I have a Windows Server 2012 R2 configured for ASP.net applications that connect to SQL Server 2016 Express installed on the server. This server is a VPS with 3 cores and 1.5 GB RAM. The load on the server is not high at all. I am having problems with the servers CPU Usage. Some seconds or minutes, as soon as I log in ... | as Aaron pointed above, the problem actually was related to having only 1.5 GB of RAM memory. The server was upgraded to 2 GB or RAM and the problem was solved. | 2 | 0 | 2,323 | 2016-06-24T23:12:57.487 | database_errors | dba.stackexchange.com | |
767,946 | Network share as USB connected device | I have a situation where I am having to work around a medical vendor who has for security reasons limited the connectivity to a system. The only connection I have available to the system is USB and I need to (somehow) have this USB port connect to a network share of a remote server but appear to the machine as a hard d... | Do you really mean the "only" connectivity? eg No wired network or WiFi or anything? If so, then what you describe is impossible. USB and network are totally different. You can get USB to network adapters but they will probably require drivers. If the machine IS locked down, then they will have disabled DHCP by default... | -1 | 1 | 212 | 2016-04-04T04:18:29.907 | infrastructure | serverfault.com | |
140,101 | Choosing a Wiki for an academic institute | I need to choose a Wiki. Please someone help. Following are my requirements: 1) Need good control to the access variables 2) LDAP integration support 3) User Group Support 4) Good Themes and Templates Mediawiki has the problem that it does not support Users Groups that intutively. Twiki and Foswiki have a problem that ... | Foswiki is also very good - and free & open, too! It's specifically made for use on corporate intranets (yes, with LDAP!), with strong focus on ease of use, great WYSIWYG editor, fine-grained access restrictions, and per-page attachments. There are 250+ extensions and a very active community to provide support and keep... | 2 | 1 | 260 | 2010-05-10T05:22:38.950 | infrastructure | serverfault.com | |
24,052 | Network Printers Offline (but not really) | I have two Ricoh printers/copiers setup for IP printing in the office. Before this week there were no problems printing to them. Now a handful of them (All running Vista, not sure if it is every Vista computer or not, It seems like I would hear more from users if that was the case), see both printers as being offline. ... | If all else fails, you can disable SNMP monitoring in the printer's TCP port properties. You won't be notified when the printer becomes ACTUALLY offline, but you won't get false positives anymore. | 16 | 10 | 99,687 | 2009-06-11T13:02:38.900 | infrastructure | serverfault.com | |
54,821 | while re-training a pre-trained model, I'm facing this issue RuntimeError: You must compile your model before using it | model summary: RuntimeError: You must compile your model before using it. It says that the model needs to be compiled. But as far i know, if i compile a model, all the previous trained data will be lost, and the model will be trained from scratch. I don't want this to happen because i want to use this model for further... | There 2 techniques while using the pre-train model 1. Transfer learning: In the case of transfer learning, we use the pre-train model to train on new kind of dataset so generally, remove the last layer and add a new layer into the network. At this point, as you are adding a new layer the model should be compiled. But d... | 0 | 0 | 302 | 2019-07-01T07:33:02.243 | data_quality | datascience.stackexchange.com | |
275,565 | Not able to restore a database with multiple backup files from Azure blob storage (block blobs) | I was testing the backup with multiple backup files (6) and I was able to successfully take backup for one of my large database (3TB) to my azure storage account by using MAXTRANSFERSIZE, BLOCKSIZE parameters. Then I tried to restore the database using the multiple files. Since it's a very large database and it takes f... | I found the reason why I was not able to get the list from the backup files. Since I used Ola Hallengren's script to run my backup the files were saved in a sub folder with Instance_name>Database_name>FULL>Backupfile_name. I supposed to provide the actual backup path of the backup file by going into the properties of t... | 0 | 1 | 294 | 2020-09-15T21:25:24.173 | pipeline_ops | dba.stackexchange.com | |
479,347 | Ninite with a logoff group policy script | I'm trying to use a batch script to automate the updates of some apps using ninite with a group policy log off script. Here is my script: [CODE] When the script runs at logoff it fails. I ran it at log on and noticed that it fails because ninite asks for administrator permission and I am assuming that it's failing at l... | Logoff scripts run as the user. In any sensible Windows environment users should not have Administrator rights and won't able able to install software. You'd be better off installing software in a Startup or Shutdown script, which run as the computer (SYSTEM). I have no familiar with Ninite so I can't say if it will wo... | 1 | 2 | 1,778 | 2013-02-15T21:32:57.053 | infrastructure | serverfault.com | |
505,502 | ext3 converted to ext4 still being mounted as ext3 | I have a somewhat bizzare problem at the moment with my Debian-system (mainly testing). I used to have a root-partition on lvm that was formatted as ext3. I now booted a live-system and converted the ext3 into ext4 (via tune2fs...) and also did a fsck.ext4. In the live-system I can mount the partition as ext4. Then I c... | blkid might still be using old cache entry for that LV. You can make sure that blkid is reporting correct information by bypassing cache: [CODE] Also can do a garbage collection pass on cache: [CODE] Hope this helps. | 1 | 1 | 854 | 2013-05-07T00:42:17.830 | infrastructure | serverfault.com | |
630,373 | Postfix SMTP Server fails to send messages to anyone outside the domain | Here is the result of a recent test on my SMTP server, I just want this server to send emails which used to work perfectly upto about a week ago [CODE] Server Details [CODE] The main.cf file of postfile has been reproduced at http://pastebin.com/jqJMv1TM The mails from the server on any of the domains are not working s... | Your [CODE] directive is not valid. This setting controls which IP address ranges Postfix will allow relaying from. It should consist only of your internal servers and networks. It reads: [CODE] This is obviously not a list of IP addresses or CIDR ranges . Change it to reflect the actual addresses of the servers/networ... | 1 | 4 | 5,358 | 2014-09-22T17:33:45.583 | database_errors | serverfault.com | |
437,582 | Better design for a REST import into web store | I have an import that needs to grab data from a REST service and import into an web store. It's basically an ETL type of service, but because the REST service can be slow and I don't want to call it for every entity in the loop, I'm finding myself having to pass in a lot of parameters into the methods needed for import... | I would add an additional layer here that hides the abstraction better. The [CODE] method should only have a high-level view over the import process, the details of each individual import should be abstracted away. You are dealing with a lot of data reuse, and I would redesign this code to have specific data containers... | 0 | 1 | 79 | 2022-03-24T15:08:05.750 | data_quality | softwareengineering.stackexchange.com | |
357,259 | InConsistent Behaviour in Tomcat | We installed Tomcat in Linux. The Server is not responding after 10 to 15 requests. But after 5 mins the problem get solved and getting response for another 10 to 15 requests. We see enough 50% Memory in Linux box and we don't see any thread locks. Also the deployments files are working properly in local environment. P... | Check the amount of RAM you have allocated to Tomcat . Just because you have free system RAM does not mean that Tomcat is allowed to use it. The reason it works after a few minutes is probably because some garbage collection takes place, allowing more requests to go through. | 0 | 1 | 103 | 2012-02-06T15:51:58.940 | pipeline_ops | serverfault.com | |
117,375 | Compatibility Problem: Intel Server Chassis SR1500 + Windows Server 2003 R2 + Seagate Barracuda 7200.11 1.5TB | I got an Intel Server Chassis SR1500. Since there are 3 slots for hard disk, I put 2 Seagate Barracuda 7200.10 320GB to Slot 0 and 1 to make a RAID1. For the last slot (Slot 2), I put a Seagate Barracuda 7200.11 1.5TB, make it another set of RAID1. The operating system is Microsoft Windows Server 2003 R2, installed in ... | The Seagate 1.5 TB have a long, sordid history of drive corruption and hardware defects. Seagate 1.5TB Drives Randomly Freezing http://www.tomshardware.com/news/seagate-barracuda-1.5TB-freezing,6558.html Updated: Seagate 1TB Drives Biting The Dust http://www.tomshardware.com/news/seagate-7200.11-failing,6844.html Seaga... | 0 | 2 | 284 | 2010-02-27T02:06:09.517 | api_errors | serverfault.com | |
8,439 | Limit total bandwidth use per user | I'm running a Linux server accessible to a wide range of users, and (due to some policies in place by my upstream Internet provider) I need to limit the total amount of data a user can transfer to some given amount. The Linux box is the gateway to my provider. Is there a way to do this? I have a working [CODE] setup al... | @WerkkreW got me on the right track. The solution I'll be going with is to use squid and its delay_pools feature. The basic concept is to set up per-host (class 3) delay pools in [CODE] , then set each of them to the maximum amount of bandwidth I want to allow per user per day. Then, set the "fill" rate to be that maxi... | 5 | 3 | 8,233 | 2009-05-15T02:31:13.737 | infrastructure | serverfault.com | |
83,441 | Proper Way to Grant Permissions in PostgreSQL | I am new to PostgreSQL and am having a bit of trouble finding any information on how to grant a user permissions on the database that they own. I have read a few sources that says the owner has all permissions, but it doesn't seem to work for me. I still had to grant permissions in order to run a select statement. I ha... | Can you try [CODE] So you would use [CODE] I am not sure where your sql file is going because you are not specifying the db in your script. | 1 | 1 | 6,796 | 2009-11-10T22:31:49.880 | api_errors | serverfault.com | |
14,318 | What server property makes TransactionScope escalating to MSDTC? | In our application we're using TransactionScope's. We're aiming to not use the MSDTC service because it's a lot slower than lightweight transactions. [CODE] While connected to the test database we need no MSDTC but the exact same code, executed on the same machine, escalates to use MSDTC when connected to the productio... | Here are some of the things you can try to get it to work: Compare [CODE] in your connection strings Compare [CODE] in your connection strings User instance databases appear to work differently for some reason - we couldn't get it to work consistently with them - use full databases all of the time You can reuse the sam... | 8 | 5 | 8,815 | 2012-03-02T10:08:26.497 | api_errors | dba.stackexchange.com | |
1,098,179 | Cannot start, view, or deploy ARM VMs - BadGateway | We recently deployed AVD. Everything was working great. I created all the networking, set up a site-to-site VPN to our on-prem network with a forced tunnel . I deployed a VM to make my gold image. tested connectivity. everything worked great. I deployed the session hosts, they joined to the domain, etc, etc. I came in ... | It magically and mysteriously started working this morning. I'm not aware of any Azure outages or anything that might have impacted this, but I'm going to chalk it up to Gremlins. Thank you all for your responses | 0 | 0 | 35 | 2022-04-08T18:24:20.127 | infrastructure | serverfault.com | |
394,599 | Swift, creating views with table view controller | Im not sure if this is the right place to post this kind of question, but, I heard from a colleage that he creates all his views in a table view and for each item creates a separate cell. e.g. A title would be a different cell, image a different cell, etc. Is this a normal practice or is this something that should be a... | I don't get the point of doing such thing because [CODE] s are used to display (large) sets of data and display those as rows. Maybe if you have an example, that would clarify your point. On the other hand, you can use a [CODE] to achieve what you say. [CODE] s are quite flexible for displaying multidimensional data an... | 2 | 0 | 138 | 2019-07-12T14:32:43.190 | data_quality | softwareengineering.stackexchange.com | |
699,111 | Mails not being received. status=deferred (lost connection with 127.0.0.1 | I have a MiaB box with about 30 email boxes. This errror pops up in /var/log/mail.err but with no other information. [CODE] How can I trace it and fix it ? I believe people are not receiving their emails when this happens. This is when a user sends a message with an attachment to another mailbox on the same server: [CO... | Disabling ipv6 on centos 6.5 seems to have removed this issues. | 1 | 1 | 1,386 | 2015-06-15T13:42:34.903 | infrastructure | serverfault.com | |
116,731 | Why is Convert being used in this statement and how does it differ from CAST? | This is a piece of code on MSDN page for OVER clause: [CODE] So I am having issues understanding why CONVERT function had to be used there. I assume it is to do with return types of one of the fields in the expression part of the convert function? Can CAST be used instead? Second question I have is, how exactly does th... | Convert style If SalesYTD type is float or real: 1 = Always 8 digits. Always use in scientific notation. If type is money and small money: 1 = Commas every three digits to the left of the decimal point, and two digits to the right of the decimal point; for example, 3,510.92. Cast will use the default value for style: 0... | 1 | 6 | 172 | 2015-10-01T15:30:04.630 | warehouse_errors | dba.stackexchange.com | |
88,335 | TypeError: Expected sequence or array-like, got <class 'tensorflow.python.keras.callbacks.History'> | I am training a CNN, it runs well but I get an error when I try to get [CODE] , [CODE] and the [CODE] . Here is a snippet of my code; [CODE] ((180568, 2677356), (45143, 2677356), (180568,), (45143,)) [CODE] (180568, 2677356, 180568) [CODE] [CODE] [CODE] [CODE] [CODE] [CODE] [CODE] The error I got is; [CODE] | You are using the [CODE] variable to calculate your metrics, which will not work since [CODE] is history callback object. The predictions from the model are not stored during model training, only your model metrics (e.g. loss and accuracy) are stored using the history callback. If you want the predicted output for samp... | 1 | 0 | 2,226 | 2021-01-22T13:01:03.240 | data_quality | datascience.stackexchange.com | |
138,977 | How to optimize query with order by | Have query which generate OpenERP ORM. Table have 100k rows. [CODE] With indexes : [CODE] Query with order by takes 57735.775 ms. Plan is : [CODE] When i try without order by it takes 65.969 ms. Plan is : [CODE] With [CODE] it takes 1206.157 ms plan is : [CODE] Any way to optimize it with indexes ? Because we cant chan... | Using an index consisting of the columns [CODE] , [CODE] , [CODE] and [CODE] would enable the query to be run using the index alone. Ordering the columns in the order provided would remove the sort requirement. This comes at a slightly update cost, and could replace the [CODE] index. If [CODE] were rare, it would be fa... | 0 | 0 | 282 | 2016-05-19T07:48:51.667 | warehouse_errors | dba.stackexchange.com | |
19,420 | How to monitor all network connections in LAN? | I am interested in monitoring all the network connections within my LAN. What options are available? | ntop ntop is a network probe that shows network usage in a way similar to what top does for processes. In interactive mode, it displays the network status on the user's terminal. In Web mode, it acts as a web server, creating a HTML dump of the network status. It sports a NetFlow/sFlow emitter/collector, a HTTP-based c... | 1 | 2 | 7,186 | 2009-06-04T04:40:20.343 | pipeline_ops | serverfault.com | |
544,545 | How does ssh ProxyCommand actually work? | I am comfortable with using the ProxyCommand feature of ssh and can use it to hop through mulitple bastion hosts to reach the final host efficiently. But I just can't seem to understand how it actually works in the backend. For eg. I have the following config file. [CODE] I understand that for connecting to host [CODE]... | 3) A netcat tunnel is created from bastion.com to port 22 of final.com. false, there's no netcat. 1) The user enters [CODE] on localhost. This launches the parent ssh process 2) The parent ssh creates a child ssh with I/O redirected to pipes 3) The child ssh creates a connection to bastion.com. 4) The [CODE] process on... | 15 | 11 | 8,138 | 2013-10-08T10:35:55.567 | infrastructure | serverfault.com | |
143,254 | Clone MySQL DB - errors with CREATE VIEW/SHOW VIEW privileges | Running MySQL 5.0.32 on Debian 4.0 (Etch). I'm trying to clone a WordPress MySQL database completely (structure and data) on the same server. I tried a dump to an .sql file and an import into a new empty database from the command line, but the import fails with errors saying the user does not have the "SHOW VIEW" or "C... | Grants and privileges are stored in the [CODE] database, not in the database you cloned. Do [CODE] on the source server, then do the same for the destination server. You'll probably find the difference there. | 0 | 2 | 571 | 2010-05-19T05:09:13.837 | database_errors | serverfault.com | |
301,790 | Verifying if a DC is a RODC | I'm in a situation where I'm trying to help out a friend who has little knowledge of his system. He is trying to install a program onto his domain controller and it gives an error stating that it cannot be installed on a RODC. This is the only DC that he has so I am assuming it is not a RODC. Is there a specific way I ... | In 'Active Directory Users And Computers' browse to the RODC's computer object the DC Type should contain say ReadOnly if it is a RODC. The computer object properties on tab 'Managed by' should also show what type of DC it is. | 6 | 6 | 34,320 | 2011-08-16T20:35:10.487 | infrastructure | serverfault.com | |
538,862 | Nginx 404's all static content in reverse proxy setup | Whats strange is that this exact configuration used to work fine, but now all static files will 404 on direct link i.e domain.com/test.html domain.com/test/test.html domain.com/ and domain.com/test/ this is the same for all static filetypes. Nginx.conf : [CODE] Virtualhost example : [CODE] | The obvious problem is that you have placed [CODE] inside a [CODE] block. Best practice is to place it in the [CODE] block. This is one of the most common nginx misconfigurations . | 1 | 0 | 5,241 | 2013-09-14T01:24:08.170 | infrastructure | serverfault.com | |
1,050,142 | gcsfuse terminating itself on GKE | I have gcsfuse in a deployment on GKE, it was working fine and without any changes in the config it started failing since yesterday. [CODE] I have it deployed in 2 different clusters, first I thought it was related to the kubernetes version because I started to see the issue when upgraded to [CODE] , but in the other c... | Found my problem, I was using the command as follows [CODE] , when I removed the [CODE] flag it started working. The strange thing is that it was working just fine until 2 days ago, suddenly that stopped working. I decided to try without that after reading this: https://github.com/GoogleCloudPlatform/gcsfuse/blob/maste... | 0 | 1 | 202 | 2021-01-17T10:34:30.450 | pipeline_ops | serverfault.com | |
82,367 | script change outlook 2007 exchange server connection | we are trying to replace our current exchange server with a new one. The old one is bad hardware that isn't configured properly. We would like to add a second Exchange Server to the network and slowly migrate the needed items to it. Right now we have about 150 clients using outlook 2007 to connect to the Exchange Serve... | If you're moving to Exchange 2007, this is painfully simple. If you add the new server to AD properly, when you move the mailboxes to the new server afterhours, the clients will connect to their relocated mailboxes seamlessly. They'll never know it happened (though OWA users will need to be given a new link). If you mo... | 1 | 2 | 2,200 | 2009-11-06T21:09:22.100 | infrastructure | serverfault.com | |
529,658 | How can I have Supervisor running my programs as another user? | I'm having a lot of trouble making supervisor running my commands with expanded environment variables. My supervisor conf. [CODE] And [CODE] in [CODE] [CODE] What am I doing wrong here? The error I'm getting is not helpful at all. It's complaining about the fact that it can't connect to the unix server but once I remov... | but once I remove the [CODE] , [CODE] and [CODE] directive (all that I've changed basically) all goes back to normal. Sounds like you have a syntax problem. After referencing the online documentation ... The [CODE] entry looks good. [CODE] But the [CODE] looks odd to me. Try changing your single-quotes to double-quotes... | 9 | 10 | 29,863 | 2013-08-08T17:29:03.213 | infrastructure | serverfault.com | |
1,082,326 | Ubuntu KVM vm nic connected to the network bridge dns resolution issues | Ubuntu 20.04 server with multiple NICs and KVM server installed on it. Created a bridge with netplan: [CODE] enp0s31f6 is connected to the router port (VLAN14). 192.168.14.1 is the router's VLAN14 address. A VM's NIC is connected to this bridge. VM's IP address is manually set to 192.168.14.25/24 with the gateway 192.1... | I have tried the following: [CODE] The following worked for the bridge: [CODE] But the name resolution still didn't work in the guest machines. For the test purpose, I have tried to use NAT and routed networks connected to the enp0s31f6 with no network bridge configured in netplan. Didn't work. VMs connected to the enp... | 1 | 1 | 538 | 2021-11-01T20:45:42.007 | infrastructure | serverfault.com | |
740,790 | kswap using 100% of CPU even with 100GB+ of RAM available | I'm running a Centos 7 ESXi VM with almost 300GB of RAM and 24 vCPUs. The average load is 3 and apps almost never use more than 150GB of RAM. The rest of the available memory is used by Linux for cache. The issue is that when the cache fills up available RAM, two kswapd processes will start using 100% of CPU and sudden... | This sounds like you are running out of RAM on one NUMA node, and the system is thrashing trying to free up memory on that node. This can happen if you have a single process using large amounts of memory, which (by default) is allocated preferentially on the node the process is running on. See if this helps: [CODE] For... | 5 | 2 | 3,282 | 2015-12-04T13:36:07.863 | infrastructure | serverfault.com | |
230,200 | EventLog: Server TCP provider failed to listen on [ 'any' <ipv6> 1433]. Tcp port is already in use | This isn't a duplicate; my scenario is different from others I've found: MSSQLSERVER service does *not* start, port 1433 in use https://blogs.msdn.microsoft.com/sql_pfe_blog/2016/10/05/tcp-port-is-already-in-use/ https://support.plesk.com/hc/en-us/articles/213409409 Differences: Neither [CODE] nor TCPView reveal anythi... | Because [CODE] doesn't indicate that anything is listening on port 1433, that leaves the possibility that a client is already using port 1433 when SQL tries to start. From the SQL Server Premier Field Engineer blog post about "TCP Port is already In Use" : The second situation involves a client running on the server us... | 15 | 8 | 10,595 | 2019-02-20T02:27:24.913 | data_quality | dba.stackexchange.com | |
1,090,955 | Connection failed using L2TP on Ubuntu 20 | I am trying to establish a VPN connection but I am unable to do so. The issues points to PPP as can be seen in the log output below. However, I am not quite sure what I can make out of this: [CODE] [CODE] | A bit later I saw this . I had to adapt two more things: check box for “Enforce UDP encapsulation”. Uncheck all authentication methods except MSCHAPv2 | 1 | 1 | 6,350 | 2022-01-24T10:39:28.113 | infrastructure | serverfault.com | |
528,448 | message "File not found." when trying to install nginx / owncloud | I'm trying to use nginx as a webserver for my owncloud installation. According to this tutorial , I created the following config file: [CODE] But when I visit the website [CODE] I only get the error Message "File not found.". Since I set the debug level to "debug", I get the following extensive log file http://pastebin... | After a lot of digging it turned out that neither nginx nor owncloud where the cause of the "File not found". I found this by stopping the php5-fpm service which changed the message to a 502 Bad Gateway from nginx. The corresponding child processes of nginx ran as the user owncloud (not as www-data) but the correspondi... | 0 | 0 | 4,408 | 2013-08-03T15:37:06.030 | infrastructure | serverfault.com | |
452,037 | two computers on same network cannot ping eachother nor view NetBios resources | I'd like to find out the problem of my network configuration I have network configuration is like in this diagram: The problem is between laptop1 and laptop2. At first I thought it was samba server problem. I was configuring samba server on one of the laptops and I wasn't able to access the shares from the second lapto... | The router has client isolation turned on, prohibiting its WiFi clients from talking to each other. Just turn it off. If you specify the make, model, and firmware (if non-standard) of the router, we can tell you the exact location and name of this option. | 3 | 4 | 4,893 | 2012-11-26T00:08:49.400 | infrastructure | serverfault.com | |
737,688 | How do I configure AWS Kinesis Firehose to be able to copy into Redshift? | Problem I have set up a Firehose and selected options that it seemed would result in the streamed data to end up in Redshift. I have a single Firehose and a single target table in Redshift. The data is showing up correctly in the intermediate S3 bucket but not making it to Redshift. I have allowed the Firehose region C... | Here are all of the things I initially misconfigured and eventually adjusted to get Firehose to properly copy data into Redshift: Make sure the bucket you select is in the same region as your redshift cluster. You can specify the REGION if for some reason you want to incur additional charges . You cannot change the reg... | 7 | 7 | 4,436 | 2015-11-20T00:31:59.977 | warehouse_errors | serverfault.com | |
136,674 | Backing up large network (~200 clients) -- Enough Bandwidth? | My company wants to institute a backup plan for all of the clients on our network, which is about 200. We back up our servers and SQL databases regularly, but its been our policy to not backup individuals. What is most critical for people is their Documents and PST files in Outlook. PST files can be very large, and mos... | PST files should probably be considered caches of data on already on exchange/imap servers. Generally, caches should be ignored, like temporary files. If using exchange, you can backup everything at once, using something like veritas on the exchange server. If using an imap server, it should be simpler again. Users' Wi... | 3 | 2 | 644 | 2010-04-28T16:30:28.037 | database_errors | serverfault.com | |
106,442 | Why do some functional languages need software transactional memory? | Functional languages, by definition, should not maintain state variables. Why, then, do Haskell, Clojure, and others provide software transactional memory (STM) implementations? Is there a conflict between two approaches? | There is nothing wrong with a functional language maintaining mutable state. Even "pure" functional languages such as Haskell need to maintain state in order to interact with the real world. "Impure" functional languages like Clojure allow side effects which can include mutating state. The main point is that functional... | 26 | 13 | 2,250 | 2011-09-07T13:42:28.113 | api_errors | softwareengineering.stackexchange.com | |
162,532 | What Pattern will solve this - fetching dependent record from database | I have these classes [CODE] Note: Match actually have 2 teams which means 2 TeamID [CODE] In my view I need to display [CODE] showing the TeamName. So I added another field [CODE] I can now do [CODE] But for a [CODE] , [CODE] will go to the database to fetch TeamName for each TeamID. For a page of 10 Matches per page, ... | First off... this sounds like you are trying to solve a problem you dont know you'll have. Unless you know for a fact that hitting the database 20 times per page (which is nothing) will be a problem, stick with what you have for now and address it when it actually becomes an issue. That said... a couple of approaches: ... | 3 | 2 | 264 | 2012-08-27T23:13:32.307 | api_errors | softwareengineering.stackexchange.com | |
1,114,992 | Laptop disk swap HDD to SSD | In order to get a little more boost out of an oldish laptop, I want to swap the internal HDD out with an SSD. The laptop is: Acer Aspire E 14 Touch (E5-471P-32VS). I started by backing it all up, and upgrading from the original 8.1 to Windows 10, this was fine, and completed smoothly. Now I want to change the HDD out. ... | In case anyone else is coming up with the same issue. I fixed it with the following: Boot your computer from the Windows installation media. Press Next at Language options screen. Choose Repair your computer. Then choose Troubleshoot -> Advanced Options –> Command Prompt. In command prompt give the following command an... | -1 | 1 | 61 | 2022-11-07T07:21:02.293 | data_quality | serverfault.com | |
337,394 | Using PCIe as an Interconnect Connection | I was researching about connecting multiple server nodes together to share resources. I came up to this page: http://www.plxtech.com/applications/cloud From what I read, I see this is possible. Anyone tried this one before? Thanks | What are you trying to do exactly that a generic network can't bring you? 10G ethernet is where i would start if speeds is an issue. I/O virtualazation is cool/useful, but it depends on what you're trying to do. | 3 | 0 | 328 | 2011-12-03T20:26:14.333 | infrastructure | serverfault.com | |
321,463 | A large part of my code has a major design flaw. Finish it off or fix it now? | I am a high school student working on a C# project with a friend of mine with about the same skill level as me. So far, we have written roughly 3,000 lines of code and 250 lines of test code in a span of 100 commits. Due to school, I put off the project for a few months and recently I was able to pick it back up again.... | If I were in your shoes, I would probably try it this way: first, finish the current project - at least partially - as soon as possible, but in a working state . Probably you need to reduce your original goals, think about the minimum functionality you really need to see in "version 1.0". then, and only then think abou... | 189 | 276 | 24,404 | 2016-06-07T00:12:42.680 | api_errors | softwareengineering.stackexchange.com | |
451,681 | saslauthd authentication error | My server has developed an expected problem where I am unable to connect from a mail client. I've looked at the server logs and the only thing that looks to identify a problem are events like the following: Nov 23 18:32:43 hig3 dovecot: imap-login: Login: user=, method=PLAIN, rip=xxxxxxxx, lip=xxxxxxx, TLS Nov 23 18:32... | Postfix can run in a chroot (by default in [CODE] ) or not. If it is, it will try to open [CODE] for sasl authentication. If it's not, it will try to open [CODE] It seems that, for some reason, your postfix instance was running in a chroot, and it's not anymore. It's odd, but that's what I guess from the details of you... | 7 | 17 | 23,381 | 2012-11-24T01:12:14.133 | api_errors | serverfault.com | |
617,801 | Foreman install not working under vanilla install | I'm new to foreman and am having trouble gettin this working on a rhel (6.5) server. Here's the error I get when running "foreman-installer -v": [CODE] Can someone please help me identify where things are going wrong? Thanks Dan | Solved Hopefully this will help others: The error messages didn't state what was the issue. Perserverance and troubelshooting highlighted the need for the following packages: ruby193-rubygem-foreman_setup ruby193-rubygem-foreman_bootdisk genisoimage ipxe-bootimgs Foreman 1.5 is now up and running. Thanks all for your h... | 0 | 0 | 774 | 2014-08-04T14:49:25.377 | infrastructure | serverfault.com | |
648,619 | Chroot doesn't work in PHP5-FPM + nginx | I have added two line in: "/etc/php5/fpm/php-fpm.conf". There are: [CODE] In the server section of my: /etc/nginx/sites-available/default: [CODE] nginx (or fpm I think) tells me: "File not found". Ok I do following: [CODE] And now all works fine. What's wrong with the chroot in fpm? Yeah and by the way - why do it work... | So you run a pool in chroot, but your paths are pointing to the directory tree without chroot. You should change the paths in the [CODE] options to reflect the actual path inside the chroot, so the chrooted php-fpm gets a proper understanding where to look for the php scripts. | 0 | 0 | 2,407 | 2014-12-02T18:03:49.873 | infrastructure | serverfault.com | |
650,434 | Moving the SecondaryName Node in a Cloudera HBase Cluster | I deployed the secondary namenode on the same machine is my main namenode: This is wrong for performance and durability reasons (the secondary name node isn't a hot spare, but it does have a copy of needed metadata). I have found documentation on how to move the namenode , but nothing about moving the secondary namenod... | It should be safe enough to simply remove the Secondary Namenode role, and then add it back again onto a different node on the cluster. In the intermediate period, you may see a warning from Cloudera Manager that the role doesn't exist (which may cause long term issues with the namenode), but not having a Secondary doe... | 11 | 4 | 987 | 2014-12-10T02:30:44.923 | hadoop_errors | serverfault.com | |
1,110,631 | winget not working unless I do | When I open Powershell, and type winget - this is the response: winget : The term 'winget' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 winget [CODE] Sugge... | "if I go to the folder where winget is located ... a "./" infront of it " instead, just put a "." in front of the whole path to winget. i don't have winget, but this launches acrobat reader for me in powershell from any directory: ."C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe" | 1 | 1 | 1,400 | 2022-09-13T15:25:37.980 | infrastructure | serverfault.com | |
132,915 | S.O.L.I.D., avoiding anemic domains, dependency injection? | Although this could be a programming language agnostic question, I'm interested in answers targeting the .NET ecosystem. This is the scenario: suppose we need to develop a simple console application for the public administration. The application is about vehicle tax. They (only) have the following business rules: 1.a) ... | I would say that neither a person nor a vehicle should know whether a payment is due. reexamining the problem domain If you look at the problem domain "people having cars": In order to purchase a car you have some sort of contract which transfers ownership from one person to the other, neither the car nor the person ch... | 35 | 16 | 2,910 | 2012-02-01T22:18:49.857 | api_errors | softwareengineering.stackexchange.com | |
828,724 | ossec realtime file monitoring only reports on first change but fullow up changes are only reported by scheduled follow up scans | we currently have some ossec agents running on windows and real time monitoring for files activated - with the following configuration on the agent site: [CODE] this basically works - except that only the first edit of a file is reported in real time. any subsequent changes of the same file are only reported via the sc... | Answer is: there are somehow miss leading defaults: you must request realtime monitoring as extra flag on agent side you must disable auto_ignore in server side as this defaults to yes -> meaning ignoring further udpates from agents after the initial one When running the agent in debug level 2; it can be seen all files... | 0 | 1 | 1,295 | 2017-01-26T11:26:22.043 | pipeline_ops | serverfault.com | |
318,287 | DB backups for Database per service | I have a project built on a microservice architecture that uses the pattern: database per service. We are using two environments: stage and prod. Once some prod bug occurs there are two ways (as I see it) to ask some developer to fix it: Allow some developer access to prod and ask to fix the issue. Not looks good to me... | I don't think there is any one general way to do this. I've worked with a variety of different approaches. They can all be correct, depending on your needs and the regulatory environment. For example, if you have to comply with privacy laws, or SOX requirements, then you should never restore sensitive data on staging. ... | 0 | 0 | 53 | 2022-10-16T18:35:39.650 | database_errors | dba.stackexchange.com | |
379,173 | "Too many open files in system" on VPS with LSOF far from MAXFILES | Good day. Lately my VPS server (CentOS on it) started crushing with "Too many open files in system" error. I read many on the error and know that the limit is set by my hosting provider. I received a list of limits from host provider and they say that the limit is 12000 files. I tried looking for the problem using lsof... | You can monitor [CODE] with the tool of your choice, the most simple being [CODE] - the first number shows the allocated file handles, the second one the allocated but unused filehandles, and the last number shows the maximum number of file handles. That information is provided by the kernel itself. | 1 | 1 | 2,622 | 2012-04-13T12:45:30.227 | infrastructure | serverfault.com | |
697,554 | No Space left on device after Jenkins installation | Is there any reason i would get a 'No space left on device" error on [CODE] . I have confirmed that i have enough space left. around 68% is free. and also i have 1% iNodes consumed. This is CentOS 7 with SELinux disabled. Following is the out of [CODE] : [CODE] And [CODE] : [CODE] What else could cause this? edit Altho... | maybe quota is enabled on the system. Check with [CODE] or [CODE] (did not check if mkdir return No space left in case of quota) | 2 | 4 | 3,444 | 2015-06-09T06:31:39.313 | pipeline_ops | serverfault.com | |
380,556 | Best Practices for publishing to a web server | I have a high traffic PHP based website and have 2 web servers which sit under a load balancer. I only have FTP access to change the files on the 2 servers when I wish to make changes to the site. This will never change. At present I upload only the files I have changed to each server. Sometimes this invloves many file... | Automate in small steps. First I would suggest that you write a simple script that does what you do when you make changes to the site. One for each server is fine. Then change and adopt the script in small steps. | 0 | 0 | 183 | 2012-04-18T08:12:45.390 | infrastructure | serverfault.com | |
126,519 | DB2 doesn't start after change db2 hostname | After changing the hostname of my db2 server, the db2 services won't start anymore. After reading the notes on how to rename the db2 hostname I understand what went wrong, some things should have been done before restarting the server. What are my options to fix in this scenario? | You could just try applying those steps. If that fails, another option would be to create a new instance and then restore the database(s) over to the new instance. Another option could be uninstalling the instance and then reinstalling it. Another could be taking a backup of the database, saving it off somewhere and th... | 2 | 1 | 822 | 2016-01-18T13:37:50.497 | warehouse_errors | dba.stackexchange.com | |
1,039,356 | Why can users just not login with SSH while everything else seems to work? | I have set up a pair of OpenLDAP servers on Ubuntu 20 with directional failover using Syncrepl. Things that an LDAP user can successfully do include: login [CODE] remote bind from PHPLDAPAdmin or Apache Directory Studio [CODE] However, the same LDAP user cannot use SSH to login. (Local users can.) The following is an e... | A very simple brute force way to maybe rapidly find out what you are missing or which file may need editing (as you mention that the user is known and can perform many things, it may just need its name to be added in some file under /etc) : [CODE] | 1 | 0 | 288 | 2020-10-19T23:28:37.507 | api_errors | serverfault.com | |
409,279 | Xdebug only writes to /tmp | I've installed Xdebug on Centos 6.2. It writes [CODE] files to /tmp just fine, But I want it to write to /tmp/xdebug instead. I've added this to my php.ini: [CODE] and changed the owner of the folder to [CODE] and [CODE] it to 777. But, it is not writing any files. When I configure it back to: [CODE] It does write file... | If I recall from my other reading correctly, the folder on CentOS for xdebug output needs to be owned by the "nobody" account, not apache. | 0 | 0 | 163 | 2012-07-19T15:09:35.680 | infrastructure | serverfault.com | |
125,883 | Rollup 3 For Exchange Server 2007 KB979784 Issues? | Rollup 3 For Exchange Server 2007 KB979784 Issues? Is this update safe to run on servers? / Has anyone had any issues with this Update KB979784?? | I had no problems when previously running this update, however as with all updates, that's not to say you won't have any. You should be prepared for the worst and have full backups and a disaster recovery plan. | 1 | 0 | 107 | 2010-03-24T17:00:07.383 | infrastructure | serverfault.com | |
601,477 | Mavericks permission issues with Windows Server deduplicated shares | We have a number of 10.9-10.9.3 - Mavericks - machines installed throughout our facility. Much of the user content is pulled from shares stored on our Windows Server 2012 fileservers with deduplication enabled. I have found that files newly written or unoptimized are able to be accessed without issue - read, written, m... | Ran into same problem when I updated from Mountain Lion to Mavericks. The new SMB2 that Apple uses now is broken. Try getting your people to connect to the server with the old SMB1 to see if it fixes the issue. For OSX users: Select Go Menu. Connect to server type [CODE] instead of the typical [CODE] | 1 | 0 | 485 | 2014-06-03T14:54:54.253 | data_quality | serverfault.com | |
195,344 | mysqldump: Got error: 2049: Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled) | I need to dump a database from a server that uses the old password hash. It's a shared server and I am unable to change the user's password to the new hash. Attempts with MySQLWorkbench fail with the error: [CODE] Does anyone have a solution? PS, in the end I did get SSH access to the server, so I was able to run mysql... | If you don't use a newer or equal version as 5.7.5 as client, you can add the parameter [CODE] to mysqldump. But since this is deprecated and not supported in newer version, it's best to migrate away from Pre-4.1 Password Hashing and the mysql_old_password plugin | 0 | 1 | 944 | 2018-01-14T04:28:54.053 | database_errors | dba.stackexchange.com | |
124,516 | Execution plan different on two different Sql Servers | On our sql server, a query takes 20 ms. If I look at the execution plan, parallelism is used, hash match, Bitmap create, ... a lot of images with two arrows pointing to the left. On sql server of a customer where our product runs, the same query takes 2500 ms. If I look at their execution plan, no parallelism or any of... | Parallelism depends on server cores. Without multi core you can not paralellize. So, is the hardware identical? ;) You can configura mximum paralellism so that you dont have one user blocking up the complete server, but no minimum. The dangers? Well, besides the fact that SOMETIMES it goes terribly wrong in some versio... | 0 | 1 | 824 | 2010-03-20T09:12:49.790 | api_errors | serverfault.com | |
500,598 | Puppet uses the hostname as a variable value | I have this simple function: [CODE] I use it like this: [CODE] And yet the file created is /tmp/"hostname", like debian-vm or something. It NEVER uses the correct value. I don't get what's wrong, does anybody have any clue ? Thanks. EDIT So, after some more testing it looks like the $x = $title does not work. If I use ... | Debian Squeeze packages Puppet 2.6.2 - the [CODE] variable won't work as a parameter's default value. Per the note after the example here , 2.6.5 is needed to get the expected behavior. | 2 | 1 | 1,013 | 2013-04-18T13:43:53.023 | pipeline_ops | serverfault.com | |
338,938 | Is this an indication of high coupling | I am doing a code review for a commercial software system. I noticed that some user's story and even sub-tasks when are implemented they result in a large code commit and usually end up in changing tens of source code files (java classes, javascript files, HTML, etc) I expect that when someone implements a subtask or a... | Is this an indicator of high coupling? Maybe. Sometimes this is an indicator of high coupling because when one thing changes, it cascades along, impacting a bunch of other things. Sometimes it's an indicator of loose coupling because when you want to do one sizable thing you need to touch all of the different responsib... | 4 | 7 | 407 | 2016-12-27T20:22:04.823 | api_errors | softwareengineering.stackexchange.com | |
30,170 | Class leaking on validation set | I am quite new in the ML field. I think I correctly understood the information leaking problem during the testing/validation phases but I am struggling to understand some François Chollet statements that I will now report. This discussion will be based on Keras only for practical reasons. First of all: Keras initially ... | You could calculate these metrics and then attempt to clarify how your model is failing during validation, but then you're effectively turning your simulated test environment into a second round of training. Any further tuning decisions made from calculating these metrics defeat the purpose of using the validation set ... | 4 | 1 | 381 | 2018-04-11T13:32:31.317 | data_quality | datascience.stackexchange.com | |
271,187 | Restore MySQL dump to a container fails with ERROR 1114 "The table is full" | I am trying to restore a MySQL dump of size around 18GB to another MySQL server, which is running inside a container using this command: [CODE] But it fails with an error: ERROR 1114 (HY000) at line 7238: The table 'piwik_log_link_visit_action' is full Many other small tables are copied successfully, but while coping t... | "Table is full" implies a disk space problem. But there are other issues: How much RAM in your container? [CODE] not more than 1% of RAM available. Anyway, those are used during complex [CODE] ; they are not used during [CODE] . dump of size around 18GB Depending on the datatypes, etc, etc, the amount of disk needed co... | 4 | 0 | 1,682 | 2020-07-18T11:39:41.727 | pipeline_ops | dba.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.