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 |
|---|---|---|---|---|---|---|---|---|---|---|
46,816 | Derivation of CNN math equations in Matrix format | I've gone through jefkine's website and Jae Seo's articles to get a hold of math behind the famous CNN architecture. Although I understand it in theory, I'm unable to implement in matrix format or to put it straight... In numpy format. After digging through internet like a broken web scraper, I could only understand FC... | I can't explain to you exactly what you want. However, if you got in this link and work on Q4, maybe this is what you are looking for. | 0 | 1 | 139 | 2019-03-06T20:11:19.950 | data_quality | datascience.stackexchange.com | |
123,428 | Is Google App Engine's level of support robust enough for real-world production? | Google App Engine has been great for trying out ideas and learning stuff, but so far I haven't seen much confidence in the community in using it for production applications. One significant issue that has come up over and over again is that when things go wrong, it's nearly impossible to actually talk to anyone at Goog... | When it comes to real-world production, I don't think it's a matter of support in this case. I think what's keeping off most people is the tight coupling with appengine API and datastore architecture. You have no hands on it, and are at the mercy of Google will, if they change anything, you'll probably need to rewrite ... | 3 | 3 | 353 | 2011-12-05T20:47:24.987 | api_errors | softwareengineering.stackexchange.com | |
116,280 | Are there any good Java/JVM libraries for my Expression Tree architecture? | My team and I are developing an enterprise-level application and I have devised an architecture for it that's best described as an "Expression Tree". The basic idea is that the leaf nodes of the tree are very simple expressions (perhaps simple values or strings). Nodes closer to the trunk will get more and more complex... | It sounds to me like you've reinvented Lisp . It has trees of operators and data that get combined into larger and larger expressions. I would suggest you take a look at Clojure . Clojure is a Lisp for the JVM purpose built to tackle functional programming with heavy concurrency from the start. | 2 | 3 | 1,097 | 2011-10-25T23:42:48.810 | api_errors | softwareengineering.stackexchange.com | |
363,559 | IOC container & accessing Implementation from the container | Background As mentioned in this article , Inversion of Control can be achieved through various mechanisms such as: Strategy design pattern , Service Locator pattern(SLP) , Factory pattern , and Dependency Injection (DI) . Am missing clarity in above statement, because below is my understading. 1) Creation of container ... | Unity, for example, is referred to as a dependency injection container https://msdn.microsoft.com/en-us/library/ff647202.aspx Microsoft get it right again, this is why you should never use java. I think it would be fair to say that a DI Container is, at least in part, the implementation of the patterns you list. Say I ... | 2 | 1 | 516 | 2018-01-06T10:55:44.007 | pipeline_ops | softwareengineering.stackexchange.com | |
177,995 | SSMS Extremely Slow connecting to local dev db | So I found this question and believe this is related. SQL Server Management studio slow connection or timeout when using Windows Authentication If I extend my timeout to 30 seconds I get SSMS connected but everything is terribly slow! The application is extremely slow/timing out when debugging. They mention adding an e... | Your DNS entry in the [CODE] file will be: [CODE] You'll need to use Notepad with administrative rights, to be able to make any changes to that file. (However, I'm voting to close this question as a duplicate of the one you posted.) | 2 | 5 | 5,431 | 2017-07-04T19:41:32.737 | api_errors | dba.stackexchange.com | |
1,004,284 | Installing ESXI on Dell PowerEdge 710 | I'm trying to installing ESXI on my Dell PowerEdge 710 that has 6.6 BIOS version. I'm attempting to flash the software using the internal USB, and everytime it starts to install whether using BIOS or UEFI it gets stuck at "loading module megaraid_sas". What in the world do I do to fix this? | I think the easiest way would be to download the esxi iso from dell, which already has the drivers for the disk array controller and network adapters in it. You can find the instructions here: https://www.dell.com/support/article/nl/nl/nlbsdt1/sln288152/how-to-download-the-dell-customized-esxi-embedded-iso-image?lang=e... | 0 | 1 | 162 | 2020-02-23T17:37:05.973 | infrastructure | serverfault.com | |
130,831 | Including existing ISA server into domain | Is there any problem or pitfall including ISA server into domain after ISA was installed and configured and worked for a while ? All the rules at the moment are based upon IP addresses, All Users. Addendum 1 ISA is an edge firewall, so it is connected to one Internal network (this is where domain is) and to the Interne... | Far too many variables to answer this question properly without a lot more detail about your particular configuration. Adding an ISA server in a 2(plus)-leg configuration will almost certainly lead to issues unless you do it in a controlled manner and schedule down-time. But adding an ISA server in a single-leg configu... | 0 | 0 | 171 | 2010-04-09T07:25:15.050 | infrastructure | serverfault.com | |
495,982 | Pfsense 2.02 ipsec vpn tunnel goes down randomly | Ipsec vpn tunnels got disconnected randomly but when we restart raccon all tunnel will come up again with out any issue.I would like to know a permanent fix for this. These are the logs: [CODE] | Looks like what happens when you have a misconfigured PPTP server and a client disconnects. PPTP server should never use a real assigned IP as its server IP. | 1 | 2 | 5,111 | 2013-04-04T05:01:59.037 | infrastructure | serverfault.com | |
9,724 | What impact does full hard drive encryption have on performance? | We have HP notebooks here at work, and it is policy to have HP's hard drive encryption turned on to protect client databases and IP in the case of loss/theft. I was wondering if there was any evidence of a performance hit in this situation? The machines are primarily used as development workstations. Anecdotal evidence... | The "HP Protect Tools" is a rebadged McAfee/Safeboot FDE product. The performance impact shouldn't be too bad -- I'm assuming that you're using AES. We encrypted about 5,000 laptops three years ago, and our folks didn't report any significant performance issues. A few older boxes blue-screened, that's about it. You may... | 24 | 9 | 45,792 | 2009-05-19T03:06:04.360 | infrastructure | serverfault.com | |
149,371 | Certificates in SQL Server 2008 | I need to implement SSL for transmissions between my application and Sql Server 2008. I am using Windows 7, Sql Server 2008, Sql Server Management Studio, and my application is written in c#. I was trying to follow the MSDN page on creating certificates and this under 'Encrpyt for a specific client', but I got hopeless... | If I understand the MSDN spec correctly, all you need is to specify in the connection string [CODE] . This means that the client requests encryption and is willing to accept any certificate the server may use . The server always has a self-signed certificate generated at server startup time to use, if nothing else is a... | 7 | 5 | 7,043 | 2010-06-08T19:26:30.237 | database_errors | serverfault.com | |
145,540 | ORA-03297 on Oracle Tablespace alter | I have a database with 4500GB storage on AWS RDS. My "users" tablespace has 3749700 MB allocated. Out of which 1583777.63 MB is used and 2165922.38 MB is free. When I do: [CODE] It gives me: [CODE] How can I fix my tablespace? | You have segments allocated across the tablespace with "gaps" of free space. In order to reclaim it you should first reorg the tablespace. See: reclaiming unused space https://oracle-base.com/articles/misc/reclaiming-unused-space It's a rather long process for such a large file.... Btw, if you have EM installed it's ju... | 1 | 2 | 2,567 | 2016-08-01T17:06:32.207 | database_errors | dba.stackexchange.com | |
746,012 | Openvpn in Azure : how to resolve hosts | I successfully managed to install an OpenVPN machine in my Azure network. I can connect to it and ping my internal LAN without any issues. [CODE] I would like to use hosts defined in azure to access my machine directl. Here 10.0.0.8 has mymachine1 as hostname. When I try to ping it, i got the following error message: [... | You need DNS for this; if you have a domain controller in your Azure network, then you already have a DNS server in place; otherwise, you'll need to setup one (be it a full-blown DC or simply a VM running the DNS service); then you'll configure this DNS on your VPN clients and you'll be able to resolve names for Azure ... | 0 | 1 | 496 | 2015-12-30T17:35:36.020 | infrastructure | serverfault.com | |
733,701 | Rsyslog doesn't create log files on CentOS7 | I have the following configuration file in "/etc/rsyslog.d/10-my.conf" [CODE] On CentOS6.5 (rsyslog 5.8.10 ) this creates an empty file in /var/log/test/test.log Same configuration file on CentOS7(rsyslog 7.4.7 ) doesn't create an empty file. Anyone can tell why is that? Did this behavior change in 7.4? Or is it someth... | As expected it turns out that default behaviour changed in 7.4 and it doesn't create an empty file anymore, however works fine(e.g create a test.log file) if you test it using the following command: [CODE] Version 5.8 does create an empty file but still works fine if this file(/var/log/test/test.log) was deleted. | 0 | 0 | 1,606 | 2015-11-03T21:20:26.833 | infrastructure | serverfault.com | |
162,694 | statement to find at least a year with register users > 1 | i need to find find the years for which have at least 2 users register. the table is [CODE] and the data [CODE] the statement based on the above data must return 2016 | You need to [CODE] [CODE] , and use a [CODE] clause to further limit only the grups where the count or rows ( [CODE] ) is greater than 1: [CODE] You get: [CODE] You can check it at SQLFiddle | 0 | 0 | 20 | 2017-01-30T23:00:17.693 | warehouse_errors | dba.stackexchange.com | |
206,813 | Move home directory in Ubuntu | We are running an Ubuntu server and have several people in the company that need to have SSH access. This is a web server and the different sites reside in /home. When I create a new user on the server with adduser "username" then a new directory is automatically created in /home. As the sites also reside here, I'd lik... | If you look at the adduser man page you will see that there is a -d or --home command line option which allows you to specify a users home directory. | 0 | 1 | 576 | 2010-11-28T23:31:13.817 | infrastructure | serverfault.com | |
337,321 | CouchDB/xulrunner hang on Ubuntu 10.04 LTS | I have an Ubuntu 10.04 LTS box setup as a Chef server. This was all working fine until the first time the box was rebooted, after which the following three (possibly unrelated) things happened: chef-client attempted to install updates via. apt, which failed The Chef webui stopped working (connection refused/timeout) Co... | I eventually worked out that it was another package on this system causing a conflict with xulrunner. Rebuilding the box minus the conflicting package solved the problem. | 0 | 0 | 346 | 2011-12-03T13:54:03.927 | database_errors | serverfault.com | |
313,837 | svc system filesystem root default failed to mount usr | I encountered the following error when trying to startup my solaris vm Can anyone advise how to resolve the issue? svc system filesystem root default failed to mount usr system filesystem root default failed fatally: transitioned to maintenance Can i just reference to this article: http://www.itworld.com/nlsunix070424 ... | The first place to start is the svc log file as reported in the output of "svcs -xv" run after you've logged in at the maintenance prompt you'll be presented. This log file will often include details of why the svc failed to start and in the case of the filesystem/user filesystem, is commonly caused by a problem with t... | 0 | 1 | 3,247 | 2011-09-21T09:34:47.990 | infrastructure | serverfault.com | |
93,486 | Server 2008 R2 DNS Lockup / Stops Resolving Internet Names | We've deployed our first 2008 R2 server on a client site which has replaced their existing 2003 DC. This server provides DNS resolution services to all client machines on that site for general internet usage. Since using the 2008 R2 DNS services we have noticed every couple of days the DNS server starts timing out when... | Per this Microsoft KB article the solution is to change the [CODE] registry value ( [CODE] ) to 2 days or longer. | 2 | 3 | 3,077 | 2009-12-11T17:48:54.273 | hadoop_errors | serverfault.com | |
1,109,367 | Apache mod_speling re-writing all URLs to lowercase | I have inherited a website where the URLs contain capitalization, but the file structure on the server is all lowercase. This wasn't an issue until moving the site over to Apache. I don't want to redirect the existing pages to a lowercase structure because the site is aged and ranking well on Google and Bing. I've impl... | You could use [CODE] to rewrite all your requests to lowercase. That might look like: [CODE] Given these files on disk: [CODE] And these links in [CODE] : [CODE] The rewrite configuration I've shown allows all three links to retrieve the expected file. The rewriting does not generate any sort of redirect to the client,... | 0 | 3 | 568 | 2022-08-29T11:38:06.800 | infrastructure | serverfault.com | |
1,052,006 | linux snmptrapd, how to write to a custom log file, or execute a custom command | Ubuntu 18.04 and 20.04, snmptrapd, versions around 5.7.3. Trap events go into syslog. Great. How can you make the log files go to a custom location besides syslog? logoption or logOption as seen in many internet answers and tutorials does NOT work in snmptrapd.conf. You can put logoption in snmp.conf, but then ALL snmp... | The systemd startup unit / service IS the only way. ExecStart=/usr/sbin/snmptrapd -Ln -f -Lf /var/log/snmptrapd.log | 1 | 0 | 8,423 | 2021-02-01T21:03:42.073 | infrastructure | serverfault.com | |
771,223 | Automatically create virtual email for user using postfix | On our website, we have some special users that can be contacted by email. It means that for now, they have a public profile page where after a mouse click their email is visible. Moreover, to log on our website, you must provide an email adress as username and a password. Which mean that by displaying some users' emai... | You can have more than one entry in your [CODE] . They can even be of different types . Specify zero or more "type:name" lookup tables, separated by whitespace or comma. Tables will be searched in the specified order until a match is found. Note: these lookups are recursive. | 0 | 1 | 33 | 2016-04-18T16:45:22.160 | infrastructure | serverfault.com | |
31,580 | How to get nearest 5 points mean with Nearest Neighbours? | In a dataset of longitude , latitude and price (of houses) I'm using sklearn's KNearestRegressor to get the 5 nearest neighbors mean price for each point. The problem is I want to do this for the whole dataset and each point is taking its own price into consideration since KNearestRegressor is a supervised algorithm, a... | First of all you train/ fit a model on the training set, may be cross validate using a training set. But it is not meant to predict itself. That's what test set is for. You can achieve your objective by predicting each observation in a Leave One Out manner (also used for cross validation): For every observation (i) in ... | 0 | 1 | 93 | 2018-05-12T19:54:08.427 | data_quality | datascience.stackexchange.com | |
1,125,427 | Mitigating billing costs for non-existent host names on Route 53 | 5 days into this billing cycle, and my Route 53 zone has received over 33 million requests for a particular host that I recently deleted. And the associated DNS records were deleted too. I didn't think I would get billed for queries to a non-existent host record, but indeed I am according to the billing dashboard. And ... | Rather than deleting a record your current solution of returning valid response with a localhost IP-address and very long TTL is indeed one solution. The (current) official documentation from Amazon Route 53 states and suggests an alternative approach When Route 53 responds to DNS queries with an NXDOMAIN or NODATA res... | 2 | 1 | 200 | 2023-03-06T06:42:15.693 | bi_errors | serverfault.com | |
11,069 | Why keep vocabulary and posting list separate in a search engine | I am taking a class in information retrieval. We learned that the index of a search engine has (possibly among other things): A vocabulary mapping terms to their statistics (frequency, type, ...) and A posting list mapping terms to the documents were they are stored (with or without positions, fields, ...) These are se... | It has many reasons to be (performance, design, storage, compression, evaluation of data structures). The principal reason is that all structures are verified in the practice, but you can make you own data structure and show a new mode to do. Even the google has a paper for verify that he works fine, if you has your ow... | 4 | 1 | 556 | 2016-04-06T15:53:52.853 | data_quality | datascience.stackexchange.com | |
849,754 | TLS/SSL - Does SNI Have a Limit on Number of Domains Running on Nginx? | SNI (Server Name Indication) is an extension to the TLS/SSL protocol, allowing the webserver to serve multiple domains on the same IP, all with different SSL server certificates. SNI discovers the SSL certificate appropriate for the domain/URL they are asking for. Before SNI, all vhosts listening on the same IP & port ... | SNI is essentially the same as the [CODE] header in HTTP. The main difference is that the [CODE] header is only inside the HTTP request and thus can only be seen by the web server after the TLS handshake is already successfully finished. The SNI extension instead is send within the ClientHello, i.e. the initial message... | 1 | 4 | 1,803 | 2017-05-12T14:31:14.210 | api_errors | serverfault.com | |
607,764 | HTTPS Certificate error | I have a telephone system in my office which hosts its administration interface on a local webserver secured by https. When I try to access the interface I always get a certificate error, even after installing the cert via Certmgr.exe. Is there any way other way to install the certificate and to block this annoying err... | I always get a certificate error, even after installing the cert via Certmgr.exe The browser is doing the certificate security checks, so you would have to refer to the browser's documentation for installing certificates. [CODE] is able to install a certificate into the Windows Certificate Store, which is used to check... | 0 | 1 | 132 | 2014-06-25T09:12:44.567 | infrastructure | serverfault.com | |
187,414 | Select last 2 records each time based on the record previously accessed records from the in Sql | I have [CODE] table [CODE] Table [CODE] : [CODE] I have limited no of rows to be accessed , each time 2 rows.But based on number of row accessed , want to get next 2 rows. For example: 1) 0 row accessed and get 2 rows: [CODE] 2) 2 rows accessed and now get next 2 rows: [CODE] 3) 4 rows accessed and now get next 2 rows:... | As far as I understood it would work as a pagination, and the params you would control on the app side anyways. I'd would the following: @SQL2012: [CODE] | 1 | 1 | 1,266 | 2017-10-02T07:18:49.370 | warehouse_errors | dba.stackexchange.com | |
226,480 | Exclude database form AG Backup | Is it possible to exclude a database from an availability group backup? My backup jobs looks like this: [CODE] | As seen on ola's Site , you can exclude backups by adding [CODE] . An example of this: USER_DATABASES, -Db1 All user databases, except Db1 Or in you case, with ag databases: AVAILABILITY_GROUP_DATABASES, -Db1 All availability group databases, except Db1 [CODE] | 1 | 1 | 179 | 2019-01-07T08:51:09.683 | database_errors | dba.stackexchange.com | |
45,424 | prevent MySQL Workbench to add index for foreignkey constraint when it is first part of primary | I know for each foreign key we should make an index on its column, But it is not necessary when that column in first part of PRIMARY index. MySQL accepts this query: [CODE] But in MySQL workbench I couldn't add foreignkey without index! It is MySQL Workbench bug or I do it wrong way? | That's currently a limitation of MySQL Workbench and has been mentioned recently already on Stackoverflow (can't find the question right now, sorry). MySQL Workbench doesn't use the special case where a foreign key uses columns that start the PK in that table. Please file a feature request at http://bugs.mysql.com if y... | 3 | 1 | 2,708 | 2013-06-28T16:01:00.203 | database_errors | dba.stackexchange.com | |
220,462 | Unpivot avoid cartesian product on empty columns | I have an issue with UNPIVOT. The initial situation is that I receive some files with a fixed number of columns and I have to import them in my Database like that. That means my table has for example 10 departement columns : departement_1, department_2, departement_3, ... Based on that data, I need to create some views... | This is what I came up with the help of reddit : [CODE] | 0 | 1 | 271 | 2018-10-18T12:34:24.540 | warehouse_errors | dba.stackexchange.com | |
36,412 | Why do I get permission denied every time I try to ssh from an amazon ec2 server to another linux host? | I have an EC2 base instance, and they usually have password authentication disable in the sshd service. They only authenticate with key. The situation I have is every time I try to ssh into another linux host that authenticate with password I get the following message: Warning: Permanently added 'customerstg.domain.net... | Ok. Sorry to bother everyone. I found the issue of my situation. In my EC2 server, under the /root/.ssh/ directory is a file called config. This file had the following settings: StrictHostKeyChecking no CheckHostIP no PasswordAuthentication no I change the PasswordAuthentication from no to yes . And that fixed the situ... | 1 | 3 | 8,008 | 2009-07-06T15:13:04.210 | api_errors | serverfault.com | |
610,789 | How to bring a redirected user account back from the dead in Windows Server 2008 R2? | A user at the place where I work left the company, we deleted his account out of AD and then he came back...and now his redirected profile exists, but with the wrong permissions on the folder.. I asked a coworker about it and from what I understood I threw together the following procedure (which still doesn't work, the... | Q: is there another way to do this? A: Do yourself a favor and backup his old data and then delete his profile and redirected folders. Then allow Windows to create his user profile and redirected folders on first login. Then restore the data to the new redirected folders. Currently you're dealing with two different sec... | 2 | 6 | 672 | 2014-07-08T00:35:48.717 | infrastructure | serverfault.com | |
451,171 | Pagination api for huge number of records | I have an api which returns records given some constraint. Let's say 50000 records meet the constraint. Because we can not return all the records at once, so I have to implement pagination. I am also showing that there are more pages of records. To solve this i am Counting the total number of record that match the cons... | If you can't efficiently count them, estimate using whatever precise or crude method may be applicable. One simple (most crude) way would be to return a "more to come" flag if you're not at the end of the query yet. A better way would be to use the database [CODE] operation when the constraints can be exactly or approx... | 0 | 4 | 145 | 2024-02-22T06:51:15.443 | data_quality | softwareengineering.stackexchange.com | |
154,306 | Configuration Rmetric with Rcov in hudson error | When I attempt to save a job that runs code coverage tests and is configured to publish an rcov report I get the error message listed below and the changes I made aren't saved. This problem cropped up with Hudson version 1.362 and exists in 1.363. If I uncheck the "Publish coverage report" checkbox the job can be saved... | See Hudson Bugreport 6808 | 0 | 0 | 127 | 2010-06-24T03:37:45.050 | api_errors | serverfault.com | |
1,079,128 | hosting two applications on same domain using apache, one with basic authentication | I am having troubles setting-up [CODE] . Applications: application 1 - SPA (frontend), running in docker. Accessible locally by [CODE] application 2 - WebAPI (backend service), running in docker. Accessible locally by [CODE] I would like to make both applications available on the same domain via HTTPS using [CODE] : ap... | [CODE] is not ignored, you just haven't configured the authentication for it, so the configuration from the higher level applies. Disable [CODE] for the location: [CODE] | 0 | 3 | 1,556 | 2021-09-30T08:48:30.863 | api_errors | serverfault.com | |
294,092 | Checking array size in C/C++ to avoid segmentation faults | So it's well known that C does not have any array bounds checking when accessing memory. Nowadays, if you call [CODE] when you initialised it as [CODE] , your program will get a segfault and crash thanks to protected memory. Now, if you have an argument in a function such as [CODE] , but you know you need at least 8 sl... | Checking array bounds like you want is implementation specific, because buffer overflow is an example of undefined behavior (and this explains why UB can be really bad). It is also an undecidable problem in general. You can easily show that statically finding (by static program analysis , e.g. of the C++ source code, w... | 6 | 9 | 15,842 | 2015-08-19T20:05:31.550 | api_errors | softwareengineering.stackexchange.com | |
273,009 | problem with htaccess using with web browser | I have htaccess applied to some folder. When i open that folder using web browser then i get user/password prompt. If I enter wrong password , the i get some apache error. But the problem i am getting is that even if i refresh the page i keep getting same error. Sometime i want to enter that again but keep getting same... | That's probably at the specific web browser being used. In those situations, exiting the web browser completely and restarting it should do the trick. | 1 | 0 | 83 | 2011-05-24T03:36:33.393 | infrastructure | serverfault.com | |
968,950 | CRON starts to skipping to the next minute | I am setting up single minute crons to the crontab via a bash script for a load testing purpose. There is no issue with the script executing and the crons are added up and i can monitor crons are being executed via the /var/log/cron. But the issue is when I informed the script the other day to 106 crons it added and th... | It sounds like you're setting up a cron schedule with crontab with many entries with identical schedules in the expectation that cron will execute those in parallel for you. [CODE] That is not exactly what happens: In most cron implementations I know the tasks will be started in sequential order, not in parallel , in t... | 1 | 1 | 2,283 | 2019-05-27T09:56:01.110 | infrastructure | serverfault.com | |
41,013 | Web app accessible to everyone on a random day? | I need to jot down debugging steps for below scenario : "You are hosting a web app in your server which is accessible only to a particular set of people. But on an unusual day, all the people are able to access your web app. How would you troubleshoot this issue?" I can make some assumptions for example : 1. Auth API m... | Clearly an interview question. I will give you some pointers. You will need to both investigate and expand on them. App change Hacker change Network changes Webserver date issue Security rule changes Timezone/DST issues Leap Year calculation issue Authentication change in app Existing bug in authentication Year start/e... | -1 | 1 | 2,089 | 2019-09-27T04:23:43.697 | data_quality | sqa.stackexchange.com | |
367,275 | iptables gateway not working on clients | I am not sure what's going on, but I have setup a gateway debian box with iptables and dhcpd server. The server is handing out the ip addresses to the clients just fine, gateway being set to the debian box and dns set to the ISP dns. Now I can't figure out why the net isn't working on the clients computers. The box is ... | You have the [CODE] filter set to [CODE] . So iptables is dropping all forwarding. If you want to keep it set to [CODE] , you need to add the following rule [CODE] | 2 | 5 | 781 | 2012-03-07T16:09:58.733 | infrastructure | serverfault.com | |
587,947 | CentOS System Recovery : Overwritten RAID Superblock and porting to new hardware | I have a failed system running on CentOS 6 and would like to attempt recovery of system. One problem it has is the mdadm superblock appears to have some issues, it has all sorts of inconsistent information and appears to have been overwritten somehow. I'm getting metadata for displaying that they are version 1.0 and 1.... | System had mdadm superblock overwritten somehow which resulted in system having in inconsistent metadata and inability to boot up. Portions of GRUB must have been also overwritten in the process or the necessary information to load the necessary files for boot no longer pointed to a valid location. Attempted to recover... | 1 | 1 | 439 | 2014-04-10T01:30:32.510 | infrastructure | serverfault.com | |
1,027,310 | Websites in IIS don't start after windows server 2019 reboot? | Recently migrated from Server 2012 R2 to Server 2019. First time noticing this odd behavior, that after system reboot the websites setup in IIS don't start and I have to manually start each individually. Checked all settings but can't figure out what's going on? Note: The issue isn't worker process, its the actual stat... | Websites are typically demand-started, i.e. the W3WP worker process starts running when a request for that site comes in. (Unless you set AlwaysRunning to true in the website properties). | 3 | 0 | 5,466 | 2020-07-30T11:38:06.500 | infrastructure | serverfault.com | |
13,271 | Neural network with fixed weights in Python lasagne | I am trying to train a neural network with the lasagne module in Python. I do not want a fully connected network as defined by lasagne.layers.DenseLayer. Instead, I would like to fix some of the weight parameters to zero. Does anyone know how to do this? The closest solution I have found is something like: [CODE] Howev... | I'm not sure what your intention is by setting the weights to zero. Have you looked at dropout layers? [CODE] This should drop 50% of your data from the l_hid1 layer. | 0 | 1 | 430 | 2016-08-07T19:39:17.753 | data_quality | datascience.stackexchange.com | |
319,927 | Is it possible to get MySQL to retry PK generation n times? | I'd like to use random bytes as PK in my table and to ease the application implementation I thought about leaving the generation to the database server so collisions can be handled transparent to the app, however after testing my idea with a small key it appears that MySQL won't attempt to generate a new id on collisio... | For the record, there is no feature in MySQL to retry generating a generated column. If it generates a value that cause a constraint violation (in this case the uniqueness of a primary key), it fails, full stop. Retrying is up to you, to be implemented by writing client code and catching the error. Rick James comments ... | 2 | 2 | 190 | 2022-11-19T23:00:34.973 | database_errors | dba.stackexchange.com | |
1,090,936 | Mailgun : Sending a message from a subdomain to main domain gets denied | I've set up a subdomain in mailgun to send transactional emails from an application ( [CODE] ). This seems to work fine, as long as a receipt's domain is other than the main domain we own, for example [CODE] . In this case I am starting to get a [CODE] response. And the error code is 450 . Currently, we have subdomain'... | The server handling your main domain [CODE] is unable to resolve [CODE] . You need to verify that you configured DNS records for [CODE] correctly. Also, the error message looks like standard [CODE] message, so you need to clarify what do you mean by [CODE] . | 0 | 0 | 630 | 2022-01-24T05:58:42.687 | infrastructure | serverfault.com | |
1,064,135 | Certificate for SSL decryption policy on NGFW | I am trying to understand SSL decryption before planning to implement it in the network. For the SSL forward proxy, as I read we will be installing some CA certificate or similar on the NGFW in order to use it while intercepting the connection. Now if I do so how can I avoid any error with certificate, even if I put th... | The certificate provided by the SSL intercepting firewall is dynamically generated. It matches the expectation of the client, i.e. matches the expected hostname etc . The main difference compared to the original server certificate is that it is not issued by the original (publicly trusted) CA but by the CA on the firew... | 0 | 3 | 116 | 2021-05-19T17:35:59.320 | infrastructure | serverfault.com | |
83,823 | Perfmon % Processor Time vs. task manager's CPU usage | I'm new to using Perfmon and performance monitoring in general (so go easy on me please ;) I know that Perfmon doesn't have anything exactly like Task Manager's CPU usage display, but I'm trying to figure out how to monitor user's CPU usage via Perfmon in a similar way, and trying to understand the measurements (or how... | Most people tend not to watch processor time but instead Processor Queue Length (number of threads waiting for a processor). That being said there's a good explanation here: http://www.windowsnetworking.com/articles_tutorials/Key-Performance-Monitor-Counters.html | 3 | 3 | 30,970 | 2009-11-12T00:24:34.793 | pipeline_ops | serverfault.com | |
138,937 | How to block incoming connections by source address in Windows? | Can the Windows Firewall in Windows Server be used to block connections from a specific IP address? | On Windows 7, the Firewall control panel allows the creation of very specific rules through the "Advanced Settings". On the Inbound Rule tab, there is a New Rule wizard, and IP addresses can be specified in the scope section and "block" specified as the action to take. A rule to block all incoming connections from a sp... | -1 | 2 | 8,693 | 2010-05-05T18:19:37.407 | infrastructure | serverfault.com | |
431,028 | Debian crontab doesn't run scripts | I'm having problems with setting my crontab script to run. When I execute it manually it works. My crontab file looks like this: [CODE] Could anyone tell me if there are any more nessesary steps needed for it to work? | check if your script is executable, if not, set it [CODE] you can also redirect your script output to a file to check if it shows any errors [CODE] I guess your cron daemon is running [CODE] | 1 | 1 | 445 | 2012-09-21T11:20:40.503 | infrastructure | serverfault.com | |
106,001 | Are junction tables a good practice? | Say I have a large table that holds the user's info and another table that holds several locations. Then I use another table that holds the user_id and the location_id. In order to retrieve the data I have to use Left Join query. Doesn't that make the whole process longer to retrieve rather than having it all in one ta... | If you put everything in one table, you will have a bigger, redundant table. If all the tables are properly indexed, the 3 tables solution will be fast, because a small number of rows will be read for each query. | 25 | 29 | 38,105 | 2015-07-05T22:33:59.003 | database_errors | dba.stackexchange.com | |
877,545 | Postfix disable "outbound" email | I am trying to wrap my head around the following. Is it possible to have a postfix-"recieve-only"-server. eg mx.example.com should only receive mail too a specific list of domains. It should not be possible to send mail through it. I can't seem to find any articles addressing this. I know i can disable sasl, but that d... | By default, Postfix allows unlimited relay from trusted networks: [CODE] (default: see "postconf -d" output) The list of "trusted" remote SMTP clients that have more privileges than "strangers". In particular, "trusted" SMTP clients are allowed to relay mail through Postfix. See the [CODE] parameter description. The de... | 1 | 1 | 6,543 | 2017-10-09T07:22:52.160 | infrastructure | serverfault.com | |
1,018,382 | Monitoring Windows Failover Cluster with Enterprise Manager | I'm trying to monitor SQL Server instances on a 2 node active/passive windows failover cluster with Enterprise Manager. Oracle gives the following steps: -Install local agents on both nodes. -Install agent on shared storage for the virtual hostname of the cluster on ONE node. This seems to be somewhat incomplete, espec... | So, it turns out most of the information on this out there is outdated. As of version 13, the process is: Install agent locally, once on each of the nodes. Using the emctl command from the locally installed agent, deploy the agent, using a volume that is either shared or can failover, on each node. Create a cluster rol... | 1 | 1 | 112 | 2020-05-23T15:30:31.000 | pipeline_ops | serverfault.com | |
723,928 | Why can't I cd to a root owned folder, as a member of the root group? | I verified I'm a member of [CODE] : [CODE] However, I can't [CODE] to [CODE] from my user: [CODE] If I [CODE] into root, I can verify that the folder I'm trying to cd into is owned by [CODE] , and has appropriate permissions. [CODE] | Because you need the [CODE] bit set on all descending directories in the tree, to the target one, to be able to cwd through'em. I suppose [CODE] hasn't one for the root group, it's probably 0700. | 1 | 2 | 5,128 | 2015-09-22T07:20:54.887 | infrastructure | serverfault.com | |
844,364 | Where did this IP come from on my Domain Controller? | I'm a little inexperienced with Windows Servers and am settings up a DC and DHCP role. The local IP of the server is 192.168.0.50, it has no other network connections, so why do I see it refer to itself as 169.254.249.95 in some places? What does this IP represent? Have I done something wrong? | IP Addresses starting with 169.254 are APIPA Addresses: https://en.wikipedia.org/wiki/Link-local_address#IPv4 If you have multiple network cards, ensure that only one is used and Active. When you set a Fixed IP Address and run ipconfig /all, if the server is still trying to get a Dynamic address, most of the cases it's... | 1 | 2 | 248 | 2017-04-13T15:06:06.023 | infrastructure | serverfault.com | |
74,136 | OfficeScan RealTime Scan randomly stops | I'm having an issue with a couple of computers where the RealTime scan for trendMicro 8 just stops with no user intervention. It is random, they might not see it for days then it will just turn off. In the logs I'm seeing the services are sent a stop command, sometimes from the user, other times with one of the adminis... | Okay, after finally getting a hold of a trendMicro rep it would appear this is actually an application bug and not a network or configuration issue. Our network vendor who is supposed to be responsible for these systems has not updated or let us know about a service pack for TrendMicro 8. Pushing the issue through with... | 0 | 0 | 5,557 | 2009-10-13T18:35:47.137 | infrastructure | serverfault.com | |
72,110 | VHD Boot failure in Hyper-V (Win7 boot from vhd) | I've have a virtual machine with a VHD image that I've copied from Windows 7 to the Hyper-V server. This image was created on Windows 7 (Windows 7 64-bit), and I'm using it on Windows 7 as boot image. Starting this virtual machine with the Hyper-V Manager gives this error: "Boot failure. Reboot and Select proper Boot d... | Sounds like the HAL is screwed, boot the image in Win7 again and remove the Virtual PC extensions. Then run sysprep on it and make sure you select the generalise option. Once shutdown copy it over to Hyper-V and try boot it again. | 2 | 2 | 4,868 | 2009-10-07T11:39:20.803 | infrastructure | serverfault.com | |
275,433 | Tool to saturate NFS traffic | Does anyone know of a tool I can use to saturate NFS traffic? The reason is I'm seeing some Cisco switch Output errors that I believe is caused by high NFS traffic and trying to replicate the problem. Is there a tool I can use to really bring up the NFS throughput between 2 servers? Thanks in advance for suggestions. | a simple file copy operation, running in a few instances should be enough. if you want even more, I'd run [CODE] Knowing the NFS params should provide the blocksize to be used, you can play with those. To really saturate it, I'd run a few of those dd's simultaneously | 2 | 1 | 164 | 2011-05-31T07:27:05.480 | infrastructure | serverfault.com | |
165,379 | Making PHP applications available as subdirectories in an ASP.NET site | As an example, say my domain is example.com, that's an ASP.NET site on IIS 7.5. I'd like to get phpBB installed and available at example.com/forum. If I set up phpBB as it's own application, outside of example.com, I can get it going just fine on the same IIS server as the ASP.NET app, but when I try to install it as a... | From your description of the problem, I'm assuming PHP is already installed and working on your server if running PHP scripts on another web site than example.com. Ok, two questions here: First of all, which version of IIS? Second one: can you get a simple PHP page to run in your example.com website, or does this resul... | 1 | 1 | 763 | 2010-07-29T18:41:54.727 | database_errors | serverfault.com | |
1,081,126 | Roundcube 1.5.0 upgrade: Internal Server Error | My server updated automatically to this new release of Roundcube 1.5, since then, Roundcube don't show any Inbox mail with the message "Internal Server Error". I tried and searched for possible solutions, but found nothing to solve. Is a Centos 7 with PHP 7.4 and Mysql server. Can you suggest an action plan? | In case using [CODE] , just run these tow commands in ssh: [CODE] In case you install [CODE] manually, this problem will happen if you upgrade to [CODE] and [CODE] not installed and activated, so: Check the [CODE] which your [CODE] run on it, to know it edit [CODE] which located in [CODE] path, and add this line on hea... | 2 | 4 | 5,853 | 2021-10-20T12:19:13.180 | database_errors | serverfault.com | |
333,748 | Domain names timing out after VPS IP change | I rent a CentOS 5 VPS from a UK-based provider, with DirectAdmin also installed. On Thursday night, they carried out planned maintenance to changed the two IPs I had been assigned to two new ones. On Friday, after the change had taken place, I updated my domain name records to reflect the IP change. Since then, all of ... | Have you tried flushing your DNS cache? In windows (as an administrator) try ipconfig /flushdns and see if the problem persists. DNS has a process, called Time-To-Live, which dictates for how long a DNS entry should remain cached at a remote server. Many servers do not honor the TTL and will keep the old entry in their... | 1 | 1 | 370 | 2011-11-22T16:39:26.913 | infrastructure | serverfault.com | |
144,475 | SQL Server Storage for multiple data files | Recently, our company wants to add 4TB on the drive size for SQL Server. We have two drives now which have different size and data files. In order to make sure our SQL Server has the best performance, where should I add those space: G: Drive: 19TB (16 Data files) H: Drive: 3TB (3 Data files) Should I add the space on H... | My Data files are always kept in a separate drive from where the SQL install took place. Therefore, databases like master, model, msdb, and tempdb are always on one drive, while my (user) databases are on (one or more) separate drives. This is not so much for performance reasons as it is for Disaster Recovery/Security.... | 0 | 0 | 559 | 2016-07-20T18:59:11.377 | database_errors | dba.stackexchange.com | |
131,779 | Is it possible to learn maths via programming, or you should learn maths for programming? | I am not the best in maths, not very horrid either, but lower than the average, I've always been thinking to improve my maths, but schools and books didn't do the job because I get bored too fast. The only thing I don't get bored with is coding and gaming, so I thought what if coding a program that solves mathematical ... | You will only learn math or physics from programming if you actually use the programming to solve math and physics problems, although functional languages like Haskell have concepts in them that are very "mathy". I would suggest going to a web site like Kahn Academy or Project Euler . Solve the problems on there using ... | 9 | 15 | 16,940 | 2012-01-25T17:23:11.640 | api_errors | softwareengineering.stackexchange.com | |
791,983 | HTTP over multi-hop ssh | I have access to a linux server via a multi-hop ssh [CODE] This is fine for access through ssh. However I want also to access Apache web server on port 80 of the end server with a web browser. I've found solution without hopping, but I'm not sure how to adapt it. I'm on a MacOS machine EDIT: If I try Tero suggestion, a... | Since one Apache host can host multiple domains, you need to make sure that your browser sends the [CODE] header when making a HTTP connection, or the corresponding TLS header with HTTPS. In order to achieve this, you need to edit your [CODE] file so that it includes: [CODE] Where [CODE] is the domain you want to reach... | 3 | 3 | 9,333 | 2016-07-26T10:25:49.440 | infrastructure | serverfault.com | |
102,007 | SSRS email Subscription Not Working but local smtp is working | SQL SERVER EDITION- 2008 ENTERPRISE EVALUATION EDITION Operating System- Window Server 2008 R2 I've Created Local Smtp to use gmail id for Subscription of SSRS Report by Email as we don't have an Exchange Server. Used this link to Create local SMTP for gmail Below is the Screen Shot of rsreportserver.Config File ERROR ... | It was seriously LOL. I gave NetworkService user full control to mailroot folder residing in C:\inetpub\ and Vola email was sent from localsmtp. I bet if someone has faced this problem and has find any solution like same. Reason OF Solution - login context/User that is rendering report on ReportServer and creating an e... | 0 | 0 | 2,564 | 2015-05-20T08:50:53.520 | database_errors | dba.stackexchange.com | |
839,965 | Send PROXY protocol header from HAProxy | I've probably got lost in the masses of documentation on this subject, but I'm trying to configure my HAProxy process to send the PROXY protocol header as described at http://www.haproxy.org/download/1.8/doc/proxy-protocol.txt . This is because I am having to write support for the PROXY protocol into a C++ server (in o... | After posting on the HAProxy mailing list (haproxy@formilux.org) I got the answer that I need to add either [CODE] or [CODE] to my backend [CODE] definitions. My updated config file has the line: server TestServer01 10.6.186.24:48080 send-proxy ...which sends version 1 of the PROXY protocol. To send version 2, change t... | 4 | 10 | 30,056 | 2017-03-22T16:42:33.093 | infrastructure | serverfault.com | |
227,076 | SQL Database structure to store calculations | I am in the process of designing a database structure to store some calculation information. Information about the problem: Each "calculation" is a collection of scripts allowing to calculate value, target, low limit and high limit. All of those are optional. A calculation script is a string, that will be parsed by the... | I would just have a single table to store the relationships, just add a ScriptType and then you have the classic Entity Attribute Value table. Properly indexed (an example is below) the performance should be pretty good. Then adding additional types is straightforward. Not sure if it makes more sense for you to have th... | 1 | 1 | 445 | 2019-01-14T10:23:51.123 | warehouse_errors | dba.stackexchange.com | |
315,505 | RMAN ORACLE issue | I have the issue when I run the command RMAN as mentioned below : Please any help | My issue is resolved after I added these two parameters to [CODE] : [CODE] | -2 | 0 | 56 | 2022-08-11T11:25:39.317 | database_errors | dba.stackexchange.com | |
280,858 | innodb_autoinc_lock_mode = 2, real danger if not using AUTO_INCREMENT columns | I've got a MySQL RDS database that uses pure generated GUIDs for key columns. The current value of the innodb_autoinc_lock_mode is 1, and due to some performance bottlenecks we want to change it 2. However, in MySQL documentation it says that: If you are using statement-based replication, set innodb_autoinc_lock_mode t... | As far as my understanding goes, if you're truly not using any auto-increment identity fields, then that isn't a concern and you should be ok to switch to innodb_autoinc_lock_mode = 2. The warning is purely about the fact that auto-increment fields can't have 100% guarantee of staying in sync across replicas when inter... | 0 | 0 | 1,872 | 2020-12-03T21:59:06.863 | database_errors | dba.stackexchange.com | |
379,242 | Why do servers go down after a lot of traffic? | I'm working on an iOS app that makes extensive use of databases, where users will be able to sync their data to a server. However, I'm terrified of the event that if too many users start using the app, the servers will no longer be able to handle it. I'm not a server guy at all and am not too familiar with how that wor... | This is a very vague question. They go down because...well, you overload them and they don't have the capacity to handle what you're throwing at them. Think about it this way. If you have a fire, do you put it out with a garden hose, a squirt gun, or a tanker truck? Any of them can put out small fires. Big fires need m... | 0 | 3 | 2,255 | 2012-04-13T16:07:46.653 | infrastructure | serverfault.com | |
750,491 | Zimbra Admin Page White Screen | I'm having an issue where my zimbra admin page ( https://zimbraurl:7071/zimbraAdmin ) is only showing a white page, F12 is giving me this error. I'm running version 8.6.0_GA_1191, I've gone though the typical troubleshooting, no errors in the /var/log/zimbra.log. I have also tried accessing the proxy port directly. Pos... | I was able to fix this by installing zimbra on another machine (vagrant box) and then copy over [CODE] (retaining permissions). [CODE] showed a lot of differences, even though I was running the latest patched version it looks like some items were never updated. I did use the same hostname on the vm as a precaution, it ... | 0 | 0 | 4,770 | 2016-01-20T14:21:21.790 | infrastructure | serverfault.com | |
358,685 | Using local variables vs Making multiple function/method calls | There are situations where we can store values in local variables and work with them. For example: [CODE] Or we can just make multiple function calls to achieve the same thing: [CODE] Which one is better from the performance point of view? | The best way to answer the question is to put both fragments into large-ish loops and time them a few times. The unscientific answer is that it's fairly unlikely (in Java) that they'll differ in performance all other things being equal. During the compilation process, the compiler will likely convert the unassigned met... | 2 | 1 | 1,894 | 2017-10-06T12:11:06.990 | api_errors | softwareengineering.stackexchange.com | |
615,783 | Poor performance executing "cp -al" over a NFS export | I am in the process of implementing a backup of a WD My Book Live Duo. This device is configured with software RAID0. The backup source directory is the root of the device, and the destination is a directory inside the same filesystem (taking appropriate care to avoid recursive copy of the backup files themselves). The... | Have you tried rsync to see if performance is better? [CODE] Reference discussion | 1 | 0 | 1,062 | 2014-07-27T09:50:01.840 | database_errors | serverfault.com | |
906,967 | Can I use failover partner in the connection string for non-mirroring SQL server set up? | I have set up two SQL server instance with IPs say x.x.x.x and y.y.y.y. On the application level when specifying connection to SQL server, can I specify the connection string as below [CODE] I have tried to play around it and however when I manually disable SQL server 1 database, on the application level it seems like ... | Mirroring has been deprecated in SQL 2016 https://docs.microsoft.com/en-us/sql/database-engine/deprecated-database-engine-features-in-sql-server-2016 You will have use SQL availability groups. https://docs.microsoft.com/en-us/sql/database-engine/availability-groups/windows/overview-of-always-on-availability-groups-sql-... | 2 | 3 | 3,818 | 2018-04-10T15:14:15.570 | database_errors | serverfault.com | |
224,609 | How to maintain customer addresses for Orders? | The database I am designing is part of a project I am working on. I have come up with 3 simple "business rules": Customers must either be Individuals or Businesses (a business belongs to a certain type). A Customer must place at least one Order. Orders must contain their historical shipping address (i.e. if a customer ... | You have addresses in 3 tables. Shrink that down to 1. Then have a [CODE] in the [CODE] table and [CODE] in the [CODE] table. Then, [CODE] can be nullable. Do not make all the fields in [CODE] Nullable. (Perhaps [CODE] and/or [CODE] can be left blank -- but make them [CODE] instead of [CODE] . If a Customer is 'shippin... | 0 | 1 | 2,146 | 2018-12-11T03:29:20.433 | warehouse_errors | dba.stackexchange.com | |
314,421 | If no contribute intention, should we never change codes in open source frameworks unless no alternatives available? | Suppose I use a open source framework in my project and I would not contribute (submit changes) to that framework, and the current version is stable, should we keep the framework unchanged when possible? for example, if I found a function in a class of framework does not fulfill my requirements: [CODE] I would wrap it ... | The rule-of-thumb about not modifying frameworks unless you intend to submit the modification back is mostly a pragmatic one: every time you do this you commit to re-applying the modification every time you update the framework to a new version. If you forget to re-apply the modification after an update, or if the fram... | 1 | 2 | 76 | 2016-04-01T02:40:53.820 | api_errors | softwareengineering.stackexchange.com | |
838,628 | 3 SMTP servers on different ip's to one failover ip, is this possible? | Situation: We have 3 separate SMTP servers on 3 unique public static ip addresses [rovided by ISP. We have a new mobile 4g connection with a single static public ip as a possible failover connection. We have a Draytek 2860 ADSL router to handle the incoming main adsl connection where the 3 public static ip's reside. Th... | Yes this is possible, not recommended without considerations Outbound: It is best practice to use all sending IPs always to build a good reputation, in your scenario this may be costly as you will want to send on all 4 IPs, paying a bandwidth fee to emails sent over the 4G connection. You may want to consider using a s... | 1 | 1 | 220 | 2017-03-16T10:35:28.447 | database_errors | serverfault.com | |
134,381 | Using Parameters in OPENQUERY | I have linked server connection named [CODE] . There is a parameterized function in Oracle server where I want to send store codes by OPENQUERY then filter in where condition. : [CODE] When I run the above query with [CODE] , SQL Server throw an error message which is : [CODE] I have tried to remove the lines between O... | I think: this code: [CODE] should be: [CODE] there is a ")" missing at the end | 0 | 2 | 1,750 | 2016-04-05T10:25:18.463 | database_errors | dba.stackexchange.com | |
131,005 | stored procedure can select and update tables in other databases - minimal permissions granted | I recently had to make the stored procedure spPartyOrderAllocation_AllocateItems to select and update tables in other databases, while keeping the pemissions levels to the minimum. This was necessary because an specific application Stock Allocation would connect to the databases and only run this stored procedure. The ... | 1) How could I have done this differently and more effectively? This can be handled better by using what I call "code-based" security, instead of regular "Login/User-based" security. The idea is to essentially grant permissions to one or more modules (Stored Procedures, Triggers, most types of Functions, etc) instead o... | 3 | 3 | 2,774 | 2016-03-02T12:10:17.857 | database_errors | dba.stackexchange.com | |
31,922 | Event ID: 2019, Empty nonpaged pool | I need to troubleshoot Event ID: 2019, Empty nonpaged pool errors. I have found a lot of articles, like http://support.microsoft.com/kb/177415 It sounds that debugging driver-leaks is a labor-intensive affair. Before I dive into it, I would welcome some hands-on tips from people who did something similar recently. TIA,... | The one time this was a problem for me (thanks bad HP/Compaq server NIC driver!) I found that following the procedure in that article wasn't really all that bad, and quickly zeroed-in on the cuplrit. I'd recommend giving it a shot-- it's really not that bad. Once I had pool tagging enabled and let the machine run for a... | 2 | 1 | 3,049 | 2009-06-25T22:50:29.443 | infrastructure | serverfault.com | |
22,704 | Build a three table join with a recusive table in the middle? | I have three relevant tables: Parts, PartGroup, and MarkupGroup. Parts is simple. [CODE] sample data: [CODE] PartGroup is an Acyclic Directed Graph(tree) modeled with a self-linked parent key [CODE] Sample data would look like this- [CODE] MarkupGroup is to apply a markup factor to several PartGroups as a set. [CODE] s... | You can do the recursion in a CTE from the top down carrying [CODE] with you. [CODE] SQL Fiddle The recursive CTE will create a derived table that looks like this. [CODE] If you need parts with partgroup not connected to a markup you can use a outer join against [CODE] in your main query. [CODE] | 5 | 5 | 1,776 | 2012-08-18T02:26:09.483 | warehouse_errors | dba.stackexchange.com | |
1,138,397 | Galera SQL Cluster - reset & rejoin a node | i have a three node galera cluster. one of the nodes (its a passive not active used node) died and mysql is not able to start again on this host: [CODE] i dont want to play around with recovery innodb, etc - i guess the simplest way is to delete this node and rejoin it to the cluster. So my Question is how to "clean up... | solved: 1.) disabled everything with "wsrep" in mysql config 2.) reinitialized mysql (mysqld --initialize) 3.) enabled "wsrep" config again 4.) restarted mysql = sync is running now, state is primary again | 0 | 0 | 425 | 2023-07-21T15:01:57.833 | database_errors | serverfault.com | |
471,595 | What is the mdbs_daemon, and why is it listening on port 800 on my server? | While trying to resolve a ports issue on a staging server, I happened to run an nmap on our production server, and found that port 800 was open: [CODE] I have no idea what mdbs_daemon is - I have googled the port number and the daemon, but can only find a discussion hinting that it is something to do with NFS, but I'm ... | If you have a proxy server installed this could be a port used by squid. But it really could be anything. Use this command to try to identify the service, not just guess it by port number, which is the default behavior of nmap : [CODE] You can also use this to see the program "linked" to the port : [CODE] | 0 | 2 | 8,846 | 2013-01-23T03:26:23.137 | infrastructure | serverfault.com | |
15,423 | Understanding advantage functions | The paper explaining 'Advantage Updating' as a method to improve Q-learning uses the following as its motivation. Q-learning requires relatively little computation per update, but it is useful to consider how the number of updates required scales with noise or with the duration of a time step, At. An important consider... | 1. Why are the q-values of different actions very close to each other for a given state ? I'm going to explain this with a small example. Consider the game of "Catch". Fruits(circular) keep falling from the top of the screen (vertically) and the agent(square) needs to just align itself to the fruit to get the reward. T... | 8 | 11 | 8,164 | 2016-11-29T12:08:58.323 | data_quality | datascience.stackexchange.com | |
35,956 | How to iterate i value in page object model | I need a solution how to iterate value of [CODE] . Actually my test case contain one webtable and table have five column also fifth column contain four buttons. So depending on the first column value(for ex "admin" which is in first row) validate the value and according to that same row fifth column first button i have... | I'm guessing you are interacting with a table like this: https://jsfiddle.net/zvb01a67/ In this case what you would do is: Create a model for the table and extend a generic model of an HTML table. Uniquely identify the table on the page. Automate actions for the business table. Here's how I do it usually in my automati... | 2 | 1 | 1,073 | 2018-10-08T13:35:51.333 | data_quality | sqa.stackexchange.com | |
503,854 | Cisco SFP for single-strand single mode connection over 10km | Is it possible using only Cisco equipment to link two sites approximately 15km apart using only one single mode fiber strand. | I don't think so. All of the single-strand fiber SFP's from Cisco that I know of are limited to 10km. | 0 | 1 | 323 | 2013-04-30T12:24:02.560 | infrastructure | serverfault.com | |
1,021,834 | NGINX configuration for reverse proxy and multiple applications | I'm a newbee of NGINX and it really gives me headaches... I have a server with several services running: confluent/kafka, grafana. Each of these services is reachable via http://:port from other computers in the domain. I would like to reverse-proxy each of these services with HTTPS to increase security so that conflue... | I'd stick to a single server configuration, using a map to define the roots and pools for each hostname. Something like this: [CODE] | 1 | 1 | 1,191 | 2020-06-17T09:28:45.537 | bi_errors | serverfault.com | |
642,749 | Windows login remembering the wrong last user | I have a PC running Windows 7, and use domain profiles for login. The group policies are set to remember the last user who logged on. The problem I am having is that the login screen always shows username "xx001", when the last user was "yy001". User "xx001" has left the company a month ago. Is there way to flush out t... | Resolved the issue myself, and putting my solution here for anyone else who has the same problem. The registry key that holds the last logged in user is at: HKLM\Software\Microsoft\Windows\CurrentVersion\Authentication\LogonUI It looks like this key wasn't being updated when a new user logged in (not sure why not). I u... | 2 | 1 | 5,537 | 2014-11-07T14:41:15.377 | infrastructure | serverfault.com | |
1,000,548 | Gitolite 502 when trying to clone/fetch any repo over http | I am trying to configure gitolite to work on nginx with gitweb. And despite gitweb working flawlessly and recognizing all the access control functionality provided by gitolite, I can't seem to be able to access the repos themselves over http. For example, when I try to fetch a repo, I get: [CODE] My current nginx confi... | Well, the solution was just 1 step away. [CODE] parameter just needs to point to [CODE] instead of [CODE] And that's it. Both gitweb and git function perfectly and respect the permissions set in gitolite.conf. | 1 | 1 | 180 | 2020-01-27T12:38:47.257 | infrastructure | serverfault.com | |
726,293 | Postfix on server bouncing emails sent to same domain emails, external domains working | My @example.com email is hosted with Google Apps. I am able to send & receive email to all 4 accounts I have created for @example.com. I also own www.example.com. The issue is not being able to send emails to ones ending with the same domain, @example.com, persists. I have switched settings in contact forms to point to... | You really got configured the MX dns entries of "example.com" domain at google apps, as you can see: [CODE] The fact is you got the same domain name configured in the postfix mail server, so when postfix tries to deliver the email to this domain (example.com), it does LOCAL delivery (the e-mail does not go outside your... | 1 | 2 | 1,331 | 2015-10-02T14:17:54.577 | infrastructure | serverfault.com | |
912,109 | Accidentally deleted /tmp/systemd-private-015eb2a30-apache2.service-9h6i | I accidentally deleted [CODE] from my /tmp folder: [CODE] and didn't mean for it not to disappear permanently. I was sure it would get displayed back again. This makes my code break since it's not finding the secured folder to write files to it. How do I return the file back again? I tried creating the directory again ... | Restarting Apache should recreate it (with a slightly different name). Assuming Debian/Ubuntu: [CODE] | 5 | 23 | 4,588 | 2018-05-14T11:10:59.507 | infrastructure | serverfault.com | |
359,069 | How can I inform my team when components are ready for integration? | My team is developing a system with embedded and Windows components. Currently we have seperate repositories for the Windows and embedded platforms. The rest of the team have concerns that there is not enough visibility of the current branch status to make assesments about user story completeness. The goal is to perfor... | If you don't want to add a new tool then use what you have. I like that task descriptions are editable in most ticketing tools. Task : 54328 - Make "Number of Dependents" spinner stop allowing negatives. Description Spinner fails to prevent negative input. Disallow this before user can click OK. [CODE] | 3 | 3 | 293 | 2017-10-12T21:14:04.100 | api_errors | softwareengineering.stackexchange.com | |
1,033,657 | Bash: Checking if can sudo on remote host using sshpass; how 'exposed' is the password? | I am using bash script below to test whether [CODE] is available on a remote host. I'm obtaining the password from user input. I understand (to a limited extent) that using passwords inside a script will involve security trade-offs, so I have a question about a particular aspect of this. Please see script below, which ... | While it doesn't look like it, the password is actually exposed on the local and remote server. The reason in both cases is that it is part of the command line of the processes, either [CODE] or the more implicit [CODE] as outlined below. When you run a command via [CODE] , the command part is passed to the login shell... | 0 | 2 | 3,245 | 2020-09-12T15:31:38.837 | infrastructure | serverfault.com | |
66,657 | Postgres: how to use subquery correctly? | I have the following query [CODE] Resulting in: [CODE] I want to use the buffer created on the subquery to select features from the main table. Probably there are better ways to do this, I am open to suggestions. | Since you haven't shown the data, table defs, explained the problem, etc, I can't really show a specific query. The general idea is to use the subquery in [CODE] with an alias, like: [CODE] | -2 | 0 | 2,515 | 2014-06-05T13:54:58.320 | warehouse_errors | dba.stackexchange.com | |
72,124 | Slow smtp-server at GoDaddy for VPS - alternatives? | A client runs a VPS at GoDaddy, and they tell us to use k2smtpout.secureserver.net for our web-apps. But it usually takes 10-15 minutes to send an email, which is totally unacceptable. Is anybody using other options from GoDaddy hosting - what are my options? | GoDaddy support gave me another smtp-server to use: p3smtpout.secureserver.net And that works much faster, email is just seconds underway. | 1 | 1 | 3,241 | 2009-10-07T12:53:02.340 | infrastructure | serverfault.com | |
389,704 | Cutting an UTP cable while it's plugged in | I have an UTP cable coming from a router far, far away. The plastic part which keeps it from falling out of the socket was damaged, and I intend to replace it. Is there any danger of cutting it while only disconnecting it from my part, and not following and disconnecting it on the other end (which is very hard to be ac... | It sounds like you'd have the same problem as if you tried to plug a wrong cable in (like a console cable), any reasonable network card should just discard the data as complete crap (which it would need to do anyway if you had a regular short or background noise) Especially if you're unplugging one side, you're already... | 20 | 18 | 14,436 | 2012-05-16T15:44:37.303 | infrastructure | serverfault.com | |
71,050 | Glassfish Vs Tomcat (Java app servers) | I am looking at running a java application server on my debian linux webserver, and am looking for a breakdown of the advantages that using either app server would provide me with (or disadvantages). I am using apache 2 as my webserver and have no problem using a non-free appserver if it will provide a better environme... | Glassfish is an application server as it handles EJB requests (EJB Container) while Tomcat is a Web Container - it can't handle EJB components. So, what are the components of the application you plan to run. If your application uses Servlets and JSPs, then GlassFish is an overkill. If you have EJBs then you can't use T... | 5 | 6 | 5,533 | 2009-10-03T19:00:08.680 | infrastructure | serverfault.com | |
210,190 | How to specify the path of an attachment stored on a different computer in the same network | I'm trying to send an email through SQL Server. The sp_send_dbmail has a parameter to specify the path of a file to send as an attachment. It works perfectly when the file is in the same server where SQL Server is hosted. However, I need to send a file that is stored on another server or computer in the same network. H... | Using an administraive share, such as C$ means the SQL Server Service Account needs to be a member of the remote machine's local Administrators group. Instead of using the drive's administative share, create a new share at the folder where the file exists and ensure the SQL Server Service Account has access to both the... | 1 | 1 | 4,319 | 2018-06-20T22:34:41.273 | database_errors | dba.stackexchange.com | |
51,600 | Problem building dictionary from series | I have a pandas dataframe with a column CAS_BRM_IDA of type category (even if its values seem of foat type ... but they are not meaningful per se) I built the following serie from that dataframe : [CODE] Result displayed : [CODE] I then tried to build a dictionary using that serie : [CODE] But I got the following error... | Try the intrinsic pandas conversion: [CODE] | 1 | 2 | 48 | 2019-05-08T09:34:09.150 | data_quality | datascience.stackexchange.com | |
904,603 | I can not boot my VHDX which was created from physical drive | I need to migrate my Server 2012 R2 Fileserver (physical) to another Server (virtual). That's why I need to create VHDX Files to run them later in Hyper-V All my drives were no problem, except the C Drive. Whenever I boot the created C Drive, I get this error: If I simply open the VHDX on my filesystem, or on any serve... | I suggest [CODE] or [CODE] while booting the VM with the disk attached, but to write a bit more for my tip in your case, as I seen your C drive is actually the E drive, check [CODE] please too; Boot the virtual machine from the correct Microsoft Windows installation media (Correct architecture and version of the operat... | 3 | 1 | 9,677 | 2018-03-26T11:29:26.757 | data_quality | serverfault.com | |
27,138 | How to correctly resize input images in a CNN? | I have a training set composed of images having different width and height, I need to resize them to a fix dimension nxn or nxm before passing them as the input of a [CODE] . I would like to know which parameters I need to take into account for correctly choose the new scaled dimensions n and m . | I have a suggestion for you. Maybe not complete enough to be a complete solution but that is exactly what I've experienced. Suppose that you have writings in a paper and the paper is a part of a scene, or you have boys with nice mustaches which are beside a wide scene. In such cases which you have special information w... | 3 | 1 | 6,638 | 2018-01-28T09:56:24.757 | data_quality | datascience.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.