ispCP - Board - Support
[SOLVED]: Error install (gentoo) in setup_mta(): makeuserdb returns error 255! - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: [SOLVED]: Error install (gentoo) in setup_mta(): makeuserdb returns error 255! (/thread-2847.html)



[SOLVED]: Error install (gentoo) in setup_mta(): makeuserdb returns error 255! - pgentoo - 03-26-2008 12:55 PM

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?


RE: Error install (gentoo) in setup_mta(): makeuserdb returns error 255! - pgentoo - 03-26-2008 01:09 PM

Sorry, this is for SVN Revision 1072


RE: Error install (gentoo) in setup_mta(): makeuserdb returns error 255! - pgentoo - 03-28-2008 09:27 AM

Anyone have any ideas? I'm still stuck on this...


RE: Error install (gentoo) in setup_mta(): makeuserdb returns error 255! - joximu - 03-28-2008 09:33 AM

No idea.

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

/J


RE: Error install (gentoo) in setup_mta(): makeuserdb returns error 255! - pgentoo - 04-05-2008 04:11 AM

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.


RE: Error install (gentoo) in setup_mta(): makeuserdb returns error 255! - Zothos - 04-05-2008 05:57 AM

i had similar issues with gentoo + ispcp + courier. So i switched to dovecot XD


[SOLVED] - Error install (gentoo) in setup_mta(): makeuserdb returns error 255! - pgentoo - 04-05-2008 06:08 AM

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