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 |
|---|---|---|---|---|---|---|---|---|---|---|
348,333 | Cisco ASA 8.4 port forwarding | I am having trouble port-forwarding on an Cisco ASA from a host on the internet to a host on the internal network. The outside interface of the ASA is assigned via DHCP. Is there something else that has to be done in order to make this work correctly? update to problem [CODE] per: https://www.cisco.com/en/US/docs/secur... | As of version 8.3, access lists applied with an [CODE] statement always use the real IP address, even if the incoming packet is directed at a NAT'd IP; see the ASA Version 8.3 Migration Guide for details . Your access list should instead look like this: [CODE] Or, even better, use the object so you only have to update ... | 2 | 6 | 6,228 | 2012-01-10T04:18:55.367 | infrastructure | serverfault.com | |
247,714 | PF OpenBSD states | We have an OpenBSD server used as firewall using the famous pf. The firewall is connected to the Internet form one side and to a local network form the other. we are experiencing a connection outage due to the fact that the pf is attaining its maximum number of states (which is 20000), this happens for less than hour t... | There are a number of things you can do here. To see which hosts are responsible for the large number of state table entries you can do [CODE] . To add more state table entries you can do what you suggested ( [CODE] to a bigger number), but if there is an underlying issue you probably don't want to do that. You can als... | 1 | 5 | 4,997 | 2011-03-15T17:03:31.637 | infrastructure | serverfault.com | |
990,716 | How to debug "lost connection after STARTTLS"? | We have a web server which sends mail out via our Postfix relay over a LAN connection. Users from outside our network also send mail out via SMTP AUTH though that relay too. However, we have a webmail application (Roundcube) on the web server that can't send mail out through the relay over the LAN on port 587. It's fai... | This was caused by a change to the Postfix config that made SASL users untrusted on the local network unless they belonged to a specific group. The clue was in putting the following lines in Roundcube's [CODE] : [CODE] This then allowed the correct SASL connection to the mail server, but triggered an authentication err... | 0 | 1 | 4,581 | 2019-11-05T20:07:34.773 | infrastructure | serverfault.com | |
193,792 | SMSMSE Quarantine problems | Does anyone know what happens to quarantined messages that are sent after the quarantine limit has been met? Our limit is set to 1000 but that was met 3 hours ago and all messages are currently being quarantined due to a corrupt definition update. Does this mean that all messages since the limit was met have been lost.... | The default setting is that messages will be purged to make room for the new ones(FIFO). I have released large numbers in the past without issue. Naturally, the mail server receiving the messages may be loaded down for a short period depending on capability. | 0 | 0 | 122 | 2010-10-22T09:36:55.670 | data_quality | serverfault.com | |
186,777 | Syntax Error On A Procedure ORA-01422 | As a beginner, I am not able to see any error logically. All I am doing here is saving data into a variable and comparing that in if statements. However, at some point it returns more than requested rows and causes error. Thanks in advance for your help. [CODE] | I think that this part is responsible for the error; [CODE] If there is more than 1 row in [CODE] , the result of the query will be many rows (with the same value) and we can only insert one value into the variable [CODE] . You can change the [CODE] to [CODE] (a special Oracle table with a single row): [CODE] or - sinc... | 0 | 1 | 36 | 2017-09-24T21:45:45.983 | warehouse_errors | dba.stackexchange.com | |
169,287 | Mandatory profile on Terminal server fails to load. Userenv.log debug | We're having a lot of corrupted profiles lately on our profile share. At the moment I have no clue why, but I decided to switch to one mandatory profile since the users can all use the same and there is no need to have seperate profiles for each user. Here's what I did. I logged into the Terminal server with a new user... | A couple of things: follow this article to set up your default user profile. This is the correct method. No hammer needed. This will create a custom Default user profile which you can then copy to all of your TS servers or to the Netlogon share in the domain and will become the template for all roaming profiles. http:/... | 0 | 1 | 1,241 | 2010-08-11T14:05:33.123 | data_quality | serverfault.com | |
803,147 | Determine HTTPS status and set Header in a single line | I wish to set a response header in [CODE] but only when the site is loaded over HTTPS: [CODE] [CODE] is listed as a variable here PS: I'm having a really hard time understanding how Apache expressions work so if anyone has come across a simple introduction with good examples, please share. | Use an [CODE] clause, it should work in [CODE] : [CODE] Reference: http://httpd.apache.org/docs/2.4/mod/core.html#if | 1 | 2 | 639 | 2016-09-14T23:08:46.103 | infrastructure | serverfault.com | |
80,057 | Window Server Directory Permissions - Read-only folder w/full control subfolders | We have a directory on our Windows Server 2003 file server that contains subfolders for each one of our clients. These are sub-divided alphabetically, so for example, we have a folder named "Clients A-C", etc. Problem is, some users have a bad habit of accidentally moving the root folders, so A-C gets moved into D-H, f... | Deny delete on the top level folder, set subfolders at next level down to not inherit and copy the permissions, then adjust to taste. | 1 | 1 | 574 | 2009-10-30T23:34:55.480 | infrastructure | serverfault.com | |
425,693 | hosts.deny ignored by MacOSX 10.8 | I have been trying to set up my MacOS X Server, which I recently upgraded to Mountain Lion, to use denyhosts as I need to open port 22 to it. denyhosts is set up and adds entries to /etc/hosts.deny so I decided to add my laptops IP to it in order to verify that it actually works but I can still log in and my IP shows u... | I am also trying to get some information about getting denyhosts to work on Mac OS X Mountain Lion. So far I have not succeeded, but I know where to go next. Not sure I really need it though. According to http://denyhosts.sourceforge.net/ssh_config.html : In order to take advantage of DenyHosts, you must ensure that yo... | 3 | 2 | 2,964 | 2012-09-09T09:39:57.813 | api_errors | serverfault.com | |
554,980 | FRS not replicating C:\WINDOWS\SYSVOL\domain\scripts after non-authoritative restore | We are running several Windows Server 2008 R2 domain controllers. The replication of sysvol is done by NTFRS. Yesterday, our master DC reported a "JRNL_WRAP_ERROR" for the SYSVOL Share. I ran a chkdsk on C:\ but it did not show any problems. After this, I have initiated an non-authoritative restore by stopping ntfrs.ex... | The Problem happened again on another DC. It turns out that a few files were in the C:\Windows\Sysvol\domain\scripts folder - some exe files running. NTFRs.exe couldn't complete its task. ntrfsutl was useful to debug this problem. http://support.microsoft.com/kb/822300/en-us is a certainly helpful. I used ntrfsutl inlo... | 7 | 1 | 11,191 | 2013-11-14T12:23:29.737 | database_errors | serverfault.com | |
174,036 | Trouble starting apache via apachectl | I'm trying to move our production webserver over to a linux box. When I issue the start command using apachectl, nothing happens, and it goes back to the command line. If I run [CODE] , it tells me "ELinks: Connection refused". However, if I try and start apache directly using [CODE] , it starts the apache process just... | What errors are you recieving from the apachectl command? apachectl is nothing more than a shell script, so you can debug it by invoking it with [CODE] . You will see ALOT of information get spilled to the screen. If you aren't recieving any errors, or output and there are no httpd processes running on the system, you ... | 2 | 4 | 31,157 | 2010-08-24T19:07:13.837 | api_errors | serverfault.com | |
868,093 | VMs on a KVM host with tagged VLANs | I have two debian9.1-VMs running on one KVM host. If they are both on VLAN1, I can ssh from one VM to the other. If they are both on another VLAN, they can ping but can't ssh each other. If there is a third VM in that VLAN on another KVM host, this VM can ssh the other two VMs and they can ssh that VM. What is the reas... | switching to an old emulated NIC doesn't solve a problem. Actually, if your VMs are on different VLANs they shouldn't be able to communicate at all, and the fact that they do is an obvious bug. Having said that, the correct way of tagging VMs isn't inside the VM itself, it's by creating tagged interfaces on the host, c... | 1 | 0 | 766 | 2017-08-11T06:23:20.113 | infrastructure | serverfault.com | |
295,794 | unknown variable 'file-key-management-filename' | New installation of Debian 10, with MariaDB 10.3.29. Trying to set up encryption-at-rest, but MariaDB won't start due to an error... [CODE] My server.cnf has... [CODE] The above config I have working in a Centos7 system, so I'm baffled as to why it isn't working on Debian10. This message is what I encountered when tryi... | Solved this by installing MariaDB 10.4. Not sure why 10.3 wasn't working, but I checked another debian10 system running 10.3 and it was the same issue there too. MariaDB 10.4 seems to be working as expected. | 0 | 0 | 372 | 2021-07-17T01:50:30.460 | database_errors | dba.stackexchange.com | |
197,784 | Cannot get SQL Server 2008 Express R2 to get through firewall | Try as I might I cannot get remote access to my install of SQL Server. I know the firewall (Windows Server 2008) is the problem, since if I drop the firewall I can connect fine. I have the port open in the firewall but still no connection. It's driving me crazy, am I miss something really obvious? I've double checked t... | Just to check, you are using TCP port 3389 (default of RDP), right? What scope do you have the firewall rule under? If you defined the FW rule for a different scope than the OS thinks it is coming from, it won't match it. ie, if the network adapter is on a "public" scope and the rule you put in is for a "domain" scope,... | 1 | 1 | 770 | 2010-11-03T16:22:43.683 | database_errors | serverfault.com | |
1,525 | Jenkins Pipeline and stash Pull Request Builder not working on PR create/update | Below is the requirement needed to achieve using the Jenkins Pipeline and i am new bee into Jenkins Pipeline. After completing development work and pushing his changes to Bitbucket the user creates a pull request. In order to approve a pull request we require at least one successful Jenkins build. Thereby we would like... | In groovy script, you need to reference environment variables in a different way than in bash. So probably this line is causing trouble: [CODE] Try using: [CODE] | 8 | 3 | 8,891 | 2017-07-12T06:57:41.810 | pipeline_ops | devops.stackexchange.com | |
1,125,238 | VMware ESXi 7.0 U3j Can't login via root after a few minutes | I can't login via root user at the moment . If I do a hardware reboot on the server , the problem is solved and I can login for just once before I'm locked out again after like 5 minutes . I have read similar topics and I have tried the following without success : disabling SSH service changing password to complex phra... | I figured it out so here is the answer for anyone facing the same issue in future : The login problem is because of SSH service . After a few unsuccessful login attempts which are caused by brute forcing , the root user is locked . You have to disable the SSH service in VMware . After you disable the service , find SSH... | 0 | 0 | 760 | 2023-03-03T16:44:05.507 | infrastructure | serverfault.com | |
36,014 | org.testng.TestNGException: Cannot find class in classpath: com.facebook.qa.testcases.LoginPageTest | [CODE] Hi guys, Can anyone help me to solve above [CODE] exception? ANSWER : I saw that this message was closed without answer. I had same issue and spent hours trying all available online solutions. Finally, I figured out myself that I had placed TestRunner (Driver script) in main package instead of test package of ma... | Clean your project and re-run again. [CODE] or else In testNG.xml ->configure as [CODE] . This issue will be fixed. | 0 | 1 | 48,234 | 2018-10-12T11:53:39.623 | data_quality | sqa.stackexchange.com | |
1,153,197 | Is it a good idea to add `calendar-server.bounces.google.com` to my SPF record? | I'm trying to maximize my company's email deliverability and DMARC reports tell me we are failing DMARC SPF alignment with [CODE] which I suspect is the email server sending calendar invites on our behalf. I understand SPF alignment isn't 100% required since we have DKIM alignment, but still wonder if it's worth fixing... | No, messages with this sender are not authorized by you beyond what their signature says, and you should avoid any strategy of signalling to other servers that they were. Google Calendar invites have been used for rather annoying phishing campaigns before. After the mechanism was already well known from similar Google ... | 1 | 3 | 451 | 2024-02-08T21:00:08.440 | infrastructure | serverfault.com | |
583,360 | CouchDB Illegal Database name Can't View Data after Upgrade | I have upgrade my database to couchdb 1.4.0 and it has prefixed all my db names with 1.2.0/. Now when I try view or use the database it says "Error: illegal_database_name Name: '120/test'. Only lowercase characters (a-z), digits (0-9), and any of the characters _, $, (, ), +, -, and / are allowed. Must begin with a let... | Fixed: [CODE] | 0 | 0 | 417 | 2014-03-20T10:16:49.923 | infrastructure | serverfault.com | |
344,563 | Is it possible to kill SSH connections that aren't running a command (e.g. with -N) | If a client does not execute a command (e.g. with -N) within some timeframe (1-2 seconds) after establishing the SSH connection, I'd like to terminate it from the server. Unfortunately, [CODE] and [CODE] -prefixed commands do not execute either when run with [CODE] , but clients could still conceivably request remote f... | If you say that [CODE] works always, then there is no other option besides having external process monitor the childs of sshd. I have checked the man page for sshd_config and didn't find any option which would help you. Also it doesn't specify if [CODE] should work with [CODE] or not. | 2 | 0 | 161 | 2011-12-28T03:24:02.643 | data_quality | serverfault.com | |
272,102 | "<handler> scriptProcessor could not be found in <fastCGI> application configuration" when accessing PHP script in subfolder | Possible Duplicate: “ scriptProcessor could not be found in application configuration” when accessing PHP script in subfolder I have a configuration problem with php on IIS 7.5. It is a practically fresh install made with the MS Web PI on Win7. I created a simple php testpage. It works in the root level [CODE] and in t... | Turns out I copied the files that I had on the previous setup. And the subfolder that was not working had web.config where a different php-cgi.exe was specified. Basically I now have 64-bit system and the php executable is in [CODE] , I discovered it in the IIS Manager by going to the non-working folder and opening Han... | 8 | 10 | 43,799 | 2011-05-19T19:07:49.753 | api_errors | serverfault.com | |
17,647 | Azure DevOps Pipeline failure - Program does not contain a static 'Main' method suitable for an entry point | I have been tasked with deploying an email service to an Azure tenant using Windows Containers. In my Pipeline (Azure DevOps), I am receiving the following error when in the build step: CSC : error CS5001: Program does not contain a static 'Main' method suitable for an entry point. I believe my docker file is not corre... | Move the WORKDIR "/src/FACTS_SendMail" line right above the "COPY . ." line. This solved the issue for me. Apparently setting the working directory before helps in copying the restored packages from dotnet restore to the right place. Not sure I understand it fully but fixed it for me. | 1 | 1 | 1,028 | 2023-04-04T20:13:12.543 | api_errors | devops.stackexchange.com | |
447,250 | Reinstallation or redeployment after hardware crash? | What is the best way to bring back the server online after hardware crash. I suppose image won't work after hardware change. So I like to know what is the fastest way to bring everything back. I've the following software running on the server: MSSQL IIS Custom Server Software FTP Server Then there is configuration: Reg... | What's the point of the backup if you're not going to restore it when trouble arises? Do a restore and be done with it! | -3 | 3 | 79 | 2012-11-09T21:25:18.523 | database_errors | serverfault.com | |
326,715 | Command Line email client with live monitoring? | I'm wondering if there is a linux command line email client that has live monitoring -- so you leave the program open, and when it receives an email it prints a note to the shell. I want this for debugging purposes - so I can send an email from one shell and see when it is received on another. I know there are other wa... | PINE (Program for Internet News and Email) does this. Most *NIX systems also ship with some variant of the biff command which will notify you when you have new mail. Note that no email client I know of is realtime (except possibly Outlook hooked up to an Exchange server where delivery notifications may be sent by RPC-o... | 3 | 2 | 790 | 2011-11-01T16:06:39.983 | pipeline_ops | serverfault.com | |
209,813 | Send subdomain mail to script/process with postfix | I am trying to do some special mail processing beyond what my mail client's rules/filters can handle (interact with a webservice API). Since I know Python, I am looking at using Lamson to process the e-mails. As I was going through the setup I realized that my virtual private server already had a mail server listening ... | You could setup a transport to deliver mail to Lamson. There is a previous post which could help you. | 2 | 1 | 455 | 2010-12-07T03:23:58.953 | database_errors | serverfault.com | |
496,715 | Unable to read from/write to an NFS share from Win XP client | We have an NFS share on a Debian Linux host which is mounted on a Win XP host using SFU. We can create folders on a share or delete files from it but it's not possible to perform file write or read operations on it (say, [CODE] blocks for a long time and finally terminates with [CODE] error). We tried both TCP and UDP ... | 99.9999% of the time when something says connection refused it has something to do with either the software or the hardware firewall. I suggest you telnet first to the ports in question from source to destination and check. | 3 | 1 | 826 | 2013-04-06T00:58:35.037 | infrastructure | serverfault.com | |
445,144 | How do I run Windows Server Backup? | I'm running WS2012 as a workstation OS. I want to use Windows Server Backup to backup everything on my internal hard drive to my external hard drive. Windows Server Backup displays a message like this in the Local Backup panel: Windows Server Backup is not installed on this computer. To install Windows Server Backup, f... | Run Windows Server Backup as Administrator The Windows Server Backup feature is all you have to install to use the program. You have to run Windows Server Backup as Administrator, otherwise you receive the misleading message. Backing up all the computer's data is usually an administrative task, so it makes sense the th... | 0 | 1 | 3,127 | 2012-11-03T21:26:56.427 | database_errors | serverfault.com | |
34,893 | Selecting a second player is not working, while automation | I am automating my app. App is a commentary app. I am selecting 3 players and clicking on their respective positions. Here I am able to select the first player and its position, but unable to select the second player with the help of Selenium. Here is My Code: [CODE] After selecting first player and clicking on F,C,G..... | Check my review of your code. It looks quire error prone. Please see the inline comments of what could be the problem. Read it in the order they are enumerated. [CODE] Here is the approach I can suggest. [CODE] This approach does not use [CODE] and [CODE] which is always a bad practice. | -3 | 0 | 138 | 2018-07-24T10:05:00.423 | data_quality | sqa.stackexchange.com | |
412,495 | Why is the term "bug" very negative to some? | Our software user interface was originally written in another language. Some of the English translations are poor. When I raised one of these as a bug, the manager got angry with something like "this is not a bug, but a possible improvement". We might argue over severity, priority, re-categorise it, address it immediat... | This question is surely opinion-based, but I've noticed this reaction as well. This question might be more appropriate for The Workplace , but even then it might not be the best fit. The term "bug" is not offensive. As others have pointed out, a bug is an unintended behavior that deviates from the intended behavior. Bu... | 3 | 7 | 837 | 2020-07-08T15:10:56.223 | api_errors | softwareengineering.stackexchange.com | |
583,432 | NFS failover fails with stale file handles while migrating resources | Running into a bit of a problem here , I set up two servers ( Centos 6 ) with Glusterfs and a shared directory between them, I have moved the nfs directory to the shared Gluster folder and have created a symlink on both boxes. The machines can talk to themselves via hostnames and Gluster replication is handled via anot... | colocation sitewithnfs inf: ClusterIP exportfs nfs order nfsorder inf: exportfs ClusterIP nfs Firstly, I believe you want to start the nfsd before the export. Adding the [CODE] parameter to the exportfs resource agent may also help, but what has really made the difference in my testing was to stop the virtual IP first ... | 3 | 0 | 2,453 | 2014-03-20T15:01:36.830 | database_errors | serverfault.com | |
7,029 | Windows 7 Virtual PC BSOD | I have a problem with Win7 & VirtualPC - every time I start up a virtual machine, it appears to start fine, and then about 10 seconds into the boot process, my laptop either BSOD's or just hangs. I have a Dell Inspiron 1721 notebook that i've been running the x86 version of Win7 on - and have had the issue with both bu... | This was/is a known issue on Windows Server 2008 Beta, so it may be related. Try upgrading your BIOS, or just wait for a fix from Microsoft. | 1 | 1 | 1,018 | 2009-05-11T14:42:40.240 | infrastructure | serverfault.com | |
11,143 | How to control access permission with git | I'm using a rental server from hostingrails.com , I operate Rails in FastCGI here, by the permissions that SuExec used, which were 755 it seems not to have been able to set permission.(For example, I can't use with 775) I used git for development. I set it to 775 and cannot use the thing which I checked out of from git... | Do a [CODE] , then a [CODE] , and finally a [CODE] . The permissions should be correct the next time you fetch the code. | -1 | 1 | 4,676 | 2009-05-22T06:38:35.923 | infrastructure | serverfault.com | |
292,048 | Create an entry in openldap | I installed openldap on windows 7. I started the server fine. I added an entry in init.ldif file. How can add this entry to the server. What is the exact command to do so. Also, I would like to know if there is any client for openldap in windows where I can directly add/modify/delet entries in the ldap server? EDIT: I ... | You want the ldapadd (or ldapmodify ) program -- See the linked manpages for syntax and examples. Also refer to The OpenLDAP FAQ-O-Matic , admin guide and Quick Start Guide . If this is your first time setting up and using OpenLDAP I suggest working through the examples step by step at first. Re: the error in your ques... | 0 | 0 | 137 | 2011-07-20T00:40:26.713 | infrastructure | serverfault.com | |
32,893 | Credit card check digit validation | Apart from Luhn algorithm, can we use a machine algorithm to check if last digit of credit card number is valid? I see this a multi-class classification problem but unable to find the right algorithm to solve it. Am basically looking out for an approach to find check digit for any sequence, where check digit generation... | Without knowing what algorithm was used to generate the check digit, it's not possible to say whether machine learning will be effective at reverse-engineering that data. As an easy case, given sufficient data, it's likely that a recurrent neural network could learn the Luhn algorithm. It would likely be a particularly... | 1 | 1 | 109 | 2018-06-10T05:57:50.093 | data_quality | datascience.stackexchange.com | |
300,127 | Why do we need frameworks for dependency injection? | I've been reading up more on the Inversion of Control principle and Dependency Injection as an implementation of it and am pretty sure I understand it. It seems to be basically saying 'don't declare your class members' instantiations within the class'. Rather that the instantiations should be passed in and assigned thr... | We don't need the frameworks. It is entirely possible to implement dependency injection manually, even for a relatively large project. On the other hand, using a framework makes it easier, particularly one based on annotations or automatic detection of dependencies, as it makes the process simpler: if I decide that I n... | 55 | 36 | 18,237 | 2015-10-17T19:12:26.533 | data_quality | softwareengineering.stackexchange.com | |
368,912 | Puppet exported resources for .erb file variables? | Scenario: my configuration file is defined by a [CODE] file which includes the snippet below. [CODE] The server's configuration file needs a repeated entry for each client host. If I were to create a simple array, this would work without issue. What I want to do, however, is have each host register itself and then coll... | Well, first I gave up and set my [CODE] on the actual file type. The upside is that this is still using the variables on the client host. [CODE] This lets me use entries in the erb file such as: [CODE] and declarations in my site.pp files such as: [CODE] To handle the directory itself: [CODE] Purge and recurse cleans o... | 8 | 4 | 5,076 | 2012-03-12T18:21:11.917 | pipeline_ops | serverfault.com | |
420,726 | Apache2 require login before presenting page of Jenkins | I'm using Apache2 to proxy Jenkins to port 80 on my server. The problem is, this server is open to the world so I want to set some sort of authentication so you have to login to get to the Jenkins page. It's only for one user account so I don't need a db back end. Just a flat-file with username and password or somethin... | For just one username and password, I'd go with the mod_auth_basic module. There's infromation about it at apache.org . It allows you to require users to enter username and password, which are stored in a htpwasswd file. | 0 | 1 | 90 | 2012-08-24T09:52:13.830 | pipeline_ops | serverfault.com | |
331,581 | Slow parity initialization of RAID-5 array on HP Smart Array P411 controller | On 29th October 2011, I built a RAID-5 array using 4 x 146.8GB Seagate SAS ST3146855SS drives running at 15k connected to a PowerEdge R515 with HP Smart Array P411 controller running Windows 2008 (so nothing particularly unusual). I know that parity initialisation of a RAID-5 array can take some time but it's still run... | Well, it's a little odd. I don't see many cases of mixing HP Smart Array controllers and Dell servers. Either way, the parity initialization doesn't begin until I/O is started on the new logical drive. May I ask how you're monitoring this? Via the HP Array Configuration Utility webpage ? Perhaps the HP ACU command-line... | 4 | 4 | 21,467 | 2011-11-16T15:46:51.300 | infrastructure | serverfault.com | |
84,615 | How to approach different image resolutions in deep learning for regression problem? | I have an image dataset of various resolutions and using regression DNN model with fixed n*n input resolution. As model learns certain positions in the image, I've been using zero padding to fit images resolutions to maintain 1:1 aspect ratio. Is there a better way to preprocess images? Without zero padding, I get wors... | In a fully convolutional neural network, i.e., a neural network containing only convolutional and pooling layers, you can get away with input images of different sizes. but that would only work if you didn't need the output of your network to be of a fixed size. for example for segmentation tasks, because the output is... | 2 | 1 | 459 | 2020-10-28T14:33:48.557 | data_quality | datascience.stackexchange.com | |
838,064 | Postfix TLS encryption: smtp_* vs smptd_* | I am really confused about the postfix TLS settings. There are in each case settings for private keys and public keys. [CODE] And [CODE] What is their difference. I know of three different TLS cases: User authenticates on MTA in oder to sent mails MTA wants to send an email encrypted to another MTA MTA receives an emai... | Postfix directives that start with [CODE] refer to when Postfix is acting as an SMTP server , receiving mail from other hosts. Postfix directives that start with [CODE] refer to when Postfix is acting as an SMTP client , sending mail to other hosts. | 3 | 3 | 1,217 | 2017-03-13T20:28:39.857 | infrastructure | serverfault.com | |
434,050 | Letting tenants host their own data | We are developing a web app and planning to deploy it in a multi-tenant model. However, some of our potential customers are having a great deal of discomfort with the idea of not having the control for their data. With that concern, we are planning to let them host their own database. But we are having a problem on the... | But we are having a problem on the backup, if the customer is hosting the database, we can't back it up for them. Tell them that they are responsible for backing it up. | 0 | 9 | 87 | 2012-10-02T13:46:33.830 | database_errors | serverfault.com | |
944,167 | haproxy to IIS servers | We have 2 IIS servers with multiple websites on them. I want to check for each website if the are still running on each server. If i do a simple port check the IIS will reply even when 19 of the 20 sites are down. So this doesn't really help me. I have this curl that does what i want but i have no idea how to place thi... | Colleague was able to pinpoint the issue. Solutions to the above was that i never used cert to decrypt the header http traffic. Once i installed the certs i was able to read the headers: [CODE] | 0 | 1 | 5,142 | 2018-12-13T10:36:08.703 | infrastructure | serverfault.com | |
32,876 | Not able to add days to date | I am trying to add 3 days to date which is in string, am not very sure how to do this and am getting error. [CODE] Am getting below error [CODE] Can someone help here please | You need to specify date format to make your parser know which of the parts represent what: [CODE] Your code does not work because the default format for [CODE] method is [CODE] and your string does not match that format. Where [CODE] is defined as: [CODE] | 0 | 3 | 55 | 2018-04-03T14:56:48.067 | data_quality | sqa.stackexchange.com | |
440,229 | Publish-subscribe inside a single application | I've been using the publish-subscribe pattern for a while for communicating devices and it works really well, making it easy to add extra services without touching the rest. I'm thinking of using it inside an application (think of a monolith or a GUI application). The basic idea is: every component can subscribe to any... | Publish/Subscribe does exist in applications. At the lower levels, desktop applications follow a pattern of receiving input, invoking handlers for that input, and updating the screen. All major GUI software operates in this manner. However, it's not typically suited for higher level abstractions such as business level ... | 0 | 2 | 111 | 2022-08-04T19:51:35.053 | api_errors | softwareengineering.stackexchange.com | |
849,861 | Configuring antispam email gateway with mailscanner and postfix as relay server | I have configured mailscanner and postfix to receive emails, scan it using clamAV and forward it to a mail server inside my network. internet mail.abc.com(MailScanner) mail1.abc.com(Dest. Email Server) Till now i'am able to receive email from outside to my antispam gateway, scan it and forward it to internal postfix se... | It's hard to be precise as you didn't provide any configuration of either server, but in general: Your external filter server should have knowledge of the existing addresses in order to be able to reject mail to non-existing addresses. For this, you can use [CODE] . The internal mail server doesn't need to relay anythi... | 0 | 0 | 974 | 2017-05-13T05:43:06.267 | infrastructure | serverfault.com | |
137,290 | What are the drawbacks of elastic tabstops? | Look here: a typical holy war on tabs vs spaces . Now look here: elastic tabstops . All problems solved, and a bunch of very useful new behaviours added. Are elastic tabstops even mentioned in that tabs vs spaces discussion? Why not? Are there drawbacks to the elastic tabstop idea so serious that nobody has ever implem... | Holy Wars are Subjective Nick's elastic tabstops are an amazing concept that could help a lot of people agree on a workable solution, though I highly doubt it would entirely end this Holy War: it is, after all, also a matter of taste and many programmers will not move an inch from their position on this matter, even at... | 85 | 34 | 11,964 | 2012-02-28T10:46:18.277 | database_errors | softwareengineering.stackexchange.com | |
986,928 | Best way to transfer about 200GB of files between two windows servers | The source server is Windows Server 2003 (a VM hosted in Xen). Target is Windows Server 2016. They're in different locations and the connection is roughly 30Mbit/s and they're both on the same vpn. I need to transfer files from one to the other. File sizes range from a few MB all the way to a few 25 GB outlook pst's. C... | Robocopy is good for moving a lot of data. Command help here - https://ss64.com/nt/robocopy.html | 2 | 3 | 4,454 | 2019-10-06T03:04:35.490 | infrastructure | serverfault.com | |
188,185 | Can this SQL cause unclosed quotation mark? | I've been tracking a bug in how single quotes/apostrohpes are handled in an application, and I've found a suspect in a database trigger. That trigger contains code like this: (shortened and anonymized) [CODE] In production, I get errors when "Foo" contains a single quote, (For example "O'Hara") Incorrect syntax near 'H... | No - it is NOT your SQL! To answer this, I did the following: [CODE] then, [CODE] gives: [CODE] And then ran: [CODE] And got the result: [CODE] Which is what you'd expect! Quite why one would want to insert the string literal [CODE] is beyond me - Hmm... Developers: "three-value logic, my head is melted - I'll just sti... | 2 | 4 | 1,615 | 2017-10-11T09:09:29.630 | database_errors | dba.stackexchange.com | |
33,072 | Apache ProxyPassReverse and https | I would like to map all traffic on 80 and 443 from foo.com to an internal server: 192.168.1.101. I have a VirtualHost (Apache 2.2 on Ubuntu) setup as follows (note, I had to break up the hyperlinks below because I am a 'new user'): [CODE] And that works great for http traffic. However, I can't seem to do the same thing... | This used to work for me [CODE] | 5 | 6 | 20,954 | 2009-06-29T04:33:22.933 | infrastructure | serverfault.com | |
326,135 | How to create multiline strings for sql queries that are readable, maintainable and fast? | I have some SQL commands that I am trying to figure out the best way to have them in code so that: 1. They are very readable 2. They would be easy to update 3. They won't be performance overhead due to many string construction. I have something like the following that did not turn out too good. [CODE] As you can see no... | My suggestion is: [CODE] The [CODE] characters at the end of every line makes for a nice printing for debugging purposes. Then, use a [CODE] to substitute "?" thus preventing SQL injection: [CODE] Another alternative is reading the SQL String from a file that can be done with the [CODE] class. Such file can have multip... | 8 | 7 | 75,443 | 2016-07-29T17:16:02.570 | api_errors | softwareengineering.stackexchange.com | |
385,539 | Upgrade Ubuntu 11.10 to 12.04: Apache not working anymore | I upgraded Ubuntu Server from 11.10 to 12.04 LTS. Now Apache is not working properly anymore. I'm using the module AuthenNTLM and that seems to be causing the issue. Apache Error log: [CODE] Any files not "protected" my this module work fine. Any ideas? | Ok, my bad. This had nothing to do with the upgrade. The domain server was changed and I was not notified and the 2 things in a rather weird coincidence overlapped. So simply changing domainserver to new name fixed the issue. | 1 | 0 | 508 | 2012-05-03T04:50:59.753 | infrastructure | serverfault.com | |
43,377 | Site harmed by malware -or is it a server problem? | I have a site which is got harmed by this "spywarepc.info" and showing "Your site has been attacked by a Malware" :( ... don't even know what is this ? so i have opened spywarepc.info in a browser but it's not opening. My site has been blocked by Google as well? Please help me out from this ... is it malware? How will ... | The same thing happened to me and I found the cause to be my FTP Client. I use FlashFXP. A spyware on my local machine took the site data from my FlashFXP. It then connected to my website and inserted the code in the default page. Next time when site is opened this malicious tihng is downloaded and also google discards... | 0 | 1 | 177 | 2009-07-21T06:20:10.497 | infrastructure | serverfault.com | |
867,165 | How do I configure mailserver SPF records under CloudFlare? | For a while now I have been using Google Apps for Business to provide email services for my domain. I'm in the process of setting up a new storage server and want notification-type emails to be handled separately on the local server. I've set up postfix as an internal smtp server and have that all working. However I us... | If you need to send emails directly from a server and you are using SPF (as you should), you need to have that IP published in your SPF in order to allow the SPF check. Either it's there directly ( [CODE] / [CODE] mechanism) or indirectly via other mechanisms, but it must be there. That's not a huge problem as the IP a... | -1 | 1 | 580 | 2017-08-06T19:52:23.797 | infrastructure | serverfault.com | |
107,970 | LOB indexes corruption in Oracle | Why is it not possible to rebuild corrupt LOB indexes? So if my LOB index is corrupted, how to recover it? | In LOB columns, the data and index are intertwined. The index cannot be operated on like a normal index. Use this script to identify the rows that are corrupted: [CODE] You'll need to either delete the rows or update the LOB column to an empty LOB with: [CODE] | 0 | 2 | 3,147 | 2015-07-24T05:46:19.413 | database_errors | dba.stackexchange.com | |
734,960 | eXist db behind Apache proxy - authentication | I run an eXist db XML database which is proxied behind Apache. The setup of httpd.conf is as follows: [CODE] That works pretty well. By accessing [CODE] with the browser I am not prompted to enter any password. However, I now want to protect everything Apache might send or proxy (including the ErrorDocuments) with Basi... | The reason why you see two dialogues I imagine is that Apache is doing basic auth and then forwarding some HTTP header for that to eXist, however eXist is rejecting the auth header because it doesn't have the same user database as Apache, and so it tries to re-authenticate. If I understand correctly. You want to manage... | 1 | 1 | 448 | 2015-11-09T13:57:17.260 | api_errors | serverfault.com | |
173,081 | Many to many query | I have problem with take specific data: I have 5 tables: recipes {id_recipe, recipe_name, recipe} ingredients {id_ingredient, ingredient_name, ingredient_calories} categories {id_category, category_name} ingredients_recipes {id_recipe, id_ingredient, ingredient_weight} categories_recipes {id_recipe, id_category} Now, I... | From an application standpoint, I think you'd be much better off doing this as several steps, not a single query result: Step 1: Find recipes that match your criteria [CODE] There are probably a bunch of ways to do this. I chose to basically count the number of matching ingredients each recipe includes (via the IN clau... | 1 | 1 | 1,597 | 2017-05-09T11:19:45.950 | database_errors | dba.stackexchange.com | |
332,900 | Why is Perl Cgiwrap Sock refusing connection to nginx? | Could anyone shed some light on the following line in my nginx error logs. I'm trying to get Perl and Nginx talking to each other, but so far no success. [CODE] The relevant nginx configs. [CODE] | I haven't experience the Connection refused yet but my guess would be that the nginx process does not have the user rights to write to /var/run/nginx/cgiwrap-dispatch.sock, check the file permissions and user. If it's a Debian user should most likely be www-data. | 1 | 0 | 1,715 | 2011-11-20T09:31:44.673 | infrastructure | serverfault.com | |
1,082,376 | Redirect URI mismatch error from Google OAuth for flask app | I have a Flask web application which is hosting in Google Cloud Run which is hosted with https://mydomain.run.app . Now I am trying to add google authentication to it. I have created the API under credentials in GCP. I have given https://mydomain.run.app/authorize in the redirect uri but when I tried to login from my a... | In front of your Cloud Run service is the GFE (Google FrontEnd). Your app connects to the GFE using HTTPS or is redirected to HTTPS if it connects using HTTP. The GFE connects to your app using HTTP. Your application thinks the client connected using HTTP, so is responding with http:// URLs. You need to process the X-F... | 0 | 0 | 2,247 | 2021-11-02T11:24:35.327 | api_errors | serverfault.com | |
356,381 | Squid + ClamAV + i-cap: Scanning proxy for uploaded files? | I'm trying to configure a virus scanning proxy server specifically to scan files being uploaded. Scanning flies being downloaded seems to be the common use case, and seems to be well documented. Not being a squid or i-cap expert, I'm using information from these guides: http://www.server-world.info/en/note?os=Ubuntu_11... | I think this is a limitation in c-icap. This reference is a bit old, but the main developer of c-icap says: It has to do with the way the data coded in POST requests. When the POST request will contain multipart form data will not work well. This means that uploads aren't well supported on c-icap. It seems the only opt... | 5 | 1 | 2,379 | 2012-02-02T23:55:23.600 | infrastructure | serverfault.com | |
11,069 | Does UAC kill the need to run as a regular user? | Professionally, I've run as a standard user for a decade, and had mastered all the little tips and tricks to administering an enterprise using nothing but runas. Now in trots UAC, and while it makes some situations easier... For the most part all this thing does it get in my way. I'm an Administrator, Outlook is the on... | NO. Check this out: http://www.istartedsomething.com/20090131/microsoft-dismisses-windows-7-uac-security-flaw-insists-by-design/ And this: http://www.withinwindows.com/2009/02/04/windows-7-auto-elevation-mistake-lets-malware-elevate-freely-easily/ EDIT I think I might be out of date, I am not sure the current status of... | 6 | 8 | 651 | 2009-05-22T00:37:28.473 | infrastructure | serverfault.com | |
384,198 | On a once a day user action: 24 Hours Reset vs. Midnight Reset | When a user is able to perform an action only once a day, for example getting a free ticket for a competition, there are two possibilities I came across in my experience. 1) 24 Hours Reset If he performs the action on day 1 on 11:45 PM, he can only perform the action again on day 2 on or after 11:45. He won't be able t... | I'm am surprised as usually I would expect the midnight reset. However, It does come with a major disadvantage, in that there is more than one midnight every 24h. You need to choose your timezone. Maybe this is why the universal once per 24h is chosen, you can imagine the company might not want to accept that users hal... | 25 | 21 | 5,444 | 2018-12-18T10:19:15.040 | api_errors | softwareengineering.stackexchange.com | |
40,927 | rsync of >4GB files | silly one, do you have any problems with rsync'ing large [ >4GB ] files under modern linux? [ 32bit, 64bit, large file support turned on ]? i've done some tests on my own between 2 64bit boxes and didn't have any problems transferring 6-10GB files. to make test thorough i altered files, run rsync again, checked md5... ... | The error report that you've linked to does not seem to be a 4GB+ filesize related error. 429796854 bytes is just shy of 410Mb, and it seems to be a transport error rather than an rsync one. If I would suspect that the transport connection (presumably SSH) has dropped, perhaps due to an inactivity timeout because the C... | 3 | 2 | 3,678 | 2009-07-15T08:44:13.620 | infrastructure | serverfault.com | |
730,298 | Dovecot/postfix: forward all current messages | What I'm try to achieve it's pretty simple, and, after googling, its hard to believe I've been unable to find a solution. What I want is to forward all current messages (already delivered) of an user (michael@mydomain.com) to another external and out of my control account (michael@hisdomain.com). The source server (the... | Building on Marco's answer, I've used a few IMAP Sync utilities to accomplish this, works from windows/*nix and supports SSL, http://imapsync.lamiral.info/ If you are unable to request temporary permissions (reset password for a day or so) I would configure your account on his email client to download it into his mailb... | 3 | 3 | 2,650 | 2015-10-20T16:15:40.333 | infrastructure | serverfault.com | |
548,448 | Why is Linux choosing the wrong source ip address | and what to do to let it choose the right one? This all happens inside an OpenVZ container: The Host is Debian/Wheezy with Redhat/OpenVZ Kernel: [CODE] The container has two (virtual) network interfaces. One in public and one in private address-space: [CODE] The route to the private network is set manually: [CODE] Trin... | It sounds like you want to specify for traffic to be routed out a particular alias interface and with the source IP associated with that alias. Your route table doesn't currently reflect that requirement. Perhaps you can use this to fix it up: [CODE] | 5 | 6 | 13,730 | 2013-10-24T18:44:02.693 | pipeline_ops | serverfault.com | |
14,327 | GitLab Maintain versions of the code in GitLab CI/CD pipeline for the develop branch | I would like to ensure that code merged via merge request in a GitLab from the feature branch to our develop branch has always a new unique version (gitflow strategy). Version currently stored as the part of the code and depends on the project language: (ex: JavaScript it's package.json) Version suppose to be used for:... | While I generally do not recommend GitFlow these days, fully automated way to do what you ask is possible to achieve with an external system. Below I will describe how to do it with Reliza Hub (which is the one I'm developing - but you may find other options). Here is the idea - You create your project in Reliza Hub an... | 2 | 1 | 585 | 2021-07-16T07:26:57.780 | pipeline_ops | devops.stackexchange.com | |
130,080 | Regarding difference in execution time of queries | These are two explain plans of two different queries that return the same results but at a drastically different speed (280 second vs 1-7 seconds). I want some help knowing what the fast query has so that I can replicate it in the future. EDIT: Here is the explain plan for the fast query: [CODE] And this is the slow qu... | My findings: Slow running query: --------------------------------------------------------------------------------------------------------------------------------------------------- | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop | --------------------------------------------------------------... | 3 | 3 | 153 | 2016-02-22T17:45:54.103 | warehouse_errors | dba.stackexchange.com | |
1,033,669 | Dovecot: removes my mail automatically | I noticed that dovecot removes my mails automatically after 30 days. This is undesired behaviour for me, but I have no idea how to change this. I checked autoexpunge configuration, but it is disabled: [CODE] I looked through the configuration files carefully, but found no place where such setting could be set. Could yo... | If it is really dovecot, you should see this in logs. Otherwise, check whether it is not your mail client. Raise the verbosity of logs and check them when you notice mails missing. Here is the proper documentation: https://doc.dovecot.org/admin_manual/logging/ And of course - don't hesitate to share your findings. | 2 | 0 | 586 | 2020-09-12T18:25:42.827 | infrastructure | serverfault.com | |
457,194 | Apache strace to hunt down a memory leak | We have a server with a memory issue: the server keeps allocating itself memory and doesn't release it. We're running Apache. I set MaxReqsPerClient to a really low value just so the threads don't hold a lot of memory, but has anyone seen calls like this? Am I wrong in thinking that it's probably Drupal pulling too muc... | I ended up just lowering MaxRequestsPerChild in httpd.conf so my threads expire before they get too big. They were previously getting up to 800M and there was some serious swapping, and now they get to at most 250M before they die. | 1 | 1 | 3,305 | 2012-12-11T21:01:21.087 | infrastructure | serverfault.com | |
19,940 | Adding new key(s) to enable partitioning, INSERT performance? | I have a table to storage GPS coordinates with multiple (~30) inserts per second (from 50 different devices) during 12 hours per day, so the table is growing fast, to improve the SELECT speed I was thinking of create a partition in the table by Date or DeviceID. In that case I will need to add the partitioning keys as ... | Your one select needs this "compound" index. [CODE] Do you have other queries? But your question was about PARTITIONing. No advantage, based on what you have said so far. | 3 | 1 | 302 | 2012-06-26T12:18:03.977 | warehouse_errors | dba.stackexchange.com | |
28,277 | How to iterate and modify rows in a dataframe( convert numerical to categorical) | I have a pandas dataframe like this [CODE] I want to convert the values of Y1 to categorical (i.e) if its greater than 18.25, I want it 1 else 0 Can someone please help me on how to do it This is what i tried so far [CODE] But im getting an error [CODE] | As the error suggests, you don't have a column called [CODE] . Hence the error. Here is my suggestion to fix this. Assuming you input data looks like this - [CODE] Read it in pandas this way - [CODE] Provide a column name for this - [CODE] If you have more columns, just fill the [CODE] list accordingly. Finally, use th... | 0 | 1 | 1,844 | 2018-02-25T06:25:18.973 | data_quality | datascience.stackexchange.com | |
453,571 | KMS Activation count w7 ent | On my KMS host (Windows Server 2008 R2), when i do a [CODE] , I dont see any Current Count fied, i only see this: Name: Windows Server(R), Server Standard edition Description: Windows Operating System - Windows Server(R), VOLUME_KMSCLIENT channel This license is not in use. License Status: Unlicensed Please use [CODE] ... | Looking at your screen shot shows the line "Windows Server(R), VOLUME_KMSCLIENT channel" which seems to indicate your 2008 R2 KMS host was activated using a KMS client or MAK key. This means you cannot use this host to activate windows 7 clients. Find your 2008 R2 KMS key from the microsoft licensing site and remove th... | 1 | 2 | 2,073 | 2012-11-29T19:43:48.707 | infrastructure | serverfault.com | |
459,075 | Why can't SVN checkout into a virtualbox shared folder? | I am trying to checkout into the virtualbox shared folder with svn 1.7 in ubuntu 12.04 running as a guest on a windows 7 host. I had read that this error was a 1.6 problem, and updated - but am still receiving the error: svn: E000071: Can't move '/mnt/hostShare/code/www/.svn/tmp/svn-hsOG5X' to '/mnt/hostShare/code/www/... | There is a question mark in the filename to which you are trying to move the file. That is not a legal character in a file on NTFS file-systems. Generally I found the shared folder function of VirtualBox unreliable and after trying multiple times I always went with a standard Windows network share - which might also no... | 1 | 2 | 1,260 | 2012-12-18T16:17:15.813 | infrastructure | serverfault.com | |
986,745 | How to limit number of connections per IP on Nginx? | I use limit_conn_zone and limit_conn directives ,in order to limit number of connections per IP to 10. [CODE] For testing if nginx.conf file work, I use ab test below making 100 connections .I hope 90 of them would be failed ab -n 100 -c 100 http://wx110.cn/test.html but the result is : [CODE] | According to your configuration, Nginx allows ten connections per second. if you want to limit total connection to Nginx from source IP do this: it will only allow ten connection for single IP [CODE] | 1 | 1 | 9,149 | 2019-10-04T07:20:29.967 | infrastructure | serverfault.com | |
1,127,178 | Accessing Windows file server by alias name | What could be the possible problems with accessing a Windows file server shares using a DNS CNAME instead of the actual computer name? The file server is joined to an Active Directory domain, but is not a Domain Controller. E.g. let's assume there is a file server with computer name [CODE] joined to Active Directory do... | Looks like the 3 things mentioned in the OP/question were the important ones. Some more info about the Kerberos SPN (point 3.): 3.1. Looks like if no SPN exists accessing the file share will still work (at least in many cases/configurations), but will fall back to using NTLM authentication. 3.2. If there exists another... | 0 | 1 | 3,333 | 2023-03-26T22:02:43.187 | api_errors | serverfault.com | |
177,862 | How properly perform passing operation result to View | I'm developing web site on self made MVC engine. I have actionController that handles operations like register , login , post submit and etc. actionController receives operation name and parameters. Of course it mast handle errors such user with same nick already exists or password is to short about which action handle... | How about extending the Exception class and throwing your own exceptions. You could have a yml file with the error code, type, default message. [CODE] Cache the parsed yml if it gets to big | 0 | 1 | 77 | 2012-11-30T14:01:17.917 | api_errors | softwareengineering.stackexchange.com | |
49,615 | Cannot shrink transaction log | Bit of a headscratcher here. I have a db that has less than 1GB of data, but a 40GB log file. Transaction logs are backed up daily, and there is not a lot of activity on this database; approximately once a week it records new payroll information and then regurgitates this data for reporting purposes. The database is se... | Check your output for [CODE] within the context of your database. This will show you the status of all VLFs within the log file. You shrink operation will not reduce the log file past the last active one (Status=2). As VLFs are used in a sequential, round-robin fashion, you will need to run transaction log backups enou... | 1 | 5 | 1,846 | 2013-09-10T16:47:53.190 | data_quality | dba.stackexchange.com | |
42,683 | What is the correct way writing e2e tests? | I have a task do create e2e for a web app, but I don't know what is the correct way doing it. For example: In app there is a possibility to add new employee, so the scenario is as described: Login to application(it can be implemented in TestNG @BeforeClass annotation) Switch to correct role that have posibility to add ... | Your tests have a lot of page specific details in the test, the waiting, checking urls could be moved to the pageObjects. The action is adding an employee, not filling the form. [CODE] The test is easy to read, the complexity and abstractions are hidden in the pageObjects. As the [CODE] method now contains your AddEmpl... | 0 | 1 | 234 | 2020-02-25T08:12:56.773 | data_quality | sqa.stackexchange.com | |
219,068 | How do I retrieve columns inserted in subquery 1, and return them with columns inserted in subquery 2? | Stack: React Native Node 10.x pg-promise 8.x PostgreSQL 10.x A location row is upserted before creating a user row: [CODE] In the insert user subquery I want to return the location table columns [CODE] However, if I append: [CODE] I receive the following error: [CODE] I don't want to make two "trips" to the DB (which w... | I figured it out: You can only return fields affected by the insert (thus the error in subquery 2 return statement) I needed to move the subquery into a CTE and then select the data I want to return [CODE] However if there is a more efficient way to do this, let me know! | 3 | 1 | 568 | 2018-10-02T12:24:37.903 | database_errors | dba.stackexchange.com | |
695,793 | how verify that weblogic is up to date | How can I verify that Oracle Weblogic is up to date ? The administration console print 10.3.6.0 as weblogic version. I visited Oracle site and the last version to download is 10.3.6 but I think that there is something missing because the server uptime is almost 2 years. Thanks. | Current version is Oracle WebLogic Server 12c (12.1.3). The version you are referring is WebLogic Server 11gR1 PS5 (10.3.6) base version. Oracle is always updating the critical CPU patches.Which will help to fix well known bugs,vulnearabilies etc.So you can download the recent cpu bundle patch from oracle metalink supp... | 0 | 1 | 7,588 | 2015-06-01T12:11:06.987 | database_errors | serverfault.com | |
65,982 | Rename active directory account name | I have an existing user account within active directory. I'm using the naming convention "MyApp-dev" for dev, "MyApp-qa" for qa and so forth, up to prod. Our IT services department wanted to rename these accounts to "myapp-dev-service", i.e. all lowercase and post fix with service, because these accounts are used to ho... | You should also rename the logins in SQL Server. | 0 | 1 | 835 | 2009-09-16T13:30:58.983 | database_errors | serverfault.com | |
56,089 | Standard ways to return SQL Server database to a specific state | What are the most efficient ways to save the exact state of a SQL server database and then be able to bring it back to that state at will? I am testing code performance against a database and each test alters it so I would like to be able to (as quickly and easily as possible) return it back to its beginning state each... | To be honest, a full backup will be the easiest and quickest way to do that. Simply backup your database (a full backup) to the point you want to revert to, and then when you need to get back to that point, do a full restore. Also, depending on your version and edition of SQL Server (currently not specified in your que... | 3 | 4 | 155 | 2014-01-03T20:45:24.167 | database_errors | dba.stackexchange.com | |
327,857 | Detecting deleted rows in mysql | I have a Spring Boot webapp with a MySQL database. I'm trying to replicate this data into a MSSQL for running reports against. All rows are audited with created_at and modified_at datetimes so i can easily fetch new and changed rows. Problem is when a row is deleted this will not be reflected in the target database. Fr... | the second method is better. you can just mark them as deleted, after all the actions are reflected to the target database, deleted them in another async thread. | 0 | 0 | 501 | 2023-06-03T13:55:58.267 | database_errors | dba.stackexchange.com | |
759,630 | Choosing gateway based on Source IP in Windows | So here is the scenario I have one NIC configured with two ips and two gateways for two diff networks. Consider the gateway/subnet are 192.168.0.1/24 and 192.168.1.1/24. If connection is initiated from my NIC IP 192.168.0.100 it needs to go through 192.168.0.1 and likewise. But to my understanding routes are chosen bas... | What you're looking for has two possible methods of achieving. First is Policy-Based Routing , when a next-hop choice is made by some policy . For example this may be a route-map or simple a packet filter forwarding a packet to gateway basing on it's IP header fields values. Second is multiple FIB support. It's when an... | 2 | 4 | 6,514 | 2016-02-25T03:34:00.407 | infrastructure | serverfault.com | |
592,290 | Best method for SVN over reverse SSH | What's the best way to do a svn commit over reverse ssh? Typically when using svn we access it over svn+ssh, but I have an instance where the box making the modifications can't ssh into the svn server, BUT the reverse isn't true, the svn server can ssh into the change box. So what I would really like to do is be on the... | One possibility is to start snvserve on the svn server, start a reverse tunnel from the svn server to the change box, then run svn on the change box as if it was talking to a local svnserve instance. The ssh setup would be [CODE] The [CODE] flag to ssh "specifies that the given port on the remote (server) host is to be... | 0 | 1 | 347 | 2014-04-30T14:37:43.430 | infrastructure | serverfault.com | |
177,420 | How to set up sendmail server to be most welcome to bounce/bad email notifications | I am in the process of setting up a mail server (using sendmail to be exact). The server needs to be as open towards receiving notifications of "bad"/bouncing emails as entirely possible. I am not exactly into the nitty gritty details of how this entire bouncing/bad email thing works, so I am not sure exactly how much ... | Yes, you will need to make sure that your sendmail daemon is listening on port 25. The method for doing this differs from unix flavor to unix flavor, so if you can provide that info that will be info that helps provide a more detailed answer. Apart from that, you'll want to make sure that you don't have any firewalls (... | 1 | 1 | 551 | 2010-09-02T17:04:41.677 | infrastructure | serverfault.com | |
1,119,567 | SSL Certificate for subdomain of server provider | I have a small server at Strato. There your can access your server using it's IP, and using a subdomain of stratoserver.net, e.g. [CODE] . I want to get an SSL certificate for it (From LetsEncrypt or ZeroSSL or something else free), but from what I read most providers don't accept IP adresses. Is there a problem/can I ... | A certificate, especially free ones from Let's Encrypt, certifies a domain name only. In your case, you first need to ensure that [CODE] is registered in global DNS and points to your server. It can point directly using an A record, or as an alias using a CNAME record. It sounds like this is done already, as you can ac... | 0 | 1 | 226 | 2023-01-05T23:26:33.867 | api_errors | serverfault.com | |
220,283 | SQL Server 2017 with 500 databases - Frequent AG disconnects since CU9 | Hi everyone and thanks in advance for your help. We are experiencing challenges with SQL Server 2017 Availability Groups. Background Company is a retail B2B back-end software. About 500 single tenant databases, and 5 shared databases used by all tenants. Workload characteristic is read mostly, and the majority of datab... | Update: The Frequent Availability Group disconnects were confirmed to be a regression that was introduced by CU9 and they were resolved after installing CU12. The blocking issues on the secondary replica were confirmed to be an issue with an update to the VSS writer code that was introduced in CU10. Hopefully it will b... | 15 | 9 | 2,087 | 2018-10-16T17:38:38.963 | api_errors | dba.stackexchange.com | |
437,471 | Monitoring AWS Systems Behind ElasticBeanStalk | So I'm getting a company set up in the Amazon Cloud -- creating IAAS protocol/solutions/standardized implementation, etc while also being the SysAdmin for individual systems, app environments, and day-to-day uptime. One of the biggest issues I'm having is tracking various system/application logs, as well as logging/mon... | If you are deploying a WAR on elastic beanstalk you can install the metrics by creating a configuration file in the .ebextensions folder under WEB-INF. See the following link for more information on configuring and instance using this: - http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers.html To... | 5 | 2 | 3,073 | 2012-10-11T19:56:09.653 | database_errors | serverfault.com | |
854,869 | Apache security hosting perl based backuppc graph missing in web GUI, which one is the best solution? | System: fresh and updated ubuntu Xenial Xerus 16.04.2. Started from a clean minimal system where only openssh was installed. In order to install backuppc 3.3.2 i did the following: [CODE] Apt did the rest, installing dependencies such as apache2 and perl. If you think it might be important I'll edit the question and wi... | If that file is the only one causing you headaches, you might as well just move the log folder to a place where the both the www-data user can read it and the backuppc user can write to it. Then symlink it. [CODE] It beats opening up your /var/lib/backuppc/ entirely to every user on the system, especially if sub-direct... | 1 | 1 | 219 | 2017-06-09T13:51:06.683 | database_errors | serverfault.com | |
556,359 | suhosin patch error in PHP 5.3.27 | When I try applied suhosin patch, I get this errors: [CODE] PHP Version: 5.3.27 (tar.gz of PHP download page) suhosin patch: suhosin-patch-5.3.2-0.9.9.1.patch | I found a solution: [CODE] Works great! | 0 | 0 | 247 | 2013-11-20T19:58:35.227 | infrastructure | serverfault.com | |
299,335 | Best Way to store sessions in a High Availability / High Performance way in Multiple Server Environment | I have an application (Magento) that has an abstracted session storage layer. I'm trying to visualize the best way to store sessions. mysql Database? I'm thinking a dedicated database with a very large innodb_buffer_pool_size so its basically like RAM Cache with disk backup. I'm thinking of having a seperate DB just fo... | Memcache? This is great but I am a bit concerned with what happens if the server crashes? I would lose that partition of sessions with the crash because from what I understand Memcache is not distrubuted. Can I make it distrubuted? ( I was just told that I can use pecl memcache module >= 3 I'm using repcached . It is s... | 3 | 2 | 858 | 2011-08-09T17:43:52.883 | database_errors | serverfault.com | |
136,597 | What is the best way to import this non-standard text file into SQL Server? | I have a text file that is generated daily. It is a fixed width format with one frustrating exception. The third column (NAME) has a variable width. The column is always exactly as long as the longest name in the data set + 1 space. This makes each day's files have different column start and end points. Does anyone hav... | Based on your sample data it looks like there are 6 columns in total. COL1, COL2, COL4, COL5, COL6 = All fixed width . COL3 = This is a fixed width for a given day, but it is variable day to day (based on my understanding). You should be able to calculate COL3's width each day based on the length of any given line. You... | 2 | 4 | 447 | 2016-04-26T12:32:51.610 | database_errors | dba.stackexchange.com | |
700,522 | How to use all hard drives in dedicated server | I bought dedicated server and after installing Plesk panel I can see under the server information tab it is showing me the total storage available: 1.7TB. [CODE] output is: But I had bought server with 4TB of storage (2000GBx2) Is there any way to make use of other hard drive or merge them /mount them so that I could u... | You don't have a filesystem in your [CODE] partition, that is why you cannot use the space. You can use RAID0 to merge the two devices into one logical device, and then install the OS there. Or you can create a filesystem into [CODE] and then mount the filesystem into some directory. | -3 | 1 | 442 | 2015-06-21T10:21:04.400 | infrastructure | serverfault.com | |
430,453 | How to implement a rule-based decision maker for an agent-based model? | I have a hard time understanding how to combine a rule-based decision making approach for an agent in an agent-based model I try to develop. The interface of the agent is a very simple one. [CODE] For the sake of the example, let's assume that the agents represent Vehicles which traverse roads inside a large warehouse,... | This is where I have a huge trouble understanding how to proceed and I get a feeling that I do not really follow the correct approach. First, I am not sure how to make the VehicleState class more modular and extensible. While you have a number of specific questions here, what I see is a lot of general issues with the c... | 1 | 1 | 630 | 2021-07-21T15:19:50.670 | warehouse_errors | softwareengineering.stackexchange.com | |
954,796 | Azure VM Windows Server 2016 - 28GB RAM, only 2GB available | I can't figure out why I only have 2GB usable, when our subscription is DS12_v2 "memory optimized" plan with 28GB of RAM. Obviously I am running into performance issues with this small amount of memory. What am I missing? screenshot of System panel | I just deployed a DS12_V2 in South Central US and it shows all 28GB of RAM available. Are you running SQL on this box? What Apps are you running or is this a new VM? One thing you can try is to redepoy to see if getting a new host helps. Under the Support + Troubleshooting section you will find redeploy. https://docs.m... | 1 | 0 | 2,370 | 2019-02-20T00:16:42.233 | infrastructure | serverfault.com | |
314,913 | storing sensor historical binary data for last 720 reads (SQL Server) | I need to store binary data - online status (1,0 or NULL) of about 100k sensors. Data are refreshed every 1 hour and I need to store historical data for 30 days, which gives me 720 records per sensor. Sensor number may vary, some new sensors comes in, some old one are deleted. I've came with a solution of creating a ta... | how to store this kind of data In a relational database you use multiple rows, not columns. eg: [CODE] Or you could store one row per (day,sensor) and store the status by hour as a bitmask in an int, or as 24 bit columns. [CODE] or [CODE] | 0 | 2 | 72 | 2022-07-27T12:41:12.313 | database_errors | dba.stackexchange.com | |
371,737 | LAMP server being used to send SPAM | Possible Duplicate: My server's been hacked EMERGENCY I have a LAMP server running that has suddenly started trying to send out spam email. I wonder would anyone have any suggestion to help track down how this is being done. The server itself does not listen on port 25 so it not a relay issue there. I assume it's some ... | Compromised systems can't be trusted, restore from backup. | 0 | 1 | 110 | 2012-03-20T21:17:51.457 | data_quality | serverfault.com | |
354,791 | Samba share with guest access and authenticated users for write access | I'm trying to get a shared folder to work. Everyone should have read access (preferably not even a password prompt should pop up when connecting with Windows), but a few selected users should be able to log in and have write access too. So far I have the following configuration: [CODE] While this works nicely in allowi... | man smb.conf: guest ok (S) If this parameter is yes for a service, then no password is required to connect to the service. Privileges will be those of the guest account. I suppose there is no way to accomplish what you want to have in this way. As a workaround, I would suggest defining another share without setting [CO... | 4 | 4 | 3,088 | 2012-01-29T17:31:30.460 | infrastructure | serverfault.com | |
194,756 | Deadlock with multi-row INSERTs despite ON CONFLICT DO NOTHING | Setup I have a bulk insert function [CODE] that looks like this: [CODE] (I wrap it that way because I need to get a count of actual inserts, without the "fake row updates" trick.) The table [CODE] has: Just one constraint: A multi-column primary key (thing_id, associate_id) No indices Just one trigger: After insert, fo... | The [CODE] clause can prevent duplicate key errors. There can still be friction with concurrent transactions trying to enter the same keys or update the same rows. It's no insurance against deadlocks. Most importantly, add a consistent order to input rows with [CODE] . To make sure the order is enforced I use a CTE, wh... | 15 | 17 | 20,269 | 2018-01-05T19:42:47.383 | data_quality | dba.stackexchange.com | |
912,372 | kvmtool: guest OS fails: mounting /dev/vda on /root failed: No such device | I am trying to load a guest Ubuntu using kvmtool. For this I am running following command. [CODE] This ends with "mounting /dev/vda on /root failed: No such device". Here is the output https://gist.github.com/proywm/6b67c689b22089664e00861bde158e9f What is going on and how can I resolve it? | For some reason, your root device is configured as /dev/vda, but the image file you are providing has 3 partitions. Did you try cloning a physical machine's disk? You might want to try adding [CODE] or splitting the img into 3 disk images. | 0 | 0 | 2,742 | 2018-05-15T19:24:47.193 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.