question_id int64 1 1.16M | title stringlengths 10 191 | question_body stringlengths 6 2k | answer_body stringlengths 0 2.5k | tags stringclasses 73
values | question_score int64 -15 1.65k | answer_score int64 0 2.91k | view_count int64 4 1.24M | creation_date stringdate 2008-08-01 18:45:00 2025-06-19 04:44:02 | category stringclasses 12
values | source_site stringclasses 8
values |
|---|---|---|---|---|---|---|---|---|---|---|
1,063,226 | Ubuntu /boot full | On an old server that still runs Ubuntu 16.04 the /boot partition is full, not with old kernels but with kernels that are all newer than the one that is running. I'm running 4.4.0-176-generic, and the listing is like this (same with initrd.img* files): [CODE] How can I safely clean things up? I currently cannot install... | First, Ubuntu 16.04 LTS has reached its end-of-life in last month, so you need to update to latest Ubuntu ASAP, otherwise you are running outdated software and exposing your system to all kinds of compromises. You can try to remove the old kernel packages as follows: Get a list of all kernel installed kernel packages: ... | 0 | 1 | 351 | 2021-05-11T15:20:22.890 | infrastructure | serverfault.com | |
55,995 | IIS stops responding | I'm using IIS (on Windows 2003) and have placed a dummy.html in my default web site. The file is empty. I'm using wfuzz to access this file a large number of times (wfuzz does HTTP requests), with the following command: [CODE] I run 5 parallell wfuzz for some minute, and then IIS stops responding. When this happens, I ... | Enable HTTP Keep-Alives tries to keep connections open to allow clients to download multiple resources without the overhead of setting up a new connection for each one. The timeout is how long it waits. Even with a setting of unlimited connections in IIS there is still a limit to the number of connections the machine c... | 1 | 1 | 1,959 | 2009-08-19T09:35:50.730 | infrastructure | serverfault.com | |
98,384 | Need to make MySQL's LOAD DATA LOCAL INFILE load large data faster | I need to load 4 million rows of data into a MySQL InnoDB table using LOAD DATA INFILE and would like to know if there are server configuration options I can tweak to get faster load. It took me 15 minutes to loaded 2 million rows, a performance I thought was disappointing for the LOAD DATA INFILE. My statement looks l... | Although LOAD DATA INFILE can work against InnoDB, there are too many ways InnoDB gets tapped to its limits before swapping and bottlenecks takeover. Here is a Pictorial Representation of InnoDB (from Percona CTO Vadim Tkachenko) The bottlenecks would be goring through the following structures InnoDB Buffer Pool Transa... | 7 | 1 | 7,955 | 2015-04-21T01:55:08.807 | database_errors | dba.stackexchange.com | |
295,478 | How to find a domain name responsible for the email | I have dedicated server with whm control panel. I have around 50 users in my servers. One of my client is sending email and i got abuse alert.I found the error from mail log. Can anyone look into it and help me from which domain that email is being sent [CODE] I want know to from which domain name email was sent to mat... | Sure. It was sent from xxx-xxx.xxx-xx.static-ip.oleane.fr (localhost) [xx.xxx.xxx.xxx] And if that is your server, then it was created locally from within the server. Probably a webmail software or a local script. | -1 | 0 | 411 | 2011-07-28T21:28:00.490 | infrastructure | serverfault.com | |
966,575 | PHP is stopping a web-based script after 60 seconds | I'm working in a Bitnami installation of Apache2 and PHP (5.6) and we have trouble with a script that's taking longer than 60 seconds to complete. This script in question is failing after 60 seconds, sending a 504 error. I already checked all other possibilities, but it keeps going back to the execution time. [CODE] Me... | Are you hitting the apache server directly or through a load balancer or proxy? This comment in the OP made me realize we were using AWS Load Balancer. Upon checking the documentation we saw it has a default idle timeout of 60 seconds. Increasing this limit allowed the script to finish gracefully. | 1 | 2 | 2,744 | 2019-05-09T14:59:55.430 | infrastructure | serverfault.com | |
234,586 | mariabackup of database running in docker | I have MariaDB running in a Docker container with the container's data directory [CODE] mapped to the host directory [CODE] . I want to run [CODE] from the host to create a physical backup of the data directory (which is [CODE] as far as the host is concerned and [CODE] from the container's perspective). I get an error... | Create a symlink on your host so that Mariabackup thinks [CODE] exists. Then delete the symlink once you're done. [CODE] | 2 | 2 | 2,092 | 2019-04-11T16:27:45.747 | database_errors | dba.stackexchange.com | |
141,068 | How should I describe the process of learning someone else's code? (In an invoicing situation.) | Edit: Justin Cave made a good point that this sort of communication should be up front in my quoting / estimations. Is this case, I'm still interested to know what sort of language people use to describe the 'existing code learning' activities. Especially to a company who haven't dealt with software contractors before.... | I would invoice such tasks as "Review existing functionality" and/or "Review existing code". Depending on the complexity of the new features I would add a "Design xxx" task which would include the time I spend figuring out the integration points into the existing code. I think it's a good idea to make it clear to the c... | 15 | 3 | 1,123 | 2012-03-22T21:50:18.530 | api_errors | softwareengineering.stackexchange.com | |
516,070 | MySQL memory leak? | I've just installed a brand new server image, and have been finding that MySQL has been consuming a lot of memory despite the fact that nobody's been querying it. I checked [CODE] to see if it was a matter of cache (à la http://www.linuxatemyram.com/ ), but it wouldn't appear to be. I've tried restarting the service, a... | First: If after a restart of a service, the same amount of memory is used, a memory leak can be ruled out because this results in "loss" of memory over time due to programming bugs where memory isn't freed correctly. Second: What is your problem? You have a tiny server with 256 MB of RAM, 182 MB of which is still usabl... | -1 | 0 | 669 | 2013-06-15T15:24:48.150 | database_errors | serverfault.com | |
612,524 | SSL VPN on Fortigate 100D Dual ISP | I have a Fortigate 100D and have been using it with a single internet connection for some time without issue and have also been using SSL VPN to connect into the network. The SSL VPN uses 2 factor authentication (Fortitoken). I have added a second ISP connection and configured Equal Cost Multi Path (ECMP) Routing. This... | Should I create a DNS Name which has two A records for the two public IPs of the connections so if either is up the clients will be able to get a connection to the firewall to authenticate? If you do, the clients will get one IP address from DNS unpredictably, and then DNS caching will ensure they get stuck with it. If... | 2 | 1 | 3,369 | 2014-07-14T22:12:29.277 | api_errors | serverfault.com | |
1,127,052 | Can I use one FQDN for all DCs for server authentication and one FQDN for NTP synchronisation? | I'm struggling in regards of a proper practice for server setup for LDAP/AD authentication and NTP. I was thinking if asking two separate questions will be better but I think being a common problem here for two types of services would be a good reason to ask. So, I have three domain controllers: [CODE] (on [CODE] ) [CO... | Anycast is not needed or recommended for use with NTP - see the NTP Best Current Practice RFC . (I actually think the RFC does not go far enough and should explicitly recommend against anycast NTP if an all-active design is feasible.) It's a common misconception about NTP that it should only have one source at a time a... | 0 | 2 | 246 | 2023-03-24T18:29:44.953 | api_errors | serverfault.com | |
582,055 | How can I assign an IP by MAC address in dhcpd | How do I assign an IP address specific to a mac address using dhcpd? So far I have tried [CODE] in my dhcpd.conf. But after restarting dhcpd and the machine with the mac address in question I just get a random IP again. | This is perfectly fine format -- I use exactly the same. Only I append a comment in the end of line (in addition). This is excerpt from working [CODE] : [CODE] As @Christoph mentions, there may be global option declared (or service defaults used) which may impact a way IPs are assigned / may override it. While migratin... | 12 | 8 | 76,391 | 2014-03-14T10:50:19.277 | infrastructure | serverfault.com | |
1,008,267 | Dynamic DNS with Bind9 and BIND_DLZ cannot start? | I have a device running Samba as an Active Directory Domain Controller using BIND_DLZ as a backend. On top of that I am running a secondary device also configured as an Active Directory Domain Controller also with BIND_DLZ as backend for redundancy purpose. IP addresses are assigned by ISC DHCP server which are able to... | OK, you have two Samba AD DC's using Bind9 for the dns server and you are having problems with dns, I wonder if it could have anything to do with your your incorrect bind files ? One major problem is that you have the reverse zone in a flat file, this is not allowed, you need to create it AD, you can use samba-tool to ... | 2 | 0 | 2,057 | 2020-03-25T01:37:14.560 | infrastructure | serverfault.com | |
103,511 | Permission Denied on a database created by the same user | I run this command: [CODE] I use the [CODE] user to create all my databases. However, I get this error message: ERROR: permission denied for relation pg_database Why can't I access such table in my database? (again: the user is the actual creator of the database). My aim is to fully disable connections to this database... | Although [CODE] owns the database, the catalog tables are still owned by user [CODE] . In order to update [CODE] , you need to be logged in as [CODE] , or another superuser role. This makes sense, given that [CODE] contains entries not just for your database, but for every database on the server. If you want to disable... | -1 | 1 | 1,747 | 2015-06-08T16:04:24.107 | warehouse_errors | dba.stackexchange.com | |
530,269 | How to catch request to http://<public_ip> and https://<public_ip> in nginx? | I have a few websites each in its own server{} block in nginx, with their domains defined in server_name directives. One of the websites also has an https server{} block. They're all on the same IP. How do I create server blocks that would catch the requests to [CODE] and [CODE] , but not any of the domains? I've tried... | nginx vhost perference is described in: http://nginx.org/en/docs/http/request_processing.html#mixed_name_ip_based_servers default_server settings work just fine as long as you have only one SSL website for a IP: [CODE] nginx currently doesn't support SNI properly that would allow you to specify multiple SSL certificate... | 1 | 0 | 214 | 2013-08-11T23:46:28.630 | infrastructure | serverfault.com | |
17,146 | Does ensemble (bagging, boosting, stacking, etc) always at least increase performance? | Ensembling is getting more and more popular. I understand that there are in general three big fields of ensembling, bagging, boosting and stacking. My question is that does the ensembling always at least increase the performance in practice ? I guess mathematically, it is not true. I am jsut asking a real life situatio... | Under Ensemble you can use Majority Votes, Average, Weights etc to get the final outcome from Ensemble model. To understand it better you can go through this Link , explained well by Alexander. Now, let us consider that you have 3 models which has an accuracy of 65-70%. Now by stacking these 3 models there is very high... | 7 | 2 | 2,569 | 2017-02-23T17:45:29.633 | data_quality | datascience.stackexchange.com | |
444,510 | What are the benefits of tracking solved bugs? | It's obvious why you should track ongoing bugs. It's not at all obvious to me why you should track solved bugs. If a bug is solved, then just email the person who submitted it, delete the bug once they're happy, and maybe give your boss a thumbs up. Despite this, every bug-tracking guide I've seen suggests to track whe... | In addition to Thomas' answer, a bug report that leads to a code change is just as much a part of your code's history as the requirements specifications, architecture documents, customer change requests, etc. Another way to look at it - would you delete the requirements documentation after having successfully implement... | 33 | 86 | 8,052 | 2023-03-15T22:41:25.443 | api_errors | softwareengineering.stackexchange.com | |
112,052 | Mysql Slow when join query running increaed | Our Mysql dedicated server box always have around 40 - 80 active user connection , so the query speed very good and Cpu usage low . (around 4 - 8 core from 24 core) but sometimes when some wordpress "Join" query running , server speed slow and other query go in queue so server running query increased over 600 -1000 /s.... | With MyISAM, an [CODE] E will request an exclusive lock, and have to wait for any [CODE] to finish. If another [CODE] comes in after the write, then it will be blocked waiting for the write to get its lock and finish its action. That is, one simple write can snowball into the mess you are seeing. Changing to InnoDB is ... | 0 | 1 | 426 | 2015-08-24T20:28:40.513 | database_errors | dba.stackexchange.com | |
35,221 | Strange behaviour of a query with order by and rownum on Oracle's Exadata server | I am executing the following query on two different database servers: [CODE] This query returns different records on Exadata than on the other server. On Exadata, it first selects the first row and then does the ordering. On the other server, it first does the ordering and then returns the first row. We are using Oracl... | This answer is wrong, because the value for [CODE] is assigned before the [CODE] is executed. Below is the correct one, [CODE] | 1 | 4 | 7,598 | 2013-02-22T07:06:45.187 | database_errors | dba.stackexchange.com | |
353,210 | Does Plone 3.3.6 have all the recent security hot fixes included? | We recently upgraded to Plone 3.3.6 from 3.3.5. Being paranoid I have left in the 3 recent hot fixes Products.PloneHotfix20110720, Products.PloneHotfix20110531 and Products.Zope_Hotfix_20110622 in our buildout. Does anyone know if Plone 3.3.6 as defined by http://dist.plone.org/release/3.3.6/versions.cfg contains all o... | If you google names of hotfixes, you will find pypi page saying to which versions of Plone the fix applies. Normally Plone bugfix release is made withing 2 weeks. | -1 | 0 | 128 | 2012-01-24T20:12:53.597 | infrastructure | serverfault.com | |
118,253 | OO best practices for C programs | "If you really want OO sugar - go use C++" -- was the immediate response I got from one of my friends when I asked this. I know two things are dead wrong here. First OO is NOT 'sugar', and second, C++ has NOT absorbed C. We need to write a server in C (the front-end to which will be in Python), and so I am exploring be... | From my answer to How should I structure complex projects in C (not OO but about managing complexity in C): The key is modularity. This is easier to design, implement, compile and maintain. Identify modules in your app, like classes in an OO app. Separate interface and implementation for each module, put in interface o... | 19 | 16 | 6,185 | 2011-11-07T08:05:09.110 | api_errors | softwareengineering.stackexchange.com | |
163,296 | Microsoft SQL database table size | I have come across a sizing issue with my database tables becoming too large. Some digging has shown that it is how MS SQL stores the information. I created two test tables and filled them with data: [CODE] The first table is a mini version of the second, with only the primary index created. I have inserted 235605 rows... | SQL is pre-allocating the space for the fixed-length datatypes in your table (datetime 8b per field per row, numeric(10/14, x) 9b per field per row), and possibly 'stubs' for the variable length datatypes. It doesn't matter if they're null or not. This is by design so that the rows are inserted and updated efficiently.... | 2 | 4 | 3,035 | 2017-02-06T03:38:20.883 | warehouse_errors | dba.stackexchange.com | |
496,234 | What has recently changed related to Office 365's ".mail.eo.outlook.com" domain? | DNS resolution worked fine in late March, but now, some resolvers (my resolver on my LAN behind NAT, and my ISP RCN's resolver) have problems with hostnames it this zone, while other (eg, Google's 8.8.8.8) do not. These DNS queries are NOT whitewashed. You can query any hostname in the ".mail.eo.outlook.com" zone. GOOG... | I removed the following line from my named.conf file and the request is now working. query-source address * port 53; the following was forwarded to me from someone I reached out to... As you know, DNS queries from DNS servers could come from a source port of 53. A while back, because of some security issues, BIND start... | 0 | 3 | 7,407 | 2013-04-04T18:46:53.570 | infrastructure | serverfault.com | |
664,682 | Public folder replication in 2003/2010 Exchange coexistance | I am pretty much ready to decommission Exchange 2003 in the environment. I've got seven 2003 servers. The only hold up at this point is Public Folder replication to 2010. At this point I'm having an issue with one particular public folder of contacts (mail-enabled). I discovered the issue in the event log. I typically ... | After much troubleshooting, we ended up working around the problem and got rid of the errors about a week ago with no issues since. What we ended up doing to find the problems was accessing the public folders with a mailbox in 2003. It seems as if there was corruption in the public folder with contacts since I did not ... | 1 | 1 | 699 | 2015-02-03T17:36:35.920 | data_quality | serverfault.com | |
780,663 | Cisco Meraki AD Authentication on iPads not working | I've had Cisco Meraki setup for a while for our iPad MDM and it's been great. I am now trying to take it a setup further by added in AD authentication at enrollment time. I've followed this how-to from Cisco Meraki , I'm using the thrid option [CODE] . Everything seems to be ok from the Meraki point of view. I get the ... | For others who run into a problem with Meraki mobile enrollment please see this answer and the complete discussion that led to this solution http://chat.stackexchange.com/rooms/40681/discussion-between-user5870571-and-tyelford . On the User Authentication Settings page make sure that the username is entered as domain\u... | 1 | 2 | 742 | 2016-06-02T23:34:53.423 | api_errors | serverfault.com | |
223,663 | How are these null values stored in a NOT NULL column? | We are replicating tables from SAP ECC 6.0 on HANA into an Oracle 10g warehouse, using SAP SLT. Since starting this, we have noticed the [CODE] column definitions from HANA are retained in the Oracle copies of the tables, but HANA stores many values as empty strings. Oracle stores empty (varchar) strings as [CODE] s an... | What you described is not normal. As already mentioned in comments, in Oracle databases, empty/zero-length strings are treated as [CODE] . https://docs.oracle.com/cd/B19306_01/server.102/b14200/sql_elements005.htm#i59110 Note: Oracle Database currently treats a character value with a length of zero as null. However, th... | 4 | 6 | 2,000 | 2018-11-28T15:19:38.430 | warehouse_errors | dba.stackexchange.com | |
699,999 | How to process sendmail queue when 25 port is blocked? | I have one VPS which forwards e-mails from one mailbox to another. Unfortunately ISP have blocked 25 port last week and since then I can't receive any e-mail from it. According to mailq there are 9000+ mails waiting. I need somehow to process the mail queue. VPS has CentOS installed and uses sendmail to deliver mails. ... | If outgoing port 25 is blocked you cannot send email because you won't be able to connect to the remote MX. What I would do is setup in a different hosting provider a machine that is allowed to send email and set it up to relay from your VPS listening in a different port (e.g.: 1025), then you could configure your send... | -1 | 3 | 455 | 2015-06-18T15:04:19.300 | infrastructure | serverfault.com | |
299,917 | Tikiwiki wiki improper links | I set up a tikiwiki site for my new project, however when i attempt to link directly to a wiki page, it goes to [CODE] rather than the proper url [CODE] . How do I fix this? | The problem was that i had to rename _htaccess to .htaccess to enable short urls. HAHA! fixed it immediately, now /homepage works | -1 | 1 | 83 | 2011-08-11T04:14:17.570 | infrastructure | serverfault.com | |
1,132,335 | Azure Powershell script to clone NSG rules across subscriptions in the same Tenant | I need some help with a powershell script clone NSG rules from a particular NSG in 1 subscription to a NSG in another subscription. I have a script that accomplishes this if both NSG's are in the same subscription but not if they are in different subscriptions. Here is what I have. Any help would be appreciated. [CODE] | You just need to set the subscription context before and after the origin nsg like this Set-AzContext -SubscriptionName 'SUBNAME' $nsg = Get-AZNetworkSecurityGroup -Name $nsgOrigin -ResourceGroupName $rgName $nsgRules = Get-AZNetworkSecurityRuleConfig -NetworkSecurityGroup $nsg Set-AzContext -SubscriptionName 'SUBNAME' | 0 | 0 | 450 | 2023-05-31T17:34:02.507 | infrastructure | serverfault.com | |
290,863 | Linux: Web server permissions | These are the permission for my www folder: [CODE] Are they correct? I'm wondering: Why does it have to be an x (for execute) in there, isn't that risky? When I try to set them to remove the execute flag for others, my web server is not able to load any files anymore: [CODE] Am I doing it correctly or would I need to c... | On directories [CODE] permission grants the ability to traverse the directory. A directory without [CODE] cannot be examined, which explains why the web server cannot see the files. | 0 | 6 | 472 | 2011-07-15T20:42:00.767 | infrastructure | serverfault.com | |
899,667 | Nginx high memory usage duplicate SSL | We have an NGINX running with a lot of virtual hosts (~600) Unfortunately the NGINX workers are each using a large chunk of residential memory (~6GB) When inspecting the memory (strings) it yields the duplicate meta information you usually find in SSL certs (duplicated up to over 100.000 times). We only use a handful d... | We were using Openresty mostly for authentication. As we were suspecting Openresty to cause the high memory usage we extracted all lua parts with an [CODE] Now we have an nginx which proxies back to openresty for authentication. With the same number of hosts and SSL certificates we now have a much lower memory usage (~... | 2 | 0 | 1,485 | 2018-03-02T13:28:38.553 | data_quality | serverfault.com | |
950,000 | AWS SSL wildcard not working for subdomain | I've created SSL certificate on AWS using Certificate Manager (ACM). I included the domain and wildcard in the list of domains for this certificate: mydomain.com *.mydomain.com Then I uploaded some application to Elastic Beanstalk. To redirect to the subdomain I added CNAME in Namecheap provider pointing from subdomain... | To solve this problem I had to add 443 listener to the Load balancer for the application of this domain. Why I didn't do it? Because I forgot that a subdomain has its own application and doesn't inherit the domain app's configuration, so all the setting should be added separately. | 1 | 0 | 2,217 | 2019-01-21T03:44:38.907 | database_errors | serverfault.com | |
259,961 | i have error in query | i am not getting what is the issue in the query probably i am not following the correct way to put the string and char sign , i am inserting the data in c# to local host with where clause please check the query and Error i am getting [CODE] Error | If you add static strings to your SELECT Statement you always have to surround them on both sides with single ticks. But you should urgently consider prepared statements like https://learn.microsoft.com/de-de/dotnet/api/system.data.sqlclient.sqlcommand.prepare?view=netframework-4.8 [CODE] | 0 | 2 | 24 | 2020-02-18T22:07:41.337 | warehouse_errors | dba.stackexchange.com | |
873,586 | Nginx, installing fastcgi_purge_cache on centos 7? | I'm trying to setup my sites to run with fastcgi_cache and found it a bit problematic that it doesnt really refresh content when something new is added to my site/webshop. So i stumbled upon the plugin nginx_helper, and it seemed to be everything i needed - but it requires the fastcgi_purge_cache module to be installed... | I maintain a Copr repo with nginx rebuilt to include this specific module . You can enable it on CentOS 7 by installing the appropriate yum repo [CODE] ... or on Fedora with [CODE] . | 0 | 0 | 1,330 | 2017-09-14T08:47:54.940 | infrastructure | serverfault.com | |
372,240 | PPTP VPN Server issue : server = centOS & client = windows 7 | I have a CentOS server configured as a PPTP VPN Server. The client is a Windows 7 with "Use default gateway on remote network" in advanced TCP/IPv4 properties enable. He can connect to CentOS without any problem and can access to: The Box of his ISP ( [CODE] ) The CentOS server The website which is hosted by the server... | I have found the solution. There was a script in my server which did, at every reboot : [CODE] and a REMOVE( [CODE] ) ... I added a startup shell with : [CODE] [CODE] Everything works like a charm ! | 0 | 1 | 2,005 | 2012-03-22T00:45:51.503 | infrastructure | serverfault.com | |
866,204 | Unable to connect to encrypted RDS instance running MySql from workbench | We recently changed our production RDS instance running MySQL to an encrypted one. I am not sure if the encryption caused the issue or anything else, but now we can't remote connect to the instance through workbench. The connection from our Php application which is hosted on EC2 server under the same account works fine... | First up, what's an "encrypted one". Do you mean RDS using encrypted disk? Or do you mean requiring SSL connections? Did it used to work, in the same network? What exactly have you changed since it last worked? A few things to check: Did you tick the "allow public access" tick box when you created the instance? Are you... | 1 | 1 | 1,430 | 2017-08-01T06:12:55.980 | database_errors | serverfault.com | |
178,442 | Internet connection stays put only when on VPN | Please excuse me if this has been posted, I tried looking around but failed to find anything similar to what am looking for. I have a non-admin laptop provided by my employer and am having trouble connecting to the Internet at home. At work, I connect either via Wired/Wireless Ethernet and things work fine. I can acces... | The IP address 169.254.34.27 is a self-assigned address. This happens when the DHCP client on your machine cannot get an IP address from the DHCP server on the router. It is not surprising that you don't have access to anything, because you are essentially not on your home network. The VPN connection will not replace y... | 0 | 0 | 286 | 2010-09-06T11:11:34.323 | database_errors | serverfault.com | |
445,884 | APC uptime 0 because of Fast | I have a VPS using Parallels/Plesk (11.0.9 Update #22, last updated at Oct 31, 2012 03:33 AM CentOS 6.3 (Final) x86_64) I have apache (CGI/FastCGI) installed and nginx as reverse proxy. Everything is working just fine. I installed APC for caching, but the issue is that the uptime is 0 always. It's restarting each 15 se... | PHP will die and then a fresh one will be spawned when PHP_FCGI_MAX_REQUESTS is hit. You can tune this figure with: [CODE] | 2 | 0 | 1,208 | 2012-11-06T12:03:26.770 | infrastructure | serverfault.com | |
690,110 | Windows explorer showing X on mapped drives but only when | Hey guys here with another issue. Its a weird one. Ok so I have a user who runs a program called Focal Point which send data to our CNC Machines. I am the IT guy so I have no clue what the machines do or how to use them. Anyways when the user logs in and launches Focal Point it loses the Access database where the infor... | https://technet.microsoft.com/en-us/library/ee844140(v=ws.10).aspx This solved my issue. As soon as I made the registry entry the drives were showing up as connected in the program and I did not have to reconfigure it. | 0 | 1 | 12,495 | 2015-05-06T19:04:21.947 | infrastructure | serverfault.com | |
925,674 | How to resolve dns in multiple name servers? | resolv.conf domain example.com nameserver 192.168.122.54 nameserver 192.168.124.44 Take this as the sample [CODE] . The scenario is that the DNS tries to resolve in the first name server as mentioned, if it is not able to resolve it should try to resolve using the second name server but it is not happening this way but... | "if its not able to resolve it should try to resolve using the second name server " Yeah, except that is not how DNS works. If server 1 says "can not resolve" THAT IS IT. They are supposed to be redundant, so an answer is an answer. It will only ask nameserver 2, if nameserver 1 does not respond (i.e. is down). | 1 | 4 | 3,806 | 2018-08-09T16:09:04.397 | infrastructure | serverfault.com | |
262,885 | Client vs Creator in Factory Method and Abstract Factory patterns | This page descibes one important difference between [CODE] and [CODE] : http://architects.dzone.com/articles/factory-method-vs-abstract The difference, according to this page, is that in [CODE] pattern the [CODE] (i.e. the entity creating new objects) and the [CODE] (i.e. the entity using the [CODE] ) are the same clas... | Your distinction is not generally correct. For example, the Abstract Factory Pattern uses the Factory Method Pattern. In the Factory Method Pattern, the classes using and providing the factory method need not be the same class. An Abstract Factory class has object creation as its sole concern. If an abstract factory in... | 0 | 2 | 2,585 | 2014-11-15T10:59:52.617 | api_errors | softwareengineering.stackexchange.com | |
308,779 | Copying File into hidden folder | I'm attempting to copy a URL link for our companies library system onto all users workstation desktops. I've tried creating a shortcut via Group policy: User Configuration > Preferences > Windows Settings > Shortcuts however from what I can tell, this doesn't work onto Windows 7 machines as they're common desktop direc... | The problem isn't that it's hidden, it's that you're using the wrong path. You want to copy it to [CODE] | 2 | 2 | 2,791 | 2011-09-07T00:06:11.653 | infrastructure | serverfault.com | |
329,539 | IIS7 compression failing with "COMPRESSION_DISABLED" despite having the option enabled | I have been unable to get GZIP compression working on my IIS7.5 server. I have tried all the suggestions online, including here at ServerFault and no matter what, the trace always comes back stating "COMPRESSION_DISABLED", but I don't know why it's disabled. I have the following in my applicationHost.config: [CODE] My ... | I don't see doDynamicCompression or doStaticCompression=true listed there; are they set? If so, at what level? | 0 | 0 | 464 | 2011-11-09T23:26:21.173 | infrastructure | serverfault.com | |
257,451 | Why is this SELECT creating temp tables? | When I run the following SELECT, it takes quite long, typically 30 or 40 minutes (I'm on Debian, MySQL 5.5.62): [CODE] However, the explain suggests that this shouldn't happen (or I don't understand how things work): [CODE] Running the SELECT with profiling shows: [CODE] Now, I have to admit that I don't understand the... | It is not surprising that temp tables would come into play. Why ??? According to the MySQL 5.5 Documentation on join_buffer_size (Italics mine): The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use indexes and thus perform full table scans. Normally, the best w... | 0 | 1 | 100 | 2020-01-15T12:03:28.723 | database_errors | dba.stackexchange.com | |
408,547 | What should the response of the Service Layer be? | My controller calls the service layer. The service layer calls a repository or does whatever it does. If I just return a person object for example how do I know it was successfully retreived? I can only think of two ways to handle this, but wasn't sure if there was another way or if one of these was a more appropriate ... | Both of those work. Both require the controller to do more than simply be a controller. They cast it more as an orchestrator . An alternative is to configure the service layer to pass the results of it’s work somewhere else, like a presentation layer. The controller doesn’t actually need to know what, if anything, happ... | 0 | 1 | 2,004 | 2020-04-08T17:08:03.677 | api_errors | softwareengineering.stackexchange.com | |
391,504 | About databases in docker containers | I'm trying to understand containerized apps and databases and I'm trying to understand the microservice architecture using kubernetes. One thing that I couldn't get my mind convinced is the database part. For example I have a Venues database and a Venues REST API application in a container, which also has the database ... | While a database server may run in a container, its storage needs to be an external resource. For example, when running Docker manually, you would mount a volume from the host into the Docker container for the server process to use. That external storage survives the server process, whether that process is containerize... | 2 | 4 | 240 | 2019-05-06T20:15:43.610 | pipeline_ops | softwareengineering.stackexchange.com | |
136,413 | does merging tables always increases performance? | Consider we have data from visitors in a web site. And you are trying to create a database design for data mining. There are some common fields which users have such as browser,ip, etc... . But there is a field such as email or something which for example 20% of people give. My question is at what percent you should me... | Without any knowledge about the workload of the database, is almost impossible to answer to a question like this. How often those “extra” data will be used? What are the most common queries? How frequent they are? and how much it is important the speed of the execution? The general advice is always the best one for me:... | 3 | 2 | 57 | 2016-04-25T06:11:14.843 | warehouse_errors | dba.stackexchange.com | |
582,707 | Troubleshooting Application Evaluations in SCCM2012 | I am running into an interesting issue with some applications not evaluating properly in SCCM 2012. The example software I have is Adobe reader 11. When I install using an MSI deployment through software center, everything works great. The problem comes up when someone goes to the adobe website and downloads the execut... | OK, this will be a long post, but there's good stuff here. First off, the GUIDs for installed software are located in the following locations... For 32-bit Windows, and 64-bit software on 64-bit Windows: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall For 32-bit software on 64-bit Windows: HKLM\SOFTWARE\Wow643... | 4 | 7 | 25,784 | 2014-03-17T20:43:53.567 | pipeline_ops | serverfault.com | |
581,568 | Installing Ioncube on CentOS | I am trying to install Ioncube on one of my VPSs.Just a little background. This is a CentOS latest, running on an ESXi latest host. The machine has 2GB memory. I ran php-based loader wizard. I'm trying to install v5.3. When re-opening the loader, I am presented with this: [CODE] Some more information for debugging: [CO... | From the looks of it, you're loading ioncube for PHP 5.3, and you're using PHP 5.4. Adjust the ini file to use 5.4 and you'll be good to go. | 1 | 1 | 4,386 | 2014-03-12T14:32:24.867 | infrastructure | serverfault.com | |
991,946 | "No space left on device: AH00023: Couldn't create the mpm-accept mutex" when restarting httpd | My server sometimes gets filled up with connections in apache stuck in a "Sending Reply" state, requiring me to restart apache. Most of the time this works, but sometimes I will get this error when trying to restart apache instead: [CODE] Running [CODE] or [CODE] as suggested then brings back the following relevant inf... | This is most likely caused by the semaphore limit of the OS, and Apache not properly cleaning up after itself. See more details about semaphore limits https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/tuning_and_optimizing_red_hat_enterprise_linux_for_oracle_9i_and_10g_databases/sect-oracle_... | 8 | 18 | 25,712 | 2019-11-15T06:55:42.493 | infrastructure | serverfault.com | |
273,281 | PHP_Flag and PHP_Value Command Not Found Issue | We currently have a dedicated server with one company that is running apache, php, mysql etc. It currently has whm/cpanel installed. We are migrating to a new server with cpanel/whm. Everything migrated over fine but now one of my sites has some php_flag and php_value lines in the .htaccess file. When I go to the site ... | Putting [CODE] etc in [CODE] is only possible when you are using [CODE] . With CGI/FCGI, Apache settings cannot be used to configure PHP since it is not running within Apache. Using CGI, if you need a site with a custom php.ini, the exact details would depend on how exactly you're running the PHP (CGI, mod_fastcgi (wit... | 4 | 10 | 9,221 | 2011-05-24T17:10:21.040 | database_errors | serverfault.com | |
35,332 | Mysql setting a record as deleted or archive | Is there any way to omit some records in mysql select statement and not deleting them? We can easily add a column for example deleted and set it to 1 for deleted ones and keep them but the problem is that we have to put [CODE] in all queries. What is the best way to keep some records as an archive? | You basically have two choices. You could use a view to do the filtering though this has some performance issues on MySQL, or you could use a trigger to copy deleted rows into an archive table. I suspect that on MySQL, the trigger solution will be much better (on other DB's the tradeoffs may go other ways. | 1 | 2 | 566 | 2013-02-24T13:30:50.247 | database_errors | dba.stackexchange.com | |
418,230 | Autounattended.xml & GPT partitions | We are trying to setup an unattended install of windows 7 to a gpt partition on a Lenovo U410, which has UEFI bios. This webpage outlines how to format the disk for GPT. If add the default configuration, from the page, to the autounattended.xml file I get the error: [CODE] If we use the, webpage's, recommended configur... | Windows 7 needs an 100mb partition for the Bitlock feature, this is not optional. I do not know how this exactly translates to your setup but probably: partition 1 UEFI partition 2 NTFS 100mb partition 3 NTFS Good luck | 2 | 1 | 5,008 | 2012-08-16T13:29:19.457 | infrastructure | serverfault.com | |
405,982 | MySQL: Pacemaker cannot start the failed master as a new slave? | pacemaker-1.0.12-1 corosync-1.2.7-1.1 I'm going to setup failover for MySQL replication (1 master and 1 slave) follow this guide: https://github.com/jayjanssen/Percona-Pacemaker-Resource-Agents/blob/master/doc/PRM-setup-guide.rst Here're the output of [CODE] : [CODE] [CODE] : [CODE] Editing [CODE] on the serving-6192 o... | Eureka! Both of us forgot a very very important log file, it's... [CODE] : [CODE] As you can guess, I tracked the user activity by combining the binlog and [CODE] : [CODE] but [CODE] is set read-only when starting as a slave, and then when Pacemaker perform monitor operation with [CODE] : [CODE] [CODE] command failed w... | 7 | 2 | 14,184 | 2012-07-09T09:18:48.197 | database_errors | serverfault.com | |
501,311 | ProFTPD permissions in FreeBSD 9 | I'm currently administrating a FreeBSD 9 server with multiple sites hosted. For example: [CODE] I need to grant read/write permissions to developers so they will be able to upload / download files from those sites. There are different combinations of permissions to different developers. For example, [CODE] How should i... | Use [CODE] to SetUid and SetGid on the folders they're accessing. This causes new files and folders in that directory to inheirt the user/group of that folder instead of the user creating the files. If you can create access groups that nicely clump the developers, that's the preferred method of access administration. F... | 1 | 0 | 243 | 2013-04-21T11:34:07.423 | infrastructure | serverfault.com | |
297,217 | Cloning a Linux Server after I have all configured | I'm a super noob with Linux and I wanted to know how to Clone/Ghost a linux install from one server to another (they are pretty much the same hardware, Dell R710s) but I need to make many of them and I don't want to install one by one and setup them up one by one. What I'm trying to accomplish is to setup and configure... | You should investigate deployment solutions like Chef , Puppet or radmind -- These are all designed to help you make a bunch of servers follow a standard configuration/template. Both Puppet and Chef are even capable of handling the IP and Hostname bits pretty much out of the box, and examples of usage abound. | 1 | 4 | 273 | 2011-08-03T18:00:46.707 | database_errors | serverfault.com | |
319,384 | 3com 4500 switch get some info with SNMP | I have 3com 4500 switch. I can got ram and CPU info with these: [CODE] But I could not find other information that I need, neither I could find MIB of 3com 4500. I need: Bandwidth rating of ethernet interfaces Usage density of ethernet interfaces And also some info from logs like: Collision Unexpected acts on ports Can... | You may try to snmpwalk this tree iso.3.6.1.2.1.2 snmpwalk -v 2c -c YourCommunity HostnameOrIP iso.3.6.1.2.1.2 | 2 | 1 | 5,527 | 2011-10-07T09:47:20.590 | api_errors | serverfault.com | |
385,937 | How to Enable IPtables TRACE Target on Debian Squeeze (6) | I am trying to use the TRACE target of IPtables but I can't seem to get any trace information logged. I want to use what is described here: Debugger for Iptables . From the iptables man for TRACE: [CODE] I use the following rule: [CODE] but nothing is appended either in /var/log/syslog or /var/log/kern.log! Is there an... | Run: [CODE] That fixed it for me. | 13 | 9 | 24,358 | 2012-05-04T04:37:26.910 | infrastructure | serverfault.com | |
177,551 | Starting a virtual machine with vmrun | For some reason, when I start an ubuntu virtual machine using vmrun, it has no network connection, but when I start it within the vmware workstation gui it does. How do I fix this? | When starting the virtual machine with the command line after using the gui, it prompts you asking if you copied it or moved it. If you choose move it, networking seems to work. | 0 | 0 | 516 | 2010-09-03T00:14:39.890 | infrastructure | serverfault.com | |
417,958 | Users unable to search redirected profile folders | All of our clients are using Windows 7. Our file server is Server 2008 R2. We have redirected users' profile folders (My Documents, My Pictures, Favorites, My Videos) to a share on the file server ( [CODE] ). Inside the UserProfiles share is a folder for each user. When we created the UserProfiles folder, we gave it th... | You have the Traverse folder permission configured for both the \server\UserProfiles share and the actual folder right? | 3 | 0 | 2,739 | 2012-08-15T20:56:31.220 | infrastructure | serverfault.com | |
111,917 | Better database design | I'm using a MySQL database to store data from my java application. In java I have two classes: The [CODE] class has a name and holds a list of vocabularies. A [CODE] has a vocabulary field and a translation field. (E.g. vocabulary=bridge;translation=Brücke) Currently my database looks like this: [CODE] Question: How ca... | I would begin with a little tweak: In your current design, there is no need to have "id" column on vocabularylists table. I will write it from top of my head, so apologies in advance for any syntactic mistakes. :) First change: [CODE] This way, you will have numeric ID and easily modifiable name of the vocabulary. This... | 4 | 4 | 163 | 2015-08-22T15:16:00.587 | database_errors | dba.stackexchange.com | |
114,923 | Will B-Trees and Other Data Structures Become Obsolete With The Advent of Solid State Drives? | Many (perhaps most?) database applications today use B-Trees and variations to store data, because this data structure optimizes the read, write and seek operations on a hard disk (and these operations in turn play an important role in the overall efficiency of the databases). Should Solid State Drives (SSDs) completel... | B-Trees are most often used for database indexes on hard disk, but they have advantages even as an in-memory data structure, given the modern memory heirarchy with multiple layers of cache and with virtual memory. Even if virtual memory is on an SSD, that won't change. I use an in-memory B+-style multiway tree library ... | 26 | 26 | 8,120 | 2011-10-18T15:01:33.267 | api_errors | softwareengineering.stackexchange.com | |
280,588 | Index Maintenance on Clustered PK Index | I know there are similar question to this one, but I couldn't find one dealing with Index Maintenance... I have some PK Clustered Indexes [int (auto increment).] I always notice that these Indexes frequently have two issues: Fragmentation is quickly over 10% Fragmentation is sometimes over 90% Do I need to apply the sa... | I wouldn't worry so much about the fragmentation over 10% but over 90% fragmentation on a clustered index is a lot... but are you seeing any performance issues with that specific table when it has that much fragmentation? (If it's not a big table, it may not even be a concern.) If you are experiencing performance issue... | 1 | 1 | 78 | 2020-11-30T13:27:05.580 | warehouse_errors | dba.stackexchange.com | |
353,769 | Repository Spec file | I have source of webfiles. I need to make a RPM for it. I have placed my source in SOURCES folder and use following spec file. But it is creating noarch rpm with 2MB size, but my source is greater than 2MB size. Its also did not attach files with this. I think i have a problem in spec file. [CODE] | try removoing the %dir tag in the %files section. I.e. [CODE] | 0 | 1 | 241 | 2012-01-26T06:33:23.067 | infrastructure | serverfault.com | |
106,222 | Why does the 1st derivative appear to lag the slope of the fit in Scipy's Savitzky-Golay filter? | I have a simple script that performs the Savitzky-Golay filter on a toy dataset of forex prices from yahoo finance: [CODE] The fit and derivatives looks broadly sensible, however, the x-axis seems skewed. Here is what I ran to plot the derivative alongside the original fit: [CODE] Output: I've circled the points at whi... | This is more of a guess than an answer, but I think the [CODE] parameter is used to analytically deduce the nth order derivative of the polynomial used to fit each point. Since each point is a separate fit, the derivative of the line created by the individual fit points at independent variable [CODE] isn't necessarily ... | 1 | 1 | 368 | 2021-12-17T15:01:59.430 | data_quality | datascience.stackexchange.com | |
37,178 | SQL Server 2008R2 DBCC CheckDB never finishing | I'm running SQL Server 2008 R2 on Windows server 2008 R2 and up until recently we were having no problems. After windows updates recently (no sql server updates) we cannot run step 1 of our maintenance plan DBCC CHECKDB It does not error out, it just runs indefinitely, longest time so far 36 hours. The DB is only about... | There is a very interesting post on DBCC CHECKDB on SqlPerformance, Minimize impact of checkdb . This will give you several ideas, like testing your backup on another server (therefore offloading the charge), using several options (you can experiment with PHYSICAL_ONLY for example). As CHECKDB is making a big use of te... | 4 | 1 | 5,677 | 2013-03-20T21:20:45.123 | api_errors | dba.stackexchange.com | |
73,501 | Code review guidelines for CSS, JS and HTML | I have been asked to create guidelines for review CSS, JS and HTML. I know there are coding guidelines for JS but I don't know any about HTML and CSS. To review JS I will certainly follow those guidelines and mention them. But what about CSS and HTML? Apart from logical errors and indentation issues, are there any spec... | Some things to look for: Is structured information identified using the appropriate HTML tags? [CODE] - [CODE] for headings, [CODE] / [CODE] and [CODE] for lists, etc? Are no legacy HTML tags ( [CODE] , [CODE] , [CODE] , [CODE] ) used? Does the site use the least amount of markup possible? Is style information external... | 9 | 5 | 6,741 | 2011-05-04T04:37:10.120 | api_errors | softwareengineering.stackexchange.com | |
412,762 | Sendmail configuration on Linux | I'm running a perl script which wil create weekly report in CSV format. I want this report be emailed to the manager. hence I am trying to configure Sendmail on my RHEL 5.6 server so that I can write a bash script to send this report as an attachment. But I am not able to do that. I have done below entry in the senmail... | What would stop you from using Perl's Mail::Send module? | -1 | 0 | 1,452 | 2012-07-31T07:22:31.283 | infrastructure | serverfault.com | |
992,286 | "apt install" didn't work but "dpkg -i" did | I tried to port qemu-related packages ("qemu-system-data,"...etc.) from the Ubuntu disco to xenial. I downloaded the qemu-system-data package , extracted it, modified control file and then re-build it through [CODE] . When I tested it, strangely "apt install" always a success and tell me that 0 newly installed. Here is... | You need to put this file in the repository (remote or local) if you want to use apt-get (more information here - https://wiki.debian.org/DebianRepository/Setup ). Also you can install it with apt: [CODE] | 1 | 0 | 218 | 2019-11-18T13:08:46.813 | infrastructure | serverfault.com | |
453,066 | Transfer an account from a 'dead' domain | So - following from my previous question: How do I stop DFSR replication preventing a Domain Controller from advertising Domain Services? , I lost the FSMO DC, and my only other DC was in an unrecoverable state. I've created a new domain to continue my testing, but now have an issue which I suspect is relevant to any d... | USMT , which is part of the WinAIK | 4 | 4 | 1,418 | 2012-11-28T15:38:02.663 | database_errors | serverfault.com | |
950,902 | How to reconnect clients to WSUS after 1809 causes problems after install | Doing some testing on our test environment with the 1809 update. This system is not Internet and only gets updates from WSUS. I have tried to stop the services and rename the SoftwareDistribution folder but that didn't help either. I have done the troubleshooter but that doesn't do anything. I have set Delivery Optimiz... | Looks like our bug report made it to the fix team and the April update has fixed this issue. 2019-04 Cumulative Update for Windows 10 Version 1809 or x64-based Systems (KB4493509) This update once installed has reconnected my clients and updates are now coming back from WSUS. Hope this works in your environments as wel... | 4 | 2 | 13,242 | 2018-11-28T21:26:46.487 | database_errors | serverfault.com | |
112,889 | ISA Related Questions: Is our network ISA-Enabled? | We have a product that uses Web Services. On our primary testing here on our local site, the product seems to be functioning well. When the product was deployed on another site, it went crazy with the infamous ISA HTTP 407 error. So I have a couple of questions regarding ISA: How do you know if a network is ISA enabled... | ISA Server is a firewall/proxy, so it can only affect external connections, and only if it's your gateway and/or if you use it as a proxy; it should definitely not affect connections from one machine to itself. Have a look at the proxy settings in Internet Explorer; is your ISA server configured there? If yes, try disa... | 0 | 1 | 97 | 2010-02-15T09:00:51.943 | infrastructure | serverfault.com | |
240,411 | I need to Select 100 records (or less if there are not 100 records) per group from multiple tables | The following query gets me the entire universe of a.transactionId with b.dataItemValue: [CODE] I need to limit this query to get only 100 records (or the number of existing records if there are less than 100) of a.transactionId for every record of b.dataItemValue Thanks! | This should do what you need: [CODE] This gives you up to 100 rows per DISTINCT transactionid and dataItemValue combination, and orders the data by transaction and rowId (proxy for 'Round Type'). If you really WANT it ordered by 'Round Type', change the last ORDER BY to [CODE] | 1 | 2 | 43 | 2019-06-12T17:48:27.267 | warehouse_errors | dba.stackexchange.com | |
3,868 | Best file system for external (USB) hard drives/USB memory media | Almost all external USB hard drive and USB memory media/sticks come today preformatted with FAT32 . As far as I know the only advantage of the file system is the compatibility among OSes and devices. Is it reasonable to reformat it with exFAT or even NTFS ? How this would affect the performance and security? | Here is an article where extensive testing on usb drives comparing performance of FAT32, NTFS, and exFAT. Conclusion from the testing: "For Copying to the USB drive FAT32 took the least amount of time, with NTFS coming in second and ExFat taking on average the longest time to Copy to the drive. Copying From and Reading... | 10 | 8 | 6,940 | 2009-05-04T07:18:40.207 | infrastructure | serverfault.com | |
265,872 | Windows Server 2008 does not recognize .NET 4.0 | I installed the .NET Framework 4.0 in my Windows Server 2008. I also created and deployed applications that use MVC3 in the server using VS2010 and they work without any problem. Now I need to install the WCF LOB in the server in order to install the adapter for BizTalk . When I launch the installation for the WDF LOB ... | I don't know if this is your issue, but a similar problem happened with OCS 2007 R2: if the 4.0 framework was installed, the installer exited with an error, complaining about the 3.0 being missing (although it was actually there). This was actually an installer bug. Only workaround: remove the 4.0 framework, run the OC... | 0 | 0 | 1,029 | 2011-05-03T14:55:28.240 | infrastructure | serverfault.com | |
100,604 | Is copy/rename a good way to improve temp table performance? | An application I am working with contains this sequence of queries at the end of constructing a large temp table; I believe it is an attempt to improve performance by pruning dead tuples - [CODE] Some rudimentary benchmarks do indicate this sequence does improve performance substantially, so it is worthwhile. It feels ... | If the table has an index, you may want to consider the [CODE] command instead of re-creating it or using [CODE] . This will: Have the same effect on dead tuples - it physically re-writes the whole table Retains any existing indexes Might improve performance more than just removing dead tuples, depending on whether you... | 3 | 3 | 380 | 2015-05-04T22:08:20.327 | warehouse_errors | dba.stackexchange.com | |
123,449 | How to tackle massive Linux/makefile projects effectively? | I have been developing Windows applications in C++ for like 10 years now. And recently I've started digging into some Linux projects, and I can't stand how unproductive I am... I'm a fast learner, and I've been using Linux as a primary platform for some time now. And I do feel very comfortable with shell, OS principles... | Interestingly enough I periodically have the same problem in the opposite direction. I'm primarily a UNIX coder, but I periodically have to port stuff to Windows. I can't tell you the number of times I've wanted to pull my hair out because I can't find the appropriate check box for a compiler option buried in one of 35... | 18 | 23 | 8,128 | 2011-12-05T22:38:43.913 | api_errors | softwareengineering.stackexchange.com | |
167,825 | What big limitations should I expect from Linked SQL Servers? | Our product is based on Microsoft SQL Server. Currently, we are using three databases, and have always deployed them on one SQL Server instance. The three database are OLTP, OLAP, and audit. The OLAP database has massive inbound data on EOD from both OLTP and audit, using cross database queries. Questions If we were to... | How transparent will it be to the application code? How much change should I expect? Not transparent at all. Expect major changes. You should be prepared for very substantial performance degradation. Distributed Query (the framework for linked servers) uses a general OLEDB model whatever the server on the other end hap... | 8 | 13 | 2,111 | 2017-03-22T04:20:51.253 | api_errors | dba.stackexchange.com | |
446,507 | Can two different kind of aggregates in Domain Driven Design have actually the same unique Id? | Assume that we are doing aggregate design for a ride hailing application and we have created the following aggregates: DriverAvailability aggregate, which has a value object containing the status (available/unavailable) and DriverLocation aggregate which has a value object which contains the latitude and the longitude ... | The fact that you see [CODE] as unique identifier for these micro-aggregates somehow suggest that they are not really independent aggregates but entities within the [CODE] aggregate, or even attributes of the [CODE] . Consistency rules relating the three (e.g that location may be unknown if there is no availability, or... | 4 | 9 | 1,474 | 2023-07-12T06:10:55.010 | api_errors | softwareengineering.stackexchange.com | |
722,708 | How does SSL client authentication work with changing IP address? | From what I understand about SSL authentication, the FQDN of the party I trust has to match the common name or one of the subject alternate names. Does this apply for client certificates as well? So what happens for a client authentication scenario when clients don't have a fixed IP address or domain name? | It's always up to the authenticating party to decide what checks to perform on the far side's credentials, and what's satisfactory. So we see that web browsers (HTTPS) can get quite tetchy about merely out-of-date certificates, but mail servers (SMTP STARTTLS) by and large don't care who signs the certificates they acc... | 2 | 4 | 263 | 2015-09-16T12:26:25.387 | api_errors | serverfault.com | |
348,602 | How to get Passive FTP Working Through an Iptables Firewall? | I have an iptables firewall running on a Fedora Linux server that is basically being used as a firewall router and OpenVPN server. That's it. We have been using the same iptables firewall code for YEARS. I did make some changes on 21 December to re-route a mySQL port, but given what has happened I've completely backed ... | The easiest option is to configure vsftpd with a range of ports to use for PASV connections (using [CODE] and [CODE] ), and then allow all incoming connections in that port range through the firewall. | 1 | 1 | 5,624 | 2012-01-06T00:00:17.227 | data_quality | serverfault.com | |
83,783 | Good Source Site for AIX Public Domain Ports | My UNIX experience was missing AIX. So now I have a problem as I have a mixture of just about all types of UNIX/Linux. So I need a little help for my AIX situation. I'm trying to put the public domain programs on our AIX systems that our users want. What are the best sources for these packages? Is it kept up-to-date? W... | AIX community usually sticks to the IBM Linux Toolbox for AIX . It contains a fair amount of Gnu programs, including ssh (by the way Gnu is not the same as "public domain"). Programs are easy to install (via [CODE] ). Sadly, toolbox is provided "as-is" by IBM, without support, and updated very rarely. Second source I w... | 1 | 2 | 353 | 2009-11-11T21:39:49.917 | infrastructure | serverfault.com | |
246,104 | Log Shipping and Daily Backup | My SQL Server 2012 DR setup is a mess. We've had a maintenance plan in place from the beginning that takes a daily full backup, with hourly log backups. Recently, we set up log shipping to an off-site server and it seemed to be working great. The LSBackup job runs every 15 minutes. I know that I need to change my maint... | Recently, we set up log shipping to an off-site server and it seemed to be working great. The LSBackup job runs every 15 minutes. You should change the maintenance plan and just take full and diff (if required). Since logshipping is taking log backups every 15 mins, you dont need hourly log backup. but my question is d... | 2 | 0 | 883 | 2019-08-23T13:25:45.623 | database_errors | dba.stackexchange.com | |
441,126 | i keep getting a 403 forbidden permission error on my fedora server through my local network | Trying to view a javascript file (via http) on my server I get the following error: [CODE] I have given all users access to the file like this: [CODE] I have even gone as far as changing the user & group properties in the httpd.conf file. | Have you checked the apache error log? Unless changed, the general default on the apache configuration is to only allow access to the sub-directories htdocs (your document root) and cgi-bin. Access to all other directories is inhibited for security reasons. You'll have to add an additional permission block for this and... | 0 | 0 | 1,747 | 2012-10-22T21:32:27.040 | api_errors | serverfault.com | |
320,165 | Seeking benefits of both SQL and binary files in a data storage scheme | I'm looking for some input on how to keep certain benefits of both a binary file and a SQL database in an interesting data storage problem. I have a legacy custom binary file format that is essentially several hundred multi-dimensional arrays that are serialized to a file with fwrite()'s in C. Each file is a fixed size... | Put the data in a data base. Write a function which pulls all the data from the database and populates the arrays. Pass the populated arrays to the unchanged calc function Write a function to write a database using the resultant arrays from the calc function. | 7 | 4 | 306 | 2016-06-03T04:42:55.983 | api_errors | softwareengineering.stackexchange.com | |
86,714 | Using lookahead assertions in regular expressions | I use regular expressions on a daily basis, as my daily work is 90% in Perl (legacy codebase, but that's a different issue). Despite this, I still find lookahead and lookbehind to be terribly confusing and often unreadable. Right now, if I were to get a code review with a lookahead or lookbehind, I would immediately se... | I still find lookahead and lookbehind to be terribly confusing and often unreadable. You're aware that regular expressions can be exploded and commented, right? [CODE] Is it good practice to use lookahead/lookbehind in regular expressions, or are they simply a hack that have found their way into modern production code?... | 5 | 6 | 1,400 | 2011-06-24T09:36:17.897 | data_quality | softwareengineering.stackexchange.com | |
322,272 | Postgresql: Drop detached partitions | I am trying to implement an automatic archiving system for some partitioned tables in pg14. The process I am trying to implement is as follow : I start with several tables partitioned by date with foreign keys (referencing each other and other tables as well) After a few days I detach the old partitions (in the right o... | I found a solution! First of all I did not fully understand the reason why I couldn't drop the foreign keys. It appears that my foreign keys were inherited but their parent were not on the former parent table; it was another foreign key on the very same table. This seems to happen whenever my foreign key references a p... | 1 | 1 | 1,814 | 2023-01-18T16:12:25.920 | data_quality | dba.stackexchange.com | |
744,960 | Configuring SSL With Virtual Hosts under Apache and CentOS | I've got two websites being served from a CentOS instance. One of those has SSL enabled, the other is just served on port 80. So, [CODE] and [CODE] both work fine, as does [CODE] . The issue is that [CODE] displays [CODE] . I have one public IP address available. I think it's the case that I can't serve two https sites... | Two https can be served in one IP. You just need to verify that the virtual host configuration works. Are you sure that your virtualhost works? You can use this config in site-available. [CODE] Follow the tutorial here If you are sure about your virtual host configuration, then you can change the configuration like thi... | 20 | 30 | 184,075 | 2015-12-23T01:25:15.000 | infrastructure | serverfault.com | |
380,882 | webserver cluster serving web content using a SAN still results in a single point of failure | I'm looking for a better way of doing things than using a SAN lun mounted to multiple webservers as a way of keeping data in sync. The applications require instantaneous or near instantaneous synchronization between webservers to function, and can't be modified to work another way. OC2FS on an iscsi SAN is a good way t... | if SAN goes down and all of your web server resides on SAN then you pretty much out of other options unless you get yourself a redundant SAN that would work for you in case if first SAN is down. | 0 | 1 | 101 | 2012-04-18T21:03:56.980 | data_quality | serverfault.com | |
124,526 | Database disaster prevention | My database is larger than 250GB. I make scheduled backups with a third party Tool. Are schedule database backups the best way to protect SQL Server database from corruption? Or can you recommend something else? | A backup can't prevent corruption. Nothing can absolutely prevent corruption. What a backup does is to enable you to recover data to an earlier point in time in the event of corruption or other disaster. Whether your backup schedule protects you adequately is not something a community of peers can answer - your busines... | 16 | 28 | 956 | 2015-12-24T13:28:40.450 | data_quality | dba.stackexchange.com | |
227,798 | How do I export a multi table database with exceptions? | I am working out of phpmyadmin to export data using an sql. I have an 88 table database. I would like to export all data to a .csv from 85 of those tables where I am only keeping the rows in which my column Length( [CODE] ) > 0. So far I've come up with being able to select all data from a single table. I would like to... | Use SELECT INTO OUTFILE ... WHERE LENGTH(Status) > 0 for each table. PHPMyAdmin isn't a tool for complex tasks. | 0 | 1 | 246 | 2019-01-22T20:00:40.593 | warehouse_errors | dba.stackexchange.com | |
505,995 | Run/Execute permissions of script in Tomcat WAR file | I have a script inside the WEB-INF folder that the Java runs. When I deploy the WAR, there are no execute permissions (644 instead of 755). How do I set the permissions of files inside the WAR? | In the webapps directory (or whatever directory you have the app deployed), just run a [CODE] and you should be good. | 3 | 2 | 11,422 | 2013-05-08T12:13:25.410 | infrastructure | serverfault.com | |
36,090 | Manually moving SQL instance to another node causes immediate database mirror failover | I have a two-node SQL cluster (2008 R2). Some of the databases within that SQL instance are mirrored to another server on a remote site, using the High safety with automatic failover. The mirroring connection timeout value for those databases is set to 90 seconds. When I move SQL from one node in the cluster to another... | One way to prevent the mirror failover is: Pause Mirroring with [CODE] Move the SQL instance Resume mirroring with [CODE] The instance is failing over to the mirror because both the witness and the secondary can no longer see the primary instance. It sounds like you are attempting to recreate SQL Server 2012 Availabili... | 5 | 5 | 5,399 | 2013-03-06T17:27:56.027 | database_errors | dba.stackexchange.com | |
189,139 | Slow PostgreSQL 9.6.5 query with LIMIT, but only for tsquery with no results | Table [CODE] has > 3 million rows and this index: [CODE] This query takes 5 seconds if I search for something that doesn't exist, and 31 milliseconds if I search for something that does: [CODE] The query plan: [CODE] If I leave off the [CODE] , the results are reversed: In the non-existing case, it takes 12 millisecond... | This query takes 5 seconds if I search for something that doesn't exist, and 31 milliseconds if I search for something that does: Well of course, you have [CODE] . In the event you have something you can stop searching immediately . In the event you do not find 10 things, you have to search the entire index or table. | 2 | 0 | 311 | 2017-10-23T19:20:13.167 | database_errors | dba.stackexchange.com | |
334,737 | Changing packet routing policy on Ubuntu server | I'm using Ubuntu server on a router and I'm facing the following problem. If one person starts a download that is able to take all the bandwidth, it does. Which means, all other people start experiencing problems using the internet. Is there a way (with iptables, tc or whatever) to make the router give higher priority ... | You can [CODE] to shape your traffic. For example, you can set a limit on the allowed download/upload speed to each IP address in the network. There are several queuing options to allow different configurations. Maybe, you can try to use the SFQ (stochastic fair queuing). For more details, you can look at the advanced ... | 1 | 1 | 139 | 2011-11-25T11:10:38.427 | infrastructure | serverfault.com | |
271,037 | Group by time interval and output the source and destination station_id and count | I am stuck with a query: [CODE] I have to create a query which gives a result as follows [CODE] I tried the following code but not able to get the desired result: [CODE] The time interval is about 55 mins to 60 mins between every entry and exit. I have also tried an inner join but not able to group by the time interval... | This should be simplest and fastest while transactions per [CODE] never overlap : [CODE] db<>fiddle here ① I rewrote the [CODE] condition to get all of Feb 1 2020 in optimal fashion. [CODE] is almost always the wrong tool for time ranges . See: How to add a day/night indicator to a timestamp column? Also, '2020-02-01' ... | 2 | 1 | 292 | 2020-07-16T03:36:21.153 | warehouse_errors | dba.stackexchange.com | |
949,559 | nginx set different document root for a proxypass | I'm just trying to run a nodejs app I made on a proxypass domain, and have it work exactly as it did on my desktop. However, for some reason, even though I defined a seperate document root for this proxypass path, it didn't load the files from it. I've done the exact same thing with my 404 page, and it worked. Here's t... | If you open up the Network tab on your browser's devtools, you can see that the site is trying to load the assets at the root of the URL. for example: [CODE] As you don't wish to change the Node.JS paths, you could get around this with an nginx location wildcard, added to the [CODE] block: [CODE] You may need to edit t... | 1 | 0 | 3,354 | 2019-01-17T15:32:30.987 | infrastructure | serverfault.com | |
169,746 | how to: rescue Data from MySQL (only files on HDD left) | After eventually managing to upgrade my debian virtual server from etch to lenny. (Read here for the full story: debian: upgrade from etch to lenny fails ) I now lost the data (including all tables) from my MySQL DB. The files are still present on the hard drive and phpMyAdmin (further referenced to as PMA) still shows... | IF you have the files you should be able to view the data (except innodb tables). This error is commonly given when you have a permissions issue - try changing the /var/lib/mysql files to mysql:mysql and see if it fixes it. [CODE] | 1 | 1 | 6,871 | 2010-08-12T12:18:38.740 | database_errors | serverfault.com | |
737,573 | Blob not found: Error when uploading tar.gz to Azure storage container using linux script | Error The portal displays this [CODE] error This is the XML error I get when I hit the [CODE] button [CODE] Background I've been trying to implement a workaround for backing up my IaaS v2 Ubuntu VM in Azure. Thanks to an excellent answer I received on Server Fault recently, I decided the best route would just be to per... | Solved the issue. Couple things at fault here: The script creates the blob with a filename starting with [CODE] , which happens to begin the filename with a [CODE] , which is a reserved URI character. I changed the script so that it resembled [CODE] instead. The storage blob command was failing (silently) because the s... | 1 | 0 | 1,602 | 2015-11-19T15:50:54.360 | database_errors | serverfault.com | |
96,811 | git Permissioning? | I'd like to give a designer commit access to the html/css/images etc for a project I'm working on. The problem is the git repository which stores this information is also shared with the general code base which I'd prefer the designer not have access to as they have no need for it. In SVN I'd resolve this by simply per... | Either learn to live with the designer having access to the code (they can't change anything without leaving a record of it, anyway), or else split out the stuff they do need access to into a separate repo and then include that in your main project as a submodule. You can use [CODE] to strip out the parts of the reposi... | 1 | 6 | 1,140 | 2009-12-22T23:30:55.587 | infrastructure | serverfault.com | |
80,734 | Problem understanding probabilistic generative models for classification | I am a student and I am studying machine learning. I am focusing on probabilistic generative models for classification and I am having some troubles understanding this topic. In the slide of my professor it is written the following: which I don't understand. So far, I have understood that in the generative probailistic... | My understanding is: The first line is OK - it derives from Bayes Rule Assume that this probability follows a logistic function, that is that $$P(C_1|x) = \frac{1}{1+exp(-a)}$$ Then if $$ y = \frac{1}{1+exp(-z)}$$ then $$ z = ln(\frac{y}{1-y})$$ (some lines below but with $a$ and $\sigma$ ) Therefore: $$ a = ln(\frac{P... | 2 | 3 | 176 | 2020-08-24T15:08:11.107 | data_quality | datascience.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.