[asterisk-users] ASTCC installation error install: invalid user `apache'

admin at ekoonet.com admin at ekoonet.com
Sat Mar 1 15:42:59 CST 2008


The error I see in the log...

/var/log/apache2# grep cgi-bin error.log

[error] [client 127.0.0.1] attempt to invoke directory as script:
/usr/lib/cgi-bin/, referer: http://localhost/


-------- Original Message --------
Subject: RE: ASTCC installation error install: invalid user `apache'
From: admin at ekoonet.com
Date: Sat, March 01, 2008 2:21 pm
To: admin at ekoonet.com
Cc: asterisk-users at lists.digium.com

Running this on Ubuntu 7/0 and appache2. 

Googled around and saw possible solution

edit /etc/apache2/sites-available/default file and added the following

 <Directory "/usr/lib/cgi-bin">
 AllowOverride None
 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
 Order allow,deny
 Allow from all
 </Directory>

Then restarted apache

/etc/apache2/sites-available# /etc/init.d/apache2 restart

 * Restarting web server apache2 
 apache2: Could not reliably
determine the server's fully qualified domain name, using 127.0.1.1 for
ServerName
apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.1.1 for ServerName
 
 [ OK ]

BUT I STILL AM NOT ABLE to run install on MTCC I get the same error
install: invalid user `apache' make: *** [install] Error 1

appreciate any support on this....



-------- Original Message --------
Subject: ASTCC installation error install: invalid user `apache'
From: admin at ekoonet.com
Date: Sat, March 01, 2008 7:12 am
To: asterisk-users at lists.digium.com


I am attempting a fresh install of ASTCC on Ubuntu. Getting install
invalid user as bellow. Has any one seen this? Can some one help out?

/usr/src/astcc# make install
mkdir -p /var/www
mkdir -p /var/www/html/_astcc
mkdir -p /var/www/cgi-bin/astcc-admin
chmod 755 ./astcc.agi
chmod 755 ./astcc-admin.cgi
echo | ./astcc.agi >/dev/null
Detected dry run!
./astcc-admin.cgi >/dev/null
DBI connect('database=;host=','',...) failed: Access denied for user
'root'@'localhost' (using password: NO) at ./astcc-admin.cgi line 69
install -m 755 -o apache -g root astcc-admin.cgi
/var/www/cgi-bin/astcc-admin/astcc-admin.cgi
install: invalid user `apache'
make: *** [install] Error 1

Thanks,








More information about the asterisk-users mailing list