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 |
|---|---|---|---|---|---|---|---|---|---|---|
219,040 | Spool query output to file (SQLPlus) | This is not a duplicate of " Spool query to file without output on screen " Imagine I am spooling the below in a query: [CODE] Now I have spooled off the value and saved it to a file. I will be running it as a separate file for the expiring users. When I do that, I get some basic errors about the SQL command on the dyn... | To turn that off, use [CODE] It then should result in: [CODE] You probably also want to use: [CODE] To get a "cleaner" SQL script when there are more than just three rows. | 0 | 2 | 1,607 | 2018-10-02T05:54:49.400 | data_quality | dba.stackexchange.com | |
693,421 | Is a reboot required for SSL V3 disable on Windows? - Poodle exploit | We are trying to disable SSL V3 on numerous windows servers; as a part of it , registries are being updated remotely via script. Problem is lots of reboots are required post registry change. Is there a way around it , can service be restarted on the server to not accept SSL V3 anymore post registry change? Edit: Little... | Yes... probably... if you're talking about applications that call into schannel.dll. You mentioned "Servers" and you mentioned "SSlv3" which is a protocol. Changes to this registry key requires a reboot. Read this Microsoft article: https://support.microsoft.com/en-us/kb/245030 That's basically the bible of this topic.... | 7 | 14 | 27,200 | 2015-05-20T20:36:21.810 | infrastructure | serverfault.com | |
36,983 | Unresolved reference: enableAssertions | working assertions example using standard Java SE with no imports: [CODE] But, trying to get that to run from Gradle: [CODE] build file: [CODE] How else should I enable assertions? | You would need to specify the flag for the JUnit platform. Reference on the following answer: https://stackoverflow.com/a/48178018 | 2 | 1 | 361 | 2018-12-21T10:09:18.693 | data_quality | sqa.stackexchange.com | |
1,036,992 | Files becoming owned by systemd-network:systemd-journal in WSL2 and Docker setup | So I'm running Ubuntu 20.04 under WSL2 with Docker. Occasionally the files mounted by Docker (could be other files as well) are getting their ownership changed from my user to [CODE] (or in uid format [CODE] ). It's a relatively straightforward fix of [CODE] , but I'd rather figure out what causes this issue and stop i... | First you should be looking at the numeric id instead of the name. It is likely that either the image is running processes as a UID that shares the UID with the systemd uid on the host. Anyway look at your docker image, some images allow you to control which UID or user the processes as. Perhaps you need build a new im... | 0 | 0 | 1,574 | 2020-10-08T23:10:58.510 | pipeline_ops | serverfault.com | |
92,949 | How to cluster words automatically? | I have a problem where I have a list of n words with truly k different ones (k is unknown) because some may be malformed or contracted. I would like to automatically cluster them. I thought about using something like a dendogram with a distance between words (I don't know which), how can this be handled efficiently? | You can get a dendrogram from any hierarchical clustering method. The tricky thing here is how to compute the distances between the words. If efficiency is your main concern, I would consider using HDBSCAN clustering . The Jaro-Winkler distance was originally designed for such tasks. There is an efficient implementatio... | 0 | 1 | 41 | 2021-04-12T08:01:49.947 | data_quality | datascience.stackexchange.com | |
738,353 | How can I stop autoupdates for Lync basic 2013 | I am currently working a school co-op placement at a company and the problem I have to solve is to stop autoupdates going through for lync 2013 basic. We do not have a lync server as it died recently and spending the money on a new one was not a viable option. Lync is set up in cloud as an alternative to having a serve... | If you are not managing updates centrally thru WSUS or SCCM/WSUS you are limited in what you can do. I would move to figure out why the updates are breaking your office install, disabling updates leaves you in a precarious state. Skype for Business client is part of the O365 package. My guess is you may have somehow de... | 2 | 1 | 281 | 2015-11-23T14:54:44.863 | infrastructure | serverfault.com | |
304,121 | Files disappearing on linux server | I've got 4 specific files that seem to keep disappearing from a user's home directory. As far as we know, there are no cronjobs or other automated tasks that would be removing them. I've setup auditd on them but the logs aren't really showing anything of interest. I can see our backup utility accessing them every night... | Solution 1 : systemtap You can use systemtap to show all PIDs that are trying to use unlink() on the inode of [CODE] and [CODE] files. Install systemtap and the debug symbols for your kernel. Create a file with name [CODE] with the following content: [CODE] Then run it with [CODE] Solution 2 : inotify You can also use ... | 16 | 22 | 9,368 | 2011-08-23T13:15:22.423 | database_errors | serverfault.com | |
751,036 | ssl nginx wrong path | i am trying to configure ssl on nginx server but it show me the wrong directory.. http on port 80 is ok, https on 443 no this is my formazioneturismo.com.vhost fastcgi_cache_path /var/nginx-cache/formazioneturismo.com levels=1:2 keys_zone=$ [CODE] As you can check going to http://www.formazioneturismo.com you normally ... | Please set the document root for listen Port 443 also I can see http location block pointed to /var/www/formazioneturismo.com/web and https block may be default to the path /var/www/formazioneturismo.com: [CODE] Do Restart [CODE] | 0 | 0 | 414 | 2016-01-22T12:47:32.910 | infrastructure | serverfault.com | |
6,904 | Ordering by date and other columns | I have a one table Q&A like below: [CODE] There are 4 types of record: type=1 (question) type=2 (answer) 3 and 4 (not relevant now) What I want is to list all questions with their answers below. The questions and answers have a koppel_id field that connects them. The ordering must be last asked question first, with ans... | It would be something like the following. Please verify the syntax and functionality as I have not tested it. There might be a better way to do this. [CODE] | 2 | 3 | 182 | 2011-10-17T22:32:57.690 | warehouse_errors | dba.stackexchange.com | |
1,023,533 | Google App Engine Fetch Slow Speeds | I'm running a NodeJS Google App Engine service that retrieves a large file and sends it to a Virtual Private Server hosted on Digital Ocean or AWS. The file is about 5MB and takes up to a minute to send in some cases and often times out. Sending the same file from a client running on on my machine, a VPS, or my teammat... | By reviewing some resources I'd say that you might be affected by this issue , it seems to happen that the custom domains add significant latency when using App Engine. I found this article with some useful insights over the RTT behavior between regions/cloud providers, and it looks like the responses as you have point... | 0 | 1 | 593 | 2020-06-30T20:52:56.527 | infrastructure | serverfault.com | |
925,255 | Postfix is ignoring the virtual maps | I am using Postfix and when I try to send an email to a virtual address (paradise@example.org), it is not able to find the user: [CODE] I am using the following virtual map: [CODE] Where horus is my (non-root) Unix user. If I try to verify the virtual addres by doing: [CODE] It returns my current user: [CODE] Because o... | If you want to use [CODE] to deliver mail, you must also tell Postfix which domains it should consult the map for, with the [CODE] directive. This can be a plain list of domains, or it can also be one of the map types Postfix supports. [CODE] will get you going, and you can put in a map or whatever you want later. See ... | 5 | 4 | 1,541 | 2018-08-07T10:31:40.910 | infrastructure | serverfault.com | |
62,350 | How to overwrite csv file of MySQL result set? | My SQL query is given below, [CODE] I know that, the query working fine, I have to set the cron job to get the result set as csv file and send email. At first time when I execute the query, there is no issue, but next time I got the error as follows, [CODE] I understood, the file is already created while I run at first... | According to the MySQL Documentation on [CODE] The SELECT ... INTO OUTFILE 'file_name' form of SELECT writes the selected rows to a file. The file is created on the server host, so you must have the FILE privilege to use this syntax. file_name cannot be an existing file, which among other things prevents files such as ... | 0 | 1 | 8,486 | 2014-04-02T14:47:49.823 | database_errors | dba.stackexchange.com | |
1,031,393 | Is SMB safer than iSCSI for connection to a NAS? | Recently one of our customers undertook an IT network audit from another (third party) IT audit firm. The results were generally good, although they pointed out that we had used iSCSI client on Windows Server as a means of connecting to the NAS, instead of creating an SMB share on the NAS. They suggested this was a bad... | Any online writable disk can be corrupted by a malicious software or user. Underestimating them by assuming they cannot find a file share is a mistake. Last line of defense for important data is always tested , cold offline backups. And in this case, the important data may include backups themselves! Think about the po... | 7 | 8 | 3,765 | 2020-08-25T10:27:26.150 | pipeline_ops | serverfault.com | |
1,080,122 | net-snmp reporting zero for interface speeds on CentOS 8 | My monitoring system is using data from SNMP polls to build graphs. This works fine with a few dozen RHEL 6 and 7 hosts, but graphs for all my new CentOS 8 hosts are not working correctly. I've done some checking and the problem is with the [CODE] MIB returning zero for all interfaces except [CODE] : [CODE] My [CODE] o... | Merely another bug in net-snmp abandonware. Report it. It already has a load of those. But this has nothing to do with the graphs, ifSpeed is a consultational value (that's probably the reason nobody cares about it). Graphs are using counters, even from another table, that doesn't even have the ifSpeed oid - ifXTable .... | 0 | 0 | 262 | 2021-10-10T13:46:27.993 | pipeline_ops | serverfault.com | |
9,758 | How to make CREATE INDEX in InnoDB table faster | I have platform RHEL 5 with 8G RAM and MySQL version 14.12 distrib 5.0.86. I want to create an index in an InnoDB table, but it takes a long time: [CODE] The table has 8,000,000 rows and in [CODE] [CODE] but it is still too slow. How can I make the create index in innodb table faster? I already have these variables: [C... | RHEL5 ships with MySQL 5.0, unless you installed something else. So I would focus on increasing these three variables. They are not specific to either InnoDB or MyISAM. [CODE] http://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html#sysvar_read_buffer_size http://dev.mysql.com/doc/refman/5.0/en/server-system... | 6 | 4 | 11,055 | 2011-12-27T10:13:52.687 | database_errors | dba.stackexchange.com | |
431,313 | Why would ping give me fast rtt values, but take a long time for each response to come back? | I've got a bit of a basic networking question here regarding ping. When pinging a particular host on a completely different subnet, I get a response like this: [CODE] This initially looks normal, but then you see that the total time is 48 seconds to get these 4 responses. When the ping is running, there is a noticable ... | This is a bit of a wild guess.... You are pinging by DNS name. Does the DNS loookup of myhost.example.com take that long to resolve ? What happens if you ping by ip-address ? | 7 | 5 | 3,857 | 2012-09-24T09:49:21.970 | infrastructure | serverfault.com | |
710,852 | Multiple syn's packets before handshake? | I have a scenario, I'm analyzing ssl (decrpyt) traffic to my webserver. I'm investigating server and end-to-end delay issues. In between this I'm stuck at following traffic pattern for which I need some advice/suggestion. The patter shows:- [CODE] After, complete of handshake I see [CODE] from client. My issues is:- Wh... | This is part of the way browsers work. When a webpage loads, you may get a chunked response. If you have an HTML reference to an image in the first chunk, there is no need to wait until the end of the stream to begin trying to load the image, since the bottleneck could be processing related, not network related. Theref... | 1 | 1 | 2,157 | 2015-08-04T18:33:10.333 | infrastructure | serverfault.com | |
590,611 | Unable to create datastore extent on VMware ESXi 5.5 - HP Smart Array P800 | I have a HP P800 array controller connected to a HP MSA60 with 12x 1TB SATA drives installed. I provisioned a single array with 1 spare in ACU. I have followed this KB and created 4x 1.9TB logical drives and a 1.5 TB logical drive. I created a new VMFS-5 datastore from the first logical drive of size 1.9TB (named: vmh0... | I was able to determine the solution to the problem based on the conversation in this thread . Originally I was trying to extend the datastore via my vCenter server, which it seems does not work. Based on the forum thread I tried to connect to the host directly, rather than the vCenter server, and I was able to success... | 2 | 1 | 3,795 | 2014-04-22T18:26:14.020 | infrastructure | serverfault.com | |
686,362 | Ubuntu SSH connections don't close | We have a connection to one of our servers from an external party. This party logs in using sftp and uploads some files. The sessions are not closed by that party and they don't know how to get that done (it's a Windows server and appearantly the scripts they are using do not support it). Now the server crashed last we... | Edit your SSH Server's config file to include [CODE] This will disconnect all idle clients after 10 minutes (600 seconds). Quoting the manual: ClientAliveCountMax Sets the number of client alive messages (see below) which may be sent without sshd(8) receiving any messages back from the client. If this threshold is reac... | 0 | 2 | 2,999 | 2015-04-29T08:06:10.060 | api_errors | serverfault.com | |
80,895 | How do I change the default character encoding in IIS on Windows Server 2003? | When validating my web page using the W3C Validator, I noticed that although I specify ISO-8859-1 encoding in my HTML, the web server seems to be specifying UTF-8 encoding in the HTTP headers. I've looked everywhere but I can't seem to find a way to change this - am I missing something? | I have figured this out now, and perhaps the reason for the lack of answers was that my question omitted a crucial detail, which was that this is an ASP.NET web site. The content encoding is set in the [CODE] file when the .NET Framework is installed, and it defaults to UTF-8. You can edit this file which will affect t... | 6 | 4 | 49,477 | 2009-11-03T10:33:33.820 | infrastructure | serverfault.com | |
948,115 | Where does Certbot serve up HTTP-01 challenges from? | I am diagnosing a weird problem with some of my Ubuntu 14 LTS / Apache 2.4 machines with Certbot renewals. Yes, I know Ubuntu 14 LTS is EOL soon; these are some of the straggler machines on the rebuild list. Essentially, Certbot has been working well for a while on these machines, with renewals handled via a cron job. ... | Requests are served up from /var/lib/letsencrypt/http_challenges. I think this is related to certbot 0.28.0 changes and EOL for TLS-SNI-01 On my Ubuntu 14.04 / Apache 2.4.7 machines two things were needed. I had to remove the root lockdown. I edited /etc/apache2/conf-enabled/security.conf and also added in where the ch... | 1 | 0 | 1,028 | 2019-01-08T18:04:13.613 | api_errors | serverfault.com | |
251,393 | port forwarding to server outside dmz from one inside dmz | we are running mysql replication between a server outside dmz and one inside dmz, for this we need port forwarding. We have had it set up, but it recently stopped working. Just before we added a rule (rule number 01500) that would allow traffic for nrpe (monitoring with naigos). The set up consists of a legacy redhat 5... | turns out that the allow statement for mysql traffic "blocked" it, since it was prevented in reaching the divert rule that would do the actual forwarding. testing was done by adding this rule : ipfw add 1350 skipto 1700 tcp from a.b.c.e to me dst-port 3306 As a result rules 1400 and 1600 will be removed from our firewa... | 0 | 1 | 528 | 2011-03-24T15:37:01.643 | pipeline_ops | serverfault.com | |
132,820 | esx backup usb disk | my server has a disk error, unfortunately RAID-0. So i am planning to boot it off CD (partedmagic) and copy the VMs to a USB disk. File system is VMFS (esxi4) once the damaged disk is replaced back could the data be restored back? this server has two datastores this bad disk belongs to store-1. please suggest any bette... | RAID 0? groan The best mnemonic for RAID-0 is that it provides 0 protections against data loss. If your server had a disk error, I would be very, very surprised if you were able to recover any data. If your disk isn't completely dead, and you do manage to get data off of it, replace the failing drive and rebuild the ar... | 1 | 4 | 304 | 2010-04-15T18:07:44.887 | database_errors | serverfault.com | |
297,522 | Group Policy Internet Explorer default security settings? | Since re-installing our Domain Controller (Windows Server 2008R2) and re-creating all of our group policies I have stumbled across an strange issue. When a user logs in and goes no the internet, their javascript is disabled because the security zones are set to high. The user then has to reset the zones to the default ... | Why don't you use the IE administrative templates to set zone security as you want it? Create a new GPO and link it at a level/OU where users will get it. Browse the User Configuration\Policies\Administrative Templates\Windows Components\Internet Explorer\Internet Control Panel\Security Page within GPO. Choose each zon... | 3 | 2 | 22,251 | 2011-08-04T10:46:42.047 | infrastructure | serverfault.com | |
279,346 | Unrecognized configuration parameter when using set_config(text, text, boolean) in CTE | I'm trying to implement a simple ABAC system using row level security, with main policy defined as following: [CODE] Issuing queries akin to: [CODE] With the main reason to use WITH is to avoid multiple statements when queries are later PREPARE d and EXECUTE d by the Postgres driver I'm using. The result in example abo... | We've ended up using the JOINs over CTEs, which implicitly applies the expected order, and queries looking like: [CODE] In which case, [CODE] CTE runs before the [CODE] and ensures that RLS could pick up a correct configuration. Whilst it might very well be sub-optimal for a larger scale table, it worked perfectly for ... | 0 | 0 | 4,488 | 2020-11-07T09:49:48.350 | warehouse_errors | dba.stackexchange.com | |
321,592 | Complex Math Formula: Predict the value of variable if result is known | I have a very complex math formula/equation which involves exponential. Formula: [CODE] *PS: The above is just an example to illustrate my problem. The real formula is way more complex than this. There is no way for me to form an equation with X variable on the left like [CODE] . I tried professional Math software like... | If the equation cannot be solved analytically, you need to use numerical algorithm. To make it simple rewrite the equation into form of X + 2 - Y = 0. Then, it becomes a problem of finding a root of equation using numerical method . | 0 | 1 | 306 | 2016-06-08T05:50:19.277 | api_errors | softwareengineering.stackexchange.com | |
503,920 | Cannot setting up path based authentication in subversion | I've followed the subversion book countless times to try and set proper path authorization on our subversion server, but I haven't been able to make this work. Here is my access rules file : [CODE] What this should do is give all authenticated users access to every repository hosted on this server, but restrict read an... | I have not definitive answer (yet), only some ideas If I replace "$authenticated = rw" with "* = rw", I regain access again but am no longer asked to log in even though I have not supplied any credentials [CODE] means exactly "Everybody can read and write", everybody is "even anonymous". Do you have Apache-based or svn... | 0 | 1 | 1,677 | 2013-04-30T15:32:22.183 | api_errors | serverfault.com | |
746,589 | Centreon/Nagios check_http: Use different domain name/url | I configured Centreon CES as monitoring-system - now I'm facing the following problem: There is a host with domain [CODE] which resolves to [CODE] . This host is not configured by me and shows content if user visits [CODE] but [CODE] if user visits [CODE] . Well, now Centreon shows [CODE] of course, because the given d... | You want the final command to end up with [CODE] and [CODE] . ( [CODE] would be for something like [CODE] .) You should make another command like this: [CODE] Which would then be used in the form [CODE] in a service definition. (You could also omit the [CODE] part entirely, as long as your domain name resolves correctl... | 1 | 3 | 2,501 | 2016-01-04T12:42:14.240 | pipeline_ops | serverfault.com | |
210,604 | Unique Firewall Identifier | I'm going to replace a Sonicwall TZ 190 with a NSA 3500. Currently I have a Site to Site VPN setup on the TZ 190. I entered the exact information for the site-to-site VPN on the new NSA 3500, but I have not changed the "Unique Firewall Identifier" on the new device. Will this effect the Site to Site connection? Do I ne... | In general, as long as the VPN settings are identical at both locations, you should be okay. In previous generations of products, if the UFI didn't match the SA name on the remote end of the firewall, bad things happened. This has gone away since. | 0 | 0 | 1,219 | 2010-12-08T22:18:26.087 | api_errors | serverfault.com | |
111,258 | Creating SQL Server Performance Baseline Monitoring | In order to get an overview and compareable data my current task is to create a performance baseline to get some figures about the different productive SQL Server instances. My thoughts are: I want to use several DMVs I want to include a profiler trace (incl. Exec. plans) I want to include perfmon data So what I try to... | More than one year later I want to let everyone know my experience and the final result of this question / topic. I started out creating things on my own. Initially I followed the Article Collect and store historical SQL Server performance counter data with CMVs by Tim Ford to get something up and extended this with wh... | 8 | 8 | 7,564 | 2015-08-17T07:51:29.270 | database_errors | dba.stackexchange.com | |
455,390 | Confusing traffic in netstat, nothing in logs | Just had a confusing couple of minutes! I was monitoring a screen (the gnu screen) running "netstat -a" and I noticed that there was one connection connected to http (port 80), fine. But when I checked my apache logs there's nothing! Neither there is in any other log files I've checked (message, secure, I've watched th... | Well, if someone connects to your web server, it doesn't mean that there should be some entry in your logs. For example, using this command will create a connection to your server, but won't put any entry in the logs telnet server-ip 80 And if the used just quit from the telnet session, there will be a entry in the net... | 1 | 0 | 219 | 2012-12-05T18:05:17.073 | pipeline_ops | serverfault.com | |
158,743 | PostgreSQL: Auto update updated_at with custom column | Before, I would join multiple tables into one and return result, but in many tables I had same column names. That's why I decided to to prefix column names with table name. But that broke the trigger I had to auto-update my [CODE] column. This is the function I had: [CODE] And I would add a trigger like: [CODE] But now... | Use the spi module 's [CODE] spi module, moddatetime moddatetime — Functions for Tracking Last Modification Time moddatetime() is a trigger that stores the current time into a [CODE] field. This can be useful for tracking the last modification time of a particular row within a table. To use, create a BEFORE UPDATE trig... | 8 | 9 | 31,643 | 2016-12-20T21:05:44.107 | database_errors | dba.stackexchange.com | |
89,423 | List of tools you install on your debian/red-hat server | Here in a list of tools I install after a fresh install (debian most of time): logcheck: to check the log files and generate reports apticron: send me e-mails when packages updates are available aide: to check the system integrity vim: ;-) ethtool & ifstat: to get my network interface speed denyhosts or fail2ban: to bl... | screen... when its not there your workstation is 100% more likely to crash. | 5 | 6 | 433 | 2009-11-30T14:40:16.553 | infrastructure | serverfault.com | |
51,653 | Implementing Multitask Classification in Keras | I am Trying to implement Multitask Learning in Keras with share constitutional Layers and task specific FC layers. Following is my model: [CODE] Model summary is: [CODE] This is where i am facing Problems [CODE] the error i get is [CODE] While both label1 and label2 are of same shape (2077,2). Is there something i am m... | You need to pass an array object. You don't need to map the label array with the output node name ( like TensorFlow low-level APIs ). Pass the list containing the label arrays directly. [CODE] | 0 | 2 | 1,766 | 2019-05-09T06:53:49.263 | data_quality | datascience.stackexchange.com | |
159,617 | how to use fn_xe_file_target_read_file to read files over network | We are running Microsoft SQL Server 2014, and SQL Server Analysis Services 2014. I am trying to setup a system to provide us with analytics concerning our SSAS OLAP cubes adoption and usage. I have setup a an Extended Event trace with the events that I need to track and it is creating a bunch of .xel files on the serve... | The [CODE] share is problematic since that only allows administrator access. Although you've provided file-system access to the folders in question, the account does not have access to the share. Create a share specifically for the xel files, and provide access to the SQL Server Service account on both the Share, and t... | 6 | 8 | 3,350 | 2016-12-30T20:31:29.567 | database_errors | dba.stackexchange.com | |
579,853 | PsExec - Can't Find Specific Path | I'm trying to install a [CODE] file using PsExec from a network path but I get an error saying [CODE] I'm not sure why it's happening - if there's an error in my code or what the problem is. You can see that [CODE] file code, the properties with location of the file that causing the error as well as the error in the sc... | If you check the error in the console open by psexec you can see that UNC paths are not supported... so... you cannot use paths like \... Just map a drive to the share you want to use... then invoke the *.msi from the mapped drive... et voilá!!! c'est fini!!! instead of : "psexec \\\.msi" map the drive to the path : ne... | 0 | 3 | 2,143 | 2014-03-04T22:04:54.030 | infrastructure | serverfault.com | |
242,967 | DynamoDB: How to model data that's shared and queried by all users? | I am very intrigued by DynamoDB, and it works incredibly well when I model the data for my main use case for my application. That being said, there is one specific use case that I can't wrap my head around. Let's say I have users in a table, with the user id being the primary key. Most information is specific to the us... | I'm intrigued as well. :) I have a use in mind that would likewise have userID as the PK. Sounds like you could put an 'announcements.json' file in an S3 bucket, then have your application read announcements from that file. S3 can handle 5,500 read requests per second, according to: https://aws.amazon.com/about-aws/wha... | 0 | 1 | 163 | 2019-07-16T08:51:45.380 | database_errors | dba.stackexchange.com | |
438,161 | Ubuntu server apt-get says "(-5 - No address associated with hostname)" | I have a ubuntu 12.04 server. Running sudo apt-get update on it produces errors like this: [CODE] I am able to ping all the other hosts on the network and also Google's DNS 8.8.8.8. But am unable to ping www.google.com. So, I'm guessing something is wrong with my DNS setup, but not sure what. I use static IP and my /et... | Add your own (or a public) name server address to [CODE] and run [CODE] to update the configuration. Are the two addresses [CODE] and [CODE] from your network configuration the name servers you're supposed to use? In that case add those to the [CODE] file. | 2 | 2 | 11,923 | 2012-10-14T08:45:12.037 | infrastructure | serverfault.com | |
620,448 | Two LAN cables when using Remote Access Card? | I recently bought a HP MicroServer N54L and a HP Remote Access Card. Connecting to the server over a KVM viewer for BIOS setup etc. works fine, but when it comes to installing Ubuntu 14.04. the automatic network authentication fails, telling me: [CODE] The RAC uses DHCP, as it got its IP address automatically. Now my q... | The iLO RAC is a completely separate NIC. If you want the OS to have a network connection you must also connect the on-board NIC to the network. I'm guessing you don't have the NIC plugged in, and Ubuntu has no magical powers to make a network connection out of an unplugged NIC. | 2 | 4 | 203 | 2014-08-14T14:37:14.147 | api_errors | serverfault.com | |
343,293 | Multilayer security concept | I'm working on a security concept of a bigger project. It will be done with Spring,but that's actually not relevant right now. The whole system is a hierarchical tree of computer nodes that run a custom platfrom software, whereas layer 1 nodes connect to a node on layer 2, layer 2 nodes connect to a node on layer 3 and... | Your layer 1, and especially layer 2, seem to do very little beyond offering connectivity. No validation to reject DoS, no caching. A Kerberos-style TGT & Service Ticket relies strictly on symmetric crypto, no RSA. In your setup it seems natural for layer 3 to produce signed statements that other layers + client verify... | 0 | 1 | 216 | 2017-03-02T08:01:51.247 | api_errors | softwareengineering.stackexchange.com | |
707,114 | Apache - unset a directive | Is there a way to "unset" an arbitrary Apache directive such as by repeating it verbatim but with [CODE] or something in front of it? For example let's say at the server config level I have: [CODE] At for one of the VirtualHosts I'd like to be able to put something like the following: [CODE] If there's a specific appro... | I think the easiest solution is to move the directive from the server level to the virtualhost level, if the server-wide setting proves unacceptable for a vhost. Use a default [CODE] in every vhost and omit it in the vhosts where you deviate from the norm. The new [CODE] (httpd 2.4) might be an option too. | 0 | 1 | 308 | 2015-07-20T16:05:08.750 | infrastructure | serverfault.com | |
461,513 | allocation failed: out of vmalloc space - use vmalloc=<size> to increase size | I have a problem with the following error appearing upon sending a dmesg command to my server: [CODE] How do I increase vmalloc size? Here are some server specs: [CODE] Thank you in advance! | I resolved the issue by adding vmalloc=512M to the grub loader and then restarted the server. Now looks like vmalloc changed to: VmallocTotal: 509944 kB VmallocUsed: 63788 kB VmallocChunk: 395572 kB And errors disappeared. | 1 | 1 | 3,767 | 2012-12-28T19:17:31.080 | infrastructure | serverfault.com | |
1,099,096 | ksetup - Failed /GetEncTypeAttr : 0xc0000034 | On the DC of a single-AD forest, I am logged in as the default domain administrator [CODE] (in this case also the enterprise administrator). In an elevated PowerShell, I try to get the Kerberos encryption types with the following command (as documented here ): [CODE] But I get an error message instead: [CODE] In conseq... | How can a simple get fail? Either by trying to 'get' a nonexistent attribute, or an attribute of a nonexistent entry. 0xc0000034 is a standard NTSTATUS value (errno) named "STATUS_OBJECT_NAME_NOT_FOUND" and documented as "The object name is not found." Based on getting the same error on set, it sounds like the whole en... | 0 | 1 | 2,023 | 2022-04-21T07:34:58.930 | infrastructure | serverfault.com | |
246,465 | Generate unique random string to be used as value for a field inside newly created rows in PostgreSQL | I have this statement which generate a random string: [CODE] My question, how to implement this inside a function which would assign the value of the above statement automatically to a field named [CODE] when new records are created (on [CODE] ) ? | You can create a function and use it as the default for the column: [CODE] [CODE] id | url_prefix -: | :------------------- 1 | iByDaJ2h4JHi3dI3uBoy db<>fiddle here | 1 | 6 | 8,618 | 2019-08-28T16:30:48.237 | database_errors | dba.stackexchange.com | |
688,576 | Session lost in Jetty using Apache as proxy | I have an application based on eXist-db. It's basically a Java web application that uses Jetty. It runs on the remote Linux server behind Apache proxy. I use the following Apache configuration: [CODE] Everything works fine except the sessions. On each request the session is renewed. It means the request Cookie header d... | The following Apache configuration resolves the issue: [CODE] It changes the path from [CODE] to [CODE] in cookies so the session is properly mapped to the path. In certain cases the following directive may be required to change the domain in cookies too (but it was not needed in my case): [CODE] I've found even more d... | 2 | 2 | 5,962 | 2015-05-04T21:11:31.790 | infrastructure | serverfault.com | |
1,079,279 | Using Apache proxy pass not forwards with port | I have some websites on my server and few of them have proxy pass and they are passing some port to some subdomain. But now I'm trying to add another subdomain for Webmin, but it doesn't forward to the port. This is site.conf: [CODE] This is the screen shot of what I see: Then if I use 10000 port I will see: So as I kn... | The error message tells you exactly what to do. Use https instead of http. [CODE] Alternativeley, configure webmin not to use https. | -1 | 0 | 1,820 | 2021-10-01T11:38:39.013 | infrastructure | serverfault.com | |
785,013 | Outlook/Exchange Meeting room reporting issues | Reporting Sometimes stuff in meeting rooms break. This needs to be easy for people to report, like "the projector is not working", "speaker phone not working", "room very dirty" or whatever we can think of. This information needs to be stored somewhere, in a database or something, so it can be cleared once it is fixed ... | This is likely to be closed as it is more of a "software recommendation" question as it is currently written. You may be able to wordsmith your question better to avoid that, not sure. That said, there is no built in functionality within Exchange to do this, but you could look at programmatically doing what you want. A... | 2 | 2 | 118 | 2016-06-20T12:21:52.630 | infrastructure | serverfault.com | |
960,391 | PHP gets EHLO for mail() function from nginx server_name - error | I'm using nginx with regex inside virtualhost name to catch subdomain name to work with that later: [CODE] I have discovered that the mail() function within PHP (running as FPM from nginx) does not send emails. I looked up the exim logs and found this: [CODE] Of course, this is an invalid EHLO. It looks that PHP gets t... | The solution was to explicitly set SERVER_NAME in nginx config: [CODE] | 0 | 0 | 351 | 2019-03-28T08:21:18.830 | infrastructure | serverfault.com | |
27,933 | The same driver for multiple network cards -- performance bottleneck? | I'm using driver e1000e for multiple Intel network cards (Intel EXPI9402PT, based on 82571EB chip). The problem is that when I'm trying to utilize maximum speed (1GB) on more than one interface, speed on each interface starts to drop down. For one interface I get: 120435948 bytes/sec. For two interfaces I get: 61080233... | It won't be the driver. It's most likely to be a physically shared component, such as interrupts or the PCI bus. | 4 | 6 | 1,352 | 2009-06-18T10:56:39.570 | infrastructure | serverfault.com | |
370,001 | Ping host computer from installed Ubuntu on virtual box | I have installed Ubuntu 11.10 on Virtualbox 4.1.8. My own OS is Windows7 x64. I need having a connection between these operation systems, but there are many choices. NAT, bridge, Host-Only, etc. I don't know which one is the best one for me. By the way, it seems that there is a problem for Bridge mode. Help me please a... | You can use two interfaces, one for internet (NAT, dhcp), and another for interconnect between VMs and the host (host-only interface, static address). good luck! | 0 | 2 | 3,398 | 2012-03-15T11:37:51.883 | infrastructure | serverfault.com | |
819,824 | JavaScript "AH01215: (8)Exec format error" "End of script output before headers" on Apache | Finally time to apply JavaScript to a particular web site, so I wrote some code that works fine in a test sub-directory, but when I went to deploy this to the web site I ran into problem(s). The problem(s) appears to be unique to when I'm trying to use a script file that's not in the directory or a sub-directory to whe... | This is not what [CODE] is intended for. You can't put client-side JavaScript files in a directory that's also described in a [CODE] directive. [CODE] is an Apache configuration directive telling it to attempt to execute files in that directory as programs and return the programs' output, instead of simply transmitting... | 0 | 0 | 2,483 | 2016-12-09T16:29:03.783 | api_errors | serverfault.com | |
116,178 | how to insert a list of varchar values, into a single column table? | In SQL Server 2005: [CODE] How can I get this done? | Since you are using SQL Server 2005, you need to perform a single insert for each value. Upgrade to SQL Server 2012 or higher, and you get the multiple [CODE] clause, making this much easier. Something like: [CODE] I would recommend using find-and-replace to replace the commas with the required syntax. Replacing the co... | 3 | 8 | 33,986 | 2015-09-25T17:16:57.200 | database_errors | dba.stackexchange.com | |
745,225 | Creating a NFS share across servers with varying UIDs | I have 4-5 Ubuntu 14.04 servers in my network and I want to share a common [CODE] directory between them. I have setup the nfs server, and I can mount the directory on various clients. However my problem is that of user IDs. Example: A user on the nfs server is UID 1003, but on an nfs client this same user is UID 1002,... | The best solution is of course to migrate your users to a single user database such as LDAP, FreeIPA etc. That is a little effort now but will save you a lot of grief in the future. But you're in "luck" because as of NFS version 4 you don't need matching UID's anymore. The NFSv4 calls between client and server use name... | 3 | 5 | 1,562 | 2015-12-25T07:39:29.883 | infrastructure | serverfault.com | |
194,969 | Materialized view became INVALID and USER_MVIEWS.COMPILE_STATE becomes 'NEEDS_COMPILE' | I have an application which is getting data from Oracle(11.2.0.4) Materialized view, there is expected behaviour about materialized view will go INVALID when any DML action happens on the associated tables or assocaited objects are invalid. My materialized view opotions are as listed below and confirming that associate... | That is the expected behaviour. If the data in the base table changes and the view isn't up to date anymore its status is not valid anymore. If you recompile or refresh it will become up to date and is valid again. So you don't have to bother about the invalid state of your view. This question was already posed on stac... | 1 | 5 | 37,762 | 2018-01-09T11:27:06.393 | api_errors | dba.stackexchange.com | |
1,035,296 | Random HDD hangs on Debian Stretch | I have server with two HDD in RAID1, two SSD in RAID0 and one NVME. But sometimes HDD randomly hangs for couple minutes. Last time HDD not responded for 20 minutes. I have no clue what can be a cause of this problem. I checked data from node exporter and I there is nothing weird. It was at night, so the server was pret... | Caused by NFS server (long-term reported bug) in container/VPS (not matter if is in container or VPS). When you mount NFS to physical host from container or VPS on the same physical host and your server get some stress, NFS server can hang (and this will be extended to other processes). In this case it was caused by me... | 1 | 0 | 126 | 2020-09-25T09:14:35.900 | infrastructure | serverfault.com | |
43,457 | PK as ROWGUIDCOL or use a separate rowguid column? | There's a long-winded debate going on here so I'd like to hear other opinions. I have many tables with uniqueidentifier clustered PK. Whether this is a good idea is out of scope here (and it's not going to change anytime soon). Now, the database has to be merge published and the DEVs are advocating the use of a separat... | Basically, they say that the application should never bring into its domain something that is used by replication only (it's only "DBA stuff" for them). I agree completely. But... the primary key isn't only used for replication (presumably the application uses it in some way). The argument makes no sense in this contex... | 10 | 7 | 3,908 | 2013-05-30T16:48:06.140 | database_errors | dba.stackexchange.com | |
190,376 | Why is black box called functional testing when it tests also non functional? | This has been bothering me for a while. Security, performance tests etc. are all done typically using the black box approach. But these are nonfunctional,while black box is called functional testing. Is it because it judges the function and it is just a naming or there is an inconsistency? References: Software Engineer... | Ok, by a quick google search I found a cite from your first reference: white box testing techniques are also called structural testing techniques, whereas black-box testing techniques are also called functional testing techniques I guess you are referring to that. To my understanding the term "functional testing" is us... | 0 | 2 | 3,429 | 2013-03-13T09:25:24.770 | api_errors | softwareengineering.stackexchange.com | |
240,435 | Simple query returning < 10000 rows taking 3-4 seconds | I'm having some trouble diagnosing this very simple query which seems quite slow to me, any help would be much appreciated. The table of relevance for the query at issue is defined as follows: [CODE] Entry in slow query log: [CODE] EXPLAIN for this query: [CODE] The table has around 40 million rows. Is this just the ti... | Assuming [CODE] is the typical [CODE] , change [CODE] to [CODE] . This will significantly speed up that query. Guids are hard to deal with due to their randomness. Now that you have provided [CODE] , I see that the above [CODE] will not help. However, if your [CODE] does not really need to be [CODE] , but is, instead, ... | 2 | 1 | 1,975 | 2019-06-13T00:37:28.687 | database_errors | dba.stackexchange.com | |
127,521 | Configuration management in support of scientific computing | For the past few years I have been involved with developing and maintaining a system for forecasting near-shore waves. Our team has just received a significant grant for further development and as a result we are taking the opportunity to refactor many components of the old system. We will also be receiving a new serve... | There might be good information from people on here, but you might also want to ask the scientific community, as there's typically talks and posters on this at the fall AGU meeting each year. Much of it has to deal with workflow management for earth science data, which might have some stricter requirements than forecas... | 3 | 1 | 173 | 2010-03-30T02:04:41.243 | pipeline_ops | serverfault.com | |
2,281 | Multiple runners for all projects OR single runner per project | What do we have: We have a Gitlab EE with multiple projects running on a droplet, next to that we have a runner server for the CI runners. All projects are Docker projects and 4 runners can be busy at the same time. What we need to know: Now is my question, is it better to have like 4 runners on the runner server for a... | After some research i found out that shared runners are good for the projects that are very much the same, and specific runners are better for the projects that are not like any project. Shared runners can eat all resources available in the end with its queue's which makes specific runners more interesting. My choice n... | 5 | 4 | 2,393 | 2017-10-10T09:19:01.520 | pipeline_ops | devops.stackexchange.com | |
517,552 | PHP connection for Mysql is very slow in another server | Few days ago, we moved our mysql database to another host because of some limitations with our current host. Everything is fine (Seem same performance and speed on our PHP framework based website) except one script that executes a mass update between two tables and excel files. This script would take less than 3 hours ... | If the servers are no longer located together in the same hosting, it is fairly normal that things will be slower. There are things you can do to reduce overhead, like connection pooling , and ensuring that the mysql connection has dedicated bandwidth, but it's doubtful you'll be able to reproduce the sort of speed and... | 0 | 0 | 1,959 | 2013-06-21T14:13:58.623 | database_errors | serverfault.com | |
122,324 | SQL Server transferring results slowly in table result set, but instantly with XML | I have a query that left joins 100+ tables and returns 2,000+ columns, but only a few rows (10-20). This part is out of my control at the moment and it used to run ok with a bit fewer columns (maybe under the normal non-wide table width). The execution is "instant" after the initial plan is compiled and I don't actuall... | Those XML results you keep mentioning. I do not think you are seeing what you think you are seeing. ;-) Is [CODE] magic? When you have the XML result in the grid, click on the left margin that contains the row number of the result set (there should be just 1 row). That should highlight the XML result. Now hit Control-C... | 3 | 5 | 1,019 | 2015-11-28T04:17:35.920 | database_errors | dba.stackexchange.com | |
281,880 | Best way to signal all child processes to terminate using C | I have been assigned the task of designing a simple web server using C in my UNIX & C class. The webserver listens and forks when a successful connection is made so that multiple clients may be served at once. The child process then handles the transaction between client and server. I am now required to implement code ... | I recommend you to store the child process PID in an array, to eventually, send the signal in this way. [CODE] With this code, you can kill all the child processes, if you want to make more things, I encourage you to try to make your own handler. These man pages will help you: http://man7.org/linux/man-pages/man7/signa... | 1 | 4 | 10,172 | 2015-05-04T09:47:54.560 | api_errors | softwareengineering.stackexchange.com | |
1,083,960 | yum not updating dependency during install | I have a situation where [CODE] requires [CODE] via: [CODE] During [CODE] , [CODE] is not upgraded, and is left at version [CODE] . Why is yum not updating [CODE] -- and the install of [CODE] completes without error, even though the dependency for [CODE] is not resolved? See: [CODE] Note that yum thinks that [CODE] is ... | Maybe it is because the inproper [CODE] in spec file of [CODE] . I encountered the similar problem, and finally I found that, the [CODE] in spec was misconfigured. For example, [CODE] After this line was removed, newer version could be normally updated by [CODE] . | 1 | 1 | 646 | 2021-11-18T18:20:55.927 | infrastructure | serverfault.com | |
697,804 | SVN Checkin Failure(sqlite[S5]: database is locked) | I am facing this issue intermittently when I am trying to check-in files [CODE] I already check some forums and these are the suggestion but it doesn't resolve my issue [CODE] As the error is intermittent and I checked svn repo file is there(i.e file checked in properly)so I am not sure what is the issue.Any help is re... | I believe this is a client side, and not server side error, based on your comments it seems you are using file based svn, so the only database that can be locked is on the client. Try this [CODE] now you have a new wc.db that should not have any locking errors If it all works OK, delete wc.db.old If not you can always ... | 3 | 6 | 24,251 | 2015-06-09T22:54:52.573 | infrastructure | serverfault.com | |
876,434 | Windows server 2012 rdp drops connections | Windows 7 clients and windows 2012 server. Mapped drive disconnects and reconnects sporadically. Server and client on local lan. Rdp to server also disconnects and reconnects. Ping doesn’t drop and you tube video doesn’t drop. This has worked for a year just fine. Have changed switch, cables and updated all server driv... | You may try to enable RDP Keep-Alives and then restart your Windows 7 client. This can be done in local group policy using gpedit.msc . Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connections -> Configure keep-alive connection int... | 3 | 4 | 2,733 | 2017-10-02T11:52:36.833 | infrastructure | serverfault.com | |
48,093 | Understanding multiple indexes with MySQL (and performance) | I have a "phones" table with around 120 000 records, it contains phone_id, phone_number, phone_user_name, phone_last_contacted, etc. The phone_id is index and looks like: 1,2,3,4 ... 120 000. But I often update different fields like "phone_last_contacted": [CODE] The "slow query" log says that query read many records b... | You speak of "the index" so I assume you mean "the clustered index." I'd actually start by just slapping a unique index on [CODE] - if you're confident that it really is and always will be unique, and if it's the field you most often filter by. If it is unique, it's a good example of a "candidate key" - you could, tech... | 0 | 1 | 1,108 | 2013-08-13T22:39:27.570 | database_errors | dba.stackexchange.com | |
10,057 | Best network structure for unsupervised learning | Currently using networkX to build a probability based network for unsupervised learning, it is a basic reader understanding relational connectivity through probabilities, network slows significantly after about 40 pages (8000 words) any suggestions for a better network platform would be much appreciated. | You are describing a problem that can be solved with Probabilistic Graphical Models (PGMs). PGMs use graphs to expresses the conditional dependence structure between random variables. pgmpy is a Python package for PGMs. | 1 | 0 | 163 | 2016-02-01T21:54:04.777 | data_quality | datascience.stackexchange.com | |
575,134 | NSLookup resolves to local DNS, but browser resolves to public | Problem When trying to access internal servers via hostnames using NSLookup (both Windows & Linux/Arch/Debian) I receive the correct DNS server address, FQDN and destination IP address. When I try to access the same server using a browser or PING, I end up hitting our public "catch-all" IP address. It should be hitting... | The difference between nslookup and your browser / ping test is that nslookup will force a DNS lookup, whereas the other tests will will use the normal name resolution lookup order to resolve names. This involves looking in the DNS cache, as well as static records in the hosts file. It's possible that your computers ha... | 2 | 3 | 14,461 | 2014-02-12T19:29:13.563 | infrastructure | serverfault.com | |
418,976 | Why is pfSense blocking multicast traffic when it is explicitly enabled? | I have a pair of pfSense firewall/routers set up in CARP/XML Config cluster. On the LAN side, the switch also has a pair of servers running corosync/pacemaker/drbd. These are on a different ip network, but still generate multicast packets. For the life of me, I cannot get pfSense to allow the packets. I tried using the... | Your rule's IP address seems to be incorrect : 192. 132 . 1 .0/30 in your firewall rules picture and 192. 168 . 132 .2 in your logs The firewall rule IP should probably be allowing multicast traffic from [CODE] (or the appropriate subnet) | 5 | 7 | 28,132 | 2012-08-18T19:41:30.910 | infrastructure | serverfault.com | |
571,483 | Subversion on 1 Gb uplink | is it possible at all to utilize 1 Gb uplink? I have 2 server with 1 Gb uplink 176.9.xxx.xxx - server [CODE] 144.76.xxx.xxx - client [CODE] Some basic tests [CODE] At the same time when I download some project from svn via http speed is about 100 Mbit/s max. But a plain binary file has been downloaded at max speed [COD... | We know too little about your subversion test to answer the question. Try downloading test.img from the repository after you commited it, it should fully satisfy your connection. My guess is that you are measuring while trying to clone a repository which normally is represented with many individual small files thus mak... | 1 | 0 | 198 | 2014-02-01T13:40:41.460 | infrastructure | serverfault.com | |
1,115,796 | iptables rule not working on docker | I have some containers running on different ports such as 80, 9010 and so on. For example: [CODE] I want to prevent all connections from outside of host to 9010. I use many command to restrict it even I write this: [CODE] But it just close ports by native services not services runs by docker. Furthermore, I write some ... | This is my iptables [CODE] For limit incoming packets when using docker we must limit DOCKER chain for example: [CODE] For limit outgoing packets when using docker we can limit by FORWARD chain like this: [CODE] | 1 | 0 | 1,330 | 2022-11-16T05:45:40.330 | pipeline_ops | serverfault.com | |
43,141 | Neural Network unseen data performance | I started dabbling in neural networks quite recently and encountered a situation which is quite strange (at least with my limited knowledge). The problem I'm using a NN is a regression problem which tried to predict the sales of a product for a particular kind of promotion in an FMCG. Although the data is not strictly ... | I finally figured out the problem. I'm just posting it as the answer so that if somebody has the same problem, they can get a clue in the right direction.. It was an issue of data leak. I was augumented the data, but I augumented it before the train validation split and hence a lot of similar cases were present in vali... | 2 | 1 | 813 | 2018-12-26T02:04:14.813 | data_quality | datascience.stackexchange.com | |
183,597 | MySQL ignores foreign keys constraints in a table representing a many to many relationship | In MySQL, the foreign keys of a table standing for a many to many relationship do not work even though I did set them to the "child" table named [CODE] . When I execute a statement to insert a new row into [CODE] , MySQL must launch the error due to the checking of the foreign key constraint, but it does not work. I do... | Worth checking that you are using a Storage Engine that supports Foreign Key Constraint checking. [CODE] The MyISAM Storage engine for instance does not support checking of Foreign Key Constraints. If so and you need Foreign Key checks, try changing the storage engine to InnoDB: [CODE] If you need this to be the more s... | 0 | 1 | 1,692 | 2017-08-16T07:44:36.787 | database_errors | dba.stackexchange.com | |
585,609 | What SCCM roles should I install on my secondary sites? | In the company I'm currently working, we'd like to install System Center Configuration Manager to automaticly deploy Windows 7 images and software. I have been conducting some research on installing, configuring and running SCCM in a closed lab-environment. These tests have been succesful and now we are making the step... | Eventually I have chosen to go with the hierarchy shown in the picture above. We have fixed the issues with contacting clients in our seperate forest. There were some minor changes necessary in our Active Directory and the firewall of our clients. We also had to put our test computer in the correct VLAN and network. In... | 2 | 0 | 1,537 | 2014-03-31T10:33:13.600 | infrastructure | serverfault.com | |
61,740 | Can we restrict the number of connections to a database in SQL Server? | I have a database on SQL Server. My web application contacts this database. Is there a way in which I can restrict the number of connections to this database through some settings on the SQL Server? | Seems like we can do it : To configure the user connections option In Object Explorer, right-click a server and click Properties. Click the Connections node. Under Connections, in the Max number of concurrent connections box, type or select a value from 0 through 32767 to set the maximum number of users that are allowe... | 2 | 2 | 4,887 | 2014-03-25T22:58:56.143 | database_errors | dba.stackexchange.com | |
754,424 | "HTTP 503 - Service Unavailable" when trying to access ADFS password change page from an external network | I'm using ADFS 3.0 federated domain (SSO with Office-365) and I've successfully set up the password change page to work from any workplace joined device. I'm currently trying to set it up to be accessible from any device not joined to the workplace. I applied the hotfix as mentioned in this article: Note: ADFS 2012 R2 ... | This is older so I have to make some assumptions here. It's stated it doesn't work outside the network, but implies it does work inside the network. Typically inside the firewall you will connect directly to ADFS servers. From outside you are connecting thru a proxy device. Probably a good chance the issue is with what... | 1 | 0 | 5,248 | 2016-02-06T12:22:02.957 | data_quality | serverfault.com | |
520,679 | SQL Server 2012 - No connection could be made because the target machine actively refused it | I've searched for the solution for this problem for days now, found a lot of stuff but none of it worked. I've got an SQL Server 2012 running on Windows Server 2012. I'm trying to connect to the SQL Server from a client computer remotely (with internet IP), and I keep getting the message 'No connection could be made be... | Are you absolutely sure that there isn't a firewall somewhere between your client and server that's sending back a TCP RST on your connection attempt? A corporate firewall should definitely be blocking that kind of traffic. Edit: I'd sniff the traffic on the server side, after verifying with a [CODE] that you're seeing... | -1 | 1 | 9,146 | 2013-07-03T21:30:59.027 | database_errors | serverfault.com | |
351,569 | ASP.net MVC static class and background worker | I have an MVC 5 ASP.net app that is working perfectly. A colleague of mine has made a project that reads in data from files and churns some of it to output some calculations for me to display in the web application. I call his methods and I get the data back and display on screen. As part of his project he has implemen... | Deploy your colleague's library as a cached microservice Assuming you can't change your friend's library at all, you don't want to use a database, and you want to maintain a reasonable level of process isolation, here's the right way to do it: Write a bit of glue to expose your colleague's library as a RESTful microser... | 1 | 1 | 3,054 | 2017-06-25T18:53:31.710 | api_errors | softwareengineering.stackexchange.com | |
412,893 | How to insert logging information without making the code a mess | When working with some complex algorithms, I would like to have a way to keep track of some information for easy debugging. I just need to see sometimes how things are going, and have some easy way to extract data so I don't have to spend time through a debugger trying to get the same data. So far, I've been printing s... | Counterintuitively, logging can lower readability You've stumbled on a key issue here. Logging can inject orthogonal incentives for code readability. When looking at code in general, the more terse a code snippet is (while still doing the same work), the more complex it is to read. So the incentive is to favor unconden... | 9 | 10 | 4,729 | 2020-07-19T20:32:36.790 | api_errors | softwareengineering.stackexchange.com | |
138,041 | Where to set timeout value for website? | I have a website that has its own application pool and uses ASP.net. The application interfaces with a SQL database. I changed the IIS timeout value from 20 minutes to 30 minutes but it still tinmes out at 20 minutes. If I set the IIS, ASP, and apppool timeouts all to 30 minutes it works correctly. Is there a single pl... | If you're having specific issues with the database, you should be able to just worry about the app pool settings. In general, you'll want to set them in all three places since all three items are handling different aspects of the application. IIS is handling the general web interaction of the user. ASP.Net is handling ... | 0 | 1 | 390 | 2010-05-03T14:12:30.687 | infrastructure | serverfault.com | |
915,922 | Ansible Debug-msg data as email content | I want to send email with content from .yml file output. I've created a Jenkins job using groovy script and inside groovy I'm using shell script to call .yml file and inside I'm checking the url's health check using Ansible's URI module. Output on the Jenkins console of .yml file display with key words as "Item", "msg"... | The native Ansible way would be to utilize the mail_module . The Jenkins way would be to use a plugin like Email ext plugin and generate the email out of the Jenkins output. However using Ansible for the sake of the [CODE] module is overkill. I suggest to call [CODE] from groovy like here . | 1 | 1 | 944 | 2018-06-09T18:45:10.753 | pipeline_ops | serverfault.com | |
340,861 | How can CLS compliant methods have non-compliant local variables? | The .NET CLS ( Common Language Specification ) allows a programmer to write code in one .NET language and confidently know that all other .NET languages can safely interact with and even utilize data and methods from the original project. In Troelsen and Japikse's, C# 6.0 and the .NET 4.6 Framework , the authors write ... | The CLS compliant function could have been written as [CODE] The reason that a CLS compliant function can not use [CODE] is because not all .NET languages have unsigned types and those languages would be unable to call [CODE] or interpret an unsigned return value. The use of types that are not universally supported by ... | 4 | 4 | 976 | 2017-01-25T07:09:29.660 | api_errors | softwareengineering.stackexchange.com | |
1,132,898 | Trying to get Nginx redirect working in a pod | So, I'm trying to do a very basic Nginx redirect from https://strnordicfin.eu/magnesium-fakta to https://strnordicse.eu/ntr/some/magnesium/ (just training domains, no worries). My nginx-config looks like this, [CODE] but all this achieves is an error to pod and nginx 404 page, [CODE] I see that nginx is trying to open ... | I see two problems here: Your document root [CODE] is not set correctly. You should set it to a folder where your web files are present. For example, if you copy your files in [CODE] while building your docker image, you should set it to [CODE] Your location block contains a URL whereas it should contain the matching p... | 0 | 0 | 434 | 2023-06-08T13:01:35.163 | infrastructure | serverfault.com | |
20,824 | "Prelogin failure" when attempting to run stored procedure across linked server | I'm getting the below error when attempting to run a stored proc across a linked server that is going from Microsoft SQL Server 2008 (SP1) - 10.0.2531.0 (X64) to Microsoft SQL Server 2008 (SP2) - 10.0.4000.0 (X64). The sql instance that I'm linking to is running the database engine successfully, however the sql server ... | I've seen it happen twice after SQL Server service packs were applied - service packs that took a really long time (hours) to finish the upgrade, or broke as they were trying to apply changes to the system databases. The fact that you mentioned there was a scheduled restart clues me in, too - that means someone had pro... | 3 | 1 | 6,265 | 2012-07-13T02:10:09.017 | database_errors | dba.stackexchange.com | |
409,141 | Persistence layer in the automated testing of an API | The automated tests of an API should be stable and simple. When writing automated tests for an API, we often have to check that the data created with a program implementing this API is persistent. If the persistence layer is checked directly (for example: a database), then the test is tied to the usage of this persiste... | As an API user, I only care that writes (POST/PUT/DELETE) have the advertised effects and that reads (GET) give the expected data, where the time between the various requests is not a factor (unless explicitly documented as a timeout). How the provider of the API makes sure that time is irrelevant is not interesting to... | 1 | 2 | 392 | 2020-04-22T10:32:02.003 | api_errors | softwareengineering.stackexchange.com | |
984,764 | Can the hostname section of a FQDN be something other than the hostname? | I understand that a FQDN is the combination of the domain name and the machine's (host's) name. But can I have a FQDN where what the hostname would be, is something different? Can this cause problems? Example: Hostname - [CODE] Domain Name - [CODE] FQDN - [CODE] | Sure, you can put whatever you want in your DNS configuration. It does not need to match the server name. Depending your context, it may be a good idea to create Host (A) record with the server name and an alias (CNAME) record for [CODE] that points to the host record. It all depends your context. With a server name of... | 1 | 2 | 309 | 2019-09-18T23:34:17.717 | infrastructure | serverfault.com | |
1,100,730 | how to analyze buff/cache memory | When I use [CODE] I get be below information Before system restart [CODE] After system restart [CODE] Ater restart the buff/cache memory started to increase gradually till. Is there a way to analyse which processor are occupying space in buff/cache. Also is it possible to see what is occupying buff/cache? | [CODE] refers to a portion of memory maintained by the operating system and used for "page cache" - used for caching the content of files to speed up disk IO. This is memory that, if needed, can be freed for other purposes - that's why you also see a lot of memory in the [CODE] column. You shouldn't normally be worried... | 1 | 5 | 10,413 | 2022-05-12T07:23:20.013 | infrastructure | serverfault.com | |
434,266 | Cause of slow download speed on a particular EC2 instance? | I have a networking issue I'm trying to solve. I have two EC2 instances, same zone, same type. On one of the two EC2 instances (the 'bad' instance), the download speed is really poor (200k/s), while on the other (the 'good' instance), the download speed is fine, comfortable at 30M/s +). To clarify, I'm talking about do... | If your instance is EBS-backed then stop the instance, wait a minute or two, and then restart it. That will cause the instance to be started up on different hardware and may resolve your issue. | 6 | 6 | 7,792 | 2012-10-03T00:33:01.347 | infrastructure | serverfault.com | |
237,802 | pgAdmin4 v4: TypeError: string indices must be integers | When I open pgAdmin4 v4 on Windows 10, the dashboard displays [CODE] on all charts. The link (1) told me that the logs on windows are at [CODE] The logs contained numerous times the same error [CODE] I can also not open any databases(pressing the databases button doesn't unfold the list of databases) via pgAdmin4 v4. S... | I have the same problem in Ubuntu 18.04 with pgAdmin 4.11 and postgres 11. What works for me is to go to the process list and kill the pgadmin4 process and reload it. You may do it from Task Manager on windows. Good luck. BTW Datagrip always work fine for me too. | 4 | 3 | 24,347 | 2019-05-10T08:24:15.920 | bi_errors | dba.stackexchange.com | |
123,721 | PREEMPTIVE_OS_WRITEFILEGATHER wait on database RESTORE with IFI on | I have an Azure VM with Windows Server 2012 R2 and SQL Server 2014 Enterprise Edition. I have enabled IFI (added SQL Server user [CODE] to "Perform Volume Maintenance Tasks"). I have tried to restore a 3 GB database with files on C drive (SSD) which took about 40 minutes to complete. Checking restore progress, after ab... | wBob is right on the money, you need a service restart. I wanted to enhance his answer and give a script that will also verify that IFI is indeed enabled. This will determine whether or not you need to kick the service to allow the local policy to take. [CODE] | 5 | 4 | 5,237 | 2015-12-15T12:31:48.710 | database_errors | dba.stackexchange.com | |
819,230 | High Traffic from Content Delivery Networks | I am having trouble on our school network recently. When browsing the internet users will often get an error from the browser saying "No Internet DNS_PROBE_FINISHED_NXDOMAIN" but when they refresh the page will load. I at first suspected our dns server since pages were having trouble resolving. I tried several differen... | Some things I found out. Under attack checks in my firewall I had "Block UDP flood" enabled and set to 25 connections per second. This is what caused the dropped DNS packets. I tried disabling it and didn't have any DNS drops, but the modem kept crashing which is why I had turned the setting on in the first place. I se... | 0 | 0 | 86 | 2016-12-06T18:03:04.633 | pipeline_ops | serverfault.com | |
127,393 | Data Pump throws an error | I am trying to do datapump. [CODE] But this throws an error: [CODE] Please help. | You got the error from line 5. This is line 5: [CODE] If the specified dumpfile already exists, this line throws the above error. You can add [CODE] to overwrite the existing file and avoid this error. [CODE] | 3 | 4 | 6,649 | 2016-01-26T19:55:24.400 | warehouse_errors | dba.stackexchange.com | |
1,078,404 | How to get extra vars java link and download it in ansible and extract it | I want to download java from http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz then extract it tar -xzvf jdk-8u131-linux-x64.tar.gz but not able to do it I have the below ansible playbook code [CODE] I did pass the url from ansible command like below [CODE... | Even though you didn't actually provide any information on how your code was failing, there are some obvious issues. Ansible is not shell, and you cannot access Ansible variables using shell syntax. You also have different variable names in your code ( [CODE] ) and in your example CLI invocation ( [CODE] ). I've arbitr... | 1 | 1 | 518 | 2021-09-23T07:47:50.393 | pipeline_ops | serverfault.com | |
195,298 | RHEL 7.4, heavy workload(s) and SWAP usage | This might not be the correct board for this, but since I'm a DBA and I'll ask here. I have several RHEL 7.4 servers, running a mix of MariaDB (10.1, 10.2) and MongoDB (3.4). The problem was happening with RHEL 7.3 as well. All of these servers have 256Gb of memory with local SSD array storage, and even given heavy wor... | If you have 8GB swap, 256 GB physical memory and swappiness=1 , with memory usage nearing 72Gb, it's acceptable to swap operations almost 700MB (72GB * 1%), then the 100MB swap usage that you had seen is pretty normal. Be sure that your 1TB daily data load doesn't exhaust your physical memory and you can change swappin... | 1 | 0 | 603 | 2018-01-12T21:09:05.207 | database_errors | dba.stackexchange.com | |
481,940 | How can I run git daemon using launchd (on demand, inited style)? | I am trying to run git daemon using launchd (on demand, inited style). But [CODE] fails with [CODE] It works fine without onDemand flag. I am using following plist for launchd. [CODE] | I finally solved this with following configuration. [CODE] | 1 | 1 | 422 | 2013-02-24T06:51:48.577 | infrastructure | serverfault.com | |
365,247 | DDD creating an aggregate in response of an event on another | I am looking at a scenario for creating an aggregate instance from a trigger an a different aggregate. I've incorporated some logic in my [CODE] and [CODE] with [CODE] learning scenario around User Registration and creation of a User Account. Currently I have a simple Registration class instance which has a number of a... | In fact, your RegistrationActived event is actually the same with AccountCreated. I would recommend to justify whether you need Registration model. The criteria is whether it's part of the ubiquitous language of your domain. Regarding your first attempt, My first thought was to simply handle this in an Application Serv... | 3 | 3 | 1,259 | 2018-02-03T18:47:12.827 | api_errors | softwareengineering.stackexchange.com | |
188,224 | Add AG Database Add process results in Connectivity Fail | Recently I was asked to add a new DB to existing AG group. Will adding a new AG database create any outage on Application . Especially ongoing In progress App side Sync processes with Server. Any Connection string Outages expexted ? Sql Server 2014 SQL Server . | Adding databases to an AG group does not disrupt interactions with the database If you're adding a new database to an existing AG group then there will be no loss in service to SQL Server whatsoever--no severed connections. SQL Server does not need exclusive rights to the database in order to add the database to an Alw... | 0 | 3 | 38 | 2017-10-11T15:03:16.420 | database_errors | dba.stackexchange.com | |
279,817 | Necessity of a DB-replication as extra security layer | I am confronted with a given infrastructure as following: A "main" DB has a master-slave replication DB, which only contains certain tables. A certain DB-user has read-only access to this replication. A certain application currently uses this user to perform read-operations on the replication. To my understanding this ... | If the application (publicly accessible) is attacked / DDoS´d, only the connected replica DB will be affected and the main DB can operate normally That's the reason. If the Application running against the replica database is publicly accessible, then it can be attacked. If it is attacked then, as you say, the replica d... | 1 | 1 | 26 | 2020-11-17T11:45:28.003 | database_errors | dba.stackexchange.com | |
1,030,568 | MySQL takes up totall installed memory of 16GB in 24 hours lie period | I'm managing a server with the following configurations, and tuned up the MySQL using mysqltuner.pl. However got ended up server getting used up 100% of the installed memory. I seek you advise to rectify this. Ubuntu Server 18.04 RAM : 16 GB CPUs: 4 MySQL: 5.7.31 Following is the configuration file of my MySQL server [... | Rate Per Second = RPS Suggestions to consider for your my.cnf [mysqld] section [CODE] You will find these changes reduce CPU busy significantly. Many more opportunities exist to improve your configuration. View my profile, Network profile for contact info and free downloadable Utility Scripts to improve performance. | 2 | 0 | 1,102 | 2020-08-18T10:50:31.790 | database_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.