beta installer, SPINE dosen't work because!!
Moderators: Developers, Moderators
beta installer, SPINE dosen't work because!!
cmd.php is working OK but when switch to spine all graphs stops updating.
i have checked the mysql also and did full repair with the two commands:
1- mysqlcheck --auto-repair --databases cacti
2- php repair_database.php
it show`s that every thing is OK with the tables
there were somthings i found out:
1- that the default spine.confs that comes with the beta installer has miss config, like this
DB_Host 127.0.0.1
DB_Database mysql
DB_User cactiuser
DB_Pass cactiuser
DB_Port 3306
when it should be
DB_Host 127.0.0.1
DB_Database cacti
DB_User cactiuser
DB_Pass cactipw
DB_Port 3306
as u can see "DB_Database" should point to cacti`s table not to mysql, also in mysql database under "user administration" i have add 127.0.0.1 uder the cacti user so it will allow connections from cactiuser@127.0.0.1
just like it already allow`s cactiuser@localhost, ====>SPINE need`s this to access the database.
there were errors in the debug logs about not able to connect to the database, and the cacti`s table in the mysql where not beign updated befor i fix the above two problems.
2- i have checked the NTFS permessions and i have gave IUSR full permessions to spine.exe, sh.exe, rra files, and to the cacti folder. before that the rra files where not being updated. but now they are
and now there is no errors in the debug logs when using spine, and the rra files is being updated, but still the graphs stop`s once i switch to SPINE
Info:
Operating System: Windows 2003 Sp2
Webserver: Apache Http server 2.2.9
Cacti: Version 0.8.7b
Spine: Version 0.8.7a that comes with the latest beta installer of cacti
MySQL: version 5 that comes with the latest beta installer of cacti
PHP: 5.2 that comes with the latest beta installer of cacti
RRDTool (Cygwin or Win32 version): that comes with the latest beta installer of cacti
Net-SNMP: version 5.4.1.3 that comes with the latest beta installer of cacti
Cygwin (cygwin1.dll version): that comes with the latest beta installer of cacti
i have checked the mysql also and did full repair with the two commands:
1- mysqlcheck --auto-repair --databases cacti
2- php repair_database.php
it show`s that every thing is OK with the tables
there were somthings i found out:
1- that the default spine.confs that comes with the beta installer has miss config, like this
DB_Host 127.0.0.1
DB_Database mysql
DB_User cactiuser
DB_Pass cactiuser
DB_Port 3306
when it should be
DB_Host 127.0.0.1
DB_Database cacti
DB_User cactiuser
DB_Pass cactipw
DB_Port 3306
as u can see "DB_Database" should point to cacti`s table not to mysql, also in mysql database under "user administration" i have add 127.0.0.1 uder the cacti user so it will allow connections from cactiuser@127.0.0.1
just like it already allow`s cactiuser@localhost, ====>SPINE need`s this to access the database.
there were errors in the debug logs about not able to connect to the database, and the cacti`s table in the mysql where not beign updated befor i fix the above two problems.
2- i have checked the NTFS permessions and i have gave IUSR full permessions to spine.exe, sh.exe, rra files, and to the cacti folder. before that the rra files where not being updated. but now they are
and now there is no errors in the debug logs when using spine, and the rra files is being updated, but still the graphs stop`s once i switch to SPINE
Info:
Operating System: Windows 2003 Sp2
Webserver: Apache Http server 2.2.9
Cacti: Version 0.8.7b
Spine: Version 0.8.7a that comes with the latest beta installer of cacti
MySQL: version 5 that comes with the latest beta installer of cacti
PHP: 5.2 that comes with the latest beta installer of cacti
RRDTool (Cygwin or Win32 version): that comes with the latest beta installer of cacti
Net-SNMP: version 5.4.1.3 that comes with the latest beta installer of cacti
Cygwin (cygwin1.dll version): that comes with the latest beta installer of cacti
Hmm interesting, I'll have to check into it once home. Since Cacti/spine 0.8.7c is right around the corner, I'm going to hold off updating the installer until its released and deamed stable. Might even include Apache with it, if I'm feeling up to it...
| 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 |
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I sent Tony the win32 binary. Don't know why he did not post it.
TheWitness
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?
Well its posted here, http://forums.cacti.net/viewtopic.php?t=29486 but still not claimed stable yetTheWitness wrote:I sent Tony the win32 binary. Don't know why he did not post it.
| 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 |
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Attached.
- Attachments
-
- spine.zip
- (616.31 KiB) Downloaded 163 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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
That has nothing to do with Spine. If you run it in medium and the data is flowing to the screen, then your problem is more with poller.php and rrdtool.
TheWitness
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?
For testing, if you run spine manually at the command prompt, what happens?
| 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 |
Ok, so sounds like it works. Make sure the NTFS permissions on spine's files are set correct for cacti (IUSR_, the scheduled task user, etc) all have read/execute rights.
| 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 |
Re: beta installer, SPINE dosen't work because!!
MadX wrote:2- i have checked the NTFS permessions and i have gave IUSR full permessions to spine.exe, sh.exe, rra files, and to the cacti folder. before that the rra files where not being updated. but now they are
Who is online
Users browsing this forum: No registered users and 0 guests