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

learn more… | top users | synonyms

1
vote
2answers
31 views

Debian / IPv6: Default route expires after 1800 secs, loosing connectivity

I'm running Debian 8 on a vServer. After installing docker and enabling IPv6 i noted something strange. I don't know if docker has anything to do with this, it's just that i noticed this problem after ...
1
vote
3answers
49 views

Error when passing string to scp in for loop

I'm grabbing file list from server via find via ssh for f in `ssh -p ${SSH_PORT} -l ${SSH_USER} ${SSH_HOST} -t "find ${DIR_REMOTE} -type f | grep jpg" 2> /dev/null` When I echo the list in the ...
1
vote
1answer
28 views

Apache webserver - Mod status

Heey all, I have a question regarding the Mod Status module of Apache. https://www.apache.org/server-status As you guys can see there is a line: Total accesses and a value after it. Is it possible ...
1
vote
1answer
26 views

PostgreSQL installation under debian

I'm trying to install PostgreSQL server on a server running debian8. I installed the package postgresql-9.5 with apt, but it seems like there are missing programs. I tried to create a cluster but ...
1
vote
1answer
100 views

OpenSSL on Debian 8 can't authenticate certificates from Akamai (GTE/Baltimore CyberTrust Global Root)

On Debian 8.4 (with ca-certificates package) openssl doesn't seem to know about CAs required to verify connections to Akamai signed by "GTE CyberTrust" and "Baltimore CyberTrust". The GTE CyberTrust ...
1
vote
1answer
18 views

Server rollbacked after apt-get upgrade and a restart

Today I was trying to find out why my server stalled after certain amount of requests on apache2, but couldn't figure why, so I decided to upgrade it(apt-get update & apt-get upgrade) before I ...
1
vote
1answer
39 views

how install sarge for a while [closed]

I want to upgrade BIOS. But the only way is to run an app designed for Debian 3.1 (Sarge). So the easiest solution is run sarge live CD, run app - and be happy. Unfortunately - the only ISOs are ...
1
vote
1answer
39 views

When does a Debian server require restart? [duplicate]

I have Debian 8.3 installed on my vServer, hosting websites and other applications. For instance, my VM didn't boot properly after my hoster rebooted the node. So there must be something that gets ...
1
vote
1answer
36 views

Bind9 warning on Debian

I'm running a Bind9 (9.8.4-rpz2+rl005.12-P1) DNS on a Debian 7.9 server and all is working fine, but whenever I try to restart the named service I get the following error into syslog: WARNING: key ...
1
vote
1answer
36 views

How to exclude Apache VirtualHost from global rewriting?

I have setup Let's Encrypt SSL certificate on my VPS, which works fine, but now all VirtualHost are trying to load over https://. I have found RewriteRule directive in le-redirect.conf: ...
1
vote
1answer
424 views

Updated cURL not taking effect in PHP

I have an application running through Docker, based on the official PHP Docker image. I've extended it to update cURL and get it working with nghttp2 and openssl, which is what I need for HTTP/2 ...
1
vote
1answer
68 views

MinnowBoardMax: Boot Failed. EFI Misc Device

Upon setting up a new MinnowBoard Max with a stock Debian install, I get the error Boot Failed. EFI Misc Device at boot. Searching all over the nets yield little help. I can start the system fine by ...
1
vote
1answer
20 views

How to make unattended-upgrades on Debian to not download via certain wifi SSID

I have configured my Debian system to run unattended upgrades as per the relevant Debian Wiki topic. This works fine, except I would like to not download updates when connected through my mobile ...
1
vote
1answer
119 views

GMail moves Exim4 emails into Spam

I am trying to setup email transfer to GMail. This bash command in OS Debian: echo "aaa" | mailx -r "xxxxx@xxxxx.xxx" -s"sdf" xxxxx.xxxxxxx@gmail.com But all of my messages GMail moves into Spam. ...
1
vote
1answer
83 views

