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

learn more… | top users | synonyms

-4
votes
3answers
110 views

cronjob or similar to open a local php file including query [closed]

How do I open the following file with cronjob correctly every 5 minutes: /var/www/mysite/folder/foo.php?query=1 I tried myself but i just did not get it working... i tried with /usr/share/php5 , ...
0
votes
1answer
124 views

Error when reinstalling apache2

I did an dist-upgrade on Debian Wheezy yesterday and got an error with syslog-nc-core. I found that i should try to reinstall it and tried but it ended with an error that apache2 isnt configured. I ...
-1
votes
1answer
65 views

debian LTS : how to keep packages up-to-date with last security fixes using apt

What's the best way to keep packages up-to-date (ie with the last security fixes) without worried about major version update ? For instance, apache2 for squeezeis is 2.2.16 ...
0
votes
1answer
190 views

New XEN Server, Intel i7, Errors were encountered while processing: xen-linux-system-amd64

I have just got a new machine to run XEN VM's on, it has an Intel i7 processor: - Intel Haswell Core i7-4790 3.6GHz 8MB LGA1150 Update [Screencast of what I am doing - ...
1
vote
2answers
305 views

PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/apc.so'

I have updated my php from 5.3.3 to 5.4.31. I have a Debian 6 Squeeze. PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/apc.so' - /usr/lib/php5/20100525/apc.so: ...
0
votes
2answers
39 views

Open Specific Linux Port

Im trying to open a Port(2012) on my VPS so i can access it over the internet. This is the output of sudo iptables -L produces Chain INPUT (policy ACCEPT) target prot opt source ...
1
vote
0answers
35 views

Squid limit all user to 128kbit/s

I have a very odd behaviour with my squid server. It limits every client to a bitrate of exactly 3,2 Mbit/s... To troubleshoot it, I've tried to set the bitrate limit to unlimited and to 128kbit/s ...
1
vote
3answers
56 views

Debug unstable Apache server under Debian

Since yesterday my Apache server that runs on a Debian machine runs very unstable. Sometiems my websites load and sometimes not. I think it has to do with the memory since my Apache log is full of ...
-5
votes
1answer
164 views

ports I open with iptables appear closed [closed]

I opened the following ports with iptables on Debian 7: iptables -X iptables -F iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT ACCEPT iptables -A INPUT -m state --state ...
1
vote
0answers
39 views

periodic connection timeouts to nginx server

We have the following setup: One nginx server as a loadbalancer in front of four worker application servers. The nginx server get about 100 requests per second, sometimes more that that, active ...
0
votes
2answers
50 views

RAID card monitoring from Debian OS

We have a custom built Debain OS server with this raid card. Is there anything we can do from the OS side to monitor the raid virtual disks? A few weeks ago we had a raid degrade and did not know ...
0
votes
0answers
115 views

Proxy / Squid 2.7 / Debian Wheezy 6.7 / lots of TCP Timed-out

I'm facing a lot of TCP timed-out on a busy cache server and here below my sysctl.conf configuration as well as an output of netstat -st Kernel 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3 x86_64 GNU/Linux ...
1
vote
1answer
278 views

GitLab Unicorn Service crashes all the time, 502 Error

I used the Installer of Gitlab CE and so far everything looks well. Then when finished the installation I always got 502 Error on my website, since then I did a little research, then I saw that my ...
0
votes
0answers
180 views

phpmyadmin / nginx : unable to log in

I'm setting up a server with Debian 7.6 I have installed nginx, mysql, php-fpm with apt-get (from dotdeb) The basic setup is working fine, but I want to have things running separately in chrooted ...
1
vote
1answer
24 views

Heavy Samba usage affects other users on the same share

We have a central Samba fileserver running on Debian 6, the clients are almost all Windows 7. The server has 7 2TB SATA drives in a RAID 5. The clients are connected to the server with 100 Mbit. ...
0
votes
0answers
34 views

Corosync zombie/defunct processes

We have one server where it periodically occurs, that corosysc suddenly generates zombie/defunct processes. Corosync is working fine for a couple of hours but then suddenly it generates processes ...
0
votes
1answer
36 views

Renaming debian package

