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 |
|---|---|---|---|---|---|---|---|---|---|---|
43,599 | How can row estimates be improved in order to reduce chances of spills to tempdb | I notice that when there are spill to tempdb events (causing slow queries) that often the row estimates are way off for a particular join. I've seen spill events occur with merge and hash joins and they often increase the runtime 3x to 10x. This question concerns how to improve row estimates under the assumption that i... | I won't comment about spills, tempdb or hints because the query seems pretty simple to need that much consideration. I think SQL-Server's optimizer will do its job quite good, if there are indexes suited for the query. And your splitting into two queries is good as it shows what indexes will be useful. The first part: ... | 11 | 7 | 11,046 | 2013-06-01T01:01:01.260 | database_errors | dba.stackexchange.com | |
825,034 | What risks are there with mixing SSD models in RAID? | Aside from one type of disk bottlenecking the other, are there any other problems with mixing SSD models in RAID? My problem is, I need to upgrade the storage in a server with 4x Samsung 845DC EVO 960GB in RAID10. These drives are not available anymore, so my options are to either use some newer comparable SSD's or to ... | The single biggest thing that crosses my mind isn't SSD-specific: that the biggest danger with RAID is that all the devices in any given RAID are often purchased from the same manufacturer, at the same time, and therefore tend to get to the far end of the bathtub curve and start dying at about the same time. In that se... | 38 | 55 | 8,588 | 2017-01-09T09:24:15.593 | infrastructure | serverfault.com | |
867,202 | How to bypass smtpd_recipient_limit for single domain? | Can any one help me bypassing smtpd_recipient_limit to 100 or 150 for a single domain in postfix ? Apart from those domain all other domains smtpd_recipient_limit should be 50. | This is a global setting that affects on how many recipients there can be for a single message. [CODE] (default: [CODE] ) The maximal number of recipients that the Postfix SMTP server accepts per message delivery request. Therefore, there is no way to set this by domain, since it affects the whole SMTPD in use. You hav... | 0 | 1 | 2,146 | 2017-08-07T05:27:46.783 | infrastructure | serverfault.com | |
188,878 | What options do I have if my linux box is compromised? | Possible Duplicate: My server's been hacked EMERGENCY I have put all security meaures and log monitoring tools. Now but i don't know what to do if find out the there is some rootkit on my system. If i have live sites running on my system and i can't turn off the server as well. How can i remove the infection Regarding ... | If your web server has a virus, the only safe thing to do is nuke in from outer space. That's right, put it onto the next space shuttle mission and make sure it's jettisoned far enough away from earth that we don't all get showered in EMP or fallout, and press the red button that makes it explode. If that's unfeasable,... | -1 | 5 | 203 | 2010-10-08T04:12:23.110 | database_errors | serverfault.com | |
297,817 | Granting SSIS permissions - how to use roles and proxies | I'm new to a SSIS workflow and I'm trying to understand how should I go about grating permissions. There are many different database-level roles for SSIS, there is SQL Server Agent involved or Proxies. I don't know when to use what. At this point I'm pretty much lost and even worse I feel like there is a mess in the Mi... | The first question is whether you are comfortable having all Agent jobs and SSIS packages run as a system administrator. This is, by far, the most common and simplest model. If you're happy having an admin run all jobs, you have a sysadmin (production DBA) deploy all jobs and packages and run them as the SQL Agent serv... | 0 | 1 | 2,701 | 2021-08-10T10:25:02.577 | pipeline_ops | dba.stackexchange.com | |
63,179 | MySQL Slave not updated | This might be a duplicate of questions on the same problem asked before. But all the suggestions to the previous questions do not seem to work in my case. I have set up Replication using SSH Tunnel. Any changes on Master are being logged in the mysqld-relay-bin file on the slave. But the SQL thread does not seem to be ... | The replication filter you have in place [CODE] is actually a little misleading. In the MySQL Documentation, the legal characters for wildcards are [CODE] , [CODE] and [CODE] . (If you want to interpret a literal underscore). The asterisk character is not listed. The above filter is actually looking for a table called ... | 1 | 2 | 681 | 2014-04-14T17:46:53.283 | database_errors | dba.stackexchange.com | |
137,915 | mysql - merge two large instances to one server (40GB of binaries) | I'm need to merge two mysql instances (both mysql V5.6) onto one server. The binaries of 12 databases are approx. 40GB. I read other posts about mysqldump but as I've previously had many issues dumping and importing multi GByte dumps, I don't dare try this method again. Can anyone offer some starting points or from exp... | The right answer depend from - what is Your full task description? is it 12 different databases, which just need to have on same server? is it the versions of same databases and You need merge data in each table? in first - You still can use mysqldump, and it will be fasted method without additional steps and/or packag... | 1 | 0 | 662 | 2016-05-08T17:42:54.193 | database_errors | dba.stackexchange.com | |
321,204 | What is the most efficient way to check whether a BYTEA column contains data, in PostgreSQL? | We have an online platform where we sell eBooks. In the database, we have a "books" table, which contains the books' information. It also contains the book file, stored as BYTEA. In various pages, I need to check if a book's file exists in the database. But I have noticed that the pages load slowly, so I was wondering ... | [CODE] / [CODE] is the most efficient check for NULLness. You can speed it up with an index, if you really need to have it fast: [CODE] | 0 | 0 | 784 | 2022-12-20T13:26:08.760 | database_errors | dba.stackexchange.com | |
318,090 | PostgreSQL - "Fatal: could not access file" | I accidentally ran [CODE] and now I can't log in to my PostgreSQL (v.14) database. I'm getting [58P01] FATAL: could not access file "": No such file or directory Is there any way to fix this? I can't execute any command because of this error | Connect to some other database, like 'postgres' or 'template1', and reset the parameter. If there are no other databases you can connect to, then you might need to restart the cluster in [CODE] mode to fix it. | 0 | 4 | 809 | 2022-10-11T16:13:14.227 | database_errors | dba.stackexchange.com | |
236,734 | A new i/o library: a good idea or a really bad one? | For a long time I worked almost exclusively with input/output streams in java. However a few years ago I started exploring async I/O as well (e.g. running on jboss netty). However when working in the async I/O world, I could not reuse any of my sync utilities. I also had to start on a rather large library of new I/O ut... | Perhaps an interesting follow-up to this is the actual library that has recently been added to github: https://github.com/nablex/utils-io Note that the library has gone through an extensive rewrite since this question was asked. Other libraries based on this one: https://github.com/nablex/utils-codec : adds encoding/de... | 6 | 4 | 1,386 | 2014-04-23T12:54:25.423 | pipeline_ops | softwareengineering.stackexchange.com | |
14,494 | Supervised learning with tagged images | I am new to ML and looking to learn with some project. I have a medical imaging dataset where an image (image is a time series of an object so multiple images) has been looked at by radiologist and they have graded it on a scale of 1-5 for some pathology. Now, I would like to basically use this to predict the pathology... | I have worked on similar projects (using medical images such as PET to predict outcomes). A method being used more and more for predicting cancer treatment outcomes is texture analysis: https://www.ncbi.nlm.nih.gov/pubmed/21321270 Another method of texture analysis uses wavelet transforms: https://www.ncbi.nlm.nih.gov/... | 2 | 2 | 122 | 2016-10-13T08:29:20.457 | data_quality | datascience.stackexchange.com | |
69,845 | Pgpool - semanage config files - which filetype should I choose? | Reffering to problem with pgpool installation : Problem with pgpoolAdmin installation I had a problem with non running pgpooladmin(installation files permission was wrong). I must change file label of files: "pgpool.conf" and "pcp.conf". I checked those files with ls -Z and saw this: [root@cvc etc]# ls -Z -rw-rw-rw-. a... | Solution founded: To repair this issue I must execute this comand: chcon -t httpd_user_rw_content_t pgpool.conf and chcon -t httpd_user_rw_content_t pcp.conf then pgpooladmin will show that those files are writable and will allow to click "Next" to install pgpoolAdmin. Yay Cheers :D | 1 | 1 | 399 | 2014-07-07T07:38:46.773 | pipeline_ops | dba.stackexchange.com | |
46,600 | When changing startup parameters on a cluster, does each node have to be updated manually? | When moving a SQL 2005 instance to new disks on a two-node Windows 2003 cluster, I changed startup params on the active node to reflect the new paths for the master DB files and error logs. I discovered after attempting a move to the alternate node that the startup params were not synchronized with the passive node and... | The registry should have been updated automatically. Take a look at the BOL reference on configuring server startup parameters : On a cluster, changes must be made on the active server while SQL Server is online, and will take effect when the Database Engine is restarted. The registry update of the startup options on t... | 2 | 2 | 1,264 | 2013-07-18T14:35:13.180 | database_errors | dba.stackexchange.com | |
932,891 | PowerShell to list logs files on recurse folder then create zip monthly using 7zip on it's directory | Im trying to create script to list logs then compress it monthly and put it on the same directory. We have many logs subfolder inside C:\TestLogs\ Example Script that i have [CODE] And the result is it creating Mar_2018.zip etc only in C:\TestLogs\ how to make the zip created inside of the subfolder like C:\TestLogs\lo... | I don't really know syntax of 7zip util, but you could try to use native powershell command Compress-Archive. Something like this: [CODE] | 0 | 0 | 1,095 | 2018-09-27T06:48:09.617 | database_errors | serverfault.com | |
897,896 | Forward or Reverse proxy? | I have a webapp running on CentOS 7 with Apache that uses the xmlhttprequest and fetch apis to access an Express Server (NodeJS) running on the same machine. My webapp is using port 80 for incoming connections while my Express Server is listening on port 3001. Upon deploying my webapp I'm confused as to whether I need ... | What you are describing is a reverse proxy. A normal ("forward") proxy serves one client or a set of clients, permitting access to remote servers requested by the client. A reverse proxy serves any client, permitting access to one server or a set of servers. However, when you say that you [CODE] , then the web app is n... | 0 | 1 | 313 | 2018-02-19T18:16:14.027 | infrastructure | serverfault.com | |
256,938 | Why is database ownership by groups not allowed? Which user should own a database? | Per microsoft "ALTER AUTHORIZATION for databases for SQL Server" : Requirements for the new owner: The new owner principal must be one of the following: A SQL Server authentication login. A Windows authentication login representing a Windows user (not a group). A Windows user that authenticates through a Windows authen... | Honestly, [CODE] or a disabled SQL Server account with absolutely minimum permissions is the best choice. As to why? Well, I could write out three or four paragraphs on that, or I can share my favorite article on What account should own the databases and why. A very thorough explanation covering all the bases. Highly r... | 13 | 9 | 3,492 | 2020-01-08T16:59:55.593 | database_errors | dba.stackexchange.com | |
240,575 | Is giving read permissions on /etc/shadow to apache user a wise decision from security point of view? | I have to use PAM authentication for DAV SVN, but when everything is configured as specified in mod_auth_pam documentation, authentication does not work. After some research I realized, that for this to work, httpd should be running under root user (which I don't like and won't implement) or apache user (under which ht... | No, you should never, ever give a public-accessible service like Apache access to /etc/shadow. Instead of mod_auth_pam, you could try to use mod_auth_external in conjunction with pwauth . | 1 | 2 | 1,653 | 2011-02-26T12:10:10.530 | api_errors | serverfault.com | |
683,824 | VLAN isolation failure with HP Procurve, Juniper Netscreen | I'm having problems with hosts being able to ping other hosts they shouldn't be able to communicate with. Fairly simple network - relevant hardware: HP Procurve 2810-24G switch Juniper Netscreen 208 firewall Netgear GS-108PE switch I simply want to accomplish 2 objectives: use the HP switch for serving both the Trust a... | I had a firewall policy rule that was causing the pingability, ICMP echo permission hidden in a group service list and restricted to certain hosts and I didn't see it. :-0 Also had an issue getting VLAN 2 connectivity to a port on the Netgear that is tagged with that VLAN ID, but that appeared to resolve with a restart... | 3 | 3 | 533 | 2015-04-19T07:17:34.520 | infrastructure | serverfault.com | |
303,209 | How do I model a sortable resource in sql database? | I encounter this issue when I create REST API. I cannot tell the exact scenario, but let's say it is for a website that has category and product resources. Each category has many products and both category and product are ordered. I originally add an order incremental integer attribute to the resources so both collecti... | To avoid updates to multiple rows, don't store the exact index in the database. Instead, store a value that is used for sorting only. When rearranging the order, give the inserted item a value halfway between the preceding and subsequent items. Using a floating point value will give you plenty of "empty slots" between ... | 3 | 4 | 1,292 | 2015-11-21T16:33:39.307 | api_errors | softwareengineering.stackexchange.com | |
43,053 | Is it possible to force drop of mysql tables with FK? | For dropping a table in which a [CODE] is used in other tables, it is necessary to drop all other tables having [CODE] connection with the corresponding table. Is there a short way to drop a table, and its all child tables (in which they have [CODE] to the parent table)? For example, [CODE] and id is a [CODE] in 5 chil... | While [CODE] can be attempted, it is worth noting what the output of a mysqldump looks like. At the top of every mysqldump you will see directives which disable foreign key checks and unique key checks: [CODE] Running a reload of a mysqldump gives the DB Session the opportunity to disable those checks, load the table, ... | 3 | 4 | 12,164 | 2013-05-25T16:42:45.373 | database_errors | dba.stackexchange.com | |
1,136,910 | 'vm.max_map_count is too low' in kubernetes mongodb client | This is how I'm running a mongodb client in my kubernetes cluster: [CODE] Then I'm trying to log into the db: [CODE] I do get the output: [CODE] Why do I get [CODE] and where do I have to configure the value? | This is an operating system knob that you should change. Reviewing the full [CODE] logs may be helpful here. See the MongoDB production notes for more info on the recommended setting for this configuration. More details on why this is required can be found here . | 0 | 0 | 1,089 | 2023-07-12T19:53:51.097 | database_errors | serverfault.com | |
906,791 | MongoDB logrotate with occasional file size changed while zipping error | I use this script for rotating MongoDB v3.6.3 logs: [CODE] However, some times this error happens: [CODE] What happens and how to avoid such error? | Add delaycompress after the compress line. It will zip it on the next rotation so you use a little more disk for longer, but it will release the file handle so you can avoid this error. | 0 | 1 | 617 | 2018-04-09T16:15:25.233 | database_errors | serverfault.com | |
317,769 | In postgres unable to create database | I installed the package using: sudo apt install postgresql postgresql-contrib libpq-dev but in postgresql mode: it was not creating database I am using ubuntu 22.04 I waited for an hour still it was running, I don't know why it was not creating database but it was executing alter statement Could anyone help me to solve... | Your statement is blocked by a lock. Most likely, somebody is connected to the [CODE] database. Terminate that database session, and the [CODE] statement should proceed. | 0 | 0 | 434 | 2022-10-03T13:53:05.433 | database_errors | dba.stackexchange.com | |
798,715 | Target already referenced by Autoscaler | I'm using Google Deployment Manager and I get this error when I create a new autoscaler with an instance group manager. [CODE] I don't understand why, because the instance group manager is only referenced in one place, in the autoscaler configuration. Here is the config: [CODE] Besides, I've followed this tutorial in t... | It's possible that you might have created the autoscaler via Cloud Console or an API call, and then you're trying to use this autoscaler with the instance managed group created via the Deployment Manager. If this is the case, when deploying resources via the Deployment Manager, it's best to deploy all the resources via... | 0 | 1 | 218 | 2016-08-24T00:57:02.013 | pipeline_ops | serverfault.com | |
571,319 | How is kernel oom score calculated? | Looked on The Google, and couldn't find anything that explained how the score in [CODE] is calculated. Why use this score instead of just using the total memory used? | See Goldwyn Rodrigues's 2009 article for the implementation at that time, Jonathan Corbet's 2010 article for what I believe is the current behavior, and Jonathan Corbet's 2013 article for ideas about future changes. From the 2010 article: In David's patch set, the old badness() heuristics are almost entirely gone. Inst... | 14 | 22 | 21,356 | 2014-01-31T15:45:52.310 | infrastructure | serverfault.com | |
236,798 | Checking for the presence of optional properties of an object | I'm designing a class that holds several types of data. Some of the properties are optional. For example, let's say I have a class that represents a person, and one of the properties is occupation. I have another property, military rank, but this property is can only be retrieved if the person's occupation is military.... | There's two solutions, depending on the specifics of your problem. If these optional properties are only combined in a relatively small number of ways, you can use a sum type to distinguish between them. The advantage of this approach is that you can guarantee exhaustiveness - you can statically ensure that wherever a ... | 1 | 2 | 5,034 | 2014-04-23T21:40:42.923 | api_errors | softwareengineering.stackexchange.com | |
195,840 | DFS 2008 (Distributed File System) Console Error | I am trying to configure DFS with replication for my employer. We are primarily using Windows 2008 and 2008 R2 servers. I'm getting an error in my DFS Management Console. It is saying "ERROR \domain.local\xxxx: The namespace cannot be queried. Element not found" This may be due to the fact this DFS namespace was create... | are you sure its not a dns issue, it could be a domain controller that's not been dc promo'd down cleanly | 3 | 2 | 8,844 | 2010-10-28T16:15:57.787 | database_errors | serverfault.com | |
129,550 | Generating a numeric pattern in query result set | I'm looking to add an artificial grouping to my result set. I can't utilize [CODE] or [CODE] . Take the following result from [CODE] : [CODE] I want to add a column that will count to 3 and then repeat so I can subdivide the result set if need be: [CODE] Of course the easy way would be to loop through the result set wi... | Based on your comments you will be ordering the results by date. In that case you could use [CODE] Which would output the row numbers. You could then use the SQL Modulo function , % and perform a %3 which would give you 1,2,0 repeating as the row output which gives you the grouping you want. | 4 | 6 | 70 | 2016-02-17T15:09:04.130 | database_errors | dba.stackexchange.com | |
301,294 | Local DNS Response Time Problem on SBS 2008 | The problem: LAN client computers ping remote.mydomain.com and it resolves to our static, WAN IP Address. It should resolve to our server's local LAN IP Address. The Details: We have a total of one server which is running SBS 2008 on some pretty fast hardware (can describe it if necessary). I've entered some local DNS ... | The "backup" DNS server addresses aren't a good idea and are the root of your problem. You could play games with a packet-filtering firewall to attempt to "work around" but you'd be better off only using the domain controller as the DNS server for your clients. In general, you shouldn't ever specify DNS servers on Acti... | 3 | 3 | 659 | 2011-08-15T17:52:23.837 | database_errors | serverfault.com | |
143,206 | How to connect to IIS and SQL Server Express on Windows 7 host from XP Mode | I am running IIS and SQL Server 2008 Express on my Windows 7 host, and I'd like to be able to connect to them in XP Mode. My host machine is not a part of a domain, only a workgroup. So far, I've tried these instructions on connecting to SQL Server, but I'm not able to telnet to port 1433 on the host from XP Mode. I'm ... | This turned out to be a permissions issue. Since I am not on a domain, I was trying to connect to the host machine from the virtual machine using a local account on the virtual machine. To fix the problem, I modified the The steps I used are as follows: In the virtual machine, click Start > Control Panels > Users. Clic... | 2 | 1 | 2,518 | 2010-05-19T00:59:49.517 | database_errors | serverfault.com | |
64,356 | FreeBSD performance tuning: Sysctl parameter, loader.conf, kernel | I wanted to share knowledge of tuning FreeBSD via [CODE] / [CODE] / [CODE] / etc. It was initially based on Igor Sysoev's (author of nginx) presentation about FreeBSD tuning up to 100,000-200,000 active connections. Newer versions of FreeBSD can handle much much more. Tunings are for FreeBSD7 - FreeBSD-CURRENT. Since 7... | I'd recommend against [CODE] . The default is to Default to Deny. The firewall comes up with just one rule [CODE] and stays that way until a script configures exactly what traffic should get through. Follow-Up Note: RSA (one of the world's leading security technology companies) was hacked recently when part of their fi... | 133 | 12 | 183,603 | 2009-09-10T23:52:13.833 | infrastructure | serverfault.com | |
978,436 | Forcing to redirect https to http in Apache 2.4 | I am trying the following. I have a domain where I publish. This publication is only by http, but I need all requests by https to redirect me to http since I do not have ssl certificate installed and configured for this. I have tried to add in the .htaccess file of the documentroot where I have the application the foll... | This cannot work without an ssl certificate. Here's why: When the browser connects to the server the security layer validates the connection (including the name(s) on the certificate with the name the browser is requesting) before the browser send the HTTP request (eg: GET / HTTP1/1). The HTTP dialog is the same for bo... | 0 | 1 | 2,136 | 2019-08-08T08:06:44.023 | api_errors | serverfault.com | |
4,061 | DLLHost Problematic DLL | We have a webserver that's reacting slowly. It seems that a DLLHost.exe is the problem (taking ~100% Processor). How do we tell which dll in DLLHost is causing the problem. We've seen which ones are loaded with Process Explorer, but the list is 100 DLLs long. What tool or technique can we use to isolate the problem? | There's an excellent article on debugging high CPU usage of IIS . If you follow this you should be able to create a dump file that may help in determining which DLL is causing the problem. Once you have determined what DLL is causing the problem its then a case of trying to find out what its doing, and what's causing a... | 2 | 1 | 472 | 2009-05-04T14:55:48.000 | infrastructure | serverfault.com | |
182,778 | SFTP connection times out too soon | The SFTP connection to the server through a client(Cyberduck) times out too soon(1 min or so). Is there some default setting in the server that I can modify to change this situation? EDIT: Figured it out. The problem is actually the newer version of Cyberduck. It's getting disconnected no matter what server I SFTP to. ... | [CODE] in [CODE] on your server controls this. Default is 60 seconds. | 0 | 2 | 323 | 2010-09-20T08:51:06.270 | infrastructure | serverfault.com | |
873,286 | NGINX trying to download php files | I'm trying to get Mantis to run on NGinx using php-fpm from the official Arch repositories (Mantis is from the AUR). Every time I go to the server address (192.168.1.x), I am asked to download the install.php file that's in the admin folder of the root of the directory. Here's my nginx.conf: [CODE] Here's my www.conf: ... | You need to include the [CODE] block inside your [CODE] block matching [CODE] URL. Otherwise nginx does not know what to do with [CODE] files inside that context. | 2 | 2 | 2,285 | 2017-09-12T13:28:44.330 | infrastructure | serverfault.com | |
1,134,074 | Can not compile php-curl ext with custom curl | I have libcurl installed here: /usr/local/curl-7.88.1/ I want to compile php-curl extension: [CODE] I tried several workarounds, including setting CFLAGS and LDFLAGS, but result is the same. If I install [CODE] , it ignores [CODE] and works with the system [CODE] (old version). | I was made possible to compile using following flags [CODE] | 0 | 0 | 568 | 2023-06-16T10:41:22.697 | infrastructure | serverfault.com | |
272,723 | 9p filesystem interacting badly with KVM savevm snapshot | I have a 9p mount inside a VM. I take a snapshot of the VM state with [CODE] , stop the VM, then restart it with that snapshot (with [CODE] ). When I try to interact with the mount by either [CODE] ing or [CODE] ing, the VM hangs in kernel-space. The full command line with which I am launching the snapshot looks like t... | According to the qemu-devel mailing list, virtio-9p doesn't currently support live migration at all, so savevm/loadvm can't work. | 0 | 2 | 998 | 2011-05-23T13:11:10.090 | infrastructure | serverfault.com | |
568,742 | Query in dsrm command | I need to remove 1000 computers from AD. I tried the script below, but it's not working. When I used [CODE] to disable computers, in the same script, it works. [CODE] Can anyone help me to correct the error in this script? | Have you considered using powershell to accomplish this? The command is Remove-ADComputer. Your command would look like this: [CODE] assuming you have ADWS installed | 0 | 0 | 377 | 2014-01-21T11:24:51.720 | infrastructure | serverfault.com | |
75,239 | Determining which database instance makes biggest IO | Assuming that I have a dedicated server on which I am running multiple instances of mysql and postresql servers. How without iotop determine which instance in particular time (proc/pid/io shows data collected in some peroid of time) makes the biggest IO (so it increases IOWAIT)? When lots of ppl do something on DB then... | I would suggest you to take a look at atop. When you run it interactively you can select 'i' then press 1 , after that you can select 'd'. Atop will colour the resources thrashed and 'd' will show only processes hitting disks. | 0 | 0 | 60 | 2014-08-22T15:23:04.017 | database_errors | dba.stackexchange.com | |
580,132 | What does “u” in an rpm filename stand for? | I currently have PHP 5.4 installed. These packages are all prefixed with "php54-" (pecl, pear, pdo, fpm, gd, mysql, etc). I'd like to make the transition to 5.5. The packages are available... however, instead of all being called "php55-", they're "php55u-". What's the "u" for? | It's likely just a differentiator added by the person/group that built the package. That is not one that shipped with the operating system. The U was likely added so that it would not conflict or be confused with php55 from another source. A google search leads me to believe it's from IUS Community Project . If that's ... | 2 | 3 | 788 | 2014-03-05T22:59:31.547 | database_errors | serverfault.com | |
293,342 | Advantages/Disadvantages for using a single volume / drive letter for Windows Server installs | Our virtual environment is cut up as a VM for each job role (DNS, DC, System Center CM, File Server, Log Aggregation, IIS, etc). If disk performance isn't critical is it really necessary to still logically separate the Windows OS files from your application files/data/logs? As a previous standard on Windows 2000/2003 a... | If you're just asking if you should have a "system" partition and a separate "application" partition, I don't see the value in it, especially now. It used to be convention to do this for UNIX type systems because if the system volume overflowed with data, you could have situations that render it unbootable or unusable,... | 6 | 5 | 2,193 | 2011-07-23T13:36:05.387 | database_errors | serverfault.com | |
160,823 | Standards of unit testing output | Simple question, what's more common / standard / won't make future developers look at me cross-eyed for unit testing: Displaying just the errors, or reporting every passed test? | I would say that showing every test and its pass/fail/skipped status is the best, because it gives positive feedback that each test was successfully run or purposefully skipped. However, if you are building your own tools, I recommend giving the user an option to choose what they want to see. | 1 | 2 | 481 | 2012-08-14T15:42:28.337 | api_errors | softwareengineering.stackexchange.com | |
19,049 | SQL database backups methods-tools-procedures | Currently, I am investigating some way to more efficiently backup 4 Production SQL Databases (3 different servers/instances) and would like to know if anyone else has had the problems we are having and if anyone has any recommendations. Database 1: 80GB Database 2: 74GB Database 3: 5GB Database 4: 30GB Database 1 & 2 a... | The first thing I generally recommend doing is introducing differential backups to the backup strategy. If the amount of data churn is moderate or low, this can work extremely well for saving space and time because you only back up changes rather than everything. This does add some complexity to restore scenarios, and ... | 3 | 2 | 361 | 2012-06-11T03:57:05.767 | database_errors | dba.stackexchange.com | |
65,066 | Need help performance tuning a query | Basically, here is the design of the table (the part that is necessary): [CODE] So what I am trying to do is to set the [CODE] dates to the data from the above column that is not populated with [CODE] . So the final data would look like this: [CODE] There are about 500,000 records being done at a time and it's about 50... | A possible simplification of the [CODE] statement that doesn't join the table to itself so many times. The query plan (at SQL-Fiddle, with small number of rows) is a clustered index scan with a clustered index seek for the subquery: [CODE] Seems to be good enough for the OP's situation. There is possibly some rewriting... | 2 | 1 | 171 | 2014-05-13T18:08:05.157 | api_errors | dba.stackexchange.com | |
48,379 | How to find a process that holds a certain port on windows vista so I can run vnc | I am trying to run VNC at 5900, but allegedly some process is holding it, thus vnc complains: NOT accepting connections. how to fix that | Is it already installed as a service, but you're launching it as a client? The service will already have the port open. Is the built-in firewall interfering? As a temporary work-around, have you considered just bumping the display port by 1? This serves as a diagnostic - if you can connect to {host IP}:5901 just fine, ... | 0 | 2 | 1,412 | 2009-07-31T01:41:14.363 | infrastructure | serverfault.com | |
758,279 | Best and cheapest way of expanding storage on a server | I provide photo editing services, so customers send their photos to me through website, and I send them back through website once edited. I need about 1TB storage when I keep files for 1 month. I'm currently using a dedicated server which costs me about $400 and also the speed is not good. So what I am thinking to do i... | Why would you run a digital ocean droplet rather than an AWS micro instance if you're considering using S3? A t2 instance would be ideal for you, micro, nano, small, you'd have to try it to be sure. It doesn't seem like you know all that much about AWS - which is fine, everyone starts somewhere. AWS has some complexity... | -1 | 1 | 85 | 2016-02-19T02:22:43.500 | infrastructure | serverfault.com | |
381,936 | How to know how many concurrent users jMeter can start? | There is a place in jMeter where you can specify the number of users you want to start concurrently. I assume you can't put a number where it exceeds the limitation on your hardware & OS. http://jmeter.apache.org/usermanual/build-web-test-plan.html If you set the value to 0, then JMeter will immediately start all of yo... | The [CODE] is not really important except for special cases, so they recommend in the same paragraph to keep it at the default value of 1 sec, which means all threads you enter in the [CODE] field will be started within 1 second. Also, for the local OS it doesn't matter at all if you start all threads at once or with a... | 1 | 3 | 9,638 | 2012-04-22T10:16:06.797 | infrastructure | serverfault.com | |
32,135 | Vista: file browse/upload dialog crashes browser and Photoshop | Situation: Using a web browser, the user is trying to upload files to a website. Each time a file is selected, the browser crashes. Every time the browser prompts to Select A File for upload. The same behaviour occurs when the user tries to Save For Web in Adobe Photoshop. Question: are there any ideas why the Browse d... | The file open/save dialog is handled by Windows Explorer, that's why you see the issue in different applications. This behavior is very often caused by a bad shell exstension. They're often installed by programs like Adobe Photoshop, codec packs and other applications. There is a good tool from sysinternals called auto... | 0 | 1 | 1,327 | 2009-06-25T12:22:56.270 | infrastructure | serverfault.com | |
934,164 | Cross-Realm-Trust between Active Directory and MIT Kerberos | I am currently in the process of extending my development environment, which used to only run Linux servers so far, by adding machines running Windows Server 2016. The authentication process is handled by MIT Kerberos. For the new Windows machines, I am planning on using Active Directory. Since I don't want to manage u... | Fair warning, my knowledge in this area is extremely dated at this point. Like early 2000's, Windows 2003 era Active Directory. So things may work differently now. The main problem is that Windows doesn't know how to find the KDC for your MIT realm by default (ironically, it won't just use DNS to look it up like it doe... | 1 | 1 | 1,552 | 2018-10-05T14:56:52.407 | api_errors | serverfault.com | |
307,708 | Very slow update statement taking up to 11min to update 20 or 0 rows even with indexes | When I update 20 rows or no rows, it takes 11 minutes. I mean 20 rows or no rows by different on [CODE] between two tables. Why is my update so slow, even though I update a small number of rows, or even no rows? How to handle that? My actual execution plan: https://www.brentozar.com/pastetheplan/?id=HJlS11Fy5 Statement... | These two points from your post are going to be your biggest contribution factors. have 14 milion rows where m.MaximumReflowTemperatureID <>r.z2valueid For starters, anytime you compare two columns in a table, regardless if equality or inequality comparisons, SQL Server is going to have to compare every row in the tabl... | 3 | 4 | 5,026 | 2022-02-18T18:43:19.760 | database_errors | dba.stackexchange.com | |
271,020 | SQL Server - Unable to Enlist Target to SQL Server Agent (MSX) after Collation Change | After changing the Collation of SQL Server to Latin1_General_CI_AI from QL_Latin1_General_CP1_CI_AS I'm trying to add the server back to MSX as target in CMS but Enlisting is failing. One thing I forgot to do before SQL Collation change was defecting the server. Now I'm not sure if it is because of not defecting the se... | The resolution in my case was: Open appropriate Firewall Port for the SQL Server Agent. It resolved the Enlisting of Target to Master issue. After opening the port I was getting following error: The enlist operation failed (reason: SQLServerAgent Error: The EXECUTE permission was denied on the object 'sp_enlist_tsx', d... | 1 | 0 | 792 | 2020-07-15T19:13:19.343 | pipeline_ops | dba.stackexchange.com | |
774,123 | Windows Server 2012 R2 port 443 open, stopping IIS doesn't work | Sorry for the bad wording in the title, 'doesn't help' is not allowed as a title, I am definitely able to stop IIS. While trying to install VisualSVN I ran into the problem that port 443 was already open. After looking through dozens of forum entries and checking netstat (screengrab) I was only able to find out that PI... | Do you have routing and remote access service installed? If yes, try to disable it (RRAS uses SSTP by default and it listens for 443 port and lsas.exe process which is using port in your situation is used for IPSEC also). | 2 | 3 | 4,067 | 2016-05-01T11:08:28.307 | infrastructure | serverfault.com | |
330,621 | Slow deletes in Postgresql with foreign key constraints | I have a number of tables relating to an entity and delete them in a transaction to make sure all are removed simultaneously: [CODE] I defer constraints because of a variety of foreign key relationships, including in one table a circular relationship (a self-referential foreign key). The COMMIT runs extremely slowly, I... | It turns out the issue was that the foreign keys needed indexes on both ends, not just on the primary key but the reference to the primary key. | 0 | 0 | 272 | 2023-08-25T10:59:39.537 | data_quality | dba.stackexchange.com | |
408,365 | Validation framework and immutability | I have designed a simple objects validation framework in Java in the context of a code refactoring. The framework has a [CODE] interface with one method [CODE] . There are a number of classes (Validators) implementing different validation rules, each validation checking a different part of the object properties and chi... | My expectation of a chain of validation rules is that if I remove a passing rule or if I reorder the chain of rules, then the final outcome of the validation remains the same. That means that the validation rules must not depend on actions done by an earlier rule in the chain and that can easiest be guaranteed by treat... | 2 | 4 | 253 | 2020-04-04T06:58:33.920 | data_quality | softwareengineering.stackexchange.com | |
44,955 | Selenium/Linux throws exception "An unknown exception was encountered sending an HTTP request to the remote WebDriver server for URL " | I am trying to port some Selenium-Tests that I developed under windows (my main platform) to Linux (Ubuntu 19.10 in a VM). I must admit, I'm not too familiar with the environment, so I might be missing very obvious things - well, obvious for those that live on Linux ;) After fixing issues with file permissions for the ... | Argh - found it: the file chromedriver. did not have execute-permissions. That wasn't reported as a problem when I instantiated ChromeDriverService - but I also did not create a "regular instance" of it. After setting these permissions, it's running now! | 0 | 1 | 1,334 | 2020-06-16T13:16:09.470 | data_quality | sqa.stackexchange.com | |
881,262 | System resource exceeded - what resource could that be? | I'm trying to run an asp.net page that connects to an access database via an ODBC Data Source. I'm using the Microsoft Access ODBC Driver. Everything was working fine until a recent power outage caused us to have to reboot the server. The problem is, whenever I try to open a connection (not run a query or anything, jus... | The three most likely causes for the "System Resource Exceeded" error on an ODBC Data Source are: Memory allocation failure- to resolve this particular issue, you can: check what memory limit is set for your SQL/ODBC database application and Virtual Memory; while the server itself may have plenty of RAM available, the ... | 1 | 1 | 10,783 | 2017-10-31T20:47:56.613 | infrastructure | serverfault.com | |
911,388 | Reverse Proxy is set up on a server. Which redirect to a node js web applicaton. And the css and js of the application are not loaded | The node js web application is running on a server. e.g : https://9.55.168.37/myapp There is a server ( https://9.51.168.47 ) where a reverse proxy is set up and configured to redirect to the node js application. When we hit the url https://9.51.168.47/myapp , it eventually shows the content of the https://9.55.168.37/... | I have solved the issue by adding the mapping in server.js [CODE] That helps to map https://9.51.168.47/myapp/css (reverse proxy host) to https://9.55.168.37/myapp/css (app running host) In the HTML page , the css is loaded as [CODE] | 0 | 0 | 1,493 | 2018-05-09T05:04:33.777 | infrastructure | serverfault.com | |
1,074,335 | Linux - User name with a "$" cannot sudo | We are beginning to add our RHEL 7.9 Linux machines to AD. As a part of that we would like to restrict the use of sudo to the administrators. The admin group we will call ServerAdmins and we added it to the sudoers file. The issue we have is the individual administrator ID has a "$" in the name. [CODE] . When we add th... | All, I do not know what happend. I went back this morning and tried to reproduce the issue so I could copy the message for @MichaelHampton and I was able to authenticate and it recognised I was in the proper group to use sudo. Bugger all. EDIT: As I said in the comments, I figured it out. After adding the proper group ... | 1 | 1 | 114 | 2021-08-12T10:20:47.367 | infrastructure | serverfault.com | |
808,185 | Change permissions (2008 R2) - Do I need to reboot server? | I had to change permissions on a user account in Windows 2008 Server R2. Do I need to reboot the server for these new permissions to be recognized? | No, permissions apply as soon as you change them. | 0 | 0 | 303 | 2016-10-10T17:21:39.707 | infrastructure | serverfault.com | |
965,099 | Is it safe to set a very high ulimit for a process? | I currently have the following entry in [CODE] based on Mongo DB's recommended ulimit settings . [CODE] I need to massively increase the number of permitted file descriptors to - say - [CODE] . In normal situations only a few thousand files are likely to be accessed per day. The reason for the large number of files is ... | [CODE] is the number of processes limit. If you mean files you want [CODE] . It is merely a maximum limit counter. Increasing the limit doesn't use resources until that many things are in use on the system. 64k is a lot of processes. Your performance may suffer depending on how much memory and CPU you have. The Linux s... | 1 | 1 | 2,667 | 2019-04-29T12:50:39.730 | database_errors | serverfault.com | |
265,759 | Transaction log full issue with SQL Server 2008 R2 | I am running into 'transaction log full' issue with SQL Server 2008 R2. My database includes 80,000 tables which contains up to 5 columns of BIGINT and there is an index for each columns. The recovery model for the database is set to simple. The pattern of work with the database is by conducting a large number of bulk ... | Transaction log is growing probably because you did these operations in a single transaction instead of break them into smaller transactions. For example, if you delete 1 ML records all toghether, the operation will be first inserted into transaction log and then committed to database. But if you break the delete into ... | 1 | 1 | 2,125 | 2011-05-03T10:11:12.530 | api_errors | serverfault.com | |
354,921 | Best practice for defense agaist hotlinking and scraping images from your site | I'm trying to determine the best way to handle a few issues I've come up with on handling images for my site. Background: A small site that houses movie information. I have an admin section to upload multiple movies images per movie. Image files would be hosted on a CDN so access would pretty much be open. References t... | The best defence is to require the user to create an account and log in before giving them the information. You can use a CAPTCHA as part of the login without affecting the user experience too much. Or throw one in on every link if you value security over usability. Once the user is logged in you can offer them user sp... | -1 | 0 | 222 | 2017-08-01T19:40:32.313 | api_errors | softwareengineering.stackexchange.com | |
246,742 | Database Offset & Limit without order by? | To my understanding, in MySQL/Postgres database there is no guarantee for the order of values with a select statement without an order-by clause, thus one should be getting rows arbitrarily. If so, then why are there usually no duplicates when I perform such query? [CODE] Aren't these queries safe to use, considering t... | Your syntax won't work with PostgreSQL, but I can answer your question for PostgreSQL anyway: Your query will often work as you intend because the three statements will often use the same execution plan. There is no guarantee for that though. One possibility where even a sequential scan in PostgreSQL will return a diff... | 3 | 6 | 6,158 | 2019-09-02T08:43:39.240 | database_errors | dba.stackexchange.com | |
645,458 | Cisco Aironet AP1260 can't reach FreeRADIUS server | I have a problem with a Cisco Aironet AP1260 standalone access point and a FreeRADIUS server. I'm trying to set up a 802.11x access point with authentication on a FreeRADIUS server. I have set up both AP and server, created a temporal user in [CODE] and tested RADIUS server with [CODE] utility. But when I try to connec... | Problem solved. I am new to CentOS and I didn't know that it applies [CODE] rule in the firewall by default. After editing (commenting out as it's test server) this line RADIUS detected auth packets. | 1 | 0 | 1,072 | 2014-11-19T12:03:42.220 | api_errors | serverfault.com | |
86,688 | What is a dedicated Linux box used for? | So this is probably a very basic and obvious question for most people, but my google-fu is failing me and it just seems something is going over my head. I've heard numerous people refer to having a 'dedicated linux box' as a central part of a developer's setup. I have been doing web-dev programming for about a year and... | The open nature of Linux allows you to do a variety of tasks. It could act as: A personal webserver/code repository A testing platform for beta code before you upload it to the interwebs. A hardware firewall A torrent downloading box A glorified media player (running Boxee or XBMC) A code compiling station A box to run... | 10 | 4 | 7,566 | 2011-06-24T05:21:35.703 | api_errors | softwareengineering.stackexchange.com | |
133,602 | Aggregate and GROUP BY conflict with HAVING? | I don't know if my logic in my query is incorrect, or if I simply have a syntax error, or both. For each customer that had more than two orders, I want to list the customerID and the total number of orders placed. However, this query is producing the following error, (in MS Access 2016) The level clause includes a rese... | You have a semicolon after [CODE] . A semicolon is a statement delimiter, it should be at the end of the entire statement: [CODE] I am puzzled about how your query can run without errors if you just remove HAVING, but the semicolon is definitely out of place in the posted code. | 0 | 2 | 116 | 2016-03-29T02:56:15.020 | warehouse_errors | dba.stackexchange.com | |
93,953 | Peer-to-Peer Transactional Replication Load Balancing in MS SQL Server | I'm looking at Peer-to-Peer Transactional Replication and it looks like a perfect fit for my requirements, but there's one unclear part - load balancing (see picture below). How it is implemented in SQL Server? Is it programmable? Or it's something that I should implement myself? If so, what's the best way of doing tha... | I ended up using F5 BIG-IP LTM Virtual Edition , because I didn't find any other free solutions, that fits my business requirements. | 1 | 0 | 1,717 | 2015-02-27T01:36:48.190 | database_errors | dba.stackexchange.com | |
1,146,543 | Changing the root folder of the ssh server | There are some similar questions but not same. I don't want to change the default folder. so i want to set the ROOT FOLDER for ssh connection. I mean the only folder that the client has access to , is what i set. I want to set a path that my client only have access to it and can not use the [CODE] . They can't go upper... | You need to set [CODE] in the sshd configuration for the said user, or for some group, or for all users, but that's gross. You create a new file, say, [CODE] and put the following: [CODE] If you want to have this for several users, use [CODE] and add all needed users into that group. In modern Linux distros there is [C... | 0 | 2 | 620 | 2023-10-25T10:32:06.660 | infrastructure | serverfault.com | |
125,745 | Instance name is null - SQL Server | I recently checked this in my SQL server instances: SQL Server 2012 EE: [CODE] And the results show NULL value for instance name for some of the instances. I did go through Instance name NULL Sample output for one of my servers for [CODE] was 'Class024.dev.com', Null Should I change the Instance name? Is it necessary o... | It does return 'Null' if you've only got a default instance. I tried it in SQL 2005 and SQL 2008R2. Otherwise, [CODE] should be the same as [CODE] Tested this also in SQL 2005 and SQL 2008R2. | 0 | 1 | 3,370 | 2016-01-09T13:58:05.127 | database_errors | dba.stackexchange.com | |
52,023 | how to restore sqlite dump file to sqlite database using java? | I generated dump file from java using .dump command so my back-up is ready now I want to restore it to once again so can anyone help me how to restore? In stackoverflow I got this but nothing restore from this.. backup-and-restore-sqlite-from-disk-to-memory-in-java so how to restore this file? | If you're using JDBC with Java, have a look at sqlite-jdbc by xerial . They added the backup and restore API of sqlite a while ago. I use this together with an sqlite in memory-database for higher performance and regularly backup to a file. You can use it like this: [CODE] | 1 | 1 | 3,987 | 2013-10-23T05:02:27.360 | database_errors | dba.stackexchange.com | |
311,929 | Running balance of a ledger with aggregated balances | Imagine I have a ledger where I write [CODE] and I want to get up to date balances of the quantity grouped by event_id. The goal is to get the aggregated quantity per event_id quickly. id event_id quantity dateTime 1 1000 3 timestamp 2 1000 -2 timestamp 3 2000 5 timestamp 4 1000 3 timestamp 5 2000 2 timestamp However i... | Maybe you are looking for an assignment operator query: I used table name [CODE] SELECT *, @running_qty:=@running_qty+quantity AS runningQty FROM (SELECT * FROM [CODE] i) a JOIN (SELECT @running_qty:=0)rn GROUP BY event_id | -1 | 0 | 414 | 2022-05-10T07:31:44.173 | database_errors | dba.stackexchange.com | |
374,654 | Proper Configuration of Cisco Router for Video Conferencing | I am looking for help configuring a Cisco 861 Router to allow for video conferencing endpoints to connect. I've gotten to the point where I can place and receive calls but cannot receive video on the endpoint behind my 861 router. I am using a Polycom HDX 8000 for my endpoint calling to/from another public endpoint I k... | I see that you are trying to nat 1720/tcp and 1720/udp which means you are almost certainly trying to open H.323. The problem with H.323 is that a typical video connection will have 7 separate sockets (2 for audio, 2 for video, and 3 used for signalling and control) in use during a connection, and 6 of those are negoti... | -1 | 0 | 3,986 | 2012-03-29T01:55:09.157 | infrastructure | serverfault.com | |
440,274 | Is DDD needed in full stack development? | I am a full stack developer who's been learning about Domain-Driven Design in the past couple of days, so I have some question since I have trouble finding place for this pattern in my applications. I think of front-end as this reactive programming "experience" focused on UI/UX, and of back-end as a transactional, perf... | You're not required to use DDD, at all. But it can be a useful tool. You say: Initiates creative collaboration between technical and domain experts Is this not handled by the front-end? DDD is not about how users interact with your system. Part of DDD is how developers interact with domain experts – how things work on ... | -3 | 3 | 434 | 2022-08-07T15:04:37.280 | api_errors | softwareengineering.stackexchange.com | |
748,979 | Linux server, setting up VM with different IP | I just purchased a dedi server (Ubuntu 14.04 LTS) & additional IP's (called Failover IP's) from OVH. I want to setup a KVM virtual machine in order to for them to have their own independent IPs. Below is posted my /etc/network/interfaces file. This in its current state is making the new IP to ping from the server itsel... | Instead of configuring eth0 on the host, configure br0 on the host with [CODE] . The guest can configure its own IP when using a bridge, so you would not do that on the host. | 0 | 0 | 105 | 2016-01-14T04:34:04.430 | database_errors | serverfault.com | |
56,378 | Update column with the sum of column in previous rows in MySQL | We have a table, essentially: id, amount, end balance, account_id I now want to re-calculate the end balance values (because of possible corruption) End balance is basically "end balance of previous entry with the same account_id" + amount. Assume that there are a lot of entries, but I want to do this for one account a... | Solution that fix one account at a time: [CODE] | 4 | 1 | 13,000 | 2014-01-08T16:22:41.233 | database_errors | dba.stackexchange.com | |
177,270 | How to optimize query with having and group | My Task is to optimize a query, which should check for data inconsistency: Return all leads ids with more than one entries and multiple is_first flag. [CODE] So this dataset should return 21. (20 ok, because is_first is only true/1 once) Old Query: [CODE] New Query: I already increased performance somewhat with this qu... | If you dont have it already, you could create a index on both fields : is_first and lead_id ; If it's a table with few record you won't see much difference, so I always recommend to check the statistics from the query. | 3 | 2 | 422 | 2017-06-26T14:46:40.337 | warehouse_errors | dba.stackexchange.com | |
120,056 | Force network to weigh specific variables during learning | I have a pandas data frame containing around 100000 observations of plant species and their age with additional numerical predictors (climate). I used [CODE] and [CODE] to build a [CODE] model to predict species [CODE] . Here is the code for my basic regression network: [CODE] I one hot encode the species data and norm... | After gaining better understanding of the problem at hand, here is my solution to deep encode my species categories so that the network can learn from them. [CODE] | 0 | 0 | 20 | 2023-03-08T19:08:21.723 | data_quality | datascience.stackexchange.com | |
334,432 | Can helper-methods be overused? | In the spirit of divide and conquer , I've gotten into the habit of using helper methods almost everywhere, including for the simplest of tasks. As a really simple example, let's say I have a sort of library program written in Java 8 that deals with books, and it has the public method [CODE] that takes a list of books ... | Helper methods address the two concerns of readability and reusability . Helper methods can make code more readable by encapsulating some logic under a better, more straightforward name. Helper methods can make code more reusable by splitting out a piece of logic that might be reused elsewhere. Through these twin lense... | 4 | 6 | 603 | 2016-10-24T00:40:42.450 | api_errors | softwareengineering.stackexchange.com | |
247,965 | Kernel panic error | We have a dedicated server with software RAID1 and one of the disk failed recently. The disk was replaced but after rebuilding the array and rebooting the server freezes with a Kernel Panic message [CODE] The filesystem on both disks is ext4. It seems the kernel can't load ext4 support. Is there any way to add ext4 sup... | I have managed to solve the issue. After the disk replacement the new disk didn't have boot code installed on it. So I have reinstalled lilo and then rebooted again. lilo -H -v Now everything works fine. | 0 | 2 | 1,776 | 2011-03-16T07:23:46.153 | infrastructure | serverfault.com | |
275,146 | SQLPlus configuration problem or firewall issue | I need to connect to a remote Oracle DB, so I requested to open the firewall on the port 1521 to the DB and the replica. [CODE] I'm able to telnet to the DB on port 1521. But when I try to connect using SQLPlus I get an error as the host doesn't exist. [CODE] I have another server in the same network as the DB and I'm ... | I end up finding the answer :) On my test server on the same network as the DB I made a tcpdump and I notice that my connection started on the primary IP and the DB reply through the secondary IP. There was a request on the DNS server in the middle. I made the same test on my ansible-test server and found out that ther... | 0 | 0 | 585 | 2020-09-08T12:34:11.413 | database_errors | dba.stackexchange.com | |
784,428 | How to install PHP 5.6 redis extension on Ubuntu 14 | We used to install PHP's Redis extension using PECL. But it seems PECL has dropped support for this for PHP versions less than 7.0. What's the best way to do this without PECL? We're on Ubuntu 14.x running PHP 5.6 [CODE] Update 1 [CODE] This all seems to go swimmingly, but then [CODE] says: [CODE] Update 2 I SSHed into... | CircleCI loads and configures PHP from its own location: [CODE] . We solved the posted problem by installing [CODE] via APT and then wiring CircleCI's version of PHP up to the APT-installed files. It looks like this in our [CODE] file: [CODE] This broke again recently when CircleCI started running Composer with [CODE] ... | 2 | 4 | 13,909 | 2016-06-16T17:27:39.627 | database_errors | serverfault.com | |
38,706 | SQL Server 2008 R2 SP1 - Tempdb "Available free space" showing negative value | Please help as this issue is driving me nuts... [CODE] has four data files and one log file. They are all located on the same dedicated drive. When I right click on [CODE] in SQL Server Management Studio (SSMS) to view Properties --> General...I'm seeing "Size" as ~65000 MB with "Space Available" as ~64000 MB. However,... | Open Query Analyzer Run [CODE] After it is done, check temdb value and it should show the true values. Also, this might help you. Also, check if there are any open transactions using dbcc opentran or sp_whoisactive (Adam Mechanic's SP) This was a bug in SQL Server 2008 SP1 described here . Out of curiosity, is it causi... | 7 | 2 | 10,890 | 2013-03-27T17:35:35.980 | database_errors | dba.stackexchange.com | |
199,543 | Does SOA service composition actually work in practice? | One of the main SOA service design principles is Service Composability principle ( https://en.wikipedia.org/wiki/Service_composability_principle ). The idea is that by composing new services using existing ones as building blocks, one can rapidly develop new services. Kind of analogously to how you call exising methods... | The short answer is Yes! I have seen this done at several large financial organisations, and, it has worked well. The transaction issues are complex but usually handled by (expensive) middleware such as Oracles WebLogic EAI or IBMs Websphere ESB. | 15 | 0 | 1,200 | 2013-05-27T08:17:27.000 | api_errors | softwareengineering.stackexchange.com | |
671,002 | SAP HANA - Some services not started | SAP HANA was configured correct and SAP HANA Studio was connected to SAP HANA. From one day to another SAP HANA is not reachable in the SAP HANA Studio. The operational state is "Some services not started" How to fix this? (I have an systems operation account on the HANA server) | I solved the issue by restarting SAP HANA [CODE] | 2 | 1 | 12,673 | 2015-02-24T13:57:34.837 | infrastructure | serverfault.com | |
433,611 | DNS through Cisco VPN | We have a Cisco ASA providing a VPN gateway for users. Currently when users VPN'n from outside the network they can access file servers from their IP addresses but the shares do not response via share name. I have checked the DNS settings on the ASA and it is distributing the correct internal DNS server addresses to th... | You should make sure that 53\udp and 53\tcp to your DNS servers are allowed to the VPN clients by the ASA VPN policy. You should also make sure that the DHCP server for your VPN subnet(s) are giving these DNS servers to the clients. | 0 | 0 | 488 | 2012-10-01T11:47:46.990 | infrastructure | serverfault.com | |
960,029 | How do I let Ansible show the diff of a newly created file in check mode? | Let's say I manage file [CODE] with Ansible, e.g.: [CODE] I can then see the diff in a dry-run, like this: [CODE] Cool. But it seems to only display the diff when the file exists on the remote host. If the file is absent, I don't see the output other than task OK. How do I tell Ansible to show the diff if the file is a... | Works for me (ansible 2.7.9): [CODE] Perhaps it is version-dependent or you are hitting [CODE] (default 104448 bytes). | 3 | 4 | 9,086 | 2019-03-26T12:04:04.667 | pipeline_ops | serverfault.com | |
117,464 | Selecting random rows from database initially while preserving that order later | I am building a quiz app, in which the student can login and can select the option of give exam. I want to show multiple choice questions to students randomly. I stored all the questions in one table. For example, I stored 20 questions for a chemistry exam. Now I want to show 10 random questions to students. I don't wa... | You'll want to hold an actual random number for each user then you can call [CODE] to generate your static random generator start point the $usersrandomnumber acts as a starting seed see the mysql documentation here: https://dev.mysql.com/doc/refman/5.0/en/mathematical-functions.html#function_rand it will involve you s... | 2 | 3 | 1,201 | 2015-10-08T19:07:21.710 | warehouse_errors | dba.stackexchange.com | |
971,619 | pvcreate disk filtered while filter is set and no mpath | I have been fighting with an issue on CentOS 7.6.1801 on a HP over HW RAID. I searched a lot and tried many options about I still can't fix this. May be I overlook something. I hope someone can spot it. [CODE] [CODE] [CODE] ========== (parted) print Model: HPE LOGICAL VOLUME (scsi) Disk /dev/sdb: 7201GB Sector size (lo... | You overlooked some whitespace. [CODE] Did you miss the space after [CODE] ? That should not be there. If you are trying to match [CODE] , then this will fail to match because of the space. | 0 | 1 | 1,362 | 2019-06-16T08:55:22.477 | infrastructure | serverfault.com | |
655,456 | rsyslog - configuration help - logrotate and compression | I am a newbie to Linux and rsyslog. I have used the logfiles for many years, but I have never had to set one up. At this point I have some Proof of Concept devices pointing to my Debain Linux server. I have the syslog messages coming in and being written to a single file: /var/log/prd/fwlog I am only concerned about 3 ... | I want to rotate and separate the routers and switches in a log with a date stamp called 'rslog-YYYY-MM-DD' also the firewalls into a log with a date stamp called 'fwlog-YYYY-MM-DD' To start, you need to separate your firewall and switches with filtering in rsyslog. Exactly how to do this varies based on the version of... | 6 | 5 | 14,855 | 2014-12-30T18:49:01.657 | infrastructure | serverfault.com | |
904,454 | Why tar is incapable of changing current directory? | The following command: [CODE] fail with the following error: [CODE] However a slightly different command works, albeit generating a tar with incorrect directory structure: [CODE] It is clear that -C option fail to change the current directory of tar to ${HOME}, making directory unrecognizable. What went wrong and how t... | What happens here is that -C option tells tar to change directory first before creating an archive. So in the first example what you are doing is this pretty much: [CODE] Now are you sure you have an additional 'temp' directory in this path '/home/whatever/temp/' In the second instance since you are using absolute path... | 0 | 3 | 371 | 2018-03-25T02:52:40.080 | infrastructure | serverfault.com | |
544,953 | can you install iis 7.5 full version on windows 7? | I have windows 7 professional installed on my pc. I have IIS 7.5 installed, but not sure if that is express edition or not. I deployed my WCF app on the IIS server. kept getting this error message. [CODE] did a little bit research found out that IIS express edition will not support msmq protocol. http://www.iis.net/lea... | IIS 7.5 is part of Windows 7, you enable it by adding Windows features. IIS Express has to be downloaded and installed. Both version can run at the same time and can even serve the same web-site at the same time (on different ports). IIS proper runs as a Windows service, there are various ways to check for a running se... | -2 | 1 | 4,543 | 2013-10-09T19:29:05.110 | infrastructure | serverfault.com | |
899,336 | SFF-8639 Backplane - Mixing SAS 12G and NVMe? | On a passive SFF-8639 backplane, with one port per drive, is it possible to connect some of the back side SFF-8643 ports to a SAS HBA and the others to an NVMe card like the Supermicro AOC-SLG3-2E4? The specific scenario I'm looking at is the upcoming IcyDock MB699VP-B, which is toted as a '4 Bay 2.5" NVMe U.2 SSD' hot... | The MB699VP-B ports are U.2 ports, so SATA SSDs will not fit in them. I should note that Chopper3's answer above is incorrect. The MB699VP-B cannot connect to a SAS HBA. Each rear port is PCIe 4x and must be connected to a PCIe or M.2 slot via an adapter such as this: https://www.amazon.com/SFF-8639-Adapter-Mainboard-I... | 2 | 0 | 3,835 | 2018-02-28T15:38:52.590 | infrastructure | serverfault.com | |
89,687 | PostgreSQL: Use column with hash based on other columns as unique index? | My previous problem is still not fixed: We cannot set a unique index because NULL values are allowed... we use this table in our database: [CODE] And we use a unique index which doesn't work: [CODE] But the unique index doesn't work because price_old, price and price_alt can be NULL.... It's possible that only price is... | PostgreSQL 15 and higher For PostgreSQL 15 and higher, this is solved by having the [CODE] support for unique constraints: For the purpose of a unique constraint, null values are not considered equal, unless NULLS NOT DISTINCT is specified. https://www.postgresql.org/docs/15/sql-createtable.html [CODE] PostgreSQL You c... | 1 | 2 | 9,749 | 2015-01-20T10:27:48.093 | data_quality | dba.stackexchange.com | |
139,237 | how to purge / shrink .idb tables | I know this has been asked many times but, what is the proper configuration to succesfully purge / shrink .idb tables? I have tried to use [CODE] but after the query the .idb tables stays the same size. This is my configuration at [CODE] in [CODE] : [CODE] Am i missing something? | To shrink an .ibd file it's enough to run [CODE] . It will rebuild the tablespace and the new one will be the most compact. I think [CODE] does exactly the same internally. [CODE] however is preferred because you can use pt-online-schema-change to avoid blocking the table. To get better understanding how data use the t... | 3 | 4 | 4,138 | 2016-05-23T09:10:40.987 | warehouse_errors | dba.stackexchange.com | |
312,743 | errno: 150 "Foreign key constraint is incorrectly formed", can't create table | How do I resolve this problem? I'm trying to import database into a hosting site, but got this message: From this section in the .sql file: | The problem was resolved by moving the creation of the table [CODE] before the creation of the table [CODE] | -3 | 1 | 1,335 | 2022-05-30T18:07:43.363 | data_quality | dba.stackexchange.com | |
302,770 | Large memory grant for joined tables | When I select columns from both joined tables a get a huge memory grant (529808). If I query each table columns separately it has a combined memory grant of just 8008. Why does the combined list of columns have such a large memory grant? Or what are some of the steps I could take to find out? [CODE] has a memory grant ... | memory goat Your first query plan with the merge join has a sort in it to support that operation. Merge joins require ordered data, and you only have index-ordered data coming from the inner table. The outer table's index does not have the join key in a useful place in the key of the index, hence the sort. When you [CO... | 5 | 8 | 466 | 2021-11-17T16:00:00.803 | warehouse_errors | dba.stackexchange.com | |
197,703 | Log defects for failures of other systems? | We build products which often integrate with third party systems. Sometimes these systems error, which in turn causes our system to error. For example, we call a web service when a user updates their data after we've saved to our own database. While testing, the service on the other end is not functioning correctly. I ... | Your question blurs the line between project management and software development. How do you define what is and isn't a "defect"? Are you logging a defect each time the web service fails? For me, I would put this down as a project issue. You still want to document the cause / research etc. you have put into it. I don't... | 4 | 2 | 941 | 2013-05-10T20:54:08.190 | api_errors | softwareengineering.stackexchange.com | |
107,316 | Avoid joining to the same table multiple times | I have two tables: [CODE] Table [CODE] : is a join table, I'm using it in this report only because of the [CODE] and to limit the number of row. Table [CODE] : contains my data, a [CODE] , [CODE] and [CODE] can have many [CODE] , so I'm grouping them and using [CODE] , to get the min [CODE] . I've tried some ways to ge... | Try how good this works for you Converted left join to one inner join for table Two for both t_id's. And on computing min, using case statement to split to two columns based on the value t_id. What we save here is scanning the table two time and an inner join compared to left join [CODE] | 3 | 2 | 15,860 | 2015-07-17T09:31:35.033 | warehouse_errors | dba.stackexchange.com | |
210,540 | 8 bit and 1 byte, is this a valid question to be asked? | I saw these question in our school's past paper, and I'm wondering if this is a valid question. How big is [CODE] in C and C++? A) 1 bit B) 4 bit C) 8 bit D) 1 byte What is the smallest unit of memory C or C++ use? A) 1 bit B) 4 bit C) 8 bit D) 1 byte The answer to both are D, but I am thinking if this is inappropriate... | AFAIK, no answers presented here are correct. The size of [CODE] and [CODE] is not constrained to be 1 byte (I seem to remember that there is a constraint in C which forces [CODE] which hasn't an equivalent in C++) | 3 | 10 | 1,856 | 2013-09-05T10:01:34.167 | api_errors | softwareengineering.stackexchange.com | |
1,003,158 | How can I tell which version of CIFs is in the kernel if CIFs module isn't loaded? | I need to determine the CIFs version that exists in my kernel, but the CIFs module isn't loaded. [CODE] When I run [CODE] in the list of results I see [CODE] How can I find out what version of cifs.ko exists, awaiting potential use, in my kernel? I'm using Ubuntu 18.04. | Try [CODE] (if you are not root you might need the full path) with the name of the module: [CODE] | 0 | 1 | 3,837 | 2020-02-14T23:25:58.573 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.