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 |
|---|---|---|---|---|---|---|---|---|---|---|
562,771 | Cannot register new System Center 2012 Service Manager Data Warehouse after Service Manager database move | I recently migrated a customer from a 3 server SCSM topology to a 5 server SCSM topology and I am now having an issue registering the Data Warehouse Management Server with the Service Manager Management Server. All servers run Windows Server 2012 except for SCSM3, which run 2008 R2 SP1. Original Configuration SCSM1 Ser... | This is an old posting, but it's a situation I found myself in recently under the same circumstances. The problem I had was self-inflicted, when you go through the process of updating all the SCSM DB table references to the old servers and point them to the new servers, all of them point to the new SQL server except th... | 7 | 1 | 2,791 | 2013-12-20T16:38:56.717 | database_errors | serverfault.com | |
215,119 | mssql : log locking attemps | I have an application with lot's of locking problems, I'd like to log detailed things related to locks in my mssql db. More precisely: I want to log not only deadlocks (I've found how to do that, it's rather well talked about on the net) but rather all attempts to lock an object that fail. Can anyone give me pointers t... | MAGIC, ouch. Check out the " blocked process threshold " configuration option. You can also use SQL Trace/Extended Events to log all or filtered lock requests and lock acquisition and release events. This information will be very voluminous and expensive to process, so you typically only do that when troubleshooting a ... | -1 | 1 | 44 | 2018-08-16T19:43:18.030 | api_errors | dba.stackexchange.com | |
980,531 | Blocking hack attempts | I need some help. I am seeing a lot of attempted logins in my Security Log. This is a fairly new Godaddy VPS Server running Windows 2008 R2. The attends are with various user IDs, that do repeat. The log entry looks like this: Log Name: Security Source: Microsoft-Windows-Security-Auditing Date: 8/23/2019 5:43:31 PM Eve... | Are you 100% sure RDP is being restricted by IP at the firewall? My first impression would be that login attempts are being made to your server via RDP. You really need to check which ports are open and publicly accessible. One way to do this is to launch a web browser on the server, go to GRC.com , click the Services ... | 1 | 0 | 3,533 | 2019-08-24T01:20:55.487 | api_errors | serverfault.com | |
976,964 | How to accept connections from a Docker container to the host using iptables? | I have a Docker swarm cluster with a Prometheus container running on one node, Prometheus is configured to scrape all the Swarm nodes by their public IP addresses on port 9100 (Node exporter), all these IPs are collected dynamically. I'm also using a basic [CODE] configuration like this on all the nodes: [CODE] Current... | The container is an isolated environment. If you aren't running some services like DNS and NTP on the host itself, there aren't reasons to allow containers access to it. Allow only forwarding traffic to grant access to external networks. Define a list of services on the host, to which containers are allowed the access.... | 1 | 0 | 1,738 | 2019-07-27T14:23:54.417 | pipeline_ops | serverfault.com | |
480,400 | Launchctl jobs automatically getting unloaded on snow leapord | We have launchctl jobs loaded on the snow leopard server. Somehow, every few days the jobs gets unloaded and this is causing our periodic jobs not to run. When I logon to the machine, the jobs show up again as loaded in launchctl list. Did anyone see similar issue before? Bala | Are they loaded by the system launchd (as LaunchDaemons), or by the user launchd (as LaunchAgents)? If they're loaded as LaunchAgents, they'll only be loaded when you're logged in. If you run [CODE] as a normal user, it'll show LaunchAgents loaded in your session; if you want to see the system LaunchDaemons instead, us... | 1 | 0 | 54 | 2013-02-19T18:48:20.507 | infrastructure | serverfault.com | |
322,836 | Child Domain Migration to Parent Domain | Our company is planning on moving from a single forest with multiple domains to a single forest with a single domain. This is my infrastructure: Forest Root [CODE] SITES: Cambridge [CODE] Oxford [CODE] Karachi [CODE] Now, we are planning to move our child domains on root-dc.techtunes.lan then we will create separate OU... | You'll definitely want to use the ADMT for this process. The version you use will be dependent on what systems you need to migrate. For example, if you need to migrate Windows 7/ or server 2008 R2 machines, you will need to run ADMT v3.2 which can only be run on a Server 2008 R2 install. If you have no Server 2008 / 20... | 2 | 1 | 9,302 | 2011-10-19T09:24:36.703 | data_quality | serverfault.com | |
407,555 | Are there certain specific host file entries that Windows 2008 will ignore for security purposes? | While troubleshooting a network timeout/connectivity WinHTTP issue, I temporarily added a host file entry for: [CODE] (The server has no internet connection and the firewall was causing some extended timeouts -- I wanted to temporarily set it to a local address for it to fail immediately). For some reason though, even ... | This has been "known" for quite a few years actually. if you look in the dnsapi.dll (in system32) you'll see a string of hosts. There's a DomainScreenList: windowsupdate.microsoft.com windowsupdate.com microsoftupdate.com download.microsoft.com update.microsoft.com HostsScreenList: microsoft.com www.microsoft.com suppo... | 6 | 9 | 1,165 | 2012-07-13T15:42:54.773 | infrastructure | serverfault.com | |
419,686 | How can you create two different but linked aggregates without resorting to one transaction? | I have a web application where a user can customize one or more sandwiches to order. Once the user has set up his sandwich, the sandwich is added to an unsubmitted order. The user can add to the order has many different sandwiches has he or she likes. When the user is satisfied he can submit the order for further proce... | There are two different approaches to untangle the situation. Treat [CODE] as a part of [CODE] aggregate, not as a separate aggregate Remove the reference from [CODE] to [CODE] and follow the one aggregate per transaction rule If every [CODE] instance must belong to an [CODE] (or a [CODE] ) under your business rules, t... | 4 | 6 | 191 | 2020-12-05T15:07:06.680 | api_errors | softwareengineering.stackexchange.com | |
832,637 | AlwaysOn SQL VNet Migration from Azure V1 (ASM) to V2 (ARM) | Hoping someone can help! Currently in the middle of planning a migration from Azure Service Manager to Azure Resource Manager. Not able to find any documentation and thought I would reach out. When using the method of [CODE] to migrate Virtual Machines from ASM to ARM. If a SQL Alwayson cluster is the only Availability... | As long as all VMs in the cloud service are in the same availability set, then you are good to go. Migration is transparent and without downtime. If there's any incompatibility, the preparation phase will tell you. You have more than one availability set in a single cloud service. You have one or more availability sets... | 2 | 1 | 145 | 2017-02-15T09:17:36.630 | infrastructure | serverfault.com | |
399,231 | How to chain puppet masters | I have a Puppetmaster server A and a server B that is a Puppet client of A. I would like to setup server B to be a Puppetmaster itself and make server C be a Puppet client of server B. (Note: all servers are Debian squeeze.) [CODE] I tried, but when I try to start puppetmaster on server B I get this error: Could not pr... | In /etc/puppet.conf you need to specify the certs for server B as a server, and for server B as a client. When starting puppetmasterd on serverB [CODE] To create the client cert: [CODE] then conf file [CODE] | 2 | 2 | 1,412 | 2012-06-15T17:30:52.180 | pipeline_ops | serverfault.com | |
903,731 | Traefik can't access containers | I'm trying to solve this problem since days, but I don't get it and I didn't find anything helpful in the internet, so I'd be very grateful for every hint. A few weeks ago, I set up a new Ubuntu 16.04.4 LTS Server. I installed docker and ran an internal web page on it. Now we've got an additional webpage and I'd like t... | Here i'm using Host instead of HOST -l "traefik.frontend.rule=Host:appone.qwert.ch" | 1 | 2 | 2,728 | 2018-03-21T08:28:19.417 | pipeline_ops | serverfault.com | |
484,100 | Remote Desktop Connetion Software Detection | I´m using windows server 2012. And I have hyper V with x machines. That people connect to work. I have software in that machine, is possible for that software to know if that is a remote connection , is possible for them to query info , and find out about it? Or that the machine I´m using is a virtual machine? I´m asky... | If you're trying to skirt licensing restrictions or supported configuration concerns I suggest you abandon the idea. It is fairly trivial for application software to "detect" it is being executed in a VM and/or over Remote Desktop. Preventing either would be difficult w/o modifying the application's code. Obscuring the... | -2 | 3 | 64 | 2013-03-02T18:48:56.477 | infrastructure | serverfault.com | |
1,026,454 | Openstack octavia Provisioning status error when created loadbalancer | recently I deploy OpenStack ussuri using [CODE] based on centos8, I activate Octavia service by enabling it on [CODE] , after that I created the amphora flavor, security group, image with Octavia user in service project refer to this documentation when I create loadbalancer, I got error log like this [CODE] >> https://... | First check if all your resources are created under Octavia user or not...that can be one of the reason which is causing booting problem | 0 | 0 | 1,523 | 2020-07-23T16:31:48.997 | infrastructure | serverfault.com | |
202,221 | one to many relationship DB structure | I have a table of millions of records (user contribution). sometimes, our content team find duplicate content (as it is almost the same context, this represents about 0.1%) and they asked to make redirect to the original content/article. Now: I can add a column to the same table to point to the original article to be r... | Even though only 0.1% of the articles have a duplicate, the cost (in terms of wasted space) of a NULL int value (for a [CODE] column) in the [CODE] table is small. (In fact, if using the InnoDB storage engine, you will waste no space at all if the value is NULL. (See e.g. Bill Karwin's SO answer here as well as the MyS... | 0 | 2 | 106 | 2018-03-25T17:04:52.073 | data_quality | dba.stackexchange.com | |
874,959 | How can I remove dedup from my pool without running out of RAM? | I have a server with 8 disk bays filled with 3 TB disks. Using 4 mirrored vdevs of 2 disks each, this gives me 12 TB of redundant storage. Here's the issue - I read somewhere that I needed "x GBs of RAM for each TB of deduped data" (paraphrasing). I stupidly took this to mean that if my pool contained mostly data that ... | I actually figured this out on my own by just fumbling around. My system was automatically mounting ZFS volumes at boot time. If I booted my system normally, it would freeze during boot with the text "A start job is running for Mount ZFS datasets..." or something to that effect. If I booted in rescue mode, it would boo... | 7 | 6 | 2,359 | 2017-09-22T02:20:55.557 | infrastructure | serverfault.com | |
617,587 | Yum updates for CentOS by OpenLogic fails on Microsoft Azure | Earlier today I made a fresh install of CentOS in Azure from images provided by OpenLogic. When I try to update the system with [CODE] , I get: [CODE] ..and two more... [CODE] Has the hostname changed or is it temporarily unavailable? Regards Niklas | The error you recieve is because (as mentioned) the domain does not exist. I tried resolving the domain and it seems not to be working. Since this is a Windows Azure image it might be prefferable to ask their support what the new Centos Base repo mirror is. Or that you manually change it via [CODE] file. A sample one: ... | 0 | 1 | 6,549 | 2014-08-03T16:02:02.043 | infrastructure | serverfault.com | |
326,734 | Drop unique index of a unique constraint | I'm currently working on a postgresql 15 database. I've created a data table named "measures" with following schema [CODE] When I create this table, the primary key (variable_id, timestamp) creates a unique constraint with a unique index. My problem is that the default index is ordered ASC. I need to add another index ... | There should be no reason to change an index order from ASC to DESC, because Postgresql can use the same index for queries in ASCending or DESCending order without performance loss. So changing the order from ASC to DESC will make no difference. However , you are actually proposing to change the order of the columns in... | 1 | 0 | 1,007 | 2023-05-04T07:51:27.473 | data_quality | dba.stackexchange.com | |
55,821 | Pre-trained models | I am starting off with machine learning so could someone tell if there is some site where one can find the current best performing trained models for any specific problem like sentiment analysis or objection detection or any machine learning problem of that sort? | I think there is a 2 step solution for what you are asking: Identifying the best performing models: paperswithcode is a website with the best performing models for different tasks and different datasets. For any specific task (e.g. sentiment analysis), you can go to the appropriate section in the site, and try to ident... | 4 | 1 | 105 | 2019-07-17T09:29:07.467 | data_quality | datascience.stackexchange.com | |
321,857 | DB design: what is a good way to handle properties for game? | I must persist handful of properties for several games in relational DB. No other type of DB can be used. Number of games will be around 4-5, and number of properties is (for now) kind of small, but maybe it will grow later. It is almost guaranteed that all games will have same properties (same "keys" to say, not same ... | Your coworker's design is a well-known antipattern known as "entity-attribute-value". It looks really attractive at first due to its flexibility, but experienced developers know it's a very bad idea because it eliminates all of the advantages of using a relational database in the first place. When you have a (normal-st... | 6 | 9 | 379 | 2016-06-10T13:18:55.403 | api_errors | softwareengineering.stackexchange.com | |
351,642 | reinstalling full system on debian? | EXT2 boot drive got corrupted on a small debian box I'm running, nothing critical. An fsck took care of the fs level damage. The machine boots now, but there's apparently lots of little lib files and other stuff that got messed up when the drive messed up. Now, I can certainly restore from backup (yes, I have one), but... | Not with apt-get but: [CODE] means "reinstall all installed packages". However this will NOT replace missing or altered conffiles or other configuration files if they are missing, since debian assumes that if a configuration file is missing or altered, it is for a good reason. There are various ways to get back configu... | 3 | 7 | 19,955 | 2012-01-19T19:43:37.273 | database_errors | serverfault.com | |
131,990 | Reverse rdesktop or VNC overlay image! | I've got a central server ( linux based) and many clients ( Windows XP Embedded , afaik) in public places around my country. I need to have these clients to connect to the server with a " reverse " tunnel, that is to say that I need to control the clients from the server but the connection is initialized by clients. Th... | What you want is a VNC reflector. Check the source in here: http://sourceforge.net/projects/vnc-reflector/ and you have an howto in http://links.episd.org/DLoads/PDFs/vncreflector-how-to.pdf Best of luck, João Miguel Neves | 2 | 1 | 584 | 2010-04-13T15:42:11.377 | infrastructure | serverfault.com | |
133,750 | Shared Exchange Calendar View | My department creates a shared calendar for everyone to enter their out-of-office times. This requires duplicate entry for those of us who keep all our info in our own Exchange calendar. Is there a way in Exchange to create a View that's simply a combination view of multiple users' calendars? For example, we would crea... | There's a way to do it in Outlook and has been for years. When users click on their Calendar, they get a new button on the toolbar called "View Group Schedules." Then, they can make groups of users that they care about and view their free/busy times, and if they have reviewer or better rights, they can see details. If ... | 1 | 2 | 216 | 2010-04-19T12:40:18.337 | data_quality | serverfault.com | |
485,913 | Limitations with Hyper-v replication on Windows Server 2012 when hosting Windows 2008 R2? | I'd like to use Hyper-v replication on Windows Server 2012. My client will be Windows 2008 R2, I'd like to know if there are some limitations or if it is totally independant from the operating system ? For example, some configuration are missing like the IP configuration. And can you confirm that process is totally saf... | I really see two key questions here so I will address them separately. Q1: Do you have to be running a specific Operating System in the Guest VM to create a Replica of that VM in Server 2012 Hyper-V? A1: Hyper-V Replica is a function of Hyper-V in Windows Server 2012. You can create a replica of any VM regardless of th... | 0 | 3 | 2,250 | 2013-03-08T09:02:54.063 | database_errors | serverfault.com | |
493,339 | .Net Framework 3.0 SP2 KB2756918 not installing | Ok, I'm about out of ideas here. Can anyone help me with this .Net Framework Patch? I am trying to install a KB patch (KB2756918) to a Windows Server 2003 R2 x86 box. Edit: Just to clarify specs: Windows Server 2003 R2 32 bit Machines are on an isolated network Manually installing patch (yes it is the 32 bit version) I... | When all else fails: READ THE DIRECTIONS! (yelling at myself here) On the Microsoft website for this KB Patch: (Under Prerequisites ) "To install this update, you must have Windows Installer 3.1 or a later version installed on the computer. To obtain the latest version of Windows Installer..." Background: I can't even ... | 2 | 2 | 2,332 | 2013-03-28T19:21:45.280 | infrastructure | serverfault.com | |
130,663 | SharePoint Server Search Not Crawling | we recently moved some sites into a new farm, everything seems to be doing fine, but the search for reasons I can't identify are not crawling the migrated content. We're getting this message in our crawl log for every document: http://xxx/sites/...announcements The object was not found. (The item was deleted because it... | Found the answer, long story short my alternate access mappings were mangled... | 1 | 0 | 2,329 | 2010-04-08T18:43:20.913 | infrastructure | serverfault.com | |
406,808 | Shopping Cart Offers | I have been wondering about this issue for quiet some time now. I find interesting and I have not been able to come up with a solution. This must be seen in a context of a shopping cart where you can first choose to add 1 gold bar to your cart and then add another 2, so the sum is 3. Let's say we have these products: 1... | I agree it sounds like dynamic programming. BTW the question phrasing doesn't say how you wanted to approach some edge cases, e.g. There could be a few combinations of deals to "cover" the shopping cart, e.g. if the cart has 6 bars, and you have a special discount for a bulk of 3, and a different discount for bulk of 4... | -3 | 0 | 120 | 2020-03-20T18:52:50.013 | api_errors | softwareengineering.stackexchange.com | |
132,797 | DPM server 2010 Attach agent error : administrator privileges missing? | I’m hoping you would be able to help me out with this little problem I’m having. I installed DPM 2010 in our test environment to test backups on Exchange 2010 servers. The environment includes : 1xDC 2x Exchange Server 2010 1x DPM 2010 server All of these are running on Microsoft server 2008 R2 Virtual machines. The ho... | It's been a little while since I've setup DPM, try this one: Run [CODE] from an elevated command prompt on the servers with the agents. | 7 | 0 | 7,245 | 2010-04-15T17:23:05.817 | database_errors | serverfault.com | |
296,147 | Adding computed column extremely slow | We are trying to add computed column to a table and this operation is taking more than 20 hours to complete: [CODE] Database: MySQL verison 5.7 Table rows: 32,636,254 The table already exists with data in it and can't be removed. | Adding a [CODE] generated column causes table re-creation (copy). From Generated Column Operations in the documentation: Table 14.13 Online DDL Support for Generated Column Operations Operation In Place Rebuilds Table Permits Concurrent DML Only Modifies Metadata Adding a STORED column No Yes No No Modifying STORED col... | 0 | 1 | 213 | 2021-07-25T22:08:26.713 | database_errors | dba.stackexchange.com | |
157,339 | Unit testing C++: What to test? | TL;DR Writing good, useful tests is hard, and has a high cost in C++. Can you experienced developers share your rationale on what and when to test? Long story I used to do test-driven development, my whole team in fact, but it didn't work well for us. We have many tests, but they never seem to cover the cases where we ... | Well, Unit Testing is only one part. Integration tests help you with the problem of your team. Integration Tests can be written for all kinds of applications, also for native and OpenGL applications. You should check out "Growing Object Oriented Software Guided by Tests" by Steve Freemann and Nat Pryce (e.g. http://www... | 21 | 5 | 8,689 | 2012-07-19T05:22:33.967 | api_errors | softwareengineering.stackexchange.com | |
179,039 | warning signs of a power supply going bad | We recently have a computer with 3 out of 5 HD going bad (excessive bad sectors) within 1 week. This got me to start thinking that maybe it's the power supply. What are some warning signs / tricks to tell when the power supply is about to go? before it completely stop working. I read on another thread on SF about power... | What you need to catch are voltage drops and spikes, some less than 100ms long, and that over a period of serveral hours. That power supply tester won't catch those, and I don't know of any device that does. You can hook up a sensitive voltmeter, if you can see the voltage vary there's definitely a problem, but it won'... | 0 | 2 | 3,740 | 2010-09-08T05:18:44.097 | infrastructure | serverfault.com | |
447,906 | Compare TCP / network settings between Windows instances | I would like to compare the current TCP and/or network settings between two of my Windows Server 2008 instances in order to help me debug a latency issue I am facing. What is the best way to do this? Are there registry keys I should be looking at? | [CODE] ought to do everything that you need. /edit - except for any driver settings, which will be specific to the driver(s) in question, so without more info, we can't answer that. | 1 | 1 | 415 | 2012-11-12T16:53:28.213 | infrastructure | serverfault.com | |
1,010,649 | Setup Jenkins on Kubernetes - Error 403 | I am on a IaaS Kubernetes k8s on a Virtual Machine. I have setup a nginx and some other apps which are working well. (I can reach my apps) I am using nginx ingress controller. When I try to reach jenkins outside of the node, I get an empty reply but the ingress logs show a 403 When I curl jenkins inside of the node I c... | This is a community wiki answer. There are three most common solutions for this issue: If you don't mind reducing security of your Jenkins installation, you can uncheck "Prevent Cross Site Request Forgery exploits" in jenkins.com/configureSecurity section A safer one: "Enable proxy compatibility" in the "Configure Glob... | 0 | 2 | 1,478 | 2020-04-02T20:23:15.797 | api_errors | serverfault.com | |
140,102 | What are the pros and cons of implementing this requirement in different layers? | I have a CRUD app for [CODE] s. They are persisted in a database. There is a new requirement: keep track of the [CODE] s that have been created since the app was opened, so that the user can see what he/she has done. I see three ways to implement this: every time the app is opened, create a new sessionid (for lack of a... | There is a new requirement: keep track of the s that have been created since the app was opened, so that the user can see what he/she has done. I Don't fully understand you three ways But the correct way to do this is as follows. Every table in your system (The you want yo track) should have the following four fields o... | 4 | 1 | 471 | 2012-03-16T18:24:44.673 | api_errors | softwareengineering.stackexchange.com | |
738,882 | How to index and search files within a shared folder using Windows Server 2012 R2 and Windows 10? | I could not find anything useful on that topic, so I am once again turning to you. I want to be able to search files on a shared folder using Windows 10. The shared folder is on a file server running Server 2012 R2. The shared folder should be indexed. The search must use an index (fast, cheap) and not search the file ... | Install the Windows Search Index Service on the server. Then, in the Control Panel, open the Index Options, and and the file shares to the indexed locations. This should do it. Pascal | 7 | 2 | 25,270 | 2015-11-25T11:40:22.523 | database_errors | serverfault.com | |
981,500 | I can't auth from client using ldap when user's password is enctypted by {SHA} {SSHA},when it is {CRYPT} work | Server: Centos 7.2, Client: Debian 8.6 Problem is that i cannot log on client when password is encrypted by SHA/SSHA on server side. Ldapsearch from client station work. I can recived attrs from server when i ask server as user raj3.It work with SSHA i CRPYPT encoded user password. On server side password was generaded... | I am just guessing because so little information is provided here. Do you have pam ldap installed and properly configured? It seems that nss ldap is installed and configured however that is only half of what you need here. EDIT: you seem to have multiple basic issues and not one. Thus I would suggest to read this howto... | 0 | 0 | 325 | 2019-09-01T17:43:13.580 | infrastructure | serverfault.com | |
158,011 | Unable to connect to mongodb | I am trying to connect to mongodb and querying data from it. Here is what I am doing: In node js my db connection file is looks like this: [CODE] And the node js code which I am using to query data from the database is like this: [CODE] If I visit the URL http://localhost:3000/api/hotels Nothing is coming out. Also in ... | The right URL format when MongoDB authentication is enabled is: mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]] For your case: mongodb://user:pass@localhost:27017/meanhotel?authSource=admin Reference: MongoClient or how to connect in a new and better way | 1 | 4 | 1,454 | 2016-12-13T09:54:22.973 | database_errors | dba.stackexchange.com | |
18,817 | Classification affected by a lot of outliers in features? How do you deal with outliers? | I am working on a classification problem and I found my data having a lot of outliers which has resulted in reduction in my recognition rate. I have tried rescaling, normalization techniques like min max, box cox and even log transformation. I am considering of eliminating outliers from box plots but I am afraid I migh... | If the number of outliers is small and you are concerned that they will destabilize your solution, you could attempt a random forest classifier. The RF fits trees to random selections of data and variables, and collects "votes" from each, thus reducing the impact of outlier valuers. On the other hand, if the number of ... | 1 | 1 | 3,625 | 2017-05-07T22:49:18.537 | data_quality | datascience.stackexchange.com | |
171,477 | ORA-00933 With Match_recognize | Am trying to figure out was wrong with this simple query that uses MATCH_RECOGNIZE. Am getting the error ORA-00933: SQL command not properly ended. What could I be missing? [CODE] | When I first ran your query on SQL*PLUS (Oracle 12.2)- [CODE] I didn't get [CODE] as you have mentioned. But when I ran your code on Oracle 11.2.0.4 then I got the same error as you have said. And the reason is, the [CODE] clause is added on analytic function syntax from Oracle 12c only. Then on 12c, I corrected the er... | 0 | 1 | 256 | 2017-04-20T04:04:49.883 | warehouse_errors | dba.stackexchange.com | |
854,804 | nginx as Reverse Proxy - Disable Upstream Node if 502 | There is a very simple LB, say, LB1 [CODE] Each of the upstream servers is also an nginx LB running locally and reverse proxying a process on 9000 port. The problem is that when any of the processes on port 9000 go down, then LB1 happily returns 502 if request hits one of the machines where the process is down. [CODE] ... | Would be nice to know the formal answer,as to how make nginx ingore an upstream server if it fails with 502, but in this particular case it is just easier let LB1 contact servers on 9000 and remove intermediate nginx,which is there for historical reasons. | 0 | 0 | 2,069 | 2017-06-09T07:30:50.310 | infrastructure | serverfault.com | |
98,015 | MySQL stored procedure user privilege | I have a query regarding user permission on a stored procedure. If a user that does not have permissions to create tables in a database, but it does have permissions to create and execute stored procedures If those stored procedures create tables (as part of the SQL code that is executed) then, will the user get an err... | It depends on the [CODE] characteristic you defined when you created the procedure. SQL SECURITY for a stored procedure can be either [CODE] or [CODE] . If your user can not create table but the definer of the stored procedure can, then your user will be able to create a table through the stored procedure. By default, ... | 2 | 5 | 1,663 | 2015-04-16T10:18:17.553 | database_errors | dba.stackexchange.com | |
21,660 | ValueError ill-defined empirical covariance when running a Gaussian Mixture Model | I am getting the following error when running a Gaussian Mixture Model: [CODE] The matrix that I am using has a relatively large shape so it will be hard to display on this page, however, here is an overview [CODE] This is the code snippet for running the GMM: [CODE] Please let me know if more information is required. | In mixture.GaussianMixture(...) add an argument 'reg_covar=1e-5' or larger values if it still gives an error. It should work fine then. | 1 | 0 | 1,919 | 2017-07-24T15:25:26.330 | data_quality | datascience.stackexchange.com | |
207,705 | What is global mutable variable behaviour in dynamically-linked libraries? | When a dynamically linked library includes a global mutable variable, such as a container for state initialised when loading the library, how do references to that variable behave when running an application that links against it? Obviously the application cannot alter memory allocated to the dynamically-linked library... | Most operating systems support a concept called "sections" in their executable file format (possibly using a different name). These sections can be given different attributes (like, read-only, read/write, executable, etc.) and can be loaded into different parts of an application's address space. For example, the sectio... | 1 | 1 | 394 | 2013-08-09T04:26:08.767 | pipeline_ops | softwareengineering.stackexchange.com | |
733,718 | permission denied on authorized_keys | I am attempting to set up SFTP for chrooted users, and use SSH public key authentication. In this example I'll be working with the dummy user "globocorp" who's a member of "sftpusers". This user is chrooted to /sftp/globocorp I have placed my public key in the location specified in my sshd_config: /sftp/globocorp/sftpd... | I got it! Following the directions on this site: http://sysadmin.circularvale.com/server-config/rsa-authentication-with-chrooted-sftp-authorized_keys-location/ As root, I created a separate folder in: [CODE] This folder is owned by root, permissions set to "755" authorized_keys file is in this folder, and owned by the ... | 3 | 4 | 10,294 | 2015-11-03T23:09:52.863 | api_errors | serverfault.com | |
177,100 | Can connect to VNC only when computer is connected to another vnc server | I am having issues with a VNC. I am currently using Windows XP with UltraVNC. I am unable to connect to a vnc server. The only way for me to connect to the server is if I am connected to another VNC Server using the viewer. [CODE] Basically computer A can only view and can only be viewed if Computer B is connected to i... | If the server is behind a nat firewall/router, you have to do more than open a port in the firewall. You have to forward the port to the server. So, if your router's external address is: 12.34.56.78 And your server's internal address is 192.168.1.2 Then you need to forward port 5900 on your router to 192.168.1.2:5900 w... | 0 | 1 | 1,459 | 2010-09-01T19:34:07.703 | api_errors | serverfault.com | |
9,719 | Combining CD and GitFlow | Firstly, I apologize if the title is not descriptive enough or does not describe my problem well enough. I'm struggling to figure out how to describe my issue in brief! It really seems like this should be a problem that has been solved already, but I'm struggling to find the answer. I might be missing something glaring... | Conflating deployment environments and branches often leads to problems like you describe. It does seem like a natural fit though and easily maps to mental model of an ideal solution but, real life is anything but ideal. Basically, git is not a deployment tool, one should not clone to deploy a version but fetch a packa... | 3 | 3 | 950 | 2019-11-07T09:08:44.343 | pipeline_ops | devops.stackexchange.com | |
1,026,579 | Migrating Magento 1 db to Magento 2, Database is on Amazon RDS and the other is local to the new server | The company handling the migration is using a tool called UB Data Migration tool to migrate the magento website from 1.x which has its database hosted on Amazon RDS to a new amazon instance that contains the Database locally on the server (MYSQL). The issue is that they are receiving Gateway Timeout, I have checked the... | The timeout is probably cause because you're missing "Inbound rule" port for RDS database in your vpc. So when you try to connect manually from the new EC2 to your RDS DB, what happends, timeout? Check your configuration and compare it with the details in AWS documentation | 0 | 0 | 115 | 2020-07-24T12:48:04.093 | database_errors | serverfault.com | |
581,120 | How to allow writing locally on read-only NFS Partition | I created my own PXE/NFS network boot server on Ubuntu 12.04 as explained here . I can write to files on client side if I change [CODE] file like this on server side: [CODE] I want to change files only locally. I mean this shouldn't change the file on NFS partition if I write to the file on local. If i change [CODE] op... | In the client, you can copy the files to tmpfs (the same a live-cd boots to). You need to set a union type FS ( aufs ) between the RO filesystem on NFS and a tmpfs RW filesystem on your local machine. [CODE] now everything you do on /tmp will work on ramfs [CODE] notice the dir1=rw and dir2=ro . now you can [CODE] , wh... | 1 | 0 | 1,839 | 2014-03-10T20:29:09.597 | infrastructure | serverfault.com | |
24,875 | Vanishing Gradient in a shallow network | I created an ANN in Python 3. My backpropagation algorithm seems to work up to a point where the gradient becomes very small. I am familiar with the vanishing gradient problem, but I found that it only applies to really deep network; my simple test network is no such network. It consists of an input layer (1 input node... | This is not a "vanishing gradient" problem, it is just your network converging as designed. It is normal for gradients to become low as you approach convergence. In a really simple problem, like your linear regression, it is relatively easy to get a gradient of zero (within combined rounding errors). That is because, n... | 1 | 0 | 430 | 2017-11-17T23:46:23.007 | data_quality | datascience.stackexchange.com | |
110,473 | Nightly Excel Spreadheet import into mssql database | I am currently working with a nightly import that I need to create, but am not sure what the best route would be to update/insert into the current table. This is all done in MS SQL Server 2012 and pulling the Excel file from another server. I am trying to figure out how I can loop through the columns and pull out the d... | I think SSIS is really what you want to use here. To just do a very basic import of Excel into SQL Server this is a great link to use - Simple Talk 10 Simple Steps From there, you will then need to use a combination of Conditional Splits as well as MultiCast in order to move the data to different fields/locations depen... | 1 | 2 | 119 | 2015-08-08T22:10:12.667 | database_errors | dba.stackexchange.com | |
248,628 | Lost data, how to recover (sql server) | We currently have a db that the backup has been set to Simple that is being backed up every night (we have backups for last 7 days), is it possible to find records that were deleted in say June? The db is fully functional so no corrupting or anything, we just want to be able to see if we can some how find deleted recor... | As long as your recovery model is [CODE] and full backups for only last 7 days you do not have any chance to see what was deleted in June. Entries in the log file for [CODE] recovery are discarded when [CODE] does not need them for crash recovery. The answer to your second question - yes, you have to switch to [CODE] r... | 1 | 3 | 857 | 2019-09-12T13:02:11.590 | database_errors | dba.stackexchange.com | |
54,799 | Train classifier on synthetic images to recognise real images | I am trying to train a classifier (let's say to classify an object X or not X). But I don't have too much real images of object X which I want to classify. So I made some synthetic images of my own using some photo editing tools, but the problem is after feeding synthetic data my classifier doesn't recognise the real o... | There are several data augmentation techniques available as rightly pointed out by Paul. You could for e.g. see the following https://www.kaggle.com/cdeotte/25-million-images-0-99757-mnist where 25 million images are generated from 42K original images. The only other approach I would like to add is that if the real ima... | 1 | 1 | 177 | 2019-06-30T22:33:24.837 | data_quality | datascience.stackexchange.com | |
253,100 | Having md5(NULL) return a non-NULL value in postgresql | I have a table with the structure [CODE] , where I'd like to use [CODE] (which is the value of [CODE] ) as the primary key, and use it as a foreign key in other tables. This is a "static" table, where the content (some largish documents) would be referred to by their [CODE] value for simplicity, and to prevent duplicat... | I suggest this alternative design: [CODE] db<>fiddle here Major points Use a serial column ( [CODE] ) as surrogate PK of table [CODE] - and as FK reference everywhere. 4 bytes instead of 16. Enforce uniqueness with a unique index on the expression [CODE] . Be aware that hash collisions are possible (even if very unlike... | 1 | 2 | 2,386 | 2019-11-12T19:43:48.283 | data_quality | dba.stackexchange.com | |
108,255 | Remedie for a stubborn recall result? | I was working on a project connected to predicting default on credit loan with 0-1 loss. The recall is a crucial measure that should be maximized in this case, while monitoring precision for sanity of the results. As it is usuall with such data, the sample was heavily unbalanced , with low frequency of default cases. A... | Maybe I'm not aware of it, but I seriously doubt that any such trick exists ;) It's not surprising that any small increase in recall causes a massive drop in precision in this scenario. As an analogy, you're buying something rare and expensive with something common and cheap, so you must give away a lot of the latter j... | 1 | 1 | 25 | 2022-02-17T14:44:42.793 | pipeline_ops | datascience.stackexchange.com | |
7,294 | Help about NAT with virtual server | I have a dedicated server running Linux CentOS 5.3 with 2 IP addresses. I've installed a virtual machine using VMware Server. The host and the guest have a host-only network. Now I want to map the 2nd IP address to the virtual machine so that it can run as a second dedicated server for me. Here is what I do: [CODE] But... | I would suggest to set up the #2 server on VMWare to use NAT Mode (example of how to setup is here http://www.virtuatopia.com/index.php/VMware_Server_NAT_Configuration). After that setup the iptables with [CODE] You can test by pinging the gateway of 64.85.164.184 network from inside VMWare Server #2 | -1 | 1 | 563 | 2009-05-12T09:55:51.320 | infrastructure | serverfault.com | |
1,013,450 | Google Cloud DNS: Is it possible to have multiple TXT records for a single domain? | I have been asked to create a new TXT record for domain verification. I currently have a domain level TXT record used for SPF. When I enter in a second record, I get an error that the resource already exists. Is there a method to create a second TXT record in Cloud DNS for a single domain? | You can not create a duplicate record set entry. If you try it will give you " Error: The resource with that name already exists " Each individual record in Google Cloud DNS is treated as a record set. You can add two values or strings to the record set for the same DNS name by adding a space between the first value an... | 3 | 7 | 4,274 | 2020-04-21T21:56:14.530 | infrastructure | serverfault.com | |
184,388 | Is there any benefit in limiting the number precision on a surrogate PK in Oracle? | I'm reviewing some DDL that creates surrogate primary keys of type NUMBER(38). When I first looked at this I thought it was a problem because 10^38 is a HUGE number, much much bigger than the number of stars in the universe or all the grains of sand on earth . But I've come to learn that this doesn't matter in terms of... | Just use [CODE] If you are generating the primary key using an Oracle sequence (PS: you should), you are guaranteed to get integers so you don't have to have Oracle checking precision, etc. if you specified [CODE] to specify an integer with up to seven digits. And then if you ever exceed 7 digits, not a fun day to fix ... | 3 | 3 | 855 | 2017-08-25T20:17:00.487 | database_errors | dba.stackexchange.com | |
1,069,943 | NGINX / Cloudflare random 520 HTTP errors when HTTP2 is enabled within NGINX | I'm seeing a problem where Cloudflare returns a 520 HTTP error code to roughly 10% of requests. However the issue does not occur if I bypass the Cloudflare proxy, and request from the server directly. After lots of troubleshooting, I've discovered if I remove the two [CODE] parameters after [CODE] , then the issue goes... | The easy explanation is that according to the Understanding Cloudflare HTTP/2 and HTTP/3 Support : Cloudflare only uses HTTP/1.x between the origin web server and Cloudflare. You can disable the HTTP/2 on your origin server and still benefit from it between the browser and Cloudflare, as it is enabled by default if you... | 1 | 3 | 1,536 | 2021-07-18T08:07:10.770 | api_errors | serverfault.com | |
596,921 | NetApp erroring with: STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT | Since a sitewide upgrade to Windows 7 on desktop, I've started having a problem with virus checking. Specifically - when doing a rename operation on a (filer hosted) CIFS share. The virus checker seems to be triggering a set of messages on the filer: [CODE] This seems to specifically trigger on a [CODE] so what we thin... | I've come to the end of the run on this one, and now know why it's happening. In summary: Since Windows 7/2008 the default behaviour for 'LocalSystem' on a client machine changed. Where before it would use a 'null' login, it uses machine accounts for NTLM. Because we are going between two AD forests, Kerberos isn't bei... | 7 | 3 | 9,014 | 2014-05-19T09:11:11.590 | api_errors | serverfault.com | |
364,912 | Windows Server 2008 BitLocker | I would like to configure whole disk encryption on all of my Domain Controllers. Is BitLocker an acceptable method to do this? What are the potential problems with whole disk encryption on a Domain Controller? | Yes, using BitLocker for Whole disk encryption on a DC is acceptable. However, Keep in mind that BitLocker encryption is for OFFLINE disk protection. Once the DC boots, it will run with the file system unencrpyted. The potential problems are based on how you configure BitLocker. For example, if you don't have a physica... | 5 | 2 | 704 | 2012-02-29T15:43:54.070 | infrastructure | serverfault.com | |
363,933 | RewriteRule mp3 to php | I want to rewrite all .mp3 files to a php file. And I dont want to pass on the path so http://localhost/somepath/feb.mp3 http://localhost/feb.mp3 shouldn't do any difference. I came up with: [CODE] What am I missing? maybe some regexp before the (.*) but why doesn't it pick up the mp3 pattern and redirect to /files/rea... | Make the rewriting process stop when an MP3 is found instead of sending the request to [CODE] , use the [CODE] flag. And to make it not care what the directory path is preceding the MP3 filename, you'll want to exclude anything before the last slash character. So, try this: [CODE] Or, did you mean to actually redirect ... | 1 | 1 | 714 | 2012-02-26T20:38:21.447 | infrastructure | serverfault.com | |
874,438 | Set up bridged vxlan network in linux | I'm trying out [CODE] with linux, and this problem has kept me stuck for days. Simple Vxlan works fine Simple vxlan with muticast works for cross-host communication, this simply create a vxlan vtep and assign an ip address: [CODE] After running the above commands on both hosts, the topology is like: And this works fine... | This could be related to head-end replication of broadcast frames In my case (point-to-multipoint vxlan bridged with vlan) similar issue was fixed by adding static VTEPs entries [CODE] source: https://vincent.bernat.ch/en/blog/2017-vxlan-linux#unicast-with-static-flooding | 4 | 2 | 10,152 | 2017-09-19T13:46:45.073 | pipeline_ops | serverfault.com | |
64,425 | Backup and Restore Database Method | I have a production database. I am using FULL recovery model. I am taking regular FULL backup every week. I am planning to take LOG backup every day. Now, if my database crashes or failed to load due to a reason then what can I do? Restore the database backup and restore all the log backups or only the last log backup.... | If your database is in the full recovery model, you should immediately start taking log backups along with the full backups. For simple backup recovery model, you will not need log backups. The frequency depends on your required SLA (RTO & RPO), more on it here . Second, you should definitely be automating your backup ... | 0 | 2 | 289 | 2014-05-03T12:46:44.403 | database_errors | dba.stackexchange.com | |
74,131 | How should I use RMAN clone refresh using set until time? | I am using this technique to refresh dev. environments with production data. The business process is to request a tape hold for the full backup I want to use for a clone refresh to dev. Once this is imported, I use the exact server end time of the database backup (not the logs backup) for my set until time clause. [COD... | First you need to ensure that that the backup is in your library (surely you know better ways for find it, I put my query): [CODE] And... I hate to use "set until time" to restore/duplicate database. It is more human friendly but you can be surprised with an rman error at the end of the restore. Try to find the last co... | 1 | 1 | 7,721 | 2014-08-15T19:04:21.480 | api_errors | dba.stackexchange.com | |
12,805 | Azure DevOps issue with GIT, Visual Studio and Azure (Umbraco) | I am completely new to Visual Studio, .net and Azure DevOps I have a problem with GIT using the GIT bits (rather than CMD), in Visual Studio I have a .Net application (Umbraco), that has been built and runs fine. I built a CI pipeline in the Azure Deployment blade for my Azure web App. All works fine. When I go to Azur... | You need a little more understanding of Git and Continuous Integration (CI) systems. The main goal of a CI system is to automate the building of your project or code when it receives notification that a change has occurred in your git repository. But there are nuances that can be added so a specific change to the code ... | 1 | 0 | 66 | 2020-11-19T19:58:36.400 | pipeline_ops | devops.stackexchange.com | |
480,502 | Redirect Email Bypassing Mx priority number - installing SSL | I have client website hosted on my server but they use a different mail server not hosted with us, so we basically have [CODE] My problem comes when i try to install the SSL certificate it only sends to the [CODE] What i wanted to do is bypass their mail server for this email address only using DNS settings or MX prior... | Not possible, MX records are only looked up for the domain -- the user part is not used nor available to the DNS server. | 0 | 0 | 110 | 2013-02-20T00:34:09.817 | api_errors | serverfault.com | |
8,445 | How did you become a const correctness convert? | After 15 years of C++, I've still haven't learn to love using const. I understand it's use, but I've never actually been in situation where being const correct would have avoided the problem I was facing. So how did you come to love benefits of consts? | Well I wasn't convinced until I tried to embrace the philosophy. I first started by putting [CODE] to really read-only members of my most basic class members and member functions arguments. From there, I couldn't compile anymore. Then I persevered in going in the code using those basic classes, see if the previously [C... | 25 | 28 | 3,900 | 2010-09-30T04:50:06.690 | api_errors | softwareengineering.stackexchange.com | |
148,283 | MySQL Tables Missing/Corrupt After Recreation | Yesterday I dumped my MySQL databases to an SQL file and renamed the ibdata1 file. I then recreated it and imported the SQL file and moved the new ibdata1 file to my MySQL data directory, deleting the old one. I’ve done it before without issue, however this time something is not right. When I examine the (personal, not... | Well I tried a bunch of stuff and researched a bunch of commands, switches, and structures (not surprisingly, the MySQL docs were most helpful, if extensive—needle/haystack). Eventually some of my tricks worked (it turns out that others had thought of the same tricks, though I did not see the two major parts—recovering... | 1 | 1 | 6,458 | 2010-06-04T17:41:33.550 | data_quality | serverfault.com | |
284,652 | SQL Server 2016, Is this the best way to clear logs? | I to insert about 2 billions rows in a table as part of an upgrade. The logs keep getting full so I need to clear it. The recovery model is simple but I am also interested in Full recovery model solutions where I don't have to keep performing backups in prod. How do I keep the transaction logs to a minimum while insert... | The recovery model is simple... How do I keep the transaction logs to a minimum while inserting so many rows? In the simple recovery model, you can clear the transaction log (and prevent it from continuously growing) by batching your billion rows into multiple transactions, and issuing [CODE] s periodically. The overal... | -1 | 0 | 120 | 2021-02-03T21:54:47.317 | database_errors | dba.stackexchange.com | |
54,751 | Upgrading from 100BASE-FX to 1000BASE-SX fiber? | I've been trying to upgrade our small fiber network from 100BASE-FX to 1000BASE-SX . The cables are 62.5/125 multimode fibers, all terminated in patch panels with ST plugs (the round ones). As I understand whatever sources I could find, this combination should work fine ... but whenever I test part of the network, it n... | The TFC-1000MSC has SC (square) connectors, so if you're using ST (round) termination, you must be using some sort of dongle or coupler between the ST jack on the patch panel and the SC fiber jack on the fiber converter, right? Is the 3-meter test fiber terminated SC-SC, or are you using an SC-ST dongle or coupler for ... | 6 | 5 | 6,290 | 2009-08-16T17:57:01.553 | infrastructure | serverfault.com | |
245,169 | For MySQL, how to INSERT the result of a SELECT statement? | For MySQL, how to INSERT the result of a SELECT statement? I tried [CODE] which gives a message: [42000][1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE @input1 > 0 AND @input2 > 0' at line 6 Any idea how to fix it? Here ... | The basic syntax for this generally involves inserting into one table by selecting from another, which would look something like: [CODE] There is some flexibility in that, although perhaps not as much as you are looking for. It might be worth looking at the mysql docs for insert-select for more information. | 0 | 1 | 53 | 2019-08-12T20:20:51.813 | database_errors | dba.stackexchange.com | |
374,053 | Solaris 10 opencsw git package issue with bitbucket git hosting | Has anyone tried using `git' from opencsw package in order to work with bitbucket source hosting service (under solaris10)? I tried to use git as the bitbucket documentation explains, and - under Debian GNU/Linux, it worked flawlessly as described, but - under Solaris 10, I got Authentication Failed message. I even tri... | I dug up some candidates of smoking gun. I think the latest OpenSSL needs to be made available. [] Initial lead : GIT_SSL_NO_VERIFY The following is about the use of git under XP, but it turns out to be related in a somewhat indirect manner to my problem, too. At least the use of GIT_SSL_NO_VERIFY is a news to me, and ... | 0 | 1 | 2,296 | 2012-03-27T17:26:16.427 | api_errors | serverfault.com | |
270,103 | GNU screen clearing on vim,less,etc. exit | I'm very new to screen but have configured my ~/.screenrc file according to various recommendations I've found on the internet. I have one issue with it though which I'm sure could be resolved very easily; I think it's a termcap setting..? After using less, vim, top, or other programs in standalone bash (on Mac OSX 10.... | The answer lies in the terminal capabilities of both the "real" terminal that you are using and the terminal that is presented to applications via [CODE] . Applications performing their terminal I/O via [CODE] see a terminal of type [CODE] . Your "real" terminal could be anything from [CODE] to [CODE] . (Use [CODE] or ... | 7 | 6 | 8,129 | 2011-05-16T09:32:30.537 | infrastructure | serverfault.com | |
931,061 | Helm i/o timeout kubernetes | Trying to use helm on my kubernetes cluster. [CODE] went fine but trying to install or just [CODE] gives this error. [CODE] I've googled for many hours and nothing seems to be resolving the issue. Here's my cluster information: [CODE] What I've tried: Restarting all nodes Deleting Calico and reinstall Updating Calico I... | I was able to solve this by reiniting the cluster with a different CIDR (was previously using the same CIDR as the host vm (192.168.0.0/16). I used 172.16.0.0/16 and it worked right away. | 2 | 2 | 5,390 | 2018-09-15T16:51:05.753 | pipeline_ops | serverfault.com | |
400,148 | Info on SSH tunelling etc in certain context | Im an electronics engineer, with very little knowledge of networking and assoc. terminology I recently got a Lantronix XPort Pro for use in a project I am working on but have little to no knowledge of the concepts involve in setting this up for use. Have been able to muddle through getting it connected to my laptop but... | Conceptual introduction to SSH : http://en.wikipedia.org/wiki/Secure_Shell TLS (newer name for the SSL family of technology)[included because the box supports SSL which may be a reasonable alternative depending on your application]: http://en.wikipedia.org/wiki/Secure_Socket_Layer Given a bit more information on the ap... | 1 | 0 | 93 | 2012-06-19T14:15:27.583 | infrastructure | serverfault.com | |
598,751 | How to logon with local account? RODC "There are no logon servers to process your request" | I have a site-to-site VPN, writeable DC in the main office, Read-only DC in a branch office. Today the VPN went down, but I couldn't log in to the read-only DC - the error message came up [CODE] Since the RODC is a domain controller, there is no local administrator. How can I ensure that I am always able to log on to t... | You need a GC - Global Catalog - to process logon requests ;) | 2 | 3 | 3,788 | 2014-05-27T09:05:18.767 | infrastructure | serverfault.com | |
652,521 | SSH issues: keyfile and host file not working as expected | When I login to server with a key [CODE] everything goes without glitch. The key is authorized on the server. However if I try to do same from a shell script, I get a password request. Same happens when I try to scp using the keyfile: [CODE] I have also created ~/.ssh/config for the host: [CODE] When I try to SSH in ju... | This was probably due to .ssh directory or user's home directory not having the correct permissions. Re-creating the users likely fixed that. | 1 | 0 | 120 | 2014-12-14T22:06:06.047 | infrastructure | serverfault.com | |
103,235 | Arithmetic overflow error varchar to numeric | I'm getting an arithmetic overflow error and I can't seem to find out the case. I've recently had to adjust some stored procedures, to allow for dates in the future to be put in. The following part of the ensuing data extraction now fails with arithmetic overflow errors: [CODE] I'm not entirely sure why this error is o... | You get the error because essentially at the end you're dividing an 8 character long string by a numeric value which is has precision as 3 like this example below [CODE] SQL Server internally tries to [CODE] [CODE] to [CODE] and fails with your error. [CODE] works because now [CODE] can be converted to [CODE] . You don... | 2 | 4 | 1,521 | 2015-06-04T10:43:49.707 | database_errors | dba.stackexchange.com | |
56,143 | server is beeping | Walking by the server closet I noticed that one of our servers (namely the one that hosts the company software/data) is beeping: low-high repeat. As soon as it started, I backed up all of the data stores to separate drives, but it's been fine since it started beeping yesterday afternoon. Now I'm only the lowly software... | RAID array failure? Second power supply failure? | 3 | 4 | 42,159 | 2009-08-19T15:15:31.683 | infrastructure | serverfault.com | |
966,714 | Automount nfs on redhat 7.2 not works | I have the following nfd share folder on my linux client ( redhat 7.2 ) [CODE] we decided to use the service auto fs in case this share folder is unmounted we created the following service ( according to link - https://michlstechblog.info/blog/systemd-automount-nfs-export/ ) [CODE] the conf [CODE] and [CODE] and [CODE]... | Mount unit configuration files in systemd are not services, they need a file name extension of [CODE] not [CODE] | 1 | 2 | 226 | 2019-05-10T13:30:59.980 | infrastructure | serverfault.com | |
69,625 | How to code a simple forward propagation of recurrent neural networks? | I know the theory behind recurrent neural networks or RNN but I am confused about its implementation. This is an rnn equation I got from the web, I tried to code the forward propagation alone in python's numpy [CODE] But I get a broadcasting error. How do we implement the forward propogation of rnn? | In other words, what does the forward pass of a RNN look like. You read about using the inputs plus values from the previous node (here it will be prev_s) First initialise the weights, than perform the foreward pass. I highlighted what you was looking for. [CODE] So the ' * * ' area can be roughly translated: mulv = np... | 1 | 1 | 965 | 2020-03-13T08:42:58.313 | data_quality | datascience.stackexchange.com | |
523,385 | Directory permissions set to 0755 but not visible by FTP user - why? | A website (on a shared host) would seem to have been hacked as it looks like directory/file perms have been changed across the site. The FTP user is now unable to even see the parent files and directories. The website is stored in a subdirectory off the document root (internal rewrite to this subdirectory). The website... | It could be a configuration issue rather than a security failure too. Have they changed anything significant on the server (a major update of the control panel environment perhaps)? The file permissions bitmap is not the whole story: the user/group ownership settings are significant too, as is the configuration used fo... | 0 | 2 | 409 | 2013-07-15T13:50:38.263 | infrastructure | serverfault.com | |
340,438 | Bugzilla error after installation | After the installation of bugzilla, I am unable to find the bugzilla login page, The following are the errors which is showing in the browser. ./data/params file does not exist. You probably need to run checksetup.pl. at Bugzilla/Config.pm line 337. Compilation failed in require at /var/www/bigbugz/bugz/index.cgi line ... | You probably need to run [CODE] . | 0 | 0 | 1,257 | 2011-12-13T11:41:33.213 | infrastructure | serverfault.com | |
575,299 | PHP-FPM save sessions in memcached | I'm trying to switch my session_handler to memcached, I'm not sure if it worked, it does not look like it did. [CODE] After hitting my blog a few times, I should have a key in the memcached, shouldn't I? [CODE] phpinfo(): [CODE] Can someone lead me to the correct configuration please? | Did not work: [CODE] Did work: [CODE] Quotes added, protocol removed | 1 | 0 | 8,691 | 2014-02-13T11:11:29.363 | infrastructure | serverfault.com | |
119,900 | Virtualmin install failing on Rackspace Debian 5.0 | Running the install.sh script as-is from Virtualmin (GPL version), I get a dovecot error after about 5.5mins of installation. I have tried this on several versions of the server - same error whether or not I run apt-get update +/- apt-get upgrade .... and whether or not I have the FQDN set. Here's the end of the instal... | The video isn't working for me. Paste in the last few lines before the bit about "displaying the last 15 lines of the log file", as sometimes that's actually where the problem shows up. The log, unfortunately, can't capture everything on all systems (apt-get doesn't like being run from scripts, and it makes capturing e... | 0 | 2 | 645 | 2010-03-06T18:21:46.687 | infrastructure | serverfault.com | |
690,493 | HAProxy log outgoing requests | Currently, my HAProxy logs have information about the incoming requests: HTTP version, method, host, path, and headers. I am trying to debug my HAProxy config, and need to know what the resulting outgoing requests are, particularly the host and path. How do I log outgoing requests so that I can debug HAProxy? | "Outgoing" is relative, I believe, to whether you are proxying or reverse-proxying. I'd give you a detailed answer, but I think it's easier to point you to the specific CustomLog format of the documentation. http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#8.2.4 | 8 | 0 | 3,813 | 2015-05-07T23:19:10.340 | infrastructure | serverfault.com | |
167,915 | How do I develop database-utilizing application in an agile/test-driven-development way? | I want to add databases (traditional client/server RDBMS's like Mysql/Postgresql as opposed to NoSQL, or embedded databases) to my toolbox as a developer. I've been using SQLite for simpler projects with only 1 client, but now I want to do more complicated things (ie, db-backed web development). I usually like followin... | Some answers: You should have an initialization script that rebuilds the database in the "pristine" state for the integration tests. This will also be useful when you go-live to make sure the initial database is initialized properly. For unit testing you may want to mock the data with in-memory mocks of the database fo... | 4 | 2 | 578 | 2012-10-08T01:03:15.320 | database_errors | softwareengineering.stackexchange.com | |
237,339 | Database design that requires an index over two tables | Using PostgreSQL (currently 9.6, but upgrades are possible), I currently have the following database layout where customers can order products, which are themselves sorted into categories (products may be in multiple categories): [CODE] Data volume Now, I have a fairly large amount of orders (~30M) and a reasonable num... | If you have an index [CODE] , as well as the one you already have [CODE] then this type of query should be very fast. You can do a highly specific index scan on each table separately, then hash join the results. https://explain.depesz.com/s/JEpZ If that isn't fast enough for you, or you can't get it to use such a plan ... | 3 | 1 | 166 | 2019-05-03T17:06:22.110 | database_errors | dba.stackexchange.com | |
566,589 | opening website when redirecting to IP using A records | I have created a website in Windows Azure..deployed it properly and configured custom domain for them . Every thing is working fine except when i am opening the website without www prefix it is showing problem. Earlier i have not added A record in my DNS. I added it and in that A record i put the IP that is the public ... | Did you add the name without www(e.g. dreamsuccess.in) in the A record. http://forums.iis.net/t/1201235.aspx?Web+site+does+not+open+without+www+prefix This may be helpfull. | 0 | 0 | 67 | 2014-01-11T14:54:08.653 | infrastructure | serverfault.com | |
234,278 | Moin, uWSGI & nginx - setting up at <my-domain>/wiki | I am trying to set up a MoinMoin Wiki install on our nginx/uWSGI server using a sub-directory. We already have a Django app running on :80. Initially I setup the Moin app with it's own server block running on :8000. This worked perfectly, however, what we want is to run MoinMoin under /wiki. The problem is that when I ... | add uwsgi_param SCRIPT_NAME /wiki; uwsgi_modifier1 30; in location /wiki directive Then add --ignore-script-name in uWSGI command line | 3 | 1 | 2,868 | 2011-02-11T09:18:20.983 | infrastructure | serverfault.com | |
245,026 | Matching weighted unbalanced Bipartite graph | I am looking for a way to solve an assignment problem, but I am having some problems finding the correct algorithm to use. I have 2 list of nodes A and B, and in my problem may the length of A not be equal to B. In addition, the node a in A may not be a potential match with all nodes in B. The preference is given by a ... | You can add dummy nodes to B having edges with weight 0 to nodes in A and then invert the weights of edges. Check http://en.wikipedia.org/wiki/Assignment_problem and I think you can apply Hungarian algorithm to this problem with the modification and after finding the minimum total cost you can invert the weights again. | 1 | 1 | 829 | 2014-06-14T22:54:49.653 | api_errors | softwareengineering.stackexchange.com | |
316,794 | IP Address filter 'before' http secured connections for protection against DDoS attacks? | One technique to protect against DDoS attacks is to monitor the number or requests per seconds coming from a given IP address. Of course, IP addresses can be fakes, but let's assume this is not an issue here. A web application installed on Tomcat (for example) can be configured to use secured http connections only (i.e... | Ubuntu's ufw tool has a [CODE] option that limits a service to 6 connections per IP address per 30 seconds. You can also use iptables . Many of the examples are for limiting [CODE] , but just changing the port should do it. | 0 | 1 | 1,029 | 2011-09-29T12:05:50.613 | infrastructure | serverfault.com | |
874,157 | Tomcat has stopped generating stdout logs | We have tomcat server in our production environment. Suddenly tomcat has stopped generating stdout logs . Last generated log by tomcat is one month ago and the size of stdout log file is 5006 KB . What is the reason behind there is no stdout log generated suddenly? As logs are crucial factor for us please help me in di... | For each logger defined in tomcat logging config, there is only one output file. Tomcat opens this file at startup and redirects the output there. That't it (from Tomcat side) However, there's a program called logrotate which is executed as a cron job. It copies the current output file to a new one, then truncates (emp... | 2 | 1 | 4,148 | 2017-09-18T03:59:35.737 | api_errors | serverfault.com | |
497,570 | What are the basics of taking care for a common server? | I have been instructed to administrate a linux server, running SLES out of the box. It’s a Typo3 web server, and there are running some web apps in Tomcat, too, but there is no sensitive contents on that server (no personal information, no credit card numbers or that like) wich would require special protection. The ser... | If I was asked to “take care of a customer’s server”, I'd probably ask if they mean it "Al Pacino" or "Julia Andrews" way of "take care of". (sarcasm) Everything depends on what is running on the server. You can (and you should) monitor every important service like DB, RAM, webapp, ... (for example with Nagios). The re... | -4 | 2 | 529 | 2013-04-09T10:34:58.177 | database_errors | serverfault.com | |
716,428 | Hardware RAID1 configuration - Possibly failed sectors on one physical disk. Does the OS automatically read from the other disk? | I'm not a professional sysadmin but since I couldn't find answers to my specific case after researching for a while I was hoping I could get some help here. Our server uses P222 - a HP Smart controller array in RAID1 configuration. I believe some sectors on one of the physical hard drives have failed. I used the [CODE]... | Okay. This is a long question, but will get a short answer: If you see "Predictive Failure" or "Failed", replace the disk. Both of those conditions are valid for the purpose of establishing a support ticket and/or warranty parts replacement from HP. "Predictive Failure" incorporates S.M.A.R.T. data as well as other heu... | 4 | 2 | 523 | 2015-08-24T20:28:51.240 | data_quality | serverfault.com | |
52,647 | Reducing MAE or RMSE of linear regression | I am trying to guess a home price and at the end I intend to figure out a formula by using linear regression. As you can see here , I have 1480 samples with 45 features in which [CODE] (fiyat) is the target variable. Do higher values for $RMSE$ and $MAE$ mean that the dataset cannot be trained in a good manner? Is ther... | You can try things like outlier removal, reducing data skewness, or stacking different models. For an advanced regression guide, checkout this kernel from Kaggle. | 3 | 1 | 20,713 | 2019-05-26T10:24:56.420 | data_quality | datascience.stackexchange.com | |
489,679 | Delay in file-availability on Windows server | I have a Windows 2008 R2 server where I do a lot of processing and store huge data sets. I have several computers all doing local processing, fetching and returning data to the server. I have noticed that sometimes when I create a file from machine A on the server, it can take up to several minutes before machine X can... | I would take a look at the SMB cache values and how frequently its set to fetch metadata. This would only be relevant if both machines in each setup were Windows 2008/utilizing SMB2. http://technet.microsoft.com/en-us/library/ff686200%28v=ws.10%29.aspx The part on troubleshooting the impact of these caches may be usefu... | 0 | 2 | 1,091 | 2013-03-20T14:52:28.497 | infrastructure | serverfault.com | |
156,837 | Group Policy install script applied but software not installed | Where i work they use Group Policy to install Symantec Endpoint Protection. Lately they've been having me build a bunch of new systems they bought so that they can be sent out to the staff/replace old computers. These are the first set of 64-bit windows 7 computers we've tried to roll out so far. our problem is this. G... | Can you run the MSI files directly on one of the machines which is failing and see if you get any helpful error messages. Also, check the Event Log for any errors around logon time. 64 bit machines do have some problems with 32 bits drivers (the antivirus will install a few drivers) and that might be bombing your insta... | 1 | 1 | 511 | 2010-07-01T21:24:30.723 | infrastructure | serverfault.com | |
523,048 | PHP5 in ubuntu not updated? | I just installed php5 on my newly setup Ubuntu Server 12.04. However, I noticed why does the PHP version is kind of too low? As compared to the official PHP.net website, the recent version is at PHP 5.4.17 or PHP 5.3.27. Is there anything I am missing? [CODE] | Ubuntu uses a stable release model, which means that once a release is officially out, changes must remain minimal in order to guarantee consistent user experience. You can find more information about this policy on https://wiki.ubuntu.com/StableReleaseUpdates This mean that most packages are frozen and will not be upd... | -5 | 3 | 294 | 2013-07-13T07:43:18.740 | infrastructure | serverfault.com | |
227,502 | Millions of SYN_RECV connections, no DDoS | We have such server structure: reverse proxy (nginx) -> worker (uwsgi) -> postgresql / memcached. All servers are in local network behind router, with NATed external ip:ports (http/s 80/443 to proxy, and ssh 22 to all servers). Problem is, that sometimes proxy server netstat reports MILLIONS of SYN_RECV connections. Fr... | Is this tcpdump from your server? It looks like the ACK from the server is not making it back to the client and then the server sends duplicate ACK's waiting for the SYN from the client in order to complete the three way handshake but the client is not sending the SYN because it's not getting the ACK. I would try to pu... | 2 | 1 | 3,578 | 2011-01-27T08:33:08.117 | database_errors | serverfault.com | |
243,324 | Consequences of cascade drop on sequences/functions/views | I am migrating some data to another server while dropping all sequences/functions/views. When I try to do simply [CODE] without [CODE] , errors are thrown to indicate dependencies. The goal is that if no data (=tables?) will be affected by using [CODE] , then I can use it. Assumption : if no table is dependent on views... | I am quite certain that no table would be dropped if you remove views, sequences and functions with the [CODE] option. But parts of a table may vanish: Indexes, triggers, rules, column defaults, check constraints and in PostgreSQL v12 generated columns may vanish if you drop the functions and operators used in them. Co... | 0 | 0 | 528 | 2019-07-19T14:21:08.713 | warehouse_errors | dba.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.