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 |
|---|---|---|---|---|---|---|---|---|---|---|
604,437 | Mac OS X Firewall isn't firewalling | Rather confused by the results I'm getting on a Mac OS X Server running 10.8. I have an app that is running a web server on port 8000, which I want to be visible only to localhost. This seems perfectly suited for the GUI OS X firewall, but after turning it on (and searching its limited options), I'm still able to conne... | Open [CODE] , switch to superuser by unlocking it, select [CODE] , click on the + , select your application server, and click on the Add button to create a new firewall entry for your server. For this new entry select on the right [CODE] . Check your server locally and remotely. | 1 | 0 | 126 | 2014-06-11T18:11:57.087 | infrastructure | serverfault.com | |
297,926 | Column constraint based on values in another column | I have a PostgreSQL table [CODE] , with the following example rows: [CODE] Update values to the [CODE] column depend on what value the [CODE] value is. When [CODE] is 'RESEARCH', only values of 'COMPLETE' or 'INCOMPLETE' can be entered for [CODE] values. When [CODE] is 'SURVEY', only values of 'ASSIGNED' or 'NOT ASSIGN... | A [CODE] constraint does the job. Simpler, cheaper and more reliable than a trigger. To enforce the listed combinations, your table definition could look like this: [CODE] Or a simpler equivalent: [CODE] fiddle The manual: There are two ways to define constraints: table constraints and column constraints. A column cons... | 6 | 7 | 8,246 | 2021-08-11T22:43:51.440 | database_errors | dba.stackexchange.com | |
277,592 | NT 4 era peripherals and Win 7 with XP Mode | I have a legacy label printer from the NT4 days that I need to get working on our newly imaged Win7 systems. Is it possible to use XP mode to host the driver for the printer, and share that as a networked printer to the host system, thus bypassing the driver compatibility issue? Edit - It's a Seiko Smart Label Printer ... | That's very uncertain territory you're running into. You might be able to install the printer in xp mode... but sharing it into windows 7 will have the same effect as installing it directly into windows 7. If there is no driver that will work in 7 for that printer, then you won't be able to print to it in 7. There's no... | 0 | 1 | 238 | 2011-06-06T20:27:25.380 | infrastructure | serverfault.com | |
326,025 | Select property after converting a string to jsonb | A column in the postgres DB (14.2) was historically a text before I've started writing serialized json objects into it so current type is text. Currently most of the rows looking like [CODE] What I need is to select [CODE] so I'm converting the column to jsonb using to_jsonb(): [CODE] to_jsonb() seems to work and shows... | There are layers to this mess. At the core, you double-quoted strings that should have been single-quoted, thereby escaping all double-quotes. To undo, I suggest this simple helper function: [CODE] Detailed explanation: Unescape a string with escaped newlines and carriage returns You may need to do more. That's also ad... | 0 | 2 | 1,940 | 2023-04-14T18:28:04.490 | warehouse_errors | dba.stackexchange.com | |
469,505 | Access denied to shares residing on volumes other than C: | I have tried this from three different virtual machines running on vSphere 5.0 with the same results. All disks are Virtual Disks as provided by ESXi (not iSCSI; not NFS). All disks (C:, E:) are formatted as NTFS. If I create a folder on the C: and share it to Everyone:FC I can access it from a client PC as expected. I... | I haven't found confirmation from MS or VMware that this is a bug but it really looks like it is one. I don't know enough about all this to state, with confidence, what is happening but what appears to be the problem is how ESXi presents supplemental disks to the OS. The problem lies in the HotPlug feature. After disab... | 2 | 1 | 875 | 2013-01-16T03:46:18.573 | infrastructure | serverfault.com | |
217,144 | Stored Procedure triggered by Service Broker can't access another database in SQLServer 2017 | I make an extensive use of SQL Server Service Broker to trigger/parallelize data science tasks (data imports with SSIS or direct queries to another database on the same server, then data management and machine learning with R and/or Python external scripts). I wanted to upgrade from SQL Server 2016 to SQL Server 2017, ... | From comments: I don't believe the behavior has changed between SQL 2016 and SQL 2017. It may be that the SQL 2016 database was [CODE] whereas the SQL 2017 database is not or has a database owner sid mismatch. The proper solution is module signing as Rusanu describes . Also see the Activation Procedures for Service Bro... | 4 | 1 | 1,347 | 2018-09-10T07:53:37.877 | database_errors | dba.stackexchange.com | |
1,041,687 | docker-compose and willfarrell/autoheal not restarting container with exit 2 | docker-compose is not restarting my container even if it is listed with an exit code 2 is [CODE] . [CODE] It is defined in the [CODE] with [CODE] . [CODE] In which cases can this happen? | A container exit value of 2 is reserved by Docker. A container should [CODE] to correctly trigger a health check. The command’s exit status indicates the health status of the container. The possible values are: 0: success - the container is healthy and ready for us 1: unhealthy - the container is not working correctly ... | 1 | 0 | 1,892 | 2020-11-07T20:23:25.457 | pipeline_ops | serverfault.com | |
729,688 | Multiple 12292 and 10 VSS errors | My server running Server 2003 R2 has been reporting multiple 12292 and 10 VSS errors when the UniTrends agent calls to the Shadow Volume Provider for a VSS Snapshot. The server has the latest updates including SP2. Thus far I have: • Checked vss writers using the vssadmin list writers command : All writers were stable ... | Re-register the DLLs for VSS: [CODE] Source: You answered your own question on the TechNet forums - just making sure the answer is updated here as well, in case you don't come back: https://social.technet.microsoft.com/Forums/en-US/a1cb0922-6bce-4a5d-9d65-735b1ba5eef5/multiple-12292-and-10-errors-at-beginning-of-3rd-pa... | 3 | 2 | 1,444 | 2015-10-17T16:50:33.173 | infrastructure | serverfault.com | |
91,674 | Why does psql attempt to connect with a different username when run from a Perl script | I have a bunch of Perl scripts that have recently stopped working. I have narrowed the problem down to this: when I connect to a postgresql database from a perl script, it attempts to use the wrong username and the connection fails. E.g. if I am logged in as someuser: [CODE] the output is as expected. But if I attempt ... | The "have recently stopped working" implies there has been a change recently. Have you applied either a Perl DBI or PostgreSQL update recently that coincides with the change in behaviour? If so then information about which versions you moved between would be useful. Is it possible that your perl interpreter is SUID "an... | 1 | 1 | 1,484 | 2009-12-07T13:56:53.300 | database_errors | serverfault.com | |
770,465 | Confluence JVM allocates and does not release files | Confluence running on Unix was throwing errors about running out of local disk space. With 100GB of space free this should not be possible. A [CODE] showed that 98% of disk space was being used with less than 50MB free. A [CODE] reported that the wiki was using 31G in total. With [CODE] showing that there was very disk... | The solution was to restart Confluence. After the restart the temporary allocated files were freed. This was probably caused by an excessive use of the Confluence CLI | 0 | 0 | 40 | 2016-04-15T00:01:47.400 | infrastructure | serverfault.com | |
401,150 | How to manage versions on monorepo with application requires to support multiple releases? | I try to figure out how to manage versions in an monorepo where one of the packages is an application that needs to support multiple releases. Assume we have a monorepo with just two packages: [CODE] and [CODE] : [CODE] [CODE] is released [CODE] tag is created. We continue to make changes to the code and the repo becom... | Here is my own take on this, after collecting ideas from other people. First of all, let's state the benefits of monorepo: reduce the need of publish chaining: [CODE] : change and publish [CODE] : update [CODE] , change and publish [CODE] : update [CODE] , change and publish ...and so on symbolic link or direct referen... | 9 | 5 | 10,247 | 2019-11-15T18:43:38.957 | api_errors | softwareengineering.stackexchange.com | |
67,911 | Extremely long query time after upgrading to Postgres 9.3 from 9.1 | We're attempting to upgrade from Postgres 9.1 to Postgres 9.3 on a FreeBSD 9.2 zfs box. Performance is noticeably slower across the board, but we have one query that has gone from 353ms to >200000ms. We did a pg_dump and pg_restore so the data is the same. The query plans are the same. We can't figure out what is causi... | The key difference is in 9.3: [CODE] vs in 9.1: [CODE] probably because 9.3 has underestimated the number of rows output by the nodes underneath by a factor of 7, while 9.1 has overestimated them by a factor of 10. Consider bumping [CODE] up a bunch; throw say 10MB of [CODE] at the query. | 3 | 2 | 865 | 2014-06-09T21:44:41.570 | database_errors | dba.stackexchange.com | |
143,202 | How do I remove the excess white space from the values in my SQL table? | still kinda new to SQL. My problem is this, say I created a table with one of its columns at nchar(200). This column contains the value 'Logged in.'. Every time I called it from the front-end, it returns 'Logged in '. Is there any way to remove the white space within the table? Or is there some setting that will remove... | The first thing you should do is change the datatype of the column to [CODE] , The [CODE] and [CODE] datatypes are intended for data that is more or less fixed length. Your example shows that you are not dealing with fixed length 200 character strings. Currently each instance of the 'Logged in' string takes 400 bytes. ... | 1 | 4 | 1,235 | 2016-07-07T08:37:57.940 | warehouse_errors | dba.stackexchange.com | |
443,828 | Server 2012 hyper-v3 live migration | I am trying to do my first live migration with Windows server 2012 hyper-v 3.0. I have two servers joined into a domain.local domain and both are hypervisors with constrained delegation setup. Each server has the CIFS and Microsoft virtual service delegated with Kerberos. Both hypervisors have Kerberos only setup for t... | You didn't mention which services are delegated to. You should have the following on each Hyper-V host: Microsoft Virtual System Migration Service/COMPUTER Microsoft Virtual System Migration Service/COMPUTER.FQDN cifs/COMPUTER cifs/COMPUTER.FQDN Have you tried (as a test) allowing all services to be delegated? | 11 | 1 | 2,253 | 2012-10-30T20:22:17.530 | infrastructure | serverfault.com | |
1,078,678 | Cannot get latest-version package from multiple yum repos | There are two rpm repos in my CentOS 8.1.1911. Details are as follows: [CODE] [CODE] The two repos both contain the package [CODE] , and there are newer one in the repo [CODE] . My operation is as follows: [CODE] [CODE] , but I get the older one from [CODE] [CODE] remove appstream, [CODE] [CODE] , and I can get the new... | I solved this problem from here : The major reason why DNF wants to install MariaDB from AppStream is that it has a preference for modular packages. Which means, that if specific packages (names) or virtual provides are part of a module, and there are packages with the same names available from other repositories and t... | 0 | 1 | 596 | 2021-09-26T09:36:51.057 | infrastructure | serverfault.com | |
131,186 | Check constraint to require one of two columns | I'm using SQL Server 2008 R2 and would like to make one of two columns required on a table; in other words, if the user provides a value for one, the other isn't required but the user can provide a value for both. How do you do this using check constraints? Thanks. Update : Here's the table definition; the two columns ... | Expanding on ypercube 's question comments: The first thing you need to do is make the securityID column nullable: [CODE] Then the required check constraint is quite straightforward: [CODE] Regarding the 'friendly' name I chose for the check constraint, see: Naming [CODE] and [CODE] Constraints by Greg Low. | 2 | 3 | 2,631 | 2016-03-03T15:59:43.513 | database_errors | dba.stackexchange.com | |
911,774 | My Powershell Script of Adding Domain Users to Remote Machine is Failing with Access Denied | I have the following script: [CODE] The problem is that when I add a user, it fails with the error: [CODE] I have administrator access to the remote machine I am running this in powershell with Administrator privileges. What is wrong with the script? or what could be wrong with the setup? | My guess is that you're implicitly using authentication double-hop that is forbidden. When adding user to group at target machine, target machine is trying to resolve user in Active Directory. This however requires reauthentication to Active Directory that is forbidden. Your can try creating a CredSSP based session to ... | 1 | 1 | 746 | 2018-05-11T13:48:35.410 | infrastructure | serverfault.com | |
966,717 | "password authentication failed for user" for any newly created user | I can successfully connect with every user except one. I always get "password authentication failed for user" even after changing the password. This worked before the last time the server restarted. (maybe something corrupted?) After some time of trying to fix this issue I decided to just create a new user. However, I ... | I just solved the problem. Sometimes you just have to write it down and think a couple of seconds about it ;) The problem was that SOMETHING (no idea what so far) on my system seems to start an old version of postgres on boot. When I was using psql to create the users it seems I connected through the unix domain socket... | 1 | 1 | 4,131 | 2019-05-10T14:01:47.853 | data_quality | serverfault.com | |
669,967 | Can't dial through SIP trunk: FreePBX/Asterisk | I set up a SIP TRUNK in FreePBX/Asterisk that works perfectly for incoming calls. Here' s the relevant configuration: [CODE] However, whenever I try to place an outgoing call (through the same trunk) I have a "all lines busy" signal from asterisk. If I enable SIP DEBUG this is what I get (apparently my call is being re... | [CODE] My guess is that your Caller ID is offending them. Are you setting to anything other than your actual assigned DID? Based on: https://freeswitch.org/confluence/display/FREESWITCH/Hangup+Cause+Code+Table | 0 | 1 | 3,928 | 2015-02-19T19:38:34.767 | infrastructure | serverfault.com | |
449,093 | Setting "Run WWW service in IIS 5.0 isolation mode" does not persist in IIS 6 | Our IIS server was recently patched with the latest Microsoft Security Updates and since then, I am unable to enable the "Run WWW service in IIS 5.0 isolation mode" setting. This setting was enabled prior to patching and somehow changed during the updates. I have tried both using the IIS Manager console and the adsutil... | I found that the root cause of this issue was that my change had not been persisted to the IIS metabase on disk before the IISRESET command forcefully terminated the service (thus wiping out my change from the in-memory metabase cache). Further information from Microsoft KB 286196 confirms that this behavior occurs for... | 1 | 1 | 740 | 2012-11-15T16:30:10.537 | infrastructure | serverfault.com | |
176,234 | all tcp connection through socks proxy | Is it possible to route all my connections to internet to go through a sock proxy in a RHEL 4 machine. I need to connect to a remote MySql server using socks proxy. Thanks. | You can use ssh to build a SOCKS5 proxy for your mysql ports, or use something like squid for a complete SOCKS5 proxy solution on your RHEL4 machine. | 0 | 0 | 1,005 | 2010-08-30T20:15:30.890 | database_errors | serverfault.com | |
853,528 | Can I use AWS ECR image directly in my Dockerfile? | In a typical dockerfile, there is usually this line [CODE] which enables pulling an image from docker repository. Now I have built my own image repository: The repositiory URI is: [CODE] As seen in the above screenshot, I pushed an image to the server. I run the following to ensure I have login to the ecr [CODE] ECR lo... | The same pattern you use in [CODE] works: [CODE] | 30 | 38 | 22,685 | 2017-06-01T23:03:42.167 | pipeline_ops | serverfault.com | |
310,506 | how to read from cdc tables? | I wanted to try out the [CODE] feature of sql server, but I cannot get it to work What I did [CODE] So, now I just changed some value in a row in that table, and next I wanted to see how it looks. So I noticed that a schema [CODE] is created in [CODE] with some tables, so I thought let's see what is in table cdc.dbo_tb... | I agree with Learning_DBAdmin, you should always use the latest series of SSMS . That is likely you're issue here. The 17 series of SSMS is quite old at this point. Otherwise you can try manually writing out the script [CODE] that SSMS would've generated for you. (Replace [CODE] with the actual column names.) I know yo... | -1 | 1 | 574 | 2022-04-04T07:18:50.127 | api_errors | dba.stackexchange.com | |
320,148 | Options for listing Apache vhost configuration (birds-eye) | I am using Ubuntu Linux with Apache2 and several vhosts, located in [CODE] and symlinked (activated) from [CODE] . The default setup on Ubuntu. I'd like to know if there are generic tools available for Apache to list all vhost-information: list of all available sites list of all enabled sites list of all enabled sites ... | The closest tool I know of is [CODE] . This command will list all vhosts defined in your current configuration, regardless of whether Apache is running or not. The information includes IP addresses, ports, the value of the ServerName directive, the configuration file names and which vhost is the default. This is a gene... | 2 | 2 | 2,750 | 2011-10-10T13:45:34.653 | infrastructure | serverfault.com | |
792,435 | Nmap scan yields: FATAL: Unknown datalink type (127) | I get an error message trying to scan ports on any remote host using nmap (windows): [CODE] Any ideas? Googled but couldn't find any information regarding this.. | What options did you choose in Npcap's installation wizard? I think you have selected [CODE] , and then used Nmap to scan on a wirelress adapter, right? I have to say Nmap currently doesn't support the raw 802.11 traffic mode. So you get that error. You have to re-install Npcap without selecting that option. Then you c... | 0 | 0 | 788 | 2016-07-28T09:38:21.200 | infrastructure | serverfault.com | |
630,995 | Maintaining Linux file owner and group info in a multi-user system | I have a web application running on Linux (using CentOS 6) using a generic non-root user name, say app1. I've associated all the files under the folder /home/app1 with that user/group (using chown -R app1:app1) so it can serve up web pages and write to logs as necessary. When it comes to updates though I'm trying to fi... | Set the setuid and setgid bits on all of the directories under /home/app1: [CODE] (See [CODE] to learn about the find command, and [CODE] to learn about the setuid and setgid bits.) That causes the user and group owners to be preserved when new files and directories are created in any of the existing directories. I bel... | 2 | 1 | 1,888 | 2014-09-24T20:35:32.990 | infrastructure | serverfault.com | |
304,833 | Ubuntu 10.04.3 VMware guest - no network access after conversion to older VM format | I created and configured a Ubuntu 10.04.3 VM in VMware Player 3.1.4 and now wanted to deploy it on our VMware server, which is running at version 1.0.4. To do this, I used VMware vCenter Converter Standalone 4.3.0 to convert the VM to a format that is digestible for VMware Server 1.x. The conversion apparently "worked"... | Make sure the NIC types match up (when possible) between VMware Player & Server. Ideally, you may also want to ensure the MAC addresses match up as well. | 0 | 0 | 582 | 2011-08-25T09:44:33.880 | infrastructure | serverfault.com | |
199,031 | "Permission denied" in web server (CentOS on Mediatemple) | I've made another post regarding gitolite that I've resolved already but this is beginning to aggravate me. I can see that my files have read permissions but my error log continues to produce [CODE] , [CODE] , and [CODE] errors. On the website, [CODE] is displaying a blank page. I turned out error reporting but nothing... | SELinux might be enabled. Either use [CODE] or [CODE] If you do not use SELinux then you might consider disabling it permanently. Though learning/using it is always a good idea. | 1 | 2 | 3,907 | 2010-11-07T03:40:58.023 | infrastructure | serverfault.com | |
571,704 | opendkim requires libcrypto | I am trying to install opendkim. For that, I used rpm to install epel, then did yum install opendkim. However, I get the following dependency errors: Error: Package: opendkim-2.9.0-2.el6.x86_64 (epel) Requires: libcrypto.so.10(OPENSSL_1.0.1)(64bit) Error: Package: libopendkim-2.9.0-2.el6.x86_64 (epel) Requires: libcryp... | You need to update your system. RHEL (and CentOS) switched from OpenSSL 1.0.0 to 1.0.1 during the 6.4-6.5 cycle in order to resolve a years-long issue . As a result any programs which use OpenSSL had to be rebuilt for 6.5. Since EPEL only tracks the latest point release, and its software is only guaranteed to run on th... | 0 | 1 | 607 | 2014-02-02T21:47:10.300 | data_quality | serverfault.com | |
182,563 | Has Sharepoint replaced your file servers? | I wanted to know how many people have gone the route of nearly or completing replacing your standard file server which we have all come to become so comfortable with by using Sharepoint. What kinda of limitations prevent you from fully replacing file servers? I have file servers that I inherited with little documentati... | The simple reason why we haven't replace traditional file storage with Sharepoint is that deploying a file server requires a basic server with no licenses (if you run a Windows server for storage then yes, you have to pay for licenses, but it's still fairly cheap) and just load it up with hard drives and put a layer of... | 1 | 5 | 618 | 2010-09-18T22:10:24.700 | infrastructure | serverfault.com | |
124,397 | PyTorch ResNet implementation's Training Loss increasing with every Epochs | I'm implementing a ResNet network from scratch using PyTorch. This network is unique to my requirements, since I need to perform Image Classification for Satellite Imagery with 14 different channels and of dimensions 8x8 pixels. My training data consists of 588 training images for 7 different classes However, my issue ... | Did you check if gradients are exploding?I think that would be one reason. Then try gradient clipping. | 0 | 0 | 52 | 2023-11-03T10:56:51.453 | data_quality | datascience.stackexchange.com | |
22,725 | What is Hellinger Distance and when to use it? | I am interested in knowing what really happens in Hellinger Distance (in simple terms). Furthermore, I am also interested in knowing what are types of problems that we can use Hellinger Distance? What are the benefits of using Hellinger Distance? | Hellinger distance is a metric to measure the difference between two probability distributions. It is the probabilistic analog of Euclidean distance . Given two probability distributions, $P$ and $Q$, Hellinger distance is defined as: $$h(P,Q) = \frac1{\sqrt2}\cdot \|\sqrt{P}-\sqrt{Q}\|_2$$ It is useful when quantifyin... | 29 | 12 | 20,058 | 2017-08-31T02:11:38.127 | data_quality | datascience.stackexchange.com | |
551,538 | "power limit notification" clobbering on 12G Dell servers with RHEL6 | Server: Poweredge r620 OS: RHEL 6.4 Kernel: 2.6.32-358.18.1.el6.x86_64 I'm experiencing application alarms in my production environment. Critical CPU hungry processes are being starved of resources and causing a processing backlog. The problem is happening on all the 12th Generation Dell servers (r620s) in a recently d... | It's not the voltage regulation that causes the performance problem, but the debugging kernel interrupts that are being triggered by it. Despite some misinformation on Redhat's part, all of the linked pages are referring to the same phenomenon. The voltage regulation happens with or without the Performance profile, lik... | 9 | 8 | 11,527 | 2013-11-08T01:50:40.027 | airflow_errors | serverfault.com | |
23,222 | VPN, LAN, Amazon EC2 instances , how to? | The problem is as follows: I have 2 windows2003 server instances running on the cloud. 1) How can I create a local area networ k from these 2 instances? 2) Assuming that I want to create a VPN network from these 2 instances, how do I do that? (I'm not very good in networking, therefor the above problem description migh... | If you really want to VPN between the machines I would recommend using Routing and Remote Access (RRAS) within Server 2003. You can find many config guides on this. The issue you will have with the VPN approach though is that each machine is really an 'island' - ie. it's a single IP address and not a whole private netw... | 1 | 2 | 6,427 | 2009-06-10T10:18:21.970 | infrastructure | serverfault.com | |
68,207 | How to re-train a model from false positives | I'm still a bit new to deep learning. What I'm still struggling, is what is the best practice in re-training a good model over time? I've trained a deep model for my binary classification problem (fire vs non-fire) in [CODE] . I have 4K fire images and 8K non-fire images (they are video frames). I train with 0.2/0.8 va... | In most cases, one shouldn't retrain a trained network with only the new data. Rather, train the network from scratch with the new and old data. Adding new data and retraining the model just on that new set of data, will probably make your model fit to only that new data, thus forgetting general features from the other... | 2 | 1 | 756 | 2020-02-17T07:12:14.050 | data_quality | datascience.stackexchange.com | |
664,449 | How to maintain revokation list for client certificates | I have a website running in Windows Server 2012, IIS. User's are authenticated using client certificates. I used to issue client certificates using Certificate Authority MMC snap-in. Since the number of users is growing rapidly, I am now creating client certificates in batch, using the BouncyCastle library and a little... | You are doing it wrong. If you use Windows CA to issue certificates, then only Windows CA should sign certificates with that particular CA certificate and key pair. You are compromising your PKI by using openssl and 3rd party libraries to sign client certificates with Windows CA certificate. Because you violate RFC5280... | 1 | 0 | 655 | 2015-02-02T21:13:53.860 | infrastructure | serverfault.com | |
90,030 | welcome page via wireless internet | i want to make welcome page if users are surfing via my wirelesss connection for example user come to my resturant with his iphone and search for wireless networkrs the user see the resturant wireless and connect to it. when the user open the browser the first page he will see is my restuarnt web site how can i accompl... | Well you have to configure the router to redirect user on first request to your "welcome screen". This welcome screen ought to be a html document either on local server or some www page on a server/hosting you own. That's that ;] For any precise information you would probably have to provide name of your router and wha... | 2 | 1 | 1,783 | 2009-12-01T13:18:50.737 | infrastructure | serverfault.com | |
539,894 | out of memory in linux controlling which program dies | We are running a job where we know it squeezes the memory sometimes a bit too much. This however is resulting in killing one or two processes that we want to be the last processes killed in such a situation. How do we tell linux, please please do not kill pid XXXX and pid YYY and kill the other jobs first including tha... | You can set priorities for which processes the OOM Killer will terminate. Give a process a negative oom_adj value to make it LESS likely to be killed: [CODE] Give it a positive value to make it more likely to be killed: [CODE] Replace 2592 in the above commands with the actual PID's of the processes you want to protect... | 0 | 3 | 528 | 2013-09-18T12:36:11.803 | database_errors | serverfault.com | |
666,958 | HTTPS redirect from a naked domain (example.com) to a full domain 'www.example.com' without an error? | I'm trying to Redirect non-www requests to www on Amazon Route 53. I made an S3 bucket with the name of the naked domain and configure the bucket properties to redirect from example.com to www.example.com , and then in Route 53 create an alias for the naked domain name that points to that S3 bucket based on the followi... | You can put CloudFront in front of your s3 bucket and have CloudFront terminate the SSL connection. HTTPS is free when using SNI. Steps: create distribution and configure ssl, with the origin being your s3 website redirect bucket. set the [CODE] to be your naked domain update route 53 to point to this distribution | 10 | 4 | 10,880 | 2015-02-12T01:45:48.383 | infrastructure | serverfault.com | |
681,919 | Why can I not use a duplicate DC computer name for a subdomain as a parent domain? | I am new to AD and Windows Server in general, but from what I've seen on youtube, companies can have something like this: [CODE] I figured this meant that there is a web server in the example.com domain named www, and there is a different web server in the eng.example.com domain also named www. This would imply that yo... | If I understand your question correctly, then the answer is that yes, you would typically use DNS to "alias" different hostnames to the same computer, which might have a different name entirely. To take you example - assuming it's two different web servers, you wouldn't need to give either of them the computer name [CO... | 2 | 2 | 1,340 | 2015-04-10T20:44:10.640 | data_quality | serverfault.com | |
163,355 | How can I remove a channel from replication slave? | Today my question is about MySQL replication cleanup. I used [CODE] with the [CODE] tag and restored it to a new host to be used as a replication slave. After restore, I see some artifacts of slave information from the master. This is the third host in a replication chain. I issued [CODE] which returned [CODE] . When I... | reset slave all for channel '[name]' | 4 | 5 | 8,834 | 2017-02-06T14:37:51.533 | database_errors | dba.stackexchange.com | |
223,813 | Obtain virtual column formula with SQL | We want to update the condition of a virtual column and to minimize error posibilites we want to extract the exact function working today to add new parameters to take into account. I've firstly test with [CODE] but doesn't work, only shows column types. | This information can be found in the [CODE] column of [DBA|ALL|USER]_TAB_COLUMNS . Example: [CODE] | 0 | 2 | 159 | 2018-11-30T07:39:01.097 | warehouse_errors | dba.stackexchange.com | |
316,720 | Reduce your overall MySQL memory footprint for system stability, Dedicate this server to your database for highest performance | Any suggestion on how can I solve this General recommendations by MySQL tuner? Am using this plugin eningtron Server info [CODE] MySQL Tuner Output [CODE] my.cnf my.cnf | Swapping is terrible for performance. So, if mysql is swapping, lower [CODE] to avoid swapping. Of course, if you lower that setting "too much", there will be other problems. (We need to see more information to provide further discussion.) One image implies using both Apache and nginx -- I thought they performed the sa... | -2 | 0 | 2,133 | 2022-09-09T19:06:51.977 | database_errors | dba.stackexchange.com | |
158,672 | Advantages of moving to VPS from shared hosting? | I have several websites on a shared hosting, and I wonder if moving to a VPS will help in their page loading time performance. (I want this to be a community wiki on the advantages of moving, but it doesn't allow me for some reason) Thanks. | Dollar for dollar at the low end of VPS you will probably experience worse performance due to overselling of resources, but on the upper end you will most definitely experience better times if the original website hosting is loaded or slow. You really should perform some testing on the current sites and see their load ... | 0 | 1 | 182 | 2010-07-08T20:04:38.307 | infrastructure | serverfault.com | |
198,682 | Google search console data - find the newly appeared keyword for the month | I have a table named sconsole for google searchconsole api query data with the fields specified in the code, I need to find the new keywords ( [CODE] field) appeared each month. I tried using this but it returns zero results. At the moment all the data is saved to the same table. Is there any easy way to do this? Previ... | I figured it out after a brief study, here it is, [CODE] works like a charm. | 0 | 0 | 24 | 2018-02-23T18:16:38.367 | warehouse_errors | dba.stackexchange.com | |
207,468 | Can raising the domain function level to "Windows Server 2003" cause remote desktop to stop working? | I've read that on Windows Server 2008, raising the DFL can cause XP and Linux/rdesktop clients to not be able to connect, but only if Network Level Authentication is enabled. However, we're only on Windows Server 2003 SP2, which doesn't even have the option to enable NLA, IIRC. So I thought we'd be safe. I went and upg... | I don't believe that action alone would cause this. Were there any domain controller changes to go along with it? I'm suspecting that a group policy was set to require NLA or something like that. Can you telnet to the RDC port (3389)? Firewall blocking it now? Do you have NLA enabled for your XP clients? NLA for XP SP3 | 1 | 1 | 464 | 2010-11-30T16:12:39.973 | api_errors | serverfault.com | |
123,463 | chainlit test failed | I am using windows OS. I created a folder named ABC under C. In command prompt, I typed cd C:\ABC and then typed the following commands: [CODE] The above commands completed with success (or at least it seems so.) Then I typed [CODE] to test the installation. I get the error 'chainlit' is not recognized as an internal o... | By default, chainlit for me got installed into the python scripts directory C:\Users\XYZ\AppData\Local\Programs\Python\Python310\Scripts\chainlit.exe where XYZ is your username. so you want to check that this is in your path. You can also run 'where chainlit' from a cmd line, but this will only search your path, so it ... | 0 | 0 | 983 | 2023-08-29T16:44:02.803 | data_quality | datascience.stackexchange.com | |
708,738 | VMware Cloning with POWERCLI with nested folder | I'm trying to clone some Virtual Machines using POWERCLI, but when I set the target location I'll have the error "Could not find Folder with name" ... My folder estructure is like: DC1\destfolder DC2\destfolder Where destination folder name is the same on each DCenter. I'm using the following command New-VM -Name $VMde... | According to the documentation , the [CODE] parameter for [CODE] expects an object of type Folder . If you're passing in a path string, then it's not going to work. You'd need to use Get-Folder , with either the folder ID ( [CODE] ), or the name of the folder itself ( [CODE] ) to store the Folder object and then pass t... | 2 | 3 | 3,620 | 2015-07-27T10:25:13.163 | infrastructure | serverfault.com | |
155,650 | Authoritative source that <> and != are identical in performance in SQL Server | Consider this answer on SO that reassures the asker about the [CODE] operator that: [CODE] is ... the same as [CODE] . But then a commenter pipes up and says: It's true that they are, functionally, the same. However, how the SQL optimizer uses them is very different. =/!= are simply evaluated as true/false whereas <> m... | During parsing , SQL Server calls [CODE] to determine the type of comparison operator present: This occurs well before anything in the optimizer gets involved. From Comparison Operators (Transact-SQL) Tracing the code using a debugger and public symbols*, [CODE] returns a value in register [CODE] ** as follows: [CODE] ... | 96 | 191 | 20,352 | 2016-11-17T22:39:48.277 | database_errors | dba.stackexchange.com | |
35,077 | Can Test-Driven development work in legacy projects? | So here is a question for you, having read some great answers to questions such as Test-Driven Development - Convince Me . So my question is: "Can Test-Driven Development be used effectively on non- Greenfield projects ?" What problems could a programmer face if they attempted to use TDD in a project that already had n... | Read Working Effectively with Legacy Code. http://www.amazon.com/Working-Effectively-Legacy-Michael-Feathers/dp/0131177052 Even if it's your project, and not a mystery to you, it's still a kind of legacy. It helps to step back from the code a moment and think about what you're going to do. Recognize TDD doesn't mean li... | 7 | 15 | 719 | 2011-01-09T14:10:17.913 | api_errors | softwareengineering.stackexchange.com | |
60,637 | How to normalize a data set of multiple time series? | I have the a data set representing the electricity consumption of 25 000 customer. The electricity readings are taken from each smart meter each 15 min for a period of 3 days. The data is takes from counters of residential, commercial and Industrial buildings thing that makes us have different consumption modes. Each r... | The solution is simple. The model is underfitting, that means it cant learn from the data. The solution is to increase the number of LSTM layers and increase the Dropout to avoid overfitting. For more details you can see the following link | 0 | 0 | 850 | 2019-09-23T11:16:48.820 | data_quality | datascience.stackexchange.com | |
628,609 | Using example of Hiera NTP in puppet does not work | I am currently trying to rebuild the example described here The Problem is, that when I try to get the ntp::servers variable I get the following error, which I have problems with understanding. [CODE] I considering the torubleshooting bulletpoints Your hiera.yaml file matches the example we provided You’ve put a symlin... | You have chosen the more secure path of using [CODE] instead of [CODE] , which is commendable. But make sure to supply a value for that rather than [CODE] when performing the lookup. Furthermore, rather than [CODE] , the [CODE] backend has a [CODE] option (see the docs ). I recommend removing the [CODE] backend for the... | 1 | 1 | 1,077 | 2014-09-15T15:02:24.613 | pipeline_ops | serverfault.com | |
185,943 | SSMS - Can not bulk load because the file could not be opened | We have a user who get this error message every time bulk load using network location it throws error below. "Cannot bulk load because the file could not be opened. Operating system error code 3(failed to retrieve text for this error. Reason: 15105)." If users logs on the remote server and runs same query it works fine... | winerror.h lists Operating System Error Code 3 as [CODE] . This likely indicates that [CODE] either doesn't exist or the SQL Server Service Account does not have access to the file via the UNC. Use SQL Server Configuration Manager to determine the name of the SQL Server Service Account: Check the Fileshare Security for... | 6 | 3 | 21,217 | 2017-09-14T11:02:08.843 | database_errors | dba.stackexchange.com | |
625,203 | Can't get my proliant N54l to boot from USB | I was trying to install ubuntu 14. onto a usb stick. It booted fine from the USB and I went through the process for a while until I got to the partitioning bit, I was thinking maybe the install was in memory because it gave me the option of partitioning the USB I had booted off (and the install was on), didn't think it... | Clicking YES to that option has FUBAR'd the USB stick's bootability. You will need to repeat the steps you took to create a bootable USB. During start-up, the BIOS detects any bootable drives that are curently present, and shows those drives in the boot menu. Once your USB is bootable, it will show up again in the boot... | 2 | 5 | 3,948 | 2014-08-30T17:06:49.140 | infrastructure | serverfault.com | |
105,796 | Configuration for httphandler in classic mode | I have to install an httphandler that needs to run on classic mode. I have created an application on the iis that uses a classic apppool and put the handler assembly there. The vendor gave me a configuration in the deployment document that looks like this: [CODE] The error I get when requesting a URL on the application... | Are you sure that in [CODE] your vendor told you to use [CODE] ? The path attribute of a httphandler specifies the path or wildcard specification of the URL for which this handler will be invoked. For example, if you want your handler to be called only when [CODE] file is requested, the path attribute will contain "dum... | 1 | 1 | 1,163 | 2010-01-24T09:22:23.403 | pipeline_ops | serverfault.com | |
64,989 | Creating an SSIS package that uses a stored procedure | We're trying to make an SSIS package where it'll launch a stored procedure and capture the contents in a flat file. This will have to run every night, and the new file should overwrite the existing file. This wouldn't normally be a problem, as we just plug in the query and it runs, but this time everything was complica... | If you are calling the temp table from a different task try this https://stackoverflow.com/questions/5631010/how-to-create-a-temporary-table-in-ssis-control-flow-task-and-then-use-it-in-dat | 3 | 2 | 6,825 | 2014-05-12T15:35:10.220 | database_errors | dba.stackexchange.com | |
416,067 | Deleted a CA improperly and receiving a 10009 Event ID error | The basic run down is I didn't know what I was doing and I deleted a CA I stood up but I couldn't get to work properly. I know dumb. But that being said not much I can do about it now. I went through and attempted to remove all parts of it from AD and DC but "DCOM was unable to communicate with the computer SUBCA.xxxxx... | First of all, if it's not causing issues... you might want to leave it alone, or get someone more experienced (or naive enough not to know it's a pain in the ass) to do it. It's a pain in the ass to do right, and you can do damage to AD if you mess up. Having said that, this is the Technet article on how to manually cl... | 2 | 2 | 1,285 | 2012-08-09T19:20:55.267 | infrastructure | serverfault.com | |
900,185 | dose setting Jumbo frame on linux redhat influencing OS performance? | We set the MTU to 9000 on all our linux machines ( we have redhat machines version - 7.3 ) , linux machines are part of hadoop clusters we want to know if set the MTU to 9000 can be negative on OS performance? Dose set other Jumbo frame value as MTU=8000 or or less/more , will be better regarding OS performance ? | This really depends on your workload. Interrupts When the OS talks to the NIC (sending) or the NIC talks to the OS (recieving) it usually does so on a per frame/packet basis. Just imagine everytime your NIC recieves a frame/packet it invokes the OS's interrupt handler which usually requires two full context switches ea... | 0 | 0 | 411 | 2018-03-06T05:10:37.327 | hadoop_errors | serverfault.com | |
639,510 | AD does not unlock account - even after the Lockout duration is expired | I'm facing a strange problem - domain user accounts are not being unlocked. These are the Account Lockout Policy settings: Lockout duration: 30 minutes Account lockout treshold: 10 invalid logon attempts Reset lockout account lockout counter afeter: 29 minutes (it was 30 minutes before and it had the same problem) What... | The attribute msDS-User-Account-Control-Computed is the best indication for user lockout. As you wrote, though the Lockout Tool showed that the user was locked out the attribute msDS-User-Account-Control-Computed showed otherwise, and the user was actually not locked out. Seems like the Lockout tool returned a wrong va... | 4 | 2 | 15,827 | 2014-10-24T19:48:24.283 | infrastructure | serverfault.com | |
792,441 | Google Cloud - Communication between 2 computing Instance | i've created new account for google cloud. i have 2 computing instance, on the same region, same subnet. this network also connected with vpn to my office. server 1 is 192.168.1.10 / 255.255.255.0 / gw : 192.168.1.1 server 2 is 192.168.1.11 / 255.255.255.0 / gw : 192.168.1.1 Office is : 192.168.0.0/24 i've created vpn ... | The VPN shouldn't interfere on the internal communication between the instances. Although the communication internally is allowed to the GCP 'internal IP', I effectively know that 192.168.x.x/x is not a range used internally at all on cloud platform. So, or you are performing the test on the wrong IPs or the firewall r... | 0 | 0 | 1,362 | 2016-07-28T09:50:45.183 | infrastructure | serverfault.com | |
306,001 | mail2ftp Interface with Postfix/Cyrus - How to automaticly share mail attachments via FTP? | I'm trying to build a solution to transfer attachments from Mail to an FTP folder. Are there any suggestions to solve this task? My first idea was to write a shell script which fetches the mail from the Cyrus /var/imap folder and searches for the mail attachment finally writing it into a pdf file. As this does not seem... | With ripmime and cronjob you can solve this problem. Ripmime is a tools to fetch MIME parts of a Mail. You can fetch text and attachments and extract it to an folder. With cronjob you can start a shellscript that looks into Maildir and starts ripmime for each Mail. Install ripmime from http://www.pldaniels.com/ripmime/... | 1 | 1 | 2,328 | 2011-08-29T10:05:39.680 | infrastructure | serverfault.com | |
405,259 | Gittornado with Nginx fails to push and pull | I'm making a simple website to host git repositories, much like github. I'm using Gittornado to handle git Smart HTTP requests, and it works perfectly locally; I can clone, push, pull, etc... But when I put it behind Nginx, git commands stop working, giving no errors except: "fatal: The remote end hung up unexpectedly"... | Usually the issues lie with the chunked transfer encoding git uses. This is the same with gittornado and the CGI backend shipped with git. See this serverfault answer suggesting setting [CODE] in the location block. | 0 | 1 | 461 | 2012-07-06T02:17:49.870 | infrastructure | serverfault.com | |
663,757 | Postfix lookup failure: works from localhost, not on other nodes in LAN | I am getting temporary lookup failure for the recipient address when trying to send email using Postfix and Gmail from a machine other than the host, on the same network. It works just fine when testing on the Postfix host. EDIT: I have a client node on the same LAN asking this Postfix server to send an email for it. T... | Postfix itself has documentation about how to debug when something goes wrong. For debugging postfix process, the maillog was your friend. The first step of debugging is issuing this command [CODE] From the maillog we can see that postfix complain about [CODE] . From your [CODE] , we can confirm that one of IP address ... | 2 | 1 | 1,573 | 2015-01-30T16:50:18.320 | infrastructure | serverfault.com | |
54,506 | How to market yourself as a software developer? | I have noticed that this is a frequent issue among younglings from technical areas such as ours. In the beginning of our careers we simply don't know how to sell ourselves to our employers, and random guy #57 (who is a programmer, but not as good as you - technically) ends up getting a raise or a promotion because he k... | When distinguishing yourself for a job outside your current position: Network locally to meet people at other companies Network at national events if you get the chance Do presentations Write a blog Contribute to an Open Source project Publish a book Answer questions on a site like this one Show accomplishments on your... | 93 | 9 | 30,225 | 2011-03-04T00:08:52.873 | api_errors | softwareengineering.stackexchange.com | |
307,113 | Synchronous facade hiding asynchronous web service | I'm maintaining a system providing a typical synchronous web service REST API. It routes each request to one of several possible backend services. Now there is a new backend I want to use, but there is a problem - it has an asynchronous API - I will need to do a request, and then wait for a callback request. I'm thinki... | I think making clients wait for their web requests is not optimal. Even seconds are too much. A better way in my opinion is to immediately return the web request, run the asynchronous service and either make the client poll in regular intervals or much better setup a communication channel with the client in the form of... | 6 | 3 | 1,103 | 2016-01-11T22:02:21.243 | api_errors | softwareengineering.stackexchange.com | |
570,905 | Git github not working with google authenticator OSX | So I had git running on my computer just fine. My password was saved with the osxkeychain thingy and everything ran smoothly. Today I decided I should be safe and enable google authenticator 2-step authentication on all the sites that support it. Interestingly github supports it so I set it up. It works fine through th... | You must provide a personal access token to keep using [CODE] , see also: https://help.github.com/articles/providing-your-2fa-security-code#through-the-command-line | 2 | 3 | 765 | 2014-01-30T03:22:53.957 | api_errors | serverfault.com | |
27,468 | Product classification in e-commerce using attribute keywords | I am working on a product classification problem (E-Commerce) in which I have to identify product category based on keywords. Say for example, if input is given as ' Samsung Galaxy On Nxt 3 GB RAM 16 GB ROM Expandable Upto 256 GB 5.5 inch Full HD Display ' , It should correctly identify it as 'Mobile' . The problem her... | The problem type you're dealing with is referred to as multiclass classification. Not all algorithms are suited to handle it, but tree based methods and neural networks are popular choices. If you need it to run quickly and probability calibration isn't too important, Naive Bayes also works quite well for some data set... | 4 | 4 | 1,939 | 2018-02-05T10:35:58.543 | data_quality | datascience.stackexchange.com | |
1,054,484 | Nginx configuration file does not work as expected | I have a docker running Nginx on port 80 and I port forwarded to 8080, so I can see it locally in localhost:8080 Using ngrok I created a url. Using the newly created url I can see the Welcome Page of Nginx locally. Lets say my url is http://myurl.ngrok.io/ All I want now is Nginx to listen to requests and if I ask http... | You have a [CODE] in the [CODE] block, which will be processed before the [CODE] statements. Only put [CODE] statements in the [CODE] block if that is the only thing the [CODE] block needs to do, otherwise, it need to be inside another block. The [CODE] statement literally matches the URI [CODE] . If you want a [CODE] ... | 1 | 0 | 555 | 2021-02-21T14:13:29.520 | pipeline_ops | serverfault.com | |
126,340 | Creating a Network link between 2 buildings | My company needs to create a network link between two buildings. Currently we have a cat5e network in one building and would like to connect some computers(about 15) in our second building to the main network in the first building. The distance between the two buildings is 30 metres. The 30 metres means going through a... | Definitely go with fiber. The two buildings most likely don't have a common ground. Running anything with an electrical connection such as a CAT5 cable across that takes a risk of electrical surges due to the difference in grounds. I've seen a lightning strike one building and take out everything connected to a network... | 4 | 16 | 9,272 | 2010-03-25T18:01:05.637 | infrastructure | serverfault.com | |
463,237 | Regular POP3D Attacks and Blocks | I'm using a self-hosted wordpress blog. I'm using Gmail to access my domain email accounts. I want to know, is built-in email services such as exim, etc are necessary if we are using Gmail to manage emails? I have only 2 accounts on server: root and my personal account. I have set "Mailserver selection" to Disabled in ... | Those attacks are against Dovecot, not Exim so disabling Exim won't help. If you are not using the server receiving mail and hosting mail boxes then you can disable Dovecot. If you will be sending email from the server, for example Wordpress sending out emails to subscribers then you will need to keep Exim running so t... | 1 | 0 | 1,496 | 2013-01-05T10:04:09.200 | infrastructure | serverfault.com | |
65,025 | Error updating zoned field from SQL Server stored procedure linked server to iSeries | I'm trying to update a table on an iSeries (AS400) within a SQL Server stored procedure using linked server, but it is failing when trying to update a column defined as zoned. In my stored procedure the value is defined as integer, and on the iSeries is defined as Zoned 6 long with no decimals. I've tried casting the i... | IBMi DB2 Numeric Data Types: RPGLE - DESCRIPTION - DB2 SQL P - Packed decimal - DECIMAL - DEC S - Zoned decimal - NUMERIC - NUM | 2 | 1 | 656 | 2014-05-13T10:09:26.640 | database_errors | dba.stackexchange.com | |
300,226 | How to re-design my relational model if there will be NULLs in one column? | I'm trying to build database which allow me store job postings from scraped websites and now I'm in phase of creating a relational model. Getting straight to the point I want to know how should I re-design my relational model if I know one of my linking table's column ( [CODE] ) will contain NULLs. And the model: In br... | Whether to allow NULL values or not is a religious topic. If you decide that it's OK to have nulls, you'll need to add a synthetic primary key to the link table, because the combination of [CODE] , [CODE] , and nullable [CODE] cannot uniquely identify a row. | 0 | 0 | 43 | 2021-09-27T16:52:24.250 | warehouse_errors | dba.stackexchange.com | |
623,288 | problems creating a keytab file on win server | I am trying to create a keytab file. i see a warning [CODE] The command i use is [CODE] I want to use this for SSO on apache. I am creating this on windows server 2003 r2 sp2 output [CODE] I have followed many steps that show same as http://www.zimbra.com/docs/os/7.2.3/administration_guide/wwhelp/wwhimpl/common/html/ww... | The error you get in the output is because you are not mapping the SPN to a principal. You should use a ptype switch of [CODE] so as to avoid the error. KRB5_NT_PRINCIPAL is the general principal type (recommended) as documented by Microsoft . | 3 | 5 | 14,141 | 2014-08-22T11:06:18.373 | infrastructure | serverfault.com | |
8,748 | Can increased usage of higher and higher programming languages lead to a deficit of programmers with computer architecture knowledge? | Quote from Wikipedia of the article "High-level programming language": A high-level programming language is a programming language with strong abstraction from the details of the computer. In comparison to low-level programming languages, it may use natural language elements, be easier to use, or be more portable acros... | It can , but likely won't lead to a problem. It's just economics. If the vast majority of people lose the ability to understand the underlying architecture, and there is still a huge NEED to understand the underlying architecture, then the ones who do will have jobs and get paid more, while those who don't will only ha... | 15 | 16 | 1,305 | 2010-10-01T13:21:37.977 | api_errors | softwareengineering.stackexchange.com | |
357,073 | Are there benefits to running my development environment in a Docker container? | I develop primarily using Visual Studio on Windows. The problem is that after a while Windows gets bogged down and I'm faced with needing to reinstall Windows. Similarly switching to new machines is a problem. Reinstalling Windows is painful because my development environment has a lot of dependencies (such as extra MS... | This is not an uncommon problem, but Docker isn't really the right tool to solve it. Containers in general (including Docker) are intended to provide an application runtime for a single process , such as a web server, not for a multi-process scenario such as a dev environment. In can be done, but isn't a very elegant s... | 13 | 13 | 2,148 | 2017-09-09T00:50:07.990 | pipeline_ops | softwareengineering.stackexchange.com | |
66,200 | How to troubleshoot "client driver has sent multiple requests while the session is in single-user mode" | I'm working with a developer who is struggling to stop the following error: The server will drop the connection, because the client driver has sent multiple requests while the session is in single-user mode. This error occurs when a client sends a request to reset the connection while there are batches still running in... | I don't see it stated anywhere as to what version of the .NET Framework is being used, but given that this question was asked in May of 2014, and .NET Framework version 4.5 came out on 2012-08-15, the following note on SqlConnection.ConnectionString for the [CODE] / [CODE] keyword seems relevant: This property is ignor... | 8 | 5 | 11,816 | 2014-05-29T20:49:38.563 | database_errors | dba.stackexchange.com | |
16,070 | Where does k3s store it's "/var/lib/kubelet/config.yaml" file? | Referencing another answer here , they suggest setting [CODE] In the file [CODE] . However, I do not see that file in my k3s distribution of kubernetes. Where is this file located with k3s? | [CODE] Note, [CODE] not [CODE] ! You may have to create the file if it doesn't exist. K3s doesn't have a dedicated kubelet service. It's integrated into k3s. So it's configured only with the [CODE] flag to k3s. But you can add Kubelet config directives to your [CODE] ( [CODE] ) , [CODE] Which would look like, [CODE] Yo... | 6 | 6 | 4,898 | 2022-06-04T17:03:39.537 | pipeline_ops | devops.stackexchange.com | |
175,147 | MySQL Connections slows down my website | I have a website that runs perfectly normal, until today it becomes very slow. After a few hours debugging, it all points down to database. I ran these queries [CODE] What i found out is, when ever the # of connections above 20, the site becomes very slow to load. I am not sure why this is happening, or whether this is... | You do not mention what language your application is in but if you are connecting on every page requested you could add a lot of speed simply by using a database connection pool. That way you application will not need so many connections and will not have to connect on every request, giving you extra speed simply becau... | 0 | 0 | 1,343 | 2017-06-01T12:24:59.283 | database_errors | dba.stackexchange.com | |
122,092 | Trying to use SMO Transfer Object to transfer a database from one instance to another | The schema tables are owned by dbo and another schema name. The code below is not moving over any tables. Is there something else that I need to add to make it transfer the tables? There are no stored procedures or views that need to get moved. [CODE] Current Error Stack below: [CODE] | Since I don't know exactly what error you are getting, I will just let you know what error I get based on your code and the database I chose to test against. I will note a good portion of the properties you are using, are not valid in SQL Server 2012 SMO (at least on my machine) The end result I used for the script is ... | 1 | 5 | 4,939 | 2015-11-25T14:48:57.423 | database_errors | dba.stackexchange.com | |
301,623 | MS SQL: SSD Trim after TRUNCATE / DROP? | I consider to use one of those fancy new SSD-only SAN systems for our new Microsoft SQL Server. "Fancy" means, that it supports / use stuff as block compression / deduplication / 0x00-recognitation / disk space overprovioning etc. When I drop or truncate a table the SQL server usually only marks the pages in the page a... | does the Microsoft SQL Server supports the SSD-Trim-Command to deallocate space in some way? That's really not in the purview of the database, which is an application on top of the operating system. Windows has support for TRIM in the most common form which is via NTFS (as the most common filesystem) of which SQL Serve... | 0 | 3 | 156 | 2021-10-25T11:59:59.160 | database_errors | dba.stackexchange.com | |
710,303 | OpenVPN internet access | I have my VPS on CentOS7. I just set up Openvpn on the CentOS machine. I can connect to the VPN from my desktop (Ubuntu), but can no longer access internet. What could be wrong? The last few lines when I connect to vpn: [CODE] On my Ubuntu: [CODE] | OpenVPN adds the routes to redirect default gateway: [CODE] You probably have [CODE] in your client config, or you push it from the server. The same can be achieved by pushing custom routes to clients, check all [CODE] stanzas. | 0 | 0 | 326 | 2015-08-02T15:48:54.907 | infrastructure | serverfault.com | |
647,193 | Docker debian slow dns resolve | I got terribly slow dns resolve inside my [CODE] when using [CODE] or [CODE] , [CODE] ,... [CODE] When I do [CODE] its pretty fast. [CODE] | We had the same problem, and we found out that our hardware showed broken behaviour with IPv6. You could double check with [CODE] and force IPv4 like so: [CODE] Update 1: We had the problem with our Windows Host System (Ubuntu 14.04 is the guest). The actual solution was found on this page. Adding [CODE] to the [CODE] ... | 5 | 4 | 3,344 | 2014-11-26T10:51:40.733 | pipeline_ops | serverfault.com | |
1,078,842 | How to use Azure AD in SaaS multi-tenant application | I have an issue how to use Azure AD in context of my SaaS application. I have a feeling that Azure AD multi-tenant is a different term than SaaS multi-tenant. If I'm wrong, then I hope somebody will show my misinterpretation. What is SaaS multi-tenant (IMO): separation of data and users in one application. In my case i... | I think you're over complicating it. If you wish to deploy the application once in your tenant, and but you can all control of who can access the app (including guest accounts) and manage all the permissions, then use Single-tenant application: https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-... | 1 | 0 | 1,240 | 2021-09-27T22:19:50.187 | api_errors | serverfault.com | |
786,856 | can't find source of user lockout | System "scanner" user keeps locking, and in event viewer there is blank space where is the source. In some cases there is an ip address, wich points to different printers or scanners, but there i reentered the passwords, still same ip addresses appear in the log, with bad password attempts. Tried loking for event 4740 ... | Solved by this answer: https://superuser.com/questions/409099/is-there-a-log-file-for-rdp-connections Looked the last bad password attempt on a dc and looked the rdp log at same time. | 1 | 0 | 47 | 2016-06-29T08:32:10.683 | infrastructure | serverfault.com | |
464,099 | server 2008 DFS active/standby configuration (all clients read/write to "master") | Sorry if this seems simple, I'm mainly a linux guy, having to wear the windows hat from time to time. In the past, we tried to setup DFS between two sites with server 2008, and it was a disaster. Mainly due to the slow speed of the links between offices. Person in Primary office would upload something, while talking on... | Well, I don't know how well this is actually going to work out for you, in truth. I have a similar setup, with DFS shares to remote sites connected by T1's. (1.5Mbit, we're blazing now.) We have the DFS master set to the local server for all users because we have to. You think you get a lot of users complaining about w... | 1 | 0 | 578 | 2013-01-08T17:17:01.883 | database_errors | serverfault.com | |
418,613 | Leap-second flag not forwarded to NTP clients | I'm making some tests with leapfile feature on ntpd to send fake leap-seconds and ensure our Linux platform is resilient to the "bug". The NTP lab is quite simple: a "master" server with local clock running ntpd with leapfile feature, and a "client" system also that connects to the "master". I have just found that leap... | FYI: seems that it's a version specific behavior , with a "forward"-port package from Lenny (4.2.4p4+dfsg-8lenny3) on Squeeze works as expected: leap seconds fields are forwarded to the clients. | 4 | 1 | 1,486 | 2012-08-17T13:57:17.553 | infrastructure | serverfault.com | |
654,420 | Chef-client --local-mode returning zero-length file | I am switching from chef-solo to chef-client -z (--local-mode) for running chef on my machines because of an issue that I've seen recently with chef-solo in version 12. I have one spot in one of my cookbooks where I'm downloading a 499 MB, gzipped tar file from the 'files' subdirectory of the cookbook, then immediately... | You can run the server independently of [CODE] by running [CODE] from the chef repo folder. You can then use things like [CODE] to check that the manifest looks correct. 500MB is definitely well above the size of a file I would recommend delivering through a [CODE] . I would store that file on a web server somewhere (p... | -1 | 0 | 608 | 2014-12-23T15:00:58.387 | pipeline_ops | serverfault.com | |
1,003,047 | AWS cli filter not applied | I want to receive some values from an AWS [CODE] and am using the following command: [CODE] The output however delivers all existing port ranges whereas only port 22 is expected: [CODE] It seems my filter isn't applied. Any hint is highly appreciated! | The filter is working correctly. You've requested all security groups that contain (but are not limited to) ToPort == 22 and FromPort == 22. Your query needs to limit what is output. You can do this by adding: [CODE] to the IpPermissions[] part of the query to further limit the output. The following should give you the... | 2 | 2 | 368 | 2020-02-14T09:07:22.977 | infrastructure | serverfault.com | |
322,934 | high CPU with high user connection, mysql database | I use a VPS with 56 CPU cores and 64 GB of memory, a with MySQL database, but the CPU usage is always high for my apps - user 10.000. This is in my [CODE] . What's wrong with my settings? [CODE] | [CODE] - I would keep that under 1% of RAM. ( [CODE] looks OK.) [CODE] there is some evidence that more that "2" degrades performance. [CODE] -- this depends on MySQL version and disk filesystem type. (Your choice is rarely picked by other DBAs.) Did you also set [CODE] ? I see that MariaDB abandoned [CODE] in 10.5 -- ... | 1 | 0 | 361 | 2023-02-02T07:25:43.023 | database_errors | dba.stackexchange.com | |
129,564 | Varchar2 datatypes are longer than expected | When I run the following script : [CODE] Here is the output I get : [CODE] Can somebody explain me why the column lengths for varchar2 would be 4 times larger than they should ? | My guess would be a combination of your NLS_LENGTH_SEMANTICS = 'CHAR' system parameter and a character set defined that is 4 bytes per character. Can you check on what your NLS settings are? | 1 | 1 | 381 | 2016-02-17T16:52:06.170 | warehouse_errors | dba.stackexchange.com | |
94,342 | What's the point with neural networks if you can only predict linear test data? | So, I have tried all the different activation functions listed on https://keras.io/api/layers/activations/ . I can indeed approximate any nonlinear function in the training range perfectly well - but for any data outside the training range, I have a model that is limited to linear functions. For example, I tried to app... | Neural networks can generalize and successfully predict outside their training data. This ability is hindered by overfitting, where the network memorizes the training data and does not perform well on unseen data. As with any other problem faced with neural networks, it is key for the network to have an inductive bias ... | 4 | 6 | 496 | 2021-05-12T02:08:33.073 | data_quality | datascience.stackexchange.com | |
383,712 | Windows Server 2008 R2 Cluster with just two nodes | May be this question was already made, but I dont find an exact answer to my dilema. I have a consulting IT job, my client have only 2 servers (16GB RAM, 2 Xeon 5160 and 500GB HDD) and him want to do a SQL Server R2 failover cluster, the Windows Server and sql server licences are not a problem, but I must do that with ... | No you can't. You need external storage to build a cluster. Having two stand-alone servers is not enought. | -1 | 1 | 114 | 2012-04-27T07:44:37.913 | database_errors | serverfault.com | |
220,831 | Using a 512 bit binary column as a bit field | I'm designing a table to keep track of a value that has to represent the on-off setting of several hundred states. I would expand this to 512, to give room for future growth and be a power of two. So I want a 64 byte = 512 bit column. My problem is that SqlServer bitwise operations don't support right operands larger t... | SQL Server supports up to 1,024 Columns per nonwide table . Use them. The bit data type , if declared as NOT NULL, will take one bit of storage. You can then address each state specifically by name, making for cleaner, more maintainable code. | 1 | 2 | 316 | 2018-10-23T17:15:49.367 | warehouse_errors | dba.stackexchange.com | |
884,253 | Enable CORS in Tomcat | SCENARIO: Frontend: Angular application living in NGINX Backend: java application living in Tomcat 8.5 The frontend needs to call backend Rest API. As far as I understand I need to allow CORS for this to happen: so I went through Tomcat documentation and I added the cors filter to web.xml: [CODE] Then I restarted tomca... | This is what I did to solve this issue: [CODE] Hope this helps | 1 | 2 | 19,697 | 2017-11-20T10:10:28.043 | api_errors | serverfault.com | |
305,814 | Barman Postgres 14 recovery | I updated my postgres from 10 to 14 few weeks ago. The recovery used to work before (restoring the backup on a different postgres server): Put the barman backup into the folder [CODE] Copying to the second server [CODE] Overriding the settings [CODE] Docker-compose up [CODE] So it used to work (postgres 10 started to c... | The answer [CODE] | 1 | 0 | 845 | 2022-01-08T10:23:05.690 | database_errors | dba.stackexchange.com | |
800,884 | Dovecot Solr schema location on Ubuntu 16.04? | Short : where do I put the Dovecot solr-schema.xml on Ubuntu 16.04? Long : I'm currently setting up Dovecot, Postfix and a few other plugins to interact with each other. For FTS (Fast text search) I want to use Solr via the dovecot-solr (lucene) plugin, setting this up seems straight forward as per Dovecot documentatio... | After installation package dovecot-solr the file [CODE] appears. | 0 | 0 | 455 | 2016-09-03T13:57:04.723 | infrastructure | serverfault.com | |
122,126 | Cannot fix ERROR:ORA-01031: insufficient privileges | I have tried almost every solution on the internet however I still cannot fix this problem. I cannot login as sysdba every time I try [CODE] I get the error [CODE] . My account is in ora_dba group. I'm using oracle 10g. I'm new to database so I really don't know what to do. | I assume that you run this on the server that hosts the database and that you have set the [CODE] to the one of the database that you want to access. You must run the [CODE] application. This generates a file that holds the password. Check the documentation for the exact syntax. It depends a bit on the OS on which you ... | 0 | 1 | 815 | 2015-11-25T18:58:22.880 | database_errors | dba.stackexchange.com | |
330,957 | No catalog entry found for partition ID in database 7 | I would like some help to fix the database problem. I went to restore a database and I couldn't, so I executed [CODE] and the following result is displayed: CHECKDB found 0 allocation errors and 0 consistency errors in database 'DATABASE_NAME'. DBCC execution completed. If DBCC printed error messages, contact your syst... | Is there any other way to fix this problem? Nope. One way is supported (export everything to a new DB) and one way is not (manually changing system metadata). | 0 | 2 | 339 | 2023-09-06T15:03:08.603 | data_quality | dba.stackexchange.com | |
914,434 | require existing control master for OpenSSH | I am looking for an option for OpenSSH on Linux to insist on using pre-existing control master connection. That is, I would like to make sure that that an ssh command fails if it cannot connect to the master connection socket and never tries to connect to the remote host itself. I tried different combinations of Contro... | I guess ProxyCommand can be used to enforce this. Have a look at socat for that purpose. EDIT: [CODE] | 1 | 0 | 499 | 2018-05-30T12:15:37.480 | infrastructure | serverfault.com | |
774,707 | Redis issue with magento | Can anyone help me... I have magento website running with nginx and php-fpm. I have configured 2 instance of redis for magento. but I'm getting following errors. Magento reports [CODE] and in nginx error log 2016/04/29 05:58:44 [error] 5941#0: *829068 recv() failed (104: Connection reset by peer) while reading response... | What os are you running? In my case i use Debian wheezy and i need to make shure i have the package "php5-redis" installed. This is to make redis talk with php fpm natively with credis library. If you do not know how to install this package, in local.xml change [CODE] to [CODE] to use php (slower) instead of credis | 1 | 0 | 713 | 2016-05-04T05:15:01.530 | database_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.