Can't touch/connect to a unix socket from the same group

sudo ls -la /var/lib/redis/6379/ produces: drwxrwxr-x 2 redis redis 4096 Nov 28 23:10 . drwx-w---- 3 redis redis 4096 Nov 22 00:10 .. srwxrwx--- 1 redis redis 0 Nov 28 23:10 redis.sock ...
1
vote
1answer
84 views

apt-get upgrade got aborted how to recover? (hash sum mismatch)

I asked on StackOverflow but was redirected here . I'm afraid I made a kind of a booboo. While performing an apt-get upgrade (there were about 160+ packages in queue) I accidentally logged out, thus ...
1
vote
1answer
109 views

sending emails fails with gmail only

My debian server sends email to yahoo, hotmail but not to gmail ! tail /etc/log/mail.log 95.211.117.206], dsn=4.0.0, stat=Deferred: Connection timed out with 75gmail.com. Nov 23 23:07:52 sitechat ...
1
vote
1answer
581 views

automake error: Unescaped left brace in regex is deprecated

After compiling and installing GNU automake 1.15, I get this error whenever I run automake: Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ ...
1
vote
1answer
147 views

Cannot connect to the MySQL remote server. Debian 8

I have issue that I cannot reach the 3306 port (mysql) even if I set it in iptables. How can I resolve this issue? root@vps191532:# iptables-save # Generated by iptables-save v1.4.21 on Thu Oct 22 ...
1
vote
1answer
22 views

Replace asterisks in x-spam-level by different character

Is it possible to have Amavis use something else than the * character for the X-SPAM-LEVEL header (preferably the x character) – and if so, how to accomplish that? TL;DR Background: while the ...
1
vote
1answer
42 views

Apache returns same site from two domains

I'm having an issue with apache that I just can't seem to fix. I have two domains which point to two different DocumentRoot's in the Virtual Host file. However, I can't get that to work properly, the ...
1
vote
1answer
228 views

htop 100% fake CPU load

Recently my VPS show 100% CPU usage of all cores in htop and observium, but there is no process that uses > 5% CPU. In fact, the statistics of my VPS host shows there is no activity at all. Is this a ...
1
vote
1answer
34 views

Permissions with the /sys filesystem

In Ubuntu the permissions for the /sys filesystem are much more lax than on a default Debian install. If I have a program trying to access /sys/class/net/eth0 on Ubuntu there is no issue, but in ...
1
vote
1answer
41 views

Empty fstab on Debian 7 and up. Possible side effects?

When I was checking a machine set up by our sysadmin team, I encountered an completely empty fstab. In fact it was the default fstab installed by a debootstrap. # UNCONFIGURED FSTAB FOR BASE SYSTEM ...
1
vote
1answer
375 views

Error updating mysql with apt-get (Debian)

I'm running a Debian 7 (wheezy) machine and I was doing my normal package updates with apt-get update && apt-get upgrade and everything seemed to have updated alright except for mysql server. ...
1
vote
1answer
63 views

NUMA_NODE for 10GbE device

My server reports numa_node=-1 for all ethernet devices. I am interested in high speed UDP capture (all jumbo packets). I am running Debian Wheezy (kernel 3.2.68-1+deb7u2). I am told that one needs ...
1
vote
2answers
147 views

Best practice for WordPress, direct auto updates and SFTP access for users

I'm trying to set up a secure WordPress site on a Debian 8 system with the following requirements: automatic core updates (FS_method "direct") chrooted SFTP access to /wp-content (for a single user) ...
1
vote
1answer
32 views

debian: how to raise timeout on SSH?

When I use SSH on my debian server, after 3 minutes of idle, it disconnects. Any way to raise that value to 4 hours ? regards
1
vote
2answers
75 views

User created with useradd instead of adduser loads a wrong Prompt

I've designed my bash prompt like this \u@\h> When i now create the User example with adduser, my prompt looks like example@host> But when i create a User with useradd, my prompt looks like ...
1
vote
1answer
22 views

