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

learn more… | top users | synonyms

0
votes
2answers
52 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
71 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
50 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
59 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
67 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
255 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
187 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
40 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
709 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
57 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
95 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
79 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
28 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
112 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
70 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
79 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
27 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
52 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
18 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
91 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
77 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
89 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
76 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
101 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
106 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
0answers
693 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
37 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
174 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
49 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
61 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
50 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
29 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
19 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
84 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
11 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
93 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
68 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
29 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 ...
0
votes
1answer
24 views

Allow user to execute “repquota -g /”

I need to allow an user to execute "repquota -g /" from a script without superuser permissions on debian Wheezy. I would not allow all superuser permissions to the user (in my case it is the www-data ...
0
votes
1answer
61 views

Increasing LVM to use all free space on virtualbox/debian

I've cloned and resized a disk image for VirtualBox but I can't find a way to use all the new space. this is how I started: fdisk: Disk /dev/sda: 80.5 GB, 80530636800 bytes 255 heads, 63 ...
1
vote
1answer
41 views

init process' nice level

The init process on a Debian server (VPS) I've inherited has its nice value set to +10. There's nothing particularly obscure installed on the system. It has a LAMP stack and does a lot of IO and will ...
0
votes
2answers
258 views

Guest networking not working on Debian Jessie Host server KVM with br0 bridged network

GUESTS networking not working at all. In other words guest can not ping host or lan gateway. I have br0 bridge already created, also brctl show that vnet0 was properly added by KVM to br0 on guest ...
0
votes
1answer
19 views

Idiomatic way to query installed version of package in debian repository

I am running a private repository that hosts packages for a small arm board. I'm putting together a build process that injects newer versions into that repository on the server using reprepro. Is ...