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

On a Debian 7.5 rc.local won't be run at boot

I am struggling to figure out why rc.local won't be executed at boot time. The file itself is executable, it is called from /etc/rc2.d Also the file when from command line won't return any errors. Any ...
-2
votes
1answer
191 views

Is Docker production ready? [closed]

I will set up a new server for a client. I have done this 100 times and I need a new system to make it. My old system is a big lib with self made scripts so I need 20 minutes for a server. I checked ...
8
votes
2answers
20k views

How do I enable non-free packages on Debian?

How can I enable non-free packages on Debian? I want to install Sun's Java JDK but it's not available to me.
3
votes
1answer
119 views

Hiding linux kernel messages from console

I have a machine running a custom build of Linux kernel 3.2.12-rt based on Debian Squeeze. I'm getting kernel messages printed to the console. I don't want it to do that. I know why it's doing ...
0
votes
0answers
18 views

nginx proxy_pass directive acting up on OSX?

I have the following lines in my nginx.conf on my Mac: location /addPat { resolver 8.8.8.8; proxy_pass http://some_url:8080$request_uri; proxy_http_version ...
0
votes
1answer
36 views

AFS client error message “tokens have expired”

I see the following syslog entries about once or twice a day on one of my servers. This server backs up files to AFS space using a Kerberos service principal: Dec 6 04:01:06 myserver kernel: ...
0
votes
1answer
48 views

pxelinux from existing system?

I have setup a pxe server with tftp, it works using a debian installer. http://www.debian-administration.org/articles/478 Now I don't want an installer but a system, that already exists (on usb). ...
3
votes
4answers
268 views

Arbitrary VLAN interface name

Is there a way to name a VLAN interface arbitrarily like eth72 or ext19 instead of the four standard nameing schemes eth0.72, vlan19 (and the padded variations)? Don't have no clue. Perhaps udev?
3
votes
2answers
1k views

Debian 'ignores' /etc/network/if-pre-up.d/iptables

I want my iptables rules to automatically be loaded on startup. According to the wiki on Debian this can be done by placing a script with the name iptables in /etc/network/if-pre-up.d/ So I did, this ...
0
votes
0answers
47 views

Debian server does not get to grub on boot (possible raid issue)

First a bit of backstory. I'm working at a small business that runs their own web/mail/file server. The server is running on Debian lenny and I have been trying to update it, I ran into a problem with ...
1
vote
1answer
34 views

Mirroring apt repository over ssh

We have a apt repository running to distribute upgrades for our software. The repository is accessed over ssh and a public key authentication: deb ssh://repo.server.com/dist stable As the download ...
8
votes
2answers
3k views

Making libmagic/file detect .docx files

As seen elsewhere, docx, xlsx and pttx are ZIPs. When uploading them to my web application, file (via libmagic andpython-magic) detects them as being ZIP. I store the contents of the file as a blob ...
3
votes
2answers
896 views

Automatically keep current version of config files when apt-get install

I need to automatically install a package with its config file already present on the server. I'm looking for something like : apt-get install --yes --force-yes --keep-current-confs mysql-server ...
0
votes
0answers
30 views

ps / top crash on call with Signal 11 SEGV

since some days i have a weird issue using ps and top. Each time i try to call them via script or command line, they crash with "Signal 11 (SEGV)" and i didn't manage to repair that. I dont even know, ...
0
votes
0answers
45 views

NTFS corrupts by using Windows 2008 R2 share with Debian iSCSI Target

I'm currently using a Debian Wheezy server with a iSCSI block target "lun0". This target is mounted on my Windows 2008 R2 machine and formated using NTFS. The device is mounted as "D:\DATA" and shared ...
5
votes
3answers
2k views

Compile a debian package for amd64 on a i386 machine?

I have a i386 ubuntu hardy machine, and an amd64 ubuntu hardy machine. I want to compile a debian package (a.k.a. deb) for the amd64 machine on the i386 (because I don't have enough memory to compile ...
1
vote
1answer
100 views

I/O Errors but no smart or ZFS errors

I'm having trouble to identify a problem for a friend of my. He is running ZFS on Linux with the Debian distribution. We are getting these entries into the dmesg. [273044.834151] mpt2sas0: ...
0
votes
1answer
47 views

Network dropouts on Debian 5, how to find a cause

It is a tower server machine located in datacenter. I have complete access to the machine. I'm experiencing short dropouts, usually under 10 minutes a couple times a week or so. Unfortunately, last ...
2
votes
1answer
196 views

No such file or directory error when trying to execute startup script in Debian

Very new to Debian (Raspbian), and I'm struggling on this one for a few days. I have a startup script that I want to execute at startup. I have executed the following commands, to make the script ...
3
votes
7answers
2k views

Good linux firewall? [closed]

I am looking for a good firewall for debian 5 which is a web server. Are there any good options apart from iptables? Thanks
1
vote
1answer
55 views

Something (but not iptables) mysteriously redirects network traffic - how to diagnose?

Summary There is a virtualbox host (1.1.1.5) and a routed guest (1.1.1.6). Something redirects any traffic on port 25 with the guest, whether ingoing or outgoing, to 1.1.1.5 port 2525 and I cannot ...
0
votes
1answer
17 views

How to install all packages of “Priority: standard” on Debian

When installed from DVD, a new Debian installation has a lot of packages. I've become used to having mutt, vim, etc. installed by default. However, AWS AMIs and debootstrap installations have only a ...
0
votes
2answers
35 views

apt-get dist-upgrade wants to install x11 on a router?

I have a small router running with debian 6 I now wanted to upgrade the whole thing to 7 It has no webserver running, only dhcp and some iptables for firewalls... I installed it with debian netinstall ...
0
votes
2answers
326 views

vsftpd won't start with ssl_enable=YES. Why or where can i find logs about why?

I just configured vsftpd but if try enable ssl in the config file, my server doesn't start. vsftpd won't start with ssl_enable=YES What can I do about this? I thought there should some information ...
-1
votes
1answer
62 views

Python error when s3cmd is executed within bash script

I'm creating a bash script of which will run on a cron, it's purpose is to backup a directory to Amazon S3 using the s3cmd command. I get the following error when I run the script: /usr/bin/env: ...
0
votes
5answers
2k views

Can't see other network interface in Debian Etch

I know there are two physical network interfaces in our server (haven't seen it live, but person from datacenter confirmed two ethernet sockets). Problem is, I can only see one via ifconfig -a. At ...
0
votes
1answer
181 views

bugzilla installation on debian

I wanted to setup bugzilla on my debian vm. Everything runs pretty smooth until i do the test suggested by the official manual: ./testserver.pl http://www.localhost/bugzilla which returns: ...
1
vote
1answer
51 views

Debian, Apache and conf-enabled

If conf-enabled configs contain Alias directives and Directory sections, to which VHost do they apply - to all ones in sites-enabled or to the default (first) one?
0
votes
2answers
57 views

iptables rules advice in debian linux

please advice: I add next iptables rules: iptables -I OUTPUT 2 -p udp --dport 53 -j ACCEPT iptables -I OUTPUT 2 -p udp --dport 1700:1750 -j ACCEPT iptables -I OUTPUT 3 -p udp -m udp --dport 1812 -j ...
1
vote
1answer
278 views

Exim doesn't want to do DKIM signing correctly

I'm using exim 4.82 on Debian sid. I've followed several tutorials on how to configure exim to sign outgoing emails, but it seems like something is not behaving as it should be. My diagnosis is that ...
-1
votes
1answer
159 views

RKHunter reported processes that are using deleted files or are listening on the network

I ran Rootkit Hunter 1.4.0 on a Debian Wheezy server and I am confused by the output. I enabled every tests using the following piece of configuration: ENABLE_TESTS="all" DISABLE_TESTS="none" The ...
1
vote
1answer
67 views

Correct Permissions VPS /var/www

This is a repost of an "off-topic" question on stackoverflow. My scenario is: I created a user and added that user to sudoers: visudo user ALL=(ALL) ALL Then sudo adduser user www-data and ...
1
vote
0answers
11 views

Which dependencies are removable after building ruby?

I've successfully built ruby 2.1.1 on Ubuntu/Debian by installing the following dependencies: apt-get install \ autoconf \ bison \ build-essential \ libssl-dev \ libyaml-dev \ ...
1
vote
1answer
49 views

What am I leaving out in enabling CGI execution under Apache 2.2?

I have a fresh Debian installation (if that's not an oxymoron), with Apache 2.2.x which I am migrating to after using Ubuntu Saucy and Apache 2.4.x, and I'm pulling my hair out about why ...
0
votes
1answer
306 views

How to install Dovecot under debian with the current repositories

quick story up front, so that you understand my current state better. I am trying to install Dovecot + Postfix on a Debian system by this tutorial. I know this tutorial is original made for Ubuntu, ...
2
votes
0answers
69 views

Linux (Debian 7 x64) swapping activity despite lots of free memory

Yes, I have reduced vm.swappiness a lot: % sysctl -a | grep swap vm.swappiness = 1 Memory is mostly free: % cat /proc/meminfo | head MemTotal: 8070592 kB MemFree: 2619580 kB ...
0
votes
3answers
260 views

Using Proxmox Kernel on Wheezy without proxmox system

I'm going to run two servers with OpenVZ on Wheezy. Since there are sadly no OpenVZ kernels in debian anymore I want to use the Proxmox kernel instead. I'm doing all replication with scripts I have ...
6
votes
1answer
173 views

Correct usage of /srv on debian systems

I'm a bit confused about what goes inside /srv and looking for good practices about its usage on Debian. Acording to the FHS: "/srv contains site-specific data which is served by this system". ...
0
votes
0answers
448 views

IPsec Xauth RSA - Debian 7 and Android 4.4 VPN (Always-ON) and Mac OS X 10.9.2 VPN (On Demand)

I successfully installed IPSec Xauth RSA using this instruction: http://jsharkey.org/blog/2012/09/22/deploying-a-pure-ipsec-pki-vpn-server-for-android-devices/ In brief: apt-get install ipsec-tools ...
0
votes
3answers
2k views

How to enable OPcache in Debian?

Just installed php5-fpm. All sources say that apc module has been replaced with OPcache and it's compiled by default but not enabled. How can I enable this module. I can not find opcache.so file on ...
6
votes
3answers
249 views

How to prevent Bind from responding to spoofed IP addresses?

We all know about open resolvers, this question is kind of for the inverse situation. I have a DNS server that is locked down to certain CIDRs acl trusted {[..] options { [..] allow-query { ...
0
votes
0answers
38 views

Debian preseed partman wrong partition

I'm tying to write preseed file for my debian but I'm stuck at partitions. Now I'm trying to use 200G HDD like this: /boot 300M / 5G /var/lib/docker 20G /var/log 4G swap 4G /home rest Instead of ...
0
votes
0answers
98 views

Postfix relay_domains configuration for outgoing mail

im pretty new to Postfix and email administration in general. I have installed postfix on my debian 7 server following this tutorial Now, I can receive emails and if I try to send them using ...
0
votes
1answer
35 views

Postfix - E-mails missing, no message in the log

I'm setting up a postfix + dovecot mail server for myself on a VPS. I plan to host a couple of domains with it and be able to manage the users via MySQL. It currently works as I would like to but it ...
1
vote
2answers
152 views

How do I redirect to different backend server based on URL using Apache?

I'm a newbie to Apache, sorry if this is a documented solution somewhere. I have been scouring the web and can't seem to find this answer ... I would like to redirect traffic based on the URL coming ...
2
votes
3answers
67 views

How do i change the global login shell on a unix system?

I want to set the login shell (the shell they get when they log in) of all existing and future users. The correct way to change the login shell seems to be chsh. But this only allows me to change the ...
-1
votes
2answers
76 views

URL Shortener & Site Redirection on same domain

i have one domain(http://sdm.fm), And I would like it to work as a redirect to http://somdomato.com. But at the same time I would like it to work as a URL shortener. Using phURL. Like: ...
3
votes
1answer
5k views

Cacti not working for SNMP data sources

I installed packages cacti and snmpd on a Debian server. I'm able to display common graphs in Cacti (such as memory usage, load average, logged in users, etc) using the data templates listed as Unix. ...
1
vote
1answer
41 views

Linux - reverse proxy - What is the easiest tool for powerful reverse proxy?

I am setting up a domain with a set of URLs per customer (customerx.domain.com) on a set of Debian servers. What is the best tool to redirect incoming requests to different servers and/or different ...
0
votes
0answers
86 views

debian multiple network interface multiple networks

I have a virtual environment with 3 virtual machines on one host. One of my virtual machines has 2 network interface. I need the virtual machine with two interfaces to connect to two different ...