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

learn more… | top users | synonyms

3
votes
3answers
42 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
179 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
10 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
19 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
22 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
21 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
604 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 ...
1
vote
0answers
67 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 ...
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
308 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
12 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 ...
0
votes
0answers
4 views

Dell R710 OS install [migrated]

I just bought a couple Dell R710s on Ebay for a home lab and want to install Debian as the main OS. Im new to dealing with server administration aside from Development stuff. I am wondering on where ...
2
votes
1answer
28 views

Run a specivic (older) php version with nginx, php-fpm on debian

In order to migrate old php software, I want to run php 5.3.* so I: Removed php via apt-get purge php* Added the corresponding http://snapshot.debian.org/archive/debian/ to the sources Installed ...
2
votes
5answers
294 views

Debian preseed.cfg - Language not set

I'm trying to write a preseed.cfg which should be used for a full automated installation of Debian wheezy. For some reasons the installer is still asking to select a lanugage even if I set this in my ...
1
vote
1answer
3k views

mount error 5 = Input/output error

I am running out of ideas. After a long period of testing this morning, I cannot seem to get this to work, and I have no idea why. I want to mount a Windows SMB/CIFS share with a Debian 5.0.4 VM, ...
0
votes
3answers
5k views

How to disable anonymous access on LDAP

I need to secure my LDAP server and am not quite sure the best way to go about it. I am running Debian "Lenny", and using OpenLDAP (slapd). I notice that if I run: ldapsearch -x -W -b ...
0
votes
0answers
7 views

Server can't boot, showing main process (206) terminated with status 127

The system is Debian 7.0. Booting in recovery mode fails with messages shown in this screenprint: How can I solve this issue?
11
votes
3answers
43k views

Cannot delete folder with rm -rf. Error: device or resource busy

I'm trying to delete /var/www/html but I'm getting this error: rm: cannot remove `html': Device or resource busy
0
votes
1answer
30 views

DRBD - no resources defined

I have some problems getting a drbd cluster running. When I want to start creating my storage, i get the following error: root@raspberrypi-ha1~# drbdadm create-md drbd1 no resources defined But ...
0
votes
1answer
7 views

HHVM should not write to syslog and messages

I've a problem with hhvm, because it's writing errors to 3 different logfiles: /var/log/hhvm/error.log /var/log/syslog /var/log/messages I only want it to write the messages to the first logfile. ...
1
vote
1answer
2k views

Unable to access 3ware 3dm2 web interface, failed to start listening socket

I am unable to get to the 3ware 3dm2 web interface. When I attempt to execute 3dm2 from the command line, i get the following error "(0x0C:0x0005): Failed to start listening socket". This was working ...
-2
votes
2answers
45 views

Which log files can be read-only by root?

As I am currently securing my Server, I would like to know which log files can be read-only be root. Is it safe to chmod 600 -R /var/log? I do not want users to look into auth.log and other log ...
0
votes
2answers
1k views

Terminal output being cut off

I'm using ZSH as my shell and running a Debian 7 installation on a Linode box. When I ssh into this box and run any command where the output is larger than the window, the output that extends beyond ...
1
vote
0answers
14 views

Broadcasting a printer from Cups / Samba

I am currently attempting to broadcast my postscript printer from my debian machine to other (Windows) based machines on the network. I came across this article and this article which explained the ...
1
vote
2answers
3k views

VPN PPTPD with MPPE Support for Debian or Ubuntu

Having an unencrypted vpn connection from a windows client to linux is pretty easy by using pptpd. When I was looking for an solution for encrypted (per MPPE) connection, I found a lot of information ...
0
votes
0answers
12 views

iptable script to block Post request to a specific file [duplicate]

I get these attacks daily across multiple servers (Apache): 135.120.5.180 - - [31/Jan/2016:14:21:08 +0000] "POST /xmlrpc.php HTTP/1.0" 200 598 "-" "Mozilla/4.0 (compatible: MSIE 7.0; Windows NT 6.0)" ...
0
votes
0answers
18 views

Monit's $HOST variable expanding to “SYSTEM”

For some reason, Monit's $HOST variable is being expanded to "SYSTEM" which is causing problems for emailing (becomes "From: monit@SYSTEM"). The /etc/hostname and /etc/hosts files are correctly ...
0
votes
0answers
21 views

Assigning 2 IPv4 blocks to one interface

I have been assigned these 2 blocks by my provider Block: x.x.x.184/29 Usable range: x.x.x.186 - x.x.x.190 Gateway: x.x.x.185 Subnet: 255.255.255.248 And Block: x.x.x.192/29 Usable range: ...
0
votes
1answer
12 views

Apt-Dater: Error executing Error executing 'lsb_release -a'

I successfully deployed apt-dater (Debian-machine) and apt-dater-host (CentOS) to 2 different nodes via puppet. Now apt-dater is showing the new host, but the state is always "unknown". If I enter ...
0
votes
1answer
49 views

MySQL Daemon Lock issue

Last night, my MySQL server went down unexpectedly. On attempting to restart (with service mysql restart - I'm root) it merely hangs. With the mysql -u root -p command, I get ERROR 2002 (HY000): Can't ...
0
votes
2answers
21 views

IPTables: How to log and set a specific log file

Is it possible log all dropped connections by IPTables and set a iptables.log file for logging in /var/log/?
0
votes
2answers
25 views

IPTables: apt-get and wget not working

When resetting IPTables, the apt-get and wget command functions correctly and also downloads what I want. But once I activate this firewall, it isn't functional. Pings still work. I want to allow all ...
0
votes
0answers
20 views

MySQL 5.7 under Debian Jessie with postfix-mysql

I currently have MySQL installed from the MySQL APT repository and am on the 5.6 branch. It comes with libmysqlclient18 and postfix-mysql requires it. If I want to switch to the 5.7 branch, APT will ...
1
vote
1answer
589 views

Change PS1 value for all Bash users

I am trying to change the prompt value for all users of a system (the $PS1 variable) to the same value. I have the following stored in file /etc/ps1: PS1='` if [ $? -eq 0 ]; then echo -n ...
0
votes
0answers
13 views

Can't connect to VNC server via OpenVPN

I've got the problem with connecting via VNC to remote computer. Connection goes through OpenVPN and I'm routing 5900 port to localhost.. ssh -p(port) -L5900:vpn adress of machine:5900 ...
5
votes
3answers
2k 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/ ...
0
votes
0answers
4 views

Increase in “table lookup” on old Postfix/PostgreSQL installation

The box is still running PostgreSQL 8.1 and this started to increase a few weeks ago. It is only happening while the server is a bit busy. fatal: ...