[SOLVED] Fop2 Don't start
Hi! guys I'm trying to find a solution to my problem:
I tried to install and configure Fop2, but I can not start the services:
when I start the service, the script does not give any response..
Info:
CentOS 5 64bits with CPanel
Asterisk 1.6
FreePBX 2.8.1
root@hosting [/usr/local/fop2]# uname -a
root@hosting [/usr/local/fop2]# /lib/libc.so.6
root@hosting [/usr/local/fop2]# /lib64/libc.so.6
I hope your help, and to purchase a license and even I can not use
Best regards
David Ulloa
[SOLUTION]
this script use a tmp folder with permisions to exec by default /tmp
in my case, I have CPANEL, and by default does not stop running scripts in the / tmp
then...
it is necessary to create a tmp directory..
and set a new tmp folder
edit a init script
# nano /etc/init.d/fop2
and now,
root@hosting [/usr/local/fop2]# ./fop2_server -X 3
its working
Regards!
I tried to install and configure Fop2, but I can not start the services:
when I start the service, the script does not give any response..
root@hosting [~]# /usr/local/fop2/fop2_server
root@hosting [~]# /usr/local/fop2/fop2_server -v
root@hosting [~]# /usr/local/fop2/fop2_server -X 15
root@hosting [~]# service fop2 start
Starting Flash Operator Panel 2: [FAILED]
root@hosting [~]# /etc/init.d/fop2 start
Starting Flash Operator Panel 2: [FAILED]
Info:
CentOS 5 64bits with CPanel
Asterisk 1.6
FreePBX 2.8.1
root@hosting [/usr/local/fop2]# uname -a
root@hosting [/usr/local/fop2]
Linux hosting.xxxxxx.xx 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
root@hosting [/usr/local/fop2]# /lib/libc.so.6
GNU C Library stable release version 2.5, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.1.2 20080704 (Red Hat 4.1.2-50).
Compiled on a Linux 2.6.9 system on 2011-04-26.
Available extensions:
The C stubs add-on version 2.1.2.
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
GNU libio by Per Bothner
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
RT using linux kernel aio
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
root@hosting [/usr/local/fop2]# /lib64/libc.so.6
GNU C Library stable release version 2.5, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.1.2 20080704 (Red Hat 4.1.2-50).
Compiled on a Linux 2.6.9 system on 2011-04-26.
Available extensions:
The C stubs add-on version 2.1.2.
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
GNU libio by Per Bothner
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
RT using linux kernel aio
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
I hope your help, and to purchase a license and even I can not use
Best regards
David Ulloa
[SOLUTION]
this script use a tmp folder with permisions to exec by default /tmp
in my case, I have CPANEL, and by default does not stop running scripts in the / tmp
then...
it is necessary to create a tmp directory..
# mkdir /usr/local/fop2/tmp
and set a new tmp folder
# export PAR_GLOBAL_TMPDIR=/usr/local/fop2/tmp
edit a init script
# nano /etc/init.d/fop2
case "$1" in
start)
echo -n "Starting Flash Operator Panel 2: "
# Here set a new tmp folder
export PAR_GLOBAL_TMPDIR=/usr/local/fop2/tmp
daemon $DAEMON $OPTIONS
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/fop2_server
;;
stop)
and now,
root@hosting [/usr/local/fop2]# ./fop2_server -X 3
** MANAGER CONNECTION Connecting to localhost:5038 (Server 0)
** MANAGER CONNECTION Connected to localhost:5038 (Server 0)
....
its working
Regards!
Comments
After that, try to start the server in debug mode:
After a few seconds, you should start seeing quite a lot of lines of output.. If you do not see anything, you might want to stop it with ctrl-C, then removing the /tmp/par-root directory and try again.
Once you see some output, the service should start normally.
Best regards,
start and .... shows nothing
and try again:
2.- SELinux is disabled
3.- i have FOP for: Centos 5 - 64bits
4.- sorry for my english
best regards
And try to catch me on the live help if you can provide access to your server.