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
144 views

Building curl, httpd and others with custom openssl build, while avoiding default system openssl

I've been trying to upgrade some programs on an old Linux box (Debian 7.5 wheezy). I'd like to keep default system libs untouched and to add some custom builds alongside them. It works fine for most ...
3
votes
1answer
1k views

GitLab CE 7 behind Debian 8/Apache 2 virtual host: can’t access assets

On Debian 8.0 I’m trying to have Apache 2.4.10 manage a GitLab CE 7.10 Omnibus installation as a virtual host. Setting and goal Apache 2 is already set-up and running several virtual hosts that all ...
1
vote
0answers
6 views

3 server point to point bridge loop

I have a setup with 3 servers (A, B and C) running debian jessie which are all directly connected to the other two servers, so it is a ring-like layout. I'd like them to only have ohne IP each like if ...
4
votes
1answer
3k views

Unable to make work both private and public ip network on openvz container in Proxmox

I'm using Proxmox 3, it is a fresh installation. For those who know, I'm using OVH Vrack 1.5 (along with a previous Vrack 1.0). My server has two interface eth0 and eth1, I succeeded to configure ...
7
votes
2answers
11k views

Postgresql Performance - Adjusting SHMMAX and SHMALL

I've read just about everything there is online about improving postgres performance, but the "right" values for SHMMAX and SHMALL still elude me. The consensus seems to be SHMMAX = total_memory/4 ...
3
votes
2answers
530 views

How to use/debug Debian preseed with SSL using Startssl Certs

preseeding work perfect for me using: auto url=http://mydomain.com/preseed.cfg but as soon as i use a https connection, it doesn't work any more. auto url=https://mydomain.com/preseed.cfg with ...
0
votes
2answers
2k views

Apache authentification error

I've installed Apache 2.2 on my Debian-based distr (kernel 3.2.0-27) and apache2.2-common package with default configs. Trying to run simple script info.php I got the error found in /var/log/apache2/...
0
votes
1answer
89 views

Upgrade Debian release 7.11 (wheezy) to 8.5 (jessie)

I have a Debian system (virtual development box, not reachable from the internet) which has not been updated for a while. Now I'd like to make up for this, but it seems the sources are not available ...
2
votes
1answer
5k views

Cannot restart apache2 on Debian server - “Cannot load /usr/local/apache2/modules/libphp5.so into server”

Okay... I'm something of a beginner when it comes to servers, and I'm having some issues with restarting apache on my Debian web server. I just ran the following: aptitude install apache2 openssl ...
1
vote
1answer
407 views

disabling predictable network interface names in xubuntu 15.10

How do we disable predictable network interface names in xubuntu 15.10 ? I want my old interfaces naming like eth0 ... ethx, some of my software assumes eth0 interface to be present and is hard ...
0
votes
1answer
19 views

Exim filter how to set directory mode on created directory

I'm using exim4 on Debian 8. I'm using maildir. I have an Exim Filter file that tries to store incoming mail in folders named by their domain. The problem is that when Exim creates a new directory ...
0
votes
1answer
24 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
24 views

Can't enable cgroups memory controller

I have Debian 8.5 on DigitalOcean with a kernel version 3.16.7-ckt25-2 I'm trying to enable cgroups memory controller for Docker. I add cgroup_enable=memory swapaccount=1 to ...
2
votes
4answers
1k views

Debian Hostname refusing to stick

I'm using VirtualBox for testing and have the latest stable Debian. When I try to set the hostname of the machine using both: hostname ayil and editing /etc/hostname and running /etc/init.d/...
0
votes
0answers
68 views

Pacemaker: How to configure default gateway for virtual IP?

I have three nodes and three virtual IP addresses in the same subnet. It doesn't matter which address is assigned to which node. The IPs are public addresses. The nodes are load balancers that ...
0
votes
1answer
30 views

apt-get upgrade breaks PHP

I have installed PHP 5 from source for various reasons (mostly because readline is broken in the Debian packages, and we use that for tab completion in a CLI backend). When I run apt-get update &&...
1
vote
2answers
1k views

Why is Jenkins not pulling in a browser?

