fop2 crashes from time to time 'fop2_server dead but subsy..
I use fop2 with elastix 1.5 32 bits (asterisk 1.4.21). From time to time users report that they are not able to log in.
Demon status reports: "fop2_server dead but subsys locked".
I do not use autoconfiguration and I have 10 different context in fop2 configuration file.
Where can I find any error log or fop2 server?
What could be a reason for this?
Demon status reports: "fop2_server dead but subsys locked".
I do not use autoconfiguration and I have 10 different context in fop2 configuration file.
Where can I find any error log or fop2 server?
What could be a reason for this?
Comments
You will need to run fop2_server not from the startup script but directly in the linux console, or better under a gnu screen session. That way, if the service crashes, you can reattach to the gnu screen console and take not of the error. The beta version fixes a number of crashes that might happen under certain conditions, you might also want to try with the beta directly. Best regards,
1. Where can I get Beta version or any upgrade for fop2?
2. Is it possible to run fop2 server form daemontools using svscan program?
I have daemontools (cr.yp.to) installed and I try to use svscan to start fop2 server. I have created "run" file which look like this:
#!/bin/sh
/usr/local/fop2/fop2_server -d
When svscan starts process I have 1 fop2 daemon running permanently and the second restarted every 2 seconds
Do I need some extra options to start fop2 using svscan?
Regarding svcscan, you do not have to pass the -d flag to fop2_server as daemontools requires the program to stay in the foreground. So, try removing the -d option and see if it works for you.
Best regards,
Thanks Nicolás.
One more questions - how to recover license after upgrading software?
Do I need copy .lic file from the backup only?
I used this RPM to initially install: fop2-2-1.i686.rpm
Thanks!
[url:cd0feqxe]http://www.fop2.com/downloads/fop2.tgz[/url:cd0feqxe]
Flash Operator Panel 2 - License file fop2.lic not found.
Running in Demo Mode
Connection to manager OK!
[root@Virt-2 fop2]#
[root@Virt-2 fop2]#
[root@Virt-2 fop2]# /usr/local/fop2/fop2_server status
Flash Operator Panel 2 - License file fop2.lic not found.
bind: Address already in use at script/fop2_server.pl line 11144.
[root@Virt-2 fop2]# /usr/local/fop2/fop2_server start
Flash Operator Panel 2 - License file fop2.lic not found.
bind: Address already in use at script/fop2_server.pl line 11144.
[root@Virt-2 fop2]# service fop2 start
Starting Flash Operator Panel 2: [ OK ]
[root@Virt-2 fop2]#
[root@Virt-2 fop2]#
[root@Virt-2 fop2]# service fop2 status
fop2_server dead but subsys locked
OPTIONS="-d -X 511 -l /var/log/fop2"
and see next errors after command serice fop2 restart:
Help me please, dear collegues!
Your log file shows that the port TCP/4445 is already used, so FOP2 cannot start. That port might be used either by FOP2 itself or by the old FOP(1). In the first case, there is actually NO problem, you cannot start FOP2 twice. If the later, then you must disable/stop FOP(1). To check who is binding to port tcp 4445 run this command:
What is the output? Do you see "perl" as the process name for the matched line? If so, that is the old FOP(1) and you must stop it and disable it as described in the documentation.