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 |
|---|---|---|---|---|---|---|---|---|---|---|
314,601 | Saved MMC console not saving remote computer snap-ins | Has anyone seen this problem? From my domain controller logged in as a domain admin, create a MMC. Add a snap-in for Windows Server Backup for a remote computer in the same domain. Add a snap-in for Windows Server Backup for another remote computer in the same domain. Save the MMC on the desktop and then close the open... | According to the thread here, this is by design . I had better luck by just adding the Server Manager snap-in instead. This still forces a few more clicks out of you, but it's better than having to log into each server manually. | 2 | 1 | 1,621 | 2011-09-22T21:54:06.517 | database_errors | serverfault.com | |
242,515 | lost all my databases after reinstalling sql server management studio | SQL server management studio was not working so, after googling this issue, I found that I have to reinstall it. So, after re installation, I lost my database and I didn't get a backup of it. So, is there any way to recover it back? | Background Q1 Did you reinstall SSMS or your actual database engine? Can you add a picture with what you are seeing? OP - A1 Q2 Did you use the same login as before? If you reinstalled your database engine the database files might still be there. Can you check your default [CODE] / [CODE] folders to see if there are an... | 0 | 5 | 1,574 | 2019-07-10T06:09:31.977 | database_errors | dba.stackexchange.com | |
593,581 | mysql 5.6 doesn't start automatically on redhat 6.4 server start-up but do start when manually run “service mysql start” | I'm trying without success to set mysql to start automatically (mysql 5.6 on RHEL6.4) When I run "service --status-all" after server (redhat) restart it always shows "MySQL is not running, but lock file [CODE] If I will run manually [CODE] it will work. I added mysql to chkconfig as follow: chkconfig --add mysql chkcon... | You need to configure the daemon which is called mysqld. You are trying to configure the client to run as a daemon on startup. [CODE] [CODE] | 1 | 1 | 2,796 | 2014-05-07T07:57:56.087 | api_errors | serverfault.com | |
564,286 | Is it possible to authenticate MS AD users against another MS AD without a trust? | I have two Microsoft active directories, lets call them External and Internal, What I want to do is: Add users to Internal AD without password (Just save some other attributes for them). When a user tries to login, the password will be checked against the External AD. This is only for domain users not for the administr... | Active Directory Lightweight Directory Services (AD LDS) sounds like a reasonable fit for what you're looking for. What you're calling the "Internal AD" can be an AD LDS instance that authenticates to what you're calling the "External AD". I'm not sure I'm understanding your use case exactly, but I think AD LDS bind re... | 2 | 1 | 985 | 2013-12-31T08:34:45.030 | infrastructure | serverfault.com | |
1,033,271 | Varnish: call vcl_pipe conditionally | It is my understanding, from looking at the Varnish pipeline chart , that [CODE] can be only called from [CODE] . I am setting up a VCL to serve binary resources from a back end contingent on some conditions, including access control. The way I thought of setting this up so far is thus: go through all my checks, which ... | The only, major, issue is that I don't know how to set a flag You could unset it at the beginning of your [CODE] , if number of restarts is zero (that would indicate "initial" landing in VCL e.g. [CODE] Oh, and I found just precisely what you were after while getting the syntax for that :) | 0 | 1 | 53 | 2020-09-09T18:37:14.073 | pipeline_ops | serverfault.com | |
512,512 | Domain names have gone down - site still up | I host a couple of websites on the same Ubuntu server, and as of today both domain names have gone down. PuTTY and FTP still both work so it is obviously a problem with the domain name. I haven't made any changes with my registrar (namecheap), or my DNS host (clouDNS) which has both domains pointed to my IP address und... | You should probably follow ClouDNS's Twitter feed . ClouDNS are currently posting about being under a DDoS attack . I suspect this is the cause of your DNS issues. | -4 | 1 | 89 | 2013-06-01T13:08:46.600 | infrastructure | serverfault.com | |
576,764 | Replacing 2 disks (raid 1) to a larger pair under a 3ware controller in linux | I have a 3ware 9650se with 2x 2TB disks in raid-1 topology. I recently replaced the disks with 2 larger (3TB) ones, one by one. The whole migration went smoothly. The problem I have now is, I don't know what more I have to do to make the system aware of the increase in size of this drive. Some info: [CODE] Note that th... | ok this answer appends to [CODE] answer. so credits do go there for 70% of the answer. Notes: if this answer suits you , GET a backup NOW. if you own a UPS connect it on the pc in question NOW. The following procedure was carried out in linux, on DATA disk arrays. It may need some modifications to work on OS/boot array... | 1 | 2 | 5,765 | 2014-02-19T15:00:27.400 | infrastructure | serverfault.com | |
24,503 | SQL Server Linked Server to Progress is slow with an openquery view | We have a SQL Server database setup with a Linked Server setup connecting to a Progress OpenEdge database. We created a SQL Server view (for using with SSRS) of some of the OpenEdge tables using code similar to the following: [CODE] For some reason the queries seem to bring back the whole table and then filter on the S... | What we did was dump the views all together and added sprocs that perform the openquery with the limited set of return values and a restricted where clause. We also worked with progress and there was some optimizations they recommended on their side as well. Performance still isn't great but it's much better than it wa... | 4 | 0 | 6,773 | 2012-09-18T20:50:40.817 | bi_errors | dba.stackexchange.com | |
244,197 | Check if the value from one table exists in another tables in SQL Server | I have one table (tbl1) with column ID, the values can be duplicated. I have others tables (tbl2, tbl3...) with column ID , values are unique. I want to write a trigger on insert row in tbl1 and check if ID in new row has not exists in tbl2,tbl3.... There is part of my code. [CODE] I don't know how to check in a range ... | I think you could get it with a single statement. [CODE] db<>fiddle here | 0 | 2 | 30,352 | 2019-07-31T09:55:40.890 | data_quality | dba.stackexchange.com | |
128,044 | My custom neural network is converging but keras model not | in most cases it is probably the other way round but... I have implemented a basic MLP neural network structure with backpropagation. My data is just a shifted quadratic function with 100 samples. I have created a network for regression with 1 hidden layer with 10 neurons with sigmoidal activation function and linear o... | In this instance, the default learning rate for the adam optimizer is 0.001 in keras, so it will take a very very long time to converge. If you bump this up as follows: [CODE] It converges after ~500 or so epochs. You can get even better results by setting the learning_rate to 0.01 and running for a couple of thousand ... | 0 | 0 | 33 | 2024-02-26T20:27:06.433 | data_quality | datascience.stackexchange.com | |
268,498 | VPN-RDP printjob fails after first page | Environment: WS 2008 R2 Terminalserver (we have 3 of them). Client VPNs into Company Network and establishes a RDP-connection to one of the TS (load balancing). Printer is a HP LaserJet 1200 and it's plugged in via USB at the client-machine (Win 7 32bit). We installed the PCL 5 driver at the client. On the server, RDP ... | You might give this a run down. http://blogs.msdn.com/b/rds/archive/2009/09/28/using-remote-desktop-easy-print-in-windows-7-and-windows-server-2008-r2.aspx | 0 | 0 | 218 | 2011-05-11T09:21:32.913 | infrastructure | serverfault.com | |
985,873 | Ubiquiti EdgeRouter uses default route over static when responding to ICMP | I need to have a working connection between two router devices and the subnets behind them. Everything else in the setup seems to work except one static route. Here is the basic information about my setup: [CODE] In this setup networks 192.168.4.0/24 and 10.129.0.0/24 work. I can ping my Ubiquiti routers interface 10.2... | I'm feeling a bit dumb now. When looking through the config that I was about to post here I noticed that some time ago I had created an IPSec tunnel to our main office because back then it seemed like we'd need it to connect the two places. In the IPSec configuration it was defined that the remote network was 192.168.1... | 0 | 0 | 1,499 | 2019-09-27T10:46:42.147 | infrastructure | serverfault.com | |
266,713 | Compose nested EventEmitters elegantly | I am developing a server-side JavaScript tool, and trying to do so in a modular way. I have a [CODE] class that is an [CODE] - you call [CODE] and it will eventually emit [CODE] and [CODE] events. It is generally invoked like so: [CODE] Now I want to extend this Parser in a way that imposes some sort of state - rather ... | I have decided to re-implement the solution using Node Streams, rather than simple events, allowing me to use [CODE] . | 3 | 1 | 800 | 2014-12-17T17:24:40.340 | api_errors | softwareengineering.stackexchange.com | |
47,327 | select query not displaying column names with records | If I execute a select query it is displaying only records not column names like as follows [CODE] ** * ** * ** * ** * * 1. row * ** * ** * ** * ** * If the story-writer of 'Alias Janaki' had gone to a Rajamouli or a Shekar Kammula to narrate the story, the listener could have said this after the narration: "Flashback o... | You have an embedded carriage return (' [CODE] ') or another control character in your column data that is messing up your display. This condition is easy to replicate. First, the correct behavior: [CODE] Now, we'll add a [CODE] to the beginning of the column data: [CODE] The carriage return (ASCII 13) sends the cursor... | -1 | 1 | 3,144 | 2013-07-31T07:17:22.903 | warehouse_errors | dba.stackexchange.com | |
5,777 | Why does the listed order of features specified in the data set matter to the random forest classifier | [CODE] Assume the features have names. When I shuffle/change the listed order of features specified in the training data set, the importance for each feature changes. That means the resulted random forest classifier also changes. Note that I have rule out the effect of randomness, by fixing the random seed. Why does th... | Since your fixed the seed, with default option [CODE] each tree is build on a fixed subsample of your data. With the default option [CODE] each tree uses 2 features. Since your fixed the seed, it is always the same, let us say, "1st and 4th" features for the first tree. And they are different in each of your shuffles. ... | 4 | 5 | 1,797 | 2015-05-13T02:24:54.520 | data_quality | datascience.stackexchange.com | |
321,879 | Performance benefit of dividing a frequently used stored procedure into multiple stored procedures in SQL Server | I have a stored procedure [CODE] that is used by our application loading screen as well as a lot of other places in the application. This SP is very resource intensive and returns a lot of data. I'm planning on making a copy of this stored procedure [CODE] and use it only for the application loading screen and use the ... | Will dividing the same procedure into multiple procedures and using each one of them for a specific purpose offer any performance benefit? If you're making a literal copy of the procedure and calling one instance from one call stack and the other instance from another call stack, then there should be no performance dif... | 0 | 2 | 396 | 2023-01-09T05:22:04.043 | database_errors | dba.stackexchange.com | |
764,044 | iwconfig and arp commands report slightly different MAC addresses | I'm at a wifi hotspot where, when I look up the router's MAC address by two different methods, I get slightly different results: [CODE] (Last two bytes of the MAC are obscured for privacy, but they're the same in all of these cases.) The only difference between the two is that in the one from [CODE] , the " locally adm... | A router and an access point are two different kinds of devices. If you build a network in which you have one device of each kind, you wouldn't expect the two devices to have the same MAC address. For home-user equipment it is quite common to build multiple of these devices into a single box. Very often you will find t... | 0 | 0 | 371 | 2016-03-16T09:29:09.930 | infrastructure | serverfault.com | |
872,423 | Azure: Assign user read / download access to blobs in storage account | Our SQL Server backs up nightly to Blob storage. I want some staff members (already in the Active Directory) to be able to view the list of backup files and download them to their machine. Then they can restore the database locally and test it. These members should not be able to delete these blobs. (Obviously, having ... | But if he attempts to bring up the BLOB SERVICE \ Containers blade, he is presented with the text "ACCESS DENIED". It is a by design behavior, Role [CODE] just can view every thing about resources, but can't change anything, can't read the files under the container. If you want to make users can reader files from this ... | 1 | 1 | 3,830 | 2017-09-07T01:45:18.910 | pipeline_ops | serverfault.com | |
759,021 | Why does ntpq report reachability (reach) in Octal? | I'm not sure if this is better suited for ServerFault or Stack Overflow. The return of [CODE] reports "reach" as an 8-bit octal value, 1-377, as in the following example: [CODE] "reach" is a circular buffer of the last eight NTP transactions. For example, [CODE] ( [CODE] ) would mean that the last two transactions were... | It's more compact than binary. It still allows you work out the number of bits that are set easily in your head. (Hex wouldn't.) It contains enough information to allow you tell exactly which operations succeeded or failed if you need that information. (A count of successes wouldn't.) | -1 | 2 | 3,244 | 2016-02-22T20:04:47.453 | infrastructure | serverfault.com | |
263,354 | Is there some way to mark which branch is the latest in subversion? | We're reworking our process with subversion at the moment, and one of the things we're doing is making branches for each release target in our demo environment so that you can test a release that has been delayed independent of code that will be released separately. I am also experimenting with Jenkins in order to auto... | This is a CI issue, not a SCM one. In Jenkins I assume you have a set of jobs that are looking at a particular SVN URL (eg trunk). You can edit these to point to a different url such as the current tag, or you can create a new set that mirror the trunk jobs but have a different repo url. Jenkins lets you group these in... | 2 | 1 | 163 | 2014-11-20T18:07:12.883 | pipeline_ops | softwareengineering.stackexchange.com | |
1,011,413 | NodeJS React Systemd Service not working | I am trying to set up a systemd service for a simple react application. This application is hosted in /home/myuser/test. Both npm and node are in the PATH and hard linked to /usr/bin. All the files have permissions for the myuser:myuser user and group. If I launch this manually with [CODE] it launches correctly and ser... | I encountered the same problem after an upgrade, my systemd service started exiting with error code 0 every time it was started. This is due to a February update to react-scripts start.js Kolega's answer is really the best approach to resolve this: Set the CI (Continuous Integration) environment variable to true. This ... | 5 | 5 | 4,968 | 2020-04-08T09:59:02.150 | infrastructure | serverfault.com | |
242,647 | Preferred way for dealing with customer-defined data in enterprise application | Let's say that we have a small enterprise web (intranet) application for managing data for car dealers. It has screens for managing customers, inventory, orders, warranties and workshops. This application is installed at 10 customer sites for different car dealers. First version of this application was created without ... | Many systems have a "configuration" section for a dealer. This is often a simple (dealer_id, name, value) truple in a database. The code reads all this in and can show/hide (or, using server side technology, include/exclude) certain user interface options. Often, a user_id is tied to the dealer_id, so you know who gets... | 4 | 2 | 175 | 2014-06-01T11:37:12.397 | database_errors | softwareengineering.stackexchange.com | |
776,393 | Parameter parsing when using AWS SSM send-command from Terraform | I am using AWS SSM send-command to run a PowerShell script on an AWS instance. The following commanad works fine in a command shell but when called in Terraform gets an error. aws ssm send-command --instance-ids ${self.id} --document-name AWS->RunPowerShellScript --parameters commands='C:\Installers\bootstrap_test.ps1 ... | Try by double quoting the commands, e.g.: [CODE] Here is the example with the loop: [CODE] Or the opposite, e.g. [CODE] | 4 | 1 | 4,543 | 2016-05-12T14:29:36.387 | pipeline_ops | serverfault.com | |
796,980 | Nginx with node and lingering_close keeping connections open for 5 seconds | We have a collection of servers set up to use our new shiny API, which will replace our old API written in an arcane language. The new application is a cluster of servers using node, just behind NGINX. This is the same type clustered set up for the old API. There is another server sitting in font of these two clusters,... | It's all about indication that there can be more data left in the socket. E.g. the lingering close is enabled if not complete request body has been read during processing, or if there are some more data left in the buffer, or if the socket in active state. You may be interested in this change, which significantly reduc... | 0 | 1 | 1,855 | 2016-08-15T21:40:17.160 | infrastructure | serverfault.com | |
995,940 | Error 4003 (INSUFF_ACCESS_RIGHTS) after CU23 update | I've just upgraded our exchange 2013 to CU23 from CU15. I prepared AD, updated the framework and c++ as instructed then kicked off the update for the CU. All went well, did some testing after and everything is working perfectly, except if try to add send as permissions to a mailbox I the attached error. So far I have..... | According to the snapshot you attached, the issue could be caused because your admin account doesn’t have the rights " Organization Management " and " Recipient Management " to grant the right " Send As " to your mailbox(From the official document Recipient Permissions , the feature " Send as " needs the previous permi... | 0 | 0 | 868 | 2019-12-17T20:44:19.077 | infrastructure | serverfault.com | |
116,999 | What could be preventing updates and inserts to a table without anything visibly blocking the process? | The following has happened on more than one occasion. Updates or inserts to a certain table (I'm not 100% sure but there seem to be a couple of tables it always happens to) fail due to a timeout. If I run the same query from Management Studio, it just keeps running without ever ending or failing (I've let it try up to ... | I will prefer to track blocking with any of 2 below rather than SP_who2 or Activity monitor: Use Sp_whoisactive which is a procedure written by Adam Machanic. Once created , you can gather the data to analyse the blocking using: a. Create one destination table b.Create Your Loop to Periodically Log Data c.Set Up Your Q... | 2 | 2 | 129 | 2015-10-05T09:35:39.663 | warehouse_errors | dba.stackexchange.com | |
299,736 | Could I have an undetected deadlock? | Upon running [CODE] on a server for the first time, I was greeted by something unexpected: Two sessions had been running for 13 days but both of them seemed to be blocking each other. Taking a look at [CODE] : The configuration value for the blocked process threshold setting is 10 seconds. Other deadlocks are being suc... | From a comment left by David Browne - Microsoft "Undetected deadlocks" usually means "undetectable deadlocks", eg where session is blocked by a SQL Server lock, and the other is blocked in the client application, or where a session calls [CODE] which a runs a program that connects to the database and becomes blocked by... | 10 | 2 | 239 | 2021-09-16T22:52:17.233 | database_errors | dba.stackexchange.com | |
448,550 | Balancing RAM when using multiple CPUs | We have HP DL360 G7 server with one cpu and 16G 12G ram. We plan to add another cpu. So, we need also ram for second cpu. Is there any negative performance impact if we add different size of ram to second cpu? for example 20G ? Current ram configuration: | The HP ProLiant DL360 G7 server (and other Nehalem-and-newer CPU systems) have a set of memory DIMM population guidelines. Can you share what's currently populated and what your final RAM amount/goal is? This is documented primarily in the Quickspecs for the system, but I'll try to give some specific guidelines. HP als... | 13 | 22 | 31,221 | 2012-11-14T09:32:40.573 | infrastructure | serverfault.com | |
333,620 | Are there any scenarios where a JS function expressions would need to refer to its "name"? | Anonymous function expressions in JS bug me as they make stack traces and Chrome Dev Tools profiler output harder to use, so I've decided to name ALL my function expressions from here on in. The obvious thing seems to be to name them the same as the name I am assigning them to, e.g. this.myFunc = function myFunc() {}; ... | I am using this in an event delegation framework I wrote. The "name" of the function determined which DOM event it responds to: [CODE] The function itself doesn't need to know its own name, but the Front Controller in my library uses this name as meta data to decide whether or not to execute the function. As for whethe... | 3 | 3 | 210 | 2016-10-14T13:48:21.523 | api_errors | softwareengineering.stackexchange.com | |
744,011 | Will adding CPU cores or RAM to my cloud server improve speed in my situation? | I have a Siteground cloud server, and I know nothing about servers. It hosts 8 websites, although 3 of them have their own dedicated IP addresses and cPanels. It's on a Linux server, but there's something w/ NGinx mixed in there. For instance, sometimes they have to restart NGinx for me ... some type of combo or someth... | Yes, adding two more cores will help to improve response speed. But that is not all. The most correct solution to the problem is much like the problem: a moving target. Right now adding cores may help. Tomorrow it may be more memory. The next day you might need bandwidth. Adding resources is often the cheapest and fast... | 0 | 4 | 6,164 | 2015-12-18T15:53:28.703 | infrastructure | serverfault.com | |
244,187 | Is it possible to restore a database from corrupted .mdf file? | I know that the answer of the question may vary depending on what exactly is broken in each [CODE] file - only looking for advice if there is another way to approach this. So, I have received some bad news from the database administrator. Something like this happened last night (that's the only info I have from him): a... | If it were me? Nuke it from orbit and restore from backup. Stop any processes that rely on this database and restore from your most recent backups. After you're stable, you can go through the academic exercise of trying to repair as much of the corrupt media as you've got the energy & budget to put up with. Assuming yo... | 0 | 2 | 223 | 2019-07-31T07:49:29.237 | data_quality | dba.stackexchange.com | |
702,720 | RTMP load-balancing via HAProxy | I've got a little problem to solve: I need to find a way to load balance, bandwidth-wise, the incoming RTMP streams on my servers. I have 2 RTMP servers (nginx-rtmp), let's call them S1 and S2. The RTMP servers are listening on the 1936 port, with HAProxy on the same machine as S1 to load-balance the streams, and as of... | What you're looking for is called 'Direct Server Return', or DSR for short. You can't do DSR with HAProxy, but LVS or other layer 4 load-balancers can do it. If you've just doing layer 4, then HAPproxy might be a little overkill anyway. | 0 | 1 | 4,188 | 2015-07-01T00:12:36.690 | infrastructure | serverfault.com | |
149,357 | multiple calls to procedure optimization | I have multiple python scripts running statistical tests and saving the results in a MySQL database. I have chosen to create a procedure, making these scripts do lot's of calls, and only commiting in the end. (So that no info got lost, sometimes internet goes down and script gets corrupted, and other bugs) The thing is... | High CPU usually implies [CODE] with an inadequate index. You mentioned inserts -- Yes, [CODE] 100 row in a single statement runs about 10 times as fast as 100 separate [CODE] statements. This is largely because of various overhead things that involve the CPU. So, that should cut back on the CPU. If you are doing any "... | 0 | 1 | 118 | 2016-09-11T23:44:19.660 | database_errors | dba.stackexchange.com | |
481,666 | Trying to configure CentOS 6 and PHP 5.3.15 | I'm trying to replicate a production environment so It's very important that I run PHP 5.3.15. The problem is that my dev server is running Centos 6 and the package manager will only install PHP 5.3.3. I've read that Centos 6 is forever tied to PHP 5.3.3 and upgrading is discouraged. Is this true? I've tried to install... | You are trying to install a package built for CentOS 5 on CentOS 6. If you're trying to replicate the production environment, you should be using the same OS that production is using as well. After a quick search using the package name above, it looks like the package was originally grabbed from the Webtatic Yum Repo .... | 0 | 1 | 786 | 2013-02-22T21:39:57.997 | infrastructure | serverfault.com | |
108,642 | Show all stored procedure definitions (content) for editing | Apologies if this has been asked before, the suggested 'related' questions weren't relevant and my own search turned up very little. I need to list the definitions (code) of all my stored procedures, so that I can start working through all 450 of them and adding in semi-colons to work toward v2014 standards. I found th... | The problem mentioned on MSDN has nothing to do with [CODE] or [CODE] ; they've misinterpreted the problem. What actually happened is they were thwarted by an output limitation in Management Studio, which by default will only show 255 characters and at most 8192 in any output tuple in Results to Text. So first, make su... | 9 | 9 | 14,087 | 2015-07-31T08:52:23.873 | database_errors | dba.stackexchange.com | |
189,136 | Unit testing in Django | I'm really struggling to write effective unit tests for a large Django project. I have reasonably good test coverage, but I've come to realize that the tests I've been writing are definitely integration/acceptance tests, not unit tests at all, and I have critical portions of my application that are not being tested eff... | I'm going to go ahead and register an answer for what I've come up with so far. My hypothesis is that for a function with deep coupling and state, the reality is that it's simply going to take a lot of lines to control for its outside context. Here's what my test case looks like roughly, relying on the standard Mock li... | 11 | 6 | 1,152 | 2013-03-04T05:50:42.927 | api_errors | softwareengineering.stackexchange.com | |
397,114 | Purpose of unit testing simple methods | I'm trying out unit testing to see if it works for me, but im having trouble with these little functions. [CODE] I completely recognize, that just trying to write tests for something, makes the code way better. This was a small part of a bigger, harder to understand function before. When I tried to write a test for it ... | You aren't required to test at the finest possible grain. Many current discussions of unit-testing are rooted in a tradition (XP) where features are added incrementally . In other words, almost everything starts out as a "simple" function, and many of those simple functions grow in complexity over time. So it makes sen... | 5 | 8 | 1,818 | 2019-09-08T12:09:54.180 | api_errors | softwareengineering.stackexchange.com | |
231,349 | Modifying Group Policies via VPN | I am accessing my Server 2003 LAN from my Home PC via VPN. I installed the Remote Server Admin tools on my Windows 7 machine and I am able to browse the Active Directory users and computers with no problems. I go to open the Group Policy manager, right click on Group Policy Manager, add my domain and I get the message:... | No real way around it as Campo indicated, but realistically you can just RDP into the domain controller and do your work there. It's easier anyway. | 1 | 2 | 189 | 2011-02-04T19:56:04.860 | infrastructure | serverfault.com | |
22,221 | How to reuse non-IE browsers in CodedUI using C# | I'm trying to execute some CodedUI test actions in Visual Studio 2012 using various browsers. In order to execute several test methods without losing the browser window that is open, for IE I've configured: [CODE] For other browsers (tried out with Chrome) before instantiating the above variable, I changed the [CODE] s... | I'm too using CodedUI for functional automation and had used the same kind of code for reusing the browser, as reopening the browser for every test case is a overhead and effort consuming. Since our application too supports multiple browsers and hence, I too faced the same issue and from the research I made at that tim... | 0 | 1 | 1,264 | 2016-08-24T06:24:26.533 | data_quality | sqa.stackexchange.com | |
155,526 | Are there any limitations to using WinRT instead of .Net? | From my understanding creating an application that runs on multiple architectures requires virtualization, and virtualization reduces performance since it creates a layer of abstraction. With Windows 8 supporting both Intel and ARM architectures should we expect slower performance with a WinRT app versus a .Net app run... | From what I've seen, WinRT is actually an "unmanaged" software layer based on native COM objects, so I would NOT expect to see a big performance impact when invoking the APIs. In fact, it's quite likely that these will perform better than .NET apps on the CLR, as they are likely to be "closer to the metal" than pure .N... | 7 | 12 | 1,655 | 2012-07-04T03:21:55.070 | api_errors | softwareengineering.stackexchange.com | |
167,271 | Mariadb MySQL Tuner report confusing | I'd like to ask you to clarify the report from mysqltuner regarding MariaDB database. The mysqltuner was called with --nogood flag! [CODE] What makes me confused is the "Log file Recommendations" section. I don't really know what to do with it. Then also this line: [CODE] I am also very curious why it would recommend m... | I can explain this line [CODE] The InnoDB storage engine and the Query Cache are in a constant state of war (See my 1.5-year-old post Why query_cache_type is disabled by default start from MySQL 5.6? ) mysqltuner is recommending setting query_cache_type to 0 so you explicitly disable the query cache. Please don't forge... | 7 | 7 | 13,140 | 2017-03-15T17:16:46.187 | database_errors | dba.stackexchange.com | |
128,132 | Does Google DeepMind's Gemma 7B models specs have inconsistent dimensions? | In Google DeepMind's Gemma technical paper ( https://storage.googleapis.com/deepmind-media/gemma/gemma-report.pdf ), the 7B Gemma model specs are given as d_model = 3072, num_heads = 16 and head_size = 256 for the 7B model. They don't seem consistent (16 * 256 != 3072). Since the dimension is distributed across h heads... | From the annotated transformer link - https://nlp.seas.harvard.edu/annotated-transformer/#full-model For the positionwiseFeedForward network: D_model = 512, and the inner layer has dimensionality dff = 2048. It’s hard to be certain but perhaps the Gemma paper is using the dff for model size. I’ve always had the same un... | 1 | 1 | 34 | 2024-03-03T03:43:27.387 | data_quality | datascience.stackexchange.com | |
941,998 | RDS Session host server disconnecting all user profile disks intermittently | I have a Windows RDS solution utilizing user profile disks which are stored on a file server. There are two session host servers which the RDS Gateway loadbalances between. I'm seeing an issue whereby at certain points in the day, all of the user profile disks which are mounted on a specific session host server become ... | Try installing Microsoft's recent KB4467684 update: https://support.microsoft.com/en-ca/help/4467684/windows-10-update-kb4467684 On paper it should address two relevant issues that we are seeing: 1) Addresses an issue that causes File Explorer to stop working during logoff. 2) Addresses an issue that slows server perfo... | 0 | 1 | 2,519 | 2018-11-28T14:36:46.907 | infrastructure | serverfault.com | |
618,666 | How can I estimate the request/second my server is capable of? | I recently built my own server to help me learn linux, Ubuntu and related technologies and to serve some small website projects I have been producing. How can I estimate the requests per second that this machine is capable of given the following scenario: I have a small website that serves 6 webpages and enables the us... | Use something like JMeter to load test it. It is impossible to predict scaling with any accuracy because the bottlenecks you hit will depend on your individual implentation of both website and hardware. | -2 | 1 | 154 | 2014-08-07T11:00:48.040 | database_errors | serverfault.com | |
203,000 | SQL Server 2017 Management Data Warehouse: collection_set_1 not working due to database trigger | The problem I have got an issue setting up Management Data Warehouse on SQL Server 2017 CU 5. The job "collection_set_1_noncached_collect_and_upload" keeps failing. It is related to the "Disk Usage" collection set. Error Messages are the following (I highlighted the part which is most relevant IMHO): Executed as user: ... | Eventually I have found a solution to my problem. As on a StackOverflow question described your can hack you way around the problem using [CODE] . So I added these two lines to my code (within the IF clause and before doing other things) and got things to work: [CODE] I admit that this solution is not pretty and presum... | 0 | 0 | 1,170 | 2018-04-04T10:35:22.413 | warehouse_errors | dba.stackexchange.com | |
126,288 | Linked tables change during dump | Having difficulty cloning a live DB. In the table structure i have a number of tables that extend are linked from one another, they are quite big and the names means the tables aren't very close in the listing. An example of what happens when I mysqldump is the last record in table A has ID 123123 then by the time the ... | InnoDB? Or MyISAM? Or a mixture? If MyISAM, why are you not moving to InnoDB? Look at the arguments to [CODE] . One says to lock all the MyISAM tables for the duration of the dump. (This, of course, is nasty for updates/inserts.) Another says to "lock" InnoDB tables as a --single-transaction. (This is not so nasty.) Xt... | 1 | 0 | 12 | 2016-01-14T20:42:40.120 | database_errors | dba.stackexchange.com | |
139,285 | Retrieve data from two tables where table 2 has multiple entries for one value | I am looking for the best way to create a SELECT statement to pull data from 2 tables. Example below is the table structures: Table 1 | Table 2 ------------------+---------------------------------- Table1.Customerid | | Table2.Customerid | Table2.Userid | Table2.Customerid | Table2.Userid Basically, I have in table 2, ... | Provided [CODE] has [CODE] and the order needed is [CODE] you may ask sql server to show NULL in all but first row in a partition. Adjust ordering as needed. [CODE] Getting only one user is a bit different task. First option is OUTER APPLY to get this only user [CODE] | 0 | 2 | 1,498 | 2016-05-23T15:45:58.990 | data_quality | dba.stackexchange.com | |
214,916 | IIRF - Redirecting all traffic to the http equivalent | I'm using IIRF and having some trouble getting it to redirect all traffic to the secure version of my sites. So... I have a website with about 20 apps in virtual directories in IIS6. The website takes 80 and 443 traffic. I want to use IIRF to redirect all port 80 traffic EG; http://myserver/app1/page1/param1 http://mys... | Just change one line [CODE] | 0 | 1 | 2,822 | 2010-12-21T16:52:21.757 | infrastructure | serverfault.com | |
113,084 | Start a VPN session using a Terminal script | I use an OSX Terminal session to start a VPN connection. The command that I execute at the prompt is: /etc/netlock/cvc -c :: This works as expected. I would like to save this to a script file that I can simply double-click to start. I created a file, 'vpn.command', added the command (list above), save it, and given exe... | I altered my command file to resemble the following: [CODE] | 2 | 1 | 2,552 | 2010-02-15T18:36:58.187 | infrastructure | serverfault.com | |
1,017,770 | CentOS 8 /etc/profile.d/ not executed | On CentOS 8, the $PATH is not being updated with the value set in my script '/etc/profile.d/app-server-profile.sh' (SSH login). I am logging into the box via SSH. I expect for '/etc/profile' to execute my '/etc/profile.d/app-server-profile.sh' script on login. (Is there a log which will confirm this file is executed?) ... | Centos 8 [CODE] File extension: [CODE] e.g '/etc/profile.d/my-script.sh' File permissions: [CODE] ( -rw-r--r-- ) Updates after: Logout & login (scope: global ) Alternatives [CODE] Put lines like: [CODE] Updates instantly (scope: global ) [CODE] , [CODE] Put lines like: [CODE] Updates instantly (scope: current user ) Mo... | 0 | 0 | 911 | 2020-05-19T13:28:43.707 | infrastructure | serverfault.com | |
563,386 | OpenSSH on Centos 6.5 | I have a new (first time) CentOS 6.5 server being used for a web server. Our security team has identified the following weakness: The SSH server is configured to allow either MD5 or 96-bit MAC algorithms, both of which are considered weak. Note that this plugin only checks for the options of the SSH server and does not... | This is one of the good answers I've read on the topic. https://security.stackexchange.com/questions/39756/secure-configuration-of-ciphers-macs-kex-available-in-ssh But if you want to disable from the server side, the algorithms used for symmetric session encryption can be chosen in the sshd2_config files. The system w... | 3 | 1 | 5,748 | 2013-12-24T16:23:02.623 | api_errors | serverfault.com | |
524,617 | Can't reach server without proxy (website down from my home) | I have a website hosted on Hostinger However I am experiencing problems with my wordpress site. This is really annoying. If I understood the situation right, The server is blocking me or denying access to my own website. When I visit the site with google chrome, it returns: Oops! Google Chrome could not find Same thing... | As Robbie mentions, the URL of your site would help, so we could see if we can access it. You can easily check if its a DNS issue by pinging your site when you cant access it. If your domain name resolves to an IP, then DNS is not at fault. Better WP security sounds like a likely culprit. Why don't you use your proxy t... | 1 | 0 | 2,494 | 2013-07-19T04:50:03.960 | infrastructure | serverfault.com | |
17,080 | Keras CNN with low/constant accuracies | I am dealing with the Street View House Number recognition problem. I am trying to train a CNN with Keras. Here is how I prepared the input: [CODE] And here is how I created and trained the model: [CODE] The problem is that I get very low accuracies that remain with the same value at each epoch: [CODE] | As I don't have your data, I can only give you some suggestions. 10 epoches may be too few. In my practice, 100+ epoches will be applied. I think 100 epoches will be a good start for you. Assuming your data is fully-prepared, some suggestions of the CNN: The first and the second convolution layers should have ReLU acti... | 6 | 2 | 3,659 | 2017-02-21T06:25:41.010 | data_quality | datascience.stackexchange.com | |
411,266 | Network testing tool cat6 cables | I have been trying to crimp cat6+ cables at home and been having issues. some would work fine at gig others would only go to 100mb. Is there a reasonable tester out there for verifying a cable run will work @ 1gb? Cable tester I was looking at the one above and cant tell if it would do what I need it to do. I will need... | At gigabit speeds, forget crimping your own cables. Instead use solid core cat6 cable and put in patch panels and wall plates, then buy precertified patch cables. | 1 | 8 | 508 | 2012-07-25T22:21:20.917 | infrastructure | serverfault.com | |
925,107 | Hyper-v 2016 VM replication between domain and workgroup - no longer working | I have three hyper-v servers on an AD domain, which replicate between themselves nicely. I have two other hyper-v servers which are separate, in their own workgroup, they are being built in my personal environment for deployment in a temporary environment for a couple of weeks. The two workgroup servers replicate their... | It's maybe too late for you but it can still help another reader. I've encounter this issue and solved it by removing the replication server from the trusted-host list. (I was in a full Workgroup server configuration) | 0 | 0 | 1,099 | 2018-08-06T13:26:56.227 | database_errors | serverfault.com | |
55,156 | What exactly are SDLC and OOP? | I have been asked "What are SDLC and OOP?" many times in job interviews but I am still not sure how to answer this question. I am a web developer for quite some time but I still have problem with explaining OOP and SDLC (System Development Life Cycle) . Can someone help me to explain what these are to another person? | These would be my "off the top of my head" answers that may be revised a little under some situations: Systems Development Life Cycle has the following main points: Requirements Gathering - What is it that is needed? Solution Design and Analysis - How will this be done? Implementation - Build it. Testing - Do we build ... | 2 | 7 | 14,298 | 2011-03-06T00:13:10.533 | api_errors | softwareengineering.stackexchange.com | |
220,586 | Can't change authentication mode from Windows to both SQL Server and Windows | As the title suggests I'm having problems changing the authentication mode from Windows to both SQL Server and Windows mode in version 12.0.2. I have tried right right-clicking the server, go to security and change it there but I'm getting an error when doing this. I installed it originally using both but changed it to... | The EXECUTE permission was denied on the object 'xp_instance_regwrite', database 'mssqlsystemresource', schema 'sys'. (Microsoft SQL Server, Error; 229) You can fix the problem by granting the user direct access to the procedure. [CODE] Cannot alter the login 'sa', because it does not exist or you do not have permissio... | 1 | 1 | 14,645 | 2018-10-19T17:18:36.487 | api_errors | dba.stackexchange.com | |
265,257 | How to find the current Log Sequence Number (LSN) of a database that is in Restoring state? | I removed one of my databases from the availability group on my secondary replica in my AlwaysOn group for an experiment. I want to add it back, but I cannot do so because the databases needs to be rolled forward to match what is on the primary (there was a transaction log backup taken on the primary, I guess that clea... | If you restore the log backup with "HeaderOnly", you will have the first and last LSN include in this backup. You want to find the log backup that includes the LSN mentioned in your error message (where the DB is at). Now if you want to find this LSN, you will have to query the sys.master_files DMV and look at the redo... | 2 | 4 | 14,037 | 2020-04-17T12:38:24.957 | database_errors | dba.stackexchange.com | |
55,833 | PostGIS ERROR: operator does not exist: postgis.geometry @ geometry | I have had PostgreSQL [CODE] and PostGIS [CODE] installed (via https://github.com/PostgresApp/PostgresApp/releases/tag/9.3.1.1-RC1 ) and working on my laptop for some time, and have been doing Ruby ( [CODE] ) on Rails ( [CODE] ) development with them. I was able to successfully run typical operations, for example using... | Sounds to me like you have PostGIS installed in your database more than once, possibly once via [CODE] and again via a load script, or from a dump. The hint is that: [CODE] mentions the schema qualifier [CODE] for one operand, and omits it for another. I'd say you have two copies of the the [CODE] type in different sch... | 4 | 2 | 2,747 | 2013-12-30T20:34:49.043 | database_errors | dba.stackexchange.com | |
947,759 | Windows file permissions - Admin permissions don't seem to work as expected / access denied | I have just inherited a server and I have an issue accessing some folders. I usually get this solved "in the end", usually by forcing a takeown command and then starting from scratch - but, it's annoying me and I would really like to understand why this going on. I created a new user for myself with all the standard ad... | Why does it add me as a user and not just let me in through the group I am a member of after clicking continue Your primary problem here is that you almost certainly have the UAC enabled on that system. Your administrator privileges are filtered away when using the file explorer for your protection. If you view that sh... | 2 | 3 | 2,587 | 2019-01-06T02:33:34.323 | infrastructure | serverfault.com | |
76,138 | Should the baseline comparison be done on the training or the test set results? | I have a classification problem where I want to find out whether feature engineering has improved my final model. Cross-validation is used evaluate the impact of the feature engineering steps, so there is no validation set (only train/test). In short, my situation entails the following: Collect data Train baseline mode... | You definitely want the comparison to be based on the test set: Evaluating on the training set doesn't make sense for all the usual reasons. Especially in the case of different features, comparing the performance on the training set could be badly misleading: if one of the model overfits, its performance on the trainin... | 1 | 0 | 788 | 2020-06-17T07:32:12.537 | data_quality | datascience.stackexchange.com | |
1,079,566 | AWS Certificate Manager failed validation due to a Certificate Authority Authentication error | I feel like I'm taking crazy pills, because I've completed this process before and my configuration seems to match AWS' docs . But, every time I request a new certificate, I get this error message (usually less than a minute after making the request): The status of this certificate request is "Failed". One or more doma... | I had this issue, and discovered the answer for me this post: https://repost.aws/knowledge-center/acm-troubleshoot-caa-errors . Our CAA record for the root domain has the [CODE] tag which blocks wildcard certificates from being issued. | 1 | 0 | 464 | 2021-10-05T01:11:21.220 | api_errors | serverfault.com | |
196,301 | Disable CPU Scaling in Windows Server 2008 R2 | How do you disable CPU power management scaling in Windows Server 2008 R2? After setting the Control Panel, Power Management plan to performance and then rebooting -- CPUID's Cpu-Z still shows the clock speed being scaled. | There are 3 Main BIOS settings in the Dell R710 that control this under Power Management: OS Control sets the CPU power to OS DBPM, the fan power to Minimum Power, and the memory power to Maximum Performance. In this setting, all processor performance information is passed from the system BIOS to the operating system f... | 29 | 24 | 11,498 | 2010-10-29T20:10:31.140 | infrastructure | serverfault.com | |
71,236 | Pull data from multiple tables in a view or function | There are 3 tables from which I need to pull data, and print it in a specific way. http://sqlfiddle.com/#!15/59481/8 Refer to this question to see how the query was produced. The version in the fiddle working partially, but I need to modify the query to produce a different output. I have the table [CODE] which is stori... | I suggest a radically new approach with [CODE] from the additional module tablefunc . You need to install it once per database. Detailed instructions: PostgreSQL Crosstab Query [CODE] Returns: [CODE] Explain We need a single unique column per group for [CODE] . Since you don't have that per [CODE] I am adding a surroga... | 5 | 6 | 1,658 | 2014-07-11T09:36:37.083 | warehouse_errors | dba.stackexchange.com | |
938,084 | Can BIND setup with only A names and fully qualified host names work properly? | I recently came across a zone file for BIND which used only [CODE] ddress records with fully qualified domain names for each IP. Example snippet: [CODE] There are also multiple fully qualified names resolving to the same IP addresses. Is there a issue with this configuration? (i.e. not using CNAME or ALIAS?) Can this b... | That is only a forward zone and as @bodgit answered that is perfectly valid for all use cases. The main potential disadvantage of the above is an administrative one. For a single zone not too much of an issue but with many host names in many different domains much more so: in case of a change of ip-address every [CODE]... | 1 | 4 | 347 | 2018-10-31T16:56:56.537 | infrastructure | serverfault.com | |
771,877 | TCP Balancer active/standby active/passive | I have two Servers, Server A,ServerB. running as TCP socket server. I want to a active/standby or /active/passive failover. that means: 1:Server A and Server B Running, route ALL connection to Server A. 2:Server A down, route ALL connection to Server B. 3:Server A back, still route ALL connection to Server B. 4:Server ... | Try with Keepalived. vrrp_instance v_http { smtp_alert state MASTER nopreempt interface eth0 virtual_router_id 51 advert_int 1 priority 101 unicast_src_ip 1.2.3.4 unicast_peer { 1.2.3.5 } authentication { auth_type AH auth_pass myPassword } virtual_ipaddress { x.x.x.x # virtual ip address } track_script { chk_http_port... | 0 | 0 | 1,087 | 2016-04-21T06:43:54.000 | database_errors | serverfault.com | |
164,616 | SQL: Storing Formatting in Data | I have always taught that it is incorrect to store formatted data in a table. Examples include: +----------------+----+ | Data | OK | +----------------+----+ | 0370101234 | ✓ | +----------------+----+ | 03 7010 1234 | | +----------------+----+ | (03) 7010 1234 | | +----------------+----+ (Why doesn’t SO support tables?... | Formatting is meta-data. If you include formatting in a column, you are mixing meta-data with data, which is clearly not a great idea. I'm not a theory-guru, but I'd bet that is listed somewhere as a no-no. For your specific example, which I know is only an example, you may actually want to store the format in a separa... | 6 | 1 | 1,657 | 2017-02-17T01:51:11.377 | warehouse_errors | dba.stackexchange.com | |
730,706 | Internet Explorer 10 group policy | This question is related to Internet Explorer 9 & 10 Group Policy Preferences missing I have about 20 domain controllers and when I try edit a group policy object then go to user configuration > Preferences > Control Panel Settings > Internet Settings then right click New > It only has IE 5,6,7,8 listed I have installe... | Even if you have IE11 installed on the computer where you are running Group Policy Management Console, managing IE11 group policy preferences do not work. Your best option would be to use GPMC on a Windows 8.1/Server 2012 R2 computer. Note that installing IE11 should install updated template files to the PolicyDefiniti... | 1 | 2 | 680 | 2015-10-22T01:01:48.493 | infrastructure | serverfault.com | |
345,697 | Can a third party service rely on JWT for authorization | I am using JWT for authentication in a micro service architecture. There is 1 UI web app and multiple REST API exposed services in the backend. I am considering a IAM service which will give a JWT to UI with permission information. The UI can use this to contact another Micro service X. But in this case should X contac... | X should check the signature and expiry on the JWT auth token and not contact the auth server directly Logout adds a wrinkle to the problem as the user may have logged out before the expiry date on the token. But the auth token should have a short (1/2 min) expiry. Limiting the problem of a hacker using an intercepted ... | 2 | 4 | 744 | 2017-04-06T18:19:41.220 | api_errors | softwareengineering.stackexchange.com | |
675,146 | Is return traffic for SSL-enabled HAProxy secured also? | I've got a HAProxy in front of a number of Webservers. Connection from clients to HAProxy is SSL secured. But it is terminated at HAProxy and traffic from HAProxy to the underlying Webservers are in clear. I am clear about how the forward traffic goes, ie, from Client >> HAProxy >> Webservers. But what about the revers... | Yes, the server response is returned through the same communication channel, plain HTTP (webserver -> haproxy) and HTTPS (haproxy -> client). | 0 | 2 | 60 | 2015-03-13T03:17:35.920 | infrastructure | serverfault.com | |
1,099,678 | Debian: how to put two versions of libcurl on one system? | I'm trying to migrate two web apps on single server(debian10), both require different versions of php, and both require cURL extensions to work properly. php5.6-curl uses libcurl v3 php8.1-curl uses libcurl v4 Firstly I've installed php5.6-curl, and when I tried to install php8.1-curl - apt throws notification that [CO... | I found workaround myself, if you would like to solve similar problem you can go my, not the most elegant way. install all required php5.6 packets; copy directory /usr/lib to /usr/php56libs edit systemd service file in my case: [CODE] under service section add Environment variable: [CODE] now you can install all php8.1... | 0 | 0 | 680 | 2022-04-28T12:07:03.567 | infrastructure | serverfault.com | |
31,667 | How to interact with material-ui datepicker using Robot Framework/Selenium | The Web application I am currently working on has changed the calendar widget. They are now using the datepicker from the material-ui library. The problem with this widget is that it does not have any IDs or CSS class on the HTML that is generated. So there is no reliable way to interact with it. And as the HTML of the... | With the help of DateTime robotframework library you can select date from date-picker of material-ui library. I have written a sample test to run on a sample date-picker form material-ui.com. Here's the sample keyword, this keyword takes year, month, date which you want to select in date-picker as arguments : [CODE] I ... | 1 | 2 | 8,148 | 2018-01-22T16:41:41.360 | data_quality | sqa.stackexchange.com | |
143,734 | Catching an error? | Is catching an error with [CODE] a better practice than catching an error with proper analysis/error check? For instance, removing from an empty list: Does surround with a try catch clause considered as a more efficient way than testing if the list is empty beforehand?Or is it the same? Thanks. P.S: If a similar questi... | You should not handle the normal program flow via Exceptions. Exceptions should only be handled if you want to do something with it. If removing an element of an empty list should throw an exception, you should let it throw. If you want to return a new empty list from this method, you should do that. There is not 1 abs... | 2 | 5 | 467 | 2012-04-10T05:18:11.960 | api_errors | softwareengineering.stackexchange.com | |
1,094,157 | Can you create an mTLS connection while using an SSL Proxy? | I am using an SSL/TLS Proxy, meaning I have installed a CA on all my clients that allows me to break/decrypt their TLS connections. I’m trying to determine what would happen to an mTLS connection and if it would be possible for a client to establish a successful connection with mTLS while still allowing my proxy to mit... | With mTLS authentication of both server and client certificate are done within the TLS handshake and before any application data are sent . It is possible for the MITM proxy to provide a trusted server certificate to the client since the proxy CA is trusted by the client. It is not possible to provide a trusted client ... | 0 | 1 | 4,162 | 2022-02-19T04:51:38.047 | infrastructure | serverfault.com | |
48,372 | How to use Machine Learning to discover important biomarkers in an unbalanced small data set | I have a project which I am just starting out, I am only just learning machine learning and statistics so I am somewhat unsure as to what approaches will be good to start off with, and I am sorry if this does not belong here. The data set is of different patients carrying a certain disease and each patient has differen... | If your goal is to identify important features, I would say go for a Decision Tree which inherently calculates importance/separation capability of the features while selecting them for splitting the internal nodes. You can also go for an ensemble of decision trees such as RandomForest which will return feature importan... | 0 | 1 | 67 | 2019-04-01T20:06:26.763 | data_quality | datascience.stackexchange.com | |
829,581 | Linux process killed even though enough memory available | I am investigating why two of our processes were killed by the Linux OOM killer - even though there seems to have been enough RAM and plenty of SWAP available at both times. When I interpret it as by this answer the first memory request asked for 2^2=4 pages (16KB) of memory (order flag) and wanted it to be from the "N... | One possible reason seems to be that this is an Ubuntu kernel bug. There is a launchpad issue which describes OOM situations for this kernel: 1655842 After reverting to an older kernel (4.4.0-57), the issue has not occurred again in the two weeks we monitored the system. Alternative explanations/answers are still very ... | 10 | 5 | 8,618 | 2017-01-31T07:23:45.840 | infrastructure | serverfault.com | |
55,883 | Front end first or Back end first. Of the two which is a Good system design pratice? | I have a client right now requiring me to develop a school enrollment system. Now this is the first time im having this kind of challenge. Most of the past software that i created are not that complex. I know most all of you have created complex softwares, i just want your advise on this. Should i design first the fron... | If you start at the back, and go forwards, you run the risk of misunderstanding the client. As you will be creating things that they can't easily see and comprehend, they can't participate very easily in verifying whether you meet the requirements. This means that you might waste a lot of work. If you start at the fron... | 33 | 51 | 28,524 | 2011-03-08T07:32:51.330 | api_errors | softwareengineering.stackexchange.com | |
790,115 | ldap query for blank attribute value? | How does one query an ldap attribute for a blank value? The equivalent of [CODE] in programming? I tried the following but it didn't work: [CODE] | You have to negate matching the wildcard [CODE] (any value) : [CODE] From Microsoft's LDAP Query Basics : The ! operator in conjunction with the wildcard operator will look for objects where that attribute is not set to anything. | 6 | 7 | 13,104 | 2016-07-15T19:33:09.767 | infrastructure | serverfault.com | |
84,566 | Can I link GPL and CDDL if I do not distribute? | Perhaps this is an esoteric question, since I will never distribute the code in question and I can fairly easily avoid using GPL code, but I'm curious and it's bugging me--but not enough to consult a lawyer. What is more, I think I am more interested in the morality of this issue than the legality. I have a program tha... | I think that if you don't distribute, then the whole thing is moot. If your patch is indeed small, and you would like to share it with the community but don't want to hassle with conflicting licenses, you might consider just declaring it Public Domain and be done with it. Yes, the closed-sourcers may grab it and use it... | 5 | 6 | 596 | 2011-06-16T18:17:12.727 | api_errors | softwareengineering.stackexchange.com | |
50,789 | Long pause when accessing DFS namespace | We've recently migrated our Windows network to use DFS for shared files. DFS is working well, except for one annoying problem: users experience a significant delay when they try to access a DFS namespace that they have not accessed for some time. I have tried to troubleshoot the issue but have not had any success so fa... | Well, we finally appear to have resolved this issue in our environment. For the benefits of others, here's what we discovered and how we fixed the problem: To try and gain further insight into what was occurring before/during/after the delays we used Wireshark on a client machine to capture/analyse network traffic whil... | 23 | 30 | 96,920 | 2009-08-06T06:42:23.910 | database_errors | serverfault.com | |
422,819 | Samba share for user groups with Ubuntu. A user can't access files created by other users | I have a folder mounted by using NFS on the server. That folder has subdirectories, and I want to share specific folders to specific user groups by using SAMBA. It doesn't work as expected, because every user can create files, but then they can only access their own files, and not the files from others. The NFS mount o... | I had to give up using ACLs via NFS. The mask is not working properly. I use inotify now instead, with a little script launched at startup: [CODE] The permissions are fixed now by this script, instead of fall back into ACLs via NFS. | 0 | 0 | 1,256 | 2012-08-30T10:26:01.770 | infrastructure | serverfault.com | |
301,656 | Postgres: Generate 1-per-parent id sequences for child ids with no holes | I want a – can I call it a sub-sequence ? – to generate identity for child lines. A sequence per parent entity, starting at 1 with no holes. That is, each parent's childrens Ids should start at 1 and increment. What is a simple and reliable solution? Detail, if it helps My application inserts rows into a child table fo... | So the simplest thing I can see is to put the 3 lines inside: [CODE] Repeatable Read is the level that guarantees that [CODE] in statements 2 and 3 is consistent with [CODE] in statement 1. Where “consistent” means, unaffected by any concurrent transaction. This amount of locking seems like the bare minimum (or close t... | 0 | 0 | 341 | 2021-10-25T21:23:17.340 | warehouse_errors | dba.stackexchange.com | |
311,573 | What redirect rule should I use to replace this 301 redirect, in Apache? | I am using this directive to redirect to [CODE] : [CODE] The problem is that when a path is used in the address bar, like [CODE] , it takes a pauses for a while before failing with [CODE] (no slash). Should a rewrite rule be used instead? What should it be, and are there any differences in behaviour that I should be aw... | You could use mod_rewrite, or you could use a RedirectMatch. e.g. something like this: [CODE] on second thoughts, just add a "/" to the end of the Redirect rule you already have: [CODE] either should work. | 0 | 2 | 89 | 2011-09-15T04:06:19.327 | infrastructure | serverfault.com | |
1,030,153 | Apache unable to start when SSLEngine is on | My SSL virtual host is as simple as that: [CODE] When I try to restart apache with [CODE] I get: Syntax OK Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details. But when I turn off SSLEngine with [CODE] apache starts n... | This is indicative of a problem with the certificates, httpd can't load them therefore it can't start up properly. Generally those errors do not show up unless you have a high level of error logging for SSL. Just set [CODE] for testing and remove it when you get it to work. Make sure certificates are PEM format (ASCII)... | 3 | 2 | 11,581 | 2020-08-14T16:24:53.053 | infrastructure | serverfault.com | |
144,517 | Ubuntu: move logs from /dev/tty8 to different terminal /dev/tty12 or get rid of it | I want to know how to move or get rid of [CODE] log output in Ubuntu 9.10. [CODE] is my regular X session. When I am switching user to test account where I can try and test setups and configs I am at next available console i.e. [CODE] because [CODE] is taken by log output. Where can I configure this ? All I've found re... | The culprit is [CODE] . I've found that after decompressing initramfs and looking around. [CODE] output console is hard-coded into the source. So solution is: 1. download sources for usplash package 2. modify sources for every [CODE] you find. 3. modify sources for ifs checking if [CODE] is 8 and similar for instance [... | 1 | 0 | 2,082 | 2010-05-23T08:12:21.177 | infrastructure | serverfault.com | |
244,960 | DBD::Pg::st execute failed: ERROR: canceling statement due to user request | I am using postgresql with pgadmin, I am getting following error [CODE] This is the function ld_mv_xrx_cal_ids [CODE] | The error message means that the PostgreSQL client sent a cancel request to the PostgreSQL server. That could happen if you are using the [CODE] command line client and hit Ctrl + C . But perhaps some component on the client side has met a timeout and sends the cancel request. | -1 | 1 | 7,254 | 2019-08-09T09:43:37.793 | database_errors | dba.stackexchange.com | |
179,423 | Basic memcached question | I have been reading up on distributed hashing. I learnt that consistent hashing is used for distributing the keys among cache machines. I also learnt that, a key is duplicated on mutiple caches to handle failure of cache hosts. But what I have come across on memcached doesn't seem to be in alignment with all this. I re... | There are two parts to this story: memcached servers and libmemcached clients. Memcached servers are indeed independent of each other. Memcached server is just an efficient key-value store implemented as in-memory hash table . What makes memcached distributed is the client, which in most implementations can connect to ... | 0 | 4 | 3,984 | 2012-12-14T10:36:43.820 | data_quality | softwareengineering.stackexchange.com | |
605,224 | Apache SSL redirect loop | We are trying to redirect our site from http to https only. Everything we have tried in .htaccess has resulted in a redirect loop. If we manually type the "https://" in front of the url, our page returns [CODE] . So I suspect it has something to do with not all the requested resources are being requested over https? Ou... | I did it like this: [CODE] And it works just fine. | 1 | 1 | 1,646 | 2014-06-15T06:35:13.760 | infrastructure | serverfault.com | |
594,455 | No PHP-GD package available on Yum... But it is | What I've done so far Installed CentOS 6.5 x64 Installed cPanel Added REMI and EPEL repositories to the system Tried [CODE] The response: No package php-gd available. Full response [CODE] The actual package listing on pkgs.org that says otherwise: http://pkgs.org/centos-6/remi-x86_64/php-gd-5.4.27-1.el6.remi.x86_64.rpm... | This is not a Centos/Linux/Yum issue. To enable PHP-GD on cPanel, you must go through cPanel's WHM interface and enable it via the following menu: Home > Software > EasyApache (Apache Update) and enable the GD module on the "Exhaustive Options List". cPanel will then rebuild PHP and Apache with the updated module. | 0 | 4 | 5,870 | 2014-05-12T04:29:26.007 | infrastructure | serverfault.com | |
673,182 | Monit - How to add a delay between stop and start | I would like to know whether it is possible to add a delay between stop/start methods. This is mainly because it requires at least 10 secs delay to close all open socket connections and close the server socket gracefully to start again. This is my monit script [CODE] Thanks | The command is [CODE] followed by a value in seconds. So add [CODE] between the lines and that should do it. Note that it must be an integer value on solaris; on general linux decimals work too (you can put 10.15 or something else). | 5 | 2 | 3,668 | 2015-03-05T04:02:43.970 | infrastructure | serverfault.com | |
749,052 | Cannot mount partitions from LSI Software MegaRAID | I have a ThinkServer RD440 running RHEL 7.2 with a LSI MegaRAID which is configured as a RAID 10 over 4 disks. It is configured on a partition level, not the raw disks. The root partition is not part of the RAID. For various reasons the original maintainer is no longer available and I don't have the root password. But ... | Well, sometimes one is pretty dumb. I generated a new root password with the following command and restarted the server: [CODE] | 1 | 0 | 858 | 2016-01-14T10:56:52.533 | database_errors | serverfault.com | |
351,016 | How to provide Java libraries internally? | In my small team we write applications that run as a Jenkins job and using the SOAP API of our Bug Tracker, our ALM software. They are accessed with Java however I think developers using other languages are facing the same problem like me as I regard it as pretty common. My problem Let's say I have a java class BugTrac... | Setup a Maven repository and manage your dependencies with Maven or Ivy. Maven seems to have more market and is a more complete tool for builds. Its main downside is that it relies in convention, which makes it very simple to use if you adapt to it but more complicated if you want to do things any other way. Ivy only m... | 0 | 8 | 385 | 2017-06-16T10:25:23.647 | pipeline_ops | softwareengineering.stackexchange.com | |
86,891 | Random http 500 on wordpress | My wordpressblog produces http 500s on a small percentage of the requests. It doesn't seem to be tight to special urls, but it seems to happen clustered in time. i.e there are times when it happens more often for an hour or so, and then it stops happening for a couple of days. I no probably nobody can tell me what is w... | Do you have WP-Cache installed or some other caching plugin? I've seen WP-Cache throw 500 errors from time to time in the past, though since switching to WP-Super-Cache, they've gone away. | 0 | 1 | 225 | 2009-11-21T05:59:15.747 | api_errors | serverfault.com | |
39,775 | Why doesn't my XPath find my element on the page? | I am trying to retrieve the content of the header and each chapter which is a repetitive structure as you can see below. For this am using Selenium and C#. My attempt, using xpath, is this: [CODE] where GetElementBy is based on the following method: [CODE] and the html is: [CODE] I get the following error and I don't u... | I think that your class selector for multi-class div is the thing that breaks it. Try [CODE] What is more, this line is trying to find 4th article element with class X and Y, but I think you only have one. [CODE] I presume you are looking for something more like this: [CODE] or [CODE] | 3 | 1 | 601 | 2019-06-30T19:54:39.130 | pipeline_ops | sqa.stackexchange.com | |
814,303 | Rails app works in ElasticBeanstalk but not in Docker Passenger container | I have a Rails app that works fine in ElasticBeanstalk. I am now trying to run in in the Docker Phusion Passenger Container. My Dockerfile is pretty simple: [CODE] When I run the container, Passenger gives me the following error: [CODE] My environment.rb file is: [CODE] I've confirmed that NGinx is preserving all the E... | As usual, 5 minutes later I figure it out. My Docker run time command is: [CODE] The [CODE] file contains my environment variables. I had been double-quoting these eg [CODE] Instead, they should just be: [CODE] | 0 | 0 | 171 | 2016-11-10T21:09:30.667 | pipeline_ops | serverfault.com | |
372,774 | Grepping through the results of apachectl -S | I have a server with about 300 virtual hosts. When I want to make sure a specific httpd.conf file is loaded into the Virual Host config and the syntax is correct, I run [CODE] . The problem is, though, I get a ton of output. I've tried [CODE] and [CODE] to try and make this data a little bit more manageable, but the ou... | The output of apachectl is sent to stderr. The commands you are using attempt to filter stdout. To use grep in the way you are describing, redirect stderr to stdout, like so: [CODE] | 3 | 6 | 3,501 | 2012-03-23T14:32:58.450 | infrastructure | serverfault.com | |
260,430 | Virtual host “Forbidden You don't have permission to access / on this server” on debian | Before I created a virtual host I could see " http://localhost ", but when I created a virtual host I could not see " http://localhost " and my virtual host " http://test " Here is my virtualhost config file: [CODE] so I ran a2ensite test and added 127.0.0.1 test to /etc/hosts file and restart apapche2 fine But after t... | Once you activate virtualhost you need to reconfigure [CODE] as virtualhost. You can simply copy-paste [CODE] parameters. | 1 | 1 | 5,561 | 2011-04-16T13:44:24.650 | infrastructure | serverfault.com | |
116,718 | InnoDB: SELECT COUNT(*) using primary key 25 times slower on Windows | MySql 5.6, InnoDB. I have a table with 8 million records. It has an integer primary key, and a unique index u1 CHAR(40). It also has a few small fields and a VARCHAR(1000). [CODE] takes 1.0 s [CODE] takes 1.2 s This is on Linux boxen. But on Windows boxen the times are 2 s and 45 s! The cnf/ini files are roughly the sa... | It turns out that the difference was the size of innodb_buffer_pool_size. On the Win box it was too low. It appears that, if you need the primary key, all the records (8 million times 1000 chars) need to be read. InnoDB seems to use the primary key as a "clustered index", meaning that it's welded to each record. That's... | 0 | 2 | 327 | 2015-10-01T13:38:12.933 | database_errors | dba.stackexchange.com | |
1,096,416 | Private Docker registry w/ NFS storage and Jenkins | I would essentially like to run a private docker registry on an internal LAN that would provide read-only access to a couple of Jenkins nodes. Jenkins Pipeline seems to only allow images from a local registry or an HTTPS based registry via withRegistry() or 'registryUrl'. I'd like to avoid setting up HTTPS/TLS, if poss... | After some trial and error, it looks like using NFS as the location volume mapped to [CODE] will allow for a local registry to run on each docker node with the same backed storage. For clarity, I did the following on each docker node: [CODE] Please note that this isn't really secure, as it is using NFS in a potentially... | 0 | 0 | 418 | 2022-03-17T18:48:58.113 | pipeline_ops | serverfault.com | |
569,872 | What actions in Office 365 trigger requests for new SAML tokens? | We're in the process of diagnosing an issue where our on-premise ADFS servers stop accepting requests from the ADFS proxy servers for short (5m intervals). One behavior that we're having difficulty understanding is that when ADFS stops responding, Outlook client users get prompted to re-authenticate, and get disconnect... | You should gather some perfmon data to see if the server is under heavy load and whether load is distributed among the AD FS servers. Load balancers that are misconfigured (for example sticky sessions) can cause more traffic to one server than others in the farm. Depending on the devices used to connect to Exchange Onl... | 2 | 0 | 1,386 | 2014-01-25T18:11:58.400 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.