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

learn more… | top users | synonyms

2
votes
1answer
22 views

apt: list required dependencies for deb package without installing it

For a build tool I'm writing (for which I'd like to implement a sort of dependency-caching system) I'd like to know what the missing dependencies for a .deb package are, without resorting to ...
1
vote
1answer
48 views

Postfix behind a relay to handle incoming and outgoing mail with /etc/aliases

I'm trying to setup postfix on a Linux machine (Debian 8 with Postfix 2.11). But I have some troubles getting /etc/aliases to work correctly. The setup is as follows: A MS Exchange server is the ...
0
votes
0answers
40 views

Mounting error with Quota : mount: / not mounted already, or bad option

So I try to activate quota options in /etc/fstab by adding ",usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0" : before : # <file system> <mount point> <type> ...
2
votes
1answer
97 views

Issues getting systemd service to start (Jessie)

I've got a systemd service which I need to have run prior to networking having started and I'm struggling with it a little. According to this: Running Services After the Network is up I need to use ...
2
votes
1answer
24 views

Automatically download, but do not install, upgrades

Running debian stable, I know I can use unattended-upgrades to automatically download and install upgrades. However, running debian unstable, I would be extremely reluctant to automatically install ...
7
votes
2answers
6k views

debian: FATAL -> Failed to fork

First time in my life I have something like this: root@peklan:~# aptitude install git-core No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and ...
0
votes
0answers
34 views

Self signed certificates create problems on NGinx/PHP

I just upgraded my Debian 7, Nginx 1.6.2, PHP 5.4.39 to Debian 8, Nginx 1.6.2, PHP 5.6.9. There is a CRM running on that server where we used to send emails via PHP, EspoCRM and that's using ...
1
vote
2answers
70 views

Rename a rebuild nginx package

I'm trying to recompile nginx with some extra modules and packetize it again. I want to change the package name to avoid package upgrades that could break the server. So far I downloaded the source ...
0
votes
1answer
34 views

Creating a “download server” [closed]

I'm not sure if "download server" is the proper term but I want to create a server on a Debian Linux base that can download files referenced to from my phone or computer. As an example, I'm browsing ...
1
vote
1answer
56 views

Incoming SSH works, but all outgoing fails

Terminology I have a server (I'll refer to it as S1 ) running in the cloud, but it is misbehaving. I also have another server (S2) running in the same cloud network, connected to S1 through a ...
5
votes
1answer
572 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 ...
1
vote
1answer
29 views

Netfilter : invalid state for proxy through VPN

I have an OpenVPN between my box A, and the remote server B (both Debian jessie). On server B, I also run Squid3. I then configure my A-browser to use the remote proxy with the VPN address of the ...
0
votes
0answers
25 views

Tomcat : Multiple domain names redirect to one domain

I have a Webapp running on Apache tomcat on Debain wheezy, using a single domain name currently. The webapp uses SSL certification too. Now, the company which I am working for, bought similar domain ...
10
votes
2answers
43k views

How to set the domain name on GNU/Linux?

Similarly to hostname that can be changed in different ways: temporarily using the hostname command permanently using /etc/hostname (or /etc/sysconfig/network or /etc/HOSTNAME, these files are used ...
0
votes
2answers
50 views

Proliant dl380p gen8 Debian booting [closed]

I created new array in Smart Array controller. 2 disks in Raid-1. I have installed the latest stable version of Debian 7.8 The installation was successful, but after it does not load with message: ...
2
votes
1answer
27 views

Safe to purge config of Debian MySQL server after installing official deb?

Can anyone tell me if it is safe to do an apt-get purge mysql-server-5.5 in Debian after removing mysql-server-5.5 and installing mysql-server via the deb-Package officially provided by MySQL? Do I ...
2
votes
1answer
65 views

Mounting degraded RAID

I've finally managed to assemble my RAID10 array again. I'm hoping there might now be a way through this. (There is history, if anyone is interested). I'm now getting: # cat /proc/mdstat ...
1
vote
0answers
38 views

Debian limit number of TCP sockets for a process (especially tor) on OpenVZ

I have a debian 7.8 server, running on OpenVZ. On this server I'm running a tor relay and some other network services (like apache and mysql). However the tor service seems to eat up all my available ...
0
votes
0answers
68 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
35 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
23 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
987 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
17 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
264 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
103 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
11 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
131 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
775 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
531 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
120 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
101 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
36 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
133 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
81 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
563 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
259 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
78 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
72 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" ...