By changing the permissions on the directories in question, I was able to eliminate the error: ERROR: creating /var/www/smokeping/cache/mysite1: No such file or directory
I set www/smokeping/cache permissions to 777 When I clicked on a menu item the expected directory (ie mysite1)was created in www/smokeping/cache, as well as filesrrdtool.png smokeping.png y thank you for your help, Joshua On Wed, Jul 20, 2011 at 9:52 AM, Joshua Andrews <[email protected]> wrote: > Layla: > > Sounds more like a permissions issue than anything. Make sure the > /var/www/smokeping directory has the proper permissions (for testing purposes > set ownership to www:www and chmod to 777 and then back it up from there to a > more secure setting). > > Make sure smokeping is running as www:www or has permissions to > /var/www/smokeping as the user you want it to run at. > > Joshua Andrews > IT Administrator Gemvision Corporation 706 East River Drive > Davenport, IA 52803 p 800.357.6272 x143 f 563.884.8181 > http://www.gemvision.com > -----Original Message----- > From: smokeping-users-bounces+joshua_andrews=gemvision....@lists.oetiker.ch > [mailto:smokeping-users-bounces+joshua_andrews=gemvision....@lists.oetiker.ch] > On Behalf Of Layla Nahar > Sent: Tuesday, July 19, 2011 9:59 PM > To: [email protected] > Subject: [smokeping-users] errors when clicking on "SmokePing Targets" menu > items > > Hello, > > I have set up Smokeping according to the instructions at > oss.oetiker.ch. I can start the smokeping daemon, and I can run > rrdtool create and make an .rrd file, so I guess those two parts are > in working order. However, I'm getting errors rather than seeing > graphs. Can someone help me with two errors? > > when I click a link in the "SmokePing Targets" menu I see: > ERROR: creating /var/www/smokeping/cache/mysite1: No such file or directory > > Do I need to create a new directory if I add a menu item in "config", > or should that happen automatically? > Does the failure above show that I did something wrong when I set up > Smokeping? > > If I create the above missing directory , I see: > ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such > file or directory > > how does the rrd file for a host get created? (I checked RRDtools.pm > but it seems to be about working with existing rrd files.) > > I would be very grateful for any help in understanding and fixing > these errors - > > LN > > _______________________________________________ > smokeping-users mailing list > [email protected] > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > _______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