I'm trying to build a customized version of a nginx package for Debian/Ubuntu which had a different set of modules opposed to the default version. What would be the fastest way to modify the debian/ ...
0
votes
1answer
49 views

Debian Installer Partman and reserved blocks

I did this preseed configuration but I'm unable to remove the percentage of reserved blocks directly from the partman recipe. It seems that the option "partman-basicfilesystems/specify_reserved" is ...
0
votes
2answers
219 views

Linux router: ping responses going through the wrong interface

I have a Debian server acting as a router for a small network. It has 3 network interfaces, one LAN and 2 WANs (two different ISPs, let's call them A and B, each of them with a public static IP ...
0
votes
1answer
108 views

debian, exim4, dovecot can't authenticate users on server

I've been configuring my new server for mail. Everything seems to be going smoothly, but I can't get any users to log in (with or without using SSL) So I can telnet to the server from the local host ...
0
votes
1answer
71 views

Install one package from Debian sid on Debian Wheezy?

I need the python-statsd which is only in Debian (sid). What are the steps to install this package under Debian Wheezy please ?
-1
votes
1answer
78 views

postfix how to setup local domain users as virtual users

How can I set up local domain users as virtual users? I have setup virtual domain and the users but when I sent an email it keeps telling me "User not found". To test to see what the problem is, I ...
-1
votes
2answers
39 views

How to get server ssh keys on debian ec2 instance?

I launched an instance on EC2 with a Debian 7.6 AMI and the system log is empty. Is that by design? With the ubuntu images, the server's ssh keys were accessible via the system log. What is the ...
7
votes
1answer
139 views

rrdgraph generation fails on high IO load

We have a 4 core CPU production system which does a lot of cronjobs , having constant proc queue and an usual load of ~1.5. During night time we do some IO intensive stuff with postgres. We generate ...
1
vote
1answer
222 views

cannot connect to postfix with a mail client

I have been trying to setup MX in my server and was able to get the IMAP part working under SSL using Dovecot, however I can't get the SMTP part working using Dovecot as the SASL Authentication. When ...
1
vote
0answers
45 views

Virtuall Manager : CentOS Guest Install Garbled Text

I'm trying to install CentOS 6.5 with virtual manager but the menu is garbled. Host machine is running on Debian Wheezy. Thank you in advance.
2
votes
1answer
81 views

Where to place my server, configuration and (big) data? /srv? /etc? /usr/local/bin? /home/me/.whatever?

I was searching this site for good answer to my question, the best I could find was this. (I'd guess to put my config in /etc, application in /usr/local/bin and data in either /home/firda/.tunnel or ...
0
votes
1answer
48 views

iptables: disable NAT except for only one client

I have a LTSP subnet (192.168.0.0/24) and want to disable NAT for every client except one client The purpose is to deny (on demand) access to internet from student clients, but always allow it from ...
0
votes
0answers
41 views

Partition does not mount with ACL option

Debian 7.5 : Installing package acl I've edited /etc/fstab and added the acl option to / I've remunted the partition to avoid reboot by doing sudo mount -o remount,acl / Problem : The mount command ...
0
votes
1answer
100 views

On debian, how to set up a MTA like exim that allows per user smarthost configuration?

I have a problem setting up something that I think would be cool. I have a server (Debian Wheezy) and I would like to let my users send email from their smarthosts. From what I have read, exim allow ...
1
vote
0answers
105 views

How do I get IPv6 packets to my KVM virtual machine?

My setup is: Debian Wheezy x64 on the host and on the guest. I am using a tun/tap setup to connect a virtual machine to the host. The KVM network options I use are: -net ...
1
vote
1answer
58 views

MaraDNS - location of zone configuration file

Does anyone use MaraDNS instead of BIND9? I've installed 1.4.2 on my VPS (Debian 7 x32) in OVH.fr and looked through the documentation. As I conclude, mararc configuration file should be located in ...
0
votes
1answer
56 views

Command to auto-update apt sources.list in Debian

Is there a command in Debian that I can run that will update my sources.list file to the best possible servers? I maintain a number of Debian servers, and I've found one of the mirrors has gone ...
0
votes
1answer
59 views

Export apt package list for reuse (debian)

Is it possible to export a list of packages from a (Debian) server, so I can reuse this list and simply hit apt-get install <exported_package_list> on a different server? Can I also pipe a ...
0
votes
1answer
242 views

Increse Pure-FTPd timeout on a Debian server

I need to increse Pure-FTPd timeout on a Debian server. On internet I have found out that I have to edit /etc/pure-ftpd.confby changing the MaxIdleTime. The problem is that I have no ...
0
votes
0answers
66 views

debian bringing all interfaces down when one is a vlan

I have two physical NICs, one has a VLAN hanging off of it. When I run ifdown -a it starts bringing interfaces down, and then stops when it gets to the VLAN interface. This seems like a bug, but maybe ...
0
votes
1answer
59 views

PBR with iptables

I know question was answered multiple times, but this situation a bit different. So here is what I have: All users must user default gateway on eth0, except one That one must only use gateway on ...
0
votes
0answers
43 views

Varnish “it works” page on all domains

I installed Varnish on my virtual server(Debian 7.0 x64) Digital Ocean and I followed their tutorial here. The problem is that on all my domains and subdomains, I get the it works message. I tried ...
-5
votes
2answers
54 views

Bash Script that downloads a file and checks the value if 1 or 0 [closed]

I need a Bash Script for Debian which downloads a file, that file containts 1 or 0, 1 when the services is running, 0 when not. So how can I check if the file contains 1 or 0?
0
votes
0answers
68 views

“ifup eth0” causes dhclient to bring up more than one interface

Can someone tell me why dhclient is not respecting to only handle the one interface it has been passed? I've seen this multiple times over the years; never figured it out - it's not related to ...
0
votes
1answer
1k views

proFTPD unable to determine IP address

When starting the server this error is returned Starting ftp server: proftpd2014-08-03 18:39:22,045 web-amd-3700-2gb proftpd[22126]: warning: unable to determine IP address of 'web-amd-3700-2gb' ...
-1
votes
1answer
208 views

Postfix sends as hostname.domain.com instead of domain.com

I've been trying to set up a debian mail server running postfix, but when I try to send mail via mail example@outlook.com the recipient sees the sender as hostname.domain.com. The hostname it sends ...
1
vote
0answers
117 views

Keepalived configurations

I installed keepalived on two firewalls to provide fail over. I'm not sure if the following configurations are correct (see configurations below). Sometimes I have problems to reach the websites ...
2
votes
1answer
122 views

sshdOpenSSL version mismatch - update sshd from rescue mode

After upgrading with apt-get upgrade then sshd is not starting at boot upgrade apt-get update && apt-get upgrade error on boot Have tried to boot in rescue mode and run the following ...
5
votes
2answers
321 views

Logins take a long time

After upgrading to Debian 7.4 password authentication from any service take a long time. This is true for SSH logins, sudo'ing and authentication with dovecot (which is configured to use PAM). I am ...
1
vote
1answer
4k views

how to use both AllowGroups and AllowUsers in sshd_config

I'm trying to modify /etc/ssh/sshd_config on my dedicated debian7 server with both AllowUsers and AllowGroups. However I can't seem get both to work together. The Setup a user testuser testuser ...
3
votes
2answers
167 views

How do I find out where my IPTables rules are being stored?

I working on a Debian server and I'm trying to figure out where my IPTable rules are being stored. From looking around on the internet I've found there is generally two locations were these are ...
0
votes
0answers
72 views

Configuring Samba to allow access from a DDNS domain IP

I have a Debian VPS which I host a website from. I set up a Samba share to enable me to edit website files from my Windows 8 computer. For security I set up a username and password, also I set 'hosts ...
1
vote
2answers
75 views

2.6 Backports for Wheezy

Why can't I find 2.6 kernel images in the wheezy backports for Debian Wheezy? Does anybody knows any unofficial mirrors I can just add to apt? Thanks.
1
vote
1answer
193 views

Why does aptitude want to update the original kernel when I use backports?

On Wheezy I am using the current backports kernel, which I set up via # echo "deb http://ftp.de.debian.org/debian wheezy-backports main" > \ /etc/apt/sources.list.d/wheezy-backports.list # ...