Debian is a popular and influential GNU/Linux distribution. Questions here should generally be about Debian Server.

learn more… | top users | synonyms

1
vote
1answer
921 views

Open Xen Manager and XenCenter server connection

So, I've got server set up and running the Xen hypervisor version 4.1 with Debian Wheezy (7.5.0) as the host OS, along with xcp-xapi and all relevant services are running correctly. Problems arise ...
1
vote
1answer
48 views

NIDS on bridged firewall

I have a firewall (Debian Stable 7.5) which works in bridged mode. The interfaces eth0 (WAN) and eth1 (LAN) are linked with the bridge interface br0. Can I deploy a NIDS (eg. Snort) on this server? ...
1
vote
1answer
114 views

Dovecot doesn't use my mail_location parameter

I'm using Exim 4.72 and Dovecot 1.2.15 on Debian 6.0.9. Exim delivers emails to /home/username in a mbox file. dovecot.conf mail_location = mbox:~/:INBOX=/var/mail/%n But - dovecot -n ...
1
vote
1answer
286 views

Exim should save the id of a failed message to a database (or at least pipe it to a shell script)

The Setup We are running exim version 4.72 on Debian Squeeze 6 (Squeeze) (LTS). Exim is used for outgoing emails only - it does not handle emails from other servers/domains - it only handles ...
1
vote
1answer
1k views

VM's Grub menu invisible with XenServer 6.0.2?

I have a dual-boot VM on XenServer 6.0.2 but grub just shows up as a black screen. I can still make a selection and such, but it's just a black screen in the XenServer console. Any ideas on how to ...
1
vote
1answer
422 views

Accessing internal network addresses remotely through squid proxy on debian

My objective is to allow clients over the internet to connect to a squid proxy server, provide a username and password, and then access several http servers on the internal network that the server is ...
1
vote
1answer
122 views

Linux - reverse proxy - What is the easiest tool for powerful reverse proxy?

I am setting up a domain with a set of URLs per customer (customerx.domain.com) on a set of Debian servers. What is the best tool to redirect incoming requests to different servers and/or different ...
1
vote
1answer
1k views

I can´t send emails server with Postfix in Debian [closed]

im trying to sent mail through php, in a Debian server with postfix, when i run the following script in the server, the code tells me that the email was sent successfully, This is my code: <?php ...
1
vote
1answer
994 views

Debian - OpenVPN connects but no internet - Forgots iptables

I have Debian 7.2 VPS server which I use as Nginx/MySQL/PHP/Mail host and VPN for private use. For VPN I installed OpenVPN. After installation I was able to connect to VPN, but there was no internet ...
1
vote
1answer
2k views

Mysql not starting after upgrading debian squeeze to wheezy

I recently bought a VPS box with Debian Squeeze pre-installed as the OS. I upgraded to Debian Wheezy and most things work fine (e.g. apache). The problem I'm having relates to MySQL - which is just ...
1
vote
1answer
1k views

Running a custom script when StrongSwan connection is established

I have StrongSwan VPN server set up on a Debian host, and would like to run a custom script when a client connects to it. The only thing I have come up with is periodically checking the contents of ...
1
vote
1answer
294 views

How do I create encrypted partitions with kickstart in Debian or Ubuntu

I am setting up an automated installation of Ubuntu using kickstart and network booting. With redhat this works quite well, however Ubuntu kickstart appears rather limited and I can not find ...
1
vote
1answer
60 views

is this normal behavior for pam_tty_audit

I've recently configured pam_tty_audit, and while it does log information, it seems like it does not log information until after the user has logged out. Oddly enough, it does log some things live, ...
1
vote
1answer
966 views

Can't start mysql server

I'm facing problems installing a software package that depends on MySQL. During the installation it installs a MySQL server, but for some reason starting the services fails and thus the installation ...
1
vote
1answer
253 views

what user is sending emails from mailq

I have a debian box with postfix on it. I checked the mailq and I do not understand how to read the mailq. I need to know witch user is used to send this emails. here is a example 0F87797868C ...
1
vote
1answer
2k views

Uwsgi configuration - No module called site

I am trying to get uwsgi working in combination with nginx for a flask application. This is UWSGI ini file: [uwsgi] socket = 127.0.0.1:8001 processes = 4 module = run:manager virtualenv = ...
1
vote
1answer
557 views

