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

Debconf broke after system failure

I have some serious problems with one of my web servers running debian wheezy. It seem that last week the server center had an error which caused the machine to shutdown suddenly. Since then some ...
5
votes
1answer
152 views

Doing a remote fsck - possible?

We've been deploying fanless PCs for a research study. Some of these are having HD issues as their OS runs from an SD card. I'm seeing cases where I need to fsck a folder or two. I've tried using ...
0
votes
0answers
17 views

How to prevent shutdown from x11?

I have a Debian 7 with LXDE. Users can't reboot machine untill they stay on text-mode. On graphic mode they can shutdown / reboot / hibternate... how i can disable it permanently?
0
votes
0answers
115 views

Preparing to use BTRFS in Debian 7 Wheezy

Kernel According to the BTRFS wiki support is green-lit for the 3.12 kernel, and neutral for the Wheezy kernel. I have installed the 3.12 kernel from wheezy-backports, so that I'm using a recommended ...
1
vote
0answers
54 views

High Disk write not listed under iotop

I have problems with high I/O on my Debian 7.3 server (up to 7 seconds average I/O wait). I tried to find out what's causing this by using iotop -o. Now I see sonething strange: iotop tells me on the ...
0
votes
1answer
61 views

Exim4: How to add or rewrite Reply-to: header in outgoing messages?

How can I configure exim header rewriting to take care of forgotten Reply-To: headers in emails leaving our company? We want to have certain Reply-To: headers added to all official emails leaving ...
0
votes
1answer
66 views

Dovecot IMAP authentication failed

Whenever I'm trying to connect to my Dovecot IMAP server, it gives me a message that the authentication was failed. This message is from the /var/log/mail.log file: Feb 7 15:22:17 celestine dovecot: ...
0
votes
0answers
35 views

php.ini changes doesn't apply in virtualmin nginx

I can't make changes to php.ini in virtualmin-nginx for mysite.com. phpinfo() says: Loaded Configuration File /home/mysite/etc/php5/php.ini So, I edited the file /home/mysite/etc/php5/php.ini ...
-1
votes
1answer
47 views

Will rm delete files currently being accessed by web-client?

My web-service running on nginx and php deliver's files using X-Accel-Redirect header to the client, if I use rm /my/folder/*.* how will it handle files currently being accessed/downloaded by clients? ...
-2
votes
2answers
30 views

Where are actual databases stored in Debian Linux Server [closed]

Our system crashed and we're trying to recover our data. The disc is fine but the OS is gone, so I'm trying to get at the actual mysql databases document. Does anybody know where to look for them in a ...
0
votes
0answers
18 views

Extremely weird proftpd behavior

I have configured proftpd + mysql and it is working Its working perfectly despite the overcomplicated queries. However when I enable DefaultRoot ~ It stops working and somehow reverts to some ...
0
votes
1answer
85 views

Exim4 SMTP server allows unauthenticated users to send emails

I use Debian 7.x amd64 + Exim 4.82 on a dedicated server, I also have a working SMTP server on a shared hosting. I would like to setup an SMTP on my VPS that will have some special delivery ...
0
votes
1answer
36 views

Recursively gave sudo group to all files in var

On a Debian server, in a hastened move, we changed the permissions of the /var directory recursively so that sudo was the associated group, and with write privileges, with these commands: chgrp -R ...
3
votes
1answer
96 views

Why swap is used when enough RAM is avaliable?

I see sometimes Linux based servers using the swap when it is not necessary. Especially when all of the free ram is used for caching. But now my dedicated server with 16GB RAM begins to swap, although ...
0
votes
1answer
31 views

Setting UWSGI to run a module in a venv

I am having a hard time trying to run a module from UWSGI. This is part of my deployment code: # ENVIRONMENT /usr/bin/pip install virtualenv mkdir -p /srv/www/test /usr/local/bin/virtualenv ...
0
votes
0answers
24 views

Munin Data gathering - Some nodes fail gathering data

Hy Everybody I've run into a strange Problem with munin for which i didnt find any solution... maybe somebody here will be able to help. Im running the munin-master on a debian 7. Here's the config ...
0
votes
1answer
32 views

Trouble with $PATH on debian

I think I have a problem with $PATH. I am running a shell script and it is complaining that it doesnt recognize the command even though when I run it manually it does. Shell Script: #!/bin/bash # ...
0
votes
0answers
18 views

MySQL Service allow local connections through hosts.allow

I have my hosts.deny set up as ALL: ALL but when I do this I can't seem to allow MySQL in hosts.allow. I need it just on the local network. I've tried: mysql: LOCAL mysqld: LOCAL and as a last ...
0
votes
2answers
29 views

nginx displays wrong document roots (Virtualmin)

I recently set up Virtualmin on a clean Debian7-32bit VPS. I decided to go with nginx instead of Apache. Virtualmin sets up separate config files for each "virtual host", which I guess is fine. I ...
0
votes
1answer
94 views

Dovecot handshake failure, on Postfix success

I am trying to setup a Dovecot/Postfix structure, relying on a MySQL backend. I came across a problem with SSL configuration, and it's really tearing my hair out... Situation Dovecot listens on port ...
1
vote
1answer
46 views

Logging in iptables

I have created rules in iptables to log and edited the rsyslog.conf file to output any message which contains "iptables" to a different log file. It seems that it is logging to both places, the ...
1
vote
2answers
31 views

Debian: How to detect when user connects for the first time with SFTP?

I'm trying to set up the following: Allow access to an OpenSSH sftp server via ssh keys only, i.e. no password authentication allowed. SSH keys are generated automatically on the server. The server is ...
0
votes
0answers
29 views

bogus_host_without_reverse_dns from server's own IP

I see a lot of bogus_host_without_reverse_dns originating from server's own IP in Apache status. 405-0 28180 0/20/542 _ 0.07 33 147 0.0 0.00 0.42 127.127.127.127 ...
-2
votes
1answer
48 views

monitor rsnapshot's log file with logwatch [closed]

How does one go about including rsnapshot's log file in logwatch's configuration? Logwatch is software that will parse logs and check for important information and email it to someone. How can one ...
0
votes
1answer
33 views

Apache2 forward logs to rsyslog AND locally

Right now I'm storing apache2 logs locally: ErrorLog /var/log/apache2/one.error.log CustomLog /var/log/apache2/one.access.log common How can I keep storing the logs locally but also forward ...
0
votes
2answers
99 views

Why do I get a ssh Permission denied (publickey)?

I have two machines on Google compute engine and I want to ssh the other server. Therefore, on the first machine (namenode), I created a passwordless ssh key for user hadoop and did a cat id_rsa.pub ...
0
votes
0answers
20 views

Output traffic on different alias based on user

I have a server running Debian with two IP addresses aliased on a single NIC. eth0 254.71.11.134 eth0:0 185.14.16.132 I want all traffic form a specific user to go through eth0:0. I figure I ...
0
votes
1answer
40 views

Explanation of top (CPU usage) [duplicate]

My server has been steady at about 2-3%, but today the CPU usage has raised to about 25% When I run top in command line this is what I see.. user is still low about 1.3% and the same with system ...
-1
votes
1answer
32 views

HTTP 301 moved for all nginx URL to a single HTTPS

