problem with session
Moderators: Developers, Moderators
problem with session
have a probleme with the php session (i suppose)
pb i found is like :
-can t logout , some time i can t select my device in new graphs
and have "()" for the name of the device etc.
if you want test you can go to this url
http://home.vauloup.net/cacti/
user cacti
pass cacti
have no idea what i can do for correct this
ps i use php5+ iis under 2000 server (french) +mysql5
tks for help
pb i found is like :
-can t logout , some time i can t select my device in new graphs
and have "()" for the name of the device etc.
if you want test you can go to this url
http://home.vauloup.net/cacti/
user cacti
pass cacti
have no idea what i can do for correct this
ps i use php5+ iis under 2000 server (french) +mysql5
tks for help
You're right, there is something funky about your cacti setup.
What versions of everything you running?
Did you follow the installation instructions to the T ?
I change the poller uptime detection to only SNMP, since it seems your PIX doesnt respont to pings. Also added interface stats.
Not sure what's up with your graphs either... I start to see half of the picture, then it disappears.
What versions of everything you running?
Did you follow the installation instructions to the T ?
I change the poller uptime detection to only SNMP, since it seems your PIX doesnt respont to pings. Also added interface stats.
Not sure what's up with your graphs either... I start to see half of the picture, then it disappears.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
i am using :
- windows 2000 sp4 iis 5 lastest patch
- net-snmp-5.2.1-1.
- mysql-5.0.7-beta
- php-5.0.4 (php info here : http://home.vauloup.net/phpinfo.php) but make no modif in php.ini
- cacti-0.8.6f
- cactid-0.8.6e
- rddtool : from cactid dont know version
for install make some change :
- change some path but all are less than 8 character
- change the poller.php call method run : have a service with srvany who call a batch (put a howto soon just need modify bach a little)
________________________________________
:bcl
C:\app\php\php.exe C:\app\cacti\cacti\poller.php
sleep 120
goto bcl
________________________________________
about install what is "T" ?
ps , know php well , where is logout functions i can make some test alone
edit : i don't use isapi in iis use the method who call php-cgi.php
- windows 2000 sp4 iis 5 lastest patch
- net-snmp-5.2.1-1.
- mysql-5.0.7-beta
- php-5.0.4 (php info here : http://home.vauloup.net/phpinfo.php) but make no modif in php.ini
- cacti-0.8.6f
- cactid-0.8.6e
- rddtool : from cactid dont know version
for install make some change :
- change some path but all are less than 8 character
- change the poller.php call method run : have a service with srvany who call a batch (put a howto soon just need modify bach a little)
________________________________________
:bcl
C:\app\php\php.exe C:\app\cacti\cacti\poller.php
sleep 120
goto bcl
________________________________________
about install what is "T" ?
ps , know php well , where is logout functions i can make some test alone
edit : i don't use isapi in iis use the method who call php-cgi.php
1) Running cacti more often than every 5 minutes, will create some problems. Whats wrong with running a scheduled task for cacti? It will run regardless if a user is logged on or not.
2) "to the T" is just an American phrase. Basically, did you follow all the instructions?
2) "to the T" is just an American phrase. Basically, did you follow all the instructions?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
a)i run at e service for different reasons
- i hate the windows default cron at work we use nncron light : http://www.nncron.ru/
more easy to deploy when you have 100 windows server , youy install you put a file cron.tab in directory you stop/start service and it working. and the cron.def can be backup .
- have some other cron work our server, backup metabase , zip iis log etc
and for job who work all the time we prefer run as a service : if we need to stop ,have no effect on other batch
-i work for an isp and graph are very very important for our client
and at this time we use mrtg. the good think with cacti is data are in a mysql base. if i deploy it , i try to put the base in an mysql cluster , and install cacti on 2 servers , the second check if the service respond on the first server he start his cacti service.
b)
for my pb i think is not due to the "core" of cacti , i suppose is a stupid bug like something change with te lastest version of php, if is not a common problem i make debug myself ,more easy that open an ftp etc.. , and put the result after .
for the graph
have see it , i suppose is due to the same probleme that the logging , if i make an export it's work :
http://home.vauloup.net/export/
- i hate the windows default cron at work we use nncron light : http://www.nncron.ru/
more easy to deploy when you have 100 windows server , youy install you put a file cron.tab in directory you stop/start service and it working. and the cron.def can be backup .
- have some other cron work our server, backup metabase , zip iis log etc
and for job who work all the time we prefer run as a service : if we need to stop ,have no effect on other batch
-i work for an isp and graph are very very important for our client
and at this time we use mrtg. the good think with cacti is data are in a mysql base. if i deploy it , i try to put the base in an mysql cluster , and install cacti on 2 servers , the second check if the service respond on the first server he start his cacti service.
b)
for my pb i think is not due to the "core" of cacti , i suppose is a stupid bug like something change with te lastest version of php, if is not a common problem i make debug myself ,more easy that open an ftp etc.. , and put the result after .
for the graph
have see it , i suppose is due to the same probleme that the logging , if i make an export it's work :
http://home.vauloup.net/export/
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
saveus,
1) Your server seems quite busy
2) You need to increase your PHP timeout to about 300 seconds in php.ini
3) You need to set a system environment variable RRD_DEFAULT_FONT in order for Export to work correctly.
4) Would need RDP session to determine the source of 1)
TheWitness
1) Your server seems quite busy
2) You need to increase your PHP timeout to about 300 seconds in php.ini
3) You need to set a system environment variable RRD_DEFAULT_FONT in order for Export to work correctly.
4) Would need RDP session to determine the source of 1)
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
BSOD,
There is major route flapping going on in the par.net.tiscali.net network causing reachability problems from the US.
TheWitness
There is major route flapping going on in the par.net.tiscali.net network causing reachability problems from the US.
TheWitness
- Attachments
-
- NetworkProblem.JPG (132.42 KiB) Viewed 2547 times
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
1) ouups i think i forgot to kill winamp , my mailer , ,and emule this morning on, this pc , its my "dev server" ; is an old pc P2 300 like oldies ))))
2 and 3) i reinstall all last night and had not remake all conf yet ,
ps about ping i think is due to emule who take all bandwith
sorry but i finish late to re-install all , and this morning :
dring...
dring...
dring ....
arrgl already 10 am :emergency run to work )
and i forgot to close all ))
ps sorry again but what is RDP ?
2 and 3) i reinstall all last night and had not remake all conf yet ,
ps about ping i think is due to emule who take all bandwith
sorry but i finish late to re-install all , and this morning :
dring...
dring...
dring ....
arrgl already 10 am :emergency run to work )
and i forgot to close all ))
ps sorry again but what is RDP ?
Remote Desktop Protocol aka Remote Desktop / Terminal Server.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
after some test about login is the :
who dont work ,
if ichange code for this :
it s work
Code: Select all
/header("Location: index.php");
if ichange code for this :
Code: Select all
setcookie(session_name(),"",time() - 3600,"/");
?>
<html><body onload="this.window.location='index.php'"></body></html>
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Well, then you have a lot of code to change.....
Header should work, there is either an issue with php or your browser.
Header should work, there is either an issue with php or your browser.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Well, it's got to be Php, because it works for everyone else. Trust me, if it was an issue, we would have more people reporting a problem.
Are you using apache or IIS? Try using apache, BSOD has used IIS, maybe you have some insight?
Focus on PHP, that's the issue here, not the cacti code.
Sorry I don't have more insight into your problem.
Are you using apache or IIS? Try using apache, BSOD has used IIS, maybe you have some insight?
Focus on PHP, that's the issue here, not the cacti code.
Sorry I don't have more insight into your problem.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
dont want test with apache , my version of is installed on a test server , but in final its for manage web server an iis are installed on all.
and if i want start apache need another port than 80. already make bu pb , is some on our clients are bank , an the are strict with security
i know is a php pb , and i suppose is a my pc specific probleme too, but dont want search why is don t work during 10 hours because is not the final server
ps i write php too and is my dev pc pearhups i run something php dont like
incoming ghost restore image disk quickly
and if i want start apache need another port than 80. already make bu pb , is some on our clients are bank , an the are strict with security
i know is a php pb , and i suppose is a my pc specific probleme too, but dont want search why is don t work during 10 hours because is not the final server
ps i write php too and is my dev pc pearhups i run something php dont like
incoming ghost restore image disk quickly
I'm using IIS 6 so stuff might be a little different.
1) Which instructions did you follow to set up PHP in IIS?
2) Which php file did you use initially? (i.e. php.ini-dist, php.ini-recommended, etc)
3) Did you configure php in the web service extention section in IIS?
1) Which instructions did you follow to set up PHP in IIS?
2) Which php file did you use initially? (i.e. php.ini-dist, php.ini-recommended, etc)
3) Did you configure php in the web service extention section in IIS?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 2 guests