[Kolab-devel] "kolab" command strange behaviour in latest snapshots

Fabio Pietrosanti lists at pietrosanti.it
Thu Dec 22 10:59:47 CET 2005


Installed and configured latest kolab snapshots.
Started and working correctly.

Now setup the kolab environment for root shell:
eval `/kolab/bin/openpkg rc --eval all env`

Exec kolab command without parameters:
mail-it-srv1:~# kolab
kolab:ERROR: Invalid command-line arguments.
kolab:ERROR: Run "/kolab/bin/kolab --help" for list of valid arguments.

Exec kolab command with "--help" parameters:
mail-it-srv1:~# kolab --help

package kolab is not installed <http://www.kolab.org/>
Kolab Server Tool

Copyright (c) 2004,2005 Code Fusion cc.

  $ /kolab/bin/kolab [<option> ...] \
     <command> [<command-option> ...] [<command-argument> ...]

where <option> is one of the following global options:
  -v, --version   display Kolab version/release
  -h, --help      display this usage help message

where <command> is one of the following commands:

Then the command is in "hang" .

I send some "Enter" then i got the following output:





  adduser         Please specify the firstname:
Please specify the lastname:
Please specify the email address:
Please specify the password:
Please specify the quota (kb):
You must specify a firstname
  deluser         User not found!
  listusers       prova at tolla.net
eccolo at tolla.net
hCan't exec "hostname": No such file or directory at
/kolab/lib/perl/site_perl/5.8.7/i686-linux/Kolab.pm line
400.             Can't exec "diff": No such file or directory at
/kolab/lib/perl/site_perl/5.8.7/i686-linux/Kolab/Conf.pm line 502.
Use of uninitialized value in scalar chomp at
/kolab/lib/perl/site_perl/5.8.7/i686-linux/Kolab/Conf.pm line 503.
A lot of those lines
Can't exec "diff": No such file or directory at
/kolab/lib/perl/site_perl/5.8.7/i686-linux/Kolab/Conf.pm line 680.
Use of uninitialized value in scalar chomp at
/kolab/lib/perl/site_perl/5.8.7/i686-linux/Kolab/Conf.pm line 681.
/kolab/bin/openpkg: line 109: sed: command not found
/kolab/bin/openpkg: line 121: sed: command not found
openpkg:ERROR: No such command "rc" found in command path
openpkg:ERROR: ().
openpkg:ERROR: Set ${OPENPKG_TOOLS_CMDPATH} appropriately.
openpkg:ERROR: Run "/kolab/bin/openpkg --help" for list of valid commands.
  newconfig       kolabconf - Kolab Configuration Generator

  Version: 2.0.99

  Copyright (c) 2004  Klaraelvdalens Datakonsult AB
  Copyright (c) 2003  Code Fusion cc
  Copyright (c) 2003  Tassilo Erlewein, Martin Konold, Achim Frank, erfrakon

This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  services        amavisd
apache
clamav
fsl
imapd
kolabd
openldap
openpkg
postfix
procmail
proftpd
sasl
spamassassin
grep: unrecognized option `--showhelp'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
grep: unrecognized option `--showhelp'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
grep: unrecognized option `--showhelp'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
grep: unrecognized option `--showhelp'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
grep: unrecognized option `--showhelp'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
grep: unrecognized option `--showhelp'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
grep: unrecognized option `--showhelp'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
grep: unrecognized option `--showhelp'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
grep: unrecognized option `--showhelp'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
grep: unrecognized option `--showhelp'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
grep: unrecognized option `--showhelp'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
grep: unrecognized option `--showhelp'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
grep: unrecognized option `--showhelp'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
  showlog         (no help provided)
  showuser        (no help provided)
OpenPKG: start: openpkg, openldap, sasl, spamassassin, amavisd, apache,
clamav
OpenPKG: start: imapd, postfix, proftpd, kolabd.
  start           (no help provided)
OpenPKG: stop: spamassassin, amavisd, apache, clamav, imapd, postfix,
proftpd
OpenPKG: stop: kolabd, sasl, openldap.
  stop            (no help provided)

where <command-option> and <command-argument> are <command> specific
options and arguments. Run "/kolab/bin/kolab <command> --help"
and "/kolab/bin/openpkg man <command>" for more details.


So executing "kolab --help" command with few "enter" cause kolab to be
started and stopped.




More information about the devel mailing list