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

learn more… | top users | synonyms

6
votes
1answer
834 views

Is it a bad idea to stop unnecessary services running

I have a debian dedicated server. I'm trying to secure it and one way I thought would be good is to shut down services I dont need, like FTP for example. I am suggesting to run something like this on ...
1
vote
0answers
37 views

Debian does not start any service at boot

I've got a VPS server running on Debian Wheezy and I monitor it with Zabbix. Yesterday, the server was unreachable, I could ping it but there was no ports open (using nmap). So I contacted the ...
0
votes
0answers
73 views

How to setup Debian Jessie to boot from broken RAID1

I want to setup Debian Jessie in EFI-mode with a LVM on an LUKS on a RAID1. I tried it with the Installer but when i remove one of the hard drives the whole system isn't booting any more. What I ...
0
votes
0answers
28 views

debian slow login after username entry

I have searched for an answer, and found resources about changing the delay after an incorrect password entry for an SSH login, but not to my specific problem. My problem is that the delay is after I ...
1
vote
1answer
47 views

Installing Debian with a writable flash drive [closed]

I can easily make a bootable flash drive for installing Debian by doing this: dd if=debian-7.8.0-amd64-CD-1.iso of=/dev/sdg bs=4M; sync but then it makes the flash drive read-only. I'd like to ...
0
votes
1answer
41 views

Interrupted apt-get upgrade - Now won't run again [closed]

I recently started an apt-get upgrade on one of our Debian 6 servers. The downloads were taking forever, so I exited with Ctrl-C, intending to change the to a different mirror server. However, now ...
3
votes
2answers
58 views

Can't seem to disable root login [duplicate]

I am trying to disable root password login and only allow root login with a ssh key on debian 7. cat << EOF >> /etc/ssh/sshd_config PasswordAuthentication yes UsePAM no PermitRootLogin ...
-1
votes
1answer
33 views

SSH and many other programs are not working after chmod -r 755 /etc [duplicate]

I have a new web-admin and he mistakenly ran chmod -r 755 /etc to try and disallow our shell users from reading any other files. As a result, SSH on our server does not work. How can we fix this?
0
votes
0answers
22 views

IPtraf doesn't work with venet devices

I've got a VPS with Debian 7 Wheezy 64 bit. I installed the tool iptraf to monitor the network usage, but it seems that it doesn't work whit the device type "venet". So i lunched the command with the ...
0
votes
1answer
23 views

Installation of Textpattern CMS with apache2 on debian

I configured the Vhost on the apache2 server: <VirtualHost *:80> ServerAdmin webmaster@asr.lan ServerName www.asr.lan DocumentRoot /home/web/ <Directory /> ...
0
votes
1answer
47 views

Cannot enforce password change in OpenLDAP with Password Policy Overlay

I've implemented Password Policy Overlay on OpenLDAP on Debian Stable. The server side and the policies are working as expected. However, after expiration I cannot force users to change their ...
2
votes
1answer
74 views

Windows 2012 fonts gone. Only Wingdings

So I did an RDP to my server, using a Jessie distro with Vinagre, characters were weird (see picture) and then, everyone who connects sees the same problem, how did this hapend and how can I fix it? ...
0
votes
0answers
31 views

Mysql reports “unknown variable pass” after upgrading from 5.5.41 -> 5.7.5 on Debian

We have the following problem after upgrading MySQL 5.5.41 (pre-installed on our Debian Wheezy LAMP server from Hetzner) to 5.7.5 version (downloaded from mysql.com). After updgrading from the ...
0
votes
1answer
74 views

Multiple DHCP uplinks - How to ignore DNS and default route on all but one?

