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 |
|---|---|---|---|---|---|---|---|---|---|---|
305,162 | MariaDB index chosen differs on ARM and x64 based procesors | When I have been using mariaDB on apple M1 chip, I discovered some diference between index chosen in select statement versus x64 server linux system with this query: [CODE] The result on Apple M1 chip is: The result on x64 Intel chip on Linux is: When I run the select statement without EXPLAIN, then on the M1 chipset t... | Suggested indexes: [CODE] A likely reason for a difference is the number of rows in some of the tables. Or [CODE] join_buffer_size`. Is any of those tables a "many-to-many" table? [CODE] is especially hard to Optimize. Maybe a [CODE] would help. For further discussion, please provide [CODE] for each table. | 2 | 0 | 39 | 2021-12-19T17:44:34.123 | database_errors | dba.stackexchange.com | |
311,594 | Cannot access iis website by IP | I have hosted asp.net mvc3 simplest application on my machine. I specified my IP in config and if i try to enter in address bar "myIP/applicationName" everything works, but it fails from other machine. What can be a problem? | It sounds like your Windows firewall might be blocking port 80 ;) | 0 | 2 | 133 | 2011-09-10T06:29:18.997 | infrastructure | serverfault.com | |
202,391 | Should / Can I use DNS Records to list "Private Hosts in Private LANs"? | This is a theoretical Question: Given I have several Serves that both have a Public IP Address as well as a private IP Adress (192.xxx Range). Both Addesses are used for different Services. I do not want to work internally (for the private LAN) with IP Adresses but also with hostnames, as they are much better to rememb... | There are a number of different ways to achieve this. Obviously, you don't want to create A records for both the public and private IP addresses and publish those records for public consumption, because then users will try to access via the private IP. If multiple A records are listed for a single name, they will be us... | 8 | 6 | 5,664 | 2010-11-16T10:51:09.070 | infrastructure | serverfault.com | |
76,667 | Where can i download a benign PE dataset? or at least which website is the best candidate for crawling and downloading normal executables? | I'm planning to gather a benign dataset for my ML malware detection model the problem I'm having is finding benign PE files, i just need a source that has a dataset of normal executables, i will scan them with VT and extract benign ones, but i cant find anything useful if there is nothing out there, then at least what ... | I finally solved this by using the Virusshare website. It has millions of malwares, and is free. Note that around 1-2% of their PE files are probably benign, meaning less than 1-2 detection on VirusTotal, so just labeling every single PE file as malware might not be academically complete. | 4 | 0 | 1,867 | 2020-06-25T15:08:19.370 | data_quality | datascience.stackexchange.com | |
504,834 | SQL Server with one ethernet output and Webserver with another ethernet output | Scenario: I have one server which is virtualizated using VMWare ESXi. Specs: Windows Server 2008 R2 SQL Server Standard 2012 IIS 7.5 Hosting a MVC and a Webform application (using Reporting Services) Integration Services is also heavily used. Everything on the same virtual machine instance Server machine has 4 Gigabit ... | If you can configure the VPN client not to change your default gateway, you shouldn't have any interruption to your internet connection. The only reason you lose your internet connection is because the VPN client adds a new default route to the VPN server at the other end of the tunnel, forcing all traffic through the ... | 0 | 1 | 71 | 2013-05-03T16:32:32.893 | database_errors | serverfault.com | |
3,253 | Nginx reverse proxy setup issues with Docker containers | I have two running docker containers: A Docker container running Nginx that serves Angular app resource files that were copied into the Docker image on docker build A Docker container that is an api that is current listening on port 5007 internally on the container and 5007 externally on the host machine I am setting u... | Thanks to this question and answer here , I was able realize that I had two issues going on: the containers have different default Docker networks because I am using two different docker-compose.yml files, I had envisioned my Ngnix proxy working independently from any of my API containers entirely, including the docker... | 6 | 1 | 4,632 | 2018-02-02T17:35:51.303 | api_errors | devops.stackexchange.com | |
769,957 | Server full ram but not show which process is use much RAM | One of our Hadoop datanode with CentOS7 64 bit is using all of it's RAM, I tried to figure out which process is using so much RAM but couldn't. Please help me to check this please: System: CentOS 7 64bit, with 64 GiB RAM HTOP on server: Htop show that all memory is used: PS to find which process is use much RAM - see o... | Java is using 40% memory, those processes run inside the JVM and have different process scheduler jps | grep JAVA_NAME | awk '{print $1}' Also how much memory are you giving to Java, it could be claiming that memory on start up, I think it uses its own memory manager | 0 | 0 | 842 | 2016-04-13T07:19:52.813 | hadoop_errors | serverfault.com | |
325,357 | DNS, Domain name settings for ASP Host | I have an account at an ASP hosting company and the URI is: me.example-host-company.com I'd like to my own domain name so I create a CNAME record for a subdomain which has its destination set to the above URI. So [CODE] The problem is only the main welcome IIS page of example-host-company.com is shown when I point my b... | Based on your description, it sounds like you need to configure a host header name for your web site in IIS. Since you didn't mention which version of IIS you're running I'll give you a link for IIS 6 and IIS 7: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/883a9544-3f70-4d46-a6df-bbadbd1fe... | 1 | 2 | 150 | 2011-10-27T14:38:59.540 | infrastructure | serverfault.com | |
814,720 | Local admin user created via GPO has no adequate permission | I have created a Local Admin user for my IT support team via group policy (Win2012R2), now the they can use this user for logging into computers but it seems that they do not have privilege to change network setting on the computers. | The most obvious answers are that the user accounts are not being successfully created as local administrators, or the particular settings are controlled by GPO (which local admins can't override in a domain). Are the user acounts actually showing up as members of the local administrators group on the systems in questi... | 0 | 1 | 40 | 2016-11-14T05:58:34.890 | infrastructure | serverfault.com | |
509,294 | What are valid ports to use for SSH? | I have an internet facing web server that I also need to be able to SSH into. I'd like to update my server to change the SSH port from something other than 22 so there are fewer hits for unauthorized access. (This is not my primary security measure. Just an additional minor tweak. I'm also using fail2ban and turning of... | [CODE] tells you which services are running on your machine. (Possible but improbable that others are just inactive at the moment.) As long as you don't use one of them you are OK. You may choose a well known port of a service you are sure never to use. Telnet maybe :-) (But maybe there are attacks on that port, too.) | 4 | 5 | 13,616 | 2013-05-20T16:26:11.537 | infrastructure | serverfault.com | |
1,002,144 | Install HAProxy 2 on Centos 7 | Where can I find official documentation on HAproxy 2x installation documentation for Centos 7? [CODE] I would like to not run an outdated, potentially insecure version of the product. | HAProxy from the repo is unlikely to be insecure as long as CentOS7 is supported, but yes, the 1.5 version is outdated functionality-wise. From what I see, only modern Fedora versions have more modern versions of HAProxy in their official repositories. If you purchase a commercial version of HAProxy it looks as though ... | 5 | 2 | 16,661 | 2020-02-07T07:37:28.120 | infrastructure | serverfault.com | |
742,802 | RabbitMQ with a LetsEncrypt certificate | I have been trying to install my LetsEncrypt generated certificates into my rabbitmq server but have had no luck. To test things out with out having to fight permission issues I have copied the pem files from [CODE] to my home directory. I also copied the cacert.pem file to my home directory from the location I found i... | There really is an issue with [CODE] . I did exactly the same configuration (as you did, at least the SSL part) on [CODE] ( [CODE] and [CODE] ) and [CODE] or [CODE] (having [CODE] and [CODE] ). I get it working in 3.5.4 and not in 3.2.4 {mochiweb_socket_server,295,{acceptor_error,{error,accept_failed}}}. I can't find a... | 10 | 4 | 8,198 | 2015-12-14T04:31:37.887 | infrastructure | serverfault.com | |
433,036 | How to delete MSSQL database using sqlcmd | I have multiple databases created by POCO approach of website building and I want to delete those. However I get error. Command [CODE] Error [CODE] | Try this: [CODE] Note the square brackets around the database name. Without them the dashes ("-") are seen as tokens instead of part of the database name and the parser will want to do math. The command parser interprets anything inside square brackets as a literal. | 10 | 16 | 38,788 | 2012-09-28T17:28:53.373 | infrastructure | serverfault.com | |
149,593 | VMware + SQL Server - sqlserver.exe not using both CPU cores | I am working on a virtual machine that runs SQL Server Express (as part of Sage Line 50 Manufacturing). The details are as follows: Physical Server (host machine) - Intel Xeon Quad Core 2.1GHz - 4GB RAM - VMDK image stored on RAID-5 500GB SATA drives (7200RPM) - Running Ubuntu 10.04 Server 64 bit - VMware Server 2 Virt... | I dont have much experience with the MS SQL Express Databases on virtual machines but I think you just ran into the hardware restrictions of the MS SQL Express Edition. I assume that your physical server had 1 cpu with 2 cores. The MS SQL Express 2008 (and I think 2005 also) do support only ONE phyisical cpu but mulitp... | 1 | 5 | 4,158 | 2010-06-09T11:08:41.313 | api_errors | serverfault.com | |
725,746 | nginx CORS on proxy pass: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource | I am moving my APIs from a subdomain to another without affecting already running applications. I have three servers configured on nginx such as: Original API server: [CODE] Proxy passed server: [CODE] The AJAX call used to work perfectly on the old apis, however for the new ones I am getting an error on FF: [CODE] And... | The solution to this was not to add add_header for CORS for the Proxy Passed server as this duplicates the header or to use set_header Proxy passed server: [CODE] | 2 | 3 | 11,838 | 2015-09-30T10:14:33.457 | api_errors | serverfault.com | |
337,906 | Separate object used in business layer, data layer and presentation layer | I'm building an application that is responsible for reading data from files and displaying them in charts. The whole application is responsible for manipulating data from files, which means I have to use different parts of the same object in almost every part of my project. Charts need actual data, list of opened files... | The answer to your question depends primarily on two factors: The overall complexity of the application To be extreme, if you are simply writing a script to process a bunch of files, you would probably be going overboard having multiple layers to your application in the first place. On the other hand, if you are writin... | 7 | 2 | 2,615 | 2016-12-10T12:57:55.893 | api_errors | softwareengineering.stackexchange.com | |
314,866 | Why is a Move and Delete Data (approx 1/3 of the table) using (CTEs) WITH statements taking hours on a 600m row table taking 3+ hours - best approach? | Am not sure if this is the best method of moving/deleting data. The play table has 700m+ rows and game table has over 600m+ rows. I have 2 tables play and game, information from the play table is referenced from the game table. I am trying to find all games that are greater than the finished on date and get a list of g... | Notice that the vast majority of the time is exclusively in the Delete. The data to be tested to be deleted is divided up into 64 batches, and batch membership is essentially random (based on the first 6 bits of the hash code): [CODE] Then the data that does need to be deleted is passed from the Hash Join to the Delete... | 0 | 0 | 95 | 2022-07-26T13:36:48.197 | data_quality | dba.stackexchange.com | |
356,355 | Authenticating Samba share with AD OU | I'm wanting to link Samba to Active Directory so that I can apply permissions to a share respective to the OU that windows user belongs to. Im not entirely sure of where to start, I've currently just got a "default" share: [CODE] Any starting points would be appreciated, Im shooting in the dark at the moment! Thanks :) | I just did this for a client project a couple weeks ago. Not my forte, but it turned out to work quite well. CentOS 5.something and SMB with a bunch of storage doing domain authentication for all of the services/users on the Windows servers. This isn't my favorite way to answer a question, but in this case -- due to ho... | 0 | 1 | 616 | 2012-02-02T22:48:16.293 | infrastructure | serverfault.com | |
990,645 | Active directory control delegation without user account deletion | In a Windows 2008r2 domain and forest functional level, I'm trying to delegate users account administration and 'password reset / force change' to a specific group of users in my active directory, BUT I don't want to grant them the permission to delete users accounts. Is there a way to accomplish this task? Please note... | I could say that I have found the answer in this other serverfault question. Sorry about the inconvenience and thanks for your help. | 0 | 1 | 1,743 | 2019-11-05T11:52:03.930 | infrastructure | serverfault.com | |
559,984 | How best to structure Glacier backups? | I'm planning to back up multiple websites to Glacier at midnight each day. My current system is to create a tar.gz of the whole of /var/www (i.e. all the sites), and to copy that to a different server. I'm assuming I would use these backups if the whole server failed, though perhaps I'd occasionally want to retrieve in... | The "best of both worlds" approach would be the following: Create a S3 bucket for backups Configure a lifecycle rule, so items older than 2 weeks (for example) are automatically transitioned to Glacier class storage. Plan your backups as simple file syncing tasks using S3 for destination. You have plenty of tools to au... | 2 | 2 | 217 | 2013-12-08T14:38:21.010 | database_errors | serverfault.com | |
1,047,553 | How can I change `fs.notify.max_user_watches` on Azure Container Instances? | I'm deploying an application called Theia (a cloud-based IDE) on Azure Container Instances. The app is throwing errors about not being able to watch project files for changes. I did some research and this happens when [CODE] is too low. I checked on the container instance, and apparently it's set to the default of [COD... | After working w/ Azure support on this, they said it wasn't currently supported. However, they have notified the ACI team of the feature request. | 0 | 0 | 207 | 2020-12-25T19:34:38.893 | pipeline_ops | serverfault.com | |
654,423 | How to Enforce SSL in Varnish 4 | I am aiming to redirect clients to a SSL-version of a site using Varnish. In Varnish 3 this could be done by the following in the VCL: [CODE] Between Varnish versions 3 and 4 there were changes to the vcl requirements, these can be found in the varnish docs: https://www.varnish-cache.org/docs/4.0/whats-new/upgrading.ht... | Try the following for Varnish 4 while updating the TLD with your respective values: [CODE] You should be able keep the [CODE] statement and it should work (not tested): [CODE] | 6 | 7 | 4,791 | 2014-12-23T15:12:15.230 | infrastructure | serverfault.com | |
228,068 | Tracing tabular refresh errors | I have a tabular cube on an SQL Server 2017. The cube is refreshed with a full refresh command in a Server Agent job. The job runs on a schedule. When I check the history of the job I see that it went through successfully, so everything is "green". When I check the tables of the cube one of the tables is not processed ... | You can use Extended Events to track the processing history of a Tabular model. The [CODE] and [CODE] events report processing information, per the documentation . SSAS extended events are somewhat different than those in SQL Server. After creation, an extended event is active. To stop the event it must be deleted. An ... | 0 | 0 | 948 | 2019-01-25T09:44:06.460 | database_errors | dba.stackexchange.com | |
446,712 | HP 2520 poe switch ip configuration trouble | I'm configuring an HP 2520 switch by CLI menu interface and i get an error trying to setting this ip config: default gw: 10.0.0.254 switch ip: 10.0.255.5 subnet-m: 255.255.0.0 The error simply tells: "Unable to set" refering to the default gw. If i run this command: [CODE] I get: [CODE] Do you know what's wrong with my... | It probably hates your use of 255 as your switch's third octet, I know I do, try 254 as a quick test. | 0 | 1 | 2,100 | 2012-11-08T11:50:06.450 | infrastructure | serverfault.com | |
258,695 | Trying to get a better understanding of Interfaces | Im working on a small program and I thought i would use it as a chance to get a better understanding of things I haven't really used before, mainly Interfaces and Inheritance from base classes. Basically it is a facility use request program and after a request is made it needs to email the requester all the information... | In my opinion you picked a fairly interesting, but less typical example to understand "how interfaces work". Nevertheless it is a valid use case. An interface serves multiple purposes. First, they act as an contract between two parties on how they can interact together, or how some kind of exposed functionality is to b... | 3 | 1 | 1,567 | 2014-10-10T16:34:40.023 | api_errors | softwareengineering.stackexchange.com | |
1,043,128 | Why is varnish not restarting after I change port | Solved. See my solution below My system: [CODE] I got the following error message: [CODE] my /lib/systemd/system/varnish.service looks like this: [CODE] My systemctl edit varnish.service. I want varnish to listen to port 82 [CODE] my /etc/varnish/default.vcl is just: [CODE] What am I going wrong please? varnish will no... | The error you're getting contains the answer to your question: [CODE] And this error is triggered in your [CODE] config by [CODE] . Either remove the [CODE] parameter, or make sure the [CODE] user exists. | 0 | 0 | 2,776 | 2020-11-18T23:10:45.683 | infrastructure | serverfault.com | |
917,478 | Services running on same host as OpenVPN do not receive traffic from VPN | So we are setting up and testing new internal systems, using Docker to deploy OpenVPN, Jenkins, and bind all on the same host. We want to restrict access to only come from traffic that originates from our VPN. For our other internal systems (on different hosts), this works as expected. We can configure ufw to restrict ... | That sounds like you have a masquerade/snat rule in the nat/postrouting chain (edit: of the vpn server host) that transforms source IP addresses from the client address to the VPN server host address for traffic bound to other hosts on the vpn server side. But the postrouting chain would not be hit for traffic that is ... | 0 | 0 | 292 | 2018-06-20T14:00:53.817 | pipeline_ops | serverfault.com | |
113,527 | Improvement of the Keras model for a regression task | I am trying to build an expectation model for my (19502,3) data using Keras Sequential model. This dataset has been generated using a parametric sweep in a simulation software. With this model, I want to expect the length and the weight of an item based on the cost. This is like an inverse problem. I used two hidden la... | change the activation to relu because it is a regression problem. Signmoid is used in classification problems find whether model and high bias or variance. If variance is high, use regularization . | 0 | 0 | 200 | 2022-08-15T08:40:33.377 | data_quality | datascience.stackexchange.com | |
21,937 | I was interrupted while transferring a very large table. How can I pick it up from where it stopped? | I wrote a python script to select and insert rows between tables in different databases (from SQL Server to Postgres). the table has around 2000000000 rows and the transfer stopped somewhere in the middle of it. I tried to select the rows with an offset as the number of rows already transferred. But count(*) takes up t... | An alternative view: Are you really using inserts for 2B rows? You might be better off bulk loading the data. 2B rows shouldn't take 3 days unless they are spectacularly wide. Also, pg_bulkload might be of interest for this. | 6 | 8 | 406 | 2012-08-03T05:30:33.967 | database_errors | dba.stackexchange.com | |
303,503 | What is the performance impact of pg_stat_statements? | I am using [CODE] to find the slow queries in my production PostgreSQL 13. Two things: I am unsure of the performance impact of this extension. Is there anything I can do to improve its performance? The query below takes > 1s - any suggestions? [CODE] and then: [CODE] | From here : What are the performance implications of pganalyze? The performance overhead of the pg_stat_statements extension is small it requires a bit of additional shared memory and will consume about ~1% of CPU time. and here is a quote from a PostgreSQL contributor who says: I always enable it on production databas... | 7 | 11 | 3,607 | 2021-12-04T06:39:10.480 | database_errors | dba.stackexchange.com | |
999,594 | Is `nginx -s` the same as `service nginx`? | I noticed that many of the commands like [CODE] and [CODE] seem to be (almost?) the same as [CODE] and [CODE] . Are those "prefixes" actually interchangable? Does one of them somehow invoke the other? | Since you are running Ubuntu 18.04 (i.e. a recent Linux distribution), I might suggest a third “alias” command: [CODE] and [CODE] . The whole story is this: every server/application has its own way to start, stop, reload, etc. This might be as simple as calling [CODE] or complicated as setting several environment varia... | 0 | 1 | 195 | 2020-01-20T03:14:40.243 | infrastructure | serverfault.com | |
211,250 | Distributing a proprietary application together with GPL software | First, there are many similar questions here, but I found none with direct answers about this specific scenario. If you find a duplicate, please be kind enough to link to the specific answer(s). Also, to avoid question being too broad, consider this specific scenario only. Assume a proprietary Linux application, which ... | So, after some research, here's my own answer. NOT LEGAL ADVICE, and even as layman advice, I am not an expert in the subject. If you are creating a product to be sold, it's best to play it safe. Downloading all source packages for all installed packages is so simple, and with current storage capacities it takes so lit... | 6 | 6 | 5,832 | 2013-09-12T09:55:45.380 | data_quality | softwareengineering.stackexchange.com | |
1,100,703 | Error loading WSUS Console after IIS Reconfigurations | I encountered an error loading the WSUS Console after I deployed some organization-mandated reconfigurations to the IIS server that supports WSUS. As I found the solution myself and did not see this anywhere else online, I figured documenting it here may help others. My environment was Windows Server 2019 running in a ... | In my specific case, it had to do with my requirements disallowing "Unlisted File Name Extensions" on the WSUS Administration website inside IIS. You can set this by opening the IIS console, clicking the "WSUS Administration" site, clicking "Request Filtering" icon within the IIS settings group of the site, then clicki... | 0 | 0 | 4,011 | 2022-05-11T18:58:48.887 | api_errors | serverfault.com | |
261,708 | Entity Framework Code First Centralized database deployment | I originally posted this on stack overflow but was told that here is a better place to ask this kinda stuff. I couldn't find any other similar answered question but if there is one please give me a link. I am developing a software which uses a database that is hosted on a main server(MSSQL). Multiple clients can be con... | Hey I know it has been a while since I posted this, but I noticed there are people still interested in the answer so I thought I should update with what I chose to go with. I decided to use a self-hosted WCF service that clients connect to and get their data from. The service is responsible for database creation and mi... | 2 | 1 | 390 | 2014-11-04T07:12:15.140 | pipeline_ops | softwareengineering.stackexchange.com | |
445,571 | Is there a good reason to change session.save_path? | On shared hosting, we had occasional problems when the server's [CODE] directory was full. Our hosting company suggested we change the session save path to be unique for each site. [CODE] Yes, that puts our sessions in the web root. We deal with potential privacy issues by including a [CODE] file in that folder: [CODE]... | I don't see any reason why you should need to change it from the default on a dedicated server, unless it happens to be set to a somewhere with a small partition and you're worried about running out of space (as was the case originally). I'm guessing the two paths on your new server are the same partition looking at th... | 2 | 3 | 3,704 | 2012-11-05T15:00:31.140 | infrastructure | serverfault.com | |
203,114 | Static vs. dynamic memory allocation - lots of constant objects, only small part of them used at runtime | Here are two options: Option 1: [CODE] Option 2: [CODE] There will be around 1000 categories, each containing 10 - 300 questions (100 on average). At runtime typically only 10 categories and 30 questions will be used. Each question is itself an enum constant (with its fields and methods). I'm trying to decide between t... | If the differences of two approaches are neither significant in runtime nor in performance (and significant means: from a users point of view, not from an academic point of view), then choose the approach which is easier to implement and to maintain. Actually, seeing only that small part of your application I cannot te... | 1 | 1 | 1,826 | 2013-06-28T23:09:29.020 | api_errors | softwareengineering.stackexchange.com | |
550,553 | Netcat: connection lost before transfer is complete | Interesting thing with Netcat (nc) in CentOS 5 or 6 (nc-1.84-10.fc6 or nc-1.84-22.el6.x86_64). How can I work it around? I can't find a bug about this, but It models a file transfer to a remote host, where the file is transformed, then the result is sent back. In this example transformation is "cat". The server (localh... | Hmmm.... ok, I think I know what's going on here. Since you're starting your server with a pipeline command (using the '|' symbol), there's a relationship between the [CODE] process and the [CODE] process. When the [CODE] processing sees an EOF on the TCP connection, it exits... which then causes the [CODE] process to ... | 0 | 0 | 588 | 2013-11-04T13:35:34.660 | api_errors | serverfault.com | |
556,299 | Traffic monitoring tools for IIS server? | We are planning to optimize IIS server.We are doing load testing of 20 concurrent user and want to see the bottleneck. How to monitor each request/response times? and check where is the bottleneck? Is there any documentation for IIS optimizing and performance? If loadtest fails tuning IIS server kind of.? | New Relic is expensive, but does what you are asking for. You can run a free trial for a short period of time (which should be long enough to solve any immediate problems). | 1 | 0 | 524 | 2013-11-20T16:13:59.573 | pipeline_ops | serverfault.com | |
31,243 | Apache Tomcat Servlet 404 Troubleshooting | I maintain a GWT web application that uses 3 java servlets for file download/upload and data transfer. I had my servlet mapping sin place and have not touched them in months, just a few days ago I started receiving 404 errors when trying to access my servlets. I can't even seem to access the servlets by typing their fu... | Does tomcat need to be restarted in order to use a new servlet uploaded to the "WEB-INF/classes" directory? It depends, if your Does tomcat need to be restarted to read changes to the web.xml in the "WEB-INF" directory? It depends, if your If I put a .class file at /WEB-INF/classes/foo/bar.class should I be able to acc... | 1 | 1 | 2,301 | 2009-06-24T20:41:54.903 | infrastructure | serverfault.com | |
473,793 | How exactly does the home folder mapping in 2003 AD work? | I'm trying to troubleshoot an issue with a user's My Documents not being mapped to a network location as it should be. Most of the user have their AD account set to have H as their home folder and it's mapped to a network location. This works fine for everyone except a single user who's been here a long time and his My... | There is a quite impressive guide which can be found here . Please check the following: Whether the user already have a healthy local profile. A profile which is not corrupt. User's profile is configured as a roaming profile. Please check the profile properties in the AD DS user management console. You should use a GPO... | 2 | 1 | 2,794 | 2013-01-30T12:06:51.023 | infrastructure | serverfault.com | |
129,678 | CPU / Affinity mask problem in SQL 2005 | Having a problem with a SQL Server which was virtualised from a physical machine. The CPU mask was set on the physical SQL Server for some reason prior to virtualisation and now advanced options are not available in the machine now it's a VMware guest. So I need to reconfigure the CPU affinity mask settings - which are... | I think the Microsoft supported solution would be to backup your databases, reinstall SQL Server and then restore your databases to the new installation. If you want to try something that is not supported by MS , and may be downright dangerous , you could try to update the master database through a SQL Query. I don't k... | 2 | 1 | 3,135 | 2010-04-06T09:46:43.860 | database_errors | serverfault.com | |
290,991 | Copying /var/lib/mysql files over resulted in InnoDB corruption | My server had to be re-installed yesterday so they replaced the hard drive and hooked the old one up via USB. I grabbed the database files (/var/lib/mysql) and downloaded them and then I erased all the db files for my local test server and replaced it with the ones from my live server. Everything worked fine at first a... | Wow, you really did a number on your database there. You can restore by copying over MySQL data files, but it sounds like you used a little too much mallet. The correct way to do it: Make sure MySQL IS NOT RUNNING on the machine you're trying to restore onto. Quadruple check with [CODE] to make sure nothing of a MySQL-... | 2 | 3 | 2,176 | 2011-07-16T13:21:06.690 | database_errors | serverfault.com | |
370,627 | webserver upload directory 777, security | i have a upload function on my cms using POST (php). everything works fine but the directory needs a 777 setting otherwise i get errors. i would like to bring this down to like a 644. how could i do this? would this setting be in httpd.conf? | Make sure that Apache (httpd) owns the directory. This will allow Apache to put files there without needing to 777 the entire directory. Use [CODE] EDIT: As cyberx86 pointed out, the actual PHP process is what will be doing the file writing. Therefore the PHP user is the one that needs to have ownership of the director... | 0 | 4 | 519 | 2012-03-17T02:39:10.790 | infrastructure | serverfault.com | |
266,059 | Small site / online database | I have to develop a small website and I wanted to understand which language to use. The main purpose of this site is to access various tables, for example customer table, orders, warehouse, etc. by people with login / password. Each user must be part of a group with specific functionalities (for example, they can acces... | October CMS is perfect for this (disclaimer: I'm one of its maintainers). It has a robust roles / permissions system, is highly extendable, based on Laravel, and extremely easy to get started quickly with. Check out the builder plugin to kickstart your development process (it's a visual scaffolding tool to build your o... | 0 | 0 | 38 | 2020-04-29T06:44:26.117 | database_errors | dba.stackexchange.com | |
209,748 | Cons of using a star schema in a columnar database | My organisation is implementing a new data warehouse using a columnar data store (Redshift) and the performance is currently abysmal. There are many causes for this but I think the key reason is because of the way we have our data structured, we're implementing a classic star schema design, which surely is optimal for ... | You are mixing up three orthogonal concepts: data model (star schema), workload characteristics (OLTP vs. OLAP), and physical data organisation (columnar). Your data model has no bearing on whether column-organised tables are appropriate for you; however, data organisation must reflect the nature of your workload (i.e.... | 0 | 3 | 1,583 | 2018-06-15T10:25:15.763 | warehouse_errors | dba.stackexchange.com | |
78,941 | How to order by Levenshtein distance? | I want to order a table according to a char field using Levenshtein distance or similar because some entries may contain underscores or grammar errors. It is a table with all the books I plan to read and it contains repeated entries I need list all the entries ordered by the field name, It should take the previous row ... | You didn't tell us what the "failed attempt" means. But something like this should work: [CODE] you don't want [CODE] because that essentially puts every name into a single group and thus there is no "previous" row to. As you you want the "previous" row based on the ordering of the [CODE] column, you need an [CODE] in ... | 1 | 2 | 2,040 | 2014-10-11T04:26:43.043 | warehouse_errors | dba.stackexchange.com | |
409,727 | How to save events in a relational database better support time-based queries on these events | I have a system that subscribes to Kafka topics (i.e. a message bus) that publish life-cycle events. My system needs to digest and save these events and later serve its clients (the users of this database) with time intervals information between the events. For example, if the Kafka topic exposes the availability/statu... | The event log Since you need to persist the events in the database, the first step is certainly to have a table that just takes everything that comes in. You could call it [CODE] : [CODE] This is the start of event sourcing . Instead of updating the state of your system, you just store the events and process the events... | -2 | 5 | 1,041 | 2020-05-05T14:54:53.243 | data_quality | softwareengineering.stackexchange.com | |
13,375 | Insert if not exists, concurrently | I am having concurrency issues with my inserts in a stored procedure. The relevant part of the procedure is this: [CODE] When we run 3 or 4 of these stored proc's concurrently we get multiple inserts on occasion. I am planning on fixing this like so: [CODE] The question is, is that how to concurrently insert without du... | You could use a merge statement with [CODE] hint. [CODE] | 13 | 8 | 6,949 | 2012-02-18T03:13:42.847 | data_quality | dba.stackexchange.com | |
26,688 | Improving my Unit testing: How to test simple methods that call internal methods, resulting in complex (yet similar) output | I've got data access layer that has two types of method [CODE] and [CODE] . [CODE] looks something like this: [CODE] That's reasonably easy to unit test. However, [CODE] wraps this [CODE] in a RefCount Observable and emits new values in response to a messaging system. Testing this method is a lot more complex. I want t... | This answer is going to be somewhat generic because I'm looking more at the principle than your specific case. In my view, the first thing you want to do is create a series of helper methods. You can extract these to a test library class or keep them in your test class. The idea is that the helper methods do the work, ... | 2 | 2 | 2,804 | 2017-04-10T08:38:08.690 | data_quality | sqa.stackexchange.com | |
134,328 | Apache configuration to accept all data | I have apache running on port 7979 to talk with a device that sends data to webserver and later will run php scripts to process and send reply xml. The problem now is that it sends data like POST HTTP/1.1 Content-Type:text/xml Content-Length:369 Followed by XML When apache sees this it gives a 400 error. Since the devi... | If apache think the request is incorrect, you couldn't use Apache. Maybe check on (x)inetd/nc server with a PHP script launched. Your script will receive all the connection and use it as it want. | 0 | 1 | 99 | 2010-04-21T07:32:23.873 | infrastructure | serverfault.com | |
29,239 | How to test our web app on an iMac if we don't have one? | We are a software development company that is building a new web application. Part of our responsiveness test, we need to check how it would look like on iMac 21.5" and iMac 27". Problem is, we don't have iMacs (or any screen with that size). What's the best way to tackle this challenge? | The general approach is to use services that provide remote Selenium server capabilities and allow to specify an operating system, version, browser, browser version and other parameters in the desired capabilities. Today, there are two major players on that front: BrowserStack Sauce Labs Another possible way to approac... | 1 | 3 | 57 | 2017-08-28T06:58:28.397 | data_quality | sqa.stackexchange.com | |
361,827 | Tomcat server getting restarted frequently | We have a script like below to monitor our server. During this code our server getting restarted. Can anyone please explain the meaning of below script? [CODE] | If the file [CODE] exists, write [CODE] to the screen. Put the value [CODE] in [CODE] and make it an environment variable. Run the script in [CODE] , wait 30 seconds and kill all processes that are [CODE] . All output will be redirected to [CODE] (not shown on screen). Run the following script [CODE] and delete the fil... | 2 | 2 | 274 | 2012-02-20T11:51:46.533 | infrastructure | serverfault.com | |
17,911 | python - What is the format of the WAV file for a Text to Speech Neural Network? | I am creating a Text to Speech system for a phonetic language called "Kannada" and I plan to train it with a Neural Network. The input is a word/phrase while the output is the corresponding audio. While implementing the Network, I was thinking the input should be the segmented characters of the word/phrase as the outpu... | Speech data is made up of unique acoustic units called phonemes. Any audio file can be represented as a sequence of phonemes. Both automatic speech recognition (ASR) and speech synthesis (SS) systems model these phonemes. In ASR, speech signal (wav file) is used as input and phoneme labels are predicted and in SS, phon... | 4 | 4 | 3,614 | 2017-03-27T19:53:17.807 | data_quality | datascience.stackexchange.com | |
738,300 | Why are connections in FIN_WAIT2 state not closed by the Linux kernel? | I have an issue in a long-lived process called kube-proxy being part of Kubernetes . The problem is that from time to time a connection is left in FIN_WAIT2 state. [CODE] These connections stack up over time making the process misbehave. I already reported an issue to Kubernetes bug-tracker but I'd like to understand w... | The kernel timeout only applies if the connection is orphaned. If the connection is still attached to a socket, the program that owns that socket is responsible for timing out the shutdown of the connection. Likely it has called [CODE] and is waiting for the connection to shut down cleanly. The application can wait as ... | 15 | 16 | 59,833 | 2015-11-23T10:26:55.447 | pipeline_ops | serverfault.com | |
269,503 | Why is disk IO higher on Debian 10 (MariaDB 10.3) with MySQL replication? | I have a MySQL/MariaDB master-master replication setup that has been working well for several years, the db and tables are not very large (under 200MB for 18 tables). These were on 2 servers running Debian 9 and MariaDB 10.1.44. Now I've spun up 2 new servers running Debian 10 and I'm in the process of moving things ov... | This seems to be a performance regression (awaiting a fix), but may also be an issue if your [CODE] is too high. In my case, [CODE] is already [CODE] , and lowering it further does not change anything. So I'll continue to await a fix in 10.5 (though perhaps they'll back-port it). | 1 | 1 | 387 | 2020-06-19T23:36:28.907 | database_errors | dba.stackexchange.com | |
112,768 | PostgreSQL table partitioning problem | I partitioned my table day by day. The child tables are look like points_20150830. Every day, I run a cron job to create table and I insert records without using any trigger function. I insert records by calculating day of timestamp. However, when I run a select query, query plan shows that every child table visited wi... | I'm going to add my answer, which was correct in the comments, as the answer here. Be specific about your types! In your master table, you have [CODE] as a [CODE] . In your [CODE] constraint, you have used [CODE] . Then, in your query, you just use [CODE] , thus using a [CODE] type in your [CODE] predicate. To fix your... | 3 | 2 | 723 | 2015-08-31T21:12:57.703 | data_quality | dba.stackexchange.com | |
591,799 | Remote Desktop + Windows Server 2012 + Connect using host name results in "The user account is currently disabled and cannot be used" | The server is just a simple IIS box - no AD DS or anything else, running Windows Server 2012 with the latest updates applied. If I RDC to my server using the IP address it connects without a problem. If I set up a host name like server.mydomain.com to point to the IP address and use this within RDC then I get an error ... | Solved it (in case anyone stumbles across this post)- When connecting via the IP address I only needed to enter the username as 'Administrator' and the correct password and I got logged in. When logging in from a hostname (myserver.mydomain.com) then I needed to enter the login with Computername\Administrator. Computer... | 2 | 4 | 8,548 | 2014-04-28T15:44:56.150 | infrastructure | serverfault.com | |
534,684 | Forgot passphrase for new SSL certificate | I've been requested by RapidSSL to reissue my SSL certificate to 2048 bits. I generated a key, CSR and got the certificate back from RapidSSL. Now, somehow, I've forgotten what Passphrase I used when generating the Key. Apache is asking for it, telling me "5 tries left". For the moment, I've reverted back to the old ce... | You should be able to regenerate your SSL certificate with RapidSSL. They allow multiple signing changes as long as its the same domain. | 1 | 2 | 651 | 2013-08-29T03:07:26.970 | api_errors | serverfault.com | |
140,322 | Website and Web Services Monitoring | I'm looking for a good product (either stand-alone or remote) that will monitor our online services. We're in a transition period between new asp.net and old foxpro / cgi and because of this experience errors that can make our services unresponsive. Can anyone suggest internal/external tools, subscription based solutio... | Circonus ( http://circonus.com/ ) is perfect for this. It's a SaaS service, so you don't have the headache of managing the monitoring software/hardware. It does fault-detection, notifications and has awesome graphing features (including real-time graphs). | 1 | 2 | 278 | 2010-05-10T17:14:00.230 | pipeline_ops | serverfault.com | |
446,574 | Route connections via an IPv6 IP address? | I have a dedicated server with a big block of IPv6 IPs. I'd like to be able to use a randomized IPv6 IP within that block and run all outgoing connections through that single selected IP. I've already accomplished the same thing with IPv4 by using iptables: [CODE] Since ip6tables doesn't seem to have a NAT table, I sta... | I recommend to just add the addresses you want to use to a real or dummy interface and then just configure your application to use them. | -2 | 1 | 210 | 2012-11-08T04:04:30.233 | infrastructure | serverfault.com | |
546,110 | Nginx proxy upstream cached? | Attempting to resolve an issue that's been annoying me for a bit. I've distilled the symptoms into a set of reproducible steps: I have two sites, [CODE] , and [CODE] . They are both Node.js applications running on different ports (for the sake of example, [CODE] and [CODE] ) Both applications have their own file in [CO... | Resolved here . Turns out the problem did not lie with nginx, but with CloudFlare. | 1 | 0 | 229 | 2013-10-15T12:53:50.970 | infrastructure | serverfault.com | |
578,113 | Postfix: Filtering Outgoing Mail According to Sender Subnet | I need some specific LAN subnets to send e-mail to only my corporate domain such as printers or kiosks. How it could be possible via Postfix? | Set up different instances of postfix with the listener in the subnet, set mynetworks to be that subnet, don't allow mail from elsewhere, set the corporate mail domain as a valid relay domain. This is quite simple with [CODE] . Create an allowed sender group , with [CODE] you can allow or disallow by IP or subnet also.... | 0 | 3 | 1,028 | 2014-02-25T09:11:54.203 | infrastructure | serverfault.com | |
92,061 | Where does SQL Server store the MDF file paths? | As the title suggests, where does SQL Server store the paths to the MDF files it will load at start up. Our SQL Server is trying to load a file that is not there, reporting errors in the log, but failing to show the database in the treeview of Management Studio. So what I want to do is edit the table(?) that tells it t... | MSSQL 2005 stores the MDF locations within the system database "Master" [CODE] http://support.microsoft.com/kb/224071 | 3 | 2 | 4,497 | 2009-12-08T10:45:15.523 | database_errors | serverfault.com | |
201,274 | Using Tomcat for development, qa and production deployments on the same box? | I'm working on a couple small/medium projects, but I do like tinkering with tools and I have to admit I do love overcomplicating things. The projects that I am working on are Java web applications that I have up until now deployed in a single Tomcat instance on a single server. My build tool of choice is Maven, source ... | You got the idea. Use three tomcats and apache with mod_proxy_ajp in front of them for nice looking host names or even different domains. Download tomcat from apache, and create 3 copies of the unpacked directory (I use /opt for this). Change ports in server.xml of two of them, add startup scripts (in case you need a r... | 0 | 1 | 1,136 | 2010-11-12T19:26:46.473 | pipeline_ops | serverfault.com | |
855,122 | synology docker rocket chat setup | I have a question reg. running RocketChat from a Synology NAS DS415+ The Docker is a GUI version installed from Package Center. You download the image and launch a container - then run through a UI setup of that container. I launched a mongo:latest and a rocket.chat:latest container with default settings. The mongo sta... | I was able to run Rocket.chat on a DS716+II running DSM 6.1.6, thanks to a discussion here . First, launch your mongo:latest container with default settings. Now before launching the rocket.chat:latest container, add these settings (right click on the container > modify): In the Links tab, click the '+' icon and select... | 1 | 0 | 4,051 | 2017-06-11T12:08:16.160 | database_errors | serverfault.com | |
202,588 | TWiki mailnotify mails not being sent | I've installed Twiki and when I run the following command: [CODE] I get the message stating that the notifications have been sent: [CODE] However, I'm not getting any e-mail with the notification. It's seem to be some configuration problem, but I can't figure out what... I haven't found where to configure anything (the... | Can you send emails using mailx or some other cli client? I think twiki is relying on something like sendmail already being installed to do the sending. Here's a line out of their documentation, not sure how recent. SMTPMAILHOST is typically set on Windows or other non-Unix/Linux systems, where sendmail or similar is n... | 0 | 1 | 211 | 2010-11-16T18:23:30.763 | infrastructure | serverfault.com | |
331,408 | viewing the password of a connected SQL Server user | Using SSMS, the system had me change the password on the user I was using. Changed it and thought knew what I was changing it to. Have done a Save Password. So I am able to get in via SSMS, but need to change some scripts that have this user and system doesn't like the password I thought I had entered. Using the SSMS c... | Change your password, again, to something different and make sure it's saved somewhere safe. That's the easiest way to do this. | 1 | 0 | 160 | 2023-09-20T16:47:52.907 | database_errors | dba.stackexchange.com | |
426,746 | Curl with SSL not working on ubuntu server | When I try to Curl a SSL page on my ubuntu 12.04 TLS server, it won't work: not ssl page: [CODE] ssl page: [CODE] This does work on my own machine (OS X). When I try it via openSSL: [CODE] openSSL version: [CODE] | You seem to have a typo. [CODE] Port 433 is not open on the remote host, which is why you got error 110 (Connection refused). Try using port 443 (the standard HTTPS port) instead. As for curl, I can replicate the problem when using [CODE] , but [CODE] works properly (though it sends a 302 redirect to [CODE] . [CODE] Th... | 4 | 6 | 73,990 | 2012-09-12T13:23:38.860 | infrastructure | serverfault.com | |
101,472 | Cannot log in to Mongo from command line - using MongoDB 3.0 and WiredTiger | NOTE: I have tried not setting [CODE] and also setting it to [CODE] -- neither one fixed my issue. This is my [CODE] file: [CODE] The first thing I did was SSH in to the DigitalOcean droplet where it is running and do the following: [CODE] I was able to connect, so I know it picked up the options in the [CODE] file. Th... | I've had the same authentication issue on an MMS deployed db (though it has nothing to do with it). it tries to connect to [CODE] by default. If you want another database, just specify it, e.g. [CODE] . upgrade your mongo shell to 3.0.3 (you currently use 2.6.6). That solved the problem for me. | 2 | 1 | 5,961 | 2015-05-14T01:23:35.023 | database_errors | dba.stackexchange.com | |
75,405 | SQL 2008 Express Unload Due to Memory Pressure | I have an instance of SQL Express 2008 running as the backend for a small webapp on a server. The server specs: Windows 2003, 64bit quadcore, 4gb ram The SQL database is only 50mb on disk and I have never seen the SQL process use more than 200mb of ram in the task manager but I am noticing these messages related to mem... | Express edition uses an artificially imposed self restriction on memory and CPU. It will not expand it's buffer pool over 1GB and will not create more than one scheduler (ie. will only use one core). As a result, no matter how much physical RAM you have, your system can experience memory pressure. Since some SQL data t... | 1 | 3 | 2,138 | 2009-10-16T23:13:01.123 | infrastructure | serverfault.com | |
221,034 | SQL Server Report Builder from Citrix | We would like to allow users accessing the system via citrix to create their own reports using SQL Server Report Builder. Has anyone tried this? Did it work or were there any problems? | I have managed to get this to work quite easily and in fact it's the only way we provide access to Report Builder. Citrix XenApp 4.5 Windows Server 2003 (enterprise) MS SQL Server 2005 Different versions may have different nuances! Make sure you run Report Builder on the Citrix XenApp server as an account with Administ... | 0 | 2 | 1,503 | 2011-01-11T09:47:26.867 | bi_errors | serverfault.com | |
872,332 | Easy way to remove a tag from a private Docker registry? | I have a private Docker registry, v2.6.0, containing several tagged versions on an image: [CODE] I want to remove a single tag without necessarily removing the image. So if I remove tag 2, it's okay to remove the image because nothing else refers to it. But if I remove tag 1, only that tag should go, not the image. Tha... | There is currently no api to delete a specific tag . Theoretically you could push a new (possibly empty) manifest to an existing tag, and then delete that. Otherwise, you'll want to track all tags and manifests in your cleanup routine to identify what is safe to delete. Update: Tag deletion was added to the now 1.0 OCI... | 11 | 9 | 26,392 | 2017-09-06T15:34:12.213 | pipeline_ops | serverfault.com | |
212,049 | Minutely Log Backups - Missed Jobs | I tried searching for this but couldn't find an existing question about this. I'm considering implementing Brent Ozar's suggestion to backup minutely for our critical databases. I don't have a great test environment where I can try this and get useful results. I'm wondering if the log backup job runs over one minute, w... | You did not mention your workload, but I run log backups every minute in our OLTP environment without issue (granted, we don't process thousands of transactions per second). If a log backup happens to take over 1 minute, there is no failure. The job will merely run again on the minute mark after the current job complet... | 3 | 5 | 192 | 2018-07-12T17:54:17.107 | database_errors | dba.stackexchange.com | |
989,153 | Running VBA Code when an email is received - Cant easily use Outlook | Can I please ask for some support on this issue. Our client has an Exchange 2019 Server (Running on Windows Server 2019) They want to run some VBA code when an email is received to a specific mailbox - 24 hours a day - however - They don't have a server that can run Outlook to run the VBA against (Server being availabl... | I am not sure what tools are available to you; however, based on some of my past experiences, I would recommending using the EWS Managed API . If familiar with PowerShell, borrowed a little bit of logic from the EWS Powershell Module (written by BartekB . While I had to mostly rewrite and extend the EWS module from Git... | 0 | 1 | 550 | 2019-10-23T16:33:57.383 | infrastructure | serverfault.com | |
551,692 | group policy exception to disallowed | I'm trying to setup a group policy on a domain to block cryptolocker (among others). I'm mostly following the Cryptolocker Prevention Kit ( http://community.spiceworks.com/topic/396103-cryptolocker-prevention-kit-updated ). Using a 2008R2 DC. However, I need to make an exception for Firefox, since the installs are 7zip... | The technet document above is correct, but unclear. The path rules are really folder based. So for example, say you want to block c:\temp\xyz\*.exe but allow c:\temp\xyz\setup.exe. If the block rule is c:\temp\xyz\*.exe , the allow rule will be ignored. This is because "If two identical rules with differing security le... | 0 | 0 | 2,262 | 2013-11-08T17:33:07.983 | infrastructure | serverfault.com | |
149,149 | Why are all sessions used by SYSMAN? | I hope I can find some help with an issue in Oracle 11g on Windows 2008. We've done a system copy by copying the datafiles from backup, and recreating the control files, and the database is up. However, within an hour or so, all sessions become taken by SYSMAN. We've found that stopping the dbconsole (emctl stop dbcons... | You mentioned system copy. Whenever you change the ipaddress or hostname, DBConsole goes haywire, and even the official solution is to recreate it as described in: How to configure Dbconsole After the Ipaddress or hostname of the Machine has Been Changed or if the hostname ipaddress is going to be changed? (Doc ID 1333... | 2 | 3 | 892 | 2016-09-08T19:26:08.707 | database_errors | dba.stackexchange.com | |
175,531 | Problems when add another shard | I want to create a simple mongodb cluster but while I am trying to add another shard it is throwing an error. [CODE] | First.. You are not adding another shard, just new replica set member. Error means that this (primary) could not connect that "node75" at port 27017 to check that it is live. Problem is probably that, that this name node75 cannot be resolved. There is no IP address for that name. Try to add line to /etc/resolv.conf [CO... | 0 | 1 | 659 | 2017-06-06T08:27:16.640 | database_errors | dba.stackexchange.com | |
352,503 | How do I allow remote MySQL access to a single, static IP? | I'm trying to enable remote access to MySQL over port 3306 but having no luck. I've been given root access to a production machine so that I can grab files and databases, work on them locally, and put modified versions back. My access allows me to SSH into the box, and it allows to FTP over SSH. I'm now trying to get M... | EDIT: For the instructions below if you are using Windows then there are two things to keep in mind: 1) Change [CODE] to [CODE] since Windows doesn't have that set up automatically in [CODE] . 2) You can use the little-known plink.exe command-line tool from the PuTTY suite of tools; it uses the same syntax for options ... | 7 | 3 | 15,359 | 2012-01-22T18:27:57.190 | database_errors | serverfault.com | |
825,497 | Running dnsmasq in docker container on Debian - check_dhcp ignores dnsmasq | I'm testing configuration for my dnsmasq DHCP on my Virtualbox Debian machine. On production I want dnsmasq to provide static IP addresses to guest systems running via qemu + libvirt + openvswitch ( that one I got covered, they are running via docker and they work ) dnsmasq configuration: [CODE] Dockerfile: [CODE] Comm... | I had solved the same "challenge". At the end I found out, that I didn't have set IP address of my host server. After manual setting IP dnsmasq worked. [CODE] | 1 | 1 | 2,955 | 2017-01-11T07:47:20.333 | pipeline_ops | serverfault.com | |
962,984 | Convert server 2012 R2 to Windows 10 | I have a server machine, with regular desktop hardware that I have obtained from my company. It is currently running Windows Server 2012 R2. The intention is to use it as a media server, connected to a TV. It works well, but the server OS is very heavy and slow to boot, also not 100% compatible with some of the applica... | You'll need to buy a Windows 10 license. OEM are the cheapest. Retail will allow you to move the license on another hardware. | -2 | 0 | 232 | 2019-04-14T12:20:24.007 | infrastructure | serverfault.com | |
16,573 | How does MySQL coerce types during joins? | Why do these two queries behave differently: mysql> explain select FOOBAAR_hhs.relationship_group from FOOBAAR_hhs left join FOOBAAR on FOOBAAR_hhs.relationship_group = FOOBAAR.relationship_group where new_hh_id = 15387929; [CODE] mysql> explain select FOOBAAR_hhs.relationship_group from FOOBAAR_hhs left join FOOBAAR o... | You need to make absolutely sure the character sets of the tables are identical. Keep in mind that a unicode issues could be at play here. You could redo the query like this: [CODE] or [CODE] Try the explain for these and see if it changes | 2 | 1 | 636 | 2012-04-16T16:09:20.257 | database_errors | dba.stackexchange.com | |
243,253 | Why is my server performance degrading to the point of stopping, periodically? | So, once in a while, I see in firebug that a request takes over 15 or even 60 seconds to respond and sometimes never. Here is what I've ruled out: It's not the CPU, cuz every time I check the Server load its less then 6 for all 3 numbers It's not the memory, because that's fairly low too, less the 50% It's not the I/O ... | Okay, I think I figured out the problem. The number MaxClients in Apache was set to 8, which is way too low of a value. I increased that, and it looks like things are better now. | 0 | 1 | 213 | 2011-03-03T02:22:09.993 | database_errors | serverfault.com | |
433,638 | Uploading to another domain gives HTTP code 405 | I'm trying to upload a file (which can be quite large) from the website of one server to the backend of another server using plupload. Lets say: [CODE] Trying to upload i send the following: [CODE] But when I try to start the upload the server returns the following: [CODE] After doing some research I found out that a b... | I found out that IIS 7.5 requires you to specify which domains are allowed to POST to the backend (see documentation ). Basically I needed to add the following to the web.config file: [CODE] With this all problems were solved! | 0 | 0 | 1,776 | 2012-10-01T12:59:36.937 | infrastructure | serverfault.com | |
530,646 | Ho to encrypt part of config data file? | I work in small company. When i am going on holiday i had to take root access to my junior. That junior could give access to another man. Unfortunately I can't control this proccess. I would like that they could't see more than they need. For example /etc/postfix/main.cf contains string : smtp_sasl_password_maps = hash... | Hire who you trust. Trust who you hire. If you don't trust your junior with this information, then I'm wondering why he's employed there. You can't solve a social problem with a technical solution. | 0 | 7 | 493 | 2013-08-13T13:58:18.533 | infrastructure | serverfault.com | |
6,837 | Website navigation path using graph theory | In web analytics, one of the main issues is to find the optimal path of navigation . Question: Is there any literature in graph theory area, which is focused on studying optimal website navigation path? My Comment to Tom was pretty large. So putting it here: But in network theory there's a concept of main node (forgot ... | I've done a lot of web analytics work and while we did do path analysis, we never focused so much on whether the user took the absolute shortest path to the page. Unlike building a road system, a website should be built to provide different paths to the same content depending on the intent of the user. For example, som... | 1 | 1 | 534 | 2015-08-19T20:58:44.523 | data_quality | datascience.stackexchange.com | |
421,552 | Amazon syn between regions | We have an app on amazon servers on US-east region. The whole setup contains 2 ec2 instances behind a load balancer, an rds instance and an elasticcache instance which are all located in the US-east region. We now see a lot of traffic from Japan so we need to focus on the slow latency that users there have. Can anyone ... | I suggest not to use RDS, use rather a master/master replication configured on usual ec2 instances where one master will be in the us-east-1 region and the other will be in the Tokyo region. Further create the application in the Tokyo region and connect it to the DB sever which you created there. | 2 | 2 | 122 | 2012-08-27T10:27:56.203 | database_errors | serverfault.com | |
109,857 | find / -perm -4000 -o -perm -2000 > suid.. help with bash script to run nightly.? | help me with this this problem. so far i have "find / -perm -4000 -o -perm -2000 | xargs ls -l > suild.list" argument that i want to write as a bash script. I would like to write this as a bash script and be be able to run this nightly everyday. But im not familiar with the unix scripting language. for crontab job, i n... | It's not necessary to use [CODE] in this case. Just use [CODE] with [CODE] . [CODE] If you want to mail it and log it by appending to the file: [CODE] | 1 | 1 | 1,582 | 2010-02-05T02:14:36.803 | infrastructure | serverfault.com | |
312,106 | When should I nest one module inside another? | Assume I'm working on a JavaScript application and make extensive use of the module pattern with one file per module. Now suppose I have two folders/modules: one for module A and another for module B. Module A uses module B, and B is not used by any other module. Should I put B inside of A, or should they be equals? Wh... | In practice, I think the first option makes it much easier to tightly-couple A to B, so I prefer the second option to encourage modularity; however, this taken to an extreme means you end up with a project with a single level of modules (i.e. a single folder that contains all of your modules), and that sounds kind of c... | 2 | 1 | 180 | 2016-03-08T19:26:08.507 | api_errors | softwareengineering.stackexchange.com | |
504,680 | Windows SBS 2012 DNS - client have to constantly restart DNS service | I setup some CNAME entry on our Windows Small Business Server 2012 for our internal applications (git, bug ticketing etc), but every 30 min or so the alias name became un-resolvable until we restart DNS Client service on our individual pc. What could be the cause of this problem / how can I debug it further? The CNAME ... | First, static is good. You want it to be static - it means the entry was manually added to the DNS zone and will stay there until manually removed. One thing that may make your life a little easier is clearing the resolver cache. When a DNS client cannot find an answer for a query it puts a negative cache entry into th... | 0 | 1 | 472 | 2013-05-03T05:51:20.813 | infrastructure | serverfault.com | |
225,198 | finding the most recently updated record with multiple date columns | I have recently inherited a SQL Server 2016 database which was converted from an old MS Access db. I have a table that shows various repair dates and test dates for associated serial numbers. I would like to have a single row per serial number with all of the most recent dates shown. The table right now is showing mult... | You can get the aggregates, MAX(Date) in this case, by using GROUP BY : Quoted from MS Docs: A SELECT statement clause that divides the query result into groups of rows, usually for the purpose of performing one or more aggregations on each group. The SELECT statement returns one row per group. [CODE] | 0 | 2 | 1,726 | 2018-12-17T21:13:20.240 | database_errors | dba.stackexchange.com | |
657,987 | What would cause a file saved to a Windows network share to not be immediately visible through the browse function of a 3rd party program? | Problem We have a Windows 2008 R2 server with a network share setup on one of the storage volumes. Users on desktop computers use a scanner to scan single-page documents and convert them to a digital format. They are saved to a folder called "SCANS" within the previously referenced network share From this point, the us... | I found a thread on MS TechNet that described the same issue we're having to a T, and once we started looking at SMB settings on the file server/XenApp server, we figured it out. TechNet Post About File Share "Refreshing" Issue Here is the Server Message Block (SMB) Wiki if you're unfamiliar Wiki Since the users are ac... | 1 | 1 | 1,844 | 2015-01-07T22:52:26.730 | infrastructure | serverfault.com | |
144,436 | All virtualhosts serving Apache default files | I'm trying to configure Apache as an in-network webserver, and am using the sites-available/sites-enabled feature as opposed to just static vhost files. I set up a couple VirtualHosts, all with a unique DocumentRoot, however request for all the VirtualHosts just serve up the "It's Working!" default file. I can't for th... | In virtual host definition file, correct the line below. [CODE] to [CODE] Use DocumentRoot directive to serve virtualhost. here is the link for more information http://httpd.apache.org/docs/2.2/mod/core.html Update your virtualhost definition (/etc/apache2/sites-enabled/billmed) as following, ServerName billmed.emp Doc... | 5 | 8 | 3,089 | 2010-05-22T18:13:09.587 | infrastructure | serverfault.com | |
868,758 | Windows 2008 Failover Cluster AD settings | I have two servers: serverA and serverB. They can see the same SAN disks: a 4 and a 400 GByte one. I created the Failover cluster on them, but the cluster says an error: [CODE] AFAIK this is related that the object for ServerA and ServerB in the AD doesn't have permission for the Cluster object in the AD. Question: Wha... | It's an error 1196? Doublecheck that you have set the DNS server adresses right in every networks you have. I had this issue once, cause one of the networks had a different DNS adress, and pushed these errors every half an hour. | 1 | 2 | 142 | 2017-08-15T16:10:18.500 | database_errors | serverfault.com | |
160,074 | Oracle 10g NVL() not working? | I need to create a pivot table of all customers and all products and the price that the customer gets charged but also falling back to a standard customer when the customer has no price set up (the customer [CODE] is the standard customer that has a standard price for all products). I wrote this query; [CODE] but still... | Apparently this sub-query does not always return a value: [CODE] meaning that the default customer probably does not have a price for some of the products. Replace the sub-query with a hard-coded value in order to verify that NVL itself works as expected. | 1 | 1 | 529 | 2017-01-05T15:12:09.810 | database_errors | dba.stackexchange.com | |
338,791 | How to change this implementation to cover drawbacks of Mediator Design Pattern here | I am new to design patterns, here is a classic example of basic mediator pattern that has 3 problems with it, first of all take a look at the application image, diagram, code and description: We use a [CODE] to implement the font dialog box shown in the Motivation. The abstract class [CODE] defines the interface for di... | I think I understand what you are after, but first note [CODE] is essentially a container for a specific list of Widgets, it is actually the coded definition of which Widgets your dialog contains, and it is the place for defining the related "Mediator action". So adding a new Widget always requires a change to [CODE] ,... | 2 | 1 | 659 | 2016-12-23T17:09:56.540 | api_errors | softwareengineering.stackexchange.com | |
339,985 | Is it a bad idea to use a Beta warning on an onworking web application? | I'm currently working on an online app that includes many fairly new (for the company) features and they fall outside my expertise area by far, which means the edges may not be really well rounded yet. My boss wants it to be released in a somehow continuous manner, publishing features one at a time. All of these featur... | Releasing a piece of software as not beta should only be done after testing. You will lose most of your customers, when only one GUI element is not working. For example, a well known online clothing company (I don't know if I'm allowed to write down the name) released an update to their Website which doesn't allow chro... | 0 | 2 | 508 | 2017-01-11T15:20:12.500 | api_errors | softwareengineering.stackexchange.com | |
779,880 | why teredo IP Address keep changing? | I managed to configure teredo on windows 7 but I come up with one problem ... teredo IP address keep changing . I noticed that terendo stat keep change too , it moving from dormant to enabled and vica versa when I run (ipconfig /all) it give me : [CODE] and if I running it again after a while it give me : [CODE] note t... | Teredo is a protocol that tunnels IPv6 traffic via UDP on IPv4 to a Teredo server, which then routes the IPv6 traffic onward to the Internet, or back toward you. The Teredo IPv6 address you receive encodes the IPv4 address of the Teredo server and UDP port for your particular tunnel connection. If the tunnel disconnect... | 0 | 4 | 1,222 | 2016-05-30T20:06:56.140 | infrastructure | serverfault.com | |
209,761 | MongoDB crashes with out-of-memory or is being killed by oom-killer | A two shards MongoDB database regularly crashes with out-of-memory error or is being killed by the oom-killer. The system runs on GCE Debian 9.4 with MongoDB v3.6.5 , WiredTiger storage engine and without swap (as is the practice on GCE). The servers are n1-highmem-4 ( 4 vCPUs , 26 GB memory ). On the server runs just ... | It turned out that we had a long running daily query and chunks that were moved were still retained in memory as were used by the cursor of the query. In this way with every chunk moved memory with chunk data was retained and at one moment all memory consumed. As we removed this long-running query, there were no crashe... | 4 | 2 | 5,371 | 2018-06-15T13:32:18.603 | database_errors | dba.stackexchange.com | |
400,718 | How to make sure clients update their browser cache when my website is updated? | I am using the [CODE] [CODE] header to implement client-side caching. Since I update my website only once a month I would like the [CODE] and [CODE] files to be cached for 30 days with [CODE] . The problem is that the 30-day period defined by [CODE] doesn't coincide with the website update cycle, it starts from the mom... | Add fingerprints/hashes your CSS and JS URLs and set far-future Expires/Cache-Control headers. This is also the technique that Rails Asset Pipeline uses. | 2 | 4 | 6,213 | 2012-06-20T20:11:07.877 | infrastructure | serverfault.com | |
208,268 | Run command before and after printing with CUPS? | Problem A CUPS-Printer needs to be turned on automatically as soon as there are unfulfilled jobs Tried Solutions A shell script watches the queue on the server (lpstat -o) and turn on the printer when there is a job. If the queue is empty for 10 minutes it turns the printer off. Original Question: this is a home setup.... | My suggestion is to use tea4cups . tea4cups serves as a generic wrapper around any standard CUPS backend. It allows you to configure any command to run before and after sending the job off via the real backend. tea4cups specifically allows (any number of) commands to be run before the job is sent off: [CODE] . A prehoo... | 7 | 6 | 6,756 | 2010-12-02T10:57:03.603 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.