Current time: 12-24-2024, 03:20 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED]: Error install (gentoo) in setup_mta(): makeuserdb returns error 255!
Author Message
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #1
[SOLVED]: Error install (gentoo) in setup_mta(): makeuserdb returns error 255!
Here's the debug output from the setup process, starting with entering the setup_mta() method:

DEBUG: push_el() sub_name: setup_mta(), msg: Ending...
DEBUG: push_el() sub_name: setup_po(), msg: Starting...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/bin/cp -p /etc/ispcp/courier/userdb /etc/ispcp/courier/working'), msg: Ending...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/bin/cp -p /etc/ispcp/courier/userdb /etc/courier/authlib'), msg: Ending...
DEBUG: push_el() sub_name: setfmode(), msg: Starting...
DEBUG: push_el() sub_name: setfmode(), msg: Ending...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...

DEBUG: push_el() sub_name: sys_command(), msg: ERROR: External command '/usr/sbin/makeuserdb' returned '255' status !
DEBUG: pop_el() sub_name: sys_command(), msg: ERROR: External command '/usr/sbin/makeuserdb' returned '255' status !
ERROR: External command '/usr/sbin/makeuserdb' returned '255' status !




ispcp ~ # ls -la /usr/sbin/makeuserdb
-rwxr-xr-x 1 root root 3272 Mar 22 16:15 /usr/sbin/makeuserdb



Running this alone doesn't show any errors:

ispcp ~ # /usr/sbin/makeuserdb

ispcp ~ #




Anyone have any ideas?
(This post was last modified: 04-11-2008 03:56 AM by pgentoo.)
03-26-2008 12:55 PM
Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #2
RE: Error install (gentoo) in setup_mta(): makeuserdb returns error 255!
Sorry, this is for SVN Revision 1072
03-26-2008 01:09 PM
Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #3
RE: Error install (gentoo) in setup_mta(): makeuserdb returns error 255!
Anyone have any ideas? I'm still stuck on this...
03-28-2008 09:27 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Error install (gentoo) in setup_mta(): makeuserdb returns error 255!
No idea.

Maybe you have to go through the makeuserdb programm - it's perl AFAIK...

/J
03-28-2008 09:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #5
RE: Error install (gentoo) in setup_mta(): makeuserdb returns error 255!
I know there are some other gentoo users out there... Smile

Is anyone else getting this error on the latest svn? Maybe my courier install is completely hosed, but i just wanted to confirm other people were able to get past this before wiping it out and redoing it.

Please let me know.
04-05-2008 04:11 AM
Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #6
RE: Error install (gentoo) in setup_mta(): makeuserdb returns error 255!
i had similar issues with gentoo + ispcp + courier. So i switched to dovecot XD
04-05-2008 05:57 AM
Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #7
[SOLVED] - Error install (gentoo) in setup_mta(): makeuserdb returns error 255!
It turns out that /usr/sbin/makeuserdb is dependent on gdbm support. I added "gdbm" to my use flags and rebuilt courier-imap as well as courier-authlib.

Running an strace against makeuserdb, before i saw it returning the 255 error code.

Now it returns a welcomed 0.

After this change ispcp-setup runs end to end. Smile
04-05-2008 06:08 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)