A multi-homed box needs more than one uplink to be configured for DHCP. It needs to ignore default-route and DNS for all but one DHCP uplink. There is a similar question here [ Debian interfaces file ...
0
votes
0answers
104 views

OpenVPN Server client-connect scripts aren't executed

I have an OpenVPN server up and running that (Windows) clients can successfully connect to. Now I'd like to share a luks encrypted partition with those clients. The goal is, that the server fetches ...
0
votes
2answers
48 views

java installed but not working (dependency issue??)

I just installed Java 8 on my new VPS I set the links correctly but, still java, or javac won`t work: root@vpsXXXXX:~# update-alternatives --display java java - Auto-Modus Link verweist zur Zeit ...
0
votes
1answer
60 views

Compiling an individual kernel module (Debian/Ubuntu)

I need to modify the ELF loader's kernel implementation of an Ubuntu 14.04 distribution. Having downloaded the sources using: sudo apt-get source linux-image-$(uname -r) I ran the configuration ...
1
vote
1answer
77 views

Server crashes with “huge task timeout”

First things first, I've read a lot about the "huge task timeout" kernel panic and know that this often happens if the server is out of resources. Error messages which appear only in the VNC console ...
-1
votes
4answers
166 views

How to test if two given files are identical?

Just updated the code... I get out everytime on the "else" sequence. You can download the update.sh file from my server. it only contains echo "Hallo update" Updated code (03.11.2015) ...
0
votes
1answer
53 views

Convert existing servers to a failover cluster

We have ourselves quite a quandary right now. For some time, we've been planning on setting up a failover cluster for our existing servers. The plan so far has been to set up a 2-node GlusterFS ...
0
votes
0answers
22 views

megacli: Failed to alloc kernel SGL buffer for IOCTL

Today one of my servers started sending me alerts about non-optimal RAID state. These were triggered by a very simple script run by cron -- if it detects that not all of the disks report 'Optimal' ...
0
votes
0answers
41 views

kprop: Client not found in Kerberos database while getting initial ticket

I tried to set up two kdc with Kerberos 5: a master and a slave. I followed the instructions from the official docs: http://web.mit.edu/kerberos/krb5-latest/doc/admin/install_kdc.html But ...
1
vote
0answers
22 views

Stop Outbound SYN Scan

Hello I run a VPN company, and recently my host has been sending me these complaints that are likely coming from a user. I am not sure how to identify the user, if I could just do that I wouldn't ...
1
vote
1answer
194 views

RemoteApp / Seamless RDP Linux Server

I was wondering if there is an implementation of Seamless RDP for Linux servers, preferably Debian or similar, giving the result and experience of Microsoft's RemoteApp. Of course with Linux apps, I ...
0
votes
1answer
65 views

Preeseding a debian stable install with a complex partitioning scheme - missing physical volume

My personal systems run on: An open /boot partition separately random key encrypted /tmp and swap partitions and a password encrypted btrfs lvm volume holding everything else. My latest project is ...
0
votes
0answers
38 views

Wildfly Randomly gets killed

I'm with a weird problem that i tried everything and i couldn't solve it. I have a instance of Wildfly 8.2 running a JavaEE application that controls a CallCenter, this application use like 2 ~ 8 gb ...
2
votes
1answer
74 views

check header for Authenticated sender in postfix

My users send email with SMTP AUTH via SASL Authentification. Unfortunately their mails would marked as NoBounceOpenRelay by Amavis. So I set this to postfix main.cf smtpd_sasl_authenticated_header ...
0
votes
1answer
20 views

Need explanation for the Debian Mirror Checker status page

The Debian Mirror Checker provides status on Debian package mirror sites. The data is in a large table whose first couple of lines look like this: R Host T ftp-master time TS ...
1
vote
2answers
81 views

Issues with connecting to OPENVPN

I am trying to configure Mullvad on openVPN - Debian I have followed their online tutorial - Install OpenVPN and resolvconf (sudo apt-get install openvpn resolvconf) Extract the configuration files ...
0
votes
1answer
68 views

ldap_add: Constraint violation (19) additional info: some attributes not unique

Well I have already gone through ldap_add: Constraint violation (19) but couldn't solve my problem! Problem I'm facing is that, when I'm trying to add users from bckup.ldif file by issuing following ...
0
votes
2answers
60 views

logrotate syntax error near unexpected token `20'

I cleared out my apache logs last week and now started to get these errors. Any ideas how I can fix this? /etc/cron.daily/logrotate: logrotate_script: -c: line 1: syntax error near unexpected token ...
0
votes
2answers
57 views

How to use fsck? Never have used it but have to check the filesystem

My server crashed several times with rcu_sched self-detected stall on CPU errors. Now after restart it can not repair MySQL tables, some services start, some not. What command I have to issue to ...
-1
votes
1answer
33 views

Disable sendmail

I am setting up a Debian web server for testing and want to disable mails of any kind being send thorugh the server. I think I just have to uninstall sendmail, will that be enough? Will it affect ...
0
votes
2answers
30 views

Try to secure file system root with Apache2/Debian: all virtualhosts return 403 forbidden

I have Apache2 running on a Debian server. My virtualhost (one for now) are already configured in /etc/apache2/sites-available/default and are working fine: # /etc/apache2/sites-available/default ...
0
votes
0answers
263 views

rcu_sched self-detected stall on CPU on Debian server

My server is online since October 2014. Debian GNU/Linux 7.6 uname -r 3.10.23-xxxx-std-ipv6-64 It was working fine till last night. Last night it bacame unresponsible. I rebooted it from dadata ...
3
votes
4answers
35 views

Bash evaluation baffling

I'm trying to get a script to do something when one number is bigger than another, in this case, when the system load average exceeds a defined value. All of it is working aside from the evaluation ...
0
votes
1answer
124 views

Duplicity error: BackendException: ssh connection to SERVER_IP:22 failed: Unknown server SERVER_IP

I'm trying to setup a backup system with Duplicity. I have a server that I want to backup to another SFTP server. If I try to connect via sftp it works fine: root@SERVER:~# sftp user@SFTP_IP ...
0
votes
1answer
41 views

Error while installing slapd

I need some help for solving this problem when I try to install slapd package on Debian from testing repositories. Leyendo lista de paquetes... Hecho Creando árbol de dependencias Leyendo ...
-1
votes
1answer
49 views

How to enable Dovecot virtual users to change their password using passwd-file?

I am running Dovecot with several virtual users in passwd-file: http://wiki2.dovecot.org/AuthDatabase/PasswdFile . The file is /etc/dovecot/userdb . How can I enable the users to change their ...
0
votes
2answers
79 views

Restrict user changing xscreensaver settings

I would like to know any solutions people came up with restricting a user from changing a system wide configuration of xscreensaver. Part of my job is managing systems which have a requirement that ...
0
votes
0answers
30 views

fail2ban WARNING invalid command on apache2 disabled websites

I have a problem on a Debian Squeezy webserver running fail2ban. Now and then, fail2ban stops working complaining of missing access.log: fail2ban.comm : WARNING Invalid command: ['set', ...
2
votes
0answers
64 views

Debian does not shut down interface with ip link set … down

I have a really specific question for a trunk-testing environment. I have this network setup: +------------+ +------------+ | | +-----+ | | | eth0 ...
0
votes
1answer
24 views

Debugging inconsistent PHPUnit behaviour on different systems

This question has been originally asked in Stackoverflow but then I decided it might fit Serverfault better so I moved it here. I am trying to rearrange my Jenkins projects by moving some of them to ...
1
vote
0answers
77 views

start-stop-daemon not working as expected

I can't figure out why start-stop-daemon is not running the script below. What am I doing wrong? start-stop-daemon reports that it will start node when using the --test flag, but when I actually run ...
1
vote
0answers
15 views

Possible to have FQDN in Debian Logfiles?

Is it possible to have instead the hostname the fqdn inside debian log files? Example: Now its: Mar 2 18:00:12 www rsyslogd: [origin software="rsyslogd" swVersion="5.8.11" x-pid="2442" ...
0
votes
0answers
30 views

SSH connection closes when entering password for repository I try to clone using git

I have a private repository that I store on Bitbucket, that I would like to clone to my Debian server. While I am SSH connected to the server, normally I would run: git clone ...
0
votes
0answers
29 views

lp printing crossdomain on local printer

How can files located on web server (.png or .pdf) be printed on local printer ? I have a DYMO LabelWriter 450 attached to a local POS sytem, running LAMP / Debian wheezy. Currently product labels ...
-3
votes
1answer
64 views

Sendmail - How to relay / send emails ? (503 error: not authorized, use AUTH)

I have been following a how to for setting up sendmail using a smart host ssrs.reachmail.net, However I cant seem to successfully send a email from my server to my gmail account. I think I'm ...
0
votes
0answers
22 views

How to package nginx with custom modules for ubuntu server?

I need nginx with a few modules that are not included with the packages available via apt-get. I have no problem downloading the source from apt, changing the build params and compiling a .deb file ...
-1
votes
1answer
19 views

Run two mysql process on one data directory

I would like to launch two mysql process on one data directory (/var/lib/mysql) I have two servers, web-01 and web-02 but web-01 locked mysql data directory, and i would like to break this security. ...