admin at ekoonet.com
2008-Mar-01 14:12 UTC
[asterisk-users] ASTCC installation error install: invalid user `apache'
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,
admin at ekoonet.com
2008-Mar-01 21:21 UTC
[asterisk-users] ASTCC installation error install: invalid user `apache'
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,
admin at ekoonet.com
2008-Mar-01 21:42 UTC
[asterisk-users] ASTCC installation error install: invalid user `apache'
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,
How to calculate the PSTN call durations through zaptel ,where in the CDR it gives the time durations started when the zaptel answerd + PSTN dialing time + ringing time even thoug the destinations did not answer the call , so as a reult i will find user X is dialing PSNT line for 40 seconds even though the distination did not answer the call. _________________________________________________________________ Need to know the score, the latest news, or you need your Hotmail?-get your "fix". http://www.msnmobilefix.com/Default.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080301/cc102653/attachment.htm
Use most anything except FXO signaled ports. PRI, BRI, SIP, IAX2, etc. aymen warfalli wrote:> How to calculate the PSTN call durations through zaptel ,where in the CDR it gives the time durations started when the zaptel answerd + PSTN dialing time + ringing time even thoug the destinations did not answer the call , so as a reult i will find user X is dialing PSNT line for 40 seconds even though the distination did not answer the call.-- Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS, T-1, PRI, Frame Relay, Linux, and network design. Based near Birmingham, AL. Now accepting clients worldwide.
On Sat, Mar 01, 2008 at 04:14:23PM -0600, Eric Wieling wrote:> Use most anything except FXO signaled ports. PRI, BRI, SIP, IAX2, etc.Or FXO ports where polarity reversal is used to signal call start and end. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Thanx alot for reply I mean i have to use the fxo to connect to the pstn line and i do not know if there is any asterisk functions ,Application, options that could help to know what is the real call duration [ how to deal with pstn line signaling how to detect the pstn ringing tone or pstn auto-machinese voice message in case if the user did not answer the call ] , i saw some billing software and i am not sure if they are calculating the bills using cdr in case of using fxo. thank u in advance ayman _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080302/d380824d/attachment-0001.htm
On Sun, Mar 02, 2008 at 08:30:17AM -0500, aymen warfalli wrote:> > Thanx alot for reply > > I mean i have to use the fxo to connect to the pstn line and i do not > know if there is any asterisk functions ,Application, options that > could help to know what is the real call duration [ how to deal with > pstn line signaling how to detect the pstn ringing tone or pstn > auto-machinese voice message in case if the user did not answer the > call ] ,Again: does the PSTN provider provide you that information? through polarity reversal at call start and end? By any other means? If not: no. Guessing this is very tricky, and Asterisk does not attempt to. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir