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

learn more… | top users | synonyms

1
vote
0answers
35 views

Routing with multiple NICs on debian

I have a machine with two NICs on different network segments, I've set up routing for the different segments. It works if I run all the routing commands manually, but I can't get it to work when ...
1
vote
1answer
65 views

Slow download big static files from nginx

I'm using debian 7 x64 in vmware-esxi virtualization. Max download per client is 1mb/s and nginx no use more than 50mbps together and my question is what may cause so slow transfers? server ...
0
votes
1answer
27 views

WinSCP, Debian & Sublime Text - File change not recognised by server

I'm connecting to a Debian server using WinSCP (with private key not password if that makes a difference). It's setup so that when I double click on a file it opens in Sublime Text (v3, Build 3065). ...
0
votes
1answer
16 views

Linux Traffic Shaping: ceil rate never reached

My application run on port 8080. I have this iptables command: iptables -A OUTPUT -t mangle -p tcp --sport 8080 -j MARK --set-mark 10 I have also theses TC rules: tc qdisc add dev eth0 root handle ...
1
vote
1answer
32 views

Postfix doesnt apply virtual mailbox rules when external domain sends email

I set up my Postfix to use virtual mailboxes. When I telnet the mail server and send an email from that, it works flawlessly (both when on the mail server and telnetting from a remote client). The ...
0
votes
1answer
74 views

Php 5.6.5 won't work very well

Today I installed Php 5.6.5 on my server with Debian 7 Wheezy and Apache2. First, I added these repositories to my /etc/apt/sources.list file: http://packages.dotdeb.org wheezy-php56 ...
0
votes
0answers
10 views

Can you set openvpn to automatically connect to 'falllback' ovpns in case current one fails? [migrated]

I'm in Debian 7.8 Wheezy, and have installed openvpn from the stable repository. I'd like to set up a system for another user (who does not have high computer literacy) where, if the primary server ...
3
votes
1answer
44 views

By mistake I changed the ownership of /var directory.

Instead of changing the ownership of /var/www directory, I changed the ownership of /var directory recursively (couple of days back). Now owner of every directory in /var is www-data. All my sites are ...
0
votes
1answer
82 views

Installing a Windows guest with virtio in a single step (Debian)

I am trying to create a Windows 7 (32bits) with virtio disk and network in a single step using virt-manager. I've been trying to follow the step-by-step procedure here. However there is no such ...
0
votes
0answers
41 views

Debian: unattended-upgrade does not reboot

I have basically the same problem as described in this question : unattended-upgrades does not reboot On my Debian wheezy I installed unattended-upgrades which correctly upgrades my packages every ...
0
votes
1answer
31 views

Can't seem to create file in bash

I'm trying to use this (under the root account) code in debian 7. #!/bin/bash cat > /root/.ssh/github.id_rsa << EOF -----BEGIN RSA PRIVATE KEY----- XYZ... -----END RSA PRIVATE KEY----- EOF ...
0
votes
2answers
22 views

Issue cloning from github to server authorisations

I'm trying to add a key to github and my server so my server can clone from github. mkdir -p /root/.ssh chmod 700 /root/.ssh cat > /root/.ssh/authorized_keys <<EOF ssh-rsa ...
0
votes
0answers
38 views

Apache 2.2.2 (Debian) mod_rewrite with mod_proxy removes the query string

