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

Capture Outgoing Email to One Mailbox or Account on Linux

I am looking to see if anything exists that would allow us to capture all outgoing email on a machine -- for example, in a staging environment -- and drop it in a single place, which ideally would be ...
0
votes
1answer
46 views

How do I resolve this locale issue?

I am working on setting up a Docker build that will allow me to connect to SQL Server from Linux. As far as I know that has almost nothing to do with this question, but it might, because I'm pretty ...
10
votes
1answer
4k views

HAProxy graceful reload with zero packet loss

I'm running an HAProxy load balancing server to balance load to multiple Apache servers. I need to reload HAProxy at any given time in order to change the load balancing algorithm. This all works ...
0
votes
0answers
34 views

Exim4 doesn't add DKIM signatures

I cannot overcome a problem with exim - it's not adding DKIM headers to my outgoing mail. support:~# cat /etc/issue Debian GNU/Linux 7 \n \l support:~# dpkg -l|grep exim ii exim4 ...
1
vote
2answers
2k views

Libvirt: ERROR No domains available for virt type 'hvm', arch 'x86_64', domain type 'kvm'

Installed virt-man like this $ apt-get install virt-manager $ modprobe kvm $ modprobe vhost-net Launching libvirt guest $ virt-install --virt-type kvm \ --name centos-6.5 --ram 1024 \ ...
0
votes
0answers
30 views

Debian server hacked - root login on /dev/tty1 - therebel exploit [duplicate]

I have a test server running Debian Wheezy (Kernel 3.2.0-4-amd64) and OwnCloud 7. It is a virtual machine hosted on a Debian Wheezy kvm Server. It uses an own IP address configured via br0. I made ...
1
vote
1answer
43 views

Joomla behind caching server with SSL

I'm having trouble getting a cache system to work with Joomla 3.x. This is especially a problem since the server should enforce HTTPS/TLS-connections. The Joomla system runs on Apache2 on Debian ...
0
votes
1answer
733 views

PHP/APC Canonicalize not working as expected

Basic Info: APC Version 3.1.13 PHP Version 5.4.7-1~dotdeb.0 APC Host pcgamingwiki.com (li263-94) (173.255.253.94) Server Software nginx/1.2.4 In my config, I have apc.stat = 0 and ...
4
votes
1answer
551 views

debugging irssi using 100% cpu

I have a debian VM I'm running on an ESX4.0 server. This VM hosts a number of users, each running an irssi session inside a screen instance. This is working quite well, except for one user. For ...
0
votes
3answers
3k views

Why do I get an initscript error when installing Samba using apt-get?

I'm attempting to solve this problem... Why does samba server fail to start with PANIC error? ... by reinstalling Samba, but I'm getting the following error: # apt-get install samba Reading ...
1
vote
1answer
23 views

Querying LDAP server on UDP