What do I need to install on remote linux server to be able connect it with ssh -X?

there is no graphics environment, it was configured to be accessed and managed via command-line. It is Debian however I think the question is general for all distributions... I was about to install ...
1
vote
1answer
47 views

migrate debian 8 user (SHA512 encrypted with $6 tag) to LDAP

I have a problem with migrating local user from debian 8 to LDAP. As you know debian 6 and above use SHA512 as standard user password encryption. in the shadow file it shows the password with "$6" ...
1
vote
1answer
401 views

Ruby open-uri error : SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A

I am noticing an ssl handshake error when i am using open-uri module of ruby in Debian:Squeeze but it is working fine on Debian:Wheezy and Debian:Jessie Here is what i am noticing: Debian Squeeze ...
1
vote
1answer
84 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 ...
1
vote
1answer
78 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
266 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 ...
1
vote
1answer
65 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
1answer
37 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 ...
1
vote
1answer
243 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
2answers
88 views

Not able to access mailman via web interface

I am trying to install mailman on my local machine. I am using debian 8. I installed mailman simply using apt-get install mailman. Then i copied mailman.conf file to ...
1
vote
1answer
977 views

Minimal setting of Exim from Debian 8.0 “Jessie” to work out-of-the-box for receiving mail

I am looking for a simple advice what should be essentially (minimally) done to make a default Debian 8 Jessie's exim4-daemon-heavy installation to actually receive any mail. Speaking of essential ...
1
vote
2answers
1k views

/etc/init.d/ssh restart does not reload the configuration

I've added a chroot configuration to my /etc/ssh/sshd_config. I reload the configuration file using /etc/init.d/ssh reload, then try to connect using an SFTP client, but nothing changes, the user is ...
1
vote
1answer
977 views

Unable to set a bridge over bonding on Debian

I have a Debian 8 Jessie machine with two interfaces (eth0 and eth1) bonded in balance-rr mode (aka 0). It works smoothly, but when I try to set up a bridge on it, it doesn't work. My ...
1
vote
1answer
247 views

iptables can't NAT multiple IP addresses

I have a server with two network adaptors: eth0 and eth1. This server is running two distinct https webservers: One is listening on eth0 (172.29.49.112:8443) The other is listening on eth1 ...
1
vote
2answers
494 views

Debian - apt-get - Depends: php5-mysql but it is not going to be installed

We needed php5-mysqlnd and thus php5-mysql got removed and now a package has unmet dependencies whenever we want to install something with apt-get. How or where can I edit the dependencies to get rid ...
1
vote
1answer
188 views

Installing Debian with a writable flash drive [closed]

I can easily make a bootable flash drive for installing Debian by doing this: dd if=debian-7.8.0-amd64-CD-1.iso of=/dev/sdg bs=4M; sync but then it makes the flash drive read-only. I'd like to ...
1
vote
2answers
292 views

Issues with connecting to OPENVPN

I am trying to configure Mullvad on openVPN - Debian I have followed their online tutorial - Install OpenVPN and resolvconf (sudo apt-get install openvpn resolvconf) Extract the configuration files ...
1
vote
1answer
474 views

Can't grant MySQL privileges to Debian system maintenance user

I have a dedicated Debian 7 server running multiple websites with MySQL as the database server. When I tried to install the latest updates, MySQL couldn't be updated because the server failed to stop. ...
1
vote
1answer
37 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" ...
1
vote
1answer
746 views

Postfix using virtual.db file instead of mysql table

I have specified virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf, but still I got errors like warning: hash:/etc/postfix/virtual is unavailable. open database ...
1
vote
1answer
187 views

Rsyslog refuses to log over OpenVPN

I'm trying to forward rsyslog from a client to a server over a VPN. I have it working across an internet link already (through eth0 to an edge router) but would like it to go through the OpenVPN ...