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 |
|---|---|---|---|---|---|---|---|---|---|---|
1,020,381 | Squid proxy slow via PS4? | This is my config: https://paste.ubuntu.com/p/sRQCkFy4dy/ The system running Squid Proxy is a native Ubuntu 20.04 on Ryzen 3200G/8gb/120GBSSD. When I use it to connect my PS4 to the internet, downloads are extremely slow. I am not sure how to diagnose this, can you help me out? | There are a lot of thins that can go wrong. How fast are the exact same downloads on the Ubuntu-Machine itself? What does your /var/log/squid/*log say? PSN Downloads are (usually) multistream-connections, I suspect Squid is just taking HTTP requests (and nothing like bittorrent) Definately have an eye on the logs. Usua... | -1 | 0 | 386 | 2020-06-07T13:34:22.797 | infrastructure | serverfault.com | |
1,047,821 | Spark-Cassandra-Connector Issue Exception in thread "main" java.lang.NoClassDefFoundError: com/datastax/spark/connector/rdd/reader/RowReaderFactory | What is going wrong with the Spark Cassandra Connector could you please help to solve this? Scala File: [CODE] SBT file looks like: [CODE] Commands to execute: [CODE] Error Log: [CODE] What is my mistake in this case? | This question is more for StackOverflow, but I'll answer here. The main reason is that [CODE] just compiles your code, but don't put dependencies into resulting Jar file. either you need to start [CODE] with [CODE] , or you can do [CODE] , but in this case [CODE] needs to be declared as [CODE] . See documentation for S... | 0 | 0 | 1,623 | 2020-12-28T18:22:30.783 | database_errors | serverfault.com | |
50,761 | Send email when anyone logs on | My CentOS/RHEL system may have been hacked, I'm not sure. But I'm playing it safe by creating a new slice from scratch. I've installed tripwire, but I'd also like to be emailed when anyone logs in. I don't want to wait for the daily logwatch report, I want an immediate email when anyone logs in. Preferably with their i... | You should use a solucion for log monitoring like OSSEC , it will look on your logs for security information (including login, sudo, etc.) and send you an e-mail when the alert is important. It's easy to configure and you can raise the alert level for e-mails or include an [CODE] on the specific alert. It can also do c... | 10 | 9 | 18,875 | 2009-08-06T04:57:30.283 | infrastructure | serverfault.com | |
298,176 | Are ASP and ASP.NET entirely separate in IIS 7.5? | This is probably a silly question, but the names are confusing and I can't find a direct answer. There are a lot of limits in the ASP section of the IIS configuration that I might want to tweak (such as bufferingLimit, maxRequestEntityAllowed, and queueTimeout) -- but only if they affect ASP.NET. But I suspect that the... | ASP and ASP.NET settings are treated as separate entities. ASP is considered "Classic ASP" and is more of a server-side scripting method -JScript/VBScript-. ASP.NET relies on the .NET Framework -it is compiled-, and ASP.NET applications run in their own AppPool's. The answer would be "yes." | 1 | 2 | 150 | 2011-08-05T18:24:36.293 | infrastructure | serverfault.com | |
12,469 | Clustering based on partial information? | I'm open to suggestions on how to improve the title. My problem is this, but I think it's a more general problem. In my context, I have a lot of data which has location data (Lat/Lon) as well as various characteristics of my objects. I'm interested in clustering based on location in such a way that it controls for effe... | You may need to treat this as an optimization problem. Without a formal notion of what should be a cluster, you will not be getting far. A blackbox algorithm will not solve your problem, you need to open the box (understand the algorithm) and adjust it as necessary for your problem. Once you have this notion, you can t... | 0 | 1 | 361 | 2016-06-28T15:51:34.707 | data_quality | datascience.stackexchange.com | |
241,527 | SQL server AlwaysOn database not automatically seeding, cannot find logs with reason | I've added a database to an availability group that already has a few databases, all of which seeded and syncing fine to the secondary. This last one gets added to the availability group, it would seem, but is marked as "not synchronizing" and no errors are returned. I've tried it multiple times with the same result. I... | On the secondary replica, you should be able to see the status / outcome of seeding attempts in the [CODE] DMV. This includes columns like [CODE] , [CODE] , and [CODE] , as well as timing related columns, that should give you a decent overview of seeding issues. I have often seen seeding errors written to the SQL Serve... | 3 | 6 | 3,288 | 2019-06-27T10:30:22.067 | data_quality | dba.stackexchange.com | |
1,001,388 | Trying to allocate elastic ip address leads to Not Found error | I have recently created a new AWS account for deploying some microservices my company uses on here. Our old account was destroyed. The issue is some old component uses a elastic IP that resolved to a box on our old account. I am unable to reclaim that elastic ip from my new account. From the documentation i see that if... | You can’t request a specific Elastic IP that has previously been allocated to another account . You can only reclaim your EIP that has accidentally been released from the same account and only for a limited time. Obtain a new Elastic IP and update your DNS . Problem sorted :) | 2 | 1 | 301 | 2020-02-01T19:23:14.690 | database_errors | serverfault.com | |
446,791 | iSCSI - what's faster? | I have a DroboPro that is currently connected to a GS748TS switch. Also connected to the switch is a server and few workstations. Which method would be better in performance? Add a NIC to the server. Direct connect the DroboPro via iSCSI to the new NIC. Add a NIC to the server. Create a dedicated VLAN for the new NIC a... | This depends entirely on your infrastructure. Add a NIC to the server. Direct connect the DroboPro via iSCSI to the new NIC. This defeats the purpose of iSCSI. Why not just get a DAS if you're going to do this? It would be faster. Add a NIC to the server. Create a dedicated VLAN for the new NIC and Drobo. This is fairl... | 0 | 3 | 443 | 2012-11-08T15:33:15.577 | infrastructure | serverfault.com | |
22,438 | How to find patterns in a series of timestamps | I have a series of timestamps that represent the time a user clicked a certain button. My goal is to detect the automated clicks, so I need to find recurring patterns in the data that may point to an automated script. The majority of the data is by regular users. I don't need to detect them online, I just need to detec... | The question can be super difficult if you only have the number of clicks per time-stamp. The reason is that you might find many different recurrent patterns! For instance certain time periods in year, month or day (according to the functionality of website) may attract a certain temporal pattern of clicks. But if you ... | 4 | 2 | 3,865 | 2017-08-21T08:43:43.737 | data_quality | datascience.stackexchange.com | |
96,330 | Distributed training with low level Tensorflow API | I am using low level Tensorflow API's for my model training. When I say low level it means I'm defining the [CODE] object of the graph and evaluate graph with in this session. I would like to distribute the model training using [CODE] . I am able to use [CODE] on tensorflow sequential API's using the example shared by ... | 1- Use distribute.MirrorStrategy() at the beginning of your code (just after library declaration) to activate correctly all the related functions. 2- Set env variable CUDA_VISIBLE_DEVICES=1 ( https://stackoverflow.com/questions/37893755/tensorflow-set-cuda-visible-devices-within-jupyter ) 3- Ensure that mirrored variab... | 2 | 0 | 164 | 2021-06-06T12:13:26.810 | data_quality | datascience.stackexchange.com | |
264,240 | MySQL restore dump takes too long to complete, how DBAs deal/replicate large databases? | Due to coronavirus my company is forced to scale down and cut costs. Long story short, I went the route of least disruption I set the original database server (that's going to be turned off for good in 2 weeks) as a MASTER replicator, locked all tables for reading, dumped the data which resulted in a 34GB .sql file and... | Large databases should be backed up physically (i.e by copying the physical database files) instead of logically (i.e by exporting in SQL or something similar). If you use Oracle MySQL Community Edition, you should use xtrabackup . If you use MariaDB there is a integrated feature in the last releases: https://mariadb.c... | 1 | 3 | 1,786 | 2020-04-03T10:48:06.757 | database_errors | dba.stackexchange.com | |
513,118 | Windows MKLINK to a local directory | In UNIX, an application can be installed on an NFS shared directory, and contain symlinks that point to /local (e.g. for logs and temp files). Each running instance of the application will then utilize local disk instead of the NFS. In Windows, I have an application that uses a Windows shared directory ( [CODE] ) for a... | For security reasons, links like that won't be allowed. Even samba has symbolic links turned off by default due to some security issues with the way they are handled in windows . Windows resolves links on the server side, so if it works at all, it would be pointing to c:\logs on the file server. I'd suggest configuring... | 0 | 0 | 172 | 2013-06-04T14:02:30.673 | infrastructure | serverfault.com | |
380,145 | How to update attributes on an entity from remote bounded context? | I see a lot of guidance in the DDD community around how to retrieve and use information from a remote bounded context (using an anticorruption layer, open host service, etc.), but hardly anything about how to handle storage of attributes that matter in the local bounded context for an entity that has its home in a remo... | I sent this question to Vaughn Vernon, and he was very helpful in response. Posted his answers below for posterity. In Summary: After his clarifying insight, I realized the Scheduling BC is the system of record for [CODE] , and the Accounting BC manages the life cycle of a separate [CODE] entity concerned with billing ... | 2 | 4 | 359 | 2018-10-16T20:51:09.063 | data_quality | softwareengineering.stackexchange.com | |
607,996 | Postfix: SASL authentication failure: cannot connect to saslauthd server: Permission denied | I had a Postfix/Dovecot server up and running for about a week until I had to reboot it. When I did, things stopped working. I've been up searching for hours to no avail. IMAP successfully authenticates (despite dovecot being configured to piggyback off of postfix auth). Postfix does not and instead fails with the foll... | Tell saslauthd to create its socket within postfix' chroot jail via its [CODE] option, e.g. [CODE] . On my Ubuntu i appended this line to /etc/default/saslauthd: [CODE] and then i did [CODE] You might want to leave a softlink at the old place in case other services (like an IMAP service) expect to find /var/run/saslaut... | 6 | 5 | 15,695 | 2014-06-26T04:06:34.230 | api_errors | serverfault.com | |
218,039 | Dynamically define a RETURN table (column type, name) for subsequent loop | I would like to execute [CODE] on number of rows coming from a table. https://postgis.net/docs/ST_Intersection.html https://postgis.net/docs/ST_Intersects.html POSTGIS intersection does not support the processing of multiple geometries natively, differently from [CODE] and I had to design a function (returning a table)... | What you might need You should be able to avoid all the complication with a simple [CODE] instead: [CODE] Minor difference: you get the original [CODE] and the intersection [CODE] in the result. Add the redundant [CODE] to the [CODE] list if you really need it. What you ask I understand your question like this: I have ... | 5 | 6 | 12,611 | 2018-09-19T13:33:52.783 | database_errors | dba.stackexchange.com | |
24,907 | How to Rename Table or Field With Merge Replication | I am using merge replication with SQL 2012. I am trying to rename a published table, and rename a published field. These operations are not permitted in merge replication. However I can think of an action plan if these things are needed. For instance renaming a field would include, Adding the new field Migrating the da... | You could do it this way: Add the new field. Force a software upgrade that includes the logic to insert new data into the new field and to read the data from the new field if it is not null, otherwise to read that field from the old field. ( in case of update: you read the value from the old field then do an update to ... | 3 | 1 | 1,150 | 2012-09-25T21:46:06.817 | database_errors | dba.stackexchange.com | |
966,266 | CentOS OpenLDAP STARTTLS wierdness | I am having a very strange problem configuring my CentOS OpenLDAP for STARTTLS. Here's what's going on. I have a bunch os scripts that I use to configure my system. I do this to document a machine's setup and to ensure that I set it up the same way when the hardware is updated. Everything is working fine up until I go ... | Try specifying both changes in a single LDIF operation, i.e.: [CODE] I suspect it fails because you're changing each file as a separate LDIF operation and after either change, the certificate and private key don't match up which gives you the error. This way you're changing both files in one go and so they (should) mat... | 2 | 0 | 125 | 2019-05-07T21:31:56.013 | infrastructure | serverfault.com | |
738,526 | Ubuntu + Postfix: Mail Log Missing | I've just installed postfix on my ubuntu server and am trying to debug why outgoing mails are not being sent. This led me to notice that the /var/log/mail.log file is missing. For that matter, there's nothing named mail* in my /var/log. I've tried the following to no avail: Create a mail.log and change owner+group to p... | Apparently, this was a permission issue for some strange reason. I tried the answers from this post below that sorted the issue. Ubuntu 14.04 System Logging [CODE] Not sure why the /var/log was locked to root when I've always been on Ubuntu 14.04 and not upgraded fom 12 where root would be default. | 6 | 17 | 16,033 | 2015-11-24T03:52:19.200 | infrastructure | serverfault.com | |
773,466 | Secure Email Settings for Email Clients & for PHPMailer | I'm trying to work out how to make my outgoing/incoming email's as secure as I can possibly make them. First of all, my domain has Wildcard OV SSL Certificates, I have copies of the [CODE] , [CODE] and [CODE] files but I don't have any PKCS12 files of [CODE] or [CODE] , is it possible to get these from my SSL certifica... | Try this on how to create p12. [CODE] The following are already "safe" and practical for a company to deploy. Incoming Port: POP3 995 or IMAP 993 (SSL/TLS) SMTP Authentication Required Outgoing Mail server (SMTP) Port: 465 (SSL/TLS) SMTP Authentication Required Lastly, use TLS whenever you can. TLS performs better and ... | 3 | 3 | 2,654 | 2016-04-28T03:27:19.273 | api_errors | serverfault.com | |
828,336 | Wrong measurements being reported by JMX and collectd for Apache Kafka | I'm using JMX to gather metrics from Apache Kafka and send to Librato, a visualization and monitoring service, via collectd. The problem is that some metrics seems to be reporting wrongly. For instance, without anyone using the Kafka cluster, some nodes report high number of incoming messages for minute (like 15,000), ... | Just a small follow up on this issue: it wasn't neither JMX nor collectd mistakes. I verified JMX, collectd and Librato were with consistent values by logging in directly to each Kafka broker and reading the values in their MBeans. The problem was we were using Kafka clients with too small auto-commit interval, which g... | 2 | 1 | 464 | 2017-01-24T17:31:57.920 | pipeline_ops | serverfault.com | |
395,519 | How can I check if my DB needs more RAM? | How would you check if your postgresql DB instance needs more RAM memory to handle their current working data? | If all you are on Linux, your total physical RAM should be larger than your database size on disk in order to minimize I/O. Eventually it the entire database will be in the OS read cache and I/O will be limited to committing changes to disk. I prefer to find the DB size by running "du -shc $PGDATA/base"--that method ag... | 14 | 15 | 9,053 | 2012-06-04T19:36:06.523 | database_errors | serverfault.com | |
234,061 | Re-gaining root access to an EC2 EBS-boot image | I'm using an Alestic image which disables root SSH logins, but provides a user "ubuntu" with NOPASSWD sudo privileges. See here . In the course of trying to add a new user to the sudoers file I inadvertantly created another line for the "ubuntu" user, this time without NOPASSWD. I have now apparently lost root access t... | You can mount the EBS volume to another instance. Set the problematic instance to "Stop" Identify the EBS volume mounted to the problematic instance via the instance-id it should be listed like any other EBS volume on the web console. Detach the drive and mount it to a working instance Modify it Detach it from the work... | 2 | 5 | 5,042 | 2011-02-10T20:36:41.537 | infrastructure | serverfault.com | |
1,090,975 | Centos Kickstart - partitioning fails because of arbitrary disk order | I've prepared a kickstart file for a Red Hat Virtualization 4.4 VM with 3 virtio-scsi disks with different disk sizes: [CODE] Problem during installation: Storage configuration failed: Unable to allocate requested partition scheme. A quick view into lsblk and /dev/disk/by-id shows that the ordering of the disks is wron... | Seems this is again (or still?) a thing: https://bugzilla.redhat.com/show_bug.cgi?id=1317490 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236922 It works when using "virtio" disks instead of "virtio-scsi". | 0 | 0 | 591 | 2022-01-24T14:42:00.547 | infrastructure | serverfault.com | |
295,018 | Why won't this RAM work in my HP Proliant DL380 G4 server? | I tried installing some Crucial 1024MB PC5400 DDR2 667MHz ECC Memory (CT12872AA667) and the system would not start - just post beeps. The original memory is PC2-3200R ECC and the place I purchased the new RAM from does not have anything that low in speed. I figured the 5400 should be fine as usually they run at the low... | You've bought unbuffered memory, not registered memory, that model won't run with unbuffered memory. You should have bought Crucial P/N: CT820201. Sorry. | 1 | 6 | 1,365 | 2011-07-28T13:15:41.960 | infrastructure | serverfault.com | |
72,642 | SMB returns the entire file instead of header info | Starting a section of code checks for access to many data files (flat files so each table is a file) and when I do a packet capture, in our capture only the header info is sent by the server to the client. However I have one Customer who is using a SAN that gets the whole file instead of just the header info,and beside... | If a SAN is in use, then there is a chance they're using a cluster. I do know that SMB behaves differently if talking directly to a machine than it does when talking to a virtual server. I don't know the exact details, but that kind of thing is good to know when troubleshooting this kind of problem. | 1 | 0 | 160 | 2009-10-08T18:04:57.807 | infrastructure | serverfault.com | |
1,108,379 | How to install php-mysql, php-gd and other libraries on Oracle Linux | I am trying to install following libraries on Oracle Linux 8 but not working. On Debian 11 after installing php8.1-fpm I run following command and it works. sudo apt install php8.1-mysql php8.1-gd php8.1-mbstring php8.1-xml php8.1-zip php8.1-curl php8.1-imagick php8.1-soap On Oracle Linux I have tried following but no ... | Change PHP version First, something of a side note: PHP 7.2 is obsolete , you should use at least PHP 7.4, but 8.0 is preferable. If you don't want to upgrade, skip this section. You can change the (to-be) installed version of PHP with the following command (you can query the available versions with [CODE] ): [CODE] Th... | 1 | 1 | 4,812 | 2022-08-17T10:54:08.207 | database_errors | serverfault.com | |
409,559 | Can't configure PAM + LDAP on Debian Lenny - Getting error=49 on server logs | I've been migrating some servers and desktops using Ubuntu 10.04 from getting the users from an old OpenLDAP implementation to a newer Centos Active Directory. I haven't had any problems so far, until I reached a Debian Lenny server. I've set up the server as the others, setting /etc/ldap.conf and /etc/ldap/ldap.conf. ... | I've migrated to libpam-ldapd and now everything works. I only had to redo the configuration on a new file called ''/etc/nslcd.conf''. libpam-ldapd is much better than libpam-ldap. The most interesting thing is that it relies on a daemon, so you can just call the daemon with debug parameters (''nslcd -d'') and take a l... | 1 | 0 | 944 | 2012-07-20T09:48:39.200 | infrastructure | serverfault.com | |
845,196 | How to autostart xen guests after power failure | I have an Ubuntu server running xen (with xen-tools only) and when the server experiences a power failure I have to manually run [CODE] to restart the vm. My config settings for restarting look like this: [CODE] : [CODE] But it doesn't start on dom0 boot. Am I missing something? | I found the answer here: https://askubuntu.com/questions/196444/how-do-i-auto-start-xen-guests-on-boot/906499#906499 The Short Answer To load all config files on boot link the [CODE] folder directly to [CODE] : [CODE] To load only specific config files link each individually: [CODE] Explanation There's a lesser-known [... | 1 | 4 | 4,763 | 2017-04-19T04:07:31.800 | infrastructure | serverfault.com | |
859,993 | Why does assigning read and execute permissions to IIS_IUSRS grant access to NETWORK SERVICE? | I have a Classic ASP site I'm trying to set up with Anonymous Authentication. Below is my current setup: App pool Identity: NetworkService Anonymous Authentication User: IUSR Assigning read and execute permissions to the [CODE] account and the [CODE] account on the site's directory allows for anonymous access. However,... | Any account that is running an IIS application pool is automatically added to the [CODE] group during runtime. Or more correctly, the security token for the [CODE] group is added to the security tokens for the process running any application pool. Looking at the static membership of the [CODE] group gives you the wrong... | 2 | 3 | 2,123 | 2017-07-07T21:21:00.673 | pipeline_ops | serverfault.com | |
767,536 | Device busy when reading from tape drive with tar | When I try to read a tar from tape with [CODE] , it returns: [CODE] And [CODE] returns nothing. All commands works with mt works. If I try with strace: [CODE] The tape drive has the latest firmware. The tape drive is an IBM ULTRIUM-HH6 and the firmware is F9A1. | Did you also write with the same block size? Did you rewind beforereading? Does [CODE] work? Are you chaining [CODE] with [CODE] or just using tar as you wrote? There is a quirk when using tar piping and $TAPE environment variable. see below. Sometimes you issue a command, it fails, there is no noise from the drive, bu... | 3 | 4 | 1,431 | 2016-04-01T11:13:28.330 | infrastructure | serverfault.com | |
128,175 | MariaDB uses all /tmp space | I'm running a Galera cluster with MariaDB 10. One of my nodes reports 100% usage disk for the [CODE] table. [CODE] I can't see files in [CODE] with the [CODE] command, but [CODE] reports: [CODE] If I restart the node, the space is released, but the issue comes back after some time. I don't understand what's happening h... | [CODE] -- You could change that (and restart) to immediately workaround the problem. But that is not a long-term solution. Complex queries with inadequate indexes are likely to be the cause. Set [CODE] and turn on the slowlog; wait a day; run [CODE] or [CODE] to see the 'worst' queries. Focus on them. If you don't see ... | 1 | 1 | 3,826 | 2016-02-03T17:04:27.660 | database_errors | dba.stackexchange.com | |
358,793 | centos6 apache2 Invalid Command SSLEngine | Running: CentOS6 x64 When I restart httpd, I get the following error. What am I missing? [CODE] I have installed mod_ssl using [CODE] [CODE] My sites.conf looks like this [CODE] | [CODE] won't work unless the ssl module itself is loaded. You should have a line that looks like [CODE] somewhere. In my installation, I have a file called [CODE] that specifies this LoadModule directive. That file is part of the mod_ssl package that you said you installed. Verify that the file is there, and that your ... | 2 | 7 | 16,786 | 2012-02-10T14:40:46.393 | infrastructure | serverfault.com | |
312,129 | "column new.total does not exist" error while creating a trigger | I have spent a lot of time investigating this error and couldn't find a solution. I am trying to create a trigger function and a trigger and then call the procedure when the [CODE] condition in the trigger evaluates to true. But I'm getting an error while creating the trigger: [CODE] Trigger function: [CODE] Trigger: [... | The Hint in the error message suggests that you have a column of the name [CODE] - containing the reserved word "new", and a dot (!). The otherwise illegal identifier forced with double-quotes. A very unfortunate, misleading choice. Your trigger definition would have to read: [CODE] My standing advice is to use legal, ... | 3 | 3 | 1,219 | 2022-05-14T20:34:56.370 | warehouse_errors | dba.stackexchange.com | |
843,172 | Store SSH password for combined private key and password authentication | I'm trying to get an user account to be able to be used both with private key only and private key + password. The password only really needs to be long enough for opportunity -based attacks, as I'd like this kind of authentication used on my android-based phone. However on my home computer I do not see this it necessa... | As described in the [CODE] , [CODE] : For example, “ [CODE] ” would require the user to complete public key authentication, followed by either password or keyboard interactive authentication. Only methods that are next in one or more lists are offered at each stage, so for this example it would not be possible to attem... | 0 | 0 | 1,609 | 2017-04-07T03:53:01.637 | api_errors | serverfault.com | |
163,788 | Is my sequence diagram correct? | NOTE: I am self studying UML so I have nobody to verify my diagrams and hence I am posting here, so please bear with me. This is the problem I got from some PDF available on Google that simply had the following problem statement: Problem Statement : A library contains books and journals. The task is to develop a comput... | They seem to be correct enough to understand what is going on, which in my opinion is all you need for UML. However if you want to be more technically correct: [CODE] appears to be a return when it should presumably be a message with [CODE] as a return? [CODE] may not need to go back to the person, but a request for th... | 2 | 3 | 4,174 | 2012-09-05T13:39:36.343 | api_errors | softwareengineering.stackexchange.com | |
313,263 | Procedure with params | How to write the correct [CODE] clause in [CODE] which depends on the parameters come in arrays and their default value is NULL my attempt [CODE] [CODE] clause should check if each parameter is null and if so, go to the next parameter, and if not, it should execute the formula f.e.q [CODE] and then go to check next par... | I suggest this alternative query: [CODE] Your input params are strings , not arrays. MySQL has no array type. Read about the function FIND_IN_SET() . It searches a string that contains a comma-separated list. Note that this query is hard to optimize. It will not use an index on [CODE] or [CODE] , so it's bound to do a ... | 0 | 0 | 102 | 2022-06-12T10:27:10.470 | warehouse_errors | dba.stackexchange.com | |
73,904 | SSAS : An error occurred when instantiating a metadata object | Aside from installing SSAS, I have no experience using it. Our developers are saying that it is no longer possible to create a new aggregation, whatever the cube. The error occurs when hitting Start. Here is what I found in the msmdsrv file Type: 3, Category: 289, Event ID: 0xC1210012 [CODE] The file E:\MSAS11.DWH_AS\O... | The solution was removing the empty files E:\MSAS11.DWH_AS\OLAP\Data\Cube Fraude.0.db\MY_DATABASE OLAP.56.cub.xml which allowed the aggregation to continue | 2 | 2 | 5,924 | 2014-08-13T13:52:09.693 | warehouse_errors | dba.stackexchange.com | |
205,242 | Flask mongodb assertion 13 not authorized for query on flask_session.sessions | Need help resetting mongodb back to its original state. We have a flask app running with mongodb with authentication turned off. Running on Ubuntu with std Flask. We tried ALL sorts of combinations and now we can't get back to unauthenticated environment (Flask,mongodb). DB is now full of LOTs of data so can't just re-... | pymongo.errors.OperationFailure: not authorized on flask_security to execute command As per your error log, it seems like that you have authorization issue, as pymongo blog documentation here Can you log in with the user you'd like to use mongo-connector with and show the output of [CODE] . Be sure not to post your act... | 4 | 0 | 1,214 | 2018-04-28T11:31:29.787 | database_errors | dba.stackexchange.com | |
322,828 | MySQL Query - Sum data according to Category Parent name - each their own column | Here is the data I have: table [CODE] : id code 18 agency_01 6 agency_02 table [CODE] id agency_id compensation_category_id amount registered_at 3 6 4 45000.00 2023-01-01 4 6 5 25000.00 2023-01-01 1 18 4 47000.00 2023-01-01 2 18 5 10000.00 2023-01-01 table [CODE] id parent_id name 1 null COMPENSATION 2 null DIRECT_STRA... | This worked for me: [CODE] | 1 | 0 | 33 | 2023-01-31T12:30:33.170 | api_errors | dba.stackexchange.com | |
93,683 | What to do when archive logs are lost/corrupted that are not backed up | All recently generated archive logs were corrupted but datafiles are fine.What if recently generated archives corrupted and the archives backup is not available, so what would be the strategy to resolve the issue and is there any possible way to rectify the archive log corruption. | As soon as your recovery thread is interrupted, making it impossible to recover from an earlier backup to the current time, the remedy is to take a backup before something more serious happens. Next investigate how the archives became corrupted and solve that. Backups are of no importance, important is the ability to r... | 1 | 1 | 2,627 | 2015-02-24T17:43:44.793 | database_errors | dba.stackexchange.com | |
114,743 | mysql performance | Currently,we are using mysql 5.5.4 database on server with 4GB RAM,500GB HDD on Linux.There are predominantly 3 databases and the maximum size of database is 100MB.Assuming data grows at rate of x mb per day,how long can mysql be used without failover?When data scales,is it better to shift to Oracle or postgreSQL?How c... | This question is too broad, I'll try to give you some guidelines and tips. Your databases are quite small, MySQL can handle databases much larger than that. I don't see the need to switch to another database. You should also use a separate partition for the mysqldata directory so if the system partition fills up the da... | -1 | 1 | 29 | 2015-09-11T05:26:06.413 | api_errors | dba.stackexchange.com | |
825,125 | Kubernetes hosted service connection timeouts | I have a service running inside Kubernetes proxied by multiple nginx pods that do SSL termination and basic authentication. I am seeing connection timeouts to the endpoint on a subset of traffic. I have made a series of unique requests to the endpoint, and see some requests on each nginx pod, so each is receiving traff... | The issue was being caused by an Instance Group on GCE not having the appropriate tags assigned to it | 0 | 0 | 551 | 2017-01-09T17:23:34.387 | pipeline_ops | serverfault.com | |
225,213 | Do BRIN indexes support ENUM types? | BRIN indexes seem useful, but I'm not sure how to use one on an ENUM type. I thought this code would work: [CODE] Do I have to create a new operator class from scratch? Aren't enums already ordered? This commit, from 2014 , implies that BRIN indexes should work for ENUM types. | Aren't enums already ordered? No. This commit, from 2014, implies that BRIN indexes should work for ENUM types. That's actually not what that commit says. From the commit-message on the link you provided This type of operator class we call "Minmax", and we supply a bunch of them for most data types with B-tree opclasse... | 5 | 5 | 561 | 2018-12-18T00:05:49.883 | warehouse_errors | dba.stackexchange.com | |
57,602 | How to display cgi-bin errors instead of 500 in Apache? | I'm interested in getting errors from cgi-bin scripts inside the browser like the PHP errors. The cgi script can be Perl, Python, Ruby, binary or something else. I'm not interested about a specific solution - I'm looking for something that should work with any script. I want to use is on a development/test server not i... | Basically as radius says, catch & display the error rather than let it pass through. In perl, see the Carp module: http://search.cpan.org/~nwclark/perl-5.8.9/lib/Carp.pm | 2 | 1 | 2,892 | 2009-08-23T12:48:20.013 | api_errors | serverfault.com | |
664,284 | Apache's mod_dir keeps redirecting to wrong Port | I have a setup with a HAProxy in front of a Varnish cache who requests an Apache2 server. The Apache is listening on an internal IP on Port 12345 and is configured with [CODE] to prevent the spilling of that internal-use-only Port. I have also tested different combinations of [CODE] and [CODE] with [CODE] and [CODE] . ... | A URL for a directory without a trailing slash is not the canonical URL for this resource, this is why mod_dir redirects the user. This is a general W3C recommendation. The redirection with your custom port is probably happening because your HAproxy or Varnish is creating a new HTTP request that is being sent to Apache... | 2 | 0 | 1,294 | 2015-02-02T10:38:25.383 | infrastructure | serverfault.com | |
736,275 | Amazon S3 putObject bucket policy | I am trying to create a User who only has access to PutObject to an S3 bucket called "desking". In IAM I have created a User, and applied this policy: [CODE] However, when I go to "Simulate Policy", I get the error: [CODE] I have tried to add a policy to the actual "desking" bucket too: [CODE] However, still the same e... | So, turns out I was using the simulator wrong. I needed to click on the Service List within the Simulator and add this to the ARN: arn:aws:s3:::desking/* Which now works. Only need the User policy, not both. | 0 | 1 | 897 | 2015-11-13T23:28:26.380 | infrastructure | serverfault.com | |
711,148 | Why does my server running nginx/php-fpm keep losing session capability without generating any errors? | I am managing a server that has a couple dozen websites on it and they have all been working fine until last week when it was noticed that one site had seemingly lost the ability to maintain session data. Then another. (I am guessing it is affecting all sites on this server but just has not been reported yet.) I change... | How is it possible that php-fpm can fail like this without producing an error message somewhere? Because whoever wrote the failing code didn't check the failure and cause the program to write an error message. Programs aren't magic; they're written by humans who don't always anticipate every possible problem. My intuit... | 1 | 0 | 1,838 | 2015-08-05T21:17:23.460 | infrastructure | serverfault.com | |
156,197 | Mongodump affects app performance really bad | We have quite a big mongo instance (150 GB) with no sharding, and our regular backup ( [CODE] ) has a very significant effect on the app performance. Worse than that, due to the heavy use of mongo by the app, the backup lasts more than 10 hours. I know that we need sharding, and we have plans to move to ElasticSearch, ... | All data dumped via [CODE] has to be read into memory by the MongoDB server. It's also worth noting that [CODE] backs up data and index definitions; the time to restore can also be significantly longer as compared to other approaches since [CODE] will need to recreate any secondary indexes after the data is loaded. As ... | 10 | 24 | 10,739 | 2016-11-23T18:53:50.893 | database_errors | dba.stackexchange.com | |
402,835 | Run a MySQL server in a self-contained folder | I've seen many questions about how to run multiple sql servers on one server, but I would like to run mysqld as a user-level process and completely self contained in a folder (I have no permissions outside my user folder). I spent some time using the --defaults-file=my.cnf, but it still seems to conflict with the syste... | So you want to chroot MySQL - I'd love to say no problem, but that's not the case. It's a moody beast and it doesn't like to be jailed in chroot :P Chroot instructions will vary between operating systems or even distributions, but here you go: https://blackdown.de/articles/chrooting-recent-mysql-versions-on-debian-and-... | 3 | 1 | 500 | 2012-06-27T20:12:24.010 | database_errors | serverfault.com | |
873,779 | Why does the 'nomatch' option of ipset not work in this case? | I am using ipset 6.23-2 on Debian Jessie. I created a hash:net set for and an iptables rule to drop all traffic for addresses in the set. [CODE] I used to the 'nomatch' option to add the network of my internal servers to it. I assumed it would work like an exclude so it's basically fool-proof and I don't accidentally l... | The ipset documentation says the following (1): From the set netfilter match point of view the searching for a match always starts from the smallest size of netblock (most specific prefix) to the largest one (least specific prefix) added to the set. So, it is starting out looking for the individual host and matching on... | 3 | 0 | 1,319 | 2017-09-15T06:55:07.323 | infrastructure | serverfault.com | |
1,099,601 | Tomcat connector for Internet Information Server not working | I am trying to configure a Internet Information Server to work with Tomcat and after following the steps in the website it's does not work. What is worst, no way to document or to realize where the problem is. As appear in the website there are many steps to configure and the output should be "ok", but there is no way ... | Solved: if you read the updated reference of the connector you will find several things: Note that in a 64 Bit environment - at least for IIS 7 - the used IIS Application Pool should have "Enable 32-bit Applications" set to "False" . Otherwise the redirector will not be called and returns an http code 404. If you think... | 0 | 1 | 1,079 | 2022-04-27T14:34:06.957 | api_errors | serverfault.com | |
1,079,042 | Automate the creation of secondary mailbox in Outlook 2016 | I allow myself to do this post in order to have your help. I am currently looking for a solution to automate the addition of a secondary mailbox in Outlook 2016. I saw a lot of stuff including the "zeroconfigexchange" registry tool however I failed to implement it because it looks like I don't have the registry values ... | Do you mean the ZeroConfigExchange ? Based on my test and research, our clients don't have this registry key by default and we need create it in the following locations: [CODE] ( xx represents the current Office version such as 16.0) [CODE] Then change the default profile with a new name different with existing ones an... | 0 | 0 | 565 | 2021-09-29T14:14:30.940 | infrastructure | serverfault.com | |
233,390 | cronjob php file duplicated continously | I have setup a few cronjobs in cPanel and it seems that everytime it runs the scripts, it writes a file to the root folder of that cPanel account. The problem is that the cronjobs run often and therefor there are hundreds of files created daily. The files it creates are "phpfile.php.1" and "phpfile.php.2" and so on. An... | Are you running these crons using wget? I think that you need to send the answer of the wget command to /dev/null with the -O option. You need to run the cron with this: [CODE] Otherwise the wget will write the result of the command on phpfile.php, phpfile.php.1, etcphpfile.php.2, every time it runs. With /dev/null you... | 0 | 2 | 311 | 2011-02-09T17:02:19.040 | data_quality | serverfault.com | |
144,806 | Real-time Dataflow Programming | Background Recently, I have been fascinated about the possibilities of dataflow -based programming approaches - in particular, signal/event-based concepts as realized by functional reactive programming , Boost::Dataflow::Signals , and the like. Sample scenario: Consider a car that has four speed sensors, one at each of... | This is an old idea, that has popped up an unbelievable number of times over the last several decades. LabView (I think that's the name) is the best-known current version. I worked with one such system, called RIPPEN, from Orincon (as I recall), around 1998-1999. (Orincon was bought by Lockheed-Martin in 2003. The prod... | 6 | 2 | 2,245 | 2012-04-17T10:02:37.173 | data_quality | softwareengineering.stackexchange.com | |
138,663 | What is the fastest way to insert data into MySQL memory table? | I need to insert 10M+ records into a MySQL memory table. A naive approach was to pipe records using shell, e.g. [CODE] The table itself is simple: [CODE] In essence, the question is what are some lower level ways of inserting data to MySQL? | You need to batch the inserts. This is done by means of extended inserts. In your question, you can take the row and make them a single insert as follows: [CODE] Why do it this way ? When you insert into a MEMORY table, there is still some mild disk I/O to check the table's existence by hitting the table [CODE] file. I... | 1 | 2 | 2,898 | 2016-05-16T19:17:28.643 | database_errors | dba.stackexchange.com | |
315,330 | Downsides of too much memory | What are the downsides of a SQL Server with a lot of memory, e.g. several TB. In SQL Server 2022 there is the new feature called parallel buffer pool scan. Will that solve all the downsides of several TB of memory or only some of the downsides? Thanks | What are the downsides of a SQL Server with a lot of memory, e.g. several TB. It depends on the workload and application, but in general for SQL Server here are a list of items to be concerned about: Process memory mutex getting hot (Windows specific) Heap serialization getting hot (Windows specific) NUMA localities wi... | 0 | 2 | 166 | 2022-08-07T16:31:35.083 | database_errors | dba.stackexchange.com | |
335,738 | Default values of pf.conf set parameters | I want to learn default values of these parameters, I read the manual of pf.conf but couldn't find, could you help? [CODE] | To list all values, try [CODE] To list only the limits you requested, try [CODE] To list only the timeouts you requested, try [CODE] Out of the curiosity: Are you sure you need to adjust those values? Are you sure you can outsmart the default values, if merely listing the values is not familiar to you? | 2 | 5 | 2,036 | 2011-11-29T11:29:42.853 | infrastructure | serverfault.com | |
64,859 | Problem in creating a Numpy Dataset for Classification problem | I am trying to train a classification Model to classify Images, but my images here are Numpy arrays of 1's and 0's as shown in the Image, For now, I have tried, [CODE] which gives me 5 arrays ` [CODE] For class A, similarly I generated 5 arrays for class B and then stacked them as a single X array. My output y is: [COD... | If you're going to use an MLP classifier (probably not the best option for image classification: why not CNN?), you should feed it a "flat" array. Each image has 25 pixels (features), so your input must be of shape [CODE] , where [CODE] is the number of training observations (10 in your case). Currently your input is o... | 2 | 2 | 106 | 2019-12-15T07:42:58.307 | data_quality | datascience.stackexchange.com | |
325,559 | Is there a way to disable logging / backups for view indexes? | We have a SQL Server database that uses indexed views to allow for efficient querying of some data that changes regularly (yes I know there's a cost to maintaining the index when the data changes but in our case it is very worth it). My understanding is that changes to view indexes must be logged / backed up just like ... | nope There has been a long-standing request for SQL Server to support unlogged objects . It is available in varying forms in other database systems, both for tables and for materialized views. However, as of this writing, you can't choose to mark an object of any variety as unlogged in SQL Server. While it may be logic... | 4 | 7 | 482 | 2023-04-03T20:59:19.317 | database_errors | dba.stackexchange.com | |
1,016,294 | Routing(forwarding) all traffic based on source/destination (Linux/CentOS) | I have an active-active Linux router (running CentOS) with three interfaces (ens100, ens101, ens102). I use iptables to route traffic. My problem is with connections between "Server A" and "Server B". I can't ping "Server B" from from "Server A" but I can ping "Server B" from the "Linux router". I can also see that the... | As A.B commented - the solution (not sure if the only one) was to use policy based routing. Step 1: add a new table to [CODE] with an unused id, in my case [CODE] Step 2: force the new routing table to be used on connections from the network "Server A" resides: [CODE] Step 3: add the routes from the main table but repl... | 0 | 0 | 2,474 | 2020-05-08T15:02:34.353 | infrastructure | serverfault.com | |
1,084,287 | Getting config from newly installed ad lds | I just installed ad lds on my dev machine and am quite sure of what I specified as dn. I've never used ad lds before. However, I cannot connect to it used ADSI Edit. The specified domain either does not exist or could not be contacted. [CODE] lists my instance with the colorful name "instance1". If I force localhost ( ... | In Adsiedit Connection Settings, under Connection Point, select "Configuration" well-known naming context from the drop down, with the Computer as "localhost:389" Read the CN=Partitions folder for the "directory partition name" that you made - maybe you made a typo? Copy that, use it in a new connection in ADSI edit as... | 0 | 0 | 494 | 2021-11-22T20:02:04.933 | infrastructure | serverfault.com | |
721,637 | login failure on Ubuntu 12.03 when user exists and correct password entered | I manage an IT lab for students.I am experiencing this weird problem on some of our computers in the lab that i can login on some of the computers and can't login on some of the computers. These computers are like dumb terminals while file server that hosts user accounts is on another machine. Essentially each of these... | So the reason was ssh keys for the machines which were re-imaged (reinstalled with Fresh Ubuntu Image) had to be put in to the server. | 0 | 0 | 88 | 2015-09-11T00:55:54.690 | api_errors | serverfault.com | |
403,372 | Spam or exchange issue? | I am getting an error message to unknow user on my domain. I would like to know is this just a phishing spam email or it was really send from our domain? I have changed our domain name to OURDOMAIN.COM I have Exchange 2010 installed. Body of the email is [CODE] | It's spam. Received: from glamf04.netintelligence.com (HELO mailfilter.iomart.com) and Reply-To: Marguerite Soto OrvalBCC70@brighterhorizons.org Indicate it didn't come from your user at your domain. It came in from glamf04.netintelligence.com (and if you look, you can see where that server received the emailfrom and t... | 0 | 4 | 1,780 | 2012-06-29T11:47:04.703 | infrastructure | serverfault.com | |
335,295 | Determining the best way(s) of adding unit tests to a large project that makes good use of stored procedures | We work on a fairly large casino/gaming/wallet/lottery platform. It's a turn-key application that is currently in use by 4 clients, and soon to be much more. I've made some bullet points regarding the architecture below: ~130K LOC in just C# code over 500 stored procs, in one of the 5 databases our system uses - becaus... | A stored procedure and the C# code that uses it are different units, so a single unit test can not test them both. You'll need separate unit tests: Unit tests that mocks the stored procedure and verifies the C# code uses it correctly. Unit tests that activate the stored procedure the same way the C# code would activate... | 7 | 6 | 1,529 | 2016-11-03T18:46:46.977 | api_errors | softwareengineering.stackexchange.com | |
2,229 | Test isolation and automation | We are using Selenium web services for our automated functional testing. I have a test that tests the creation of some objects. If I run the same test again, I need to make sure that each test has a different business key - else it will run into a unique-constraint violation. One way, I can fix this is to reset the dat... | RN. You've got several options here. One is, as you mentioned, to reset the database before each run. That's probably a good idea anyway to ensure that you've got the same starting condition and the beginning of the run. For the individual tests within the run, you can operate a simple counter through the run and use t... | 6 | 8 | 552 | 2011-12-08T15:42:54.917 | data_quality | sqa.stackexchange.com | |
828,349 | Two out of three drives are in predictive failure on raid-5 - what should I do? | I've got a problem. I've got an older Dell PE1800. I noticed in the event manager 1000's of 2094 events: Predictive Failure reported: Physical Disk 0:1 and on Physical Disk 0:3. Open Manage info My question is - if I put in a new disk will it rebuild? I obviously need to replace both disks, but I'm afraid to even pull ... | Update your back up immediately! Then schedule some down time, replace all three drives, and restore from the backup. There's no reason to take chances. You can try replacing the drives one at a time, rebuilding after each replacement. But the risk of unexpected downtime is greater and the server will be in a low-perfo... | 0 | 7 | 1,166 | 2017-01-24T18:37:12.167 | infrastructure | serverfault.com | |
373,415 | What's the practical development cycle of a large project when a full build is prohibitively long | Projects like webkit, Linux kernel and many others take over ten minutes if not hours for a full build. What's the practical development cycle for these large projects? Specifically, how does a developer fix and test an identified bug? Can you give some concrete examples? | Projects like webkit, Linux kernel and many others take over ten minutes if not hours for a full build. Ten minutes or half an hour is not prohibitive build time. When I started my career (1987, Sun3/160 workstation on Unix) the full (cold) build of a 200KLOC program that I wrote alone took more than half an hour. With... | 9 | 8 | 686 | 2018-07-01T09:47:18.677 | api_errors | softwareengineering.stackexchange.com | |
96,820 | PostgreSQL on RDS: How to bulk import data with FK constraints? | Is there an efficient way to bulk import data into a PostgreSQL 9.4 database on RDS that makes extensive use of foreign key constraints? The standard method of using pg_restore fails because RDS does not appear to allow you to disable system triggers. For example, using the command: [CODE] Results in error messages suc... | Here's a workaround that works for me: Create the schema then dump the tables only, in order such that no FK constraint checks fail: [CODE] pg_restore will now work. | 1 | 2 | 1,698 | 2015-04-01T18:04:24.470 | database_errors | dba.stackexchange.com | |
12,494 | Oracle block usage | I am wondering about a weird deadlock and after checking all other components I am considering it to be a INITRANS problem in Oracle 11.2. Now three questions arose: Is there some way of analyzing how full the blocks are? My database reached its max tablespace size a while ago and started rejecting inserts, then I adde... | Initrans is most important for concurrent inserts in the same blocks of a table. You normally recognize this when there is contention for the block headers. As long as there is enough free space in the block, list can grow in the free space of the block. So if you know that for some tables you have many concurrent jobs... | 1 | 1 | 350 | 2012-02-08T17:04:48.857 | database_errors | dba.stackexchange.com | |
117,108 | How to train machine learning on sales forecasting problems of almost 10,000 shops? | I have a dataset of almost 10,000 shops, 'dates', 'shop ID' and 'sales amounts' as their features almost 2 years of data. I want to forecast each shop, the sales amount for 30 next days. I want to perform this on a CPU (laptop), no cloud, and no GPU. I can do this if there are 10 to 20 shops, but I am not getting how t... | Predicting 30 days for 10000 without GPU nor CPU is difficult, but you can try different approaches to get the most out of the data and make consistent predictions: Start with a correlation map to find out similar shops. If you find groups of shops with similar behavior, you may just have to train a model for each grou... | 0 | 1 | 67 | 2022-12-16T20:18:44.987 | data_quality | datascience.stackexchange.com | |
1,140,717 | PostfixAdmin on Nginx returning 403 Forbidden | I haven't used PostfixAdmin in a while. When I recently went to [CODE] I was greeted with a message telling me to point an alias to [CODE] . After a bit of searching online, this is what I changed my Nginx configuration to: [CODE] Now I get an 403 Forbidden error trying to access PostfixAdmin. I assume my configuration... | What worked for me was using the configuration from https://stackoverflow.com/questions/43213067/install-postfixadmin-in-a-subfolder-of-a-domain-in-nginx (replacing the script locations) | 0 | 0 | 152 | 2023-08-04T14:07:02.787 | api_errors | serverfault.com | |
298,257 | automatic database fill up in sql script tests | The problem I am working on an application with ~ 1000 tables in a sql server database. I am having a recurring issue with a sql script. The script is used by the consulting team to "clean" some part of the database and sometimes it will fail because a new table with a foreign key constraint was added a few month ago a... | You need to throw this back on the developers who are breaking the SQL. They are in the best position to update the SQL as they make changes which are fresh in their minds. The simplest way to accomplish this is to use continuous integration. Set up a test DB. Periodically, a CI build server will look at the source cod... | 2 | 3 | 1,012 | 2015-09-25T13:27:51.593 | data_quality | softwareengineering.stackexchange.com | |
68,136 | Drop partition scheme with orphan indexes | I have a partition scheme in my SQL Server database that I am trying to drop. This scheme was used by 2 indexes, which I deleted. I can't delete the scheme, since it appears to still be used by the indexes, even though they don't exist anymore. Running the following query: [CODE] I get the names of the 2 tables that ha... | but the index names are NULL (and index id is 0) That's because they are heaps . BOL Reference on [CODE] One way to get these off of that partition scheme would be to create a clustered index for those tables and specify a different filegroup or another partition scheme. Then once you have those tables off of that part... | 5 | 5 | 1,115 | 2014-06-12T11:29:18.560 | database_errors | dba.stackexchange.com | |
241,545 | IPSEC VPN Router / Firewall | I'm not sure whether it's the right place to ask for a router / firewall recommendation. My requirements are as follows: supports IPSEC tunnels (at least two connections) has WAN/LAN throughput of almost 100Mbit/s and in VPN mode at least 50Mbit/s shouldn't be noisy, because is for home office the price range is up to ... | You want quite a high throughput, but for not very much money. That's going to be tricky. The only sensible device I can think of which ticks all of your boxes is the Cisco ASA 5505. 100Mbit WAN/LAN, 150Mbit VPN Throughput. Small form factor, fanless (I think), and Quite Cheap (Local pricing may vary, but they're less ... | 0 | 2 | 348 | 2011-03-01T08:09:35.650 | api_errors | serverfault.com | |
214,518 | What to consider when generating rows via cross joins vs recursive unions? | These two queries return the same result (generating a sequence of integers): [CODE] What performance/other considerations should be taken into account when choosing one or the other? A (from a blog post) [CODE] B [CODE] I prefer B... | Community wiki answer - please edit to improve: Depending on how many rows you're generating, the second query may be slower as the recursive part of your CTE will be forced to run serially. The recursive CTE solution may also have poorer cardinality estimates, because SQL Server finds it difficult to assess how many r... | 0 | 2 | 123 | 2018-08-09T16:15:00.697 | warehouse_errors | dba.stackexchange.com | |
140,094 | Subversion gives Error 500 until authenticating with a web browser | We used to use Collabnet SVN/Apache combo on a Windows server with LDAP authentication, and whilst the performance wasn't brilliant it used to work perfectly. After switching to a fresh Ubuntu 10 install, and setting up an Apache/SVN/LDAP configuration, we have HTTPS access to our repositories, using Active Directory a... | I'm using a Debian "Lenny" setup, running Apache2/SVN with LDAP being authenticated through Apache directly to AD, while also hosting a Trac site on the same machine. I'll take a stab at it, but I need some more info... The SVN access is the built-in module through Apache, so the first question I have is - are you runn... | 3 | 1 | 9,592 | 2010-05-10T04:45:18.367 | api_errors | serverfault.com | |
1,152,816 | How to upgrade to IPv6 for AWS EC2? | Starting yesterday, AWS is charging for IP addresses (IPv4). I would like to upgrade my EC2 instances to IPv6, but I must be missing the docs on how to do that? I can't seem to get an EC2 instance with an IPv6 address without having an IPv4 address? I can only seem to get a private IPv6, but that just replaces one prob... | In AWS I think all IPv6 addresses are public, but you can make them non-routable in private subnets. You probably want a publicly routable IPv6 address, a private IPv4 address and no public IPv4 address. With this setup your website won't be accessible over IPv4 unless you provide some kind of gateway. I made these cha... | 1 | 2 | 512 | 2024-02-02T20:30:52.330 | infrastructure | serverfault.com | |
996,885 | How do I run docker agent in Jenkins on RHEL base image? | I have Jenkins running on RHEL 8. I am trying to run my pipeline, but it is not working, and I think it might be an issue with Podman, because I am able to run the pipeline on my machine which uses docker-ce. I have already configured the jenkins user on /etc/subuid file and rebooted. Now I am getting another docker re... | This is likely a podman related bug, caused by https://github.com/containers/libpod/issues/4193 . Not quite sure, which podman version is fixing this, I guess it's >= 1.6.1. You may verify this and a possible fix by running [CODE] on your RHEL machine. | 0 | 1 | 1,560 | 2019-12-27T14:47:48.870 | pipeline_ops | serverfault.com | |
354,431 | Messages log clogged with named querys | I have a web server, port 53 is open for DNS. I am getting thousands of lines in my /var/log/messages that look like: Jan 27 08:34:21 server named[14051]: client 77.88.26.1#5335: query (cache) 'www.bpharma.in/A/IN' denied Jan 27 08:34:23 server named[14051]: client 77.88.16.112#52035: query (cache) 'www.bpharma.in/A/IN... | You can customize how BIND logs. I send all queries to their own file. From named.conf: [CODE] Make sure to setup log rotation for your new query log in /etc/logrotate.d/named. | 0 | 3 | 263 | 2012-01-27T22:09:43.507 | infrastructure | serverfault.com | |
434,317 | Postfix rewrite sender: why doesn't this work | I have server A with an IP address only and a dummy FQDN (on the basis all machines should have a FQDN): pants.net.invalid. All mail is relayed through another server elsewhere, which works fine. On server A, Postfix rewrites the sender address with [CODE] . According to the Rewrite manual at http://www.postfix.org/ADD... | It works. According to the manual http://www.postfix.org/generic.5.html But your postmap command is faulty. It should read: [CODE] | 1 | 2 | 2,082 | 2012-10-03T07:01:06.370 | infrastructure | serverfault.com | |
298,282 | SQL Server 2016 suddenly produces Error:402,State:1,Class:16 updating a sproc with DATETIME/DATE/TIME arithmetic, that was fine before | In one of stored procs I need to capture the duration of a live event. It is guaranteed to never exceed 24 hours, so the datatype for the result column is chosen as [CODE] (mapping to [CODE] on application side). Calculation happens like so: [CODE] Here [CODE] and [CODE] are previously set to the date and time portions... | The error does occur on SQL Server 2019, as proven with this simple test. Let's check the server version first: [CODE] Results: SQL Server Version Microsoft SQL Server 2019 (RTM-CU12) (KB5004524) - 15.0.4153.1 (X64) Jul 19 2021 15:37:34 Copyright (C) 2019 Microsoft Corporation Developer Edition (64-bit) on Linux (Red H... | 4 | 10 | 524 | 2021-08-19T20:45:15.020 | database_errors | dba.stackexchange.com | |
178,981 | Am I missing a pattern? | I have a class that is a singleton and off of the singleton are properties that hold the instances of all the performance counters in my application. [CODE] Above is an incomplete snippet of the interface for the class "PerformanceCounters" that is the singleton. I really don't like the plural part of the name and thou... | The term [CODE] could work, referring to a class that is a source of performance counters. So long as the term is clear, you shouldn't have an issue. While [CODE] or [CODE] is gramatically correct, they could be confused for classes that take the form of [CODE] . | 1 | 1 | 148 | 2012-12-11T02:21:09.630 | api_errors | softwareengineering.stackexchange.com | |
1,035,804 | Unable to SSH to GCE instance | Unable to SSH to GCE instance Till yesterday my SSH connection via Filezilla was working fine, it was just while transfering some files to server my internet connection broke twice. then again i tried to connect it gives me the below error. Error: FATAL ERROR: Remote side unexpectedly closed network connection Error: C... | I would try connecting via the commandline [CODE] As well what is it showing in your google cloud console? Is the server turned on? | 0 | 0 | 1,517 | 2020-09-30T06:18:09.223 | infrastructure | serverfault.com | |
936 | R error using Knitr | I am attempting to compile code using Knitr in R. My code below is returning the following error, and causes errors in the rest of the document. [CODE] Does anyone know how to remedy this problem? Thanks in advance! | I agree with @ssdecontrol that a minimal reproducible example would be the most helpful. However, looking at your code (pay attention to the sequence [CODE] ), I believe that the issue you are experiencing is due to an inappropriate setting of R's global [CODE] option . It appears that your current setting is likely [C... | -1 | 2 | 165 | 2014-08-07T15:12:48.617 | data_quality | datascience.stackexchange.com | |
175,111 | I have two ubuntu OSes and am going to install WIndows 7. What will go wrong and how do i fix it? | I have ubuntu8 and ubuntu10 on my system, and want to also install windows 7. i have read that i need to first install windows and then ubuntu etc, but i currently have ubuntu first. once i install windows, i think it will mess up with grub. How will i access ubuntu after i install windows and fix everything that might... | Windows will replace the grub bootloader with the ntldr bootloader, which doesn't understand linux. You'll need to re-install grub as your bootloader and configure it to see each OS. I would back up your grub config before-hand and then add Windows. Well, actually I'd just run a VM under ubuntu... but up to you. | 0 | 2 | 38 | 2010-08-27T05:09:07.507 | infrastructure | serverfault.com | |
262,775 | New bufferpool not being used | As part of a migration, I created a new bufferpool - say BP8K - size 8K, and a tablespace using that bp, and a table in that tablespace, that is loaded with data. However, I get a: [CODE] during that process. Looking at [CODE] it appears as if the default bufferpool IBMSYSTEMBP8K is used instead of BP8K which explains ... | [CODE] / [CODE] is not required to make a newly created bufferpool useable, but in most cases you must deactivate and reactivate the database for the tablespaces to be able to use the new bufferpool. This is because, even if the [CODE] option is specified or implicitly assumed If there is not enough reserved space in t... | 3 | 4 | 1,292 | 2020-03-27T10:03:11.840 | database_errors | dba.stackexchange.com | |
599,009 | Is Microsoft trying to hack my mail server? | Since yesterday I have countless lines of these¹ in my logs. A whois on the IP shows [CODE] is Microsoft trying to hack my mailserver? ¹ [CODE] | If by "Microsoft" you mean some guy who rented a Azure VM: then maybe. This range does belong to Microsoft and is used by Azure (see: http://www.microsoft.com/en-us/download/details.aspx?id=41653 ). So this could be pretty much anyone. You may want to contact Microsofts abuse department. Or ignore it like the rest of t... | 1 | 3 | 302 | 2014-05-28T07:05:56.820 | infrastructure | serverfault.com | |
270,850 | Running total for current period when previous period is empty | I could use a little SQL help this morning I am new to SQL and could use some help. I have a stored proc set up in SSMS whose purpose is to determine the quarter to date total of transactions for a service. It looks at the transactions for the last transaction of the previous quarter. For example 6/30/2020. Finding tha... | If I understood you correctly this should take you part of the way, you might need to adjust the match_date too [CODE] | -1 | 0 | 88 | 2020-07-13T14:30:43.857 | warehouse_errors | dba.stackexchange.com | |
106,844 | Reasons for C++ Prototyping | I'm a beginning programmer, trying to get a grasp on everything, so pardon the probably mundane theoretical question: I see in a C++ tutorial that prototyping is needed to let the compiler know that a function(?) is coming up and not to throw up any errors. Why does it not search throughout a document to find the funct... | The reason is that you can use the function outside of the file where you implemented it. In this case searching throughout a document won't help because the compiler won't find it, yet it has to know the definitions of the function in order to enforce the typing and to encode the function name correctly for the linker... | 3 | 6 | 607 | 2011-09-09T05:09:56.313 | api_errors | softwareengineering.stackexchange.com | |
323,025 | DB Data structure for .Net sequenced list with insert, delete, move | The problem is maintaining in .net a list of rows that have a specific sequence where rows can be inserted, moved and deleted, and being able to save and restore that sequence from disk. In memory I can use a .net list with insert and delete by index position. The alternatives that I see for converting that to a disk f... | You are concerned about the performance of bulk-updating a sequence number, but I suspect this is premature. Bulk updating sequence numbers (e.g. increment a field for all items in a section of a list) can be done in a single SQL update. I if the average set is 200 items performance will most likely not be an issue. A ... | 1 | 1 | 178 | 2016-06-23T05:41:00.340 | database_errors | softwareengineering.stackexchange.com | |
328,938 | What is the most elegant algorithm to find the best combination? | I have a function, let's call it [CODE] . This function has arguments, but I don't know how many arguments it has. It returns always a Boolean. I have another function, let's call it [CODE] . This [CODE] function gets the possible [CODE] of the [CODE] arguments in a 2d array. Every argument can have many alternatives. ... | You can add another function [CODE] that generates all the combinations of items in alternatives. [CODE] is the index of we've created all the combinations up to, and [CODE] the the array containing the current combination. [CODE] | 0 | 1 | 1,946 | 2016-08-21T15:00:23.987 | api_errors | softwareengineering.stackexchange.com | |
283,493 | Why is iterating through List<T> more expensive than iterating through Array in .NET? | According to the answers in this post , [CODE] is backed by an Array. According to this article, list iteration is considerably slower than array iteration. If Lists are arrays 'under the hood', why do they take longer to iterate over, especially with foreach? Note: This is assuming Lists are implemented with Arrays. I... | Iterating through a List is (slightly) slower than a plain array due to a few factors: Bounds checks: This is likely to be the biggest factor; every single indexer access to the List is going to do a bounds check. Bounds checking on a raw array can often be trivially optimized out of a loop by the JIT. Method call cost... | 3 | 5 | 2,195 | 2015-05-11T11:47:19.520 | api_errors | softwareengineering.stackexchange.com | |
985,232 | DNS error and not returning with any right response | I got a new server and I added a [CODE] to [CODE] and when I test the [CODE] and [CODE] domains on dnswatch.info I got a successful result. but the thing is when I direct a new account domain like one of [CODE] to the server with these Name Servers it's not opening with DNS ERROR! When I used intoDNS.com for NSLOOKUP, ... | Your domain [CODE] have a DNSSEC related problem, which you can see if you go at http://dnsviz.net/d/tamamsouq.com/dnssec/ This is the first problem to address. In summary, you put a DS record at the parent zone but your nameservers do not publish any related DNSKEY record. This will make your domain as failed for any ... | -1 | 1 | 2,270 | 2019-09-23T03:05:43.157 | infrastructure | serverfault.com | |
160,280 | Catch-all DNS record | Intro Our users have the ability to buy a domain (eg: user1.com) and make it point to out website, (eg: example.com), by simply pointing user1.com to ns1/ns2.example.com . Issue So far everything's good, however, example.com does not like this; we need to set up WHM/cpanel to make the server accept user1.com . Problem ... | OK, after searching and get a flat "no" from HostGator, I seem to have found what I need. This is called parked domains, and thanks to WHM/cpanel, they can be created and managed through API. More info here: http://docs.cpanel.net/twiki/bin/view/AllDocumentation/AutomationIntegration/XmlApi#DNS_functions | 3 | 1 | 1,512 | 2010-07-14T11:12:43.973 | infrastructure | serverfault.com | |
476,461 | Apache-Mina FTPServer Issue — unable to login into apache ftp server while using database user manager | I am unable to [CODE] into apache ftp server while using database user manager: while entering username and password,I am getting following error in log file: [CODE] here is my xml file ftpd-typical.xml : [CODE] | The proble not because of passowrd, It could be invalid username, So check your username and passwords in the users.properties file. FILE : users.properties ftpserver.user.e101.userpassword=abs123 for Here UserName=e101 Password=abs123 or ftpserver.user.admin.userpassword=21232F297A57A5A743894A0E4A801FC3 for Here UserN... | 2 | 1 | 3,077 | 2013-02-07T15:29:09.760 | infrastructure | serverfault.com | |
303,530 | MySQL update query takes too long | I'm currently testing my website and have come across a slow query and I am not able to fix it. I have added an index on ( [CODE] , [CODE] ) and still the update query takes some time. Let me start with the table structure: [CODE] This is the problem, when the table has more than a million rows, update queries take som... | I'm not a MySQL expert but from general relational database knowledge, write operations are generally much more expensive than reads. This is because of transaction overhead and ACID and maintaining indexes, etc.. That query forces the database engine to iterate over the whole table and set the [CODE] column to 0, even... | 0 | 0 | 1,030 | 2021-12-05T00:41:16.233 | database_errors | dba.stackexchange.com | |
1,074,020 | Remote Desktop connection to Azure AD Joined computer | I'm doing some testing on a standalone (no on-prem AD sync) Azure AD test tenancy, and have set up a user (non-admin) account, installed a base Windows 10 system, and joined it to Azure AD (shows Azure AD Joined) using the user account. It appears to have created that account as a local admin, so I've enabled Remote De... | I'm doing some testing on a standalone (no on-prem AD sync) Azure AD test tenancy , and have set up a user (non-admin) account, installed a base Windows 10 system, and joined it to Azure AD (shows Azure AD Joined) using the user account. It appears to have created that account as a local admin, so I've enabled Remote D... | 1 | 1 | 6,079 | 2021-08-09T23:25:00.760 | infrastructure | serverfault.com | |
898,283 | Using boto in an AWS lambda function in a VPC | I have a lambda that accesses EC2. I want to assign it to a VPC for security purposes, but when I do boto just stops working. Here's a minimal example: [CODE] The Lambda's role has the neccessary permissions on ec2, and works fine outside the VPC. When I put the lambda in the VPC (in a security group that allows all ou... | The issue was that I needed to have a NAT on the subnet the Lambda function is running in - an Internet Gateway is not enough! I'm assuming that this is because the Lambda runs only privately, and the Internet Gateway, allowing 2-way traffic, would not allow routes to/from the Lambda. Adding the Lambda to a private sub... | 1 | 3 | 1,709 | 2018-02-21T22:12:58.090 | infrastructure | serverfault.com | |
604,616 | Continuous Integration testing of RPM upgrades | We release software on RPM-based linux. We receive many packages from different teams, some outside of our business unit, that must upgrade correctly (in the future we want to check dependencies are correct). Recently we were bitten by a bug in upgrading from a package delivered from outside our business unit. The time... | You have asked rather a general question I think so there may be a variety of possible answers. One option I would recommend from personal experience is Jenkins. Jenkins is a good continuous integration tool-set. https://wiki.jenkins-ci.org/display/JENKINS/Meet+Jenkins It's quite a flexible tool and you can get a good ... | 4 | 2 | 1,203 | 2014-06-12T11:37:49.487 | infrastructure | serverfault.com | |
962,954 | trying to install php 7.1 on debian 9.8 - apt-get issue | I have php 7.0 / nginx on my debian server. I'd like to upgrade it to at least php 7.1. Following the guide on https://launchpad.net/~ondrej/+archive/ubuntu/php I ran into many problem. [CODE] I realise the important bit is probably NO_PUBKEY 4F4EA0AAE5267A6C but what do I type in to fix that so that an apt-get update ... | Have you added the repository as instructed in the README.txt for PHP and Nginx ? This part adds the DEB.SURY.ORG Automatic Signing Key (and it's the same key for Nginx): [CODE] Your main problem is that you are using Ubuntu repositories on Debian: [CODE] | -1 | 2 | 1,757 | 2019-04-14T03:14:36.253 | hadoop_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.