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

learn more… | top users | synonyms

39
votes
9answers
67k views

How do I get apt-get to ignore some dependencies?

How do I make apt-get ignore some dependencies? For example, I wanted to install mailx so I can use it to send email from cron scripts/report-generating tools. However, installing mailx also installs ...
0
votes
0answers
8 views

Openldap ActiveDirectory Proxy using Slapd.d

I am currently attempting to setup an OpenLDAP proxy that will proxy proxy between 2 Active Director Domains, and will be used to talk to work with Shibboleth IDP3. I've never worked with openLDAP ...
0
votes
2answers
1k views

Forced per-user ssh port

I want to allow access to each user on a server through a different port. For example; user1 can only be accessed by ssh through port 2201, user 2 can only be accessed through port 2202. I have ...
-1
votes
1answer
69 views

Where can I find the list of packages for my Debian installation?

I have the netinstall distro of Debian. During the installation I can choose, for example "web server" or "Desktop environment". Where can I find list of packages I'm installing?
1
vote
1answer
116 views

How to create a script in Debian to check if the MySQL proccess went down?

For some reason, MySQL goes down very often. I would like to learn how to make a script that would check If MySQL is down and if so then start it again using service mysql start. Any suggestions?
0
votes
1answer
77 views

gitweb is broken in debian jessie

I had installed gitweb package in debian wheezy, and I had got it working. After upgrading to jessie it doesn't work any more: Apache tells me: The requested URL /gitweb was not found on this ...
0
votes
0answers
92 views
+50

Mysql listens to wrong port on restart

I'm working on a 'local' PHP project. It's a PHP app running in a Debian VM intended for use on the user's own PC. I have a couple of python scripts running as root services from /etc/init.d which ...
-1
votes
0answers
16 views

Could a missing library be causing this message to appear? [on hold]

I recently tried to run a certain function from a program (it's pre-compiled and I don't have access to the source for it) and was met with this message: Could this possibly indicate that a library ...
0
votes
1answer
1k views

Unable to setup git with jailed user

I have performed below steps to setup jailed user here username is test3 mkdir -p /home/test3/{dev,etc,lib,usr,bin} mkdir -p /home/test3/usr/bin chown root.test3 /home/test3 mknod -m 666 ...
0
votes
0answers
7 views

Debian 8 dpkg extremely slow

Using debian 8 (fresh installation), i downloaded webmin using: wget http://prdownloads.sourceforge.net/webadmin/webmin_1.780_all.deb then i installed it using: dpkg --install ...
0
votes
1answer
1k views

Varnish not showing custom headers

