Ticket #1601 (closed Bugs: fixed)

Opened 5 years ago

Last modified 5 years ago

amportal stop never kills the panel

Reported by: vgster Assigned to:
Priority: minor Milestone:
Component: Other Module Version: 2.2rc3
Keywords: Cc:
Confirmation: SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

Running amportal stop kills asterisk but the panel seems to restart. Similar to #1527. Amportal start does the right stuff and the panel starts but after a stop I have

/bin/bash -c cd /var/www/localhost/htdocs/panel && /var/www/localhost/htdocs/panel/safe_opserver &
/var/www/localhost/htdocs/panel/safe_opserver

and a sleep 4 process. After 4 seconds I have a

/usr/bin/perl -w /var/www/localhost/htdocs/panel/op_server.pl

process.

Running amportal stop just kills the above process, which is restarted 4 seconds later.

Attachments

amportal.patch (1.1 kB) - added by gergnz on 12/31/06 19:18:55.

Change History

12/31/06 19:18:55 changed by gergnz

  • attachment amportal.patch added.

12/31/06 19:20:45 changed by gergnz

confirmed.

attaching patch.(amportal.patch)

this is what a ps -ef looks like on my system (Hacked to pieces Debian Sarge on vmware)

root      2896     1  0 11:13 pts/0    00:00:00 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk
asterisk  2913  2896  0 11:13 pts/0    00:00:00 /usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
asterisk  2973     1  0 11:13 pts/0    00:00:00 -su -c cd /var/www/html/panel && /var/www/html/panel/safe_opserver &
asterisk  2974  2973  0 11:13 pts/0    00:00:00 sh /var/www/html/panel/safe_opserver
asterisk  2976  2974  0 11:13 pts/0    00:00:00 /usr/bin/perl -w /var/www/html/panel/op_server.pl

01/02/07 06:20:29 changed by RobThomas

  • status changed from new to closed.
  • resolution set to fixed.

Appled in r3479. Thanks!