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

learn more… | top users | synonyms

-2
votes
0answers
23 views

Give www-data Permission To Reload Nginx Works Via Command Line but not cron [duplicate]

I have been researching for literally days, and to no avail. I have been trying to get my php script to be able to reload nginx. exec("sudo /etc/init.d/nginx reload"); works when I run the script ...
0
votes
2answers
16 views

ansible find patterns on single line?

How could I do this: - find: paths: "/etc/ssl/" recurse: yes patterns: - "*.pem" - "*.crt" On a single line? The documentation suggests something along: - find: ...
-1
votes
0answers
13 views

Set up high availibility with two debian server [on hold]

I need to make an high-availibility setup but I only have these two server (running Debian) : 1 Server always available but not powerful 1 Server not always available (unstable internet connection) ...
0
votes
1answer
24 views

sendmail and gmail not received

I try to send mail with sendmail (Debian 8) from a PHP script. It does work but only gmail is not working. Sending a mail from root, I got this message xxx@gmail.com... Connecting to ...
0
votes
0answers
10 views

Kernel upgrade with EXTLINUX on Debian

I would like to upgrade the Debian stock kernel to a compiled kernel packed as a .deb package. Running the: dpkg -i linux-image-x.x.Custom_amd64.deb triggers the grub-update and, as I see from ...
0
votes
0answers
9 views

Openldap ActiveDirectory Proxy using Slapd.d

I am currently attempting to setup an OpenLDAP proxy that will proxy proxy between 2 Active Director Domains, and will be used to talk to work with Shibboleth IDP3. I've never worked with openLDAP ...
-1
votes
0answers
19 views

Could a missing library be causing this message to appear? [on hold]

I recently tried to run a certain function from a program (it's pre-compiled and I don't have access to the source for it) and was met with this message: Could this possibly indicate that a library ...
0
votes
0answers
10 views

Debian 8 dpkg extremely slow

Using debian 8 (fresh installation), i downloaded webmin using: wget http://prdownloads.sourceforge.net/webadmin/webmin_1.780_all.deb then i installed it using: dpkg --install ...
0
votes
0answers
6 views

Having trouble to connect on VPN using vpnc

I'm having trouble to connect to vpn via vpnc my config file is looking like this IPSec gateway <ip> IPSec ID <groupNmae> IPSec secret <groupPassowrd> Xauth username ...
0
votes
1answer
18 views

Kerberos 5 won't install on Debian 8.2 or 8.3

I've been running some VMs in VirtualBox and cannot get Kerberos5 installed. I keep receiving the error: Reading package lists... Done Building dependency tree Reading state information... Done Some ...
0
votes
0answers
6 views

change cache location pathc for APT [migrated]

When using apt, can I tell it to use other then /var/cache/apt location? I tried adding the following line in /etc/apt/apt.conf: % cat /etc/apt/apt.conf Dir::Cache /home/apt and re-run apt but it ...
0
votes
0answers
9 views

Amavis error after reboot: SMTP [451] 4.3.0 Error: queue file write error

I'm running a mailserver on Debian Jessie with Postfix, Dovecot and Amavis as content filter. Everything works fine since months. Recently I had to reboot the server. After that, sending of mails does ...
0
votes
1answer
52 views

failed to install docker on Debian 8

This is the first time I deal with Debian, and I need a docker. I was following https://docs.docker.com/engine/installation/linux/debian/ to get it installed, however I faced the error: % apt-get ...
0
votes
1answer
32 views

Debian apache2 is not executing php scripts, instead it's showing the source

I know this is probably most discussed topic online, I did search here and stackexchange and tried various answers but none of them seems to be working for me, hence why I am posting this. I have a ...
2
votes
0answers
22 views

crm_mon -E does not run the external-agent on Debian Jessie

Setup I'm currently having a working 2-nodes HA cluster using Pacemaker+Corosync. My nodes are running on Debian 8 (Jessie). Now I would be able to get notified when changes occur in the cluster ...
0
votes
1answer
31 views

Countless (defunct?) SSH processes -how do stop it from happening?

My vServer hoster threatens to cancel our contract if I don't stop creating thousands (9000 to be precise) of SSH processes. I don't know if they made the processes defunct or if they were like this ...
0
votes
0answers
12 views

NAT for LXC Containers Debian 8 - no connection

