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

learn more… | top users | synonyms

1
vote
1answer
37 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
136 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
50 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
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 ...
0
votes
0answers
34 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
1answer
117 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
272 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
19 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
37 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
72 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
59 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
60 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
118 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 ...
1
vote
1answer
354 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
186 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
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
75 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
74 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
59 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
568 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
45 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
142 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
36 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
150 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
172 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
69 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
31 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
84 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
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 ...
1
vote
2answers
166 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
97 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
248 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
159 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
30 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
69 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
255 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
121 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
53 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 ...
0
votes
2answers
95 views

How to block requests for virtual hosts that dont exist in apache [duplicate]

First up, check out this question: Why are external domains appearing in my apache logs? We're seeing the exact same thing on one of our Debian VPS servers - with one big difference, the regularity ...
0
votes
1answer
39 views

rewrite rule on location in nginx

When I write the location in, it works, when I use the same location as a rewrite rule, it doesnt!!! I dont understand the logic. Can someone please explain? location /v3/ { alias ...
1
vote
0answers
172 views

XenServer IP Failover OVH not working

I have got problem on XenServer with IP FailOver in OVH. I did everything what is in this official tutorial http://help.ovh.co.uk/BridgeClient and IP not working. On my VM is Debian 7 64bit I set MAC ...
0
votes
3answers
163 views

PHP is not executing scripts after Debian upgrade

We upgraded our Debian web server to Wheezy this morning, and after everything else came up fine, Apache appears to have lost the ability to execute PHP scripts, while it was able to do so before the ...
1
vote
0answers
71 views

Massively large number of packets dropped by interface

I have a virtual machine on ESXi 5 acting as a firewall for a PBX, it is running vyatta. When I run tcpdump on any interface, I get some ridiculous numbers! e.g. 4 packets captured 402 packets ...
0
votes
0answers
10 views

Unable to update old kolab server/openpkg

as of recently we had a running and working kolab server. Then someone found a nice bug in openssl, so of course, we had to update the Kolab instance. I tried to execute the command but it was ...
0
votes
1answer
1k views

Heartbleed flaw fix on Debian Wheezy [duplicate]

is there any 100% working method to update openssl to the non vulnerable version on Debian Wheezy. I do not want to upgrade the whole OS, nor would I like to install a non official package. Is there ...
0
votes
0answers
48 views

psql doesn't allow to input cyrillic symbols

I have a server with postgresql 8.4 installed on it. But when I try to insert some data in russian, for example: UPDATE category set question = '[there should be russian symbols]' WHERE id = 1; ...
0
votes
2answers
97 views

removed files from /tmp/ directory - can't login anymore

I'm a system integrator(evidently noob), and today i've made my first scan with rkhunter, a tool that look into the system for check the presence of rootkits. After that scan i -foolishly- decided to ...
0
votes
1answer
105 views

How to check if an apt mirror has the version of package I required?

Let say I want to query if openssl, 1.0.1-4ubuntu5.12 is available in the mirror, e.g. deb http://security.ubuntu.com/ubuntu precise-security main restricted Any easy command I can check?
0
votes
2answers
102 views

Why BIND does not use the forwarders any more?

BIND does not use the forwarders to resolve any more. It just goes to the root servers. I do not know when this started happening since everything worked transparently, but for sure bind configuration ...
0
votes
0answers
49 views

Reading home files permission: Policy constraint violation

I want to confine a certain user to be able to bind a node.js server to a certain port. That bit is working. What isn't working is allowing said user to access his own files. audit2allow is telling ...