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

learn more… | top users | synonyms

1
vote
3answers
159 views

Ulimit file descriptor limits not being applied for particular process

I recently checked one of our redis processes to what ulimits where applied using: cat /proc/<redis-pid>/limits And was suprised to learn that is was at the low default value: Limit ...
0
votes
0answers
176 views

systemd user units and debian wheezy

I'm running a debian wheezy server and switched to systemd by installing systemd-sysv. So far everything works as before. Now I want to allow users to run/ manage their own units/ daemons with ...
0
votes
2answers
123 views

How to check current TCP Congestion Window on Linux?

Does anyone know how to check the current value of initcwnd? (particularly on Debian [Squeeze]) I've searched, but can't find a definitive answer to this. I haven't changed it, but may want to ...
1
vote
1answer
69 views

Using duplicity in a disaster recovery scenario

I am using duplicity for backups on my Debian servers. I have successfully backed up and restored files using duplicity. In my backup script, I have /usr/bin/dpkg --get-selections > ...
-1
votes
1answer
71 views

Forward incoming packets from port 25565 to natted internal client? IPTables [closed]

I have been learning to use iptables recently and i made a small nat network in virtualbox. I have a Debian server Natting for the internal clients. One of the internal clients is hosting a minecraft ...
0
votes
1answer
123 views

Redirect HTTP to HTTPS /etc/apache2/sites-available/default not working

I know this question has been posted ad-nauseam; however, I still cannot manage to get a working solution. OS being used is Debian 7 Wheezy. vHosts file (/etc/apache2/sites-available/default): ...
0
votes
2answers
152 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
158 views

SSH On Another Port Debian 7.7

I cannot seem to SSH into my server on another Port. I have an identical setup on another server, but I am baffled now if my issue is with IPTables or something else. Does anyone see what I am doing ...
0
votes
1answer
211 views

PHP-FPM does not start on server boot (debian)

I installed nginx and php-fpm on my server. When I run "service php5-fpm status" I only get status: Unknown job: php5-fpm The only way to start FPM for me is to run php5-fpm -D But it won't start ...
0
votes
0answers
154 views

Force all traffic from one user through an OpenVPN tunnel on Debian 6 with iptables and ip route

I’m trying to force all traffic of one user through an OpenVPN tunnel. It is giving me grey hairs. The current situation is that I can either allow all traffic for this particular user, and it will go ...
1
vote
2answers
186 views

Unable to ssh to GCE Permission denied (publickey)

I created a VM via bitnami in Google Compute Engine. Previously I was able to ssh via the bitnami web interface. I tried to ssh via terminal on my Mac but kept getting the Permission denied ...
1
vote
1answer
230 views

MySQL 5.6.21 on Debian 7.7 — nice is automatically set to 19 several seconds after starting it up; can't figure out why

I'm running MySQL 5.6.21 on an OpenVZ VPS with Debian 7.7. MySQL is installed from the DotDeb repository (full version number is 5.6.21-1~dotdeb.1). Whenever the MySQL server is started or restarted, ...
0
votes
0answers
160 views

How to upgrade from Postgres 9.1 to 9.3 allowing read access during upgrade

"PostgreSQL 9.1.2 on x86_64-unknown-linux-gnu, compiled by gcc-4.4.real (Debian 4.4.5-8) 4.4.5, 64-bit" is working in Debian 6.0 Squeeze It contains 12 databases accessed by 100 users from internet. ...
0
votes
0answers
239 views

web server on a proxmox container using dns server on proxmox

Some background: I've got a little problem here. I have Promox installed on my primary server on which I've configured manually my DNS server with BIND9 with the domain example.com and works fine ...
0
votes
1answer
168 views

NFS fails to mount through openvpn tunnel

I am trying to establish an nfs connection through an openvpn tunnel. It really anoying and i dont know what to try next. The connectein test has been made on several platforms now. used ...
0
votes
1answer
121 views

Debian server not booting after software RAID-1 array degraded

