A same installlation mistake but not solved

Everything which is related to the installation of phpLogCon.

A same installlation mistake but not solved

Postby cx on Thu Aug 24, 2006 4:35 pm

i have successfully installed rsyslog-1.12.2 with mysql4.1.7 on my linux platform,
#cp phplogcon-1.2.3.tar.gz /var/www/html
#tar -xvzf phplogcon-1.2.3.tar.gz
http://127.0.0.1/phplogcon-v1.2.3/install/install.php
choose english and submit,
Connection Type: * MYSQL
Host/IP: * localhost
Port (If standard, leave blank):
User (User must have 'INSERT' and 'CREATE' rights!): root
Password: ********
Re-type password: ********
Database/DSN name: * Syslog
Database time format: * localtime
then i choose to submit
come to page http://127.0.0.1/phplogcon-v1.2.3/install/perform.php
it shows:
Checking users input... Done!
Creating required tables... then it stopped,
i removed the install directory
#cd /phplogcon-v1.2.3
# vi config.php
it shows
//Server name (only needed if you not use ODBC)
define('_DBSERVER', 'localhost');

// DSN (ODBC) or database name (Mysql)
define('_DBNAME', 'phplogcon');

// Userid for database connection ***
define('_DBUSERID', 'MonitorWareUser');

// Password for database connection ***
define('_DBPWD', 'UsersPassword');
it seems that nothing has been changed , then i followed the instructions what mmeckelein told datcrack on topic "Help me",and what therget told cblank on topic "Installation Problem",but it just could not work! then i choose different vesions of phplogcon,the same mistake happened!
can anyone help me to solve this problem,thanks
cx
New
 
Posts: 4
Joined: Thu Aug 24, 2006 3:59 pm

phpLogCon professional services

  • Custom phpLogCon configuration?
  • Maintenance Contract?
  • Installation support?

Postby mmeckelein on Thu Aug 24, 2006 4:44 pm

Also remember, that the user who runs the web server (i.e. www-data) must have 'write'-rights (chmod 666) on the 'config.php'! Remove these rights after installing (chmod 644)!

http://new.phplogcon.org/index.php?module=Static_Docs&func=view&f=/setup.htm#3_1

Do you have checked if the config.php has those permissions?

Michael
mmeckelein
Adiscon Support
 
Posts: 167
Joined: Wed Mar 12, 2003 12:07 pm

Postby cx on Thu Aug 24, 2006 4:58 pm

thanks
,i have notice this point ,before i run setup.htm ,i have type this in the directory
#chmod 666 cofig.php
but nothing changed,
cx
New
 
Posts: 4
Joined: Thu Aug 24, 2006 3:59 pm

Postby mmeckelein on Thu Aug 24, 2006 5:04 pm

#chmod 666 cofig.php
but nothing changed,


do you mean that chmod took no effect?

Creating required tables... then it stopped,

There were no message that generating table was successfully or error message? What does it means "then it stopped"? Please note that e.g. if the mysql server is not available it can take a minute or so (depends on your configured timeout) until further output is processed.
mmeckelein
Adiscon Support
 
Posts: 167
Joined: Wed Mar 12, 2003 12:07 pm

Postby cx on Thu Aug 24, 2006 5:15 pm

thanks ,it has taken effect ,
-rw-rw-rw- 1 root root 5095 May 16 04:50 config.php
do you mean i should stay untill the result come out,
how long should i wait for the result ?
configured timeout how to configure it , i didn't change the default timeout.
i have waited 3 minutes or more,but still no results comes out, it still shows
Checking users input... Done!
Creating required tables...
the error messages as follows:
http://202.197.54.120/phplogcon-v1.2.3/ ... erform.php
While installing phpLogCon, there caused an error (Date: 25.08.2006 @ 00:39):
Operation: Check user's input!
Error: You have to fill out following fields: Database Settings: Host/IP - User - Database/DSN name
Go back and correct this!
..:: Go back to installation ::..
cx
New
 
Posts: 4
Joined: Thu Aug 24, 2006 3:59 pm

Postby mmeckelein on Thu Aug 24, 2006 5:37 pm

Hmm, I guess something with the php session management does not work properly on your machine. Please could you verify that you have enabled sessions in your php engine. If it does not help could you please give me the details of your php session settings. Also the following information would be helpful:
- linux os and version?
- webserver (apache?) and version?
- php version?
mmeckelein
Adiscon Support
 
Posts: 167
Joined: Wed Mar 12, 2003 12:07 pm

Postby cx on Thu Aug 24, 2006 5:56 pm

can you tell me how to enbale the php sessions in my php engine?
thanks,besides,
my php version is
php-4.3.9-3.1
system kernel is
System Linux loghost 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686
my apache version is:
apache Version Apache/2.0.52 (Red Hat)
Apache API Version 20020903
cx
New
 
Posts: 4
Joined: Thu Aug 24, 2006 3:59 pm

Postby mmeckelein on Fri Aug 25, 2006 9:19 am

Code: Select all
can you tell me how to enbale the php sessions in my php engine?


This can be done in your php configuration file (php.ini). Inside, search for "session". Also ensure that php can write to session.save_path.

I also recommend that you put in the line

Code: Select all
error_reporting(E_ALL);


into install/perform.php on line 2.

This will enable full error output. Probably this will nail down the issue.

Michael
mmeckelein
Adiscon Support
 
Posts: 167
Joined: Wed Mar 12, 2003 12:07 pm

Google Ads



Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests

cron