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

learn more… | top users | synonyms

0
votes
0answers
418 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
25 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
128 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
36 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
58 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
38 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
60 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
72 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
51 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 Squeeze

Can not update bash on a Debian Squeeze server to get rid of discovered vulnerability: bash --version GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu) apt-get update apt-get install bash ...
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 ...
6
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 Quantal server (12.10), don't ask me why please, and we need to patch the Shellshock Bash security bug. As upgrades are not available anymore, what is the ...
0
votes
1answer
23 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
45 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
38 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
176 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 ...
0
votes
1answer
125 views

Avoid the need of CAfile on client

I am trying to configure my apache that it is delivering all certificates files to get always a positive validation. To be clear there is no issue with any browsers, I am talking about openssl ...
1
vote
0answers
103 views

How can I limit total quota using squid without authentication for per user

I am having Raspberry Pi running Raspbian, I have configured it as a wifi hotspot using hostapd and dhcpd, I have configured transparent squid proxy server on it. Now all traffic goes through my proxy ...
1
vote
1answer
62 views

iptables + postfix cant send email

Recently my host provider sent me a letter about some sort of attack from my server. I'm not into security so i found some tutorial and closed all unused ports with iptables. Here is my iptables ...
-1
votes
1answer
62 views

Something is filtering 27017 port even then firewall is not working

Good day, i' trying to move mongodb database to separate VPS from application, but VPS was pre-configured not by me. I have instance with running mongodb on 27017 port: COMMAND PID USER FD ...
-1
votes
1answer
16 views

some services switched off automatically

with my company we have a VPS. We have some issues with it. this morning the pure-ftpd was stopped. I had to start also postfix and the cron jobs were off for 3 hours. My config : Debian GNU/Linux 7 ...
0
votes
1answer
90 views

ssh tunneling not working due to strict iptables

my iptables are set so that I can only allow ssh connections. I tried ssh tunneling and I can connect to my sever, but after when I try using my server as a proxy on firefox, pages try to load ...
0
votes
1answer
83 views

apt-get source: Unknown command “source”

Following this tutorial, I'm stuck a this line: $ apt-get source lighttpd Unknown command "source" aptitude 0.6.8.2 Why does my apt-get/aptitude does not support this command? I don't know if this ...
0
votes
1answer
38 views

QEMU guest can access HTTPS sites, but not HTTP

So I'm configuring a QEMU guest on my Debian Wheezy server, using virt-manager. As guest I've installed Ubuntu 14.04.1 server. The server contains the following iptables rule: iptables -t nat -A ...
0
votes
1answer
118 views

insserv: warning: script 'uwsgi' missing LSB tags and overrides

This is my code: #!/bin/bash daemon="$APPVENV/bin/uwsgi" args="--emperor $APPCONF/uwsgi/app.ini" pid="$APPDIR/emperor.pid" case "\$1" in start) echo "Starting uwsgi" ...
0
votes
0answers
39 views

Freshly installed Apache 2.4.10 is failing to construct Debian-style configuration layout in Debian

I'm on Debian 7. Just built 2.4.10 from source and I'm trying to get the Apache configuration to appear in /etc/apache2 in the typical Debian distro layout as described here; however, when I set the ...
0
votes
1answer
42 views

Running tor on lxc-based virtual infrastructure

I tried to set up a tor relay node on my server running debian squeeze with linux containers for better maintainability. Installing from main repository and tor repository failed. In debug.log there ...
0
votes
1answer
100 views

Hyper-V dynamic ram not working with Debian

I've a Windows Server 2012 R2 based Hyper-V host with Windows Server 2012 R2 guest VMs and also Debian 7.6 based VMs. The dynamic RAM is working on Windows guests fine. But on Linux its not and the VM ...
0
votes
1answer
608 views

Grub rescue, will not boot from mdadm RAID, no such disk or device — mduuid wrong?

I am running a 14 disk RAID 6 on mdadm behind 2 LSI SAS2008's in JBOD mode (no HW raid) on Debian 7 in BIOS legacy mode. Grub2 is dropping to a rescue shell complaining that "no such device" exists ...
0
votes
1answer
65 views

Can't open ports to ouside

