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

learn more… | top users | synonyms

-1
votes
1answer
25 views

Modifying qemu without screwing up my current install

I currently have kvm installed on my Debian laptop: kvm --version QEMU emulator version 2.1.2 (Debian 1:2.1+dfsg-12+deb8u5a), I want to modify it to supported nested virtualization (ESXi VMs). ...
0
votes
0answers
19 views

kvm host refuses to shutdown when guests are suspended

I've been able to do this before but now all the sudden when I suspend the guests on my Debian kvm host and then shutdown the host it hangs with "a job is running for suspend active libvirt guests" ...
0
votes
1answer
96 views

SSH via DNS permission denied, but it works via IP (Debian 8.3)

I have a server behind a router, and I have forwarded port 22 (TCP/UDP). I can SSH to the IP (ssh user@xxx.xxx.xxx.xxx) but not to the DNS (ssh user@mysite.com). I'm getting: Permission denied (...
1
vote
0answers
82 views

Linux swapping blocks system (freeze)

I have a problem with my Debian Servers. We run 4 different server which all have Intel CPUs and 128GB of RAM. Two of them run Wheezy, two of them run Jessie. We run a Java software on those systems ...
0
votes
0answers
58 views

Proxmox-Server reboots sporadically

I just mentioned that my proxmox-system is rebooting from time to time when performing backup-tasks (bacula, not the proxmox-backup-system). The logs are showing the following: Mar 8 02:30:01 ...
3
votes
1answer
161 views

CGroups memory limit not working

I am trying to limit memory usage for a LXC container using CGroups, but I can't limit the memory. # lxc-cgroup -n maxdaniel981 memory.limit_in_bytes 134217728 lxc_container: failed to assign '...
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 ...
0
votes
2answers
51 views

Haproxy failing to start after VM move (Debian 8 [systemd])

We are running HAProxy 1.6.1 on Debian 8 virtual machines. I was moving our 2 instances to a different size VM, however, when I rebooted they did not come back up. I can't even run the haproxy ...
0
votes
1answer
172 views

/var/log/syslog is empty. Service rsyslog is running, but not installed

Problem Periodically I encounter the problem that /var/log/syslog is empty. $ ls /var/log/syslog -rw-r----- 1 root adm 0 Dez 31 06:29 /var/log/syslog Environment and Installed packages I am using ...
0
votes
0answers
52 views

postgresql in lxc container doesn't start after reboot

Debian stable (Jessie) I have few containers - in one container there is postgresql. I want to start it first (I hope that my config does it). After reboot all containers starts, but i can't log in ...
0
votes
1answer
30 views

monit can not resolve hostname: getaddrinfo does not find host

I use monit v5.16 running on Debian Wheezy to check if a server is up or down using the ping instruction. Here is my configuration: check host my.server.domain with address my.server.domain ...
-1
votes
1answer
46 views

Debian SSH disabled password logins but can still login [duplicate]

I have setup a debian install on a VPS and have successfully implemented key based logins to increase security. Now I am trying to disable password based logins entirely using the guide found at ...
0
votes
0answers
16 views

How do you speed up an SQL query on a huge database? [duplicate]

I'm currently dealing with a table that has 30 million rows of 8 columns. I'm only selecting the columns that I need. SELECT column_a, column_b FROM table_name This is happening from a python script ...
0
votes
1answer
36 views

exim 4 : add header to ALL messages

I'm looking for a way to add headers to all outgoing emails in exim4 (debian 8 setup). I have tried differents things based on headers_add but i guess my main question is where to put this rule (the ...
0
votes
0answers
32 views

Strange chkconfig behaviour on Debian for samba service

The service "samba" is not starting at boot on this standard Debian 7.7 installation while it should. Based on the chkconfig man page, I did this, but it still doesn't start at boot : chkconfig ...
0
votes
2answers
70 views

How to route requests between Nginx servers on the same IP address based on domain name?

I'm running a Debian server with Nginx installed, as well as OpenResty. I have a domain, a subdomain of that domain, and in the future will have multiple domains pointed at its IP address with A ...
0
votes
1answer
23 views

Does ntpdate work with SNTP?

I have an embedded system with Debian on ARM. I use ntpdate for time synchronization, but I am not sure whether it supports SNTP.
-1
votes
2answers
32 views

Debian statistics - cpu, memory, hdd

I'm wondering how can I get my dedicated server avarage statistics for last month/ week. I used sysstat and sar to report my logs, but they are seems to be too much I'm interested about averege final ...
-6
votes
2answers
48 views

Should I use SSL on SSH [closed]

I am trying to setup a web server in Linux (Debian). I have modified the IP tables to provide access only SSH and HTTP/S. Also SSH port has been changed to non-standard one. Apart from these steps, ...
0
votes
0answers
134 views

ZFSonLinux : process stuck in D state, iowait for CPU 100%, HDD idle

I have a problem that occurs regularly,cca every 5 seconds. the rtorrent process gets stuck on disk wait D state for approx. 1-2 seconds,then continues with full speed. Sometimes the hangs take ...
2
votes
1answer
261 views

KVM / QEMU: connect to VM without GUI [closed]

Short Version (Solution is below): I have a Windows PC. I have a Debian server (without desktop environment). I have a Ubuntu VM running on Debian server via KVM/QEMU. Question: How can I connect to ...
0
votes
0answers
61 views

beanstalkd - unable to connect to remote host: connection refused

Attempting to set-up a remote beanstalkd server. I have 2 digital ocean instances. For purposes of example we will call them vmbeanstalk and vmapp. My OS is Debian Jessie. Let us assume: vmbeanstalk -...
0
votes
1answer
59 views

