[solved] Moving directory of install?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
greginmadison
Posts: 30
Joined: Fri Mar 07, 2008 8:58 am

[solved] Moving directory of install?

Post by greginmadison »

I just had something strange happen when I moved my cacti installation from /san/www/htdocs/cacti-0.8.7b to /san/www/htdocs/cacti.

I changed the /san/www/htdocs/cacti/include/global.php line for the setting the $config['url_path'] = '/cacti/', and I went into the settings->Paths and changed the cacti log file path and the spine Poller File Path to the new location.

AND I changed my crontab so that the poller was pointing to the correct path.

BUT, when the poller ran. It was giving lots of errors about the path for the scripts was wrong and was still pointing to the old path.

I even restarted apache thinking that php had cached that info, but that did NOT fix it.

Any suggestions?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please run cli/rebuild_poller_cache.php to re-create poller commands for changed script paths
Reinhard
greginmadison
Posts: 30
Joined: Fri Mar 07, 2008 8:58 am

Thanks that fixed it.

Post by greginmadison »

Thanks that did it.
Post Reply

Who is online

Users browsing this forum: xugmu and 1 guest