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

learn more… | top users | synonyms

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 ...
2
votes
2answers
302 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
399 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
332 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
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 ...
12
votes
2answers
5k 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 ...
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 ...
0
votes
1answer
197 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 ...
0
votes
1answer
42 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
861 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
76 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
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 ...
42
votes
3answers
11k 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
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? ...
-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?
-1
votes
4answers
167 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
23 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
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
0answers
32 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 ...
1
vote
2answers
32 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
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
108 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
66 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
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 ...
0
votes
1answer
115 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
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
1answer
64 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
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 ...
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
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
43 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
381 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 ...
5
votes
2answers
263 views

Repartitioning while disk is in use?

I've two closely related questions, so I'll keep them in one SF question: Question 1 I've a Linux (debian) server that must have minimal downtime. The disk has two partitions, one is / (ext3) and ...
1
vote
0answers
23 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 ...
0
votes
0answers
31 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', ...
0
votes
0answers
43 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 ...
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
2answers
184 views

Referring to domain name results in odd behavior from ISPConfig [closed]

I have a freshly set up domain and server. The server is set up with squirrelmail and ISPConfig. When I refer to the server's IP I'm taken to the /var/www folder, however if I refer to the domain name ...
0
votes
1answer
1k views

Error when installing curl debian squeeze [closed]

I have set up an [ISPconfig][1] server and am now trying to install curl. I'm using apt-get to install php5-curl and it seems to be throwing up an error. After I press "y" to accept the install it ...
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 ...
0
votes
1answer
203 views

postfix - smtp_address_preference: unknown parameter [closed]

I'm trying to change the source IP of my mailing server from IPv6 to IPv4. I'm running Debian 6.0.7 with Postfix 2.7.1 mail service and ISPConfig 3.0.5.1. I found lots of forums saying that is easy ...
0
votes
2answers
640 views

MYSQL Permission: Access denied for user 'debian-sys-maint'@'localhost

Got a problem with a mysql server installation on Debian. (Not my server so I have no idea what caused this...) Installing new applications that add a database fail with error: ERROR 1045 (28000): ...
0
votes
2answers
62 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 ...
3
votes
2answers
2k views

High load of resources by software RAID1 in Debian 6

I have a server with Debian 6 and software RAID1. There is a problem: every few seconds the jbd2/md2-8 process loads all the HDD IO. It was detected by iotop. And for the md2_raid1 process 99% of IO ...
0
votes
2answers
449 views

Recommended TCP keepalive settings for a busy server

We are having some network timeout issues on a Debian server that is quite busy, and maintains multiple connections to a number of other servers on the network. Here are our current TCP keepalive ...
0
votes
1answer
70 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
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 ...