[Asterisk-Users] Astcc installation
Ronald Wiplinger
ronald at elmit.com
Sun Feb 27 01:17:08 MST 2005
I try to install astcc.
Make install gives me:
DBI connect('database=astcc;host=localhost','astcc',...) failed: Unknown
database 'astcc' at ./astcc-admin.cgi line 67
DBI connect('database=;host=','',...) failed: Access denied for user:
'root at localhost' (Using password: NO) at ./astcc-admin.cgi line 60
Ignoring that (!!! ;-) ) and going to the website, configuring the
database, I get:
/Database unavailable -- please check configuration
/Database Configuration
Database creation failed!
Looking into the apache error log file I find:
[Sun Feb 27 10:45:50 2005] [error] [client 192.168.250.108]
DBD::mysql::st execute failed: Table 'astcc.brands' doesn't exist at
/srv/www/cgi-bin/astcc-admin/astcc-admin.cgi line 564., referer:
http://vpbx.elmit.com/cgi-bin/astcc-admin/astcc-admin.cgi?mode=Home
[Sun Feb 27 10:45:51 2005] [error] [client 192.168.250.108]
DBD::mysql::st execute failed: Table 'astcc.brands' doesn't exist at
/srv/www/cgi-bin/astcc-admin/astcc-admin.cgi line 163., referer:
http://vpbx.elmit.com/cgi-bin/astcc-admin/astcc-admin.cgi?mode=Brands
[Sun Feb 27 10:45:51 2005] [error] [client 192.168.250.108]
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at
/srv/www/cgi-bin/astcc-admin/astcc-admin.cgi line 164., referer:
http://vpbx.elmit.com/cgi-bin/astcc-admin/astcc-admin.cgi?mode=Brands
[Sun Feb 27 10:45:53 2005] [error] [client 192.168.250.108]
DBD::mysql::st execute failed: Table 'astcc.trunks' doesn't exist at
/srv/www/cgi-bin/astcc-admin/astcc-admin.cgi line 689., referer:
http://vpbx.elmit.com/cgi-bin/astcc-admin/astcc-admin.cgi?mode=Cards
[Sun Feb 27 10:45:54 2005] [error] [client 192.168.250.108]
DBD::mysql::st execute failed: Table 'astcc.trunks' doesn't exist at
/srv/www/cgi-bin/astcc-admin/astcc-admin.cgi line 193., referer:
http://vpbx.elmit.com/cgi-bin/astcc-admin/astcc-admin.cgi?mode=Trunks
[Sun Feb 27 10:45:54 2005] [error] [client 192.168.250.108]
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at
/srv/www/cgi-bin/astcc-admin/astcc-admin.cgi line 194., referer:
http://vpbx.elmit.com/cgi-bin/astcc-admin/astcc-admin.cgi?mode=Trunks
[Sun Feb 27 10:57:32 2005] [error] [client 192.168.250.108] DBI
connect('database=astcc;host=localhost','astcc',...) failed: Unknown
database 'astcc' at /srv/www/cgi-bin/astcc-admin/astcc-admin.cgi line 67
[Sun Feb 27 10:57:36 2005] [error] [client 192.168.250.108] DBI
connect('database=astcc;host=localhost','astcc',...) failed: Unknown
database 'astcc' at /srv/www/cgi-bin/astcc-admin/astcc-admin.cgi line
67, referer: http://vpbx.elmit.com/cgi-bin/astcc-admin/astcc-admin.cgi
[Sun Feb 27 11:00:46 2005] [error] [client 192.168.250.108] DBI
connect('database=astcc;host=localhost','astcc',...) failed: Unknown
database 'astcc' at /srv/www/cgi-bin/astcc-admin/astcc-admin.cgi line
67, referer:
http://vpbx.elmit.com/cgi-bin/astcc-admin/astcc-admin.cgi?mode=Configure
However, it creates in /var/lib/astcc some content into the file
astcc-config.conf, basically what I put into the web page!
What do I miss here? I am not using root of the mysql server!
bye
Ronald
More information about the asterisk-users
mailing list