How to start FOP

Ive just installed TB2.3.0.1 and am wondering how I get the FOP server to start.
I have changed the amportal.conf file so that FOPRUN is set to true, however I get the following message :-

STARTING FOP SERVER
This account is currently not available.
usage: kill [ -s signal | -p ] [ -a ] pid …
kill -l [ signal ]


The FOP’s server (op_server.pl) could not start!
Please correct this problem

Since it was a TB installation, I really have no idea what the account it is trying to use is, or what it should be, password etc.

I also saw this post :-
http://www.freepbx.org/forums/viewtopic.php?t=2575

So I expect I will have to change this file.

Any help would be appreciated.

Regards
Rich

I’ve got the same problem. Also testing out Trixbox 2.3.0.1

This is how I’m starting FOP

[code:1]# cd /var/www/html/panel

./op_server.pl

[/code:1]

Thanks vaporjet, that worked.

I loaded on RC1 this morning to see if that helped with the FOP starting automatically with the AMPORTAL.CONF switch, but it still complains about the account which it is using to start.

Im sure its a simple fix, but I am not sure where to look.

Regards
Rich

what user is Asterisk and your browser running as?

Asterisk is run as the asterisk user, Im running the browser from an external machine so Im not sure what you mean by what user it is running as.

I can see a bunch of httpd processes, one of which is running as root and the others are running as the asterisk user.

I spotted this in another forum, FOP doesnt start because asterisk account has nologin as its shell, so it cannot run su commands.

I changed the users shell to bash and it stop and starts with the amportal script now.

Regards
Rich