The tag has no wiki summary.

learn more… | top users | synonyms

102
votes
9answers
140k views

MySQL: Bind to more than one IP address?

Is there a secret way to bind MySQL to more than one IP address? As far as I can see the bind-address parameter in the my.cnf does not support more than one IP and you can't have it more than once.
20
votes
1answer
9k views

ssh hostname returns “Bad owner or permissions on ~/.ssh/config”

When I try to ssh to another box, I get this strange error $ ssh hostname Bad owner or permissions on ~/.ssh/config But I made sure that I own and have rw permissions on the file: ls -la ~/.ssh/ ...
8
votes
1answer
3k views

apache on centos 5.6 gives me permissions denied error

I'm running apache on centos 5.6 and whenever i try to load a php script in any directory, other than /var/www/html (the apache default root dir) it gives me a permissions denied error. However when ...
5
votes
1answer
344 views

Viewing complete computed Apache httpd configuration?

Is there a command / tool to generate the computed configuration that Apache httpd is using? I know I can manually go through the httpd.conf and other configuration files, but is there a standard tool ...
4
votes
3answers
4k views

How do I avoid “already used by another worker” warning in an Apache2 reverse proxy config?

I added server matching ProxyPass and ProxyPassReverse entries, but I was getting "already used by another worker" [warn] messages upon start up. I have a proposed solution that's good enough for ...
4
votes
4answers
5k views

Parse and convert ini into bash array variables

I'm trying to convert an ini file into bash array variables. The sample ini is as below [foobar] session=foo path=/some/path [barfoo] session=bar path=/some/path so these become ...
4
votes
1answer
302 views

Getting error “Invalid command 'echo'…” when restarting apache when trying to use SSLPassPhraseDialog

Using a solution to another answer, I added the following to my apache config: SSLPassPhraseDialog exec:/path/to/passphrase-script And in that script, I placed this: #!/bin/sh echo "put the ...
4
votes
1answer
203 views

Nginx - multiple servers configuration

I have a cluster of 8 independent web servers, each of them running nginx. They are all hosting the same websites and are being synced with rsync. Also, each server has 8 different IP addresses ...
4
votes
1answer
2k views

Install & configure mod_ssl on Amazon EC2 instance

I am trying to support HTTPS traffic with the mod_ssl module on my website. I am running an Amazon EC2 instance for my server. I have installed and configured the basic LAMP packages. However, when I ...
3
votes
2answers
620 views

VirtualHost not working - always shows default

I have been trying to get this work for hours now. I am trying to set up virtual hosts with Apache on my VPS. I have the following virtual host file in my sites-available folder : <VirtualHost ...
3
votes
3answers
2k views

How to monitor the port state on ASA 5505

On a Cisco router when you unplug a cable from an interface I normal see debug "int fa0/3 line up" etc Is there some command to see this on an ASA 5505? I'm SSH'ing into it, do I need to use console ...
3
votes
2answers
2k views

Exim config - no external connections, only localhost connections (Linux)

CentOS running Exim 4.63(inc latest fixes). I want to configure exim to not listen on the external IP, only localhost so that exim can only be used from the server itself (no remote connections). ...
3
votes
3answers
234 views

Is there a way to forward my .ssh/config file to an ssh connection?

There is a way to forward my private keys to the server im connected with the ssh -A option. Is there is a way to forward the .ssh/config file as well? Its where I keep host aliases and default ...
2
votes
3answers
2k views

Installed Application Request Routing for IIS, but cannot see it in the management tool for IIS

I'm trying to configure the ARR, but can't seem to find it anywhere in the IIS management tool. I've checked for permission issues (both during the install and when starting the IIS Manager). ARR ...
2
votes
1answer
4k views

Command to check validity of Apache server config files

Im looking for a command that checks the validity of the config files in apache server (both Debian and RHEL distros - need to do it prior to restart, so there will be no downtime). I cant quite ...
2
votes
3answers
412 views

Using Chef to backup Windows Servers configs - AD,DNS,IIS,DHCP, Exchange the lot

I have been looking at Chef as a tool for backing up config my windows servers. But from what I can see this is geared more towards *nix doesnt look like there are many scripts for backing windwos ...
2
votes
2answers
434 views

cisco router 1814 interface activation with single IP routing

i have this simple diagram below: I need to make 192.168.55.1 talk with 10.0.2.59 by open the interface 0/1 [192.168.56.254] by talk mean what is router commands required to open new interface and ...
2
votes
3answers
706 views

Regular Expression matching in ssh config

I have a bunch of servers with the names srv1.domain.com, srv2.domain.com, ..., srv50.domain.com I want to be able to connect to these servers by ssh srv1 I don't want to put 50 configuration ...
2
votes
3answers
3k views

Apache tuning with very high-load LAMP server

I have a LAMP server that can be serving ~400 requests per second at times, the server configuration is: CPU: Intel Quad Core Xeon X3430 (4 x 2.40 GHz, 8MB Cache) RAM: 16 GB REG ECC DDR3 HD: 500 GB ...
2
votes
3answers
11k views

Debian network bridge configuration - /etc/network/interfaces

I'm running a Lenny Xen dom0 hosting multiple virtual machines in a routed IP setup. To get an additional private subnet, I created the bridge xenbr0 in the dom0 with the following commands: brctl ...
2
votes
2answers
401 views

What is the difference between “route” and “ip route”?

I tried to understand the networking tools on linux. I am confused now about what should I use to manipulate the static routing: "route" or "ip route"?: route - show / manipulate the IP routing table ...
2
votes
2answers
2k views

apache spawning too many processes despite maxclient and other constraints

Here are my MPM constraints: <IfModule mpm_prefork_module> StartServers 10 MinSpareServers 10 MaxSpareServers 10 MaxClients 10 ...
2
votes
3answers
458 views

Why won't apache load a symlinked file from conf.d?

I have an apache configuration file which works fine when it's placed directly in /etc/httpd/conf.d/foo.conf. However, when I move the same file somewhere else (for example, move it to /tmp/foo.conf) ...
2
votes
1answer
2k views

OpenVPN Error : TLS Error: local/remote TLS keys are out of sync: [AF_INET]

Fist off thanks for reading this, I appreciate any and all suggestions. I am having some serious problems reconnecting to my OpenVPN client using Riseup.net's VPN. I have spent a few days banging my ...
2
votes
1answer
67 views

vhosts with various hosts and http/https

I have the file underneath in my vhosts.d directory and it's called hosts.conf (from what I gather the name isn't a problem). Now there are various hosts as you can see, if I use http (port 80) no ...
2
votes
1answer
252 views

How can I check if an nginx module is installed via nginx config?

What I want to do is guard against configuration segments with invalid directives being run in an nginx that doesn't have the proper module installed. Something like the IfModule directive in Apache ...
2
votes
1answer
87 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 ...
2
votes
1answer
167 views

Organizing and hosting static files (downloads) with Apache?

I am trying to re-organize our web server and segregate download-able files from the HTML/content of the site. I have setup a "data" directory like so: /data /public /pdf, /image, /audio, ...
2
votes
1answer
389 views

Is there a config file for ubuntu server like /etc /ethers to config the mac-ip bind?

i can't find /etc/ethers in ubuntu server:< i want save something like "sudo arp -s someipaddress macaddress" so i don't need to set it again after reboot
2
votes
1answer
4k views

Apache failed to start after SSL config change. No errors. Please help

Website(s) were up. I changed my config files in sites-enabled, then ran: apache2ctl configtest Got: Syntax OK Then ran: apache2ctl graceful Got returned to the command prompt. No messages. ...
2
votes
2answers
8k views

Disabled Apache Directory Indexing not applied recursively, is my config or understanding in error?

I'm running Apache(2) on Debian. I want to disable automatic indexing in the /var/www dir and any subdirectories thereof. In /etc/apache2/conf.d I put a file with the following contents: ...
2
votes
2answers
97 views

Ideal server for web application, database and email hosting

Hoping for your thoughts and insights regarding a new server config. Currently, we're running everything on one server, which seems to run fine. No complaints of speed issues. This includes, ...
2
votes
1answer
124 views

Openvpn different subnet with dynamic ip using client-config-dir (cdd)

Good Morning, I need some help for a specific configuration in a server. Let's say I have two kind of people that will connect to my VPN. Pepole from Group A and people from Group B. I need them to ...
1
vote
3answers
10k views

Apache - httpd.conf Include Files?