I am trying to query an LDAP server (Active directory) over ldaps. The problem is that the only ports i have available (389 and 636) are UDP ports. TCP is not allowed by the firewall rules (which i ...
0
votes
3answers
71 views

Redirect Naked Domain to SSL

I have a wildcard SSL certificate and I want to redirect all http requests to their equivalent https. My server is a Debian (wheezy) and I am running Apache 2.2.22 I have added the following at the ...
1
vote
2answers
36 views

On Debian, what command will return the file with the “smallest” filename from a directory?

I have a directory containing three files, for example, 5.war, 6.war and 7.war. What command will return the file with the "smallest" filename from this directory? (In this case, 5.war.)
0
votes
1answer
70 views

How to disable ipv6 support in Linux entirely?

We are currently setting up a some local network servers to run in a full ipv4 network. I can be sure, that this network don't have ipv6 support, and never will. Next to that, partially because of ...
6
votes
6answers
12k 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 ...
1
vote
1answer
37 views

Install grub on mounted kvm image?

I am trying to mount a KVM image on the host machine in order to fix a grub issue however seem to be going wrong somewhere. I have tried the following steps: mount -o loop,offset=32256 ...
3
votes
5answers
7k views

How do I configure sshd on Debian to use Public Key Authentication?

I'm working on a (Debian) Dreamhost VPS, and it seems to want password-based authentication only: adding my RSA and DSA public keys to ~/.ssh/authorized_keys did not change the behavior of requiring a ...
0
votes
0answers
22 views

Why has MariaDB created database directories with @ in?

A backup script on a Debian server looked at /var/lib/mysql/*/ to find local database names. Having recently installed Seafile, this no longer works because although the databases are called normal ...
0
votes
0answers
20 views

Python in the debian-installer context

My broader question is about using Ansible to perform the late_command in a preseeded Debian/Ubuntu install. The specific question is, is there some straightforward or documented way to get a working ...
4
votes
1answer
798 views

DHCPREQUEST and DHCPACK spam in logs

I've recently noticed that my android phone (droid dna, although the thunderbolt that I had before did the same exact thing) is rapidly requesting dhcp info my dhcp server (isc-dhcp-server on debian ...
4
votes
4answers
3k views

Linux Software Raid runs checkarray on the First Sunday of the Month? Why?

It looks like Debian has a default to run checkarray on the first Sunday of the month. This causes massive performance problems and heavy disk usage for 12 hours on my 2TB mirror. Doing this "just ...
0
votes
1answer
31 views

apache2 mod_proxy_uwsgi internal server error

I have run uwsgi service. uwsgi run on localhost:3031 and works ok (tested via http). # apache2 -v Server version: Apache/2.2.22 (Debian) # uwsgi --version 2.0.9 I have a mod_proxy_uwsgi, ...
0
votes
1answer
119 views

apache2.4 with webdav give an 405 error

I just upgraded my test machine from Apache 2.2.29 to 2.4.10 and actually Im getting some issue with webdav module. If I try to login to a webdav account it works but if I try to list my current ...
0
votes
3answers
792 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 ...
0
votes
1answer
2k views

Postfix Multiple Sender bcc

I am trying to configure postfix to send mails to multiple email address using sender_bcc, if I send caterpillar@domain.com it should send a bcc mail to xyz@domain.com as well as abc@gmail.com. ...
1
vote
1answer
55 views

After resizing an encrypted LVM device, the machine takes 4 hours to boot

I have a host, under Debian Wheezy. The virtualisation software is qemu/KVM, and uses LVM Volumes as disks for the guests. The guests all have been installed using debian wheezy, full-disk ...
0
votes
2answers
638 views

Apache authentification error

I've installed Apache 2.2 on my Debian-based distr (kernel 3.2.0-27) and apache2.2-common package with default configs. Trying to run simple script info.php I got the error found in ...
0
votes
2answers
52 views

How to remove this iptables rule?

happy new year !!! I have an iptables rule. When searching for it with sudo /sbin/iptables -L -n --line-numbers I am getting it Chain tcp_inbound (1 references) num target prot opt source ...
0
votes
0answers
29 views

Authenticating Debian against AD using only LDAP

I have been trying to set up a number of Debian machines to authenticate and authorize users against the Company AD. I am facing a problem however, the IT department will only allow connectivity ...
4
votes
2answers
86 views

Multiple websites on multiple servers - seperate mysql or not

I currently have 2 Debian servers (VPS with 4 GB memory) and am hosting a variety of websites of differing importance: some are production sites, while others are demo/staging/test sites. ...
1
vote
1answer
31 views

How to have resolvconf -u not put 127.0.01 in resolv.conf

I have an Ubuntu server running Bind9, which does not do recursion. I also don't want to use it for any kind of local DNS, because it may not reflect what the outside world sees (getting stale ...
13
votes
11answers
35k views

Can't start/stop mysql service

Taking over a Debian Etch web server with MySQL running. I usually start, stop and restart msyql using: /etc/init.d/mysql restart For some reason on this set up I get the following: :~# ...
6
votes
3answers
10k views

Why are outdated packages installed by yum on CentOS? (specifically PHP 5.1) How to fix?

I'm working on a fresh CentOS server and am extremely annoyed to find out that yum does not work as smoothly and brilliantly as "apt-get install" does on Ubuntu. Installing a LAMP stack, I ran the ...
1
vote
2answers
127 views

Debian 7: HA NAS with pacemaker, drbd and iSCSI

I currently am trying to make a highly available NAS under debian 7. I am using following packages: drbd8-utils iscsitarget iscsitarget-dkms pacemaker corosync ...
1
vote
0answers
981 views

AttributeError: 'module' object has no attribute * python

I am struggling with compiling python 2.7.9 from source and have been advised to ask this question here. While installing python 2.7.9 following the steps described here the following errors ...
32
votes
6answers
6k views

How to check for modified config files on a Debian system?

How to find all Debian managed configuration files which have been changed from the default?
0
votes
1answer
35 views

I can't open any UDP port(inbound)

I am setting up a little IPTable. This is my current config: # Accept everything on the loopback interface iptables -A INPUT -i lo -j ACCEPT # Accept ICMP iptables -A INPUT -p icmp --icmp-type any ...
0
votes
1answer
62 views

fdisk -l return cannot open /proc/partitions

I have a Debian server with 4.5Go on the /dev/simfs partition. Filesystem Size Used Avail Use% Mounted on /dev/simfs 4.5G 3.2G 1.3G 72% / tmpfs 474M 76K 474M 1% /run ...
0
votes
0answers
45 views

`<domain> has no MX record` even though it's configured

I'm trying to set up a mailserver, but I'm stuck with configuring bind. I set the forwarders in /etc/bind/named.conf.options options { directory "/var/cache/bind"; forwarders { ...
0
votes
1answer
4k views

Rotating Mail Logs on Debian server

Mail Logs on Debian systems do not use the regular /etc/logrotate.d scripts to rotate them. I want to force my mail logs to rotate daily (no matter how small), and compress the results, so that the ...
1
vote
0answers
45 views

Debian KVM Host, Debian guests : where full-disk encryption should be done?

I have a host under Debian Wheezy, running qemu/KVM. I want to have all my guests fully-encrypted. I can see to possibilities : - Either I encrypt the LVM Volume using dm-crypt (cryptsetup) and use ...
6
votes
3answers
1k views

How to recover from a deleted /bin/bash?

On my debian maschine I deleted /bin/bash by accident. Is there a way to get it back without reinstalltin the machine? If it helps. I'm still logged in. Guess once I'm out I cannot log in since it's ...
-2
votes
1answer
46 views

How to forward catch-all emails to another domain/email with postfix? [closed]

I am totally newbie with email postfix (any email server) but I would like to do this: Example: - all incoming emails for @domena1.sk forward to ciel@domena2.sk - all incoming emails for @domena3.sk ...
1
vote
3answers
8k views

remove squid clearly

I'm hardly trying to remove squid completly, to reinstall it clearly. (Debian 6). So i used as root: apt-get remove --purge squid apt-get remove --purge squid3 but find / -name squid* returns ...
1
vote
0answers
92 views

Setting the MemoryLimit of a user-created systemd scope using cgroups as user

Related: LImiting overall memory usage for child processes Is there a way for an unprivileged user, or for root to allow an unprivileged user, to create a systemd scope (or other control group ...
1
vote
2answers
1k views

High Apache busy workers and high load average

I've been experiencing a spike in load average on a web server I manage on almost a daily basis now, here are the server specs: 6 x 2.4 GHz dedicated CPU 3GB RAM This is a VPS of which is running ...
1
vote
0answers
49 views

Non-ASCII filenames are being broken in Jira on Debian

I have an old Jira 3.12 installed on Linux (Debian, 6.0.4). 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 ...
1
vote
0answers
122 views

suexec executes world writable php files and files owned by root. why?

I've configured my server to use suexec for php this weekend. Now I've recognized that suexec also serves files owned by root or that are world writable. But this seems to me not like the standard ...
4
votes
2answers
72 views

Create Debian repository with multiple packages verions

I need to create debian repository to keep our software packages, but the main point here is to allow multiple versions of software be keep in it to rollback if needed. reprepo is unable to do that, ...
1
vote
1answer
148 views

Debian WPA2-Enterprise (Network-manager) 802.1X no prompt for certificate?

I set up an access point (AP) with PEAP (Freeradius) 802.1X authentication and trying to connect the following: iOS: Automatically provides the certificate to the onscreen user. Windows: ...