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

Rebuilding raid1 array fails device busy

I had a hard disk fail on my server, so I got the provider to replace the hard disk. Unfortunately I forgot to do mdadm /dev/mdX --fail /dev/sdaY for the disks. Now after a reboot, I get this: ...
-4
votes
1answer
43 views

In Debian, what is NAMED service for? [closed]

I have just upgraded my Debian VPS webserver from 6 to 7 and among others I have just found the following services running: named xinetd sendmail-mta (...) kthreadd/478 khelper/478 What is the ...
1
vote
2answers
76 views

Is it safe to move “ACCEPT state RELATED,ESTABLISHED” to the top?

I've the following iptables configuration: Chain INPUT (policy DROP 11 packets, 604 bytes) num pkts bytes target prot opt in out source destination 1 127 11093 ...
1
vote
0answers
149 views

To write in mdadm.conf in initramfs prompt doesn"t not save changes after reboot

I made a mistake with my mdadm.conf with my debian backup server. I used this command : mdadm --detail --scan --verbose >> /etc/mdadm/mdadm.conf to add a raid5 (it works great). By using ...
0
votes
1answer
61 views

intel 2620 and 2609 on debian cpuinfo [closed]

I have two Boxes running Debian 7 with the following processors. Each Box has two of the same processors. Intel® Xeon® Processor E5-2620 (15M Cache, 2.00 GHz, 7.20 GT/s Intel® QPI) # of Cores 6 # ...
0
votes
1answer
252 views

libnss-ldap getent passwd - AD replies correctly but output shows local /etc/passwd

I am trying to configure libnss-ldap to provide AD authentication to my Linux Debian servers. This is working fine if user exists locally, I want to make it work for Domain users. Here is my ...
0
votes
1answer
147 views

Debian Active Directory to LDAP migration

These days I am working on LDAP and Active Directory migration. I want to migrate to LDAP but I cannot get passwords from Active Directory. I want to seemlesly migrate to LDAP, and I want a solution ...
0
votes
1answer
97 views

Increase partition size in debian server

I have a debian server instance and I need to increase the root partition size of it. I installed the parted program and took a backup first. Then I attached another 2GB volume to the instance. When ...
1
vote
1answer
123 views

Postfix to Postfix relaying

I've got a (possibly unusual) situation with using Postfix to relay mail to another Postfix mail server that then needs to send the email out. I've read plenty of tutorials and seen instructions for ...
1
vote
0answers
24 views

Apache - disable file preprocessing

Apache tries parse my *.tpl files (which contain js/html – underscore templates). This is somethings I don't need at all. So if I rename file to *.html, content is returned as is, and if that very ...
0
votes
1answer
105 views

lighttpd does not start at boot after enabling ipv6

A few days ago I configured lighttpd to listen on my VPS IPv6 address as well. It runs on a Debian 7 Xen VPS (Linode) with a 3.15.4-x86_64-linode45 kernel. The version of lighttpd is 1.4.31-4+deb7u3. ...
1
vote
1answer
81 views

Cannot remove mount option “discard” on an ext4 file system

I try to turn off "discard" on an ext4 file system but I cannot succeed. I tried to add "nodiscard" option in /etc/fstab but I can still see this # tune2fs -l /dev/md2|grep disca Default mount ...
0
votes
2answers
93 views

VirtualHost's server name does not work (shows /var/www), all aliases do

I have installed apache 2 and created and enabled a virtual host. The virtual host has: ServerName example.com ServerAlias *.example.com ServerAlias foo.com ServerAlias *.foo.com ...
0
votes
0answers
66 views

How can I log and maybe even block IPs that send lots of incoming UDP traffic?

we run a voice / teamspeak server which receives legitmate traffic on port 9987 from many ips. Sometimes we get DDoSed. So people use single Servers and send 1-3 Gbits of UDP Floods to that port. This ...
2
votes
2answers
186 views

can I add global alias in virtual_alias_maps but only for local domains?

I want to create a global alias for all my domains to catch all mail to addresses like postmaster@ I've added theses lines to aliases.pcre: /(MAILER-DAEMON|postmaster|abuse|webmaster)@(.*)$/ ...
0
votes
1answer
524 views

Debian Jessie Qemu KVM GPU Passthrough to Windows Virtual Machine guest Virt-Manager error Bus PCI not found

