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

learn more… | top users | synonyms

0
votes
1answer
14 views

How to configure exim4 to orelay email from a specific IP?

I am attempting to set up an SMTP relay server, using exim4. However, I have only one IP that I want to be allowed to send email through my server. Is this done using iptables or some configuration ...
0
votes
1answer
41 views

OpenVPN client nslookup failure after disconnect

Currently I am trying to route my traffic through a gateway running Debian Linux which forwards all incoming traffic thorugh a VPN connection (Client -> Gateway with OpenVPN client -> VPN server -> ...
0
votes
1answer
51 views

resolv.conf “search” ignored

my /etc/resolv.conf file is quite basic, something like: # Generated by NetworkManager domain subdomain.example.org search subdomain.example.org nameserver 192.0.2.100 nameserver 192.0.2.200 From ...
0
votes
0answers
56 views

Changing port for phpmyadmin

I've got on my VPS tomcat running on the port 80. Nevertheless I want to have there phpmyadmin (running on some other port) as well... I tried to edit /etc/apache2/ports.conf and ...
0
votes
0answers
19 views

Proxmox-Server: Extremely high load during deletion-task of old backups

I'm using Proxmox to get some VPS. In Proxmox I set up some backup-tasks which are running fine. BUT: The backups are stored in big files (each backup has round about 300GB) so I can not store more ...
1
vote
1answer
67 views

Debian Linux default interface?

I have a Debian machine with an SNMP pooler running, but I am running into an issue with getting the pooler to use a specific interface. The Debian machine has 3 interfaces allow-hotplug eth0 iface ...
0
votes
0answers
17 views

How often recompile grsec patched kernel?

I plan to harden my corporate debian servers by using grsecurity patched kernel. However, I don't necessarily have time either to monitor each new security hole discovered nor to manually reconfigure ...
20
votes
6answers
32k views

What is the preferred method to restart networking in Ubuntu and Debian

When I restart the network using: /etc/init.d/networking restart I get this warning: Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces So ...
0
votes
1answer
91 views

Postfix + Dovecot fatal: no SASL authentication mechanisms

When I try to login via telnet I am getting kicked out immediately: telnet localhost 25 Trying ::1... Connected to localhost.localdomain. Escape character is '^]'. Connection closed by foreign host. ...
1
vote
2answers
11k views

Problem with NFS server lockd timing out on Debian linux

We've recently upgraded an NFS server (called "ian"), and after the upgrade, NFS is broken, whereas it wasn't before. The server is now running Debian "lenny", with kernel version 2.6.26-2; it's a ...
6
votes
3answers
2k views

No space left on device error, but df reports as more space available

My PHP sessions on my Debian webserver using Apache2 with mod_php seem to be failing randomly, saying that there’s no space to write them: sudo tail -60 /var/log/apache2/error.log [Fri Jan 30 ...
0
votes
2answers
100 views

Common Name does not match Server Name - SSL Certificate

I recently purchased an SSL certificate. I've got www.site.com.key, www.site.com.csr, intermedia.pem, www.site.com.crt all set up in my /etc/ssl/localcerts folder. When I open my browser I get the ...
-1
votes
1answer
46 views

Why do my PHP files show as text in browsers? [closed]

Long story short, my PHP files show as text in browsers rather than running the PHP script. I am aware that there are questions similar to this but none answer my question. I'm lost. I have an Apache ...
1
vote
1answer
61 views

Best way to show architecture of a specified file system?

Admitting a filesystem is installed in ~/FS/ (which is its root), how can I check its architecture without chroot? I tried with dpkg --root=~/FS/ --print-architecture but it still prints me the ...
0
votes
0answers
14 views

lighthttpd redirect to php script

How can I redirect requests from specific referer to a PHP file? I know how to block a image request: $HTTP["referer"] =~ ".*example\.zi.*" { url.access-deny = ( "" ) url.access-deny ...
0
votes
0answers
51 views

Debian Wheezy: unmet dependencies when starting program

I am trying to run a program and it tells me it needs the packages: libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386 After that, i get this error message: The following packages have unmet ...
0
votes
0answers
16 views

Start seafile before docker at boot

On a debian 8 server, I have installed docker which run a MariaDB container. Seafile server is dependent of the MariaDB container. On restart, MariaDB take too long to start, so seafile fail is ...
0
votes
1answer
51 views

How can I download a complete image of my DO VPS to an image for a VM over SSH?

There isn't a way to download a complete image from Digital Ocean VPS hosting through their web UI. How can I download an entire image of the VPS that I can use locally on a VM or upload to another ...
0
votes
1answer
73 views

What is the best method of installing programs into a chroot / jail?

On a Debian based system... I have created a minimal chroot/jail using a script similar to the one at https://github.com/pmenhart/make_chroot_jail/blob/master/make_chroot_jail.sh with the goal of ...
3
votes
0answers
52 views

some IPs within a subnet not reachable

I'm running 3 Debian-Servers, each with its own IPMI. All IPs are within the same subnet with the same gateway. The problem is, that each server can ping its own IPMI but not the IPMI of the other 2 ...
2
votes
2answers
242 views

Monitoring of disk usage over time - check for large variations [closed]

I'm looking for a tool that would monitor disk usage over time. What I'm looking for is folders or files that grow unexpectedly over a short period of time. I use du , ncdu, baobab (when X is ...
0
votes
1answer
62 views

Use LDAP and Local auth as a backup on mail server

We are currently researching the best way to go about switching our mail server (dovecot/postfix/debian 7) from local authentication to ldap (AD) authentication. We would like to have local auth as ...
0
votes
1answer
210 views

Debian 8 Jessie - Postfix + Dovecot, send but not receive mails

I'm setting up a mail server (with Postfix, Dovecot and Postfixadmin) for a non-profit organization that I'm currently building. I'm able to send but not receive mails over TLS. When sending an email ...
1
vote
0answers
22 views

Postfix SMTP authentication FROM [duplicate]

I have a Postfix server with authentication running. However I recently found out, that anyone authenticated may send mail from any account. Meaning user1 is logging in and may send the e-mail from ...
1
vote
1answer
100 views

Spamassassin: sa-update failed for unknown reasons, daily error, How to fix?

For a while now I'm getting the following error-mail sent to my root account on my server. This is a fail occurring every time on the daily spamassassin update. My setup followed the Ars Technica ...
0
votes
0answers
42 views

mysql replication stops without errors

I have this issue with master to master replication setup. Replication stops without errors, but when I make: slave stop; slave start; it is working again. mysql --version mysql Ver 14.14 Distrib ...
0
votes
0answers
8 views

Disk boot up from backup

I have a backup of my whole / partition except for /tmp /proc and /sys . Is there a way to boot this up into live? Backup is on 32 bit debian 5 OS Thanks
5
votes
5answers
5k views

How to get a list of security updates on the command line in Debian/Ubuntu

In the GUI tool you can get a list packages with security updates. Can this be done on the command line in Debian or Ubuntu? Normally I might use "apt-get upgrade" which would show me what is being ...
4
votes
7answers
42k views

WGET can't resolve host

I've got 2 machines on the same sub-net running Debian 5.0. They use the same DNS (/etc/resolv.conf), they route to the same gateway (#route) and they have the same iptables settings (#iptables -L). ...
0
votes
1answer
23 views

How can I modify the bootloader config on debian 7

I want to install Debian 7 remotely. I've followed this tutorial: https://wiki.debian.org/DebianInstaller/Remote How can I execute Step 8? I found the command update-grub but I don't know where to ...
1
vote
1answer
25 views

Debian, kill java by it's jar name?

Okay, I am going to be running two java application on the same VPS one will be running nearly all the time. The other one will not need to be. I am wondering if there is away to kill java based on ...
1
vote
2answers
144 views

What is the best way to run unoconv in php on debian server?

I have a php script in which I need to convert doc documents to html files in order to show them in a web page. I'm doing the conversion with the php command: exec ( $Command, $Output, ...
1
vote
1answer
29 views

Restrict only 1 file to use sendmail

I want to restrict access to sendmail process, to only 1 php file /var/www/mysite/contact.php How can I do this? Maybe there is a trick with Iptables or sendmail configuration? I want to secure ...
2
votes
5answers
2k views

SSH keys fail for one user

I just set up a new Debian server. I disabled root SSH and password auth, so you've gotta use a key file. For my primary user, everything works exactly as expected. I used ssh-keygen -t dsa and got ...
0
votes
2answers
4k views

How to disable anonymous access on LDAP

I need to secure my LDAP server and am not quite sure the best way to go about it. I am running Debian "Lenny", and using OpenLDAP (slapd). I notice that if I run: ldapsearch -x -W -b ...
0
votes
0answers
29 views

How to get Ipv4 in NAT mode & Ipv6 in bridge mode together in Xen 4.4?

Here is my problem with Xen 4.4 wth Debian 8, i have one Ipv4 address & plenty of Ipv6 addresses. I would like to setup xen for NAT to route IPv4 to a private network and bridge with Ipv6 ...
0
votes
1answer
32 views

Why does apt-get install duply (on debian 7.8) not update to the latest verison?

Hi there I'm a bit confused about updating on my debian server. I'm using duplicity + duply on my server and wanted to update duply to the latest version. Running: sudo apt-get install duply ...
0
votes
2answers
61 views

OpenLDAP proxy : caching credentials in case Active Directory master unreachable

I'm setting up a Debian server in my company where users are managed in an Active Directory. I'd like to authenticate users with AD but I'm thinking it would be better, if feasible, to have a local ...
92
votes
8answers
79k views

How can I run Debian stable but install some packages from testing?

Say you're running a server and you don't want to upgrade to Testing (Squeeze) from Stable (Lenny) to just install a required package or two. What's the best way of installing only certain packages ...
0
votes
2answers
62 views

Debian virtual instance gives “No space left on device” during upgrade from wheezy to jessie [closed]

I'm half way done and the upgrade process has terminated in the mid. Its about my virtual debian wheezy instance setup under virtualbox that I was upgrading. Output of df -h is as follows : ...
1
vote
1answer
792 views

Best way to set up permissions with nginx + php-fpm on shared hosting?

I'm running a shared hosting server with nginx and php-fpm on Debian. Everything works fine, php-fpm has separate pools for each users running as separate users and they each have their own socks. ...
1
vote
2answers
68 views

Download speed from server extremaly slow

I have rented many servers @server4you and from time to I face the same problem. Download speed from a server decreases dramatically and after some weeks goes back to normal. Now when I download a ...
0
votes
3answers
229 views

Error connecting zabbix with Mysql

I installed Zabbix v.2.4 from sources in Debian Jessie. I followed (step by step) this guide: https://www.zabbix.com/documentation/2.4/manual/installation/install In the setup, when I have to ...
1
vote
1answer
47 views

Logrotate deleting instead of rotating

This is my logrotate configuration /var/log/abc/*.log { missingok compress sharedscripts create 640 root root postrotate /etc/init.d/abc reload endscript } When i run this manually as logrotate ...
1
vote
0answers
22 views

debian networking lacp throughput and redundancy

I am encountering the following scenario: Physical server w/ 4 NICs and two HP ProCurve GigabitEthernet switches in a stack $Server runs debian (proxmox ve latest) I'd like to configure the network ...
1
vote
2answers
738 views
2
votes
1answer
23 views

Apache2 not able to list directories or files that do not have o+r set

I have an Apache webserver that we are preparing to serve data uploaded via FTP/S to our customers over the more convenient HTTPS protocol. At the moment I am using mod_authnz_external to allow the ...
12
votes
5answers
9k views

On Linux, how can I tell which process is sending Ethernet packets?

I'm running gkrellm which shows that some process on my Debian Linux system is writing approx 500KB/s to eth0. I'd like to find out which process it is. I know a little bit about netstat, but it ...
0
votes
2answers
78 views

rsyslog (local) and remote logging

I have several linux servers that I want to monitor the log files. I thought it would be great to setup a central log server that can capture incoming rsyslog packets. Each hostname would have its own ...
0
votes
1answer
252 views

How to install mariadb when mysql gets in the way?

I have searched for a while on google but nothing seems obvious from this weird situation I have on VM, can someone help me? root@sathia:/etc/apt# apt-cache policy mariadb-server mariadb-server: ...