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
503,944
Active Directory Account Locked, Attempts Every 60 Seconds From Exchange
After a password change on my account, I keep getting locked out by exchange with this error on our domain controller: [CODE] I've already looked into: My cellphone, updated the account, and even removed the account. Services/tasks on the server running as me (there are none). SMTP traffic to the mail server (there is ...
Turned out to be AppAssure, it doesn't throw any errors when auth fails, and it doesn't log anything when it can't mount the exchange datastore, so looking through services/event logs/tasks/AppAssure console didn't show anything.
5
1
936
2013-04-30T17:01:09.367
infrastructure
serverfault.com
241,112
Index Seek scanning whole table dependent on parameter value
I have a query: [CODE] The table is defined as [CODE] and there is a non clustered index on the table [CODE] When I run the query with the parameters below: [CODE] The execution plan shows an index seek on [CODE] , however it shows number of rows read as 17million rows but actual number of rows as 0 (There are 0 rows i...
When there is a mismatch between the data types of the column and variable, SQL Server cannot directly use the seeking ability of a b-tree index to locate the correct range of values. When the rules of data type precedence mean that the column data would have to be converted to the data type of the variable, this would...
3
8
862
2019-06-21T12:24:58.117
database_errors
dba.stackexchange.com
632,822
Terminal Server - RDP with local admin
I have a Terminal Server setup on Windows server 2008 R2. I am trying to log in to it with RDP, using the local admin account. (Not the domain admin) I have placed the local admin in the remote desktop users group, but I am still getting the following message trying to log in: To log on to this computer, you must be gr...
My suspicion is that this is disabled through group policy. (The greyed out "Allow log on through Remote Desktop Services" button in particular suggests this.) This policy is defined in Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment -> Deny Log On Through Ter...
1
1
4,504
2014-10-01T16:45:34.377
infrastructure
serverfault.com
1,049,908
CentOS7: su /bin/bash: Resource temporarily unavailable
Whenever I try to change to testuser, I get resource temporarily unavailable message. The nproc and nofile limits are set to 65k. testuser runs multiple java programs. Did not exceed the nproc and nofile values(verified using ps and lsof commands) for testuser. Contents of /etc/security/limits.conf [CODE] This is a Cen...
This worked for me on CentOS7. Below is my [CODE] file. [CODE] I had issue with Jenkins user - not allowing to switch to Jenkins. This RedHat link helped me, though the solution is for RHEL4/5/6 but it is worked for CentOS7.
2
0
4,616
2021-01-15T07:38:42.713
infrastructure
serverfault.com
216,298
Create Text File From Stored Procedure
I have an ETL process (in SSIS) that extracts data from the database and writes the data to a predefined text file. Currently, I create the directories and files manually to satisfy this process. To add a new variable to this process, I run a usp that adds a new row to a table, which is read in to the ETL process and d...
You could use SQL CLR . This allows (more-or-less) any C# code to be executed from within SQL Server as if it were a stored procedure. This includes OS and file system manipulation. The code can accept values from and return values to T-SQL. Permissions can be controlled just like any other stored procedure, sidesteppi...
1
1
1,627
2018-08-30T10:54:59.770
data_quality
dba.stackexchange.com
946,277
Debugging client certificate issues on IIS
We have an 2008R2 IIS server set up with a site configured to require client certificates. Our test client isn't working, and we're trying to debug why. During the course of this, we've set up a new Server 2008 R2 box (yes, I know it's old, but this is what's running the software) to try and replicate or determine ways...
We finally found the answer to this: at fault is KB931125. A blog article describes the KB as only intended for client targets, but got shipped to servers which results in the CA list being sent by IIS to be truncated. It doesn't really explain why we couldn't see the transmitted CA list with OpenSSL, but ultimately it...
5
2
2,719
2018-12-21T14:18:03.870
infrastructure
serverfault.com
232,017
How to decouple simple factory and default implementation?
I have a simple factory class ( [CODE] ) with static factory methods providing a default implementation ( [CODE] ). [CODE] The problem with this class is that it is tightly coupled with the default implementation ( [CODE] ). Given a new requirement that classes part of the API ( [CODE] ) cannot directly depend on class...
No, an IOC container is not necessary to decouple the API and non-API classes. Because they're not really coupled. FileResources is coupled to Path and to FileResource, but not to DefaultFileResource. That is, if you change Path or FileResource, there is a risk of breaking FileResources. Albeit not a large one. Those a...
5
6
1,299
2014-03-11T17:38:58.640
pipeline_ops
softwareengineering.stackexchange.com
612,220
chroot user to var/www/html
Can I limit a user login through sftp only can see and change files under var/www/html folder? I tried below, but then I can't login in Transmit through sftp [CODE] /var/log/secure [CODE]
You need to add [CODE] after [CODE] line. This forces OpenSSH to use its internal [CODE] implementation instead of trying to execute the external [CODE] command, which cannot be accessed from inside the chroot jail.
2
7
2,665
2014-07-13T10:51:30.973
infrastructure
serverfault.com
762,586
ESXi host memory usage seems high with no VMs running
I have set up an ESXi 6.0 Update 1 installation on a HP ProLiant Microserver Gen8. This is using the HP-provided image for ProLiant servers. With no VMs running the host memory usage is 1714 MB, which seems high to me. The only config changes I have made on the ESXi host are SSH was enabled and NTP client was configure...
The memory load seems normal to me. I don't have an empty ESXi to check it out, but the main processes (hostd, sfcb, vpxa) don't defer much from mine. Your HP-tailored image will bring a bit more memory consumption than a "clean" image. Also, keep in mind that the host has some memory overhead which is hardware depende...
-1
1
4,998
2016-03-09T09:41:24.230
infrastructure
serverfault.com
1,057,406
Fresh Ubuntu 20.04 install no disk space on / and unable to extend
I have fresh Ubuntu 20.04 with 50GB disk size installed using defaults. Now I don't have any space left on [CODE] . [CODE] I tried following steps [CODE] [CODE] and [CODE] I receive following errors [CODE] and [CODE] What am I doing wrong here? More info about lvms. lvdisplay [CODE] vgdisplay [CODE] pvdisplay [CODE]
I downloaded systemrescure cd https://www.system-rescue.org/ and I executed my previous commands. It worked and now I have full 50GB of disk space.
0
0
1,309
2021-03-17T19:33:56.127
infrastructure
serverfault.com
1,094,767
DEBIAN 10 apt-get, sudo issues
I'm currently facing some issues with my dedicated server. I unfortunately removed some packages from my server yesterday. And now the [CODE] on my server seems not to work properly. This issue maybe occurs because I removed these packages. I tried to install the needed packages, but this does not work. Whenever I try ...
You are root. You don't need sudo. I assume this is hetzner based on how it looks. If so, the rescue system is a live distro. You'll have to mount all your devices and chroot into them as applicable. I assume you have done this. Otherwise, you need to first do this and attempt reinstallation; otherwise you're merely at...
0
0
228
2022-02-25T12:19:56.827
infrastructure
serverfault.com
353,775
SSH/Git: Specify paths with hostname instead of IP
Alright, quick question. When SSHing to a server using the IP, I can also specify a path to use, such as: [CODE] However, when using a hostname, the command thinks the path is part of the host name: [CODE] Which yields an error about the [CODE] before the path ssh: localhost.com:: no address associated with name (Yes, ...
Why did you decide that a Git SSH URI must have a [CODE] after a hostname? Where did you see this format? Formal SSH-URI specification is [CODE]
0
3
4,121
2012-01-26T07:58:09.497
infrastructure
serverfault.com
233,751
Are innodb_large_prefix and innodb_file_format settings backwards compatible?
I got the following message when I tried to install a piece of software trough the command line. I use a mySQL db. [CODE] I have several questions I couldn't find an answer for by just searching Google: Can I just change these to the required settings without breaking other software of the server? Suppose it does break...
First of all, never trust what a random internet person tells you about your environment; the only way to be sure is by doing your own testing . It is very difficult to give an absolute correct answer without knowing all the details of your environement. Answering broadly your question "Is it safe to enable barracuda a...
3
4
1,711
2019-04-02T13:33:24.470
database_errors
dba.stackexchange.com
896,071
'/var/lib/mysql/mysql.sock' (13 "Permission denied") when accessing the socket as non mysql user
I am trying to connect to local mysql server I use for development The server starts fine, but I can not connect to it as a non-root user. [CODE] As root, this works as expected. So that user does have permissions to access mysql. [CODE] When I check the permission of as my user [CODE] What should these permission be f...
The problem was related to the error on permissions on the socket file [CODE] As root I can see that the permissions on the socket file are [CODE] So the problem is the directory for mysql as can be seen above. [CODE] I fixed this by giving everybody access. As this is my local machine used for development. [CODE] On a...
1
2
21,797
2018-02-07T11:18:27.317
database_errors
serverfault.com
539,038
VMWare access between different VMs
I have installed VMWare workstation 9.0.2 build-1031769 on my Windows 7 Laptop. Then I have created 2 Windows 2003 VMs . I have 2 Network connections under my network adapter settings. They are VMNet1 and VMNet2 Virtual Server 1 details as folows. Network Type: Custom (VMNet1) - Host Only IP address: 192.168.229.128 Su...
At any point during copying and pasting the above details between your system and here did it occur to you to wonder if "Host Only" appearing in the Network Type might mean anything? You've set both VMs up to only be able to communicate with the host system. To network them you need to set them both up to be connected ...
-3
3
115
2013-09-15T09:43:26.223
infrastructure
serverfault.com
369,070
Split ORM module without creating cyclic imports or side-effects
Preface I have an ORM library for a relational real estate database. The used framework is [CODE] . The library contains ~60 models, each representing a distinct table. The models represent a (pre-defined, proprietary) real estate data structure based on XML. There is one top level table called immobilie (real estate),...
After some more consideration I started to split up the models into the actual ORM models and outsourced the JSON and XML DOM (de-)serialization into an own package, each, using mixin classes. I also solved the anticipated problem of the foreign keys not returning the composit, but base models. [CODE] has a [CODE] clas...
4
0
310
2018-04-09T13:58:30.093
api_errors
softwareengineering.stackexchange.com
513,566
Server Load very high despite CPU usage being low
When I run the [CODE] command I get this [CODE] Yet when I run [CODE] I get [CODE] And as a result, my vBulletin forums are locking out all users. Something obvious seems to be wrong, how can I identify and solve the issue? Many thanks.
So you actually are using a lot of CPU. Either get a better server or make your forums become less popular. You also seem to be sending quite a bit of mail... is your forum hacked and is somebody using it as a spam source? Check your mail logs...
1
5
2,032
2013-06-05T20:55:31.137
infrastructure
serverfault.com
320,090
File move in Perl that stops the current script?
how can I do this [CODE] ; so it would stop the script in terminal if the file is not found? otherwise it keeps repeating and repeating and I need to restart putty session so i would be able to type something
[CODE] If it fails to rename for any reason it'll die. If the file isn't there it obviously failed to rename and that will be caught as well.
1
2
283
2011-10-07T17:34:46.933
infrastructure
serverfault.com
229,692
Designing storage service data structure for decoupled models sharing same data
Surely most of you remember the Norton Commander application where similar (sometimes the same) data is displayed in separate decoupled views. I'm building a web application that follows the same principle. The amount of data is too big to be fetched/displayed entirely on the page, and potentially overlapping subsets o...
The urls should just map internally to some call to a repository that implements the caching behavior you want. [CODE] Then create something like: [CODE] If you want to have 1:1 class to url mapping, you should have more urls (one more for the permanent storage, use the existing one for the cache). If you want to have ...
4
1
315
2014-02-20T10:26:54.800
data_quality
softwareengineering.stackexchange.com
265,410
Why doesn't my trigger put data into my table?
When I execute my trigger, it says it executed commands, but there is still no data in the tAttackPlan where it is supposed to insert data into. Can not figure out why. [CODE]
What learning_DBAdmin is saying makes sense... if this is the only script you are running, it will only create the trigger... when you insert or update the table tAttackPlan, it will trigger the trAttack trigger. Now let's analyze the trigger... If an insert or update is done on the tAttackPlan table the trigger will i...
0
1
48
2020-04-20T03:17:17.413
warehouse_errors
dba.stackexchange.com
108,821
Apache - How to disable gzip content encoding (eg DEFLATE) for one set of URLs?
I have a ubuntu apache webserver and I have enabled mod_deflate to gzip all the content. However there's one folder I'd like to disable the mod_deflate for. I was going to do something like this: [CODE] But that doesn't work. Rational: I am trying to debug an XMLRPC server and I am using wireshark to see what gets past...
I believe that RemoveOutputFilter expects a file extension, not a filter type. It should be something like: [CODE] or whatever file extension you're using in that directory.
3
1
13,079
2010-02-02T17:02:14.523
infrastructure
serverfault.com
204,428
Connect to Oracle from SQL Server
We are migrating an application from Oracle to SQL Server. The vendor is responsible for the majority of the migration efforts, but there is one piece that was developed in-house that I'm having trouble with. The old application on Oracle has a procedure that collects specific data and then another procedure inserts th...
Oracle uses a case-sensitive catalog, and hides that ugly fact from you by silently converting non-quoted identifiers to all caps, both in DDL and DML. The name of your table is actually RS.RS_MYAPP, and SQL Server may be sending the identifier to Oracle as "rs"."rs_myapp", which would fail at Oracle. So try select * f...
1
4
1,403
2018-04-19T12:47:36.400
database_errors
dba.stackexchange.com
71,607
configure client ibm_db2 for php
I am installing a RHEL server with nginx and php that can connect to a db2 database, download and install the "IBM Data Server Client" package, also install the pecl library through: pecl install ibm_db2 however when I do a connectivity test me responds with the following error: [IBM] [CLI Driver] SQL10007N Message "0"...
With the help of @mustaccio achieved do as follows: First I added the user db2inst1: db2inst1 useradd Then, I generated the instance (whatever it means) /opt/ibm/db2/V10.5/instance/db2icrt db2inst1 Edit the php configuration file (/etc/php.ini) for add the instance: [CODE] Edit the initialization file of the php-fpm se...
0
0
6,045
2014-07-16T00:09:44.387
warehouse_errors
dba.stackexchange.com
767,209
How to calculate storage working set for sizing SSD/Flash size for tiered storage?
How would you calculate the size of the working set of storage that would live in a SSD/Flash tier of a tiered/hybrid storage solution? This would be used to gauge the size of the SSD/Flash tier. By tiered/hybrid I mean something (e.g. a storage array) that presents storage that is made up of different tiers/types of d...
I wouldn't calculate it at all, because it's next to impossible to do that. The size of working set varies massively depending on workload, contention and scaling. You need to understand what's going to be going onto this array before you get even close - database workloads don't cache well as a rule (because databases...
0
2
697
2016-03-31T03:06:00.680
infrastructure
serverfault.com
249,538
How Jetbrain Phpstorm IDE is working without installed java?
As far as I know Jetbrains PHPStorm is programmed in Java but while I don't have Java installed in my Windows 7 PC, PHPstorm is installed and working without any problem. How It's done?
JetBrains bundles the version of the JDK that the IDE needs with it. This is true for all of the different IDEs that they make. The reason for this is to make sure that they are running with the JDK that the IDE is designed for. If you look in the location where the IDE is installed ( [CODE] ) you will find the JRE tha...
-2
5
1,962
2014-07-11T00:22:27.783
api_errors
softwareengineering.stackexchange.com
874,523
Some AD Users are missing supplemental groups on RHEL Linux
My organization is trying to join our RHEL/CentOS 7 servers to our Microsoft AD domain. The domain controllers consist of 2x Windows 2008R2 servers and 1x Windows 2016 server. On the Linux side, I'm using [CODE] to join to the domain, which I've managed to do successfully: [CODE] I would like to permit only members of ...
I figured out the issue when I read the SSSD Troubleshooting guide. In the guide, it briefly mentions: If you use a non-standard LDAP search bases, please disable the TokenGroups performance enhancement by setting [CODE] . Otherwise, the AD provider would receive the group membership via a special call that is not rest...
2
2
7,816
2017-09-19T21:00:17.403
infrastructure
serverfault.com
166,576
Device to manage 2 dsl connections - failover, load balancing and bonding
I'm setting up an offsite DR facility on a budget. The office has 2 ADSL lines coming in to identical router/modem devices. I'm looking for a cost effective (cheap) way of joining the two connections so that the network only sees one link to the outside world. Primarily I'm looking for ADSL failover as opposed to load ...
Get a DrayTek 2955 http://draytek.co.uk/products/vigor2955.html Loads of feature for a one time price only
2
2
1,526
2010-08-03T09:09:32.797
database_errors
serverfault.com
609,797
Windows Server 2012 Can't Delete Folder/Files
I've got a folder with two ISO files in it and I don't need them anymore, however I can't delete the folder! I am an administrator and also the owner of the files. When I try and delete using windows explorer the files disappear, but as soon as I refresh they return! When I try and delete with command prompt and argume...
Like said previously, your files may be in use. You can see who use which files on your server by getting in the "managament console". To do so, right click on the "computer" icon and then click on something like "manage" (I use French OS so I may be wrong in the translation). Once here you must go in "Shared Files" an...
4
4
39,755
2014-07-03T09:02:48.560
infrastructure
serverfault.com
772,856
Debugging why network packets are being dropped
Preface : I have an application that I am currently testing out that runs on [CODE] . The setup for my test is the application installed on a embedded device, connected by an Ethernet cable to PC that communicates with the virtual machine on that PC in which Linux is ran. The virtual machine (on VMWare Workstation) on ...
In a general sense I suspect MTU (frame size) is the root of the problem. I have a few reasons and a few suggestions. First, this behavior varies by L2 (it only happens with the wired traffic as opposed to wireless). That in itself is suspicious and suggests that there is a problem at the interface level. Second, packe...
1
1
2,377
2016-04-25T21:39:23.650
infrastructure
serverfault.com
94,408
How to perform Multi-Label Image Classification with EfficientNet
Problem My goal is to perform multi-label image classification with EfficientNet. It should take a picture as input and e.g. tell the user that it sees a person AND a dog on the picture, meaning the probabilities wont sum up to 1 - every class gets its own probability from 0 to 1. In short, I would like to convert a mu...
Your code looks correct. In particular, you are correct to use sigmoid activation (since you want multi-hot outputs, using softmax would not make sense) and binary_cross_entropy (this may seem counter-intuitive given that the problem is not binary, but each decision is). So why isn't it working? I suspect the issue is ...
0
0
2,090
2021-05-13T21:09:11.533
data_quality
datascience.stackexchange.com
250,619
Failed to create appdomain "master.sys[runtime].2"
I am getting this error in SQL Server log: Failed to create appdomain "master.sys[runtime].2" Could not load file or assembly System.Data. Not enough storage is available to process this command After this error, my web application is not working. Following are the server specs: SQL Version : SQL 2012 (SP1) - 11.0.3128...
I finally understand why your server uses only [CODE] of RAM, you have [CODE] version of SQL Server: SQL 2012 (SP1) - 11.0.3128.0 Intel( x86 ) and it just cannot use more than [CODE] . You should use 64-bit version of the Server to resolve your problem. In previous versions (until 2012) it seems [CODE] parameter could ...
1
2
2,546
2019-10-09T05:58:18.637
database_errors
dba.stackexchange.com
239,087
How To Prevent Live Servers From Detecting a Forced Failover?
We are using an AlwaysOn Availability Group in SQL 2017 on Windows Server 2016 which consists of two servers on our primary site and one DR server on a remote site. We recently did an internal IT DR test as proof-of-concept during which the rest of the company continued using the primary site. We isolated our remote DR...
Snapshot Assuming the use of VMs, take a snapshot of the DR server after the source site is disconnected. I might recommend shutting down the server first just so the snapshot is in a good, clean state. After the DR testing is done, shut down the DR server and then revert it to the snapshot. This is easy and cheap. The...
1
1
84
2019-05-26T12:08:35.017
database_errors
dba.stackexchange.com
7,181
Password mismatch while logging to sql server
Alright, I have a classic asp application and I have a connection string to try to connect to db. MY connection string looks as follows: [CODE] Now when I'm accessing db though front-en I get this error: [CODE] I looked in the sql profiler and I got this: [CODE] What I've tried: *checked 100 times that my password is a...
The only times I have ever seen the State 8 error for 18456 (Password Mismatch) was in fact a password mismatch. Try a new password. Type it in notepad, copy and paste it to SQL and then do the same into your app config. Make sure nothing is happening to that password when it is being handed off to SQL - no trimming, e...
4
3
5,200
2011-10-25T02:17:28.193
database_errors
dba.stackexchange.com
906,880
IPtables Logging for services
I am logging all incoming and outgoing IP connections and ports to my Linux server with IPtables LOG. Now, I wish to log the services to which these IPs connects in server. Example, if the connection is to port 80, then log service name as httpd. Is it possible with IPtables logging? Below is the rules I am using right...
You could do it with something like this: [CODE] This would be needed to be inserted before any matching [CODE] rule. AFAIK there isn't a way to have a generic log line which resolves the service name from the port for the purposes of setting the log prefix; that also wouldn't work if you had for example, HTTP listenin...
0
1
207
2018-04-10T07:44:09.747
infrastructure
serverfault.com
713,617
krb5.conf is not readable by httpd process
I have an issue regarding kerberos / httpd / RHEL System 1 This is the problematic system. [CODE] There is a kerberized website running on the server. System 2 This system is working with the same kerberos configuration. [CODE] Also running a kerberized website. Issue When a user is accessing the website the following ...
Check [CODE] . This looks like it might interfere. (This is in fact the problem, as discussed in the deleted comments).
0
1
1,203
2015-08-12T13:24:42.643
infrastructure
serverfault.com
349,721
FC multipath says "device busy " when connecting again. SLES 11 - netapp - emulex
I have a weird issue. sles 11 emulex FC netapp fas 2xxx 100G LUN is ok. Multipath enabled, multipathd and device-mapper seem to work properly. multipath -t shows this output of the config => http://pastebin.com/bmEBhdeX When both FC are connected I get this output from multipath -ll 360a98000572d5073538f68484c4c512f dm...
It seems the crucial point where things break is: [CODE] It seems you do have hald-based automatic mounting in place, so you need to turn it off (no idea how, besides disabling entire hald). Chances are this link will be helpful, or the support note mentioned there.
3
4
1,250
2012-01-13T17:38:56.203
infrastructure
serverfault.com
903,979
Error 503 Backend fetch failed Guru Meditation: XID: 45654 Varnish cache server in magento2
we are using MAgento 2.1 and elastic suite ,rediss cache and varnish cache 4 so we have 60 K products in our site and recently we updated attribute in magento2 admin from that day onwords we are getting error like [CODE] so we updated varnish config with below : [CODE] but the error is the same. How can we fix it?
This error indicates that Varnish can't get a HTTP response from your backend; specifically it's having trouble connecting to your backend webserver, nginx or apache. Can you copy your varnish default.vcl file?
0
0
7,040
2018-03-22T08:39:48.107
database_errors
serverfault.com
320,324
I would like to redirect port 8140 on my public IP address (ip1) to port 8140 on Internet host (ip2)
edit3: i would like to get exactly what is descripted in http://shorewall.net/FAQ.htm#faq1g but it doesn't work for me. edit3 end; os: debian squeeze shorwall: 4.4.11.6-3 3 computers a, b & c; shorewall is on computer b i would like to dnat port 8140 from b->c, so computer a can connect to b and will be dnated to c fol...
the shorewall mailinglist helped (thanks go out to tom) shorwall.conf [CODE]
0
0
1,566
2011-10-11T01:39:03.623
infrastructure
serverfault.com
1,155
How to create a database backup using docker-compose
According to this documentation one could create a database backup docker-compose.admin.yml [CODE] running [CODE] results initially in: [CODE] and when it is run for the second time: [CODE]
The number of downvotes on the link that is mentioned in the question could indicate that there are issues with the instructions. Perhaps one could use native commands to backup the database. For example, this answer shows how to backup a postgres database that runs in docker using the pg_dump command.
3
0
1,161
2017-05-12T09:03:35.420
database_errors
devops.stackexchange.com
1,120,632
Scaling Postfix/Dovecot-Server
I looked at a larger installation of my local university of a Mailserver with Postfix/Dovecot. I am trying to archieve the same and looking forward to get any input or search query about how this could be built by myself. There is a mx Record on a mi (mail-in), researching, there are two mail-in-Servers that use doveco...
I would look into the following Using DNS to distribute incoming SMTP connections between multiple servers. This can be done with multiple A records for outbound email ( [CODE] ), and multiple MX records with the same priority for inbound email. (Inbound connections should be fairly evenly distributed between servers i...
2
0
459
2023-01-19T13:45:25.837
infrastructure
serverfault.com
697,789
Nginx on ubuntu 12.04 keep refusing OPTIONS requests
I am trying do do cross domain Ajax calls inside an angular service in an ionic application tested in chrome. I am trying to do a [CODE] on my API and nginx keep refusing my [CODE] . [CODE] I tried different configuration but none of seems to work. My conf is a follow : [CODE] I tried like in this example : https://mic...
Getting no response might be caused by configuration similar to this: [CODE] Which means that nginx will close the connection without a proper response, that's why this is so difficult to debug. Search your configuration for the 444 return code. If you find something like the above, just add [CODE] to the list).
3
2
1,834
2015-06-09T21:19:48.027
api_errors
serverfault.com
95,177
jboss Caught Secure FTP Exception
I`m using Jboss 4.4 on top of RHEL 4.7 and when implementing a FTP session my log continually throws tihs kind of error: org.jboss.internal.soa.esb.util.SecureFtpImpl] Caught Secure FTP Exception So far it`s not my application but rather Jboss'es How can I debug such error or has this been reported as a bug? Regards, a...
Need more information. The message you're getting should be followed by a stack trace showing the exception itself.
0
0
136
2009-12-17T01:33:58.507
infrastructure
serverfault.com
664,635
pam_mount on centos won't mount cifs
so I have this problem that pam_mount won't mount my cifs home dirs pam_mount has this in [CODE] : [CODE] my [CODE] looks like this: [CODE] I konw it says permission denied but I can't understand this because on my ubuntu client which mounts exactly like this work fine: [CODE] can anyone help me figure out why I get pe...
I found the solution. The problem was in the sec option on the mount command. for some reason centos can't use ntlm through ssh, so it can't get the password for the mount command. the solution to this was to change the sec option to ntlmsspi [CODE]
0
0
2,199
2015-02-03T15:02:42.493
infrastructure
serverfault.com
638,680
smtpd: warning: hostname example.com does not resolve to address 203.0.113.1
One postfix instance at [CODE] is pushing mail to [CODE] via LAN, which is both a mail server and a router: [CODE] Every time a LAN mail is received, a warning message is logged: postfix/smtpd[1337]: warning: hostname example.com does not resolve to address 203.0.113.1 However, the domain does resolve to the address, w...
Solution: [CODE] Will make the client postfix instance behave the way other mail clients on that systems would - using /etc/hosts IPs aswell - after which the target system will no longer complain about seeing the client connect from an outside IP although knowing it as 192.168.x.x.
2
2
19,940
2014-10-21T19:51:44.803
infrastructure
serverfault.com
345,065
Is it possible to setup a Windows 2008 R2 KMS server for windows 7 Licensing only?
Possible Duplicate: Can you help me with my software licensing question? The question is in the Title, I had the impression that you needed a Windows 2008 R2 KMS key to setup the KMS host, even if you wanted to activate Windows 7 licenses only. Am I wrong ?
Am I wrong ? yes and no. You need a 2008 R2 KMS key to activate KMS, but what KMS can activate depends on the class of the key. http://www.itechtalk.com/thread439.html There is a KMS key that allows KMS to ONLY activate Windows 7 and no other WIndows Servers.
1
1
197
2011-12-29T15:38:18.843
data_quality
serverfault.com
849,413
Nginx proxy_pass issue - getting 404
I am a bit confused and quite don't understand why I am getting [CODE] for the request [CODE] The strange thing is this is happening only in Firefox browser with CURL or Chrome it works fine. Here my nginx config. The endpoint [CODE] responses with 302, which is expected. But Firefox response is 404. [CODE] Chrome resp...
The reason why I was getting [CODE] is that upstream failed to desrialize a session information. So actually the issue was not in nginx configuration but on the upstream side. Still don't quite understand why 404 and not 50X.
0
1
1,281
2017-05-11T00:53:10.373
infrastructure
serverfault.com
458,504
How can I hit my iis express site from my android devices?
I have a site running under IIS Express, I added the following to my [CODE] [CODE] So now, from another laptop on my local wireless network I can hit [CODE] and see my site without issue. However , if I hit the same URL from an android device (tried on [CODE] and [CODE] ) on the same local wireless network I get the st...
What you experience stems from lack of native NetBIOS/NetBT support. When your windows computer is trying to resolve single label names, one of the steps is to issue a broadcast request for the particular name, and see if any nodes in the local subnet answers to that name. The resolution sequence goes something like th...
1
1
2,575
2012-12-16T13:12:07.210
infrastructure
serverfault.com
251,873
MySQL JOIN query takes too much time to get the result
I have a MySQL query as follows which [CODE] s 8 tables. When I use 3 tables to get the data the result is getting within 10 seconds. But whenever I add one more table the fetching time goes upto 1 minute. And if added more it takes infinite time. Any idea how to resolve this problem? This is my query: [CODE] I indexed...
Your query looks like a different approach will be better than simply using more and more LEFT JOINs. Instead, move to using subqueries in the SELECT clause for most of these "added tables". You shouldn't need the DISTINCT anymore, either, if that was included just to avoid the explosion of rows from so many JOINs. [CO...
0
1
746
2019-10-24T13:31:41.883
database_errors
dba.stackexchange.com
454,317
having 2 ip's on a debian 7 box
I just installed Debian Wheezy on my homeserver. I want to assign 2 ip's to it on the same network interface, 1 static ip (eth0) and 1 dynamic ip (eth0:1). I know it doesn't make much sense but I need it to test something. I edited my /etc/network/interfaces to be like this: [CODE] when I bring up eth0:1 (ifup eth0:1) ...
You might try: [CODE]
-2
0
510
2012-12-02T15:05:19.537
infrastructure
serverfault.com
75,487
How to suggest using an ORM instead of stored procedures?
I work at a company that only uses stored procedures for all data access, which makes it very annoying to keep our local databases in sync as every commit we have to run new procs. I have used some basic ORMs in the past and I find the experience much better and cleaner. I'd like to suggest to the development manager a...
Stored procedures are bad, they're often slow and approximately as efficient as ordinary client side code. [The speedup is usually due to the way the client and stored procedure interface is designed and the way transactions are written as short, focused bursts of SQL.] Stored procedures are one of the worst places to ...
32
49
14,271
2011-05-11T14:12:55.003
database_errors
softwareengineering.stackexchange.com
133,299
Database existence not happened correctly
I am having problems running a SQL script to [CODE] a database on SQL Server 2014. My script fails with the following error, however I am not sure how to resolve the issue as I am a beginner with SQL Server. [CODE] What should I do to resolve this error? Msg 1803, Level 16, State 1, Line 4 The CREATE DATABASE statement...
Sounds like someone changed the defaults that exist in the model database on the server (512 is usually the default from what I've seen--not 4096). Since this is for a deployment on possibly any SQL Server (where model specifications could well be different) just remove the SIZE = 4096KB in both the mdf and ldf section...
0
2
200
2016-03-24T16:27:30.470
database_errors
dba.stackexchange.com
1,037,019
VMware + how to limit the balloon memory on linux machine
We want to know if we can't limit the [CODE] on a Linux machine by tuning the value of - [CODE] for example is it possible to set 20% for [CODE] instead the default of 65%? The target is to give more available memory on RHEL machine, because the balloon memory on RHEL machine is around 30G and we want to decrease this ...
Ballooning only happens under some very specific conditions. For VMware ESXi to "inflate" the balloon driver in a VM, the host must be under very heavy memory contention, commonly less than 4% of free memory on the host. Note that the balloon driver just asks the OS on the VM for memory, and any memory pages given to i...
0
3
1,695
2020-10-09T07:24:34.290
infrastructure
serverfault.com
111,557
Combine multiple duplicate categorical variables into a single one for multiple linear regression
I am trying to create a regression model that predicts the box office success of a movie, with one of the explanatory variables being the actors who appear in the film. My problem is that I decided to do the first 4 billed actors, but in the model, it is taking it as 4 separate variables (Actor 1, Actor 2, Actor 3, Act...
The issue is just that you consider the list of actors as ordered, but if they are considered as an (unordered) set it works perfectly. The regular "bag of words" representation used in text can perfectly handle this, considering all the different actors as the distinct "words", i.e. the vocabulary. The principle is si...
2
2
67
2022-06-04T08:45:14.860
data_quality
datascience.stackexchange.com
1,137,282
Why is postfix rejecting one particular validly DNS-mapped sender?
I'm running postfix 3.5.18 under Debian 11. The mailserver is working fine for all senders except one. I regularly am getting this message from emails from one sender and one sender only (where I changed a valid email address on my server to "user@myexample.com" in the message, and where I changed the server name in th...
It is the HELO hostname [CODE] that is rejected. The server gives a non-existent hostname as its HELO hostname. Your attempt to whitelist it with [CODE] in [CODE] fails, because [CODE] does not treat this as the wildcard you assume. This could be done with PCRE tables , though. In Debian 11, you need to have the packag...
1
2
113
2023-07-15T17:50:32.810
infrastructure
serverfault.com
243,620
Move Amazon small EC2 instance to large
How would you move your Amazon EC2 small to large instance, considering that small is 32-bit and large is 64bit? I think there shouldn't be any problem running 32-bit AMI on the 64-bit instance, am I right? Thank you in adv
You don't want to run 32bit system on 7,5GB of RAM. 3GB of RAM is usually maximum memory that is reasonable with 32bit system. Linux can use PAE to access more than that but AFAIK PAE in a virtual machine isn't efficient.
0
0
433
2011-03-05T14:50:11.240
infrastructure
serverfault.com
628,840
Client host rejected: cannot find your hostname + SMTP
I have a VPS configured with dovecot. Now for some of the mails that I send are rejected with the following error: Any Clues?
You have to configure so-called "reverse zone" for your domain name. Usually VPS control panel have DNS-related tools where you have to set PTR record pointing to your IP-address. While you do not set PTR record properly other mail servers will treat you as spammer and reject messages from you.
-1
1
1,154
2014-09-16T11:30:31.560
infrastructure
serverfault.com
238,926
Dynamic IP for E-Mail Server
I have two domains that both need to use one server that has a dynamic ip address for email. domain.com: Static IP, A record pointing to the static IP, needs to host e-mail for @domain.com but use domain.biz as mail server. domain.biz: Dynamic IP, using DYNDNS to update IP address, hosts e-mail for @domain.biz The way ...
You really don't want a mail server on dynamic IPs, you can't set a PTR(look like spam), its listed as a dynamic IP(big spam flag) and you'll lose emails while DNS is updating. I highly advise you get a static IP or get email service Google apps (which you can get free) is quite nice. To answer your question just set u...
0
3
1,142
2011-02-22T23:32:19.943
infrastructure
serverfault.com
114,963
What is the best book to prepare for a Java interview?
Possible Duplicate: How to prepare yourself for programming interview questions? I found older questions but I was wondering if newer, better books/guides have been published in the last two years. I am interviewing for a technology analyst position in finance and I expect to have a lot of technical questions based on ...
I highly recommend Head First Design Patterns and Clean Code . Forget the interview, and read them regardless.
6
6
28,581
2011-10-18T17:06:55.300
data_quality
softwareengineering.stackexchange.com
331,228
How to store keys for an encrypted storage in .NET in-house service
In the company I'm working for we have a certain service where users can upload documents (text, sometimes document scans), it's nothing confidential but if those documents will be leaked, I'll get a lot of headache explaining why all of them are publicly available. Recently we had a breach of out network and while thi...
If you are storing the files on NTFS , they may already be encrypted via EFS . If you are thinking of encrypting the files within the encrypted filesystem, you gotta ask yourself why? Encryption is not a panacea, as you have discovered. Your files are already encrypted but you failed to guard the means of decrypting th...
0
1
97
2016-09-16T11:08:53.737
pipeline_ops
softwareengineering.stackexchange.com
704,092
Apache ever match a virtual host with a different ServerName
i have an issue. I have a VirtualHost for domain1.com on IP 1.2.3.4, but Apache reply to the request to the IP 1.2.3.4 ignoring the ServerName. So, if i point domain2.com to 1.2.3.4 i see the content of /var/www/html/domain1.com and not the content of /var/www/html/default What is wrong? [CODE]
Your use of [CODE] here will match IPs that have not been defined for another [CODE] . This means that a request to [CODE] according to your config will use the first defined [CODE] for [CODE] . Priority of [CODE] are defined by their order in the config file. To achieve the configuration you desire, move your default ...
1
3
126
2015-07-07T14:31:27.027
infrastructure
serverfault.com
523,948
HTTP Error 500.19 - Internal Server Error with IIS and ColdFusion
I uninstalled ColdFusion 9 from my computer (windows 7/64 bit) but my [CODE] file, in C:\inetpub\wwwroot, still has the content below, which also includes info about ColdFusion: [CODE] Now when I open 127.0.0.1 from my browser, I get [CODE] Can anyone help me fix this error? I'm new to ColdFusion and IIS integration.
If you uninstalled ColdFusion, you can remove all of the child entries under handlers. You can also remove the mimeMap for .air. Change the defaultDocument value to whatever you intend on serving as your home page (index.htm, index.aspx, etc) This should eliminate the 500.19 error.
0
1
1,289
2013-07-17T08:10:19.077
api_errors
serverfault.com
133,451
Why is ksoftirqd using 100% of the CPU?
Running FC release 12. Im alaways seeing ksoftirqd/x (x being 0-9) at the top of the processlist, with 100% cpu. The server has a bonded 2gbit connection, serving files from an SSD array. Currently its using 1.6gbit. Server load is ~ 1.5 (dual quad core). iowait is non-existent.
This has been a longstanding linux problem. If you do a google search, the reports of this go way back to 2004, without any real answers. This seems to be mostly happening during high network activity, and looks like this is your case. Linux tcp stack has never been the greatest, so I am not surprised. This may also be...
5
4
16,968
2010-04-18T00:38:03.783
infrastructure
serverfault.com
204,605
PostgreSQL - SSL connection without providing the root-ca certificate?
I set the following parameters to enable SSL on my PostgreSQL server: ssl = True ssl_ca_file = 'path-to-root-ca' ssl_cert_file = 'path-to-server-crt' ssl_key_file = 'path-to-server-key' For my tests, I use the PGSSLROOTCERT variable which contains the path to the root ca certificate. I realized that it is still possibl...
In the absence of [CODE] or [CODE] , the library [CODE] (which [CODE] uses) looks in a compiled-in default location for the file. And apparently, it finds it at that location. For Linux, that location is [CODE] . Although it is possible that "Debian 10.3-1.pgdg90+1" patched it to look someplace else instead.
2
1
4,765
2018-04-21T14:16:59.957
database_errors
dba.stackexchange.com
324,052
why I got error IMP:00023: Import views not installed , please notify your DBA?
I want to import dump file from oracle database 10g to oracle database 12c , but when I run import command I got the following error : [CODE] which views I need to install and how to solve the error ?
Because the version of the client (19.3) used for the import differs from the version of the database (12.1.0.2). Use the same version client for the import or run the import on the server. This is described in: IMP-3 ORA-942 IMP-23 IMP-0 Errors on Traditional Import (IMP) (Doc ID 2819490.1)
0
1
518
2023-02-26T07:26:13.070
database_errors
dba.stackexchange.com
33,811
Qcache_free_memory not full yet I get alot of Qcache_lowmem_prunes
I just started dabbling with the query cache for our CMS. Can anyone tell me (or at least give a good guess) why I get a lot of [CODE] when more than half of [CODE] is free? [CODE] This is how it looks after about 12 hours [CODE] This is how it looked after [CODE] ; [CODE]
The query cache is a very nice feature, but don't be tempted to pay too much attention to it and don't be tempted to make it too large. Understanding some of its internals will probably help in that regard. The query cache starts out as one big contiguous chunk of available memory. Then "blocks" are carved out of this ...
11
21
13,302
2013-01-30T07:30:52.340
warehouse_errors
dba.stackexchange.com
131,245
Logfiles go blank after logrotate rotates them
I have an ubuntu 8.04 LTS server that runs openvpn. The openvpn server writes to a standard logfile under /var/log and prior to a month ago logrotate would automatically rotate the files and compress them. The files are still being rotated however the new logfile (ovpn.log) is empty. Restarting the openvpn daemon fixes...
OpenVPN is probably still writing to the OLD log file (the file (inode) that it opened for writing back when it started up). Logrotate needs to notify the OpenVPN daemon that its log file has been turned over so OpenVPN can open the new logfile (This is usually done via a signal, but stopping/restarting the whole daemo...
3
3
4,372
2010-04-10T14:34:50.573
infrastructure
serverfault.com
117,545
SSIS Control Flow: Precedence constraints not working as expected
The control flow of my SSIS package is not behaving as expected. What I want to achieve : Test if CLR is enabled on SQL Server using [CODE] If [CODE] , attempt to enable CLR and display message [CODE] If [CODE] , display message [CODE] If I setup my control flow to do only one or the other, it works. This flow works as...
Your precedent constraint defaults to an [CODE] situation. The preceding task must return success and the expression must be true. In binary scenarios like this, only one of those two tasks is ever going to happen. By adding the next level of constraint in - both tied to the message box step, the final step is waiting ...
8
13
7,931
2015-10-09T12:22:32.690
database_errors
dba.stackexchange.com
96,885
Foreign Data Wrappers & Windows Authentication
I been trying to get data from a SQL Server to use it on a PostgreSQL database. After a previous question I got into use FOREIGN DATA WRAPPERS , first I try with [CODE] but after a successfull install I couldn't make it work, possibly due to the same issue I detail below. After this i went to Multicorn and things where...
Ok, thanks to the guidance of the community I manage to got it to work... I believe its important for me to mention a few things you should take in account when attempting this (at least under the same environment I been trying). My setup: Ubuntu 14.04 PostgreSQL 9.3 Windows Server 2003 SQL Server 2005 Additional compo...
1
1
1,622
2015-04-02T13:00:26.863
database_errors
dba.stackexchange.com
753,920
How to configure Fortigate 60D as L2PT/IPSEC client
I have a firewall Fortigate 60D and I need to create a tunnel to a L2TP/IPSEC server, so the firewall has to act as a client. Is it possible? I configured the L2TP/IPSEC server on a Linux Debian machine using Libreswan and I can connect to it using an android phone but I am not able to do the same with the Fortigate fi...
You can specify the connection type in the GUI under "Remote Gateway". Setting it to "Dialup User" is what you want. You can also use the "type" option in the phase1-interface table. [CODE]
0
1
5,789
2016-02-04T06:03:17.380
infrastructure
serverfault.com
585,796
Windows server 2012R2 as additional domain controller along with Server 2008R2 fails
On running ADPrep passes all prerequisite, but fails in the last stage with the below error: ADPrep execution failed --> System.ComponentModel.Win32Exception (0x80004005): A device attached to the system is not functioning. ADPrep log says: Adprep requires access to existing forest-wide information from the schema mast...
I'd comment on the original question so I can gather more info before posting my answer, but I don't have enough reputation yet as I'm new; go figure right :) Anyway, I've ran into this twice for two different clients, one that was running SBS 2003 and another running 2008 R2 like you are. Both times had a few differen...
4
1
8,161
2014-04-01T03:59:55.440
infrastructure
serverfault.com
203,977
How to continue development without the webservice?
We make iOS apps where we often get data in a list from an API, then we select the data and go to the next ViewController. Often it happens that the server is down or some API is not ready. What is a good development practice where we can continue our regular work flow without depending on the webservice and then when ...
Since you know how the API will be accessed, and what types of values will be returned, you could create your own basic version of the API that just does something basic with your input and returns something like what would be expected. Then when the API is ready you can just swap it in. Afraid I can't provide any deta...
0
3
127
2013-07-07T12:09:30.860
api_errors
softwareengineering.stackexchange.com
859,696
PHPMyadmin redirection issues on Apache2
A couple of days back I updated Apache on the webserver. Which seems to have broken accessing Phpmyadmin through server IP: [CODE] Instead now when typing above the ip/phpmyadmin it redirects to the domain which is hosted on the server. [CODE] It gives a 404 error obviously, since /var/html/www where the domain is poin...
PHPMyadmin was set to use SSL. Using 'https' instead of 'http' resolved the issue.
0
0
780
2017-07-06T12:34:29.323
infrastructure
serverfault.com
224,781
Select the same field based on different foreign keys
I have two tables: Containing a list of products with ids and names A table linking several products with parent-child relationship based on ids using foreign keys. I want to create a view that will display the product name for both parent and child but both derives from the same table. Each product can be a parent for...
The query worked [CODE]
2
0
2,124
2018-12-12T15:32:51.220
data_quality
dba.stackexchange.com
136,214
Unexpected CASE evaluation logic
I always understood that the [CODE] statement worked on a 'short-circuit' principle in that evaluation of subsequent steps does not take place if a prior step is evaluated to true. (This answer Does SQL Server CASE statement evaluate all conditions or exit on first TRUE condition? is related but doesn't appear to cover...
So it was hard for me to determine what your actual question was from the post, but I assume it is that when you execute: [CODE] You still get ORA-01428: argument '-1' is out of range ? I don't think this is a bug. I think it is an order of operation thing. Oracle needs to do the analytics on all of the rows returned b...
8
2
1,183
2016-04-22T10:38:18.630
database_errors
dba.stackexchange.com
153,129
MySQL Master-Slave replication foreign key constraint error
This is the cluster setup: [CODE] [CODE] and [CODE] run [CODE] version [CODE] . [CODE] and [CODE] run [CODE] version [CODE] . Nodes [CODE] and [CODE] are in a Galera Cluster, and replication between these nodes works fine. There is also an arbitrator node running on a separate server. [CODE] is a slave node to [CODE] ,...
I see that you have used a multi-master configuration for m1 and m2 and a master-slave config for m1-s1 and m2-s2. Currently, the multi-master configuration does not support write actions on the tables with foreign keys. Thus, when there is a write action on either m1 or m2, the error occurs. test to debug: set up a ma...
2
2
2,095
2016-10-23T20:44:50.243
database_errors
dba.stackexchange.com
1,063,245
Windows storage spaces tiered storage not using nvme drive?
I'm trying to run an Ethereum full node (geth v1.10) with archiving for big data analysis. The storage requirements are expected to be 8TB after being fully sync'd. I have a Synology NAS that is serving 8TB LUN via iScsi (can max around ~120 MB/s throughput) My HyperV windows server (2019 v1809) has a 1TB locally attac...
The issue is related to NTFS formatted Virtual Disk. I've run some tests and with NTFS tiered Storage Spaces doesn't use hot tier on WS2019. You should format it with ReFS or use Windows Server 2016.
1
2
1,495
2021-05-11T17:36:04.917
infrastructure
serverfault.com
1,048,766
Sending email with postfix doesn't reach recipient
I'm trying to troubleshoot a problem with my postfix server not sending email to my GMail account (as a test). From /var/log/mail.log: [CODE] I don't want to relay via gmail, but the receiving email is at a gmail address. Is postfix trying to use gmail as a relay somehow? In /etc/postfix/main.cf I have: [CODE]
From another answer on StackOverflow: it looks like Amazon blocks outbound traffic on port 25, and a request has to be submitted to have this block removed: https://aws.amazon.com/premiumsupport/knowledge-center/ec2-port-25-throttle/?nc1=h_ls Thanks to Gerald for pointing out it was a firewall issue!
1
3
1,165
2021-01-06T08:16:35.797
infrastructure
serverfault.com
179,570
Anonymous + Unknown User attempt to my DB
I was checking my MySQL log and I found this error: Connect UNKNOWN_MYSQL_US@localhost as anonymous on Is it normal? Should I worry about a possible attack?
It's not Anonymous account It is normal behavior from MySQL core. Look at this: https://github.com/mysql/mysql-server/blob/5.5/packaging/rpm-oel/mysql.init#L67 It's for pinging MySQL to check MySQL is running or not
-1
0
303
2017-07-11T13:21:55.407
database_errors
dba.stackexchange.com
219,581
Definition of a type
Conceptually, I used to think of types as sets. However, I think I've seen people wishing to distinguish types [CODE] , [CODE] even if they represent identical collections of values. So I figured a better definition of type is a pair [CODE] , where two different types cannot have the same first element. Then I ran into...
I think your real struggle here is one with decidability, which is totally understandable in this context so let's talk about that for a moment. Your first mention of a type system is quite simple, essentially you have a set and everything in that set represents it's type. Now what type each one of these elements in is...
7
6
351
2013-11-26T20:27:49.777
api_errors
softwareengineering.stackexchange.com
418,978
Zimbra 7.2 OSE Mail Queue Disappeared
System Info: [CODE] I accidentally installed Postfix from APT onto our Zimbra email server virtual machine (KVM/Proxmox VE 2.1). I purged it instantly, however, it did not help. The following are the steps I took in a desperate attempt to fix it: Reinstalled Zimbra Stopped Zimbra service Reset permissions chown -R zimb...
If anyone has this problem in the future, this is how you repair it. You may end up with more than a few duplicates, be that's better than losing an important email... To find the messages that got queued up, run: [CODE] To find the actual email files on the file system, run: [CODE] "Inject" email back to the user acco...
0
0
1,075
2012-08-18T20:01:56.880
infrastructure
serverfault.com
1,073,653
Containerd-shim hangs when running docker run
My problem is that from time to time, when I try to start a new container with [CODE] , it just hangs forever. All the running containers keep working fine, but I'm unable to start any container. The only way of getting out of there is with Ctrl+C, but then I can't remove the failed container (nor the associated image,...
I'd start with an upgrade. There have been quite a few releases since 19.03.6 and containerd 1.4.4 that may have fixed this issue: https://github.com/containerd/containerd/tags https://github.com/moby/moby/tags
0
0
1,015
2021-08-05T15:52:17.873
pipeline_ops
serverfault.com
12,063
Clustering of Temporal Data
I have been trying to find the correlation b/w the following type of temporal data for quite some time. DataSet: [CODE] (The actual dataset has 1000's of unique points) I have to find some sort of similarity value b/w these points (my points I mean 'A', 'B', 'X', etc). For example similarity b/w 'A' and 'B' in above da...
Have a look at Deep Walk . It's essentially word-to-vec applied to "sentences" created from a graph (nodes and edges). If you can express your data as a graph, you can apply it.
0
1
203
2016-06-04T18:44:29.820
data_quality
datascience.stackexchange.com
476,200
Fail-over VPN with two ISPs and Cisco ASA 5500 Series
We have a couple of branch offices that need to connect to a main site. We plan to use Cisco ASAs 5515 to establish VPN connections. We would also like to have 2 ISPs at each location to make the connection redundant. Here is the image: I am a bit new to ASAs so far, so my question is "Is it possible to set up ASA 5515...
Yes it is possible, all you have to do is enable isakmp on the both outside interfaces of the redundant ISP ASA with [CODE] and then on the ISP C ASA change your crypto map statement to: [CODE] That will allow a failover if ISP A is down. When the tunnel is renegotiated and ISP A is available the tunnel will fail back.
1
2
3,811
2013-02-06T19:58:48.657
api_errors
serverfault.com
365,629
NGINX - 404 redirect not working, returning an error code 500
I've recently setup NGINX and had to implement various redirects to manage pages from our older websites that were still returning hits in Google (and other various linked pages). Some of these links we have to redirect to explicit locations but the rest should just be redirected to the root directory /. I have been as...
I can answer my first question [CODE] I still don't know why the 500 error wasn't being picked up by NGINX. I did notice that the 500 error is still returning the default 500.html page. For me to work around it I've just done a meta refresh which is ugly but works for now. Ideally I'd like a proper redirect though.
2
0
1,736
2012-03-02T11:34:17.007
api_errors
serverfault.com
97,845
LVM mirroring VS RAID1
Having learned a bit about LVM mirroring, I thought about replacing the current RAID-1 scheme I'm using to gain some flexibility. Problem is that according to what I found on the Internet, LVM is: Slower than RAID-1, at least in reading (only single volume being used for reading). Unreliable on power interrupts (requir...
I've never used LVM mirroring, but the info you've dug up seems reasonable from what I know of LVM. I'd stick with MD RAID-1, myself.
11
4
17,977
2009-12-28T23:39:26.773
infrastructure
serverfault.com
284,718
Configure OpenVPN client to continue trying after authorization fails
I just managed to cut my OpenVPN connection to some 20 servers tonight. I was experimenting with the [CODE] scripts, and at some point one of the scripts returned a non zero response. This non zero response triggered an [CODE] in the [CODE] which eventually resulted in a [CODE] exit from the OpenVPN client. Is there a ...
The easiest way to protect yourself from this is to wrap the openvpn client in a while loop that restarts it. Looking at the openvpn discussion list it appears this was a design decision made because auth failures likely require manual intervention and having the client retry repeatedly would in many cases lock out the...
3
2
3,954
2011-06-28T01:11:30.003
infrastructure
serverfault.com
1,088,785
How do I redirect a URL with special (%C2%A0) characters in Nginx
I found out that I have link to one of URLs with some garbage behind that would generate some traffic, however whoever it placed it did it wrong: [CODE] Therefore, I would like to redirect this URL to the one it was intended. However, I could not figure out how to do this properly. I tried already: [CODE] and also [COD...
You can represent it as a hex value in a regular expression. For example: [CODE]
1
1
1,489
2022-01-02T17:06:08.393
infrastructure
serverfault.com
1,127,953
How can I know which version of .Net is using an application in IIS?
We have migrated an application from Net version 3.5 to 4.8. The truth is that we are encountering many problems. Everything seems right, but it doesn't seem to work returns a 500 error without any more information. My approach is that it is not running with the correct version of Net. Therefore, install version 4.8 of...
No, you cannot verify it from there. That is the Common Language Runtime (CLR) version. All versions of .NET 4 have the same CLR version, 4.0.30319. Note that the CLR version is separate from the .NET release version. A system can have only one version of .NET 4. To control if your application uses .NET 3 or .NET 4, yo...
0
1
1,800
2023-04-05T08:44:26.513
api_errors
serverfault.com
389,742
What is the difference between a Page Table Entry and a Memory Descriptor List?
The definition of a MDL from Microsoft is: The operating system uses a memory descriptor list (MDL) to describe the physical page layout for a virtual memory buffer. The definition of a Page Table Entry (PTE) on Wikipedia is: A page table is the data structure used by a virtual memory system in a computer operating sys...
Similar yet different. A Paging Table is used to interpret an address in a particular programs Virtual Address Space into Machine Address Space (or a trap into the kernel to map it). It is often Hardware accelerated. A Memory Descriptor List contains Pages in Machine Address Space that are in contiguous Virtual Address...
2
3
1,346
2019-04-04T06:00:34.567
api_errors
softwareengineering.stackexchange.com
2,778
Vagrant inside a VM to control the VM host
Background I have an application which comes with a Vagrant setup that is designed for this usage scenario: [CODE] Plain, default, simple, works. The sources are on a shared/synced directory, i.e., they are usually edited on the Windows host and then compiled and ran inside the VM. Unfortunately, I prefer to use Linux ...
Is the answer as simple as setting up a dual-booted machine? Linux partitions for development tasks and as the VM host, Windows partitions for normal computing use. Laptop Windows partition Linux Partition Vagrant VM
5
1
1,338
2017-12-04T12:27:49.740
pipeline_ops
devops.stackexchange.com
880,557
Shutdown Cron during execution of SaltStack
If we update our systems with SaltStack this takes about 40 seconds. During these 40 seconds the state of the system is not consistent. If there are cron jobs which start during this period, it is likely that they produce strange errors. Of course we could change our setup completely and use containers. This would make...
To completely disable cron jobs, you can simply turn off the [CODE] daemon (it's usually [CODE] in CentOS and [CODE] in Ubuntu server). You can stop and start it directly in the salt run. If you need to disable cron run just for some specific cron jobs, you can just create a script (let's call it [CODE] ) and use it to...
2
1
343
2017-10-27T07:19:01.393
pipeline_ops
serverfault.com
952,155
difference between local and inet socket?
I noticed that, while setting up opendkim, the options for the Socket are: [CODE] What is the difference (if any) between the local:[...].sock socket and the inet:[...]@localhost socket? Do user permissions come into play for one or the other? Is there a security benefit from using one or the other? Are there any funct...
Opendkim uses "local:" to refer to a unix domain socket, inet: to refer to an inet domain (ipv4) socket and inet6 to refer to an inet6 domain (ipv6) socket. Unix domain sockets are local to a single machine and listening unix domain sockets live in the file-system hierarchy. Access can be controlled through file permis...
1
2
1,692
2019-02-03T22:31:59.760
infrastructure
serverfault.com
126,369
'Logical file name "MyDB" is already in use' Even though the database doesn't exist
I recently was given a SAN with a couple of RAID arrays to apply to my database server to increase performance. I have (and will only ever have) one user database called [CODE] , in addition to the system databases that install along with SQL Server. My intent was to have [CODE] pointing to its own drive, [CODE] pointi...
If i am able to figure out correctly from below query [CODE] I believe [CODE] to be [CODE] here.. Also, in the [CODE] Query [CODE] Above the logical file name of log file seems wrong, instead of LOG ON ( NAME = N'DDAS' ....) it should have been NAME = N' DDAS_log '.. For more info please refer CREATE DATABASE
1
3
6,947
2016-01-15T14:47:50.083
database_errors
dba.stackexchange.com
430,745
jboss clustering when one machine isn't big enough to run application
Im given a problem and am currently trying to come up with the best way to solve it. I have a few ideas, but one question about jboss clustering. keep in mind these applications were written very poorly, thats why they require so much memory and there is nothing i can do about that right now. Now, I have clustered appl...
If 8 gigs is your memory limit it sounds like it might be time to re-evaluate your hosting platform. A decent server class machine can reliably handle upwards of 32gigs of ram and either vmware or hyper-v can each deliver more than 8 gigs to a VM. TL;DR - Get a better box and reevaluate your virtualization platform.
0
0
99
2012-09-21T18:24:29.013
infrastructure
serverfault.com
707,875
Find out which certificates cause a certificate revocation list check
In the course of migrating our internal CA we first the old server up and running in order to allow clients to download the CRl from the URL hardcoded in already issued certificates. Meanwhile the old server has been removed completely and there is merely a little virtual webhost active with its name with the sole purp...
you can't know. You made a mistake by decommissioning old CA prior to properly plan migration process. What you had to do is to export the list of active certificates from decommissioned CA's database. If you don't have old CA backup, then you are out of luck. Wait until some service fails. Edit: 24.07.2015 If your CA ...
0
0
80
2015-07-23T09:48:02.890
infrastructure
serverfault.com
936,634
OmniOS (Illumos) sendmail verbose option not working
When using [CODE] or [CODE] to send mail, we are not getting any text back. Mail does go out and log entries are found in [CODE] . What can I check for or change? I am used to getting full transcript whenever I add [CODE] , but I get nothing on the terminal. We are migrating to OmniOSce, running sendmail 8.14.4.
We solved this by installing and configuring [CODE] from pkgsrc package repository.
1
1
95
2018-10-22T15:38:13.697
infrastructure
serverfault.com
166,124
How can I get the row causing a conversion failure in SQL Server?
I have an [CODE] statement that is failing with this, [CODE] I understand the error. I want to know which row I am trying to convert is failing. If I have 1200 rows, how can I know which one is causing the problem without looking through it by hand? Is there a way to get more detailed ouput? I ended up doing the answer...
This will help you figure out what value is causing your error. The example below shows a table with a NULL, a word, and a time stamp. You can see by running a case when statement that analyzes the value to essentially see if it's a date or could be a date and prints the value that is not a date. The CTE wrap up gives ...
1
2
6,808
2017-03-03T18:30:58.933
database_errors
dba.stackexchange.com
205,515
How to enumerate SQL Server role members with Powershell?
I have a powershell script to enumerate the members of SQL Server role members using powershell. I have this script [CODE] I get output like this: [CODE] How do I actually see the role members? Confused.
Worked it out I needed [CODE] on the end of [CODE] , DOH!
5
2
2,548
2010-11-24T09:49:11.963
database_errors
serverfault.com
30,112
Does SQL Server 2008 store the creation date of execution plans?
We recently upgraded an application we use, which involved modifying the schema for the database. These changes could have forced cached execution plans to be discarded. If SQL Server was forced to create a bunch of new plans, this could have slowed down the user experience. I'd like to find out if this was the case. S...
It isn't stored in [CODE] , nor is it buried anywhere in the plan XML that I can find. There is useful information in other DMVs however. For stored procedures we can get the time a plan was cached from [CODE] : [CODE] For ad-hoc queries, there is the creation time in [CODE] : [CODE] According to @SqlKiwi... the change...
14
13
6,330
2012-12-10T20:03:10.683
database_errors
dba.stackexchange.com
779,603
High availability IIS web application, via google cloud storage bucket mounted to windows instance
I am looking for a high availability ASP.NET application via Google Compute Engine. I read over the high availability docs to look at the basic architecture. All is fine with the grouping of compute engine instances into a load balancer, as well as the SQL architecture, but I'm getting hung up on the high availability ...
You can now treat Google Cloud Storage like a file system with new PowerShell provider. This feature help you use commands like cd, dir, copy, del, or even cat to navigate and manipulate your data in Cloud Storage. You can refer to this blogpost for more information.
0
1
573
2016-05-28T19:19:42.883
infrastructure
serverfault.com