Questions tagged [configuration]

Configuration is a general term that can refer to the arrangement of functional units according to their nature and characteristics. Also, it can refer to software configuration which more suitable for server-related topics.

Filter by
Sorted by
Tagged with
8 votes
3 answers
20k views

IIS 7.5 Unable to write configuration file

I have a fault regarding IIS 7.5 on Win Server 2008 R2, whenever I try to change any site bindings or start an application pool I get the error below: Filename: \\?\C:\Windows\system32\inetsrv\config\...
flumeware's user avatar
8 votes
3 answers
14k views

Understanding exim configuration files on Debian/Ubuntu

I want to understand what's going on with this Exim configuration directory. In /etc/exim4, there's: * exim4.conf.template * update-exim4.conf.conf * conf.d The conf.d has a mess of directories and ...
bobobobo's user avatar
  • 798
8 votes
1 answer
6k views

How to check if dovecot's configuration is valid? (config file syntax)

Is there a command that I can issue that will tell me if the current set of config files for dovecot are valid or if there's an issue? I just made a change to my dovecot config files. Before ...
Michael Altfield's user avatar
8 votes
1 answer
1k views

Is there a global config file for Unison synchronization tool?

I'd like all my unison profiles to have merge = Name * -> meld CURRENT1 CURRENT2 diff = /usr/bin/meld CURRENT1 CURRENT2 confirmmerge = true as options. I know I can add these options to each .prf ...
mp04's user avatar
  • 217
8 votes
3 answers
13k views

PHP: what is --enable-zend-multibyte configure option for?

What is exactly --enable-zend-multibyte option for when you ./configure PHP?
Vladislav Rastrusny's user avatar
8 votes
5 answers
17k views

Methods for analyzing Red Hat sosreport output?

For some time (since EL 4.6), Red Hat has embedded a system report and troubleshooting tool into the operating system. The tool, sosreport, collects system information and settings and bundles it into ...
ewwhite's user avatar
  • 198k
8 votes
1 answer
20k views

Is there a way to increase the maximum allow url length for incoming requests on Apache HTTPd?

I'm running a web services site on Apache HTTPd and every once in while I get an error indicating the incoming URL is too long (HTTPError: HTTP Error 414: Request-URI Too Large). My site is servicing ...
Boaz's user avatar
  • 2,259
8 votes
2 answers
14k views

how to configure open ldap to work on localhost

From the documentation: Use your favorite editor to edit the provided slapd.conf(5) example (usually installed as /usr/local/etc/openldap/slapd.conf) to contain a BDB database definition of ...
Itay Moav -Malimovka's user avatar
8 votes
2 answers
1k views

debian, diff, config default

I want to know if is posible to get the diff on the original versus the current config files of installed debian packages. If found an answers which shows up the modified config files, but I find no ...
Neoecos's user avatar
  • 183
8 votes
2 answers
3k views

Is it possible to generate openssl configuration file from an existing x509 certificate?

I am looking for a way to restore openssl configuration from an X509 certificate (or a csr). I know it's possible to look at the certificate and manually reconstruct the config file but it's ...
cyc115's user avatar
  • 183
8 votes
1 answer
16k views

How to Disable TLSv1.0 and TLSv1.1 in Nginx

I'm trying to figure out how to disable TLSv1 and 1.1 Nginx and ONLY allow connections on 1.2. This is for testing reasons more than in production use and for the life of me cannot figure out why ...
Lost's user avatar
  • 81
8 votes
3 answers
514 views

Using revision control for Windows server configuration?

Does anyone have experience with Puppet or cfengine like setups for a Windows server environment? Is there such a thing? I am looking to track configuration file and file security changes over a ...
Eric H's user avatar
  • 748
8 votes
1 answer
2k views

How do I get an aggregate of all the stats from all uWSGI vassals using uwsgitop?

TL;DR Can anyone tell me how I may get uwsgitop to monitor all of my vassals in my emperor-vassal setup in one shot? I have an emperor-vassal setup for my uWSGI server, and I need to monitor all my ...
Anish Ramaswamy's user avatar
8 votes
2 answers
14k views

Can't successfully run Sharepoint Foundation 2010 first time configuration

I'm trying to run the non-GUI version of configuration wizard using power shell because I would like to set config and admin database names. GUI wizard doesn't give you all possible options for ...
Robert Koritnik's user avatar
7 votes
5 answers
28k views

Issues with nginx autoindex

