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

learn more… | top users | synonyms

2
votes
2answers
165 views

Backup Entire USB Drive Containing Bootable Partitions in Debian [duplicate]

What's the best way to backup a USB drive with bootable data on it? For instance, I have what's called an ESXi server on a bootable USB, it's basically a linux variant with multiple partiions. ...
-2
votes
1answer
80 views

How to get all the Debian CD ISO files to Blu-ray [closed]

There is a machine running Lenny without raid. It does pose a problem in case of HDD failure. Safety plan was like this: Install Lenny on clean disk of same properties, then copy/replace all the ...
-2
votes
1answer
238 views

With two NIC cards, in Linux (Debian), how do I keep the NICs from getting the same ip address? [closed]

I am using Debian 7 (wheezy). I have two physical NICs. I have used ifconfig and gnome-nettool to try and solve this. When I look at the device tool I see eth0 and eth1 (and the loopback). eth0 ...
1
vote
1answer
633 views

ldap/AD proxy: Unable to bind using sAMAccountName, but last name and first name is able to bind

I am attempting to set up a pass-through proxy to Active Directory, using ldap on Debian Wheezy. The slapd.conf file is below. I can bind just find by using lastname, first name: ldapsearch -x -h ...
0
votes
1answer
44 views

Shared FTP folder creation

I have installed ProFTPd and configured users' directories privately. I would like to make also a shared folder, that can access all the users. How can I do this?
0
votes
1answer
134 views

How can I perform mass provisioning of Debian Guest VMs on XenServer?

There are a number of tools for provisioning physical and virtual servers, but I can't see a well documented solution for provisioning XenServer Debian guests, apart from using XenCenter itself. With ...
0
votes
0answers
113 views

Postfix server rejecting sender address

I installed a mailserver (postfix / dovecot) on my Debian Wheezy system and cannot send mails. Since I just want to administer a mail server and don't have a domain yet, I'm working with the external ...
0
votes
2answers
73 views

httpd always keep start itself, the cpu load is very high

My dedicated server has a problem after i reboot itself. The cpu load average is very high as following detail after i run top command top - 23:40:41 up 50 min, 3 users, load average: 236.24, ...
0
votes
0answers
11 views

iptables NAT can't initialise on Debian openvz [duplicate]

So i want to create a nat rule for an openVPN server. After getting trouble with the TAP/TUN Devices, it's finally working i think It's working greate but not routed so useless. Now i have to make a ...
-1
votes
1answer
92 views

VPS novice - What is wrong with sshd_config? [closed]

I've recently acquired a VPS running Debian 7 32bit Minimal and I'm very new to servers. When I try to connect using PuTTY and the SSH Access Information, I get the message "Disconnected:No supported ...
0
votes
1answer
210 views

ssh operation timed out while trying to connect from home [closed]

I got server (server X) I'm trying to connect using ssh. But I get 'operation timed out'. It happens only when I'm in home. If I change internet provider it works. Though I can connect to other ...
0
votes
1answer
92 views

Not everyone can write to new files made in /var/www

I followed the most upvoted tips in this thread. What's the best way of handling permissions for apache2's user www-data in /var/www? I just made a new file under one user1. However user2 ...
0
votes
3answers
66 views

Delete file as different user under PHP

I'm running PHP as user www-data and Nginx is running as user nginx. I need to delete files in /var/cache/nginx/, which is owned by user nginx and I want to do it using PHP. Is there a way to allow ...
0
votes
0answers
46 views

NIS on mulithomed system serving two separate subnets, with two different dns domain names

We have problem with setting up NIS and using one NIS domain in two separate networks. Our current setup is as follows: We have one computing cluster with 20 PCs in a local subnet (192.168.0.0/24, we ...
2
votes
1answer
225 views

Openvpn server with bind9 DNS on AWS. Linux client cannot resolve host names.

I have a openvpn server set up and working on an AWS debian instance. It works as should but I want to push DNS queries to linux clients from bind9 which is on the same server as openvpn. All seems to ...
0
votes
0answers
35 views

Debian ethernet interface goes down while streaming video

While streaming video FROM a debian box to the rest of a network, I regularly see the ethernet interface go down on this box after a couple hours of streaming and it doesn't come back up until the box ...
4
votes
2answers
87 views

Multiple websites on multiple servers - seperate mysql or not

I currently have 2 Debian servers (VPS with 4 GB memory) and am hosting a variety of websites of differing importance: some are production sites, while others are demo/staging/test sites. ...
0
votes
1answer
51 views

nginx stopped listening after restarting

I was able to make Nginx run on my Debian 7.7 system using all the default configuration (I didn't touch anything after the installation). I was able to access it by accessing my server's IP. When I ...
0
votes
1answer
120 views

zz-update-grube exited with return code 127

While updating one of the servers I have encountered an error that I can not seem to solve. I have googled around and followed instructions on other threads but nothing is working to solve the issue. ...
0
votes
1answer
39 views

Logging only written on old [filename].1 log files

My log is not written on the correct log file for example syslog, mail.log, mysql.log, auth.log but for some reason the latest event are written on these old log files syslog.1, auth.log.1, mail.log.1 ...
2
votes
3answers
422 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 ...
1
vote
0answers
327 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
231 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
98 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
131 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
249 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
398 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
186 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
378 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
188 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
466 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
326 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
560 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
1answer
340 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
161 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
25 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
104 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. ...
1
vote
2answers
2k 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 ...
2
votes
0answers
348 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
71 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
86 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
848 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
459 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
87 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
152 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
822 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
87 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
110 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
561 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
212 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, ...