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 |
|---|---|---|---|---|---|---|---|---|---|---|
252,351 | New network design from a noob. VLANS, IP's, hardware, etc. Any comments please | I’m currently planning a large network infrastructure for a University in Ethiopia and would like people’s comments on my planning. Please bear in mind I have never done networking before. The campus covers 80 buildings including laboratories, administration, teaching and dormitories. All buildings will have wired, wir... | I have a couple of concerns, the first is the size of your VLANs - do you really want 4k machines per VLAN in a student environment? imagine how much harder it'll be to narrow down problem machines/users in that environment, plus the number of users potentially impacted by these problem machines? I'd be tempted to go f... | 8 | 4 | 3,491 | 2011-03-27T08:56:43.097 | api_errors | serverfault.com | |
230,718 | MySQL GROUP BY query drastically slow down when after data reaches a certain amount | I need help finding out why the following query that aggregates peoples' responses by "item" slows down considerably after the data being aggregated reaches a certain size. [CODE] t1 has about 15 million rows and t2 has about 200,000 rows. All columns involved in the query are indexed. If the WHERE clause captures unde... | I solved the problem. I needed a single-column index on t1.item. It had a multi-column index that was doing nothing for the query. | 0 | 1 | 582 | 2019-02-26T00:25:47.240 | api_errors | dba.stackexchange.com | |
964,305 | Tomcat profiler to diagnose problems only evident on production site | I'm working on a Struts site on a Windows server implementing new features and fixes to the JSPs, Actions, Servlets, underlyings JARs, pretty much most of it. Everything was going smoothly until a JAR update that'd been happy through testing caused the landing page to slow WAY down (10+ seconds to load). What's puzzlin... | I would prefer enabling JMX in tomcat and profile using VisualVM. Here's info on how to enable JMX for profile https://stackoverflow.com/questions/1890431/profile-tomcat-application-with-visualvm | 0 | 0 | 935 | 2019-04-23T20:23:49.647 | infrastructure | serverfault.com | |
506,158 | Firewall allow all ports of w3wp.exe | I want to make the firwall take all process of my IIS 7.5 to allow inbound connections, becasue I dont wanna lost my time making each new application, and to do it easier to maintenance. Can I do it? Its a safe option? But when I allow the w3wp.exe, I dont have any response. | w3wp.exe is not the process that listens for incoming connections to IIS, it's a worker process that handles doing the work of a request once it's received. Anyway, when you configure a rule to allow an image it's for outgoing connections. In general you don't want to configure your firewall to accept inbound connectio... | 1 | 1 | 2,691 | 2013-05-08T19:45:29.810 | infrastructure | serverfault.com | |
6,859 | Error 'Unknown table engine 'InnoDB'' on query. after restarting mysql | I have mysql DB on server S1 (mysql version 5.1.41-3ubuntu12.7-log). I have created master-slave for this DB on server S2 (mysql version 5.1.54-1ubuntu4-log). The DB on S1 was using one data file (ibdata). After dumping the DB to S2, I set [CODE] . This made every table to have its own ibd file. now everything went fin... | I have very bad news for you. You should not have deleted the ibdata1 file. Here is why: ibdata1 contains four type of information: table metadata MVCC data data pages (with innodb_file_per_table enabled) index pages (with innodb_file_per_table enabled) Each InnoDB table created has a numercial id assigned to it via so... | 6 | 6 | 16,836 | 2011-10-16T09:10:51.180 | database_errors | dba.stackexchange.com | |
708,052 | XFS: Internal error XFS_WANT_CORRUPTED_GOTO | After what appears to be a power outage on my standby postgres database, i'm receiving the error: [CODE] after the system reboots as well as postgres error log shows: [CODE] A few days earlier on a separate identical system, I received a postgres error: [CODE] The 2TB filesystem is mounted using: mount -t xfs -o rw,nob... | [CODE] is the default mount value, so your system should already use it. With much probability the issue is due to the [CODE] option, coupled to non-BBU write cache on the host side. You had to take the filesystem offline and run [CODE] against it. | 2 | 2 | 12,456 | 2015-07-23T19:55:40.920 | data_quality | serverfault.com | |
702,574 | Nginx php-fpm, try_files and GET params | I'm having a problem getting nginx configuration to work. Seems like everything works fine but my php script does not receive GET parameters. The most relevant link I get on my issue is this one nginx + php-fpm - where are my $_GET params? But my config is slightly different and simply adding $query_string to the last ... | Okay, one good guy helped me with that. Here's the working config: [CODE] | 2 | 0 | 1,002 | 2015-06-30T12:10:19.117 | infrastructure | serverfault.com | |
753,899 | How much RAM is enough RAM where you want it to be ECC? | I am building a high-spec workstation on a X99 chipset, and I found that 64GB of DDR4 (non-ECC) RAM is quite affordable. This got me wondering, because data integrity in my workloads are important; I specifically wanted to ask a question about what the expected frequency of corruption and memory errors might be, and at... | I want to leave this note as a comment, but I think my concern has been sufficiently (like 95%) alleviated, so I'm answering myself. the comments to this answer show some anecdotes where people find a very low rate of data errors. A rate that is certainly low enough for me to tolerate, as I do not require some kind of ... | 0 | 1 | 140 | 2016-02-04T03:32:23.463 | data_quality | serverfault.com | |
334,804 | Should I use a huge delegator to keep my code decoupled? | I am currently learning to apply the SRP and decouple code. But I found that having a lot of small classes blows up constructors of my classes. And it feels like code that uses another module of my application has to know more of that module than I like to know it. I found that many books mention that classes should be... | This is actually a situation where you've gone a step too far! I find that when I wind up with a ton of settings classes (like the names CastRequestSender and CastConnectivitySender lead me to believe they are), I like to wrap them in one big object called a Container to keep myself sane. So, if you find yourself with ... | 6 | 1 | 148 | 2016-10-27T20:57:44.727 | api_errors | softwareengineering.stackexchange.com | |
52,840 | Why does SQL Server fail to create a procedure referencing a linked server? | Red Gate Deployment Manager (RGDM) today failed with a "login failed" error even though it had administrative control of the target server: [CODE] One of the procedures I want to deploy refers to the distribution database on a linked server. The definition looks like this: [CODE] In SSMS I connected to the target serve... | Some objects are allowed to be created to facilitate Deferred Name Resolution . The assumption is that if you create a procedure that references [CODE] , you will create [CODE] some time between the moment you create the procedure, and the first time you execute it. Another situation that works is a table that doesn't ... | 2 | 8 | 9,831 | 2013-11-05T18:22:58.020 | database_errors | dba.stackexchange.com | |
51,437 | MySQL Cluster - Got error 1601 'Out extents, tablespace full' from NDB | I am trying to do some tests on MySQL Cluster. I am creating my database using following commands: [CODE] Then I populate table with some data and random blobs 50KB each. But I am getting following error: [CODE] It is not cluster memory usage problem: [CODE] 2500*50KB ~= 1GB I have this error any time I am trying to in... | First 2500*50kB ~= 128MB. Then if you will check CREATE TABLESPACE syntax default INITIAL_SIZE for the datafile is 128MB! So if you want to store more data you can either specify INITIAL_SIZE you need while creating tablespace or you can ALTER TABLESPACE ADD DATAFILE . By specifying [CODE] in CREATE TABLE statement you... | 2 | 3 | 2,115 | 2013-10-13T12:04:26.670 | database_errors | dba.stackexchange.com | |
211,765 | SSD as System Memory? | Can multiple SSDs with RAID or something like Texas Memory Systems' storage solutions be used as system memory? | No. RAM is RAM and disk is disk. They're different classes of device, used in fundamentally different ways by the system. | 1 | 8 | 760 | 2010-12-12T17:41:41.800 | infrastructure | serverfault.com | |
311,385 | SQLSTATE[08006] [7] FATAL: the database system is in recovery mode | I have some problem with PostgreSQL and PostGIS. I received an error after running the below query with some coordinates on special raster file. It worked fine until last week. The query is: [CODE] The error is: [CODE] Why does my PostgreSQL instance go into recovery mode on this query process? What should I do? | My case: RDS PostgreSql DB status was [CODE] So I couldn't connect to it from my client w/ the fatal error in the original post. Solution: connect to the AWS web console : RDS > Databases > db-name Modify > Allocated storage >> increase the storage size (optional) Enable storage autoscaling Continue (preview changes) >... | 5 | 2 | 23,454 | 2022-04-27T07:54:03.823 | database_errors | dba.stackexchange.com | |
115,151 | Sustain learning separately - continuous learning | This question is to seek suggestions on how to architect the continuous learning approach in distributed manner. Let me explain the situation: In my classification problem, I have classes which can grow in large number over a period of time, as multiple customers from multiple domains tend to get attached to our multi-... | One option is incremental machine learning (sometimes called online machine learning). In incremental machine learning, existing model weights are updated with new data as the new data is available for training. If the size of the models is a concern, there is work on sparse models. One example is the Pathway architect... | 1 | 1 | 62 | 2022-10-12T08:11:34.837 | data_quality | datascience.stackexchange.com | |
1,149,402 | postfix sending only short messages ( emails ) but not long messages? | when I am sending a short email from "xx@domain.com" or any other email acc , the message is received well in the inbox of Gmail , hotmail etc , but if I send the message again with long text the email is bouncing back with Error : [CODE] PS : SPF AND DMARC is set well and message score test is 10/10 by mail-tester.com... | https://support.google.com/mail/answer/81126?hl=en#zippy=%2Crequirements-for-all-senders In summary Gmail requires SPF, DKIM and DMARC Your sending IP address must have a PTR record. Format messages according to the Internet Format Standard (RFC 5322). If your messages are in HTML, format them according to HTML standar... | 0 | 0 | 86 | 2023-12-08T09:07:29.203 | infrastructure | serverfault.com | |
200,919 | Making subclass more type-specific with accessors | I have a super class: [CODE] with a subclass [CODE] . NOTE: I'm working in java [CODE] only deals with [CODE] s, a subclass of [CODE] . [CODE] references all [CODE] objects. To modify the subclass ( [CODE] ) to only accept [CODE] into its accessors and mutators (getters and setters) I have the following questions: 1) I... | Your situation reeks of the classic Shape hierarchy where a Square inherits from Rectangle (and adds the constraint that both dimensions are the same). This is generally regarded as failing the Liskov Substitution Principle (LSP) , because the added constraint makes that the base-class operations are not always appropr... | 1 | 4 | 917 | 2013-06-08T20:26:46.500 | api_errors | softwareengineering.stackexchange.com | |
90,094 | Alter doesn't show in processlist | I'm performing an alter. It's currently running on a large table (300,000,000). [CODE] But the processlist doesn't mention it, with repeated queries. [CODE] I would expect it to show up. Any ideas why not? | It sounds like the user that's executing the [CODE] and the user who's running [CODE] are not the same user, and the second user lacks the [CODE] privilege. If you have the [CODE] privilege, you can see all threads. Otherwise, you can see only your own threads (that is, threads associated with the MySQL account that yo... | 0 | 1 | 1,187 | 2015-01-25T02:47:27.590 | warehouse_errors | dba.stackexchange.com | |
532,312 | Why is UFW blocking some allowed internal connections? | My set up is this: Server 1 (192.168.1.1) - nginx (load balance) - Ubuntu 12.04 LTS Server 2 - uwsgi - Debian 7.1 Server 3 - uwsgi - Debian 7.1 UFW on server 2 and server 3, is blocking certain requests coming from server 1 (nginx) and is showing up in nginx error log as "upstream timed out". Traffic between nginx and ... | Right, I discovered that UFW was blocking INVALID packets (bad checksum I believe) coming from the Nginx server. No idea why that is happening. I solved this by removing the rule from before.rules in UFW which drops invalid packets. Website running fast again. | 1 | 1 | 3,423 | 2013-08-20T13:03:40.640 | infrastructure | serverfault.com | |
124,380 | HTTP downloads slow - FTP of same file very fast - Windows 2003 | I am having some issues with download speeds on my site via http, i am averaging around 70kbps downloading a file that is around 70mb. But if i connect to my server via FTP and download the same file on the same computer / connection i am averaging about 300+kbps. I know my server has alot of connections at any one tim... | Found out the reason for the slow downloads in case others have the same problem. I was running a tool called IISTracer on my server, apparently there is a known issue which reduces file download speeds to around 80kbps. As soon as i disabled this my download speeds shot up to 330kbps! | 1 | 2 | 3,783 | 2010-03-19T19:17:58.947 | infrastructure | serverfault.com | |
199,306 | connect SQL server file (mdf) with R tool | It's possible to connect SQL server file (mdf) with R tool in visual studio 2017? I tried that many times but the connection failed. From visual studio2017, I want to connect R with Sql server database. I created R project then from R ( [CODE] ) but connection failed. | I am assuming you are trying to use SQL Expess localDB. Since you did not give specific error messages my answer is also very generic. Here is a good reading about LocadDB. Introducing LocalDB, an improved SQL Express. Check if you have LocalDB installed and what version by running this in a command window. [CODE] From... | 1 | 2 | 941 | 2018-03-03T20:08:39.070 | database_errors | dba.stackexchange.com | |
1,025,538 | Why Megaraid-sas and mdadm Raid 1+0 = Raid 10 Slow actual read speeds? | One of raid cards were giving multibit ecc ram module failure , thats why I am moving 60TB of data from one server to another ... Getting 60-100 Mb/s read speeds 3 Megaraid sas raid1 s 8+8+6 x 10TB Disks and spanning them with raid 0 using mdadm when compresisng a folder with tar pigz to another network raid5 folder or... | I have figured out that , small files especially close to cluster size of raid is a hell to copy using mechanical disks and it can go way down ... less than 250Kb/sec while copying small files. Two workarounds are enabling raid card cache which is 512mb and plentiful for streaming small files when it has a chance ... B... | 1 | 0 | 271 | 2020-07-16T17:42:18.120 | infrastructure | serverfault.com | |
120,359 | I used SMOTE-ENN to balance my dataset and it improved the performance metrics, but how can I be sure it's not overfitting? | The models were evaluated using 10-fold cross validation. [CODE] The models in question are XGBoost. [CODE] The shape of the dataset is (117k, 34) after preprocessing and feature selection. The dataset was balanced using imblearn's SMOTEENN. [CODE] Data Before Balancing + Model Performance Data After Balancing (with SM... | While SMOTE is usually a technique that aims to solve what turns out to be mostly a non-problem and probably is not even good at what it claims to do , applying such a technique to the holdout data is the worst idea of all. The point of a technique like SMOTE is to improve the performance of a model that is in producti... | 1 | 1 | 640 | 2023-03-20T10:09:09.740 | data_quality | datascience.stackexchange.com | |
914,766 | haproxy domain redirect not working | [CODE] is my main domain. I want to redirect as well everything to [CODE] . It works fine with [CODE] requests, but if I try [CODE] , I get a certificate error and the redirect to [CODE] does not occur. The relevant part from config should be: [CODE] Where is my mistake? Thanks in Advance. | You can't redirect requests unless you have a valid certificate for the domain that is originally requested by the browser. TLS must be successfully negotiated before the redirect can happen. That is a standard constraint in https, not specific to HAProxy. You need certificates that are valid for all domains for which ... | 0 | 0 | 727 | 2018-06-01T11:39:20.307 | infrastructure | serverfault.com | |
1,030,656 | Some pages return "502 Bad Gateway" error | I just realized that certain links of my website lead to "502 Bad Gateway" error. For example, https://v2a.10studio.tech/10studio/auth/google , https://v2a.10studio.tech/auth/google , https://v2a.10studio.tech/10studio/auth/microsoft , https://v2a.10studio.tech/auth/microsoft . I'm pretty sure that those links worked s... | The error [CODE] means you tried to connect to an HTTPS site which requires SNI but did not send a SNI hostname. You are trying to [CODE] requests that start with [CODE] to an [CODE] server named [CODE] . But this site is hosted on CloudFlare and thus requires SNI to connect to it with HTTPS. Unfortunately nginx's SNI ... | 0 | 2 | 3,380 | 2020-08-18T17:54:45.577 | api_errors | serverfault.com | |
45,822 | user permission cache in session or check from database? | On each page of my websites 2 or 3 permissions have to be checked and I use role-permission model. Which one is better? to check permissions of each user always through database directly or once calculate it and store in session of user(cache permissions in sessions)? which one is more common? | For maximum performance, caching (i.e., precomputation) is pretty much a requirement. Unfortunately, though, there's no cookie-cutter answer for how to implement it. It's not as simple as picking either solution x or solution y. What you want to do is come up with a strategy that caches the information you need as clos... | 4 | 4 | 2,475 | 2013-07-06T15:08:22.750 | warehouse_errors | dba.stackexchange.com | |
306,490 | Failed Postgres Replication from master to standby | I have a master-standby postgres cluster; For availability issue, I want to add a new standy server. So I created a new server, did base installation as installing postgres, creating postgres data filesystem, then initiated a pgbasebackup to the new standby (tried it many times, many from the master and many from the f... | It ends up that I did a test restoration in the past on a new db instance , without removing the archive_command in the postgresql.conf file, which ended up archiving that 0000007.history empty timeline. So, when a new server was trying to fetch the archived logs from the barman, it would find that dummy timeline 00000... | 2 | 2 | 5,077 | 2022-01-24T12:01:54.223 | database_errors | dba.stackexchange.com | |
162,441 | Triggers that inserts values to a table from another table | I am trying to create a report table that contains drug_id, total sales and average sales from an inventories table. This code doesn't work as it should. It duplicates records and when I insert additional rows in inventories, it doesn't reflect. I am new to triggers and complex sql queries, please assist. [CODE] | It appears you have ommited the [CODE] and [CODE] tags in your [CODE] declaration. [CODE] , [CODE] , and [CODE] calls need a table reference, looks like your passing a presumed column reference, also [CODE] keyword is missing after these calls. Its difficult to follow your database structure from this example. Tables '... | 0 | 1 | 1,564 | 2017-01-27T14:15:01.070 | data_quality | dba.stackexchange.com | |
408,106 | DKIM showing bad format | Setting up DKIM on my Postfix/CentOS 5.6 server. It sends and signs the emails, but Google still showing it neutral. The errors I'm getting are: dkim=neutral (bad format) header.i=@r02.lbsmtp.org from googles "show original" interface. This is what my DKIM-signature header look like: DKIM-Signature: v=1; a=rsa-sha256; ... | I came across your question as I was setting up DKIM in our own environment. Now that I have it working (in my test environment), I wanted to respond to your question. There are two packages (that I know of) that can be used for implementing DKIM, both of which are, as of this writing, available in the EPEL (yum) packa... | 1 | 2 | 2,738 | 2012-07-16T11:52:56.290 | infrastructure | serverfault.com | |
875,145 | Nginx Multiple Virtual Hosts Configurations | As per the requirement for our platform, Every website will be auto-hosted along with DNS configurations, making the site live on domain booked, configuring Nginx for each domain and subdomain. We need to have dynamic virtual hosts configurations for Nginx, so we came up with three options, mentioned below. Need sugges... | We finally have settled on Individual Virtual Hosts file configurations Reason being, Most of the websites registered on our platform are served via subdomain and very few will have their own domain. So, in this case, single file with wildcard entry will serve the purpose for the majority of the websites. And for few w... | 3 | 0 | 1,373 | 2017-09-23T12:51:17.653 | database_errors | serverfault.com | |
957,514 | Unable to create a redis instance in google cloud | I have trouble creating a redis instance using [CODE] command I think i have set thing properly. [CODE] and post that i executed [CODE] and got the below error: [CODE] Cant figure out why, seemed pretty staright forward. | Well the error message is misleading. Memorystrore is not available in the region used in the command. When started with a us-central region the command executes. The error message is wrong. | -1 | 0 | 302 | 2019-03-09T16:04:40.610 | database_errors | serverfault.com | |
825,558 | Cannot login on Zabbix docker installation | I am trying to bring a 3 layer (frontend,server and db) initial instalation of zabbix 3.x but I cannot pass the login page. Here are my docker lines: http://pastebin.com/79g1Mucb And here are my docker logs: DB: "The files belonging to this database system will be owned by user "postgres". This user must also own the s... | The isse was the extra B in --env="ZBX_POSTMAXSIZE=64MB". It should be --env="ZBX_POSTMAXSIZE=64M" | 0 | 0 | 1,291 | 2017-01-11T11:52:05.780 | database_errors | serverfault.com | |
998,551 | Understand if email error is due to sender or recipient server | When I try to send emails to a well-known customer of mine, I receive this error: [CODE] Trying with another smtp server: [CODE] My provider says: The error is raised by the remote server (customer) because there's the [CODE] field Instead, the IT service of my customer's company says: The messages talk about [CODE] so... | The receiving server blocks you. This can have multiple reasons, like: Your ip or ip-range is being blocked because it's on some abuse list (consumer ip addresses usually are) Reverse lookup on your ip doesn't work your ip is on a blacklist. even more reason But no doubt, the receiving server blocks you. It's just a ma... | 3 | 3 | 29,089 | 2020-01-11T12:12:51.897 | infrastructure | serverfault.com | |
208,744 | Windows 2008 Active Directory Install - DNS Issues? | I am attempting to setup a standalone Windows 2008(R2) server with Active Directory Domain Services. This install is purely for development purposes. I have installed the OS just fine, and I been through and added ADDS role which in turn add the DNS role. Everything installs just fine and I can run dcpromo which appear... | The error 81 means server unreachable. Use err.exe from download.microsoft.com to lookup the error and you will see the following. LDAP_SERVER_DOWN winldap.h DNS is unable to create built in partitions means it was trying to create the DC=DomainDNSZones,DC=Domain,DC=Local and DC=ForestDNSZones,DC=Domain,DC=Local applic... | 1 | 0 | 12,467 | 2010-12-03T12:25:59.437 | infrastructure | serverfault.com | |
127,257 | / Character in a stored procedure | I am trying to recompile/update a stored procedure in SQL Developer that uses a few division operations to populate tables. A sample section looks like this: [CODE] The problem I run into is in the subquery, it thinks the division symbol is an "END OF FILE" marker, and then can't process the rest of the procedure (Ther... | Your outer select is incomplete, it has no [CODE] clause. Once that's fixed your query may work, if not try putting each of the sub selects inside of a pair of parenthesis, and possibly the whole operation. [CODE] By the way since both the numerator and the denominator are coming from the same table, this would be a mo... | 1 | 1 | 97 | 2016-01-25T19:03:01.787 | database_errors | dba.stackexchange.com | |
995,156 | Can't use postgresql_db module with ansible | Target server: [CODE] But if run ansible playbook with this task will fail: [CODE] Error: [CODE] Why can't it import [CODE] ? | You should make sure that the python autodiscovery or the fixed [CODE] for your particular host is not pointing to an other version of python (than the one you used to install the lib). If this is the case you can either: fix the version to the one you installed the library in (set [CODE] for your host) install the lib... | 4 | 5 | 10,965 | 2019-12-11T09:08:12.817 | database_errors | serverfault.com | |
202,950 | Why isn't my ip helper-address helping? | I have a hub site with a Cisco 2811 and several remote sites, running a mixture of Cisco 851 and 871 routers configured for site-to-site VPN. I am in the process of adding DHCP scopes and DNS zones for the remote computers to enable easier management, and have several of these sites successfully pulling IP addresses an... | Double check your scope on the DHCP server, It almost sounds like DHCP is not seeing a valid scope definition for this subnet. Make sure your router address is correct in the scope options. Try removing the scope and re-adding it from scratch to see if you may have something entered incorrectly that you're not seeing. | 2 | 3 | 8,745 | 2010-11-17T14:50:31.513 | infrastructure | serverfault.com | |
809,485 | DNS Verification using TXT not working | I have followed the instructions for setting the TXT record for chemicalkinetics.info (registered through siteground). After waiting several days, I still cannot get verification. My only guess has to do with information I saw with whois, namely: Domain Status: clientTransferProhibited https://icann.org/epp#clientTrans... | Your domain does not exist as far as DNS on the internet is concerned. These are your nameservers: [CODE] As demonstrated above, those nameservers are not reachable by clients on the internet. Further testing shows that those DNS servers do not even respond to external requests for the domain they are associated with (... | 0 | 2 | 299 | 2016-10-17T09:51:37.830 | infrastructure | serverfault.com | |
422,487 | How do you perform accumulation on large data sets and pass the results as a response to REST API? | I have around 125 million event records on s3. The s3 bucket structure is: [CODE] . Inside each hour directory, we have files for every minute. A typical filename looks like this: [CODE] Each file contains subscription events in json. The subscription record has the following fields: Time of creation Time of arrival Us... | Here is the answer I already scetched in the comments: Let us start without the requirement of filters first: I would recommend not to precalculate and store the "Opening active" and "Closing active" values in the database, only the acquired, renewed and churned values per day, as well as the number of changed subscrip... | 5 | 2 | 1,279 | 2021-02-19T22:08:21.500 | spark_errors | softwareengineering.stackexchange.com | |
127,624 | MySQL Performance issue: ~360ms to fetch 120 rows with 10 columns | I have the following tables: [CODE] Events can happen multiple times (even more than once per day) and in different venues (the table event_dates is used to define this concept). The basic use-case in my application is to get the list of events that are going to happen after a certain date (e.g. show me all events form... | Why have [CODE] ? Can [CODE] be turned into an [CODE] (1 byte) instead of a potentially large [CODE] ? It would probably be better to combine date and time. Joining to the 'time' table seems to add to the complexity and hurt performance. It is essentially impossible to deal with (that is, use an index for) a start-end ... | 2 | 1 | 136 | 2016-01-28T16:42:17.613 | database_errors | dba.stackexchange.com | |
130,999 | commit statement missing for a dml statement in binary log | I have noticed 'commit' statement missing for a DML statement in binary log. Does it mean that this statement is rolled back in server? I am using mysql 5.5.40. sample binlog at 159527792 160229 23:25:22 server id 104 end_log_pos 159528127 Query thread_id=45195 exec_time=0 error_code=0(in comments) SET TIMESTAMP=145680... | mysql will write rollback to binary logs provided the transaction has mixture of engines (myisam and innodb tables). As the myisam can not be rollbacked. I guess you'd like this piece of documentation ... ... This ensures that the binary log reflects the exact data of InnoDB tables, and so, that the slave remains in sy... | 1 | 0 | 158 | 2016-03-02T11:41:48.987 | database_errors | dba.stackexchange.com | |
460,876 | "Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile]" error | After recently upgrading Apache2 to version 2.2.31 I found a strange behaviour in SSL VirtualHost setup. A few of the website I'm hosting were showing the certificate for the default host even if the client was [CODE] aware, and this happened only with a few of them. This shows as the common Firefox's/Chrome's passport... | It happens that it could be a bug in the most recent version of Apache. Solution 1: downgrade to the latest stable Solution 2: edit [CODE] Replace [CODE] (or [CODE] according to your setup) with [CODE] Credit | 21 | 38 | 37,986 | 2012-12-26T00:43:41.147 | infrastructure | serverfault.com | |
739,724 | How to lower child domain and forest functional level? | I added a child domain (ab.xyz.com) to an existing forest (xyz.com) in Active Directory Domain Services. Both domain controllers are running Windows Server 2012 R2. I want to lower the child domain and forest functional level so that I can join another DC to the child domain which is running Windows Server 2008 R2. I f... | You need enterprise admin rights in order to change the forest functional level. Domain admin rights should be enough to change the functional level of a single domain, but it looks like this is not the case when lowering it, although I wasn't able to find any documentation for this. Anyway, since you need to change bo... | 0 | 3 | 1,475 | 2015-11-30T11:22:42.843 | infrastructure | serverfault.com | |
78,354 | Apache Performance SSL (rough estimate with "up to date" hardware)? | I know this is not a good question, but I currently do not have any possibility to "performance test this" on my own, as I do not have access to any dedicated servers and I first have to buy one. What are your experiences in Apache SSL performance (SSL-Requests per Seceond). I would be greatfull for some examples of yo... | Without full specs on your machine it will be impossible to make any sort of statement as to how many requests per second Apache can serve. What I can and will tell you, is that for serving static files (even with SSL) Apache on any modern piece of hardware will be able to saturate pretty much any network connection yo... | 0 | 1 | 396 | 2009-10-26T15:29:16.370 | api_errors | serverfault.com | |
110,854 | Mysql auto start on freebsd 5.3 | I can't seem to figure out how to have mysql start up when booting up for a server than I am now managing. [CODE] The script that starts mysql is here: [CODE] In /etc/rc.conf, I have [CODE] Anyone have any ideas of what is missing? | In 5.3 all /usr/local/etc/rc.d scripts must end in .sh in order to be executed. See /etc/rc.d/localpkg | 0 | 2 | 426 | 2010-02-08T20:37:46.647 | database_errors | serverfault.com | |
179,673 | MySQL queries to some tables in information_schema kill all connections to server | Running this query: [CODE] kills all connections to the server. If I add a condition like [CODE] it does not. MySQL command line client gives this error: [CODE] A jdbc-connected client gives this: [CODE] Things I've tried that I thought sounded relevant based on other people's questions that seemed similar: grant all o... | It turns out there was some corrupt index. First, I queried my server to find the log file location: [CODE] Then I [CODE] and ran the offending query again. It shows up in the logs like this: [CODE] In the interest of time, and because this happened to be an old database whose data could not have changed since the last... | 1 | 1 | 571 | 2017-07-12T16:55:48.793 | database_errors | dba.stackexchange.com | |
263,289 | Possible to install SVGAII drivers on ESX3.5, build 64607 for Windows2k8 R2? | I have ESX3.5, without any of the updates. I installed Windows 2008 R2 SP1 and then installed VMWare tools which defaulted to the standard VGA driver. Graphics performance is horrible. I go to update to the SVGA II drivers found here: C:\Program Files (x86)\VMware\VMware Tools\Drivers\video And I get a driver incompati... | I'm certainly not surprised that you're having problems with such an old version of ESX and such a new version of Windows, and the right course of action would indeed be to update your ESX. But I think you're assuming too much work is ahead of you. Firstly any time you want to do something such as updating your hypervi... | 0 | 2 | 103 | 2011-04-25T21:18:17.477 | database_errors | serverfault.com | |
942,626 | Simply 301 Redirect /path/ to newdomain.com/newpath/ | I have a problem on a WordPress website. I want to redirect come URLs to a new domain. I tried with: [CODE] The redirect is not working because the user is redirected to: [CODE] Here is the [CODE] : [CODE] Any ideas? | You don't actually state the URL you are wanting to redirect? However, the result you are seeing should not happen with the code you posted, unless you were requesting [CODE] ? ( [CODE] is prefix-matching and everything after the match is copied onto the end of the target URL.) However, since you have existing mod_rewr... | 0 | 0 | 39 | 2018-12-03T09:40:23.187 | infrastructure | serverfault.com | |
1,031,472 | MYSQL my.cnf advice needed | I have a dedicated server Linux Cenots 6 with 16GB RAM - Apache + Nginx MYSQL 5.6 please can someone let me know if my etc/my.cnf MYSQL configuration is ok or can it be improved I am getting Reocurring error! the server quit without updating pid file - not sure if this is related to these settings or not Secondly if i ... | Set query_cache_size=0 since you have it disabled anyway. You almost certainly shouldn't be changing sort_buffer_size as join_buffer_size, you are probably crippling the performance by setting them so absurdly high. The rest you may or may not need depending on your very specific workload. You probably shouldn't be usi... | 1 | 0 | 246 | 2020-08-25T19:04:22.353 | api_errors | serverfault.com | |
327,401 | Interpreting MySQL (AWS RDS) CPU load and IOWAIT wrt threading model | This is a general question, not to solve a problem: Since MySQL uses one thread per connection. That means if you do IO, and it has to wait for it, the CPU that the thread runs on will be in IOWAIT. If you have as many MySQL threads as CPU threads, all CPUs will be in IOWAIT. But, that's not to say they can't do anythi... | InnoDB has some background threads doing I/O. So, only some I/O is being waited for. I suggest that what is going on is too involved to make simplistic conclusions. Oracle 8.0 and Aurora have a few cases where multiple CPUs are deployed for a single connection. It's too early to get excited about these rare cases of pa... | 0 | 0 | 185 | 2023-05-23T02:09:30.130 | pipeline_ops | dba.stackexchange.com | |
182,635 | Storing PLC Data in SQL Server database | I'm developing a software solution that requires storing raw data points originating from many PLCs (programmable logic controller, used to control industrial machines such as conveyor belts and robots) into a SQL Server database. My main concern is how to properly store large amounts of raw numeric data. Each data poi... | Let's start with the basics: Should you store 16 trillion raw data points per year in a relational database? Probably not. Think about what you're going to do with it afterwards, and what those queries will look like. Relational databases are great for data that has relationships to other tables and needs to be inserte... | 3 | 5 | 3,447 | 2017-08-03T20:28:33.327 | database_errors | dba.stackexchange.com | |
465,814 | Grant to ad user the permission to write his email and telephonenumber fields only | I read about the SELF group, can I use it to grant write permissions on their own single attributes(like email and phone number) to active directory users? | You can use Delegation of Control to delegate control of property specific permissions. Additionally, you can scope the Delegation of Control to just certain objects (users). | 0 | 0 | 347 | 2013-01-10T14:51:25.130 | infrastructure | serverfault.com | |
389,793 | How to distribute code reviews workload in a small team? | I have a small team where I'm largely the only person who reviews what goes into production and makes sure that the code introduced doesn't contradict business logic, no bugs etc.. I know a lot of this can be improved with tests and we often use them, however I see tests at most complementing the human code review (wha... | There are a number of ways to ease/share the burden: Tools You don't say what languages you're using but there are many tools out there that can do basic analysis for you such as StyleCop, ReSharper, FxCop etc. Code coverage For well tested code, coverage percentage should be in high 80s at least. Peer review Even if y... | 3 | 5 | 878 | 2019-04-04T12:11:43.870 | api_errors | softwareengineering.stackexchange.com | |
470,024 | Resetting the Network Type on Windows 7 | My employer has a network which primarily consists of Windows XP workstations; and I am a Linux user at home. I have a single Windows 7 workstation which was moved and reconnected to the same switch port in the network closet. At this time, the previously-functioning workstation is listing the wired network connection ... | I have solved the problem as of this morning... My user moved their own computer equipment, including a small router (which I previously installed as a simple switch) to connect both of the user's computers to the single wall jack in the area. Earlier, I did a cursory check of the cabling, but my user had disconnected ... | 0 | 1 | 237 | 2013-01-17T14:44:03.390 | infrastructure | serverfault.com | |
367,275 | Handling inconsistent state of domain objects | In general, I would my domain objects (customer, contract, etc.) to be always in a consistent state. However there are situations, where they might be in an inconsistent state, and nevertheless I want to work with them: When I load the domain-object from the database and it is in an inconsistent state (maybe someone ch... | In general, you have the right idea. Assume that "(...) they might be in an inconsistent state, and nevertheless I want to work with them." is false and that you never-ever want to see your objects in an inconsistent state. Let's run with this idea, and see where it takes us. When loading from the data base When you lo... | 0 | 1 | 672 | 2018-03-08T10:14:55.070 | data_quality | softwareengineering.stackexchange.com | |
958,439 | How to enable correct routing with a VPN interface? | I installed [CODE] on a server in a LAN and have a problem with a single [CODE] between two components. the topology is as follows: [CODE] is a Linux machine (Ubuntu 18.04) which has one physical interface with the IP [CODE] and a virtual interface with IP [CODE] [CODE] is a machine which connects to the LAN via [CODE]... | The problem was with the double route [CODE] The first one is added as part of the setup of [CODE] . It is correct. The second one is retrieved from DHCP, which sends this route to clients so that they know how to reach [CODE] , that is the VPN network. This information is not only not useful on the host which hold the... | 0 | 0 | 2,020 | 2019-03-15T13:16:53.270 | infrastructure | serverfault.com | |
279,075 | Replicate multiple times a set of rows with unique column in a table | I wish to replicate a set of rows in a table but with handling unique column in SQL Server 17. The table is: [CODE] The table contents are: [CODE] Now I wish to replicate those rows multiple times but the problem is with NAME column which is UNIQUE. The solution I did so far is just use of a cursor, but this is ineffic... | [CODE] Some explanation provided by the OP, added so others can adapt the solution: Actually used CTE as a generator of integers (called 'fnTally') which he later used in CROSS JOIN to produce cartesian product of those two tables - the source one which is 'test1' and generated by CTE called 'gen' (a combination of eve... | 0 | 1 | 571 | 2020-11-02T18:50:13.293 | database_errors | dba.stackexchange.com | |
723,266 | What to do if /usr/lib/python*/site-packages is accidentally deleted? | I have accidentally deleted my [CODE] folder for python2.7.5 under [CODE] . I have seen that if this problem happens i need to install python again. So, i took an rpm and tried [CODE] But, it says i have already installed python2.7.5 in my centOS 7. I kind of got stuck, how to resolve this? N.B. I have no Internet conn... | You need to tell [CODE] to overwrite the packages. So your command should be: [CODE] This of course needs the [CODE] -packages for Python in the current directory. | 0 | 1 | 1,151 | 2015-09-18T11:08:43.500 | infrastructure | serverfault.com | |
123,141 | Given a set of VLSI chips, how do I determine which are good? | I have the following problem: Given [CODE] chips [note: these are VLSI chips] out of which majority of chips are good, we need to find one good chip. The only test that we can apply is on a pair of chips that answers if both chips are good or both are bad. The second part is to find a good chip if some tests might prod... | I think this is a clustering problem: you have two clusters - the good chips and the bad chips. Your test tells you if two chips belong in the same cluster or not - at least under my interpetation of the question you have asked. The reference provided in the answer by Woot4Moo suggests a different question to this. For... | 5 | 2 | 1,808 | 2011-12-03T19:04:37.587 | api_errors | softwareengineering.stackexchange.com | |
752,844 | Nginx remove characters from variable | Basically what i want to do is put the requested URL into a variable, and then remove a character (like /) and get a new variable. I'm trying to implement trailing slashes at the end of the URL's; This works, but i want to do it for all files: [CODE] Otherwise if i add a trailing slash at the end it produces a 404 erro... | You need to rewrite the [CODE] variable if it contains a trailing slash. This is an internal rewrite so it will not affect the URL as it appears to your customers. [CODE] Your main location can only test for the existence of static content. PHP files need to be handled in a different location block. [CODE] The existenc... | 2 | 1 | 3,520 | 2016-01-30T11:15:14.520 | infrastructure | serverfault.com | |
1,062,581 | Nginx upstream timed out (110: Connection timed out) while connecting to upstream | I have Nginx & App running in container (Kubernetes). Using NginX entry point for TLS handshaking with following configuration [CODE] I can [CODE] from Nginx Container. But when I do the same on Public endpoint with curl ( [CODE] ) which hits Nginx first, I get [CODE] & following error in Nginx [CODE] any help on, what... | Try removing all non-essential parts. E.g. try the below minimum working example: (edit the sub.domain.tld) [CODE] From there add elements until you find what causes the timeout. | 0 | 2 | 10,741 | 2021-05-04T22:08:04.827 | pipeline_ops | serverfault.com | |
168,849 | How do I configure multiple VLAN connections on a single NIC? | I know how to add the extra IPs for the additional VLANs on the single NIC, but I'm not sure how to go about directing the traffic to the separate VLANs. On the Windows level is there anything I need to do besides enable tagging on the NIC? On the switch side I'm guessing I just need to add multiple VLANs to the port t... | That sounds like just about everything you need to do. On the windows side of things, go to the properties of your nic and hit the configure button next to your nic's name. there should be a tab (assuming intel or broadcom) that says VLAN. Add the vlans you want, and individual nics will appear in the network connectio... | 2 | 1 | 13,388 | 2010-08-10T12:15:06.940 | infrastructure | serverfault.com | |
681,338 | Maildir on Debian Squeeze - Finding email boxes on /lost+found | A server that I'm helping to administrate had a severe file system problem and now there's a lot of files inside the [CODE] directory. I'd like to find the [CODE] 's received and sent mail boxes. We're using Maildir email format, Postfix as MTA and Dovecot as POP3/IMAP server on a Debian Squeeze. I've already tried [CO... | For received email , you can rely on Delivered-To to identify the correct recipient as @sebix has said in above comment .The challenge is, if the email has more than one Delivered-To header. So you must modify the grep to search user@example.com mailbox [CODE] For sent email , you can rely on From header. Again, you sh... | 4 | 2 | 180 | 2015-04-08T18:08:43.750 | infrastructure | serverfault.com | |
524,878 | Nginx as reverse proxy causes failure to respond to certain POST requests | (specifically, the ASP.NET postbacks - but even then only some of them) I have nginx configured to reverse proxy an ASP.NET server. Most of it works perfectly fine. All GET requests work, and most POST requests work too. Most ASP.NET postbacks work. But there is the occasional postback which, for some strange reason th... | The problem: ASP.NET development server sends a 100 Continue response even when there was no [CODE] in the request. Nginx will issue a request with no Expect header; ASP.NET will respond with one, then receive the rest of the request, and then send the actual response. Nginx, however, will only forward the 100 Continue... | 1 | 2 | 2,164 | 2013-07-19T23:54:53.360 | infrastructure | serverfault.com | |
539,371 | How to block access from users but not from http? | My web files are located in [CODE] Permissions are: [CODE] I have an FTP user "ftpuser" but I don't want them to be able to access any of the files in [CODE] However, if I try [CODE] on ANY of the parent level folders, it gives a 403 Forbidden error, even though the user Apache still has RX permissions on web. How can ... | just set the webserver (apache,www,www-data, whatever it is on your distro as owner) [CODE] (Those commands should give exactly what you asked for . I'm not convinced it is what you want as it denies ftpuser any access at all to any files even remotely related to public serving... if you want ftp user to have access to... | 0 | 1 | 185 | 2013-09-16T19:29:16.393 | api_errors | serverfault.com | |
487,312 | Using Microsoft DNS to respond based on requesting subnet | In our enterprise Windows Active Directory environment, we have some 50+ subnets scattered across a large geographical area. We have a system at each site that supports the site by providing a central drivers store, a central software store, SEP definition files, etc. Data replicates among the different machines using ... | Your requirements go beyond what you can get with DNS reordering / subnet priorization implemented in Windows. There is no way clients could infer what host is the "nearest" to them by DNS information alone. You should seriously consider using Dfs nonetheless. Access to Dfs shares is site-aware and you could define you... | 4 | 2 | 3,301 | 2013-03-12T19:53:30.937 | infrastructure | serverfault.com | |
199,818 | Msg 8152, Level 16, State 2 | Have anyone experienced this? String or binary data would be truncated Raised during [CODE] ; even in [CODE] . I'm not having this problem in other databases. I may have reconfigured something as this is only a test database. All I am seeing in the internet is regarding length of strings inserted by [CODE] statement ex... | Community wiki answer : Check for triggers, and DDL triggers on the database. The error message gives the name of what to look for: procedure [CODE] line 47. | 1 | 0 | 298 | 2018-03-09T14:31:52.287 | warehouse_errors | dba.stackexchange.com | |
634,816 | Replication Issues in Active Directory - Computer Objects showing up in multiple OUs | There seems to be replication issues in the domain , but there is a strange occurrence. Some computer objects are moved to a different OU ; after a day when i searched for those computer objects in ADUC; -> When the scope is selected as entire directory , the computer object showed up in correct OU with correct time-st... | Selecting "Entire Domain" in the "Find..." dialog causes the search to be run against the Global Catalog partition of the Active Directory. Selecting the domain causes the search to be run against the domain's partition. It's unclear to me why you're seeing older data in the domain partition than in the Global Catalog.... | 1 | 2 | 559 | 2014-10-09T17:44:00.380 | database_errors | serverfault.com | |
10,179 | How fit pairwise ranking models in XGBoost? | As far as I know, to train learning to rank models, you need to have three things in the dataset: label or relevance group or query id feature vector For example, the Microsoft Learning to Rank dataset uses this format (label, group id, and features). [CODE] I am trying out XGBoost that utilizes GBMs to do pairwise ran... | According to the XGBoost documentation , XGboost expects: the examples of a same group to be consecutive examples, a list with the size of each group (which you can set with [CODE] method of [CODE] in Python). | 26 | 12 | 27,663 | 2016-02-10T16:40:34.743 | data_quality | datascience.stackexchange.com | |
1,018,416 | Error while using template for vm domain join | I'm trying to use below template to add VM to domain in Azure. https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-vm-domain-join-existing/azuredeploy.json (template: vm_domain_join.json below) I am providing vmName and locationName as variable but getting below errors while executing - az gro... | Your parameters variables are all inside a single quote block, so they are take literally and not expanded , change them to double quotes and escape the inside quotes, like: [CODE] | 2 | 0 | 341 | 2020-05-23T21:40:07.580 | pipeline_ops | serverfault.com | |
303,492 | MySQL incorrect nested query output when use table name | I have encountered a very odd situation with MySQL (replicated with same results in PSQL) when a query return the right result when is used a table name alias but wrong result when is used full table name. Please see bellow for full details: We have the following 2 table COURSE and STUDENT COURSE table has 2 records ST... | They are absolutely not the same query. The first one refers only to the outer tables in its inner [CODE] , but the second has a correlation instead In the first query: [CODE] This is a cross-join of both tables. Generally you should avoid this syntax, and favour explicit join syntax, this is really the root cause of y... | 0 | 1 | 175 | 2021-12-03T20:04:35.113 | database_errors | dba.stackexchange.com | |
282,906 | What is the possible cause of email to become junk email? | We have major problem about "junk email" . We have an Email Blast software. The system is developed in PHP. We send a thousand emails for visitors promotion. The email contains an image (.jpg, .gif) format. The size of the image is 1200x700. Only the image contains the information about the show and the subject. It see... | There are many reasons your mail could be considered junk: Because your mail matches charactaristics typical of spam. This could be thousands of things, but some common ones might be: It has mail headers that look like it comes from bulk mailing software It has very little text, and large graphics It contains keywords ... | 1 | 5 | 809 | 2011-06-22T08:38:01.267 | infrastructure | serverfault.com | |
924,794 | Powershell script to detect when a hot spot is in use and edit the registry | We have a situation where a number of Reps use there iPhones as hot spots. Not a problem on it's own. However, to prevent over use of data we would like them to Set the Wifi point as Metered when using the iPhone. Again, sounds simple - right? Enter Microsoft they have locked down the ability to toggle Metered connecti... | To convert netsh string output I suggest to use the cmdlet [CODE] . It expects an equal sign delimiting property from value so you'll need a RegEx to replace: [CODE] Sample output: [CODE] That looks quite similar, but from different ordering (due to hashtable) you see that now it's an object with properties you can acc... | 1 | 1 | 1,337 | 2018-08-03T10:46:32.950 | infrastructure | serverfault.com | |
240,022 | SQL Server space in MDF file with multiple files and one Primary file | We have space issues in our F: and our H: drive. We have added one more drive - I: drive with 500 GB capacity. Can we add the new database file in the I: drive and set the autogrowth option in the F: drive and the H: drive so that the new data will use the I: drive? The current database files are as follows: [CODE] | Yes, you can go ahead with that. Limit the other secondary files (Disable Autogrowth) and create new ndf file in the new drive. This will resolve your space issue. | 0 | 1 | 286 | 2019-06-07T02:08:02.817 | api_errors | dba.stackexchange.com | |
422,446 | gitolite mac don't add new user to authorized_keys | I installed gitolite and every thing works fine for me as admin. But when I'd like to add add a new user the new user can't connect to the server. After I looked into the file authorized_keys I saw that the new user wasn't added to the file. During the commit of the new public-key I get some workings: [CODE] How can I ... | The section " uncommon errors " give some possible causes. ( Case 1 ) you copied a bare repo (" [CODE] ") from another [CODE] site (or [CODE] with [CODE] on). Then you pushed a change to " [CODE] " or ran certain server-side commands without adding the repo to the conf. Conversely, you removed "repo" from " [CODE] " bu... | 2 | 2 | 2,221 | 2012-08-29T11:26:31.267 | infrastructure | serverfault.com | |
90,354 | Best way to migrate a huge SQL Server database with low downtime over network | Problem definition Our database server needs to be transferred to an other datacenter. It runs on Microsoft SQL Server 2012 Enterprise (64-bit) and contains two databases of about 2TB and 1TB. Having little to no downtime for this would be ideal. Workload Those databases are used for a .NET website and are constantly g... | Straight backup and restore is obviously out. I also wouldn't consider replication of any kind. Database mirroring is relatively simple to set up, but requires real-time connectivity between the two servers, setting up of partners and endpoints, etc. Availability Groups could be an option, but on top of the networking ... | 26 | 22 | 20,490 | 2015-01-28T00:54:19.947 | database_errors | dba.stackexchange.com | |
303,695 | Oracle generating hash_val from a clob | I have the following table, where I would like the value of hash_val to be generated from clob_val whether clob_val is inserted or updated. Can this be done perhaps by making the column hash_val a virtual column? Or does this have to be done via a function and trigger. I want to use something like the CRYPTO call below... | There is no syntax for [CODE] that will allow you to automatically update a value of a column due to a DML operation. If the function is deterministic, you might be able to define that column as a Virtual Column instead. (I don't know if VC supports LOBs). Alternatively, you'll need to do the update in a Trigger. (Agai... | 0 | 0 | 1,001 | 2021-12-08T17:03:36.310 | database_errors | dba.stackexchange.com | |
867,725 | find files within specific date then copying them grep No such file | i am using centos7 and i want to find files that have been created at 9 Aug then moving them to another folder B under the root path so I'm issuing the following command [CODE] with the following error [CODE] what is wrong in my command? | You can use the following command [CODE] | 0 | 0 | 92 | 2017-08-09T13:47:03.973 | infrastructure | serverfault.com | |
519,725 | Can't download from a https address using wget | I'm trying to download some videos from DefCon archive using [CODE] but i'm getting this: [CODE] I tried to use [CODE] with [CODE] but got the same result. What is the problem? How can I force wget to download the file? | I think the problem is at their end as I get the same issue when using a web browser, curl, wget and openssl client ~$ openssl s_client -connect media.defcon.org:443 CONNECTED(00000003) 15891:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:188: | 0 | 1 | 1,444 | 2013-06-30T15:49:08.077 | hadoop_errors | serverfault.com | |
1,067,785 | My six year-old WPF executable is suddenly being detected as MSIL/AgentTesla.FU!MTB by Windows Defender | I wrote this app years ago, for my own personal use, never published it anywhere. I wondered if a virus might have been able to infect it, but even restoring the exe from six years ago doesn't solve the problem. I haven't managed to find anything useful on how this trojan is detected, which might enable me to change wh... | Get a second opinion by scanning it with other engines, such as with VirusTotal . Upload it for analysis by Microsoft security intelligence . Microsoft has an interest in keeping you both as a developer and Windows user. This specific variant was cataloged by Microsoft in January 2021. AgentTesla is a remote access tro... | 0 | 1 | 1,038 | 2021-06-25T05:45:12.423 | infrastructure | serverfault.com | |
36,263 | Why chromedriver is not recognized when an environment variable is created in windows 10? | I created a testing project and set an environment variable. Then run the project and it could not find the chromedriver. Then I set a path inside the project to the chromedriver. It worked. The problem occurs when I set an environment variable only. I tried setting the path in Windows 7 and no problem occurred. Is the... | Why not use an API that downloads the Webdriver, sets the environment variables and removes the issue of updating the path if the project is shared on another computer/server? This would do : https://github.com/bonigarcia/webdrivermanager | 2 | 3 | 2,326 | 2018-11-02T06:14:32.380 | data_quality | sqa.stackexchange.com | |
859,220 | how to compile mariadb with libmysqlclient.so? (missing libmysqlclient.so in /usr/local/mysql/lib) | I just started to change our database from mysql (community version) to mariadb with the further use of php7.1/apache2.4.25... So I have to compile mariadb in our new production environment. I compiled it with these options: [CODE] The mysql community version has a libmysqlclient.so in /usr/local/mysql/lib located. If ... | OK, now I found a solution. I've just did a symbolic link to libmariadb.so and it now looks like the following: [CODE] In this case PHP 7 would finally find the mysql libraries... | 0 | 0 | 1,126 | 2017-07-04T07:03:52.930 | database_errors | serverfault.com | |
795,685 | Time Synch Issue in Win Server OS | There is time sync issue in couple of server's. Below is the Description There are two identical server's with same OS and same set of software's running. And they are pretty new server's.In every 30 Min or so OS time gets changed to some random time. There is no chance of CMOS battery going bad. As these are new we ev... | [CODE] | 0 | 1 | 378 | 2016-08-09T07:20:56.607 | infrastructure | serverfault.com | |
335,985 | Acceptance test execution strategies for heavy first-time-setup apps | We have a system with about 250 tables. The first-time-setup include running about 50 queries (known also as seeds). We're trying out strategies to automatize our acceptance tests, and our first choice was to clean and rebuild the database on every scenario (aka: every test), so that we could keep them isolated from th... | This is not by any means a bad practice. It may seem like an overkill but doing integration/system type of testing such a way gives you tremendous benefits. Tests become a lot less fragile when you set them up this way. Imagine you add a new test only to find out that all the other tests that run afterward now fail. Th... | 5 | 3 | 168 | 2016-11-13T22:44:07.620 | api_errors | softwareengineering.stackexchange.com | |
571,393 | Linux : SSD performance tweaking queue | I've allready applied well known mountpoint options for ssd, enabled stuff in LVM for ssd optimisation as well. Now i've ran into a possible challenge. Would it be possible to gather information on how to tune the values for the deadline io-scheduler such as shown below. To work better with this particular disk + contr... | echo 640 > /sys/block/sda/queue/max_sectors_kb That seems a particularly odd value for max_sectors_kb. You've not said which SSD this is - but most modern drives I've come across are using 4128 byte sectors (although many lie about their geometry - presumably to keep other operating systems happy). Certainly your OS is... | 0 | 1 | 4,751 | 2014-01-31T20:58:37.740 | infrastructure | serverfault.com | |
512,817 | New SAN causes HTTP 414 error | We have a IIS virtual directory (/Upload) mapped to a DFS share, which resides on a SAN. The DFS share was moved from SAN A to SAN B and since then if we try to access any content via the virtual directory, we get the error: HTTP Error 414.0 - The page was not displayed because the Request URI is too long. We have trie... | The issue was resolved when the SAN provider finally acknowledged that there is a known issue. They supplied us with a patch, which meant IIS versions | 1 | 1 | 1,309 | 2013-06-03T13:11:01.407 | api_errors | serverfault.com | |
214,021 | Are duplicates in Read Commited standard behaviour? | This refers to this question: Duplicate records returned from table with no duplicates The "read commited" isolation level assumes that one transaction could read same record differently, but it does not explicitly imply that records could be duplicated. I agree that two statements in the same transactions could return... | The SQL Standard isolation level definitions are (probably deliberately) imprecise. They are given in terms of allowable concurrency phenomena: P1 - dirty read P2 - non-repeatable read P3 - phantom At [CODE] isolation, only P1 is disallowed. extract from ISO/IEC 9075-2 Reading the "same record" more than once due to mo... | 1 | 8 | 1,278 | 2018-08-03T16:49:04.477 | data_quality | dba.stackexchange.com | |
766,017 | Why won't my SSH keys forward properly? | I'm trying to ssh from my machine to another machine and from there to a third machine. When I do it manually, it works like this: [CODE] But I would like to do it directly, in one step. And I want my SSH keys from localhost to forward to the third machine. I thought this would work, but it doesn't: [CODE] Why? How can... | If you want to forward connection to your authentication agent, you need to have the authentication agent running on your machine. You can check it using [CODE] . If it is not running, start it and add the keys: [CODE] and then after connecting to the other server with [CODE] switch, you will be able to authenticate us... | 5 | 8 | 3,172 | 2016-03-25T03:08:54.690 | infrastructure | serverfault.com | |
414,822 | Can ping servers but cannot connect to them | Sorry in advance if this question is a bit newbi-ish. I downloaded [CODE] and added multiple [CODE] files for different servers I need to access. I can browse to only a few of them, but most of them I get the following errors: Unable to decrypt password Cannot establish a connection I have checked the passwords and cre... | Just because you can ping a system or connect to it through a web-browser does not mean you can connect through other methods. Since you are a "newbie" as you put it, ill explain it in layman's terms. Computers use certain ports to communicate with other systems and to allow communication to their own system. Services ... | 0 | 4 | 58,636 | 2012-08-06T19:46:42.483 | infrastructure | serverfault.com | |
125,694 | /var/run/httpd.pid missing | Recently one of our web servers httpd stopped working and I haven't been able to find the problem. Today I sat down and went through every directory in the httpd.conf and have found an issue. the /var/run/httpd.pid is missing from the folder. All other files are there and seem to be fine. I cannot create a new file wit... | You have to find out where your Apache creates its PID and who is the owner of the process. Then, check if the Apache owner has the read/write access to the destination directory. | 0 | 1 | 3,169 | 2010-03-23T21:44:19.883 | infrastructure | serverfault.com | |
29,122 | Encog neural network multiple outputs | I am a little confused with using encog to create a neural network. I am trying text classification with a basic feed forward network. For the input data I have 200 unique words (features/inputs) to input into the network and 100 different pieces of text. so I have a matrix of 100x230, essentially 100 different trainin... | Needed to normalise the data which encodes the column and then denormalise on the output which gives the correct classification. | 0 | 1 | 262 | 2018-03-15T15:17:44.897 | data_quality | datascience.stackexchange.com | |
231,453 | MongoDB stepDown fails in a PSA Architecture | I have set up a MongoDB cluster using a 3-Member Primary-Secondary-Arbiter Architecture Environment: LXC containers Linux Debian Stretch (9.8) MongoDB server version: 4.0.6 MongoDB Containers: lxc-mongodb-01 (primary) lxc-mongodb-02 (secondary) lxc-mongodb-03 (arbitrer) Replication Status Everything seems to work fine ... | There is No electable secondaries because priority of secondary node is set to 0 (see [CODE] in the original post. Thanks to Mani for his suggestion!). I updated priority (and votes ) for lxc-mongodb-02 (_id = 2): [CODE] lxc-mongodb-02 is now electable as a PRIMARY. That being said, I just realized that a permanent swi... | 2 | 5 | 875 | 2019-03-06T13:13:23.070 | database_errors | dba.stackexchange.com | |
392,704 | ssh connection refused with out iptables rulles | I changed the ssh port from 22 to 2021 and it worked correctly till 3hours ago,after that when I can't connect to ssh. ssh: connect to host 130.185.72.125 port 2021: Connection refused so I checked iptables,I stop it from webmin,and Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy AC... | The sshd process may not be running at all. try checking with: [CODE] to see if it's running, and on which port. | 0 | 4 | 1,176 | 2012-05-25T15:35:58.477 | api_errors | serverfault.com | |
148,430 | how to roll back SQL Server updates? | A botched update that failed halfway is causing issues, I was wondering how I could roll back an update for SQL Server? Secondly, I was wondering if there is any other place (aside from) **Setup Bootstrap\Log** where I could see which updates were installing and which one failed. I use SQL Server 2012 | That path is the full source of SQL installation info and is a goldmine. The best way to deal with a failed patch is to find out what happened; either in those files or the SQL ERRORLOG. It's most commonly SSISDB in an availability group or a filestream error (fixable with add/remove programs on the instance to run a r... | 1 | 1 | 4,780 | 2016-08-31T13:29:06.620 | database_errors | dba.stackexchange.com | |
136,008 | How to grant permissions to users based on table information? | Say I have a table: [CODE] Now I create two views: [CODE] What I want to do is give access to each employee in the table (their usernames match their entry under the 'Name' column) to the view that corresponds to the department they're in. I know I could just do: [CODE] But mostly out of curious, and for larger databas... | Something like that could be achieved through dynamic sql, or via using stored procedures instead of views (for selecting) or triggers (for controlling inserts/updates).alter But you can also create the memberview to return values according to the currently logged on user, which is probably more practical: [CODE] | 1 | 1 | 43 | 2016-04-21T02:32:45.637 | warehouse_errors | dba.stackexchange.com | |
146,678 | Standardized Data Structure Interface | I want to work with a variety of data structures (arrays, singly/doubly linked lists, sorted structures, etc.) on a plug-and-play basis. For example, I want to be able to easily swap in and out the sorted list and the array (which is re-sorted after every insertion/deletion), to test which one has better performance. I... | The best designed collection framework I have personally worked with, is Scala 's, especially combined with the extensions from the Scalaz library. The Haskell community currently seems to be the frontrunner when it comes to figuring out very general collection interfaces, see e.g. the [CODE] or [CODE] type classes, zi... | 4 | 6 | 2,340 | 2012-05-01T03:42:56.000 | pipeline_ops | softwareengineering.stackexchange.com | |
62,715 | ext3 file system failures after RAM upgrade | I have just added 2GB of RAM into my laptop and started getting problems with ext3 file system. I have tested the actual memory modules with MemTest86+, and they were fine. This issue also happens when I add other 2GB module (different manufacturer), so it's unlikely that added module itself is faulty. Both modules are... | Memtest is software-based, and software memory testers can tell if if there is a problem, but can't tell you there isn't . In other words if it finds an issue, there's a problem. If it doesn't, it might not have a problem. It's like asking your brain to objectively evaluate yourself. Doesn't work entirely well. You don... | 2 | 3 | 587 | 2009-09-05T17:33:11.997 | infrastructure | serverfault.com | |
1,132,278 | Kubernetes RabbitMQ Operator: Cluster is having startup issues (readinessProbes are failing), how to troubleshoot further? | My RabbitMQ Cluster is not switching into ready state (readiness probes are failing), as it is having troubles on startup. The cluster was deployed using the official RabbitMQ operator. Unfortunately the logs do not contain any valuable information. The RabbitmqCluster resource is more or less the default hello world e... | I think this case was very special > still I would have liked to have some kind of logging for rabbitmq_initialize, as this is currently missing. In my case it was a non reachable core-dns (due to invalid K8s routing configuration), that seem to be necessary when starting rabbitmq. I was also able to reproduce the prob... | 0 | 0 | 764 | 2023-05-31T06:00:17.073 | pipeline_ops | serverfault.com | |
612,318 | OpenVZ Local Network | I recently aquired 7 OpenVZ Virtual Private Servers for a load balanced website. 2 Load Balancers 3 Web Servers + MySQL API Server + MySQL Storage Server 2 Storage Servers (For PHP Sessions and Uploaded content) Though, my problem is I only have public IPv4s to connect them with and no LAN Network. So I was wondering i... | Yes, if your provider also provides a separate network for this purpose. Otherwise just use the public IP addresses. Though in this case, if you use SSL you will have to pass it all the way through to your backend servers rather than terminating it at the load balancers, to ensure that other customers' virtual machines... | 0 | 0 | 72 | 2014-07-14T06:44:58.790 | database_errors | serverfault.com | |
295,929 | How do I find and report on broken symbolic links automatically? | As tidy sysadmins, we like to ensure that the little things are just as well covered as the big things (when time permits). One of these things is ensuring that our systems aren't full of broken symlinks. Why are these little blighters a problem? Because they make you think files are there when they're not, they can be... | The problem with [CODE] is that is has the side effect of expanding the search into sub-directories that are the targets of [CODE] , which might not be expected or desired. With [CODE] version of [CODE] : [CODE] except that doesn't find cyclic symbolic links. [CODE] in the other answer isn't as portable, so distilling ... | 10 | 7 | 8,601 | 2011-07-31T00:58:45.767 | pipeline_ops | serverfault.com | |
228,077 | Server not parsing PHP properly | I have a blade running SunOS 5.1 and PHP. There's a problem with it parsing PHP though, and once it hits a => , such as setting up an array, it starts printing the source to the page. Example source: [CODE] This would output: [CODE] | Either your version of PHP doesn't recognize the [CODE] tag (try with [CODE] instead?), or more likely the PHP interpreter is not working/started/triggered. Thus, when loaded the PHP code is interpreted as if it were HTML, [CODE] the line above starts with [CODE] and ends with [CODE] , thus the browser considers it to ... | 0 | 0 | 123 | 2011-01-28T12:19:38.943 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.