In my Varnish 3 configuration (default.vcl) I configured the following to pass along information via the response headers: sub vcl_deliver { if (obj.hits > 0) { set resp.http.X-Cache = ...
0
votes
1answer
13 views

ldap-overlay with fixed default attributes

i'm having a largish user-base (>>1000) which should be able to collectively use some sharing service. the user base is slowly but constantly changing. esp. we are not interested in privilege ...
0
votes
0answers
6 views

Having trouble to connect on VPN using vpnc

I'm having trouble to connect to vpn via vpnc my config file is looking like this IPSec gateway <ip> IPSec ID <groupNmae> IPSec secret <groupPassowrd> Xauth username ...
1
vote
1answer
1k views

Finding local IP addresses using Python's stdlib under Debian jessie

I am writing a distributed systems program in python, and in this program I need to know the local ip-address... eg. 168.192.... 10.13..... etc, not 127.0.0.1 or hostname. I have found following ...
0
votes
0answers
5 views

Kerberos 5 won't install on Debian 8.2 or 8.3

I've been running some VMs in VirtualBox and cannot get Kerberos5 installed. I keep receiving the error: Reading package lists... Done Building dependency tree Reading state information... Done Some ...
2
votes
1answer
2k views

Nagios NRPE plugin check_ad - Fixed

i've reading about this problem much and trying to solve it on my own ways but still not luck. I've running debian 7 as nagios server. Problem is that i cant check state of my Active Directory Domain ...
0
votes
0answers
6 views

change cache location pathc for APT [migrated]

When using apt, can I tell it to use other then /var/cache/apt location? I tried adding the following line in /etc/apt/apt.conf: % cat /etc/apt/apt.conf Dir::Cache /home/apt and re-run apt but it ...
0
votes
1answer
35 views

failed to install docker on Debian 8

This is the first time I deal with Debian, and I need a docker. I was following https://docs.docker.com/engine/installation/linux/debian/ to get it installed, however I faced the error: % apt-get ...
0
votes
0answers
7 views

Amavis error after reboot: SMTP [451] 4.3.0 Error: queue file write error

I'm running a mailserver on Debian Jessie with Postfix, Dovecot and Amavis as content filter. Everything works fine since months. Recently I had to reboot the server. After that, sending of mails does ...
0
votes
1answer
26 views

Debian apache2 is not executing php scripts, instead it's showing the source

I know this is probably most discussed topic online, I did search here and stackexchange and tried various answers but none of them seems to be working for me, hence why I am posting this. I have a ...
0
votes
0answers
29 views

Unable to view LUNs exported on Linux via fibre switch brocade from IBM San Storage

I have problem mapping LUNs to my linux box from IBM San Storage Configuration: Host: Debian wheezy Host: Fibre controller QLogic 4Gb dual port DS4700 San Storage using Storage manager 10 brocade ...
1
vote
1answer
267 views

ejabberd: set Diffie-Hellman (DH) ciphers bitsize to >= 2048

In the modern version of ejabberd there is a possibility to use custom Diffie-Helman parameters by providing a self-generated pem-file to the dhfile and s2s_dhfile options in ejabberd.yml. I had ...
0
votes
1answer
29 views

Countless (defunct?) SSH processes -how do stop it from happening?

My vServer hoster threatens to cancel our contract if I don't stop creating thousands (9000 to be precise) of SSH processes. I don't know if they made the processes defunct or if they were like this ...
2
votes
0answers
19 views

crm_mon -E does not run the external-agent on Debian Jessie

Setup I'm currently having a working 2-nodes HA cluster using Pacemaker+Corosync. My nodes are running on Debian 8 (Jessie). Now I would be able to get notified when changes occur in the cluster ...
0
votes
2answers
1k views

Apache authentification error

I've installed Apache 2.2 on my Debian-based distr (kernel 3.2.0-27) and apache2.2-common package with default configs. Trying to run simple script info.php I got the error found in ...
1
vote
2answers
1k views

cf3 Can't stat … in files.copyfrom promise

On the client: # cf-agent -KIv ... cf3 -> Handling file existence constraints on /etc/cfengine3 cf3 -> Copy file /etc/cfengine3 from /srv/cfengine/sysconf/server/inputs check cf3 No existing ...
1
vote
3answers
3k views

ssh hangs on “Last login” line

This happened for the first time three days ago - I ssh to the server, authenticate using a password, get the welcome message but it remains hanging on the "Last login:..." line. The command line ...
3
votes
3answers
53 views

how to change the startup order of linux init scripts in Redhat, Centos

From this changing How to change Linux services startup/boot order? changing the values of the symbolic links it is evident that startup order is changed. In debian derivatives we use ...
4
votes
2answers
7k views

nginx uLimit 'worker_connections exceed open file resource limit: 1024'

I keep getting this error in nginx/error.log and its driving me nuts: 8096 worker_connections exceed open file resource limit: 1024 I've tried everything I can think of and cant figure out what is ...
0
votes
1answer
180 views

Reading home files permission: Policy constraint violation

I want to confine a certain user to be able to bind a node.js server to a certain port. That bit is working. What isn't working is allowing said user to access his own files. audit2allow is telling ...
0
votes
0answers
11 views

NAT for LXC Containers Debian 8 - no connection

I have a Debian 8 server running on a physical host machine. To seperate some services, I have created a lxc container (also debian 8). I am currently trying to set up a working NAT so my lxc ...
1
vote
2answers
20 views

Answering Dialoges with Bash

I need to automatically answer all dialoge (blue screenish Text GUI) questions when running dpkg-reconfigure exim4 as I have a bash script which will run on many servers. Is there some way to ...
4
votes
1answer
3k views

Unable to make work both private and public ip network on openvz container in Proxmox

I'm using Proxmox 3, it is a fresh installation. For those who know, I'm using OVH Vrack 1.5 (along with a previous Vrack 1.0). My server has two interface eth0 and eth1, I succeeded to configure ...
3
votes
2answers
25 views

Upgrade Php 5.4 to 5.6? Upgrade debian 7 to 8?

My Operating System is Debian 7.9. My dedicated server hosts only a website in PHP (5.4 apparently), and some databases (MySQL). There are also programs like iptables, fail2ban, etc. set up. I made ...
1
vote
2answers
1k views

Varnish 4 Working Config (optimized) for Wordpress (default.vcl)

I have successfully set up varnish 4 on my nginx 1.6.2 it is working but as per the test on http://www.isvarnishworking.com/ it shows Varnish appears to be responding at that url, but the ...
2
votes
1answer
4k views

Cannot restart apache2 on Debian server - “Cannot load /usr/local/apache2/modules/libphp5.so into server”

Okay... I'm something of a beginner when it comes to servers, and I'm having some issues with restarting apache on my Debian web server. I just ran the following: aptitude install apache2 openssl ...
1
vote
1answer
1k views

gnupg 'libgpg-error.so.0 no version information available'

I'm trying to compile gnupg-2.1.0 for Debian Wheezy, I've downloaded and compiled the required libraries (libgpg-error-1.17, libgcrypt-1.6.2, libksba-1.3.2, libassuan-2.1.3, and pth-2.0.7 in that ...
2
votes
1answer
25 views

Debian 8.3.0 - PXE installer asking for CDROM?

I'm sure I'm missing something easy, but I can't think of what it is. I used Cobbler to import Debian 8.3.0, but when I attempt to install it on a machine attached to the network, the installer asks ...
-1
votes
0answers
20 views

Mails are signed with 2 DKIM signatures in Postfix

I´ve installed postfix, opendkim, dovecot, spamassasin and amavis an debian 8. I´ve installed the dkim service by ...
9
votes
2answers
8k views

Symbolic link and filezilla over sftp

I'm pretty new to debian, and I'm trying to set up a server. I have created a user who can only access his folder /home/username (and its subdirectory). Now I want to use that user for the webserver ...
0
votes
1answer
607 views

Docker hello world gives 'no space left on device'

The command docker run hello-world gives me this error: System error: write /dev/cgroup/docker/<hash>/cgroup.procs: no space left on device It's a Debian Wheezy, with a 3.16 kernel from ...
3
votes
2answers
1k views

Is there a way to keep ClamAV updated on Debian 8?

Since upgrading to Debian 8 my syslog is full of ...freshclam[17851]: WARNING: Your ClamAV installation is OUTDATED! ...freshclam[17851]: WARNING: Local version: 0.98.7 Recommended version: 0.99 ...
2
votes
1answer
2k views

redmine gives 404 error after installation

I am using Debian squeeze with nginx and mysql. After raking db and loading default data to redmine. When i try to visit redmine in a browser, http://ipaddress:8080/redmine, I get a 404 error Page ...
0
votes
1answer
309 views

How to execute a CGI on my server?

I want to execute a CGI on my server, but I have this issue: run-detectors: unable to find an interpreter for /media/FTP/outils/cgi-bin/monitorCGI.cgi, >refererer: http://outils.mynd/backburner. ...
0
votes
0answers
9 views

How can I trigger an instant rerun of Check_MK data collection through Icinga?

I am using Check_MK to generate checks to make Icinga (a Nagios fork) monitor a bunch of machines. After starting up Icinga, after some time, Check_MK starts to collect data from the configured ...
0
votes
1answer
16 views

How to configure docker to exclusively access a private registry?

I keep images on a private registry. When docker pulls an image and it is not found on the private registry it is instead fetched from the default docker registry. How can one disable the default ...
0
votes
1answer
13 views

ProFTPD + Debian : list files 19 max

Overnight my ProFTPD server has decided to not list the contents of a folder that has more than 19 files. I have tried creating more than one folder with exactly the same rights, if the folder has 19 ...
8
votes
6answers
7k views

Using a self-signed SSL cert for an HTTPS-based internal APT repository

I've set up a Debian repository (Ubuntu actually) for internal use with some private packages, and now want to make it available over the web to some specific servers. I would like apt-get / aptitude ...
1
vote
1answer
2k views

libpam-ldapd not looking for secondary groups

I'm migrating from libpam-ldap to libpam-ldapd. I'm having some trouble gathering the secondary groups from LDAP. On libpam-ldap, I had this on the /etc/ldap.conf file: nss_schema rfc2307bis ...
3
votes
2answers
1k views

Using postfix to relay/forward to gmail

I have set-up postfix on Debian 6 and I would like to forward emails to my gmail account. This is my /etc/postfix/main.cf file: # Debian specific: Specifying a file name will cause the first # line ...