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 |
|---|---|---|---|---|---|---|---|---|---|---|
709,709 | Remote Desktop will not connect using hostname, DNS issue related to WLAN/LAN switching | We have a set of wireless devices in our directory. While these are connected wirelessly, I can connect Remote Desktop with no problems. The issue is when it's connected directly, the hostname seems to still direct to the wireless IP. Doing an nslookup on the hostname shows that both IPs are registered, and if I connec... | A windows machine will register both IPs in the DNS, so i normal situation the DNS contains 2 entry for the machine and you client computer will randomly get one from the server (in a round-robin way) Eventually the aging / scavenging process will remove one of the entry but usually this will be after several days.. so... | 0 | 0 | 1,240 | 2015-07-30T15:16:02.910 | infrastructure | serverfault.com | |
76,524 | php-gd installed but gd not showing up in phpinfo on CentOS 5.3 server running nginx | Logged in as root, I installed the php-gd libraries using [CODE] it said everything worked fine, so i did [CODE] But the code I had been working on still complained of not having the gd libraries and when I went to check the output of [CODE] there was no 'gd' section. I should note that [CODE] shows [CODE] I also added... | How are you running PHP? If you're running it in FCGI mode with an external spawner, restarting nginx will have no effect on the PHP server, so you'll need to restart that separately. | 2 | 1 | 6,887 | 2009-10-20T21:27:17.187 | infrastructure | serverfault.com | |
373,458 | How do I abstract the request/response values between UI/Presentation? | I have given the following architecture: Layers: Bootstrapper MyApp.Start IoC-Container etc. UI Layer MyApp.Gui Views ViewModels Business Layer MyApp.Core DataGenerator DataGeneratorRequest DataGeneratorResponse MyApp.Core.Interfaces IDataGenerator IDataGeneratorRequest IDataGeneratorResponse There is a method [CODE] i... | Was it a good thing to create interfaces for my requests/Responses in the first place? That's hard to say. It really depends on how complex your request/response objects are, or if they require some internal hooks to the implementation of your [CODE] . It provides the most flexibility. Do the request- and response-clas... | 0 | 1 | 100 | 2018-07-02T12:18:41.040 | pipeline_ops | softwareengineering.stackexchange.com | |
936,459 | Powershell script won't restart on failure | I'm running windows 10 pro. I have a powershell script that starts every day at midnight and runs all day. It's controlled by the Task Scheduler. The script itself works fine and in the event of an error exits with code 1 The task definition is .... [CODE] The script fails occasionally, I've ticked box 'if the task fai... | The fact that scheduler starts powershell successfully and receives an exit code is considered a success as far as Task Scheduler is concerned. If you want it to retry you should build the exception handling into your script or have a separate script to check the error codes from previous runs and rerun as necessary. | 0 | 0 | 589 | 2018-10-20T19:04:12.163 | infrastructure | serverfault.com | |
70,172 | FreeBSD ipfw firewall_type | I'm trying to create my own firewall script inside of FreeBSD and I'm running in a bit problems, I was wondering if someone done something smilier and could show me an example? su-3.2# grep ^firewall /etc/rc.conf firewall_enable="YES" # Set to YES to enable firewall functionality firewall_type="/etc/ipfw.rules" firewal... | Lose the [CODE] . Your file is being provided to ipfw as an argument. [CODE] To ease configuration, rules can be put into a file which is processed using ipfw as shown in the last synopsis line. An absolute pathname must be used. The file will be read line by line and applied as arguments to the ipfw utility. Try runni... | 3 | 2 | 3,126 | 2009-09-30T22:47:39.433 | api_errors | serverfault.com | |
971,266 | openVPN Could not determine IPv4/IPv6 protocol. Using AF_INET | I am having issues connecting to my VPN, with port forwarding set correctly as I can VPN into my other lubuntu machine, also UFW is disabled. Can someone please guide my as to what I am missing in my config?? Also additionally when i turn on my UFW i can ping WAN or websites by names like google.com, but cannot ping wo... | This message is printed when no IPv4/v6 preference is given in the config (i.e. proto udp/tcp is used) and OpenVPN is running as a server. Just change in server.conf on what you need udp4/upd6: [CODE] Updated: For tcp protocol (not udp) just change in server.conf on what you need tcp4/tcp6: [CODE] | 6 | 16 | 62,321 | 2019-06-13T11:40:48.240 | data_quality | serverfault.com | |
811,971 | HP Proliant DL380 G6 - Recover after 2nd disk failure during RAID 1 rebuild | ** Disclaimer, I just recently became an administrator to this system and realized that the backups are unusable. As well, the state of administration software is terrible ** The system (Ubuntu 14.04) was running a two 146GB 10k SAS drives in RAID 1 (A, and B). The enclosures are hot-swappable so the server was and is ... | I eventually solved this and I actually managed to recover most of the configs. The filesystem was mounted as read-only as linux had detected the fault and attempted to prevent any more damage. Reboot the system to a live CD, at raid prompt force the system to ignore the [newly] dead drive Install the HP Array Configur... | 0 | 1 | 1,045 | 2016-10-28T20:33:47.033 | database_errors | serverfault.com | |
536,571 | Cannot install any package using yum | Whenever I try to install any package using yum i get the error as "Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds" Can anyone tell me why is this happening to me? I have already tried for 5 days to download 5MB using yum but I'm still struggling. Someone please tell me what is the reason? To ... | It's blind shot but try [CODE] | 1 | 0 | 505 | 2013-09-05T09:59:54.100 | database_errors | serverfault.com | |
726,734 | Machine with bonded interface does not receive multicast packets on all slave interfaces | After an upgrade of our machines from RHEL 6.6 to RHEL 6.7 we observed a problem where 4 of our 30 machines only receive multicast traffic on one of their two slave interfaces. It is unclear if the upgrade is related or if the included restart triggered the behavior - restarts are rare. We expect to receive lots of mul... | We were using Dell blade servers where this problem appeared. After working with the Dell support it seems that we are using [CODE] filtering when joining the multicast group. Apparently exclude mode is not supported by the switch in the blade server. We are recommended to switch to [CODE] filter mode. However, we have... | 5 | 1 | 5,008 | 2015-10-05T08:55:57.317 | infrastructure | serverfault.com | |
475,370 | Apple Remote Desktop (ARD) OS Specific package installation | Faced with the recent Java kerfuffle imposed by Apple's silent updates I am looking for a solution to install .pkg files specific to the OS version. Apple continues to provide Java updates for 10.6, but for 10.7+ we need to get the file from Oracle. Apple finally released the Java update for 10.6 on Friday, but the sof... | Apple Remote Desktop's Copy Items & Install Packages features don't have the specific filtering ability to do that, but you can do it in two easy steps with a Smart List: Click the "+" button in the lower-left corner of the Remote Desktop window and select "New Smart List..." Name the new "Smart List" where "Mac OS Ver... | 2 | 4 | 1,584 | 2013-02-04T22:27:16.060 | database_errors | serverfault.com | |
876,750 | mdadm marks hdd faulty even though it's in pristine health? | I have my custom NAS configured to spin down drives after 20 minutes of idle. Just now I checked [CODE] and noticed a drive was marked as failed, however SMART shows the drive to be in very good health. Hence I suspect md-raid thought spin-up was taking too long and marked the drive failed. Re-adding and rebuilding doe... | Surely it's just that the drive really is faulty. You are seeking a complex answer in timeout/spinup, when the reality is [97148.490321] print_req_error: I/O error, dev sdc, sector 225357808 Controller could not read or write a specific sector to the drive. Cache would normally accept a write while the spin up proceeds... | 5 | 2 | 2,577 | 2017-10-04T04:18:07.637 | infrastructure | serverfault.com | |
407,711 | Network interface bonding, can the slave interfaces also be assigned ip addresses? | I currently have 2 gbit network interfaces bonded as bond0. Is it possible to also have the slave interfaces eth0 and eth1 assigned ip addresses and have traffic routed directly out either one like when they not enslaved in a bonding setup? I am using balance-alb bonding mode and the eth1 interface shares a mac address... | Receive Load Balancing works by customising the ARP responses sent to each peer on the Ethernet domain, such that the hosts are spread across the slave interfaces. This means that each peer only uses one slave interface. If you are only communicating with one peer (which could be the router), then you won't be using bo... | 2 | 1 | 5,902 | 2012-07-14T05:59:43.073 | infrastructure | serverfault.com | |
97,590 | Why do you have to execute a full backup after a new database for trans backup jobs to run | Playing around on my local sql server at home after an issue occurred at work. We have full backup jobs scheduled on Mondays only. I created a DB on Tuesday (when doffs and trans are scheduled). Wednesday morning I received SQL agent email noticed stating the backup jobs failed specifically for the new DB. After review... | do a manual full backup and then it will run. Why is this? This is because any database you create with full recovery model is always in pseudo simple recovery mode until you take a full database backup and this is where a log backup chain can be establish successfully. You can easily check if a database is in pseudo s... | 1 | 0 | 115 | 2015-04-10T22:39:30.223 | database_errors | dba.stackexchange.com | |
591,832 | SSLv2_server_method apache php5 error | I tried to load the php module in my apache server and this error came up httpd: Syntax error on line 152 of /usr/local/apache/conf/httpd.conf: Cannot load modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: undefined symbol: SSLv2_server_method Any ideas? System: Debian 7.4 Linux 3.2.0-4-686-pae #1 S... | It looks like your php5 module could be linked to the wrong OpenSSL library dynamically. You can check with [CODE] to see how the library loader resolves dynamic links from the php5 module. If it links to incorrect library, then you have to check your library paths and ensure that the OpenSSL 1.0.1g is in a directory i... | 0 | 0 | 1,097 | 2014-04-28T18:22:49.047 | infrastructure | serverfault.com | |
185,184 | Hiding disabled user accounts from distribution groups | We have several users who are away for long periods of time (sometimes up to a year), and we disable their AD account when they leave. This causes a problem, because the users might be in one or several security groups that are mail-enabled in Exchange 2010 (Distribution Groups). Is it possible to hide the users from t... | The only thing I can think of is to remove the user accounts in question from the groups. Personally, this is why I only use security groups to grant access to resources and distribution groups for email. | 2 | 2 | 2,619 | 2010-09-27T20:30:02.987 | infrastructure | serverfault.com | |
314,522 | Multi-NIC Linux machine's NICs are responding to each other's ARPs regardless of arp_filter setting | I have an old Linux machine running a 2.4.37 kernel. In the machine are two NIC cards both on the same network with different IPs. For some testing, we want each IP's traffic routed through that NIC, but what is actually happening is all the traffic for both IPs is getting routed through one of the ethernet devices and... | From the Guide to IP Layer Network Administration with Linux : One method for preventing ARP flux involves the use of [CODE] . In short, the use of arp_filter causes the recipient (in the case below, real-server) to perform a route lookup to determine the interface through which to send the reply, instead of the defaul... | 2 | 1 | 2,361 | 2011-09-22T19:08:11.563 | infrastructure | serverfault.com | |
540,981 | Are there any Windows 7 applications that can veiw RAID status on a PERC 6/e? | I am trying to troubleshoot an MD1000 that is plugged into a PERC 6/e that is in a Precision T3600 running Windows 7. Windows can see, use, and push and pull data on the RAID 50 array on the MD1000, I just can't see the status of the controller or the status of the RAID or any kind of management information I need to b... | Those PERC controllers are actually manufactured by LSI. You can manage them using LSI's MegaCLI command-line utility, though it may take a bit of reading up before you will be comfortable with using the tool. I would recommend just searching around for an appropriate exe, and a CLI manual. If you're moderately familia... | 1 | 2 | 347 | 2013-09-23T12:54:11.267 | infrastructure | serverfault.com | |
726,743 | Can not reach Vault by HTTP API in Docker on MacOS | Hello I'm trying to setup Vault in Docker on MacOS. But ever after successful installing I can't reach it through HTTP API ( https://www.vaultproject.io/intro/getting-started/apis.html ). Dockerfile: [CODE] What I'm doing: [CODE] check images [CODE] run vault docker [CODE] check whether it work right now [CODE] check l... | Due to the insecure-by-default nature of "dev" mode in Vault, it binds to loopback (127.0.0.1). You'll have to supply a configuration to listen on [CODE] instead if you intend to access it from outside of the same network namespace. See here: https://vaultproject.io/docs/config/index.html | 2 | 2 | 1,929 | 2015-10-05T09:46:40.323 | pipeline_ops | serverfault.com | |
234,409 | Daily CPU and memory statistics on Windows server | I have a Windows Server 2008 R2 machine which gets very high CPU and memory load in certain periods of the day. I need an application that creates a 24h log with the CPU and memory usage. I tried to configure PerfMon to 24 hours use but it has a limit of 1000 seconds. Is there any free lightweight application that can ... | Rather than using PerfMon live, use a data collection set to save performance counter data to a file. This file can then be opened in PerfMon for viewing later (including selecting subsets of the collection counters and over shorter time intervals). PowerShell also has some cmdlets that will process the files . If you ... | 0 | 2 | 1,988 | 2011-02-11T14:59:36.567 | infrastructure | serverfault.com | |
35,995 | Multiple database servers for performance vs failover | If I have two database servers, and I am looking for maximum performance vs high-availability, what configuration would be best? Assuming the architecture is two load-balanced web/app servers in front of two db servers, will I be able to have both db servers active with synced data, with web1 to db1, web2 to db2 setup?... | You can do master-master replication, especially if there is a natural partition of your data. We have customers that do this for their users based on the user's region. That way most users don't have to deal with the effects of replication lag on their application while both databases serve as backup for each other. O... | 1 | 0 | 564 | 2013-03-05T16:35:13.573 | database_errors | dba.stackexchange.com | |
893,152 | Troubleshooting Elastic Beanstalk instances that fail to start successfully | I have a small Elastic Beanstalk environment, used /very/ infrequently for demos, set up that has worked for years. As of December 7th (as I said, it was used very infrequently), there's been a problem: an instance will start, and a few minutes later will be terminated. Since it's now below the autoscale properties, it... | First, stop thinking "nothing has changed". Obviously, something has changed, otherwise it would work. The change may be yours, or it may be AWS's, but something has changed. Based on the error [CODE] , there appears to be an issue downloading the version from the S3 bucket that stores it to the EC2 instance. This issu... | 0 | 2 | 3,258 | 2018-01-19T22:39:26.677 | database_errors | serverfault.com | |
96,391 | Why does this RewriteRule cause an Internal Server Error? | I call my site this way locally: [CODE] In .htaccess I have: [CODE] I try to rewrite that into: [CODE] Any idea what's wrong there? | First thing I can see is that the path should be mysite/index.php Probably also have to remove the \mysite\ from your regex because as it is now your REQUEST_URI is going to include mysite\xxxxx You should probably use a rewrite condition to skip css,images, etc and then rewrite like this [CODE] | 0 | 0 | 416 | 2009-12-21T17:12:34.747 | infrastructure | serverfault.com | |
618,015 | Edit dhcpd.conf through the WEB page | Good afternoon. Please suggest an elegant way to solve the following question: There is a server on Linux (CentOS 6.5 x86) with dhcp/nfs/http/tftp, which is used to load the images on specialized hardware via PXE. Was tasked to make the web page on a server with the opportunity to make changes in dhcpd.conf - add/chang... | I would say : Code your own web page (e.g using PHP, it will not be so difficult). or Consider something like Webmin that can (among other things) manage [CODE] config and address reservation using a web interface. By the way, product recommendations are off-topic . What you are asking is a kind of disguised product re... | -3 | 0 | 564 | 2014-08-05T09:06:33.420 | infrastructure | serverfault.com | |
261,977 | offline application development for mobile devices | I am looking to develop an application whereby field staff can complete forms in an offline capacity (when onsite I`m assuming no internet connection) on an Apple or Android device and post the results to a web service when they are online. I have been lead to understand that this is achievable using sharepoint or info... | Yes Its possible to achieve this in a Cordova app. I had similar requirements and did in a project. localStorage features of HTML5 can be used to store data in offline mode and once a device has detected internet connection then it can automatically send via a service call. So features you need would be: localStorage -... | 1 | 1 | 959 | 2014-11-06T17:38:11.393 | api_errors | softwareengineering.stackexchange.com | |
113,705 | Wireless AAA for a small, bandwidth-limited hotel | We (the tech I work with and myself) live in a remote northern town where Internet access is somewhat of a luxury, and bandwidth is quite limited. Here, overage charges ranging from few hundreds, to few thousands of dollars a month, is not uncommon. I myself incur regular monthly charges just through my regular Interne... | After looking at the pfSense project now, I think it will provide a lot of what I need with a bit of configurations. It supports Captive Portal, and does this with Radius servers, can be setup with Squid for transparent proxying, and seems like it has a LOT of control over the traffic. I'm still open to any more ideas ... | 8 | 1 | 1,107 | 2010-02-17T08:08:42.443 | api_errors | serverfault.com | |
1,090,235 | Unable to serve images from wordpress site - response is malformed | I'm trying to deploy Wordpress behind Traefik on Azure, using a PersistentVolume backed by Azure Files. For the most part, it works. I could set up wordpress, configure it, access it externally, make content edits, etc. The docker image is the official one up on Hub ( https://hub.docker.com/_/wordpress ). The only chan... | I believe there is an issue with the interaction between Azure Files, the AKS CSI and Apache. I can only reproduce this behavior with Azure Files - other forms of volume mount (Disk, container files, NFS) all work as expected. There is some evidence of other people that have hit this : https://github.com/Azure/AKS/issu... | 0 | 0 | 515 | 2022-01-17T09:30:15.223 | database_errors | serverfault.com | |
444,082 | Preventing POST requests from being lost when database connection is lost | I am working on a project to stand up a central database to replace a current massive file-sharing/syncing system of physical log files and text configurations for the primary application I work on. The app I help develop runs on around 40 computers, each of which can generate hundreds of records per minute while activ... | The problem you will have with any solution, ie queues, is what happens when that is unavailable. You need to return errors to whatever is pushing the messages when you can't process them. You also need to think what else might not work if you have lost connectivity. In terms of logging that means the log should have s... | 3 | 5 | 248 | 2023-02-21T19:52:31.037 | api_errors | softwareengineering.stackexchange.com | |
234,688 | Problem with kickstart | I created a kickstart file ks.cfg and then I have put that in the bootable disk**(Ubuntu 10.04)** and then added the following line to the isolinux.cfg linux ks=ks.cfg and have not removed any other lines from the isoconfig.cfg file and then while installing the installation is not automated,again it is asking for lang... | Where is your ks.cfg located ? You should define the "ks" parameter with a URL, like "ks= http://192.168.1.10/ks.cfg " | 0 | 0 | 341 | 2011-02-12T09:20:39.147 | infrastructure | serverfault.com | |
343,906 | How to create simulator for distributed algorithms written in simple language | I started development of simulator for simulation of distributed algorithms in language C . My work consist of creating simple language for algorithm description and simulator which takes the described algorithm and simulates it. At first I decided how to represent distributed environment. This simulator will run on si... | Why would you use lowest-possible level language, C, for an involved task like this? Or, rather, several tasks? If I needed results quickly and painlessly, I'd take a purpose-built tool, like Erlang or Elixir, to run a distributed system. Upsides: these are used in real distributed systems, allow for crazy amounts of p... | 3 | 2 | 518 | 2017-03-10T17:32:17.520 | api_errors | softwareengineering.stackexchange.com | |
496,013 | hpacucli is unstable - Sometimes finds controller, sometimes not | I try to monitor the RAID-status on my HP ProLiant DL380 G5 with hpacucli 9.20. But, it's acting rather weird. Most of the time, it will return: [CODE] But now and then it actually works as intended: [CODE] I ran a few tests, and found that it fails around 90-95% of the time when i executed the command every other seco... | If you're just looking to monitor RAID status, executing [CODE] on its own as a health-check isn't the right way. I could understand it failing, too. I can't repeat the same behavior on my RHEL and CentOS servers, though. [CODE] may be your friend in this case, since the failures are easily reproduced. You want to use ... | 1 | 2 | 901 | 2013-04-04T07:54:30.473 | infrastructure | serverfault.com | |
352,965 | What's an effective strategy to mark code as reviewed? | I am reviewing a big C# code base and thought on how to mark it as reviewed when it is, in order to not review it twice. Currently I have a [CODE] which I use to decorate members that have been reviewed: [CODE] That approach however, misses an important aspect: How to find code that hasn't been reviewed yet ? Easy you'... | You could use the #warning directive to alert you to code that still needs to be reviewed, but the downside is that you need to mark every file with this. Fortunately, it would be pretty easy to write a little script to append a line at the end of each *.cs file in your project. Other than that, take John Wu's advice a... | 0 | 2 | 354 | 2017-07-17T19:14:34.943 | api_errors | softwareengineering.stackexchange.com | |
866,138 | How can I tunnel multicast traffic? | I am trying to receive multicast on 1 machine, forward it to another machine, and then replay it on that machine. [CODE] : the machine which has access to the original multicast stream [CODE] : the machine which I'm trying to forward the multicast to and re-multicast from What I've tried so far: Combining [CODE] , [COD... | This isn't working because you need to set tcpdump's stdout to be line buffered From [CODE] : [CODE] You can also do away with the intermediate file and [CODE] by piping the output of [CODE] directly into [CODE] . This is achieved by running the [CODE] over an ssh session, dumping the output to stdout, and piping that ... | 0 | 1 | 1,613 | 2017-07-31T18:28:00.023 | pipeline_ops | serverfault.com | |
567,385 | Assigning static ports in windows | I am having an issue with a port needed by an application sometimes being taken by another application, I have added the following to the registry assuming this will exclude the port from the dynamically assign ports: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters ReservedPorts = xxxxx-xxxxx Is i... | That registry setting allows you to prevent a port from being used as an ephemeral port. It doesn't prevent an application from binding to that port explicitly (as long as no other process already has it bound). | 1 | 2 | 373 | 2014-01-15T09:22:25.593 | infrastructure | serverfault.com | |
324,342 | MariaDB: defective MyISAM and ARIA Indexes after errorless import of big data file | I have a long suffering with this issue after moving forward from MySQL 5.6 and then MariaDB 10.0. Working now on Debian 11 (Bullseye) with MariaDB "Ver 15.1 Distrib 10.9.5-MariaDB, for debian-linux-gnu (x86_64) using readline EditLine wrapper". The hardware: Workstation with two Xeons and 96 ECC RAM I'm trying to load... | Will you be having a mixture of MyISAM and InnoDB? I see a big buffer_pool (for InnoDB), but no setting for [CODE] , which is needed for MyISAM. How much RAM do you have? Advice on memory allocation between the engines: http://mysql.rjweb.org/doc.php/memory Please elaborate on "failing to build functional indexes". | 0 | 0 | 67 | 2023-03-03T13:29:59.690 | database_errors | dba.stackexchange.com | |
360,209 | nodename nor servname provided, or not known | I can use this command on my Mac before ssh `cat /my/login/host` but I got the problem of nodename nor servname provided, or not known now.... If i use cat /my/login/host I will get aloha@8.8.8.8 I also try this : hello=`cat /my/login/host` echo $hello # show aloha@8.8.8.8 but ... ssh $hello # nodename nor servname pro... | all ~ I find the solution ! At first , I use this command cat -v /my/login/host ##show aloha@8.8.8.8^M so .... this is my problem ~ the solution as below : cat /my/login/host | tr -d '\015' > /my/login/host_tmp ssh `cat /my/login/host_tmp` | 1 | 1 | 9,273 | 2012-02-15T02:21:22.777 | infrastructure | serverfault.com | |
229,476 | How to Insert JSON data to BYTEA column in the table in POSTGRESQL? | So, I came across the function script which is converting JSON data to BYTEA and then insert as a record in the table in a BYTEA column. (As I assumed what the code is doing) In Oracle the function utl_raw.cast_to_raw converts the data to blob data and records the data in the table in Blob column. Giving the following ... | There is no reason to convert anything, just insert the JSON strings (after making them valid JSON): [CODE] You also don't need PL/pgSQL for this. A [CODE] function would be enough (you would need to remove the [CODE] and [CODE] though) | 0 | 1 | 6,144 | 2019-02-12T05:53:15.643 | database_errors | dba.stackexchange.com | |
934,300 | How to isolate group from computers by L3 switch from certain www | There is a broken switch to replace and I need to buy new one. I decide on this model: https://www.linksys.com/us/p/P-LGS528/ Is it possible to isolate 24 computers that are connected to this switch from certain www adresses (games, youtube, porn etc) and leave 2 ports untouched at this switch? Are there any other mode... | what you want is most probably a filtering proxy that is enforced on the web-browsers. Either this enforcement can be added at the router to send all requests to port 80/443 to the proxy or at DNS resolver level, to filter DNS requests for such domains. The DNS variant does not require tampering with SSL certificates a... | 0 | 1 | 55 | 2018-10-06T18:42:57.323 | infrastructure | serverfault.com | |
27,771 | Netbook vs Notebook for Remote Monitoring | Good evening all, As I mentioned on my first question to this great community, due to World Economic problems I was fired from a great job at Sony Design. I am currently working as a SysAdmin for a small company that does VoIP. Most of the things I have to do I am doing them from my home office (I only need to take car... | I've been looking at getting a netbook recently for coding when I'm away from home. There are two common resolutions for 10" screens, 1024x564 and 1024x600. I would expect that less than 600 vertical pixels would become quite annoying for setup windows. I RDP into servers at work at 800x600 and although it could be a l... | 1 | 1 | 351 | 2009-06-18T02:47:52.053 | pipeline_ops | serverfault.com | |
560,836 | ownCloud 6 Upgrade -- Lucene | I've upgraded ownCloud to 6 ( just release ) on a CentOS 6.4 ( x86_64 ) server via [CODE] ( no other changes ) and the upgrade has failed with this in the [CODE] file: http://codepad.org/wRRGNk22 Has anyone got a fix for this? I've tried: Deleting the table Truncating the table | It's a bug. You can follow it at https://github.com/owncloud/core/issues/4085 . | 2 | 2 | 420 | 2013-12-12T04:27:31.317 | infrastructure | serverfault.com | |
276,383 | FTP MGET - is there a limit to the how many files can be specified? | I am using MGET to get a list of specific files (300 or so) where each filename is specifically listed. It looks like the string of files is being split (and thus, incomplete) and the transfer fails because it can not find the file for the broken filenames. OPEN *************** 220 ftp-out FTP server ready. User (*****... | MGET is not part of the FTP protocol, so the limit (if any) is dependent on your FTP client, which must implement MGET as a series of GET commands. It looks like you may be using the built-in command line FTP client that ships with Windows, in which case I would not be at all surprised if it has the bug you describe--t... | 2 | 1 | 2,577 | 2011-06-02T17:49:52.830 | api_errors | serverfault.com | |
679,399 | How to Dump all databases from MySql server with mysqldump without passwords | Is it possible to dump all databases without supplying the username and password for each databe ? The server has 10 databases with different usernames and passwords. I will be logged in as root (centOS) I used the following but i get access errors [CODE] [fixed] [CODE] [Related Thread] https://stackoverflow.com/questi... | [edit] ok i used : [CODE] My assumption is correct as pointed out by @wurtel (linux associates the linux user with the MySQL user). I logged in to MySql with phpMyAdmin and the admin user has all privileges but is not associated to any database ! (plesk panel) so i have to use the [CODE] format for each database and pe... | 2 | 2 | 28,759 | 2015-03-30T19:37:50.247 | database_errors | serverfault.com | |
128,505 | Is it a good idea to use virtualization for apache/php and Mysql servers? | we (our company) provide SAAS (software as a service) applications, and we think about virtualization to host our apache/php servers, and our mysql master/slave servers. Is it a good idea? Mysql servers need fast I/O and memory, and both need high network bandwith. How to make the right choice? Thanks Best regards Cédr... | I'll defer to the experts here but in the meantime, I thought I'd ask some questions that might help to formulate a more specific answer: What type of virtualization infrastructure do you have? Are we talking about a single VM server? Multiple VM servers? Storage via fiber-connected SANs? Storage via local disks? How s... | 0 | 1 | 707 | 2010-04-01T15:44:14.857 | database_errors | serverfault.com | |
768,010 | Port forwarding via Watchguard | I have problem with accessing oracle database with oracle SQL developer. I'm using Watchguard m400 as my firewall/router and Windows Server 2012 R2 as Oracle DB Server. I have server with local IP, lets say its 10.10.10.10, I NATted it with s-nat to a global IP one, let's say 210.210.210.210. I added a policy with port... | Your rules seems correct as you have described it and as you say the RDP portion works so it seems to be defined correctly. In situations like this, I will generally turn on logging for the policy (default settings only log deny packets for a packet filter) and attempt the connection again with the application to confi... | 0 | 0 | 378 | 2016-04-04T12:17:23.360 | database_errors | serverfault.com | |
134,872 | MySQL - Deleting old data; Select with index taking time | I am a bit confused about 2 queries. First query I am running on a 50m rows table by index on a [CODE] row with a limit, I would expect the query to be immediate regardless of the size of the table, since I run on an index with small limit. Am I wrong? [CODE] Create table: [CODE] Explain: Second query when I select by ... | (This does not address your question directly; rather it addresses your goal of deleting old records.) Plan A You are talking about [CODE] "old" records. Assuming you are removing "all" the old records, then [CODE] is an excellent way to do that. [CODE] by weeks. Use [CODE] (instantaneous and non-invasive) to get rid o... | 1 | 1 | 199 | 2016-04-10T07:04:05.793 | database_errors | dba.stackexchange.com | |
274,278 | Is it premature optimization to add database indices? | A colleague of mine today suggested that we go through all of the queries in our application and to add indices accordingly. I feel this is premature optimisation because our application is not even released yet. I suggested to monitor for slow queries once we go live and then add indices accordingly. What is the gener... | Premature optimization is "optimizing" something because of a vague, intuitive sense that, y'know, this will probably be slow, especially to the detriment of code readability and maintainability . It doesn't mean willfully not following well-established good practices regarding performance. Sometimes that's a difficult... | 62 | 133 | 6,838 | 2015-02-24T11:57:24.267 | api_errors | softwareengineering.stackexchange.com | |
194,511 | MS Access: Issue with Autonumbers in the export | I have a question that might be trivial to solve, but I have spent some time on it and didn't manage to solve it. I am working on a database in MS Access, in which I keep track of the specifications of mechanical parts such as valves, pipes, and instruments. These components are grouped in tables, each one containing a... | You will need to write a query or report that joins between the tables so you can select the description. The Image below shows the MS Access query designer. It displays both tables and the join between them. Below that it shows the fields I want to return in my query. You can also view the SQL Query, in this example i... | 1 | 1 | 190 | 2018-01-03T16:22:05.547 | warehouse_errors | dba.stackexchange.com | |
347,748 | Backup Exec & Multiple Servers | So I'm looking at our current Backup Exec system and am running into a very basic issue with only a stupidly complex solution as far as I've seen on their site. Servers back up one at a time. We have a selection list that has all of our servers on it, I just noticed that there is NO way to get Backup Exec to do multipl... | It looks like the best setup for me is going to consist of this: 1 Policy 4 Templates (Daily differentials, Weekly fulls, and duplicates of each). 2 Media Sets(File, set for overwrite @ 6 days, and tape set to append for 2 days, overwrite @ 6 days). 15 Selection lists (one per server). 5 B2D devices in a pool. They'll ... | 0 | 0 | 2,644 | 2012-01-07T23:42:15.797 | database_errors | serverfault.com | |
218,249 | Error 9002 Transaction log full SUSDB | I am running a WSUS Server on Windows Server 2016. The WSUS Service stops because transition log is full. The Event viewer says: [CODE] When i start SQL Management Studio and connect to the database i tried to follow the technet article for Troubleshooting a Full Transaction Log . It says that i could Back up the log .... | First of all you should find out why your log cannot be truncated: [CODE] It's certainly NOT [CODE] that it's waiting for, because recovery model of your db is [CODE] . You should also check free space on the disk where the [CODE] is living, and if someone limited the growth of your [CODE] file: [CODE] For now, please ... | 1 | 1 | 1,879 | 2018-09-21T10:35:18.570 | database_errors | dba.stackexchange.com | |
941,046 | Degraded performance with NGINX SSL reverse proxy | We have a Java Spring Boot application that is behind a NGIX reverse proxy. Everything works as expected when the using HTTP - the API responds times are quit fast. Once the protocol is switched to HTTPS, API response times decrease considerably. In the browser dev tools the request appear as pending for a very long ti... | A common issue I've found is related to nginx buffering responses. When you turn off buffering, responses are passed from NGINX to the client synchronously. To do this include the below line in your api location block. [CODE] | 0 | 0 | 901 | 2018-11-21T12:19:18.847 | infrastructure | serverfault.com | |
677,518 | CentOS 7 / Apache 2.4 / FastCGI Configuration | Does anyone know how to properly configure PHP/FastCGI on a CentOS 7 machine using Apache 2.4? In the Apache Virtual Host config file, I have this: [CODE] It works but only for files ending in .php (I can access the control panel but not the website) The CMS outputs pages without any extensions and I get an "Access Den... | What you'll have to do is set up an actual PHP page first. For instance, Wordpress uses a single [CODE] and then uses a mod_rewrite rule to redirect all traffic there. So all you see are clean URLs but it's still a PHP file with a PHP extension running the whole show. This thread talks about how to point all your URLs ... | 2 | 0 | 974 | 2015-03-23T07:58:46.363 | infrastructure | serverfault.com | |
466,185 | Export SCCM 2007 Query Results Via VBScript | I'm wondering if it's possible to export the results of a SCCM 2007 query via VBScript. If it is any suggestions would be greatly appreciated. I know I can export reports through SCCM via VBScript by using the web-view of the report and faking the export=yes and submitting the form. Is something like this possible with... | Why not just execute the query in VBScript? You can attach to the SCCM server in VBScript, and use ExecQuery to send WQL queries to the server. To use a simple example of converting an SCCM query into a VBScript, you might have a query that lists all AD security groups. Right-click that query, click Edit Query Statemen... | 0 | 0 | 2,126 | 2013-01-11T14:48:38.933 | infrastructure | serverfault.com | |
477,591 | why does interface show on ifconfig | I bought up a vlan interface by running ifup on my ifcfg-vlan10 file, now when I do ifdown the ip connection goes down, however the device vlan10 is still visible in ifconfig. Why is that the case and how do I get rid of it from ifconfig? | Does vconfig do what you want ? [CODE] or similar. | 1 | 1 | 441 | 2013-02-11T12:09:56.917 | infrastructure | serverfault.com | |
126,819 | SQL Server Agent initiating self-termination | For the past month, one of my servers is facing issues with SQL Server Agent. It stops automatically with below error, which happens randomly: Sql Agent Output file [097] Memory leak detected [204 bytes] Exception 5 caught at line 403 of file e:\sql9_sp2_t\sql\komodo\src\core\sqlagent\src\alerter.cpp. SQLServerAgent in... | Since you recently upgraded a few months ago from SQL Server 2005 EE to 2012 SE, you should save off and clear your event logs because SqlAgent may crash when it sees Event Log IDs from an older build of SQL Server. For example, the Agent may crash because it reads an event logged by a SQL Server build earlier than the... | 9 | 1 | 811 | 2016-01-21T05:45:40.433 | api_errors | dba.stackexchange.com | |
78,495 | Beautifulsoup find_all returns TypeError: list indices must be integers or slices, not str | This should have an easy solution but I can't understand how to avoid it. [CODE] The error comes because I have a list at [CODE] together with [CODE] . [CODE] doesn't return an error and gives the right output (an URL), but just the first one. Since I want to scrape all of them inside my [CODE] I wanted to use [CODE] b... | Use list comprehensions: [CODE] | 0 | 1 | 1,512 | 2020-07-29T16:10:30.313 | data_quality | datascience.stackexchange.com | |
108,417 | Postgres 9.1.16 Hot Standby | I am using PostgreSQL 9.1.16 (and I cannot upgrade) with Hot Standby. We have a few batches that perform some heavy writes, resulting in a lot of WAL bein produced in a short period of time. The standby desynchronizes because the [CODE] becomes full. I could just increase the FS but I would like to understand. I found ... | To answer your questions: Set the [CODE] lower, as you did, to 30 seconds or so. I made sure to enable [CODE] in my [CODE] and used check_postgres.pl to monitor the number of segments and replication lag. You can also set [CODE] to adjust the checkpointing behavior as well. But really, on a replica, [CODE] is really th... | 2 | 1 | 204 | 2015-07-29T11:06:42.407 | database_errors | dba.stackexchange.com | |
617,352 | PXE boot with Virtualbox | I have a linux guest and that is my server. I also have created another guest as the client with no disk. I want to know, which network type and adapter is correct? NAT or Internal Network? AMD or Intel chips? According to the manual, [CODE] What is the content of vmname.pxe? it is an empty file? Virtualbox is running ... | Oh, the section "PXE booting with NAT" in manual has said it but not very clear. "6.3.2. PXE booting with NAT PXE booting is now supported in NAT mode. The NAT DHCP server provides a boot file name of the form vmname.pxe if the directory TFTP exists in the directory where the user's VirtualBox.xml file is kept. It is t... | 6 | 5 | 41,192 | 2014-08-02T01:38:24.943 | infrastructure | serverfault.com | |
305,807 | Defending Against The 'Apache Killer' Exploit | I have read in many places (for example) on the latest Apache exploit that could shut down about 60% of websites online. Since there is no patch for Apache yet, what would be the best option to defend my server from such attacks? after googling the subject for a while, I've found few different solutions (this one looks... | There are known workarounds for this exploit, none of which have a substantial impact on web server performance (especially when compared to having your site knocked down). Please try a google search (or a brief read of the Full Disclosure mailing list archives ) next time before asking a question. For reference, from ... | 4 | 4 | 527 | 2011-08-28T14:59:51.237 | infrastructure | serverfault.com | |
390,647 | Single CMS site on dedicated server | Possible Duplicate: Can you help me with my capacity planning? We're about to launch a huge website, expecting a HUGE traffic especially in the first few weeks. It will be a Joomla CMS based community website. We expect 20k-50k unique visits each day. Usually pages make 25-35 mysql queries, but there are some with even... | I think what counts in here is the MySQL-config as well as how well you've worked on sending the right caching-headers for static content. In fact your benchmark is telling you not what you were asking for, since it is only focused on the PHP-scripts + MySQL-queries. However a site-request is more. Your benchmark does ... | -3 | 1 | 161 | 2012-05-19T13:29:00.947 | database_errors | serverfault.com | |
152,485 | Clock change on SQL Server | With the clock change ahead in Europe - how does SQL Server deal with the clock change? Are there known issues related to a clock change? | SQL Server just uses the operating system's time. However, if your application code relies on functions like GETDATE(), then your code needs to be able to handle jumps forward (or backward) in time. For example, if your have code that does something like this: [CODE] That code can fail. Long term, consider using GETUTC... | 0 | 6 | 4,270 | 2016-10-17T13:07:32.557 | database_errors | dba.stackexchange.com | |
4,892 | What are the possible considerations and drawbacks of storing binary image data directly in a table? | Although related to this question, I have a slightly different angle to approach this issue from. Here is my situation: I am writing a web application (either in PHP or Python) that manages addons for a desktop application. Users can browse addons, install them, upload them, etc. I am planning the schema for the databa... | You haven't specified the database platform your considering but at this size/scale, it's unlikely to matter. 5kb per record is trivial. 1 million 5kb records is If we were to get platform specific, a typically exhaustively researched white paper by Paul Randall on SQL Server filestream storage suggests that it outperf... | 5 | 4 | 1,584 | 2011-08-21T20:59:50.727 | database_errors | dba.stackexchange.com | |
722,511 | EC2 Server Seems to have port issues | I have installed an Elastix server on a m4.large instance,but I cannot get sound on any of my calls. The server is configured as follows: CentOS 5.9 Elastix 2.4 Using the following guide: https://thewebfellas.com/blog/how-to-install-elastix-onto-an-amazon-ec2-instance I am able to register SIP phones, and SIP trunks. B... | Lack of audio in SIP calls is nearly always due to firewall or NAT issues. All traffic to/from your EC2 instance traverses a NAT, so I'd look into making sure that the requisite NAT setting in Elastix are set properly. | 0 | 3 | 152 | 2015-09-15T18:14:54.343 | infrastructure | serverfault.com | |
20,936 | SQL Server Decimal(9, 0) vs INT | One of our customers uses for some columns the datatype [CODE] in his SQL Server 2008R2 database. Because the columns grow quite slowly, he recently proposed to change the datatype to [CODE] to regain some storage. According to the MSDN library , the storage space of the [CODE] datatype is, just like the [CODE] datatyp... | I agree that there are no real benefits in terms of storage space as long as you are comparing DECIMAL(9, 0) vs INT or DECIMAL(18, 0) vs BIGINT. (Within a single byte.) In terms of processing, like @Andriy says the DECIMAL will naturally divide into a type that doesn't lose the fractional part, if that's important to y... | 14 | 7 | 21,812 | 2012-07-16T07:23:34.287 | database_errors | dba.stackexchange.com | |
190,790 | Juniper SSG-5 subinterface vlan routing to the internet | I'm unable to get a brand new Juniper SSG-5 with latest 6.3.0r05 firmware routing to the internet from a subinterface I created on bgroup0 setup as vlan2 (bgroup0.1 on "wifi" zone). When connected on the default vlan it gets on the internet just fine. When I switch to vlan2 I'm unable to get to the internet. I am able ... | Figured out the issue. I had to enable Source Nat on the Wifi-to-Untrust policy. I'm not sure why it's needed (the default policy for Trust-to-Untrust doesn't have it). You enable the option in the advanced section of the policy or change the line posted above: [CODE] to: [CODE] | 1 | 2 | 9,541 | 2010-10-14T06:08:30.523 | infrastructure | serverfault.com | |
1,150,637 | Apache guacamole RDP resize with nginx SSL proxy | How can I get Guacamole's RDP '"Display Update" virtual channel' option working through an SSL nginx reverse proxy? I have Apache Guacamole configured and working in a VM. When I access an RDP desktop through the guac VM directly via http://guac:8080/, the desktop resizes when the browser window is resized. When I acce... | Adding the following line to the [CODE] block above fixed it. [CODE] With the addition of this line, RDP desktops now resize on browser resize when going through the SSL nginx proxy. I tried several of nginx's many proxy_* options , but ultimately none of them were needed. Just the Cache-Control header. | 0 | 1 | 136 | 2023-12-29T22:39:03.540 | pipeline_ops | serverfault.com | |
370,865 | How are list elements accessed in python internally? | Like if I want to access an array element in C it's implemented like this: For example: If a = {0, 1, 2, 3} is an array if I want to access index number 2 I will write a[2] and the formula that is implemented internally is (a+2*sizeof(int)) to get the starting address of the index number 2. But this can be done because... | Every Python value, be it an object, tuple, int, or None, is represented as a [CODE] in C. Because this is a pointer, all these values have the same size (even if the [CODE] structure may have different sizes, depending on what it represents). (See: [CODE] ) So a Python list internally holds a C array of type [CODE] , ... | 1 | 4 | 1,041 | 2018-05-13T16:03:00.243 | api_errors | softwareengineering.stackexchange.com | |
848,134 | How to determine which process is sending UDP packets once per hour? | I was doing a packet capture as part of a development project and saw some odd traffic coming from my machine in the capture file. About every 3600 seconds, a NAT-PMP request is being sent to the IP "1.1.168.192". (Kind of amusing, looks like something got the endianness wrong.) I'm concerned the machine could potentia... | You can easily accomplish this with SysInternals' Process Monitor . Run it as Administrator, then configure it as follows: On the Filter menu click Filter... In the first drop down box, select Operation . Select Is for the match condition, then in the blank drop-down box select UDP Send , then click Add . Again, in the... | 6 | 12 | 8,208 | 2017-05-03T23:50:08.637 | infrastructure | serverfault.com | |
281,995 | find groups with duplicate versions | I want to find all the groups in a table that have duplicate group version. A group can have multiple group versions. Each group version can have multiple members. A group 'version' is defined by [CODE] and [CODE] . A group consider a duplicate if ALL the members ( [CODE] , [CODE] and [CODE] ) in one group version matc... | Hopefully this should provide an answser: This implements "common" relational division: [CODE] Result: [CODE] This implements exact relational division , which results in even more complicated code. Your case, where the groupings/versions are determined by two columns [CODE] makes it look like even more complicated. Te... | 0 | 3 | 171 | 2020-12-22T16:06:59.493 | database_errors | dba.stackexchange.com | |
313,274 | Advantage of using INCLUDE as against adding the column in INDEX for covering index | Postgres docs state the following about Index-Only Scans and Covering-Indexes : if you commonly run queries like [CODE] the traditional approach to speeding up such queries would be to create an index on x only. However, an index defined as [CODE] could handle these queries as index-only scans, because y can be obtaine... | Rule of thumb 1: If you never use an index column for filtering or sorting (or joining, or to enforce uniqueness), you might as well move it to the [CODE] clause. Nothing lost, something gained. Rule of thumb 2: [CODE] columns only ever make sense if you actually get index-only scans from them. And in some cases not ev... | 6 | 5 | 4,642 | 2022-06-12T18:20:20.533 | data_quality | dba.stackexchange.com | |
31,775 | How do I retrieve or setup a password in CVS pserver? | I currently using a CVS pserver for code management here at work. However, I forgot what my password was. Is there a way I can reset my password? I am pretty sure the password is encrypted in some manner (perhaps MD5?). I did do a search for similar questions, but was not able to find any. If this is a duplicate, pleas... | You cannot retrieve the password; it's encrypted one-way. You can set a new one, however. The usual way to manage this is to have a checkout of the CVSROOT module, edit the passwd file and [CODE] it. If nobody has working access to a checkout of CVSROOT, you can always go into the CVSROOT directory inside the CVS repos... | 4 | 3 | 17,090 | 2009-06-25T18:34:00.647 | data_quality | serverfault.com | |
38,998 | Getting error message on webpage but test cases get passed -using testng with selenium | Driver class: [CODE] Properties : [CODE] Loginpage: [CODE] Logintestcase: [CODE] testng xml: [CODE] | Test case does not fail because it does not include any assertions. As mentioned by @Upkar Singh in the comment - your login test data is not valid, therefore page is showing some kind of error saying that login did not succeed. If you want the test case to fail, you need to assert that some condition is met (i.e. that... | 0 | 1 | 360 | 2019-05-01T09:54:18.917 | data_quality | sqa.stackexchange.com | |
892,720 | cyradm delete mailbox permission denied | I have a new ClearOs 7 system. It has Cyrus IMAP installed. In trying to copy the mailboxes from the old server, I seem to have screwed up one of them. It has a folder called Junk E-mail which is only partly there. I am trying to sort it out with cyradm, as follows: [CODE] Unfortunately the permission denied messages m... | Actually you need to set the right ACL for that mailbox before deleting it. If you can't delete your own mailbox means the ACLs for that are missing. You should check the answer given to a similar question here . In advance, you can set the ACL needed for deleting using: [CODE] | 1 | 2 | 3,082 | 2018-01-17T17:59:29.343 | infrastructure | serverfault.com | |
66,614 | How can I feel more confident about my programming skills? | Programming isn't alien to me. I first starting doing markup (HTML, now please don't laugh at me) when I was 12 and a little bit of BASIC when I was 13 (I knew much about Flowcharts, Pseudocodes at this point), but then I was admonished into Biology in high school and hence missed out on "real" programming knowledge of... | I'd argue the best way is to simply spend more time on it (search for the 10000 hour rule). Find something you want to get done and set out to get it done. Pick something that's beyond your current ability, but not so far out that you won't be able to finish in a reasonable amount of time. If you really enjoy it, you'l... | 36 | 27 | 22,664 | 2011-04-09T01:24:34.847 | data_quality | softwareengineering.stackexchange.com | |
728,441 | Windows 2012 R2 AD LDS Restore to another computer | I've been having trouble restoring an instance of AD LDS from one computer to another following the Microsoft technet instructions. For the same server installed with the same windows restore image it is fine, but when restoring to another server build, it will fail for me. I've tried creating a test LDS instance on se... | If the reason only is hardware failure, you could also create a vhdx from server 1 with disk2vhd ( https://technet.microsoft.com/en-us/sysinternals/ee656415.aspx ) and then write it to the disk of server2 ( https://superuser.com/questions/40294/copying-a-vhd-to-a-physical-disk ) or boot from vhdx ( https://technet.micr... | 1 | 1 | 2,426 | 2015-10-12T19:14:10.863 | database_errors | serverfault.com | |
174,113 | Can I predict to have query performance problems against a two column xref table with 25 million records? | I'm prototyping a design. In the design, I am considering creating a thin xref table (two integer fields) that would contain approximately 25 million records. Is this a crazy idea or would I still expect decent performance? By decent performance, I expect to query against this in a second or two. I plan to index the fi... | It's purely subjective, yes, but assuming 8 bytes per field, that's 382MB in total, right? I don't see a problem at all with performance. (Repost from comment) | 0 | 1 | 62 | 2010-08-24T22:31:06.120 | database_errors | serverfault.com | |
476,676 | How to reduce the timeout for TIME_WAIT connections on OpenBSD? | I'm running [CODE] on OpenBSD 5.2, to test how good my [CODE] setup is, and I've noticed that cold runs are much faster than warm runs, and with every run the performance goes down very dramatically (e.g. from 3735 replies per second on a cold run, to 2288, 1804, 1553 on subsequent runs). I've noticed with [CODE] that ... | You can play with these sysctl variables: /etc/sysctl.conf [CODE] | 1 | 1 | 7,298 | 2013-02-08T00:34:06.100 | infrastructure | serverfault.com | |
601,344 | How do I install and use the cli53 tools on Windows? | I'm trying to find the simplest way to import a large number of BIND zone files in to Route 53. I've had a quick look at the AWS CLI and AWS Tools for Windows PowerShell but they don't seem to include a zone file import option like the AWS Route53 GUI does. The cli53 utility on the other hand does, but is written in Py... | I already had Python installed on [CODE] I installed PIP by downloading the get-pip.py program as described here: [CODE] This installed the pip program into my [CODE] folder. I could then run pip install: [CODE] Now that cli53 was installed, I created a file called ~/.boto with my credentials: [CODE] After which I coul... | 3 | 1 | 3,715 | 2014-06-03T02:11:40.313 | infrastructure | serverfault.com | |
341,179 | Why does Python only make a copy of the individual element when iterating a list? | I just realized that in Python, if one writes [CODE] The elements of the original list [CODE] will actually not be affect at all, since the variable [CODE] turns out to just be a copy of the original element in [CODE] . In order to modify the original element, [CODE] would be needed. I was really surprised by this beha... | I already answered a similar question lately and it's very important to realize that [CODE] can have different meanings: If the data type implements in-place addition (i.e. has a correctly working [CODE] function) then the data that [CODE] refers to is updated (doesn't matter if it's in a list or somewhere else). If th... | 33 | 70 | 22,868 | 2017-01-29T17:32:20.830 | api_errors | softwareengineering.stackexchange.com | |
925,600 | Upgrading a MySQL database using numbered scripts compared to a version field | I have been given a task to upgrade a MySQL 5.7 DB using a directory of sequenced scripts and comparing them to a version field in a DB. You should query the DB, then compare the returned table number to the scripts in the directory, and if the number is lower than the highest script - execute all scripts leading upto ... | I think you're overcomplicating things. Minimal example here for the logic you require: [CODE] | 3 | 2 | 110 | 2018-08-09T09:20:23.927 | database_errors | serverfault.com | |
238,833 | Postfix rewrite header issue | I currently relay all my cPanel (exim) outbound emails through my Postfix server. However, postfix seems to remove some important part in the header that exim added before sending to relay. As example, exim add in the headers the path of the PHP script that send the email, or the unix user ID of the sender. Anyone know... | I've finaly find the problem. If anyone have the same problem with cPanel, simply add headers_add = "${perl{mailtrapheaders}}" in the routers configuration of exim.conf | 0 | 1 | 968 | 2011-02-22T20:08:16.610 | infrastructure | serverfault.com | |
133,026 | ERROR 1031 (HY000) at line X: Table storage engine for 'TBL' doesn't have this option | I am trying to import [CODE] into following system: [CODE] yet, I getting following error: [CODE] the [CODE] table from [CODE] : (I replaced sensitive information with [CODE] s): [CODE] [CODE] is all defaults, I did however added following line(s): [CODE] Also, here is full mysql> SHOW VARIABLES LIKE 'innodb%'; stack. ... | Under MySQL 5.7, [CODE] is no longer an option for the InnoDB Storage Engine. According to the MySQL 5.7 Documentation for innodb_default_row_format , these are values you can use for the table's row format: [CODE] , [CODE] , and [CODE] are allowed as default values [CODE] is not allowed to a default value, but you can... | 4 | 2 | 14,233 | 2016-03-22T16:27:30.743 | database_errors | dba.stackexchange.com | |
83,717 | Windows 2008 R2 - errors with "net localgroup" commands run from a service | I have a service that is behaving differently when run on windows 2008 R2 I believe it might be that the service installed on windows 2008 R2 is somehow having a slightly different context or holding different privileges The service creates a win32_process object that runs "net localgroup" commands. Those commands are ... | What kind of permission set does the account have that is running the service? Perhaps try elevating it a little. | 1 | 0 | 339 | 2009-11-11T18:43:39.103 | infrastructure | serverfault.com | |
255,464 | Using the command pattern for a sequence of tasks | I have a 'sequence of tasks' to undertake on a zip file. It can be simplified into these steps: Validate that the file is a ZIP file and is valid Unzip the file Validate the contents are as expected Turn the contents into a product I am currently using the Command pattern and it looks a little something like this [CODE... | To your first question: it is quite normal that each command constructor may have a different signature with different dependencies, so constructing the commands cannot be done fully generic. Using a DIC can indeed mitigate this. For more complex scenarios, you could also use the "abstract factory" pattern, where you h... | 8 | 6 | 1,564 | 2014-09-05T09:41:29.270 | hadoop_errors | softwareengineering.stackexchange.com | |
1,051,902 | Is possible to have multiple database users with db_owner permission on a SQL database? | I have setup a remote SQL server, which contains some databases. One user with certain login can create a database on server and after that can assign other users (each one with certain login) to new created database (as db_owner). Is possible to have multiple database users with db_owner permission on a SQL database? ... | Yes, definitely. The permission doesn't mean that the user is actually the owner of the database, but "only" that he/she has full control on it. https://docs.microsoft.com/en-us/sql/relational-databases/security/authentication-access/database-level-roles You can grant permissions using either SQL Server Management Stud... | 1 | 1 | 4,623 | 2021-02-01T08:41:08.107 | database_errors | serverfault.com | |
1,150,976 | nginx request routing based on 'content-type' to split grpc from REST API requests | I have an existing setup using two cascaded nginx instances: the outer nginx is just doing TLS termination and forward to inner nginx the inner nginx is routing the requests to different applications (REST APIs) Until now we were only using HTML pages and REST APIs. The routing of the outer nginx is pretty simple, it i... | I think I found a good solution and using [CODE] only for [CODE] which is allowed. I need to map any conditions to a url path, so I can solely use [CODE] statement to match it. In my case I map the [CODE] header to the location [CODE] and in the [CODE] section I remove the [CODE] prefix. [CODE] The [CODE] section for t... | 0 | 0 | 215 | 2024-01-05T22:28:47.840 | api_errors | serverfault.com | |
194,376 | How to send email with my CentOS server? | I just built a modest home server using CentOS 5.5. I want the server to be able to send emails to my Gmail account or other email accounts for various things like cron jobs. Also it would be nice to be able to send email via PHP applications that I run/develop on the server as well. Or even be able for the server to s... | [CODE] [CODE] [CODE] [CODE] try above command :) | 23 | 14 | 132,073 | 2010-10-25T04:32:40.250 | infrastructure | serverfault.com | |
602,128 | Python uWSGI logs have no read permissions | I am running a Python Flask server on uWSGI over an EC2 Ubuntu 14.04 LTS. The server is configured as follows: [CODE] The logs, however, are created using root permissions without read access: [CODE] This is an annoyance, because some of my scripts run as a normal user and parse these logs. Any idea how to configure uW... | You can use the logfile-chown and logfile-chmod configuration options. Both can be set from the command line or in an [CODE] file. Here is an example: [CODE] More information in the documentation . | 4 | 5 | 5,511 | 2014-06-05T17:31:05.587 | infrastructure | serverfault.com | |
274,813 | Can access from IP but not from domain | I can access a site from an IP but can't access from a particular domain name. I have other domain names pointing to the same server and they all working. This server is a Windows web server 2008. What could the problem be? What steps should I take to troubleshoot this? | Your content DNS server at 188.138.56.201 is misconfigured: [M:\]dnsqry /serverip:188.138.56.201 a spotagel.com. [0.0.0.0:0000] -> [188.138.56.201:0035] 30 Header: 0000 1+0+0+0, Q, , query, no_error Question: spotagel.com. IN A [188.138.56.201:0035] -> [0.0.0.0:0000] 30 Header: 0000 1+0+0+0, R, , query, refused Questio... | 1 | 0 | 674 | 2011-05-28T11:37:17.133 | infrastructure | serverfault.com | |
214,559 | Issue with a products database | I have a problem concerning the correct design of a relationship. My database has only one table called [CODE] , which has the following columns: [CODE] And I need to display the info of categories but the problem is this: I have the categories saved as one string all together. category1, category2, category3, category... | OK; you've discovered that having multiple data values in a single field is a Bad Idea. Good. Let's move on. You need a second table to hold the catagories that relate to a particular product. Given that categories are shared across many products, you probably want a "master" table of categories as well. [CODE] To find... | -2 | 0 | 45 | 2018-08-10T02:20:42.517 | warehouse_errors | dba.stackexchange.com | |
1,130,731 | When logging out to journald, when would you use a library and when would you use systemd config options to pipe StdOut/StdErr to journald | I've found library's that allow logging out to journald which suggests that, yes you should use a library where possible and log to journald from inside your app. But then there are tools like [CODE] or systemd config options like this (from this ) : [CODE] Which suggests I can just pipe the output of stdout/stderr of ... | [CODE] is already the default for all services. All output generated by services just automatically goes to the journal by default even if you do not specify this option explicitly. (This means you never need to use systemd-cat from a service; it is only useful in non-service situations, such as cronjobs or manual scri... | 0 | 1 | 453 | 2023-05-09T11:51:21.310 | infrastructure | serverfault.com | |
53,315 | Find which permissions are being used for a given user on a object | Is there any way in which I can see what permissions are being used to determine a users access to a given object? I'm able to see which permissions have been granted to various roles and users within a database, but am having problems with these reports not lining up with what is actually happening. For example, the S... | Have a look at [CODE] ( http://technet.microsoft.com/en-us/library/ms188421.aspx ) and [CODE] ( http://technet.microsoft.com/en-us/library/ms186740.aspx ). They tell you which roles/logins/users SQL Server is involving when figuring out the permissions for the current user. Then you can use [CODE] ( http://msdn.microso... | 2 | 4 | 2,398 | 2013-11-14T11:51:29.153 | database_errors | dba.stackexchange.com | |
452,406 | nginx more fastcgi-mono-server | I've been looking for post related to my problem, but I have not found. I´m hopeless, I follow the guide for install and config nginx with fastcgi-mono-server ( http://www.mono-project.com/FastCGI_Nginx ), I do all how say in the guide but I can´t do that the nginx can interpret asp page. My config pages in /etc/nginx/... | When starting fastcgi-mono-server I think it should be something like this: [CODE] I personally use this line to get mine running: [CODE] As you can see mine uses fastcgi-mono-server4. It will probably work the same way. | 1 | 3 | 5,035 | 2012-11-26T11:07:34.777 | infrastructure | serverfault.com | |
38,826 | Mysqldump from the Amazon RDS | I have a Mysql database deployed on Amazon web services RDS. I am running a crontab which runs mysqldump command. The problem is it freezes the rds instance and my website will be down for more then half and hour almost. It will be inaccessible. Is there any way to stop the freeze during the dump and website will be ac... | Have you tried mysqldump using --single-transaction ? In this way it doesn't lock the table for threads doing SQL,DML operations provided no DDL statements should be issued and you will get the backups for conistent states only. This will be efficient only for innodb tables. Below url might give some insights about the... | 1 | 3 | 2,576 | 2013-03-29T08:56:26.817 | database_errors | dba.stackexchange.com | |
709,438 | SSL Fault, Apache won't start | After installing an SSL certificate from Comodo following these instructions , I've found that apache will no longer start. This is my config: [CODE] Apache error log gives the following (not very helpful) errors: [CODE] Yet running apache2ctl -S produces no errors. Any guidance as to how to proceed is appreciated. Oth... | I reinstalled apache and the problem was fixed. Something must have been corrupted. | 1 | 1 | 1,814 | 2015-07-29T16:11:08.350 | api_errors | serverfault.com | |
177,628 | NFS performance trouble: with infiniband gets stacked with many users? | I have a RAID system on A server and similar configuration on B server-both with Scientific Linux 5.5. They are connected with infiniband and RAIDS from A are mounted with NFS to ServerB. Now when the users are accessing A-Raids via B-Server, the network getting stacked already with 2 rsyncs. What is the reason? Can I ... | So you've got mirrored NFS servers and some mechanism for keeping them in sync using rsync? This is a recipe for problems. It also implies that you've got a homegrown script trying to keep it all working. Certainly NFS is the last of your problems. Ideally, you should consider using a shared storage backend with a clus... | 1 | 1 | 729 | 2010-09-03T07:29:25.293 | infrastructure | serverfault.com | |
4,258 | VMware Infrastructure Web Access certificate problem | Every time I launch the shortcut to the VMWare Infrustructure Web Access page I get a message in IE7 asking me to choose a digital certificate. I don't have any digital certificates, so I click "OK" or "Cancel"--it doesn't matter which. I'm taken to a screen that says, "There is a problem with this website's security c... | The SSL certificates installed by default with ESX and VirtualCenter are self-signed. That means your browser (any browser) won't trust them by default. You have a few choices: Add the self-signed certs to your Trusted Root certificate authorities Replace the self-signed certs with certs that you've purchased from a tr... | 4 | 1 | 8,282 | 2009-05-04T19:16:25.567 | infrastructure | serverfault.com | |
960,880 | Installed self-compiled Python 3.7.0 as "python", how to remove it? | I have made a huge mistake on my Ubuntu 16.04 server. I compiled and installed Python 3.7.0 from source using [CODE] , but I did not include all of the core dependencies I needed, so I was going to remove it and install a pre-packaged deb instead. However, to remove it, I used this method with checkinstall . I generate... | Normally an [CODE] will sort this out, by replacing packages with those in the actual apt sources you have enabled, but it doesn't seem to have done so this time on your system. It looks like you're going to find a way need to reinstall the original Python package. Fortunately you can do this by specifying the package ... | 0 | 1 | 802 | 2019-04-01T04:22:30.190 | infrastructure | serverfault.com | |
634,482 | Setting up a bootable multi-device (RAID 1) using Linux Software RAID | I'm trying to setup a bootable software RAID that will contain the root filesystem and boot up Linux Mint Qiana. It will be used to run a few graphical monitoring applications in a small datacenter, as well as a simple terminal to access other LAN nodes. I have two 500GB SATA drives ( [CODE] and [CODE] ) which I will u... | Booting with Software RAID almost always requires a separate /boot partition, especially with older versions of GRUB. Specifying "--metadata=0.90" when creating the RAID-1 partition for /boot is also required. /boot should be the first partition and kept small. Mostly for legacy BIOS boot reasons. The other reason that... | 8 | 6 | 27,487 | 2014-10-08T16:22:42.197 | pipeline_ops | serverfault.com | |
543,985 | Cassandra: Exception Connecting to 127.0.0.1/9160. Reason: Connection refused? | I have installed the Cassandra 1.2.9 into my vps server which is having CentOs . I have Installed it successfully. when i run the sh cassandra-cli , i got the error message [CODE] [CODE] . I have checked the jps command and try to kill jps process. [CODE] Unfortunately again i got the error message likewise, [CODE] . P... | try [CODE] to see if cassandra is running, for debugging this issue try running Cassandra in forground, in ubuntu I just do [CODE] to start it in foreground and if there is any issue in cassandra config etc it will tell you here, if it starts fine then open another terminal and try to connect again, I think Cassandra i... | -1 | 0 | 5,349 | 2013-10-05T08:22:24.283 | api_errors | serverfault.com | |
692,819 | Jenkins server not opening ports for slave connection | I'm using Bitnami Jenkins virtual image with VMWare. I'm getting a ConnectException Connection timed out to my Jenkins server when I try to connect a web start slave. I can access the Jenkins server from a web browser (port 80). Using nmap on the Jenkins server shows the port isn't open but using netstat shows that it'... | Bitnami VM images enable Uncomplicated Firewall by default and have only ports 80, 443 and 22 open. Even though the port to start the slave is open, as netstat shows, you can't reach it from outside the VM because of the firewall. You should configure the firewall to open the port (59730 in your case), as explained in ... | 1 | 0 | 1,748 | 2015-05-18T17:49:18.100 | pipeline_ops | serverfault.com | |
458,486 | How to reinstall Windows 7 Embedded? | I need to reinstall Windows 7 Embedded on my server but I'm not able to do so despite repeated tries. I tried booting up the server with the Windows Embedded 7 Setup ISO attached (using IPMI) and I've also tried running setup.exe in the CDROM after Windows has booted up. Both methods fail. In the first case, the server... | Try using something like GParted to delete or format the current partitions on the disk. | 0 | 2 | 2,086 | 2012-12-16T10:46:25.583 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.