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 |
|---|---|---|---|---|---|---|---|---|---|---|
570,717 | Ubuntu 13.10 - How to disable LVM and cryptsetup? cryptsetup: evms_activate is not available | EDIT: This issue is now resolved. For detailed instruction how to remove full disk encryption, please see the "Can I disable full-disk encryption?" topic, there you can find a step by step instruction how to remove full-disk encryption. https://askubuntu.com/questions/245112/can-i-disable-full-disk-encryption/412737#41... | Above problem: [CODE] was happening because I've didn't mount [CODE] partition properly before chrooting. [CODE] As a result my [CODE] on [CODE] was rebuilt by update-initramfs command: [CODE] However during boot the [CODE] /boot was used, with old initramfs . EDIT: I've updated the "Can I disable full-disk encryption?... | 1 | 0 | 13,544 | 2014-01-29T13:08:07.557 | infrastructure | serverfault.com | |
304,525 | What does the new full stop / period mean in the RHEL6 ls output? | We have scripts looking at the output of [CODE] output for permission information that have been failing recently on RHEL v6 systems which appear to be showing an extra [CODE] at the end of the permission entry that didn't used to be there before: [CODE] What does the full stop signify? And what else can appear in it's... | info ls shows: [CODE] | 16 | 19 | 4,163 | 2011-08-24T14:25:24.330 | infrastructure | serverfault.com | |
269,741 | "Cannot continue the execution because the session is in the kill state" when querying system tables | This is a snippet from some code I run on a [CODE] system that I just inherited and have not yet had a chance to fully patch. AlwaysOn AG are not enabled, and there's plenty of space in the LDF. [CODE] Sometimes it runs, and sometimes it doesn't. Also, I frequently see [CODE] when rerunning SQL that had previously run.... | It's possible there is corruption in those system tables. Try running: [CODE] On all the databases on this instance to check for corruption. It's also possible you're encountering a SQL Server bug. Try checking the SQL Server error log for any error messages around the time you get that "a severe error occurred" error ... | 0 | 0 | 3,978 | 2020-06-23T16:36:57.637 | warehouse_errors | dba.stackexchange.com | |
871,284 | Supermicro BIOS upgrade : Error when sending enable message to ME | I recently upgraded my BIOS on my X9SCL-F board from version 1.1 to 2.2. It seems to be a 2 step process where after you create a bootable DOS USB, you need to run [CODE] Once this process is completed, it mentions to reboot the server and boot back into the DOS USB and run AMI2.BAT which I believe is generated during ... | It seems that the error message is expected if JPME1 and JPME2 are not enabled. I did not have the jumper pins on my board, so I simply used 2 small screwdrivers to short the JPME1(pins 1 & 2) with one and JPME2(pins 1 & 2) with another. You need to keep a steady hand throughout the step 2 of calling [CODE] but it does... | 0 | 0 | 3,767 | 2017-08-30T15:22:22.110 | infrastructure | serverfault.com | |
204,009 | is there a GOTCHA - DBCC CHECKDB ('DBNAME', NOINDEX)? | I am turning on DBCC CHECKDB in our OLTP environment (SQL 2005,2008). System overhead is a very visible thing on our serversso I want them to be as efficient as it makes sense for them to be. HENCE - I want to turn on the NOINDEX option, an option I've never used before. My thoughts are these: if there is a problem wit... | DBCC CHECKDB needs to be done off-hours or at low usage periods. On a huge database, it will (by design) hammer the disk subsystem of the server so badly that it becomes almost unusable. It needs to read every page in the database. Using the NOINDEX option doesn't help you much, because you need to check that none of t... | 1 | 1 | 1,601 | 2010-11-19T17:28:18.810 | data_quality | serverfault.com | |
64,522 | Why is my plan guide not being used? | We recently ran into the tipping point issue and some of our report queries that used to complete execution within a couple of seconds are now taking more than 2 min because the query optimizer simply ignores the non clustered index on the search column. An example query below: [CODE] The [CODE] column is clustered Ind... | The query must match EXACTLY, including whitespace. I suggest you get the query from the cache, and create it from that rather than entering it any other way. | 9 | 11 | 3,233 | 2014-05-06T05:37:14.727 | hadoop_errors | dba.stackexchange.com | |
48,945 | Connecting to physical host disks from VM | I used VMware Converter to do a P2V of my server. My server had 3 HDDs: C: D: E: (SATA/IDE) I only included the C: drive (boot) in the image, because I had not intended to need to activate this VM - just access the files. After doing a P2V I reinstalled the host OS on to C:. It turns out that I now need to run the old ... | I take it that you don't want to / can't physically attach the "D:" and "E:" "drives" to the server computer hosting the VM. If this is goign to be a short-term thing, the easiest thing I think you could do would be to install an iSCSI target onto a computer that can host these disks and export them as iSCSI targets. O... | 0 | 1 | 1,297 | 2009-08-02T02:26:05.047 | database_errors | serverfault.com | |
696,770 | How to see keepalived priority number when it changed | I have used keepalived to archive high availability for nginx. I set initial priority 101 for MASTER, 100 for BACKUP and I can see [CODE] : [CODE] Is there any way to see the changed priority number to look into why my machine change role state? [CODE] | You can use tcpdump to see the advertisements on the wire. This will show you the source machine sending the advertisement that's higher. [CODE] | 1 | 1 | 4,051 | 2015-06-05T01:21:15.193 | hadoop_errors | serverfault.com | |
445,816 | In .net 6 dependency injection and Program.cs, what is the best practice for handling a large number of dependencies? | I've seen a ton of examples of how to do DI, and the example always shows two dependencies. But what about when you have 50 or 100 dependencies (or more) in a large-ish application? The Program.cs file will get unwieldy with 100+ lines of [CODE] , not to mention problems where multiple developers are adding new depende... | A software with this many dependencies is probably structured in modules or at least the classes can be grouped in some way. For example, you may have some data access layer, some frontend, and maybe some special kind of connector. If you now add the dependencies of each group in their own function, conflicts occur onl... | 5 | 6 | 1,766 | 2023-05-31T15:44:31.387 | api_errors | softwareengineering.stackexchange.com | |
362,824 | Multiple Unicorns/Rails Apps, Nginx, One User | I successfully deployed a Rails app using Capistrano, Unicorn, Nginx using the following unicorn configuration: env = ENV["RAILS_ENV"] || "development" worker_processes 4 listen "/tmp/app_one.socket", :backlog => 64 preload_app true timeout 60 pid "/tmp/unicorn.app_one.pid" if env == "production" working_directory "/ho... | Why don't you use an app-specific tmp directory, and put the unicorn.pid into there, like "#{working_directory}/tmp/unicorn.pid". Similarly for any app-specific files like the socket. If you don't want to put it in working_directory, use shared_path. Keep everything specific to app1 in an app1-specific location, and ev... | 0 | 2 | 1,769 | 2012-02-22T22:51:17.817 | pipeline_ops | serverfault.com | |
1,019,015 | HAProxy Rate limiting per IP with queuing | I'm moving towards HA using it to replace also NGINX and I've a question regarding how to do a Rate Limiting in HA that enables queuing the request instead of closing them. I was able to limit per IP following those examples: https://www.haproxy.com/blog/four-examples-of-haproxy-rate-limiting/ . However, when the limit... | The solution that i found is rather complex and includes a lua script. But it works! i created a gist here to simplify sharing. it has a docker-compose to create the env and needed config. https://gist.github.com/esseti/1382f7df039f9098b425f2a7a338a749 and then, using [CODE] you run [CODE] NOTE: i wrote this while ago ... | 3 | 0 | 1,186 | 2020-05-28T08:40:23.380 | api_errors | serverfault.com | |
33,910 | Number of features of the model must match the input. Model n_features is `N` and input n_features is `X`. | I am new to data science and trying get some results. I'm applying [CODE] . When my train and test datasets' size are not equal I get an error `Number of features of the model must match the input. Model n_features is N (no. of entries in training datasets) and input n_features is X (no. of entries in test datasets). I... | You are supposed to pass [CODE] arrays and not lists as arguments to the [CODE] , since your input was a list it gets trained as 70 features (1D list) and your test had [CODE] of 30 elements and the classifier sees it as 30 features. Nonetheless, you need to reshape your input [CODE] array and pass it as a matrix meani... | 6 | 8 | 50,226 | 2018-07-02T21:51:21.983 | data_quality | datascience.stackexchange.com | |
799,059 | Apache delays serving an empty html file while processing a concurrent request | I have a website, which queries a Varnish server, which queries an Apache server, which queries a db server. At 07:00:00, a request is send to the Apache server, which triggers a db request that takes over 30 seconds to process. While the db server is "locked", concurrent db requests are piling up, causing apache reque... | Apache does allow queue of pending connections to build up if all its http worker threads ore busy. This is controlled by the ListenBackLog directive: https://httpd.apache.org/docs/current/mod/mpm_common.html#listenbacklog So it's possible that the requests are entering this queue when all the other requests backup and... | 0 | 0 | 196 | 2016-08-25T11:38:16.727 | api_errors | serverfault.com | |
789,405 | How can I get a Radius server that can authenticate using my Google Apps domain credentials? | We do have a Google Apps domain and we want to configure a Radius server in order to allow people to login to our corporate WiFi or VPN using their corporate credentials (Google Apps). To make the issue even more complex, we already have 2FA enabled for our Google Accounts. Still, if that would be a blocker we could as... | JumpCloud provides just that (G Suite-to-RADIUS-bridge), but comes at a price. Your other option would be to import your userbase into an LDAP directory, keep it in sync with G Suite using [CODE] and use this as the credential store for your RADIUS. | 8 | 3 | 10,322 | 2016-07-12T16:30:00.450 | infrastructure | serverfault.com | |
67,450 | Can I simulate concurrent wireless connections for load testing? | Our office internet typically has about 25-30 computers connected. For an upcoming event, we will have to support about 100 connections, mostly via wireless, for a few days. I'd really like to test that kind of load before the event. Is there a way to simulate a number of concurrent wireless connections to do some load... | The problem is, as far as I know, one wireless adapter can only connect to one wireless network, at a time. You'll need as many wireless adapters for the extent of the stress testing you want to conduct. | 5 | 3 | 5,165 | 2009-09-21T19:59:55.343 | infrastructure | serverfault.com | |
303,966 | How to create a custom database with 32k block size via DBCA silent mode? | I am trying to create an Oracle 19c single instance (warehouse) with dbca silent mode. The problem is, when I try the command below, it gets a warning: "Ora-0058: DB_BLOCK_SIZE must be 8192 to mount this database (not 32768)". Rest of the lines are full of errors. The command: [CODE] I assume this is because of the tem... | dbca -silent ... - gdbname ${ORACLE_SID} - sid ${ORACLE_SID} ... Is this creating a Pluggable database inside an already-existing Container database? If so, then the Block Size is defined by the Container database (which is a "real" Oracle database) and not the Pluggable database (which is, effectively, a Tablespace on... | 0 | 0 | 900 | 2021-12-15T08:31:00.880 | database_errors | dba.stackexchange.com | |
800,405 | Enforcing No Gzip on Nginx | I need to disable gzip in some cases, regardless of client's [CODE] request headers. My Nginx's conf entry has the following directives: [CODE] However, the following curl: [CODE] Results with: [CODE] Note, the responding server is proxied by this Nginx. | Apparently, this is not an Nginx "misbehaviour" rather, a proxied device, F5 BigIP in this case, which is configured to compress responses regardless of request headers, as long as the User-Agent header matches certain patterns. | 0 | 0 | 5,581 | 2016-09-01T07:20:25.737 | infrastructure | serverfault.com | |
15,126 | Reindex Task Failing Randomly | We use the built-in maintenance plan to reindex (and backup, etc.) our production SQL Server. The problem we are currently having is the reindex task started failing randomly this week after months of smooth operation. It has failed three out of the last six nights (it runs nightly), and it always fails on the ASPNETDB... | A known reason for reindex failure is a full log. Depending on your recovery model, the frequency at which you backup your log and the activity on your database, you might have "random" crashes. If you monitor the size of your log or have access to you server ERRORLOG you should be able to validate this hypothesis and ... | 6 | 1 | 3,323 | 2012-03-16T02:17:00.913 | api_errors | dba.stackexchange.com | |
522,081 | Defensing againt DDoS attack on Squid server | My Squid (3.1.20 on Ubuntu 13.04) is under DDoS attack (with about 1000 different IPs). I'm using Basic Authentication on it and all of those requests are getting DENIED response but still they increase server's load. How can I defense against DDoS attack on Squid? | How about using fail2ban with a squid filter? There is a configuration example here : [CODE] | 0 | 4 | 3,788 | 2013-07-09T22:13:01.813 | api_errors | serverfault.com | |
220,150 | How are Postgres database files updated? | I'm curious how the [CODE] files are updated for a Postgres database. Do the segments correspond to segments of each table, so that only a few segment files are updated after an update to subset of the table? Or will the update to the table cause changes to all or a majority of the segment files? Basically, I'm interes... | The linked documentation page says: Each table and index is stored in a separate file. […] each table and index has a free space map … stored in a file named with the filenode number plus the suffix [CODE] . Tables also have a visibility map, stored in a fork with the suffix [CODE] So the actual table data ends up in a... | 0 | 2 | 162 | 2018-10-15T16:45:23.617 | database_errors | dba.stackexchange.com | |
29,405 | sql server instance using maximum cpu usage | I have a SQL server 2005 instance installed on the server machine with two vm Server Specification are * Processor: * Xeon Ram : 6GB OS: window server on vm ware It is running asp.net application deployed on the IIS and sql server database instance . This application is used by around 500 users daily. after every 22 da... | Try the CPU related DMV queries from Glenn Berry's SQL Diagnostic Queries . In fact, I suggest you run all the diagnostic queries because the high CPU utilization can be a result of some problem with the way the instance is configured, the way queries were written etc., Here is another article on SQL Server Performance... | 2 | 4 | 8,259 | 2012-11-27T18:49:38.683 | api_errors | dba.stackexchange.com | |
1,783 | Why is the K8s UI not available when rancher is used? | K8s has been created using rancher, but when one would like to access the UI it shows: [CODE] Methods Method 1 rancher was deployed locally using vagrant k8s was deployed click the ui button Method 2 perhaps the local firewall was causing the issue? rancher was deployed on digital ocean k8s was deployed service unavail... | I've seen this happen, especially on the newest (as of now) version. Try going into the "Infrastructure stack" and look for stopped containers. Often it helps to just refresh the entire deployment (hit the button "up to date" next to the "kubernetes" stack and hit save (If I remember correctly) in the bottom to force t... | 2 | 2 | 711 | 2017-08-18T21:30:13.110 | pipeline_ops | devops.stackexchange.com | |
1,044,450 | Postfix checks the message in Amavis even for non-existent mailboxes | Here is my problem: My email address is for example something1@domain.com. Everything is ok when Postfix receives email for address something1@domain.com. But spammers often use random mailboxes, for example something5644343@domain.com. Postfix first checks email in Amavis spam-filter. After that checks database if mai... | Problem solved. You must edit you SQL query if you've got a same problem like me. Existing email address: something1@domain.com I used this query in /etc/postfix/mysql-virtual_mailboxes.cf: [CODE] Example: email is for something5644343@domain.com. MySQL query checks only domain (%d). Domain exists. So everything is ok ... | 0 | 0 | 352 | 2020-11-30T20:32:35.280 | infrastructure | serverfault.com | |
451,481 | nginx url rewrites for php-urls | i have to permament redirect some old urls in nginx. the old urls are old-style php urls including a parameter for loading content. they look like this: [CODE] i want to redirect them to other urls like: [CODE] any advice on how i can achieve this? my tries failed. thanks in advance! | If you have a direct mapping between old URL parameters and new URL path, you could use such a syntax : [CODE] With such a config, any request starting with [CODE] will first be tried againt the exact URL, then if there's no matching file or location, nginx will try an internal redirect with [CODE] if the original URL ... | 0 | 1 | 474 | 2012-11-23T09:05:57.810 | infrastructure | serverfault.com | |
652,291 | XenServer 6.2 not forwarding ports to VMs | I have a XenServer 6.2 with OVH with 4 additional IP addresses. For 2 VMs that are installed all is working fine. I created now a new VM with CentOS 6.6, added the virtual MAC OVH assigned me for the IP and setup the network interface accordingly. I can connect without problem to SSH on port 22, but all other traffic (... | Problem solved. We had a CentOS Distro where when installing the httpd server it was not automatically adding the rules to the iptables. | 0 | 0 | 867 | 2014-12-13T02:52:45.757 | infrastructure | serverfault.com | |
85,279 | gd dissapears from apache server | We have a web server (Debian, with Apache2, PHP4 and MySQL) used in an Intranet. It's main use is to serve pages with data and graphs generated dynamically (using jpgraph) from the data stored in DB. It has worked rock solid for several years, but this week we have found that everything related to graphs is not working... | Problem solved. Checking apache log [CODE] the following line was detected after each restart: [CODE] The problem was solved by a combination of adding the line: [CODE] to [CODE] and doing what is described in bugs.debian.org , that basically is to move away from /usr/local/lib all libgd.so* libraries (?). Don't ask me... | 0 | 1 | 124 | 2009-11-16T20:05:57.640 | database_errors | serverfault.com | |
280,139 | Should I install IE9 on my windows 2008 r2 servers, when i use Chrome for web surfing (on those machines) | Windows Update is suggesting I install IE9 on my Windows 2008 R2 servers. All my servers use Chrome, iff I need to do any web surfing .. which is 99.99999% of the time a NO (i grab anything off my work pc, throw it on the server and it uses it then). So .. should I install IE9 on those machines? If so .. it would be be... | The core IE engine is used by system components and third party code even if the main browser UI is uninstalled from the system (can you even still do that in 2008 R2?). You can't truly get rid of it without going into highly unsupported system level hacking. Knowing that, I always keep it up to date on my servers even... | 1 | 3 | 496 | 2011-06-14T03:25:21.283 | infrastructure | serverfault.com | |
735,932 | How can I output logs to a file from the content of a service with systemd | Well, I have a service configured with systemctl . This is the config file: [CODE] What I need?: 1) The [CODE] and [CODE] could write the message [CODE] or [CODE] to the file [CODE] . With the above configuration, doesn't work, it only outputs [CODE] and [CODE] to [CODE] . (I checked with [CODE] ) 2) I need that instea... | I encountered a similar issue. As explained here , it turns out that you can't redirect output directly within [CODE] , [CODE] , or [CODE] commands - systemd will interpret the [CODE] or [CODE] as arguments. The solution is to execute your command using [CODE] . There's also one other issue I ran into when trying to us... | 7 | 4 | 19,764 | 2015-11-12T19:30:46.860 | infrastructure | serverfault.com | |
642,612 | 802.1x wired auth after domain change | I have been trying to find a solution to this issue for the past 2 weeks and it's driving me nuts. Hopefully someone out there can help me. We are in the process of migrating Windows 7 clients from multiple childdomains into one root domain. We have a migration script that joins them from child.domain.net into domain.n... | Configure change notification on your AD site links so that you don't have the 15 minute replication delay. As an aside: you should use a tool like ADMT to migrate users, groups, and computers to your root domain. It does an awful lot more (like re-ACL servers) than the script you've described. | 0 | 1 | 255 | 2014-11-06T23:37:20.927 | database_errors | serverfault.com | |
402,568 | Emulate nginx proxy configuration in apache with mod_proxy, how to? | I have a working configuration in nginx which is like this [CODE] } How can I emulate this with apache ? I tried the below configuration but the static content do not serve. [CODE] How can I get static content to serve in the same way as nginx does? Or is it even possible ? Thanks in advance | The order of [CODE] directives matters, and unlike nginx, all location blocks that are match are applied, from least specific to most specific. In other words, you'll need to change your approach a bit for it to work. Probably the more straightforward and readable approach would be to use mod_rewrite: [CODE] | 1 | 1 | 686 | 2012-06-27T01:26:21.900 | infrastructure | serverfault.com | |
65,616 | Question marks showing in ls of directory. IO errors too | Has anyone seen this before? I've got a raid 5 mounted on my server and for whatever reason it started showing this: jason@box2:/mnt/raid1/cra$ ls -alh ls: cannot access e6eacc985fea729b2d5bc74078632738: Input/output error ls: cannot access 257ad35ee0b12a714530c30dccf9210f: Input/output error total 0 drwxr-xr-x 5 root ... | I had a similar problem because my directory had read (r) but not execute (x) rights. My directory listing showed: [CODE] The mail directory had the r bit set, but not the x that you need for listing or search and access. Doing [CODE] solved this problem. | 69 | 65 | 109,010 | 2009-09-15T17:31:43.830 | infrastructure | serverfault.com | |
494,560 | Is it possible to automatically restart crashed services in Linux? | I am Using Ubuntu Server and would like to know if it's possible to automatically restart services that go unresponsive. I am operating a standard LAMP stack and occasionally vital services need to be restarted but I want to do it in a programmatic way. | To handle services that go into a crashed state, look at Munin and/or the Linux watchdog daemon . | -1 | 1 | 5,640 | 2013-03-29T16:00:55.080 | infrastructure | serverfault.com | |
129,948 | MySQL server with root user that can be accessed remotely with just a password. How hard is it to break in? | I have a MySQL server that has a root user enabled. This root user is protected by a password and can be accessed remotely: [CODE] . The reason for this is from time to time I use [CODE] to access the server and run queries directly to see some stats. I know that this is bad. My question is how hard is it to break in. ... | create a user with certain privileges (depends on what queries you run). I also advice to disallow root remotely login. | 2 | 1 | 131 | 2016-02-21T13:11:40.420 | database_errors | dba.stackexchange.com | |
480,447 | "remote file operation failed" on remote UNIX slaves since upgrading to Jenkins 1.502 | Since upgrading to Jenkins 1.502, any jobs using git on remote UNIX slaves launched by SSH fail with [CODE] I've found a few pages about this error ( one , two ) but nothing conclusive about what it is or how to fix it. This is happening on all slaves launched with SSH or [CODE] when using git (possibly other SCMs, not... | With jenkins being release almost every week, bugs may be released too. You should simply rollback to an old version or just wait for the next one. Checking their bug tracker may help finding workaround, and to help for problems being fix as early as possibile. | 3 | 1 | 3,351 | 2013-02-19T21:02:56.763 | pipeline_ops | serverfault.com | |
616,744 | Is there a difference between en_US.utf8 and en_US.UTF-8? | Server info (DNS and IPs removed): [CODE] I have some PHP code that is reading from an Excel file and doing string comparisons. It is failing on the server due to what seems to be a locale issue. On my local machine (OSX 10.8.5 Mountain Lion) however, it works! On my local machine the locale is en_US.UTF-8. On the serv... | TL;DR: The codepage / character set [CODE] in [CODE] is not officially recognised as far as I can tell. There is no IANA [CODE] character set name . [CODE] is likely generated by [CODE] - see final heading. The IANA character set name is [CODE] . The hyphen is important Case is in sensitive Therefore, these are all val... | 6 | 10 | 4,840 | 2014-07-30T21:46:29.483 | infrastructure | serverfault.com | |
11,802 | updating mysql primary keys | I need to be able to swap values that are used in a primary key. Meaning, in one update statement, I need to change id 1 to id 2, and id 2 to id 1. In other relational databases, (Sql Server and Oracle), it seems that the transaction that does the update applies the Primary key contraint after checking the values if up... | I understand what you are saying, but the reason it works in SQL Server is because it's in a single statement, not because the transaction isn't committed. In SQL Server you still don't have deferred integrity - EACH statement has to satisfy the constraints, regardless of whether there is an open transaction. If there ... | 1 | 2 | 4,178 | 2012-01-27T16:37:08.400 | database_errors | dba.stackexchange.com | |
343,927 | IO Monadic code: standard vs flipped function composition | Below is a line that handles socket connections in a simple Haskell program. [CODE] The "flow" of data in the function is not consistent: it's left to right when using bind [CODE] or [CODE] (sequence?), but right to left when using function composition [CODE] . Is the below better? Using a simplified/modified form of [... | I think the real answer is If you have any sort of colleagues on this project, run this by them to get their opinion. If it is just for you, pick whichever you like most. While Haskell supports point-free programming very well, the language and community have more or less standardized around math-based right-to-left co... | 8 | 4 | 301 | 2017-03-10T22:56:33.170 | api_errors | softwareengineering.stackexchange.com | |
1,073,718 | AWS Network Firewall - How to log the blocked connections | Question Is there a way to log the connections blocked by the AWS Network Firewall, or filter the logs of blocked connections? Background Currently having setup the rules, and would like to know which IP or domains have been blocked. Looking at Logging network traffic from AWS Network Firewall but not clear if it is po... | You must configure your firewall to log the log type of "Alert". It will then show source, destination and action (i.e. DROP or ALLOW). Here is some documentation on how to change the log type: https://docs.aws.amazon.com/network-firewall/latest/developerguide/firewall-update-logging-configuration.html | 1 | 0 | 575 | 2021-08-06T08:13:11.447 | infrastructure | serverfault.com | |
228,955 | Is there a way to rewrite this MySQL query to use window functions, and not use session variables? | I have the following query [CODE] By way of background, this is about taking a bunch of trades, and adjusting the prices to account for corporate actions, to answer the question: "what would the trade price have been if there was no corporate action". I am pretty sure the query returns the desired result. However, I am... | Ok, I solved it using danblack's suggestion of a recursive CTE. [CODE] No session variables used, so mission accomplished as far as I am concerned. If anyone can come up with another interesting (possibly simpler) way to solve this, please post it. For now I consider this to be the answer, but if someone can come up wi... | 0 | 0 | 83 | 2019-02-05T17:18:31.423 | database_errors | dba.stackexchange.com | |
523,220 | How does this 2048bit SSL requirement affect existing internal PKIs? | We have our own CA which we've used for years to create hundreds of server certs and thousands of client certs. The CA cert itself is 1024bit and the certs it signed are 1024bit Symantec has been sending out emails to us regarding this "change now to 2048bit certs" due to some relationship we have with external certs w... | Microsoft pushed an update in October of 2012 that made SSL certificates under 1024-bits not validate as secure. That particular update also removed weak-key validation for any certificates in the chain , which would include older Authorities signed with weak keys. The question is, will they do so again for 2048-bit ce... | 5 | 3 | 193 | 2013-07-14T13:53:30.700 | infrastructure | serverfault.com | |
1,036,364 | How to create .zip archive containing preserved symlinks (shortcuts) in Windows (CLI) | How can I create a [CODE] compressed archive in Windows from the command-line that preserves symlinks? I'm trying to create [CODE] file in PowerShell that includes a relative symlink from one file to another file in that archive, but I either encounter an error or the shortcut turns into a non-symlink file after extrac... | Since Windows 10 (some 17*** build, end of 2017), the 'tar' command has been added natively. So now for preserving symlinks I would suggest something like: [CODE] Then, after unpacking [CODE] the extracted folder folder-to-backup has all symlinks remaining. | 2 | 1 | 2,418 | 2020-10-04T18:00:23.470 | hadoop_errors | serverfault.com | |
510,239 | Glassfish Server JVM Tunning | I need to setup a Oracle Glassfish Server and after some research I came up with a configuration that I would like to propose. Any suggestions and/or corrections are very welcome. My Hardware/OS (relevant) details: Ubuntu 12.04 LTS 64bits JDK 7.0.28 RAM 12GB 4 Processors (with 6 cores each) My JVM Options -server -Xms9... | You should add JVM/GC logging options, this will allow you to track the GC activities and will help you with determining the optimal values for Q1, Q3, Q4, Q5. Further, GC logging has almost no overhead so you can safely use it in production environment: JVM/GC logging enabled for example by : [CODE] Q1 : 3GB is not to... | 3 | 1 | 1,561 | 2013-05-22T18:35:35.280 | database_errors | serverfault.com | |
471,406 | Redirect all dynamic links served using https to http | So, here is the situation: We are running a website which is powered by Drupal . Sometime ago, it was decided that the website should be served as SSL. The settings to redirect the site from http to https was done by a guy who is not with us anymore. I can see in the [CODE] file the following lines [CODE] mydomain.com ... | It worked with after swapping the order in the [CODE] file. [CODE] | 0 | 0 | 764 | 2013-01-22T15:27:37.517 | infrastructure | serverfault.com | |
94,294 | Calculating confidence score in NER | I am working on a problem on Named Entity Recognition. Given a text, my model is detecting the Named Entities and extracting that info for the end-user. Now the ask is end-user needs a confidence score along with the extracted entity. For example, the given text is: XYZ Bank India Limited is a good place to invest your... | Named Entity Recognition is traditionally evaluated using precision/recall and F1 score - the medium article gives a low down on how to achieve this I recently happened to read this article on a new approach for the same. Please see the details in the attached medium link but havent tried this out yet though | 1 | 1 | 1,517 | 2021-05-11T06:49:17.597 | data_quality | datascience.stackexchange.com | |
959,410 | AWS cloud architecture | I'm trying to figure out how to deploy my applications on AWS. I have very limited DevOps experience and I'm not sure if my design is good. I have two application, a web application that handles files upload and a processing application that do processing on the files. I was planning using AWS beanstalk for web applica... | So Two methods I can think of that should work for you without a DB table of Jobs but still allow DB access if you need it. Highly scalable serverless Would be to use an API Gateway and set up a Lambda function to actually do the heavy lifting this means that when your not processing anything your not wasting Money run... | 4 | 1 | 149 | 2019-03-21T19:58:19.457 | infrastructure | serverfault.com | |
37,381 | Perfmon returns unusual performance objects | I have a several servers in a cluster. One of them is misbehaving and running slowly. I connect to it remotely with PerfMon: Using the "Add Counters" dialog I select my remote server and in the "Performance object" drop down I see a list of numbers - they look like PIDs. If I connect to any of the other servers in the ... | I would run through the procedure referenced in the article below to rebuild the performance counters on the problem machine. I haven't seen exactly the symptom you're reporting, but I have found that this procedure helps with general performance counter strangeness in most cases. http://support.microsoft.com/kb/300956 | 0 | 1 | 458 | 2009-07-07T21:49:08.930 | infrastructure | serverfault.com | |
137,217 | Looking for a better way with Reporting Db server | I have a "reporting" db server which is basically a clone of production using backup and restore in a stored proc to handle restore , user , permission etc. Backups/restores happen 1x per day at a scheduled time. Now they have a new db that they want on the report server and it is a pure OLTP db (right now I backup and... | I would suggest 2 options ... If you are using Enterprise edition then SQL server 2014 Enterprise edition will give you AlwaysON Availablity groups .. which you can use to offload reporting on secondary. Standard edition then You can use logshipping with delaying on transaction logs on secondary in STANDBY mode. The on... | 1 | 0 | 63 | 2016-05-02T14:20:03.140 | database_errors | dba.stackexchange.com | |
917,426 | Cannot install npm on an embedded Debian hardware: | I'm not being able to install NPM on my Debian embedded hardaware. Here is the log: I'm trying to install node on an embedded amd64 system. Here is the log: [CODE] I've tryed to purge old packages, to autoremove packages, but nothing makes it work.... [EDIT] As asked, my sources.list file: [CODE] | Change your sources.list, first line [CODE] to [CODE] and retry your setup. | 0 | 1 | 178 | 2018-06-20T07:42:16.907 | infrastructure | serverfault.com | |
81,252 | server defragment tool | what's the best defrag tool for a web / database server running windows 2008 server? will regular defrag improve performance? what are your experiences thanks | Fragmentation can be a lot more severe than "a few nanoseconds here and there". I deal with files that are sitting in hundreds of thousands of fragments on a weekly basis. For single-file defragmentation, nothing beats the command-line tool Contig from SysInternals (free download). It can be used to defrag folders as w... | 0 | 5 | 182 | 2009-11-04T03:51:30.980 | infrastructure | serverfault.com | |
98,192 | Ticketing System / Development Phase | At the stage of a project right before you actually start putting code in the editor how do you organize the project and your "tasks". Ticketing systems are great but I can't seem to find a way to make them worthwhile on a project until after launch. When tracking bugs and gathering enhancement ideas for later versions... | The change in thinking is less of movement away from "tracking bugs and gathering enhancement ideas for later versions" to realizing that the version we're currently working on was "a later version" at one point. We've come to realize that, for future auditing and maintenance as well as our own sanity, "everything star... | 2 | 4 | 2,858 | 2011-08-03T12:53:59.390 | api_errors | softwareengineering.stackexchange.com | |
318,066 | Page Life Expectancy metric or equivalent in Postgres | Is there any analog of MS SQL Server PLE ( Page Life Expectancy ) metric in Postgres? I know only about cache hit ratio, which request look like: [CODE] However, I need to understand which request is consuming memory. That is, at the time of executing a heavy request, PLE will fall sharply. What metric(s) will help me ... | In Postgres there isn't an equivalent of the Page Life Expectancy metric (which you shouldn't be using anyway). A combination of [CODE] and [CODE] (and possibly other metrics from those two views) should give you a good picture of when a lot of blocks are being loaded into the shared buffers and who is responsible. | 0 | 1 | 194 | 2022-10-11T10:28:17.757 | database_errors | dba.stackexchange.com | |
136,567 | Automatic index creation for primary vs. foreign keys in Postgresql | For PostgreSQL 9.4 ( http://www.postgresql.org/docs/9.4/static/ddl-constraints.html ) it is stated that A foreign key must reference columns that either are a primary key or form a unique constraint. This means that the referenced columns always have an index (the one underlying the primary key or unique constraint); s... | I don't think that - a default index generation for foreign key columns - would lead to serious problems. It was just a decision taken from the PostgreSQL developers, to leave this choice to each database designer / administrator. We have the choice to either add an index when creating a foreign key or not. If they had... | 4 | 6 | 3,978 | 2016-04-26T07:09:52.317 | database_errors | dba.stackexchange.com | |
138,753 | SQL Server 2008 R2 Reporting Services: "Exception of type System.OutOfMemoryException was thrown" | When I run a report on SSRS reporting services to fetch 600000 row.. I get a error "Exception of type System.OutOfMemoryException was thrown". I read so many blog's for solving this issue but still I can't to solve it. I am working on 32 bit OS(window server 2008) and SQL Server 2008 R2 32 bit. Is it possible to solve ... | Upgrading the server to a 64 bit version of Windows, and a 64 bit version of SQL Server might help. However, what are you doing with a report with 600,000 rows? If you are using this to export data, you should use SSIS or some other tool designed for the job. If you are summarizing the data inside the report, re-write ... | 0 | 1 | 2,292 | 2016-05-17T13:25:26.130 | bi_errors | dba.stackexchange.com | |
972,285 | VMWare ESXI extremely high write latency | I hope you can help.. this is more of a sanity check just to verify my line of thinking at the minute. We've got a VMWare cluster setup that is networked to a high performance SAN. Everything performs nicely, running fio write tests I can get IOPS ~60k. So I was setting up a machine on this environment with a generous ... | The latency can be caused by disk provisioning in Virtual Machine. Double check both networking and disk provisioning. I’d recommend Thick provisioned Eager Zeroed type of provisioning to avoid READ->MODIFY->WRITE operations (which is the default for both thin and lazy zeroed provisioning). Typical READ->WRITE can decr... | 4 | 4 | 2,873 | 2019-06-20T18:19:11.540 | infrastructure | serverfault.com | |
371,962 | Which Linux distribution is suitable for serverside development and somewhat easy to use? | I need to setup a Linux-based server which is going to be the backend for our web services. This is what I need: (In order of importance) A GUI to manage applications and files It would be running a custom built C++ server Probably also the LAMP stack, if needed. I would be trying out ERP or other serverside software o... | CentOS will probably be your best bet regarding ERP stuff as it's going to be the closest to the big commercial distros that these software are designed to run on. Otherwise any of them will meet your criteria. I think Ubuntu and Mint are more popular for desktop use though so I'd say stick with Debian or CentOS. | -2 | 2 | 534 | 2012-03-21T13:40:42.660 | infrastructure | serverfault.com | |
718,558 | Helo command rejected: Host not found - Setup postfix to accept sending mails from my home server through my public server | I would like to receive system emails from my home server. So I'm trying to configure postfix to do that through my public server. My public server has a fixed IP, while my home server is in a private network with a messed up hostname due to my router's hostname being included in the hostname, leading to a full hostnam... | Here's the issue: [CODE] The last of those, [CODE] , tells Postfix to reject mail if the hostname given in the HELO command cannot be resolved. If you remove that, your problem should go away. You should reverse the change you did (setting [CODE] to [CODE] ). That change made it so that a client can connect and start s... | 11 | 9 | 49,037 | 2015-09-02T13:37:30.540 | infrastructure | serverfault.com | |
299,089 | Implementing revisioning logic with SCD2/4 | I posted this question on StackOverflow, but it didn't get much luck so I'm hoping I could have better luck here. I'm working on a project that is a sort of bill of materials manager that needs to support revisioning of components. After some research, I've stumbled upon slowly changing dimensions type 2 and type 4 whi... | Original SO post: https://stackoverflow.com/questions/69057139/implementing-revisioning-with-scd2-4 From your comment in that post (which should be copied into your question here -- please edit your question), it sounds like you want audit/history tables so you can revert edits to any particular object. These are typic... | 0 | 1 | 723 | 2021-09-05T13:58:24.097 | warehouse_errors | dba.stackexchange.com | |
1,075,817 | Nginx: URL rewrite with proxy_pass and URL parameters and special chars | I studied all the great posts to nginx proxy and rewrite functionality, but was unable to find a solution for my problem. So here we are. I wrote an web application with vaadin, that is able to handle the follwoing request: [CODE] For SEO optimization, I want to handle "speaking" urls, like: http:///songwriter/germany.... | The URL fragment is client side only and is never sent to the server. (Because the literal [CODE] is not allowed there, nginx URL encodes it.) If your web app abuses URL fragments for navigation then they can only be handled by your client side (in browser) code. Note that using URL fragments in this way is not conside... | 0 | 1 | 1,071 | 2021-08-27T16:31:25.907 | infrastructure | serverfault.com | |
452,624 | In EF why should a DB contexts not persist? | Are the reasons for why Microsoft states that DB contexts should not be long lived because of measurable effects (memory leak, resource hog, increased probability of data corruption, ...) or is it because of a more subjective reasons (anti pattern, hard to manage multiple instances of the same record, increased complex... | Yes, EF keeps track of the state of entities outside of the database, So if you try to do two things at the same time you will get real runtime errors and unexpected behaviour. We see in your link: When EF Core detects an attempt to use a DbContext instance concurrently, you'll see an InvalidOperationException with a m... | 3 | 4 | 237 | 2024-03-26T20:21:37.310 | data_quality | softwareengineering.stackexchange.com | |
231,772 | Test Doubles, Mocks and Stubs - when not to use & why, for Ruby, Rspec | I've learned about mocking and stubbing and I've seen how they can help me create great test suites that run blindingly fast and thus speed up my development process hugely. However I've also seen the downside when there is an issue that is database centred and wasn't tested for (test doubles or not). So should I have ... | I see unit tests as routines that test pieces of code that are in a code base that you manage. Mocking and stubbing helps focus only on the flow and logic of your code, which is what you are testing in your unit tests. Whether or not an outside service like a database (which is not inherently part of your code) actuall... | 2 | 1 | 1,682 | 2014-03-09T05:34:00.803 | data_quality | softwareengineering.stackexchange.com | |
1,126,267 | How do I (automatically) re-attempt to deliver mail from a different Postfix server? | My network consists of two different locations and in both I have a Postfix server running for outgoing mail on each of them. Mail gets submitted to any of the two round-robin, based on having them both in DNS, e.g. [CODE] points to two A-records. Users submit their mail there and these servers will send the mail out. ... | Configure your postfix servers to allow them to relay for each other and then add their counter to the [CODE] list. That should be a Postfix native way to ensure that the original SMTP message will be forwarded to your alternate mail-relay for a second delivery attempt after the first delivery attempt fails with a non-... | 2 | 2 | 283 | 2023-03-15T14:19:27.973 | infrastructure | serverfault.com | |
610,269 | Apache doesn't render .php files after installing ius php55u | I've installed the IUS php55u on a CENTOS with virtualmin. All the php sites are broken now. When I use test.php it gives me only the html code. If I try test.php5 it renders the PHP code. Yet, in php.conf I have this line: [CODE] That means it should render .php files and not php5. There are no other php.conf files on... | Well surprisingly - commenting out this FilesMatch section solve the problem ! | 1 | 0 | 204 | 2014-07-04T22:07:31.000 | infrastructure | serverfault.com | |
48,837 | Creating and Promoting new DC/DNS win2k3 server as ESX host | I have a win2k3 stnd dc/ dns as a vm server (1.0). I recently upgraded to Vsphere4 and want to move the dc to a new vm on our new ESX host. I've read that converting a dc vm is not the best idea and I should just create a new vm, dcpromo and replicate AD on the new server. I posted the plagarized solution below. My que... | First: AFAIK there's no problem converting a VMware Server 1.0 VM into an ESX VM. I'd just do that, if you can. There is no "primary DC" in Active Directory. There are five "flexible single master" roles that are held by domain controllers in a single-domain forest (which it sounds like you have). Typically in small si... | 1 | 2 | 959 | 2009-08-01T14:30:47.173 | infrastructure | serverfault.com | |
1,045,281 | Nginx reverse proxy and a URL rewrite | I would like to rewrite the URL in a reverse proxy so that it removes the first segment but leaves any following segments intact. I need this to happen before it hits the proxy pass. Example: [CODE] My Location block: [CODE] I tried the following with no luck: [CODE] | There are two parts here. First one is how nginx routes incoming requests via [CODE] . There one can map incoming requests for [CODE] to backend with [CODE] prefix with the following configuration: [CODE] No [CODE] statement is needed. Second part is the URLs that are generated by the application that is running at [CO... | 1 | 0 | 6,904 | 2020-12-07T13:27:30.640 | infrastructure | serverfault.com | |
313,997 | SQL Server stored procedure taking too long sometimes even though indexes have been added with memory grant issues | I have a stored procedure that takes too long sometimes even though I have added all suggested indexes. I keep getting the Query had to wait for memory grant The query plan can be found here: Query Plan | superfund This query is pretty well a disaster, but if the reason it's sometimes slow is that it's waiting on memory (RESOURCE_SEMAPHORE) then the server you're on is likely underpowered for the workload as a whole. I see the [CODE] and [CODE] which would back that up. You can artificially reduce the memory grant for t... | -1 | 8 | 1,998 | 2022-07-01T14:25:11.707 | database_errors | dba.stackexchange.com | |
110,883 | expanding 1x1xn global average pooling output to the size of the input map HxWxn | I am trying to recreate the model in this paper : BiSeNetV2 There is one module called Context Embedding Block, in which Global Average Pooling is used to embed global information into the feature maps using a residual connection. In the figure provided in the paper, after global pooling and a 1x1 convolution, it menti... | I have found a workaround if anyone is interested. In pytorch in order to perform a global pooling operation one can use: [CODE] as it was suggested here In my case I am actually going to avoid adaptive pooling since it is not supported by onnx and I intend to run inference using onnx runtime later. So I am going to us... | 0 | 1 | 26 | 2022-05-12T11:32:09.143 | data_quality | datascience.stackexchange.com | |
445,134 | Site only loading with 'www' domain prefix | My site is only loading with www.domain.com format not with domain.com. Any idea why? Here are my settings: [CODE] My DNS settings: A/AAAA Records [CODE] Running Ubuntu on Apache2 | The vhost to load first gets precedence - in this case, it's the one in [CODE] . I'm assuming that the vhost you're intending to be active is the one in [CODE] , right? Run [CODE] , then restart Apache and you should be good! | 1 | 0 | 175 | 2012-11-03T20:32:46.497 | infrastructure | serverfault.com | |
404,600 | JSON:API - I don't think I have an `id` or `type` to return | I'm building a Restful API and trying to use JSON:API format for my response. Looking at https://jsonapi.org/format/ , it states: A resource object MUST contain at least the following top-level members: id type Exception: The id member is not required when the resource object originates at the client and represents a n... | It does not state, how the [CODE] shall look (apart from it being strings), i.e. you can use any uniquely identifing element in the object. Thus, for your fruit, I guess you have something like a name "apple", "orange", "melon": just use that as the id (as long as it is unique.) For the type: just add [CODE] . | 1 | 3 | 1,019 | 2020-02-03T05:00:59.127 | api_errors | softwareengineering.stackexchange.com | |
394,133 | Python - Paradigm to compute different formulas with the same function | I have different equations to compute the same quantity. For example, [CODE] but also [CODE] , where [CODE] represents the quantity I would like to compute: it could be Velocity or Momentum or something completely different. I have dozens of quantities to code, each with multiple equations. It is also essential that I ... | If I were doing this, I would go with Approach 1. Without more details, I can't say for sure but if you have good unit tests, maintainability shouldn't be much of a problem. If there is a lot of common code among the functions, then obviously put that common code in its own function/module so you're not touching a doze... | 1 | 2 | 250 | 2019-07-02T11:47:25.233 | api_errors | softwareengineering.stackexchange.com | |
724,567 | nginx Error , keep reopening logs | I hope any one can help me or guide me in right direction recently i moved to a new hosting and started seeing this in my nginx log [CODE] This was not the case in my old server, both old and new server have same config, same processor and same hdd. Here is the nginx configure options [CODE] | Nginx uses USR1 signal to reopen logs for log rotation purposes, see: https://www.nginx.com/resources/wiki/start/topics/tutorials/commandline/#Stopping-or-Restarting-Nginx You should check your logrotate settings, for example in [CODE] | 0 | 1 | 2,143 | 2015-09-24T14:50:38.890 | infrastructure | serverfault.com | |
832,407 | Btrfs is *not* using multiple devices | I've added a device to my existing Btrfs file system recently, but it doesn't report the new device as having even allocated any space for the data. Take a look: Before I started: [CODE] So now I want to add [CODE] : [CODE] [CODE] Huh, I thought that was supposed to do it, lets try this: [CODE] [CODE] What the heck? Ke... | Actually, [CODE] will balance data (as you may expect) between devices without striping it. But documentation says that allocation is "linear". I don't really know what it means but it could be that one device will be used only when the other one is full. If you go to this page : https://btrfs.wiki.kernel.org/index.php... | 0 | 0 | 462 | 2017-02-14T05:15:01.793 | infrastructure | serverfault.com | |
271,257 | MySQL - GROUP BY not working with multiple CASE WHEN statements | I am working on a database with Kickstarter database, and I'm trying to: Define short, medium-lengthed, and long campaigns See how much each length of campaign raise Convert different currencies into USD My original code is as follows: [CODE] I'm expecting a result of: [CODE] Where XXXXXX is the aggregate of the pledge... | A syntactical version that should work (untested due to lack of ddl and sample data) is: [CODE] I agree with @Akina that the result will be confusing when several currencies are involved. The result may end up like: [CODE] and you basically have no idea what row that represents which currency | 1 | 0 | 461 | 2020-07-20T06:52:25.123 | database_errors | dba.stackexchange.com | |
328,571 | DDD: is it correct for a root aggregate to hold a reference to another root aggregate? | When following Domain-driven design (DDD), is it correct for a root aggregate to hold a reference to an internal entity that happens to be the root entity on a separate aggregate? I believe this is not correct, mainly because of this rule on the blue book : Nothing outside the AGGREGATE boundary can hold a reference to... | You might be overinterpreting the book. It basically says : anything outside an Aggregate cannot hold a reference to anything inside it except the root. Therefore, holding a reference to a root is legit. Holding a reference to a root doesn't mean it's part of your own aggregate and that you can control its invariants. ... | 36 | 40 | 23,691 | 2016-08-17T00:04:08.770 | data_quality | softwareengineering.stackexchange.com | |
367,270 | locking down windows 7 lab computers through group policy | I'm kinda new to Windows administration, so please forgive me if I sound like I don't know what I'm talking about. We have a domain environment that has a mixture of Windows server 2003 and server 2008. I have been administering a Windows server 2003 lab server that controls our labs that have Windows 7 clients. The pr... | This thread might help you. https://superuser.com/questions/9411/prevent-installation-of-ie-toolbars In group policy there is also a bunch of things regarding how a person can interact with aspects of the desktops. You can turn off the ability to change background by forcing the one you want. If you have access to grou... | -1 | 3 | 1,140 | 2012-03-07T15:56:51.463 | infrastructure | serverfault.com | |
1,156,032 | Our server infrastructure has grown, needing way to administer passwords for Ubuntu environments | I am not a server admin, but our current server administrator left. So it has temporarily fallen on me to look after things. Our systems are currently protected by public/private keys. But when doing some investigation I found the only access is through this key. I don't believe there are any secondary accounts that co... | A number of things: Our systems are currently protected by public/private keys. But when doing some investigation I found the only access is through this key. This reads like there is shared admin account and a shared ssh key to remote log on to that account. In general you want administrators (and all users really) to... | 0 | 0 | 85 | 2024-03-11T03:12:01.597 | infrastructure | serverfault.com | |
18,572 | Enterprise Manager Database Control on host with an underscore in it's name | I know it sounds awkward, but Enterprise Manager is refusing to be set up because of an underscore in the server name: [CODE] Has someone worked around this issue or can provide a documentation link which explains why this happens? I know that there must have been warning messages upon installation of OS and DB but I s... | This is happening because an underscore in a hostname is not a valid character according to the RFC. "The Internet standards for protocols mandate that component hostname labels may contain only the ASCII letters 'a' through 'z' (in a case-insensitive manner), the digits '0' through '9', and the hyphen ('-')." | 2 | 3 | 1,149 | 2012-05-30T11:51:38.513 | warehouse_errors | dba.stackexchange.com | |
963,943 | How can I forward Exchange emails to the Internet? | I have an Exchange 2016 server set and configured on a VM. The FQDN for the Send Connector is set as, '*'. This is so emails are Internet routable. Now, I need to have a forwarder in the DNS to forward the emails to the Internet. Given, the IPv4 network being used, 172.16.91.93's network is a lab network and the Window... | Is the goal to send mail to external Internet mail address from your Exchange mailbox? If yes, I noticed you have created a send connector, then ensure your DNS server could resolve MX records from internet, a DNS forward in on-premise DNS server is an option as you said. For example: send mail to user@a.com, run “nslo... | -1 | 0 | 386 | 2019-04-21T05:35:37.317 | infrastructure | serverfault.com | |
968,603 | Re-sharing a Windows 2012r2 share as read-only | Looking for a Windows based solution. Background: A standalone WS 2012R2 located on NETWORK A is sharing a folder with R/W access through a local user. A segregated NETWORK B contains user PCs, some joined to NETWORK B’s WS 2019 AD, others configured as standalone. NETWORKS A and B are connected via a firewall/router a... | The logical way to do it is as your Windows 2012R2 as it's in a workgroup, I would create another local user locally onto that server that is RO. but that break that; Constraints: [CODE] Another solution is using another server and sync with DFS, but that 2012R2 would need to be domain joined to have it work. You state... | 0 | 0 | 325 | 2019-05-23T17:20:40.640 | data_quality | serverfault.com | |
264,484 | Permissions required to execute UDF Scalar Function inside a trigger | I have a scalar function that user don't have execute permissions on. However the users have select , insert, update , delete permissions on a table that has a trigger and the trigger calls the scalar function. The user gets an error when they try to run the function saying that they don't have execute permissions on t... | Permissions on indirectly referenced objects are not checked as long as the objects involved have the same owner. This is known as ownership chaining. Users need permission on only the object used directly (table in this case), not on the objects used by the trigger (e.g. function) as long as the ownership chain is unb... | 0 | 2 | 630 | 2020-04-07T09:53:23.757 | warehouse_errors | dba.stackexchange.com | |
208,703 | How do I automatically connect my client to an ODBC data source on another machine with dynamic IP? | At the customer's place, we've got a postgres DB on a server, and a few clients. We connect them through ODBC-drivers, and all machines run windows (usually XP). Now we had a few annoying issues: The client "forgets" some flags in the ODBC drivers, such as ByteA as LO. Every time anything changes, we have to reset that... | Fixes as follows: When initialising, parse parts of the connection string in the application and if necessary, append the flags to it. Only required once, because I could fix the other problems. Still suboptimal. Use a name for the computer, instead of the IP. The data service can easily work with that. | 1 | 0 | 942 | 2010-12-03T09:43:05.333 | database_errors | serverfault.com | |
447,254 | Folder structure to store image/file uploads | I'm working on a system and we need to do some refactoring on the upload service, that handles all files and images uploads to the system. Nothing fancy, but I it got me thinking about the folder structure we are using, and how others do, if there is any benefits doing one way or another. For example, the folder struct... | This is really a question of: What are your requirements? It's quite likely that content your team creates comes from a source control system and is assembled as part of a build process, so you probably want to keep it seperate from any end user content. If you have a requirement to quickly identify all content uploade... | 0 | 5 | 412 | 2023-08-26T21:07:38.190 | database_errors | softwareengineering.stackexchange.com | |
636,695 | Statistics of logstash memory consumption | I want to install it on a really small server and I want to see if it will be capable of running it with some dignity. So, does anyone have any memory and CPU consumption statistics of running logstash? I understand it depends a lot on the usage, but a reference on the usage could be helpful as well. | As @EEAA stated, you need to do your own capacity planning. It will vary based on the version used, the OS and hardware it's running on, how it's configured, and how much it is used. However, just to throw it out there: I'm running Logstash on a CentOS 6 VM using Open JDK 1.7. The VM has two vCPUs (Xeon E5-2630) and 1 ... | 1 | 1 | 1,705 | 2014-10-13T18:11:23.217 | infrastructure | serverfault.com | |
106,448 | Adding a local user account into SQL Server | I have a (developer) instance of SQL Server 2014 running in my machine. For quick background I'm on a small network like this: Workgroup: HOME Users HOME\PCA HOME\PCB HOME\PCC I'm HOME\PCA . Now I was trying to see if I can make the other machines connect to my instance using an application I'm working on. Port 1433 is... | This has nothing to do with SQL Server, is just basic Windows authentication. In a workgroup you can only authenticate using NTLM mirrored accounts. Mirrored accounts are local accounts that have identical name and and password on different machines. So to use Windows authentication between a process running on machine... | 6 | 6 | 10,734 | 2015-07-09T12:45:38.130 | database_errors | dba.stackexchange.com | |
261,284 | Spooling Oracle XML data results in 1 line and missing data? | I am trying to spool Oracle XML data to a file but the resulting file ends up with 1 line which is stops after a certain amount of characters so doesn't contain all of the data? [CODE] | You're probably hitting the default "long" data type display limit of 80 characters: [CODE] Sets maximum width (in bytes) for displaying CLOB, LONG, NCLOB and XMLType values; and for copying LONG values. | 0 | 1 | 615 | 2020-03-05T13:06:50.623 | data_quality | dba.stackexchange.com | |
793,320 | effective uid is not 0, is sudo installed setuid root? | I am using a cloud server of godaddy & I don't have root password. My master user has root access through sudo. I was trying to create another user and set permission for a specific directory. I've created a news user testuser & created a new directory named "test" under var/www/html/. I was trying to set permission: [... | The only practical solution is to restore from backups. | -1 | 0 | 1,331 | 2016-08-02T10:25:34.600 | database_errors | serverfault.com | |
293,950 | Why can't I add features to the default instance of MS SQL Server 2008? | I currently have a MS SQL 2008 server installation with two instances "MSSQLSERVER" and "MSSQLSERVER2". When I run the installation CD/Setup and attempt to add new features, I get to the screen where you are supposed to select the instance you want to add features to, but it will ONLY allow me to select "MSSQLSERVER2".... | The default instance is typically called "MSSQLSERVER" if you choose that during install. If you create other instances, then I would recommend a name like "INST2", "SQLEXPRESS1", or "SQLEXPRESS" instead of something that uses the substring "MSSQLSERVER". As a guess, I would say your probably running into an issue with... | 0 | 0 | 651 | 2011-07-25T18:57:57.937 | database_errors | serverfault.com | |
179,651 | how to decrypt one encrypted column with lost password | one column in sql server 2008 database is encrypted with symmetric key, master key password not found, how to decrypt this column? I create a new database with different name in the same server and transfre that table by generating script. When I tried o run query, it said symmetric key and certificate not found. Error... | In order to decrypt the column that is encrypted by symmetric key you would have to create the exact same symmetric key on the new database. Since symmetric keys cannot be backed up, in order to use them on another database you would have to provide them 2 attributes that have to be specified when creating a new symmet... | 0 | 2 | 3,154 | 2017-07-12T13:35:41.857 | database_errors | dba.stackexchange.com | |
221,825 | How to execute a query based on the condition if a column exists? | I want to run the following query: [CODE] then I want to do the following: [CODE] What the second query essentially tries to do is that copy those rows of z into A which have no missing values. My question is how can we write query 2 and if there is a way to merge these two queries into one for optimisation? Any help/a... | Since you aren't using column y, you can ignore it in your first query. Then, you can simplify this with a single statement: [CODE] | 2 | 3 | 953 | 2018-11-05T16:33:15.537 | warehouse_errors | dba.stackexchange.com | |
799,643 | datastore and network performance issues in ESXI | I am having a serious problem with a server running ESXi 6.0 Everything worked great last week. Now out of no where the whole thing is basically useless. I am getting datastore latency of up to 51 seconds! Nothing has changed between now and last week other than installing some software on a VM. Datastore Lag The serve... | I would suggest that your issue is related to the health of your RAID controller's cache and battery/flash module . If the RAID write cache has been disabled due to failure of the RAID battery, for instance, your write performance on the array will degrade severely. There are a couple of ways to check this. Can you spe... | 1 | 3 | 579 | 2016-08-28T21:43:05.040 | infrastructure | serverfault.com | |
649,792 | Prevent SSH connection lost after logging into VPN on server machine | I encountered an issue that I can't deal with. When I'm logged onto an VPS over SSH and try to estabilish VPN connection on that VPS, the SSH connection between VPS and my machine get lost. I assume that's because routing got changed by VPN settings. How to prevent that? | Let's consider following scenario: your VPS has a single ethernet interface, configured with IP address 4.3.2.1/24; your VPS can access the Internet via a default-gateway 4.3.2.254 your VPS has not yet activated any OpenVPN connection; hence there are no tun interface active In such a scenario, from your machine (let's... | 24 | 13 | 30,753 | 2014-12-07T12:55:44.900 | infrastructure | serverfault.com | |
628,786 | Using SHA256 with SSL certificates in HAProxy | Through an article on Security Labs I read about Google deprecating SHA-1 as signature in Chrome next year. Now I want to edit our HAProxy SSL configuration to fit the new security needs. What are the recommended ciphers and how do I block HAProxy from using SHA-1 for those signatures mentioned? And how do I check if i... | SHA-256 must be defined when writing a certificate request for your certificate authority and then certificate must be generated with SHA-256 (sometimes called SHA2). Some certificate authorities allow to choose with what hash will certificate be generated when ordering certificate and that overrides certificate reques... | 0 | 1 | 1,063 | 2014-09-16T07:53:18.037 | api_errors | serverfault.com | |
832,980 | How to block all ip's which are not in ipset list | I am trying to block all traffic except US and Canada. I added all US and Canada IP's to ipset geoblock and when i am trying this command. I am getting an error. [CODE] but when i run this command [CODE] I am getting all the IP's, so there is nothing wrong with the name and the ipset. I am using iptables v1.4.21 on cen... | Solution: Following is the correct command line: [CODE] Explanation: [CODE] 1st correction: [CODE] 2nd correction: [CODE] Now works | 3 | 6 | 7,141 | 2017-02-16T17:03:36.380 | infrastructure | serverfault.com | |
1,107,210 | How to connect to VMs on VMware ESXi using physical connections | My site is using the V sphere client to manage the VM, and there is a KVM switch attached to the hosts(VMware ESXi, 7.0.2, 17867351). I'm wondering if I can use the KVM switch to access the VMs inside each host? | I'm wondering if I can use the KVM switch to access the VMs inside each host? No. | 0 | 0 | 107 | 2022-08-02T16:16:32.940 | infrastructure | serverfault.com | |
1,059,434 | Emails to multiple recipients on same server not getting delivered | When I send an email to a single user on a server, it is received by the user without a problem. But when sending and email to multiple users, the emails disappear into a black hole and is not received by any user. The logs contain no errors and indicate the emails were sent: [CODE] However, when I check the inboxes fo... | Adding this to main.cf did the trick for me: [CODE] Note that I have this in my master.cf: [CODE] The [CODE] bit probably makes my configuration an edge case so my solution may not work for you. | 0 | 0 | 95 | 2021-04-05T18:24:23.920 | infrastructure | serverfault.com | |
35,815 | Test automation role: challenges beyond automated tests and frameworks? | Before asking the actual question, let me describe the current situation. The IT department consists of a few Scrum-like teams, with one or two software testers per team . Furthermore there are two overarching roles not bound to a team: the QA team lead , and a test automation expert . The test automation expert has ac... | What's the overall execution time? How does the feedback loop look like? Talk On: Accelerate Automation Tests From 3 Hours to 3 Minutes Can be detailed results provided in a few minutes( or even better in seconds without compromising quality ) on the overall health of the build to the relevant stakeholders with relevan... | 6 | 4 | 388 | 2018-09-27T07:58:07.263 | api_errors | sqa.stackexchange.com | |
396,322 | Access via sftp/scp an encrypted disk | I would like to do something really paranoid but I am not sure it could be done at least easily... Let's see if I can explain properly: I have a server running debian (could be changed to any other dist but debian is the one I feel more comfortable with). I would like to have a disk encrypted, a file mounted as a FS or... | SSHFS to a machine running with encrypted home directories would fit this bill. | 1 | 2 | 1,105 | 2012-06-07T05:40:52.103 | api_errors | serverfault.com | |
54,639 | Where can I get good X11 terminal fonts? | I've always had a hard time finding fonts that look good in, say, an xterm. The standard "fixed" font (i.e., the one you get by running "xterm -font fixed") is excellent, as is "10x20". Now I'm looking for a bigger version of either of these -- I think one that was simply a double-sized 10x20 would be perfect. Does any... | I like the terminus font, myself; looks good, almost all glyphs are clearly distinguishable at both small and large resolutions, bolding looks good, etc. | 3 | 1 | 2,014 | 2009-08-15T22:39:20.930 | infrastructure | serverfault.com | |
649,666 | In a Windows PKI, what is a Workstation Authentication CA Template used for? What happens if it expires? | Many workstations have an expiring computer certificate that was issued using the Workstation Authentication CA template. The CA of this template expires in 2 days. I've deployed a new CA, with an extended date, and have successfully enrolled many machines this weekend. I'm now concerned about workstations that are pow... | • What are the Workstation Certificates used for? Kerberos? No. Kerberos doesn't use SSL/TLS certificates.** An administrator may choose to use a given certificate template for any number of different things, so I'd say it's impossible for us to know right now what exactly those certificates were being used for in your... | 5 | 9 | 6,719 | 2014-12-06T15:21:49.387 | api_errors | serverfault.com | |
816,777 | How to reset a Cisco ATA 186 to factory defaults? | I have an old Cisco ATA 186, configured by an extincted Phone Service Company, it is password protected and on TFTP client mode. I tried to reset it with IVR FACTRESET code (322873738#) but it ask for password before I can press * to confirm. I called to Cisco Support but they cant help me because I haven´t a contract.... | The ATA must be powered on and disconnected from network. Connect an analog phone with full keypad (Unhooked) Press the function button on the top of the ATA Enter the following: 322873738#* Enter * to save Hang Up Notes: - you need to also hand up at the end - * (save) may require a little pause so try a second or 2 ... | 0 | 1 | 4,157 | 2016-11-24T02:53:05.547 | infrastructure | serverfault.com | |
71,750 | Why Does UNPIVOT Work on Compatibility Level 80 DB? | I'm trying to pull data using UNPIVOT on a SQL Server 2008 SP3 database running at Compatibility Level 80. This should mean UNPIVOT doesn't work, but in my case it does under certain circumstances... Works: Independent SELECT query of the form: [CODE] Doesn't work: Same query, within a [CODE] on other tables on differe... | The answer is in the error message: You may need to set the compatibility level of the current database to a higher value to enable this feature. Where 'current database' means the context database - i.e. the database the query is executed in, which is not necessarily the same as the database referenced in the query. F... | 8 | 10 | 2,156 | 2014-07-17T00:06:38.667 | database_errors | dba.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.