So I have a Debian 7 server with 3 hard drives. Its RAID-1 is basically configured this way: md0: sda1, sdb1 --> / (root) md1: sda5, sdc1 + sdb5 (spare) --> /data (sdc1 is on a SSD, and sda5 is ...
0
votes
0answers
21 views

Compare package versions of different debian releases

I installed a server using debian-testing (jessie). Well, I regret it. They already broke the complete system twice because systemd suddenly required additional kernel features. And I don't want to ...
0
votes
1answer
68 views

Suddenly, shutdown command can't be found anymore

I logged in to my Debian 7 server, did an upgrade using apt and wanted to shutdown+reboot using shutdown -r now as i did a lot of times before. This time, the shutdown command can't be found anymore. ...
0
votes
2answers
792 views

Nginx uLimit 'worker_connections exceed open file resource limit: 1024'

I keep getting this error in nginx/error.log and its driving me nuts: 8096 worker_connections exceed open file resource limit: 1024 I've tried everything I can think of and cant figure out what is ...
0
votes
0answers
103 views

rsync termiates after a while unexpectedly

I run a rsync command with nohup in ssh session, but after a while it returns this error: rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [generator=3.0.9] rsync error: ...
1
vote
1answer
52 views

Debian port(s) not responding

I am fairly new to servers. I am trying to run a shoutcast server on debian. Shoutcast runs on a default port of 8000. My problem is it will not load when visiting xxx.xxx.xx.xxx:8000. When I log in ...
-1
votes
2answers
52 views

/var/mail Folder Permission (Setup Mail Server with Dovecot) [closed]

I am following a guide to setup a mail server and accounts on a Debian 7 OS and they ask to set up a folder permissions to match this: drwxrwsr-x 3 root vmail 4096 Jan 24 21:23 /var/mail But my ...
1
vote
1answer
418 views

How to ban Syn Flood Attacks using Fail2Ban?

In my log, I am frequently seeing dropped ips like this: > Oct 30 17:32:24 IPTables Dropped: IN=eth0 OUT= > MAC=04:01:2b:bd:b0:01:4c:96:14:ff:df:f0:08:00 SRC=62.210.94.116 > ...
0
votes
1answer
186 views

Ubuntu Server 12.04: apt-get won't install vsftpd (Package is not available, but is referred by another)

When I try to install VSFTPD to my Ubuntu Server 12.04 instance by the following command: sudo apt-get install vsftpd I get the following error: Package vsftpd is not available, but is referred by ...
0
votes
1answer
22 views

Ganglia Running but Not Showing CPUs or Hosts

So I just set up ganglia on a single debian node. It followed a pretty simple process of 1 - installed from stable repo using apt-get install ganglia-monitor gmetad apt-get install ...
0
votes
1answer
108 views

Exim installed, can send mail but not receive any

I am trying to set up the mail service on my server. I installed exim4 and configured it. I can send emails to any email address, send one from a user to another but not receive any. When I try to ...
0
votes
0answers
457 views

Seafile Server on Debian with sqlite + apache - fastcgi: connection timeout, incompelte headers

Introduction: I am trying to set up an Seafile server on my Local Network(later reachable by portforwarding through router). I followed the official manual but couldn't get it to work with Apache. It ...
1
vote
1answer
67 views

Can no longer add VMs on Xen/DRBD/Pacemaker Cluster

OS: Debian 7.3 & 7.6 Problem: Every attempt to manipulate (create, migrate or even list) the VM's with virsh causes this "Failed to get host power capabilities" warning. I manage a standalone ...
2
votes
2answers
87 views

Running “find” command generates high load

I run this command on a Debian server with SSD drives configured as RAID 1: ionice -c 3 find . -type f -amin -1440 -mmin +1441 -not -path custom/ -print0 on a path which contains over 1.7M files and ...
1
vote
2answers
329 views

Varnish 4 Working Config (optimized) for Wordpress (default.vcl)

I have successfully set up varnish 4 on my nginx 1.6.2 it is working but as per the test on http://www.isvarnishworking.com/ it shows Varnish appears to be responding at that url, but the ...
1
vote
1answer
127 views

Is it possible to configure ECDHE-ECDSA with mod_gnutls and Apache 2?

I'm trying to configure my Debian box with mod_gnutls implementation (for sake of SNI), to achieve best possible results in TLSv1.0/1.1/1.2 (disregarding both SSL2 and SSL3) However it seems to me, ...
-2
votes
2answers
313 views

Installing ngx_pagespeed with nginx 1.6.2 (Backport) on debian 7 (wheezy)

I am struggling to install nginx 1.6.2 with module ngx_pagespeed 1.9.32.1-beta Can anyone please help me to install this on my debian 7. Any working tutorial i have tried ...
0
votes
0answers
39 views

use PHP over FastCGI instead of mod_php

I have a debian wheezy server with apache. Generally I want to use PHP as a apache-module. But on some virtual hosts I want to use PHP over FastCGI instead of mod_php. How can I switch off mod_php on ...
1
vote
2answers
205 views

Confused about Linux Hostname, DNS Hostnames and FQDN Hostname

This might sound stupid and basic to some of you, but I am still so confused about this even after reading numerous sources on the net. My questions still unclear are: Is the Hostname in machine ...
-1
votes
1answer
41 views

Debian live server mirroring (copy) of main server [closed]

I am installing a debian server and I need to install a mirror of that server, so that in case of problems with the main one, the users can connect to the mirror transparently. Any change in the main ...
1
vote
0answers
141 views

libc/libcstdc++ issue - GLIBC_2.18 not found

After some package update on my Debian (Sid) machine I started to experience errors like: Error message from server: ERROR: could not load library "/usr/lib/postgresql/9.1/lib/postgis-1.5.so": ...
0
votes
1answer
119 views

Unable to locate package mail-stack-delivery

I am trying to install dovecot in my Debian 6: root@www:/# apt-get install mail-stack-delivery And I get E: Unable to locate package mail-stack-delivery Could some one please advise what ...
0
votes
0answers
31 views

Rebuilding raid1 array fails device busy

I had a hard disk fail on my server, so I got the provider to replace the hard disk. Unfortunately I forgot to do mdadm /dev/mdX --fail /dev/sdaY for the disks. Now after a reboot, I get this: ...
-4
votes
1answer
42 views

In Debian, what is NAMED service for? [closed]

I have just upgraded my Debian VPS webserver from 6 to 7 and among others I have just found the following services running: named xinetd sendmail-mta (...) kthreadd/478 khelper/478 What is the ...
1
vote
2answers
62 views

Is it safe to move “ACCEPT state RELATED,ESTABLISHED” to the top?

I've the following iptables configuration: Chain INPUT (policy DROP 11 packets, 604 bytes) num pkts bytes target prot opt in out source destination 1 127 11093 ...
1
vote
0answers
113 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 ...
0
votes
1answer
56 views

intel 2620 and 2609 on debian cpuinfo [closed]

I have two Boxes running Debian 7 with the following processors. Each Box has two of the same processors. Intel® Xeon® Processor E5-2620 (15M Cache, 2.00 GHz, 7.20 GT/s Intel® QPI) # of Cores 6 # ...
0
votes
1answer
153 views

libnss-ldap getent passwd - AD replies correctly but output shows local /etc/passwd

I am trying to configure libnss-ldap to provide AD authentication to my Linux Debian servers. This is working fine if user exists locally, I want to make it work for Domain users. Here is my ...
0
votes
1answer
120 views

Debian Active Directory to LDAP migration

These days I am working on LDAP and Active Directory migration. I want to migrate to LDAP but I cannot get passwords from Active Directory. I want to seemlesly migrate to LDAP, and I want a solution ...
0
votes
1answer
77 views

Increase partition size in debian server

I have a debian server instance and I need to increase the root partition size of it. I installed the parted program and took a backup first. Then I attached another 2GB volume to the instance. When ...
1
vote
1answer
93 views

Postfix to Postfix relaying

I've got a (possibly unusual) situation with using Postfix to relay mail to another Postfix mail server that then needs to send the email out. I've read plenty of tutorials and seen instructions for ...
1
vote
0answers
23 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 ...
0
votes
1answer
88 views

lighttpd does not start at boot after enabling ipv6

A few days ago I configured lighttpd to listen on my VPS IPv6 address as well. It runs on a Debian 7 Xen VPS (Linode) with a 3.15.4-x86_64-linode45 kernel. The version of lighttpd is 1.4.31-4+deb7u3. ...
1
vote
1answer
69 views

Cannot remove mount option “discard” on an ext4 file system

I try to turn off "discard" on an ext4 file system but I cannot succeed. I tried to add "nodiscard" option in /etc/fstab but I can still see this # tune2fs -l /dev/md2|grep disca Default mount ...
0
votes
2answers
80 views

VirtualHost's server name does not work (shows /var/www), all aliases do

I have installed apache 2 and created and enabled a virtual host. The virtual host has: ServerName example.com ServerAlias *.example.com ServerAlias foo.com ServerAlias *.foo.com ...