Solved: Smctrl not found

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

JezLumb
Posts: 5
Joined: Fri Aug 05, 2011 3:19 pm

Solved: Smctrl not found

Post 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
Last edited by JezLumb on Tue Aug 09, 2011 10:31 am, edited 1 time in total.
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Smctrl not found

Post 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
OpenEMM Maintainer
JezLumb
Posts: 5
Joined: Fri Aug 05, 2011 3:19 pm

Re: Smctrl not found

Post 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
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Smctrl not found

Post by maschoff »

No.
OpenEMM Maintainer
JezLumb
Posts: 5
Joined: Fri Aug 05, 2011 3:19 pm

Re: Smctrl not found

Post by JezLumb »

Thanks.

I'll try reinstalling everything again to see if it works
JezLumb
Posts: 5
Joined: Fri Aug 05, 2011 3:19 pm

Re: Smctrl not found

Post 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
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Solved: Smctrl not found

Post 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.
OpenEMM Maintainer
JezLumb
Posts: 5
Joined: Fri Aug 05, 2011 3:19 pm

Re: Solved: Smctrl not found

Post 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 :)
Post Reply