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

learn more… | top users | synonyms

5
votes
0answers
931 views

`apache2ctl restart` makes apache forget about cgi-bin

On my Debian machine (running the apache as packaged by Debian, package 2.4.7-1), every time apache restarts through apache2ctl restart or apache2ctl graceful, it forgets about my cgi-bin directory: ...
5
votes
0answers
487 views

ModSecurity on Apache (Debian Wheezy), Authentication logging

I am new to ModSecurity, it works great on the server, but I would like to control the way it logs things. For example as I am troubleshooting my website in order to whitelist or correct php coding ...
3
votes
0answers
1k views

Munin dynamic graph zoom (dynazoom) not working (Nginx, PHP-FPM)

Debian 7.5 Nginx/1.6.0 PHP 5.6.0RC2 (fpm-fcgi) (built: Jul 11 2014 08:17:52) Munin v2.0.21-2 I been searching all over the net for a few days for answers to my problem but it seems like no one knows ...
3
votes
0answers
288 views

Kerberos, .k5login and sudo

Background: I am using a Debian 7 system which I have integrated with an LDAP+Kerberos system using libnss-ldap, libpam-krb5 and nscd. I have modified sudoers to permit an LDAP group the right to sudo ...
3
votes
0answers
530 views

OpenSSH server accepts public key then immediately closes the connection without any error message

I am trying to connect to an SSH server I was able to connect to in the past but using different OpenSSH client versions. Starting from a Cygwin OpenSSH_6.6.1, OpenSSL 1.0.1g 7 Apr 2014 client, going ...
3
votes
0answers
118 views

Easily spoof lsb_release output for different versions

I’m often rebuilding software packages (mostly Debian) for older versions (of both Debian and Ubuntu, including oldoldstable). Some of these packages use the lsb_release command to figure out the ...
3
votes
0answers
136 views

reusing existing RAIDs on preseeded installation

I'm trying to automate the reinstallation process of existing Ubuntu installations. Partition layout: md0( raid1, /dev/sda1#/dev/sdb1 ) - swap (2G) md1( raid1, /dev/sda2#/dev/sdb2 ) - / (20G) md2( ...
3
votes
0answers
109 views

Puppet removes packages while installing “lsscsi”

We wanted to install the "lsscsi" package on all our Linux Servers and build a manifest for it: # pack_lsscsi.pp class common::pack_lsscsi { case $operatingsystem { RedHat, ...
3
votes
0answers
2k views

NAT64 configuration with tayga on Debian 6

I'm trying to implement NAT64 with tayga on my server and came to a point where I'm not sure how to proceed. My server is connected via one IPv4 address and one /64 IPv6 address block to the ...
2
votes
0answers
21 views

nullmailer swaps sender and recipient

I want to send emails from my server through external mail server. So I installed nullmailer as one of simpliest MTA in Debian 7 x32. My /etc/nullmailer/remotes: smtp.example.com smtp ...
2
votes
0answers
52 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 ...
2
votes
0answers
87 views

mdadm: Convert RAID10 to RAID1

The machine in question is equipped with 4x ssd, and running Debian wheezy 7.8, linux kernel 3.2.0-4, mdadm v3.2.5. Currently I'm using a RAID10 consisting of all these ssd. I've to increase the ...
2
votes
0answers
762 views

OpenVPN ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg)

I'm trying to configure OpenVPN on my Debian 7 VPN but I'm getting the following error ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg) I tried the ...
2
votes
0answers
170 views

How do I get IPv6 packets to my KVM virtual machine?

My setup is: Debian Wheezy x64 on the host and on the guest. I am using a tun/tap setup to connect a virtual machine to the host. The KVM network options I use are: -net ...
2
votes
0answers
112 views

LibVirt (QEMU) Shutting down from inside guest

I am currently running LibVirt with Qemu on Debian Wheezy: Versions: libvirtd (libvirt) 1.2.4 qemu-x86_64 version 2.0.0 (Debian 2.0.0+dfsg-4~bpo70+1), Copyright (c) 2003-2008 Fabrice Bellard It's ...
2
votes
0answers
165 views

Debian, IPv6 is not asssigned to interface

