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

can I add global alias in virtual_alias_maps but only for local domains?

I want to create a global alias for all my domains to catch all mail to addresses like postmaster@ I've added theses lines to aliases.pcre: /(MAILER-DAEMON|postmaster|abuse|webmaster)@(.*)$/ ...
0
votes
1answer
293 views

Debian Jessie Qemu KVM GPU Passthrough to Windows Virtual Machine guest Virt-Manager error Bus PCI not found

I'm having problems with Virt-Manager not wanting to boot a VM and giving error: Error starting domain: internal error: process exited while connecting to monitor: char device redirected to ...
1
vote
0answers
109 views

Page displays “File not found” when I enable php-fpm chroot on debian wheezy apache2.2

I set up a chroot jail for a user "bob". bob is located in /var/jails/bob Bob has a site which is located in /var/jails/bob/bobssite.com/public_html Everything seems to work so far, including the ...
0
votes
1answer
39 views

How to add “Authentication-Results:” - Debian Squeeze+postfix+opendkim+SPF checks

I have installed Debian Squeeze on my VPS, I use it as mail server only, packages installed are: Postfix+openDKIM+SPF_checks_with_Postfix. All works fine, SPF & DKIM passes authentication, but ...
0
votes
1answer
45 views

How can i speed up an XWiki installation on debian?

We installed XWiki on Debian. Page load times in default config were about 2 seconds. Tuning the memory parameters according to the XWiki performanve guide brought it down to 1 second. But for a local ...
0
votes
2answers
53 views

server side cd on sftp client connect

Is there a way with sftp to have it configured server-side to run a cd command when a client connects? I have my users thrown in to chroot, the folder has to be root:root chowned and cannot be ...
0
votes
1answer
74 views

hylafax + modem (USR Sportster Flash X2) + MODEM TIMEOUT: reading line from modem

I have the following issue with my modem Sportster Flash X2. We had set it up with hylafax and it worked week or two. But today during receiving of fax it hangs and is not responding. Here is log from ...
0
votes
1answer
57 views

PHP from repository, upgrade to 5.5

On my Debian VPS I have installed PHP 5.4 from debian wheezy repository. Now I would like to upgrade PHP to 5.5, but I would like to still be able to continue upgrades by apt-get. Is it good way to do ...
2
votes
3answers
61 views

Accessing multiple disks under single virtual partition?

I have disks as below on my Debian server: /dev/sda1 276M 29M 233M 11% /boot /dev/sdb1 917G 793G 79G 92% /home /dev/sdc1 1.8T 1.7T 79G 96% /home2 /dev/sdd1 1.8T 1.7T 79G 96% ...
0
votes
0answers
71 views

Debian DHCP for voip option 66 using tftp

I have configured my tftp and I am able to send configurations from the windows server when it runs dhcp option 66 tftp to my server but when I try to do it from the debian isc-dhcp-server I get ip ...
0
votes
2answers
306 views

Apt fails to get sources due compression

My Debian server (3.2.60-1+deb7u3 x86_64) fails to fetch updates from security.debian.org. I think it is caused by repository, because there are only compressed files on the repository. How can I fix ...
-1
votes
1answer
204 views

need to load xt_tcpudp module in Debian 7 Wheezy with OpenVZ kernel. Error: 'could not open'

I followed this guide IPTABLES inside container guide @ openvz.org I'm running Debian 7 Wheezy x64 which was dist-updgrade'd before installing OpenVZ. The container is Debian7 x64 minimal. It's ...
0
votes
1answer
43 views

varnish 4.0.1, Unknown command: “vcl”, but command is needed on header?

I am on Debian Jessie, Varnish 4.0.1 From the varnish 4 Wiki : "Starting with Varnish 4.0, each VCL file must start by declaring its version with a special "vcl 4.0;" marker at the top of the file." ...
0
votes
1answer
787 views

dist-upgrade from Debian 7 (wheezy) to 8 (jessie) results in 'Failed to execute operation' errors

After upgrading Debian 7 (wheezy) to 8 (jessie), any system critical action results in one of the following messages appearing: Failed to execute operation: Activation of org.freedesktop.systemd1 ...
0
votes
0answers
58 views

Linux on Hyper-v network errors

I have Hyper-V 2012 on HP DL320 G6 I've installed debian 7 i386 on, added two network adapters and configured it as router for my local network. I found out that sometimes wan interface generate ...
0
votes
2answers
99 views

