[smokeping-users] Need Help !!!!

Niall O'Reilly Niall.oReilly at ucd.ie
Thu Jan 25 15:14:47 CET 2007


On 25 Jan 2007, at 12:20, Ramneek Khurana wrote:
> Can't locate Smokeping.pm in @INC

	The CGI script (smokeping.cgi) needs an external file, Smokeping.pm.
	Perl keeps a list of places (@INC) where it will look for such files.
	The message you see means that Smokeping.pm was not found in any of
	those places.

	You need to find where Smokeping.pm actually sits on your system,
	and take care that this location is listed in @INC.  You can do this
	EITHER by running your web server with the environment variable
	PERL5LIB set to include the location, OR by modifying smokeping.cgi
	to include something like this:

		push @INC, 'directory-path-to-locate-Smokeping.pm';

	You will also need to ensure that your web server has the necessary
	access to this location.  You seem to be using /root/smokeping/lib.
	You probably don't want to give your web server access there, and
	should consider a less sensitive location.  I'ld be inclined to use
	something like /usr/local/smokeping/lib.

	IHTH


	Best regards,

	Niall O'Reilly
	University College Dublin IT Services

	PGP key ID: AE995ED9 (see www.pgp.net)
	Fingerprint: 23DC C6DE 8874 2432 2BE0 3905 7987 E48D AE99 5ED9





More information about the smokeping-users mailing list