You are not logged in.

#1 2011-03-18 16:06:43

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Postfix Fails To Start

I've freshly installed Postfix on a new working Arch machine & when I tried to start Postfix for the 1st time, I get this error message:

[root@mail postfix]# /etc/rc.d/postfix start
/etc/rc.d/postfix: line 6: pgrep: command not found

I then used 'vim' to look at the script it's complaining about /etc/rc,d/postfix:

#!/bin/bash

. /etc/rc.conf
. /etc/rc.d/functions

PID=`pgrep -f /usr/lib/postfix/master`

Obviously it doesn't like the 'pgrep' command but I don't understand why. I have 'grep' installed and Pacman installed all required dependencies for the Postfix 2.8.1-1 package. Is this a bug with the package that I should notify the maintainer about or is my system missing something for what ever reason?


./

Offline

#2 2011-03-18 16:09:14

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: Postfix Fails To Start

Do you have procps installed?

Offline

#3 2011-03-18 16:31:15

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: Postfix Fails To Start

No I do not. I just checked. Shouldn't Pacman detect dependencies and install them as needed? I thought that was the point of a package management system, no?


./

Offline

#4 2011-03-18 16:33:26

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: Postfix Fails To Start

I think the assumption is that packages from core will always be installed

Offline

#5 2011-03-19 00:41:36

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Postfix Fails To Start

procps is part of 'base' and should almost universally be installed.... You are correct though, postfix should probably depend on it.

This is the point of a bug tracker, to report problems when you find them, no? wink

Last edited by fukawi2 (2011-03-19 00:42:02)

Offline

Board footer

Powered by FluxBB