Give Apache Permission to Serve Files Outside of /var/www

I have my apache server and its specific files in /var/www and I have a bunch of group documents that I want to serve out in another directory /company/shared_files. I wrote and alias and it seems ...
0
votes
2answers
85 views

127.0.0.1 in /etc/resolv.conf file (Debian)

I am not running DNS server on my Debian machine. However, file resolv.conf contains the following lines: nameserver 127.0.0.1 nameserver 213.186.33.99 search ovh.net Is it normal to have line ...
0
votes
1answer
30 views

Wrong FQDN on Debian server

I have defined the server's FQDN and its alias in /etc/hosts: X.X.X.X server1.example.com server1 However, the command hostname --fqdn only returns the alias (server1) and not the FQDN. Why is ...
1
vote
1answer
29 views

Analysing root cause of file system errors in Debian

My VPS hosting provider just helped me to restart my Debian VPS after it failed to reboot. He told me there were file system errors but told me to refer to the logs in order to find out what happened. ...
0
votes
1answer
126 views

host only network xen 4.4

I have one IP address (ipv4) and I am trying to install a domU (debian stable) on a dom0 which runs the latest xen 4.4.1 on debian testing. I have created xenbr0 bridge and it is mapped to my eth0. ...
0
votes
0answers
31 views

All my subdomains linked to the same DocRoot

i wand to enable some sub-domains in my apche2. I created some vhost files but i always get the same page on every sub.domain. If i enabled only one of the files i get the page of this DocumentRoot... ...
1
vote
1answer
73 views

Disabling damaged RAID 1 to read from healthy HDD

One of the HDDs in my software RAID 1 on a dedicated server is damaged. The customer support is slow to respond. I would like to transfer all data I need to another server, but file access is ...
-1
votes
1answer
81 views

Shared /home with NFS: chown /home/userdir to a user that doesn't exist on the server

Let's say I have a NFS /home on my server that gets mounted on boot by clients (EDIT: on their own machines -- locally), in order to have a common /home for my clients, this way they automatically ...
0
votes
0answers
28 views

Securely restrict access to a private Debian repository *without* giving shell access

Is there any way to securely give access to a Debian repository, without also giving shell access? I do not want passwords passed in clear text, so the ftp and http transports are not adequate. My ...
0
votes
0answers
58 views

Debian forward through NAT EOIP GRE

eth0 = WAN eth1 = LAN to forward any port through nat I use e.g: iptables -t nat -A PREROUTING -p tcp -d 79.188.31.34 --dport 8291 -j DNAT --to-destination 192.168.0.36:8291 and it works, but ...
0
votes
0answers
19 views

Ubuntu private repo packages being rejected

I'm running a private apt repository on Ubuntu 14.04 where I publish packages and internal servers install them. Unfortunately a few days ago when adding packages to the repo it's been putting them in ...
0
votes
1answer
97 views

Can't create an apt mirror using debmirror

I'm trying to create a mirror in my local machine, but I can't verify the gpg signatures. Followed these steps: https://help.ubuntu.com/community/Debmirror The only difference I created the ...
0
votes
0answers
78 views

Setting up a firewall to route between interfaces on a gateway

I've been trying to setup a firewall on my debian gateway with iptables. The gateway is connected to a a network 12.120.0.0/24 on eth0 behind a NAT and the subnetwork behind it is 12.120.4.0/24 eth1. ...
1
vote
0answers
99 views

Failed to install Nginx from nginx.org, Debian apt preferences messed up?

I'm trying to install Nginx from the latest release on nginx.org However, the latest package is not picked up: $ apt-get install nginx Reading package lists... Done Building dependency tree ...
0
votes
0answers
87 views

hostapd virtual wlan interface no ip from dnsmasq

I have installed hostapd and also dnsmasq to ppovide dhcp only. On the virtual interfaces i do see the ssid and all. So hostapd seems to work fine( although i am not sure). When i try to connect to ...
0
votes
1answer
58 views

Need to upgrade only rsyslog on Debian system

Just received a notice from apticron: apticron has detected that some packages need upgrading on: The following packages are currently pending an upgrade: rsyslog 5.8.11-3+deb7u1 ... Package ...
0
votes
2answers
32 views

Allow mysql user to be used just by specified user

Currently any system user can run: systemuser$ mysql -u mysqluser -p (assuming he knows the password). Is there a way to deny mysql (cli) to use particular mysql user? eg. systemuser$ mysql ...
2
votes
1answer
110 views