I need to open my webserver to internet. I have no idea whats wrong with my config but no ports opened to internet, and server does not respond to ping. I have debian squeeze webserver with following ...
0
votes
1answer
48 views

Visudo Gives no Error but asks “What Now?”

I'm trying to add a new sudoers file using sudo visudo -f /etc/sudoers.d/abe . I added the contents: # Allow automatic update of abe matt ALL=(root) NOPASSWD: python /home/matt/token-abe/setup.py ...
0
votes
1answer
20 views

Trouble using ssh-key gen specifying location and password

This is my code: ssh-keygen -t rsa -C "$APP" This works perfectly. However it then asks me to specify location and password. I was hoping I can automate this all in one go, however this command ...
0
votes
1answer
38 views

What do repeating '^@' symbols in a logfile mean?

A few times I have come across this in a log file: Sep 17 09:35:57 00187d378926 ovpn-00187d378926[1701]: /sbin/ifconfig tun0 0.0.0.0 Sep 17 09:35:57 00187d378926 kernel: Kernel logging (proc) ...
0
votes
2answers
44 views

Nagiographer on Debian Wheezy work partialy

I made standard installation which is Nagios3 + Nagiosgrapher on Debian 7.6. In /etc/nagios3/nagios.cfg I added: process_performance_data=1 and ...
0
votes
2answers
52 views

Generating random passwords with shell on server deployment

I'm trying to generate random and secure passwords to my various configuration files and settings on the fly when I run my automated deployment script. I want them to be generated, shown to the user, ...
1
vote
1answer
136 views

NFS client does not pick up server after restart

EDIT : To summarize the issue, this is a problem with the NFS server changing IP address and the NFS clients not picking up the new address. I can see via tcpdump that the client still tries to ...
1
vote
0answers
116 views

Shorewall: DNAT to IPSEC tunnel zone not routing correctly

I have a ipsec tunnel working that gives access to a 192.168.4.0/24 lan. It is working fine and I can access hosts on the other side without problem: # from fw and lan hosts: # ping 192.168.4.44 PING ...
1
vote
1answer
102 views

Debian don't forward through L2TPv3 more than mtu l2tp virtual interface

R3--R1--Internet--R90 R3: ip addr 10.123.0.3 R1: sudo ip l2tp add tunnel tunnel_id 699 peer_tunnel_id 699 encap udp local 5.254.174.8 remote 5.254.174.90 udp_sport 699 udp_dport 699 sudo ip l2tp add ...
1
vote
1answer
296 views

Debian up in /etc/network/interfaces not working

I'm trying to add a secondary IPv6 address to eth0 on Debian Sid. I added the following lines to /etc/network/interfaces: iface eth0 inet6 static address [IPv6 address #1] netmask 64 gateway ...
2
votes
1answer
234 views

Cannot install grub, segmentation fault, unable to identify filesystem, superfluous RAID member, found two disks with same index — Debian 7

A server was recently transported from location A to B, a long journey that took six months. Things have gone wrong due to nothing being labeled prior to shipment. Yes, I know --- it was done by ...
0
votes
1answer
79 views

Iptables to UFW before.rules not working

I've got the follwing working iptables commands: iptables -t nat -i ppp0 -A PREROUTING -p tcp --dport 81 -j DNAT --to-destination 192.168.16.8:80 iptables -t nat -A POSTROUTING -p tcp --dport 80 -j ...
0
votes
0answers
102 views

SSH login with LDAP users over NSLCD works after restarting server

I have a working nslcd setup running on many servers. I distributed this config to many servers almost all of which are working without problems. However I forgot to install libnss-ldapd and ...
1
vote
0answers
36 views

Non-ASCII filenames are being broken in Debian

I have an old Jira 3.12 installed on Linux (Debian, 6.04). The encoding in OS is setup to UTF-8. My problem: if somebody adds an attachment with non-ASCII symbols in its filename, it is created ...
0
votes
1answer
42 views

init.d script appears to run but dies immediately

I registered the init.d script and when I invoke this directly /etc/init.d/gae it appears to work...PID file is created but the process is no where to be seen by the time I do a ps I have googled and ...
0
votes
0answers
41 views

How to modify environment variable in Apache for CLI

I have a Zend framework 2 application which needs to be configured through an environment variable. On my local host (Windows) for example I set APPLICATION_ENV = local and with ...