Page 1 of 1

smctrl: not found (Ubuntu installation)

Posted: Sat Aug 09, 2008 10:48 pm
by szymon
Hello,

I'm setting up OpenEMM on a Ubuntu machine. I have followed Debian Installation Manual on Wiki and the Ubuntu installation tips on this forum.

I get the following error when I start it:

Code: Select all

$ ./OpenEMM.sh start
Start /home/openemm/bin/scripts/bav-update.py .. done.
Start /home/openemm/bin/scripts/bav-trigger.py .. done.
Start /home/openemm/bin/scripts/bavd.py .. done.
Start /home/openemm/bin/bav -L INFO .. done.
Start /home/openemm/bin/scripts/update.py bounce account .. done.
/home/openemm/bin/pickdist.sh: 41: xmlback: not found
Start /home/openemm/bin/scripts/pickdist.py .. done.
Stopping obsolete sendmail processes:  /home/openemm/bin/mailer.sh: 72: /home/openemm/bin/smctrl: not found
 done.
Starting sendmails:   listener /home/openemm/bin/mailer.sh: 72: /home/openemm/bin/smctrl: not found
 client queue mqueue-client /home/openemm/bin/mailer.sh: 72: /home/openemm/bin/smctrl: not found
 admin queue /home/openemm/bin/mailer.sh: 72: /home/openemm/bin/smctrl: not found
 mail queue /home/openemm/bin/mailer.sh: 72: /home/openemm/bin/smctrl: not found
 done.
Start /home/openemm/bin/scripts/slrtscn.py .. done.
$ Resin httpd start at Sat Aug  9 21:38:39 UTC 2008
Not sure why it shows up, since the file is there

Code: Select all

$  ls -l /home/openemm/bin/smctrl
-rwsr-sr-x 1 root root 18764 Jun  2 07:19 /home/openemm/bin/smctrl
$ file smctrl
smctrl: setuid setgid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), not stripped
Any ideas?

Thanks,
Szymon

Posted: Mon Aug 18, 2008 8:00 pm
by maschoff
Did you select the installation option with or without Sendmail as SMTP server?

Posted: Mon Aug 18, 2008 8:48 pm
by szymon
ma,

thanks for following up.

The problem lied in the fact that this is 64-bit machine and the binaries were looking for 32-bit libraries (kudos to the sysadmin who hunted this down).

Luckily on Ubuntu there is already a package for Java IA32 compatibility libraries: "ia32-sun-java5-bin"

Re: smctrl: not found (Ubuntu installation)

Posted: Fri Jul 12, 2013 12:14 am
by beachbumdad
I'm using Ubuntu 12.04 64 bit and cannot find the correct bin in aptitude. Any help? When entering the command I receive the error:

Couldn't find any package whose name or description matched "ia32-sun-java5-bin"

Thanks in advance,

John

Re: smctrl: not found (Ubuntu installation)

Posted: Fri Jul 12, 2013 10:36 am
by maschoff

Code: Select all

apt-get install ia32-libs
(see chapter 2.2 of OpenEMM Install&Admin Guide)