Debian Preseed use whole device for LVM Physical Volume

I have the following recipe for a preseed install (truncated for readability): d-i partman-auto/expert_recipe string \ boot-root :: \ 1 1 1 free \ $iflabel{ gpt } \ $reusemethod{ } ...
1
vote
2answers
3k views

High Apache busy workers and high load average

I've been experiencing a spike in load average on a web server I manage on almost a daily basis now, here are the server specs: 6 x 2.4 GHz dedicated CPU 3GB RAM This is a VPS of which is running ...
1
vote
1answer
930 views

nginx-extras ok for production server?

I need the upload progress extension on my production server running Nginx, the only problem is that to do that I must actually recompile the whole of Nginx. This means uninstalling the repo Nginx, ...
1
vote
2answers
921 views

Debconf broke after system failure

I have some serious problems with one of my web servers running debian wheezy. It seem that last week the server center had an error which caused the machine to shutdown suddenly. Since then some ...
1
vote
1answer
60 views

Logging in iptables

I have created rules in iptables to log and edited the rsyslog.conf file to output any message which contains "iptables" to a different log file. It seems that it is logging to both places, the ...
1
vote
2answers
111 views

Debian: How to detect when user connects for the first time with SFTP?

I'm trying to set up the following: Allow access to an OpenSSH sftp server via ssh keys only, i.e. no password authentication allowed. SSH keys are generated automatically on the server. The server is ...
1
vote
1answer
2k views

Apache2 forward logs to rsyslog AND locally

Right now I'm storing apache2 logs locally: ErrorLog /var/log/apache2/one.error.log CustomLog /var/log/apache2/one.access.log common How can I keep storing the logs locally but also forward ...
1
vote
2answers
955 views

cannot reinstall python2.6

I am trying to reinstall python2.6 on debian 6 but I get: root@ff: apt-get install --reinstall python2.6 Reading package lists... Done Building dependency tree Reading state information... ...
1
vote
2answers
1k views

/etc/init.d/nginx not executable

I searched on the internet for a while now and I don't find a solution so I am asking here: My question is, why is this file (/etc/init.d/nginx) not executeable? I was following the tutorial of Alex ...
1
vote
1answer
1k views

Squid loads some website very slow

