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

learn more… | top users | synonyms

0
votes
1answer
433 views

Running dist-upgrade fails on installation of 'startpar'

I'm trying to run dist-upgrade on Debian 6 but it fails on installation of startpar with: dpkg: considering deconfiguration of sysvinit-utils, which would be broken by installation of startpar ... ...
2
votes
0answers
55 views

Easily spoof lsb_release output for different versions

I’m often rebuilding software packages (mostly Debian) for older versions (of both Debian and Ubuntu, including oldoldstable). Some of these packages use the lsb_release command to figure out the ...
0
votes
1answer
31 views

dpkg not able to delete a symbolic link

I have the following postint script in the dpkg package: rm -f /SOMEDIRECTORY/current ln -s /SOMEDIRECTORY/releases/RELEASESHA /SOMEDIRECTORY/current ln -s /SOMEDIRECTORY/shared/config/config.json ...
1
vote
1answer
156 views

Accessing internal network addresses remotely through squid proxy on debian

My objective is to allow clients over the internet to connect to a squid proxy server, provide a username and password, and then access several http servers on the internal network that the server is ...
0
votes
1answer
105 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 ...
1
vote
0answers
187 views

How to read mcelog output? [closed]

I am trying to make sense from the following error generated by mcelog: $ sudo mcelog --dmi --ascii < /var/log/mcelog WARNING: with --dmi mcelog --ascii must run on the same machine with the ...
-2
votes
1answer
324 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 ...
2
votes
2answers
113 views

Mediawiki does not run for the first time

I'm trying to install Mediawiki 1.22.6 into a subdirectory /wiki/ of apache document root directory, which contains some other directories. When I try to open http://example.com/wiki or ...
1
vote
0answers
25 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
40 views

No output from remote Debian server

When I login to my Debian server over SSH, it "freezes": in interactive mode, I don't get the prompt, if I say ssh server 'ls', nothing happens. I can, hovewer, use Bash built-ins, for example ssh ...
0
votes
1answer
53 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). ...
0
votes
0answers
64 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
44 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 ...
3
votes
1answer
186 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
63 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 ...
0
votes
1answer
49 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 ...
0
votes
0answers
50 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, ...
1
vote
2answers
171 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: ...
2
votes
1answer
866 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 ...
0
votes
1answer
27 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
46 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 ...
-1
votes
1answer
105 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: ...
1
vote
1answer
105 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
63 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 ...
2
votes
2answers
129 views

Email notifications about hardware RAID status

I have a server with HP Smart Array hardware RAID controller. To monitor its status, I use cpqarrayd. /etc/default/cpqarrayd contains DAEMON_OPTS="-t localhost:162" to send SNMP traps when something ...
2
votes
1answer
577 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
272 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
0answers
12 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
91 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 ...
2
votes
0answers
99 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 ...
1
vote
1answer
65 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
0answers
899 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
0answers
49 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
295 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
43 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 ...
0
votes
1answer
188 views

Getting IPMI SMB (I2C SMBus SSIF) to work on kernel 3.2

I've got one old server into my hands, and I'm trying to get IPMI to work. Server board is SE7520JR2 (SE7520JR22S, SE7520JR22.86B.P.08.10.0081.051820051126) $ dmidecode -t 38 # dmidecode 2.11 SMBIOS ...
1
vote
2answers
213 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
83 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
vote
1answer
42 views

How to automate cleanup of config files from past pkgs as reported by “dpkg -l | grep ^rc”

There are a number of pkgs that weren't removed with "apt-get purge" and I would like to automate cleaning them up. You can't apt-get purge apache2.2-common because the pkg is already removed. You ...
-1
votes
2answers
124 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: ...
1
vote
1answer
47 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 ...
1
vote
2answers
210 views

HTTPS on Squid http proxy server

I've got many servers and I want them to have the same IP when they do requests via the Internet. So I configured a Squid http proxy server that works well for http requests. The problem is that it do ...
0
votes
0answers
142 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 ...
0
votes
1answer
419 views

Emails won't download to Outlook (dovecot, postfix, debian)

I finally managed to set up dovecot and postfix to the point where I can connect to my server with Outlook to send emails. Receiving emails works too, but I can not download them to my mail client: ...
1
vote
1answer
237 views

mdadm Stuck at rebuilding spare

I have the following Raid configuration, cat /proc/mdstat Personalities : [raid1] [raid6] [raid5] [raid4] md4 : active (auto-read-only) raid5 sda5[0] sdd5[4] sdc5[2] sdb5[1] 1536 blocks ...
0
votes
1answer
31 views

Error during the kernel booting

After kernel update I've got a problem with booting linux, does anyone know how to fix this problem ?? I am pretty sure that everything was OK during kernel compilation. Here is a picture with the ...
0
votes
1answer
88 views

Kernel Upgrade with grsecurity - Debian

I would like to upgrade kernel on my server from version 2.6.32 to the newest with Grsecurity. But after restarting the server there is still old version of kernel, can you tell me what I have done ...
6
votes
3answers
272 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
2answers
135 views

Upgrade to secure openssl fails

Upgrade to secure openssl fails Method: have in /etc/apt/sources.list: deb http://security.debian.org/ wheezy/updates main contrib non-free Then do: apt-get update apt-cache policy openssl ...
2
votes
1answer
54 views

How to reset self-signed keys that allow remote shell access to server in (Debian) linux

This is not something I've ever had to do before, and in light of the heartbleed bug I've been looking for a guide of how to do it properly, but all I can find are guides on how to log into a server ...