L.S. After reading and executing the manual the only output i get is when opening ../admin.index.php *Warning*: main(common/db_connect.php): failed to open stream: Permission denied in */srv/www/htdocs/admin/index.php* on line *34* *Fatal error*: main(): Failed opening required 'common/db_connect.php' (include_path='.:/usr/share/php') in */srv/www/htdocs/admin/index.php* on line *34 *I am at a loss .... My distro is suse linux 9.0 with apache 2 The cvs version of asterisk is running but i do not know if the ztdummy is running . I do not own any zaptel or digium hardware but sometimes i can read on the internet that this is an requirement???? When i run the file ./install_amp it can detect PEAR but the error may tell me that PEAR is not installed (alltough it is there and can be detected) When i run ./apply_conf.sh i get peter:/usr/src/AMP # ./apply_conf.sh Reading /etc/amportal.conf Updating configuration... /etc/asterisk/cdr_mysql.conf /srv/www/htdocs/admin/retrieve_sip_conf_from_mysql.pl /srv/www/htdocs/admin/retrieve_queues_from_mysql.pl /srv/www/htdocs/admin/retrieve_iax_conf_from_mysql.pl /srv/www/htdocs/admin/retrieve_zap_conf_from_mysql.pl /srv/www/htdocs/admin/retrieve_extensions_from_mysql.pl /srv/www/htdocs/admin/retrieve_meetme_conf_from_mysql.pl /srv/www/htdocs/admin/retrieve_op_conf_from_mysql.pl sed: -e expression #1, char 98: Invalid range end /etc/asterisk/manager.conf /var/lib/asterisk/agi-bin/dialparties.agi /srv/www/htdocs/panel/op_server.cfg /etc/asterisk/vm_email.inc (may require manual check) Done Adjusting File Permissions.. SETTING FILE PERMISSIONS Permissions OK Done peter:/usr/src/AMP # amportal ----------AMP Control Script----------- Usage: amportal start|stop|kill|chown start: Starts Asterisk and Flash Operator Panel server stop: Gracefully stops Asterisk and the FOP server kill: Kills Asterisk and the FOP server chown: Sets appropriate permissions on files peter:/usr/src/AMP # amportal start SETTING FILE PERMISSIONS Permissions OK STARTING ASTERISK Asterisk is already running STARTING FOP SERVER ** /srv/www/htdocs/panel/op_buttons_additional.cfg not readable... skipping ** /srv/www/htdocs/panel/op_buttons_custom.cfg not readable... skipping FOP Server Started peter:/usr/src/AMP # Use of uninitialized value in substitution (s///) at ./op_server.pl line 5562. Use of uninitialized value in transliteration (tr///) at ./op_server.pl line 2383. Use of uninitialized value in concatenation (.) or string at ./op_server.pl line 2390. Use of uninitialized value in concatenation (.) or string at ./op_server.pl line 2393. Use of uninitialized value in concatenation (.) or string at ./op_server.pl line 3350. Use of uninitialized value in string ne at ./op_server.pl line 3353. peter:/usr/src/AMP # Please help. What am i doing wrong Thanks in advance Peter
participants (1)
-
peter thesing