How to Disable (panel) op_server.pl

vaibhavs

Joined
Oct 2, 2009
Messages
95
Likes
0
Points
0
#1
Hi,

How should I disable Flash Panel (op_server.pl).
I do not need FOP.

I believe there is some command / option attached to the "amportal start"

Please help!

Thx
Sanjay
 

dwells

Joined
Sep 29, 2009
Messages
127
Likes
0
Points
0
#2
I think you are looking for the command: "amportal stop_fop" <enter>
you would need to do this every time you restarted your system.

You would need to remove the line "/usr/sbin/amportal start_fop" out of your /etc/rc.d/rc.local file, to make this permanent.

-dwellsy
 

vaibhavs

Joined
Oct 2, 2009
Messages
95
Likes
0
Points
0
#3
dwells said:
I think you are looking for the command: "amportal stop_fop" <enter>
you would need to do this every time you restarted your system.

You would need to remove the line "/usr/sbin/amportal start_fop" out of your /etc/rc.d/rc.local file, to make this permanent.

-dwellsy
Yes.
Code:
[root@elastix ~]# amportal stop_fop
helped.

My rc.local has this
Code:
/usr/sbin/amportal start_fop
should I replace this command with
Code:
/usr/sbin/amportal start
?

Thx
Sanjay
 

jgibson

Joined
Dec 29, 2008
Messages
78
Likes
0
Points
0
#4
Just commenting it out, putting a ; in front of that line, will keep that line from being executed. This way if you ever do need to fop all you will have to do is remove the ;
 

vaibhavs

Joined
Oct 2, 2009
Messages
95
Likes
0
Points
0
#5
But won't I need some amportal command in rc.local to start asterisk on boot ?

If I hash the current line "/usr/sbin/amportal start_fop", I will have nothing in rc.local to start asterisk

Sanjay
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#6
To elucidate (hopefully :) ) :

Quick answer, edit /usr/sbin/amportal to reflect your needs.
Longer and more boring answer:

init scripts are run with numeric logic, progressively/regressively on any run level you change to, by default on Elastix' startup, it is 3 as defined in /etc/inittab , look in /etc/rc3.d (run level 3), ( where SNN* means start, and KNN* means kill, these are all softlinks to /etc/init.d/* that can be controlled with chkconfig), for a start for asterisk, if SNNasterisk is lower than S99local, and I guarantee it is, asterisk is started before local, so no worries.

I don't believe amportal needs to run at all at startup in your scenario, as jgibson said, comment it out, apart from fop, everything else queries /etc/amportal.conf as needed.

A note (and a nod to FOP):

Nicolas (asternic/FOP) has fixed that with FOP2, FOP2 has a regular, compliant init script, all of it's own.


regards

dicko
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top