I have a large httpd.conf file, most of which is virtual hosts. Is there a way to make a file, say virtual_hosts.conf, and include it from httpd.conf? I've googled a bit, but can't seem to find much ...
1
vote
6answers
3k views

Can't SSH into a Vagrant Virtual Machine

Local Vagrant machine installed at IP address 10.0.0.23 with hostname lamp-vm. Using vagrant ssh command, I can connect just fine and do everything I need. This creates an error $ ssh ...
1
vote
1answer
88 views

Chef: Preinstall packages or install everything from scratch (fast/inflexible vs slow/flexible )

I'm curious is it a good strategy to prebuild binaries (install packages) and use chef for config management only. Theoretically it should speed up init process when we need new machines (traffic ...
1
vote
6answers
221 views

How can I remote into my machine from outside the LAN without touching anything at the router?

I'm looking to remote into my windows 7 machine (looking to connect to terminal services, not just at a command prompt) from outside my LAN but I currently do not have access to my routers admin page ...
1
vote
2answers
832 views

How to configure the server to handle big traffic?

Right now I have 1000 concurrent users online. But my site is very slow. I could have 8000 concurrent users, but the server can't handle the traffic, and I'm losing visitors. My server is a VPS ...
1
vote
3answers
348 views

What is the minimum enable level to permit config download (Cisco & other vendors)

We are creating a service account to backup config from devices of various makes such as Cisco, Juniper etc., What is the minimum enable level we need to grant to the service account? If the answer ...
1
vote
2answers
3k views

How can I set up OpenVPN to accept more than 60 connections?

Greetings! We're using OpenVPN and today hit an unexpected connection limit of 60 - even though max-clients is set to the source code default 1024. Server log: Tue Dec 21 13:49:41 2010 MULTI: ...
1
vote
2answers
3k views

Posfix smtpd_sasl_path seems does not work for me

I have such configuration: /etc/postfix/main.cf smtpd_sasl_type = cyrus smtpd_sasl_auth_enable = yes smtpd_sasl_path = /usr/lib/sasl2/smtpd /usr/lib/sasl2/smtpd.conf pwcheck_method: auxprop ...
1
vote
3answers
242 views

Can someone implement LVM on an existing single-hard disk system?

I am using SuSE Linux (10) and I am considering expanding the available disk, without resizing an existing partition (which is not easy to do on a VM). Instead, I want to create another virtual disk, ...
1
vote
1answer
217 views

nginx config for secure assets serving

I have a web app that has static content and can serve dynamic pages and secure content. Static content lies in /public folder and should be served directly by nginx. Dynamic content is served by ...
1
vote
2answers
1k views

Exim4 configuration to use several external ip for mail sending

i've got exim4 on ubuntu server and i-ve got a pool of 20 external IP's. Is that possible to configure exim4 to use this ip-s rotating to send mail? I think i could do this with iproute / iptables ...
1
vote
2answers
2k views

Apache .htaccess not working

I have access to an Ubuntu Machine with apache installed, which I connect to Using PuTTy. For some reason my .htaccess file is not working, this is all it contains: ErrorDocument 404 /handler.php ...
1
vote
2answers
150 views

MySQL config recommendation script

I want to be able to get an recommendation of what values I should set my my.cnf to. Especially the query_cache_size and join_buffer_size. Is there a script out there that can monitor my server and ...
1
vote
2answers
203 views

How do I add a new virtual host to my apache?

<VirtualHost mydomain1.com:80> ServerAdmin webmaster@localhost ...stuff here </VirtualHost> <VirtualHost mydomain2.com:80> ServerAdmin webmaster@localhost ...stuff ...
1
vote
4answers
866 views

WWW or no WWW - WHERE DO I CONFIGURE THIS?

For my site i need to have www included but currently it's saying Under Construction when i go to the site with www. For example: www.example.com - gives me Under Construction example.com - works ...
1
vote
1answer
154 views

tools for refactoring Apache config files

I am facing a taks of cleaning up an unreasonably big Apache config. It accumulated crud over almost a decade. I am starting with refactoring it, fixing tabbing/indentation, breaking out sections into ...
1
vote
1answer
65 views

Installing FreePBX or Asiterisk-GUI on working server

We have server with Ububuntu and asterisk 1.8 on it without any web-interfaces. Our managers ask me to make them web-interface for looking over config, users, calls and so on. I've installed ...