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 |
|---|---|---|---|---|---|---|---|---|---|---|
857,528 | Part of LAN network connected to 1 switch freezes up periodically | I'm managing an office network which is spread across 2 buildings. (see network setup below) In building 2, we are getting a problem where the network slows down and then completely cuts off. The only way to bring it back is to power cycle the switch, then before it slows down again, go into the GUI dashboard and power... | First off: I believe Netgear Prosafe switches are like HP procurves, and have a limited lifetime, advanced replacement warranty - it may be worth logging the call with them as intermittent switch responsiveness (Especially if you can't get to management page when plugged in directly - see below), get a replacement in, ... | 0 | 2 | 1,742 | 2017-06-23T14:08:03.927 | bi_errors | serverfault.com | |
181,894 | Joining Table Logic | So i have this four table userId,ApplicationNo,AttachedNo,RequirementNo now the only given data is userId 20170001 how can i join the tables and get all of their data? Model: [CODE] Controller: [CODE] Filtered the ApplicationNo here and resulted to null data SQL: [CODE] | From a SQL perspective, it looks like the query you're trying to create would be: [CODE] Note: table aliases ( [CODE] , [CODE] , [CODE] ) used for readability; the actual query would not have the aliases, and would use the full table names wherever I'm using the aliases. Also, [CODE] wouldn't be in the query, that's ju... | 0 | 2 | 60 | 2017-07-26T18:43:02.403 | warehouse_errors | dba.stackexchange.com | |
545,757 | Nginx erorr_page on proxy_pass? | Does the built in error handling in NGINX support proxy_pass or upstream servers? I have tested with variations of error_page 404 /404.html and then location to my static files, however no luck. The weblogic server downstream is presenting a 404 in the response, but nginx seems to be unable to see this? is there a way ... | You'd need to use [CODE] to do what you'd want to achieve. Ref: https://nginx.org/r/proxy_intercept_errors . Here's the direct quote of what this directive does... Determines whether proxied responses with codes greater than or equal to 300 should be passed to a client or be redirected to nginx for processing with the ... | 2 | 2 | 846 | 2013-10-14T03:27:28.470 | infrastructure | serverfault.com | |
585,044 | squid cache shutting down error | I am not a squid expert and I would like to ask you for your opinion. I have gateway running debian 7.1 wheezy with Squid 2.7.STABLE9-4.1 installed. Then I have a server running Windows 2000 (this one resides in local network). On this server our accounting website is running. Finally I have Ubuntu (13.10) workstation ... | you have [CODE] that is a request to server1 on port 82, but in squid config [CODE] says to deny access to any other than safe ports. Add port 82 as safe port also and squid -k reconfigure or restart squid. | 0 | 0 | 1,448 | 2014-03-28T01:03:10.930 | infrastructure | serverfault.com | |
325,259 | MariaDB: Large INSERT SELECT query failed without generating an error | I have a large complicated neuroscience dataset that I am attempting to organize in a database for concurrent and consistent access with my lab. This is my first foray beyond much smaller experiments with SQLite, and I have bitten off more than I can chew. The primary table that contains the neural recordings has ~10 b... | Why might this query have failed? (The error log files were silent during the relevant time window.) It's possible that you might've hit the statement level timeout that's controlled by [CODE] . The fact that the [CODE] output shows the status as [CODE] could point to this as being the reason. It might also be a timeou... | 1 | 2 | 252 | 2023-03-27T15:40:56.280 | database_errors | dba.stackexchange.com | |
177,341 | SQL server corrupt page | i am getting the following error when i try to select data from a table. SQL Server detected a logical consistency-based I/O error: incorrect pageid (expected 1:6380; actual 0:0). It occurred during a read of page (1:6380) in database ID 16 at offset 0x000000031d8000 in file 'C:\Program Files\Microsoft SQL Server 2008\... | The database is corrupt - bad storage medium. Bad news. Well, thi is why there are backups, incremental log backups, log file shipping, mirroring. Hope you used any of that. Last chance: script a full data export, delete database, create new database, load data into database. | 0 | 1 | 2,642 | 2010-09-02T13:50:45.853 | database_errors | serverfault.com | |
3,136 | What is the best strategy for backing up my data | I have a home computer with 80GB hard drive. Its seperated into two logical drives one just with data (which is 50 GB) i have it backed up to an external hard drive daily (external hd has 500 GB) is there any other risks that i might be missing in terms of losing my data? | I'm using Windows Home Server and loving it. All backups are differential, but restores are complete. Duplicate files across multiple computers are only backed up once. Good health monitoring. | -1 | 4 | 366 | 2009-05-02T16:04:46.557 | api_errors | serverfault.com | |
698,547 | High on %wa from top command, is there any way to constrain it? | Here's my last top info before it stucks: [CODE] As you can see, since I've launched about 2000 processes executing [CODE] command, %wa is very high. I limit memory and cpu in [CODE] , will it be helpful if I limit disk IO, too? If so, could anyone give me some idea on how to do that in [CODE] ? Thanks in advance. | You don't have enough RAM to run these 2000 processes. We can see here that you have used all of your 64GB of RAM, and are also using an additional 17GB of swap. Your server is thrashing , trying to swap data in and out, valiantly trying to let each of those 2000 processes do something. But of course it's not working. ... | 0 | 4 | 3,914 | 2015-06-12T10:46:34.600 | infrastructure | serverfault.com | |
1,018,152 | How to setup Single Sign On for IFS | Does anyone know how Windows/IBM i determines if Kerberos should be used when access an IFS folder via Windows File Explorer (e.g. \MYIBMI)? I've our IBM i EIM configured to do Single Sign On using our Windows network login. For the ACS 5250 session, I simply change the connection to use the "Use Kerberos authenticatio... | It turns out that the issue with those users that are still being prompted for user ID and password when accessing IFS was caused by their IBM i credentials were saved in the Windows credential manager. So, below is what we did to get sso working for them: -> Open Windows Credential Manager -> Under the Windows Credent... | 0 | 0 | 387 | 2020-05-21T20:25:21.713 | api_errors | serverfault.com | |
570,331 | DRBD vs. GlusterFS for replication | I need to build a solution to host internal git repositories. It needs to supports hundreds of thousands (or more) repositories. I plan on using multiple "dumb" servers with a shared storage, so basically when a client is trying to access a repository - it will be redirected by the load-balancer to any of the available... | This is a classic scale-out use case, and IMO GlusterFS should fit the bill. You can give it a try - just bring a few VMs up, set up a few bricks to be used for repository storage and run a stress test. DRBD is not an option here anyway - it doesn't scale. If anything, I'd look at other object storage projects (Swift f... | 7 | 5 | 22,094 | 2014-01-28T05:00:51.903 | database_errors | serverfault.com | |
36,029 | Multithreading: chromedriver does not open url in second window | Java code in thread function, [CODE] and create object and start in thread with following code [CODE] Two different profiles have been created, code works well with single thread but with multiple threads it does not open google website in two separate windows, it says: [CODE] It opens google in only one window. The wi... | [CODE] Here you create [CODE] but start [CODE] the second time then (you have started it two lines of code before) | 2 | 4 | 1,197 | 2018-10-14T20:02:01.523 | data_quality | sqa.stackexchange.com | |
12,400 | Need help in restore some rows into mySQL database frm myd myi | I am using one mySQL database for several sections of the website and one of the section is not working, when I go to the link of that section it gives the error "1146 Error @ Line 39: Table 'database_name.table_name' doesn't exist" I logged into PHPmyAdmin and in the list of raws the "table_name" is missing, seems lik... | In order to restore the MyISAM called [CODE] into [CODE] you must do the following STEP 01) Run this query : [CODE] This will tell you what the base directory is for data. For this example, let's use the default (/var/lib/mysql) STEP 02) Copy table_name.frm to /var/lib/mysql/database STEP 03) Copy table_name.MYD to /va... | 2 | 1 | 1,426 | 2012-02-07T00:10:13.927 | database_errors | dba.stackexchange.com | |
479,074 | why is stunnel doing this | I am trying to setup stunnel to encrypt traffic from rsyslog (using the relp protocol), but whenever I try starting stunnel and sending logs to the remote server, i get the following: [CODE] over and over again in rapid succession, would anyone know how I could figure out what is causing this to happen? I've been tryin... | ok, after much cussing and fruitless searching on google, I was able to find out what it was. Not sure if I was just being an idiot, or if this is something that is normal, but the remote server was listening on a port (say for 60000 for instance) but for some reason, even when I had told the client to connect to 60000... | 3 | 1 | 13,868 | 2013-02-15T01:02:55.533 | infrastructure | serverfault.com | |
479,378 | Can't connect to SQL Server 2005, even with local Server Management Studio | After setting up a second network adapter in the process of adding some SSL'd sites to ISS, my instance of SQL Server 2005 is no longer accessible - including through SQL Server Management Studio. The specific error I receive is: [CODE] I've verified the following: TCP, Shared Memory, and Named Pipe connections are ena... | You can start SQL Server in single user mode and connect to it that way. Assuming your problem is authenticated-related (I'm not sure it is) this will get you in. Edit: Let's try this. Have a look at SQL Server 2000 installation or local connections fail with "SSL Security error :ConnectionOpen (SECDoClientHandshake())... | 1 | 2 | 1,222 | 2013-02-16T00:31:22.543 | database_errors | serverfault.com | |
778,842 | Google Cloud SQL authorize Auto Scale Instance Groups | I have an instance group set up with Auto Scaling and Load Balancing. I'm also using Google Cloud SQL for the MySQL server. Whenever instance group scales up and adds another instance, the instance gets a new IP address. The problem is that this instance no longer has access to the Google SQL instance (since the SQL in... | As already mentioned by @justbeez, I believe the best way to go is using second generation instances and Cloud SQL Proxy . In case this is not possible, first generation instances can be setup to only allow SSL connections and whitelisting any origin as explained here . A more complex approach would be to create an ins... | 4 | 6 | 3,256 | 2016-05-25T00:14:14.337 | database_errors | serverfault.com | |
207,485 | Best approach for querying multiple tables | In SQL Server, I have a table, let's call it Source . The structure is [CODE] and so on. ID is a primary key and SourceValue is not unique. I also have several other tables which have SourceValue s in their records. As it's not unique, there is no Foreign Key constraint. This column also isn't UNIQUE in other tables. F... | This seems a nice case to use an Indexed View . With the indexed view, you will have a index on [CODE] and the [CODE] (now [CODE] ), will be materialized. Your query will run very fast. Try to check the following script using indexed views. It should simulate the problem. [CODE] Please also check: Create Indexed Views ... | 4 | 0 | 238 | 2018-05-22T13:35:08.870 | database_errors | dba.stackexchange.com | |
88,968 | DELIMITER issue in MySQL 5.6 | [CODE] this code is working in innodb_version 5.5.34 but not working innodb_version 5.6.21.......any clue, where I am doing mistake??? error - #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DELIMITER' at line 1 | When creating a Stored Procedure, you do not need [CODE] . I have never used it for Stored Procedures. No one should have to because Stored Procedures are stored in a MyISAM table ( [CODE] ) Please remove the [CODE] before the [CODE] and try again. I would also change line to say [CODE] and the end clause to [CODE] and... | 1 | 1 | 10,693 | 2015-01-09T19:45:20.467 | database_errors | dba.stackexchange.com | |
910,246 | ESXi 6.7 any settings I make are disabled after reboot, also passthrough not working | Noticing none of the settings in an ESXi 6.7 installation are surviving reboot. I created the USB with a stock installation ISO like always, downloaded from the VMWare website. Just used the USB key like a normal drive. Have been doing this for several years now. Been using ESXi since version 5.5. Have had a FreeNAS VM... | I wanted to follow-up on this and how I got it solved: Well, not sure I really solved the issue itself, I just gave up on the whole thing. I re-installed ESXi by getting the 6.7 ISO and using ESXi to make fresh boot USBs for my three servers - something about running the updates wasn't taking, especially with one syste... | 2 | 1 | 2,549 | 2018-05-02T00:19:05.153 | infrastructure | serverfault.com | |
172,332 | Why are Solaris logins slow when remote storage server NFS mounted? | We've got a curious problem with one of our Solaris (10, U8) servers. If we have our extra storage array mounted via NFS, the Solaris user logins are exceptionally slow. Unmount the storage device and user logins get real fast again. Anyone ever encounter anything like this before? I've got other Solaris 10 servers els... | The login process might spend a lot of time in the [CODE] check if quotas are enabled on the NFS filesystems. | 4 | 6 | 4,921 | 2010-08-19T13:25:09.580 | infrastructure | serverfault.com | |
46,685 | Python & Pandas : TypeError: to_sql() got an unexpected keyword argument 'flavor' | I want to store JSON Data into MySQL Database using Python. I used [CODE] of [CODE] . I found that [CODE] can do this job easily. Python Code: [CODE] Output: [CODE] I got this error message. How to resolve this error? | Based on the documentation 0.22 and 0.24.1 , the flavor does not exist in the argument list of the [CODE] method. You're probably running the [CODE] version which does not need [CODE] argument. | 5 | 7 | 11,261 | 2019-03-05T06:44:17.340 | database_errors | datascience.stackexchange.com | |
251,116 | How to communicate side effects in a RESTful API on the server to the client? | I have been thinking a lot about Hypermedia REST-APIs for the last couple of weeks. One thing I am not quite sure about is how I want to model side effects on the server side. In my current project, I am using JSON+HAL as the content-type, and am making use of links and embedded resources. For example: Let's say some r... | So now I found out that you can actually signal changes in the link relation types. The RFC for link rels allows you to specify more than one link relation per link: [CODE] In this case the [CODE] rel notifies the client that the resource behind that link has changed and should be refreshed. | 0 | 1 | 992 | 2014-07-25T10:13:38.293 | api_errors | softwareengineering.stackexchange.com | |
847,892 | 19,000 failed root password attempts in auth.log in 2 days? | I was debugging some login issues and happened to notice a lot of failed root password attempts in my /var/log/auth.log This is a VPS Linode. I grep'd to find 19K attempts in the past two days. I know I'm supposed to move sshd to a different port, but it seems like a pain to remember and use, and a bunch of scripts wou... | Trying to block specific IP ranges from brute force attacks is not the ideal way to approach the issue. There are a number of botnets and servers constantly scanning the internet and attempting to compromise servers and devices. It would be extremely inefficient to attempt to block out the traffic, so your best option ... | 2 | 3 | 8,989 | 2017-05-02T23:01:26.983 | api_errors | serverfault.com | |
1,099,228 | Are security updates applied with `dnf update` or is it separate procedure in Linux? | I found this vulnerability with [CODE] . It was found in Jan 22. How does keeping Linux updated security wise works in general? If I run [CODE] on CentOS9 - will it fix it? Or shall I look into each and every vulnerability myself and fix it manually? | It should fix it. Errata are of three types: bug, security and enhancements. with dnf update, you will get all of them. You can filter as well; for e.g., to check only for security updates, run: [CODE] and you can apply them with: [CODE] | 1 | 3 | 217 | 2022-04-22T15:25:18.193 | infrastructure | serverfault.com | |
975,629 | Docker Linux network topology using route tables and arp | I'm working with a network of docker containers. C1's routing table is below, it's default gateway [CODE] is the docker bridge. It's eth1 interface is connected to eth2 in C2 and it routes all destinations with a prefix of 192.1 to eth2 in C2. [CODE] C2's routing table is below. It is connected to C3 between eth3 on C2... | You can achieve it with [CODE] functionality. When the proxy-arp is enabled on C2, it will answer the ARP requests with own MAC address in the ARP Reply. This is what you want. To enable the proxy arp on [CODE] interface of C2, you need run [CODE] To enable on all interfaces run: [CODE] To make this change permanent, y... | 0 | 1 | 1,732 | 2019-07-17T16:07:43.800 | pipeline_ops | serverfault.com | |
473,152 | Server won't respond to requests from a different subnet | This looks to me like a poor question, but I'm stumped. I have a Win2k8 R2 server that I had to move. It now resides on our 192.168.1.0 subnet, Everything seems to be fine within that subnet. It's Roles are DC, DNS, and Remote Desktop. All services are working for any client on the .1.0 network, but no requests get a r... | Sometimes you just have to walk away for five minutes, have a cup of coffee, and realize that your AV software is blocking it. Kaspersky's enterprise version (new to me) blocks ping and RDS ports by default, along with a host of others. The odd thing is that it doesn't block them from the same subnet, a function of the... | 2 | 2 | 2,420 | 2013-01-28T18:01:31.800 | infrastructure | serverfault.com | |
278,930 | Incorrect relationships formed in EER diagram by reverse engineering the database script | I have a database with 6 tables. I tried to view the relationships between the tables by using EER diagram. I observed that all the one-to-one relationships were converted into one-to-many relationships. To be double sure, I started with a new EER diagram, made all the tables and assigned the relationships. Then I forw... | The relations, as implemented, are not 1-1. So the tool is correctly showing those as one-to-zero/many, because they are. For example, the data model would not prevent me from assigning more than one [CODE] to a single [CODE] . [CODE] The correct way to implement 1-1 relations (non-exclusive subtypes in your example) i... | 2 | 3 | 1,016 | 2020-10-30T12:36:00.183 | database_errors | dba.stackexchange.com | |
299,323 | sp_HumanEvents @event_type = N'blocking' and logging job help needed | Those who use excellent sp_HumanEvents, maybe the author himself, please help me understand something I am missing (cause of my stupidity). #1 When monitoring blocking, blocked process threshold must be set (in seconds), otherwise the blocked_process_event would not be fired. How this correlates with @blocking_duration... | First The blocked process report seconds is how many seconds blocking has to go on for before it makes it into the report. I don't have a specific recommendation here, but 10 or higher is usually a good choice. The parameter for [CODE] is the threshold for what gets shown to you or logged to a table. You are free to se... | 3 | 6 | 178 | 2021-09-09T13:08:15.760 | pipeline_ops | dba.stackexchange.com | |
1,099,923 | Significantly reduced page performance using Cloudflare proxy | I have been using Cloudflare for a while, however I am having an issue where I am getting significantly increased page loading times measured both on Google PageSpeed Insights and on Google Chrome. Without it being Proxied: With it being Proxied by Cloudflare: As you can see, there's a 45% decrease in Google PageSpeed ... | The issue seemed to be with Cloudflare's RocketLoader, I disabled that and then disabled some tags on GTM. | 1 | 1 | 167 | 2022-05-02T05:41:02.470 | infrastructure | serverfault.com | |
291,114 | Structuring a Python Project: Need some guidance | I currently am working on a project that involves several discrete components that have some common functionality, and I am in need of some advice. Right now I have a central component responsible for dispatching requests to several components that translate the requests to particular formats for particular data source... | In Python, we have packages and modules. A module is "just" a [CODE] file, and a package is "just" a directory with an [CODE] file (which is often empty). You can import any package or module which is in a directory listed in [CODE] , modules within such a package, subpackages within such a package, modules within such... | 2 | 2 | 737 | 2015-07-28T21:11:01.980 | api_errors | softwareengineering.stackexchange.com | |
382,486 | Aren't the guidelines of async/await usage in C# contradicting the concepts of good architecture and abstraction layering? | This question concerns the C# language, but I expect it to cover other languages such as Java or TypeScript. Microsoft recommends best practices on using asynchronous calls in .NET. Among these recommendations, let's pick two: change the signature of the async methods so that they return Task or Task<> (in TypeScript, ... | What Color Is Your Function? You may be interested in Bob Nystrom's What Color Is Your Function 1 . In this article, he describes a fictional language where: Each function has a color: blue or red. A red function may call either blue or red functions, no issue. A blue function may only call blue functions. While fictit... | 109 | 114 | 13,043 | 2018-12-05T08:22:45.133 | api_errors | softwareengineering.stackexchange.com | |
846,802 | service failed to start after docker restart | I have created a docker container with httpd service installed in it. But whenever I restart the container, the httpd service does not come back online. Even I have added the service in chkconfig . The httpd status shows as "httpd dead but pid file exists" I have checked docker container log [CODE] But it's not showing... | I've had this problem using the image [CODE] . It seems that the container is not gracefully ending the httpd process, therefore the service can't start the second time the container is up because of the pid file. Our solution was to implement an intermediary [CODE] that removes the file and calls the original [CODE] .... | -1 | 0 | 342 | 2017-04-27T03:38:49.223 | pipeline_ops | serverfault.com | |
330,840 | What order should my index's columns be for a SELECT a, b, MAX( c ) FROM d WHERE e = 1 GROUP BY a, b? | Supposing I have this table (in a multi-tenant SaaS database: [CODE] I have a [CODE] that is meant to get the latest [CODE] for each [CODE] : [CODE] I currently have foreign-key-covering (non-clustered) indexes over [CODE] and [CODE] . Without any other extra [CODE] objects on [CODE] , this [CODE] 's execution-plan cur... | Index and View I would probably replace the [CODE] indexes with : [CODE] There's not too much benefit to [CODE] being an [CODE] rather than at the end of the key. It will only be non-key at the leaf of the index because the index is not specified as unique. [CODE] is part of the clustering key so it will be part of the... | 5 | 8 | 2,126 | 2023-09-03T04:27:05.430 | database_errors | dba.stackexchange.com | |
106,037 | What are good options to cluster file servers? | We have a NAS with relatively slow disks that is choking when users are logging in in the morning. We're migrating user home directories and profiles to a newer, faster server, but I was wondering if it might be wise to look into finding a way to cluster a file server so we can have 2+ servers sharing the access load a... | Absolutely Window Cluster Services can do that, you could also consider a dual-head NAS box like a low end NetApp. | 4 | 1 | 172 | 2010-01-25T13:09:32.757 | infrastructure | serverfault.com | |
37,194 | Resume Logshipping after Primary database restored | We have Database (D1) as a primary database and Log shipping setup to the secondary database called (LS_D1). Now what we are doing is taking backup of D1 database and restore it on D2 database. We do schema and data changes for new Release deployment on to D2 database. What we want is to restore D2 database on D1 datab... | When you restored the primary the log shipping has broken. The only way to resume it is to re-initiate it, with a new full backup. End of discussion. We do schema and data changes for new Release deployment on to D2 database. And that is your real problem. Do all changes as code changes and deploy by running deployment... | 0 | 5 | 8,357 | 2013-03-21T04:41:19.157 | database_errors | dba.stackexchange.com | |
116,582 | Why does SciKit-Learn's OneHotEncoder take so long on a Large Dataset? | I'm using an older version of SciKit-Learn, version 1.0.2, to try and [CODE] some data. My dataset is fairly large, 184 columns going to 311 after the [CODE] , with ~500,000 rows. Despite this, I'm confident I could write code that [CODE] my columns in a minute maximum. Currently, SciKit-Learn's [CODE] is on 10 minutes... | If you use [CODE] in a Jupyter Notebook, you can use [CODE] to profile your code. See How do I Profile a Jupyter Cell and Rank it by Cumulative Time? for more information. Doing this with a subset of the rows shows that the function calls taking up the most time are inside the [CODE] module function from SciKit-Learn's... | 1 | 3 | 554 | 2022-11-29T12:48:17.820 | api_errors | datascience.stackexchange.com | |
411,631 | PureFTPd and symlinks | I'm running Pure-FTPD on centos 5 with cPanel installed. When somebody upload a symlink file called 1.txt and it's a symlink to /partition for example, He can browse all /partition contents from this symlink through Pure-FTPD and it's a dangerous security problem. How can i solve this security issue and disable symlink... | You haven't set up chroot feature in 'pureftpd' configuration. Once your users will be 'chrooted', they will not be able to go outside from their home directories. Additional info: http://download.pureftpd.org/pub/pure-ftpd/doc/README http://download.pureftpd.org/pub/pure-ftpd/doc/FAQ | 0 | 1 | 2,822 | 2012-07-26T22:22:04.597 | infrastructure | serverfault.com | |
569,712 | Error on installing Git | I keep getting these errors when I try to install git: [CODE] I am not sure what is going on and what is wrong, so any help is greatly appreciated! Server: [CODE] | It appears that you have the EPEL repository for RHEL / CentOS 5.x configured, not the EPEL repository for CentOS 6.x. The 'el5' on the package name is a dead giveaway. CentOS 6 ships with git in its' own repository. The version number is lower than the one in the version 5.x repository which is causing yum to try to i... | 0 | 1 | 1,059 | 2014-01-24T19:27:21.093 | infrastructure | serverfault.com | |
81,436 | Are there any problems with running chkdsk /R on a RAID5 array that shows no errors? | I had a 1TB RAID5 array and Windows is showing "corrupt $Mft" and "unable to read file" errors. It says I should run chkdsk but I've heard not to do that when using RAID. | Whether or not the underlying physical storage device us using RAID has nothing to do with checking the integrity of the filesystem with tools like CHKDSK, fsck, etc. The only way to check filesystem integrity is with a tool like CHKDSK, anyway. If you have "corruption" you're going to have to use such a tool. How's yo... | 0 | 4 | 2,105 | 2009-11-04T19:12:25.187 | data_quality | serverfault.com | |
337,903 | Excessive Execution Time | Context: I have written a t-sql query that works perfectly if I do not use a SELECT with a combining of 2 columns (txtSubID and txtSubmitByInitials). The problem is, I need to combine the 2 columns to make a unique identifier. I work at a school and we often have more than 1 teacher to a class, but both teachers must i... | It seems you could clean up this code significantly, and do it all in a single scan of the base table. Instead of multiple CTEs, just do a single [CODE] with conditional aggregation. Then instead of joining that back to the original, just merge the aggregation into the outer query. Instead of grouping by a concatentati... | 1 | 1 | 36 | 2024-03-21T09:34:34.520 | warehouse_errors | dba.stackexchange.com | |
501,034 | Removing MongoDB from Ubuntu | I recently started to mess with setting up ReplicaSets. After some testing and playing, I was wanting to remove MongoDB and all settings, and start with a fresh install on all systems to get it set-up for production mode. I assumed [CODE] followed by [CODE] would take care and I could just start again with install. The... | Check the mongodb.conf file and see what dbpath is set for and then remove the db files. | 0 | 2 | 4,435 | 2013-04-19T19:03:51.040 | database_errors | serverfault.com | |
299,968 | Identical Databases for Multiple Users Reading Efficiency | Our project utilizes a static database (no writes). With many users we don't actually have a problem per se reading it. If a database "locks" per read request by any user, then would it not be more efficient (though perhaps unnoticeable) to have multiple databases that each user connects to individually? We are databas... | Unless your database is measured in Terabytes and your concurrent user count is astronomical, don't bother. Modern databases are very fast, especially for reading. You should wait until you actually have the problem then measure to confirm you have the problem before you try to fix anything. If you run multiple read-on... | 0 | 5 | 256 | 2015-10-15T16:49:20.613 | api_errors | softwareengineering.stackexchange.com | |
35,743 | How to select features for Text classification problem | I am working on a problem where we need to [CODE] user query into multiple classes. Problem : Suppose we are running a website for selling products. The website has a form where the user can write any complaint or issue. In order to resolve users issue, we thought to classify issues into predefined classes so that we c... | Since I am not sure where you are at the moment in your solution, let me give you a comprehensive, yet brief, view of what you should be looking to do. Preparing the training data: You would be required to collect data with the correct classifications. Once you have this, you should incorporate text mining algorithms (... | 0 | 1 | 1,822 | 2018-07-19T16:05:32.043 | data_quality | datascience.stackexchange.com | |
325,611 | Database performance, high IOPs and latency (SQL Sevrer) | I know that if we separate databases on separate drive configured of separate disk group (SAN LUN), it helps to improve disk IOPs. Does separation of databases to different drives help to improve IO performance on the database? If not why, when as the URL says, Windows has it's own indexing, and installed application m... | For starter, let's not confuse Windows disk indexing with SQL Server's (or any database's, really) indexing. It's true that Windows does create an index of disk contents. That feature, however, is aimed to help for searching for quite limited set of things based on common use cases. Typically indexing disk helps one to... | 1 | 2 | 249 | 2023-04-05T07:45:28.677 | database_errors | dba.stackexchange.com | |
949,418 | Monitoring HTTP 5xx errors in an Azure App Service | The Azure App service UI used to have an ability to inspect 5xx errors directly. Since we starting using Azure, the UI has been changing almost constantly though, and this ability seems to have disappeared. We are seeing some 5xx errors, and without bug reports, I'm wanting to get in to our application code and fix wha... | To get the most detail on your errors you want to hook up your web app to App Insights. This will collect all this data and give you a (relatively) easy way to delve into them. App Insights has a free tier and you can enable it for basic monitoring without changing your app. See here . Another area to look at is in Kud... | 4 | 5 | 11,764 | 2019-01-16T20:57:18.993 | pipeline_ops | serverfault.com | |
425,178 | Selective method inheritance | I have a lot of classes that are just a CRUD interface for microservices. They only have a param for the endpoint and some of the methods [CODE] / [CODE] / [CODE] / [CODE] / [CODE] / [CODE] / [CODE] . To be DRY, the methods that are necessary for the microservice calls are all grouped in a [CODE] class. A small example... | Your goal You have contradicting expectations. On the other hand, not all microservices support all the methods and I wouldn't want the classes to have methods that are not supported. In other words, you want to explicitly control which methods are made available, you don't want anything to be made available that shoul... | 2 | 1 | 241 | 2021-04-06T12:37:24.427 | api_errors | softwareengineering.stackexchange.com | |
372,526 | Move VMware ESXi VM to new datastore - preserve thin-provisioning | I'm looking for a good solution to a VMware ESXi environment issue where there's no vCenter available. What's the best way to move a VM from one datastore to another on a single ESXi host, while maintaining the VMDK thin-provisioning? This is a standalone server that's been expanded with another drive array/datastore. ... | You can also use File -> Export -> Export OVF template and then import it. Last time I tried it, i think this does preserve the vmdk format. Not so sure now as it has been quite some time. | 30 | 22 | 96,281 | 2012-03-22T19:03:00.397 | infrastructure | serverfault.com | |
875,731 | User mailbox looks empty in Outlook, but Get-MailboxStatistics shows data | Friends, I'm looking at an issue where a user has stuff in his mailbox according to Exchange, but nothing shows up in his Outlook nor in his OWA. We're using Exchange Server 2016 and recently updated to CU6. The user is running Outlook 2013. I've seen this link where it talks about CU6 breaking OWA, but it's not the sa... | OWA will show you the true nature of the mailbox. If you have reset the views, then the content should be seen. The move mailbox trick usually resolves issues with the mailbox. You could also try a repair of the mailbox. You haven't said how you are checking that content exists - there a number of ways, and not all con... | 0 | 0 | 762 | 2017-09-27T11:04:51.933 | infrastructure | serverfault.com | |
90,504 | Cross-entropy via softmax: Mathematical derivation | I am trying to understand the derivation of cross entropy loss in the context of softmax. However, some steps are still not clear to me. Hence, I would appreciate if someone could please explain. y = one hot encoding (representing true label) = selector $y ̂= $ value predicted by NN and the softmax. Through the NN: $X\... | Hints: $P(Z|\theta)$ is independent of $\hat{y}$ so it can be left out as merely a multiplicative factor as we are interested in $\hat{y}$ . $\theta$ is a parameter and for each model is indeed fixed, it is not a variable | 2 | 0 | 48 | 2021-03-11T05:21:40.083 | data_quality | datascience.stackexchange.com | |
102,447 | Can you enforce uniqueness in MySQL based on column in foreign table? | I am refactoring one of my database tables and I've come up with an issue. Specifically, I have a table with four columns. We'll call the first three [CODE] , [CODE] and [CODE] . I have a uniqueness constraint on the combination of these three columns. Column [CODE] is a foreign key to an auto-incremented ID column in ... | You cannot directly create a unique constraint across tables. I say directly because you could come up with some indirect scheme; what comes to my mind would be using triggers to insert into a third table that has the unique constraint. But that's a lot of extra work compared to the obvious solution, which is to keep t... | 1 | 0 | 134 | 2015-05-25T23:27:09.593 | data_quality | dba.stackexchange.com | |
278,699 | Mac OS X Server Secure Log full of failed SSH attempts | Whenever one of our server's admins tries to access our machine running Mac OS X Server 10.5 via SSH, I get the following error exactly every 10 seconds in the security log: sshd[32575]: /etc/sshd_config line 70: Unsupported option KerberosGetAFSToken sshd[32575]: error: PAM: Authentication failure for (username) from ... | Sounds like some rogue script that runs on 129.1.95.241 and tries to log in. I'd have a look at that host directly. Or if it's not under your control block it with the firewall. If it indeed is needed than somebody will come screaming at you at you'll have the option to "repair" this. If you have a contact for the serv... | 0 | 0 | 1,492 | 2011-06-09T12:53:25.920 | api_errors | serverfault.com | |
564,850 | Apache/2.4.6 update causes 404s | I'm running a ec2 ubuntu instance, I decided to update my PHP today to 5.5.7, unfortunately it triggered apache to update as well, which has caused me many errors, the biggest one is my rewrite rules are no longer being hit and I believe its something todo with .conf changes. My site conf (yes my front and backend site... | Search your configuration files for all examples of AllowOverride. Likely something that has been added which is replacing the one in your config above. Second, in your config for the VirtualHost, replace the Directory statement with your document root: [CODE] This will help assure something else is not overriding the ... | 0 | 1 | 2,409 | 2014-01-03T13:56:43.423 | infrastructure | serverfault.com | |
328,313 | Sql Perf - why is query doing clustered index scan as opposed to using defined nonclustered indexes | I have a query that does a clustered index scan on a very large table, the scan is causing timeouts in some scenarios. Need help understanding why it is not using the defined nonclustered indexes. Here is the query: [CODE] Here is table definition: [CODE] Here are the indexes: [CODE] Here is the actual execution plan: ... | The problem is that you are using an inequality on [CODE] , but an [CODE] ordered by [CODE] . The server seems to think that this ordering is more important, and will reduce the rows quicker, so it resorts to scanning the primary key index in the hope it will find the 50 rows quickly. You can probably force it to read ... | 1 | 1 | 39 | 2023-06-14T23:43:01.907 | database_errors | dba.stackexchange.com | |
422,590 | How to reference a Domain Controller out of the Local Network? | We have multiple servers scattered over different hosting providers. For learning, experimenting and, ultimately, production purposes, I set one of them as a Domain Controller. That went well, most of our services are now authenticating via AD, which helps us a lot. What I want to do now is to simplify the authenticati... | For the love of God, don't have Domain Controllers that are accessible over the internet. That's begging for a catastrophe. You need to set up site-to-site VPNs between your sites, and make sure your subnet/subdomain on which AD is located is NOT accessible other the internet through anything but a VPN. In IPv4, that m... | 2 | 6 | 21,455 | 2012-08-29T17:54:25.583 | api_errors | serverfault.com | |
292,370 | SQL Server in-memory optmized tempdb metadata memory usage continually growing | Problem We have enabled sp_configure 'tempdb metadata memory-optimized' = 1, and now the tempdb meta data is taking over 400 GB on one of our servers and continues to grow. There are some drops in memory usage, but generally it keeps growing it's memory usage. We've had a couple times where the server actually crashes ... | Pam Lahoud SQL Enterprise Team Principal Program Manager at Microsoft said on twitter: and contributed via comment here: There are a few known issues that could be coming into play here. It's best to open a case with support if you can, the more data we have on these issues the more likely we'll be able to find a fix. ... | 20 | 9 | 2,966 | 2021-05-27T18:27:16.027 | database_errors | dba.stackexchange.com | |
62,102 | MySQL database freezing after 'use' | I recently made a rather stupid mistake and corrupt my Ubuntu installation. To resolve it, I booted with a live cd and copied the database files over. However, now I have copied the folders from the old installation into the new one, whenever I type "use database_name" it just freezes on this: [CODE] And then freezes w... | On the first "use" command after login, MySQL scans database, tables and columns name for auto completion. If you have many db, tables it could take a while. To avoid that, launch your client with the -A option (or --no-auto-rehash) [CODE] You could also add the disable_auto_rehash variable in your my.cnf (in the [mysq... | 23 | 36 | 36,339 | 2014-03-30T19:56:20.727 | data_quality | dba.stackexchange.com | |
265,965 | How do I choose a Mariadb version to install, and what is the difference between mariadb.com and .org? | I have not worked on databases before but I am needing to research information about databases for work I will be using Mariadb What should I look for when choosing which version to download? It looks like the latest version is 10.4.12-GA, but it is only available for Ubuntu 18.04 (only relevant Ubuntu option in the dr... | On downloads, I'd go with the MariaDB.org repository management tool . There is only one 20.04 focal release for the 10.5 Beta branch at the moment (so not recommended yet for production use). The reason is that the releases include what distro builders where available at the time of release so as time goes on there wi... | 1 | 2 | 4,460 | 2020-04-28T00:47:47.230 | database_errors | dba.stackexchange.com | |
214,465 | High IOWait executing JBoss 3.2.7 | Server Details: Kernel: Linux wiq31 2.4.21-9.ELsmp #1 SMP Thu Jan 8 17:08:56 EST 2004 i686 i686 i386 GNU/Linux CPU: 4 x Intel(R) Xeon(TM) CPU 3.06GHz Memory: 1028520 kB JBoss version: 3.2.7 Every time i try to start JBoss, in all CPU's, the iowait values starts to raise and the idle values starts to fall. Before execut... | Jboss will take up a pretty significant amount of memory on its own, even if you don't have anything running on it. To see if your system is heavily swapping, you can always run [CODE] and watch the output. Under "swap", you'll see "si" and "so"-- thos will be pages swapped in and out. At a guess I would suggest more R... | 0 | 0 | 169 | 2010-12-20T15:36:47.590 | infrastructure | serverfault.com | |
355,323 | Automated Hotfix Release with Semantic Versioning based off of Master Branch | I have a Python script that lives in my CI pipeline that is responsible for publishing branches and tags, publishing AAR's to our Maven Artifactory, uploading Javadoc, etc. We used to follow a modified version of Git Flow where we would publish off of either a "support/" branch (for Long Term Support of a Minor Product... | A practice that I have seen used successfully was to: Major/Minor releases, i.e.: n.0.0 or n.m.0 are triggered by pushing a tag, possibly generated by a python script, for the release number with a pre-commit hook to: Ensure that the correct pattern was followed & Ensure that it was the next incremental major or minor ... | 0 | 1 | 840 | 2017-08-08T21:04:19.330 | pipeline_ops | softwareengineering.stackexchange.com | |
311,560 | Postgres "unnesting" multiple json arrays simultaneouesly with different depths | I am trying to explode/unnest a row of jsonb arrays into individual rows and keep any rows that would result in nulls. Fiddle: https://www.db-fiddle.com/f/pgd6E5yKf8NzPtgboeoC6c/7 Input table: (I am stuck with the input being in this form) id name color price description 1 ["Banana"] [["Green"]] [[[1]]] [[["Good"]]] 2 ... | Unnesting multiple set-returning functions in parallel behaved in mysterious ways (borderline broken) in Postgres 9.6. That got fixed with Postgres 10. See: What is the expected behaviour for multiple set-returning functions in SELECT clause? The same fix also made set-returning functions in a [CODE] construct illegal.... | 1 | 3 | 3,347 | 2022-05-02T15:20:02.167 | warehouse_errors | dba.stackexchange.com | |
379,290 | Should I wrap my web service request data in an additional object? | I'm preparing some web services with Spring WS. Due to it being contract-first, I followed its guide and prepared an XSD. So far, my Web Service request XML looks like this (this is SoapUI rendered request): [CODE] Java Endpoint code: [CODE] Request top level object [CODE] WorkOrder "envelope": [CODE] I'm starting to w... | Having an explicit wrapper allows your code to state its intent, without further knowledge of the endpoint. Let's compare two versions of the XML: Wrapped Version: [CODE] Unwrapped Version [CODE] To me, the differences are meaningful to a human. The "Wrapped" version has an XML tag whose name tells me how the [CODE] ta... | 1 | 2 | 153 | 2018-10-01T16:23:20.177 | api_errors | softwareengineering.stackexchange.com | |
798,217 | https://domain.com ssl error and it won't redirect to www unless add exception | I've created a let's encrypt certificate, for my domain, using certbot. I've made sure to include www and some (needed) subdomains, so the certificate should be valid for non-www and www: [CODE] But this is not the case, if I try to access to https://domain.com it'll throw a ssl error. In the certificate viewer (when a... | You are not serving the Let's Encrypt certificate for requests to example.com. [CODE] All of the relevant SSL directives are missing. [CODE] | 0 | 5 | 1,113 | 2016-08-21T20:35:12.593 | infrastructure | serverfault.com | |
524,116 | iSeries Apache SMTP error | I'm trying to send mail using either the built-in PHP mail() function or through the phpmailer library, which of course relies on mail(). phpmailer says it "cannot instantiate the mail function" so I'm troubleshooting directly through mail(). I do have mail() working correctly elsewhere, but the address is internal (sa... | Fixed: the issue was the SonicWALL config. Only internal emails were allowed by firewall rules. | 0 | 0 | 153 | 2013-07-17T17:05:51.243 | infrastructure | serverfault.com | |
822,097 | mount.nfs4: access denied by server while mounting | I need to mount an NFS4 share during boot so I added the following line to fstab: [CODE] The problem is that it does not get mounted during boot. Syslog says that access denied by server. However, after logging in as root I can do a mount -a which works fine, it mounts the NFS share. OS: Ubuntu 16.04 Please note that I... | (Moderator: please move this to comment. My reputation is too low). Try typing 'mount' after manually mounting the share and make sure the manual mount is going over NFS4. | 1 | 0 | 872 | 2016-12-21T16:44:52.993 | infrastructure | serverfault.com | |
1,086,117 | How to improve my current HA design | I am trying to create high availability application. My current design has two VMs, both have public IPs, both are running in same subnet and both VMs have same web application running in docker. ssl certs and traffic to the app in docker is managed by Traefik. The first VM is master so its ip is updated to Cloudflare.... | I suggest you look into using an Oracle load balancer and the integrated health checks , along with autoscaling . I might not be quite right in terms of Oracle and the links might not be correct, but that's how it would be done in AWS and the concepts tend to go across clouds. | -1 | 0 | 56 | 2021-12-12T19:40:38.770 | pipeline_ops | serverfault.com | |
142,675 | Is it legal for SQL Server to fill PERSISTED columns with data that does not match the definition? | I'm following up on this question about strange values in a [CODE] computed column. The answer there makes a few guesses about how this behavior came to be. I'm asking the following: Is this not an outright bug? Are [CODE] columns ever allowed to behave this way? [CODE] Note, that the data appears "impossible" because ... | This is certainly a bug. The fact that the [CODE] values happened to be the result of an expression involving random numbers clearly doesn't change what the the correct value for [CODE] is supposed to be. [CODE] returns an error if this is run against a permanent table. [CODE] Gives (for my test run which had one "impo... | 16 | 9 | 565 | 2016-06-30T13:34:40.183 | database_errors | dba.stackexchange.com | |
187,881 | Deterministic and controllable fully automated memory management | Fully automated memory management increases productivity and integrity greatly, but usual implementation (GC) has a critical problem. It's non-deterministic, and not controllable. This causes many problems such as burst CPU load which is critical for realtime applications. Some kind of optimizations (incremental/concur... | Let me re-phrase that. "Is there any way I can get a memory management system which is absolutely perfect and has every desirable property?". No such systems exist. | 2 | 4 | 628 | 2013-02-21T15:09:58.273 | api_errors | softwareengineering.stackexchange.com | |
284,269 | "merge" two tables -from different databases- together? | Well say I have a table running on a database at localhost (donor database A), and a receiving table running at another server externally (database B) With table creation (on both sides) like: [CODE] Now I wish to merge from database A into database B. However only merging should happen on keys that are not existing on... | In MS SQL there is a MERGE statement that meets your requirements. PostgreSQL has the same. Read more: https://www.postgresql.org/message-id/attachment/23520/sql-merge.html It allows full control about conditions when to add a row, update a row or delete a row in the target db. I have frequently used it. But it is not ... | 1 | 0 | 1,207 | 2021-01-29T13:48:57.147 | data_quality | dba.stackexchange.com | |
1,013,981 | Google Cloud Dataproc: user with "Dataproc Viewer" role cannot list the Dataproc clusters | In a fresh new GCP project I have created a Dataproc cluster, and a user with a "Dataproc Viewer" role given to them (among otehrs). This user can now successfully execute [CODE] and it displays the list of clusters. However, an error is displayed when same user navigates to the "Dataproc" -> "Clusters" page in the clo... | The [CODE] iam role allows only viewing of the cluster. It works with gcloud or API calls, but on the GCP cloud console the browser does more than listing clusters behind the scene. It lists the compute instances behind the cluster and shows monitoring charts as well. You will need to grant two additional roles for a c... | 1 | 1 | 244 | 2020-04-24T14:39:22.183 | infrastructure | serverfault.com | |
751,826 | Sometimes: Unable to connect to host 127.0.0.1, or the request timed out. MySQL through Sequel PRO | I have been struggling with this issue for over a year now, and it’s really giving me a headache. I often experience I am unable to connect to the MySQL server through SequelPRO. If I ssh into the server, I can use mysql fine, see processes, etc. My web app works fine too. When I try to SSH into my MySQL database throu... | Looks like you're having issues connecting through SSH or maintaining the SSH tunnel, these errors are usually reported to [CODE] . Probably SequelPRO tries to use a connection that is no longer available, stalled. You may also try to manually set the SSH tunnel: http://www.sequelpro.com/docs/Set_up_an_SSH_Tunnel — if ... | 1 | 0 | 6,328 | 2016-01-26T13:24:10.517 | database_errors | serverfault.com | |
184,354 | Working SSIS package fails as a job, probably due to data flow connection | I'm working in SQL Server 2012. I've built out an SSIS package that is made up of a few scripts and 2 data flow tasks. The data flow tasks move data from the local SQL server out to an Amazon SQL server. The whole package runs fine in Visual Studio. I imported it into the Stored Packages in Integration Services, and I ... | All right, I think I've got it. I'm relatively new to this, so forgive any bad terminology. I got on the right path with this: https://stackoverflow.com/questions/31755979/storing-password-in-ssis-package Basically, the external connection to the Amazon DB was the issue. I had the correct credentials stored in the SSIS... | 1 | 2 | 2,894 | 2017-08-25T14:09:48.530 | api_errors | dba.stackexchange.com | |
507,583 | Apache Virtual Host not working on .com domain | I have got a strange problem. I have two domains: mysite.co.uk and mysite.com, which need to point to the same directory on my server. The VHost for mysite.co.uk works perfectly. However, mysite.com will not work. When I re-start apache I see no errors. When I enter the domain, it is reaching the correct server but sho... | You should be able to do this with a single vhost entry as long as the content you want displayed on both URL's is in the same folder on the server. [CODE] You may also be getting betrayed by a default vhost if you have setup your new ones in a seperate file. If your running Ubuntu (Or some other distro's) you can use ... | 0 | 2 | 335 | 2013-05-14T09:35:31.297 | infrastructure | serverfault.com | |
394,234 | How to start nginx via different port(other than 80) | Hi I am a newbie on nginx, I tried to set it up on my server (running Ubuntu 4), which already has apache running. So after I [CODE] it, I tried to start nginx. Then I get the message like this: [CODE] That makes sense as Apache is using port 80. Then I tried to modify [CODE] , I reference some articles, so I changed i... | It seems that you've left the default server configuration in the [CODE] folder. The file in question has a bunch of commented out lines, but not all are - the default configuration is tangled among them. I suggest you remove the whole file (or the first part if all your configurations are in the same file). However, i... | 3 | 5 | 9,293 | 2012-05-31T07:11:53.583 | infrastructure | serverfault.com | |
4,547 | Designing a platform: one database or multiple databases? | We are building a web platform that incorporates multiple services, each with its own underlying data. These services are being built independently following the principles of Service-Oriented Architecture , but they transact against potentially related data. We are considering whether these services should share one b... | In my opinion, the key differentiator of true SOA systems (over the pseudo SOA, ntier/distributed systems that are becoming ubiquitous) is that there should be zero interaction between discrete services. Where this is achieved, any application you compose from these services can and should be built to tolerate the fail... | 31 | 18 | 15,167 | 2011-08-10T23:16:18.647 | database_errors | dba.stackexchange.com | |
906,786 | Uderstanding netstat output | When I run [CODE] on Windows 10 I get lots of results of similar nature [CODE] I would like to know what causes connections on ports 64248 and 64249. They both seem to be open and connected on w3wp.exe process. This doesn't seem right and I must be missing something. | They are app pool connections, you can run "appcmd list wp" to see the PID and app pools running. | 0 | 0 | 416 | 2018-04-09T16:00:04.770 | infrastructure | serverfault.com | |
346,712 | php scripts are running under apache uid | I have a vps, running directadmin with apache 2 and php 5. It all worked fine, until today, since i discovered that PHP scripts are executed under apache:apache, and not under file's owner uid. This screwed up the entire system, but the main problem is that I can't figure out WHY would suphp stop working suddenly?? Som... | suPHP is likely not installed. Since you are using conditional load statements, suPHP may have been removed on an Apache upgrade. I don't work on DirectAdmin boxes any longer, but I know they used to be problematic with overwriting custom configurations. Confirm that suPHP is indeed installed in Apache. Use: httpd -l t... | 1 | 1 | 997 | 2012-01-04T21:30:33.403 | infrastructure | serverfault.com | |
148,350 | What algorithm(s) can be used to achieve reasonably good next word prediction? | What is a good way of implementing "next-word prediction"? For example, the user types "I am" and the system suggests "a" and "not" (or possibly others) as the next word. I am aware of a method that uses Markov Chains and some training text(obviously) to more or less achieve this. But I read somewhere that this method ... | Take a look at n-grams . One n-gram is a sequence of [CODE] words. In your case you want [CODE] to be [CODE] , since you need two [CODE] and a [CODE] . One 3-gram would be for example "I am tired", another one "I am happy". What you then need is a collection of these 3-grams that are collected over your target language... | 10 | 9 | 7,697 | 2012-05-12T14:49:23.460 | api_errors | softwareengineering.stackexchange.com | |
898,365 | Could not login to docker container | I am trying to run my node.js app and mongodb using docker compose. I could setup the containers successfully as follows. The site is also working. But I could not login into the containers. [CODE] Output [CODE] Also I am able to connect with mongodb server using mongodb client from the host machine(Mac). But when I tr... | Do you try to connect it using container ID ? Try this: [CODE] if isn't working try to restart container as follow: [CODE] | 0 | 0 | 686 | 2018-02-22T09:38:14.667 | pipeline_ops | serverfault.com | |
258,816 | Reporting services 2008 reports connection to azure sql database | Due to the end of support of sql server 2008 R2 we are planning to move the database to azure as a paas service (azure sql database). Right now the application server has reporting services 2008 R2, for now it won't be moved to the cloud or upgrade his version. The users create the reports, then they upload them to rep... | I assume you are talking about migrating [CODE] and [CODE] . As per this document , Azure SQL Database is not supported. Below are the support databases Azure SQL Managed Instance SQL Server 2019 SQL Server 2017 SQL Server 2016 (13.x) SQL Server 2014 (12.x) SQL Server 2012 (11.x) SQL Server 2008 R2 I have done one Repo... | 0 | 1 | 71 | 2020-02-03T22:01:39.280 | database_errors | dba.stackexchange.com | |
586,789 | Spanning Tree Necessary With 2 Stacked Dell Managed Switches? | I have a PowerConnect 6248 and 6224P stacked with the 6248 acting as the managing switch. They're connected using the 48Gbps stacking module with 2 cables running between the switches. Do I need to have STP on for this configuration? I'm not primarily a network guy, and my beginner-level thinking was "well there are 2 ... | First off, the cables on the stacking module (if stacking is configured correctly) wouldn't be a loop on your network. These are part of the Stacking Module which is/should be separate from your standard TCP/IP network. It may still be that the stack is misconfigured but that is not part of the question so we'll move o... | 1 | 4 | 3,118 | 2014-04-04T19:06:36.367 | infrastructure | serverfault.com | |
244,390 | mongodb keyfile permission denied | I configured in [CODE] to enforce keyfile access control, in [CODE] option enabled, [CODE] is [CODE] (the absolute path of keyfile). I already gave the ownership to [CODE] user by [CODE] , and granted [CODE] permission on that [CODE] file. But [CODE] keeps failing to start, after checking log, the error is [CODE] . Aft... | @Stennie Comment was right! I have just moved my keyfile from my home user [CODE] to a directory where [CODE] is owner: [CODE] . Also remember keyfile must have 400 permissions and be owner and group of mongodb: chmod 400 keyfile chwon mongodb:mongodb keyfile | 3 | 0 | 2,142 | 2019-08-02T03:12:14.497 | database_errors | dba.stackexchange.com | |
238,038 | unable to connect gmail and hotmail via telnet | Hey all i am try to connect to gmail and hotmail server via telnet. As: [CODE] Here codeomnitrix is a user of smtp.localhost.com. And i am running postfix at my system with sitename being smtp.localhost.com. And i am able to sent mail locally from one user to another user but can't send to any other user who is not loc... | The reason telnet isn't working is because Google is now requiring ESMTP (EHLO verb, not HELO) and TLS. Telnet is now broken. You can use openssl, though. [CODE] The normal SMTP commands should work from there. | 1 | 4 | 6,762 | 2011-02-21T04:56:00.143 | infrastructure | serverfault.com | |
610,446 | How to get best performance: storage cache server (small files) with for 4 disks (3TB's)? | We're preparing a cache storage server for some small files that will be cached for a few days (so HDD will have more reading then writing). All files are rather small around 100 to 500KB a file, but we have a lot of them so we can fill 12TB fully with it. The server has a 1Gbit connection and i hoped we could use it f... | the read speed should be 250Mb/s (31.25MB/s) First off, it is very unlikely you will achieve this performance level with 4 7200 rpm HDDs with a random read access pattern. Even if your disks will be able to read larger block sizes ~ 16-64 KB, the maximum for I/O operations per second for a 7.2k disk is ~100 for non-seq... | 2 | 3 | 688 | 2014-07-06T13:44:33.693 | api_errors | serverfault.com | |
154,961 | Log Shipping from Synchronous Automatic Failover AlwaysOn Availability Group AAG | I have an AlwaysOn Availability Group which is running with Synchronous Commit & Automatic Failover. For example, connected to as SQL01 with nodes SQL01A or SQL01B. I want to make this data available for Warehousing on another server SQL02, due to high numbers of changes and high numbers of reads we cannot use AAG Asyn... | Are you doing your backups to a neutral independent server like a file share? If you're doing them locally (like to a drive on SQL01A or SQL01B) then log shipping won't work since the file path would change whenever there's a failover. Instead, on SQL01A and SQL01B, write your backups to a UNC path (like \\myfileserver... | 1 | 3 | 246 | 2016-11-11T13:51:51.747 | database_errors | dba.stackexchange.com | |
1,126,042 | Vmware tags and Ansible , empty out in Ansible but VMs have tags | I am trying to filter out the list of VMs with specific tags. The sample playbook is as follows : [CODE] However, whatever combination I may try the tags[] output, the rest of the o/p is populated. Not sure what I am missing | There could be multiple reasons, make sure you have community installed [CODE] also modify [CODE] to use [CODE] and you should add a separate query for filtering your VMs here is your file, replace [CODE] in the query with the tag you are looking for [CODE] | 3 | 2 | 347 | 2023-03-13T10:44:35.253 | pipeline_ops | serverfault.com | |
420,307 | Is there a single word for a "non-empty" string? | Take a simple example: [CODE] [CODE] is empty or null, which is clear. But what about [CODE] ? I wouldn't call it "full". "Non-empty" or "non-null" works, but is there not a single word that unambiguously captures the meaning of "not empty" in the context of a string? | A variable that is assigned a value is said to be "populated." That's about as close as you're going to get, unfortunately. A populated string variable (or a string of non-zero length) is just not interesting enough in and of itself to ascribe a single-word term. | 1 | 10 | 1,989 | 2020-12-23T14:56:10.773 | api_errors | softwareengineering.stackexchange.com | |
1,088,925 | ssmtp don't work and don't want to log | I've configured SSMTP to send mail, but the problem is that i can't send mail from my webserver and there is no logs in [CODE] . Sometimes, i've got [CODE] in apache logs. My config : Debian 11, and webserver into a Docker container. This is my config of SSMTP : [CODE] Into revaliases i've got : [CODE] EDIT : This is t... | The message [CODE] means that your target mail server ( [CODE] ) rejected a mail sent by [CODE] . Also, [CODE] tried to save the message in [CODE] but failed, probably due to file permissions. You need to check logs [CODE] to find out why it is rejecting your emails. You can also check [CODE] to ensure that it contains... | 0 | 0 | 1,223 | 2022-01-04T09:40:44.493 | pipeline_ops | serverfault.com | |
3,719 | Neo4j vs OrientDB vs Titan | I am working on a data-science project related on social relationship mining and need to store data in some graph databases. Initially I chose Neo4j as the database. But it seams Neo4j doesn't scale well. The alternative I found out are Titan and oriebtDB. I have gone through this comparison on these three Databases, B... | I think you might have to keep overall Data pipelines and Machine learning pipelines in mind. For which you need a robust framework to move data between table like and graph like storage apart from powerful distributed processing. From my understanding Spark GraphX is promising to build these pipelines. Joseph Gonzalez... | 13 | 1 | 6,818 | 2014-12-18T04:36:06.107 | data_quality | datascience.stackexchange.com | |
667,391 | pam_mount not working when logging in from ssh or console | okay so i configured pam_mount on my centos 6 machine as i did on my centos 7 and 5 machines. But when i login locally or via ssh, pam_mount can't mount my home dir. when i login with a local user, and su to a user who needs the hmoe dir mounted pam_mount works fine and mount the home dir. the error i get, when i ssh o... | You can follow up my instruction. This works for me on Centos 7.0 & 7.1 and has not been tested on Centos 6.X. Step 1 : Install pam_mount and cifs-utils . Step 2: Please only configure file /etc/pam.d/password-auth , just add 2 lines ( one is on top, and the one is at the end of the file) [CODE] Step 3 : Configure /etc... | 1 | 0 | 5,241 | 2015-02-13T13:45:24.013 | infrastructure | serverfault.com | |
211,501 | How to remove duplicates from any array and preserve ordering in PostgreSQL? | I'm looking for a way to eliminate duplicates from a PostgreSQL array while preserving the ordering of its elements. What I currently have are the following functions: [CODE] In the above, [CODE] takes an array of any type and returns a copy with all duplicates removed; their relative ordering is arbitrary. [CODE] is l... | This can indeed be done using pure SQL: [CODE] The [CODE] will return the original index of the element in the array which is then used to aggregate them back in the outer query. [CODE] returns [CODE] and | 6 | 12 | 5,542 | 2018-07-06T05:34:26.553 | data_quality | dba.stackexchange.com | |
859,097 | DNS Server returning same incorrect ip address for many queries | I've inherited maintenance of a Windows Server 2012R2 dns server (I'm far from an expert on server maintenance), and it's started behaving very strangely. For a seemingly random selection of lookups it returns the following ip addresses: [CODE] I ran [CODE] on the machine to see if anything other than the dns service w... | Checking where this IP points to, it looks you are using some Norton firewall or similar, that for some DNS names will show a "protection" page: "this is a malicious page" or something like that. It could also return the same IP for unknown or invalid DNSs. So it does not look like pwned, but just the antivirus/firewal... | 0 | 3 | 675 | 2017-07-03T12:28:00.620 | infrastructure | serverfault.com | |
745,379 | Vmware - Consolidation is needed, but I want to revert | Last night I took a snapshot of a VM before adding a new disk and running an offline defrag of Exchange (using the newly added disk as the temporary path). When I woke up today the server was offline, and when I opened vSphere I saw the message "Configuration Issues - Virtual machine disks consolidation is needed". I a... | To revert to the original, you simply pick "revert to current snapshot" from the right click menu, assuming you only have the one snapshot. In VMware, you can do two things with a snapshot (I'm simplifying somewhat); 1) go back to "prior state" (the way it was BEFORE the snapshot), which is the "revert to current snaps... | 10 | 1 | 1,388 | 2015-12-26T23:21:13.270 | database_errors | serverfault.com | |
183,910 | profile name not valid when creating SQL server 2014 availability group | I tried creating an availability group but keep encountering this error during the validation checks Create failed for Database 'HADR Seeding Test 2d074a6f-c035-4046-ae4e-045436ca56c5'. An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) profile name is not vali... | As @Nic rightly suggested, the secondary replica had a trigger to send emails on CREATE DATABASE statements which was set to use an incorrect profile name. I corrected that and validation checks completed successfully. | 1 | 1 | 596 | 2017-08-19T23:56:04.607 | data_quality | dba.stackexchange.com | |
249,826 | Multihomed Windows routing issue | We have a multihomed windows server. It has two physical interfaces A (192.168.1.140) and B (10.42.130.140) From machines on the same subnet both interfaces are pingable From a 3rd subnet B is pingable but A is not The windows machines default route is via interface A however there is a static route to the 3rd subnet v... | If you are trying to get traffic, including ICMP pings, across a different subnet, then forwarding needs to be involved. or the interfaces need to be on a router. Other than enabling Internet Connection Sharing, which restricts the IP ranges handed out on a second interface, I don't know how to enable IP forwarding on ... | 1 | 1 | 3,167 | 2011-03-21T13:15:32.147 | infrastructure | serverfault.com | |
211,994 | Is copyrights notice of a BSD licensed library considered as endorsement? | As I am reviewing a BSD license for an open source library to use it in my commercial product, I found this paragraph: Redistribution and use in source and binary forms are permitted provided that the above copyright notice and this paragraph are duplicated in all such forms and that any documentation, advertising mate... | You are, By including the copyright notice, fulfilling the terms of the BSD license for the library, and to draw your users attention to the terms that they have to accept to use the library. My understanding of the intention of the clause you have highlighted is that its there to prevent you from claiming that as part... | 0 | 1 | 860 | 2013-09-19T14:12:32.240 | database_errors | softwareengineering.stackexchange.com | |
668,068 | Can't get client to Authenticate with IIS over Kerberos | WHAT I WANT: An App running on an IIS Server SQL running on SQLServer And my user running the site on thier machine and connecting to SQL using their credentials. WHAT I HAVE SET UP: I have 3 machines 1 running AD (ADMachine), 1 running SQL Server (mySQLSERVER) and one running IIS (MyIIS). I have a site on IIS running ... | Windows design issue, it's a negotiation issue, you can go for Kerberos only in authentication(and adapt the clients to that) or configure IIS for both. An extensive guide has been published here http://blogs.msdn.com/b/chiranth/archive/2014/04/17/setting-up-kerberos-authentication-for-a-website-in-iis.aspx | 3 | 1 | 5,780 | 2015-02-16T15:18:18.933 | hadoop_errors | serverfault.com | |
505,491 | How to monitor CPU usage on a device running embedded Linux and BusyBox? | I recently began working with a device that uses embedded Linux and BusyBox. It is very stripped down, and does not have iostat or sar . It also doesn't have dpkg or apt for package management. The system is a development black-box under a non-disclosure agreement, O.S. version info is: [CODE] I'd like to monitor syste... | [CODE] and [CODE] should be available, so you could do [CODE] in a small script and process it. | 4 | 5 | 12,817 | 2013-05-06T23:31:43.317 | infrastructure | serverfault.com | |
44,678 | How to set password for PostgreSQL database with a script? | In a bash script I'm writing, I need to create a database and set a password that is generated automatically by my script. The problem is I can't find a way to set up the password without user interaction. I need something like this: [CODE] Any ideas? | From the documentation : [CODE] is a wrapper around the SQL command [CODE] . There is no effective difference between creating databases via this utility and via other methods for accessing the server. This means that you can write a script which issues a command like [CODE] Where [CODE] contains something like [CODE] ... | 6 | 9 | 9,476 | 2013-06-17T13:45:03.277 | database_errors | dba.stackexchange.com | |
329,770 | Parsing odd JSON Request | I know how to parse normal JSON objects using the org.json library, but I am confused as how I would parse this one as it has no array/object names. [CODE] | I assume you are used to parsing JSON like: [CODE] But in you current case, the top level JSON item isn't an object, its an array. (Its pretty common to have an object as the top level, but it is not required.) Instead of parsing it by passing it to JSONObject, you should pass it to JSONArray. [CODE] | -7 | 0 | 188 | 2016-08-31T02:55:52.727 | api_errors | softwareengineering.stackexchange.com | |
608,933 | Delete quagga/zebra route using ip route | I have a DHCP client running on eth0 and eth1. zebra routes show up automatically when these interfaces get a lease. This is the output of ip route: [CODE] (TL;DR: how do I remove, say, the default route going thru 192.168.53.254 with ip route?) Now, I'm doing my own PBR load balancing, and I need to take down a route ... | If you telnet into quagga, first: configure terminal then: no ip route and replace [CODE] into your previous command This will disable your previous command. | 4 | 2 | 9,524 | 2014-06-30T11:02:12.577 | infrastructure | serverfault.com | |
330,055 | Web-based vs Native Social Login on Mobile Clients | I've been researching this topic for days, but can't really find any solid reference surrounding this topic.. The idea is providing social login for mobile client apps. That's it. Sharing, accessing user's data, and other social features are not required. Personally, I'd imagine (especially for cross platform games) th... | Disclosure : I'm an Auth0 engineer. Point 1. In theory there's nothing wrong with your proposed approach, it sounds like will simplify things. Looking at it from the software development angle it's just another layer of abstraction that hides all the nasty details of authenticating with multiple identity providers. Fro... | 2 | 2 | 891 | 2016-09-02T20:26:29.167 | api_errors | softwareengineering.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.