Mailing List Archive

postfix on centos-4
I am unable to install postfix on a centos-4 DomU.
Running xen-2.0.6.

-bash-3.00# rpm -ivh postfix-2.1.5-4.2.RHEL4.i386.rpm
Preparing...
(Hangs indefinitely until I hit Ctl-C)
########################################### [100%]
error: %pre(postfix-2.1.5-4.2.RHEL4.i386) scriptlet failed, exit status 0
error: install: %pre scriptlet failed (2), skipping
postfix-2.1.5-4.2.RHEL4

Same result with postfix-2.1.5-2.3.RHEL4.1.i386.rpm and
http://ftp.wl0.org/official/2.2/RPMS-rhel4-i386/postfix-2.2.4-2.rhel4.i386.rpm

All other packages have installed just fine.

--
Some days it's just not worth chewing through the restraints...
Mark D. Foster, CISSP <mark@foster.cc> http://mark.foster.cc/



_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: postfix on centos-4 [ In reply to ]
I haven't had the problems that your describing on centos4 I built my rpm
from the centos4 source-rpm and enabled mysql but that shouldn't make a
difference.
Is there anything else you can tell us? What does an strace yield when the
rpm hangs? (strace rpm -Uhv postfix-x.x.x.rpm).
Any additional info would be helpful.

Thanks,
John Fairbairn

> I am unable to install postfix on a centos-4 DomU.
> Running xen-2.0.6.
>
> -bash-3.00# rpm -ivh postfix-2.1.5-4.2.RHEL4.i386.rpm
> Preparing...
> (Hangs indefinitely until I hit Ctl-C)
> ########################################### [100%]
> error: %pre(postfix-2.1.5-4.2.RHEL4.i386) scriptlet failed, exit status 0
> error: install: %pre scriptlet failed (2), skipping
> postfix-2.1.5-4.2.RHEL4
>
> Same result with postfix-2.1.5-2.3.RHEL4.1.i386.rpm and
> http://ftp.wl0.org/official/2.2/RPMS-rhel4-i386/postfix-2.2.4-2.rhel4.i386.rpm
>
> All other packages have installed just fine.
>
> --
> Some days it's just not worth chewing through the restraints...
> Mark D. Foster, CISSP <mark@foster.cc> http://mark.foster.cc/
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>



_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: postfix on centos-4 [ In reply to ]
John Fairbairn wrote:

>I haven't had the problems that your describing on centos4 I built my rpm
>from the centos4 source-rpm and enabled mysql but that shouldn't make a
>difference.
>Is there anything else you can tell us? What does an strace yield when the
>rpm hangs? (strace rpm -Uhv postfix-x.x.x.rpm).
>Any additional info would be helpful.
>
>
Update:
After using strace I saw the the install script wanted to do something
with the postfix user.
I was able to get it installed by tweaking my /etc/nsswitch.conf file
and removing ldap for shadow, passwd and group.
Something about postfix installation wanting to add the postfix user was
not sitting well with the PAM configuration in system-auth.

Thanks for your advice!

--
Some days it's just not worth chewing through the restraints...
Mark D. Foster, CISSP <mark@foster.cc> http://mark.foster.cc/



_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users