Kerberos-PAM authentication failure: pam or pre-authentication

kinit -p 'username' works -- no problem with the setup of the Kerberos realm. I can't get the login from the GUI to work, however. Client auth.log: pam_krb5(gdm3:auth): user <username> ...
1
vote
1answer
111 views

should a virtual interface clash with keepalived?

I was working on a server today, debian squeeze. After testing this on two staging servers, I added a virtual network interface to /etc/network/interfaces like this: # The primary network interface ...
0
votes
1answer
781 views

How to mitigate error “kernel: nf_conntrack: table full, dropping packet”

We recently had a problem with one of our servers (Debian Squeeze) becoming unresponsive during heavy-ish load. Looking at the kernel logs, I think this is the cause: kernel: nf_conntrack: table ...
0
votes
0answers
40 views

Install amphp / thread on a Debian Wheezy 64 bits

I'm trying to install a multi-thread PHP system on one of my server. After a few readings, the simplest solution seems to use Pthreads with an Amp\thread implementation ...
0
votes
5answers
187 views

Blacklisting MAC addresses, but they still take a DHCP lease

At my workplace, we have a Public Wifi network, as well as our Private Wifi network. The Private side has access to see other computers, the printers, servers, and access to the Internet. On the ...
0
votes
0answers
10 views

Debian package only copy and extract don't try to build from source

I try to make a deb package which simply extracts and copies the content of the bin directory to the bin. How can I tell debhelper not to look for the .tgz source file and try to compile it? My ...
0
votes
1answer
51 views

How to reliable re-install nf_conntrack module after removal?

I want to remove the nf_conntrack module from debian. However I don't want to do this until I know how to get it back (if I have to), and currently am not confident about this. The steps another ...
0
votes
1answer
64 views

Postfix SMTP authentication [duplicate]

I used this guide to create a mailserver for a small business: https://workaround.org/ispmail/wheezy. IMAP is working perfectly but i ran into an issue with SMTP and Authenticated SMTP. When i use an ...
-1
votes
1answer
57 views

VirtualHost keeps redirecting to default main page

I was wondering if im doing something wrong or what ? I'm trying to create a virtualhost for my web page. I've got default apache conf in /etc/apache2/sites-available : <VirtualHost *:80> ...
0
votes
1answer
30 views

Apt without ask at night remove some packages

Today i came to work, and found that some of my perl scripts on work server - do not run. The problem is that scripts can not find some libraries that need to work. However, just yesterday, these ...
0
votes
1answer
20 views

Set a persistent env var for a user who was created without home directory

This is a quick one. I'm in debian, running a bash script as root. Is it possible for me to set an envar for a specific user if I have created that user without a home directory? Looking at these ...
0
votes
1answer
92 views

apt-get don't support https and can't install the necessery package to do it

On Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 I'm using Ansible (software to manage and configure machines) to install Passenger and copy the sources.list from another machine. To ...
0
votes
0answers
12 views

Cannot add ssh keys in cloudstack

I used this guide for use ssh keys in cloudstack. https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/using-sshkeys.html I'm using a debian instance. Once I run ...
-1
votes
2answers
99 views

How to use update-alternatives per user

Is there any way to use update-alternative "user wide" ? I mean that it would be great to set preferences per user. Does Debian provide some tools for that?
0
votes
1answer
76 views

How to exclude a particular domain entry from access.log in squid3 on debian

I have proxy server setup running squid proxy and Squid Cache: Version 3.1.20 on debian, I am doing some log analysis from squid's log file i.e /var/log/squid3/access.log. I dont want a entry of ...
9
votes
4answers
11k views

Can not update Bash on Debian 6.0 (Squeeze)

I can not update Bash on a Debian 6.0 (Squeeze) server to get rid of the discovered vulnerability: bash --version GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu) apt-get update apt-get ...
0
votes
1answer
30 views

Set env var for user as root

I'm on debian logged in as root and I am trying to set an env var for a specific user (not root). This is what I tried and didn't work: su - nginx -c export APP_SETTINGS='production.py' The error I ...
5
votes
6answers
11k views

What is a recommended way to patch the Shellshock Bash bug on an unsupported Ubuntu server?

I maintain an out-of-support Ubuntu 12.10 (Quantal Quetzal) server (don't ask me why, please), and we need to patch the Shellshock Bash security bug. As upgrades are not available anymore, what ...