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 |
|---|---|---|---|---|---|---|---|---|---|---|
51,897 | Fast lookup for organization hierarchy | I need a way to implement a fast lookup algorithm / system to find users very quickly in a multi-level department and multi-level employee/manager relation organization structure. Departments can have any level of departments and users directly connected to departments. User are connected to departments and other users... | I'm more than sure that on this scale (2000 users) pretty much any data structure that allows sequential access will do just fine (provided everyting's in memory, of course). What's even more, do you really need to invent complex lookup structure where a simple list will suffice? Make It Work Make It Right Make It Fast | 0 | 1 | 1,853 | 2011-02-25T13:12:08.533 | api_errors | softwareengineering.stackexchange.com | |
3,068 | What Are Some Unobvious Differences Between Testing a Web Application and a Desktop Application? | In the same flavour of this question , what are some unobvious differences between testing a web application and a desktop application? I've recently started looking at automating some GUI tests for a web app using SilkTest. There are some subtle differences between automated GUI testing between web and desktop apps, s... | Desktop software usually requires installation. Web applications usually do not. But web applications are sometimes expected to be running 24x7. This can make upgrades and maintenance more of a challenge to plan and execute (and thus test) In addition to browser versions mentioned by others here, you may need to worry ... | 7 | 9 | 1,525 | 2012-05-01T01:21:50.433 | data_quality | sqa.stackexchange.com | |
1,029,490 | Running your own email-server for multiple domains on single IP | I'm doing a little research on how you can run your own e-mail server for your domain. I know that you can use Zoho, or gmail, or any other alternative. However, I'm wondering if it's possible to do it on your own - especially for a non-busy domains. Disclaimer: I am not in an unsolicited e-mail business. I'm using the... | It really is best to have the PTR record and SPF record for your domain. the MX records should also be tight where possible. Many big hosts will delay or block you as spam without correct domain settings. I use mxtoolbox.com to check my domains when setting up mail servers etc. If it passses on all checks there - then ... | 0 | 1 | 1,260 | 2020-08-10T08:56:48.913 | infrastructure | serverfault.com | |
87,358 | One hot encoding of target variable containing classes 1 to 9 not including zero | While predicting a solution for a sudoku puzzle using CNN, the target variable should predict values from 1 to 9 for all the 81(9*9) values in the puzzle. Hence the target value shape is (81,9). Using keras.to_categorical to convert target variable from (81,1) to (81,9) shows error. to_categorical takes argument y whic... | I don't know it this is an optimal approach. The natural way to solve a SUDOKU with computer science is Linear Programming. I am curious if a CNN will solve the problem. Can you add +1 or -1 in the post processing / pre processing of the predictions? It will be the easier way to solve it. | 3 | 1 | 62 | 2020-12-30T18:55:50.803 | data_quality | datascience.stackexchange.com | |
322,931 | Is there any configuration not to use index merge in mariadb, if a cardinality of an index is below than that? | There is a table have 2 indexes, called state and CATEGORY, which has a very low cardinality respectively 4 and 24 within 7,110,590 rows in the table. When running query of select statements that includes above 2 indexes in where clause, an optimizer try to index merge, Using intersect(state,CATEGORY), that is less eff... | "Using intersect(state,CATEGORY)" almost always inplies that you have single-column INDEXes on each of those two columns. Replace [CODE] with [CODE] . That will get rid of that [CODE] and speed up the query. ( [CODE] is a different story.) If you need further discussion, please provide [CODE] and the full [CODE] Meanwh... | 1 | 0 | 155 | 2023-02-02T09:27:31.320 | database_errors | dba.stackexchange.com | |
1,033,320 | Cannot open Lotus Domino Designer Database | I've been given access to [CODE] through RDP. I need to write some LotusScript for my migration project. Now, when i can open [CODE] , and when i select some database - there is no reaction to "Open" button. That means, whenever i click "Open" button nothing is happening. To clarify: i wont open any database - Local an... | You can try this method. You normally have 3 clients (Admin, Designer and Notes) Close all your opened client exept the Notes client Go in the Notes client and open the database (If you don't have enought rights you will see here) when the database is open go in view > agent and it switch automatically to the designer ... | 0 | 0 | 441 | 2020-09-10T09:02:16.397 | infrastructure | serverfault.com | |
133,326 | Postfix: How do I Make Email Aliases Work? | The documentation claims that I can add aliases in a file (like /etc/postfix/virtusertable) and then use the "virtual_maps" directive to point to it. This does not appear to be working, however. My mail is bouncing with: [CODE] If I mail the user from the server using the mail command, it works. [CODE] The message goes... | Local aliases go into [CODE] (not in [CODE] ) in the following format: [CODE] . After that run [CODE] . | 14 | 25 | 73,489 | 2010-04-17T07:52:42.077 | api_errors | serverfault.com | |
287,450 | mysql: ERROR 1040 (HY000): Too many connections and can't restart because of Error: 28 (No space left on device) | My app crashes because there are too many connections open and mysql does not make me log in as root showing the same problem. After restarting mysql, it does not restart because of no space on disk | here there is a full guide on how I solved the issue: I tried to log in as root with the command: [CODE] But it did not work for me, mysql kept giving the error: [CODE] After some searches I tried [CODE] This way stopped mysqld, which wasn't able to restart because at the same time my disk was full and receiving: [CODE... | 0 | 1 | 750 | 2021-03-21T22:48:35.770 | database_errors | dba.stackexchange.com | |
196,775 | Win2k3 SBS, WSUS update "stuck" waiting to be approved or declined | I have a weird issue, which I think may be related to a disk issue, but I haven't been able to prove this, so before I do something draconian (reinstall, which is a PITA), I'm hoping someone here can help. I have win2k3sbs installed from a leftover license my employer has of an Action Pack subscription, and it was give... | Try running the WSUS cleanup wizard - that fixes many weird and wonderful problems for me. Also, does the Application event log give you any more clues as to what's going on? | 1 | 1 | 278 | 2010-11-01T03:35:47.547 | data_quality | serverfault.com | |
752,074 | FSRM File Screening: allow to delete old files | As a result of a new company policy, I've to apply File Screening for audio and video files on the corporate NAS, specifically on the profiles of the users . I've made some tests, and it works perfectly, except for the users not being able to delete their old files, as the new policy asks them for. I guess this a "it's... | It was not the users were not able to delete their files, but they were not able to send those files to the Recycle Bin! From the perspective of the FSRM, the users were trying to MOVE files from one location to another, WRITING them in a location which was forbidden, not allowing that. Actually deleting the files (cap... | 0 | 0 | 534 | 2016-01-27T11:06:14.523 | infrastructure | serverfault.com | |
147,566 | How would you create a mobile (android) offline wiki site? | My apologies in advance if this is not a good forum for this question; pointers to others happily accepted. On the off chance it matters, I'm not going to commercialize this idea or anything; if anything in here is interesting to you, use it as you see fit. My basic problem is this: My favorite place to do non-code wri... | I had the similar needs on Note PC (in my case) to record my text on offline situation so that I created the tool (Please visit http://sourceforge.net/projects/jjjuli/ If you are interestd in). I don't have mobile-gear so that I am not sure how the Juli fits your needs, however, there looks like 'git'(one of major revi... | 2 | 1 | 1,645 | 2012-05-07T08:56:32.857 | api_errors | softwareengineering.stackexchange.com | |
858,564 | Problems connecting to a freeIPA client host via ssh | I am trying to set up an IPA environment with a CentOS 7.3 server and clients and I am experiencing a behavior that I am not able to understand. I am using IPA version 4.4.0. I was able to run [CODE] on the server and [CODE] on the client without any problems. Then I added a new user [CODE] in addition to the already e... | You should not use [CODE] in parallel to [CODE] . Why do you have it configured? | 2 | 1 | 4,802 | 2017-06-29T14:12:47.687 | infrastructure | serverfault.com | |
316,892 | How can I make queries on skewed datasets more performant on Postgres | I have a seemingly simple query that's unfortunately extremely slow. I believe that I know why it is slow, but not how to make it fast, so I'd like to see how this could be improved. let's call the table in question "PriceHistory", which tracks the "price" (number) for a "productId", has millions of rows, and thousands... | Your are correct, the planner doesn't know how the rows are bunched up, so chooses the wrong index. You can force the planner into using the better of the two suboptimal indexes, as Laurenz has suggested. But it would probably be better to just provide the optimal index, which would be on [CODE] | 1 | 0 | 282 | 2022-09-14T16:26:31.267 | database_errors | dba.stackexchange.com | |
57,150 | Linked Server Has Run Out Of Memory | So I have a stored procedure that calls an AS400 Linked server. Now, the stored procedure will execute successfully. However, it is used in a SQL Agent Job and each time the job runs, it gives the [CODE] exception. Why does the fact that it is running in a job environment make it differ from running as the raw SQL code... | Developed a workaround to call the stored procedure from a batch file and execute it through the command line. Details can be found here , summary below: I researched this profusely, but to no avail. The few solutions I found were too risky to attempt on a production machine, so I conjured an alternative method. I crea... | 1 | 1 | 840 | 2014-01-20T15:35:22.340 | database_errors | dba.stackexchange.com | |
16,213 | Pass variables form current shell environment to the node app | Please help me somebody with passing variables to node app. Given: node app on ubuntu package.json contains [CODE] The app is started with command npm run start Problem: the app requires a ton of environment variables the app runs on the server so i am not using .env file variables are exported in the shell so i can ve... | Ok i figured it out. I simply forgot to export the variables that were declared in the current shell. | 0 | 0 | 424 | 2022-07-04T06:07:17.597 | pipeline_ops | devops.stackexchange.com | |
334,156 | API Gateway security (for microservice architecture) | we have started with microservices recently, but we have some problems with implementing the Security layer. The idea is that the request comes to Gateway, the Gateway looks to authorization header, it validates user, create JWT token and then sends request with info about user to another microservice internally. The m... | "The idea is that the request comes to Gateway, the Gateway looks to authorization header, it validates user, create JWT token and then sends request with info about user to another microservice internally. The microservice is reachable only internally, therefore it trust the JWT token." This is wrong. the JWT token sh... | 4 | 6 | 1,637 | 2016-10-20T13:49:39.503 | data_quality | softwareengineering.stackexchange.com | |
810,858 | Clients unable to connect to DA-server | I just setup a new server for directaccess. This domain previously had directaccess but it has been removed if it makes any difference. Anyway, everything is green checked in server manager. Public certificate is installed and I have checked externally that ports 443 and 62000 (same server is hosting NLS) are open. On ... | This is a bit old but I'll throw this out anyway in case anyone else comes across this issue. I see this all the time when people first setup their DA with an auto generated cert then later choose to use their own public cert. In your example you state "Public certificate is installed". And yet "Client authentication m... | 0 | 0 | 4,356 | 2016-10-24T08:20:01.713 | infrastructure | serverfault.com | |
140,818 | Why won't IIS serve my website? - 404 Page Not Found | Built a brand new server, with a fresh copy of Windows Server 2003 x86 Enterprise Edition w/SP2. Installed the .NET Framework 1.1, 2.0, 3.5, and 4.0 Added the "Domain Controller" and "Application Server" roles. Created a new website, pointed it to a local directory: [CODE] Added the appropriate host headers: angryoctop... | Based on the log file, you are getting a 404.2 error message. This typically means "web service extension lockdown policy blocked the request". Since you are trying to load an ASPX page, go into IIS manager and go to the "Web Service Extensions" category. Ensure that the ASP.Net extensions are Allowed. | 1 | 2 | 24,997 | 2010-05-11T19:53:11.720 | infrastructure | serverfault.com | |
279,997 | why does mysqldump restore to a smaller size? | I am using MySQL and mysqldump v8.0.19 on Windows 10. I have an InnoDB database, [CODE] . I use mysqldump (and the [CODE] option) to dump its tables. I then create a new database, [CODE] , and import the dumped tables with [CODE] This procedure seems to work in the sense that the tables in [CODE] and [CODE] seem to hav... | InnoDB stores records inside pages (by default each page size is equal to 16 KB). For different reasons you may have partially filled pages (for example, after you deleted some records). When you restore database using mysqldump your rebuild tables from scratch and receive less fragmented version of your database. You ... | 4 | 5 | 1,656 | 2020-11-19T23:36:43.410 | database_errors | dba.stackexchange.com | |
203,863 | Modelling a resource that may not be part of the parent resource | I am designing an API and am having a couple of problems with certain parts of the resource modelling. I have the notion of a [CODE] which as a collective form a [CODE] : [CODE] Pretty basic and i am not overly concerned with the above. [CODE] cannot exist outside the context of a survey hence the hierarchy. Where i am... | Sounds perfectly reasonable. In a hypermedia-driven service, the form of your URLs is not really important. You could also have a flat structure: [CODE] Or just use global ids: [CODE] The hierarchy you've proposed conveys much more useful information about the identity of your resources and their relationships than eit... | 2 | 0 | 97 | 2013-07-05T18:31:18.253 | api_errors | softwareengineering.stackexchange.com | |
180,726 | REMOTE_USER through Apache reverse proxy | I have an Apache webserver with mod_proxy enabled and a Virtualhost, proxy.domain.com. This proxy is configured to prompt the user for credentials with AuthType Basic. Then, the content of web.domain.com is available through the proxy with ProxyPass and ProxyReverse. However, the REMOTE_USER variable is empty. I read d... | This is possible with mod_headers, mod_rewrite, and mod_proxy. On the proxy, I assume you have your authentication working and setting REMOTE_USER appropriately. If so, then put the value of REMOTE_USER into a Proxy-User header to the backend like this: [CODE] Here's what happens: The RewriteRule fires for every reques... | 7 | 14 | 30,481 | 2010-09-13T20:56:50.460 | infrastructure | serverfault.com | |
302,172 | Cannot script stored procedure while restoring another copy of current db | I have some large DB that I need to restore to another db from time to time, this process take some time to conclude. The annoying thing I found out in last version of SSMS is that I cannot script any sp of the current db while I do this restore. In my case I have the current db named [CODE] that is online and is in us... | Maybe you can use [CODE] stored procedure. Microsoft documentation | 1 | 0 | 239 | 2021-11-05T10:43:50.380 | database_errors | dba.stackexchange.com | |
941,312 | RHEL "el7" vs "el7a" on packages? | I have built an RPM on RHEL7 ppc64le and it got the suffix "el7a" as opposed to "el7" which I expected. Why is that and what does the "a" stand for? | You get el7, fc29 and other values from [CODE] variable defined in the rpm spec file. [CODE] values are generated from [CODE] file. | 2 | 1 | 339 | 2018-11-23T08:48:36.007 | infrastructure | serverfault.com | |
128,070 | COPY in TSV data enclosed by quotes; treat empty strings as NULLs | I have a TSV file like this, except with many more columns: [CODE] I'm trying to [CODE] this file into a table and have empty cells (i.e. [CODE] ) be interpreted as NULLs, which fits the semantics I'm looking for. I can't seem to get Vertica (7.2) to do this simple thing without having to repeat a lot of code for each ... | I do believe is the delimiter E'\t' , try to replace it. It worked for me. i made the file a csv by using the command bellow. [CODE] Here is an example: Copy the initial you did it copy public.bla FROM LOCAL '/tmp/bla' DELIMITER '|' ENCLOSED BY '"' SKIP 1 ; Rows Loaded 0 (1 row) - Load using the | instead of \t : [CODE... | -1 | 0 | 3,293 | 2016-02-02T21:14:54.623 | warehouse_errors | dba.stackexchange.com | |
692,698 | Clients cannot connect to internet | windows server 2003 is allocating DHCPs | I have a Windows Server 2003 which gives DHCPs to all other devices. I am using TP-Link MR 3220 as the WIFI-Router. The problem is that after 20 devices are connected to the Internet and the server, I cannot connect my other devices to the internet nor to the server through WIFI. But when I try to connect through a LAN... | Windows and your wifi router may not be the problem. What are the limitations of the actual 3g/4g device giving your wifi router internet? | 0 | 0 | 94 | 2015-05-18T09:12:03.567 | infrastructure | serverfault.com | |
945,834 | Refused to frame '' because it violates the following Content Security Policy directive: "frame-src *" | I have found many solutions to various situations with "refused to xyz" due to Content-Security-Policy Settings. However I can't seem to find what might be wrong if [CODE] gets refused. The literal error message in the browser is [CODE] It only happens in Chrome. Loading the page in Firefox or Internet Explorer works j... | Had exactly that problem today. I solved it by using [CODE] Btw. '*' is only a wildcard for urls. data: 'unsafe-inline' and 'unsafe-eval' have to be added individually. | 14 | 10 | 47,670 | 2018-12-18T14:55:44.540 | infrastructure | serverfault.com | |
235,484 | What is the permission necessary to drop a service in service-broker? | When I want to drop a service which is already created, this error happens: [CODE] My sql query to perform drop operation is: [CODE] So, the main question is: What is the permissions necessary to drop a service in service-broker? | After I post this question, I just found my answer with some tricky way. I went to the left object explorer and delete the contract with it. but instead of submitting the form I click on the script button which produces the scripts. It was my mistake to drop a contract with [CODE] command. so the correct query to drop ... | 1 | 1 | 121 | 2019-04-23T14:25:53.443 | warehouse_errors | dba.stackexchange.com | |
450,372 | How to do safely test Biztalk app by manipulating the Windows OS system time w/o breaking the Active Directory? | i have a biztalk - window service tied middleware application which talks to other system. recently we had a request to test for scenarios which relates to the date. as we have a lot of places in the application which uses the .net Datetime.Now value, we don't really want to go into the code level and change all these ... | One thing you can try is to disable Kerberos authentication and see if NTLM auth will work for your testing. NTLM auth does not have the same time sync requires and might get you what you need. For date testing of mission critical systems I've always setup a test domain that was isolated from the normal production Doma... | 0 | 0 | 215 | 2012-11-20T07:22:06.877 | infrastructure | serverfault.com | |
737,922 | Where can I get libcgroup and policycoreutils-python from on CentOS7? | I have a VM created from Vagrant [CODE] . I'm trying to install docker , but it doesn't work. I tried with a SaltStack minion and just [CODE] and [CODE] . But it tells me that it can't find these dependencies: [CODE] I don't think either of the suggested solutions will do what I need. I've Googled around but all I get ... | It should be in centos base repository (not updates repository). You probably disabled it. Look at /etc/yum.repos.d/* and set [CODE] If you cannot find it, this is probably what you need (if you use stock hardware): [CODE] | 2 | 1 | 5,030 | 2015-11-20T22:02:26.673 | pipeline_ops | serverfault.com | |
733,259 | Installing subversion debian jessie last version | I just installed the subversion package : aptitude install subversion. My problem is this installs the version 1.8 which is not the last (1.9)... Why ? Thanks. | Presumably you're installing from the Jessie Debian repositories. Debian Jessie, being the latest stable release of Debian, only serves packages which it deems to be stable . You can read more about this here . Currently, Debian Jessie (stable) ships with Subversion 1.8.10-6+deb8u1 whilst Debian Stretch (testing) ships... | 2 | 6 | 1,135 | 2015-11-02T12:52:18.560 | infrastructure | serverfault.com | |
642,315 | Is the gang scheduling employed by VMware a serious drawback? | I was reading some technet articles as well as this one regarding the differences between the way VMware and hyper v doing CPU scheduling. I was wondering if I could get some objective info on this. It would seem that the gang scheduling used by VMware is a HUGE disadvantage, but I don't want to just drink the coolaid.... | Like chanting Bloody Mary into a darkly-lit bathroom mirror, let's see if we can get Jake Oshins to show up... Gang scheduling is also referred to as co-scheduling. I think VMware prefers the term co-scheduling to gang scheduling. In ESX versions prior to version 3.x, VMware used "strict" co-scheduling, which had the s... | 16 | 22 | 3,583 | 2014-11-05T20:59:05.383 | infrastructure | serverfault.com | |
315,890 | How to change all similar rows in PSQL if one value is changed? | I have a table like this: name email domain rank contact 1 email website.com null contact 2 email website.com null contact 3 email website2.com null The first two contacts are from the same domain. When I change [CODE] to "ignore" (it's a varchar) for contact 1, I want contact 2, which is from the same domain, to also ... | This doesn't answer the question about the trigger, but I think the better solution is to normalize your data model: [CODE] You can create a view that shows the domain information as in your current design: [CODE] As soon as you update the [CODE] table, all rows in the view [CODE] will reflect the new rank. | 0 | 1 | 64 | 2022-08-22T09:13:43.947 | warehouse_errors | dba.stackexchange.com | |
3,910 | MySQL Event does not run | i am running [CODE] that came bundled with [CODE] on windows. the problem is that the event doesnt run automatically even when the [CODE] is [CODE] . i have a table named [CODE] using [CODE] and it has 4 fields one of which is [CODE] with a [CODE] type with default value of [CODE] . this field [CODE] is given the value... | I did some real digging in the bug list for event scheduler issues. It seems that a certain time calculation for the event scheduler was not portable . This bug was fixed as of MySQL 5.1.48 (Fixed June 2, 2010). There was a past issue about SHOW EVENTS not getting events from the correct database . This bug was fixed a... | 4 | 5 | 23,243 | 2011-07-17T21:10:03.637 | database_errors | dba.stackexchange.com | |
141,750 | Ensure a Row is unique on insert | SQL Server simple problem - ensure that only 1 batch is active at one time. Each batch has an assigned BatchID# - however that ID# might not be unique if a batch is re-run at some point. However, for a given ID# there should only ever be one "active" batch - that is only one batch with BatchComplete equal to NULL. So t... | I don't have access to SQL Server so I googled the syntax for generated columns, but there's probably syntax errors in here anyhow. The idea is to use a generated column that has a unique value (BatchNumber) whenever BatchComplete is not null, and a non-unique number (BatchId) otherwise: [CODE] If BatchComplete IS NULL... | 1 | 1 | 213 | 2016-06-20T19:18:12.127 | database_errors | dba.stackexchange.com | |
203,498 | RDC is fast to host, slow to VMs (Hyper-V) | Why is remote desktop so much faster (clicking UI elements, dragging/dropping, even the Start Menu opening/searching!) to the HOST OS, instead of to its virtual machines? With several servers that I've connected both to the HOST OS and Guest OS in many Hyper-V setups, the virtual machines all seem very very slow while ... | Disable 'IPv4 Checksum Offload' on the virtual network adapter: https://nicholasrogoff.wordpress.com/2010/09/24/ The virtual network switch in Hyper-V Server 2008 R2 supports syntetic and legacy interfaces. The syntetic nics will perfom better than the emulated legacy type, but it requires Hyper-V Integration Services ... | 4 | 4 | 6,023 | 2010-11-18T16:41:59.250 | infrastructure | serverfault.com | |
209,288 | MongoDb BI connection issue | I am trying to configure the MongoDB BI Connector. I have installed mongodb-bi-win32-x86_64-v2.5.0.msi Mongodb version is 3.0.15 1.Started mongod mongod --dbpath d:/data1 --auth Started mongosqld mongosqld --auth --mongo-username xxxx --mongo-password xxx --mongo-authenticationSource admin I am getting the following er... | Your mongod version is too old... For 2.5 BI connector As said here ! The MongoDB Connector for BI and associated utilities are compatible only with MongoDB server version 3.2 or greater. | 0 | 1 | 899 | 2018-06-11T11:32:21.323 | api_errors | dba.stackexchange.com | |
31,871 | Element not visible on IE 11with nightwatch | We are using Nightwatch and working with Page objects. The tests are running without any issue on Chrome but element cannot be found on IE 11. We use css selector and custom tags (named data-testid) to call each element. IE 11 is starting correctly and loading the login page but cannot find any element on the page. Doe... | It might be an issue with the version of IEDriver. Try to downgrade to stable version and try again. Try the following commands: [CODE] or the same but for [CODE] | 0 | 1 | 421 | 2018-02-02T20:55:08.973 | data_quality | sqa.stackexchange.com | |
164,380 | Resolving on Dual-NIC with non-recursive DNS on internal side and recursive external DNS | Let's say I have an internal LAN (LANA) with AD/DHCP/DNS, isolated from the internet with no default gateway. Its DNS Server DNSA is thus non-recusive. A few of the servers also have a second NIC to a seperate LAN/Subnet (LANB) which does have a default gateway router/firewall to the internet. Accordingly they also hav... | I have a similar setup with my TS servers, each has two NIC cards, one connected to the internet with a DG (configured to not register in DNS) and one connected to the LAN without a DG (configured to register in DNS). The problem is that both NIC's use the same set of recursive DNS servers for internal and external DNS... | 0 | 1 | 994 | 2010-07-27T09:43:46.130 | infrastructure | serverfault.com | |
2,582 | Consequence of Feature Scaling | I am currently using SVM and scaling my training features to the range of [0,1]. I first fit/transform my training set and then apply the same transformation to my testing set. For example: [CODE] Let assume that a given feature in the training set has a range of [0,100], and that same feature in the testing set has a ... | Within each class, you'll have distributions of values for the features. That in itself is not a reason for concern. From a slightly theoretical point of view, you can ask yourself why you should scale your features and why you should scale them in exactly the chosen way. One reason may be that your particular training... | 11 | 6 | 2,157 | 2014-12-02T16:19:19.043 | data_quality | datascience.stackexchange.com | |
13,804 | IV&V relevant Quality metrics | We are in the IV&V phase of a web application, which is being developed and tested by a completely separate team. So, the client for which we are working has two vendors one which is developing and testing the software and other is ‘We’ the IV&V team. As a part of this team we are not concerned about their internal pra... | Are these metrics relevant for me when I am doing IV&V of a project? The point of IV&V is to have someone look at your project with a fresh pair of eyes and report anything that doesn't match the outlined requirements. This 3rd party wont need anything besides the list of requirements, really. Just think, do they care ... | 1 | 1 | 178 | 2015-07-14T18:24:20.703 | data_quality | sqa.stackexchange.com | |
1,054,972 | How can I block all traffic to PlayStation network? | Guys I have multiple servers with OpenVPN installed on them and they are all getting suspended left and right due to abuse reports from PlayStation network . Now , I'm assuming that my VPN clients are trying to crack PlayStation accounts , right ? What I'm trying to do is to block VPN traffic to all PlayStation URLs . ... | A third party Linux kernel module xt_tls provides the capability to match the hostname in a TLS Server Name Indication field, thus you can interrupt https connections to specific hostnames. For example: [CODE] See the module's documentation if you need to block a large list of hosts. Note that Encrypted SNI will eventu... | 1 | 1 | 757 | 2021-02-25T04:57:42.273 | infrastructure | serverfault.com | |
805,834 | NGINX not proxying to the right server? | So, I have set up a reverse proxy server and it does it fine for one domain (webmin.norxxxxx.com), but I'm also trying to make a proxy to another IP on the domain norwhales.com, but every time I go to https://norxxxxxx.com (HTTP not set up yet), it's acting like the host was webmin.norxxxxxx.com. (I know about the SSL ... | Solved! Turns out nginx bugged out, and a server restart fixed it. Silly me who didn't try this the first time. | 0 | 0 | 238 | 2016-09-28T11:16:40.093 | api_errors | serverfault.com | |
551,545 | VPN Connection Causes Internal LAN Connection Loss with Server | I've tried configuring basic PPTP VPN at my small business using a number of different tutorials. As far as I can tell, the actual VPN connection worked fine, but upon connecting a client, the Server 'disappears' from the internal LAN. The RRAS service must be stopped before the connection is restored. My Setup: The ne... | I had a similar issue with RRAS in the past. Disabling (not stopping) RRAS and then running "Configure and Enable RRAS" wizard again, choosing "Custom" and then ONLY "VPN Server" solved the problem back then. Please note that you must choose the "Custom" option in the wizard, as other options assume you have at least 2... | 2 | 1 | 9,499 | 2013-11-08T02:39:53.730 | database_errors | serverfault.com | |
1,015,297 | MariaDB service doesn't start | I tried to restart it but still doesn't. I've been seeing some post but don't is the same problem. The server is CentOS Linux release 7.5.1804 (Core) The output o systemctl status mariadb is: [CODE] The output when I try restart it is: [CODE] The output of 'journalctl -xe' is: [CODE] | From the information provided it is not clear what is the root cause of the problem. You can see in the output of [CODE] that the command [CODE] failed when starting the service. I guess in most cases this is related to permission problems and/or misconfigured paths in the mariadb config. For further debugging I would ... | 0 | 0 | 1,038 | 2020-05-02T11:15:49.093 | database_errors | serverfault.com | |
269,758 | Clearing plan cache improves performance - bad plans in cache? | I have run into this situation a number of times on a VM with SQL Server Express 12.0.6205.1 (SQL Server 2014 SP3 CU1) Using SSMS, I'll run a stored procedure a few times. It consistently takes, say 4 seconds to run. ("Wait time on server replies" in "Client Statistics"). Then I clear the plan cache: [CODE] Now the sam... | Plans stay in cache until forced out by memory pressure, statistics updates at a certain level, or you recompile them. If a plan gets compiled for a value that returns say 1 record, then, later, gets run for a value that returns 1,000, performance can stink. Vice-versa too. Compare the slow and fast plans. Also, you ca... | 0 | 1 | 369 | 2020-06-23T20:43:41.467 | database_errors | dba.stackexchange.com | |
249 | SQL Server - How are data pages stored when using a clustered index | I recently heard that the data pages in a clustered index aren't stored contiguously. Is this true? Perhaps data pages are normally stored contiguously with some exceptions to the rule? Or perhaps I heard wrong and data page are always stored contiguously. Many thanks. | Data pages are stored contiguously when the index is created and when the index is rebuilt. Otherwise, SQL Server will attempt to keep the pages in physical order. That not being possible, logical order is attempted. You can get gaps in a table because of other writes that are happening in the database. SQL Server uses... | 13 | 11 | 1,238 | 2011-01-05T05:22:24.720 | database_errors | dba.stackexchange.com | |
565,977 | GPO Replication SysVol Inaccessible on Windows Server 2003 | In our current AD setup, we have the following Domain Controllers: DC1: Server 2012 R2, Operations Master (All roles) DC2: Server 2012 R2 Mailserver1: Server 2003, Also hosts Exchange 2007 The forest functional level is 2003. However, no GPO's are beeing replicated to the mailserver. When checking the status of a GPO, ... | Group Policy processing is done as the user the relevant portion of the policy applies to. If they cannot read the policy files, they cannot apply the policy. Therefore, the users need to have read permissions to SYSVOL on the DC, and they also need to have SMB access to the DC so they can retrieve SysVol. Once it find... | 1 | 1 | 17,137 | 2014-01-08T22:26:26.730 | database_errors | serverfault.com | |
172,256 | Vostro 3700 laptop WS 2008 R2 Hyper-V kills sound | We have an odd problem that I am stumped on. We just purchased two Dell Vostro 3700 laptops, they came with Windows 7 Pro installed. We have installed Windows Server 2008 R2 on each of the laptops which all works great until we enable Hyper-V. When we do this the sound will stop working correctly and becomes crackly an... | Driver updates- that is it. When you install Hyper-V, the "shell" runs in a virtual machine (0).... which has different sheduling properties than the native machine. I could only point fingers to the sound and posibly lower level hardware drivers. | 0 | 1 | 315 | 2010-08-19T09:14:42.420 | infrastructure | serverfault.com | |
904,204 | SSH server grinding to a halt when users grep large files - high NET_RX and high softirqs - How to limit? | I have a server running fedora 14 - Linux-2.6.35 with a 1Gbps NIC. It has NFSv3 mounts supplied by an Isilon server. It freezes whenever any user works with a large file(grep or similar) that exists on the NFS server. I could clearly see that just before the server freeze, The network usage hits close to 1 Gbps, interu... | The recommended solution would be to increase the bandwidth available to the server. You can upgrade to 10G connectivity or you can add additional NICs on the server and team them (etherchannel). Also, as Sven commented above, you will need to make sure you have the latest drivers for you NIC and upgrade Operating Syst... | -1 | 0 | 128 | 2018-03-23T12:16:09.353 | pipeline_ops | serverfault.com | |
255,613 | SSH directly "through" another server | Possible Duplicate: How to configure a shortcut for an SSH connection through a SSH tunnel Multiple networks I can connect to have the following set up. There is a single node that can be accessed with ssh from the internet, and from there you can ssh to the inside network. Is there a way, that on my ubuntu box (no sud... | edit your .ssh/config file and add: [CODE] | 1 | 1 | 315 | 2011-04-04T19:44:15.533 | data_quality | serverfault.com | |
86,352 | MySQL returns floats rounded | [CODE] While it's obvious that FLOAT is not a precise data type, it is still rounding this data too arbitrarily. Let's check if it's actually able to store it: [CODE] Whoops, only the 7th digit got corrupted due format limitations. Is there a way to prevent overzealous rounding in this situation, short of converting th... | I hate precision-based issues. I dealt with one before: Data Truncated for Column You may have do the ALTER TABLE manually [CODE] or [CODE] or [CODE] Not sure what will happen, but give it a try and see what happens. | 1 | 1 | 4,484 | 2014-12-16T22:31:15.050 | data_quality | dba.stackexchange.com | |
470,988 | Coverting MySQL SQL statements to SQL Server | I am installing a product which needs a database - it can use any database as long as there is a jdbc connector available for it. However, the installation guide has instructions only on how to make it work with MySQL. I am running it with SQL Server Express. These are the instructions for MySQL [CODE] The CREATE DATAB... | SQL Server works differently with this. You create a LOGIN with a password for a user, which is independent of its hostname or something like that. Then you grant access to the database by creating a USER on the database for a certain LOGIN. Then you GRANT rights to the USER. Read these links and you'll get what you ne... | 0 | 2 | 658 | 2013-01-21T10:26:10.957 | database_errors | serverfault.com | |
676,742 | Postfix STARTTLS only on port 25 | I want to enable STARTTLS on port 25, but for unknown reasons it only works on port 465. master.cf: [CODE] main.cf: [CODE] Now when I try to check the certificate with [CODE] I get this error: [CODE] On port 465 everything works fine, so the certificate and CA chain is correct. Log says: [CODE] Help is highly appreciat... | SMTPS means SMTP over TLS, like with HTTPS. So first a TLS connection is established (without fallback), and then SMTP is started. Just as nobody expects HTTPS on the HTTP-Port 80, you should not expect that anybody who connects to your SMTP-service sends TLS requests. Thus, all connections to your server on port 25 wi... | 5 | 11 | 14,870 | 2015-03-19T15:38:35.937 | infrastructure | serverfault.com | |
450,565 | How would you identify slow queries before reaching production? | Let's say you are running a query on your database. In development and staging, where the amount of data is small, everything looks good. Unit and integration tests are also fine and the logic is correct. But when you get to production, where the database is much bigger, all of a sudden it turns out the query is not ef... | You should have a test system using similar hardware and data sizes as your production database. Sometimes a copy of the production database with any personal/sensitive data anonymized. But it could also be completely generated data, if data is generated you need to be careful to ensure it follows similar patterns as t... | 20 | 33 | 6,819 | 2024-01-16T07:48:52.567 | api_errors | softwareengineering.stackexchange.com | |
1,107,994 | How to make two linux VMs to communicate each other | I have Dell laptop with Windows 11 OS is running. I want to run two light weight Linux machines as VM on top of it so that I did following action items. I installed ubuntu 20.04 via WSL 2 . Its server name is foo and IP address is 192.168.149.xxx I installed centos 7 via Oracle VM VirtualBox . Its server name is bar an... | Probably a netmask issue. Bring the IP address of foo within 192.168.1 range. | 0 | 1 | 1,495 | 2022-08-11T23:20:38.480 | database_errors | serverfault.com | |
420,720 | Exception while running Selenium on AWS EC2 instance | I am facing this exception when I run a Selenium test case using the Firefox driver on the AWS EC2 instance which is the headless server. I installed Firefox and all the necessary changes for it org.openqa.selenium.WebDriverException: org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(/op... | First install xvfb which will allow you to run it with a "virtual screen". [CODE] Then you should check out this helpful post which will help you get firefox installed on amazon EC2. This is because you can't just do sudo yum install firefox on EC2. So, basically you create a file (I used this gist ) on the EC2 instanc... | 2 | 3 | 4,468 | 2012-08-24T09:35:07.250 | infrastructure | serverfault.com | |
284,912 | Why sequences are recommended as conventional interfaces? | From the reference of berkeley's version of sicp text , It is mentioned that: Expressing programs as sequence operations helps us design programs that are modular . That is, our designs are constructed by combining relatively independent pieces, each of which transforms a sequence. In general, we can encourage modular ... | The purpose of a dictionary is to return a value given a specified key, not to serve as a sequential container. Just because other data structures are sequential but dictionaries are not does not mean that the benefits of sequences are invalidated. Sequences are one of the three fundamental logic structures in computin... | 3 | 7 | 591 | 2015-05-25T14:23:41.910 | api_errors | softwareengineering.stackexchange.com | |
4,489 | Jenkins hangs on Windows CMD build that has GUI | I am attempting to automate imports and exports of Oracle's PeopleSoft Application Designer. It is a GUI program but it can operate in the windows command line for certain tasks. This project has examples of how it is used in the command line. The problem is that despite having parameters to hide the GUI, splash screen... | My current, less ideal solution to this is to run Jenkins in a terminal logged in to a desktop rather than as a service. I'd rather not have to do that but it has solved the problem entirely. | 3 | 1 | 807 | 2018-07-10T15:46:06.390 | database_errors | devops.stackexchange.com | |
1,090,672 | Cannot change NTP Time Source on a 2012 R2 DC Server | So I have seen dozens of people with this issue on various websites and forums, but here I am asking again. No matter what I try so far, nothing has fixed the issue which I will describe below in as much detail as I can. To start, the server is running [CODE] and is the only server on the network. (Customer refuses to ... | What if you [CODE] just after manually set your time source , and then querying again ? | 0 | 0 | 1,265 | 2022-01-20T21:24:40.293 | infrastructure | serverfault.com | |
662,754 | How can I diagnose and prove network micro-cuts? | I am unable to keep several types of long running connections open from my office LAN (ADSL) and I need to convince the service provider that there is a real problem. Standard pings and traceroutes do not indicate any issues, I need something more advanced. Whenever I launch a long running MySQL query from my box (PHP ... | You should try your route to the host, one tool to do that is mtr, a traceroute that shows you latency to each hop on the route. In mac you can install with homebrew [CODE] then [CODE] And you would be able to see witch host is dropping packets. | 2 | 3 | 10,588 | 2015-01-27T16:33:14.690 | database_errors | serverfault.com | |
326,985 | 100% CPU load on Ubuntu 10.04.3 LTS 64bit | I have trying to fix this issue for two days with no success. The server is a MySQL database server. Hardware: DELL Poweredge 1950, 2x Intel Xeon Quad Core E5345 @ 2.33GHz, 16 Gb mem, 2x 146Gb SAS (software RAID1) Software: Ubuntu 10.04.3 LTS, MySQL 5.1.41 Issue: while MySQL is not used and runs with no database, every... | The interesting part (in addition to MySQL being so busy...) is that majority of the CPU time seems to go to [CODE] , not [CODE] time. Can you trigger this same kind of behaviour with some other program than MySQL? Try, for example, [CODE] and make it consume the CPU with [CODE] . For me that spawned 128 threads consum... | 6 | 1 | 2,810 | 2011-11-02T10:51:04.043 | database_errors | serverfault.com | |
33,787 | Oracle View Ignoring External WHERE Clause | Good day, This one has me stumped. I have a rather nasty developer query that I would like to store in a non-materialized Oracle view. The text for the view itself is a bit long to list here, but it compiles just fine and generates the correct result set. The view query itself uses a CTE as well as two manual unpivots ... | With a bit of trial and error, I was able to spot the culprit. Turns out, it has nothing to do with the view itself. Attempting to manually push the where clause directly into the query also gave the same bad results. As it turns out, the problem was cause by the CONNECT BY clause in the inner queries. My suspicion (wh... | 5 | 2 | 3,853 | 2013-01-29T22:02:27.293 | database_errors | dba.stackexchange.com | |
106,192 | Legacy VB6 application under Win7 SQL error | We have a rather unfortunate legacy application at work, written originally in VB6 it predates anybody in our IT department by at least 5 years. We have a contracted developer for ongoing maintenance and where he can he rewrites sections over into .NET code (Not sure about his techniques here, this is a side job for hi... | XP mode ended up being the only solution which would work. | 1 | 0 | 1,877 | 2010-01-25T19:58:48.073 | infrastructure | serverfault.com | |
1,143,079 | Block access to remote mysql database using iptable in ubuntu 20.04 | I am configuring iptable rules in a Ubuntu 20.04 machine (Client). There is a mysql db in a remote machine (Server). I need to block access from client machine to mysql DB server. These configurations should be done from client side. Not from server side. I have tried below rules. But no luck. [CODE] [CODE] output: [CO... | So you have UFW. Better either only use [CODE] to manage firewall or remove it and use something else, like raw [CODE] to do that, else you'll encounter all kinds of undesired interference. At least it is clear now why it wasn't working. When you added your rule it went to the end of the rule set, after the ACCEPT rule... | 0 | 0 | 145 | 2023-09-05T10:15:02.693 | database_errors | serverfault.com | |
258,012 | Why design a modern language without an exception-handling mechanism? | Many modern languages provide rich exception handling features, but Apple's Swift programming language does not provide an exception handling mechanism . Steeped in exceptions as I am , I'm having trouble wrapping my mind around what this means. Swift has assertions, and of course return values; but I'm having trouble ... | In embedded programming, exceptions were traditionally not allowed, because the overhead of the stack unwinding you have to do was deemed an unacceptable variability when trying to maintain real-time performance. While smartphones could technically be considered real time platforms, they are powerful enough now where t... | 56 | 38 | 21,401 | 2014-10-03T18:47:17.197 | api_errors | softwareengineering.stackexchange.com | |
920,469 | Will having 2 web app instances ensure availability incase of WPA problems? | I have an azure web app (S2 app Service plan) that is set to autoscale but has a min instance count of 1. As it mostly idles, the real instance count also is 1 almost all of the time. Last week "something" happened and the site was no longer available. Every request was answered with http status 500. This went on for a... | When you scale to multiple instances of a web app, they will sit behind a load balancer (you won't see this, but that is what happens behind the scenes). The load balancer probe should detect the 500 errors coming from your first instance and not direct any traffic to it. Your instances of web apps will be running on d... | 1 | 0 | 52 | 2018-07-11T13:33:27.907 | api_errors | serverfault.com | |
247,441 | sql server installation problem | can sql server 2005 service pack 3 be installed in windows vista? | Yes it can, in fact it is probably required. | 0 | 0 | 15 | 2011-03-15T04:17:00.790 | database_errors | serverfault.com | |
92,800 | DNS configuration validation | I am having issues migrating my current Active Directory objects to my new Domain using ADMT. I have gone to a lot of resources to resolve this issue and they seem to point to DNS. Is there a tool or command or something that can validate my DNS configuration is functioning correctly? The DNS server is a Win server 200... | Men & Mice have a tool called DNS Expert that I've used in the past and was impressed by. It's whole function is to hep you identify problems with your DNS infrastructure, and they have a specific module for AD DNS too. The product page is here | 0 | 1 | 362 | 2009-12-09T21:53:21.723 | data_quality | serverfault.com | |
1,097,008 | PHP7.4 not running on apache2 | I'm running trying to run php7.4 on an Apache2. For some reason, when I try to run any use any php scripts in my code, they do not run, and all that is shown is the comment. What I have in my code is this: [CODE] However, what shows up on the html source when loaded in a browser is this: [CODE] I've tested this with mu... | Had a similar problem. PHP works in terminal but apache2 doens't seems to parse it. reinstalled all the application again but nothing worked. then i saw the apache2.conf file where it says IncludeOptional mods-enabled/*.conf it was loading files from mods-enabled folder. when i did ls -l , i realised there was a broken... | 0 | 0 | 858 | 2022-03-25T10:47:37.123 | infrastructure | serverfault.com | |
21,677 | Error When Restoring Backed Up Tables | I followed directions from this page: https://serverfault.com/questions/271367/importing-data-from-myd-back-up-file I dropped the 3 files ( t2010_08.frm, t2010_08.myd, t2010_08.myi ) into my /var/lib/mysql directory. Then I changed permission with the "chown mysql:mysql t2010_08.* command". Now, when I go to look at my... | I think I got it. Here is the table as it appears in Linux from the Chat Session [CODE] Since the database is on a Linux OS, filenames are case-sensitive. Here is the solution [CODE] File extensions must be uppercase for MyISAM tables in Linux Give it a Try !!! | 1 | 0 | 680 | 2012-07-30T12:50:31.937 | database_errors | dba.stackexchange.com | |
117,421 | Windows Server 2008 firewall rules order problem | I have one rule that opens FTP port for all connections. I have second rule that blocks ALL connections on ALL protocols for some IP's. However, connections from those IP's that are blocked can still connect to FTP port because that rule obviously takes preccedence. How can I make this work, because I do not see how ca... | Microsoft over the years has had security (be it file ACLs or firewall) where more specific rules override less specific rules - Instead of prioritization - So it would be reasonable to expect firewall is the same way - On file ACLs there's no prioritization - The logic is explained well in the Resource Kit - I remembe... | 3 | 1 | 5,492 | 2010-02-27T09:22:51.380 | infrastructure | serverfault.com | |
91,495 | GNU screen loses (parts of) command histories | I use [CODE] with 5 different sessions, each of which stores its own command history. But often I don't find a command in the history, although I'm sure I've used it exactly in the session I'm currently in, a few weeks ago. It seems there is a hard limit on the history size? How can I set that to infinity? A related qu... | You'd be better off using Bash's history than screen's. Screen keeps a scrollback buffer (probably in-memory rather than in a file). When you recall commands using Ctrl - a { it's actually digging through everything that appeared on the screen that's still in the buffer that looks like it follows a prompt character. Th... | 6 | 6 | 4,506 | 2009-12-06T18:25:56.783 | data_quality | serverfault.com | |
93,823 | What's the difference between multiclass categorical crossentropy, mlogloss and multi:softprob? | As far as I understand, an objective is something I'm trying to optimize and an evaluation statistic is something I use to look for overfitting. I stumbled upon 4 losses that seem to be the same, but I'm not quite sure. In XGBoost, one of the objectives for multi class classification is [CODE] ( https://xgboost.readthe... | From the documentation of XGBoost you can see that multi:softmax and multi:softprob are the same objective. The only difference is that multi:softprob also return output vector of ndata * nclass of the classes probabilities. multi:softmax : set XGBoost to do multiclass classification using the softmax objective, you al... | 2 | 0 | 2,888 | 2021-05-01T19:38:21.173 | data_quality | datascience.stackexchange.com | |
559,495 | ERROR 1307 (0x0000051B) - While copying with Robocopy - None of the known sollutions work | I'm trying to copy a folder from one harddrive to another using the folowing robocopy options: [CODE] For files where the owner is not the Administrator, but some specific domain user, i get the following error: [CODE] I have tried all the proposed solutions i could find: Give the Domain user i'm logged in with, and ru... | Normally, you can only acquire NTFS ownership of filesystem objects for yourself. You cannot set the ownership to a third person. (This prevents users from e.g. storing compromising or incriminating data under the ownership of another, unsuspecting person.) There is a "restore files and directories" privilege in the se... | 3 | 2 | 20,893 | 2013-12-05T16:01:33.807 | database_errors | serverfault.com | |
931,922 | Mixing DBM Rewrite and Redirect how to stop Rewrite if url is not in list | The scenario: I need to be able to both redirect certain urls and rewrite other URL's Right now after much tinkering I am able to get almost everything to work If I hit the [CODE] works normally and 200 If I hit the [CODE] the text from [CODE] is displayed and 200 If I hit [CODE] the redirect to [CODE] does happen howe... | I think the 403 is triggered because your [CODE] document (ie. [CODE] ) does not exist. However, that is just the end result of the real underlying problem... you are unconditionally rewriting to the return value of your examplemap [CODE] (which could be "empty"). I suspect you'll see the same result if you requested [... | 5 | 0 | 355 | 2018-09-20T18:55:47.180 | api_errors | serverfault.com | |
850,369 | Apache return 429 only to bots, for specific urls | i have a Magento website working with Apache2 and every day i get bots crawling urls that i do not want to and i would like to return 429 for specific urls. i have tried this in my htaccess [CODE] where my bots are: yahoo slurp googlebot yandex semrush etc and path to protect are: [CODE] tailing access logs seems my sn... | There are several errors: You are mixing mod_rewrite directives ( [CODE] ) with mod_alias directives ( [CODE] ). You should a have [CODE] , instead. You can't use HTTP 429 Too Many Requests with a redirect. Any valid HTTP response status code may be specified, using the syntax [CODE] , with a [CODE] status code being u... | 0 | 3 | 1,673 | 2017-05-16T09:56:18.657 | infrastructure | serverfault.com | |
720,460 | Run a dns cache or local server to reduce unknown host errors? | Our company runs lots of applications which rely on the network for several operations (email sending, file downloading, etc). We ofter get errors like UnknownHostException , which break some business logic. I guess they're due to the fact that some DNS lookup fail at some level (application, OS, whatever). Since sever... | You're question isn't exactly clear, but it sounds like you want a local DNS server that can host an internal DNS zone for all of your internal clients and can resolve those DNS name queries for all of the internal clients. If that's what you're after then simply install the DNS server role on one of your Windows serve... | 1 | 1 | 629 | 2015-09-06T17:06:00.177 | infrastructure | serverfault.com | |
61,023 | Can arbiterOnly replica in MongoDB become SECONDARY and what it means? | The MongoDB documentation says that when a replica is added to the set as arbiterOnly=true it will not become Primary. But can Arbiter become a secondary and what does it when it does? I have a replica set consisting of two data replicas and one arbiterOnly. Some time ago my one of my data replicas which was secondary ... | Some time ago my one of my data replicas which was secondary at a time crushed due to hard drive failure. After I fixed that problem and restarted secondary it went into “Recovering” state. But my arbiter is now “Secondary” A MongoDB arbiter cannot automatically become a secondary or a primary node, as it does not have... | 2 | 1 | 1,416 | 2014-03-16T03:18:49.320 | database_errors | dba.stackexchange.com | |
357,539 | Unit Test : Do I need to make an unit test for each class in my project | I have recently tried to to implement unit tests on a Java Web Application my project is built on MVC design architecture and uses Spring & JPA Hibernate and JSF here is a package tree [CODE] So do I need to write a unit test for the following classes : [CODE] If yes so I wonder how testing a class like [CODE] just has... | Business rules are the most important thing to test. Those should be in behavior objects (objects that DO things) not in value objects (getters and setters). Testing should never be done blindly or by rote. It should help you refactor and go fast. If it's not doing that something is wrong. There are things that don't h... | 4 | 6 | 2,191 | 2017-09-16T21:50:04.053 | api_errors | softwareengineering.stackexchange.com | |
761,734 | Having a Kerberos issue, and can't trace the traffic in NetMon | I'm trying to get Kerberos to work for a new Sharepoint server I'm installing. It works fine for the server name, but not the FQDN. I've done setspn for both, and I've added the domain to trusted sites, and still no luck. So I figured I'd try tracing the traffic, like in this post: https://blogs.technet.microsoft.com/a... | Where are you running the trae from. I don't know anything about sharepoint, but I am assuming you need a kerberos ticket in smb to make the connection. You may not have anyauthentication traffice because you need to disconnect all shares. from the host side. Please disconnect all shares. Reboot. Start you trace and th... | 1 | 0 | 556 | 2016-03-05T03:06:22.963 | api_errors | serverfault.com | |
80,499 | Any known issues upgrading from MySQL 5.1.73 to 5.6.21? | I am planning my MySQL DB ver5.1.73 running on a CentOS 6.5 machine to MySQL 5.6.21. I understand the basic procedure for this based on what I have read on StackOverflow, but I was curious if anyone has encountered any specific problems when they have gone the 5.1 to 5.6 route? One that I have heard of is that certain ... | ISSUE #1 : Upgrade Path Your grant tables can get screwed up because you are leaping two versions instead of one. I just helped someone a week ago because they did just that ( MySQL service stops after trying to grant privileges to a user ). The solution for that question was to manually fix the [CODE] . Rather than go... | 7 | 7 | 13,616 | 2014-10-17T16:27:04.843 | database_errors | dba.stackexchange.com | |
342,904 | How do you create a zone apex alias that points to a Elastic Load Balancer in the Route 53 GUI? | I created aliases for my domain name's zone apex using the ELB CLI as described in Elastic Load Balancing Developer Guide . I also added a AAAA record using the --rr-type AAAA flag, which is not described in the guide. The Route 53 GUI is populated after I execute the elb-associate-route53-hosted-zone commands for A an... | A engineer on the Route 53 team informed me that creating the proprietary alias can be created in the Route 53 Console (the GUI). Here are the steps. click create record set for zone apex record just leave the name field blank select the type of alias you want to make A or AAAA (all steps after this are the same for bo... | 14 | 17 | 20,315 | 2011-12-20T20:18:27.420 | database_errors | serverfault.com | |
679,306 | WSUS Content folder not retaining updates | I have been scratching my head now for a while over this issue and anything I do will not solve the problem The Problem: WSUS' "WSUSContent" folder is self-deleting updates and reducing the overall size to Where have the updates gone? We did not initiate a WSUSContent cleanup nor have we in the past. Attempts at solvin... | So, odd fix. My WSUSContent folder had 0.99GB in it and after a manual server cleanup(did not select unneeded update files) waited about 45 minutes and then selecting unneeded update files..another minute goes by, the WSUSContent folder is at 100GB (from 0.99GB, the internet speed is not fast enough here to grab 99GB i... | 2 | 1 | 8,021 | 2015-03-30T13:50:43.953 | api_errors | serverfault.com | |
488,389 | Access Amazon Web Server via domain name? | I have set up my Amazon EC2 Web server where I host my website. However, I currently access it with the elastic IP. What I have done so far: I have created a hosted zone for mydomain.com and added some record sets (following some tutorial on the internet) I entered the name servers from my hosted zone into my domain re... | It sounds like all you need to do is create an A record for mydomain.com that points to the IP address of the Elastic IP. If you've already done that then it might be that the new address just hasn't propagated through the DNS yet and it is still pointing to the old address. You can look up the DNS for your domain here... | 0 | 1 | 119 | 2013-03-16T10:42:08.920 | database_errors | serverfault.com | |
362,311 | 3com 3101 or 3102 VOIP phones will not get DHCP/connect to network unless in specific location? | I am trying to figure out why at our company the 3com 3101 or 3102 phones we use, when NEW out of box will not jump on the network and update, unless they are at a specific physical location. For example, if I take a brand new phone, plug it in at Building "A", which happens to be physically where the main 3com VCX uni... | I'm assuming the port VLAN memberships (and other configuration attributes) are the same in both buildings, then? I've never worked with 3Com phones, but your "building A" experience sounds like what I might see plugging a phone into a port that doesn't have a "voice VLAN" specified. The fact that it works after receiv... | 1 | 2 | 1,937 | 2012-02-21T17:59:35.017 | infrastructure | serverfault.com | |
415,783 | Test to check that executing a function does not raise an exception | I have the following function: [CODE] I want to implement a test that makes sure there are no errors raised in the process of creating the dictionary. I thought that I could test: Length of output is 2. The keys of the output dictionary are in key_list. Passing these two tests would do the job. Is there a standard way ... | If your function supplies a result, the usual practice is to test that result. If it doesn't, you don't have to do anything after the call. If your testing framework forces you to fill in the "then" part of the standard unit test format anyway, well, Python has [CODE] for precisely this situation. | -3 | 2 | 1,432 | 2020-09-11T11:30:41.467 | api_errors | softwareengineering.stackexchange.com | |
955,705 | HTTPS over IPv6 only working inside my LAN (HTTP is fine) | I'm trying to expose a web server to the internet. Sockets are apparently ok: [CODE] I've exposed ports 7777 and 7443 on my router's firewall and my server's firewalld. [CODE] As far as I can tell, HTTP is working fine: http://[xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]:7777/] Unfortunately, so far https is only accessib... | I'm able to access this url from my network: https://[xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]:7443/ I get a certificate warning error in Firefox, issued to selfcert.local, SHA-1 fingerprint [CODE] . It may be something else to do with your configuration, such as possibly the Asuswrt firmware or another device is not r... | 0 | 1 | 208 | 2019-02-25T22:21:52.183 | infrastructure | serverfault.com | |
166,833 | How to setup RAID 1+0 on Ubuntu Server | I'm using the RAID 1+0 structure as described in this post: RAID 1+0 vs RAID 0+1 I'm at the installation screen for Ubuntu Server. Both of my raid stripes are setup. The screen I'm looking at now allows me to create partitions and stuff and I'm not sure how to setup the drive mirroring. Can anyone help guide me in the ... | You have a hardware RAID controller, so you don't want to set up any software RAID at all. The RAID controller will have some sort of configuration interface (possibly through the BIOS) where you can define your arrays. Before you even install the operating system, you will need to go into the RAID configuration and cr... | 1 | 1 | 771 | 2010-08-03T22:46:44.007 | infrastructure | serverfault.com | |
150,614 | Storing STRING and BOOL in a STRING Column? | I have a [CODE] table that represent different HTML form fields (e.g. text, textarea, checkbox, etc.) that a user needs to populate. It also contains meta data about the fields, like whether or not it is required, placeholder text, label, etc. I also have a table that maps to the columns of [CODE] to capture the data t... | Use tinyint for these and use boolean in your ORM. SO it will automatically mapped from boolean to 0 and 1. Its not good way to store boolean as string and then checking the value and assigning bool value on basis of string match. For boolean just 0 and 1 value in your column as tinyint will solve your problem. For oth... | 1 | 1 | 2,053 | 2016-09-26T01:20:31.210 | warehouse_errors | dba.stackexchange.com | |
822,056 | Can I add AWS Name Servers with my existing Name Servers to my registrar to create additional public records via AWS? | I currently have my domains registered and managing DNS with DynDNS. I'm looking to deploy machines to AWS and spin up DNS records based off their hostnames in AWS, but I'm having problems with Dyn's API and haven't been able to successfully do this. I don't want to transfer over all of my DynDNS zones and export/impor... | You could delegate a subzone. So for "example": [CODE] would be for your AWS instances while dyn would continue to serve [CODE] . Then new hosts in AWS would look like [CODE] and [CODE] . To make this work: Create and test the subzone on AWS with a zone file like: [CODE] Delegate to those name servers in your [CODE] zo... | 0 | 1 | 36 | 2016-12-21T14:23:01.897 | infrastructure | serverfault.com | |
221,161 | Is mysql using some kind of auto repair due to "check table" warnings? | Today i noticed a "strange" behaviour of MySQL when using "CHECK TABLE" on a crashed table. First i got a warning like "Size of datafile is: * ... Should be: *" but i could still "insert into / select from" the table without issues and after a few inserts the warning was gone. I really dont get the point of this behavi... | Use InnoDB instead of MyISAM. That will avoid the need for [CODE] and [CODE] . [CODE] https://dev.mysql.com/doc/refman/5.5/en/server-options.html#option_mysqld_myisam-recover-options [CODE] https://dev.mysql.com/doc/refman/5.7/en/myisam-crash-recovery.html | -1 | 0 | 355 | 2018-10-27T13:32:26.173 | database_errors | dba.stackexchange.com | |
732,281 | .sh Script not running on AWS EC2 | I downloaded a .sh file from S3 Bucket using the command [CODE] I do see it in the path, I do a [CODE] then , ./AppD.sh Result of this [CODE] but separately these commands are working fine , here is the script [CODE] | You edited your shell script with a Windows text editor ( never, ever do this if you value your sanity ) and as a result it has carriage returns at the end of every line. These are not treated specially by UNIX-like operating systems. To fix the file, run [CODE] on it. [CODE] | 1 | 3 | 392 | 2015-10-28T15:54:46.070 | infrastructure | serverfault.com | |
201,302 | check_client_access and RBLs | In an attempt to better fight spam, I've configured Postfix like this: [CODE] This config has reduced a lot of spam, and with the whitelist I was able to deal with some misconfigured but legitimate servers in order to accept them. However, I'm wondering if this particular whitelisting config will be able to do the job ... | In case an "innocent" mail server is on one of your configured RBLs and not in your whitelist, the e-mail simply is discarded. If you want to protect yourself against that, you need to move to RBL scoring rather than direct RBL blocking . One good way to do that is with the use of policyd-weight scoring daemon. It'll b... | 1 | 0 | 2,208 | 2010-11-12T21:22:57.993 | infrastructure | serverfault.com | |
167,516 | Starting a slave from behind master | We're moving to a different cloud provider so need to migrate our database with as little downtime as possible. Here's our current setup: [CODE] A dump of [CODE] was imported into our new master database, [CODE] . [CODE] logs changes to its bin logs using [CODE] and [CODE] to only log the correct database which is iden... | One of the server IDs conflicted further down the chain which caused the issue of the bin logs syncing but not replicating Warning to all, make sure all your server IDs are unique! | 0 | 0 | 67 | 2017-03-18T13:10:58.380 | database_errors | dba.stackexchange.com | |
813,609 | Unaccounted storage usage | On many different servers running many different versions of Windows Server we use AhsayOBM to backup to cloud and USB-connected external HDDs which generally has no problems. However, one server running Windows SBS 2011 and AhsayOBM version 7.7.0.0 has a problem whereby the backup of system image to the USB-connected ... | The unaccounted storage usage was indeed Shadow Copy, despite Windows consistently reporting that it is disabled. Elevated command [CODE] reported the following: [CODE] The drive's / volume's tab "Shadow Copy" reported that Shadow Copy was disabled but using 279832 MB. Reducing the Shadow Copy usage to the minimum 320 ... | 0 | 1 | 155 | 2016-11-07T15:12:40.683 | database_errors | serverfault.com | |
330,384 | How do I change the Authentication Plugin for users mysql.sys, mysql.session, etc? | I use MySQL version 8.0.34 on a Debian server. With the latest update I get the message that mysql_native_password is deprecated and I should rather use caching_sha2_password instead. With my own users this is no problem, here I can simply change the authentication plugin. [CODE] But what about the integrated users mys... | Most likely you've found this error message in your logs: [CODE] If you've changed the auth method for your existing users, then the message should have been already gone (built-in users are not reported for using the old method). The method for built-in users - [CODE] , [CODE] or [CODE] - will be changed by the instal... | 1 | 0 | 1,680 | 2023-08-17T10:09:08.083 | database_errors | dba.stackexchange.com | |
536,770 | CentOS Postfix Server Hanging on NULL Recipients | I have a CentOS server that runs postfix and whenever a null recipient is sent to it, the server freaks out. Instead of simply rejecting the mail, it doesn't know what to do with it and tries over and over again and if enough of these pile up, then it pegs the CPU. The front end is from a vendor and apparently cannot b... | Postfix does know what to do with those messages: reject them , which is what it's doing. Your server may be under load, but it's trying to deliver a message for [CODE] that it didn't accept in the first place. You should really figure out why the client keeps trying to send messages to [CODE] and have it stop doing th... | -3 | 0 | 99 | 2013-09-05T21:07:47.330 | infrastructure | serverfault.com | |
145,977 | Agregate data from multiple rows in one row | I have a SQL server DB for credit card processing system with 5 Tables MerchantContract [CODE] DealTrace [CODE] DealSummmary [CODE] Processing [CODE] And Deal with whole bunch of fields of which the most important one are [CODE] Currently I'm querying these tables with such query: [CODE] However for each [CODE] there m... | Use For XML Path .. [CODE] | 0 | 0 | 58 | 2016-08-05T09:00:09.047 | database_errors | dba.stackexchange.com | |
389,638 | Am I breaking OOP practice with this architecture? | I have a web application. I don't believe the technology is important. The structure is an N-tier application, shown in the image on the left. There are 3 layers. UI (MVC pattern), Business Logic Layer (BLL) and Data Access Layer (DAL) The problem I have is my BLL is massive as it has the logic and paths through the ap... | Yes, you are very likely breaking core OOP concepts. However don't feel bad, people do this all the time, it doesn't mean that your architecture is "wrong". I would say it is probably less maintainable than a proper OO design, but this is rather subjective and not your question anyway. ( Here is an article of mine crit... | 23 | 58 | 15,577 | 2019-04-02T13:38:56.173 | api_errors | softwareengineering.stackexchange.com | |
885,115 | Hardening TLS web server Apache settings | OS: GNU/Linux Debian 9.2, fully updated. Under the title Hardening TLS web server Apache settings I mean the following: disabling TLS 1.0, already done with this setting: [CODE] in the following file: [CODE] disabling GZIP compression, already done with the following command: [CODE] although it asked me if I really wan... | Your domain does not have a CAA record. If you do [CODE] you will not get a reply. Compare with [CODE] . If you want to use it you will need to provision it in your zone, like [CODE] but double check with the CA you are using (SpaceSSL) As for OCSP you have some information in the guide given by Håkan Lindqvist at http... | 1 | 1 | 3,282 | 2017-11-25T12:34:10.583 | api_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.