I'm having problems with Virt-Manager not wanting to boot a VM and giving error: Error starting domain: internal error: process exited while connecting to monitor: char device redirected to ...
1
vote
0answers
170 views

Page displays “File not found” when I enable php-fpm chroot on debian wheezy apache2.2

I set up a chroot jail for a user "bob". bob is located in /var/jails/bob Bob has a site which is located in /var/jails/bob/bobssite.com/public_html Everything seems to work so far, including the ...
0
votes
1answer
80 views

How to add “Authentication-Results:” - Debian Squeeze+postfix+opendkim+SPF checks

I have installed Debian Squeeze on my VPS, I use it as mail server only, packages installed are: Postfix+openDKIM+SPF_checks_with_Postfix. All works fine, SPF & DKIM passes authentication, but ...
0
votes
1answer
79 views

How can i speed up an XWiki installation on debian?

We installed XWiki on Debian. Page load times in default config were about 2 seconds. Tuning the memory parameters according to the XWiki performanve guide brought it down to 1 second. But for a local ...
0
votes
2answers
61 views

server side cd on sftp client connect

Is there a way with sftp to have it configured server-side to run a cd command when a client connects? I have my users thrown in to chroot, the folder has to be root:root chowned and cannot be ...
0
votes
1answer
102 views

hylafax + modem (USR Sportster Flash X2) + MODEM TIMEOUT: reading line from modem

I have the following issue with my modem Sportster Flash X2. We had set it up with hylafax and it worked week or two. But today during receiving of fax it hangs and is not responding. Here is log from ...
1
vote
1answer
238 views

PHP from repository, upgrade to 5.5

On my Debian VPS I have installed PHP 5.4 from debian wheezy repository. Now I would like to upgrade PHP to 5.5, but I would like to still be able to continue upgrades by apt-get. Is it good way to do ...
2
votes
3answers
65 views

Accessing multiple disks under single virtual partition?

I have disks as below on my Debian server: /dev/sda1 276M 29M 233M 11% /boot /dev/sdb1 917G 793G 79G 92% /home /dev/sdc1 1.8T 1.7T 79G 96% /home2 /dev/sdd1 1.8T 1.7T 79G 96% ...
0
votes
0answers
129 views

Debian DHCP for voip option 66 using tftp

I have configured my tftp and I am able to send configurations from the windows server when it runs dhcp option 66 tftp to my server but when I try to do it from the debian isc-dhcp-server I get ip ...
0
votes
3answers
742 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 ...
-1
votes
1answer
363 views

need to load xt_tcpudp module in Debian 7 Wheezy with OpenVZ kernel. Error: 'could not open'

I followed this guide IPTABLES inside container guide @ openvz.org I'm running Debian 7 Wheezy x64 which was dist-updgrade'd before installing OpenVZ. The container is Debian7 x64 minimal. It's ...
0
votes
1answer
55 views

varnish 4.0.1, Unknown command: “vcl”, but command is needed on header?

I am on Debian Jessie, Varnish 4.0.1 From the varnish 4 Wiki : "Starting with Varnish 4.0, each VCL file must start by declaring its version with a special "vcl 4.0;" marker at the top of the file." ...
0
votes
1answer
1k views

dist-upgrade from Debian 7 (wheezy) to 8 (jessie) results in 'Failed to execute operation' errors

After upgrading Debian 7 (wheezy) to 8 (jessie), any system critical action results in one of the following messages appearing: Failed to execute operation: Activation of org.freedesktop.systemd1 ...
0
votes
0answers
80 views

Linux on Hyper-v network errors

I have Hyper-V 2012 on HP DL320 G6 I've installed debian 7 i386 on, added two network adapters and configured it as router for my local network. I found out that sometimes wan interface generate ...
0
votes
2answers
161 views

Give Apache Permission to Serve Files Outside of /var/www

I have my apache server and its specific files in /var/www and I have a bunch of group documents that I want to serve out in another directory /company/shared_files. I wrote and alias and it seems ...
0
votes
2answers
173 views

127.0.0.1 in /etc/resolv.conf file (Debian)

I am not running DNS server on my Debian machine. However, file resolv.conf contains the following lines: nameserver 127.0.0.1 nameserver 213.186.33.99 search ovh.net Is it normal to have line ...
0
votes
1answer
43 views

Wrong FQDN on Debian server

