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 |
|---|---|---|---|---|---|---|---|---|---|---|
937,318 | Corrupted LVM Recovery | I had (paying attention to the past time here) a Centos 6.7 host who was migrated using Vmware conversion tool from a HyperV cluster. Therefore, the final configuration of its disks was: [CODE] Time came and a logical volume was filled and VG did not have any free PEs to extend. So I made a ninja move and I extended [C... | If you have backups of the host configuration and data, it will be faster to reinstall the OS and restore. Make a backup image of the LVs, such as with [CODE] to a regular file, or perhaps a LVM snapshot. Run a file system repair tool on the backup, such as [CODE] . This helps indicate if there is a recoverable file sy... | 2 | 1 | 4,448 | 2018-10-26T07:54:01.937 | data_quality | serverfault.com | |
16,191 | Python Neural Network library/program with simple installation? (Solved?) | Edit: I found a solution to my problem; there's a scipy installer that doesn't require openBLAS, and that seems to have worked. I'm trying to find a neural network library for Python, but nothing I've tried has been what I've wanted; the libraries a lot of people seem to be recommending (e.g Keras, scikit-learn) requir... | If you are trying out neural networks, I would recommend keras , it is a wrapper around TensorFlow. With just a few lines of code, you can build a neural net. Scikit learn is really good for ml algorithms like logistic or linear regression, naive Bayes, svm and others. I am not sure if it is good enough for neural net... | 1 | 0 | 448 | 2017-01-09T01:02:22.160 | data_quality | datascience.stackexchange.com | |
312,927 | What are the best practices for managing Test results | We are using GitHub for managing source code and waffle board for managing workflow/issues. Right now when we test the system using custom written test cases, it generates a CSV file. We want to be able to keep a record of these test results, so we can go back and run the same test again with the same Inputs and verify... | The test results should be managed in the same git repository. You don't need to save results of every run, you only need to save the results for a single run. All other runs should compare itself to this "golden" version of the data. If a test generates different results, it will have failed. Put another way, this .cs... | 6 | 3 | 2,737 | 2016-03-16T15:16:16.563 | api_errors | softwareengineering.stackexchange.com | |
9,411 | Can developer do automation test for the feature that he has implemented? | Doing manual testing for the feature that you have implemented is obviously a bad idea. But what about automated functional tests? It seems to me that automation testing is more related to unit testing and it is ok to create automation test for the feature that you have created (though someone in our team is trying to ... | In my experience, the answer is both yes , and no . Obviously a developer can write automated tests for a feature he/she implemented. Whether that developer should write those tests is another argument and depends on - among other things - the type of automated test being written, the style of development, whose time i... | 4 | 2 | 3,173 | 2014-08-08T15:18:11.330 | data_quality | sqa.stackexchange.com | |
201,827 | Failed to import a mongodb database with duplicate fields | I'm trying to import a mongodb database and I've been using the mongorestore command, the import starts without problems until it gives the error: Failed: dbprod.mys_account: error creating collection dbprod.mys_account: error running create command: BSON field 'OperationSessionInfo.create' is a duplicate field I alrea... | I have successfully upgraded a database from 2.4 to 4.0 using the following 3 step method: use 2.4 mongobackup on the 2.4 database delete all .json files from the outputted dump directory use 4.0 mongorestore on the remaining .bson files | 1 | 5 | 5,283 | 2018-03-20T21:37:52.263 | data_quality | dba.stackexchange.com | |
194,504 | Should my code be DRY or readable if it can't be both? | I'm writing Ruby code for a simple encryption exercise and have frequently run across this dilemma (the exercise is a solitaire cipher if you must know). It is a question of whether I should pad out my logic with descriptive variables and single step statements that make the function readable instead of a concise, even... | DRY is a guideline, not a religion. Those who take it to the point of DRY above all else, have taken it too far. First and foremost, usable code is paramount. If the code isn't useful and usable, it isn't... and there isn't any point in writing it in the first place. Secondly, some day, someone will have to maintain yo... | 18 | 26 | 5,309 | 2013-04-10T01:47:50.307 | data_quality | softwareengineering.stackexchange.com | |
282,565 | How To Detect locking due to multi row updates | Hi we are thinking of moving our updating records operations over from c# to sql, I am afraid of locking problems, how can I detect this problem if it occurs, and if it causes locking, is there any solution other then making small batches | we are thinking of moving our updating records operations over from c# to sql Typically the performance benefits of multi-row DML outweigh any increased blocking. Plus you should be using transactions when performing a multi-row update from C#, in which case you'll have similar locking footprint to a server-side multi-... | 0 | 2 | 67 | 2021-01-04T23:18:26.163 | warehouse_errors | dba.stackexchange.com | |
658,361 | How to make connections answer from the same gateway they entered in RouterOS? | I have a MikroTik RouterOS 6.23 device, and my network is as follows: [CODE] Now, the relevant configuration: [CODE] With this configuration, all traffic goes out by ether3_3G only if ether2_ADSL fails, and by ether2_ADSL otherwise (most of the time). Now the problem is that incoming connections only work through ether... | You will need to mark the connections coming from ether3_3G so that you can then mark the replies to be routed back via ether3_3G. Here's an example configuration (not tested) [CODE] The first rule will place a [CODE] on any packet arriving from ether3_3G interface. The second and third rule will 'catch' the replies ba... | 5 | 5 | 10,634 | 2015-01-09T11:36:49.713 | infrastructure | serverfault.com | |
440,002 | Citrix Xen VM's lose networking | My client has a XenServer 6.0.2 installation with 2 Window Server 2008 R2 virtual machines. Whenever the virtual machines are rebooted they lose their IP settings (IP address, subnet, gateway). Each time after a reboot I need to login to each VM via XenCenter and re-apply the required static IP settings. This causes is... | Remove ghosted NICs This can happen if you set your network configuration prior to installing the XenServer tools on the guest. Open device manager on the server, and ensure you have "Show hidden devices enabled" (View menu->Show hidden devices). If you see any additional network adapters listed, such as Realtek RTL813... | 1 | 4 | 11,503 | 2012-10-18T21:16:14.183 | infrastructure | serverfault.com | |
750,698 | Using external SMTP for relay in Exchange Server 2013? | I've setup an Exchnage 2013 server. Internal emails are flowing fine. But there's some problem with external emails. Whenever I send emails to external domain I get the message that my IP is not authorized to send the emails directly and that I should relay to some other SMTP server. Hence I created a custom connector ... | Your own external IP address will always be shown on the headers, there is nothing you can do to stop that. It is put on the headers by the next server. However unless the recipient is being very strict and checking all addresses within the header, it shouldn't be a problem. Are you sure the emails are going via GoDadd... | 0 | 0 | 788 | 2016-01-21T08:48:34.043 | infrastructure | serverfault.com | |
54,502 | Automated bare-metal recovery practices for small network | I have several machines which are on a small network with one DC and 3 to 5 workstations on the network at any given time. These are all setup with DNS and AD on the same server. I want the ability to automate a backup, re-image, and restore of data for any of the workstations. I have each of the workstations on my net... | I had a play around with this idea once upon a time, my solution was to set up a DRBL (drbl.sourceforge.net/) Server so I could use PXE to boot Clonezilla (clonezilla.org/) which would then take an image without any user input (using a script ). Restoring with another script is just as easy. The computers were set to b... | 6 | 3 | 749 | 2009-08-15T04:14:51.813 | database_errors | serverfault.com | |
184,098 | Why can't I access an administrative share on my local machine? | I'm working on a Windows Server 2008 R2 (x64) VirtualBox image that I've set up as a CI/deployment testing environment. I've got VirtualBox set to use Internal-Only networking. I've set up hosts file redirects for the names of my production machines/database: [CODE] And my deployment script will then attempt to deploy ... | This ended up being related to name resolution and permissions. The details are found in this post: http://forums.techarena.in/server-networking/1195474.htm Basically there are several registry entries which must be created in order to enable this configuration - out of the box Windows does not support it. Copy&Paste f... | 2 | 3 | 6,470 | 2010-09-23T20:22:54.740 | pipeline_ops | serverfault.com | |
1,021,067 | How to use rootless Docker as remote host? | I'd like to run a Docker container on a server by running the [CODE] command on my computer. I install [CODE] on my server, create a new non-root user [CODE] configure SSH and connect to the server as non-root user [CODE] to install rootless Docker by running [CODE] As the output of the script tells me, I add [CODE] to... | Thanks to @BMitch. I added the environment variables at the end, but should have added them at the beginning of [CODE] , e.g. before [CODE] | 2 | 3 | 1,267 | 2020-06-11T16:42:48.270 | pipeline_ops | serverfault.com | |
1,045,958 | Strongswan works on embedded device via ethernet but not with 4G modem | I have a Gateworks SBC with an installed Ubuntu 20.04. My SOC is connected with an USB to ethernet adapter (eth0) as DHCP Client (192.168.88.102) to my Mikrotik router (DHCP Server), which acts as my gateway to internet(Masquerade). I have installed a virtual Mikrotik instance on AWS, Ip address 18.x.x.x. There I confi... | So, its working. The Toby L210 4G modem uses as a factory default RNDIS as a virtual Ethernet link. RNDIS caused problems with my network traffic, even without IPSEC, so I switched to CDC-ECM. From ublox AT Commands manual: [CODE] Now CDC-ECM caused my IPSEC to lose my incoming traffic somewhere so I switched back to R... | 0 | 0 | 627 | 2020-12-12T19:51:56.363 | infrastructure | serverfault.com | |
221,791 | Caching intermediary CTEs for multiple uses | I'm working on this huge query that I chose to use CTEs. Due to the complexity of this query, I ended up having to reuse intermediary query results more than once in subsequent queries. The problem I'm facing can be summarized by the following toy code: [CODE] I have notice an unusual amount of indexes seeks in a fairl... | No, there is no way to cache a CTE; it will typically be executed multiple times if it is referenced multiple times. If you want to avoid this, you can cache the results using a #temp table instead. In some cases, the execution plan may be simple enough that the CTE is only materialized once (this doesn't technically m... | 4 | 10 | 4,989 | 2018-11-05T10:47:28.063 | database_errors | dba.stackexchange.com | |
538,368 | Make scp always overwrite or create directory | I am using scp to copy a directory from one remote server to a new directory (IE just changing the name) on another remote server like: [CODE] This works fine if dir2 does not exist on server2, it creates a new directory called dir2 which contains everything from dir1 on server1. The problem comes when dir2 already exi... | Use this "dot" syntax: [CODE] This copies the contents of that directory, rather than the directory itself. And I believe it's more portable than [CODE] globbing. | 38 | 43 | 67,459 | 2013-09-12T12:14:43.000 | infrastructure | serverfault.com | |
161,675 | How to add Reporting services sharePoint features in SQL Server 2008R2 | I am facing some issues related to SSRS on SQL Server 2008R2, how can we have install below features: Reporting Services- SharePoint Reporting Services Add-in for SharePoint Products Any one could you please help me. Thanks | The Microsoft SQL Server 2008 R2 Reporting Services Add-in for Microsoft SharePoint 2010 products is installed by the SharePoint 2010 Products Preparation tool (PreRequisiteInstaller.exe). If you want to download and install the add-in separately, the most up-to-date version of this file is available online at the Micr... | 0 | 0 | 245 | 2017-01-19T22:40:24.470 | database_errors | dba.stackexchange.com | |
197,529 | Copy to Data Warehouse | I have been tasked with copying select databases from the production SQL server to the Data Warehouse (at least nightly). However, no matter how I try to copy the data over, I run into an issue. Below is our setup: Production Enviroment SQL 2014 Enterprise around 20 TB of data Weekly Full backups, Nightly Diff (minus o... | The restore from full/diff nightly is actually a good option, because it kills two birds with one stone: you get the Data Warehouse and you're also regularly testing your backups. The typical method to populate a data warehouse from production is to use an ETL (Extract-Translate-Load) technology, like SQL Server Integr... | 4 | 1 | 634 | 2018-02-09T20:48:05.003 | warehouse_errors | dba.stackexchange.com | |
326,304 | SSIS error when trying to run using Windows Authentication | I'm having issues running an SSIS package. There are several elements to this issue, and what I'm hoping for is the overall correct way to accomplish the goal. This SSIS package imports from an Excel file on the network into a database (MyDb). It works properly in VS. Originally, it also works properly when deployed an... | Turned out to be quite simple all along. The solution was to edit the connection to the database in the original (VS) package, so that SSIS logs in as a (SQL-Authenticated, in my case) user with permissions to do everything it needed to do. Previously, the SSIS package connection to the SQL Server was using Windows aut... | 1 | 1 | 598 | 2023-04-22T23:12:56.357 | api_errors | dba.stackexchange.com | |
199,603 | The cost of MySQL filesort and what's the solution? | I'm new to optimizing MySQL (cheers for having a high traffic site!) and I'm a little confused by filesort. I stumbled onto this article: http://www.mysqlperformanceblog.com/2009/03/05/what-does-using-filesort-mean-in-mysql/ with some quick google searching but I can't seem to find any solutions. Does it mean my querie... | The truth is, filesort is badly named. Anytime a sort can’t be performed from an index, it’s a filesort. (via mysqlperformanceblog) So, most likely, you've got a query which isn't making use of a table index. See MySQL Create Index Bonus!: If you're new to tuning your mysql server for high performance take a look at th... | 3 | 1 | 949 | 2010-11-08T21:56:17.377 | database_errors | serverfault.com | |
317,007 | Inefficient CPU usage by Tomcat | I am using tomcat to convert pdf to png. I was using Jmeter to load/throughput test the app using a Intel(R) Xeon(R) CPU X5550 @ 2.67GHz server which has 16 hyper-threaded cores. Tomcat6 had 2gigs of heap memory allocated, and the connector was setup to handle 1000 concurrent connections. During my load testing I disco... | It looks to me that the application has the bottleneck. I guess it use just only one thread to convert the pdfs. Tomcat runs servlets parallel but when the servlets call a one-threaded library your web application become a one-threaded app. You have to modify your application to use more threads. A not too nice workaro... | 2 | 2 | 5,068 | 2011-09-29T20:40:41.637 | pipeline_ops | serverfault.com | |
958,370 | docker Unix syslog delivery error | I faced at syslog related error when executing the program with the docker. [CODE] Docker logs: 2019/03/15 01:59:08 Unix syslog delivery error DOCKERFILE [CODE] When I run go_agent alone, it works fine. but after cloud-settings shell, go_agent cause syslog delivery error. cloud-settings [CODE] I want to know how to fix... | try commenting this line in /etc/rsyslog.conf: [CODE] | 1 | 0 | 2,431 | 2019-03-15T02:34:57.620 | pipeline_ops | serverfault.com | |
393,228 | Unable to connect to Apache website hosted on VPS | I have set up a basic LAMP stack on a self managed VPS and now I would like to to preview the site by the IP assigned by our provider - before switching DNS over. Chrome reports the following error when trying to access the site. I see the following in the logs: [CODE] when I try to access by the IP. The only other cus... | Add an entry to the hosts file on the client which you're testing from which maps the domain to the IP you want to test against. The hosts file is (usually) consulted before DNS, so this will override the IP configured in DNS. On *nix this file is [CODE] (I'm not sure offhand about other OSes.) I'm assuming that you've... | -5 | 2 | 400 | 2012-05-28T04:50:37.487 | infrastructure | serverfault.com | |
982,439 | How to use varnish with nginx as SSL terminator and with http to https forwarding with nginx | I have installed varnish and nginx and secured my website with lets encrypt SSL. I tested varnish against nginx cgi cache and i have found out that varnish is a bit faster in my use case (wordpress). So i need some help on how to use nginx for SSL termination with varnish and how to forward http to https as my website ... | Assumptions Nginx has a vhost running on port 443 to process incoming HTTPS requests Nginx has a vhost running on port 80 to process incoming HTTP request and redirect them to Varnish Varnish is running on port 6081 and sits behind the HTTPS Nginx vhost Nginx will probably also have a vhost running on port 8080 which d... | 1 | 1 | 3,061 | 2019-09-08T15:45:19.740 | infrastructure | serverfault.com | |
140,675 | Storing data offline with javascript | My question is about storing data offline and potentially whether I will need to bring in an outside programmer or could this be learned within a few weeks? The website I am working on will have an interface where users will login and go through a series of quizzes in the form of checkbox, drop down menus, and others. ... | Its very easy and you can learn it in like an hour or so tops. you can also consider using some library like this http://www.jstorage.info/ I am using it for one of my project. | 0 | 2 | 1,456 | 2012-03-20T15:23:20.393 | api_errors | softwareengineering.stackexchange.com | |
422,643 | Efficient way to detect duplicates in a stream of up to 20M numeric strings | I have a stream of documents, each having an ID which is a 64 bit unsigned long given as a (maximum length is 20) string. Sometimes an ID appears multiple times in the stream. I don't want to process a document if I already processed it, so I'm using Redis to cache last 20M document ID's. If 20M is exceeded, cache can ... | Your bitset idea has promise and reminded me of Bloom filters which have gained popularity of late. I think the central problem - as you noted - is this: "How to handle possible duplicates/collisions?" Fortunately this is a problem that has been studied heavily with respect to hash table implementation - see the "Colli... | 2 | 3 | 572 | 2021-02-24T00:12:42.703 | database_errors | softwareengineering.stackexchange.com | |
652,168 | Monitor network traffic/usage by PORT | I apologize in advance if this is out of topic. I am currently using Icinga and Cacti to monitor machines and the network respectively. While I have no big issues with this setup, I would really like to have the option to monitor network traffic BY PORT in real time. Is there a utility that does this? I only know of Pa... | You asked for ideas and... here is mine. To solve your problem, you've two very limiting conditions: You're unable to take hands on your Cisco ('cause it's not yours and its configuration cannot be changed to suite your needs); You cannot change (at least, not easily) the way Zeroshell is working (due to the very natur... | 4 | 3 | 4,312 | 2014-12-12T15:39:53.700 | infrastructure | serverfault.com | |
1,132,772 | Changing the working hours on a room mailbox in Outlook/Exchange | I setup a Room resource recipient in Exchange so that users could book the associated conference room. This part works, but when I attempt to view the room's schedule in Scheduling Assistant, the room shows as Out of Office for regular working hours. I've tried searching for a solution to this problem and found this ot... | By default, working hours of resource mailboxes are 8:00 A.M. to 5:00 P.M. Monday through Friday. You can refer to this command to check the working hours of this resource mailbox: [CODE] If the working hours for this mailbox is incorrect, you can run the following command to change the time: [CODE] | 0 | 1 | 3,752 | 2023-06-07T06:41:52.627 | infrastructure | serverfault.com | |
194,657 | Server slower for each successive request | Application stack (all using latest stable releases): Ubuntu Apache Passenger Ruby Ruby on Rails After restarting apache (apache2ctl graceful) a page request is pretty fast, some 600 ms. Then, for every request (same page still, just reloading), the page load time goes up with 250-500 ms per request. So after 20 someth... | Memory bloat the second suspect: http://www.engineyard.com/blog/2009/thats-not-a-memory-leak-its-bloat/ Since your uri is /categories, I suppose that you are displaying all the categories. If there's a huge pile of them and you're querying them all it could result in a lot of active record objects in you memory (but th... | 0 | 0 | 313 | 2010-10-25T20:57:14.893 | api_errors | serverfault.com | |
44,994 | Getting undefined when I define {string} parameter in the when section in the step definition in protractor cucumber | I am new to protractor with cucumber. I have to automate a flow wherein on entering first name, last name, and postcode, a new user is created. I am trying to add the data to be entered in the feature file in examples in the scenario outline as follows: [CODE] For the when clause, I added the following code in the step... | You have to wrap string with quotes in your feature file, Feature File: [CODE] Also: you need define parameters and not parameter type: Step Definition: [CODE] How will you know what 'string' is passed if you don't give separate name for parameters. | 1 | 2 | 2,509 | 2020-06-19T09:41:30.957 | data_quality | sqa.stackexchange.com | |
952,515 | ntpdate take long time to sync (not ntpd) | I have referred ntpdate -d Server dropped Strata too high . This is a similar but different question. I having two devices. Freescale ARM board (NTP server) Tinker board (client) In the Freescale board which already installed an NTP server and the [CODE] as below: [CODE] Then the client didn't installed the [CODE] serv... | [CODE] does not sync the time, it steps the time once. It also will be retired in favor of [CODE] and [CODE] commands. Do not use it on the client. Instead, configure a full NTP implementation like ntpd or chrony. Undisciplined Local Clock , [CODE] refid and configured as a server matching CIDR 127.127.1.0/24, should n... | 1 | 1 | 1,659 | 2019-02-06T02:54:37.723 | infrastructure | serverfault.com | |
759,357 | ZFS copy on write | I am planning to use ZFS for backups. 5-10 servers will "stream" updates via DRBD to very large files (500 gigabytes each) on ZFS file system. The servers will generate about 20 megabytes per second of random writes about 100 MBps total. I don't read these files so the pattern should be almost 100% writes. For me copy ... | This isn't a fair fight: You are writing zeros when you're using [CODE] whereas [CODE] defaults to generating a single random block and reusing it when possible . Since all zeroes is (slightly) more compressible this can skew numbers. The block size being used by your [CODE] is 1MByte whereas the size being used by you... | 3 | 1 | 3,388 | 2016-02-24T02:55:36.380 | api_errors | serverfault.com | |
66,753 | Hardware raid controller that supports RAID1 with three active drives? | We have decided that RAID1 would be the best fit for our usage scenario for the following reasons: 1). Our overall storage requirements are relatively modest ( The only issue that worries us is simultaneous drive failure. In a standard two drive RAID1 setup this would be terminal. So the question is, are there any hard... | RAID 1 doesn't allow for three-disks mirrors; I know of no hardware RAID controller that can do that. With some controllers, you can have a hot spare , which is a standby disk that's immediately used to rebuild the volume, should a drive failure happen. | 1 | 1 | 1,632 | 2009-09-18T15:57:44.750 | infrastructure | serverfault.com | |
156,649 | Retrieving data from stored procedure's cursor | I want to use the ResultSet in java program to get data from Stored procedure's cursor. Is that possible with SQL Server? My code: [CODE] When I use [CODE] , I just got the output as "Command(s) completed successfully" and the Resultset shows null in java program. So what to change in my code so that my ResultSet retri... | SQL Server stored procedures can return record-sets from a query, a [CODE] would not be required (unlike in Oracle). The query below is all that's needed to get a recordset: [CODE] | 0 | 1 | 643 | 2016-11-29T11:47:43.027 | database_errors | dba.stackexchange.com | |
1,137,690 | Load test (single client vs thousands of clients) | Hello Serverfault community, I am currently working on a .NET Web API that utilizes MS SQL as its backend to process data and return straightforward results. To ensure the API's performance and reliability, I've been conducting load tests using Sendgrid Loader.io. During these load tests, I aim to handle around 3500 re... | As a first approximation: yes, such a successful simulation will give good idea that your API won't immediately crumble under the designed load. All other things being equal, the theory is that a single load generator node making [CODE] number of independent concurrent connections to your server (where [CODE] is less t... | 0 | 1 | 145 | 2023-07-18T16:31:37.213 | api_errors | serverfault.com | |
236,186 | Where are the logs for Exchange 2010 stored? | Where are the logs stored for Exchange 2010. Specifically error logs. Cheers, Dean | Unlike Exchange Server 2003/2000, you have to enable logging separately for Send Connectors (used to send mail outside the Exchange organization, Send Connectors are equivalent of SMTP Connectors in Exchange 2003/2000), using the following command: [CODE] To enable protocol logging on a Send Connector using the EMC: Ex... | 3 | 3 | 76,279 | 2011-02-16T13:17:23.920 | infrastructure | serverfault.com | |
411,819 | Can't use mysqld with empty password from command line | First, I create a database directory: [CODE] Then, I start mysql daemon: [CODE] It starts fine and I can connect to it using, for example, Navicat. I'm trying to connect from shell: [CODE] What to do? I also tried to change password first for root user: [CODE] Again, connection works perfectly fine from a standalone SQ... | There are two ways that I am aware of to log in to an account with an empty or blank password. The first is to just omit the password option. [CODE] Another way is to specify the [CODE] option, and just hit the enter key when prompted. [CODE] | 3 | 2 | 4,862 | 2012-07-27T11:40:23.293 | database_errors | serverfault.com | |
155,837 | Undeploying VMware Lab Manager VMs after trial license expires | I played around with Lab Manager for a while, deploying a couple of machines. Meanwhile, the trial license has expired, and now I can't seem to "get rid" of the VMs (seems they are uncontrollable by the vCenter). Every page on the Lab Manager web interface gives me the expired license notification - no controlling opti... | Try connecting to the esx host directly, more options are enabled. | 1 | 2 | 317 | 2010-06-29T08:18:36.790 | infrastructure | serverfault.com | |
110,038 | Find Mail Sent from Account on CentOS 5.4 | A client of ours was sending out a mass e-mail to their membership. The process crashed midway. They'd like to resume the mass e-mail but so far I haven't been able to figure out where to look. Problem: the mail is sent iteratively by a PHP script. This script doesn't track it's progress. I'm a PHP developer with littl... | Try running [CODE] on /var/log/maillog for the email address to see what's been happening, maybe with a pipe through [CODE] to trim down the output to the most recent few entries. The default install of CentOS typically includes Sendmail; [CODE] will confirm this. | 1 | 1 | 121 | 2010-02-05T17:23:24.327 | infrastructure | serverfault.com | |
640,529 | Courier can not access mysql server while mysql-client can | I've setup a mail server on an Ubuntu 14.04 server. I've installed Courier as the IMAP server and I've configured it so it can connect to MySQL and use its data as the user list and stuff. I've already managed to configure Courier once to connect to MySQL on another machine. But right now I'm having problem doing it ag... | As @NickW guessed it was a typo in database name but I still think that the error message should have been more informative. It was telling me that the username and password were incorrect in the case that they were correct but no database with the specified name was available. Once I cleared the password on server, th... | 0 | 1 | 179 | 2014-10-29T13:25:30.007 | database_errors | serverfault.com | |
249,372 | SUSE EC2 Problem - zypper - Permission denied | I'm trying to use zypper to install gcc on my Amazon EC2 instance running SUSE. When I try: [CODE] I get: [CODE] [CODE] [CODE] [CODE] [CODE] [CODE] I've search for the problem and this thread came up, but offered no solutions. I've tried [CODE] . Am I doing something wrong? I should say I'm very new to this, and I admi... | That usually means that the URL or media is not accessible anymore (it is sort of like a 404 message with Debian apt-get or Red Hat's yum). From what I gather, it is supposed to pull the packages from Amazon's SuSE's repos, but now those repos are down. You'll probably need to post a message on Amazon's forums to get A... | 1 | 1 | 7,119 | 2011-03-19T21:44:31.450 | infrastructure | serverfault.com | |
805,391 | Ansible "expect" module with sudo? | I want to run an installer script with Ansible. The installer script prompts for a number of responses and requires to be run with root privileges. Here is the essence of my Ansible task: [CODE] I would have thought this would work, but I get the error [CODE] If I omit "become_method", I get this error instead: [CODE] ... | I think you need to write the task like: [CODE] You could omit [CODE] . | 2 | 5 | 3,830 | 2016-09-26T15:36:52.310 | pipeline_ops | serverfault.com | |
310,798 | Posgresql: delete all custom defined tables, functions, procedures and enums on current database | I am trying to create a procedure to delete all custom defined elements in the current database I'm operating with. That includes: tables procedures functions enums I don't want to drop schema and recreate it: the idea is just to delete these elements. This is an attempt I did taking code from this question and this ot... | The only good way to do that is to have all the objects you want to get rid of be owned by a certain role. Then you can run [CODE] | 1 | 0 | 747 | 2022-04-11T19:08:46.203 | warehouse_errors | dba.stackexchange.com | |
256,993 | svn Error when commiting-Access denied: 'foobar' MKACTIVITY MYREPO: | I'm currently working with Apache and SVN with ActiveDirectory Authentication. The user is using TortoiseSVN client. I should point out that I have 2 repos with same name and different mapping but redirected to the same "user url" since the permissions are the same for both repos. eg ' http://mysrvr/svn/foo/bar/corge '... | The svn_activity log is higher level and typically not as good for debugging these problems as the lower level http methods, e.g. MKACTIVITY. 403 means forbidden , usually this is due to an authz access file but can also come from rules in the apache config. If you can attach the apache config for the problem repositor... | 5 | 1 | 5,748 | 2011-04-07T18:47:50.007 | api_errors | serverfault.com | |
355,925 | Email Server IP Address is Blacklisted | we have a Zimbra Mail server that was being used for 2 months now. the last week we faced a problem that the Public IP that was being used for our mail server started to be blacklisted and we couldn't send emails to many other domains. we found that the Engineers who was responsible for Administrating our Public IP Blo... | GMail and others will frequently blacklist a block of IP addresss in addition to the IP they are blocking. Getting an IP address white listed by Google, Yahoo, etc. is a tedious and slow process. And it is different for each email provider. Here are links to the 4 major email providers mailing guidelines: http://postma... | 2 | 2 | 9,752 | 2012-02-01T18:49:24.133 | infrastructure | serverfault.com | |
451,282 | Getting error while install mod_wsgi on centos6.3 with python 2.7 | In initially installed [CODE] and i think it was linked with python 2.6 Now is there any way to link it with 2.7 I tried configuring from the source and i get this error [CODE] Waiting for Graham | This is documented in the mod_wsgi documentation. http://code.google.com/p/modwsgi/wiki/InstallationIssues#Mixing_32_Bit_And_64_Bit_Packages Do what you are told to do in the documentation. | 2 | 1 | 1,652 | 2012-11-22T15:52:51.350 | infrastructure | serverfault.com | |
282,512 | Confused: SunOS Licensing | Possible Duplicate: Can you help me with my software licensing question? I'm confused about the state of OpenSolaris/SunOS/OracleExpress.. Can I use SunOS 10 for free? In a productive commercial environment? Thanks! | At the very least if you wish to download & apply patches you have to have a maintenance agreement. | 0 | 2 | 176 | 2011-06-21T09:02:02.970 | data_quality | serverfault.com | |
114,806 | ternary or something similar for choosing function? | I posted this question on stackoverflow and it got a poor reception. In reality, the problems I'm facing are minor and any workaround can be considered impractical. However, I believe it might be of general interest in the abstract computer science domain, so I'm giving it a go here. I'm working with Drupal's automated... | Since you said in a comment you were curious about other languages as well, this works in javascript. [CODE] | 0 | 3 | 317 | 2011-10-18T01:50:51.347 | api_errors | softwareengineering.stackexchange.com | |
1,060,215 | How to install Mysql 8.0 unattended? | I have a bash installation script that automatically installs mysql without any prompts. [CODE] Afterwards I would like the following to secure the installation: [CODE] Something seems to have changed in the latest Debian Buster 10.9. The moment I install [CODE] it is asking me for a root password. And later it breaks ... | I found the solution. The issue is that the environment variable [CODE] isn't passed on to sudo. This is where -E is needed. [CODE] Enjoy. | 2 | 4 | 1,903 | 2021-04-13T07:25:11.587 | api_errors | serverfault.com | |
263,133 | What language for starting on Linux? | I am about to begin a 4-year information security degree at Purdue. The degree does not call for any programming courses. So the only time I will be able to take one is the occasional elective. So most of my learning will be on my own. At the start of my senior year of high school I decided to completely switch to Linu... | First and foremost: [CODE] , along with the common command line utilities. [CODE] is the default user interface to the operating system, and a lot of programs on a Linux system will be wrapped in a shell script at some level. It can be quirky, has some idiosyncrasies, and often seems downright dumb, but it's something ... | 19 | 54 | 1,774 | 2011-04-25T15:41:18.843 | infrastructure | serverfault.com | |
286,111 | Can't connect to server, others can | I've set up a Webserver(port 80) and a Minecraft server. Me and my friends play on this server regularly and haven't had any problems connecting before this. Now, one friend complains about not being able to connect. In order to debug this I made him connect to my webserver(different computer, same IP), but he says he ... | If your friends are connecting over the public internet then try looking at the output of tracert (windows) or traceroute (unix) too see where the connection is being blocked if your IP address is 1.2.3.4 then [CODE] or [CODE] If you are all connected to the same LAN then check that the IP addresses are all in the same... | 1 | 1 | 1,690 | 2011-07-01T11:30:24.290 | infrastructure | serverfault.com | |
639,475 | Allow HTTPS only for specific domains with pound | quick question here: I have trafic from several domains routed to a Pound Reverse Proxy. I have a valid certificate for one of these domain that I want accessible over HTTPS (this part I managed to configure without problem) However I don't want my other domains to be accessible through HTTPS. Is this something I can c... | If all the domains share the same IP address then all you can achieve is to cause a browser error due to an invalid certificate when the user tries to access the site with https. If you don't like this you need different IPs for the domains you want to use with HTTPS and for the HTTP-only domains. | 0 | 0 | 231 | 2014-10-24T17:39:36.863 | infrastructure | serverfault.com | |
278,077 | Can we create SQL Server Aliases in Linux clients? | Can we create "Server Aliases" in Linux clients (webservers etc.) so that you can change connections without touching the application's DB URL string? The official documentation seems to talk about a GUI way of doing this in Windows, so I was wondering if something like this exists for Linux. This has lots of benefits,... | Aliases on Windows are set using the SQL Server Configuration Manager GUI. The Linux equivalent is mssql-conf , but there isn't an equivalent to aliases on Linux. (I don't think this is a case of "isn't supported yet " related to Linux support being relatively new. My guess on the future is just a hunch & guessing rath... | 1 | 2 | 439 | 2020-10-14T17:50:45.753 | database_errors | dba.stackexchange.com | |
542,879 | Lost connection to MySQL server at 'waiting for initial communication packet', system error: 2 | I've just spun up a new RackSpace VPS using Ubuntu. I'm normally using CentOS so forgive me for any Ubuntu newbie mistakes. I set up an SSH tunnel using Putty and tried to connect via SQLYog, something I've done on CentOS countless times. I'm receiving the error message Lost connection to MySQL server at 'waiting for i... | I recommend you check if you have a firewall (iptables) or some security software (apparmor / selinux) enabled and running. Also the error log would be helpful here. This manual page can help you debug the problem. | 2 | 2 | 21,172 | 2013-10-01T08:17:25.777 | database_errors | serverfault.com | |
402,307 | MySql transfer / update (a bit specific) | before posting I was digging whole site but didn't find help for my problem, so I hope someone will help... Facts: 30 Gb mysql database on remote server (about 20.000.000 rows) data are once weekly updated in local network (mysql) I need to transfer/replace local updated database with remote connection is about 2mb (re... | Run two mysql servers locally. Run one of those local servers as a slave replica of the remote server so that all changes on the remote server are up-to-date locally. Then, when you need to refresh the other local server, stop the slave local server, take a copy of the DB (using the fastest local method possible), and ... | 0 | 2 | 135 | 2012-06-26T11:23:25.107 | database_errors | serverfault.com | |
60,863 | To replicate, or not to replicate | 1.Intro Hello, I am running web application on 2 separate geographical locations(e.g. Europe, Hong Kong). Let's suppose Hong Kong server is an Amazon EC2 instance(paying for disk space, IO disk operations and traffic). Inspect the following figure: 2.Problem When you should remotely access DB server A and when you shou... | Use maatkit heartbeat. You will need another perl process running is very helpful. You can also use mk-slave-delay to generate lag. Protection purposes. | 0 | 1 | 79 | 2014-03-13T16:16:26.890 | database_errors | dba.stackexchange.com | |
388,290 | VM Backups - Externalizing extra large VMware backups | I have a couple of VMware ESXi hosts with a couple of VMs on each hosts. The total amount of size of all these VMs are in the order of the TBs. I want to make backups of these VMs. But here is not the problem. I already make backups using ghettoVCB on a network share. But in the event of a disaster in the office, like ... | Copy the (probably zipped) vcb images to cheap disks weekly or monthly or as suits taste; and rotate the disks through a locally rented bank safe. Also, there are safes on the market that can withstand a direct building fire with media in them intact for a well specified amount of time. | 2 | 1 | 118 | 2012-05-11T16:07:18.837 | database_errors | serverfault.com | |
60,859 | When I convert the linked tables to local tables I got this error? | Referential integrity cannot be enforced between linked tables and local tables. Enforcement of referential integrity will be dropped on all relationships between tables converted to local and tables that remain linked, then I get the options ok cancel and help I clicked ok and it does nothing. I am trying to make them... | Foreign keys can't be connected to non-local objects - they have to reference local tables. | 0 | 1 | 1,423 | 2014-03-13T15:57:27.680 | warehouse_errors | dba.stackexchange.com | |
869,891 | Is a case-insentitive URL under RH7 with Apache possible? | UPDATED ON 23-08-2017, see section below I want make URLs under RedHat 7 case-insentitive just before the Apache access to the declared directory. I tried with mod_rewrite and mod_speling. No one of them works. I know that Linux is a case-sensitive operating system. My target is to make the URL for my API case-insentit... | Simply make all of your URLs lowercase, period. Any upper case is converted to lower case by redirecting to the lower case equivalent. This makes it case insensitive by not allowing any uppercase to be used and transparently changing the url to all lowercase. Apache [CODE] code: [CODE] | 0 | 0 | 1,459 | 2017-08-22T13:13:31.793 | api_errors | serverfault.com | |
578,359 | CentOS 6.0 only shows loopback address with ifconfig | I am trying to figure out whether a performance problem we are having with one of our processes is OS related. I installed CentOS 6.0 on a server which previously had CentOS 6.5 installed. Now when I do [CODE] it only shows the loopback address. There are two network cards on the server. And they did show up in the pre... | This is most certainly a driver problem. Is seems centos 6.0's kernel isn't shipped with your card's drivers. The command [CODE] will list you the currently loaded kernel modules among which are the loaded hardware drivers. Download from here : http://www.broadcom.com/support/license.php?file=NXII/linux-7.6.62.zip and ... | 0 | 0 | 1,788 | 2014-02-26T09:25:04.760 | infrastructure | serverfault.com | |
334,803 | Migrating to new infra using Distributed Availability Group | Reaching out to learn if anyone experienced any issues when migrating to new infrastructure using Distributed Availability Group (DAG) in SQL Server. Back Story : Our current infrastructure is on Windows 2016 and SQL 2019. We have traditional (failover cluster based) availability group set up between the replicas. We a... | We have successfully leveraged DAG for multiple critical environments. We performed several rounds of testing failing back and forth from legacy to new environment. The most important part of dealing with DAG is you have to stop as much application traffic as possible when failing over. | 0 | 0 | 37 | 2024-01-12T16:33:40.977 | database_errors | dba.stackexchange.com | |
678,642 | Linux device-mapper maps LVM PV nested inside LV when taking snapshot | Which is really messing with my plan to back up this machine... I have a server which is a KVM hypervisor to several virtual machines. One of these is running Docker. It has its Docker volumes on /dev/vdb, which is set up as an LVM PV, on which Docker uses its direct-lvm driver to store Docker container data. This virt... | Sometimes the relevant documentation is hidden away in configuration files rather than in, say, the documentation. So it seems with LVM. By default LVM will automatically attempt to activate volumes on any physical devices which get connected to the system after boot, so long as all of the PVs are present, and lvmetad ... | 14 | 10 | 5,497 | 2015-03-27T05:22:12.473 | pipeline_ops | serverfault.com | |
757,696 | activemq network of broker messages not flowing | activemq 5.12 Network of broker configuration: hub, spoke1, spoke2 spoke1 has duplex n/w connection to hub spoke2 has duplex network connection to hub I use the following to produce on spoke1 bin/activemq producer --brokerurl tcp://0.0.0.0:61616 --destination queue://producer-214 --messagecount 100 --message "hi there"... | The issue was I had networkTTL=1 as soon as I made networkTTL=2 in the metwork connector, messages could be read from spoke2 Thank You | 1 | 1 | 851 | 2016-02-17T01:37:07.993 | infrastructure | serverfault.com | |
121,517 | Tokudb HotBackup | I was trying to evaluate the latest tokudb Hotbackup for percona's tokudb engine. This install is under debian (Ubuntu 14) I was able to get all the packages installed with out error and get all the base toku plugins installed. Attempting to install the backup plug i get [CODE] *Edits to comments: * This file does exis... | To install Percona TokuBackup: Run [CODE] to add the preload-hotbackup option into [mysqld_safe] section of my.cnf. [CODE] Restart mysql service [CODE] Run [CODE] again to finish installation of TokuBackup plugin [CODE] | 0 | 3 | 541 | 2015-11-18T20:39:49.893 | database_errors | dba.stackexchange.com | |
276,187 | moving postgresql database from osx to windows 7 | Are there known issues with moving a PostgreSQL database from osx to windows? I created a backup of my database and i want to use it to restore the database on a new machine. It works fine if i go from osx to osx but when i try to do it on osx to windows the tables don't show up after the restore. Does anyone know what... | Have you tried to backup by make a plain Text backup and transfer to the Windows machine ? Try moving tha database in this way : On OSX : [CODE] On Windows : [CODE] Warning : you must also replace the owner user of the database in the Windows new installation of postgres, because if you try to create the table on the n... | 0 | 3 | 368 | 2011-06-01T23:59:03.990 | database_errors | serverfault.com | |
611,625 | PuppetDB: Connection refused | I'm trying to get PuppetDB to run on my puppetmaster machine. The problem is that I always get the following message when doing an agent run: [CODE] The puppetmaster, puppetdb and database are all running on the same host "handsoff". This is my [CODE] [CODE] My [CODE] [CODE] And the ssl-whitelist file: [CODE] lsof show... | Make sure [CODE] gives full qualified name (if not, update [CODE] and update [CODE] ). Check your current certificates: [CODE] For latest version of PuppetDB (4.2): stop puppetDB [CODE] remove old certificates: [CODE] generate new certificates, puppet DB comes with a handy tool: [CODE] in case you're using SSL connecti... | 3 | 1 | 14,407 | 2014-07-10T15:32:38.867 | pipeline_ops | serverfault.com | |
48,963 | SSIS Connection String Expression at Run Time and during Execution | I have an Excel connection manager which should write to a file which does not exist prior to runtime but rather is created during execution. I have an expression set for the connection string property of the excel connection manager which points to the file that will be created. The problem I am having is that since t... | When a package receives a signal to start, one of the tasks it performs is to ensure everything it needs is available and has the appropriate signatures. SSIS is all about the metadata. The idea behind this is that a package should blow up before it does any work if it can tell at the start that an error will occur (ca... | 0 | 3 | 5,654 | 2013-08-29T17:55:24.250 | warehouse_errors | dba.stackexchange.com | |
152,442 | pg_dump: Error message from server: ERROR: missing chunk number 0 for toast value 43712886 in pg_toast_16418 | After [CODE] I see following: [CODE] I haven't earlier backups. How can I fix it? Thanks in advance. | This means that your database is basically corrupt, for some reason. What you need to do is try to access the table page_parts piece by piece (one row at a time), to determine which row is corrupt, and then delete the row. The probably easiest way to do this is to do a SELECT * FROM page_parts LIMIT , and do that as a ... | 1 | 2 | 5,026 | 2010-06-18T10:28:03.857 | database_errors | serverfault.com | |
78,356 | SCSI PowerEdge Server + pulling data off | I have a old Dell PowerEdge Server that has data on it that I need to pull off and was wondering what is the best way to do it. The size of the data is probably around 100gig. Once the data is pulled off I need to read it on another computer. Should I try and search for a SCSI CDRW burner to use or should I try another... | 100GB on recordable CD's! Yeeouch! I wouldn't burn CDs for 100GB of data. You're talking about around 150 CDs at 700MB / ea. If the server isn't too old to have USB 2.0 ports, stick an external hard disk with a USB interface on it and copy the files that way. You might mention the operating system on the server compute... | 0 | 3 | 133 | 2009-10-26T15:34:11.603 | infrastructure | serverfault.com | |
129,084 | Database Design - Voting System | I'm creating a website in which people can submit there own lists, and then essentially others Up/Down Vote the items within the list. I'd like the list (If the submitter allows "votes") to be ordered by the amount of votes (Easy Enough to do in SQL I know). However, my issue is with the DB Design, I don't know how to ... | Not quite sure about what you're after, but you want a list that is created (or not) by one user and this list can have multiple items. The votes on each of the item will determine what position they are on the list? I can think of it like this: The table Lists contains the data of the list itself and the table ListIte... | 0 | 0 | 2,000 | 2016-02-12T11:36:18.133 | warehouse_errors | dba.stackexchange.com | |
332,754 | (PHP) Fatal error: Call to undefined function imagettftext() | I have recently updated my server to the latest version of PHP 5.1.27, except now - a few of the scripts used by my websites come up with the following error: Fatal error: Call to undefined function imagettftext() I did build the latest version with GD and have had a look at various answers on the internet - but nothin... | Do you have freetype? The imagegettftext() function relies on both GD and freetype. If you're missing one of the 2, the function won't be defined. | -1 | 1 | 3,169 | 2011-11-19T19:10:48.217 | infrastructure | serverfault.com | |
18,043 | Selenium- Unable to save dynamic paths in the list..list shows 0 as size | [CODE] | You're trying to find a dynamically generated id using a static string. Everytime you go to the page 'yui_3_12_0_1_1460454396950_758' and 'yui_3_12_0_1_1460' will change. You have to find another way to find them. | 2 | 1 | 524 | 2016-04-12T10:34:26.157 | data_quality | sqa.stackexchange.com | |
1,073,829 | NAT64 on Debian | Update 2 : I wrote a quick&dirty tutorial for Jool on Debian 11, since their website is very thorough, but also slightly confusing and the examples too complex for most cases. I'm looking to go IPv6 native and need a NAT64 implementation on my Debian routers. Is tayga still the way to go, as it's in the user space and ... | What you want is probably https://jool.mx . It's a kernel module that implements NAT64. | 0 | 3 | 2,499 | 2021-08-07T17:40:51.283 | infrastructure | serverfault.com | |
368,752 | Web API : Centralize business transaction logic : Good Idea? | We develop on a ASP.NET Web API where we use the "Unit Of Work / Repository" pattern : Our Controllers looks like that : [CODE] We will have multiple controller with the same logic : Start a transaction Do business logic Commit the changes Handle possible exceptions (Rollback, Log, return appropriate HTTP status) So, w... | Is it really a good idea ? Depends on your use case, however if you can centralise it then you have less code to maintain. And if yes what pattern would be the best ? You could use a an action filter, if it's used in every Api call make it a global filter. [CODE] You can use the filter like this, [CODE] | 1 | 3 | 2,862 | 2018-04-03T08:21:30.807 | database_errors | softwareengineering.stackexchange.com | |
147,012 | Get an error while dumping database in MySQL | [CODE] How to make MySQL ignore the error ? | --ignore-table=name Do not dump the specified table. To specify more than one table to ignore, use the directive multiple times, once for each table. Each table must be specified with both database and table names, e.g. --ignore-table=database.table I think this might be your only option (from [CODE] ) | 0 | 1 | 783 | 2010-06-01T07:49:31.640 | database_errors | serverfault.com | |
1,037,095 | PHP Session issue for AddOn domain | I have installed cPanel (EasyApache) for a domain (Domain1.com) Later i have added a new add on domain (Domain2.com), but when i am starting php session for domain2.com it is setting domain1.con cookie in chrome network response. set-cookie: PHPSESSID=51gjk7jr3qnscrb250j97mibh6; expires=Sat, 09-Oct-2021 15:00:35 GMT; M... | Got that solution, edited php.ini for domain2.com by setting this everything is working as expected [CODE] | -1 | 0 | 232 | 2020-10-09T15:12:31.483 | infrastructure | serverfault.com | |
412,322 | Trick or technique to allocating variables given only one "memory store"? | I have a problem where I am using a [CODE] in JavaScript as a store: [CODE] I am going to use this store like a runtime environment. Basically, everything occurs within this store (all functions are defined here, all data is stored here). Ignore the implementation detail of having to call "native" driver methods in the... | What you describe in your question looks very similar to an emulator for a CPU. Even if you are not exactly writing that, you can use the information on CPU emulators as inspiration for solving problems you encounter. If you are actually writing an emulator, keep in mind that nearly all processors cheat in that they us... | -2 | 2 | 102 | 2020-07-03T17:21:42.013 | api_errors | softwareengineering.stackexchange.com | |
838,246 | Xeon 5649 doesn't POST in Supermicro X8DTE-F motherboard | I have a Supermicro board running dual Xeon chips for different little projects. When I originally put it together, I used l5520 chips that are still working in it. With the price drop of 1366 chips, I decided to pick up a couple of hex cores to put in it, 5649's were the cheapest. So here's my problem, after installin... | Often a bios update is needed when running newer chips in older boards. | 1 | 0 | 238 | 2017-03-14T17:17:16.983 | infrastructure | serverfault.com | |
912,269 | HEALTHCHECK in ECS Container | I'm struggling setting up the correct HEALTHCHECK for a Container inside Task Definition in Amazon ECS. I've tried multiple solutions and can't get the simplest "always true" healthcheck to actually work. My Healthcheck looks like this: [CODE] which to my understanding should always produce a healthy container but unfo... | it seems the documentation on AWS is extremely misleading. When using the ECS portal one should type only comma delimited commands, i.e.: echo,hello world | 5 | 6 | 8,591 | 2018-05-15T09:15:20.637 | pipeline_ops | serverfault.com | |
721,185 | Some visitors cannot access my website | I am receiving some reports from different clients in Spain, US and France that they cannot access my website, https://www.ultreyatours.com . They get a ERR_NAME_NOT_RESOLVED error saying the server cannot be found. Personally, I do not get any error and most visitors don't experience it, but one of my clients has been... | If I'm not mistaken, the problem is that your registrar has published [CODE] records for your domain - that is, DNSSEC signing keys: [CODE] but your A record is unsigned: [CODE] Note the absence of an [CODE] record after your A record. That means that the chain of trust cannot be established, and though I get an answer... | 5 | 14 | 965 | 2015-09-09T13:19:40.590 | infrastructure | serverfault.com | |
305,470 | Pass cast type arguments to procedure with execute format | I need to create multiple views on geospatial data each explicitly casting to the right geometry & I would like to create a helper procedure to do so like this: [CODE] Manually running the [CODE] statement with the casting replaced to [CODE] works & running the procedure without the casting also works. However calling ... | Solved it by passing the arguments of [CODE] type separately to the procedure. [CODE] ⚠️ But would still like to know how to pass compound types directly. | 0 | 0 | 199 | 2021-12-29T15:48:56.413 | warehouse_errors | dba.stackexchange.com | |
130,694 | How can I redirect URLs using the proxy module in Apache? | This seems like a super-basic question but I am having a hard time tracking down a straightforward solution, so appreciate any help and patience with me on this: I want to configure my Apache proxy server to redirect certain URLs so that, for example, a web browser HTTP request for www.olddomain.com gets passed to the ... | From your comment on my previous answer I gather that you are using Apache as a forwarding proxy ( [CODE] ). You can use [CODE] to proxy pass through specific URL's. You probably got something like this in your Apache config: [CODE] Then you have to add the following in order to proxy-pass all requests from [CODE] to [... | 8 | 7 | 79,370 | 2010-04-08T20:25:33.607 | infrastructure | serverfault.com | |
335,187 | Cassandra Login - AuthenticationFailed ... Unable to perform authentication: Cannot achieve consistency level LOCAL_QUORUM | Summary: I have a 2 node cluster and if one of the nodes is down I am unable to login. I receive the error. [CODE] I am using a ROLE I created (not a SUEPRUSER so the issue of SUPERUSER always using QUORUM should not apply here. From what I have read it should use LOCAL_ONE but isn't! I've set up system_auth keyspace r... | You are correct when you say "From what I have read it should use LOCAL_ONE but isn't!" I found that the official Security documentation for both Cassandra 4.0 and 4.1 is outdated by missing a change to authentication consistency introduced in Cassandra 4.0. In the NEWS.txt you can find the following on Cassandra 4.0 "... | 1 | 2 | 150 | 2024-01-25T09:50:11.843 | api_errors | dba.stackexchange.com | |
358,476 | Are objects that can pass more than one IS-A test really polymorphic? | A number of tutorials on polymorphism state that "Any object that can pass more than one IS-A test is considered to be polymorphic." I wonder what they mean by that, and if that's even a true statement. From my understanding, (subtype) polymorphism is when you have the interface of the base class and the implementation... | You are confused because you think of inheritance and polymorphism as separate concepts. But in fact, inheritance is one possible way of implementing polymorphism, which makes the latter the more general concept, and inheritance a special form of the former. So yes, as you wrote (and as also stated in the article you l... | 0 | 7 | 1,631 | 2017-10-02T18:43:03.377 | api_errors | softwareengineering.stackexchange.com | |
144,438 | Should i expect to execute of 160billion iteration from oracle 11g? | I have a table that contains approximately 390 000 records and up to now I found 3 different algorithm(solution) for my problem. Each algorithm require cartesian product of table with itself. I am wondering only that; should i expect from oracle 11g to execute a query requires 160 Billion iteration or what? Because for... | We use SDO_RELATE function which is very fast against SDO_GEOM_RELATE. But SDO_REALTE has no parameter as buffer. We use SDO_GEOM.SDO_BUFFER for giving 2cm buffer to the target object. Now it takes one hour for intersection all records with each other. Here is working code; [CODE] | 0 | 1 | 78 | 2016-07-20T13:38:31.800 | database_errors | dba.stackexchange.com | |
30,437 | Server load discrepency in Slave with Master load being low and constant | We have MySQL Replication Master/Slave Setup db01 Master db02 Slave (ReadOnly) We are getting load discrepency on the Slave (db02), but the Master's (db01) server load is low. MySQL is the only active process on the Slave. The CPU iowait is increased. [CODE] On the Master(db01), the load is low and constant. On the Sla... | You will have to look at this from different perspectives Data / Storage Engine The InnoDB Storage Engine is constructed to do as little writing as possible. As an ACID-complaint storage engine, InnoDB has mechanisms in place for concurrent manipulation of data. The structures used by the InnoDB Infrastrcuture are the ... | 1 | 1 | 396 | 2012-12-14T12:08:13.513 | database_errors | dba.stackexchange.com | |
628,240 | Apache, htaccess, url rewrite | I have [CODE] file I'm using for testing , here is my file: [CODE] I'm using Apache/2.4.10 (Win32) from ApacheLounge I have the following domain and sub domain: example.com m.example.com Both point to the same ip address, now as I expected from the above [CODE] : if I access [CODE] the redirection to [CODE] will be int... | The way you have done with the relative path is correct [CODE] From Apache documentation Absolute URL If an absolute URL is specified, mod_rewrite checks to see whether the hostname matches the current host. If it does, the scheme and hostname are stripped out and the resulting path is treated as a URL-path. Otherwise,... | 2 | 5 | 1,599 | 2014-09-13T06:10:20.687 | infrastructure | serverfault.com | |
789,706 | Point a domain to google cloud | I have setup Google Cloud Debian Instance and has this IP: "104.197.233.183". I setup Google DNS as: Domain name server for 11tips.com at the registar looks like this: Virtual host conf in the server looks like this: [CODE] And last, /etc/hosts looks like this: [CODE] Now when I go to 11tips.com, it doesn't load a site... | Found the issue. I was creating / deleting dns few times as I didn't know what I was doing. When I entered NS record to my domain, google dns was: [CODE] But as I deleted and created again, c1 changed to d1 and I didn't notice that. [CODE] Once I fixed that, site started loading. | 0 | 0 | 377 | 2016-07-14T00:24:05.723 | infrastructure | serverfault.com | |
430,381 | How do I force all devices on a network to register with IT before connecting, without vulnerability to Static IP-ing or MAC spoofing? | Context: I'm an admin for a midsize corporate network with several overlapping wireless access points and an ethernet cabling infrastructure. To comply with a security audit, we were recently ordered to implement full device authorization on the network--not just a method for detecting rogue APs and the like, but a ful... | 802.1X . This is not something that is trivial to implement, it requires the appropriate security infrastructure to back it up (associated user accounts, etc), but it as far as I know, the only way to even get close to what your auditors are asking for. It is supported by Windows, Linux, iOS (both the Apple and Cisco v... | 4 | 12 | 565 | 2012-09-20T20:24:27.050 | infrastructure | serverfault.com | |
260,377 | Tuning MySQL on GROUP REPLICATION | I'm close to switch from old version of MySQL 5.6 ( master / slave configuration ) to MySQL 8 ( 3 nodes on multi-master configuration ) in GROUP REPLICATION. The tables are 99% InnoDB. The webfarm just copied the previous InnoDB configuration variables to these new machines. I was wondering how to improve performances,... | B)C)D) -- a very lightly loaded 8.0 server. Update 2 -- a very busy Slave. Here is a critique: Observations: Version: 5.6.26-log 48 GB of RAM Uptime = 27d 07:48:48 You are not running on Windows. Running 64-bit version You appear to be running entirely (or mostly) InnoDB. The More Important Issues: Increase [CODE] from... | 1 | 1 | 556 | 2020-02-23T19:27:17.837 | database_errors | dba.stackexchange.com | |
316,052 | Aerospike memory usage increasing constantly with time | I am new to Aerospike and exploring TTL features. I have a varity of keys stored in different sets and namespaces All the keys pushed are having TTL (from 10 minutes to 24 hours) This is how sets look like - [CODE] I am using Java Client to put and get the data from Aerospike. Code to push data to Aerospike - [CODE] Co... | Oh, you should not configure your namespace with [CODE] . Doing this means you will never delete expired records, which explains what you are observing. If you want to make use of ttl, simply set the [CODE] to have nsup delete expired records at regular intervals. | 0 | 1 | 305 | 2022-08-25T13:25:09.370 | warehouse_errors | dba.stackexchange.com | |
104,241 | Adding NotNull FK field in existing DB | Context: We’re building a web application to manage business-data. Each “client” of the application has a separate DB ( this wont change ), and each DB is based off a model ( so they are all identical in structure ). RDBM is MySQL. Problem: When we make modifications to the model DB, we propagate those changes to all c... | It seems that you have run into the reason why [CODE] exist in relational databases. Choosing an arbitrary value from somewhere is a little crazy as you describe. Options: Create the needed key (PK or other Unique value) prior to doing the update of the data. This would require you to pre-decide how to fill each Not NU... | 3 | 1 | 54 | 2015-06-16T19:56:50.070 | database_errors | dba.stackexchange.com | |
763,803 | nginx 1.8.1 is not caching with Vary Accept header | I have a strange nginx caching behavior. There are 2 responses. The first one had stopped caching when I updated server from 1.6 to 1.8.1, another one is caching like before. The first one (broken) has following response headers: Allow →GET, HEAD, OPTIONS Connection →keep-alive Content-Encoding →gzip Content-Language →... | Don't know if you fixed it, will drop this here in case someone needs it. In the source code of Nginx there is set a maximum of 42 characters being used by Vary headers. In my case there where 51 characters thus my Vary headers where being handled as Vary:* (no-cache). Setting the maximum to 84 fixed it for me. This ar... | 2 | 2 | 2,190 | 2016-03-15T09:14:51.683 | infrastructure | serverfault.com | |
225,746 | A query for results based on date range | I have a table called [CODE] and I have a query that will give me the sum of all invoice amounts for a given account where the invoice has a status of [CODE] between a certain date range. Below is the schema and query. Schema: [CODE] Query: [CODE] Let's assume our date range starts on Jan 01 2018, ends on Jan 02 2018. ... | Your first resultset comes from [CODE] Your second resultset comes from adding this on [CODE] The third ("weekly") gets trickier: [CODE] (Where the "-2" is adjusted to make a "week" start on Sunday or Monday or whatever you prefer.) Yearly: [CODE] Monthly: [CODE] (because the [CODE] will give you something like the str... | 0 | 1 | 383 | 2018-12-25T05:20:53.933 | warehouse_errors | dba.stackexchange.com | |
518,451 | Enabling Temperature Support on LSI MegaRaid Cards | I've got two IBM ServeRAID M5014 SAS/SATA Controller cards in two different machines. One reports drive temperatures, the other does not. I am hopping that it is some type of megacli option that I can set. However, I have looked throughout the megacli documentation without any hints that this is a configurable option. ... | This issue was fixed with a firmware update. Because the M5014 card no longer resides in an IBM system I was unable to flash the card with their standard firmware package. To accomplish a firmware update I flashed the card with LSI's 9260-8i Firmware. Note that if your firmware is before 12.7.0-0020(IBM) you will need ... | 0 | 1 | 3,710 | 2013-06-25T17:33:42.283 | infrastructure | serverfault.com | |
35,932 | Why do I need to use a sub query to filter down a grouped select? | If I do this -- [CODE] I get this error -- Msg 207, Level 16, State 1, Line 17 Invalid column name 'DE'. If I do this -- [CODE] it works as expected. Can someone explain why I need to nest my main query as a subquery to limit my data set? Also, is there maybe a better way to achieve the goal here? Retrieve all records ... | You can't reference an alias in the [CODE] clause - this is just because of the order in which SQL Server parses the statement. There have been many discussions about this here and on StackOverflow. A couple of examples that give some background: https://dba.stackexchange.com/questions/19762/why-is-the-select-clause-li... | 4 | 6 | 5,129 | 2013-03-04T22:34:22.463 | warehouse_errors | dba.stackexchange.com | |
350,932 | Encrypt data in code or stored procedures? | I'm working on a Web App where the data is quite sensitive and is required to be encrypted before it is stored in the database. Now there are two ways through which I can achieve this: Encrypt data in the code Encrypt data in stored procedures (using symmetric keys) Now I don't know which approach will be better regard... | The concern isn't so much about where you perform encryption/decryption operations, but how you are managing keys, encrypted data, and how you actually go about the encryption itself. The immediate concern I have with doing this through the use of stored procedures is that the key will most easily be accessed from with... | 1 | 2 | 1,917 | 2017-06-15T06:23:04.027 | database_errors | softwareengineering.stackexchange.com | |
826,587 | Scheduled Powershell script occasionally dies midway through | I have a few powershell scripts that are scheduled, and they usually run just fine (both as a scheduled task, and when run manually) I've got an issue where occasionally, they just stop working midway through a script. One of my scripts looks like this: [CODE] Whats odd is that when I look at the transcript I see this ... | Is the code within the loop pure powershell or calling [CODE] ? Some crazy exe's write to console instead of standard output, and that kind of error would not be captured by transcript. You could try wrapping the powershell with CMD which may capture that kind of error text. [CODE] Re: missing "finished". [CODE] is one... | 0 | 0 | 718 | 2017-01-16T17:19:29.013 | infrastructure | serverfault.com | |
382,858 | Finding an efficient data structure and/or algorithm | I am tasked with an animated graph based on a timeline, and I am having trouble finding a suitable data structure and/or algorithm that's reasonably efficient. I have a working system suffering from performance issues the larger my data set becomes. Let's say I have a set of people in an array [CODE] My end result will... | The most difficult requirement to me is the ordering requirement in your output if I understood correctly, like here: [CODE] ... if it's important that [CODE] appears before [CODE] , and [CODE] before [CODE] in the output for the column. That makes the problem a tiny bit tricky. Any time we're talking about ordering re... | 1 | 2 | 252 | 2018-12-11T18:53:46.113 | api_errors | softwareengineering.stackexchange.com | |
87,667 | Will canceling InnoDB compression that's already in progress corrupt data? | I have a 155GB table that is in the process of being compressed. [CODE] This compression has been running for a long time and is impeding my ability to backup. I'm thinking about killing the compression query, backing up, and trying the compression again once my devs know how long it'll be till the next backup. Is ther... | If innodb_file_per_table is enabled, then a temp table is being populated with the new compression. The original table is currently intact, just not writable. Running [CODE] on the Connection running the [CODE] should do the following: release the write lock drop the temp table leave the original table as is | 0 | 0 | 77 | 2015-01-06T16:47:04.577 | data_quality | dba.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.