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
422 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
61 views

What do you use for automated testing of Debian package installations and updates?

I am using a Debian repo (based on reprepro) for Wheezy and custom packages. I modify my custom packages from time to time and test them manually on different systems, e.g.: Test a) Installation of ...
3
votes
0answers
202 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
738 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: ...
3
votes
0answers
99 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
1k 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
77 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
117 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
353 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 ...
2
votes
0answers
32 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
113 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
90 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 ...
2
votes
0answers
164 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
354 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
355 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
214 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
380 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
167 views

linux - Debian - top(1) in batch mode, with selected columns

I have read the man page (which does not mention how to select columns in batch mode but explains how to do it in interactive mode). Since I also have seen blogs discussing how some environment ...
2
votes
0answers
206 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
74 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
64 views

Disallow virtual package in Debian's /etc/apt/preferences

I know I can disallow a particular package in Debian by appending /etc/apt/preferences with: Package: *x11* Pin: release Pin-Priority: -1 But how can I do that for a virtual package like httpd? I'd ...
2
votes
0answers
134 views

Debian package creation: binary-arch and binary-indep targets

I'm trying to create my first deb so I don't know much about it yet. This is my 'rules' file at the moment: #!/usr/bin/make -f # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 # This ...
2
votes
0answers
478 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
530 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
169 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
124 views

Debian squeeze server hangs when accessing md raid 5 over network

My debian squeeze server ha begin to hang/freeze when I try to access my md raid 5 over network (via samba or afp/netatalk). This behavior started when I installed netatalk, libgcrypt11 from wheezy. ...
2
votes
0answers
195 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
292 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
201 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
349 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
551 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
666 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
296 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
80 views

OpenVPN ignoring openvpn.conf, throws unrecognized or missing option

I set up openVPN on Debian, but can't start the service. [FAIL] Starting virtual private network daemon: openvpn failed! Syslog says Options error: Unrecognized option or missing parameter(s) in ...
1
vote
0answers
264 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 ...
1
vote
0answers
76 views

To write in mdadm.conf in initramfs prompt doesn"t not save changes after reboot

I made a mistake with my mdadm.conf with my debian backup server. I used this command : mdadm --detail --scan --verbose >> /etc/mdadm/mdadm.conf to add a raid5 (it works great). By using ...
1
vote
0answers
21 views

Apache - disable file preprocessing

Apache tries parse my *.tpl files (which contain js/html – underscore templates). This is somethings I don't need at all. So if I rename file to *.html, content is returned as is, and if that very ...
1
vote
0answers
107 views

Page displays “File not found” when I enable php-fpm chroot on debian wheezy apache2.2

I set up a chroot jail for a user "bob". bob is located in /var/jails/bob Bob has a site which is located in /var/jails/bob/bobssite.com/public_html Everything seems to work so far, including the ...
1
vote
0answers
97 views

Failed to install Nginx from nginx.org, Debian apt preferences messed up?

I'm trying to install Nginx from the latest release on nginx.org However, the latest package is not picked up: $ apt-get install nginx Reading package lists... Done Building dependency tree ...
1
vote
0answers
121 views

How can I limit total quota using squid without authentication for per user

I am having Raspberry Pi running Raspbian, I have configured it as a wifi hotspot using hostapd and dhcpd, I have configured transparent squid proxy server on it. Now all traffic goes through my proxy ...
1
vote
0answers
153 views

Shorewall: DNAT to IPSEC tunnel zone not routing correctly

I have a ipsec tunnel working that gives access to a 192.168.4.0/24 lan. It is working fine and I can access hosts on the other side without problem: # from fw and lan hosts: # ping 192.168.4.44 PING ...
1
vote
0answers
39 views

Non-ASCII filenames are being broken in Debian

I have an old Jira 3.12 installed on Linux (Debian, 6.04). The encoding in OS is setup to UTF-8. My problem: if somebody adds an attachment with non-ASCII symbols in its filename, it is created ...
1
vote
0answers
296 views

Client successfully connects to OpenVPN server but with no internet access over the VPN

I'm trying to setup OpenVPN with static key authentication(instead of TLS) on TCP port 443; but the client cannot access the internet over the VPN after connecting to the server. Here's my current ...
1
vote
0answers
35 views

Squid limit all user to 128kbit/s

I have a very odd behaviour with my squid server. It limits every client to a bitrate of exactly 3,2 Mbit/s... To troubleshoot it, I've tried to set the bitrate limit to unlimited and to 128kbit/s ...
1
vote
0answers
41 views

periodic connection timeouts to nginx server

We have the following setup: One nginx server as a loadbalancer in front of four worker application servers. The nginx server get about 100 requests per second, sometimes more that that, active ...
1
vote
0answers
47 views

Virtuall Manager : CentOS Guest Install Garbled Text

I'm trying to install CentOS 6.5 with virtual manager but the menu is garbled. Host machine is running on Debian Wheezy. Thank you in advance.
1
vote
0answers
113 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 ...
1
vote
0answers
117 views

Keepalived configurations

I installed keepalived on two firewalls to provide fail over. I'm not sure if the following configurations are correct (see configurations below). Sometimes I have problems to reach the websites ...