Page 1 of 1

Solved: Smctrl not found

Posted: Fri Aug 05, 2011 3:26 pm
by JezLumb
Hi All,

hope someone can help me with a small issue I'm having.

I've recently installed Openemm 2011 on an Ubuntu 10.04 server.
the installation went fine following all the instructions in the install guide. however if I try to start openemm I get the following error saying that the file smctrl is not found:

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 python /home/openemm/bin/scripts/recovery.py .. done.
Start /home/openemm/bin/scripts/update.py account bounce .. done.
Start /home/openemm/bin/scripts/pickdist.py .. done.
Stopping obsolete sendmail processes:  /home/openemm/bin/mailer.sh: 74: /home/openemm/bin/smctrl: not found
 done.
Starting sendmails:   listener /home/openemm/bin/mailer.sh: 74: /home/openemm/bin/smctrl: not found
 admin queue /home/openemm/bin/mailer.sh: 74: /home/openemm/bin/smctrl: not found
 mail queue /home/openemm/bin/mailer.sh: 74: /home/openemm/bin/smctrl: not found
 done.
Start /home/openemm/bin/scripts/slrtscn.py .. done.
Starting up Tomcat ......
Check Java installation          :OK
Check Tomcat installation        :OK
Using CATALINA_BASE:   /home/openemm
Using CATALINA_HOME:   /usr/share/openemm/tomcat
Using CATALINA_TMPDIR: /home/openemm/temp
Using JRE_HOME:        /usr/lib/jvm/java-6-sun-1.6.0.26
Using CLASSPATH:       /usr/share/openemm/tomcat/bin/bootstrap.jar
But the file is there:

Code: Select all

$ ls -l
total 1224
-rwxr-xr-x 1 openemm openemm   77720 Jul 13 11:49 bav
-rwxr-xr-x 1 openemm openemm    1460 Jul 13 11:49 bav-trigger.sh
-rwxr-xr-x 1 openemm openemm    1458 Jul 13 11:49 bav-update.sh
-rwxr-xr-x 1 openemm openemm    1444 Jul 13 11:49 bavd.sh
-rwxr-xr-x 1 openemm openemm    1835 Jul 13 11:49 bounce.sh
-rwxr-xr-x 1 openemm openemm    2358 Jul 13 11:49 mailer.sh
-rwxr-xr-x 1 openemm openemm    1518 Jul 13 11:49 merger.sh
-rwxr-xr-x 1 openemm openemm    5579 Jul 13 11:49 openemm-charset-convert.sh
-rwxr-xr-x 1 openemm openemm    2930 Aug  2 15:31 openemm.sh
-rwxr-xr-x 1 openemm openemm    1447 Jul 13 11:49 pickdist.sh
-rwxr-xr-x 1 openemm openemm    1341 Jul 13 11:49 recovery.sh
drwxr-xr-x 2 openemm openemm    4096 Aug  3 10:14 scripts
-rwxr-xr-x 1 openemm openemm    1339 Jul 13 11:49 sendmail-disable.sh
-rwxr-xr-x 1 openemm openemm    1338 Jul 13 11:49 sendmail-enable.sh
-rwxr-xr-x 1 openemm openemm    1452 Jul 13 11:49 slrtscn.sh
-rwsr-sr-x 1 root    root       9872 Jul 13 11:49 smctrl
-rwxr-xr-x 1 openemm openemm    1322 Jul 13 11:49 softbounce.sh
-rwxr-xr-x 1 openemm openemm    1453 Jul 13 11:49 update.sh
-rwsr-sr-x 1 root    root      12067 Jul 13 11:49 updater
-rwxr-xr-x 1 openemm openemm    1422 Jul 13 11:49 upgrade.sh
-rwxr-xr-x 1 openemm openemm 1068544 Jul 13 11:49 xmlback

does anyone know how to resolve this issue and if the permissions for the file smctrl are correct?


Many Thanks

Re: Smctrl not found

Posted: Sun Aug 07, 2011 7:00 pm
by maschoff
Did you unpack the tarball with option xvzpf? It seems that permissions for file smctrl are not set correctly.

If not, have a look at this thread: https://forum.openemm.org/installation- ... c1951.html

Re: Smctrl not found

Posted: Mon Aug 08, 2011 10:32 am
by JezLumb
Hi,

Thanks for the reply. I did unpack using the xvzpf options (I may have played around with the permissions after to see if I could get it to work).

I've re-extracted the OpenEMM files using the exact same options and have the following permissions for smctrl:

Code: Select all

-rwsr-sr-x 1 root    root       9872 Aug  8 09:10 smctrl
I've also checked the Sendmail configuration and this appears to be correct.

I am still getting the same error on trying to start openEMM.

Any more Ideas?


Thanks

Re: Smctrl not found

Posted: Mon Aug 08, 2011 10:55 am
by maschoff
No.

Re: Smctrl not found

Posted: Mon Aug 08, 2011 10:58 am
by JezLumb
Thanks.

I'll try reinstalling everything again to see if it works

Re: Smctrl not found

Posted: Tue Aug 09, 2011 10:31 am
by JezLumb
Finally got the issue sorted and it works now :D

The problem was with the xmlback file!

This post gives the solution: https://forum.openemm.org/post5247.html ... back#p5247

Re: Solved: Smctrl not found

Posted: Tue Aug 09, 2011 11:03 am
by maschoff
Great! I was not aware you were running a 64 Bit Linux. We will enhance the install guide to cover this subject as well.

Re: Solved: Smctrl not found

Posted: Tue Aug 09, 2011 11:15 am
by JezLumb
I didn't even realise it was 64bit! :oops:

I'm using Rackspace Cloud Servers and when creating the server all it told me was that it was Ubuntu 10.04, think I should have paid a bit more attention when I started :)