Debian hangs entering single user mode

My Debian system hangs when trying to enter single user mode on "start job is running for LSB" as shown in screenshot below. Any idea how to recovery it? This thing started occurring after restarting ...
1
vote
1answer
74 views

Why does “cat /proc/net/dev” show only 0 for non-root users?

Recently, I've noticed that my script to monitor the network showed me nothing at all when it was run with a non root user. My script is simply looking at /proc/net/dev which has the following ...
1
vote
0answers
18 views

service --status-all freezes part way through displaying list

debian 8.0, logged in over ssh service --status-all freezes part way through displaying list of services it gets to ssh and then doesn't display anything else and doesn't finish, it doesn't matter ...
0
votes
1answer
275 views

Debian : configure an send-only smtp server (exim or postfix)

I’m configuring a debian server and I need a mail server for all notifications (fail2ban, logwatch, etc). I need those notification to be send to a specific email address. I have an smtp account with ...
0
votes
0answers
26 views

debian active directory join issue

I have interesting issue. If I install debian with preseed file, Cant authenticate AD. but If install debian with manual installation I can authenticate AD AD Server : Windows Language : English ...
0
votes
2answers
330 views

Postfix as SMTP server for Gmail. (“Send mail as” google option)

I have a vps on ovh.com runing debian 7. I want to set up my gmail account to send, and recieve mail on (for example) myname@mydomain.com address. I searched google for hours and couldn't find a ...
1
vote
1answer
42 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 ...
0
votes
1answer
135 views

zfs: dataset does not exist

I'm not able to set mountpoint to the pool. # zpool import pool: wd-black id: 18120690490361195109 state: ONLINE action: The pool can be imported using its name or numeric identifier. ...
0
votes
1answer
27 views

pgbouncer:is it OK putting on localhost or it's better on another server?

I'm about to migrate my (tiny) server farm to Google Cloud Platform and so giving the architecture a small restyling. One of the changes I'm about to commit is the introduction of pgBouncer, to manage ...
-1
votes
1answer
92 views

Configure proftp ftp server on debian so that a user can only upload and does not see the files

I installed and configured proftp on Debian using this howto and it works nicely. Effectively, the changes to the config are: [...] UseIPv6 off [...] <Global> RootLogin off ...
0
votes
1answer
32 views

How can I know why my dedicated server froze or crashed ? (Unix-like)

Recently, my dedicated server froze for around 50 minutes on Sunday. It did not respond to ping or any command. In the end, it was hard rebooted by the hosting company and everything works fine since ...
1
vote
1answer
37 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 ...
2
votes
2answers
234 views

MySQL doesn't start after upgrading to Debian Jessie

I have a server with Proxmox 3.4 with several OpenVZ-containers. Host and all guests are running Debian 7 x64. Now I want to migrate my old setup to a new server with Proxmox 4 (based on Debian 8). I ...
1
vote
0answers
29 views

IP Aliassing - Multiple Public IP Address [closed]

I have a problem with IP Aliassing. I want that all IP addresses have ism traffic but it does not work except to redirect eth0 with iptables DNAT and SNAT which is ineffective. auto lo iface lo inet ...
0
votes
0answers
25 views

tcp receive buffer size min value seems not work

I tried to increase tcp min receive buffer size to 87380, so in my test it would OOM quickly with a little connections. net.ipv4.tcp_rmem = 87380 87380 6291456 net.ipv4.tcp_wmem = 87380 87380 ...
1
vote
0answers
84 views

How to prevent persistent naming of network interfaces, like eth1

I have a freshly installed Debian Jessie. I had two NICs, which were eth0 and eth1, now I took out one, however I still have eth1 left in the system: % dmesg ... tg3 0000:03:00.0 eth0: Tigon3 [partno(...
2
votes
1answer
246 views

DHCP Server with multiple network interfaces and different subnets

I am trying to set up a dhcp server (isc dhcpd on debian 8 (vm inside an esxi environment)) with 4 network interfaces, eth0-3. The dhcp server should serve a different subnet on the interfaces eth1, ...
0
votes
0answers
34 views

aptitude doesn't see the same packages as apt-get?

I've always used aptitude to perform system updates. Today I noticed there were some updates waiting which aptitude search "~U" showed. When I tried to apply them, they were not there. I ran aptitude ...
1
vote
0answers
184 views

apt update blocked by cyclical dependices

I have Debian running on a VPS instance that is kept alive for a little site/project that is used by a small user base on an irregular basis. The server is largely left alone but I try to login every ...
1
vote
1answer
40 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: <...
0
votes
1answer
47 views

Unattended upgrades not running under Ubuntu 14.04

I have a bunch of servers running Ubuntu 14.04. They all have the unattended-upgrades package installed. I've created a file called: /etc/apt/apt.conf.d/local-50-unattended And I've added the file ...
2
votes
1answer
855 views

cannot boot because of networking service

I have a fresh install of debian 8.3 jessie on a new server with all upgrades However each time I try to reboot the machine, debian enter in emergency mode The screen got stucked at "A start job is ...
1
vote
1answer
551 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
0answers
92 views

Dovecot ACL's, shared mailboxes and virtual domains

I am struggling with ACL's, shared mailboxes and dovecot, and I really can't get it to work. I have gone through the official dovecot docs, searched the Internet for helpful howto's, to no avail. I ...
0
votes
2answers
28 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: paths="/...
-1
votes
1answer
133 views

sendmail and gmail not received [duplicate]

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 gmail-smtp-in.l....
0
votes
1answer
52 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
26 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 ...