I have a Debian 8 server running on a physical host machine. To seperate some services, I have created a lxc container (also debian 8). I am currently trying to set up a working NAT so my lxc ...
3
votes
3answers
57 views

how to change the startup order of linux init scripts in Redhat, Centos

From this changing How to change Linux services startup/boot order? changing the values of the symbolic links it is evident that startup order is changed. In debian derivatives we use ...
1
vote
2answers
22 views

Answering Dialoges with Bash

I need to automatically answer all dialoge (blue screenish Text GUI) questions when running dpkg-reconfigure exim4 as I have a bash script which will run on many servers. Is there some way to ...
3
votes
2answers
30 views

Upgrade Php 5.4 to 5.6? Upgrade debian 7 to 8?

My Operating System is Debian 7.9. My dedicated server hosts only a website in PHP (5.4 apparently), and some databases (MySQL). There are also programs like iptables, fail2ban, etc. set up. I made ...
-1
votes
0answers
22 views

Mails are signed with 2 DKIM signatures in Postfix

I´ve installed postfix, opendkim, dovecot, spamassasin and amavis an debian 8. I´ve installed the dkim service by ...
2
votes
1answer
27 views

Debian 8.3.0 - PXE installer asking for CDROM?

I'm sure I'm missing something easy, but I can't think of what it is. I used Cobbler to import Debian 8.3.0, but when I attempt to install it on a machine attached to the network, the installer asks ...
0
votes
1answer
13 views

ProFTPD + Debian : list files 19 max

Overnight my ProFTPD server has decided to not list the contents of a folder that has more than 19 files. I have tried creating more than one folder with exactly the same rights, if the folder has 19 ...
0
votes
0answers
9 views

How can I trigger an instant rerun of Check_MK data collection through Icinga?

I am using Check_MK to generate checks to make Icinga (a Nagios fork) monitor a bunch of machines. After starting up Icinga, after some time, Check_MK starts to collect data from the configured ...
0
votes
0answers
4 views

Dell R710 OS install [migrated]

I just bought a couple Dell R710s on Ebay for a home lab and want to install Debian as the main OS. Im new to dealing with server administration aside from Development stuff. I am wondering on where ...
2
votes
1answer
29 views

Run a specivic (older) php version with nginx, php-fpm on debian

In order to migrate old php software, I want to run php 5.3.* so I: Removed php via apt-get purge php* Added the corresponding http://snapshot.debian.org/archive/debian/ to the sources Installed ...
0
votes
0answers
7 views

Server can't boot, showing main process (206) terminated with status 127

The system is Debian 7.0. Booting in recovery mode fails with messages shown in this screenprint: How can I solve this issue?
1
vote
1answer
143 views

Mysql listens to wrong port on restart

I'm working on a 'local' PHP project. It's a PHP app running in a Debian VM intended for use on the user's own PC. I have a couple of python scripts running as root services from /etc/init.d which ...
0
votes
1answer
31 views

DRBD - no resources defined

I have some problems getting a drbd cluster running. When I want to start creating my storage, i get the following error: root@raspberrypi-ha1~# drbdadm create-md drbd1 no resources defined But ...
0
votes
1answer
16 views

How to configure docker to exclusively access a private registry?

I keep images on a private registry. When docker pulls an image and it is not found on the private registry it is instead fetched from the default docker registry. How can one disable the default ...
0
votes
1answer
7 views

HHVM should not write to syslog and messages

I've a problem with hhvm, because it's writing errors to 3 different logfiles: /var/log/hhvm/error.log /var/log/syslog /var/log/messages I only want it to write the messages to the first logfile. ...
1
vote
0answers
16 views

Broadcasting a printer from Cups / Samba

I am currently attempting to broadcast my postscript printer from my debian machine to other (Windows) based machines on the network. I came across this article and this article which explained the ...
0
votes
0answers
12 views

iptable script to block Post request to a specific file [duplicate]

I get these attacks daily across multiple servers (Apache): 135.120.5.180 - - [31/Jan/2016:14:21:08 +0000] "POST /xmlrpc.php HTTP/1.0" 200 598 "-" "Mozilla/4.0 (compatible: MSIE 7.0; Windows NT 6.0)" ...
-2
votes
2answers
45 views

Which log files can be read-only by root?

