Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


First login error
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Windows Specific
Author Message
keshka



Joined: 21 Jun 2007
Posts: 9

PostPosted: Fri Jun 22, 2007 4:50 am    Post subject: First login error Reply with quote

Hello,

I cannot login to Cacti, i read this forum and see what it is frequent problem.

What elese can be, except php seesion, i checked they are fine, may be Cacti cannot read them?
How i can check this?

Thank you.

Kind regards,
Innokentiy
Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 8743
Location: WA, USA

PostPosted: Fri Jun 22, 2007 12:07 pm    Post subject: Reply with quote

Read http://forums.cacti.net/viewtopic.php?t=11747

What do you mean, you cannot logon?
Back to top
thor1182



Joined: 22 Jun 2007
Posts: 5

PostPosted: Fri Jun 22, 2007 2:29 pm    Post subject: Reply with quote

I got it installed, get to the first screen where I set all the exe refrences, but it just stis at the log on screen. I type admin/admin, but it just bounces back to the log on screen.

Win 2003
PHP 5.2.3
Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 8743
Location: WA, USA

PostPosted: Fri Jun 22, 2007 2:55 pm    Post subject: Reply with quote

That is an indication of php session cookies, not being stored correctly. Sysinternals FileMon would reveal this.

did you use php-dist.ini as your initial php file?
Where are your php session cookies being stored?
Back to top
thor1182



Joined: 22 Jun 2007
Posts: 5

PostPosted: Fri Jun 22, 2007 2:59 pm    Post subject: Reply with quote

I found that I was missing a few things in the install of the PHP, so I have to do more looking... this is my newest error...


Quote:
Error in my_thread_global_end(): 3 threads didn't exit PHP Warning: Module 'mysql' already loaded in Unknown on line 0 PHP Warning: Module 'snmp' already loaded in Unknown on line 0 PHP Warning: Module 'sockets' already loaded in Unknown on line 0 Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find module (SNMPv2-MIB): At line 0 in (none) Cannot find module (SNMPv2-SMI): At line 0 in (none) Cannot find module (UCD-SNMP-MIB): At line 0 in (none) Cannot find module (UCD-DEMO-MIB): At line 0 in (none) Cannot find module (SNMP-TARGET-MIB): At line 0 in (none) Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none) Cannot find module (UCD-DLMOD-MIB): At line 0 in (none) Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none) Cannot find module (SNMP-MPD-MIB): At line 0 in (none) Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none) Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none) Cannot find module (SNMPv2-TM): At line 0 in (none) PHP Warning: session_start() [function.session-start]: open(C:\DOCUME~1\mgrady\LOCALS~1\Temp\php\session\sess_q04vlvkdn8940a1hkr4bskv5d2, O_RDWR) failed: Permission denied (13) in C:\Inetpub\wwwroot\Cacti\include\config.php on line 96 PHP Warning: Unknown: open(C:\DOCUME~1\mgrady\LOCALS~1\Temp\php\session\sess_q04vlvkdn8940a1hkr4bskv5d2, O_RDWR) failed: Permission denied (13) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\DOCUME~1\mgrady\LOCALS~1\Temp\php\session) in Unknown on line 0
Back to top
thor1182



Joined: 22 Jun 2007
Posts: 5

PostPosted: Fri Jun 22, 2007 3:04 pm    Post subject: Reply with quote

and it does look like a session issue, and yes I was using what it came with for the php.ini file. trying to find the one you mentioned
Back to top
thor1182



Joined: 22 Jun 2007
Posts: 5

PostPosted: Fri Jun 22, 2007 3:14 pm    Post subject: Reply with quote

fixed where session stuff goes, now just have to get the rest to work. It makes a big difference when it shows errors
Back to top
thor1182



Joined: 22 Jun 2007
Posts: 5

PostPosted: Fri Jun 22, 2007 3:16 pm    Post subject: Reply with quote

ok it logs in now, but now its:

Quote:
Error in my_thread_global_end(): 3 threads didn't exit PHP Warning: Module 'mysql' already loaded in Unknown on line 0 PHP Warning: Module 'snmp' already loaded in Unknown on line 0 PHP Warning: Module 'sockets' already loaded in Unknown on line 0 Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find module (SNMPv2-MIB): At line 0 in (none) Cannot find module (SNMPv2-SMI): At line 0 in (none) Cannot find module (UCD-SNMP-MIB): At line 0 in (none) Cannot find module (UCD-DEMO-MIB): At line 0 in (none) Cannot find module (SNMP-TARGET-MIB): At line 0 in (none) Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none) Cannot find module (UCD-DLMOD-MIB): At line 0 in (none) Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none) Cannot find module (SNMP-MPD-MIB): At line 0 in (none) Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none) Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none) Cannot find module (SNMPv2-TM): At line 0 in (none)
Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 8743
Location: WA, USA

PostPosted: Fri Jun 22, 2007 5:49 pm    Post subject: Reply with quote

Search your system for duplicate copies of php.ini. Also, make sure you're only loading php_mysql.dll once in php.ini. That error. Module 'mysql' already loaded in... says otherwise.
Back to top
keshka



Joined: 21 Jun 2007
Posts: 9

PostPosted: Sun Jun 24, 2007 11:31 pm    Post subject: Reply with quote

BSOD2600 wrote:
Read http://forums.cacti.net/viewtopic.php?t=11747

What do you mean, you cannot logon?


I read this topic, plus i read all topics regarding first log in problem till the beginning of 2006.

I mean what when type admin/admin, it just bounces back to the log on screen.

I also see PHP cookies in session directory, but still cannot log in.

Thank you.
Innokentiy
Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 8743
Location: WA, USA

PostPosted: Mon Jun 25, 2007 12:19 am    Post subject: Reply with quote

You might see files there, but there must be a problem related to PHP sessions. Please re-read the sections my installation guide related to PHP and NTFS security. Fire up Sysinternals FileMon and see if there is anything getting denied during login.

Did you get any errors when importing the cacti.sql file? Make sure mysql strict-mode is not set in your my.ini file.
Back to top
keshka



Joined: 21 Jun 2007
Posts: 9

PostPosted: Thu Jun 28, 2007 12:18 am    Post subject: Reply with quote

I checked NTFS permissions twice right now, everything is fine. cacti log file is empty.
I also attached log file from filemon. it also have no errors.

mysql config and installation was fine.

thank you.

Innokentiy



Filemon.txt
 Description:

Download
 Filename:  Filemon.txt
 Filesize:  34.53 KB
 Downloaded:  467 Time(s)

Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 8743
Location: WA, USA

PostPosted: Thu Jun 28, 2007 12:43 pm    Post subject: Reply with quote

Hmm, not entirely sure. Did you use the php-dist.ini file as the initial starting point for configuration? Also, make sure you only have one php.ini file on your entire system.
Back to top
keshka



Joined: 21 Jun 2007
Posts: 9

PostPosted: Fri Jun 29, 2007 4:45 am    Post subject: Reply with quote

i have only one php.ini file. see attachment

thank you.

Kind regards,
Innokentiy



php.ini.txt
 Description:

Download
 Filename:  php.ini.txt
 Filesize:  49.28 KB
 Downloaded:  142 Time(s)

Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 8743
Location: WA, USA

PostPosted: Fri Jun 29, 2007 11:38 am    Post subject: Reply with quote

Hmm, you didn't enable cgi.force_redirect = 1, or enable mysql, snmp or sockets in the file!

Did you follow my installation guide at all?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Windows Specific All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group