Пожалуйста, помогите кто может! У меня SuSE 8.2, установил всё как по руководству: Radius+MySQL+Apache+Perl modules+Abills
Ошибка такая, когда загружаю таблицу
# mysql -u root -p < abills.sql
Запрашивает пароль, водишь пароль, даёт следующие:
ERROR 1046 at line 1: No Database Selected
Кто может сталкивался с этим, помогите. Зарание искрени благодарен!
Проблема с мускулом! HELP!!!
С этим я разобрался , я знаю что уже запарил Вас , но будьте добры , помогите мне настроить последний этап.
Сейчас у меня ошибка с WEB сервером, когда запрашиваешь нужную страничку http://192.168.2.2/abills/admin/ , пишет:
Server error!
The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: index.cgi
If you think this is a server error, please contact the webmaster.
Error 500
192.168.2.2
Fri Mar 9 14:46:41 2007
Apache/2.0.44 (Linux/SuSE)
Копал логи апача, пишет там следующие:
[Fri Mar 09 14:46:41 2007] [error] [client 192.168.2.2] Premature end of script headers: index.cgi
[Fri Mar 09 14:46:41 2007] [error] [client 192.168.2.2] DBI connect('database=abills;host=localhost
[Fri Mar 09 14:46:41 2007] [error] [client 192.168.2.2] Unable connect to server 'localhost:abills'
Помогите плиз разобраться...
Сейчас у меня ошибка с WEB сервером, когда запрашиваешь нужную страничку http://192.168.2.2/abills/admin/ , пишет:
Server error!
The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: index.cgi
If you think this is a server error, please contact the webmaster.
Error 500
192.168.2.2
Fri Mar 9 14:46:41 2007
Apache/2.0.44 (Linux/SuSE)
Копал логи апача, пишет там следующие:
[Fri Mar 09 14:46:41 2007] [error] [client 192.168.2.2] Premature end of script headers: index.cgi
[Fri Mar 09 14:46:41 2007] [error] [client 192.168.2.2] DBI connect('database=abills;host=localhost
[Fri Mar 09 14:46:41 2007] [error] [client 192.168.2.2] Unable connect to server 'localhost:abills'
Помогите плиз разобраться...
Нет , проделал эту операцию , заменил в файле config.pl dbuser='root' и dbpasswd='my_passwd_for_root'
Выдаёт мне в логах такую же ошибку:
[Mon Mar 12 09:36:28 2007] [error] [client 192.168.2.2] Premature end of script headers: index.cgi
[Mon Mar 12 09:36:28 2007] [error] [client 192.168.2.2] DBI connect('database=root;host=localhost','root=',...) failed: Access denied for user: 'root=@localhost' (Using password: YES) at ../../Abills/mysql//main.pm line 70
[Mon Mar 12 09:36:28 2007] [error] [client 192.168.2.2] Unable connect to server 'localhost:root'
И еще , при скачивание модулей , не распоковался модуль DBD-mysql, дал мне такую ошибку:
dbdimp.c:1269: error: conflicting types for `mysql_dr_error'
dbdimp.h:288: error: previous declaration of `mysql_dr_error'
dbdimp.c: In function `mysql_st_fetch':
dbdimp.c:3419: error: too few arguments to function `mysql_dr_error'
dbdimp.c:3583: error: too few arguments to function `mysql_dr_error'
dbdimp.c: In function `mysql_st_FETCH_internal':
dbdimp.c:3915: error: too few arguments to function `mysql_dr_error'
dbdimp.c:3929: error: too few arguments to function `mysql_dr_error'
dbdimp.c: In function `mysql_bind_ph':
dbdimp.c:4244: error: too few arguments to function `mysql_dr_error'
dbdimp.c:4271: error: too few arguments to function `mysql_dr_error'
dbdimp.c:4283: error: too few arguments to function `mysql_dr_error'
dbdimp.c: In function `mysql_db_reconnect':
dbdimp.c:4445: error: too few arguments to function `mysql_dr_error'
make: *** [dbdimp.o] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
МОЖЕТ ЭТО ИЗ ЗА ЭТОГО , кто знает ? Помогите пожалуйста.
Выдаёт мне в логах такую же ошибку:
[Mon Mar 12 09:36:28 2007] [error] [client 192.168.2.2] Premature end of script headers: index.cgi
[Mon Mar 12 09:36:28 2007] [error] [client 192.168.2.2] DBI connect('database=root;host=localhost','root=',...) failed: Access denied for user: 'root=@localhost' (Using password: YES) at ../../Abills/mysql//main.pm line 70
[Mon Mar 12 09:36:28 2007] [error] [client 192.168.2.2] Unable connect to server 'localhost:root'
И еще , при скачивание модулей , не распоковался модуль DBD-mysql, дал мне такую ошибку:
dbdimp.c:1269: error: conflicting types for `mysql_dr_error'
dbdimp.h:288: error: previous declaration of `mysql_dr_error'
dbdimp.c: In function `mysql_st_fetch':
dbdimp.c:3419: error: too few arguments to function `mysql_dr_error'
dbdimp.c:3583: error: too few arguments to function `mysql_dr_error'
dbdimp.c: In function `mysql_st_FETCH_internal':
dbdimp.c:3915: error: too few arguments to function `mysql_dr_error'
dbdimp.c:3929: error: too few arguments to function `mysql_dr_error'
dbdimp.c: In function `mysql_bind_ph':
dbdimp.c:4244: error: too few arguments to function `mysql_dr_error'
dbdimp.c:4271: error: too few arguments to function `mysql_dr_error'
dbdimp.c:4283: error: too few arguments to function `mysql_dr_error'
dbdimp.c: In function `mysql_db_reconnect':
dbdimp.c:4445: error: too few arguments to function `mysql_dr_error'
make: *** [dbdimp.o] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
МОЖЕТ ЭТО ИЗ ЗА ЭТОГО , кто знает ? Помогите пожалуйста.