I try to setup a reverse proxy configuration based on query string rewriting with Apache2, mod_rewrite, mod_proxy (and also mod_auth_cas, but I don't think it deals with my problem). The request flow ...
0
votes
0answers
18 views

LDAP passswd command ask 4 new password

I know there is similar question but mine is a few different as I 'm using LDAP as identification and I'm running with debian wheezy (7) When my end user is using the passwd command for changing his ...
1
vote
0answers
58 views

unable to remove nameserver from resolv.conf (originally an postfix/policyd-weight error message)

I'm using postfix on my Debian (wheezy) server and have it configured to use policyd-weight as follows in the main.cf file: smtpd_recipient_restrictions = reject_non_fqdn_recipient, ...
5
votes
2answers
118 views

No space left on device error, but df reports as more space available

My PHP sessions on my Debian webserver using Apache2 with mod_php seem to be failing randomly, saying that there’s no space to write them: sudo tail -60 /var/log/apache2/error.log [Fri Jan 30 ...
0
votes
1answer
31 views

Unable to install ZeroMQ in debian

I tried to install ZeroMQ in my debian server using, apt-get install libzmq-dev and got the below output: Reading package lists... Done Building dependency tree Reading state information... Done E: ...
0
votes
1answer
15 views

Mounting fails with fstab

I am trying to create a mount point that remains persistent on reboot by adding the following line into /etc/fstab /ownCloud/admin/files/Website\ Backups/ /home/example/Backups none bind 0 0 This is ...
0
votes
1answer
34 views

Postfix/Dovecot on a VM. Problems with understanding port fowarding

I've set up a mail server with postfix and dovecot on a virtual machine running debian 7. At first I basically made a seperate network with a host-only adapter , so host and guest were in the same ...
1
vote
1answer
120 views

SSH key login not working

i am having some problems logging in to one server to SSH via a key this is the client output: ssh 'importer@pdwhost.iwillkeepthis2.me' -p 2201 -v OpenSSH_6.0p1 Debian-4, OpenSSL 1.0.1e 11 Feb 2013 ...
11
votes
1answer
401 views

Upgrading openssh-server within an ssh session

Suppose that you issue apt-get upgrade from an ssh session and one of the packages to be upgraded is openssh-server. Is the new sshd process restarted after the upgrade? If yes how is the session ...
5
votes
5answers
4k views

How to patch CVE-2015-0235 (GHOST) on Debian Lenny and Squeeze?

There is a right way to patch GHOST on Debian Lenny and Squeeze? According to this link there are no plans to patch Lenny https://security-tracker.debian.org/tracker/CVE-2015-0235 Thanks!
-1
votes
1answer
43 views

SSH connection refused after installing webmin [closed]

I'm running Debian Wheezy on Amazon EC2, from their offical image: http://deb.li/awsmp I've got my SSH key and everything has run perfectly until I installed webmin via the deb-packages: ...
1
vote
0answers
64 views

Force libvirt to pass always the same device number to the guest on USB device reconnection

I have a HP plotter connected with a USB cable to a debian server through a USB hub. On the server there is a virtualized Windows XP. Everytime I reboot the plotter a different device number is ...
8
votes
5answers
5k views

How to patch CVE-2015-0235 (GHOST) on debian 7 (wheezy)?

This vulnerability was found in glibc, see this hacker news post for more info. As described in the debian bug tracker, the vulnerability was already patched in testing and unstable. I'd like to ...
0
votes
0answers
13 views

Debugging libnss_ldap AD synchronization

I am trying to configure my Debian server to talk to an AD. I have a connection to the LDAPs port of the AD, and i can use LDAP search to connect and retrieve results. I can also see that the getent ...
0
votes
1answer
75 views

GitLab push not possible and always results in asking for git-user password [closed]

I have a problem with GitLab. Everything is fine, but I can't push. It is asking me all the time the password of the user git. Is it a problem, that I first installed the Omnibus package and then ...
1
vote
2answers
88 views

Can't receive mail with postfix virtual alias

I can't receive mail on the virtual aliases (normal email works in and out), i didn't try the virtual domains but that's what i was going for to get to work. So i have a Debian Wheezy 7.8 Build: ...
-1
votes
1answer
37 views

Setting up two Bind9 DNS Servers on LAN with one serving a particular zone and the other hinting to it

I have set up a Bind9 DNS to serve names on a local netword 172.16.0.0/16. This Bind9 DNS service works fine and resides on 172.16.0.4. It serves names in the domain "mydomain.mak" correctly to all ...
0
votes
0answers
31 views

Exim4 doesn't add DKIM signatures

I cannot overcome a problem with exim - it's not adding DKIM headers to my outgoing mail. support:~# cat /etc/issue Debian GNU/Linux 7 \n \l support:~# dpkg -l|grep exim ii exim4 ...
0
votes
1answer
44 views

How do I resolve this locale issue?

I am working on setting up a Docker build that will allow me to connect to SQL Server from Linux. As far as I know that has almost nothing to do with this question, but it might, because I'm pretty ...
0
votes
0answers
30 views

Debian server hacked - root login on /dev/tty1 - therebel exploit [duplicate]

I have a test server running Debian Wheezy (Kernel 3.2.0-4-amd64) and OwnCloud 7. It is a virtual machine hosted on a Debian Wheezy kvm Server. It uses an own IP address configured via br0. I made ...
1
vote
1answer
21 views

Querying LDAP server on UDP

I am trying to query an LDAP server (Active directory) over ldaps. The problem is that the only ports i have available (389 and 636) are UDP ports. TCP is not allowed by the firewall rules (which i ...
1
vote
2answers
36 views

On Debian, what command will return the file with the “smallest” filename from a directory?

I have a directory containing three files, for example, 5.war, 6.war and 7.war. What command will return the file with the "smallest" filename from this directory? (In this case, 5.war.)
0
votes
1answer
37 views

check recipient addresses with Exim backup MX

I want to configure backup MX with Exim on Debian, using dpkg-reconfigure exim4-config I've set this: #update-exim4.conf.conf dc_eximconfig_configtype='internet' dc_other_hostnames='xxx' ...
0
votes
1answer
69 views

How to disable ipv6 support in Linux entirely?

We are currently setting up a some local network servers to run in a full ipv4 network. I can be sure, that this network don't have ipv6 support, and never will. Next to that, partially because of ...
1
vote
1answer
32 views

Install grub on mounted kvm image?

I am trying to mount a KVM image on the host machine in order to fix a grub issue however seem to be going wrong somewhere. I have tried the following steps: mount -o loop,offset=32256 ...
0
votes
0answers
20 views

Why has MariaDB created database directories with @ in?

A backup script on a Debian server looked at /var/lib/mysql/*/ to find local database names. Having recently installed Seafile, this no longer works because although the databases are called normal ...
0
votes
0answers
19 views

Python in the debian-installer context

My broader question is about using Ansible to perform the late_command in a preseeded Debian/Ubuntu install. The specific question is, is there some straightforward or documented way to get a working ...
0
votes
1answer
29 views

apache2 mod_proxy_uwsgi internal server error

I have run uwsgi service. uwsgi run on localhost:3031 and works ok (tested via http). # apache2 -v Server version: Apache/2.2.22 (Debian) # uwsgi --version 2.0.9 I have a mod_proxy_uwsgi, ...
0
votes
1answer
16 views

Can virtualmin read in Debian Virtual Hosts? [closed]

I've got an existing system that I've mainly been administering from the command line with an occasional use of Webmin for creating users, etc. I just installed and with some fiddling got virtualmin ...
1
vote
1answer
43 views

Joomla behind caching server with SSL

I'm having trouble getting a cache system to work with Joomla 3.x. This is especially a problem since the server should enforce HTTPS/TLS-connections. The Joomla system runs on Apache2 on Debian ...
0
votes
2answers
50 views

How to remove this iptables rule?

happy new year !!! I have an iptables rule. When searching for it with sudo /sbin/iptables -L -n --line-numbers I am getting it Chain tcp_inbound (1 references) num target prot opt source ...
0
votes
0answers
29 views

Authenticating Debian against AD using only LDAP

I have been trying to set up a number of Debian machines to authenticate and authorize users against the Company AD. I am facing a problem however, the IT department will only allow connectivity ...
0
votes
3answers
66 views

Redirect Naked Domain to SSL

I have a wildcard SSL certificate and I want to redirect all http requests to their equivalent https. My server is a Debian (wheezy) and I am running Apache 2.2.22 I have added the following at the ...
1
vote
0answers
764 views

AttributeError: 'module' object has no attribute * python

I am struggling with compiling python 2.7.9 from source and have been advised to ask this question here. While installing python 2.7.9 following the steps described here the following errors ...
0
votes
1answer
33 views

I can't open any UDP port(inbound)

I am setting up a little IPTable. This is my current config: # Accept everything on the loopback interface iptables -A INPUT -i lo -j ACCEPT # Accept ICMP iptables -A INPUT -p icmp --icmp-type any ...
0
votes
1answer
52 views

fdisk -l return cannot open /proc/partitions

I have a Debian server with 4.5Go on the /dev/simfs partition. Filesystem Size Used Avail Use% Mounted on /dev/simfs 4.5G 3.2G 1.3G 72% / tmpfs 474M 76K 474M 1% /run ...
0
votes
0answers
41 views

`<domain> has no MX record` even though it's configured

I'm trying to set up a mailserver, but I'm stuck with configuring bind. I set the forwarders in /etc/bind/named.conf.options options { directory "/var/cache/bind"; forwarders { ...
1
vote
1answer
51 views

After resizing an encrypted LVM device, the machine takes 4 hours to boot

I have a host, under Debian Wheezy. The virtualisation software is qemu/KVM, and uses LVM Volumes as disks for the guests. The guests all have been installed using debian wheezy, full-disk ...