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

learn more… | top users | synonyms

4
votes
3answers
292 views

Install Debian Backports kernel automatically

I've got the following pinnings set: Package: linux-image-amd64 Pin: release a=wheezy-backports Pin-Priority: 1001 Package: * Pin: release a=wheezy-backports Pin-Priority: 499 I get the following ...
-1
votes
2answers
99 views

Install python packages through ap-get in Debian

I'm trying to install Odoo on a Debian 3.2, but I'm having trouble trying to install its dependencies. When I try to install python-decorator, I get this error: The python-decorator package is not ...
0
votes
0answers
20 views

How to divert an already diverted file of a Debian package?

There is package A installing file X and Y. There is package B, which also tries to install (overwrite) the file X with different content and a new file Z. So in the preinst script it diverts the ...
-1
votes
1answer
219 views

Installing wkhtmltoimage in Debian 6.0 (squeeze)

How to install wkhtmltoimage in 64 bit amd debian ? I tried wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-amd64.tar.bz2 tar xvjf wkhtmltopdf-0.9.9-static-amd64.tar.bz2 mv ...
5
votes
2answers
155 views

How to get Newly Expanded RAID to show correct size in Debian

I recently expanded my RAID 5 Storage Virtual Drive from 6TB to 9TB. The Dell OMSA and the bios for the RAID controller both show I'm at 8382GB. Which is fine. But when get into Debian and poke ...
0
votes
0answers
21 views

Masquerating with Sendmail and signing after with OpenDKIM

When I send mail from my accounts linked with my first domain, signing with OpenDKIM works great. But when I send mail with my accounts linked with my second domain, I use the genericstable FEATURE to ...
-1
votes
1answer
45 views

I see a flood of requests from Revista22

In many of the sites I am running I see in Google Analytics thousands of visits referred from a site called revista22.ro, which I don't know and which mentions nothing about any of my sites. Also, I ...
2
votes
1answer
58 views

grep ouput filepath with file modified date?

Is it possible to make the grep command to output file paths with file modified date like so: 12-02-2015 /file/path/to/the/file 16-02-2015 /file/path/to/the/file 25-02-2015 /file/path/to/the/file ...
2
votes
3answers
98 views

KVM guest is unable to access the internet

I have a Debian host that has several allocated IPs and KVM with a Debian guest using a bridged network. The guest is completely unable to reach the network, including the LAN or even the host. ...
0
votes
0answers
53 views

How do I configure KVM guest to have Internet access?

I am trying to get KVM working on my Debian server and I am having a slight problem with networking with my guest OS (also Debian). The virtual machine is using the "default" network (without a ...
0
votes
1answer
63 views

iptables - openvpn can't access port 80

I have a server set up with OpenVPN. While connected to the VPN, all external websites work great, but when I try access a site that is hosted on the same server, it fails to connect. I can ssh into ...
1
vote
2answers
145 views

Debian: how can I know if reboot is required after update?

I have 4 servers with Debian Wheezy OS. I have Apticron installed that informs me about updates. Debian updates are realized so often that when I finish to update the last of 4 servers I get new email ...
0
votes
1answer
82 views

Cannot start Wildfly

I want to start wildfly as a service but nothing happens when I try to start it using: $ /etc/init.d/wildfly start Starting WildFly Application Server: wildfly $ ls -l /etc/init.d/wildfly -rwxr-xr-x ...
1
vote
1answer
42 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 ...
0
votes
1answer
41 views

restarting apache using python causes port change

i'm using python bottle web framework to create a service manager so i've created endpoints for services re/starting / stopping the wired thing that happens when i'm using os.system('service apache2 ...
2
votes
1answer
119 views

mdadm: Convert RAID10 to RAID1

The machine in question is equipped with 4x ssd, and running Debian wheezy 7.8, linux kernel 3.2.0-4, mdadm v3.2.5. Currently I'm using a RAID10 consisting of all these ssd. I've to increase the ...
0
votes
1answer
48 views

routing a second public IP to multiple VM's

myself and a friend have rented a dedicated server and have used KVM and libvirt to create virtual machines for us to use. (we are using debian jessie on the host) we purchased two additional IP ...
1
vote
1answer
73 views

Postfix smarthost, allow relay by dynamic IP

I have several servers (web, mysql, java) that have postfix installed which are set up to relay to a smarthost postfix server. DYNAMIC IP STATIC IP INTERNET ...
1
vote
1answer
93 views

How to change mailx?

I am having a problem in my VMs. I used the same template (Debian 7min) in OpenVZ, but for whatever reason those two are using a different mailx. I have a small script which I use to send ...
1
vote
3answers
47 views

Mount a drive at login time

I need to mount a drive at login time. I have the home directories in the server, and when a user logs in at a client machine (debian 7), I need to mount his directory temporally at a mount point, ...
1
vote
0answers
63 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
143 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
47 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
19 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
61 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
116 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 ...
1
vote
1answer
124 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. ...
3
votes
1answer
50 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
191 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
71 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
39 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
25 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
60 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
24 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
82 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, ...
6
votes
2answers
404 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
64 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
21 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
47 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
227 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
412 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
5k 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
vote
0answers
94 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
16 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
138 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
132 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
63 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
63 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
71 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 ...