nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Problem installing qmail Centos5.3(final) Red hat 4

This is a discussion on Problem installing qmail Centos5.3(final) Red hat 4 within the Mail Servers forums, part of the Mastering Servers category; hi, i had a problem with qmail and i looked in log file and there it just kept saying tha"oh ...


Go Back   nixCraft Linux Forum > Mastering Servers > Mail Servers

Linux answers from nixCraft.


Mail Servers Discussion on Postfix/Sendmail Mail servers and related program such as IMAP/POP3, Anti-Spam technologies.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-10-2009, 04:35 PM
Junior Member
User
 
Join Date: Oct 2009
OS: Debian
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
dragodan85 is on a distinguished road
Unhappy Problem installing qmail Centos5.3(final) Red hat 4

hi, i had a problem with qmail and i looked in log file and there it just kept saying tha"oh no! lost spawn connection! dying...".
I searched google and found out that there is a patch for this:
Gentoo Bug 68173 - qmail-start crashes when trying to start up qmail, because of a problem with Itaniums and spawn.c

Now, i uninstalled qmail using:
rpm -e psa-qmail-1.03-cos5.build86080930.08 --nodeps

and now i want to install it again using:
rpm -Uvh --force http://autoinstall.plesk.com/PSA_8.6...30.08.i586.rpm

but i get the following message:

[root@lnx1 ~]# rpm -Uvh --force http://autoinstall.plesk.com/PSA_8.6.0/dist-rpm- CentOS-5-i386/base/psa-qmail-1.03-cos5.build86080930.08.i586.rpm
Retrieving http://autoinstall.plesk.com/PSA_8.6...5-i386/base/ps a-qmail-1.03-cos5.build86080930.08.i586.rpm
Preparing... ########################################### [100%]
Checking for the system groups and users necessary for Qmail...
Checking for the group 'qmail'...

ERROR: It seems that there is group qmail
in your system. Plesk uses the same group
name but with another group ID (2520).
Unfortunately, this situation has not yet been
resolved.
Please, visit Customer Service and Support for assistance.

Exiting...

error: %pre(psa-qmail-1.03-cos5.build86080930.08.i586) scriptlet failed, exit st atus 1
error: install: %pre scriptlet failed (2), skipping psa-qmail-1.03-cos5.build8 6080930.08

Can you please help me with this . I searched google and nothing..
Reply With Quote
  #2 (permalink)  
Old 12-10-2009, 06:21 PM
jaysunn's Avatar
Powered By Linux
User
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: RHEL - OSX
Scripting language: BASH - Learning Ruby
Posts: 604
Thanks: 61
Thanked 80 Times in 72 Posts
Rep Power: 10
jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold
Default

Hmm,

From what I can see is, there is a group on the system called QMAIL. And the software may need to create that group and use it to run.

Try this:


Code:
Prompt>groupdel qmail
And try the install process again.

Just a Suggestion.

Jaysunn
__________________
Have a look at what I have been working on
http://www.shellasaurus.com
Reply With Quote
  #3 (permalink)  
Old 12-10-2009, 06:26 PM
Junior Member
User
 
Join Date: Oct 2009
OS: Debian
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
dragodan85 is on a distinguished road
Smile tried but now it says that it cannot be removed

[root@lnx1 ~]# groupdel qmail
groupdel: cannot remove user's primary group.

And i found aout that i cannot remove the group if there are others users in it.

How can i find which users belongs to this group ?
Reply With Quote
  #4 (permalink)  
Old 12-10-2009, 06:30 PM
jaysunn's Avatar
Powered By Linux
User
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: RHEL - OSX
Scripting language: BASH - Learning Ruby
Posts: 604
Thanks: 61
Thanked 80 Times in 72 Posts
Rep Power: 10
jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold
Default

You can use this option to remove the user as well as the group.

Code:
Prompt>userdel -r qmail
Code:
Prompt>userdel qmail

Try the -f force option as well. If the -r does not do it.


Then try again,

Jaysunn
__________________
Have a look at what I have been working on
http://www.shellasaurus.com
Reply With Quote
  #5 (permalink)  
Old 12-10-2009, 06:57 PM
Junior Member
User
 
Join Date: Oct 2009
OS: Debian
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
dragodan85 is on a distinguished road
Smile tried what you said and didn`t work

[root@lnx1 ~]# userdel -r qmail
userdel: user qmail does not exist

[root@lnx1 ~]# userdel -f qmail
userdel: user qmail does not exist
Reply With Quote
  #6 (permalink)  
Old 12-10-2009, 07:01 PM
jaysunn's Avatar
Powered By Linux
User
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: RHEL - OSX
Scripting language: BASH - Learning Ruby
Posts: 604
Thanks: 61
Thanked 80 Times in 72 Posts
Rep Power: 10
jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold
Default

Sorry I meant to try:

Code:
Prompt>groupdel -rf qmail
Give that a shot. And rerun the installer rpm.

Jaysunn
__________________
Have a look at what I have been working on
http://www.shellasaurus.com
Reply With Quote
  #7 (permalink)  
Old 12-10-2009, 07:12 PM
Junior Member
User
 
Join Date: Oct 2009
OS: Debian
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
dragodan85 is on a distinguished road
Default tried but says that the command isn`t good

Tried
Quote:
[root@lnx1 /]# groupdel -rf qmail
Usage: groupdel group
but didn`t work
Reply With Quote
  #8 (permalink)  
Old 12-10-2009, 07:13 PM
jaysunn's Avatar
Powered By Linux
User
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: RHEL - OSX
Scripting language: BASH - Learning Ruby
Posts: 604
Thanks: 61
Thanked 80 Times in 72 Posts
Rep Power: 10
jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold
Default

How about just the -r option.

So:

Code:
groupdel -r qmail
This should try to delete any user associated with the gmail group. Red Hat may not have that option.

Jaysunn
__________________
Have a look at what I have been working on
http://www.shellasaurus.com
Reply With Quote
  #9 (permalink)  
Old 12-10-2009, 07:20 PM
Junior Member
User
 
Join Date: Oct 2009
OS: Debian
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
dragodan85 is on a distinguished road
Default

tried it and same response:

[root@lnx1 /]# groupdel -r qmail
Usage: groupdel group
[root@lnx1 /]# groupdel qmail -r
Usage: groupdel group
Quote:

Reply With Quote
  #10 (permalink)  
Old 12-10-2009, 07:21 PM
jaysunn's Avatar
Powered By Linux
User
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: RHEL - OSX
Scripting language: BASH - Learning Ruby
Posts: 604
Thanks: 61
Thanked 80 Times in 72 Posts
Rep Power: 10
jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold
Default

Hey,

Also to try to locate the user that is in the group qmail that is preventing you from removing the group. Try this:


Code:
cat /etc/group | grep qmail
Once you find a user associated with the qmail group. Try to delete them with the:

Code:
userdel user
command. Then try the installer again.


Jaysunn
__________________
Have a look at what I have been working on
http://www.shellasaurus.com
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Install Opera 10 Final On Debian Linux chimu Getting started tutorials 10 04-09-2009 06:29 PM
qmail amitk_m Mail Servers 2 25-05-2009 03:55 PM
md0 in fstab on Centos5.2 prevents boot marros CentOS / RHEL / Fedora 0 24-02-2009 08:30 PM
problem in installing qt4.4.3 source wagmare Linux software 0 18-02-2009 06:00 PM
installing antivirus in linux- problem pauler Linux software 0 26-10-2007 02:31 PM


All times are GMT +5.5. The time now is 06:34 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38