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

learn more… | top users | synonyms

4
votes
0answers
298 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
24 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
323 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
75 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, ...
2
votes
0answers
14 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
28 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 ...
2
votes
0answers
41 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
35 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
41 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
71 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
118 views

Supervisor cannot correctly stop uwsgi

Supervisor can start uwsgi but after stopping uwsgi, when i try to start it again I get this error: 2014-03-16 08:38:34,249 DEBG 'app' stderr output: ...
2
votes
0answers
166 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
99 views

Resume from suspend/hibernation on LAN activity

I have Debian Wheezy 7.2 running on a HP Thin Client. This little box acts as a file server and is only used from time to time, so I don't want it to run 24/7 but it has to be available when it's ...
2
votes
0answers
156 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
256 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
145 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
56 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
90 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
386 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
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
151 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
115 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
175 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
263 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
178 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
2k 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
321 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
507 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
583 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
63 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
285 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
36 views

Monit failing to connect to Dovecot over SSL IMAP

I run Monit to keep check on processes on a Debian server. It's working as normal for all other services (Apache SSL, Postfix, SSH etc.) but Monit's checks on Dovecot are failing repeatedly. I think ...
1
vote
0answers
43 views

Redundant Debian Gateway

I have to configure a redundant gateway with Debian boxes and I would like to get some recommendation what's the best solution in my case. There are certain limitations in my setup and I have to go ...
1
vote
0answers
40 views

Debian WPA2-Enterprise (Network-manager) 802.1X no prompt for certificat?

I set up an access point (AP) with PEAP (Freeradius) 802.1X authentication and trying to connect the following: IOS: Automatically provides the certificate to the onscreen user. WINDOWS: ...
1
vote
0answers
61 views

VPS without access to the Internet after reboot

There is a problem with my VPS. I had purged lots of programs using apt-get command and * wildcard among other things to remove many apps at the same time such as sendmail-*. After it the server ...
1
vote
0answers
16 views

Kerberos credentials cache dates reported differently in Debian Squeeze and Debian Wheezy

I have two Debian servers which use same LDAP/Kerberos server, but dates in output of klist on them shown in different format - mm/dd/yyyy on squeeze vs dd/mm/yy on wheezy. Looks like they just use ...
1
vote
0answers
50 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 ...
1
vote
0answers
70 views

Posftfix - MTA during fwd-connect Negative greeting

I have problem with postfix on Debian Squeezy (Yes. Squeezy). I can't send email, idk why. My postqueue: root@mx-2:~# postqueue -p -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- ...
1
vote
0answers
78 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 ...
1
vote
0answers
50 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 ...
1
vote
0answers
18 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
1
vote
0answers
22 views

nginx proxy_pass directive acting up on OSX?

I have the following lines in my nginx.conf on my Mac: location /addPat { resolver 8.8.8.8; proxy_pass http://some_url:8080$request_uri; proxy_http_version ...
1
vote
0answers
11 views

Which dependencies are removable after building ruby?

I've successfully built ruby 2.1.1 on Ubuntu/Debian by installing the following dependencies: apt-get install \ autoconf \ bison \ build-essential \ libssl-dev \ libyaml-dev \ ...
1
vote
0answers
168 views

XenServer IP Failover OVH not working

I have got problem on XenServer with IP FailOver in OVH. I did everything what is in this official tutorial http://help.ovh.co.uk/BridgeClient and IP not working. On my VM is Debian 7 64bit I set MAC ...
1
vote
0answers
70 views

Massively large number of packets dropped by interface

I have a virtual machine on ESXi 5 acting as a firewall for a PBX, it is running vyatta. When I run tcpdump on any interface, I get some ridiculous numbers! e.g. 4 packets captured 402 packets ...
1
vote
0answers
88 views

Debian Wheezy hangs before GRUB menu after successful install on Dell C-Series Server

I've just installed Debian Wheezy on a Dell C-Series Server w/o any problems. However, at first reboot, I don't even get a GRUB menu. So I guess it's a problem with where GRUB was installed and maybe ...
1
vote
0answers
61 views

Debian VPS server - backup

I'm trying to backup my VPS-server (debian) to new Router FTP server. Past (stable backup to my PC): I had backup of my VPS-server to my home-PC over Internet. I used "Filesystem Backup" with ...
1
vote
0answers
366 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 ...
1
vote
0answers
183 views

Debian Preseed use whole device for LVM Physical Volume

I have the following recipe for a preseed install (truncated for readability): d-i partman-auto/expert_recipe string \ boot-root :: \ 1 1 1 free \ $iflabel{ gpt } \ $reusemethod{ } ...
1
vote
0answers
94 views

nginx-extras ok for production server?

I need the upload progress extension on my production server running Nginx, the only problem is that to do that I must actually recompile the whole of Nginx. This means uninstalling the repo Nginx, ...