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

learn more… | top users | synonyms

1
vote
0answers
29 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
1answer
1k 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 ...
0
votes
0answers
14 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 ...
3
votes
1answer
168 views

Low throughput on Debian + nginx/apache

On the same LAN/WAN I have a Windows server 2012 server running IIS 7.5 and a Debian (wheezy) server running Nginx 1.4.5. Both servers are connected to the same LAN/WAN. When I download a 10MB file ...
0
votes
0answers
19 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 ...
2
votes
2answers
248 views

No changes made but MySQL InnoDB overloading CPU

I haven't changed any scripts or settings what so ever. Now I have CPU load at least 4 times higher. Mysqld is taking around 360 %CPU according to TOP. It's Debian, I'm running some MyISAM tables but ...
2
votes
1answer
309 views

debian packages version convention

I'm using debian/Ubuntu, and get confused about versions of packages. When using dpkg -l command, I get: ii vim 2:7.3.429-2ubuntu2.1 Vi IMproved - ...
1
vote
2answers
331 views

How to install debian from a usb thumb drive

So far I have been following the directions here http://www.debian.org/releases/stable/i386/ch04s03.html.en I downloaded boot.img.gz to my windows machine, and copied it to my empty usb key. At this ...
1
vote
1answer
22 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 ...
12
votes
2answers
4k views

HAProxy graceful reload with zero packet loss

I'm running an HAProxy load balancing server to balance load to multiple Apache servers. I need to reload HAProxy at any given time in order to change the load balancing algorithm. This all works ...
1
vote
2answers
2k views

php sessions files incompatible? - php5.2 debian lenny vs php5.3 debian squeeze

php is truncating the session files to zero after migrating the session files from server one (debian lenny php 5.2) to the new server (debian squeeze php 5.3). i create a session on server one with ...
-2
votes
0answers
21 views

How to unblock IP range in iptables

I made a simple script for apache2 web server to block webscrapers. It's working fine but sometimes MSN Crawlers are getting banned. iptables -L (...) DROP all -- ...
0
votes
1answer
31 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 ...
0
votes
1answer
185 views

openVPN on TCP 443 + sniproxy only for certain IPs - is it a way to do it?

I'm currently running sniproxy and https server. If user is known (IP is known) iptables just allows connection to sniproxy which redirects user to desired website or local https server (127.0.0.1 ...
1
vote
2answers
2k 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
1answer
30 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 ...
0
votes
2answers
595 views

ERROR 1130 (HY000): Host 'host' is not allowed to connect to this MySQL server, only on slave

So I have a master and a slave in a mysql cluster, the syntonization works as it should however I am not able to connect to the slave from any host except from the server it self. I have no problems ...
2
votes
1answer
48 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 ...
3
votes
2answers
48 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 ...
8
votes
3answers
4k views

How to create a randomly keyed, encrypted swap partition, referring to it “by-uuid”, on Debian?

It is sensible that if you have any sort of block device encryption implemented on your GNU/Linux system, to encrypt your swap partition too, as any decrypted data may be written in cleartext at any ...
2
votes
1answer
1k views

pure-ftpd debian, can't get www-data user working

I'm trying to add FTP access to the Apache web files, in the past I have done this with an ftpuser and group arrangement. This time I would like to make it possible to login directly as www-data (the ...
41
votes
3answers
10k views

How to remove the “installed manually” flag and revert to “automatically installed” with apt-get?

To compile something, I needed the zlib1g-dev package to be installed so I launched an apt-get install zlib1g-dev. apt-get informed me nicely that the package was already auto-installed because of ...
2
votes
1answer
53 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? ...
-1
votes
0answers
84 views

Customising IPtables for a more secure webserver

Based on my reading online and a few tutorials I have produced a set of iptables rules: i=/sbin/iptables # Flush all rules $i -F $i -X # Setup default filter policy $i -P INPUT DROP $i -P OUTPUT ...
-1
votes
1answer
29 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?
-1
votes
4answers
148 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
0answers
17 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
2answers
37 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
0answers
12 views

Installation of Textpattern CMS with apache2 on dubian

I configured the Vhost on the apache2 server: <VirtualHost *:80> ServerAdmin webmaster@asr.lan ServerName www.asr.lan DocumentRoot /home/web/ <Directory /> ...
0
votes
0answers
26 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 ...
4
votes
3answers
1k 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/ ...
-1
votes
0answers
12 views

Exim4 - Redirect all local user mail to root's mail, howto? [duplicate]

I have a bunch of local users with a mailbox on my server. I'd like them to keep an empty box, with all of their mail redirected to the root's mailbox. How is that possible? Running under debian Sid. ...
1
vote
2answers
27 views

Find process with most TCP sockets?

How can I find the process with the most TCP sockets that is currently running with bash ? I would like to only output the process name
0
votes
0answers
7 views

Compiling a loadable kernel module(Debian/Ubuntu) [migrated]

This question is a follow up of this one. I am trying to compile the ELF loader as an individual LKM and use it as a standalone application(replacing the original module within the base kernel sounds ...
1
vote
2answers
1k views

iptables 1.4 and passive FTP on custom port

after the upgrade from debian squeeze to wheezy I've got a problem with passive FTP connection. I could narrow it to be iptables related, as I could connect via FTP w/o problems after adding my IP to ...
0
votes
1answer
39 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
2answers
2k views

Hostname and SSL (apache) issue on Debian

I have been trying to setup SSL virtual host ServerAdmin webmaster@mts.com ServerName moclm.tap.pt DocumentRoot /var/www/tapme/ <Directory /> Options ...
0
votes
0answers
40 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 ...
2
votes
5answers
5k views

Unable to Install Samba after uninstalling?

I have removed samba using : apt-get --purge remove samba and then Manually removed the smb.conf using rm *.* after going to the Samba directory. Now While I trying to install Samba again I am ...
0
votes
1answer
47 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 ...
1
vote
1answer
71 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 ...
0
votes
1answer
97 views

“No inittab file found” after reset

An old dedicated server (Debian with Raid1) wasn't responding today and now can't boot after manual reset. Last message is No inittab file found. I still have access to filesystem via rescue ...
0
votes
2answers
54 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
1answer
34 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 ...
3
votes
4answers
1k views

Slow disk I/O in KVM with LVM and md raid5

I have been battling with a kvm setup under debian for two weeks now, specifically with guest I/O disk performance. The system: -Supermicro 1018d-73mtf (X10SL7-F motherboard) -16GB ECC/UB -Intel ...
0
votes
1answer
40 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 ...
5
votes
3answers
14k views

How to install Mysql 5.6 on Debian 7 wheezy

I'm trying to install Mysql 5.6 on Debian 7 Wheezy.. After installing the mysql database/folder /var/lib/mysql/mysql is empty # groupadd mysql # useradd -r -g mysql mysql # apt-get install libaio1 # ...
0
votes
0answers
13 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
13 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 ...
0
votes
3answers
374 views

List all active email accounts on Debian Sarge and migrate to another server [closed]

I had a Debian Sarge server running Plesk 8.1 and moved to a CentOS server running cPanel. I do not remember how many email accounts were there. Using the terminal, how can I see how many active email ...