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 |
|---|---|---|---|---|---|---|---|---|---|---|
401,640 | Shared access tokens in a distributed system | I'm building a system that horizontally scales with many nodes. Any of these nodes could consume an API that's hosted on [CODE] . The authentication for this API is token based. My question is, should each of my nodes authenticate separately and fetch their own token? Or should I build a shared cache between them and s... | The simplest solution, I believe, is to use one token per node: You don't have to use a shared cache. The difficulty here is to handle the case of two nodes brought online at the same time: if the first node starts requesting a token, the second one should wait, but it also means that the second one should be informed ... | 4 | 5 | 581 | 2019-11-26T00:54:39.767 | api_errors | softwareengineering.stackexchange.com | |
641,133 | CentOS 6.4: Yum is not showing any 32 bit options for packages to install | I did a minimal CentOS 6.4 install (x64) and now I need to install Java JRE 32 bits. However, everywhere I read, I understand the .i386 or .i686 packages should be available by default. I cannot find any tutorial with something like "Add this repo for 32 bit packages" and also I am a newbie with YUM as my experience ha... | All you usually need to do in order to force the installation of a 32-bit package is to: [CODE] This won't work for the java packages, but I don't think you'd need a 32-bit Java JRE... It normally shouldn't matter , but if you need it, you can pull the package down from http://rpm.pbone.net or a CentOS mirror. | 1 | 1 | 2,576 | 2014-10-31T12:56:14.233 | infrastructure | serverfault.com | |
202,361 | How to convince my teammates that spawning numerous threads is a bad design? | I've stumbled upon this problem when tried to run our application in bad network conditions; it spawns hundreds of threads (which exist long time before termination), and with time the application crashes. However, other developers answered this is "not a bug" and "as designed". I have a strong gut feeling that spawnin... | Spawning a new thread for each task is not necessarily a bad design, but there are some factors that need to be taken into consideration: Context switching between threads takes time. If the number of runnable threads becomes very large (an order of magnitude larger than the number of cores/processors you have), then t... | 2 | 8 | 560 | 2013-06-22T05:50:29.373 | api_errors | softwareengineering.stackexchange.com | |
231,915 | Secondary nodes in mysql 8.0.15 innodb cluster are not reading group_replication_member_expel_timeout variable from my.cnf | I have setup a 3 node mysql 8.0.15 innodb cluster. I have been trying to set [CODE] variable to [CODE] via the [CODE] file. Although the primary node has read the variable properly, secondary nodes are not picking up this variable and are still using the default value [CODE] . Here are the contents of the [CODE] file [... | When using the MySQL Shell and the AdminAPI to set up and manage MySQL InnoDB clusters there's no need, and it's not recommended , to manually change MySQL Server system variables and other configurations. The AdminAPI provides the functionalities to do any required configuration changes. Regarding your need to change ... | 1 | 1 | 660 | 2019-03-12T10:41:08.310 | database_errors | dba.stackexchange.com | |
249,668 | Is there a MySQL character set and encoding that will allow for both emojis and accents? | I've got a database of terms that get added to by one group of users, and queried against by another. I was running into problems when people would query for an emoji in the database and my React app would throw an error (oddly a CORS error, but that's a different issue). I eventually solved this by changing my table's... | I was running into problems when people would query for an emoji in the database and my React app would throw an error What was the exact error message? What were the character set and collation of the column before you changed it to [CODE] and [CODE] ? In MySQL, collation can be set at many levels, including the clien... | 3 | 5 | 3,930 | 2019-09-26T11:24:48.447 | database_errors | dba.stackexchange.com | |
630,177 | How do I give a program permission to change the system time in windows 7? | I have a some software which requires that the windows system time be synchronized with a physical atomic clock* before a certain procedure begins. Right now the user has instructions to modify the time using [CODE] before they begin. I would like to display an hour and minute input box and allow the user to click a bu... | You don't specify whether these machines are part of an Active Directory domain or not. I'll assume that they are not. You don't specify what version of Windows you're running. The pre-Vista and post-Vista cataclysm is huge. It's practically an entirely different operating system. You can't just say "Windows" since Win... | 0 | 5 | 5,308 | 2014-09-21T18:14:33.367 | infrastructure | serverfault.com | |
422,793 | close ssh sessions | I'm using ~/.ssh/config for logging to the [CODE] corporate server: [CODE] But after closing session (typing [CODE] ), my sshd session on server stays still active (I see it through different connection). Hot do I close session or change my config in the appropriate way, to eleminate hang sessions? First check from the... | Use [CODE] or [CODE] [CODE] cause to close connection after doing work on Solaris, and [CODE] is the same on *nix systems. | 0 | 1 | 480 | 2012-08-29T12:46:04.667 | infrastructure | serverfault.com | |
688,177 | Can't connect after NEW Install SQL Server 2012 on Win 7 Pro SP1 with Windows Auth or SQL Server Auth | Trying to install SQL Server 2012 (Eval) to work with the new BI tools using AdventureWorksDW tutorial. Therefore, I feel I've gotten bogged down in SA activities that would be done by others in the real world. I need help to get 2012 running. What I've done: I've verified firewall has SQLServer.exe. I've verified prot... | From your description, it sounds like SQL Server is indeed running on the machine - if it wasn't, you would be receiving a different error message that says that SQL Server is not available. I think the problem is in the account you're using to login. (You can confirm that by looking up the "State" code listed in the e... | 1 | 0 | 885 | 2015-05-02T20:27:48.933 | database_errors | serverfault.com | |
958,093 | Dovecot issued expired certificate? | I've been running a Postfix/Dovecot mailserver for some time now (Ubuntu server 16.04), without any major issues. I also have a Let's Encrypt certificate issued to my hostname, which I setup in [CODE] . That was running fine but as you may know those are only valid for 90 days. I have certbot setup to renew these autom... | This is basically the same problem as answered here by Gerald Schneider. However, since my setup does not rely on a cronjob but on a system timer the answer differs slightly. Let's Encrypt will, at least on Ubuntu let you create a hooks in when the automatic renewal runs through a timer (check that using [CODE] and see... | 2 | 5 | 3,245 | 2019-03-13T14:08:10.090 | infrastructure | serverfault.com | |
558,811 | DNS Server replication created duplicate A-Records | I have a several Windows Server 2008 R2 DC/DNS servers locally, RODC's at the remote office, and a Windows Server 2012 DC/DNS server on Azure with a VPN tunnel established. Earlier today I moved a webserver, changed the DNS records on one of the local DNS servers, and updated at the registrar. Everything worked as expe... | Nope, that's not what happened. Assuming you're talking about AD Integrated zones, DNS records are objects in AD. Objects have a USN which is essentially a number that increments whenever a change to that object is made. If your tunnel "blipped" the USN would be incremented on your on-prem DCs and not on your Azure-hos... | 3 | 4 | 3,180 | 2013-12-03T02:01:57.993 | data_quality | serverfault.com | |
697,177 | How to troubleshoot connection error from windows to unix? | Sidenote: I am still trying to fix this issue . I have a ubuntu server running bind on 192.168.0.2, listening to :53 [CODE] Running [CODE] on that machine ( [CODE] ) works just fine. There is another machine (Win7) on 192.168.0.10. However, running lookups there always times out: [CODE] Trying to telnet to 192.168.0.2 ... | I found an answer in this article: http://www.cyberciti.biz/faq/ubuntu-server-disable-firewall/ The problem was ufw , which seems to have been enabled with the update. Running [CODE] fixed the problem. | -1 | 0 | 100 | 2015-06-07T06:55:47.243 | infrastructure | serverfault.com | |
779,677 | What's the network route for google cloud internal network communication via external ips | I am using Google Cloud load balancer for balancing internal servers and blocking outside access via firewall rules as specified in the official docs. I am just curious from a network performance standpoint, will the packets really leave the google network and back in? Or is it optimized because via DNS resolution Goog... | The destination IP address is examined against the subnetwork's IP address range, which every instance knows. If the IP address is outside the network: a. The instance sends the packet to the subnetwork's gateway MAC address with the destination set to the packet's final destination. The instance might need to make an ... | 1 | 1 | 1,011 | 2016-05-29T12:27:02.917 | infrastructure | serverfault.com | |
116,977 | Trying to create a table with foreign keys and its missing a few rows | This is what I have so far: [CODE] | The foreign keys are defined on course_no and student_id. Assuming the error is a foreign key violation (big assumption, please post the full error in future questions) it must be one of those two at fault. Other rows reference course EE200 so it's not that; so student 018 doesn't exist in the student table. Similarly ... | 0 | 2 | 65 | 2015-10-05T03:39:15.300 | warehouse_errors | dba.stackexchange.com | |
44,846 | Face Recognition (Scalability Issue) | Background I would like to build a face recognition model for registration and login for some kind of service. For example, using this approach (CNN + SVM). When a new user wants to register a service, the image of his/her face is recorded and the machine learning model is trained using these images. Then, when a perso... | The problem you describe may be tackled with online machine learning where you continuously update your model as new data arrive, avoiding the computationally intensive part of retraining. For deep neural networks, there is some work in this direction . scikit-learn and Vowpal Wabbit also provide some online algorithms... | 2 | 1 | 348 | 2019-01-31T06:54:43.377 | data_quality | datascience.stackexchange.com | |
332,990 | Ring Buffer Rollover? | I'm currently using the ring buffer in extended events to track deadlocks, but noticed that it stops being queryable after it hits the memory limit. When I've used the event_file option in the past I can have rollover files so this isn't as much of an issue. In various articles I've read they complain about the ring_bu... | There is a 4MB limit on the target_data column for sys.dm_xe_session_targets which is currently the only way to view the contents of a ring_buffer target. Unfortunately, this 4MB limit is only fully known when sys.dm_xe_session_targets is queried since that is when the ring target is actually serialized as XML. Due to ... | 1 | 2 | 85 | 2023-11-09T18:10:48.643 | database_errors | dba.stackexchange.com | |
186,452 | How to reclaim database space on Azure SQL Server after setting nvarchar values to null | There is db space challenge at hand on Azure SQL Server database. 490 GB out of 500 GB is used. That's what I read from nice pie chart on Azure portal. Notice that some of the techniques used on-prem won't work for Azure SQL Server Database. Biggest table is [CODE] . [CODE] returns [CODE] Table definition: [CODE] Clust... | Please defrag all indexes. As mentioned on this article, fragmentation can claim a lot space. Run sp_helpfile to verify the log is not consuming space also. If the log is big run the following statement to recover space. [CODE] On this thread I provided some queries that may be useful about database size. Hope this hel... | 3 | 4 | 7,548 | 2017-09-20T16:54:41.500 | pipeline_ops | dba.stackexchange.com | |
1,037,338 | New iptables NAT produces Error 400 Bad Request for Other HTTP Requests | All: Recently, I added several new iptables (RE: code snippet below) rules to route traffic through my VPN (0x1000/0x1000) for a specific destination (172.67.168.48) over port 443. The new rules NAT over the VPN as desired, but they've created an undesired effect causing other HTTP requests, unrelated to the aforementi... | All: It turns out my original iptables -t nat rule was missing the --dport 443 definition and the reason why it was interacting with Other HTTP requests. [CODE] Once the --dport 443 definition was added to the iptables -t nat rule the issue was resolved. Hope this helps someone else in the future. Respectfully, Gary | 0 | 0 | 1,119 | 2020-10-12T09:19:58.380 | infrastructure | serverfault.com | |
726,889 | Unrecognized mount option "nobootwait" or missing value on ext4-fs for cloudstack | I am launching a VM on a cloudstack derivative. The [CODE] looks like this [CODE] What would be the correct [CODE] setting for that mount? | It looks like that option isn't supported. I would just remove it and see what happens, then look at the fstab(5) documentation for the cloudstack derivative. | 2 | 2 | 3,929 | 2015-10-05T20:03:56.280 | infrastructure | serverfault.com | |
342,652 | How to avoid IE8 trying to create a WebDAV connection for office documents in subversion? | We have currently a weird problem when navigating a subversion repository on Windows 7 with Internet Explorer 8. It works like that: A user opens the internet explorer 8 and enters a Subversion URL to his repository (if that is relevant, it works only with [CODE] ). He has to enter initially his credentials. He navigat... | Sorry this is just a guess but is that what: [CODE] is for? | 1 | 0 | 259 | 2011-12-20T09:15:42.353 | api_errors | serverfault.com | |
172,294 | Frequent Corrupt Indexes in MySQL 5.6. Is this a MySQL bug? | I´m having problems with mysql indexes with INNODB getting corrupted. Initially I solved it by rebuilding the tables but now the tables are to large to rebuild, and i´m tired of mysql not showing consistent results. I´m inserting close to 10000 records daily among 4 or 5 tables, and I have some jobs continuously updati... | The Rick James's answer is right, I just could not add a comment. We got a very similar problem, the query with special conditions can not find the record, but that record is here by other where conditions. The problem is the "index_merge", it solved by avoiding the "index_merge_intersection": [CODE] or [CODE] It also ... | 1 | 2 | 1,312 | 2017-04-24T21:08:16.497 | data_quality | dba.stackexchange.com | |
7,504 | To maximize DB performance, which commands should be run after loading large amounts of data into SQL Server 2008 via SSIS | I have written an SSIS package to load test data into an empty database. Some of the tables are very large (~700 million rows). Once the SSIS package has completed are there any commands I should run (as an apprentice DBA!) to maximize the performance of the database? For instance, I executed [CODE] but it reported tha... | If you're loading to an empty database, you could/should take steps to avoid requiring any additional maintenance steps post load. Fragmentation is the enemy, that's what you're trying to avoid. Drop all NC indexes before loading. Post load, add the NC indexes for each table in sequence i.e. don't add an index to Table... | 11 | 8 | 526 | 2011-11-02T12:16:16.247 | database_errors | dba.stackexchange.com | |
301,835 | How to associate images in SQLite | I'm a newbie and couldn't find anywhere, concise information regarding which approach I should be taking when working with images. The thing is I'm developing an app whose main purpose is to keep track of things, for each of whose entry you can have an associated image. This image is to be selected via gallery through ... | URI is a universal means to identify resources. It's not just meant for files. So, naturally the URI string doesn't look like a path. You can save that path into SQL DB. You just can't create a File instance using that String. From what I understand, you need the images to be displayed as part of entries in some list. ... | 0 | 1 | 135 | 2015-11-05T15:30:16.967 | data_quality | softwareengineering.stackexchange.com | |
129,106 | Grub2 menu after VMware guest customization | I have ubuntu 9.10 desktop VMware VM with the default grub2 installed. There is some weird problem with this VM. When you clone this vm and have a customization script run, the cloned machine crashes at first boot (VMware does not officially suport customizaing Ubuntu newer than 8.04). After the creash the Grub boot me... | ok, found a workaround that works: http://ubuntuforums.org/showthread.php?t=1364220&page=2 | 0 | 1 | 1,097 | 2010-04-03T20:27:03.597 | infrastructure | serverfault.com | |
310,120 | what is wrong with my query? | [CODE] | You forgot the "foreign key", and you can only reference primary or unique keys. eg. oracle tutorial BTW, I've never seen a column reference itself. | -4 | 2 | 56 | 2022-03-24T11:42:43.580 | warehouse_errors | dba.stackexchange.com | |
1,120,363 | HP DL360e Gen 8 b320i raid controller with any linux distro not detecting RAID with SSD | I would need some help with an HP DL360e to install ssd's using the b320i raid controller. I prefer using the controller over software raid, unless I really have to. I tried the latest Debian and openSUSE leap. I want to try SUSE leap, as it would be new to me. Anyways, I've learned that you need to pre-install the HP ... | It sounds like you're running into an issue with the HP Smart Array B320i RAID controller not being recognized by the Linux distribution you're trying to install (openSUSE Leap). Based on the troubleshooting steps you've described, it seems you've correctly downloaded and extracted the appropriate HP proprietary driver... | 0 | 1 | 607 | 2023-01-16T15:48:37.010 | infrastructure | serverfault.com | |
214,779 | How to delete previous incarnation in MySQL (/w Group Replication) | There exist almost no mentions whatsoever of MySQL "incarnations", so I'm opening this topic to make a precedent, even if I solve it myself. Feel free to help of course :) [CODE] The Group Replication member node fails to join the GR cluster with the above error, after I have rebuilt the same server. I've checked the i... | Solved by bringing down the entire cluster, as mentioned in a similar issue here . After the restart, bringing the GR cluster back up from scratch had no mentions of incarnations. | 0 | 1 | 1,292 | 2018-08-13T12:35:39.167 | database_errors | dba.stackexchange.com | |
1,142,449 | what is the proposal string for aes-gem256 deffie helman group 20, esp | As a developer tasked with connecting to a vpn without preconfigured profile scripts, i'm fumbling through setting up a strongswan ipsec.conf file. My current hurdle is an "invalid proposal string" message in my syslog after I launch the strongswan-starter service. The administrator hosting the VPN has only provided a ... | A short stab at it; maybe this: [CODE] The exclamation mark at the end forces this proposal string. | 2 | 0 | 113 | 2023-08-26T15:42:34.317 | pipeline_ops | serverfault.com | |
14,290 | Get failed SQL Server agent job? | How to get a list of failed job run last night? I only find the following powershell script. What's the SQL equivalence? [CODE] | Here is a proc that will do the trick: [CODE] | 4 | 2 | 4,391 | 2012-03-02T17:15:48.333 | database_errors | dba.stackexchange.com | |
81,270 | What is the main difference between Hadoop and Spark? | I recently read the following about Hadoop vs. Spark: Insist upon in-memory columnar data querying. This was the killer-feature that let Apache Spark run in seconds the queries that would take Hadoop hours or days. Memory is much faster than disk access, and any modern data platform should be optimized to take advantag... | Hadoop is a framework for the distributed storage and processing of big data on the Hadoop File System (HDFS) where data is stored in a cluster of "nodes" and can be set up to be fault tolerant. Since data is stored accross multiple nodes it can be processed in parallel, and Hadoop uses the MapReduce algorithm for doin... | 4 | 3 | 807 | 2020-09-05T11:28:44.113 | warehouse_errors | datascience.stackexchange.com | |
448,263 | LTO 2 tape performance in LTO 3 drive | I have a pile of LTO 2 tapes, and both an LTO 2 drive (HP Ultrium 460e), and an autoloader with an LTO 3 drive in (Tandberg T24 autoloader, with a HP drive). Performance of the LTO 2 tapes in the LTO 2 drive is adequate and consistent. HP L&TT tells me that the tapes can be read and written at 64 MB/s, which seems in l... | Yes. LTO drives can Write to 1 Generation earlier, and Read 2 Generations earlier. So your LTO3 drive should write 3 and 2 media, and read 1-3 media. But there are speed differences because of the different technology in the drive. In an LTO-3 the drive's head is "smaller". It's not quite as simple as this, but the ana... | 3 | 3 | 1,113 | 2012-11-13T16:18:57.367 | database_errors | serverfault.com | |
229,124 | Changes made to cli's php.ini not taking effect | I have two [CODE] files - [CODE] which loads in case of cli [CODE] which loads in case of browser. I am able to use PHP's Mailparse extension after adding the line [CODE] in the [CODE] and restarting lampp. But I am not able to load the same in case of command line - getting [CODE] mailparse_msg_create() is a part of t... | Have you installed the extension to where your command line version of PHP expects it to be? Check [CODE] in your /etc/php.ini to see where it expects to find extensions and install the extension there or point it at your lampp PHP extensions directory (assuming it is a compatible version of PHP). | 2 | 1 | 4,510 | 2011-01-31T12:49:58.570 | infrastructure | serverfault.com | |
661,885 | What problems arise if user-space drbd is older than the kernel module? | Since more than five years I am using XEN in a productive environment. My constellation: SLES11 (included: OpenSource XEN 4.x), DRBD 8.3 in primary/secondary mode. Now I would have loved to go away from SLES to RedHat or CentOS, but sadly there was no xen-Dom0-support in the major-release 6 any more. This has changed w... | It will not work. Apart from some warnings there are stuck low-level commands as well. | 0 | 0 | 103 | 2015-01-23T14:57:28.787 | infrastructure | serverfault.com | |
88,357 | How to improve performance of Tensorflow's CNN example? | In the example in this link: https://www.tensorflow.org/tutorials/images/cnn , the performance is over 70%, how can I improve it? What parameters do I need to tweak? Thanks. | Coming to Neural Networks We can tweak a lot of parameters that can improve performance of the network. Sometimes changing a small parameter value can result in a big performance increase and sometimes we have to tweak a lot to get good performance. This depends on the problem. In general the following parameters are o... | 1 | 0 | 37 | 2021-01-23T01:56:00.350 | data_quality | datascience.stackexchange.com | |
451,973 | How do I skip the installation of grub in my VPS? | I am upgrading Ubuntu 11.04 to Ubuntu 11.10 and it asks me to install grub, I do not want to do so as I am in a VPS, how can I skip installation of grub ? If I close the session, then it shows this when I run update again [CODE] | You want to install grub. Without it, how are you going to boot Ubuntu after the upgrade? You shouldn't treat a virtual server any differently than a physical one, both need a bootloader to bootstrap the OS at boot. | 0 | 7 | 260 | 2012-11-25T16:48:07.623 | infrastructure | serverfault.com | |
558,480 | Init script is not printing any output | I am trying to run Supervisor init script downloaded from here: https://raw.github.com/Supervisor/initscripts/master/debian-norrgard Reading the source, it should print out some output into stdout, but when I run it, it does not print anything and does not start [CODE] either. I noticed the same behaviour with [CODE] .... | Try to run the script with [CODE] or [CODE] to see what's happening. | 1 | 2 | 827 | 2013-12-01T11:59:41.967 | infrastructure | serverfault.com | |
106,095 | Being stupid to get better productivity? | I've spent a lot of time reading different books about "good design", "design patterns", etc. I'm a big fan of the SOLID approach and every time I need to write a simple piece of code, I think about the future. So, if implementing a new feature or a bug fix requires just adding three lines of code like this: [CODE] It ... | good code that only can do A is worse than bad code that can do A, B, C, D. This smells to me like speculative generality . Without knowing (or at least being reasonably sure) that your clients are gonna need features B, C and D, you are just unnecessarily overcomplicating your design. More complex code is harder to un... | 112 | 153 | 8,308 | 2011-09-06T10:09:32.630 | api_errors | softwareengineering.stackexchange.com | |
56,121 | An I/O operation initiated by the Registry failed unrecoverably | Every 10 seconds or so, both our web servers (windows server 2003, running iis6), report the same errors in the event log. [CODE] I can't find any information as to what could cause these kinds of errors. The CPU is quite busy at 90-100% but there is almost 1 GB of unused RAM. | Disk/controller/RAID hardware? Take the machine down and run chkdsk c: /v /f (and also on any other partitions you have.). I know you said the problem happened on two machines, but perhaps they both have disks from a bad batch. Or your disk is fine but there's a one-time glitch that caused a registry corruption. The 10... | 2 | 1 | 69,308 | 2009-08-19T14:55:29.067 | infrastructure | serverfault.com | |
672,513 | Why are eno1 and eno2 in this order? | I've just installed a Fedora 21 Workstation system, and it's reversed the order of [CODE] and [CODE] from the CentOS 6 system that was on here before. [CODE] [CODE] has a MAC address ending in [CODE] , while [CODE] ends in [CODE] . My understanding was that with a lower PCI address, [CODE] would become [CODE] , but act... | For NICs embedded on the motherboard, rather than in PCI/PCI-x/PCIe slots, the "consistent" network device names are actually obtained from information provided by the system BIOS. To quote Dell , who helped develop this feature: The system BIOS indicates the order of Onboard Network Devices to the OS via SMBIOS type 4... | 1 | 3 | 5,810 | 2015-03-02T16:49:57.007 | infrastructure | serverfault.com | |
403,466 | Should I skip some migrations on production in case of migrating a legacy database that has not been generated via migration script? | I have a complex PostgreSQL database structure that is consisted with views, materialized views and foreign wrappers. The database schema is manually updated without any sort of migration script, hence I want to introduce a database migration schemes. One approach is to generate an initial SINGLE migration that will ru... | You are looking at a schema compare tool. If you do a schema compare into an empty database, the diff should contain your database structure. Then, quickly commit the source files needed to create a new empty database to source control before any more partying happens directly on the live database without an option to ... | 0 | 1 | 197 | 2020-01-07T16:02:34.457 | database_errors | softwareengineering.stackexchange.com | |
373,973 | iptables syn flood countermeasure | I'm trying to adjust my iptables firewall to increase the security of my server, and I found something a bit problematic here : I have to set INPUT policy to [CODE] and, in addition, to have a rule saying [CODE] . Here comes my script (launched manually for tests) : [CODE] When I launch this script (I only have a SSH a... | Found it! The problem came from both the SYN flood countermeasure, which dropped the authorized streams instead of accepting them, and from the SSH bruteforce countermeasure, which was after the SYN flood countermeasure, so it did not drop any supernumerary incoming connexion as these connections were already accepted ... | 1 | 2 | 5,686 | 2012-03-27T14:59:12.193 | infrastructure | serverfault.com | |
204,368 | How do I truncate performance_schema tables on a read replica? | On occasion, you have to truncate events_statements_summary_by_digest, when it's hit the row limit. On a write master, this is easy, but on a read replica, there doesn't seem to be a way to do it. The read-only enforcement extends to the performance_schema tables. Since the data are created locally, it seems to me that... | Connecting to the Slave as [CODE] (or other [CODE] user) bypasses [CODE] , thereby allowing you to do that 'truncate'. (Caveat: this Answer is theoretical; I have not tested it.) | 0 | 0 | 739 | 2018-04-18T20:47:44.267 | warehouse_errors | dba.stackexchange.com | |
270,797 | .it domain, Dreamhost Hosting | I registered a .it domain name from GoDaddy, but I would like to host it with DreamHost. I'm having problems. I can't change the nameservers to ns1.dreamhost.com (ns2, etc) I get this error message: Your changes could not be submitted. 1 change could not be submitted. The nameservers entered encountered errors. Other p... | Going by what "davethewave" said The restriction is only on the Authoritative Nameserver being in Italy and not where the webserver (non-authoritative DNS) servers are located Find a Company which provides DNS services, specially supporting .it domains and use their DNS services.Once you/they configure your domain then... | 2 | 0 | 278 | 2011-05-18T02:22:07.847 | infrastructure | serverfault.com | |
63,674 | How to Identify the user who issued MySQL Shutdown command | We have had several situations when our production MySQL server suddenly became unavailable. The error log just shows "Normal shutdown" followed by the typical shutdown messages. How can I determine the Linux or MySQL user account and host name of the connection issuing the shutdown command? | Check the secure log in the event it was run via a sudo service call [CODE] Check to see if there's any mysql related stuff going on in cronjobs [CODE] Check shell histories for mysqladmin calls cd /home; for u in *: do; sudo grep mysql /home/$u/.bash_history; done Check with people you know that either have sudo or my... | 1 | 1 | 7,541 | 2014-04-22T19:08:09.653 | database_errors | dba.stackexchange.com | |
104,737 | Web based console connections not working in Windows 7 posted: Jan 20, 2010 8:55 AM | For slightly complicated reasons we tend to give people console access to VMs via the webui. This has worked fine in the past, however when the users update their client machines to Windows 7 (or Vista, I am told, although I have not tested that), then the console fails to work. On IE8, having allowed the ActiveX contr... | Get the VSClient 4.0U1 - it supports Windows 7 and talks just fine to 2.5/3.5 environments ( Clicky for download link ) | 1 | 0 | 276 | 2010-01-20T19:17:07.603 | infrastructure | serverfault.com | |
283,479 | How can I monitor the network on ESXi node for connections and find the source of a ddos attack | I'm looking for something fairly simple to install, that will monitor network traffic on the vswitch for my esxi node as we're getting ddosed and I need to be able to easily see where the traffic is coming from. | On the actual vSwitch? Well you can't as far as I know that's a limitation of the in-built vSwitch, you can with Cisco's Nexus V1000 alternative virtual switch replacement but not with the regular one. To be honest you should really be dealing with things like DOS issues before it hits your ESX boxes, via a router/fire... | 0 | 2 | 516 | 2011-06-23T16:22:57.767 | infrastructure | serverfault.com | |
868,625 | HTTP to HTTPS redirect not working on Apache 2.4 | I have this apache config: [CODE] The redirect never seems to fire and just serves files from http. I've tried all sorts of combinations, but nothing seems to work. mod_rewrite is enabled (using LoadModule rewrite_module modules/mod_rewrite.so) Can anyone help? | This is way overcomplicated. You only need two (or three) directives to redirect everything to HTTPS, e.g. [CODE] This will redirect both with and without [CODE] to the canonical HTTPS site. | 0 | 6 | 13,208 | 2017-08-14T21:57:54.460 | infrastructure | serverfault.com | |
27,440 | Various Email addresses we use to validate Email address | I need to validate an Email address field comprehensively. From Wikipedia, I pulled the following valid/invalid email addresses, is there anything I am missing here? Thanks Valid email addresses prettyandsimple@example.com very.common@example.com disposable.style.email.with+symbol@example.com other.email-with-dash@exam... | Yes, for the negative cases like this one: a"b(c)d,e:f;gi[j\k]l@example.com (none of the special characters in this local-part are allowed outside quotation marks) You will need to split these up into one test per special character. Otherwise your test may pass because it finds a [CODE] but could fail if only a [CODE] ... | 3 | 6 | 13,451 | 2017-05-25T00:51:57.557 | data_quality | sqa.stackexchange.com | |
251,548 | I cannot connect from .net 4.0 to sql server 2000 | I'm running a winform application from visual studio 2010 .net 4.0 that needs to connect to sql server 2000. The problem is I constantly get: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name... | Strangely, I installed the sql server 2008 management studio and it started working. Maybe it installs some sql server client? | 0 | 0 | 944 | 2011-03-24T17:53:31.320 | database_errors | serverfault.com | |
266,074 | Can't install SQL Express 2008R2- caspol.exe application error - the application failed to initialize | I'm trying to install SQL Server Express 2008 R2 on Windows 2003 Server (enterprise edition). I get the following error message: [CODE] I get the same error message both when downloading the installer and running it and when using the web platform installer. All the pages on the internet I've found about similar proble... | Do you have any anti-virus running on the server? Is this 32 bit or 64 bit? As you say you get same error when downloading the installer and running, do you get when performing on that same server. I believe the local security policy is affective and not allowing to do so. However you can download the .NET 3.5 SP1 from... | 1 | 0 | 5,237 | 2011-05-04T07:16:29.117 | database_errors | serverfault.com | |
874,582 | Dell iDrac with SSH Tunneling : administratively prohibited open failed | I've a problem to access to my iDrac interface over SSH. I want access to my iDrac WebUI by SSH Tunneling but I've this error : channel 6: open failed: administratively prohibited: open failed My command is : ssh -L 443:REMOTE_IP:443 -L 5900:REMOTE_IP:5900 -L 5901:REMOTE_IP:5901 -l root -N REMOTE_IP password: iDrac pas... | iDRAC's embedded SSH server may not have the capability to forward arbitrary ports, even just to itself. You may have seen an example using a command like this: [CODE] Note: this is using a separate "ssh_host" with a full-featured SSH implementation as an intermediary between the client workstation and the DRAC. The id... | 0 | 0 | 1,953 | 2017-09-20T08:17:41.693 | infrastructure | serverfault.com | |
150,570 | Retrieving data of vehicle drivers that have not been assigned to a job | Struggling with something for the past 24 hours. Needed some genius to shine some light please. I am trying to display a weekly job rota/log for drivers, which will display: Jobs that have not been assigned to drivers Jobs that have been assigned to drivers If a job has been assigned to a driver then display drivers th... | I would start with the list of available drivers. As you appear to want them as a CSV string, it makes sense to use grouping and concatenate the names with GROUP_CONCAT(). Use an outer join of jobs to the cross-product of dates and drivers, then, to get the available drivers for each day, group-concatenate the driver n... | 6 | 3 | 122 | 2016-09-24T14:44:24.063 | warehouse_errors | dba.stackexchange.com | |
336,867 | Should I ignore features of one language when I plan to port my code to another which doesn't have such features? | I'm currently toying around with a very large project. A interpreter for a simple scripting language. After weeks of planning, I decided that the best course of action would be to prototype part of the interpreter in Python, and then port that code into C. I started off by writing a simple lexer based upon some EBNF I ... | Based on my experience writing compilers and related tools in C and similar languages, I would NOT choose to write a compiler in C if I had any other, better choices. And in 2016, there are plenty of better choices. But, it's your compiler, and YMMV. The TL;DR backstory: "We should forget about small efficiencies, say ... | 5 | 9 | 549 | 2016-11-25T21:15:37.383 | api_errors | softwareengineering.stackexchange.com | |
240,135 | TCP hang up in interactive sessions | I am experiencing a problem on the intranet of my institution. I am sitting in front of A and trying to connect to server B in another city. My ssh sessions hang up quite often, especially when I have a lot of screen output or page up/down in $PAGER or change window in GNU screen. In ssh session, X11 forwarding is too ... | Could be an mtu (Maximum transfer unit) problem. If a lot of traffic is happening all of a sudden the connection hangs because one packet was to large. If path mtu discovery doesn't work, this can happen. Especially with DSL connections since the overhead of pppoe reduces the mtu. Usually one uses MSS Clamping on DSL l... | 1 | 0 | 832 | 2011-02-25T08:47:42.453 | infrastructure | serverfault.com | |
398,147 | Opportunistic TLS for incoming mail with masked SMTP banner | I have a mailserver with opportunistic TLS enabled (Postfix smtpd_tls_security_level = may), however the SMTP banner is being masked by SMTP fixup on our FWSM. Before I disable this masking, is the SMTP banner required for other mailservers configured for opportunistic TLS to negotiate a TLS session for incoming mail? ... | I think there are two different questions being asked here so I'll address them separately. Question 1 : Is the SMTP Banner required to display unmasked for other mail servers to use TLS? Answer: No, the SMTP greeting banner itself does not determine eligibility for TLS. So if that's the ONLY thing that is masked, it s... | 2 | 4 | 1,165 | 2012-06-13T05:06:38.630 | infrastructure | serverfault.com | |
292,970 | Permissions for Start/Stop Services on Windows (2008R2) | On a Windows Server (2008R2 or before), where can I find the permissions (allow/deny) who can actually start/stop services? Not to change the credentials which should be used by the service - just start/stop. | I don't believe there is any good GUI to do this on the local system, but maybe something has been added since I last looked. I know SetACL can be used to modify the access control list of a service. Here is an example from the documentation about how to grant the ability to start/stop the Windows Time service [CODE] .... | 3 | 3 | 8,539 | 2011-07-22T08:01:04.157 | infrastructure | serverfault.com | |
450,991 | How to prevent nginx from locking files on mounted samba partition in Centos 6 | I'm using nginx 1.3.8 inside a centos 6.3 virtualbox 4.2.4 virtual machine. The system is running the latest software available via yum update. The host OS is windows 7. The site files nginx is serving are on mounted samba partition, which is a folder on the host Windows system. I.e., inside linux, nginx paths are refe... | SOLVED: I just reviewed my nginx.conf file. It appears the "open_file_cache" feature is what is causing the lock and deleted files. When I set this option to open_file_cache off;, My problem is resolved. The developers of nginx also closed my bug report saying that I shouldn't use open_file_cache if I want to edit the ... | 2 | 4 | 2,879 | 2012-11-21T19:26:41.913 | infrastructure | serverfault.com | |
48,078 | How do I avoid duplicate rows using FREETEXT? | I have the following query: [CODE] How do I avoid duplicate rows in these results? | The fulltext query will only return a row 1 time. However, it looks like you are doing a Cartesian join between Category and App. You need some type of join to be defined. For example: [CODE] (Obviously I do not know the actual join criteria.) | -1 | 2 | 154 | 2013-08-13T19:03:41.483 | data_quality | dba.stackexchange.com | |
1,148,523 | Nginx auth for all but one subroute in a location | Disclaimer: Im not close with nginx I had this location block inside my server: [CODE] I want to set basic auth on every page except for [CODE] . So if path is [CODE] then just pass this to the docker container on 11399 port. But if path is anything else ( [CODE] ) then ask to auth before. Important! I can not edit out... | You can take a look at the nginx auth basic docs ! Try to use "auth_basic off;" and "allow all". I have a suspicion that there may be an additional issue at play. try this: [CODE] | 1 | 0 | 73 | 2023-11-24T17:24:37.263 | data_quality | serverfault.com | |
52,580 | Setting Audit Events in SQL Server 2012 | We have to do information assurance remediation on our SQL Server 2012 and came across the following finding: [CODE] So I ran these queries: [CODE] This returned about 34 different [CODE] that I assume are being used for audit purposes. Most of the items returned are NOT to be audited and should be replaced with others... | This sample might help in order to script events. To capture the specific events, you need to create a Server audit specification first - The SQL Server Audit object collects a single instance of server or database-level actions and groups of actions to monitor: [CODE] The next step is to create a Database audit specif... | 0 | 2 | 911 | 2013-10-31T12:28:12.987 | database_errors | dba.stackexchange.com | |
1,022,765 | Docker, System has not been booted with systemd as init system (PID 1). Can't operate | I am trying to create docker container for one of the centos service created by us. We have 2 rpm files. After installing on base image of centos 8. I installed those 2 rpm files in it. But, when I try to start the service, I am getting this error. when I ran systemctl start System has not been booted with systemd as i... | Docker is designed around the idea of a single service per container. While there are workarounds to get systemd running in a container those are AFAIK only useful in the context of ci test jobs. Instead of starting the process with [CODE] find the actual command executed by [CODE] when running [CODE] by looking for th... | 2 | 7 | 25,302 | 2020-06-24T15:34:54.033 | pipeline_ops | serverfault.com | |
80,529 | What's your suggestion if the company didn't recognize my contribution towards a big project? | I am an entry level developer with 1 year of experience. I have worked on a large scale project which I have played around 80% of the project work, those 5 months were terrible to me - late nights spent working, even Sundays. i have worked on whole Process Model , doing some of my colleagues work ,DB Design ,client fee... | Taking what you said at face value, and assuming that the seniors didn't spend their nights and weekends fixing or rewriting the code that you wrote ;-) ... ...there is no reason to stay where your work goes unrecognized and unrewarded. Caveat: do not take career advice from strangers on the Internet. | 39 | 79 | 7,488 | 2011-05-31T14:49:38.837 | api_errors | softwareengineering.stackexchange.com | |
705,444 | HP ML310 G8v2 server hangs after memory upgrade | I bought the HP Proliant ML310 G8v2 server with 4GB of RAM. I also bought the memory module HP 8GB (1x8GB) Dual Rank x4 PC3L-10600R-9-10.E1 1333 ECC. When I plugged this memory into the server. the server stops with initializing at 20%. I take a look at www8.hp.com/h20195/v2/GetHTML.aspx?docname=c04111535 and I think ... | With the upgraded memory you may need to check that the memory speed settings are correct in BIOS. I would imagine that it is set to auto-detect the appropriate speed, but you may try setting it to the appropriate speed there. You could also try running memtest , which is included with most OS distributions and/or resc... | 1 | 0 | 660 | 2015-07-13T20:12:10.117 | infrastructure | serverfault.com | |
1,107,995 | Can't connect Namecheap domain to VPS server | I recently bought a domain name from Namecheap ( [CODE] ) and I set up a web app on a VPS hosted at servercheap.net (a Ghost blog which is basically a Node app), the VPS public IP address is [CODE] and the app is served through nginx. I kept the default Namecheap DNS nameservers and added an A record from Namecheap das... | I See there's no problem with DNS Configuration, and the root domain A record already resolv in my side: [CODE] It seems your problem related to webserver configuration, because it show 50x error code: [CODE] I suggest you to check error_log on the server side, for further information related the error. | 0 | 0 | 324 | 2022-08-11T23:24:38.597 | bi_errors | serverfault.com | |
604,056 | Unable to convert HDFS from non-HA to HA | Introduction Aim: Convert HDFS from non-HA to HA. Method: According to this documentation it should be possible to convert HFDS from non- to HA by implementing following configuration: /etc/hadoop/conf/hdfs-site.xml [CODE] /etc/hadoop/conf/core-site.xml [CODE] and executing following commands: [CODE] [CODE] [CODE] [COD... | After applying the configuration (see Configuration details paragraph) defined in this documentation the issue [CODE] was solved. [CODE] Applying the other configuration settings on respectively the ActiveNN and StandyNN converted HDFS from non-HA to HA. | 2 | 0 | 5,087 | 2014-06-10T12:02:54.983 | hadoop_errors | serverfault.com | |
223,085 | Should I Aggregate Web API Errors? | The Situation We are writing a REST API that performs validation up-front. The code is written such that it tries to find as many errors as possible. However, each error might correspond to a different HTTP status code. Additionally, the client (the HTML) doesn't have a convenient way to parse/display the errors. The Q... | I think your question is a bit opaque because there are different kinds of errors. Connection/authentication/location errors One part (which you handle most of the time upfront) if errors like: 404 not found, 401 unauthorised etc. Those are most of the time breaking and returned directly. Redirects and other locations ... | 1 | 3 | 565 | 2014-01-04T01:01:09.977 | data_quality | softwareengineering.stackexchange.com | |
534,992 | DNS advice / failover | We're registered our domain at Network Solutions. They went down a month ago and our DNS was down. We're trying to find a way to mitigate this issue. Our domain stops resolving and we have to send our customers to our our IP address and then the SSL cert gives them a warning. In short, it's annoying. Of course, we can ... | You don't have to host your DNS with the registrar you use. Registering the zone, and acting as the host for the zone are two separate services. There are many services in the world you can pay for to host your zone, or act as secondaries for your zone. For example one organization I know has their domain registered th... | 2 | 2 | 112 | 2013-08-30T00:03:09.877 | api_errors | serverfault.com | |
526,538 | Outlook 2013: how to reset to "first run" status? | TL;DR Is there a way via script, powershell, reg delete, via telekinesis, whatever to reset Outlook 2013 as if no profiles ever existed and it was running for the first time ever? Still working through this one but hoping others have insight. SCENARIO Lots of users here have existing Outlook profiles connecting to an o... | [CODE] This will delete the default profile called Outlook, and then recreate it with no settings. Then when you re-run Outlook, it will launch the wizard. | 27 | 41 | 221,137 | 2013-07-26T13:32:42.603 | infrastructure | serverfault.com | |
462,797 | Apple XServe, Installing Linux on it? | Basically, I will be running multiple VM's on my XServe. I wanted the Main OS to be very lightweight and not a memory hog. I am not sure but I feel like OS X Server is not very lightweight, also because I wont be needing any features OS X if offering except VMware/VirtualBox. So I thought, why not install something muc... | Is that a good approach? Honestly, it seems like a waste. An Xserve is pretty sweet piece of kit. To me it would be shame to run Linux on it. If that's all you have available to you, though... But, then, this is subjective. (See below.) Is Mac OS X lightweight? Not constructive / no we won't help you with capacity plan... | 0 | 2 | 2,658 | 2013-01-03T23:20:51.233 | infrastructure | serverfault.com | |
538,070 | ssh config - do not execute remote command | I would like to setup one of the SSH connections in my [CODE] file to use the [CODE] ssh flag. I can't find any matching config keyword for this parameter. I'm using the connection for port forwarding only and I would like it to use [CODE] every time I execute [CODE] . I'm using mosh for the interactive shell. [CODE] | Being a fairly prominent result in Google, this is still worth answering 11 years later: [CODE] [CODE] was introduced in OpenSSH 8.7 , released in 2021-08-20 , in this commit : add a [CODE] directive to [CODE] , allowing the configuration file to offer equivalent control to the [CODE] (no session) and [CODE] (subsystem... | 16 | 5 | 8,619 | 2013-09-11T12:57:09.370 | infrastructure | serverfault.com | |
135,508 | Performance schema: 'stage/sql/Sending data' | Background I am using MariaDB 10.0 but MySQL 5.6 answers are also of interest. Two machines cloned from the same image, same MariaDB configuration as far as I could tell, same dataset. One machine is way slower than the other (the production machine, of course). I have enabled performance profiling to investigate ( [CO... | Sadly, [CODE] (something that you will see on [CODE] as [CODE] ) does not tell us much about the query internals. The thread is reading and processing rows for a SELECT statement... Is like saying nothing, why is it different in both cases? Your effort is not in vain, you have proved what is NOT affecting the query- pe... | 2 | 0 | 509 | 2016-04-16T16:57:44.417 | database_errors | dba.stackexchange.com | |
265,024 | Easy way to make old javascript files conform to new quoting standard? | We've just started putting linting in place at my workplace, and a lot of the devs didn't realize our standards called for double-quotes everywhere. About 50% of the codebase uses single-quotes, so it's no easier to change the rule than to make the older code conform. Is there a tool or utility we could use to automati... | As @MainMa has well pointed out, the technical problem might can be solved with a certain effort, but not easily without the risk of introducing some hidden bugs into your codebase (and the risk is high if the codebase is large, and you would probably not have asked such a question for a small codebase). See this in co... | 3 | 10 | 296 | 2014-12-10T01:42:16.227 | api_errors | softwareengineering.stackexchange.com | |
589,659 | changed public ip address of domain controller now other servers cannot find dc | I have 3 virtual machines. I had to move them to another dedicated server since the company I was using is having so many issue. The new dedicated server, of course, has new ip addresses. They are consecutive ip addresses, for example: [CODE] Not the ip address but just an example. All three computers are online with p... | Check DNS records. Point main DNS server on server1 and server2 to your DC. Show us output of: dcdiag /v /c /d /e | -1 | 1 | 687 | 2014-04-17T08:28:01.237 | infrastructure | serverfault.com | |
298,430 | DNS Zone setting in BIND and Cpanel | I'm using my DNS server to block certain sites. However, I ran into a problem. Let's say there are the following domains: www.example.com example.com john.example.com bob.example.com mary.example.com katie.example.com ... However, I only want to block www.example.com and example.com by pointing their DNS entries to an ... | Create a zone for [CODE] . In that zone, create appropriate records for [CODE] and [CODE] . Then create [CODE] records for [CODE] pointing to the real nameservers. That should do what you want. | 0 | 1 | 741 | 2011-08-06T15:58:50.597 | infrastructure | serverfault.com | |
745,234 | NginX->Varnish->PHP-FPM Blank pages | I want to put nginx in front of Varnish, which at the same time will go back to nginx to serve some PHP (Drupal). But I am only getting blank pages (from Varnish) with 200 response, but length 0. Only the first access after restarting varnish works, but then blank pages all the time. This is the configuration for Nginx... | So I hope somebody gives an answer, but in the meantime I made it work so I'll explain how: nginx config in the server part port 80. The one that the user will access first, add this: [CODE] Taking a look at the varnish logs, one of the little differences between a request coming from nginx -blank page-: [CODE] and one... | 4 | 3 | 2,164 | 2015-12-25T09:05:23.137 | infrastructure | serverfault.com | |
209,000 | How to improve query performance? | I have a query that executes very often on our system and there is no option to change the query text. Are there any suggestions on what could be done? Any help would be appreciated. The query: [CODE] The actual query plan is here . Tables are: [CODE] IO and time execution characteristics: [CODE] | You can try to eliminate the Sort costing 21% by adding a Non Clustered index to [Документы_Позиции] that will extract all required data in the order that will match it appropriately against [Процесс] A144JTA127_1 [CODE] Look at this article by Erik Darling for an explanation of where the expensive sort is coming from. | 1 | 1 | 195 | 2018-06-07T12:26:58.290 | database_errors | dba.stackexchange.com | |
315,812 | VACUUM FULL using another disk | Current database takes almost all of SSD free space ~802GB. 800 GB of memory is taken by single table and it was never vacuumed since 2019. Recently i deleted old rows from the table and now i need to run VACUUM FULL to reclaim disk space back to OS. The problem is that there is no space left on SSD. I can connect exte... | You cannot do that with [CODE] , but you can use [CODE] to export the table to the second disk, drop the table and restore the dump. If that is not feasible, for example because of foreign key constraints, you could create a tablespace on the second disk use [CODE] to move the table to that tablespace run [CODE] on the... | 0 | 1 | 314 | 2022-08-19T05:47:40.627 | warehouse_errors | dba.stackexchange.com | |
39,306 | Jetty 7 gives HTTP ERROR: 503 - service unavailable | I am getting the error 503 when I try to start Jetty. Does anyone know what this might mean. I am running Jetty 7 and starting it with the start.jar file. If anyone knows how to configure Jetty to work on Windows, that would be helpful. Thanks. | Check the log files to see if there is more useful information there. If you are not already running it from the command line, try that ("java -jar start.jar" instead of double-clicking the start.jar file). Between those two there should be information pointing you in the right direction. Most likely what is happening ... | 3 | 1 | 30,388 | 2009-07-11T13:10:18.527 | api_errors | serverfault.com | |
601,395 | Create .gitconfig for chrooted users | I have several chrooted users on my server, and I want to install git for specific users. I block at the command : [CODE] I use this command connected as the user, and I got this error : [CODE] I tried to create the file from root, and then put chmod 755 and chown username .gitconfig, but I get the error. Is there a wa... | git runs as user "git", with group "git", try to put your user in the git group or git in your user group. | 0 | 0 | 493 | 2014-06-03T08:23:03.587 | infrastructure | serverfault.com | |
347,138 | error while loading shared libraries: libXau.so.6 | after restarting my machine, when I try connect with ssh I get this message : [CODE] any suggestion ? | is a problem with symbolics libs, I fixed as root with [CODE] | 0 | 0 | 1,974 | 2012-01-05T22:05:28.503 | infrastructure | serverfault.com | |
1,048,157 | How to check for the existence of deep subdomains even if the intermediate ones don't exist? | Suppose that [CODE] don't exists and gives [CODE] when runnning [CODE] on it , but i know that [CODE] exists and gives [CODE] when doing the same, is there a way to check that a deep subdomain exists even though the intermediate subdomain may not be there necessarily. Specifically, I'm looking for hints when probing or... | Suppose that test.example.com don't exists and gives NXDOMAIN when runnning dig on it , but i know that subdomain.test.example.com exists This is not possible, per DNS specifications. Or said differently: it means the authoritative nameserver for this zone is broken. See RFC 8020: NXDOMAIN: There Really Is Nothing Unde... | 4 | 4 | 1,487 | 2020-12-31T12:20:16.473 | infrastructure | serverfault.com | |
201,422 | How can I backup my Ubuntu Server? | I recently installed an Ubuntu Server for home use. As it was my first time doing so, it took a while (and a few reinstalls) to configure everything they way I wanted it. The server install itself is on a small partition on my harddrive. Is there an easy way to create an image of that partition so if it crashed I could... | You can use FSArchiver to back up an entire partition efficiently. The simplest way is to run it from a LiveCD like SystemRescueCD , but if you partitioned using LVM you can also back up from an LVM snapshot . I recommend against using partimage because partimage backups are not robust to data corruption. | 2 | 3 | 5,028 | 2010-11-13T08:01:04.057 | data_quality | serverfault.com | |
677,033 | Finding and patching OpenSSL Apache on Windows | I have seen that they have released updates for OpenSSL. I am running a Apache on Windows. If I run "OpenSSL version" it reports "OpenSSL 1.0.1i 6 Aug 2014". This was a complete solution install, so I'm not clear if OpenSSL is running or not. I cannot find it in processes. I do see httpd.exe running mod_ssl.so. I follo... | Go to the site you originally downloaded whatever it is you have. See if they have provided an update. If not, then bug them to provide an updated 'complete solution'. Since you referred to this as a 'complete solution', I am guessing you didn't compile this on your own, so there really isn't much you can do on your ow... | 2 | 0 | 2,238 | 2015-03-20T16:09:09.217 | infrastructure | serverfault.com | |
286,592 | Receiving email from alias - sendmail | I have setted up sendmail on my CentOS server with webmin installed. I've added a few important mail aliases such as this: [CODE] Now when I send an email to [CODE] , I get no email in my hotmail inbox, it's been a few hours with no email yet. How come this isn't working? I can send emails to my hotmail inbox via a PHP... | Sendmail cannot read directly the /etc/aliases file, so every time you make changes to it, you must run the newaliases command to update the database. Maybe you forgot to do that? | 0 | 1 | 210 | 2011-07-03T17:11:01.533 | infrastructure | serverfault.com | |
404,024 | Copy file permissions from one directory to another | Over the weekend I copied our company data from one hard drive to another larger one. I thought permission would have copied across but they haven't. What is the best (and quickest) way to copy the permission that were originally set onto my new data, without having to copy all the data again? My users are now accessin... | I think this will do the work: [CODE] " SOU " copies: S =Security info (NTFS ACLs), O =Ownership info, U =aUditing info If this does not work you can use this command to back up NTFS permissions: [CODE] The /T switch allows it to get subfolder permissions too. The /C switch allows it to continue even if errors are enco... | 19 | 20 | 53,306 | 2012-07-02T10:07:51.960 | infrastructure | serverfault.com | |
300,362 | SQL Server 2017 freezing during bulk insert of large file into in-memory staging table | Running SQL Server 2017 CU20 Standard on a dedicated Dell PowerEdge with 28 cores and 192GB of RAM. I have a stored procedure that processes large files (~7GB each) in a loop by bulk inserting them one by one into a memory-optimized staging table (durability = schema only). Normally, everything works great. I even have... | This link should answer your question: http://nedotter.com/archive/2018/01/in-memory-oltp-resources-part-4-oom-the-most-feared-acronym-in-all-of-in-memory-oltp/ There is no max memory size for memory-optimized tables, but that doesn't mean you can't "run out of memory", based on the Edition you're running. Bottom line ... | 0 | 1 | 444 | 2021-09-30T01:22:59.077 | database_errors | dba.stackexchange.com | |
1,080,139 | Create multiple directories with mode and loop via ansible | I'm trying to play with loop and ask in a playbook to ansible creating multiple directories on a server with specific attributes : mode owner group . I think i'm close but don't get it working. I get this error: Unsupported parameters for (file) module: recursive Supported parameters include: _diff_peek, _original_base... | You have a typo in the parameters. The parameter is called [CODE] , you've written [CODE] . | 2 | 3 | 4,895 | 2021-10-10T17:22:50.310 | database_errors | serverfault.com | |
214,654 | when delete data from big table led the db can't access | when use delete from statement to delete data month by month to clean old data,found it runs slower and slower,and couples of hours later,the DB can not access,and with such error msg as pic shows. the target_table has 60 million data(104 months) ,below will delete 28 million data (75 months). and below sql run about 7... | You can try deleting in batches. Pros: Will be able to commit after each 500/1000 row deletion , so less undo segment will be sufficient. Cons: The batching will increase the total time that this process is going to take. For batching you can develop pl/sql api . The input to that api can be your table_name and and cyc... | -1 | 0 | 107 | 2018-08-11T00:40:20.587 | database_errors | dba.stackexchange.com | |
1,005,438 | FreeIPA Installation Failing During CA Restart | I'm trying to set up a simple vagrant box for testing with FreeIPA. I'm using the CentOS 7 image, and installing minimal extra things to the box, and using a very simple FreeIPA definition to start with. I've tried doing it using simple shell commands, and I've also tried using ansible-freeipa . In both cases, I see th... | I ended up increasing my vagrant box size to 2 GB to fix another issue I was seeing, and after recreating the box 10 - 20 times since yesterday, I've not seen the issue since. Based on that, I believe that the issue was due to tomcat not having enough memory to start like it needed to, leading to the behavior we saw. | 1 | 0 | 1,526 | 2020-03-03T15:52:21.617 | hadoop_errors | serverfault.com | |
11,476 | Terraform fails to modify DNS settings a recently created VPC Peering connection because it is not yet active | I have the following configuration file: [CODE] : [CODE] The problem here is that last block in [CODE] : [CODE] This causes the following error: [CODE] If I give it a couple of minutes and run [CODE] again, it works as the VPC has been given time to become active. I originally had that DNS resolution bit within the [CO... | Figured it out! The problem is that those DNS settings set in [CODE] cannot be set until the peering connection is active (approved). It was only depending on [CODE] existing, therefore was running at the same time or before [CODE] . This was simply fixed in [CODE] by getting the [CODE] from [CODE] instead of [CODE] , ... | 3 | 4 | 432 | 2020-04-30T22:10:56.743 | pipeline_ops | devops.stackexchange.com | |
212,697 | Task Consumer/Processor architecture | PROBLEM We have various tasks in our system which can take up to 20 minutes. These tasks are generally started from the web interface and run on a new thread. This is obviously a terrible solution because the task could be recycled by IIS and it hogs up precious resources on the web server. POSSIBLE SOLUTION Hosting a ... | It is OK. You run into the problem that task consumers have to needlessly hammer the DB to look for tasks, task cancels, etc. I would have the task manager create an entry in the DB for the task so that the task consumer has a place to report results. Then use a Message queue like MSMQ or ActiveMQ to do the actual task... | 1 | 1 | 1,063 | 2013-09-27T09:44:02.417 | api_errors | softwareengineering.stackexchange.com | |
194,028 | Does increased Data Dictionary size affects performance | As I understand, Data Dictionary Is a collection of tables, part of SYS schema (if not the whole SYS schema) It is stored as 'regular' tables, so whatever is applied to database tables, also applies to data dictionary (e.g. indexes, statistics) Its statistics should be updated It is always cached Can the the size and t... | So a good starting point for this is Martin Widlake's post on the size of the 'data dictionary'. The term can be a bit woolly as there's a bunch of stuff that Oracle stores (such as executable code, job history etc) which may or may not be relevant. https://mwidlake.wordpress.com/2009/08/03/why-is-my-system-tablespace-... | 1 | 1 | 676 | 2017-12-27T11:27:30.790 | database_errors | dba.stackexchange.com | |
151,638 | Setup/Guidance/Troubleshooting DPM 2010 Bare Metal Backups | Having difficulties setting up Bare Metal recovery in DPM 2010. Does anyone know of a good guide/walkthrough to talk me through a basic setup? I have tried most of the DPM knowledge base without much luck. I can perform System State backups, but as soon as I enable bare metal the jobs start failing. Error codes are not... | Couple of things off the top of me head: BMR only works with 2008 and 2008 R2 servers. BMR requires the Windows Server Backup feature to be installed on the server you're trying to backup Keep an eye on the DPM 2010 team blog, it has some good info on there including a walkthrough of how to do a BMR in DPM 2010 . | 1 | 1 | 2,593 | 2010-06-16T10:55:04.087 | database_errors | serverfault.com | |
177,127 | Is there an appropriate coding style for implementing an algorithm during an interview? | I failed an interview question in C years ago about converting hex to decimal by not exploiting the ASCII table [CODE] . The rise of Unicode has made this question pretty silly, but the point was that the interviewer valued raw execution speed above readability and error handling. They tell you to review algorithms tex... | In a typical setting of whiteboard interview, lasting about 30-60 minutes, you won't have neither time nor space for elaborate, "real-world" implementation. So you need to make various trade-offs of different kinds. In every case, though, the most important thing is always to communicate them properly to the interviewe... | 7 | 12 | 1,904 | 2012-11-25T18:19:01.253 | data_quality | softwareengineering.stackexchange.com | |
145,645 | Do records showing the daily work of programmers exist? | Are there screencasts on the Internet showing screens of programmers that decided to record their daily work and show their programming style? I'm interested in seeing how other programmers effectively use tools like an editor with various features, debugger, looking for bugs, profiler etc. Maybe such "crazy programmer... | There are (commercial) sites that offer video training that do have "watch my screen" style videos: TekPub by Rob Conery (These ones specifically are $12.00 each, or subscription plans are avilable) - Has a "Full Throttle" series where you watch a developer's screen while they work through real-world problems. Not exac... | 5 | 9 | 500 | 2012-04-23T13:32:11.077 | api_errors | softwareengineering.stackexchange.com | |
606,174 | How can I tell nginx to serve SSL for one domain only? | Yes, this is something of a duplicate to this question , however, according to the ngnx document " Configuring HTTPS servers " (the section "Single HTTPS Server"), this limitation no longer exists, and the answer to that question is no longer valid. From the link above: Prior to 0.7.14 SSL could not be enabled selectiv... | there has to be some way to prevent the server from responding to SSL requests that do not have a valid SSL associated with them Well, kinda. Since you have multiple sites running on the same IP, a user attempting an SSL connection to that IP for any of the sites will always establish its SSL connection (and potentiall... | 3 | 4 | 5,355 | 2014-06-18T16:55:51.550 | api_errors | serverfault.com | |
499,826 | VLAN Traffic changing source when captured at firewall | 1) HP Switch config below 2) Fortinet Policy in attached image Right now, we are a flat network of roughly 320 wireless devices, and about 100 wired devices. We have a FortiGate 300C firewall with a single internet connection, and a single internal (10.1.100.106) connection with an HP zl 5406 hanging off the FG. Part o... | All configuration of Vlans on the firewall needed to be removed. Only needed to add a static route for each vlan subnet that pointed back to the switch. 10.20.0.0 255.255.0.0 10.1.100.151 10.3.0.0 255.255.0.0 10.1.100.151 Mission accomplished. I might have a drink now. | 2 | 1 | 1,979 | 2013-04-16T13:44:09.297 | infrastructure | serverfault.com | |
707,526 | CYGWIN SFTP not working suddenly. Connection closed after authentication | I'd installed CYGWIN for SFTP purpose few weeks ago in a few Win 2003 R2 x64 server and initially all of them are working without problem. However this week problem rises where users are not able to SFTP to 2 of the servers. When connecting, error "Connection closed" prompt immediately after authentication. For the fir... | It seems like [CODE] instead of full executable path works. There is probably problem with executing external binary when running under [CODE] . | 2 | 1 | 2,284 | 2015-07-22T03:14:45.943 | api_errors | serverfault.com | |
964,464 | ubuntu 18.04 ufw how to allow local 3306 connections to mysql? | If I run this command: [CODE] with the correct password (yes, I have the correct password) it says access denied I run the exact same thing, just disable ufw first [CODE] then the above command, and it works. But: now ufw is disabled :S What I really want to do is connect via mysql workbench using ssh but without disab... | To allow connection via loopback adapter only on port 3306 you can run the following: [CODE] | 3 | 7 | 26,941 | 2019-04-24T20:49:55.527 | database_errors | serverfault.com | |
280,423 | Access LAN server using DNS CNAME | I have a local server running Redis, Mongo, and MySQL servers. I can access it with its LAN IP address (192.168.*. *), but I can't access it by its CNAME. I have the server set up in the DMZ of our local router. If I run a Rails server at port 3000 I am able to see it at the CNAME (cname.domain.com:3000). For the mysql... | This does not sound like a firewall issue, since you get the error from MySQL already. More likely, since you are accessing the MySQL server now via the CNAME you are not coming from a allowed IP anymore but from your gateway IP (or similar, hard to say without knowing your network layout). Check MySQL privileges. | 0 | 1 | 670 | 2011-06-14T19:30:20.983 | database_errors | serverfault.com | |
97,874 | Why should I write all the Statements within Try-Catch? | My company head says that I must write all , i.e. ALL my code within Try-catch statements. Now, I can understand the 'better be safe than sorry' approach here, but isn't it too chicken-hearted to think that there will be an exception when the Labels are created, form's position is set. has there been instances where Ex... | My company head says that I must write all, i.e. ALL my code within Try-catch statements. Well, this is a little overdone and just leads to noisy code. What are the benefits of having all the code (each method e.g.) written with a try catch handler? It just tells you there's an error to be fixed in most of the cases. O... | 14 | 14 | 8,106 | 2011-08-02T11:50:24.770 | api_errors | softwareengineering.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.