Following instructions I've found on this forum, I did the screen thing and ran
service fop2 stop cd /usr/local/fop2 screen ./fop2_server -X 511 -i venet0 <--- Notice custom interface ctrl-a d
Everything works.
root@asdf:/etc/asterisk $ pgrep fop2_server 1578 root@asdf::/etc/asterisk $ netstat -lnp | grep 444 tcp 0 0 0.0.0.0:4445 0.0.0.0:* LISTEN 1578/./fop2_server
When I try to run as a daemon it doesn't.
I took your suggestion from another forum and my /etc/sysconfig/fop2 looks like:
OPTIONS="-d -i venet0"
And it doesn't start up. Where do I go from here?
Note: I disabled FOP (1) from amportal.conf etc.