Migrate from Win32 to Linux Path problems

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
gondolin
Posts: 18
Joined: Thu Sep 14, 2006 3:59 am

Migrate from Win32 to Linux Path problems

Post by gondolin »

I'm migrating from windows to linux and have read some of the topics here.

Its going not so good as i start the poller i get errors like:
Can't open perl script "C:/wwwroot/cacti/scripts/ws_apachestats.pl": No such file or directory

If i open Data Input Methods i see this path:
perl <path_cacti>/scripts/ws_apachestats.pl <hostname>

what must be change to solve this ?

TIA
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

try to modify path_webroot in the settings table (using Phpmyadmin for example).
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

you will also have to dump your rrd files and then import them.

do a search for rrddump in the forums.
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
gondolin
Posts: 18
Joined: Thu Sep 14, 2006 3:59 am

Post by gondolin »

fmangeant wrote:Hi

try to modify path_webroot in the settings table (using Phpmyadmin for example).
Ok that already helped, that error is gone.
gondolin
Posts: 18
Joined: Thu Sep 14, 2006 3:59 am

Post by gondolin »

egarnel wrote:you will also have to dump your rrd files and then import them.

do a search for rrddump in the forums.
It seems that i have lost my "old" data i don't have any old data more.
Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests