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

learn more… | top users | synonyms

0
votes
0answers
65 views

/etc/network/if-pre-up.d/iptables script makeeth interfaces disappear in debian jessie?

I need to enable NAT on my VM in iptables. I followed official debian instruction to configure it: First of all, i created /etc/iptables.rules file with following content: *nat -A ...
0
votes
0answers
32 views

Daemon is sending email to root@vpsxxxxx but which deamon?

I have an email address host a Gandi which is: test@mydomain.com password: 1234 I set up an ssmtp deamon on a VPS debian to be able to send email through this address. /etc/ssmtp/ssmtp.conf is: # ...
-1
votes
2answers
22 views

IP from multi gateway, openvz debian

I have a problem with network in my dedicated server. I have a host: ip 188.60.240.71 netmask 255.255.255.128 gateway 188.60.240.1 broadcast 188.60.240.127 network 188.60.240.0 I order additional ...
0
votes
0answers
32 views

specific IP Attribution with isc-dhcp-server with freeradius authentication

I would like to assign specific address to my clients, regarding their radius authentication. For exemple, user1 (group user) authenticate on radius, dhcp gives him 192.168.1.1 as IP user2 (group ...
0
votes
0answers
21 views

Define default runlevels for 2 init.d daemons with dependencies (Sysvinit Debian Wheezy)

I have two daemons daemonA and daemonB. B is dependant from A, that means that A must start BEFORE B and A must stop AFTER B. I have successfully made these daemons run at boot time by setting ...
1
vote
2answers
983 views

linux timestamp permission error with winscp

I added a user to a group and set the file and dir content to 775. When i use winscp to modify a file it complains it cant set the timestamp bc of a permission error. But it is able to update the file ...
0
votes
1answer
19 views

SSH: Login to local pc by key

I got a little problem. I'm using apt-dater to keep different linux-systems updated. Apt-dater uses ssh to login to these systems - there's no problem by doing this. To connect to localhost, the ...
1
vote
1answer
23 views

Possible to have FQDN in Debian Logfiles?

Is it possible to have instead the hostname the fqdn inside debian log files? Example: Now its: Mar 2 18:00:12 www rsyslogd: [origin software="rsyslogd" swVersion="5.8.11" x-pid="2442" ...
5
votes
1answer
3k views

Static IPv6 address advertising and IPv6 autoconfig in Debian/Ubuntu

I have a network that advertises IPv6 addresses through IPv6 autoconfig. To allow DNS lookups and to have fancy IP addresses, we setup "static" IPv6 addresses through /etc/network/interfaces: auto ...
0
votes
0answers
16 views

zph obsolete in squid3

I am trying to set up a squid3 server with a Mikrotik router. I want to enable the cache hit but the zph_mode, zph_option and other settings are obsolete. Following the release notes I noticed that ...
2
votes
3answers
258 views

Duplicity error: BackendException: ssh connection to SERVER_IP:22 failed: Unknown server SERVER_IP

I'm trying to setup a backup system with Duplicity. I have a server that I want to backup to another SFTP server. If I try to connect via sftp it works fine: root@SERVER:~# sftp user@SFTP_IP ...
0
votes
1answer
42 views

Is mounting /boot in /etc/fstab automatically necessary?

Hello members of StackExchange, I am running a Debian 8.0 server with Full-Disk-Encryption and while I was doing some hardening I went through the /etc/fstab and I was wondering if some partitions ...
0
votes
0answers
97 views

Debian wheezy to jessie update hangs during boot - setting up x socket directories… /tmp/.x11-unix /tmp/.ice-unix

I have windows 7 as host and debian 7 as guest in vmware. I was trying to upgrade to debian jessie according to this article ...
0
votes
1answer
10 views

Unable to start JOnAs service

I'm having problems with my Debian 6.0.3 (Squeeze) server We run an application that uses JOnAs service usually when its not working I run /etc/init.d/jonas start When I do it at the moment I get ...
2
votes
1answer
118 views

Start at boot time Corosync 2.X + Pacemaker 1.1 cluster (Debian Wheezy)

I can't find a way to start cluster (corosync+pacemaker) at boot time in Debian I have updated a 2 node cluster with the following configuration on both nodes: Debian Wheezy 7.7 Corosync v2.3.4 ...
2
votes
1answer
769 views

Start pacemaker on boot in debian

I'm using corosync and pacemaker on a debian, and at each reboot I need to start pacemaker by hand. Is there a solution to make it happend automaticaly? Tanks a lot.
4
votes
3answers
525 views

SSH: su root or sudo? [duplicate]

What is the better option: Using su to switch to root or enabeling sudo? Without the use of sudo an intruder would need to know the password (or key) of a user allowed to ssh and then also the root ...
2
votes
1answer
118 views

start-stop-daemon not working as expected

I can't figure out why start-stop-daemon is not running the script below. What am I doing wrong? start-stop-daemon reports that it will start node when using the --test flag, but when I actually run ...
1
vote
0answers
31 views

Sendmail is taking huge amount of CPU [duplicate]

My dedicated server is slowing down since 2 days. I checked the RPM and the CPU usage has gone from less than 10% to more than 50%. Rebooting the server didn't help. So, I tried top command: top - ...
-1
votes
1answer
100 views

How to stop small DDOS attacks (443 port)?

On the server goes DDoS attack. ~# netstat -n -p | awk '{print $5}'|awk -F: '{print $1}' | sort -n | uniq -c | sort -nr | head -n10 48 109.229.9.53 47 31.207.244.130 45 87.252.227.83 ...
0
votes
1answer
34 views

MySQL: Cannot connect to Server via SSH. 'reading initial communication packet', system error: 0

I am running Debian 8.2 and the install is quite fresh. I try to connect to my MySQL server via SSH using Sequel Pro. I always get this error: Lost connection to MySQL server at 'reading initial ...
1
vote
1answer
117 views

Debian Samba share Authentification with RADIUS server

I'm trying to configure Samba (apt-get install samba) to authenticate users using a RADIUS server and i cannot find anything useful. Is it possible ? I tought i could set Samba to use the PAM ...
6
votes
1answer
1k 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: ...
6
votes
1answer
6k views

Best sysctl.conf configuration for high load - extremely busy content streaming server

What is the best sysctl.conf configuration for a high load, extremely busy content streaming server ? The server fetches the content from remote servers like amazon, s3, etc. then uses php to ...
1
vote
0answers
74 views

Can I restart dependent service with systemd?

I have created two services, one for a rails app and another for its delayed_job process, I want to restart the delayed_job service everytime the rails service is restarted, can I do this with ...
4
votes
3answers
555 views

Can't SSH into Amazon EC2

This is my first Amazon EC2 instance but I'm having a hard time and google can't help me out. These are the steps I have taken: Generate a keypair called aws Download aws.pem and put in my ...
0
votes
1answer
27 views

Easy way of checking signature of a source package from the other release of debian

I'm trying to backport nanomsg from jessie to squeeze. But when I run: dget http://http.debian.net/debian/pool/main/n/nanomsg/nanomsg_0.4~beta+dfsg-3.dsc It says: dscverify: ...
0
votes
1answer
29 views

Securing local repository with SSH and chroot

I've got a local Debian repository server in my network and I want my clients to upgrade, update, and install packages from it through SSH. I configured my sources.list so it would look like this : ...
0
votes
0answers
256 views

OpenVPN Server client-connect scripts aren't executed

I have an OpenVPN server up and running that (Windows) clients can successfully connect to. Now I'd like to share a luks encrypted partition with those clients. The goal is, that the server fetches ...
0
votes
2answers
77 views

NFS stop working when on a lvm

I have a nfs server that was working correctly with a share on /exports/something. However, when I mount /exports/something on /dev/mapper/something (a lvm with more space) the nfs does not work. The ...
0
votes
0answers
69 views

“Permission denied” to a directory that I own, permissions seemingly correct

Setting up a Docker image based on Debian 8, specifically the nginx image with uwsgi added. The web service in question will run via uwsgi as www-data. The service is copied in to the container with a ...
1
vote
2answers
46 views

How to separate solr/home and data/dir in Catalina/localhost XML file?

I've the following configuration file within conf/Catalina/localhost in Tomcat 7: <Context docBase="webapps/solr.war" debug="0" crossContext="true" > <Environment name="solr/home" ...
0
votes
0answers
69 views

IP ping internally but not externally

Yesterday, my DEBIAN server went down and I have to reboot. After that, several web sites did not go up and I found that 2 IP above 3 do not ping. The main IP still works and attached web sites work. ...
0
votes
1answer
3k views

Connecting debian and windows via IPsec VPN with Racoon and ipsec-tools

I've some trouble with the IPsec configuration on my debian server (6 squeeze). This server should connect via IPsec VPN to an windows server, which is protected by an firewall. I've used racoon and ...
1
vote
0answers
69 views

Server doesn't answer to ping just for me [closed]

I can't reach my server by any means on my own IP. But, if I try to connect to the server through a proxy, it's going well. My hosting company says the server is up too. The server is a debian + ISP ...
2
votes
2answers
323 views

BIND SERVFAIL after upgrade to Debian Jessie

I've done absolutely nothing to my BIND configuration, but looks like Debian Jessie upgrade has broke it. Maybe some new options got introduced to it, or the old things now work differently, but I ...
3
votes
2answers
2k views

Hang while starting several daemons

I’m running a Debian Squeeze AMD64 server. Target runlevel after boot is runlevel 2, which includes rsyslogd, cron, sshd and some other stuff, but not dovecot, postfix, apache2, etc. The system fails ...
0
votes
1answer
74 views

Gmail bouncing postfix mail [duplicate]

I followed this tutorial to get email working on my VPS. I've been having problems sending email to Gmail. I can receive emails fine, but any mail that is sent to Gmail is bounced with the following ...
1
vote
0answers
68 views

Apache Timeout / Deadlock When MaxClients Reached

I'm running Apache 2.2, preform MPM, on Debian Squeeze with mod_php (PHP 5.3), listening on several ports (with memcached running on the same machine). Over the past 6 weeks or so, I've been ...
0
votes
1answer
41 views

Specific host file for interface with dnsmasq

I use a VPN on an interface, e.g tun0 (2.2.2.0/24), while the LAN network is on the interface eth0 (1.1.1.0/24). I use dnsmasq to route specific addresses to my LAN and these addresses have their ...
2
votes
2answers
91 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 ...
1
vote
0answers
17 views

Where does “vmunix” label in syslog come from on Debian/Linux systems?

After upgrading one Debian server from Squeeze I noticed that the kernel log messages (those using kern.* in /etc/syslogd.conf) now appear with "vmunix" prefix while earlier they had "kernel" prefix. ...
3
votes
2answers
152 views

Debian Jessie : dhclient always active

On fresh installs of Debian Jessie, after I set a static ip address, the DHCP client is still active. It even revert back to the dhcp ip address when the lease is renewed. step 1: I modify ...
9
votes
1answer
8k views

What exactly will --delete-excluded do for rsync?

I use rsync with great pleasure for backing up my servers, although I do have a question about the --delete-excluded parameter. /usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded ...
4
votes
5answers
12k views

What should I do when I got the KEYEXPIRED error message after an apt-get update?

While updating my packages on a debian based system by a sudo apt-get update I've got that error message : Reading package lists... Done W: GPG error: ftp://ftp.fr.debian.org stable/non-US ...
1
vote
0answers
39 views

Web sites freeze after clicking link - unexplainable ACK packet

We have a sporadic problem accessing some internal links on websites. (Windows Firefox, Internet Explorer, Chrome) Behaviour On first clicking a link, the browser will load infinitely. The second ...
1
vote
1answer
27 views

How to tell if razor is running?

I have a mailserver which is using amavis to do the spam testing (through spamassassin). Now I wanted to use razor and pyzor as well. I installed them and did the following: # su - amavis -s ...
1
vote
1answer
30 views

What kind of ram usage is bad ram usage?

We have been monitoring our Debian servers' ram usage in order to receive alerts when the ram usage goes over a certain % threshold. However, a high % ram usage is not necessarily a problem can even ...
1
vote
0answers
9 views

Mark packages to be installed and run aptitude in interactive mode

I want to install series of packages. Selecting all of them in TUI is inconvenient. But if there're any conflicts, resolving them in interactive mode is much easier. Is it possible to mark packages ...
-1
votes
1answer
99 views

Dovecot install error: Sub-process /usr/bin/dpkg returned an error code

I am trying to install a mail server on my Raspberry Pi. I have setup the FQDN and run apt-get update, and am trying to install postfix, mysql and dovecot with the command apt-get install postfix ...