I installed a couple of weeks ago squid on my network and first it was making websites load very slow with the default configuration but after a few changes in the squid.conf (copied from a different ...
1
vote
1answer
688 views

Creating a multi-wan/isp failover router where wan IPs are dynamic on Debian

I'm having an incredibly hard time creating a basic router on Debian which has connections to two ISPs where the ip addresses are dynamic. I don't need bonding, I really just need some way to detect ...
1
vote
2answers
2k views

squid specify outgoing network interface

I have a Linux Debian machine with many network interfaces (venet0:1 to venet0:5) running Squid. If I connect to interface venet0:2 squid uses venet0:0 for outgoing traffic but I want Squid to use the ...
1
vote
1answer
973 views

Compiling cyrus-imapd

When I run the make of cyrus-imapd-2.4.17-caldav-beta9 get the following error: In file included from httpd.c:68:0: httpd.h:48:25: fatal error: libxml/tree.h: No such file or directory compilation ...
1
vote
2answers
408 views

Postfix smtp for sending only

The web hosting provider of my company have a mail server with a sending limit of 300 mails a month so the idea is keep using the hosting mail for the mail spool but set up a local Debian server with ...
1
vote
1answer
687 views

Why is PHP open_basedir not considered a security model

On servers doing shared web hosting, or sharing the PHP environment between different PHP applications, I usually implement a security policy that uses PHP open_basedir to restrict each user to ...
1
vote
1answer
7k views

Insserv rejected the script header

I was trying to make an init script for my debian install for supervisor. insserv: Service \$remote_fs has to be enabled to start service supervisor insserv: Service ...
1
vote
2answers
1k views

Cron won't use msmtp to send emails in case of failed cronjob

I'm trying to configure a machine so that it will send me an email if one of the cronjobs output something in case of an error. I'm using Debian Wheezy. Cron is working normally (without the email ...
1
vote
1answer
11k views

ifdown interface not configured (Debian 6) [duplicate]

My server is dedicated (non-virtual). I want to have 3+1 static IPs. I used aliases (eth0:0, eth0:1) previously, but read that this method is deprecated. So I added another IP and reconfigured my ...
1
vote
1answer
956 views

How to see the olddir after mount --bind olddir newdir?

In my debian 7: $ pwd /home/freestyler $ mkdir old new # mount --bind old new then $ mount /dev/cciss/c0d0p9 on /home/freestyler/new type ...
1
vote
1answer
64 views

apache2, debian - web page does not load

I am beginner in debian system. I have run into problem - on my VirtualBox Debian system I have installed mysql and apache2 (two simple commands, what could go wrong), but after installing apache, the ...
1
vote
2answers
3k views

force LAN hosts to go through proxy

I have an IPTables firewall on a Debian server, with a bunch of hosts behind it with masquerading. In the upstream network I don't have direct access to the internet, and I need to go through a proxy ...
1
vote
1answer
599 views

How to add nginx file upload module to Debian Squeeze?

I need to use nginx upload module in my Debian Squeeze server. I already have installed nginx and nginx-extras. the nginx version is 1.4.2. From the package description of nginx-extras, it seems that ...
1
vote
2answers
48 views

Adding additional host to Apache2 [closed]

I have been tasked to add a copy of an existing website to the setup. (To be used as a test environment) The existing setup consists of : a.mysite.com b.mysite.com c.mysite.com I've been trying to ...
1
vote
2answers
87 views

Rename a rebuild nginx package

I'm trying to recompile nginx with some extra modules and packetize it again. I want to change the package name to avoid package upgrades that could break the server. So far I downloaded the source ...
1
vote
1answer
756 views

Very high disk IO on Mongodb Config servers

Perhaps someone could tell me if this is expected or not (It doesn't seem normal to me)... On all 3 of my config servers I am seeing consistent high disk IO, even when the sharded-cluster has ...
1
vote
1answer
79 views

Logging auth information in sendmail - Follow up

I'd like to log the message id, client ip address & authenticated sender with each SMTP transaction, pretty much as discussed here: Logging auth information in sendmail I've implemented the ...
1
vote
1answer
2k views

Running Proxmox VE with a wireless adapter

I've successfully installed Proxmox and it works perfect while connected via ethernet. The issue arises when trying to get it to detect my wireless adapter. The wireless card is an ASUS PCE-N53 ...
1
vote
1answer
1k views

NGINX One Domain - Several webservers on internal IP

I have a case I am not sure how to manage and would like some advice. Current: One domain-name - one external ip. One already working Debian Server with NGINX for hosting webpages. So, as it is ...
1
vote
1answer
550 views

Cannot start OpenVPN on sheevaplug. Any suggestions?

I installed OpenVPN on my arm-based sheevaplug (OS is Debian 7 Wheezy, kernel 3.8.8.) but as soon as i try to start the service i receive the following error: [....] Starting virtual private network ...
1
vote
1answer
840 views

Trouble with ATI ES1000 on Debian Wheezy

I have an hp DL580 machine and I upgraded Debian 6 to 7 (AMD64 edition; kernel was also updated to 3.2). This machine has an ATI ES1000 graphic card. So I followed the instructions listed in ...
1
vote
2answers
917 views

gateway lost after upgrade to wheezy

After upgrade from squeezy to wheezy my network configuration lost gateway. (i have lxc containers, and all of wheezy losts, one, which i want to stay squeezy - still have, so i'm sure, that the ...
1
vote
1answer
335 views

How can I mount a subdirectory from a hard drive to a separate directory

I have this line in fstab /dev/sda1 /Tera ntfs-3g uid=www-data,gid=www-data,umask=007 0 0 because /Tera/OC has to have permissions 770 but since the drive is NTFS, I can't set it explicitly. Is ...
1
vote
1answer
896 views

mod_fcgid error after upgrading from PHP5.3 to 5.4

I just made an upgrade from PHP 5.3 to 5.4 via dotdeb.org sources. After that, I get errors on vhosts with active FastCGI-Application. [Mon May 20 21:05:15 2013] [warn] [client xxx.xxx.xxx.xxx] ...
1
vote
1answer
2k views

Error after trying to install php5-mcrypt on Debian Squeeze

I want to install php5-mcrypt, but I get this error after entering a apt-get install php5-mcrypt Error: php5-mcrypt : Hängt ab von: php5-common (= 5.3.3-7+squeeze15) aber 5.3.9-1~dotdeb.2 soll ...