ispCP - Board - Support - VHCS fork

Full Version: [SOLVED]: Error install (gentoo) in setup_mta(): makeuserdb returns error 255!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
Sorry, this is for SVN Revision 1072
Anyone have any ideas? I'm still stuck on this...
No idea.

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

/J
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.
i had similar issues with gentoo + ispcp + courier. So i switched to dovecot XD
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
Reference URL's