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 |
|---|---|---|---|---|---|---|---|---|---|---|
749,856 | SQUID: detect Website name entered by user in browser | I am using squid as an explicit proxy within my organization to block certain websites in my infrastructure. I have successfully set it up using url_rewrite_program and ssl_bump features and its working like a charm. The problem is, so far, i am not successful in figuring out the main website url either in squid's acce... | Clear and neat way to detect which site the user was visiting is to look at the [CODE] header of the HTTP request. If the user enters the address into the address bar and the user's browser opens a dozen of various URLs, it means that user is visiting all of these sites. The difference between "a user is visiting a sit... | 0 | 0 | 946 | 2016-01-18T08:00:54.083 | infrastructure | serverfault.com | |
60,231 | How to be more logical? (less bugs/errors) | I have been programming for 6 years and I am in high school (I prefer not to disclose my age). I have dabbled in many different languages. Just to list a few: Java, PHP, C++, Python, Autohotkey, Mathematica and many more. I have a very good understanding of the basics of general programming. The only problem is I still... | Keep your methods small. When methods grow too big, extract units of logic to new methods. Name your classes, methods, and variables things that make sense. Never feel undue pressure to abbreviate any of these. Use GoF design patterns whenever they make sense. [Here's a good beginner's book .] Cover your code with auto... | 6 | 11 | 960 | 2011-03-20T17:45:30.030 | api_errors | softwareengineering.stackexchange.com | |
601,823 | Mysql crashing, oom-killer, out of memory, tuning issues? | I just moved all of my websites to a new server with 4GB RAM. Almost immediately, mysql started crashing, and at one point, didn't reboot which caused a major outage (since I didn't notice until someone pointed it out to me). Here is the log with CRON jobs stripped: http://pastebin.com/9SAUBcFp (apache2 invoked oom-kil... | You have hardly any swap (256M), as a temporary measure, I would add more swap and turn swappiness (vm.swappiness) down so as to avoid useless I/O wait. SWAP is slow, but it can keep your PIDS from crashing. Also, grep out your OOM's and check the timestamps to see if there is any regularity with the crashes over time.... | 5 | 1 | 7,145 | 2014-06-04T16:53:44.003 | database_errors | serverfault.com | |
373,164 | Innodb Queries Slow | I have RedHat 5.3 (Tikanga) with Mysql 5.0.86 configued with RAID 10 HW, I run an application that queries Mysql/InnoDB and MyIsam tables, the queries are super fast,but some queires on Innodb tables sometimes slow down and take more than 1-3 seconds to run and these queries are simple and optimized, this problem occur... | You can use mysqltuner, tuning-primer or MySQLReport to find the bottlenecks. Also, check the table and ibdata1 size. To large ibdata1 can lead to slow operations with InnoDB. http://www.serveradminblog.com/2011/03/tuning-mysql-performance-howto-part-1/ http://www.serveradminblog.com/2010/12/reducing-ibdata1-howto/ | 1 | 1 | 1,205 | 2012-03-25T11:01:44.167 | database_errors | serverfault.com | |
198,661 | Can't connect to Database Engine | I just built a server (SQL 2017) and I can connect to Analysis Services and Integration Services via SSMS without issue using Windows Authentication. When I try to connect to the Database Engine I get: Cannot connect to myserver01. Login failed for use 'me'. (Microsoft SQL Server, Error: 18456) A connection was success... | Creating SQL Server logins is a bit tricky and you need practice to understand what's going on. There is an excellent article about it here . In essence you need to consider the "server credentials" as well as the "database credentials". They are both different things . I would normally run SSMS and go down to the bott... | 1 | 0 | 2,115 | 2018-02-23T15:52:16.780 | api_errors | dba.stackexchange.com | |
106,498 | Confusion matrix - one class with zero values | I'm applying the Random Forest classifier on a dataset with 645 records and 12 features (selected by KBest method). This dataset contains a class with 4 possible values (1..4). When I plot the confusion matrix I've got this My point is about class 2. As you noted, the learned model didn't work for this class. Initially... | Most likely the features are not sufficiently discriminative for class 2: class 2 data points are mixed with some of the other classes, and the model cannot distinguish them so it predicts the most likely class. To investigate more precisely the first step is to look at the confusion matrix: see which other classes the... | 1 | 1 | 1,131 | 2021-12-28T21:16:47.063 | data_quality | datascience.stackexchange.com | |
156,266 | Coldfusion: RMI Channel with SSL | For my Flex ColdFusion-App, I want to switch to SSL. Within the ColdFusion Administrator, I have the following option: [CODE] The online help doesn't help me. I have already created the certs with openssl and without a password. Would I need to recreate the certificate and use a password for the CSR? Will I have any pr... | I finally found a working solution. As I create the certificates with openssl, i have to convert them to DER-format: [CODE] Then I use this great small java app for creating the keystore and passwort: http://www.agentbob.info/agentbob/79-AB.html | 1 | 0 | 175 | 2010-06-30T12:12:43.147 | infrastructure | serverfault.com | |
1,093,595 | How to make only "/var/www/html/login" public on my apache2.4 server? | I need some help please. I'm using [CODE] on my server. I'm blocking all requests to [CODE] using the following code: [CODE] I'm using that because I have a service running (through proxyPass). With the following block, I'm serving an [CODE] that doesn't go though the proxy: [CODE] On [CODE] I have a [CODE] file contai... | Do not mix "old" and "new" access directives. The problem here is that you used [CODE] on [CODE] , but [CODE] on [CODE] . Since old access directives take precedence over the new ones, the one specified in the [CODE] location does nothing. Use [CODE] instead of [CODE] , and it should work. | 0 | 2 | 438 | 2022-02-14T09:25:11.140 | infrastructure | serverfault.com | |
1,055,020 | Postfix: How to keep an email in the mail queue for further investigation? | Is there any way to keep an email in the Postfix mail queue for investigation/debugging purposes? I want delay the delivery and the email to be kept in the queue which let's me check it's contents. After I've done that I would flush the queue and let Postfix deliver it. How can I do this? If it's not possible for a sin... | The HOLD feature should be sufficient for what you ask for, either use it on a message that is not yet delivered: [CODE] Since you cannot know the queue ID in advance and might not be able to see it in the time between postfix queuing the mail and final delivery, I recommend defining the criteria for which messages to ... | 1 | 3 | 1,794 | 2021-02-25T11:41:39.400 | infrastructure | serverfault.com | |
1,041,503 | Pfsense open port to internet connection | I switched from Ubuntu to pfsense. Which ports and how to open the internet to work? If I do [CODE] (the last rule works) but that's not what I want. i just want to open (53,80,443) Pfsense Ubuntu iptables I had these ports open on ubuntu and the internet was working (80,53,443) [CODE] | My mistake. I changed from source to destination port. Now it is working. | 0 | 0 | 362 | 2020-11-06T09:23:51.057 | infrastructure | serverfault.com | |
86,149 | What is the best design (software/hardware, backups) for two servers providing virtual machines in colo | I currently have one older server that provides VMs using Xen on CentOS. While not a monster, it supports VT extensions and has a 1TB hardware RAID1 disk set up. I am looking to add another server that is newer, keeping the old one for mutual backups and, potentially, for distributing the workload. Thus far, suggestion... | You could setup DRBD between the two servers to host the VM images and configuration files. I believe this setup will allow for live migration between the two hosts. If not it should allow you to just start a VM up on either server should one go down. This could be automated a bit by using heartbeat to run some scripts... | 3 | 4 | 1,054 | 2009-11-19T02:16:46.333 | database_errors | serverfault.com | |
316,300 | Microsoft SSRS - Can users view a report based on a database they have no permissions to? | I'm having trouble understanding the report server permissions mechanism. If I were to create a report based on a database, would other users be able to view it even though they have no permissions over the database? In my company, we are very strict with how user policy work with databases, so only specific users have... | It's up to the report author whether to store credentials for the data source or to run the report using the current user's identity. If you select "Use current Windows user" then the user must have access to the data source. If you store credentials for the data source, then the user only needs access to the report, n... | 0 | 4 | 193 | 2022-08-31T18:16:48.427 | bi_errors | dba.stackexchange.com | |
949,602 | Can't load SQLsrv due to "zval_ptr_dtor" error | I am trying to install the PHP MSSQL Driver following this guide: https://serverpilot.io/docs/how-to-install-the-php-sqlsrv-extension But I keep running into this error after the installation (no apparent errors during the installation itself): [CODE] For my eyes, the main issue is this one: [CODE] I have tried uninsta... | I had a similar error with a different plugin and this was my solution. When installing an .so addon with pecl, I noticed an error at the end: configuration option "php_ini" is not set to php.ini location To fix that I just typed this (for mine I have php version 8) and now it works: [CODE] | 2 | 1 | 4,522 | 2019-01-17T20:08:23.550 | infrastructure | serverfault.com | |
753,225 | Dovecot does not react on telnet | So I installed dovecot and tried to connect via telnet to port 143. Dovecot is configured to listen: [CODE] is running: [CODE] and is listening: [CODE] But after connecting to it, it doesn't greet nor react to a login try: [CODE] Nothing happens! I activated all debuggin options: [CODE] but I don't see anything beside ... | It seems, that this is the same problem as Dovecot hangs on all logins including local telnet . I have an open nfs mount with a currently offline server. After disabeling the mount dovecot startet flawlessly. Also http://wiki2.dovecot.org/Mountpoints might help. | 0 | 0 | 243 | 2016-02-01T15:35:53.427 | infrastructure | serverfault.com | |
585,442 | eth0 NIC Link is Down repeating message in kernel log | I've noticed since few days ago that same repeating kind of messages occurs and I positively can say that nothing was intentionally changed (installed/uninstalled) in that period. here's sample of /var/log/kern.log message: [CODE] from complete log file - when take all log message this kind into count - I can conclude:... | check for errors on the wire, look at the "errors" field in the output of [CODE] . If non-zero then there are problems with hardware (cable, NIC card, or hub/switch). An unreliable Ethernet cable will give errors in this field too. replace the Ethernet cable, regardless of step 1. This is quick, cheap and easy, and sho... | 15 | 13 | 85,997 | 2014-03-30T11:16:39.593 | infrastructure | serverfault.com | |
198,767 | What to do as a Dev when for years their team has lacked product innovation, not used project mgmt methodologies, and kept bad Software Dev practices? | I am interested in knowing how to deal with a current software development process that has not been changed for years and will eventually lead to product and team failure. Yes, probably the easier way to solve this is changing jobs, but with this economy is easier said than done. However, if you have specific examples... | Martin Fowler's quote is relevant: "You can change your organization or change your organization." Given that you've apparently decided to change your organization (make it better) instead of change your organization (work for a different organization), here are a few suggestions. First, a lot of your course of action ... | 13 | 17 | 1,715 | 2013-05-20T15:03:39.727 | api_errors | softwareengineering.stackexchange.com | |
224,678 | Questions to Continuous Archiving and Point-in-Time Recovery with PostgreSQL | I'm planning my database backup strategy and came across the continuous archiving concept of PostgreSQL which is exactly what I'm looking for. I have two questions on this. I'm planning to mount the WAL file archive directory to an external NFS storage space (e.g. [CODE] ). I read that this log shipping is asynchronous... | you can use the pg_receivewal utility on the server that will receive the logs, it will help you with this problem. see more at: pg_receivewal - Doc official | 1 | 2 | 78 | 2018-12-11T18:49:32.107 | data_quality | dba.stackexchange.com | |
9,855 | Trunk Based Development - release branch testing | We are currently using Git flow branching strategy and looking to go to a trunk based strategy - although we are quite a ways away from getting there I am trying to get all my ducks in a row, prioritize and eventually get there. I feel that its not practical to go from having multiple branches with merges etc directly ... | There are different strategies and, depending on your specific problem domain, you need to decide what makes sense for you. For server side applications, especially micro services, you typically don't need release branches. You can work with pull requests, but once they hit master, it is common to deploy (from master) ... | 3 | 3 | 420 | 2019-11-19T18:20:22.023 | pipeline_ops | devops.stackexchange.com | |
236,686 | Using a closure to avoid code duplication in Python | Sometimes I find myself wanting to run the same code from a few different spots in the same function. Say I have some function func1, and I want to do the same thing from a few different spots in func1. Normally the way to do this would be to write another function, call it "func2", and call func2 from several differen... | It is a an acceptable form. As @Giorgio said, I would put the closure after the captured variable definition to ease the flow of reading. The alternative form would be to define another function, taking a, b, c as parameters. That is 5 parameters which is a lot. The closure allows you avoid repeating yourself in a very... | 5 | 4 | 3,602 | 2014-04-22T23:40:18.093 | data_quality | softwareengineering.stackexchange.com | |
505,163 | ESXi and link aggregation to another system | Can I aggregate two or more interface on ESXi 5.1u1 to connect (without a switch) another system that support this type of connection? I want create a back-to-back link aggregation as like descripted in this document: http://docs.oracle.com/cd/E19963-01/html/821-1458/fpjvl.html | The answer is NO, kinda... But probably no in your situation. I use LACP (with a switch) over 10GbE ethernet to my NexentaStor storage servers... but that's something that is only possible via VMware 5.1 and through the use of distributed vSwitches. That's a feature only available at the vSphere Enterprise Plus license... | 0 | 2 | 508 | 2013-05-05T17:16:28.760 | database_errors | serverfault.com | |
985,970 | How can I verify my vserver provider offers SSD as promised? | For this month I have rented two vServer, each from a different provider. Both indicated that the disks of the system use SSD technology (making me expect a bandwidth of at least 300MB/s and maybe more, as I know from experience in my laptop). [CODE] 'ing into the machines I found one to be rather sluggish with a task ... | There is no reliable way to determine whether a virtual machine's backing store is based on SSD or not. The hypervisor presents a completely virtual disk device to the virtual machine, and no attributes of the physical storage hardware are exposed. It might be local hard drives, local SSD, or remote storage, but this i... | 4 | 3 | 126 | 2019-09-27T16:04:03.707 | infrastructure | serverfault.com | |
118,622 | In MySQL can I drop a database by moving the directory containing the database? | We ran ran into a problem where MySQL kept crashing because of corruption in one of our databases. MySQL would start, crash, and then restart. We determined that the corruption was in a database containing archive tables (i.e. tables using the archive engine). We weren't able to drop the database in MySQL because it wo... | [CODE] I suspect it will not show the database that you "moved". Moving (or deleting) the directory would be unsafe it it contained any InnoDB tables. It is safe for MyISAM tables, and probably MERGE and Archive. [CODE] contains information about InnoDB tables. Non-InnoDB table types are discovered by looking in the fi... | 0 | 0 | 35 | 2015-10-20T16:31:50.153 | database_errors | dba.stackexchange.com | |
403,525 | SQL Server Setup failure | i uninstall sql server 2008 r2 and then install it but now i receive an error: TITLE: SQL Server Setup failure. SQL Server Setup has encountered the following error: MsiGetProductInfo failed to retrieve ProductVersion for package with Product Code = '{A2122A9C-A699-4365-ADF8-68FEAC125D61}'. Error code: 1605.. BUTTONS: ... | go to start menu Run -> regedit Edit [CODE] rename [CODE] to [CODE] Reinstall SQL SERVER again | 0 | 3 | 6,430 | 2012-06-28T23:30:48.400 | database_errors | serverfault.com | |
837,620 | How to debug these internal server errors? | I am not a server admin but do have some experience with Linux servers but mostly in Django and Nginx. Someone at our company has left suddenly for personal reasons and we have a site running on PHP with two pages that are showing internal server error messages that I need to fix. I have done a fair bit of searching he... | So found the problem with some assistance, it seems there was no .htaccess file in dev.mydomain.com so the .htaccess in root was being used which was configured differently and this caused the server errors. | -1 | 0 | 131 | 2017-03-11T04:57:23.007 | infrastructure | serverfault.com | |
282,470 | Monitoring tools that can take high rate and high volume? | We're using Cacti with RRDTool to monitor and graph about 100,000 counters spread across about 1,000 Linux-based nodes. However, our current setup generally only gives us 5-minute graphs (with some data being minute-based); we often make changes where seeing feedback in "near real time" would be of value. I'd like appr... | Have you looked at Ganglia ? I strongly doubt Munin would scale to your size. But Ganglia is designed from the ground up for large clusters of servers. | 4 | 1 | 2,245 | 2011-06-21T05:15:52.413 | pipeline_ops | serverfault.com | |
850,987 | Batch script errorlevel issue with registry key | The script below was written to check whether if teamviewer is installed or not, and for what architecture it will retrieve the ClientID, transform it to decimal and print it to a file. Everytime, whether it's installed or not, the result of this script is "Teamviewer not installed" I could not find any mistake in the ... | Expansion takes place before any command is executed inside a block of code. Basically, anything placed within a group of parenthesis. Because the [CODE] variable is already expanded before the second [CODE] command is executed, the result of the second [CODE] doesn't affect the expression of the [CODE] command that is... | 0 | 1 | 1,179 | 2017-05-18T20:35:09.613 | infrastructure | serverfault.com | |
74,603 | Is Flash an Appropriate Platform for Enterprise Level MLS Systems? | I am a Realtor in a large metro area. Our MLS provider is building the next generation of its MLS software on Flash. Many in the beta test group are against this, citing numerous reasons including lack of native iPad compatibility, buggy behavior, and the general assertion that Flash is simply the "wrong" platform upon... | I don't have any experience developing real estate systems, but I do develop data driven applications in Flash. We develop data warehouse applications using Adobe's Flex framework , but it should be apparent how useful it would be for your application as well. As far as lacking iPad compatibility, Flex applications are... | 2 | 2 | 177 | 2011-05-07T23:24:28.413 | api_errors | softwareengineering.stackexchange.com | |
518,283 | how can I prevent zimbra to send email as root user? | Zimbra is working on Ubuntu 12.04 and there are some system users (i.e. root). Zimbra is trying to send email to itself (root@some.domain) and hangs on mailq, then prevents other mail's distribution. But I cannot stop it from sending email. I tried to use aliases file as root: /dev/null but does not work. What else can... | [CODE] is default account on many Linux distributions, and just should exists. On that mail you are getting for example information about failed cron jobs (jobs that write to stderr) and other quite important things. What I suggest: create alias to Your main administrator account [CODE] in Zimbra admin panel maybe crea... | 0 | 2 | 1,536 | 2013-06-25T07:32:56.193 | infrastructure | serverfault.com | |
329,730 | Performance issue after migration to SQL Server 2019 | I am troubleshooting a performance issue on a job that is taking 5h longer to complete on SQL Server 2019 compared to when it ran on 2012. One of the problematic steps of the job is during a batch load into a Operational Data Store type of database (ODS) which gets data from different sources and inserts into a table t... | First of all try to exclude four disabled indexes from the equation by dropping/recreating it instead of disabling/enabling. If the response time do not change so those indexes are not in charge. Also enable query store to get most expensive queries and waits associated with those queries to find your problem child. I ... | 1 | 0 | 276 | 2023-07-27T18:56:03.810 | database_errors | dba.stackexchange.com | |
214,867 | Perfomance of 8 bit operations on 64 bit architechture | I am usually a Python / Database programmer, and I am considering using C for a problem. I have a set of sequences, 8 characters long with 4 possible characters. My problem involves combining sets of these sequences and filtering which sets match a criteria. The combinations of 5 run into billions of rows and takes aro... | You are likely to optimize for the wrong case. Remember the two golden rules of optimization: Premature optimization is the root of all evil. No optimizing without profiling. As 4 8 = 65536 is significantly less than your ” billions of combinations ”, I doubt you are going to run into performance issues regardless of t... | 0 | 4 | 396 | 2013-10-18T16:54:13.627 | database_errors | softwareengineering.stackexchange.com | |
59,388 | DBI1011I Error when using db2iupdt to enable Text Search | I'm trying to enable Text Search in my DB2 instance. I'm running this command: [CODE] I get this error: [CODE] DBI1011I documentation just says there's something wrong with the parameters. I'm not seeing anything obviously wrong with them when looking at the documentation for db2iupdt . I'm running DB2 10.5: [CODE] How... | On Linux, the instance name has to be the last thing in the db2iupdt command : [CODE] | 0 | 0 | 1,491 | 2014-02-21T21:09:24.617 | warehouse_errors | dba.stackexchange.com | |
333,626 | detect weak encryption and outdated protocols | I'm looking for software that helps detecting applications that use weak encryption or outdated protocols in a central place. Sorry if that sounds vague. Maybe an example will help. Let's take a browser that connects to some website via https. But for some reason the negotiated cipher is weak, below some threshold, let... | I don't believe you can snoop the traffic once the SSL handshake between the server and client is completed. You probably will need to scan the server to see if it's offering weak ciphers. Maybe "sslscan"? http://sourceforge.net/projects/sslscan/ https://www.titania-security.com/labs/sslscan I know there's a Ubuntu pac... | 5 | 5 | 2,388 | 2011-11-22T12:28:46.743 | infrastructure | serverfault.com | |
275,972 | MySQL shows CPU usage over 40% though total CPU usage is less than 30% as per TOP - How to debug this issue? | Not sure if I am reading this incorrectly. In the below screenshot of TOP command, it shows that mysql process CPU usage is 41.2% but at the 4 core CPU shows a total of 26% usage. is MYSQL not configured correctly? Or is MySQL not using all cores? How do we ensure that MySQL is configured properly and uses the resource... | Interpreting the readings from [CODE] can be confusing and the details are a bit off-topic for here (perhaps ask questions on https://superuser.com/ if you need more information than you can find elsewhere) so I'll not delve too far, but... Firstly: the readings in [CODE] and similar programs can be misleading as they ... | 1 | 0 | 264 | 2020-09-23T15:11:18.367 | database_errors | dba.stackexchange.com | |
5,903 | Unable to BackUp Database on SQL2005 | I have a database in MS SQL2005 that I can not backup. Whenever I try to create a backup of the selected database through SQL Mgm studio I get this error: The Backup of full-text catalog in not permitted because is not online This database was crated by detaching another database, copying the data and log files, and at... | There is a MS KB article on it which say it happens because The full-text catalog folder is either deleted or corrupted. You did not enable the database for full-text indexing. The database is restored from a Microsoft SQL Server 2000 database backup. Therefore, the folder of the full-text catalog in the database does ... | 3 | 4 | 470 | 2011-09-17T13:31:50.757 | database_errors | dba.stackexchange.com | |
616,396 | ServerSignature in Apache | I'm installing apache on CentOS 6.5 and trying to setup some hardening. Part of this process is removing the server signature with the [CODE] directive. Since I'd like this to survive version upgrades and follow other best practices, I'm attempting to make all my setting changes in the [CODE] directory. Here's my [CODE... | As for the original question - it might be because the [CODE] line comes before [CODE] . So the latest setting for that name overrides the previews one. About proper configuration file management It's quite OK to edit [CODE] . That file will not be overwritten by yum/rpm update, instead it will create a [CODE] file whi... | 0 | 1 | 2,269 | 2014-07-29T18:35:53.940 | infrastructure | serverfault.com | |
908,008 | Virtualhost does not work on Fedora with 403 | I have created a project under my home directory. Then, I created a virtual host in a new httpd conf file (I named it z-httpd.conf) I created under /etc/httpd/conf.d. The problem is that I cannot access the named virtual host that I created. When I browse to myservice.localhost, which I have also added to /etc/hosts, I... | This error is about Unix permissions, and so that is what you need to check. It may also be caused by SELinux in some circumstances. In particular it means that Apache could not search a directory somewhere above the requested file, so you need to check the permissions on the entire path. Fortunately Linux has a tool t... | -1 | 2 | 1,008 | 2018-04-17T08:47:41.570 | api_errors | serverfault.com | |
976,618 | Monitor all processes in Linux with telegraf and grafana | I have a task to configure monitoring of all processes in a Linux system with Telegraf and Grafana. But there is some issue that there are many processes in a system. For gathering information about processes I have used Procstat plugin. Procstat plugin configuration [CODE] As you can see plugin will gather information... | Solution: GROUP BY tag(process_name). Grafana panel config | 0 | 2 | 6,258 | 2019-07-25T05:36:32.227 | bi_errors | serverfault.com | |
999,986 | inotifywait script causes recursive loop | I have an inotifywait script that monitors a ftp upload directory and whenever a new file is uploaded it sets the correct permissions. I do this because the remote client forces wrong file modes and preventing the ftp server to accept chmod commands causes the remote client to spit out bogus errors. so my last resort i... | Instead of having [CODE] wait for [CODE] , you should be waiting for [CODE] . [CODE] | 0 | 0 | 336 | 2020-01-22T17:43:56.797 | infrastructure | serverfault.com | |
582,020 | Configuration: DNS or Apache | I have the following problem. I have two domains: www.domain1.de and www.domain2.de I also have path is on Jelastic server where to find my PHP page myphpsite.jelastic.dogado.eu. Now I wanted to do the following. 1) If I go to www.domain1.de, then should address bar of the Web Browser www.domain1.de be displayed, but t... | This is what mod_proxy is for, possibly combined with mod_rewrite . | 0 | 1 | 59 | 2014-03-14T08:47:29.260 | database_errors | serverfault.com | |
793,538 | Point Existing domain in godaddy.com to new ec2 instance without domain migration | Hi I know this question is asked a few times, but I have a different problem. I had a website & domain www.exampledomain.com hosted on godaddy. I have shifted my website on amazon ec2 and I want to use my domain that is on godaddy.com. I have pointed the A records of my domain to my Elastic IP of my instance on EC2. An... | It seems that you have redirection rules that point to www.exampledomain.com. When that happens, browser makes new dns query and loads website from amazon, where A record is pointed. To avoid it, try looking at redirection rules in .htaccess on godaddy account and comment them. If they are not needed for webiste to wor... | 0 | 0 | 142 | 2016-08-03T07:34:39.050 | database_errors | serverfault.com | |
267,095 | How can I configure Ola Hallengren IndexOptimize script to run against a subset of tables | I'm using Ola Hallengren IndexOptimize script against a SQL 2016 database that is 7 TB in size, with over 300,000 tables. I only have a 6 hour window each night to manage indexes. I'm using the timelimit parameter to stop the job after 6 hours. The problem is, every night the index job starts at the beginning of the in... | Don't defrag your indexes every night. You don't need to anymore on modern hardware (especially with solid-state storage with zero seek times). For daily maintenance, you only need to update modified statistics, and even then you only need to do this when you notice performance degradation (i.e. check what your monitor... | 6 | 9 | 4,309 | 2020-05-13T17:01:41.213 | warehouse_errors | dba.stackexchange.com | |
1,146,109 | Fluent-bit in Kubernetes cannot input timestamp data properly | At my company, I built a K8s cluster with Terraform and configured a logging system with EFK (Elasticsearch, Fluent-bit, Kibana). k8s and Elasticsearch use AWS's EKS and Opensearch Servcie (ES 7.10), and Fluent-bit was installed separately as a Daemonset through Helm. https://artifacthub.io/packages/helm/fluent/fluent-... | I couldn't find a clear cause, but I think I found a solution, so I'm sharing it with you. When checking the log in Kibana, various timestamps are recorded, but as you can see in the attached image, there is a problem with the timestamp recorded directly by Fluent-bit. However, considering that once Fluent-bit reboots ... | 0 | 0 | 508 | 2023-10-18T15:52:12.223 | database_errors | serverfault.com | |
653,333 | Postfix - Need to log email and then redirect to same user different domain | My goal is to add emails to a DB and then send them on to the user at a different domain. My mail server is hosted elsewhere using my domain, (me@example.com). TO get this working, I set up postfix on a server that gets mail for sub-domain, say, "process.example.com". I followed these instructions to get the PHP piping... | Every email received by postfix always be passed to milter. So you shouldn't have worry about it. To do rewriting, you can use recipient_canonical_maps here. In main.cf add this parameter [CODE] And in [CODE] add this line [CODE] This will rewrite recipient from me@process.example.com to me@example.com See this page to... | 0 | 1 | 114 | 2014-12-17T21:39:44.863 | infrastructure | serverfault.com | |
441,009 | Temp files created in every folder in Windows Server 2003 | So we have some folders which are shared over the AD Domain (Windows Server 2003). It was just noticed that in 2 of those folders (which contain only Excel and Word files), whenever a file is opened and closed, the temp file which was opened corresponding to that file still remains. Apparently, this's been going on for... | It's almost certainly a permissions issue, do your users have "Modify" / "Delete" rights? Also, Process Monitor is great for issues like this as it should let you see what process is handling the file and with a bit of luck, why it can't remove it. It could also be related to your Share Permissions, if applicable. Reme... | 1 | 2 | 1,408 | 2012-10-22T15:51:26.133 | infrastructure | serverfault.com | |
357,477 | Can every solvable problem be solved using any algorithm design? | I recently started reading theory behind algorithms. I then started thinking about "what if we abstract problems and algorithms, so you would be able to implement a generic system that can solve most problems.". Unfortunately I was not able to find information on this topic. Logic Programming comes pretty close I guess... | No, because of combinatorial explosion . Read also (as commented by CandledOrange ) about P vs NP Some problems (e.g. the travelling saleman problem ) are in theory solvable, but in practice intractable . A lot of practical questions fall in this category (e.g. optimizing compilers , cryptography ) And some problems ar... | -2 | 5 | 1,995 | 2017-09-15T17:34:54.523 | api_errors | softwareengineering.stackexchange.com | |
78,946 | Changing Column type to avoid Arithmetic overflow error | I have a table that saves user hits. It has these columns: [CODE] Today I'm getting this error "Arithmetic overflow error". After I checked it out I find my Last hit ID was "2147483647" and also my Column type is [CODE] So the only solution is to Alter the column to bigint type (I guess). I've tried this code : [CODE] ... | If you need to change the data type of a column, you'll have to change every data type referencing that column, too. At the database level, you'll have to change any column referencing this column. Since you need to change a PK column, this will affect all other tables where this column is used as a foreign key referen... | 1 | 1 | 1,152 | 2014-10-11T06:20:57.047 | data_quality | dba.stackexchange.com | |
335,198 | Valid uses for DEFAULT clause in a table column definition, besides sequence nextvalue() | In a recent question , there's a debate whether or not an arbitrary default value in the definition of a column in a table is considered having business logic in the database. As we know, if an insert statement fails to provide a value for a given column, such default is inserted instead of null. My question is, beside... | If the default is just that, a default value, that is not "business logic." If you insert a record and set an integer to zero, is that logic? Most modern languages (e.g. pretty much anything C-based) would default that to zero anyway. Does it really matter if you default it to one instead? The way I see it, "insertion ... | 4 | 2 | 103 | 2016-11-02T18:47:41.047 | api_errors | softwareengineering.stackexchange.com | |
789,532 | winbindd gss_init_sec_context failed with [Unspecified GSS failure] | Running CentOS7. Every hour I get the same error message. I have no problems authentication. I believe there is a Redhat solution but I don't have subscription. https://access.redhat.com/solutions/2294131 Can someone tell me how to fix it? I have the latest update from the yum repos. | The workaround is adding to /etc/samba/smb.conf and restarting samba & winbind : [CODE] | 1 | 1 | 10,655 | 2016-07-13T09:48:39.057 | api_errors | serverfault.com | |
165,534 | Best way to quickly and effectively drop a database and delete all files? | If I set a Microsoft SQL Server database to offline and drop it, it will be deleted, but the log and data files will remain. If I do it in online mode, there is a chance that another connection will stop me from dropping it. In a dev environment, or for a database that I want to periodically blow away and recreate on p... | Unless you are in the context of the database, you can't ensure you are the only one using it. Also, don't use batch separators. Run it all as a single batch. [CODE] | 11 | 15 | 19,356 | 2017-02-26T03:20:27.050 | database_errors | dba.stackexchange.com | |
276,720 | Optional Member Data | I am creating a strong binding of an XML specification and I am essentially trying to "flatten" the specification as much as possible, so that it won't feel like you are manipulating an XML tree. There are many elements in the XML specification that are optional. Here is a contrived example. [CODE] In this the "name" e... | Both of your designs have the problem that they put the burden of keeping track of the validity of the [CODE] attribute on the user of the class. Your second design (with the [CODE] ) has the additional problem that it duplicates the information if there is a valid value for [CODE] in a way that makes it very easy to c... | 2 | 2 | 182 | 2015-03-19T04:02:31.270 | api_errors | softwareengineering.stackexchange.com | |
67,121 | How are the Convolution kernels learned? | As I went through the basics of machine learning, I failed to understand how do the Convolutional layers in a CNN learn the convolution kernels. After looking at first few tutorials, I thought the kernels were fixed: for example, there was a 2D kernel which extracts vertical lines, another one extracted horizontal line... | Sometimes the kernel function is very difficult to choose in a fixed form even if once found it would be easier. It can be learned to map the data in a features space (Hilbert space) through an Convex Optimisation method such as Semidefinite programming, using Hyperkernels, etc. Some very usefull papers for your questi... | 2 | 1 | 292 | 2020-01-27T15:16:52.397 | data_quality | datascience.stackexchange.com | |
261,932 | How to reset MariaDB into a "fresh install" state? | I had InnoDB corruption and managed to start the server in read only mode and perform a fresh backup using [CODE] . This way of starting the service puts the databases in read only mode, even deletion is disallowed. Is there an official procedure to reset the whole server into a fresh installed (or at least "empty") ve... | MariaDB can be reverted to the fresh state by removing its data files. Say if you run MariaDB on a Debian you can do the next: [CODE] At the start if no datafiles exists MariaDB will recreate the internal scheme [CODE] with all default values. All leftovers like config and log files you have to clean up by hands. | 8 | 8 | 18,360 | 2020-03-13T22:47:35.593 | database_errors | dba.stackexchange.com | |
34,061 | How to load test/stress test a video streaming application for mobile? | We have a requirement to test an interactive broadcast solution that would allow viewers to engage with a presenter through real time video and voice communication, the same will also be broadcast to a larger audience(100 users).The solution will be implemented using OPENTOK API (WEBRTC video streaming) and will be ava... | NeoLoad can test streaming video and audio performance by detecting the media requests of an application, by simulating client/media players and providing specific statistics related to the quality of video and audio playback. https://www.neotys.com/solutions/streaming-video-load-testing | 2 | 1 | 2,453 | 2018-06-04T08:52:53.647 | data_quality | sqa.stackexchange.com | |
622,679 | Log warnings and errors only in Tomcat | I'm running an instance of Apache Solr with Tomcat 6. The scripts I used for installing configured Tomcat to log "everything" which means that it generates huge logfiles because every query etc. is being logged. The log file that is growing fast is "catalina.out". I tried to set the logging level to WARNING by changing... | I finally found out that is was as easy as open the Solr admin panel and go to Logging -> Level in the side navigation. There you can set the logging level to WARNING. This only sets the logging level for the current run of Solr. As soon as Solr is restarted, this is reset to the configured setting. The setting can be ... | 2 | 2 | 7,936 | 2014-08-20T08:38:58.277 | infrastructure | serverfault.com | |
336,999 | Amazon AWS mysql RDS Cluster with outside AWS? | I'm now using AWS RDS multi-AZ with great results, the problem is that I want my infrastructure fault tolerant between regions. I'm looking for some kind of tool to make a cluster with RDS and my servers. As I read you cannot cluster directly from RDS to another server, just Read Replicas, but not between regions neith... | Cross region read-replicas are now available. http://aws.typepad.com/aws/2013/11/cross-region-read-replicas-for-amazon-rds-for-mysql.html | 1 | 1 | 992 | 2011-12-02T12:18:58.470 | database_errors | serverfault.com | |
1,024,210 | best option to load test with fixed ip using jmeter and azure | Azure devops offers a great service to allow you to run a simple jmeter script (no custom samplers though, and only supports 3.2), with one click. however, this wont work for us, as the site we want to load test can only be seen with whitelisted IPs. Azure does have support for setting up "Load test rig in a specific V... | Have you considered Azure public static IP feature , this way you will be able to create 4 IP addresses and assign them to the newly created machines so machines will be up only for running the tests and can be terminated when they're not needed. If you need to rerun the test - just create the machines and assign stati... | 1 | 1 | 1,032 | 2020-07-06T14:30:30.927 | infrastructure | serverfault.com | |
245,748 | Speed up simple MySQL query on large database | I have a database with 1 million records and I frequently run this very simple query: [CODE] It takes around 5 seconds to execute. And if I add more columns to the select it takes up to 10-15 seconds. Is there a way to speed up this query? I know I select a large amount of data, but it is necessary in my case to do tha... | Since you're reading every record in the table, the database will simply pull everything you want, wrap it [all] up and send it back across the network to your client machine. The more data you pull, the larger that payload is going to be and the slower it's going to travel. I frequently run this very simple query The ... | 0 | 1 | 95 | 2019-08-20T08:02:06.087 | database_errors | dba.stackexchange.com | |
319,867 | Cassandra errors in logs, "Protocol exception with client networking: 2fe86256 invalid, unrecoverable CRC mismatch detected in frame header." | We are seeing that Cassandra is generating immediate hint files after a restart and when going through the logging we see these CRC mismatch errors. Does anyone know why we are getting these? Cassandra 4.0.5 [CODE] | The problem was that there was a time difference between the servers. We could also see that there were dropped messages (see below). The latency was basically the time difference between the servers. [CODE] | 2 | 1 | 440 | 2022-11-18T03:16:17.207 | database_errors | dba.stackexchange.com | |
1,143,213 | Should I use proxmox for this use case? | So basically I need to host an web application front and back all PHP, and also a MySQL database with HA. There will be 2 servers on different datacenters. And I'm thinking if we should use Proxmox with 2 VM's, one for the web application, another for the database. Or if I should just install debian and put everything ... | Your justification for using Proxmox here appears to be so that you can use keepalived (although I'm not sure exactly what for). That seems like massive overkill. There are other reasons that might make sense in this context which you've hinted at. You also mention OVH floating IPs. This is the XY problem. Your primary... | 1 | 2 | 229 | 2023-09-06T18:26:41.997 | database_errors | serverfault.com | |
14,196 | mysql out of available memory | We have a dedicated MySQL server with 16GB of RAM that's serving 8 web workers with relatively high traffic (over 1000 requests per second at peak traffic) At peak we're seeing the following errors in the web server's error logs: [CODE] Here's a pastebin of my.cnf I've also uploaded some graphs from collectd to an imgu... | For every new MySQL connection from a Client, some amount of memory will be used. So once the number of connections (which uses RAM) exceeds, you will be getting this error. So check your application whether the connections are properly closed after using. Also check what is the max_used_connections status variable and... | 3 | 4 | 11,153 | 2012-03-01T13:19:36.477 | database_errors | dba.stackexchange.com | |
710,172 | KVM host won't use memory for caching | I have a KVM host (Linux 3.14.32) running 8 virtual machines. They are overprovisioned (memory allocated for them is greater than available physical memory on the host). However they consume only about 85% of physical memory which should leave some room for cache. However, everything on host is unbearablly slow and fre... | It's recommended to bypass cache ( [CODE] ) when using RAW devices. This uses O_DIRECT mode, so the host page cache is bypassed and I/O happens directly between the qemu-kvm userspace buffers and the storage device. QEMU also supports a wide variety of caching modes. If you're using raw volumes or partitions, it is bes... | 4 | 3 | 1,241 | 2015-08-01T14:07:47.833 | infrastructure | serverfault.com | |
104,775 | Using TSQL for the first time some basic instructions | I am writing an application that will use many tables and I've been told that I must not use stored procedures in this project because it will be too slow. It has been suggested that I use TSQL. I have only used stored procedures until now. Is using TSQL different? Is this the way to go for faster data access or are th... | You can access data in the following ways (assuming you are using .NET) - amongst others: (1) using ADO.NET (and LINQ) (2) using ODBC (not recommended if you can use other options) (3) using T-SQL via ADO.NET (3A) using T-SQL via LINQ (4) using SQL Server CLR (C# code on the server side) The debate between using (1) an... | 0 | 5 | 1,061 | 2011-08-30T20:14:53.440 | database_errors | softwareengineering.stackexchange.com | |
167,493 | Efficient Data Structure for holding a graph | Problem Link - http://opc.iarcs.org.in/index.php/problems/NUMTRIPLE In my opinion, the problem can be solved by a data structure, that shows how each number is connected to another, and via recursion find the smallest possible value. But my question is, what data structure (most efficient) can hold/represent such data?... | The problem is equivalent to the shortest-path problem in a graph, where the vertices are given by the first and third number of each of your triples, an edge is given by a triple "connecting" two vertices, and the weight of the edge is given by the second number of each triple. It can be efficiently solved, for exampl... | 5 | 2 | 1,965 | 2012-10-04T20:36:49.890 | api_errors | softwareengineering.stackexchange.com | |
135,026 | SQL Server, connecting without windows authentication? | I am confused about how this works: I was reading the SQL Server documentation on authentication here: Choose an Authentication Mode It says: Windows Authentication is always available and cannot be disabled This makes me think that ALL connections to SQL server NEED windows authentication (as it cannot be disabled), b... | Windows Authentication is always available , SQL Server Authentication is only available if Mixed Mode is enabled. During setup, you must select an authentication mode for the Database Engine. There are two possible modes: Windows Authentication mode and mixed mode. So: For an instance using Windows Authentication mode... | 3 | 6 | 2,636 | 2016-04-12T04:01:28.500 | api_errors | dba.stackexchange.com | |
1,150,005 | How to delegate a subdomain (and its sub-subdomains) to another nameserver? | We are using our own DNS server in out local network, which works fine. Domains need to be accessible only from within the local network. Let's say the domain name is ourdomain.com . Now we've created a subdomain public.ourdomain.com , and we want all sub-subdomains of it to be public. For example, test.public.ourdomai... | Assuming that you have configured your local DNS to be authoritative for [CODE] and not only for [CODE] (because then you wouldn't have this problem) ; you add [CODE] records for [CODE] in your internal DNS with the name servers for your external / public DNS (and not a SOA record) : [CODE] That delegates public.exampl... | 0 | 1 | 63 | 2023-12-18T16:00:28.077 | infrastructure | serverfault.com | |
441,657 | Restful design of read only list, with the exception of one published and one draft item | I have the following domain specs: A historic read only list of items that were published and a currently published item (if any) and an optional draft item (if any). I thought of the following design: Publicly accessible: [CODE] [CODE] Restricted access to an editor: [CODE] [CODE] [CODE] [CODE] As you can see: I don't... | Is promoting /item/draft to /item/published (and thereby simultaneously deleting its contents) by PATCHing it acceptable? It's a bit twitchy. The key idea behind REST is that everybody agrees what messages mean. Therefore, a general purpose component (like a web browser) can be used to interface with your resource mode... | -3 | 0 | 122 | 2022-10-15T14:22:17.993 | api_errors | softwareengineering.stackexchange.com | |
336,092 | MySQL-server-5.5.18 - Installation issues / doubts | 1 ) How to relocate the data dir while installing the MySQL-server-5.5.18-1.linux2.6.i386.rpm. [CODE] | If a my.cnf is present when MySQL is installed, it will override any default settings with the values specified there. So you can simply create your /etc/my.cnf with the following content: [CODE] | 0 | 0 | 141 | 2011-11-30T06:11:00.723 | database_errors | serverfault.com | |
1,048,496 | Postfix-Bypass header_checks for some senders | I want to bypass header_checks/body_checks for some incoming sender addresses (or something like a whitelist). I tried so far to use the FILTER option in header_checks with another port in master.cf regarding the option receive_override_options with "no_header_body_checks", but then my log says: [CODE] my header_checks... | You're quite close. You should specify the protocol ( [CODE] ) too, like [CODE] . So [CODE] [CODE] | 2 | 1 | 656 | 2021-01-04T12:18:22.253 | infrastructure | serverfault.com | |
11,952 | GitLab: Make commit in (shared) CI runner and push to repository/open merge request | I want to run a scheduled pipeline on the shared runners that is able to open a merge request on my repository. I want to run a script that checks if updates for my pinned packages exists and if yes it should update these and open a merge request with a new branch. I am using https://gitlab.com and not a self hosted Gi... | CI token used for code checkout is not allowed to do writes to the git repository (unlike GitHub Actions). You need to generate a new personal token and add it to secrets. See our integration project here as a sample: https://gitlab.com/taleodor/sample-helm-cd Note, if you search through StackOverflow, you may find sev... | 1 | 2 | 5,734 | 2020-07-02T18:07:15.690 | pipeline_ops | devops.stackexchange.com | |
127,862 | Tuning MySQL variables to accommodate high load | My site is generating error 500s to users when load is high ("cannot allocate memory" errors appear in my logs). I have a VPS with GoDaddy, 8GB RAM (on average only about 40% of RAM is being used at any time, which is really weird given the "out of memory" errors). CPU usage can get pretty high during peak times (> 90%... | Memory issues query-cache-size = 512M Too large -- tends to take a lot of effort purging entries; drop it to 50M. Or consider setting it to 0. table-open-cache = 2048M NO! That is a count , not bytes . [CODE] (no [CODE] ) is probably fine. innodb-buffer-pool-size = 6G InnoDB buffer pool / data size: 6.0G/284.1M InnoDB ... | 2 | 2 | 9,818 | 2016-01-31T20:56:10.813 | api_errors | dba.stackexchange.com | |
1,100,565 | Why can't i acces remote Windows Server through MacBookPro? | I'm trying to access a client MacBookPro to Remote Server using Remote Desktop Application "RD Client" I connected a VPN to that server. BUT But in the application when I fill the remote information with the username and password I get "Error Code 0x204", Firewall is off What possible solutions i can do? Thank you Mo'm... | Are you connecting by domain name or via IP? Try connecting with IP and see if you get a different response. You can also ensure the connection is actually possible by using telnet in Terminal as so: [CODE] I would also recommend testing your credentials via a Windows PC to ensure there are no issues with your access. | 0 | 1 | 87 | 2022-05-10T09:24:20.210 | infrastructure | serverfault.com | |
891,509 | mongodb wiredtiger engine from ext4 to xfs | I am having performance issue related to mongodb wiredtiger engine on an ext4 filesystem ( https://docs.mongodb.com/manual/administration/production-notes/#kernel-and-file-systems ) I have a replicaset with 2 servers and one arbitrer (all on ext4). I would like to know if there is any issue to add a new server into thi... | Replica set members can definitely use different filesystems -- members aren't even aware of what filesystems are in use by their peers. Although use of the Ext4 filesystem is one possibility for performance issues with MongoDB and WiredTiger (particularly under significant write load), there may be other issues affect... | 1 | 1 | 898 | 2018-01-10T08:02:16.207 | database_errors | serverfault.com | |
1,054,411 | Apache mod_jk SSL & appBase | I'm setting up mod_jk for Apache to use with Tomcat and there are two issues I've ran into. SSL I have SSL enabled on Apache and all traffic is going through HTTPS, including the requests forwarded to Tomcat. Does Tomcat also need to be configured for SSL in any way or does Apache handle it completely? Everything I hav... | all traffic is going through HTTPS, including the requests forwarded to Tomcat That's not entirely true. If you are using mod_jk the requests from Apache to Tomcat use AJP , a non encrypted binary protocol. The error you find in the logs means that something is connecting to the HTTP connector of Tomcat using a binary ... | 1 | 0 | 192 | 2021-02-20T17:20:06.720 | infrastructure | serverfault.com | |
538,652 | MySQL 5.1.69 at CentOS 6.4 doesn't know enable-named-pipe? | Trying to install MySQL (for WordPress) on a CentOS 6.4 /64 bit server. I have installed the [CODE] package and executed the following commands: [CODE] Then I've noticed that [CODE] process is listening at 0.0.0.0 and decided to change that - so that my WordPress installation only uses domain sockets (or unix pipes? no... | No hints? [CODE] According the online documentation for that version of MySQL: [CODE] Enable support for named pipes. This option can be used only with the mysqld-nt and mysqld-debug servers that support named-pipe connections. Remove that setting from your [CODE] and restart the process. | 2 | 4 | 742 | 2013-09-13T10:49:08.473 | database_errors | serverfault.com | |
177,806 | Decision for Unchecked Exceptions in Scala | As a java programmer, I have always been critical of Unchecked Exceptions. Mostly programmers use it as an en-route to coding easiness only to create trouble later. Also the programs (though untidy) with checked exceptions are much robust compared to unchecked counterparts. Surprisingly in Scala, there is nothing calle... | Checked exceptions are mostly considered a failure. Note that no languages created after Java adopted them. See http://www.artima.com/intv/handcuffs2.html , http://googletesting.blogspot.ru/2009/09/checked-exceptions-i-love-you-but-you.html , http://www.mindview.net/Etc/Discussions/CheckedExceptions , etc. In particula... | 17 | 29 | 6,551 | 2012-11-30T06:04:50.127 | api_errors | softwareengineering.stackexchange.com | |
493,170 | Why can a Domain Admin run a powershell cmd locally, but connecting over WinRM with the same account, command returns an UnauthorizedAccessException? | I'm trying to administer a Windows 7 machine remotely. I've enabled WinRM and can use [CODE] to connect to the remote machine. However, I'm noticing a difference between running a particular command locally, vs running it remotely, even though I'm connecting with the same user account (which is a Domain Admin). The out... | The Windows Update API is special. It specifically checks for and disallows remote access by checking if your token is marked as remote. I don't know why it was written this way. I ended up creating a scheduled task and invoking the windows update API inside that - quite a nuisance. | 5 | 4 | 5,385 | 2013-03-28T12:15:09.693 | infrastructure | serverfault.com | |
223,148 | Two months in my new job, still having trouble learning a new codebase. How can I improve? | I'm a self-taught programmer. Up until now I haven't had too much problems building things I have wanted to. Historically, given an issue, especially one I have caused I haven't had much of a problem figuring it out. This all changed about two months ago, when I was offered my first position at a company whom I became ... | I have had good success to learn new code bases with the following approach. Strive to understand: Purpose: understand what the system or framework does, conceptually speaking Architecture: create a view on the overall architecture of the system or framework Components: learn how major parts (components) work together ... | 5 | 13 | 6,317 | 2014-01-05T01:23:50.047 | pipeline_ops | softwareengineering.stackexchange.com | |
309,983 | Why are the majority of cached plans missing from sys.dm_exec_query_stats? | I'm trying to understand some execution plan caching metadata on a SQL Server 2016 SP3 system, and I can't reconcile what I'm seeing with the docs. The docs for [CODE] say it contains: a row for each query plan that is cached by SQL Server for faster query execution. On the system I'm observing, this view has 41,283 ro... | Many of your queries qualify for simple parameterization . SQL Server creates a parameterized version of the statement and caches that as a prepared plan. The ad hoc plans you see are just shells pointing to the parameterized version. Entries in [CODE] are only associated with the prepared plans. For more background se... | 6 | 3 | 903 | 2022-03-21T14:41:52.747 | pipeline_ops | dba.stackexchange.com | |
12,317 | how to send a password to MySQL with docker? | Just getting started, want to run the downloaded version of [CODE] : [CODE] Without re-downloading the image. | As the documentation clearly states [CODE] command should be invoked as follows: [CODE] so when you run [CODE] Docker assumes [CODE] is a command you want to run inside the container, not a list of options for [CODE] command. The proper [CODE] invocation with the parameters you specified is: [CODE] | 0 | 4 | 2,614 | 2020-09-01T07:00:25.443 | database_errors | devops.stackexchange.com | |
1,050,800 | Restrict web access on apache web server to FreeIPA users | We have an apache web server installed on a Centos 8 machine which is been used to easily expose user and group folders both internally and to other collaborators. Most of the data exposed is plain HTML files, png, etc... in specific folders in the users home directories. Now, I would like to restrict the access to som... | FreeIPA uses Kerberos authentication, so it looks like you need to use mod_auth_kerb in Apache. It's available in Centos in the mod_auth_kerb package. The Centos wiki has a tutorial . | 0 | 1 | 503 | 2021-01-22T12:54:46.147 | api_errors | serverfault.com | |
408,610 | Should I perform some minor denormalization to save myself several queries in the future? | I'm in charge of designing the entire backend for the REST API of an application that works more or less like an online browser game (think OGAME, Travian, and the likes). In this game, players are able to loot procedurally generated equipment, like in Borderlands. This equipment can have any amount of bonii to all the... | To summarize Without trying to cause any offence, the issue that needs the most addressing here is your attitude towards development. I'm not accusing you of being malevolent or ill-intentioned, but there are some massive red flags going up in regards to how you're approaching the development of your game and how to fi... | 1 | 1 | 117 | 2020-04-10T02:03:37.280 | api_errors | softwareengineering.stackexchange.com | |
83,862 | Discrepancy between system catalog view and sp_change_users_login? | I want to check for orphaned users on a database. To that end, I use the following query on my SQL Server 2005 instance to get all users and their accompanying logins for a specific database (say MyDB ): [CODE] When I compare the results of this query with the results of [CODE] things do not seem to add up. The first q... | First, [CODE] is deprecated feature and is discontinued in SQL Server 2014. Secondly, [CODE] is not a proper way to get orphan users list. As with 'Report' parameter, it will execute following query. According to which it will return users where issqluser = 1 (It must be a SQl Server Login), and no result if orphan use... | 3 | 2 | 253 | 2014-11-28T11:05:50.187 | database_errors | dba.stackexchange.com | |
459,626 | What does this mean: "SATP VMW_SATP_LOCAL does not support device configuration"? | Can anyone tell me what this means in ESXi 5.1?: [CODE] I've googled it and I get a lot of results, but as yet all the pages that contain the string are discussing other matters. The storage array is a HDS HUS-VM and the hosts are HP b460c G8 blades with flex fabric and flex fabric VCs which I am in the process of comm... | This is happening because you have more than one path to the same disk, but ESXi doesn't support that using LOCAL. ESXi only supports other methods such as ALUA. If your array supports ALUA (for instance), you can manually tell ESXi just that: [CODE] Where model= is regex of the SCSI model name, and vendor would be, in... | 0 | 3 | 6,741 | 2012-12-20T10:46:20.750 | infrastructure | serverfault.com | |
400,818 | Puppet Agent still able to connect to Master after certificate revocation | In summary: Client connects for the first time and requests cert; on the Master, [CODE] is executed; Client gets the cert and completes the run successfully. Fine. But now: on the Master, [CODE] is executed and client's cert is not in the cert list anymore; Client connects again and can perform the run as usual; Restar... | First thing you need to do is to verify that the cert is actually revoked from the CA. Fire the following command to check that: [CODE] If you are sure that the cert was revoked then ensure that auto-signing is off. Not only the autosign file, check the puppet.conf also. You have to disable it. If you think that your i... | 4 | 1 | 635 | 2012-06-21T06:21:56.620 | pipeline_ops | serverfault.com | |
846,553 | How to ssh from shell script and execute for loop using global parameters? | What I am trying to accomplish is something like this. [CODE] Now the problem is with the [CODE] loop because it is executed in the remote host without [CODE] parameters and as it was a stand alone command as it should. I know why it is doing it but I don't know how to do this the right way? How can I execute that for ... | You don't have to use bash arrays for this, just use a space-separated list of servers: The [CODE] variable will be loccaly interpreted by your shell, and the script passed to 10.1.1.10 will be sent with " [CODE] " in its content. [CODE] | 0 | 1 | 2,887 | 2017-04-25T23:58:19.320 | infrastructure | serverfault.com | |
595,033 | nginx sending incomplete response | Without restart or modification of config, nginx is sending incomplete responses sometimes. Today, I could reproduce well, but still don't know what's wrong or how to fix. I put a 5MB file to the site's location/alias path that nginx is configured to use. There is no php5-fpm, modules etc. only nginx for serving static... | With a scenario as simple as this, I'm pretty sure you have a firewall, IDS/IPS device or something else in front of your nginx server disturbing downloads. If in doubt, contact your ISP. | 5 | 1 | 2,393 | 2014-05-14T12:26:38.050 | infrastructure | serverfault.com | |
1,156,725 | fail2ban bans IP addresses, yet they still appear in access.log | This is my filter: [CODE] and this the corresponding jail: [CODE] IP addresses seem to get banned: [CODE] Resulting in this iptables entry: [CODE] Nevertheless I constantly get entries by this IP in the nginx.log (timezones are the same on the host and in the docker container): [CODE] As you can see from the logpath ab... | Docker networking is set up in such a way that it bypasses normal [CODE] chains. [CODE] uses [CODE] chain but to filter docker traffic you need to use its custom [CODE] chain. See the documentation | 4 | 11 | 1,313 | 2024-03-22T09:41:00.750 | pipeline_ops | serverfault.com | |
249,571 | Authentication failed when deploy an Analysis Services project | I am getting the following error on Analysis Services project on Visual Studio 2012 and SQL Server 2014: The project could not be deployed to the 'MyServerName\InstanceName' server because of the following connectivity problems : Authentication failed. To verify or update the name of the target server, right-click on t... | Well after try a lot of things and post on microsoft forum The problem was I was trying to deploy from my computer to a server on another domain and need to use a domain account, doesn't matter if you can connect to SQL instance. I don't know why "Use services Account" didn't work. | 2 | 1 | 2,004 | 2019-09-25T12:42:43.627 | pipeline_ops | dba.stackexchange.com | |
1,038,606 | Fail2ban not finding or banning IPs | Fail2ban version v0.10.2 I have a simple jail that looks for a specific user agent. [CODE] The [CODE] file [CODE] A typical access log line from this user agent [CODE] [CODE] shows me it matches [CODE] Any idea of what could be wrong? My backend is pyinotify and time is correct. [CODE] Fail2ban log never says anything ... | It appears that my problem was related to the [CODE] portion of my jail. Observing the log hits, I realized they were more spaced out than fail2ban was detecting (1-2 minutes apart). I changed it to [CODE] , and it began banning. So, anyone out there having this problem, if the rest of your configs are correct, and you... | 0 | 0 | 434 | 2020-10-13T19:52:24.970 | infrastructure | serverfault.com | |
150,702 | Is hiring a "chief intern" a good idea? | I'm starting an internship program for our software department and I was wondering about creating a position ("chief intern", intern supervisor, or whatever one should call it) with the following responsibilities: Train interns Coach interns Manage projects and tasks for interns Supervise intern's work in terms of rhyt... | I'm uneasy about this, at the very least you will need a senior dev, acting as a safety net, making sure your 'chief intern' isn't 'the blind leading the blind'. Really I think you are best having your best people working with your interns, yes it means they will be slightly less productive, but your interns should bec... | 3 | 11 | 1,417 | 2012-05-29T15:49:07.353 | api_errors | softwareengineering.stackexchange.com | |
179,629 | How to avoid a subquery in FILTER clause? | Schema : [CODE] Notes : Value of [CODE] should be the same as first [CODE] for this person, regardless the [CODE] value. Query : [CODE] Goal : My goal is to see total number of applications vs number of first applications per day in particular country. By first application I mean a number of applications on particular ... | Several minor improvements: [CODE] [CODE] is always redundant noise since [CODE] never returns NULL to begin with. Just remove it. Related: Query optimization or missing indexes? The way you had it, you group and sort by the text representation of your [CODE] column [CODE] , which happens to work just fine. But it's mo... | 3 | 6 | 4,533 | 2017-07-12T08:05:45.980 | database_errors | dba.stackexchange.com | |
1,107,958 | openstack yoga volume creation fails | We are trying to create cinder volume. Cinder API accepts the request, but volumes are stuck in [CODE] state. This happens regardless of the backend used (i.e. also with [CODE] ). Seems like some timeouts happening between cinder api and the rest of the processes. How to resolve this? Any leads are highly appreciated. ... | Have you configured service tokens ? "For all OpenStack releases after 2023-05-10, it is required that Nova be configured to send a service token to Cinder and Cinder to receive it" To prevent long-running job failures: If the chain of operations takes a long time, the user’s token may expire before the action is compl... | 0 | 0 | 324 | 2022-08-11T14:50:37.607 | api_errors | serverfault.com | |
747,481 | GoDaddy A record and SSL Handshake error | I have pointed A record to my server IP in GOoDaddty as ns1.example.com and it is working.But I am confused with SSL error. I have generated SSL certificate with CN as ns1.example.com. When I try to connect to the server I get an error SSL handshake error . Is it like I need to setup DNS server on my server or it is ok... | It should be ok with above setting. Just make sure that you are reaching the correct IP (DNS being correctly propagated) and check with a DNS checker or openssl client the reason of the SSL hanshake error | 0 | 0 | 347 | 2016-01-07T20:00:36.863 | api_errors | serverfault.com | |
1,082,696 | tomcat9 shibboleth+mod_jk authentication forbidden | I have a Spring Boot application running currently under Tomcat 8.5 that has a shibboleth-based SSO integrated. Shibboleth and tomcat are connected using apache2 mod_shib and mod_jk, using default Debian 9 packages. I am now trying to upgrade the application's environment to Debian 10 (and thus tomcat 9), and most thin... | The AJP connector stopped allowing just any ol' request attribute to pass through in recent versions of Tomcat. The attributes that are passed through by default are described here: https://tomcat.apache.org/tomcat-9.0-doc/config/ajp.html#Standard_Implementations You can test if this is causing your 403 error by tempor... | 1 | 1 | 733 | 2021-11-05T09:59:04.843 | api_errors | serverfault.com | |
1,063,567 | Windows Update Servers returning Content-Length: 0 for certain networks | Would anyone know why a Windows Update server (ie: download.windowsupdate.com) would give what looks like a bogus reply on certain networks? Taking the example of a patch for MSE I get the following header using a 4G mobile network (Vodafone). I've chopped the response down a bit for brevity. [CODE] Note the invalid Co... | This appears to be a valid DOS type bug against Windows Update on versions of Windows prior to Windows 10. Reported to MSRC but report was closed so I don't see why I can't disclose. For those interested, report is duplicated at: https://github.com/conoror/wudos I can reproduce this easily (Win7 ESU June 2021) with mit... | 0 | 0 | 290 | 2021-05-14T16:33:20.343 | infrastructure | serverfault.com | |
80,120 | Recommend self-talk logger software or technique | I observed that discussing with your self about a problem is a fairly common practice. I find it is even better to write what you think. Not only it forces you to materialize your problem, but the written material can serve you as a log for future reference. I have been trying different ways to log my self chatter, I c... | Get a rubber duck . But seriously, don't overthink that, or you will lose the benefits of this technique. Also take into account that such journal probably won't be useful to anybody except you, so don't treat it as a substitute for comments, commit messages, and documentation. | 1 | 3 | 145 | 2011-05-29T14:17:32.150 | api_errors | softwareengineering.stackexchange.com | |
254,618 | Java: how can I make the return type, of an inherited method in a subclass, the same as the subclass? | I am rather inexperience in Java, and I'm having a problem in forming a subclass of a class I have created. The class I have made, called [CODE] , contains methods, such as [CODE] , that takes a [CODE] object as an argument, and returns a [CODE] object. This method in particular is designed to add two vectors, and retu... | Remember inheritance defines a "is a" kind of relationship. The code [CODE] tells the compiler that every Position2D is a Vector2D, but not vice versa. Check out the following examples assuming that you already made the above declaration: [CODE] A Position2D variable can never refer to a Vector2D object. If you try typ... | 7 | 3 | 33,331 | 2014-08-27T19:31:59.503 | api_errors | softwareengineering.stackexchange.com | |
259,476 | Apache2 error log says someone is messing with my server > should I take some action? | An example of my [CODE] : [CODE] The list goes on and on, it's huge . Should I take some action against this? Should I be worried? Should I ban the IP? | This is a program scanning for vulnerabilities. If your site isn't using a vulnerable framework/blog/CMS, then you probably don't have to be overly worried about it; if they didn't find anything, it's just a waste of resources. If any of the URLs it's tried match URLs on your site, though, then the scanner has done its... | 0 | 1 | 1,038 | 2011-04-13T23:59:46.740 | infrastructure | serverfault.com | |
196,346 | Restoring dump(backup): ERROR 1022 (23000) at line 44: Can't write; duplicate key in table | I'm doing tests to change a current table from my InnoDB database to Archive, but I had a problem trying to restore a dump after the change. After several tests, the problem is related to the value declared in the AUTO_INCREMENT attribute in CREATE TABLE. But this script is created automatically. How can I fix this err... | In the block you have added to your question it is clear that you create a table with ENGINE=ARCHIVE. The Archive storage engine in MariaDB (and the other flavors of the ecosystem) does not support indexes. The error you get is because of a UNIQUE/PRIMARY index reporting a duplicate. This means you are not restoring yo... | 1 | 0 | 1,247 | 2018-01-26T16:45:34.580 | database_errors | dba.stackexchange.com | |
803,117 | Nginx returning 404 on seemingly valid path | I'm trying to serve static files directly with a location block like this: [CODE] But when I make a request for anything matching /static/, I get a 404 error, and a message like this in the error log: [CODE] The thing is that the path given in that error message is completely valid. That file exists. It's not claiming ... | Figured this out. The distribution of nginx in OpenBSD defaults to chrooting into [CODE] , which denies access to the entire filesystem outside of that section. This can be circumvented by starting nginx directly with the [CODE] flag, or adding that same flag to the command in [CODE] . Alternatively, moving everything ... | 0 | 2 | 2,091 | 2016-09-14T20:51:13.970 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.