I have defined the server's FQDN and its alias in /etc/hosts: X.X.X.X server1.example.com server1 However, the command hostname --fqdn only returns the alias (server1) and not the FQDN. Why is ...
1
vote
1answer
34 views

Analysing root cause of file system errors in Debian

My VPS hosting provider just helped me to restart my Debian VPS after it failed to reboot. He told me there were file system errors but told me to refer to the logs in order to find out what happened. ...
0
votes
1answer
244 views

host only network xen 4.4

I have one IP address (ipv4) and I am trying to install a domU (debian stable) on a dom0 which runs the latest xen 4.4.1 on debian testing. I have created xenbr0 bridge and it is mapped to my eth0. ...
0
votes
0answers
34 views

All my subdomains linked to the same DocRoot

i wand to enable some sub-domains in my apche2. I created some vhost files but i always get the same page on every sub.domain. If i enabled only one of the files i get the page of this DocumentRoot... ...
1
vote
1answer
78 views

Disabling damaged RAID 1 to read from healthy HDD

One of the HDDs in my software RAID 1 on a dedicated server is damaged. The customer support is slow to respond. I would like to transfer all data I need to another server, but file access is ...
-1
votes
1answer
100 views

Shared /home with NFS: chown /home/userdir to a user that doesn't exist on the server

Let's say I have a NFS /home on my server that gets mounted on boot by clients (EDIT: on their own machines -- locally), in order to have a common /home for my clients, this way they automatically ...
0
votes
0answers
33 views

Securely restrict access to a private Debian repository *without* giving shell access

Is there any way to securely give access to a Debian repository, without also giving shell access? I do not want passwords passed in clear text, so the ftp and http transports are not adequate. My ...
0
votes
0answers
97 views

Debian forward through NAT EOIP GRE

eth0 = WAN eth1 = LAN to forward any port through nat I use e.g: iptables -t nat -A PREROUTING -p tcp -d 79.188.31.34 --dport 8291 -j DNAT --to-destination 192.168.0.36:8291 and it works, but ...
0
votes
0answers
22 views

Ubuntu private repo packages being rejected

I'm running a private apt repository on Ubuntu 14.04 where I publish packages and internal servers install them. Unfortunately a few days ago when adding packages to the repo it's been putting them in ...
0
votes
1answer
151 views

Can't create an apt mirror using debmirror

I'm trying to create a mirror in my local machine, but I can't verify the gpg signatures. Followed these steps: https://help.ubuntu.com/community/Debmirror The only difference I created the ...
0
votes
0answers
88 views

Setting up a firewall to route between interfaces on a gateway

I've been trying to setup a firewall on my debian gateway with iptables. The gateway is connected to a a network 12.120.0.0/24 on eth0 behind a NAT and the subnetwork behind it is 12.120.4.0/24 eth1. ...
1
vote
0answers
154 views

Failed to install Nginx from nginx.org, Debian apt preferences messed up?

I'm trying to install Nginx from the latest release on nginx.org However, the latest package is not picked up: $ apt-get install nginx Reading package lists... Done Building dependency tree ...
0
votes
0answers
138 views

hostapd virtual wlan interface no ip from dnsmasq

I have installed hostapd and also dnsmasq to ppovide dhcp only. On the virtual interfaces i do see the ssid and all. So hostapd seems to work fine( although i am not sure). When i try to connect to ...
0
votes
1answer
62 views

Need to upgrade only rsyslog on Debian system

Just received a notice from apticron: apticron has detected that some packages need upgrading on: The following packages are currently pending an upgrade: rsyslog 5.8.11-3+deb7u1 ... Package ...
0
votes
2answers
35 views

Allow mysql user to be used just by specified user

Currently any system user can run: systemuser$ mysql -u mysqluser -p (assuming he knows the password). Is there a way to deny mysql (cli) to use particular mysql user? eg. systemuser$ mysql ...
2
votes
1answer
200 views

Kerberos-PAM authentication failure: pam or pre-authentication

kinit -p 'username' works -- no problem with the setup of the Kerberos realm. I can't get the login from the GUI to work, however. Client auth.log: pam_krb5(gdm3:auth): user <username> ...
1
vote
1answer
186 views

should a virtual interface clash with keepalived?

I was working on a server today, debian squeeze. After testing this on two staging servers, I added a virtual network interface to /etc/network/interfaces like this: # The primary network interface ...
0
votes
1answer
2k 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
65 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 ...