Below is a config file that I am using with Nginx to redirect all WWW and non-WWW to the https:/domain.com URL server { listen 80 443; server_name domain.com www.domain.com; ...
0
votes
1answer
14 views

Why is my aptitude inconsistent about packages that must be removed to install another package?

This is on debian (3.11-0.bpo.2-amd64 #1 SMP Debian 3.11.8-1~bpo70+1 (2013-11-21) x86_64 GNU/Linux). I was just attempting to "aptitude install ntp". Aptitude told me it would install ntp and ...
2
votes
3answers
296 views

How to duplicate TCP traffic to one or multiple remote servers for benchmarking purposes?

Infrastructure: Servers in Datacenter, OS - Debian Squeeze, Webserver - Apache 2.2.16 Situation: The live server is in use by our cusotmers every day, which makes it impossible to test ...
-2
votes
2answers
35 views

How to block access to a local user to a local port?

How to block access to a local user to a local port? Example: user Elvis should not have access to the port 25600 on the same server.
0
votes
0answers
119 views

Mount a shared windows folder in debian

I am trying to mount a shared windows folder on my debian machine. I have installed smbclient and cifs-utils and then to mount it I enter /etc/fstab and apply the following line ...
0
votes
0answers
48 views

CalendarServer discards changes with HTTP 412 - precondition failed

Since Apple made some of my recurring iCal events non deleteable: „403“ CalDAVWriteEntityQueueableOperation I started using my own calendarserver with iCal. The CalDAV works but discards some ...
0
votes
0answers
20 views

pureftpd per domain mysql

I am trying to configure PureFTPd with mysql for a multiuser hosting. What i would like to accomplish is that each "client" is an account on the system, but each of those clients can have multiple ...
1
vote
0answers
27 views

High Availability/failsafe two different locations

I am wondering if someone could help with the setup that does not seem so difficult. I am just beginning with the multi-server setup. I apologize if my questions are dumb. I have two debian servers ...
0
votes
1answer
37 views

How to get the Package-List of a debian/ubuntu package?

It's possible to view the Package-List of a debian/ubuntu package, using the package management tools like apt, aptitude or dpkg? I need to list the packages provided by a package, the list is ...
7
votes
2answers
200 views

Why would a server lockup knock other servers off the network?

We have a couple dozen Proxmox servers (Proxmox runs on Debian), and about once a month, one of them will have a kernel panic and lock up. The worst part about these lock ups is that when it's a ...
0
votes
1answer
34 views

Re-install debian6 while running it [closed]

Is it possible to re-install debian6 from debian6? Or is it only possible to do that from an external media (USB, cdrom etc.)? Alternatively is it possible to restore a previous state of the OS?
0
votes
2answers
39 views

Debian squeezy dist-upgrade to wheeze (nothing up to date)

I operate 3 debian server (all server is Xen guest) with squeezy installed. Dist upgrade is needed because the old packages, 2 server is successfully upgraded but the last cannot be. In all server i ...
0
votes
1answer
57 views

cannot send mails with my mail() function: get DNS error

I am using php mail() function and I do not reveive any emails: (debian, sendmail) Here is the mail.log Jan 26 18:00:37 sd-45956 sendmail[3918]: s0QH0bRO003918: from=www-data, size=116, class=0, ...
1
vote
2answers
154 views

cannot reinstall python2.6

I am trying to reinstall python2.6 on debian 6 but I get: root@ff: apt-get install --reinstall python2.6 Reading package lists... Done Building dependency tree Reading state information... ...
0
votes
1answer
47 views

FTP account with access to /var/www (Debian)

I'm running Debian with ISPConfig3 and got multiple sites under main domain e.g. site1.domain.com (var/www/site1.domain.com), site2.domain.com (var/www/site2.domain.com), site3.domain.com ...
0
votes
1answer
135 views

How to install Dovecot under debian with the current repositories

quick story up front, so that you understand my current state better. I am trying to install Dovecot + Postfix on a Debian system by this tutorial. I know this tutorial is original made for Ubuntu, ...
0
votes
1answer
38 views

Run chroot's /etc/init.d on system startup?

So I have this dedicated server that is running Debian. I have an intense business need (client's requirement) that I also install Gentoo as a Chroot. I have successfully done so, but now, I am ...
0
votes
2answers
92 views

/etc/init.d/nginx not executable

I searched on the internet for a while now and I don't find a solution so I am asking here: My question is, why is this file (/etc/init.d/nginx) not executeable? I was following the tutorial of Alex ...
0
votes
1answer
62 views

NFS, Quota and LDAP

I have the following scenario in two servers with Debian: Server #1 OpenLDAP, NFS exporting /home Server #2 PAM with pam_ldap configured to authenticate against Server #1, /home directory mounted ...
0
votes
1answer
60 views

How to reproduce read ETIMEDOUT with node_redis on my local dev machine?

I'm periodically getting Redis connection to xxxx:xxxx failed - connect ETIMEDOUT errors on my node.js app servers which are using node_redis to connect to a redis server. (The servers are in a cloud ...
1
vote
1answer
59 views

Debian 7.2 (wheezy) - Block domain

0 down vote favorite A few days ago I figured out that someone was trying to get access to my mailserver, obviously to send spam emails through. After some research I found out that the sender uses ...
0
votes
0answers
78 views

Debian 7 + Hyper-V and random network/DNS problems

Our department is *nix-based exclusively but unfortunately the company we're part of runs on a Windows environment and until I get budget for our own servers I have to run our servers on a Hyper-V ...