As I am currently securing my Server, I would like to know which log files can be read-only be root. Is it safe to chmod 600 -R /var/log? I do not want users to look into auth.log and other log ...
0
votes
0answers
18 views

Monit's $HOST variable expanding to “SYSTEM”

For some reason, Monit's $HOST variable is being expanded to "SYSTEM" which is causing problems for emailing (becomes "From: monit@SYSTEM"). The /etc/hostname and /etc/hosts files are correctly ...
0
votes
0answers
21 views

Assigning 2 IPv4 blocks to one interface

I have been assigned these 2 blocks by my provider Block: x.x.x.184/29 Usable range: x.x.x.186 - x.x.x.190 Gateway: x.x.x.185 Subnet: 255.255.255.248 And Block: x.x.x.192/29 Usable range: ...
0
votes
2answers
23 views

IPTables: How to log and set a specific log file

Is it possible log all dropped connections by IPTables and set a iptables.log file for logging in /var/log/?
0
votes
1answer
13 views

Apt-Dater: Error executing Error executing 'lsb_release -a'

I successfully deployed apt-dater (Debian-machine) and apt-dater-host (CentOS) to 2 different nodes via puppet. Now apt-dater is showing the new host, but the state is always "unknown". If I enter ...
0
votes
2answers
28 views

IPTables: apt-get and wget not working

When resetting IPTables, the apt-get and wget command functions correctly and also downloads what I want. But once I activate this firewall, it isn't functional. Pings still work. I want to allow all ...
0
votes
0answers
24 views

MySQL 5.7 under Debian Jessie with postfix-mysql

I currently have MySQL installed from the MySQL APT repository and am on the 5.6 branch. It comes with libmysqlclient18 and postfix-mysql requires it. If I want to switch to the 5.7 branch, APT will ...
0
votes
0answers
15 views

Can't connect to VNC server via OpenVPN

I've got the problem with connecting via VNC to remote computer. Connection goes through OpenVPN and I'm routing 5900 port to localhost.. ssh -p(port) -L5900:vpn adress of machine:5900 ...
0
votes
0answers
5 views

Increase in “table lookup” on old Postfix/PostgreSQL installation

The box is still running PostgreSQL 8.1 and this started to increase a few weeks ago. It is only happening while the server is a bit busy. fatal: ...
0
votes
1answer
56 views

wget giving Segmentation fault

I recently did apt-get update followed by apt-get upgrade on my Debian VPS server. Suddenly (at least) wget stopped working with error Segmentation fault. It's not even trying to do something. So ...
0
votes
1answer
25 views

Combine multiple root server to private network

we have a 4 root (dedicated) servers (no virtual servers/vservers, full hardware servers with asus mainboards and 6 real Intel cores) running Debian hosted by another company and standing in their ...
-1
votes
1answer
35 views

IPTables: Does blocking spoofing, affect any services? [closed]

Do these rules affect any services/applications? Will apt-get and others still work? - iptables -A INPUT -s 10.0.0.0/8 -j DROP - iptables -A INPUT -s 169.254.0.0/16 -j DROP - iptables -A INPUT -s ...
0
votes
1answer
19 views

What user should run the gunicorn process?

When running a Django application on a Debian server, should you create some sort of application user (e.g. "myappuser") and run the gunicorn process as that user or can/should gunicorn be run as ...
0
votes
0answers
18 views

Roundcube unable to connect to Dovecot/Postfix via IMAP

I've recently moved a working isntance of RoundCube from my mail server (running Dovecot & Postfix) to a different server, and pointed it at the original server. However, since the move I have ...
-1
votes
1answer
26 views

Virtualmin updates Debian 8 to Debian 9 stretch/sid

Today i saw that there are ~1000 updates listed in Virtualmin. I decided to update all, and now surprise surprise - running on debian 9 stretch/sid. Did i something wrong? Furtunately i created an ...
0
votes
1answer
61 views

rsyslog upgrade fails: Sub-process /usr/bin/dpkg returned an error code (1)

I'm having trouble upgrading rsyslog on a Debian server. root@trip:/home# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating ...
-1
votes
2answers
30 views

Do I need mutlipe certificates for mutliple services running

I did a lot of research on this but still I am confused about how many certificates I need to self-sign for each of my services running on my private server. Here is the deal: I am creating my own ...