I have a Debian 7 Server with several networks and KVM VMs running configured: 2a01:4f8:191:439b::/64 144.72.132.208/29 The IPv6 Subnet is splitted into /96 Networks to assign each bridge a own ...
2
votes
0answers
89 views

Debian 100% cpu every 30 minutes but not loggable?

I have a Debian 7 x64 machine running with Digital Ocean that has every 30 Minutes a 100% cpu usage for about 1 minute. A couple of days ago it stayed there for a couple of hours so the server finally ...
2
votes
0answers
187 views

Debian: how to install a 64 bit package using apt?

I am migrating my system to 64 bit and the debian wiki suggests to first debootstrap a 64bit into a directory, then collect all 64bit packages and install them but this doesn't work. To install 64bit ...
2
votes
0answers
40 views

PHP APC cannot increase cache above 32m

apc.shm_size I set it to 128M I have also try 128 (without M) But It always 32M :( /proc/sys/kernal/shmmax is set to 134217728
2
votes
0answers
170 views

firehol simple config doesn't work on Debian 7

I'm trying to set up a very simple firehol setup under a brand new Debian7 server. I only installed ssh and sudo before this Installed firehol with sudo apt-get install firehol Changed the config ...
2
votes
0answers
183 views

Linux (Debian 7 x64) swapping activity despite lots of free memory

Yes, I have reduced vm.swappiness a lot: % sysctl -a | grep swap vm.swappiness = 1 Memory is mostly free: % cat /proc/meminfo | head MemTotal: 8070592 kB MemFree: 2619580 kB ...
2
votes
0answers
699 views

ext4 root filesystem corruption under XenServer 6.2 DomU

We're with a problem with filesystem corruption in guest machines in a XenServer 6.2 It only happens in Linux Machines. Randomly the filesystem remounts as read-only and them corruption starts on the ...
2
votes
0answers
74 views

Ghost user in debian?

I have an openvz vps with debian, I am new to linux and the command line environment although i can setup a webserver. I have just noticed that there is a ghost user because when i execute /usr/bin/w ...
2
votes
0answers
486 views

NFS server export list empty

After upgrading my router, I am unable to mount NFS shares from a Debian server on an OS X client. I have updated /etc/exports according to the new IP address of the client (first line previously ...
2
votes
0answers
452 views

mdadm error: found two disks with the number 0

Im running a server deep in the forest , and after a hard disco failure i got this error. error: found two disks with the number 0. It a server with 2, 1 TB disc in raid 1 with mdadm 0.9 SDA failed ...
2
votes
0answers
244 views

sshd running at 100%

I'm running an Ubuntu/WordPress server on Amazon EC2 which is experiencing problems every 24-48 hours: I get a CPU alarm from EC2, log into the server, and discover sshd is running at 99.9% CPU. This ...
2
votes
0answers
462 views

How can I use huge pages and libhugetlbfs on a Debian EC2 PVM instance?

On my local machine (i7 9200) running Debian Wheezy amd64 I can get some significant speedups on some "big data"/HPC type stuff by: Following the instructions here to reserve some RAM for huge pages ...
2
votes
0answers
238 views

skipping dpkg-genchange step (Debian)

I'm building binary only package: dpkg-buildpackage -b -us -uc The build actually runs successfully, but I have deleted previous version of the package and now dpkg-genchanges complains: ...
2
votes
0answers
81 views

OpenVPN routing between static hosts

I have an OpenVPN server with successful static-key tunnels to two separate hosts - my laptop, and another server elsewhere on the internet. I have connectivity over both OpenVPN tunnels. How do I ...
2
votes
0answers
3k views

How to install Oracle Java on Debian Wheezy with make-jpkg and fakeroot without errors?

How to install Oracle Java on Debian Wheezy with make-jpkg and fakeroot? the manual for installing oracle java on debian wheezy is quite clear and understandable: http://wiki.debian.org/JavaPackage ...
2
votes
0answers
525 views

Debian Squeeze Preseed Installation “The current kernel doesn't support the Logical Volume Manager. You may need to load the lvm-mod module.”

I'm attempting to install Debian Squeeze via an instalinux.com image pre-seeded with more or less default settings. (Only notable addition is the openssh server, which is a clickable option in the ...
2
votes
0answers
586 views

udisks-daemon eating up all my memory

I'm operating a little storage server on debian, over the past months I've noticed the process udisks-daemon eating up almost all available memory. Is this just really aggressive caching or a memory ...
2
votes
0answers
187 views

Debian: preseed partitioning results in deadlock

I'm using this code in my preseed.cfg for debian testing (wheezy): #Partman partman-auto partman-auto/init_automatically_partition select 50some_device__________regular partman-auto ...
2
votes
0answers
208 views

Xen and Turbo Boost

Running the Debian Squeeze default Xen, I am unable to get any of the CPU frequency scaling stuff going. As soon as I revert to the standard kernel I get it. Digging through the internet it seems ...
2
votes
0answers
298 views

What is the preferred clocksource for a kvm guest running debian?

Our development server is running debian 4.0 (etch) as a guest under KVM. For the longest time, it had sporadic issues where many processes would appear to just hang. We finally found the issue - the ...
2
votes
0answers
212 views

Email Vyatta Log File

I have a vyatta set up as the top layer of security on a website. The vyatta is running IPS which then outputs to a log file. What I would like to do is to set the Vyatta to email me this log file ...
2
votes
0answers
3k views

Debian squeeze as L2TP/IPSec gateway for Android devices

I'm trying to configure Debian squeeze as L2TP/IPSec VPN for Android devices, but with no great success. So far I have done following: Successfully configured Debian with openswan implementation of ...
2
votes
0answers
366 views

PHP + ImageMagick Performance Issues

Good Day, I have two environments: OpenVZ VPS and Pentium 4 local dev machine. They have all packages installed the same way. ImageMagick is compiled from sources without OpenMP support. When I run ...
2
votes
0answers
566 views

Problems installing Gitorious on Debian 6.0.4

i am trying to install Gitorious on latest Debian 6.0.4 but i am running into some problems and hope there is somebody out here who might be able to help. I followed this article: ...
2
votes
0answers
685 views

Force Apache to kill its children after lost connection (“stop button” pressed)

How can I make Apache kill the CGI's that it has spawned, after the client (browser) has closed the connection? I got a couple of CGI's that perform long-running operations and send output every 15 ...
2
votes
0answers
64 views

VE not stopable

One of my VEs sometimes stops working. I cannot reach it via HTTP, FTP or SSH, I only can enter it per vzctl enter X All tries to restart the VE result in a 'Operation timed out', even if I try ...
2
votes
0answers
315 views

Postgres shell logout weirdness on debian

So, strangest thing happening on Debian PostgreSQL user: lab3:~# su - postgres postgres@lab3:~$ plogout lab3:~# And: lab3:~# su postgres postgres@lab3:/root$ pexit lab3:~# What is happening ...
1
vote
0answers
11 views

vlock/pam_ldap based authentications fails when adding TLS/SSL

I have working centralized authentication configuration setup on Debian Wheezy based servers, utilizing OpenLDAP (2.4.31), pam_ldap (184-8), and libnss-ldap (264-2). I have successfully configured ...
1
vote
0answers
27 views

nginx & php5-fpm exited on signal 7 (SIGBUS) / 502 Gateway Timeout

if got the problem when i load a page multiple times (i.E. 10 Tabs with autoreload) only some of the pages load others get 502. it doesn't depend on the content of the page. when i open the same page ...
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 ...
1
vote
0answers
21 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
0answers
47 views

SSH connection doesn't work from server to another server

For a cross backup script, I'm using ssh to transfer files from a server A to a server B. And mutually from B to A. SSH is configured on the port 54321 (not used by another service). There is no ...
1
vote
0answers
14 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" ...
1
vote
0answers
23 views

Why some apt-get and aptitude installations remove some programs?

I wanted to install wireshark, and I went to Installing wireshark So I just typed on terminal aptitude install wireshark and before it install wireshark, it removed 251 programs, and I don't have ...
1
vote
0answers
17 views

Using DeamonPortOptions to fix DKIM signing with genericstable masquerading

I'm sending mails from my debian server with sendmail. I want to be able to send mail with multiple domains using masquerading with genericstable. I am signing the mails with OpenDKIM but because ...