I am trying to set up nginx so that a certain url produces the directory index of a certain directory on my server. Currently this is what my default.conf looks like. location / { root /...
Varun Madiath's user avatar
7 votes
3 answers
53k views

Disable windows file shares without losing share config

Background We're currently upgrading an old app from running on Windows Server 2003 to running it on Windows Server 2012. Users and other systems communicate with this system via HTTP (i.e. users ...
JohnLBevan's user avatar
  • 1,312
7 votes
4 answers
7k views

which images dockerd starts automatically?

Once I have restarted the docker service on Ubuntu box with service docker restart it started some of the containers I didn't expect it to start. Why is that? Which config file/storage/whatever ...
Max Kosyakov's user avatar
7 votes
3 answers
14k views

How to detect ssl in shared 80 / 443 ssl nginx server config?

When nginx server is configured this way: server { listen 80; listen 443 ssl; server_name www.example.org; ... } how can be detected that the request came via HTTP or HTTPS? (E.g. $...
mykhal's user avatar
  • 183
7 votes
2 answers
32k views

CentOS default ssl.conf file

Does anybody have a default ssl.conf file for the latest version of CentOS? I am trying to understand if I can use the auto-generated SSL certificate, but I accidentally overwrote it with another ssl....
Adrien Hingert's user avatar
7 votes
1 answer
459 views

What are compelling use cases for having both Chef/Puppet and RightScale/Scalr?

I was wondering about the differences between cloud computing management tools and server configuration software as there seems to be an overlap between them. I would like to have some feedback from ...
Anonymous's user avatar
7 votes
1 answer
22k views

Apache ProxyPass only if from a Subdomain

I have two servers, both running Apache. Server 1 and 2 are on the same Public IP address. Server 1 has a Network IP of 192.168.1.101 Server 2 has a Network IP of 192.168.1.102 example.com goes to ...
Yoshiyahu's user avatar
  • 195
7 votes
3 answers
7k views

UTF-8 and !# shell scripts

Is there a way to configure bash on Linux (red hat and ubuntu) to allow shell scripts to be encoded in UTF-8? I can't find a simple way to change just one little thing and have the whole system just ...
sal's user avatar
  • 827
7 votes
1 answer
686 views

Keeping configs, user ids, groups and passwords consistent across Linux-servers

I have a couple of Debian servers with only little users and services. The applications are kept as far as possible in their own directories where they can be backed-up or synced easily. But I have ...
Martin's user avatar
  • 336
7 votes
2 answers
805 views

Should Production Windows Web Servers (IIS & SQL) be in a domain?

We have a few web servers and a few database servers. To date, they've been standalone machines that are not part of a domain. The web servers don't talk to each other, and the web servers talk to ...
Tom Lianza's user avatar
7 votes
2 answers
3k views

Postfix server configuration values explained?

I am trying to setup a single server to send out email from a single domain but I'm having trouble identifying the correct values for these Postfix settings. mydomain = example.com myhostname = ...
Xeoncross's user avatar
  • 4,539
7 votes
4 answers
11k views

How to make spamassasin reject mail based on score?

I am running Linux with Postfix, Dovecot, Postgrey and spamassasin/spamd. This is my main.cf smtpd_recipient_restrictions = permit_sasl_authenticated, ...
Van Nguyen's user avatar
7 votes
8 answers
5k views

What configuration items do you track for proper configuration management? [closed]

As a professional system administrator, what configuration items do you consider it essential to track to perform proper configuration or change management? For example, in Windows, do you track ...
romandas's user avatar
  • 3,362
7 votes
2 answers
7k views

How would you add a share to smb.conf via a script?

I'd like to script adding a share to a smb.conf file. My current script just appends it to the end of the file, but that's not ideal. I'd rather have something that will add a new share if it doesn't ...
Benjamin Peikes's user avatar
7 votes
3 answers
21k views

How to find out what program is sending emails

I have linux (debian) box which is running fine. However I have problem I need to find out what program is sending emails when i use "mail" command. Or for that matter when a PHP script is sending ...
Sinan's user avatar
  • 191
7 votes
4 answers
26k views

haproxy NOSRV issue with redirected port

I am attempting to catch http traffic on one port (8080) and redirect it to an internal port (12345). I have the following in my haproxy.cfg frontend rest_front bind *:8080 #reqadd X-Forwarded-...
user avatar
7 votes
1 answer
11k views

Is there any way to see the group_vars, host_vars, etc. available to a host in ansible?

So I just started a new company, and while familiarizing myself with the ansible repository, I was wondering if there's any way to see the variables that come from group_vars, host_vars and all that ...
Luis F Hernandez's user avatar
7 votes
2 answers
7k views

iptables SSH connection logging

Is it possible to only write a log-entry when a connection is established ? I have tried: iptables -I OUTPUT -p tcp --dport 22 -j LOG --log-level notice --log-prefix "outgoing ssh connection" to log ...
phenom135's user avatar
  • 107
7 votes
2 answers
6k views

Best way to restrict some SSH users to publickey authentication only (disable password authentication)

I'm running Mac OS X Server.app on Yosemite and I have SSH enabled for users with the default settings in /etc/sshd_config (publickey and password auth enabled by default). However, I need to ...
cdwilson's user avatar
  • 133
7 votes
1 answer
5k views

Is Jenkins/Hudson ciphered password storage "safe"?

In setting up our Jenkins/Hudson server recently it became clear that it has to store passwords. It seems that it stores the passwords "ciphered" in config.xml I can't see how this would be safe as ...
Catskul's user avatar
  • 1,969
7 votes
1 answer
30k views

Can't change NGINX timeout

I'm getting a 504 timeout on my Nginx server: 504 Gateway Time-out. The website allows users to download custom data files. The site works fine under most conditions and users can download some files ...
Jeff's user avatar
  • 243
7 votes
1 answer
4k views

Using DocumentRoot as a variable in other sections of Apache config file

Is there a way to use the DocumentRoot as a variable in further sections of a site's config file in Apache? Something as below: DocumentRoot /var/www/myNiceRoot <Directory $DocumentRoot/mySubDir&...
a1an's user avatar
  • 457
7 votes
1 answer
25k views

OpenVPN Server hangs at "Initialization Sequence Completed"

I have been trying to get an OpenVPN server setup on FreeNAS (not the most straight forward choice, I know) and have run into a puzzling error. It seems that the server is hanging after the "...
MysteryMoose's user avatar
7 votes
2 answers
13k views

Rewrite URL before passing to proxy Lighttpd

I'm trying to setup a reverse proxy in lighttpd, such that all requests (and only those requests) under /mobile/video is redirected to the / directory of a secondary web server. This is pretty easy in ...
futureelite7's user avatar
7 votes
1 answer
9k views

Nginx point subdirectory to root

How can I point www.domain.com/ru/ to open the content of www.domain.com/ ? Not a redirect. I have tried alias and root but can't figure how to make it work. Thank you.
dima_mak's user avatar
  • 145
7 votes
1 answer
12k views

nginx - deny all *.php requests except index.php for security reasons

os: CentOS 7 nginx: 1.6.2 httpd: apache 2.4.6 cms: Drupal 7 After my server was compromised I removed all from server, reinstalled OS and soft, and restored data from backup. Now I configure all ...
Sergey Serov's user avatar
7 votes
1 answer
19k views

Configure PHP to use a proxy?

Using PHP 5.2.6 and need to configure it to use our forward proxy (which requires authentication be set) so that the PHP scripts can connect to the internet correctly. I see that PHP.INI in the 4 ...
Robert MacLean's user avatar
7 votes
2 answers
868 views

Securing the primary Ansible user

It seems that there are only two reasonable approaches for the primary Ansible user: Using root Using another user (e.g., ansible) with NOPASSWD sudo access The first option is a no-go since I ...
Belmin Fernandez's user avatar
7 votes
2 answers
8k views

Apache - Include conf Files Relative to ServerConfigFile (-f arg)

I want to use the -f command-line option for the Apache server so that I can store the conf files in a separate place (a data diectory) from the server binaries. The problem is that I use the Include ...
Synetech's user avatar
  • 948
7 votes
5 answers
6k views

Creating a fallback error page for nginx when root directory does not exist

I have set up an any-domain config on my nginx server - to reduce the amount of work needed when I open a new site/domain. This config allows me to simply create a folder in /usr/share/nginx/sites/ ...
Steffan Donal's user avatar
6 votes
4 answers
11k views

Puppet manifest example

Can anyone point me to a full example (tar/zip) directory of a Puppet manifest? I get the guides but it would be way easier just to look at a working directory.
Jon Haddad's user avatar
  • 1,362
6 votes
4 answers
12k views

Why won't MariaDB start after upgrade (NO_NEW_PRIVILEGES)

After upgrade of my debian(testing, jessie to stretch) server on DigitalOcean, MariaDB won't start with service mariadb start. I tried to purge all mariadb-* and mysql-* packages, delete configs and ...
Spikolynn's user avatar
  • 245
6 votes
2 answers
32k views

What is the correct way to generate /etc/audit/audit.rules on Centos7?

At the top of /etc/audit/audit.rules on Centos7 it tells me: ## This file is automatically generated from /etc/audit/rules.d Okay, so I went and looked, and found /etc/audit/rules.d/audit.rules. It ...
Wayne Werner's user avatar
6 votes
1 answer
41k views

Create separated syslog file for each host with rsyslog

I have a syslog server (running rsyslog on RHEL 7.4) that consolidates all the syslogs from my network devices. It's listening on port TCP/514. I want to redirect the logs of each device to a ...
eden881's user avatar
  • 215
6 votes
2 answers
9k views

Nested location doesn't work properly

I cannot debug this piece of nginx configuration: I want to add some headers to all requests for a .pdf file Then I want to remove a token which I add to my veiw directory to avoid unwanted browser's ...
mahyard's user avatar
  • 239
6 votes
1 answer
20k views

Significance of NOQUEUE: reject: RCPT in Postfix log?

I set up brand new Postfix server last night and did not configure at all yet, just did the install. So, I logged in this morning to finish the configuration and notice that there is stuff in the log: ...
Tyler Durden's user avatar

1 2 3
4
5
55