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 |
|---|---|---|---|---|---|---|---|---|---|---|
612,570 | partition turned read only after mysql crash | I am not able to write on a particular partition. The mysql data directory is hosted on that partition and it suddenly became read-only when mysql crashed on a query. [CODE] Is is possible that a partition may become read-only due to heavy query? | The issue is certainly the reverse. The IO error [CODE] will have caused the file system to be mounted read-only . You will likely see this in [CODE] further down. This is very likely to be due to a degraded disk or a firmware bug . | 0 | 0 | 467 | 2014-07-15T06:21:07.367 | database_errors | serverfault.com | |
398,384 | Cache Total Entries increase and decrease as a delta shape. Why? | My performance counter "cache total entries" "cache total hits" "cache total misses" keeps increasing and decreasing as a delta shape around every 1 hour.The decreasing is much fast than increasing. The "hit ratio" is stable and "total trim" keeps 0. Do you have any idea about what might cause this ? I tried to google,... | Overall, the general behavior sounds normal, since the three entries are inherently related. Total hits plus total misses should equal total entries. For normal usage, the hit ratio is probably going to stay steady, since that is the ratio of total hits versus total entries. Are you sure you're not just getting spurts ... | -1 | 0 | 376 | 2012-06-13T17:19:22.947 | infrastructure | serverfault.com | |
269,353 | Apache DAV SVN LDAP and AuthzSVNAccessFile | I am working on a project where I have an ApacheDS containing all users and their group memberships. Group memberships are stored both as member attribute for each group and I have made a schema modification so I also have a memberOf attribute on each user making it trivial to check group membership when doing authoriz... | Here's how I manage the repository access: Every repository has an "admin" directory, which contains the authz file I set up the authz file to limit access to the "admin" directory to the "owners" of the repository. I have a cron job check for changes in the "admin" directory, and copy out the authz file into the repos... | 1 | 1 | 5,208 | 2011-05-13T11:03:52.007 | infrastructure | serverfault.com | |
869,170 | Azure AD Connect Synchronization rule editor fails when adding new sync rule | If you have set up a fresh Azure AD Connect installation (latest version as of today), go to add a new inbound sync rule, and you get the wonderful error message "Object reference not set to an instance of an object", where should I look for the root cause of the problem? The client runs, I got no errors during install... | Looks like it was a bug in version 1.1.561.0 released July 23 2017. You just have to populate the "tag" attribute when setting up the new rule. see the below release notes https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect-version-history "Fixed an issue where new synchronizatio... | 1 | 1 | 1,756 | 2017-08-17T14:49:12.470 | infrastructure | serverfault.com | |
135,881 | Postgresql error: failed to re-find parent key in index | I have a Django app with a postgresql 9.3 DB (hosted on Ubuntu VM), and very recently the VM ran out of disk space (resulting in [CODE] errors showing up in my logs). I cleared the space on the device and everything came back online. But now, for a minority of my requests, I've started receiving a [CODE] alert, with th... | Your database is likely corrupted, especially the indexes. You can rebuild all indexes and check all tables on a database by: [CODE] | 4 | 8 | 8,134 | 2016-04-20T07:18:38.720 | database_errors | dba.stackexchange.com | |
742,061 | Supervisorctl error on Ansible: [Errno 111] Connection refused: file: /usr/lib/python2.7/socket.py | It seems there are some problems with supervisor floating around: https://stackoverflow.com/questions/18859063/supervisor-socket-error-issue I tried the solution by essentially adding the "config" file path to every supervisorctl call in Ansible, but to no avail. Can someone please help me figure out what could be goin... | Have you started supervisord prior to using supervisorctl? [CODE] | 0 | 1 | 1,596 | 2015-12-10T05:46:33.123 | api_errors | serverfault.com | |
131,149 | Statistics on filestream column | When I try to create a statistics on a filestream column, I get the following error message: Column 'MyColumn' in table 'MyTable' is of a type that is invalid for use as a key column in an index or statistics. This is documented in the BOL page for CREATE STATISTICS and it's not an issue. However, when I run a query wi... | If you have applied the latest update for SQL Server 2012 - Cumulative Update 2 for Service Pack 3 as at the time of writing - and the issue persists, you should open a support ticket, or report the issue on Connect. The underlying issue shares some common features with an existing report: String summary - slow statist... | 5 | 3 | 250 | 2016-03-03T12:00:21.337 | database_errors | dba.stackexchange.com | |
551,475 | Virtual Host Configuration and mod_rewrite - Removing PHP Extension and Adding Forward Slash | On my production server, things are fine: PHP extension removal and trailing slash rules are in place in my [CODE] file. But locally, this isn't working (well, partially, anyway). I'm running Apache2 with a virtual host for the site in question. I decided to not use the [CODE] file in this case and just add the rules t... | I changed this: [CODE] to this: [CODE] and now it works as expected... Here is the rule I went with to remove PHP extension: [CODE] | 1 | 0 | 2,513 | 2013-11-07T20:12:51.913 | infrastructure | serverfault.com | |
376,757 | Redundant code sent down the pipe with Micro-frontends | My understanding of Micro-frontends is that the key problem they solve is in helping enterprises have multiple, possible disparate teams, work on individual components/small-apps that will be used to compose a large web application. Here the key problem being solved is the ability of multiple teams to work independentl... | You're absolutely correct that there's a tradeoff involved here: you are trading in some aspects of the user experience to get a better developer experience (which in turn might improve the user experience in different ways). Is this worth it? It depends. E.g. I think Spotify uses this approach to split their UI into i... | 14 | 13 | 803 | 2018-08-12T14:45:56.327 | data_quality | softwareengineering.stackexchange.com | |
13,591 | AWS ElastiCache Redis DNS error - Name or service not known | The Problem & The Question I'm trying to create an AWS ElastiCache Redis-flavored cluster and connect to it from an instance in the same VPC. When I create the cluster initially, I can connect to it just fine via [CODE] . If I wait a day or two and then try to connect to it again via [CODE] , I get the following error:... | It could be due to a "VPC DNS throttling", you can find more information on the official documentation. https://aws.amazon.com/premiumsupport/knowledge-center/vpc-find-cause-of-failed-dns-queries/ | 1 | 1 | 2,790 | 2021-03-22T17:18:49.040 | database_errors | devops.stackexchange.com | |
310,801 | I am facing difficulties in backing up a database in MS SQL Server | When I try to backup a database, it is showing this message : to accomplish this action set property devices. (microsoft.sqlserver.smoextended) I cannot able to select the file location to backup as you can see in the picture that OK button is not enabled. I tried to change the permission of folders, but the permission... | I see you are using SQL 2019, not SQL 2022. I can see this from both object explorer and also from the backup path. The number 15 is for SQL 2019. SQL 2022 is still in private preview and not yet publicly available. I've included a screenshot of how to take a backup using the wizard in SSMS. The OK button is disabled u... | -3 | 2 | 1,571 | 2022-04-11T22:30:38.167 | database_errors | dba.stackexchange.com | |
73,282 | Bayesian optimization with Keras tuner for time series | Goal : trying to use walk-forward validation strategy with keras tuner for time series when training a neural network (mainly LSTM and/or CNN). Did anyone find a direct way of doing this? One possible way I can think of is: implementing a custom 'objective' function, e.g. 'mean squared error' using walk-forward validat... | I finally came out with a way to implement bayesian hyperparameter optimization for a time series neural network model using walk-forward validation. You can find a gist with the code here I used some helper functions for the walk-forward validation from this Jason Brownlee book It is basically as follows: original tim... | 1 | 0 | 2,358 | 2020-04-30T09:03:21.900 | data_quality | datascience.stackexchange.com | |
214,479 | Configure Apache to use SQL Server authentication | I believe it's possible to configure Apache to use SQL Server for authentication. You supply the DB connection parameters and a query to run. I suppose the contract is something like: If the query returns something the user is authenticated, and if the query results are empty, the user is unkown. Does anyone know how I... | I just figured this out for Apache 2.4 on Windows 2012. I think the changes would be minor for Apache 2.2. Uncomment the necessary LoadModule lines in httpd.conf: authn_dbd_module authn_dbm_module dbd_module Make an ODBC connection to the SQL Server: ODBC Data Source Administrator, System DNS, Add..., Fill in your spec... | 0 | 1 | 2,016 | 2010-12-20T15:59:24.060 | api_errors | serverfault.com | |
847,148 | configure postfix to catch all email for all domain and forward to local user | I'd like to configure Postfix (on Ubuntu) to catch all email for all domain and store them locally. I'd use it for testing. The application under test sends emails to random addresses (abc@abc.com, def@other.tv, and so on), and I'd like to check these emails locally (thunderbird). I already now that the following in ma... | I've found another configuration which works: specifying "mydestination" as a regexp table which accepts any domain. Main.cf: [CODE] match_all_destination_re (// matches everything, result is irrelevant): [CODE] I consider this solution more straightforward than Esa's "Overriding Postfix's built-in default transport:ne... | 1 | 2 | 3,439 | 2017-04-28T13:40:00.727 | infrastructure | serverfault.com | |
1,101,910 | Mariadb Galera Cluster Cannot Start Up | I built a mariadb galera cluster on CentOS7. Below is the galera node information: [CODE] However, [CODE] and [CODE] were unexpected stopped. I tried to restart mysql service on the two servers, but they didn't start up. Then I removed the wsrep_on=1 setting and restart mysql on [CODE] , it shows error as below: [CODE]... | If Node2 and Node3 were stopped, unless you changed something in the quorum weights Node1 will not be in good shape. I'd recommend you do the following (assuming Node3 is still down): Stop Node2 Stop Node1 Run as root on Node1: "galera_new_cluster" At this point you should verify Node1 is OK and formed a cluster by its... | 1 | 2 | 2,219 | 2022-05-27T08:38:52.453 | database_errors | serverfault.com | |
811,674 | Can an IIS server have too much memory? | I've seem some claims that Exchange ( link ) and Elasticsearch ( link ) can suffer from "too much" memory. I also read a vague hint in an old book that the same might be true of IIS: [T]he more [RAM] the merrier, at least to a certain degree. If you have too much RAM, the IIS file cache cannot use it fully. Therefore i... | There are a lot of things to consider. How much traffic are you expecting concurrently? How complex is you site/apps? IIS doesn't have much overhead the app/site will have the overhead. There really is not rule of thumb when it comes to how many sites/connections vs how much ram. On the database server however it is gr... | 11 | 10 | 1,535 | 2016-10-27T14:29:29.897 | database_errors | serverfault.com | |
90,803 | Index file growing endlessly - how to fix it? | I need to do some maintenance on a database on our client's site. Both log and index files were huge (Don't know how they took their backups to end this way) anyway I fixed the log file (.ldf) issue, log file is now merely a few megabytes (database is in simple recovery mode) The problem resides on the index file (.ndf... | You're confusing a few terms, I think. The ndf file is not an "index file", it is just another database data file to house the data. It sounds like you have two database data files (the MDF and NDF). With the size of your MDF being so small, my guess would be that your database has two different filegroups (the PRIMARY... | 1 | 3 | 1,714 | 2015-02-02T14:02:59.243 | database_errors | dba.stackexchange.com | |
545,567 | File Permission on /var/www/html | I changed the file permission. Now I am not able to access the website. nginx + php-fpm previously, [CODE] I read in internet, and then i changed the file permission. [CODE] After this, site is displaying 404 error. From the above setting i added nginx to the web-content group. Still not working. [CODE] Additionally, w... | Everything is right. Just the change the file permission to [CODE] | 0 | 1 | 2,659 | 2013-10-12T10:24:32.633 | infrastructure | serverfault.com | |
121,488 | Two mysql db's load the same data at two different rates | Any idea why this might be happening? We have the same mysql (*.sql file) data being imported into two virtually identical mysql databases every day, but one consistently takes 30% longer to load than the other. We're using the RDS system on Amazon's AWS. We have a "staging" db and a "production" db. The staging db is ... | It looks like it must have been the zone (sub-region) that was the issue. The slow loading happened when the EC2 container with the *.sql file was in us-east-1a and the RDS instance was in us-east-1b. | 1 | 1 | 41 | 2015-11-18T15:12:49.767 | pipeline_ops | dba.stackexchange.com | |
240,982 | Can JSP Expression Language provide type safety like scriptlets in Eclipse IDE? | Almost everywhere you can read that you should use EL instead of scriptles in JSP. And I agree that you should not use any JAVA code in JSP except for calling getter methods on model objects . This is quite obvious for me and I don't need any clarification here. But there is this one thing that I really cannot understa... | Every IDE has its good points and bad points. A primary good point of Eclipse is its price. There are other IDEs (such as Intellij ) that have comprehensive jsp aware features. Though there are ways around this by adding additional type information to the beans that should help in all IDEs. That said, the real question... | 0 | 1 | 1,034 | 2014-05-23T21:40:29.370 | api_errors | softwareengineering.stackexchange.com | |
451,064 | How to configure SAMBA file server to be a windows look-alike? | I'm using an openfiler appliance in an Active Directory (W2k8R2 DC) environment. I would like to make my shares as quite as possible look like windows shares for my users. Most things work well but some just drive me crazy. ATM my biggest problem is to make the ACLs as seen by windows clients clear: Windows ACL Editor ... | The Problem You are using POSIX ACL mappings for Samba's ACL handling. This is the default behavior (and has been for a very long time now), but if you want Windows-like ACL experience, this is Doing It Wrong since POSIX ACLs are missing a number of concepts and rights of NTFS ACLs so the mapping will always remain inc... | 4 | 1 | 2,872 | 2012-11-21T23:54:31.030 | infrastructure | serverfault.com | |
15,752 | How to run a gitlab child pipeline only on changes in merge requests? | According to the documentation, parent-child pipelines should work well with [CODE] - so i'm trying to setup a parent-child pipeline, where the child pipelines only run when something has actually changed in the sub-service. Using the following setup: main .gitlab-ci.yml: [CODE] service_a/.gitlab-ci.yml: [CODE] However... | Why are you using the same rules for both parent and child pipelines? You are just triggering the child service [CODE] So, just define rules on child pipeline... It will automatically trigger if any changes happen on [CODE] | 1 | 0 | 3,124 | 2022-04-07T10:40:37.647 | pipeline_ops | devops.stackexchange.com | |
1,029,015 | NGINX Reverse Proxy Subdirectory Only | My web application has a sub-directory, [CODE] , that I want to expose to the outside world as [CODE] . I've gotten half way there but I seem to be stuck. My requirements are as follows Redirect the site from HTTP to HTTPS. As I cannot edit the links the web application generates, I need to be able to accept requests f... | To me it looks you are mixing up redirecting reverse proxying. Redirecting is a server response to tell client to load another URL. Reverse proxying is telling the server to send the request to another server and return the response back to the client. The HTTP to HTTPS redirect should always be a simple redirect of th... | 2 | 1 | 11,540 | 2020-08-05T20:17:21.477 | infrastructure | serverfault.com | |
442,660 | AD: Domain admin needs elevation | I'm trying to change settings on my freshly installed server. I've added it in my domain but I cannot figure out why I keep getting messages like this: "The requested action needs elevation". The user I'm trying this with is Domain Admin, added in active directory and added to domain admin and administrators group If I... | The Built-in Administrator accounts on Windows 7 and 2008 R2 by default run always in privileged mode, while the accounts you create by hand and put in Administrator group don't they run as standard user if UAC and Admin Approval is on and you need to authorize privilege elevation by clicking Yes on the Consent UI or r... | 2 | 4 | 1,545 | 2012-10-26T12:28:12.767 | infrastructure | serverfault.com | |
165,272 | Sybase 15.0 : Improving simple insert/select speed | What are the ways to improve performance of the following procedure: Every day I take a datafile, bcp it into an intermediate table without indexes (so that data import is as fast as possible), and then move it to a second table which has a lot of complex indexes which guarantee data validity. Number of rows inserted e... | Use a (nonshareable) temporary table? | 0 | 0 | 909 | 2010-07-29T13:44:49.343 | database_errors | serverfault.com | |
431,574 | How to access shared folders over Windows Server 2008 VPN from Windows 7 client? | I set up a VPN on Windows Server 2008 through the Routing and Remote Access Features. My goal is simple. When I'm connected to the VPN, I should be able to access the shares by server name "\servername\" as thought I'm on the server's LAN and when I'm not connected to the VPN, I should not be able to access them. Unfor... | With the "Use default gateway on remote network" option turned off on the VPN connection (VPN Connection > Properties > Networking Tab > IPv4 (List Item) Properties > Advanced Button), you get what's called a "split tunnel". The way it's supposed to work is that instead of all your traffic going through the VPN, all yo... | 0 | 1 | 9,839 | 2012-09-24T23:26:58.367 | infrastructure | serverfault.com | |
176,763 | Why don't I get an index seek? | Working on SQL Server 2014 and trying to optimize a query. One portion of it is doing a table scan. I distilled the issue down to the simplest form. There is a field in a table (3rd party product's DB) that has no index and no PK. We frequently search on that field ( [CODE] ) [CODE] The exec plan recommends this: [CODE... | Your new index isn't covering the query as it's missing the [CODE] column from the [CODE] statement (which incidentally is also missing from the index definition). Recreate the index including the additional column and see if you get the expected behavior. My understanding is that it's using the index in the [CODE] cla... | 3 | 4 | 1,541 | 2017-06-20T13:23:27.573 | database_errors | dba.stackexchange.com | |
882,096 | What data is lost when migrating an ESXi host between vCenter servers? | I am getting ready to remove some ESXi machines from an older vCenter inventory and add them to a newer one. I'm trying to create a list of all data that will not make the migration. Reading through VMware docs, I have already found that historical performance data, distributed virtual switch configs, resource pools, a... | You should loose everything that lives in the vCenter- you already mentioned historical performance data, distributed virtual switch configs and VM folder structures. I'm not sure about resource pools... I think you will loose them if they are defined in a cluster (vCenter level!) but it's possible that they will survi... | 3 | 2 | 131 | 2017-11-06T16:28:05.597 | infrastructure | serverfault.com | |
343,364 | nginx process turn to D state when high load on same static file | I have some file hosting servers running nginx, serving static files which size average from 500MB to 6GB. The servers use Lustre1.8 as cluster filesystem. Files stay on some raid6 array with stripe size = 512KB. At normal situation, nginx works very well. _ The disk i/o : Device: tps MB_read/s MB_wrtn/s MB_read MB_wrt... | Your disk subsystem is unable to provide enough speed, that's why nginx is being locked on IO, because it's syncronous by default. You may try to use aio: http://wiki.nginx.org/HttpCoreModule#aio - it would be solution to worker processes locking, so all other requests that are related to proxying or other asyncronus o... | 0 | 1 | 1,869 | 2011-12-22T04:43:17.797 | api_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 | data_quality | serverfault.com | |
1,050,696 | Running kubectl commands as cronjobs in the Kubernetes cluster results in a connection refused error | When running a [CODE] command using the [CODE] image from inside a kubernetes (EKS based) cluster I am expecting the command to pick up the [CODE] and [CODE] environment variables and connect to the local cluster to run commands. Specifically I am using this to run some housekeeping [CODE] on the cluster but the contai... | The error message here is less than helpful, it implies that the issue lies with a misconfigured host and port for the cluster, but the root problem is actually a lack of credentials, despite the configured service account. To explain, the pod spec which is part of the job contains the automount_service_account_token s... | 0 | 1 | 1,629 | 2021-01-21T15:40:42.510 | pipeline_ops | serverfault.com | |
139,709 | mysqldbcompare giving Compare table checksum FAIL error | Running [CODE] on two test databases on same server. There is no data discrepancy in any table but showing following message which I'm not able to understand. Any help is appreciated. [CODE] | It means that the simple approach (table checksum) failed, but that the rows are identical, which is a pass. Since the row checksum takes a lot longer than the table checksum, you want to have table checksums pass as much as possible to avoid subsequent row checksums. | 2 | 3 | 660 | 2016-05-27T10:00:25.853 | database_errors | dba.stackexchange.com | |
338,182 | Comment on interface class and implemented class both? or interface class only? | Now I'm commenting on both on interface class and implemented class. But sometimes, I feel it's unnecessary commenting both. So I want to hear from Pros which is a better way? commenting on both? or only on interface class? Example) [CODE] | It depends... I always comment both and the vast majority of the time the comments are identical. PROs: When you dive into a concrete implementation that you didn't write it is nice to be able to get the context that the comments provide without running over to the interface. I am lazy and this saves me 2 seconds. CONs... | 2 | 3 | 3,556 | 2016-12-15T08:35:23.350 | api_errors | softwareengineering.stackexchange.com | |
188,420 | How do I remove IP from sorbs.net blacklist? | Our email server has ended up in the sorbs.net blacklist and we're going round in circles trying to get it removed, currently this is causing down-time between our suppliers. I am a developer and not familiar with Sorbs but asked if I could take a look at it. UPDATE : Our admins have determined that sorbs have resolved... | It would seem that SORBS is having a database problem right now, and is blocking a lot more than it usually does. This may be a transient issue: http://isc.sans.edu/diary.html?storyid=9685 | 11 | 4 | 81,365 | 2010-10-07T04:43:25.900 | infrastructure | serverfault.com | |
505,705 | Copy an Amazon EC2 Instance to use locally | Ok, so we have a spare server I have installed Debian Wheezy on, and setup Xen on for virtual machines. It has better performance than all our ec2 instances combined, and will cost less to run (for a few various reasons) I would like to get the EC2 instances downloaded to my server, and converted to run for Xen, but im... | Use the Amazon VM Export API to save in S3 an OVA version of your instance. Download it and restore it using XenCenter. | 2 | 1 | 2,865 | 2013-05-07T16:12:41.407 | infrastructure | serverfault.com | |
108,277 | How to create a model with mixed regression and classification output in sklearn | In sklearn, there are MultiOutputRegressor and MultiOutputClassifier. We can use them to output only regression or only classification, but what if we want to output a combination of regression and classification? Do I need to create separate models? In tensorflow, we can branch the architecture. I would like to do reg... | I see one possible solution using [CODE] (it supports scikit-learn API). Here the documentation explains how to create custom objectives . Assume that we have classification and regression objectives. If they are twice differentiable, we can implement their gradient and hessian functions and combine them into an overal... | 1 | 1 | 304 | 2022-02-18T08:17:12.303 | data_quality | datascience.stackexchange.com | |
344,510 | Tomcat 7: "Cannot locate Java Home" | Arch Linux. Servlet apparently had compatibility problems with openjdk so I uninstalled it and installed the plain jdk/jre from AUR. [CODE] Added [CODE] to [CODE] (and equivalent under [CODE] ), rebooted. [CODE] and [CODE] both return [CODE] , but still no dice. Why? | I solved this issue following this page: https://bugs.archlinux.org/task/24126 Basically you have to add these lines in your /etc/rc.d/tomcat7 file, below the line ". /etc/conf.d/${daemon_name}" [CODE] Hope this helps. | 0 | 1 | 6,163 | 2011-12-27T22:09:44.313 | infrastructure | serverfault.com | |
169,100 | Ubuntu - Unable to login to root via fresh install | I know my password, I used the same one for root as my personal user. This is my 2nd time reinstalling the OS because it won't let me login as root. Even when I login as my own user and then "su root" it won't take my password. Am I missing something that needs to be setup about the root user? | Seems like you are a hardcore redhat fan.root user is normally disabled in ubuntu due to security reasons. Look at the sudo concept https://help.ubuntu.com/community/RootSudo You can do one thing to make root user active type [CODE] It will prompt you for password. Enter your new password then you can try [CODE] this w... | 1 | 5 | 1,200 | 2010-08-11T01:25:54.000 | infrastructure | serverfault.com | |
268,811 | SSIS 2008 R2 performance and Windows 2008 R2 clustering question | I am testing different configurations for loading data from a remote SQL server using SSIS. In a clustered situation SSIS seems slower to speak to the local clustered SQL instance when compared to a non clustered local SQL instance. It looks like any scenario where SSIS speaks to a clustered SQL instance; the communica... | Your SQL Server does have a different IP address from you SSIS. The clustered SQL will alway get traffic from the "virtual network address", ip=101 in your case, even if it is being hosted on "Node A" and you have a program running on "Node A" , SSIS ip=100 in your case. That is the way clustering works. BTW the virtua... | 2 | 1 | 242 | 2011-05-11T23:44:44.400 | database_errors | serverfault.com | |
677,744 | Changing default UPN for iPhone/ActiveSync seamless Setup: any downsides? | Setting up a brand-new domain and want to achieve ActiveSync/Autodiscover Nirvana: no certificate warnings, no having to enter in Server Names or Domains, just pure Contoso-like buttery bliss. Have ad.mycompany.com as the current default UPN suffix; from what I've been reading, in order to have iPhones get added with j... | In general you will be fine. I'm not 100% sure if all possible UPNs work or just the configured suffix and the suffix matching the actual domain name of the domain, but both of those definitely will work for normal user logons (just tested on my domain). And that is the only possible pitfall. See: Why can a user log in... | 2 | 1 | 1,595 | 2015-03-24T01:46:47.473 | api_errors | serverfault.com | |
1,075,851 | Fully transparent reverse proxy | I'm trying to set up the following: [CODE] I want server 0 to act as a fully transparent proxy that only forwards the traffic. So that the clients don't establish TLS connection with server 0, but directly with server 1/2 and the HTTP-01 challenge based automated certificate generation and renewal on server 1/2 still w... | Edit: If you are concerned about the connection between your reverse proxy (that terminates the SSL tunnel) and the content server being unsecured, although this does work and is secure, you might be better off configuring upstream SSL or a secure tunnel like SSH or IPSEC between the content server and your reverse pro... | 0 | 2 | 3,824 | 2021-08-27T23:12:53.973 | infrastructure | serverfault.com | |
75,277 | Simple Query optimization using ORDER BY | The following is a simple query that is taking more than 10 seconds to execute: select * from inventory.asset ass where ass.product_id=83 and ass.expiry_date > now() and ass.status=1 order by ass.expiry_date ASC, ass.serial_number ASC limit 10 for update [CODE] EXPLAIN results: id, select_type, table, type, possible_ke... | You should add one of these two indexes: [CODE] This will help with the filtering. [CODE] This will help with the filesort. Only one of them can be used at a time, so add only the most advantageous. | 1 | 0 | 98 | 2014-08-29T04:39:56.247 | warehouse_errors | dba.stackexchange.com | |
200,279 | How can I stop continuous failed logins on SQL Server | I have a couple SQL Server Express databases running on Windows Server 2008 R2 on a VPS. A couple of websites access them (these are local connections, right?). Website connections use integrated security. I also connect using Remote Desktop. SQL Server Express is accessible remotely through 1 port (same as Remote Desk... | It sounds like those failed logins are coming from the Internet. You really shouldn't have a firewall port open to SQL Server directly from the Internet. That is just asking for trouble. If the website and SQL Server are not on the same network, or are connected only via the Internet, you should look at providing a VPN... | 5 | 18 | 3,314 | 2018-03-14T18:35:46.897 | database_errors | dba.stackexchange.com | |
881,950 | Google Cloud / GSuite DNS Record or Zone issue | To start: I have read through the Google Cloud DNS documentation. I have visited the "Creating MX record in Google cloud DNS" on this site. I believe I may have done something wrong when setting up the DNS Zone, but I am not sure. The Issue: I am unable to use my GSuite because it keeps failing on the MX record setup. ... | Just remove @ symbol from the MX record name - leave it blank. | 1 | 1 | 433 | 2017-11-05T16:12:23.747 | infrastructure | serverfault.com | |
302,427 | SQL Server 2017 AlwaysOn Failover Cluster issue | I have 2 [CODE] VM's running on [CODE] with VMDK's as the SQL disks. I have a SQL 2017 AlwaysOn Cluster running on Server 2012R2. there is no any running backup (SNAPSHOT) PROD : 10.10.22.1 and 10.10.22.2 HEARTBEAT : 192.168.200.2 and 192.168.200.3 file share witness already defined [CODE] get-cluster |fl history [CODE... | The errors are pretty descriptive. Usually this happens when network - whatever you put into this notion - physical hardware, or virtualized inside VMWare, or related drivers - are having issues and nodes are losing communication with each other. And/or fileshare witness is going down. This makes them skip the heartbea... | 1 | 0 | 994 | 2021-11-10T17:48:53.400 | database_errors | dba.stackexchange.com | |
153,677 | How do I upgrade django on ubuntu 9.04? | I've got Django 1.0.2 installed on Ubuntu 9.04. I'd like to upgrade Django, because I have an app that needs Django 1.1 or greater. I tried using pip to do the upgrade, but got the following: [CODE] It seems like it worked, but it refuses to remove the original Django 1.02, and sure enough: [CODE] The problem, apparent... | Doing this a little late, since Django 1.2 has been out for a while now, but I just removed the old install: [CODE] And then installed the new version of Django (1.2.3 at the time) using: [CODE] | 1 | 1 | 1,579 | 2010-06-22T17:06:16.120 | infrastructure | serverfault.com | |
28,574 | MS SQL Server 2005: Fatal error 823 | A MS SQL Server - Database that worked fine for the last weeks suddenly threw the following error: System.Data.SqlClient.SqlException: Warning: Fatal error 823 occurred at date / time Note the error and time, and contact your system administrator. What does this error mean, and what can i do about it? I tried [CODE] bu... | As Splattne said, 823 means there's an I/O subsystem problem. An 823 message is what I call a 'hard I/O error'. SQL Server asks the OS to read a page and it says no - this means the I/O subsystem couldn't read the page in question. The CHECKDB output means that it couldn't create the internal database snapshot that it ... | 2 | 5 | 23,433 | 2009-06-19T10:33:38.130 | database_errors | serverfault.com | |
1,364 | Safari test browser doesn't launch with Selenium RC | I've been dabbling with Selenium to do some testing on a site and I'm trying to set up RC so I can run tests in multiple browsers. I can run a simple test I put together in both Chrome and Firefox, but when I try to test in Safari, the test window never opens. Things just sort of just sit there, no error message given.... | I assume you are using Selenium Remote Control. From memory, it seems that there was an issue with Safari but I can't find it now. From the error message in the log it would appear that the connection has been closed before all the content was written. [CODE] This means the client closed the connection. In general, it ... | 4 | 2 | 1,160 | 2011-07-07T15:29:54.367 | data_quality | sqa.stackexchange.com | |
174,418 | How do I allow accessing COM components through IIS service? | What is the best way to allow a user connecting to an IIS service to run a process that instantiates COM objects? Running a COM-based process on the machine with an admin account works fine. However, hosting the application in IIS throws the following COM exception: Retrieving the COM class factory for component with C... | I found the solution. Many forum posts suggested it was a permissions issue. However, this link revealed it was an AppPool issue. It turns out, you have to configure the application pool to allow 32bit applications. Our server is a 64bit server. If you go into the application pool's advanced settings, there is an optio... | 1 | 1 | 448 | 2010-08-25T15:21:23.177 | infrastructure | serverfault.com | |
325,718 | Are recursions intrinsically less safe than iterations? | Java doesn't have a predefined recursion depth limit. As a result the recursion below (a dummy method that returns the value) throws [CODE] after 62844 (with static) and 14002 (without static) iterations. [CODE] I have two concerns: Iteration method works correctly for all positive int values, whereas recursion throws ... | Recursion limit hits are indicated by corresponding messages and a recursion can easily be rewritten as iterations. This makes detection and fix easy. Recursions are typically used in situations where the recursion depth is low. As Ordous pointed out -Xss parameter can be tuned to address borderline cases. Deep recursi... | 3 | 8 | 410 | 2016-07-25T18:31:31.097 | api_errors | softwareengineering.stackexchange.com | |
409,993 | How to handle failed API calls in C# | I built my API service and now I want to consume the information from a WPF application. So far I created the class [CODE] which initializes and provides the [CODE] used to call the API endpoints and the class [CODE] which exposes the methods to get the data that it retrieves from the API. [CODE] This is the service: [... | What I'd like to do is when the response has a status of 401 - Unauthorized, instead of throwing an exception or returning an object with an error message, the method should try to refresh the token (calling the appropriate method in another service) because it could be expired and just if the call fails again, throw t... | 4 | 2 | 6,399 | 2020-05-11T08:34:45.067 | hadoop_errors | softwareengineering.stackexchange.com | |
352,865 | How to make sure that each field's setter executes a specific code? | I am working with Java 1.7, IDE is Eclipse Indigo. I have a base class which has [CODE] as an int. It also has a boolean variable [CODE] ; I am setting it to true when an object is created with [CODE] . [CODE] Now for each class which inherits from the above class; I want each of their field's setter method to set bool... | You can achieve it with method template pattern , which makes your code "more elegant". [CODE] Subclasses would look similar to: [CODE] Don't pay too much attention to the method's name, I didn't know how to name it. The point is, the flag can be evaluated on the fly because it depends on whether the other attributes a... | 4 | 7 | 219 | 2017-07-16T03:43:30.123 | api_errors | softwareengineering.stackexchange.com | |
822,754 | Certain Nginx configurations are causing failure to start Nginx | When I try to enable either one the following settings, Nginx fails to start. [CODE] Nginx gives me the following error. [CODE] [CODE] gives me the following output. [CODE] I am using Nginx version 1.11.5 on Ubuntu 16.04 Edit: [CODE] output: [CODE] | Those two commands are in the module ngx_http_gzip_module, which isn't compiled into your version of Nginx. You'll need to get a different version or build it from source. I have a tutorial on building from source here for Amazon Linux / Centos, it's quite easy. The key parts are below. I've removed parts for cache pur... | 0 | 2 | 1,184 | 2016-12-26T16:13:01.457 | infrastructure | serverfault.com | |
127,923 | mysql workbench migration changed my database. Can I trust it? | I'm migrating a large production database(s) from mysql 5.5 to 5.6. Used Mysql Workbench Migration Wizard which creates a shell script to run on source and taget machines. The process worked well but there are major changes to the database: For example: Changed order of fields in primary key PRIMARY KEY ( [CODE] , [COD... | Seems you've found a bug in migration wizard, I follow your description and I was able to repeat issue on my machine. Can you please fill bug report at bugs.mysql.com ? Appreciate. We'll do our best to fix that isse. As workaround you can try this way - use Data Export to export only structure of your database. Run exp... | 1 | 1 | 490 | 2016-02-01T14:45:32.323 | database_errors | dba.stackexchange.com | |
627,674 | SMB Latency Issue with Multiple Users | We have a program that works by being shared over the network as a normal Windows Mapped Drive. You run the program from the mapped drive and it stores its files in flat file databases in that mapped drive and everything is supposed to work fine. In fact it used to. We ran it for many years on old hardware running Wind... | I deal with a similar application, and also encountered some sites with severe performance issues after upgrading from old XP hardware to new Windows 7 hardware, especially in the early days of Windows 7. The two things that have alleviated this in almost all cases are: NIC settings. Make sure all client workstations N... | 2 | 1 | 1,247 | 2014-09-10T21:39:40.210 | infrastructure | serverfault.com | |
786,858 | Windows 10 stalling print queue on Server 2012 | When our Windows 10 devices print from Microsoft Edge the print hits the Window Server 2012 print queue, and just hangs at printing/spooling. This goes on until I manually clear the queue, and restart the print-spooler. As far as I have seen, the only program with printing issues is Edge. Is this a driver issue? Where ... | As I suspected the driver was the culprit. I updated the driver and waited for a good time to test. After swapping the driver on the print server there were no more problems and the queue has not stopped since! | 0 | 0 | 570 | 2016-06-29T08:38:35.133 | infrastructure | serverfault.com | |
36,992 | Why would splitting up a query make it faster, and can I/should I fix this? | The following query is for a web-based game. It sets the [CODE] column to true for all solutions that tied the score for a given "map." [CODE] ( [CODE] will only be true for exactly one solution for each map) If I set [CODE] to be 1, 2, or 3 months ago, this query runs in around 0.1s. However, if I set it to 4 months a... | There is no direct way to tell MySQL to work on a single query "in chunks," since SQL is (primarily, at least) a declarative language ("platform, I need you to accomplish this end result") not a procedural one ("platform, I need you to process this data using these steps: for each..."). Memory might be your issue -- wh... | 1 | 2 | 2,135 | 2013-03-19T09:59:33.990 | database_errors | dba.stackexchange.com | |
955,544 | Forward and reverse proxy on the same port | I'd like to configure Squid 3.5 (or anything else that could do the job) to act as both a reverse proxy and a forward proxy on the same port. Leaving a port in the default forward proxy mode makes Squid return an error, when receiving a [CODE] request, as it expects to see a protocol and hostname. Configuring it in the... | To answer my own question, Apache's mod_proxy and its submodule mod_proxy_connect suit my needs perfectly. You can turn any virtual host into a forward proxy with SSL and authentication. Even if you don't want your proxy to appear as a web server, if you just want a forward proxy, I'd say it's easier to set up than Squ... | -1 | 0 | 791 | 2019-02-24T21:16:45.850 | infrastructure | serverfault.com | |
355,528 | What techniques to find exact spot of code in a fullstack environment? | I am working on a large J2EE application. I am not very familiar with front end development, and I am trying to trace through the entire application(not in one shot). I am looking at a test case right now and know how to create the problem (functionally) now I am wondering how to stop the code at this specific spot in ... | The typical solution with unfamiliar, large code bases is to "divide" the mass of code in two, repeatedly (binary subdivision). I put the word in quotes as it is not always easy to figure out how to divide the code. First you must be able to identify the problem in the debugger or via trace output -- not via a UI. Then... | -1 | 2 | 81 | 2017-08-11T19:26:48.413 | api_errors | softwareengineering.stackexchange.com | |
649,019 | Statistical information regarding scaling ElasticSearch | I have a set-up with several Logstash nodes sending input to ElasticSearch, and have a kibana server which allows me to visualize this. The current infrastructure is pretty simplistic and is on single node machines. We are looking to scale it out to a larger testbed. However, before investing in scaling out a large dep... | The case studies on elastic's site do have some numbers, for example from the data dog case study: At Stack Exchange we have found elastic scales very well (using for logstash, haproxylogs (~ 150 million log entries a day), and syslog/eventlog as well as the search for this site), but the first thing you need to do is ... | 0 | 0 | 244 | 2014-12-04T00:30:24.737 | pipeline_ops | serverfault.com | |
11,951 | Gitlab CI push to docker-registry fails | I have GitLab server and a separate [CODE] . I have created a [CODE] with a [CODE] . My [CODE] [CODE] When CI pipeline runs, I get following error. WARNING! Using --password via the CLI is insecure. Use --password-stdin. Error response from daemon: Get https://myregistry:5000/v2/: dial tcp: lookup worker1 on 192.168.12... | Are you sure that your registry is publicly available? Checklist: Check if the domain is reachable and responding the right IP address -- [CODE] Check if your port is open or not blocked any kind of software (let's say via firewalls or AWS security group) -- [CODE] Check if your registry is not restricted for a particu... | 0 | 3 | 489 | 2020-07-02T06:41:40.913 | api_errors | devops.stackexchange.com | |
235,960 | In APC+PHP, how much RAM is too much? Is it okay to set apc.shm_size to many GB? | On our server we have a LOT of RAM for our traffic levels (16GB). The HTTP processes regularly eat up all CPU and need to be restarted without even getting close to using swap memory, so I'm looking for ways to spend RAM to ease the load on Apache (and/or help the seperate MySQL server which may be breaking Apache). I ... | Having so much allocated is usually excessive. In this instance, you may feel you need to, because of all the different files. What may be more useful is to reduce the number of files that need to be cached by merging the Wordpress installs. In any event, if APC never reaches 1,000 MB used, having more than that is red... | 3 | 3 | 4,215 | 2011-02-15T22:46:22.063 | database_errors | serverfault.com | |
292,512 | Should I expect ICMP transit traffic to show up when using debug ip packet with a mask on a Cisco IOS router? | So I am trying to trace an ICMP conversation between 192.168.100.230/32 an EZVPN interface (Virtual-Access 3) and 192.168.100.20 on BVI4. [CODE] OK, so from my EZVPN client with IP address 192.168.100.230, I ping 192.168.100.20. I know the packet reaches the router across the VPN tunnel, because: [CODE] But I get no de... | Yes, it is possible to debug transit traffic. However, it will only show up in the debug it it is 'routed in software'. Traffic to/from the router itself automatically qualifies, but transit traffic is usually 'process switched' using 'fast switching' or 'Cisco Express Forwarding' and is never handled by the router CPU... | 0 | 1 | 3,517 | 2011-07-21T02:09:11.753 | infrastructure | serverfault.com | |
313,070 | Query to retrieve queries registers run by users in sql server database | I use a sql server 2019 and recently had a problem with the database tables and data. I'm want to set up a query that returns to me the last 10 commands executed in the bank with the priority of the runtime. Also, I need to see which user executed the command in the bank. I'm having a hard time riding the quesry. I'm a... | DMVs hold plans that are in the plan cache. They have no notion of order of execution (and it is tricky since you can have things running concurrently). You want to create an XEvent session to trace calls to the database/server instead. Query Store, when enabled, will give you an easier way to look at the queries it ca... | 0 | 0 | 87 | 2022-06-07T17:06:21.750 | database_errors | dba.stackexchange.com | |
298,765 | PHP not loading extensions | I have am running a local server with PHP 5.3.6, and Apache 2.2.19 running on Ubuntu 11.03. I build both Apache and PHP from source. PHP is working fine with Apache, however it seems to never load any extensions. I have uncommented the ones I want PHP to load, I have checked that PHP is reading the INI file, I have unc... | MySQL extensions come in separate packages: [CODE] This is what I have on debian (and it worked automatically after installing it via apt-get): [CODE] | 0 | 1 | 3,025 | 2011-08-08T07:52:31.947 | database_errors | serverfault.com | |
617,212 | Windows Server 2012 and recognizing RAIDed SSDs as an SSD | Problem: Because defragmenting is detrimental to SSDs and decreases their performance/lifespan, its important that modern OS's use TRIM instead of defragmentation. If an SSD is incorrectly recognized as an HDD in WS 2012, TRIM will not be used. Question: In Windows Server 2012, is it possible to modify disk types from ... | Just disable defragmenting for that drive. You can't enable TRIM for a RAID, that will instead be handled internally by the drive's own garbage collection/wear levelling. | 1 | 1 | 3,193 | 2014-08-01T14:25:24.957 | infrastructure | serverfault.com | |
121,623 | Move 53,800+ files into 54 separate folders with ~1000 files each? | Trying to import 53,800+ individual files (messages) using Gmail's POP fetcher. Gmail understandably refuses, giving the error: "Too many messages to download. There are too many messages on the other server." The folder in question looks like similar to: [CODE] Using the shell (tcsh, sh, etc. on FreeBSD), what one-lin... | It's not a one-liner, but you could copy chunks like this (in csh): [CODE] I'm not 100% sure that pipe will work with the number of files you've got, but it's worth a shot. Also, you might be able to do 500 at a time with this command, just change that 1000 to 500. | 2 | 4 | 1,048 | 2010-03-11T18:39:53.983 | infrastructure | serverfault.com | |
73,323 | Mysql INSERT INTO .. ON DUPLICATE KEY UPDATE | I'm trying to do the following query in mysql 5.5 [CODE] But this gives the error: [CODE] Edit for better explaining what i like to do: countingTable structure: [CODE] imageTable has the structure: [CODE] (imageTable is basically a referencing table for many2many relation) The countingTable already has rows referencing... | Use [CODE] . [CODE] expects a name from the columns you are inserting into, not the alias in the query. The query should be: [CODE] If you want the new values to be added to the existing ones, use: [CODE] | 5 | 7 | 13,092 | 2014-08-06T16:20:12.223 | data_quality | dba.stackexchange.com | |
891,700 | (11-Jan-2018) MBSA Detection for Specter / Meltdown Vulnerbility Windows Patch | so I'm running Microsoft Baseline Security Analyzer for Jan 18. I realize it does not flag out the KB required to address the specter/meltdown vulnerbility. The KB in question here is KB4056897, I realize the failure to detect could be due to the missing registry key as stated in the following link: ( https://community... | 1. Does all user need to include this registry key for MBSA to perform correctly? Even if the registry is to be set, it is to be done once per system. The registry which is to be set will be applicable system wide. Now coming to the point of setting up the registry; YES, you'd have to set up the registry either manuall... | 1 | 1 | 178 | 2018-01-11T09:13:07.670 | infrastructure | serverfault.com | |
914,607 | Naked domain redirect to www not working with https | http://zetetic.technology/ redirects to https://www.zetetic.technology/ just fine, but redirecting https://zetetic.technology/ results in "ERR_CONNECTION_CLOSED" in Chrome. My site is hosted by g suite, and my domain cname records are controlled by 123 reg. I have set the following cname records [CODE] Am I missing one... | It looks like whatever Google is hosting this on is not configured for SSL on your naked domain and as such is just closing the connection. I would be contacting Google support about this issue, as I doubt anyone in the public is going to be able to tell you what's going on. | 1 | 1 | 3,203 | 2018-05-31T12:29:27.850 | infrastructure | serverfault.com | |
137,069 | Programming *into* a language vs. writing C code in Ruby | Code Complete states that you should aways code into a language as opposed to code in it. By that, they mean Don't limit your programming thinking only to the concepts that are supported automatically by your language. The best programmers think of what they want to do, and then they assess how to accomplish their obje... | There is an even better approach: forget about your pathetic fixed programming language at all. Encode your problem in a language you've just invented, derived from the very terms of the relevant problem domain, encode it as naturally as possible, and only then think of implementing this new programming language or dum... | 10 | 7 | 788 | 2012-02-27T08:32:10.770 | api_errors | softwareengineering.stackexchange.com | |
644,847 | Emails sent from exim4 to gmail appear as read | Have an exim4 smtp server setup on debian jessie. When emails are sent to gmail domains, for some reason they do not appear as unread in gmail. It puzzling as this will only happen for some accounts, specifically for a couple of daemons that are sending out emails on a regular basis. I don't know if the problem lies wi... | The read/unread status of a message is not carried by any SMTP header. And there is no concept of "message flags" in SMTP (I cant think of any...). Exim4 being an SMTP server only, I seriously doubt it had anything to do with the described behaviour. Gmail's rules are probably the motte obvious culprit. | 0 | 1 | 58 | 2014-11-17T06:25:45.793 | infrastructure | serverfault.com | |
588,513 | Linux: Get information/stats about storage network | I want to know as much info as possible about the SAN a linux server is connected to. What commands will give me the most comprehensive view? Simply knowing the WWN of LUNS doesn't do much for me. I'd like to know make/model of SAN/disks (if possible), but more importantly speed and performance stats. What do you use f... | I'd ask the SAN administrator. It's easier than guessing :) I mean, fdisk and dmesg will give you manufacturer info. But the answer to this depends on the make/model of the storage array. NetApp != HDS != Lefthand != EMC Can you give some more info about what you want to know? If you need SAN specs and don't readily ha... | 0 | 1 | 381 | 2014-04-11T21:23:18.413 | infrastructure | serverfault.com | |
746,137 | bypass apache SSL and use tomcat instead | I don't want my clients to negotiate an SSL connection with Apache web server, I want them to do so with the tomcat server behind it instead. How can I do so? My current [CODE] configuration is: [CODE] It works, but not as I want. It seems the client is negotiating with apache, and apache web server with tomcat. (What ... | I don't think that you can do what you want with apache in front of tomcat. If you want tomcat to handle the ssl negotiation why not just use iptables to redirect traffic on 443 to its port (8443)? You could do that with a rule like (replace eth0 with your ethernet interface): [CODE] If you want/need to keep apache in ... | 1 | 1 | 889 | 2015-12-31T13:25:06.197 | infrastructure | serverfault.com | |
148,648 | MySql query slows down | I have a table ( [CODE] ) defined as: [CODE] with two indexes, one on sensor_id, the other on (sensor_id, recorded_at) and it uses InnoDB engine. Given a sensor and a datetime, I have to find the row with the maximum 'recorded_at' before that datetime. It can be solved with the following query: [CODE] and it is incredi... | Try this rewriting. It avoids the [CODE] and should be using the index on [CODE] for both the subquery and the join: [CODE] | 2 | 1 | 128 | 2016-09-02T10:23:59.487 | airflow_errors | dba.stackexchange.com | |
126,770 | MySQL Slave database size >> Master Database | I have a Percona MySQL Master-Master setup (5.6) with second master as passive master(read-only). Slave: [CODE] Master: [CODE] The size difference is massive. Is it something wrong with the setup which is running? What is wrong? | From the details, it looks like the 'massive' difference is ~70MB in the [CODE] schema. You can adjust your query to find out exactly which tables are different. Two potential reasons for this difference is: Schema difference on the master vs slave. Does the slave have utf8 instead of latin1 on a column or three? Does ... | 1 | 3 | 1,402 | 2016-01-20T17:58:13.403 | database_errors | dba.stackexchange.com | |
677,340 | Poor iSCSI performance with SSD disks and 10 Gbe network | iSCSI Target Ubuntu 14.04 (Trusty Tahr) with 16 GB RAM and 16 core CPU as LVM backed iSCSI target using three Samsung SSD disks, each capable of doing 65k IOPS using an LSI 6 Gbit/s controller with on board cache. Benchmark on SSD disk in target: [CODE] Where [CODE] is configured in hardware RAID 0 using three Samsung ... | Short answer: This is the results of network latency and a serial workload (as you imposed by using [CODE] , [CODE] and [CODE] ). Long answer: using [CODE] , [CODE] and [CODE] you created a serial workload, as new writes can not be queued before the previous write was committed and confirmed. In other word, writes subm... | 10 | 20 | 7,500 | 2015-03-22T10:17:45.000 | api_errors | serverfault.com | |
270,579 | SSH accepts publickey authetication but won't connect with an identify file? | Problem I recently switched to a new web server. I had been using identify files with SSH to connect on the previous server with no problems, but on the new server I can't seem to use an identify file to authenticate. It looks like it tries to read it, but then it just moves on to password authentication. I believe my ... | If you haven't done yet, add the public part of your key to [CODE] on the remote side. You can also check the content of [CODE] on the remote side for more details. | 2 | 3 | 1,384 | 2011-05-17T15:04:01.160 | api_errors | serverfault.com | |
1,010,231 | For client authentication, why a client can access a site by the openssl certificate, belonging to an other client? | In order to test 2 way authentication, I have created a CA certificate by openssl. Then I created two certificates for two sites ("a.com" and "b.com") as server side certificares. Also I created two client certificates (client "a" and client "b"). All these certificates are signed by the same CA. In client side, each c... | This is not a problem - this is by design. By installing your single CA certificate on both websites 'A' and 'B' you are instructing them to trust any client certificates issued by that CA. One way to make this work as you anticipate would be to have two different CAs - one for 'A' server and clients and another for th... | 1 | 0 | 41 | 2020-03-31T12:13:47.963 | api_errors | serverfault.com | |
345,492 | mod-redmine && mod-passenger: Passenger refuses to load (here: Redmine) after rewrite uri. Where to put RailsBaseURI? | i've a working Redmine-instance at /var/lib/redmine. (Redmine configuration is not the issue) [CODE] Tested with via http://here.comes.my.ip/redmine ... works fine for a test. But i have complacations with my servername to folder mapping (rewrite) and passenger. Here my default virtualhost (yes - everything in one vhos... | Ok found a solution, but it's not very dynamic :( I added [CODE] mod_rewrite causes a little confusion about executionpaths for passenger. PassengerAppRoot will fix this. ;) P.S.: Use just ONE way(uri) to reach your application - otherwise links will be messed up. | 0 | 0 | 430 | 2011-12-31T01:04:50.343 | infrastructure | serverfault.com | |
510,096 | Cannot Restart MongoDB 2.4.3 on Debian 6.0.7 (32-bit) | I installed MongoDB on a Debian VM using [CODE] from the 10gen repository. Some time after the install, I wanted to enable authentication in the configuration file, but when I ran [CODE] , it stopped and refused to start again. I am able to reproduce this reliably: every time I run [CODE] the server starts. However. wh... | I edited [CODE] to remove the [CODE] argument from the call to [CODE] and got an error with a stack trace. I can't post the full stack trace (because I can't scroll back in the terminal window to get it), but the last function call before the error was some function that has to do with getting the system language. I ha... | 2 | 2 | 440 | 2013-05-23T02:03:46.883 | api_errors | serverfault.com | |
264,899 | Creating/updating entity save strategy | Please note: although I'm talking about Java in this question, what I'm asking about here should really be language-agnostic. I am dabbling in OR/M for the first time, and have cooked up the following " update strategy " for all of my entities: All entity POJOs extend an abstract base class [CODE] that has a [CODE] pro... | It sounds/looks good, I would just offer these suggestions: Might want to include a timestamp in the [CODE] to resolve conflicts. For example, what if two people are editing the record at the same time. You can then develop conflict resolution strategy based on this value (last one in wins, etc.) Ideally every table sh... | 4 | 0 | 1,011 | 2014-12-08T17:39:46.137 | api_errors | softwareengineering.stackexchange.com | |
450,363 | Should I strictly use both DTOs and models in Angular project in order to follow best practice? | I was reading these best practices for Angular project specifically for understanding models and DTOs. What I have understood in general from different resources and the above one also is that We should have DTO to match exact response structure coming from backend APIs We should have model classes to use to show data ... | The point here is loose coupling: in your architecture with only one class used to represent both the API response and the user-facing data what are you going to do when: The requirements change for what is displayed to the user, but the API doesn't change? The API changes but the requirements for what is to be display... | 0 | 6 | 518 | 2024-01-02T06:02:51.283 | api_errors | softwareengineering.stackexchange.com | |
130,441 | Instance and database (Oracle vs SQL Server) | I have been using Oracle up to now, where: instance -> process + memory database -> physical datafiles Normally one instance maps to one database. Inside a database, there can be many tablespaces (system , users etc). However, I am not so sure about SQL server. It seems to me that for SQL Server, one instance = multipl... | I'm a DBA on Oracle and SQL Server. The confusion is due to a mismatch of semantic and an extra level in SQL Server's hierarchy but there's more than that! Note that we will talk only about single instance database in both instances (pun intended). Instances In Oracle, one instance will have an amount of memory allocat... | 8 | 19 | 24,647 | 2016-02-25T11:46:37.390 | database_errors | dba.stackexchange.com | |
1,092,672 | Forward UDP ipv6 port in a VPS to UDP ipv4 port in another VPS | I have VPS let's say VPS X that doesn't have IPv4 but only has IPv6. and I have VPS let's say VPS Y that doesn't have IPv6 but only has IPv4. Since IPv4 is still common used today, and some device unable to access IPv6. I want use VPS Y network card as an IPv4 for VPS X since VPS X doesn't have IPv4. I want UDP Port in... | Demand IPv6 from your IPv4 only hosting providers. (And all internet connections.) Native direct connectivity is easier to work with. You have IPv6 only infrastructure to talk to, and need it both directions. ssh forwarding is not an option for UDP. UDP proxy software exists, but does not solve the root cause. An IPv4 ... | 0 | 3 | 625 | 2022-02-04T15:04:46.470 | infrastructure | serverfault.com | |
6,945 | How do I shut down a Windows XP box remotely from a Linux box? | I have Windows XP running in virtual machines connected to my local network for testing purposes. The tests are done remotely. When finished, I want to shut them down remotely, from a Linux box. ETA: Note that the Windows box runs XP Home, so there are no security / group policies. For the Linux systems in the same set... | Windows XP Home does not allow network logon other than via the Guest account. So you have to enable it first of all. This gave me a new error telling me that the "logon type" wasn't permitted. Logon type was "code 3", which I found out to mean "network logon". Activating file sharing fixed this, but I have no idea why... | 4 | 8 | 6,729 | 2009-05-11T10:35:55.447 | infrastructure | serverfault.com | |
905,195 | How to connect to my desktop from Linux debian Azure VM, | I have a license server on a local desktop computer in my office; I should be able to connect to it thanks to its ip-adress and port. But it does not work. To understand why, I tried running command: [CODE] But I get the follwing message: [CODE] How can I make my Linux Debian Azure VM be able to connect to my desktop c... | According to your description, it seems Azure NSG or Debian firewall block it. Please check NSG settings via Azure portal, check virtual network NSG inbound rules and subnet NSG inbound rules. Also you should check Debian firewall settings, make sure port 11111 allowed in that inbound rules. | 0 | 0 | 110 | 2018-03-29T13:26:21.367 | infrastructure | serverfault.com | |
306,277 | Testing using mocking, must I mock all dependencies too? | I have the following method to test: [CODE] This is the unit test I created: [CODE] My intention was to have an hybrid approach, both mocking some objects and injecting others with Spring. However I noticed that as I mock one of the objects, I have to mock the others that follow as they depend on each other. So it look... | You should begin by moving from procedural programming, which your code currently is, to OOP. "I have objects," you may protest, but in fact your objects do not encapsulate anything. In a true OO world, your code should look like this: [CODE] The [CODE] method of [CODE] returns a [CODE] object, which already has everyt... | 2 | 4 | 3,626 | 2015-12-30T10:58:24.987 | api_errors | softwareengineering.stackexchange.com | |
920,034 | hp dl380p gen 8 bios | Sorry if this is a stupid question, but I'm not use to enterprise hardware. I have the job of patching one of our servers while our main person is out. I patched it, but the server wouldn't boot and after trying a few things I realized it was the bios and went into setup and told it to use the backup rom of the bios. I... | Not sure the underlying issue, but the answer to the question is yes the bios will be safe. When updating bios the active bios gets put in the backup bios and the updated bios is put in the current bios. When switching to backup bios it becomes current and what is in the current gets put in the backup slot. | 0 | 0 | 1,177 | 2018-07-08T23:24:24.210 | database_errors | serverfault.com | |
913,298 | Mount wp-content folder with gcsfuse | How do I mount a wp-content folder (wordpress) so the permissions stay in place and the web server can serve the files from the sub directory? Problem I am facing are: [CODE] wp-content folder everything is root and wordpress doesn't find theme folders fstab [CODE] correct users as owners but wordpress fails with a bla... | First you need to make sure the "user_allow_other" row in the /etc/fuse.conf file is uncommented. Then mount using --dir-mode and the option allow_other: [CODE] | 0 | 0 | 621 | 2018-05-22T18:10:26.843 | infrastructure | serverfault.com | |
896,114 | RRDTool Not Creating .RRD File | I'm setting up Cacti and it seems the RRDTool isn't creating the .rrd file. This is on CentOS 6.9. Here is what I've tried so far: Running the command as root to eliminate permissions. Running the same command on another machine that has just rrdtool installed. Creating a new directory /test with 777, and still same er... | [CODE] takes an existing .rrd and should create (using your command) a colorful png image. If you'd like to create a .rrd file, that'd be [CODE] maybe you're missing one more important setup step in cacti. | 3 | 2 | 6,662 | 2018-02-07T15:12:00.810 | infrastructure | serverfault.com | |
820,989 | Static resources can't be loaded, what's wrong in this Nginx setup? | In a Docker container running PHP71-FPM and Nginx I have the following setup for Nginx: [CODE] Accessing [CODE] shows up the [CODE] page but without styles or any JS file loaded. I am not able to find what's is preventing the static files to be accessed. Here is the output of [CODE] command in the host (remember this i... | Your application has been developed so that your document root has to be: root /data/www/demos/jqgrid; And then you would access the application with URL [CODE] . Why it has been developed like this, you have to ask the people who did it. | 0 | 0 | 157 | 2016-12-15T20:00:43.340 | pipeline_ops | serverfault.com | |
1,112,486 | AWX execution environment pip error ResolutionTooDeep: 2000000 | I've been building an execution environment for my awx for a while now and never got any kind of problem, but now I am trying to recreate the same EE I created 1 month ago, and it does not work anymore. It used to take just 15 minutes to build the container, but now it takes 10 hours to fail with the error: [CODE] This... | I've been having the same issue with ansible-builder and found that cryptography was causing the issue. Was able to build the container after removing cryptography from requirements.txt. It may also be worth removing the git declaration of ansible-builder from requirements.txt | 0 | 0 | 559 | 2022-10-07T11:39:58.840 | pipeline_ops | serverfault.com | |
440,798 | Git flow for multiservice monorepo | My project is a monorepo where the top level directory contains build infrastructure and a set of project directories for different services. Each service has its own branch of development. The branches have rc and release tags: service1-14.0-rc1 for the first service and so on. The issue is the build infrastructure th... | In a comment you wrote "Each branch changes a few lines in a Makefile" I think there is your problem. Create one makefile which allows to build each product/platform individually, maybe by calling "make platform1", "make platform2" etc. Proceed the same way with other shared components - make sure they don't differ bet... | 3 | 2 | 786 | 2022-09-02T17:58:01.787 | api_errors | softwareengineering.stackexchange.com | |
272,891 | Sharing dependency configuration over multiple projects (Maven) | From a big SVN repository we want to switch to Maven/Gradle for handling dependencies so that programmers can work with a single project without checking out the whole thing. We are writing plugins for a server (its interface). Some of our plugins depend on other plugins that are also installed on the server. So our pl... | If I understand your situation clearly, it seems like you have many A type Maven artifacts, and these mostly all define a dependency to a few B type artifacts. The A type artifacts are product of your development Group. The B type artifacts that A depends on are from an external Group. Your runtime environments for A t... | 2 | 4 | 4,590 | 2015-02-11T16:17:22.637 | api_errors | softwareengineering.stackexchange.com | |
716,391 | Multiple Puppet classes need to access a resource and append a value to it, so another class can iterate through it after other classes are evaluated | I'm relatively new to Puppet and have recently inherited a very large infrastructure (Puppet 3.6 on a number of RHEL 6 machines). My Puppet infrastructure looks a bit like this: I have my_module::mysql, which and installs and configures MySQL (based on parameters passed to it from Dashboard or other classes that includ... | You should Manage the config file using a concat module. Make each instances of [CODE] create a virtual concat snippet Have [CODE] realize all those virtual snippets This might well be sufficient to solve the whole problem. | 1 | 1 | 331 | 2015-08-24T18:02:50.617 | hadoop_errors | serverfault.com | |
356,292 | Is it possible to ship libraries with code? | Is there any way to safely include libraries (either internal or external) in the directory of a project (say in a lib/ folder) when you ship or release code? As far as I can see it would be a lot easier if the library files the application depended on were placed there; that way, other people wanting to use the code w... | If the dependencies are popular (such as ffmpeg), they can usually be deployed through [CODE] or [CODE] . This is a de facto standard way of deploying dependencies, and have a benefit of being scriptable (so you can include a script within your source which installs those dependencies). If the dependencies are not so p... | 0 | 1 | 930 | 2017-08-25T20:22:02.127 | pipeline_ops | softwareengineering.stackexchange.com | |
225,008 | Mysql: Count, Group By, and limiting to first instance of an ID | I am trying to write a query to generate a report of sorts and I'm stuck on the logic of it. The summary of it is: I need to select the count of [CODE] , where [CODE] is 'invoice' AND [CODE] = 'new', grouping by [CODE] that occurred between two dates based on the [CODE] column. However, I need to make sure that when I'... | It takes 2 steps: [CODE] (Possibly the [CODE] can be removed.) | 1 | 0 | 1,684 | 2018-12-14T14:47:59.733 | database_errors | dba.stackexchange.com | |
35,592 | Database mirroring - link failure between principal and witness | I am using synchronous database mirroring with a witness and am testing the various failure scenarios and the impact on the mirroring session, such as whether failover occurs. Starting with the principal, mirror and witness all being connected I break the link between the principal and witness (using some hackery with ... | The problem is that the principal became disconnected from the witness server before it went offline. In this case, the witness cannot agree that the principal is offline because it was disconnected while the principal was still connected. As far as the witness knows, the principal may still be up. In this scenario, it... | 3 | 2 | 4,079 | 2013-02-22T14:46:25.273 | database_errors | dba.stackexchange.com | |
626,441 | Apache fast-cgi and php-fpm - Run PHP File as the owner | I am trying to setup FastCGI and PHP-FPM so that a php file can be executed as the owner of the file. I am trying to replace SuPHP with FastCGI and fpm. Earlier, I had folders with different owners and groups. Each group had www-data as a member as well. When any php file was run using the browser, it was run as the ow... | Yes, this is perfectly possible. User and group can be set in the FPM pool config (directives [CODE] and [CODE] ). Check http://php.net/manual/en/install.fpm.configuration.php for more information. | 0 | 0 | 2,226 | 2014-09-05T08:58:00.233 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.