I installed Jenkins on my debian server. It is set on port 8080 and when I try connecting to it nothing happens. I know it is running because when I do: root@jini01:/etc/default# /etc/init.d/jenkins ...
-1
votes
0answers
34 views

OpenVPN gateways configuration with non-routable addresses

I have to configure OpenVPN gateways with cryptographically protected tunnel connecting two non-routable subnet addresses. Mutual authentication gates on the basis of certificates. I used this ...
1
vote
1answer
3k views

libpam-ldapd not looking for secondary groups

I'm migrating from libpam-ldap to libpam-ldapd. I'm having some trouble gathering the secondary groups from LDAP. On libpam-ldap, I had this on the /etc/ldap.conf file: nss_schema rfc2307bis ...
0
votes
1answer
2k views

Varnish not showing custom headers

In my Varnish 3 configuration (default.vcl) I configured the following to pass along information via the response headers: sub vcl_deliver { if (obj.hits > 0) { set resp.http.X-Cache = ...
5
votes
6answers
2k views

Can anybody tell me how to create my own local package repository for my packages in Ubuntu?

I want to create a package repository for my packages in ubuntu and this repository will be using in multiple Ubuntu systems to install and update packages.
1
vote
3answers
2k 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 Cache-...
10
votes
3answers
2k views

Background discard on swap partitions on Linux + SSD

Problem I want to enable background TRIM operations on a swap partition within a SSD disk on Linux. According to several articles, e.g. this one, the kernel detects this configuration and ...
1
vote
1answer
2k views

Unable to access 3ware 3dm2 web interface, failed to start listening socket

I am unable to get to the 3ware 3dm2 web interface. When I attempt to execute 3dm2 from the command line, i get the following error "(0x0C:0x0005): Failed to start listening socket". This was working ...
4
votes
1answer
147 views

Reprepro export could not find signing key

We have a private debian repository that was set up years ago by an earlier system admin. Packages were signed by the older key, 7610DDDE (which I had to revoke), as shown here for the root user on ...
5
votes
1answer
918 views

Debian jessie nginx with openssl 1.0.2 to use ALPN rather than NPN

I am running debian jessie on my server and recently upgraded to new nginx web server with http/2 support (nginx 1.10). As today, it works great and webserver is delivering content with http2 protocol....
0
votes
1answer
61 views

Postfix(admin), Dovecot, MySQL: Aliases not working

I'm able to send mail to the mailboxes i've setup with postfixadmin. This is working correctly and i can send and deliver mail on them. But now i'm in need of Aliases to work properly as well. I've ...
1
vote
1answer
40 views

How to use the ssh server with PAM but disallow password auth?

Many tutorials tell you to config your ssh server like this: ChallengeResponseAuthentication no PasswordAuthentication no UsePAM no but with this setup you cannot use PAM, as i plan to use 2 ...
5
votes
4answers
2k views

Creating a fallback error page for nginx when root directory does not exist

I have set up an any-domain config on my nginx server - to reduce the amount of work needed when I open a new site/domain. This config allows me to simply create a folder in /usr/share/nginx/sites/ ...
0
votes
1answer
37 views

systemd does not notice apache starts

My debian-system has been infected with the systemd-virus... When I issue the "service apache2 start" command to start apache, it thinks it failed, but apache is running just fine. So "service ...
0
votes
1answer
22 views

IPTables Policy INPUT DROP but accepts connection

I configured iptables with the following rules: iptables -I INPUT -p tcp --dport 22 -j ACCEPT iptables -P INPUT DROP iptables -A INPUT -p tcp --dport 80 -j ACCEPT iptables -A INPUT -p tcp --dport 443 ...
1
vote
0answers
24 views

Recovering a RAID5

Hoping somebody here can help, as I'm a bit stuck on what to try next. Essentially, I had a RAID5 of 4 disks in mdadm. One of the disks started failing, not enough to have mdadm eject it, but enough ...
1
vote
2answers
2k views

cf3 Can't stat … in files.copyfrom promise

On the client: # cf-agent -KIv ... cf3 -> Handling file existence constraints on /etc/cfengine3 cf3 -> Copy file /etc/cfengine3 from /srv/cfengine/sysconf/server/inputs check cf3 No existing ...
1
vote
1answer
4k views

mount error 5 = Input/output error

I am running out of ideas. After a long period of testing this morning, I cannot seem to get this to work, and I have no idea why. I want to mount a Windows SMB/CIFS share with a Debian 5.0.4 VM, ...
0
votes
3answers
61 views

How to setup a traffic limit per user on OpenVPN?

I am setting up a VPN server using OpenVPN. The authentication method is the certificate one (different certs for client and server). The VPS has 1TB of traffic monthly. I plan allowing up to 4 ...
0
votes
0answers
16 views

How do I generate an alert on Debian if a redunant PSU dies?

I have received some Intel servers with redundant power supplies - Intel S1200v3RP. We have Debian installed on them. Looking on Intel's site, we cannot find any downloads for Debian, but we see some ...
0
votes
2answers
54 views

how to upgrade libc6 on debian 7.1?

When trying to install pagespeed on my debian 7.1 Unpacking mod-pagespeed-stable (from mod-pagespeed-stable_current_amd64.deb) ... dpkg: dependency problems prevent configuration of mod-pagespeed-...
-1
votes
1answer
62 views

How to find out, which FTP server is installed? [closed]

In Windows I can check in Control Panel -> Programs and Features, which program is installed for some task: Now I want to find out for my Ubuntu 14.04 (VirtualBox VM), whether an / which FTP ...
0
votes
1answer
15 views

at command: Exec failed for mail command: No such file or directory

I got to run a task today at midnight on a debian system. As I never did anything with atd I wanted to try first, if it works as expected. I got a test.sh in folder /usr/local/dump/ which contains ...
0
votes
1answer
73 views

Install PECL v8js on Debian Jessy

I try to install pecl-v8js on Debian/Jessy for PHP-5.6. $ apt-get install php5 php5-dev libapache2-mod-php5 apache2 php5-cli libv8-dev g++ cpp ... $ pecl install v8js-0.6.3 ... checking for ...
-1
votes
0answers
16 views

Why would rsync be limiting syncs to ~252Kilobytes?

Here's a head scratcher for you... or at least it is for me. I am transferring a Wordpress site away from WP Engine to an Amazon instance. I am trying to upload the original Wordpress files from my ...
1
vote
2answers
28 views

How to view changelog of a deb package not yet installed

I got prompted to update libxml2 on my Debian Jessie Server however prior doing so i want to know what has changed on the latest version. I have tried visiting Debian`s repo website for the relevant ...
0
votes
0answers
16 views

Strange traffic on my dedicated Kimsufi Debian 8.4

I own a Kimsufi dedicated server since more than one year, and recently I decided to completely re-install the OS. I installed Debian 8.4 Jessie. I installed all the updates needed, changed my SSH ...
1
vote
1answer
142 views

LXD 2.0 on Debian 8.4

I'm running Debian 8.4 and would like to set-up recently released LXD 2.0. Is this feasible, or should I stick with LXC? It seems all focus is on using LXD with Ubuntu.
-2
votes
1answer
41 views

How come I can't see apache's environment variables in my shell?

I'm running apache on my Debian 8 laptop. I haven't made any config changes so everything is at the default. apache2.conf uses environment variable defined in /etc/apache2/envvars, but when I open a ...
0
votes
0answers
26 views

Dovecot/Postfix mail server SASL: Connect to private/auth failed

Trying to get this mail sever up has eaten up a good chunk of 2 days and I've made some headway but this specific error has persisted throughout. I'm using a Debian server with Postfix + Dovecot + ...
1
vote
2answers
3k views

VPN PPTPD with MPPE Support for Debian or Ubuntu

Having an unencrypted vpn connection from a windows client to linux is pretty easy by using pptpd. When I was looking for an solution for encrypted (per MPPE) connection, I found a lot of information ...
0
votes
1answer
24 views

Exim 4 on Debian 8 - external mail does not accept

A few days ago installed a new server: Debian 8, Exim4. I can send mail from this server, I can receive mail internally but the server does not accept external mail. All emails return with errors ...