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 |
|---|---|---|---|---|---|---|---|---|---|---|
152,665 | Service Broker Using Wrong Certificates | After configuring two Service Broker instances that successfully send msg to remote server on separate databases, I am trying to set up a second service broker instance on one of the same, successful, databases. I am receiving errors on ssbdiagnose, only. No other tools show errors. 2 Errors from ssbdiagnose, when runn... | The reason for my errors, looking for a different certificate, is due to one of my certificate expiry dates being different from the rest; therefore, it was overlooking the certificate I wanted and using the certificate with the date furthest from today. I fixed all the dates and this resolved the errors mentioned abov... | 2 | 0 | 1,007 | 2016-10-18T19:41:53.013 | api_errors | dba.stackexchange.com | |
423,025 | how change nginx temp & log folder or disable logging completely | I'm running nginx 1.3.5 under windows seven, I need to execute nginx directly from a read-only media (CD or DVD), but when I want to run it, it fails with this error: [CODE] where J is my CD-ROM drive letter. I've changed nginx.conf to disable logging completely, but seems anyway it still tries to build a file named 'e... | http://nginx.org/en/docs/http/ngx_http_log_module.html lists the directives for controlling logging, specifcally you have the 2 following: [CODE] and [CODE] so while you can completely disable the access_log, the same doesn't seem to be true for the error_log. Nevertheless you can still achieve the effect you want by a... | 1 | 1 | 8,305 | 2012-08-28T09:36:16.693 | infrastructure | serverfault.com | |
359,571 | Intel igb driver packet loss on Debian Linux 6.0 | I am running Debian Linux 6.0 (2.6.32-5-amd64). My network NICS are Intel 82580 Gigabit running with the IGB network driver version 3.3.6 (firmware version 3.2-9). I tested the performance and I noticed massive packet drops. My test is simple: tcpreplay a file to the IGB interface and run tcpdump on the other side to v... | IGB Cards often work sluggish with their default IRQ assignment. You might want to set CPU affinity. Intel provides this document that guides through it. | 1 | 1 | 2,120 | 2012-02-13T14:03:40.400 | infrastructure | serverfault.com | |
409,686 | Passwordless ssh with NFS+NIS | I'm playing around with a cluster (with torque+open-mpi). I have a master node and compute nodes. Master submit jobs to computes nodes. To do it I use NIS+NFS in order to unify UID's and home directory. In order to execute remote commands I use ssh and keychain to get passwordless login. Everything seems OK, doesn't it... | [CODE] and some method of distributing the public key ( [CODE] in the users home directory, mounted over NFS works) is the standard answer to your request. For bonus points you can consider using agent forwarding to pass your credentials along if you need to pass through more than one node for some reason.. As you've g... | 1 | 1 | 2,058 | 2012-07-20T16:44:40.647 | api_errors | serverfault.com | |
75,295 | Is data warehouse monitoring same as database monitoring? | I have a requirement, where data warehouse population is to be monitored. I am in confusion, and needed a clear picture. Is data warehouse different than database? eg. For monitoring database we would monitor its availability, tablespace, cache, connections and other advanced metrics. On what parameters can we monitor ... | "On what parameters can we monitor data warehouse?". Exactly the same ones that you use for monitoring an OLTP database. You might want to pay more attention to things like slow query log (MySQL) for a DW, but that should be on the radar for an OLTP system also. The common "gotchas" may change, but databases all sit on... | 2 | 1 | 322 | 2014-08-29T08:40:09.023 | warehouse_errors | dba.stackexchange.com | |
365,192 | centos how to free memory with crontab | My system is Centos 5.5 with 2G memory, I have no permission setup a swap. I have set restart [CODE] in 3:00 every day with [CODE] , and I also want to free memory every hour. So how to free memory with crontab? I write some code below styding from web, but it seems not work... crontab -e [CODE] EDIT here is [CODE] , h... | The code you cited will cause the kernel to discard any cached data it has ... which is exactly the memory that it would have discarded as soon as anything wanted to use more memory anyhow. It will have no practical effect on your system. Ultimately, other than running less software, or restarting processes, there is n... | 1 | 2 | 4,249 | 2012-03-01T07:32:52.440 | infrastructure | serverfault.com | |
105 | How do we promote our site? | This essential question wasn't asked yet, so here we go. This is rapidly becoming a hot issue across the entire network: how to promote your site and how to reach out to the experts and pundits in your industry. We can come up with budgets and promotions but — more than any other issue raised here — the means and ideas... | This might be a long shot, but maybe we could work a co-op deal with some of the major chain hardware stores. Ad space in exchange for posting notices in the stores??? Home Depot, Lowes, McCoys, Ace Hardware, etc. | discussion,site-promotion | 8 | 3 | 144 | 2010-08-03T15:09:42.807 | data_quality | diy.meta.stackexchange.com |
196,330 | Is it possible to install just the mongo Shell? | I have Docker installed and am running a [CODE] container for my local development on my Mac. The problem is that I can't connect to said DB easily from CLI. I have Robo 3T installed, but I would prefer to use the [CODE] client instead. Is there a known way to install JUST the [CODE] (command [CODE] ) and not the full ... | You can use HomeBrew, see the official MongoDB HomeBrew page. Just add the tap: [CODE] And then after adding the tap from above, you can then install the Mongo shell with: [CODE] | 45 | 57 | 39,689 | 2018-01-26T14:40:02.043 | pipeline_ops | dba.stackexchange.com | |
95,529 | MySQL Workbench not showing stored procedures that I have created | I have a simple stored procedure that I have just created. I have applied this script to my database This script shows up in the my list of stored procedure However, when I restart MySQL workbench, its not in the list anymore Interestingly, the procedure still exists even though it is not shown. I can call [CODE] And g... | I've just upgraded my MySQL server version and this problem is fixed. It must have been an issue related to using MySQL Workbench with an older version of MySQL server. | 3 | 1 | 21,023 | 2015-03-18T00:51:29.873 | database_errors | dba.stackexchange.com | |
439,940 | Connecting to a remote server using SSH from a Mac | I have generated a public key file (id_rsa.pub) and a private key file (id_rsa) and placed them in my ~/.ssh folder According to the server admin, he has already added "my key" to the server for accessing it. Could someone please clarify : when he says he has added my "key". Is that the public key that he has added or ... | The server admin only needs the public key. If [CODE] is enabled in sshd_config you have to check the permissons of the id_rsa file. When you have created the key, you have specified a length. This is the length of the private key in bits. With the [CODE] option, ssh print debugging messages like this: [CODE] Hope this... | 0 | 1 | 200 | 2012-10-18T18:31:25.990 | infrastructure | serverfault.com | |
835,108 | GCP configure an external master issue | I'm following GCP tutorial to create a replica instance from an external master. The Cloud SQL API is enabled and I am using google shell from the console to run the commands. I have also tried from a compute engine instance using gcloud auth login to get credentials but run into the exact same issue. I'm creating the ... | As of now, the answer is that Cloud SQL external master replication is broken. The suggestion from the support team are quite... hmmm I let you judge. *Hello, As per checking with our backend team, there are similary bugs already raised for the concern on the external master replication. The team concerned is already h... | 1 | 0 | 499 | 2017-02-27T08:12:28.977 | infrastructure | serverfault.com | |
43,210 | Can I use the test dataset to select a model? | I'm trying to understand if the test dataset can be used to select a final trained model. Let's assume this scenario: I first split the whole dataset: 70% training, 30% test. Then I fit several models (let's say NN, RandomForest, AdaBoost,..) on the training dataset with cross-validation and tune the hyperparameters to... | Thanks for the answers. I consulted it with some more people and I think that I have settled for an explanation that makes sense for me: The truth is that although the "test dataset" can be used to select the model as I do, it is not a "test dataset" in it's true meaning. Since I am using the dataset to select a model,... | 2 | 3 | 3,576 | 2018-12-27T14:47:23.437 | data_quality | datascience.stackexchange.com | |
1,026,082 | Folder Redirection Path is duplicated in Group Policy | Redirected Path for an applied group policy contains the path duplicated e.g. if the path is supposed to be [CODE] the actual path applied is [CODE] , as displayed from the output of [CODE] Roaming Profile path for the users is correct: [CODE] (which in Windows 10 1903 evals to ...\profile.V6) We have tried to recreate... | TL;DR This is not an issue with Group Policy, but a quirk of the output of [CODE] Description: This is a output display issue. [CODE] duplicates the path, but the actual path applied will be correct, which can be verified with [CODE] or [CODE] . Please don't let the output fool you into thinking something is amiss when... | 0 | 0 | 278 | 2020-07-21T08:58:07.283 | database_errors | serverfault.com | |
696,665 | WIldcard SSL Subdomain Not Pointing at Correct DocumentRoot 3 | I have the same problem than: WIldcard SSL Subdomain Not Pointing at Correct DocumentRoot but the answer does not help me. I have a Wildcard SSL installed on my Apache server. With HTTP : www.example.com points to documentroot /home/example/public_html OK sub.example.com points to documentroot /home/sub_example/public_... | It sounds like a virtual host configuration issue. Have a look at the output of [CODE] . On Ubuntu I had to source some environment variables first and ran: [CODE] | 1 | 0 | 180 | 2015-06-04T15:15:47.827 | infrastructure | serverfault.com | |
17,666 | Strange Sybase / SQL Server linked server issue | I have a sybase table which has a column [CODE] . The following T-SQL will get the following error if there is a not-null value in [CODE] . ( [CODE] is the linked server to the Sybase database) [CODE] OLE DB provider 'ASEOLEDB' for linked server 'sybase' returned data that does not match expected data length for column... | try [CODE] | 0 | 1 | 1,774 | 2012-05-09T21:29:28.007 | data_quality | dba.stackexchange.com | |
80,435 | Mysql Create table shows ERROR 1005 errno 150 | I am trying to make a junction table, but I getting a ERROR 1005 errno 150 [CODE] Any help would be greatly appreciated. | tagName column in table cardTags is not defined as primary key and you are declaring foreign key FOREIGN KEY (tagName) REFERENCES cardTags(tagName). | 0 | 1 | 3,596 | 2014-10-17T03:43:49.360 | database_errors | dba.stackexchange.com | |
891,024 | CentOS VM not resolving to correct IP | I have configured a primary DNS server in centOS and it seems to be working fine. I then configured a secondary DNS in another CentOS VM, but there is a problem. When I try to ping the domain which is [CODE] it resolves to some different IP and FQDN. This is what I get: Ping to domain I can ping fine from the primary. ... | Please let me know what I am doing wrong. I am confused because pinging abc.com from the secondary serer resolves 192.168.1.1 which is correct. You do not own [CODE] . The result of [CODE] resolving to [CODE] is correct behaviour. From the sounds of it, you are looking to set up the servers as resolvers and authoritati... | 0 | 0 | 146 | 2018-01-06T16:33:51.190 | infrastructure | serverfault.com | |
918,134 | tcpdump get requesting IP | We are tracking http usage(mainly for our intranet) and I've been able to track it using the the following on our OPENWRT router: [CODE] This only outputs the Host and Request. I can't figure out how to get the requesting IP, however. For example if a system 192.168.1.5 is requesting our internal site I can only see th... | The source IP of the packet is the first IP address after [CODE] in the TCPDump output. If it shows some other IP than the HTTP client IP address, then there is something in the middle, like a reverse proxy that creates another TCP connection from that box to the server. There could be also some weird NAT setup which r... | 0 | 0 | 1,024 | 2018-06-25T17:17:31.010 | infrastructure | serverfault.com | |
487,522 | LXC, Port forwarding and iptables | I have a LXC container ( [CODE] ) running on a host. A service is running inside the container on port [CODE] . From the host ( [CODE] , [CODE] ), I can reach the service: [CODE] I'd love to make the service running inside the container accessible to the outer world. Therefore, I want to forward port [CODE] on the host... | Seems you have blocked 7002 port on 10.0.3.1 as your default policy is DROP Try adding it to INPUT rules: [CODE] | 9 | 3 | 34,674 | 2013-03-13T17:13:56.843 | pipeline_ops | serverfault.com | |
477,567 | get process id from path | I am trying to build a nice service bash script for a custom service I built, my problem is that I need to identify if the process is running armed with the path to the file only. From all my googling I have found the answer on how to find the path of a PID but I need the exact opposite. Let's say my executable is loca... | Try using ps to look for the script by name: [CODE] The -C flag tells ps to list processes named "python", the -f gives "full" output including the command line, and the grep picks out the right python process. The pid is the second field in the line. | 1 | 1 | 2,682 | 2013-02-11T10:41:07.037 | infrastructure | serverfault.com | |
194,226 | Autorotating Incremental/incremental backups with cron | i need a backup script (or tool) for my Ubuntu Server. Simple packing a folder into a tar.gz cron.d is quite easy to do. But the problem is, with every update there are several 100 MB of data. So I tought of having a incremental backup, with a daily, weekly and monthly rotation. More concrete requirement: 1. On Sunday ... | You may want to try rsnapshot: http://rsnapshot.org/ It makes use of rsync and hardlinks to achieve system snapshots, which is basically what you need. It also comes in the repositories of Ubuntu. | 1 | 1 | 1,578 | 2010-10-24T10:57:33.757 | database_errors | serverfault.com | |
96,246 | How can I get SQL Server restore start and end time information? | SQL Server error log reports only the end of the restore (ah doc restore) How can I get the start time? Is it stored somewhere? | 1.The restore history information is readily available inside the msdb i.e. msdb.dbo.restorehistory You can use below T-SQL code to find the start time and restore information of a database over a required period. [CODE] Alternatively you can use the approach of default trace as mentioned by Chris as well. | 4 | 4 | 4,893 | 2015-03-25T18:56:15.660 | database_errors | dba.stackexchange.com | |
946,148 | Issue with configuring internet gateway on Debian server | VM2 connected to internet gateway (VM1) cannot access internet (VirtualBox) I have installed VirtualBox VMs on my Linux (Ubuntu) which has wired internet connection. I want to connect my VM2 (Server linux) to internet through a VM1 (Gate Linux), I tried multiple approaches, please see the attached picture, but still no... | I am pretty sure you also cannot ping 192.168.13.1 from your server as it has no route to 192.168.13.0/24. By default it would send requests uplink, and of course your internet provider wouldn't know where 192.168.13.0/24 is either. So you will have to add a static route on 192.168.0.1, specifying 192.168.0.1 as a rout... | 0 | 0 | 142 | 2018-12-20T16:28:55.220 | infrastructure | serverfault.com | |
867,863 | Configure Windows Server Performance Monitor to create new log for every day | I want to config my "Data Collector Set" to create a new log file each day instead of appending logs from this day to existing log file. I configured the schedule to run every day at specific time, and also started it manually but it does not create new log for each new day. | To have onr file per day, you can do like this. On my server I store on file per day during 7 days. It deletes the oldest files. In the properties of yours performances counters : You can prefix the name of your file and select his format like this example. And in the properties of your collector, you must select Resta... | 2 | 4 | 5,870 | 2017-08-10T05:35:26.793 | infrastructure | serverfault.com | |
284,468 | Highest cost section in Actual Execution Plan doesn't show any logical reads? | In the following query plan - https://www.brentozar.com/pastetheplan/?id=H1dwOCHed (it has 3 sections, the last one is the problem), there's a node at the very bottom that consumes 37% of the resources. This is the actual query plan, not the estimated query plan. However, the table it references does not show up at all... | The % cost is still just an estimation, even in an Actual Execution Plan. You need to look at the row source level statistics here to tell you how much time each step took. Judging by the XML, 274ms was taken up to the point of the hash join at node 7, 72ms of that was just the cluster scan of [CODE] (node 8) and 35ms ... | 2 | 6 | 369 | 2021-02-01T20:14:22.460 | database_errors | dba.stackexchange.com | |
1,036,065 | Access-Control-Allow-Origin value overrided for OPTIONS requests | I am trying to enable CORS for multiple subdomains, like was suggested here: https://serverfault.com/a/1022028/593976 It works fine, except for OPTIONS requests. No matter what I do when the request method is OPTIONS the Access-Control-Allow-Origin is set to *. Not sure if it matters but I am using ingress-nginx on Kub... | Answering my own question for those who may need this in the future... What worked for us was remove the following annotations: [CODE] And use this code on the snippet to set the headers dyanmically: [CODE] | 0 | 1 | 3,510 | 2020-10-01T21:20:46.817 | api_errors | serverfault.com | |
216,241 | how to regexp positive lookaheads in MySQL | I want to filter as regexp like "(?=nkf)(?=bom)" in MySQL. This example regexp works in PHP, JavaScript and other. This regexp means both words include "nkf" and "bom". I try the regexp in WordPress MySQL. [CODE] But I receive an error: [CODE] Can I use such regexp, in other words, positive lookaheads? | I've suspect that PHP used the [CODE] regular expressions by Philip Hazel while mysql used the [CODE] by Henry Spencer. They have different syntax so acceptable in the PHP can be malfunctioning in the mysql. | -1 | 0 | 1,762 | 2018-08-29T19:44:26.953 | database_errors | dba.stackexchange.com | |
211,035 | RDAC MPP driver erratic path fail-over errors | In my central syslog I can see a some instances ofo the following error from LSI's RDAC multi-pathing driver for Linux. [CODE] also some instances of [CODE] followed by [CODE] I get it from nearly all of my machines in the SAN during the day, but not all of them at once - usually one of them in 5 hours. All FC switches... | Well ASC/ASCQ 0x20/0x0 translates to INVALID COMMAND OPERATION CODE which might as well have been "INVALID FIELD IN CDB" e.g. this cmd is not supported at this target. What we don't know is what the command actually is that caused this fallout. Turning on verbose debug for this proprietary MP driver might help. The ven... | 2 | 0 | 2,502 | 2010-12-09T21:38:42.323 | infrastructure | serverfault.com | |
1,024,200 | Apache proxy direct subtree to another server | I have a server which currently redirects everything to a web app running in a docker container on the same machine. I would like to direct urls beginning /mail to an instance of mailcatcher running in another docker container. [This post editied to add new stuff I have tried] I got so far with [CODE] but I discover ma... | I gave up in the end, and created a new domain name to just do the MailCatcher stuff. My conf file ended up as: [CODE] Unfortunately that works only up to a point - it displays the main screen, and the message list, but any attempt to display a message fails with a 500 server error. | 0 | 1 | 260 | 2020-07-06T13:20:57.930 | pipeline_ops | serverfault.com | |
261,734 | Problem sending email to new user created with old email address | I removed one email address in the Exchange Server and created another one with the same address. Now I can not send messages to that address as it says no user exists, but I can see the new user in management console. I can't connect to server using this email..... I'm very new in Exchange Server and any help would be... | You probably have a cached entry on the Outlook client pointing to the old address. Reload your OAB and delete the old email address from the NK2 file cache (Open a new message, start to type in the address, when the drop down appears with the address, hit Delete). Then try to send it again. | 0 | 4 | 246 | 2011-04-20T14:00:20.203 | infrastructure | serverfault.com | |
1,155,863 | No DNS record or entry in Host file, but can still access IIS site? | We have a VM in azure (with no Public IP), that has a bunch of sites inside the IIS. These sites are only accessible from inside the VM or whilst being connected to our OpenVPN. There is no DNS record for these sites, and there is also nothing in the system's host file. For the life of me I can not figure out how this ... | It was a DNS Manager in a random VM... Sorry to waste everyone time lol | -1 | 0 | 59 | 2024-03-07T16:01:22.380 | infrastructure | serverfault.com | |
251,459 | Sequentially/parallel algorithm for extracting blob outer perimeter/contour length | I have labelled the connected components in a binary image and found their areas and bounding boxes. The components are not necessarily filled, and may contain holes. I wish to identify the component that resembles a pupil the most. For this, I would also like to extract ( only ) their outer perimeter lengths, for calc... | I assume that you are not pursuing GPU computation just for the sake of it. In other words, you are willing to consider CPU or "traditional techniques", comparing multiple techniques, and finally choosing whatever gives the highest performance, instead of having to stick to using GPU in order to make a thesis. I find t... | 2 | 2 | 2,634 | 2014-07-28T13:00:48.027 | api_errors | softwareengineering.stackexchange.com | |
229,802 | Website hosted at home pingable from outside, but not browseable from outside | I have a simple setup. Server at home has local I.P. 192.168.1.3 IIS is running on the server and the website is up. Windows firewall on the server has an exception rule for port 80 TCP Router has static I.P. XX.XXX.XX.XXX Router is forwarding TCP port 80 to 192.168.1.3 My domain registrar is my DNS host and is pointin... | There's always the chance your ISP is blocking traffic on port 80. You could try it on something like port 8080 to see if the traffic gets through then. Bear in mind that your ISP may be blocking port 80 because it's against the TOS to host a website - in this case, hosting your site on port 8080 might work, but you ar... | 1 | 2 | 288 | 2011-02-01T19:04:17.270 | infrastructure | serverfault.com | |
105,537 | Postgres is performing sequential scan instead of index scan | I have a table with about 10 million rows in it and an index on a date field. When I try and extract the unique values of the indexed field Postgres runs a sequential scan even though the result set has only 26 items. Why is the optimiser picking this plan? And what can I do avoid it? From other answers I suspect this ... | This is a known issue regarding Postgres optimization. If the distinct values are few - like in your case - and you are in 8.4+ version, a very fast workaround using a recursive query is described here: Loose Indexscan . Your query could be rewritten (the [CODE] needs 9.3+ version): [CODE] Erwin Brandstetter has a thor... | 13 | 8 | 25,736 | 2015-06-30T12:44:34.243 | warehouse_errors | dba.stackexchange.com | |
841,419 | Configure BIND to prefer IPv4 without disabling IPv6 | Our office network is internally dual-stack, but the connection to the rest of the Internet is IPv4-only. I've got BIND 9.9 set up on a Linux box to handle DNS resolution. Is there a way to configure BIND to prefer to use IPv4 when contacting other DNS servers without disabling IPv6? I'd like to leave IPv6 enabled so e... | Can't remember where I found this solution, but here it is In /etc/bind/named.conf.local: [CODE] It then pretends that IP addresses in the IPv6 range are non reachable and does it with IPv4 instead. | 9 | 2 | 8,222 | 2017-03-29T20:53:10.167 | infrastructure | serverfault.com | |
1,082,488 | X-Matching-Connectors exceeded allowed maximum | When sending some mails from Postfix to Outlook365 i receive an error: [CODE] To avoid this i have tried to strip all X-Matching-Connectors from my mails, but the this does not solve the problem, a matter a fact it seems like the outgoing mails does not have this header at all (i use postfix header_checks to remove ano... | We have also seen this from some of our Linode mail relays. The problem we've found seems to be down to sending mail from European relays to Microsoft 365 accounts also hosted in Europe. If we route mail to them via the US we don't see the bounces. We've raised this with Microsoft and have a ticket outstanding with the... | 3 | 1 | 817 | 2021-11-03T07:53:51.433 | infrastructure | serverfault.com | |
397,829 | bash + create proccess from function before program ended | the following short bash program described how to execute the func1 by process ( func1 & ) func1 is function that do some tests and verification on Linux machines And this program run after reboot from /etc/rc3.d I want to ask if it possible to create from func1 a process in spite this bash script will ended immediatel... | There is no general reason why what you are trying to do won't work. You will have to just knuckle down and start debugging the script. Try adding some debug messages to your func1() and capture the output like so [CODE] If that doesn't provide any information then expand the scope of your messages and redirects. | -3 | 1 | 83 | 2012-06-12T08:03:37.177 | infrastructure | serverfault.com | |
162,628 | Detecting and flagging Scheduled Tasks that have run incorrectly | I have a number of scheduled tasks that run on various Windows servers. They are mostly custom console applications which we have written. Currently, when the app has finished running, we send out an email to our operators to confirm that it is complete. This works fine in most cases, but the problem we've been having ... | I have yet to find a reliable way to see why scheduled tasks haven't run. It "should" throw errors into the event log but I've found that it doesn't always. You are probably going to be better off (i.e.: more reliable) building some error handling into your app. | 0 | 0 | 127 | 2010-07-21T13:26:47.233 | infrastructure | serverfault.com | |
930,072 | issues configuring nginx with node.js app | Trying to get nginx to proxy my node.js app and use a domain with it. I'm going to have many domains mapped to the server so i'm using separate [CODE] files for each server block. The issue i'm having right now is that I can only seem to get the default nginx page to show up when i go to the domain. I'll try to explain... | The location directive specifies a client request URI, not a file location on your local file system. So [CODE] means use this location when someone requests [CODE] Try changing it to [CODE] | 0 | 1 | 90 | 2018-09-09T01:07:43.213 | infrastructure | serverfault.com | |
260,808 | Scenarios for library that will be used by developers | I've started learning BDD but I think I have some misunderstanding of how to use it correctly. Currently I'm writing an API for a product. This API will be used by other developers only. Is it ok to write features and scenarios from the developer point of view? Something like: [CODE] Or maybe it's better to stick with ... | If the users of your deliverable were dentists, then a scenario would have to be written from the point of view of a dentist, and understandable to him. If the users are all programmers, then it must be written from the viewpoint of a programmer. The fact that programmers will also be the ones who create the system is ... | 1 | 2 | 77 | 2014-10-24T06:39:52.960 | api_errors | softwareengineering.stackexchange.com | |
997,454 | Connect to Linux device using 4G connection and dynamic IP address | Not sure where to ask my question. I might have many hundred Linux devices, each device uses a 4G connection to connect the Internet and each of them have SSH service running at port 22 and a dynamic IP address. My question is how do I use SSH to connect to each of them? Do I need to have them in a VPN? | In my case, I had several base stations to connect to the core network. I used openvpn. Openvpn server in the core and generated openvpn client certificates and installed them in the other devices. | 0 | 3 | 777 | 2020-01-03T08:25:57.057 | infrastructure | serverfault.com | |
685,889 | Server network setup with 2 NICs | We have a debian server server with 2 NICs. The Server should be configured with 2 IP addresses, one internal address for the communication in our LAN, and one public IP accessible from the internet. I'm thinking about 2 different setups: Use bonding to bundle the physical NICs to a logical one and then assign both IP'... | Your first setup has a serious flaw: if your switch does not support VLAN tagging, you are effectively mixing your public and private LAN segments. This is not a good thing. If your switch supports VLANS, you can use bonding + VLAN to use a common physical path (the bonded interface) to transmit two different logical V... | 0 | 0 | 149 | 2015-04-27T14:49:36.833 | infrastructure | serverfault.com | |
924,445 | Where to put log_format clause what is its syntax? | Is /etc/nginx.conf the correct place to add a modified [CODE] clause? I added the following just above [CODE] in /etc/nginx.conf: [CODE] [CODE] says all ok, and I restarted nginx. However, access.log still shows the original output columns. I purposely place that [CODE] to see the impact of the change but the exclamati... | You should specify [CODE] For all options you can refer to this doc - ngx_http_log_module | 0 | 2 | 214 | 2018-08-01T13:55:37.977 | infrastructure | serverfault.com | |
744,053 | Emails going to spam - Gmail / Hotmail / Outlook? | Right, sorry if I come across a frustrated but I'm actually raged that I haven't got this sorted yet. We moved to a dedicated server 2 months ago, from a shared server (which had no issues with emails), the moment we moved over, everything was configured but every single damn email went to junk - Ok, so I set up SPF re... | Things to check: Reverse DNS is set up correctly Your domain is not on any public blacklists Gmail has not blacklisted you If those things are addressed, you should be good to go. Keep in mind that you have no control of gmail's blacklist. You can follow these instructions to get your IP removed. | 0 | 0 | 347 | 2015-12-18T18:34:38.293 | infrastructure | serverfault.com | |
31,660 | cannot connect to sql server in single user mode | I have started my [CODE] [CODE] in [CODE] by appending the [CODE] to the end of the startup parameters for this instance in [CODE] . I have stopped [CODE] for the [CODE] instance. My account is a member of the [CODE] and I have attempted to login using [CODE] and keep getting an error that the service is in [CODE] and ... | Another alternative to recovering access to a SQL Server is outlined in this article, and doesn't require restarting in single user mode: http://www.mssqltips.com/sqlservertip/2682/recover-access-to-a-sql-server-instance/ Essentially, download PSExec , then run it with the following command line (fill in your location ... | 10 | 6 | 21,124 | 2013-01-09T15:27:47.753 | database_errors | dba.stackexchange.com | |
132,114 | Uninstall IIS on Windows 7 | I've just rebuilt my development machine and installed IIS. I then installed the Web Deployment tool and used this to restore my previously-backed-up websites to the clean machine. Unfortunately the restoration didn't work correctly/fully. I couldn't easily correct the problem, so I decided to uninstall/reinstall IIS a... | I finally managed to delete the conetents [CODE] folder, thanks to this page: http://www.howtogeek.com/howto/windows-vista/how-to-delete-a-system-file-in-windows-vista/ I actually had to modify the [CODE] command slightly to handle folders rather than files (/T switch, if I recall correctly). Once the folder was cleare... | 1 | 0 | 11,641 | 2010-04-13T20:44:34.970 | database_errors | serverfault.com | |
243,384 | IPSec software that can use multiple CPU cores | Can anyone recommend a good IPSec software that can use multiple CPU cores to achieve performance ~2Gbps on Linux dual-CPU quad-core E5620 Xeon setup (total 16HT cores)? I have tried OpenSwan and StrongSwan. The OpenSwan KLIPS stack runs only on a single CPU core. And the KLIPS+OCF crypto offload also seems to be very ... | [CODE] based crypto accelerator hardware has been in use in BSD for while now; quick Google shows Linux drivers as well. The Express DX 1845 card boasts 25Gbps throughput on their brochure, but YMMV, and obviously I'd want to talk to a product/sales engineer first to see if it would work for your purposes. | 7 | 1 | 3,498 | 2011-03-04T19:46:06.277 | api_errors | serverfault.com | |
206,321 | How do I deal with a difficult programmmer joining an open source project? | I have an open source script for a specific site (I'm trying not to call anything by name here) that I and a few other developers recently moved to GitHub. We've gotten several new developers since we moved to the new system, including one very active one in particular. However, this active one has started changing a l... | You can quit. Not the most constructive thing to do, but sometimes it's the only option. If you do, don't sit around and moan about how you had to give it up, take that energy and put it straight into something else - 'move on' in other words. You can fork it. There's no reason why you have to work with anyone. Fork, i... | 65 | 55 | 13,404 | 2013-07-28T16:26:18.293 | api_errors | softwareengineering.stackexchange.com | |
16,203 | encoding format of multilingual text while saving to database | I have website that save content in various languages. just to display that i have enter to database. Suppose i copy a French text in sql server table column it will display correct on my website, but when i try to save it through my website to table then it does not save text in same encoding as before insert method. ... | One suggestion would be to use [CODE] type column. You can then store UCS2 data in that column. The width of the column can be decided based on the data. | 2 | 1 | 645 | 2012-04-07T12:11:26.513 | database_errors | dba.stackexchange.com | |
244,837 | Extract a number from nvarchar column | Hoping you can help me. I have a column in a table called indicator. (Data type: [CODE] ) Within this column I have some numbers the length of this number is 6 characters in length. The total the Length of indicator column can vary from 0 to 56 Characters long. Below is small Subset of the data. What I would like to do... | However I am presented with the following error "SUBSTRING": invalid identifier" The provided query should be able to run, here is a test on SQL Server 2017 Unless your tag is wrong and you are using [CODE] ? Then you would get an error like this: ORA-00904: "SUBSTRING": invalid identifier DB<>Fiddle If that is the cas... | 1 | 2 | 1,538 | 2019-08-08T08:23:55.003 | warehouse_errors | dba.stackexchange.com | |
334,846 | Mysql : dumping a database fails | I regularly backup my database using the command: [CODE] Today, this started failing repeatedly after ~1.9Go written to output file: [CODE] I tried some additional arguments proposed in other posts ( [CODE] ) with no success. Even exporting this single problematic table instead of the whole DB always gives the same err... | It clearly was a file corruption. I forged a solution that worked: Stop any instance of application server that might me using the DB. Using bisection, narrow down the problematic interval [CODE] that is corrupted in [CODE] by exporting subintervals. Example (supposing there is a time column named [CODE] in [CODE] ): [... | 1 | 0 | 54 | 2024-01-14T10:54:40.677 | data_quality | dba.stackexchange.com | |
508,441 | Memory usage on Windows Server | Our server is always very low on available memory. And yet the top processes only take up a portion of what should be available on our server (with 10 GB of memory). I ran [CODE] to get a listing of all of the processes and added up the total amount of memory they were using. The total memory usage was 6GB , with aroun... | Memory management is already a complex topic, and unfortunately, Microsoft has altered its exact definitions and terms regarding different types of memory with pretty much every single release of Windows. So trust me, you aren't the only one confused by it. When you use tasklist, tasklist shows you the Working Set that... | 3 | 8 | 4,957 | 2013-05-16T21:00:29.987 | infrastructure | serverfault.com | |
301,957 | Is there any issue with changing the model database to SIMPLE recovery model? | The model database is in FULL recovery model. I know that new dbs follow the model db template and so will be automatically in FULL recovery model. So that the new dbs are automatically in SIMPLE model, I want to change the recovery model of the model db to SIMPLE. Is there any concern with changing the model database ... | In a word, no. That's the whole point of [CODE] , it's a template for creating new databases. The only caveat is that it's used in [CODE] creation on startup, so messing it makes starting SQL Server a bit tricky. Depending on how database deployment is being done, it might be that changing the recovery settings in [COD... | 0 | 1 | 138 | 2021-11-01T04:07:37.553 | warehouse_errors | dba.stackexchange.com | |
310,162 | Routing 1 LAN + 2 WLANs + 2 WANs (failover) with DD-WRT on WRT54G2 | I've installed DD-WRT v24-SP2 micro on a Linksys WRT54G2 v1.0, and I'd appreciate some help on setting up a not-so-trivial network. I've studied the documentation (notably http://www.dd-wrt.com/wiki/index.php/Default_Configuration_Overview , which describes the router's ports), but I can't figure out by myself how to a... | Multiple WANs on DD-WRT look here and maybe this will help as well. Dual WAN fallover: here The tutorials look very detailed and documented. Using them or slight variances should get you what you want. I use DD-WRT myself and it has been a great router for me. | 7 | 3 | 8,778 | 2011-09-11T05:11:11.760 | database_errors | serverfault.com | |
511,334 | Why can't puppet find my defined resource? | I have a defined resource in /etc/puppet/modules/autofs/manifests/mount.pp (from the pdx-cat/autofs module at https://forge.puppetlabs.com/pdxcat/autofs ). I have a module in /etc/puppet/modules/sheffield/manifests/autofs/net.pp which is trying to use the autofs::mount defined type. [CODE] But when the client attempts ... | Since [CODE] gives no error, you should be able to use the same [CODE] prefix on the define: [CODE] If it doesn't work, there is probably an error in modulepath or other related settings. [CODE] line is actually not needed. The mount-define includes all necessary classes. | 4 | 1 | 9,911 | 2013-05-28T10:56:13.137 | pipeline_ops | serverfault.com | |
282,447 | Security Permissions for Roaming Profiles, Folder Redirection and Home Drives and Automatic Creation | Looking at changing the way we manage roaming profiles, home drives and folder redirection. Our last sysadmin was lazy and set everyone access to everything to get around the headache of setting up permissions on folders. I am wanting these folders to be automatically created when I set the path in AD. At the moment th... | Without parsing the permissions you listed (because it makes my hear hurt) I would suggest following this article: http://technet.microsoft.com/en-us/library/cc737633(WS.10).aspx In addition, in Group Policy there's a setting to add the Administrators security group to roaming profiles which will grant the Administrato... | 0 | 1 | 5,244 | 2011-06-21T02:41:15.607 | infrastructure | serverfault.com | |
597,895 | Root certificate authority works windows/linux but not mac osx - (malformed) | I have created a self-signed root certificate authority which if I install onto windows, linux, or even using the certificate store in firefox (windows/linux/macosx) will work perfectly with my terminating proxy. I have installed it into the system keychain and I have set the certificate to always trust. Within the chr... | The openssl configuration defaults an intermediate certificate to have [CODE] however in my case since I am using the intermediate certificate as an end user certificate, I need to make it [CODE] . On windows/linux/firefox this doesn't seem to matter, but security settings on a mac make it required. | 1 | 0 | 1,054 | 2014-05-22T18:24:07.897 | infrastructure | serverfault.com | |
306,103 | Postgres timezone issue when using postgres_fdw | I have a view stored on a foreign Postgres server (v 9.3) which pulls all of the data that was posted for the day. I have foreign tables (using postgres_fdw) stored on my local Postgres servers (version 10.5 and 14.1) that point to the foreign view. I setup pg_agent to pull this data in each hour and upsert it into a t... | After some tinkering I was able to solve my own problem. I had assumed that a view being used as a foreign table with the Postgres FDW would return the same results as if I ran the query on the remote server. I tried various WHERE comparisons with timestamps and they all returned normally on the foreign server. I final... | 1 | 0 | 203 | 2022-01-15T01:54:36.480 | warehouse_errors | dba.stackexchange.com | |
540,910 | joining esxi to active directory domain fails due to incorrect credentials even though credentials are correct | VMware vSphere ESXi 5.1.0 patched to 1157734. Using the vSphere Client 5.1.0 1064113 to connect to the ESXi host directly. In ESXi DNS and Routing the Host Identification Domain is set to test.local and in the Security Profile the Firewall outgoing connections for "Active Directory All" are enabled. In AD a user name e... | There are a few things you could try/check: Have you created a Global Security group in Active Directory with the name ESX Admins? ESXi uses this group to determine who is allowed to logon to the server. Add users to this group to grant them logon permissions. Are the time and date settings set correctly? If there is m... | 0 | 1 | 6,396 | 2013-09-23T07:39:25.993 | api_errors | serverfault.com | |
787,421 | Mounting Google Compute persistent disk at boot | I have a new google compute engine instance running CentOS6 with two persistent storage volumes attached. I have followed the instructions here: https://cloud.google.com/compute/docs/disks/add-persistent-disk My attached volumes are: [CODE] /etc/fstab looks like: [CODE] note: I realize that I am pointing at the disks d... | Configuration of your [CODE] is correct except [CODE] and [CODE] values for [CODE] . Setting [CODE] value for a non-root file system might circumvent auto-mounting under some circumstances. The recommended values for [CODE] and [CODE] are described in manual of [CODE] : The fifth field , (fs_freq), is used for these fi... | 0 | 1 | 686 | 2016-07-01T15:09:21.627 | infrastructure | serverfault.com | |
419,341 | How to map "mv" operation to HTTP verbs? | In designing a RESTful api the problem arises as to how best to allow resources to be moved between collections. Renaming a resource could be done by using [CODE] but this is not the same thing as moving the resource between collections. Also it is not clear whether it is the resource or the collection which should be ... | Is there a RESTful way to implement this whilst maintaining atomicity of the operation? Short Answer Just use POST Medium Answer Seriously; it is okay to use POST. POST serves many useful purposes in HTTP, including the general purpose of “this action isn’t worth standardizing.” -- Fielding, 2009 Long Answer REST doesn... | 8 | 13 | 743 | 2020-11-25T15:25:02.583 | api_errors | softwareengineering.stackexchange.com | |
418,502 | Multiple XP machines bluescreening simultaneously | What, other than magic, could cause multiple similarly configured XP Pro machines (non-domain joined, windows update disabled, no scheduled tasks) to bugcheck within 15 minutes of each other? The error message recorded in the event log is reproduced below: Error code 10000050, parameter1 bc6ffff0, parameter2 00000000, ... | I think the first thing to do is to look up the reason for the bluescreens - I swear by whocrashed and bluescreen view - these either interpret or look up the precise errors easily. I'd look at each system seperately - It might be a co-incidence that these systems crashed together. If its a one off incident it may not ... | 1 | 3 | 142 | 2012-08-17T07:08:30.647 | data_quality | serverfault.com | |
745,844 | Backing up 2 Exchange Servers in a DAG | A little explanation of our setup.. We have an Exchange 2013 in our main site with 1 Database Active on it and then we have a DR Exchange 2013 with the same Database but as passive. Users are currently connecting to both servers since the DR is a connected via a layer 2 bridge and the Main and DR sites are on the same ... | Basically the issue was found to be because there was some minutes difference in the local server time on both servers.. After the time was synced with the local AD, the issue seems to be resolved and also the logs have been truncated successfully. Thanks for your Help ;) | 1 | 1 | 662 | 2015-12-29T22:04:40.780 | database_errors | serverfault.com | |
344,105 | Outgoing mail from linux not being delivered | I can't seem to send mail through my php scripts or through the linux console on my Centos 5.5 LAMP server, when the email is addressed to go to a domain that is hosted by my box. I think it is something to do with the email routing internally, or the DNS servers that the box uses not reporting the correct MX records. ... | If you run [CODE] (test mode for sendmail) and then type [CODE] you will see that the domains that you have problem with are listed. This is because sendmail believes that the mail addressed to said domains must be delivered locally in the box, instead of sending it to Google. So what you have to do is to modify your s... | 5 | 6 | 3,962 | 2011-12-26T00:32:07.360 | infrastructure | serverfault.com | |
250,788 | Optimize Large Query Performance | I have this query that I can't seem to speed up at all. My running theory is that I need to fix some indexes or something. I am running the database through the Azure and that does auto indexes, so I haven't had a whole lot of experience with indexes. When I try to take stuff away, to see if it goes any faster, I get a... | Since only the estimated plan is present, these are going to be some guesses. This part [CODE] Creates a filter far in the execution plan: on this part: [CODE] You could try adding a union to split them up, but due to the amount of joins I would try using a temp table to split some logic in two pieces. I don't know you... | 0 | 1 | 113 | 2019-10-10T18:00:48.753 | warehouse_errors | dba.stackexchange.com | |
299,194 | Intel AMT - enable vnc via linux | All our old servers have supermicro boards and we used IPMI to make out-of-band managment. Mostly we used it for shutdown/restart and sometimes change some settings via the sol/kvm console. As it happens one of our new servers has an Intel board with vPro/AMT. We enabled it and were really disappointed from the webgui ... | We have need of this as well, and found what to do. Basically, you need to use the wsmancli ( Cross-Vendor Web-Services Management API ) package to assist you. I've included a template script to get you going. There are other utilities to operate with WS Management, search around if interested. Install on Ubuntu: [CODE... | 9 | 14 | 5,698 | 2011-08-09T12:14:08.227 | infrastructure | serverfault.com | |
950,580 | Azure/Office 365 Migration from third party to AD Connect | We currently have Office 365 and our Azure Directory sync is managed by a a third party service who do not use AD Connect but their own API. Once we configure ADFS our end and setup AD Connect will this break all the accounts on Azure since they have already been populated from our AD or will this re-enable the sync ag... | See there are 2 things to consider. AD Connect just sync the object to AzureAD. Your auth for the users is a whole different story. What I am saying you can keep syncing your using your custom sync, and use ADFS for auth. You can also break your current user sync and start sync users with AD Connect. | 0 | 0 | 102 | 2019-01-24T14:24:58.980 | infrastructure | serverfault.com | |
211,633 | Return both one value and one column from pl/pgsql function | I wish my pl/pgsql function to go fetch and return two informations in my database in a single connection: one vector containing data whose type is unknown at call time (an array) one string value containing information as how to interpret this data Here is an illustration of the function architecture: What should I us... | but [CODE] is not possible like this, right? How to do? Right, not like this. But this is possible: [CODE] Don't quote the language name [CODE] . Assuming you want to return a single row . For returning 0-n rows (a set ) you would use [CODE] in combination with [CODE] or [CODE] or similar. See: Difference between retur... | 2 | 3 | 891 | 2018-07-08T10:21:21.297 | warehouse_errors | dba.stackexchange.com | |
180,029 | Sql Server 2016 maintenance plan with weekly full backup and 4h differential backups | I am new to SQL server management, I'm mostly a developer tasked with managing a SQL Server :-( That aside, please bear with me. Right now I have made a maintenance task to create a [CODE] every day at 2:00 am, and afterwards delete any backup older than 2 days. That however leaves a whole workday worth of data to be l... | Sounds like you are using maintenance plans for your Full backup. If so, make a new plan with a Backup task in it and change the backup type in the GUI to Differential, then set the schedule. As RDFozz says, consider also using t-log backups every 15-60 minutes throughout the day. If not, and your databases are in FULL... | 2 | 1 | 1,450 | 2017-07-17T15:45:49.123 | database_errors | dba.stackexchange.com | |
907,261 | How to host main domain with one cert, subdomains with another wildcard cert on single apache instance | I've searched around SF and understand from other posts that with TSL one can have multiple SSL/TSL certs for different subdomains on a single Apache instance. I'm wondering if/how I can host the main domain with one cert and subdomains of that same main domain with a separate wildcard cert. I'm working on a site that ... | You should create two virtual host files to store virtual host information in separate files, copying the configuration from the default virtual host file. For more information see How To Set Up Multiple SSL Certificates on One IP with Apache . As I understand that you are handling multilingual sites as primary English... | 1 | 0 | 914 | 2018-04-11T22:21:02.177 | api_errors | serverfault.com | |
221,005 | Incomplete link for create account request email from bugzilla | The email i got has incomplete link , i.e. a link without host name & http:// for creating account, how can i set my custom host with http:// for every link sent from bugzillain email ? Please reply fast as i m in the middle of the configuration process. | you need to set the [CODE] parameter. | 1 | 1 | 119 | 2011-01-11T07:56:32.137 | infrastructure | serverfault.com | |
817,961 | Centos 6.8, Apache 2.2, stable for years suddenly mod_rewrite seems to be failing | I've got a setup that has been stable for years. Suddenly I'm getting File does not exist in the apache error log on items that should be getting processed by mod_rewrite. Last night I did a package update on php/mysql (not apache) but I rolled back and it's still having the issue. .htaccess and apache config hasn't be... | Here's what I did to fix it. I ditched all the FilesMatch/ForceType stuff. I renamed all the files that didn't have extensions to .php I changed .htaccess to include two rules per file (which can probably be combined down into one) [CODE] [CODE] [CODE] The other problem I started having was the ssh2 pecl extension was ... | 3 | 1 | 155 | 2016-11-30T18:30:25.317 | database_errors | serverfault.com | |
330,323 | The fastest and most memory efficient way to reset PK column values for a table with over 5 mililon records | I have the following table schema: [CODE] For tests, I've added 5 million rows into the table. Imagine you've been using this table for some time and [Id] column right now has 'gaps' between values for example (100, 120, 300, 3400 and so on). I know that it should not be the case, but because of some bad design desicio... | The biggest bottleneck in your scheme is rebuilding the clustered index, followed by the single threaded and fully logged [CODE] . Avoiding both of those might offset the cost of an export and import. It will certainly use less memory and generate less log. If you have enough fast local storage available, an alternativ... | 0 | 1 | 148 | 2023-08-15T12:42:00.387 | database_errors | dba.stackexchange.com | |
1,034,080 | HTTP status code in an https domain | I am reading about the error 504 Gateaway Time-out error. All the websites I have found, relate the 504 error to HTTP status code. the error is displayed if visiting a https website. According to what I learned in a computer security curse https is more secure than http. However I have only found HTTP status codes. Why... | Regarding status codes, HTTPS is no different to HTTP: the protocol itself (and thus the attached status codes, error codes, syntax, handling, …) remains untouched. HTTPS is simply HTTP where the protocol is encrypted (either via TLS or—previously—via SSL), so there is no change in the content . | 0 | 2 | 269 | 2020-09-16T08:38:21.847 | api_errors | serverfault.com | |
748,987 | Apache graphs and data not updating in Munin on Ubuntu 14.04 | So I am rebuilding a server from Ubuntu 12.04 to Ubuntu 14.04; not doing the upgrade path because I would rather build from scratch in this case. I have installed Munin as I have done before in Ubuntu 12.04 like this: [CODE] Then I enabled the Apache modules for Munin like this: [CODE] Then I restarted the Munin node l... | I solved this! Getting frustrated as heck about this issue, I ran a Munin module suggest command like this: [CODE] In the piles of output here are the relevant Apache related lines: [CODE] So the modules are active, but that [CODE] ? What’s up with that? Did some Googling and found this article that explains it : It's ... | 4 | 8 | 3,561 | 2016-01-14T05:25:01.607 | infrastructure | serverfault.com | |
613,467 | Password case sensitivity when upgrading from SQL Server 2000 to 2005 | Anyone please help! Today is 3rd day that I'm banging my hand to solve this problem. So the situation is, I've inherited a project which worked on SQL Server 2000, later client decided to upgrade the server. Now its SQL Server 2005, and here's a problem: The SQL users' password in SQL Server 2000 is case insensitive an... | I don't think there's anything you can do to change SQL server's behavior regarding password sensitivity. I think you first would want to be sure you've exhausted all efforts to locate the source code for those modules. Otherwise, Here are a couple of ideas: Use a hex editor to edit the binary executable files to chang... | 1 | 4 | 735 | 2014-07-17T21:29:37.863 | database_errors | serverfault.com | |
255,868 | Best free network monitoring solution for Linux | Possible Duplicate: What tool do you use to monitor your servers? Hi, I'm a bit of a nooby with Linux, and I managed to set up my Ubuntu machine with Webmin and Virtualmin. Now, I'd like to have a graph tool which monitors the network, showing the different domains and protocols/ports. Webmin provides one but it sucks ... | ntop is pretty easy to setup. It'll run as a webserver (on a non standard port so 127.0.0.1:2000 or whatever). Should be pretty easy to setup for you. | 0 | 2 | 303 | 2011-04-05T13:34:33.567 | pipeline_ops | serverfault.com | |
187,138 | Is my restore process being badly affected by this third-party non copy-only backup? | This question may read like a duplicate, but is situation-based, and is posted from confusion applying the knowledge from other answers. I've read dozens of articles (among 1 , 2 , 3 , 4 ), but am finding conflicting opinions (based on my understanding, which is now suffering from information overload, or perhaps not i... | Maybe this will help you understand. Let's do a demo! We'll make a dummy database with some dummy data. [CODE] Now we'll take one full backup. Just one. Promise. [CODE] Now we'll make some changes and take some log backups. Just like real life. It's fun. No drinking yet. [CODE] Now we'll take an 'out of band' full back... | 7 | 9 | 857 | 2017-09-28T09:43:03.633 | data_quality | dba.stackexchange.com | |
358,025 | HP ProLiant DL380 G3 Running Windows Server 2000 has crashed between 6-7:30am for the past 5 days | I have a HP ProLiant DL380 G3 running Windows Server 2000 that has been crashing everyday between 6-730am. This started when I changed out a failing hard drive 6 days ago. I have looked at the scheduled tasks which does not have anything pertaining to this issue. Below are the only things I see in the system log and so... | The first thing to understand here is that Windows 2000 is no longer supported by Microsoft. New security vulnerabilities are no longer patched. Windows Update on this server is now meaningless. That alone means it's well past time to move away from this server anyway. The second thing to consider is that, given the co... | 5 | 8 | 932 | 2012-02-08T15:13:53.957 | api_errors | serverfault.com | |
918,126 | systemd deletes sub-cgroups started by other services | I have a service (HTCondor batch system), which is started as service unit within cpu,cpuacct and memory cgroup slices (CentOS 7 @ 3.10.0-*). The service starts sub-processes (~~> batch jobs) for which it creates sub-slices, i.e., subdividing its parent resources. Without further interfering, the started processes are ... | It looks like upstream since fixed this by specifying the [CODE] directive (commit 890186d82a – though specifying a subset of controllers would be a bit more elegant than simply [CODE] IMHO). If that update isn’t propagated to the CentOS package, you can apply it locally with the following command: [CODE] | 1 | 1 | 805 | 2018-06-25T16:37:50.050 | infrastructure | serverfault.com | |
984,120 | Using VLAN, IP A shows (and uses) also raw-device addresses | Setting up a cluster with a private IPv4 VLAN, we have the following problem: IP A says: [CODE] How can we remove the raw-device-IP-addresses from the VLAN-device? This is our /etc/network/interfaces: [CODE] | It seems like someone's misconfiguration. Use the [CODE] to remove this address from vlan interface. | 0 | 0 | 431 | 2019-09-13T12:00:28.773 | infrastructure | serverfault.com | |
13,179 | Not able to execute 700 Test Cases on Firefox and Chrome | I created page object model framework using Selenium Web Driver,TestNG and ANT. Problem: Single Test case is executed successfully but while executing them together some test cases fail. Reason: Network issue. Browser is not able render DOM quickly which creates [CODE] , [CODE] etc. Server is taking time to respond to ... | You need to troubleshoot / evaluate below options Is your test machine having low configuration or in a different network ? If you run tests on machine which has Application installed is it faster ? Can you batch it and run tests ? instead of running it altogether ? Can you distribute the cases. Compile the the project... | 0 | 1 | 258 | 2015-05-24T13:10:53.697 | data_quality | sqa.stackexchange.com | |
989,452 | Degraded Array. RAID 6 with three disk failure | I have an array of disk with RAID 6 and 16 Drives. Days ago three disk failed and the Array was marked as Degraded. I cannot access the data and I cannot boot into the Operative System. I need access to the data but I cannot do anything. Any advice? How can I recover or access the data? Could I use a Live cd to boot an... | As said before, if more than two disks in a RAID-6 array die, the array is unrecoverable. However, three simultaneous disk failures are quite an unlikely event: it might very well be a case of a faulty enclosure, backplane and/or controller. You should try removing and re-inserting the disks, replacing the controller a... | 12 | 42 | 10,278 | 2019-10-26T00:04:13.920 | infrastructure | serverfault.com | |
1,117,091 | Error 502, phpinfo() directing to 7.4 when 8.1 is installed (File not found) | I'm setting up a web server. I have a freshly installed Ubuntu 22.04, Nginx (welcome page works), and php-fpm which installed php8.1 and php-fpm8.1. To test PHP, I created a /var/www//info.php which just includes: [CODE] Browsing to this page gives Error 502 - Bad Gateway . Checking /var/log/nginx/error.log shows this:... | What is causing the request to look for php7.4? The socket path in your nginx [CODE] configuration (part that handles php files requests) that you seem to omit completely, but that's the key. Determine which vhost handles the request, then find the appropriate config file or snippet and fix the socket path to the php-f... | 0 | 1 | 387 | 2022-12-01T23:51:59.970 | infrastructure | serverfault.com | |
111,166 | Need help with directory structure in porting codebase to SVN | Currently we've got a directory structure that looks like this +Inhouse App A +Inhouse App B +Core files for inhouse app B +Inhouse App C +Something that never came to fruition +Forgotten Server Project A +Forgotten Common Files A +Authentication Server +Update Server +Main product Version 5.5 --+[DLL1] --+[DLL2] ... -... | First of all, the structure of a Subversion repo is just a directory tree. The use of 'trunk', 'branches' and 'tags' directories is just a community convention. As a any convention is better for you to stick to it, but not mandatory. That said, I use to have ONE repository for an application and inside this repo, the c... | 4 | 6 | 674 | 2011-09-27T20:12:04.697 | api_errors | softwareengineering.stackexchange.com | |
422,834 | mod_rewrite rule not working as expected | i'm trying to define a mod rewrite rule which should work like this: contact.php -> index.php?page=contact my htaccess file has the following content: [CODE] unfortunately this gives me a 404. any ideas what's wrong? thanks | Try this: [CODE] This should capture a request for /something.php and then load index.php?page=something. So long as the "something" only conatins lowercase or uppercase letters (a to z), underscores or hyphens. Add or remove characters if you need a different set of rules for what can make up the name of a valid page. | 0 | 1 | 53 | 2012-08-29T16:13:48.360 | infrastructure | serverfault.com | |
89,903 | Validating Excel Counts against Database Inserts | I have to design a SSIS package which uses Excel Source files and inserts the data into SQL Server Database. The problem is that I've created the packages top transfer data, but now I need to validate whether the Number of Rows in Excel File and the number of Rows in Database are the same. usually a single package has ... | Not really. Since Excel isn't a proper client server database, you can't ask it how many rows are there before bringing them in. You could bring them into a staging area and count rows as they come in. If they don't match and you need to handle that with a business process, the destination is untouched. If they meet yo... | 0 | 1 | 529 | 2015-01-22T10:23:39.790 | database_errors | dba.stackexchange.com | |
446,303 | Is tag dispatch as used in CppCoreGuidelines T.65 antiquated? | The CppCoreGuidelines contain the following: T.65: Use tag dispatch to provide alternative implementations of a function [...] Example [CODE] I feel like this design is extremely antiquated, and modern C++ has better tools to offer as a replacement: Alternative - constexpr if dispatch [CODE] This alternative: probably ... | When evaluating the approaches, keep this in mind: The Tag dispatch example suffers from being contrived, trivial and self-contained for illustration purposes. In the cases it is most appropriate, your code either offers the tags for extension, or just consumes them, cutting the code in half. The explicit dispatch by [... | 5 | 1 | 193 | 2023-07-01T07:49:19.020 | data_quality | softwareengineering.stackexchange.com | |
276,179 | Troubleshooting linux server reboots? | I have a Linux server I've just set up, debian squeeze, 2.6.32-5-amd64, and over the past week it's rebooted three times, twice in one day. There was no power outage that I am aware of (and it's running on a UPS), and there are no errors in syslog, besides a few to-be-expected ones on bootup to do with clearing out ent... | That may be some hardware problem; the most common are failed RAM and overheating. You could install [CODE] to monitor motherboard and CPU temperature; and run [CODE] to check your RAM and CPU cache. | 6 | 2 | 7,943 | 2011-06-02T04:57:53.297 | infrastructure | serverfault.com | |
43,742 | How to avoid DFS conflict problems on Windows Server 2003 R2 SP2? | I maintain two Win 2003 servers connected via a VPN with data duplicated via DFS. As it stands the customer is complaining of losing data - normally because one person in each office saves a version of the file, causing one copy to silently go to the conflicts folder. The ideal would be to lock access to a file at both... | There's no built-in functionality to do what you're describing. DFS replication is really nice, but it doesn't excel in the kind of situation you're talking about. You could code something up to parse the ConflictandDeletedManifest.xml file (it would have to run as an "Administrator") and report against it. Further, be... | 1 | 1 | 2,037 | 2009-07-21T19:59:35.057 | data_quality | serverfault.com | |
232,288 | How to prevent the vicious circle of testing via customer | I recently asked this question and this comment and made me ponder the whole process of releasing an update to the customers. The next update for our software is planned and the previous time it went horribly wrong because of regression, bad testing, etc... This time we want to prevent the scenario that we test via our... | There is more to testing than unit testing. You need to test the new features and bug fixes you created manually in a testing environment that mirrors a real-world installation as best as possible. Having one of the other developers 'review' changes is not an appropriate level of testing for two reasons. First, that im... | 4 | 16 | 977 | 2014-03-13T18:43:27.730 | api_errors | softwareengineering.stackexchange.com | |
39,019 | SSIS Expressions Date Format get just YY for year | I found many articles on date formatting expressions in SSIS but I couldn't find one that specified how to get just the Year such as 13 for 2013 or 12 for 2012... I tried [CODE] but it gives me the same result as [CODE] I was thinking of a dirty/hack fix which would be something like [CODE] but it just doesn't feel rig... | Use the modulo operator %: http://technet.microsoft.com/en-us/library/ms141815(v=sql.100).aspx [CODE] Your next problem may be that this will still be be a number and thus will not have leading zeros. What is your underlying problem? What are you trying to format a date as? You would then just use [CODE] as part of you... | 2 | 4 | 15,680 | 2013-04-01T21:14:48.113 | api_errors | dba.stackexchange.com | |
305,891 | How can I get SQL Developer to compile code that includes code within the DDL? | I am preparing SQL scripts that can deploy a set of code to a target environment with minimal fuss. I want the executing DBA to just sign on to the target database and execute "install_release.sql". That file "includes" (via the "@" command, which is supported by SQL Developer ) other scripts: [CODE] This part of the p... | [CODE] The START command and it's "@" equivalent will invoke a complete, external PL/SQL script. "@" and START are not part of the Oracle PL/SQL syntax, so you can't use it inside other PL/SQL DDL constructs. You should construct either a single script that contains everything or a top-level, "controller" script that i... | 0 | 1 | 540 | 2022-01-10T14:44:16.603 | database_errors | dba.stackexchange.com | |
434,426 | Working with different PHP version at the same time, php_value extension_dir not working? | I need both PHP 5.4.7 and 5.3.17 running on Windows 7 x64 with Apache 2.2.23. This is my virtual host configuration: [CODE] The [CODE] and [CODE] directives work fine and using [CODE] inside my script prints the right PHP version. But I need to load extensions, and this is where it fails. [CODE] should be [CODE] but it... | There are a couple of things that are off here. Running two versions of PHP simultaneously under the same Apache process is usually done via CGI. But you seem to be trying to load PHP as an Apache module (why is that LoadModule line in a VirtualHost)? [CODE] , and related directives, only work when PHP is run as an Apa... | 1 | 3 | 1,552 | 2012-10-03T13:20:04.150 | infrastructure | serverfault.com | |
1,014,610 | Squid Proxy .pid file disappears after few seconds on startup | I have two virtual Ubuntu Servers which are equal and both have Squid Proxy on them. The problem is that Squid on server startup creates .pid file, but after 10-20 seconds it disappears and I have to manually type: [CODE] Then it works as it should and .pid file does not disappear. I want my Squid to start on server st... | Solution for this problem is: We have to create systemd service, so the first thing is to create a service [CODE] Then begins case sensitive part: [CODE] Then we have to go to the [CODE] And now we are able to start squid service by typing: [CODE] And to make this service start every time when we start server we have t... | 0 | 0 | 2,860 | 2020-04-28T13:07:38.540 | infrastructure | serverfault.com | |
283,606 | Intel RAID Controller Rebuild RAID 5 While Windows Running | We have a RAID 5 array (3 drives) one of which failed this morning. If we take that drive out the system can boot into Windows Server '03 fine. Problem being we don't have anywhere to go if another drive fails. We have a good drive which we plugged into the failed one's slot while the server was in Intel RAID BIOS (not... | It should be rebuilding while Windows is running, but rebuilding while data access is happening is a lot slower than rebuilding while no data access is happening. Your RAID card vendor can give you more information. | 1 | 2 | 605 | 2011-06-23T20:56:45.050 | infrastructure | serverfault.com | |
40,754 | How can I set Timeout by View, User or Role? | For SQL 2008 R2, data views. Looking for a timeout control using Microsoft SQL Server Management Studio (SSMS) that is NOT at the Server Level, and/or is NOT dependent on query timeout as set by application initiating the query. I have been unable to find timeout controls by View, User or Role using SSMS. There are ser... | Given the constraints and in addition to query optimizations and tuning. Three stage approach, to limit potential conflicts when reporting from production server – Use Resource Governor to limit report logins to Max 20% Min 0 Use an Operating Level Agreement (OLA) to require applications reporting from production datab... | 1 | 3 | 5,227 | 2013-04-23T18:11:32.423 | hadoop_errors | dba.stackexchange.com | |
934,100 | Amazon RDS DB Migration - Replication Task cannot connect to AWS RDB but I can | I am doing a proof of concept to migrate an existing SQL Server database to Amazon RDS. I set up the Amazon RDS database (I tried with SQL Server and Aurora - the result was the same in both cases). To perform the migration, Amazon sets up the replication task. This task can connect to the source database (which is on ... | Couple of possible reasons come to mind... You talk about SQL Server (= Microsoft SQL Server) but the error message is about MySQL - are you sure you've got the correct engine configured? I assume you use DMS (Database Migration Service) - if your DMS instance is in a VPC does the VPC have connectivity to the RDS? Is t... | 3 | 4 | 7,579 | 2018-10-05T06:11:36.370 | database_errors | serverfault.com | |
878,546 | Is my server's hostname conflicting with my website? | I'm trying to figure out if the hostname I have set for my cloud-based web server is conflicting with my public-facing website in any way. I've researched the topic and found suggestions for proper naming conventions (See here: 1 and 2 ), but no definitive answer on name conflicts. Here's my specific situation and ques... | Your cloud-based webserver would only conflict with your public facing website if your DNS records aren't properly set for each subdomain. Based on your description, your DNS records should reflect: IPV4 / IPV6 A records for the subdomains server.example.com and server1.example.com IPV4 / IPV6 A records for the wildcar... | 2 | 1 | 310 | 2017-10-15T14:13:27.717 | infrastructure | serverfault.com | |
117,394 | Are there issues with using SELECT * in a view definition? | I am creating a number of proxy views for views in a separate database. To avoid defining the view in two places, I want to use SELECT * to create the proxy view. I've searched for reasons not to do this and didn't find any. Anyone have an opinion on using SELECT * for a view definition? | Yes, there are reasons to not use [CODE] in a view. The most important is that SQL Server caches the metadata of a view's output, and it doesn't magically update if underlying objects change. Here's a quick example to demonstrate: [CODE] You need to force SQL Server to refresh its view of the view. [CODE] Now why do yo... | 6 | 17 | 7,729 | 2015-10-08T12:24:01.173 | warehouse_errors | dba.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.