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
730,916
Determine slow/problematic peer in network
Is it possible to see which peer in the network along the way to the actual server is slowing internet speed? On the server i'm testing internet speed and it's very very good, but from office it's very slow. Pinging server gives fine results. Peers along the way to the server too via tracert and WinMTR software. But wh...
Do you know topology of network? What devices is between server and computers? Some switches, access point and cables. Try to connect first computer direct to server and test. No switches on the way. Unplug all from switch and connect one computer to switch and to server and test speed. Than connect next computer and s...
0
0
34
2015-10-22T16:16:57.080
infrastructure
serverfault.com
291,283
What if the "catch" block is empty - "{}"
Is it proper to use below syntax for try catch?? [CODE]
Yes and No. Leaving the catch block completely empty ... [CODE] ... should be a hanging offence. Having an empty catch block that contains a meaningful, detailed comment about why it's OK to ignore this particular exception (and any sub-classes thereof) might be acceptable, but only in very limited circumstances. Re-th...
2
6
12,816
2015-07-30T09:38:05.270
api_errors
softwareengineering.stackexchange.com
368,010
nginx ssl auth: Loggin Requests
Does (or can) nginx log which certificates were used to log into a website? I have configured nginx to perform ssl client authentication (with client pkcs12 files that I have signed with my own root certificate) the relevant portion of the config is: [CODE] I believe that it is working correctly, but for every signed c...
Add some SSL client cert variables to your log format (adjust to fit where and how your current logging it set up): [CODE]
1
1
3,256
2012-03-09T12:07:14.163
api_errors
serverfault.com
732,561
Replicate to a test network, AD loses trust and network location
We have a separate VMware ESX 5.5 server that we use as a test environment, where we replicate production machines. It runs replicated VMs on a vSwitch that is physically separated from the production network. Last month, we used Veeam to copy VMs to the server and simulate production, for the purpose of upgrading AD f...
Turns out in my case I had my host still under the control of production vCenter, and not either on its own or as a member of a different vCenter datacenter. This made it so that vCenter was giving out different MACs to the VMs
2
0
81
2015-10-29T16:02:34.400
database_errors
serverfault.com
869,889
Correct use of Pacemaker's ocf-tester with OCF resource agents
I have got a setup with DRBD, Corosync, and Pacemaker in which Pacemaker should mount a file system atop a DRBD block device on different cluster nodes, depending on nodes' availabilies. The setup is not yet fully working, therefore I try testing Pacemaker's resource agent for DRBD, [CODE] , with [CODE] . If I try like...
Your error tells: [CODE] It doesn't have [CODE] to test the agent, so first install it using: [CODE] Then it should work fine. Hope is helps. :) All the best. :)
1
1
1,479
2017-08-22T13:04:30.203
infrastructure
serverfault.com
434,050
How do you represent a negative floating point in two's complement?
I was looking into a datasheet of a Real Time Clock (RTC) with a temperature sensor MAX31328. (You can find the datasheet easily). I'd like to convert the raw binary value into decimal format. I have no problem with positive value but I'm not sure regarding negative especially if there is a fraction. So they say that t...
So as promised, I asked the technical support, they gave me a first answer saying that the decimal value is separate from the integer value and that it shouldn't be taken as two's complement (possibility #2). I asked to double check due to the ambiguity. Afterward he confirmed that indeed he was mistaken and that all t...
-1
3
591
2021-12-03T20:59:25.587
airflow_errors
softwareengineering.stackexchange.com
432,162
TMG - Reverse proxy certificate mismatch
I have the web site rule set up but I am getting a certificate mismatch error. I have setup the rule using this walkthrough: [1] http://microsoftguru.com.au/2010/08/08/how-to-configure-reverse-proxy-using-forefront-tmg-2010-step-by-step/ (I'm aware of the typos) As a test I have already established a working rule witho...
The Common Name of the SSL certificate assigned to your publishing rule must match the host header that you're publishing it as. Also worth noting that you can have a different SSL certificate on the published server itself. So, for example you might be serving internal/VPN clients using an internal address with an SSL...
0
0
705
2012-09-26T00:55:03.183
api_errors
serverfault.com
133,132
Does SQL Server Management Studio 2008 Activity Monitor work with SQL Server 2000?
I am trying to use SQL Server Management Studio 2008's Activity Monitor with an SQL Server 2000 instance to diagnose some query performance issues. I can connect SMSS 2008 to the db fine, and use it to browse objects and run queries. But when I press the Activity Monitor button, it pops up an error message saying: Micr...
No it does not - the verbiage in Books online appears misleading
0
4
829
2010-04-16T15:37:32.047
database_errors
serverfault.com
69,445
Upgrade plan for TFS 2005 to TFS 2010?
The current TFS 2005 server runs on WS 2003 SP1 32-bit and SQL 2005. Clients are all VS 2008 but may be VS 2010 by the time we do this. The new machine will be WS 2008 R2 64-bit and SQL 2008 SP1. The ideal plan would allow users to continue working on the 2005 server until all migration issues are ironed out and then s...
I've only recently moved a TFS 2008 installation to TFS 2010 Beta 2, but in a quick Google search it looks like an upgrade from 2005 is possible. Check this link on bharry's blog: http://blogs.msdn.com/bharry/archive/2009/10/21/upgrading-from-tfs-2005-2008-to-tfs-2010.aspx
4
5
1,708
2009-09-28T23:15:09.193
infrastructure
serverfault.com
875,503
mydomain->GMail Ok, GMail->mydomain = snailmail
General context : In France ISP : Completel/SFR (something casual) Server Exchange 2013 Barracuda 300 Quite often, about 8/10, mails from Gmail arrive on our server with a huge delay, 11 hours this time. Here's some headers : [CODE] mxtoolbox tells me the issue is between our Barracuda and Gmail. But, to solve the issu...
Google will do nothing - they will probably ignore you if you attempted to contact them - there is nothing wrong with Google's email delivery platform. The problem is at your end. You need to find the log in Barracuda for the delivery attempt and see why it failed. If there is no trace of delivery attempt until the 11 ...
0
0
80
2017-09-26T07:40:45.827
infrastructure
serverfault.com
624,068
Varnish Cache: Rewrite ESI include url if session is active
I'm looking to rewrite an ESI include url in Varnish. In my template, I have: [CODE] which just includes static content i.e. "Welcome Guest". If they login I add the session into my .vcl. What I want to do is rewrite the include to: [CODE] where I'll do the db query. Currently, in my sub vcl_recv I have: [CODE] It caus...
Ok, got this working. Here is my .VCL file if anyone's interested [CODE]
1
2
859
2014-08-26T11:04:42.827
infrastructure
serverfault.com
202,111
How to store / not to store passwords
I am building an web site which will allow users to aggregate the information stored in their online profiles ("data feeds") in one place. I am wondering - what is the accepted (from a secureness point of view) way to store user name / password information in a my database? Normally I would derive a salted-hash value f...
As you are effectively providing a (limited) online password manager service, you could have a look at how the off-line password managers store the passwords for their users. My napkin-design for such a feature would be to store the password in the database using a symmetric cryptographic encryption, where the key is e...
5
10
654
2013-06-20T08:16:21.703
api_errors
softwareengineering.stackexchange.com
854,820
Ansible - jenkins plugin failing on Google Container Engine (GKE) - infinite loop with ingress
I have such config for ansible: [CODE] But when i try to start this playbook i'm getting: fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Unable to validate if job exists, HTTP Error 302: The HTTP server returned a redirect error that would lead to an infinite loop.\nThe last 30x error message...
The proxy in front of the Jenkins server seems to be wrongly configured. However as the [CODE] module is executed on the remote host this problem can be avoided by not using [CODE] and setting the [CODE] parameter to [CODE] .
0
1
319
2017-06-09T09:05:03.607
api_errors
serverfault.com
87,571
Clear missing index DMVs
How can I clear missing index DMVs such as [CODE] , [CODE] and [CODE] ? I don't have the option to restart the server or taking it offline first and put online back again as it is a production environment.
No, there is no knob for clearing just [CODE] DMVs. You'll have to restart the service or, if you want to exclude specific tables, you could create a view against the DMVs with a filter. The only DMVs you can clear manually, using [CODE] , are [CODE] and [CODE] : [CODE]
4
6
3,283
2015-01-05T15:37:44.193
warehouse_errors
dba.stackexchange.com
746,434
Reset eth0 to move ubuntu server 14.04
New Ubuntu Server 14.04 instance for installation on a dedicated server. Everything required is setup as a vbox guest then I add the drive to the allocated server. When I was using 12.04, my last step would be to rm -f /etc/udev/rules.d/70-persistent-net.rules to reset eth0. Ubuntu 14.04 does not use 70-persistent-net....
Starting with v197 systemd/udev will automatically assign predictable, stable network interface names for all local Ethernet, WLAN and WWAN interfaces. This is a departure from the traditional interface naming scheme ("eth0", "eth1", "wlan0", ...), but should fix real problems. See if this helps; here and over there so...
5
1
1,138
2016-01-03T07:54:08.970
infrastructure
serverfault.com
26,211
Waiting for a control (select) to update
I'm using Selenium Webdriver, based on the following Maven (Java) dependency: [CODE] I have an issue, where I can't figure out the criteria/condition to use where I have a set of cascading combo boxes (HTML select elements which, based on the option clicked on a parent, all it's children combos are updated with data br...
You should be able to implement an explicit wait for the selection to be made on the element. Whatever selenium call you utilized to select the element, just wait on the element to be selected with a wait. Then after it's selected then check the options on the green select box. [CODE] There are other ways to wait until...
1
2
3,145
2017-03-17T17:30:59.473
data_quality
sqa.stackexchange.com
110,542
SQL server restore readonly file group without backup from .ndf file
We have SQl Server database with [CODE] . Common file groups except readonly are backuped regulary. We restore the database from backup but readonly file group has not restored, its *.ndf file is not corrupted. Is it posiible to attach this file and reset file status RECOVERY_PENDING? The example script: [CODE]
note that when you ran the RESTORE FILELISTONLY look at the column IsPresent and for the readonly file it shows 0 this mean that this file does not exists in the backupset. anyway this file cannot be restored from that backup set because it does not exists there, so you must take it from a full backup (or just a file b...
3
1
721
2015-08-10T08:55:46.950
database_errors
dba.stackexchange.com
41,455
Is there a GetTyp / GT2 alternative?
I've used both tools since years now, mostly to determine the file types of files which lost their file names because of disk problems. Unfortunately GetTyp is discontinued, GT2 is no longer actively developed and also lacks some features GetTyp once had: Many file types are not detected Compilers are no longer detecte...
What about the [CODE] command in the GNU fileutils ? It will identify various file formats: [CODE] It's mainly used on Unix-like systems, but for those unfortunate enough to use MS Windows, there's a port: http://gnuwin32.sourceforge.net/packages/file.htm Edit: From the page you linked, GT2 also has some additional fun...
0
2
120
2009-07-16T07:32:01.753
infrastructure
serverfault.com
114,483
Postgres: FATAL: number of requested standby connections exceeds max_wal_senders (currently 0)
I setup master-replication and in my slave server logs, I am seeing this error over and over (it repeats every second): FATAL: number of requested standby connections exceeds max_wal_senders (currently 0) I am able to connect to the slave server, and perform read queries on it and replication seems to be working fine. ...
On the master server: In your PostgreSQL configuration file (postgresql.conf), make sure the following settings are configured to enable replication: makefile Copy code wal_level = replica # Set the WAL level to 'replica' to enable logical replication max_wal_senders = 3 # Set the maximum number of concurrent connectio...
3
0
8,268
2015-09-08T15:48:53.390
database_errors
dba.stackexchange.com
243,130
Appropriate design / technologies to handle dynamic string formatting?
recently I was tasked with implementing a way of adding support for versioning of hardware packet specifications to one of our libraries. First a bit of information about the project. We have a hardware library which has classes for each of the various commands we support sending to our hardware. These hardware modules...
The JavaComm specification abstracts driver support through the use of [CODE] (methods that provide a hint from the program to the JVM): enableReceiveThreshold Enables receive threshold, if this feature is supported by the driver. When the receive threshold condition becomes true, a read from the input stream for this ...
1
0
426
2014-06-05T16:43:10.470
api_errors
softwareengineering.stackexchange.com
596,698
Set up multiple VPN's with a static ip with PPTP with only 1 vpn-login
I have a VPS with Ubuntu 12.04 x64 and i need to connect 118 VPN's to interfaces with (pon vpnname). I've made a script that creates them all, the problem is that no interface will have a unique local IP Address, i think it's because of the speed of the script because when i run it slower it works better (but still not...
what we used previously seems similiar to what you need: Openvpn Server which gets connected by a few 100 clients (they connected via GPRS, every client had its own cert, hostname and own IP. our DNS Server updated the IPs of the hostnames (custom-up.sh and custom-down.sh scripts) and you were able to f.e. ping every c...
1
0
1,064
2014-05-17T12:30:00.050
infrastructure
serverfault.com
976,777
UNIX ACL Permissions Different when file is copied from Windows Explorer compared to unix cp command
Please share your inputs on the following scenario. Unix Path 1. Permissions for /source/dir1/test.txt are [CODE] Scenarios Case 1: When this file is copied from Windows Explorer to the path /source/dir2 permissions become read only for the group: [CODE] getfacl text2 shows mask as [CODE] Case 2: Unix cp command is use...
They work with different [CODE] settings. For more details, read https://www.cyberciti.biz/tips/understanding-linux-unix-umask-value-usage.html and https://en.wikipedia.org/wiki/Umask .
1
0
296
2019-07-26T01:27:02.350
infrastructure
serverfault.com
450,777
How to model in OOP interactions with entities in other systems?
Assume we are designing a typical bank account management system. Customers can have one or more accounts. Customers can deposit cash, withdraw cash or transfer money to another account (and, of course, view the balance). If all accounts are contained in the same bank, one could, for example, design a Customer class an...
Assume we are designing a typical bank account management system. I would say let's not, because your question reveals that you don't know yet about the simplest accountancy, let alone about inter-bank transfers. If all accounts are contained in the same bank, one could, for example, design a Customer class and a BankA...
0
4
142
2024-01-28T12:25:34.553
api_errors
softwareengineering.stackexchange.com
173,652
Debian Blocked IP's
I am debugging access to a remote service via. my Debian VPS. IPTables is used and allows outward port 21 traffic. The remote service is an FTP server (which I can access from my own PC and is not blocked by the remote service). I have also checked that Debian can access FTP servers (which it can). I am wondering, what...
It will probably give the same issue, but try doing a telnet to the remote IP [CODE] to ensure it's an IP/port issue. If that says refused but you can FTP other networks (make sure they are other networks) then it's a firewall issue. Post your IPTables above (I know you say it's not the cause, but just to make sure!). ...
1
0
1,027
2010-08-23T18:20:13.893
api_errors
serverfault.com
609,039
Windows 7/8 Strongswan IKEv2 Wrong Gateway
I have setup Strongswan on Ubuntu 14.04 from the official package. I use IKEv2 with PKI authentication and a custom authorization plugin. This works great for Android and Ubuntu clients using strongswan but not when using the Native Windows 7/8 IKEv2 client.(Machine certificates authentication). I connect to the VPN se...
SOLVED: You should specify 0.0.0.0/0 for rightsubnet for windows config, the Windows IPsec client isn't "smart enough" to handle split tunneling.
4
1
3,240
2014-06-30T16:51:42.347
api_errors
serverfault.com
582,818
How can I stop Active Directory from syncing time with the client
We have several Windows 8 machines that seem to have a problem with their local DateTime. I want them to stop syncing their time with the domain controller. How do I do this? Some Background information: Sometimes the Date and time just randomly changes (this might have to do with the bios but we can't pinpoint the exa...
I guess you know that the time synchronisation is critical for Kerberos authentication to function correctly? Usually any difference of more than 5 minutes either way would cause a failure in authentication. It sounds like this solution is just a temporary one though. The documentation for w32tm says that you can set t...
1
3
1,566
2014-03-18T09:36:32.900
infrastructure
serverfault.com
522,645
ssh connection closed immediately after successful login
I am running Fedora 18 and just set up a static IP address. With a dynamic IP address I was able to successfully use ssh, now however I get the message: [CODE] indicating a successful login followed immediately by the connection being closed. The output of [CODE] is: [CODE] I logged in physically to [CODE] and there is...
The issue was the way I set up my static IP address. I used the [CODE] GUI and it created a file [CODE] . The output of ifconfig only showed entries under [CODE] and [CODE] . Typically, the file should have been created under the name of [CODE] , but was not and oddly enough renaming it and rebooting my computer resolv...
3
2
17,959
2013-07-11T18:17:47.483
infrastructure
serverfault.com
373,548
Warming up an IIS Application Pool automatically?
So IIS likes to shut down app pools that aren't in use. While this makes sense, I would like to have certain app pools conterminously running, but I don't want to just disable the automatic app pool restart as some of the settings (e.g., maximum memory limit) are good to have. I know that Microsoft announced the IIS Ap...
I have answered a similar on StackOverflow . Microsoft moved the warmup feature to IIS 8, but they have also released the Application Initialization Module for IIS 7.5 as a separate download. The feature I think is most compelling is that this module also enables overlapped process recycling. The following tutorial fro...
6
7
20,185
2012-03-26T17:38:17.223
infrastructure
serverfault.com
197,549
pg_hba.conf entry query
I'm trying to formulate a rule from pg_hba.conf file. Thus far I have understood that [CODE] file is used to give access to the specific user for a specific host. But I just want to take a second opinion hence this question. Given that I defined a set of entry in [CODE] : [CODE] Then does Postgres guarantee the only wa...
Your understanding is correct. For every connection attempt, each line in [CODE] is checked in turn. The first matching line applies and the connection then either passes with this or fails trying. Much like a firewall. The manual: The first record with a matching connection type, client address, requested database, an...
1
1
768
2018-02-10T07:47:58.957
warehouse_errors
dba.stackexchange.com
408,137
Using const values in factory class to choose implementation
I am creating a small program to parse the contents of Excel files. There are two types of Excel files, containing the same data, but with different templates. It is possible to tell them apart with 100% certainty by checking the contents of a specific cell, which I call the [CODE] . Follows an MVCE: Creates an [CODE] ...
The concrete type's responsibility Though it may seem that the [CODE] property belongs to the derived classes (as they are used as an identifying value for this class), they don't actually belong there. It's the factory 's responsibility to identify the correct derived class to be used. The derived classes themselves d...
-2
1
170
2020-03-30T07:35:44.160
api_errors
softwareengineering.stackexchange.com
1,032,794
Can a connection between "cone NAT with port restriction" and "symmetric NAT" be established without a third-party?
Directly it's impossible, right? Using an intermediate server isn’t an option because I have a requirement that says that a solution has to exchange lots of data and also be fast. Although, creating a simple utility, if required, that’d run on both nodes locally and thus facilitates establishing a connection, would be ...
As you correctly determined, direct connection is impossible. One needs the help of an external relay reachable from both peers to transfer the data, i.e. TURN or similar. If you don't want to rely on a third-party you need to run this relay yourself. If you don't want this either, your problem can not be solved.
0
1
200
2020-09-06T04:40:17.107
infrastructure
serverfault.com
316,898
How can I disable mail server in Mac OSX 10.6.8?
I am running MAMP Pro on my machine with all empty Postfix values. Yet, whenever my PHP application calls mail(), mail is being sent out from my machine. In a production environment this would be fine but I am in a development environment. how can i disable outbound mail in postfix? discusses setting the default_transp...
Do it as described in the provided link. If the line is not present in [CODE] then add a line with [CODE]
0
2
3,031
2011-09-29T16:42:43.587
infrastructure
serverfault.com
356,138
How to package HTML5 app?
There is some information about how to package HTML5 app to use on Android or iOS, but I couldn't find anything about a normal website. Let's say I would like to create a website displaying multiple HTML5 interactive animations/apps, and I would like to have clear way of adding more of them. With SWF files the problem ...
I used NW.js for something similar before. On the other hand you could use something like the Qt WebEngine. Here you can find the documentation for nw.js http://docs.nwjs.io/en/latest/For%20Users/Getting%20Started/ "Further, you can easily package a web application to a native application." The packaging is quite easy,...
-2
0
877
2017-08-23T08:59:04.523
api_errors
softwareengineering.stackexchange.com
335,669
Increment a field in runtime for Synapse SQL dedicated SQL Pool
I have a task to increment the expected flag column by looking in to existing values. I solved this using while loop and I can get the expected value updated using while loop in Azure synapse-Sql Data warehouse. But I would like to know a direct way to do this using any ranking functions? My sample Data [CODE] My expec...
This is a classic gaps-and-islands problem. There are many solutions, but a typical one is to use [CODE] and then a windowed [CODE] . [CODE] And as an [CODE] statement (note there are no joins needed in SQL Server as you can update the CTE directly). [CODE] db<>fiddle
1
1
61
2024-02-09T08:18:56.193
warehouse_errors
dba.stackexchange.com
151,763
Understanding The Transaction Log
I used to work with MySQL/PhpMyAdmin for web application and portable SQLCE for light local program. I just started with SQL Server Express 2016 and SSMS and just cannot understand Transaction Log. I have read various posts including MSDN: The Transaction Log and A beginner’s guide to SQL Server transaction logs , but ...
I'm going to attempt to show you why you have a vested interest in the Sql Server Transaction log. Bear with me as I lay out a few assumptions... For simplicity sake, I'm assuming [CODE] model. Because you're following BEST PRACTICES , you've separated the MDF/NDF files onto different drives than where your LDF file is...
0
4
1,134
2016-10-08T01:59:06.130
data_quality
dba.stackexchange.com
155,513
How to verify that all files are intact prior to install?
I'm working on my CMS (in PHP platform) for a long time now. The main program is done and I'm currently developing the Installer part. Installation itself will be fairly simple: Upload all files Verify that the "content/" dir has correct permissions Check if ALL files are intact and not modified [This is the subject of...
First of all, I'd say checking for 'unnecessary' files is not really a good idea. The user might have installed your CMS in a common folder with another piece of software. On the other hand, if you confirm your own files are not corrupt, it should be OK, since a user has to edit your files in order to introduce somethi...
1
1
212
2012-07-04T00:43:35.140
data_quality
softwareengineering.stackexchange.com
240,052
Tomcat6 on RHEL 5.5
Based on the answer to a similar question (CentOS) I have installed the jPackage .repo file and attempted [CODE] . I am met with the following error messages: --> Finished Dependency Resolution java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.x86_64 from rhel-x86_64-server-5 has depsolving problems --> Missing Dependency: /usr/...
I've had the same problem today. My solution was to just install the missing RPM by hand: [CODE] No more problems after that.
1
3
2,103
2011-02-25T01:53:07.877
infrastructure
serverfault.com
345,584
Tradeoff between clean code, duplicate code and code efficiency in java
I have a question on writing clean code. I’m trying to refactor the following method: [CODE] So the first two arguments are input arguments, the last argument is an output argument that is manipulated and then there is an output argument returned. One guideline for writing clean code is that any method should do only o...
I think you're taking the "do one thing" advice too literally. In my view, this method does do only one thing: it parses input in a text format into an internal data structure. That your data structure has two parts (the valid data and the list of invalid items) is, to my view, irrelevant. The parsing process is a sing...
3
5
2,077
2017-04-05T11:16:34.717
data_quality
softwareengineering.stackexchange.com
1,003,015
How to disable IPv4 and enable only IPv6 on arm Linux target?
I am testing bind9 dns server for AAAA records. I would like to disable IPv4 to stop dns requests going to my default ipv4 dns server. In the resolv.conf i have added [CODE] When I try to call getaddrinfo("mydomain.com",NULL,&hints,&res); to resolve the domain name to IPv6 address , I see error message "No Route to Hos...
it's a bit unclear what you are trying to do but let me see. If you want to test the dns resolution of AAAA records you do not need to disable ipv4, you can just query the dns server for the AAAA record: [CODE] if the server has the record it will return it successfully with ipv4 as well. If you want to test the dns cl...
0
0
787
2020-02-14T02:59:45.483
infrastructure
serverfault.com
27,428
How to ADD one module to initrd using mkinitrd
I've cloned a Linux (Fedora) server system from an IDE drive to a SATA drive but it doesn't boot, failing at switch root. I've done a clean install on the target drive and have learned thru inspection of the initrd files that when installing fedora on a SATA drive it includes the ahci module, which was not used when I ...
You do not need to worry about all the already installed modules. To begin with, boot into the rescue disk. [CODE] slick You don't have to worry about all the modprobes before the "driver initialization" [CODE] JUST add a --preload ahci helpful links: http://www.mail-archive.com/fedora-package-announce@redhat.com/msg21...
5
6
43,716
2009-06-17T16:50:40.290
infrastructure
serverfault.com
229,379
Managing SharePoint permissions via Active Directory?
My company has thousands of employees organized thoroughly via Active Directory. I have confidence in the accuracy of the Department and Title information displayed in the user profiles. I'm helping to put up a brand new SharePoint 2007 site, and I contacted IT about managing the site's permissions through AD Groups. T...
If you have a "Manager" AD Group set as a certain permission in SharePoint, then that permission level will populate for all the users that is in that group. Any managers that are added to the AD Group will propagate to the associated permissions effective almost immediately. The problem in there lies that you would li...
2
1
2,361
2011-01-31T22:37:01.520
infrastructure
serverfault.com
441,609
Apache mod_evasive doesn't load
I am on a VPS (CentOs) running Apache and I would like to install Mod_Evasive. The problem is that I follow the installation steps without error but Apache doesn't load the module. Here are the step that I have done. 1) wget http://www.zdziarski.com/blog/wp-content/uploads/2010/02/mod_evasive_1.10.1.tar.gz 2) tar xzf m...
10) php -r 'phpinfo();' | grep -i evasive This command only shows information about your PHP stack, it does not talk to Apache or mod_evasive(). To have server info on your phpinfo(); you have to run it from a server, so watch the output from a browser. Or use [CODE] (Instead of apachectl, you may need to put apache2 o...
1
3
3,535
2012-10-24T00:52:29.670
infrastructure
serverfault.com
436,288
Invalidation scheme for high level data models that is based on low level data
There is a saying about the most challenging aspects of software development is "Cache invalidation and naming things". This question is about the former of the two. Though the nature of the problem seems something that should be common, I did not find much reading on google. I'm working on an editor for production pla...
Conceptually, there are two separate steps: Invalidation Recomputation/revalidation For the first step, your high level model must know which changes in the low level model can cause it to become invalid, and it needs to listen to these events. For example, if a high level construct "loop" depends on its constituent lo...
0
1
19
2022-01-27T10:04:33.970
data_quality
softwareengineering.stackexchange.com
28,707
Recover a lost NTFS partition on the cheap?
I had a workstation running XP. Filesystem was NTFS, single partition over the entire drive. After an attempted XP repair install, suddenly the NTFS filesystem is just gone and the drive is showing up with a single 10Mb FAT32 partition with virtually nothing on it, except a directory with a smiley-face character (e.g. ...
The one, the only. TestDisk . Here's a rundown of the entire process.
4
5
3,491
2009-06-19T15:14:10.330
infrastructure
serverfault.com
303,966
How to create a custom database with 32k block size via DBCA silent mode?
I am trying to create an Oracle 19c single instance (warehouse) with dbca silent mode. The problem is, when I try the command below, it gets a warning: "Ora-0058: DB_BLOCK_SIZE must be 8192 to mount this database (not 32768)". Rest of the lines are full of errors. The command: [CODE] I assume this is because of the tem...
dbca -silent ... - gdbname ${ORACLE_SID} - sid ${ORACLE_SID} ... Is this creating a Pluggable database inside an already-existing Container database? If so, then the Block Size is defined by the Container database (which is a "real" Oracle database) and not the Pluggable database (which is, effectively, a Tablespace on...
0
0
900
2021-12-15T08:31:00.880
warehouse_errors
dba.stackexchange.com
312,529
Migrate SIDs on file ACLs between systems
Actually, what I've done is install windows 7 on my old XP machine, and since I went x64 and used to have x32, there was no upgrade path. I used the User State Migration Tool (USMT) to move a lot of stuff, and for the stuff it moved, it fixed the file/directory ACLs, but not everything. Quite a bit of data was just lef...
I used [CODE] to create a backup of all the permissions. Had to run as an administrator, or icacls couldn't read the ACLs to save them. Originally I wanted to use: [CODE] , but it won't work because it can't figure out the username for oldsid. So I just used a text editor, and brute force replaced all the references to...
0
0
1,233
2011-09-17T16:44:50.037
infrastructure
serverfault.com
311,625
Adding a column to a table if column not exists and fill the added column
I have a code that looks something like this [CODE] It will give error NewColumn does not exist. But if I run this normally without using @query = '' it runs fine. Also, what is it called when you run the code like this with the @query = ' text ' then exec?
You are executing them as one batch in dynamic SQL. So the compiler will not allow it, because at compilation time the column does not exist yet. It is not true that it would work when executed together. you are executing them line-by-line in separate batches. This works: db<>fiddle [CODE] [CODE] This does not: db<>fid...
2
5
5,067
2022-05-03T23:20:20.580
warehouse_errors
dba.stackexchange.com
1,116,417
Squid in docker returns 502 but works when run on host
I'm using the same config for squid 5.6 that runs on a host machine and in docker. When I run it on the host (Ubuntu 22.10) it works just fine but when I run it from [CODE] image I get 502 bad gateway error. Squid config: [CODE] This is how I run it via docker: [CODE] Logs when running squid on the host machine (works ...
It seems to be the problem with ubuntu/squid image not docker in general. The image is currently marked as beta or edge, not stable. I built a alpine-based squid image and it has resolved my issue.
0
0
368
2022-11-23T13:33:11.077
pipeline_ops
serverfault.com
289,136
Does Windows XP only allows 10 inbound TCP/IP connections at any one time?
Does Windows XP only allow 10 inbound TCP/IP connections at any one time ? I am trying to connect 40 clients to my webservice on Windows-XP and i get no connection
No. The limit is 10 connections for SMB file/print/IPC, not general purpose TCP/IP connections.
1
10
1,663
2011-07-11T17:29:30.877
infrastructure
serverfault.com
390,253
phpMyAdmin missing mysqli and mycrpt
I have a centos 6.2 box loaded the phpMyAdmin then I get missing mysqli then I yum install php-mysqli then I got to /etc/php.ini and put localhost under mysqli option for the host. So did I do the steps correctly? Now it gives my mcrpyt is missing? So what must I do please help ? I have tried yum install php-mcrypt but...
The php-mcrypt package is available in the EPEL repository. You'll need to configure this repository by downloading and installing the epel-release package before trying to install php-mcrypt.
-1
1
342
2012-05-18T04:52:35.900
database_errors
serverfault.com
413,602
How to log/graph memory usage over time in Windows server?
Seems like an simple question, but using Resource monitor and Performance monitor, I only seem to get snapshots of memory usage. What is the best way to determine what available memory was at 03:00 hours yesterday? Is it possible to do with the built-in perfomance software of windows server?
You can't do it retrospectively unless you've already created a working counter log but if you want to do this in the future then just create a counter log in perfmon.
0
2
3,708
2012-08-02T11:21:32.223
infrastructure
serverfault.com
477,448
MySQL keeps crashing: InnoDB: Unable to lock ./ibdata1, error: 11
I have a simple webserver (Debian 6.0 x86, DirectAdmin with 1 GB of memory and still 10 GB free space, mySQl version 5.5.9), however the mySQL server keeps crashing and I need to kill all mySQL processes to be able to restart it again. [CODE] output: [CODE] I have found a topic on the mySQL website here however there's...
another approach from one comment in the same blog: this helped me: lsof -i:3306 Then kill it (the process number) kill -9 PROCESS e.g. kill -9 13498 Then try to restart MySQL again. via http://www.webhostingtalk.com/archive/index.php/t-1070293.html
66
47
225,770
2013-02-10T22:01:18.210
database_errors
serverfault.com
295,288
Is it OK to use (WTF) forms to validate against stuff from DB?
Form classes are intended (IMO) for submitted data against rules. For example: are passwords equal, is end date later than start date. [CODE] Is it okay for Form classes to validate submitted data against data retrieved from a database as well? This seems like a responsibility issue, the Form class should responsible f...
By referencing your database directly, and especially by grabbing it out of a global, you are tightly coupling your presentation layer with your persistence layer. We should instead approach this problem with an eye to the SOLID principles. Instead of reaching into a global object to get the database connection, we sho...
2
1
2,146
2015-09-03T10:22:20.300
api_errors
softwareengineering.stackexchange.com
240,486
Sync Server Objects when having two or more Availability Groups
Lets imagine that i have two servers/nodes with TWO availability groups [CODE] and [CODE] . I will need to ensure that the server objects are all the time recreated over the secondary replica. If i have the [CODE] in one node as primary, and the [CODE] in the other node as primary, how will the sync of server objects b...
The server object are at the server level e.g. logins, jobs, etc. So you can just use [CODE] [CODE] What you are using is a much bigger umbrella that folks use for migration from one server to another.
1
3
217
2019-06-13T12:33:53.357
warehouse_errors
dba.stackexchange.com
1,103,881
Add self-made certificate as trusted
I have a locally generated root certificate (Company_CA.pem) used to sign PDF files. The signing process works fine and, after installing the public key on Adobe, I'm able to verify signatures and certificate. Now, I need to do that in the terminal, So, I'm trying to use [CODE] on a Ubuntu 22.04 Docker image. From my u...
The documentation for pdfsig on 22.04 there is an option [CODE] to specify the certificate database location. Otherwise it uses /etc/pki/nssdb or the database in the default Firefox profile, i.e. $HOME/.mozilla/firefox/*.default https://manpages.ubuntu.com/manpages/jammy/man1/pdfsig.1.html
1
0
881
2022-06-22T14:22:36.023
pipeline_ops
serverfault.com
35,535
Mysql. Block/disconnect slow queries
I am experiencing issue. Someone 'attacked' my server: simply by searching the same phrase with multiple requests. As it is text search request and database indices are not used, the engine searches through every row. In general I will deal with myisam full-text indices, but I am curious, is there any way to block/disc...
If you are using MySQL 5.1+, you can create a scheduled event in MySQL or a cronjob to poll the processlist from the information schema . What queries do you look for in the processlist? Any DB Connection that ... runs longer that 30 seconds not used for replication runs a SELECT query Here is that query: [CODE] Here i...
1
3
2,712
2013-02-27T07:35:41.807
database_errors
dba.stackexchange.com
953,966
iSCSI read errors during iPXE boot
EDIT: Substantially updated 2019-02-16 to include additional troubleshooting information. I've had iPXE and iSCSI environments in place for years now, but for the first time I'm attempting to do an iSCSI boot and the iPXE is having a problem with the conversation with the iSCSI target. The storage server [CODE] The bac...
The volume is LUN 2 on the storage server and iPXE needs to address LUN 2 explicitly. The storage server dosen't even have a LUN 0 so it not clear why the [CODE] succeeded. Somewhat embarrassing that it was something so stupid simple.
0
2
845
2019-02-14T15:57:06.463
infrastructure
serverfault.com
361,742
Is this contract on an API user is inevitable?
I am designing a UI framework in Java. Every UI component, represented by the class [CODE] , in the framework is identified by a non null unchangeable [CODE] key. So I get the key in the constructor itself and provided no setter. Now I have another class [CODE] which represents a component containing array of component...
As there is an external requirement on how the key of a child component is constructed, there must be some kind of contract in the construction of child components that ensures the format of the key. How to best implement this requirement depends on what percentage of all components in your system is a child component....
5
4
216
2017-12-03T06:03:25.370
api_errors
softwareengineering.stackexchange.com
33,749
SQL update satement taking a very long time / high disk usage for hours
Yes it sounds like a very generic issue, but I have not been able to narrow it down very much yet. So I have an UPDATE statement in a sql batch file: [CODE] B has 40k records, A has 4M records and they are related 1-to-n via A.B_ID, although there is no FK between the two. So basically I am pre-calculating a field for ...
Stick with UPDATE command. CURSOR will be slower for what you are trying to do. Drop/disable all indexes, including those for indexed views. If you have foreign key on A.X, drop it. Create index which will contain only A.B_ID, and another one for B.ID. Even though you are using Simple Recovery model, the last transacti...
8
0
64,227
2013-01-29T14:37:51.777
data_quality
dba.stackexchange.com
258,584
Automatic vacuum fails with `ERROR: XX000: cache lookup failed for type 0`
I've been noticing something like this popping up every 15 seconds in my server logs: [CODE] When I manually run a [CODE] it runs without any error, and the error in my logs goes away. However, inevitably, it returns again at some point. The table in question is defined as follows: [CODE] Many other posts with a simila...
As your investigation uncovered, you are suffering from this PostGIS bug ( bug number #4440 ). Your options: Update PostGIS to the latest minor release. The bug has been fixed in June 2019. Workaround: Use GiST rather than SP-GiST indexes.
0
0
1,588
2020-01-30T21:31:38.713
warehouse_errors
dba.stackexchange.com
845,075
How do I avoid an overbooked GCE zone?
Apparently if too many people use a zone, you won't be able to start instances back up. Starting VM instance Error: The zone does not have enough resources available to fulfill the request As I'll need to move the instance to a new zone, how do I know which zones are at high capacity so that I may avoid those? I'm thin...
The information you are looking for is not publicly-available. However, if you know what your needs will be in the longer-term, you can utilize committed use discounts , which will guarantee capacity for you in your zone of choice. I'll also mention that due to the highly transient nature of many public cloud deploymen...
5
5
5,026
2017-04-18T13:43:14.257
infrastructure
serverfault.com
462,340
What is limit for user and kernel space after enabling /PAE option in server?
By default in 32 bit system, 2 GB is allocated to user space programs and 2GB for kernel space programs. Now, if we add /3GB option in boot.ini user and kernel space get respectively 3 and 1GB. We are using one server which is running MS Windows 2003 32bit with /3GB option, /PAE option with 4GB RAM and 4GB page file, h...
/PAE doesn't change the user and kernel virtual address space assignments that were changed by using /3GB, but, you should not use /3GB and /PAE at the same time. Per Microsoft: When the physical RAM in the system exceeds 16 GB and the /3GB switch is used, the operating system will ignore the additional RAM until the /...
0
5
879
2013-01-02T15:16:19.327
infrastructure
serverfault.com
558,644
ESXi - What could be the cause of high write latency on a local datastore?
I have a ESXi 5.5 server and I'm experiencing high write latency on a local datastore. This datastore is on a virtual disk provided by a RAID card (two SATA disks on RAID 1). When I copy large files, it takes ages to complete the transfer and write latency averages 84ms! This is way too much. I know RAID 1 doesn't impr...
SImply said your problem is: (two SATA disks on RAID 1). Turn it how you like, but two likely very slow discs are 2 very slow discs and nothing except heavy caching will work around it. You have a small IOPS budget right there and the only thin that can fix that is having a larger one. Example - using Raid 10 with 8-10...
0
3
4,829
2013-12-02T11:34:16.300
infrastructure
serverfault.com
18,192
Problem with drop-down menu
I'm new to Selenium Webdriver and I have a problem with a dropdown menu. I compiled my code but sometimes it returns the error: [CODE] Sometimes it executes the script normally. I really do not know how to resolve this problem. A piece of my html code: [CODE] My code: [CODE]
Check with different xpath & use implicitly wait instead of 'Thread.sleep' -See below [CODE]
3
3
872
2016-04-20T13:07:51.233
data_quality
sqa.stackexchange.com
375,374
Apache Running Processes
Ok I host a website through a VPS with 1&1 and I'm worried about running out of processes. From Parallels they have set a hard limit of 128 numprocs I have had some problems with my website just completely stopping and throwing me an error when I hit that limit. Right now I'm at 52 numprocs (not bad). Does Apache creat...
Apache creates one child process per request to maintain a certain configurable number of servers. Its not difficult to configure, but it is a little confusing. Take a look at: http://virtualthreads.blogspot.com/2006/01/tuning-apache-part-1.html Also, nginx is excellent for a VPS, its very lightweight and powerful. I w...
2
3
430
2012-03-30T20:03:38.597
infrastructure
serverfault.com
383,709
encryptfs auto-mounting script
I'm trying to make a script, that creates and mounts encrypted directory using ecryptfs(on ssh logons(with passphrase sent via pipe) and by some other scripts). I know about ecryptfs-setup-private already. What I'm trying to do: [CODE] And it fails for some reason with following output: [CODE] What am I doing wrong?
What version of eCryptfs are you using? I believe we released a fix to this bug in ecryptfs-utils-94 : [CODE] See bug #683535 . Full disclosure: I'm one of the authors and maintainers of eCryptfs.
2
0
2,055
2012-04-27T07:33:52.577
infrastructure
serverfault.com
14,832
The Joel Test for system administrator jobs
Based on “Organizational issues” — sore spots of IT? I think it would be fair to say that system administrators need to determine if a place is worth working at. There is a similar well known test by Joel for programmers . What are the 12 questions system administrators should ask at an interview in order to help them ...
Do you use an incident/ticket tracking system?
142
101
25,708
2009-05-29T16:59:17.543
infrastructure
serverfault.com
96,344
Rule based prediction for known data
Lets say we have trained our model on 900 records (training data) . During prediction on test data of 100 records, assume model produces 95% accuracy. The question here is, can a mechanism be built, or is there already one, which does not go by prediction route if the data is already part of training data? Reason for t...
Let's first assume a textbook version of the "data". OP's suggestion is easy to implement: one just need a map containing all the training instances as keys with the true answer as value. First, there's the problem of noise and inconsistencies in the training data: if the exact same instance appears 8 times labelled as...
1
0
31
2021-06-06T18:29:43.430
data_quality
datascience.stackexchange.com
1,040,577
Squid IP Routing Issue
I have a squid server installed with 30 additional proxy addresses. Whenever I try to use one of these proxy addresses with a browser, like chrome, my IP shows as the main server IP as opposed to the additional address. For example, say the home IP is 192.0.0.10 and the additional IP I'm trying to use is 192.0.0.13, wh...
This happens because the address selection for the outgoing connections from the server is independent process. The outgoing address selection algorithm is described in http://linux-ip.net/html/routing-saddr-selection.html . The order is: Application request for particular IP [CODE] hint for chosen route path First add...
0
0
783
2020-10-29T20:43:35.473
infrastructure
serverfault.com
542,655
Zabbix: Nagios like hosts/services status list
How can I have a screen or view in Zabbix where I can see all or all problematic services/hosts in a status list like the one in Nagios? Below a screenshot of Nagios problematic services status list for those who are not familiar with Nagios. I have looked high and low (manual, google, forums, faqs), but could not find...
Zabbix has no direct analog for this page, and I for one am glad. That Nagios page really doesn't give me a good sense of priority, precisely because the alerts are grouped by host. So it's much less useful than it could be. The best you can really do (and probably should have already done) is to define IT Services . T...
3
3
3,485
2013-09-30T12:27:42.007
pipeline_ops
serverfault.com
286,124
Return only records with a date after the most recent September 1st
I have a table with data with a date column called "dtAssessmentDate" in a table called "tblAssessmentRecords". What I want to achieve is for a select query to return only the records from that table where the date value is after the last September 1st. For example, if the current date is #27/02/2021# then the query wo...
Answered my own question, leaving it here for refence for others as I couldn't find the solution anywhere else. By adding 4 months to the date from "dtAssessmentDate" I was able to make the range of values I needed to return as any date from a single year. I extracted the year I am looking for by doing the same 4 month...
1
0
58
2021-02-27T11:07:02.300
warehouse_errors
dba.stackexchange.com
204,386
MySQL query time-out available?
Is there a way to associate a time out to a query sent to the MySQL server? Expected behavior MySQL server would trigger a time out if the query did not complete after a time T provided by the caller No result would be returned to the caller An error would be triggered instead (and caught by the caller). Didn't find th...
Have a look at this link from stackoverflow. It may not meet all your requirements (stated above), but I think it will help. If you specify which programming language you are using to connect to MySQL server, you may find a better way to do it.
5
3
6,467
2010-11-21T07:31:23.950
database_errors
serverfault.com
309,659
Can't access BIOS - (NEC Express 5800 140hd)
When i try to enter the BIOS pushing F2 when asked ( "Push F2 to enter..." ) i can see "Entering the BIOS..." for 3 seconds on the screen and then my server continue to start normaly. (notice: i can hear an alarm) Battery issue ? Can I try to flash with the latest (old) FW ? Thanks for your help an suggestions.
Can/have you reset the CMOS?? Maybe there is a stuck setting. I think if you flash the bios you may take everything with you (settings) to the new version.
0
0
276
2011-09-09T07:37:10.923
infrastructure
serverfault.com
86,665
Finding Correlations in two Datasets
I have an assignment where I am trying to find correlations between Lightning Strikes and Telecommunication damage. The two datasets consist of many columns (especially the human-recorded Telecommunication damage one), but let's assume it was something like this : Telecommunication_Damage_df.columns = (timestamp, geolo...
About the type of problem: apparently here the goal is not to do any kind of supervised learning, it seems to be more a kind of descriptive task. The first thing I would try to do is to align the two datasets, i.e. merge them based on events in one occuring at the same time and place as in the other one. In order to do...
0
0
32
2020-12-14T12:27:29.553
bi_errors
datascience.stackexchange.com
516,408
Ubuntu 12, cannot change date and time
whenever I try to set the date from either the command line, or using the Settings window, the new value is always reverted after a few seconds. I have tried many things: e.g. date 062120002013.00 This gives me the future date I want of Fri Jun 21 20:00:00 IST 2013. However, 1 second later running the date command give...
from http://www.virtualbox.org/manual/ch09.html#disabletimesync Disabling the Guest Additions time synchronization Once installed and started, the VirtualBox Guest Additions will try to synchronize the guest time with the host time. This can be prevented by forbidding the guest service from reading the host clock: [COD...
1
4
2,224
2013-06-17T16:52:29.507
infrastructure
serverfault.com
739,517
Outlook clients still trying to connect to old exchange after migration
We recently replaced an old exchange server (srv1) with a new exchange server (srv2). So the host names have changed. Migration was fine and mail flow works as expected, however the issue we have is that all internal outlook clients (2003/xp) are still trying to connect to old exchange hostname (srv1). So when you open...
Turns out the client is still using Outlook 2003. We only had access to Exchange so this wasn't immediately apparent. Assuming this is the cause as it doesn't support auto-discover and everything else works correctly.
0
0
1,091
2015-11-28T20:19:27.120
infrastructure
serverfault.com
226,648
Cannot access internal network on OSX 10.6.6
Last week, I began having trouble connecting to our internal web servers. Usually, a refresh would take care of it or switching to a different wireless network, but as of yesterday, this wasn't enough. We have an internal DNS server using dnsmasq and a private internal host name (us.lcl). Once I started having more iss...
Please run the following from your 10.6 machine and verify the dns search-order to be the way you want it to be: [CODE] As of 10.6.3 the order of DNS servers has become dynamic, it might be that your problem is a result of that. See also: http://reviews.cnet.com/8301-13727_7-10471471-263.html
1
0
753
2011-01-25T14:36:18.860
infrastructure
serverfault.com
267,193
Setting an FTP Server Access on EC2 - Filezilla Client Stucks, WinSCP Rules?
After spending long painful hours circumventing group security AND windows 2008 server Firewall, and setting up FIlezilla Server on an amazon EC2 instance with the correct settings (feeew !), I was finally able to connect to my FTP Server remotely. However, Filezilla kept taunting me by spitting a " Failed to retrieve ...
You have to change the FTP mode on your FileZilla client to active. If you're connecting using FileZilla Client, make sure you are connecting using Active Connection (default is passive). Edit | Settings | Connection FTP: choose Active FTP | Active Mode: choose " Ask your operating system for the external IP address " ...
5
4
8,656
2011-05-07T01:26:10.113
infrastructure
serverfault.com
13,656
Selenium webdriver not recognizing div element
I have found several questions related to this one particular travel website MakeMyTrip , so I tried to automating it. I was successful in selecting the primary details and getting on the Flight listings page. I wanted to select the cheapest flight combination out of the available options. Now the website has an option...
Is your element placed inside an iFrame? If it's in iFrame, you should switch driver to that iFrame first and then try to access the element. OR You could also try accessing the element with [CODE]
1
1
4,235
2015-07-01T14:52:11.693
data_quality
sqa.stackexchange.com
533,473
Is this CentOS 6.2 system reasonably secure as described?
This is a CentOS 6.2 system. For my login with the hosting company website, I set a 20-character mixed case, letters, numbers, symbols password and enabled two-factor authentication. In [CODE] I turned off remote root login and turned of password-based login. I'm running sshd, Apache, SSL, and MySQL on standard ports (...
No, it is not secure. It is CentOS 6. 2 , which is rather old. You should update to the latest released CentOS 6.x and keep doing so. I would also not automatically run yum update, but get nagios to alert you when there are security updates, so you can update manually. Your firewall is reasonably safe, but I'd replace ...
-1
3
89
2013-08-24T15:16:39.997
api_errors
serverfault.com
967,621
Nesting Email Distribution Groups into job code Groups
My company wants to create job code groups. A single group for a single job code. For example, if Bob is a courier, the only groups he will have is the "Domain User" and Courier. Couriers are part of 3 distribution groups, 1 universal and 2 global. They are also in 4 global security groups and 1 mail-enabled global sec...
If there is an NDR message? Check the message tracking log towards this DG using Get-MessageTrackingLog -Recipients DG@domain.com. Are all the groups you mentioned mail-enabled universal distribution or security groups? You can use Enable-DistributionGroup command to enable an existing universal group. Here’s an articl...
0
1
81
2019-05-16T14:45:32.340
infrastructure
serverfault.com
684,424
How To Tune Apache on Ubuntu 14.04 Server
Currently on my Apache 2 (Apache 2.4.7 to be exact) on Ubuntu 14.04, I have this setting: /etc/apache2/mods-enabled/mpm_prefork.conf [CODE] The server is an 8GB (RAM) Amazon server that does nothing more than load up a three-page signup form for some Google ad campaigns. I found a script called apachetuneit.sh on the w...
Recognize that Ubuntu 14.04 uses Apache 2 with PHP running through an mpm_prefork module, of which an editable file is in /etc/apache2/mods-enabled/mpm_prefork.conf. Also, recognize that starting in Apache 2.4, MaxClients is now renamed as MaxRequestWorkers , and so any documentation regarding MaxClients needs to be sw...
18
48
67,573
2015-04-21T17:32:01.520
infrastructure
serverfault.com
405,917
How specific is hardware optimization when building from source/how do I know?
How specific is hardware optimization when building from source and what should I look for in the documentation to decide if building for my hardware might be worth it? From threads like this one I gather that optimization for my "CPU and environment" is a possible advantage, but that there are also risks. How does one...
You should tell the compiler what is the minimum CPU that your code is running on, so it knows what CPU features are definitely available and can use them (and avoids CPU features that are not available and would crash if you try to run the code). You can also tell the compiler which CPU it should optimise for . The co...
-3
1
216
2020-02-29T11:16:16.157
api_errors
softwareengineering.stackexchange.com
909,149
IIS Rewrite Module and Static Compression
I've seen posts that say that you cannot use Static Compression in conjunction with IIS Rewrite Module Outbound rules. In our configuration, we don't have any Outbound rules, just an Inbound rule (used to configure IIS as a reverse proxy) Dynamic Compression works, but Static Compression does not work. Can anyone confi...
Thanks to @milope - who identified the cause of the problem (see comments). The solution is to disable Static Compression on the Proxy site. Then enable Caching with Compression in the Application Request Routing Cache IIS module.
0
0
853
2018-04-24T08:47:17.997
infrastructure
serverfault.com
989,099
User accounts getting locked out for unknown reason after enabling Fine Grained Password Policy (FGPP)
For my organization of around 6000 users, I just did three things. Set "Default Domain Policy" password requirements to "not defined" Set a Fine Grained Password Policy for your basic 8 characters w/ complexity for Domain Users Set a Fine Grained Password Policy for IT (in the IT group, about 100) with more strict rule...
If you use RADIUS authentication in your business, I had similar issue when a device, like a handheld telephone was using WIFI with AD password of the user(s). The device was causing the account lock. In your security event log if you can catch a error log you will see a source IP of 0.0.0.0 when it happen in the accou...
0
0
295
2019-10-23T12:26:59.337
infrastructure
serverfault.com
940,964
PHP (7.1) issue with mail , openssl , certificate
In the php.ini I have: [CODE] this line allow email from PHP with SMTP to be sent from PHP es Wordpress or PHP application as i use mydomain.ext certificate. Now that I need use composer I discovered this line generate SSL error when PHP app like composer try to download data. The error is: [CODE] If i remove the php.i...
Solved https://github.com/composer/composer/issues/7797#issuecomment-440680491 In centos the position seems to be little bit different How to add Certificate Authority in centos7? I found it on etc/pki/ca-trust/extracted/openssl
0
0
4,790
2018-11-20T22:14:18.283
data_quality
serverfault.com
306,754
Is nginx good for dynamic content?
I want an alternative for apache, lighthttpd has memory leaks problems so i can't go for it, i keep reading that nginx is good for static content but is it good for php-mysql dynamic video sharing content? I have read also that a good option is to run apache and nginx together for dynamic content, but i don't want to u...
To be blunt, anyone who runs nginx proxied to Apache (or vice versa) needs their head examined. It doesn't help anything useful, and I wish all the articles recommending it would die in a fire. That little rant done, nginx is as good for dynamic content as you'd ever want -- it proxies all dynamic content to a backend ...
6
11
11,059
2011-08-31T10:22:38.380
database_errors
serverfault.com
216,427
Hanging of host network connections when starting KVM guest on bridge
I've a KVM system upon which I'm running a network bridge directly between all VM's and a bond0 (eth0, eth1) on the host OS. As such, all machines are presented on the same subnet, available outside of the box. The bond is doing mode 1 active / passive, with an arp_ip_target set to the default gateway, which has caused...
Can you please post [CODE] from before and after you start the VM?
0
0
1,290
2010-12-27T15:24:02.893
infrastructure
serverfault.com
156,044
Alternative to removing ONLY_FULL_GROUP_BY
After upgrading from MySQL 5.5 to MySQL 5.7 I'm getting an error with some of my queries: ERROR 1055 (42000): Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'grocery.Product_Category.category_id' which is not functionally dependent on columns in GROUP BY clause; this is incompa...
I would suggest rewriting the query in a way that minimises the number of columns necessary to put into GROUP BY. In your case you can do that by applying the grouping to the [CODE] table only. According to your example, that table has the following entries: [CODE] Since you want product names to be unique in the outpu...
6
5
6,652
2016-11-22T16:37:38.940
database_errors
dba.stackexchange.com
408,900
Demoted 2003R2 DC SRV record still listed in DNS
Yesterday I demoted a 2003R2 DC (but forgot to remove the DNS role), removed it from the domain, changed it's IP address and shut it down. Everything went pretty well (minus a host of authentication issues across the domain until I added the old IP for this DC to it's replacement 2008R2 DC) but I'm still seeing four SR...
This might be indicative of a replication problem in your environment. You should use [CODE] and [CODE] to make sure that there aren't replication problems. If there aren't you might consider using [CODE] to do a metadata cleanup since it sounds like the demotion might not have happened cleanly despite the wizard's com...
3
5
3,863
2012-07-18T16:31:15.647
api_errors
serverfault.com
1,094,044
haproxy not working when upgrading to version 2.2 (reqadd doesn't exist any more)
[I erronously had posted this question on stackoverflow] On my debian buster server I had a perfecly working haproxy (v1.8), which I use for managing certificates for my web sites. haproxy listens to port 443, and passes requests to a varnish+apache system. When upgrading to debian bullseye, the haproxy (v2.2) service ...
I think you can just use: [CODE] As discussed here: https://stackoverflow.com/questions/51928504/x-forwarded-proto-https-in-frontend-or-backend-haproxy
2
5
4,446
2022-02-18T03:05:40.547
infrastructure
serverfault.com
1,148,988
Failed to make rsyslog filter to particular file
I configure the rsyslog server with /var/rsyslog/foo.conf to accept the udp messages [CODE] And try to filter the log contents start with "foo" to /var/log/foo.log. I have tried several filters. [CODE] Nothing is working. I can get the proper in /vag/log/syslog but no way to filter it and output to foo.log. the message...
I debug the rsyslog and solved the problem. the log got in the [CODE] was: [CODE] Which means the [CODE] would be recognized as [CODE] not [CODE] . To send message according to the RFC5424 format solves the problem: [CODE] in this case the syslog would log like hereunder: [CODE] And the filter works fine.
0
0
50
2023-12-02T17:19:19.733
infrastructure
serverfault.com
205,382
What are the requirements for an open-source license inside an open-source license?
If I include an open source library in my project that is licensed under the MIT license, but contains BSD-licensed code that requires attribution (correctly attributed inside the project), is it my responsibility to attribute it again if I decide to use that library? Normally this is not a problem (I would just credit...
BSD does not always require one to credit the author in the gui of their appplication. As a matter of fact, only the 4-clause license (original "BSD License") requires attribution outside the source code and binary code of the application. It states as follows: [CODE] The revised 3-clause licence has removed clause #3....
1
2
310
2013-07-19T08:15:01.270
api_errors
softwareengineering.stackexchange.com
365,814
libapache2-mod-auth-kerb: access to / failed, reason: user 'd_inevitable' does not meet 'require'ments for user/valid-user to be allowed access
I am not sure if this is down to libapache2-mod-auth-kerb, apache2-mpm-itk or apache2 in general. The error message itself is very cryptic: [CODE] I am trying to create a development server for all development users. First I have tried to use a single virtualhost for it: without success. No am setting up a new virtual ...
Semicolons aren't syntax in Apache configuration. Your [CODE] literally requires the username to be [CODE] , while your user is named [CODE] . Remove that semicolon and the user should have access.
1
1
1,173
2012-03-02T20:35:20.103
infrastructure
serverfault.com
398,482
Server Hanging - Server Event Viewer
We are experiencing problems with our dedicated server, where it is hanging quite often (sometimes in the space after a few hours after a power cycle). I've looked in the Events Viewer and under SYSTEM, there are thousands of events that have been recorded. The most predominant event is ID: 1012 "Remote session from cl...
Sounds like Remote Desktop is exposed to the Internet and you're seeing the results of failed login attempts. I'd advise getting someone with networking experience to take a look at your setup. If your server is exposed to the Internet with no firewall enabled and no perimeter firewall, this is a recipe for disaster.
0
3
5,990
2012-06-13T21:02:48.180
infrastructure
serverfault.com
401,441
At least one service failed on startup, WHS 2003
I'm getting this message on startup on WHS 2003. The problem I'm getting is that it then will not go any further than "applying computer settings". It won't bootup in safe mode, and it won't boot off the cd. Every post that I've seen with this issue suggests fixes that involve actually getting into the system. Any sugg...
More detail might be helpful, but it honestly sounds to me like it might be time to boot into the recovery console, restore from backup, or rebuild the machine, as appropriate. Before doing so, you'll probably want to troubleshoot the error as much as possible - unplug/disconnect peripheral devices and anything else yo...
-1
1
157
2012-06-22T19:48:11.260
infrastructure
serverfault.com
541,909
Mac server infected with spam agent
We have a huge trouble :( .. Our mac server makes a spam delivery. Our IP already blacklisted in about a dozen of servers (checked with http://mxtoolbox.com/ ). We have another computers in the same networks, including PC. What I already did and discovered: I found a spam emails in the "Server Admin app"->Mail->Mainten...
Spam messages in the postfix message queue could mean a number of things: Your mail server is acting as an open relay. An open relay means that your server is accepting messages from any client on the Internet, and relaying them onward. Open Relays are quickly picked-up by spammers and quickly blacklisted. To see if yo...
1
5
1,589
2013-09-26T15:32:42.997
infrastructure
serverfault.com
1,104,598
ssh ProxyJump and Port Forwarding with hostbased authentication
I am trying to access a compute node on a cluster via the head node of the cluster and a public entry node. The user is known on both the entry node and the head node, but not and also on the compute node. However, passwords are not available on the compute nodes. Access to the compute node is via hostbased authenticat...
I managed to achieve what I wanted with the following: [CODE] So I am just logging into the head node via the jump host and then forwarding my local port to that of the cluster node. The hostbased authentication allows the forwarding to work without a password being needed for the cluster node. I hadn't realized that t...
1
0
1,210
2022-07-01T13:26:43.170
api_errors
serverfault.com
1,490
How to configure gitlab-runner to run in the same docker host as gitlab?
I have a gitlab instance running in a docker container. Now I would like to setup gitlab-runner on the same host. Both are running: [CODE] I registered a docker image as a shared runner: [CODE] The registered image [CODE] is a custom image with the correct settings.xml and it is listed in [CODE] . But still the pipelin...
Management Summary Set the [CODE] to [CODE] in the [CODE] section by calling: [CODE] Detailed Description It seemed the problem was a confusion with images and mounted volumes. The documentation says to configure runners in: [CODE] Which I did, but on the host machine. When running [CODE] in a docker container, it moun...
7
6
3,554
2017-07-07T06:30:35.773
pipeline_ops
devops.stackexchange.com
24,906
Getting correct locator for an angular page element
I am trying to get the Xpath of a label text in a web page that I am trying to automate. The application is angular based, so there are a lot of angular related stuff on the page. However, I am trying to automate this using Selenium and Python. The element in question is the error message highlighted in the image - The...
The reason the first two don't work is because you didn't include the full class value for either the form or div element in your xpath. Try [CODE] OR [CODE] Note the use of contains() to match against a partial value. I've found this to be very useful when working against angular. But why not simply get the label itse...
3
5
23,687
2017-01-16T22:50:09.290
data_quality
sqa.stackexchange.com