[smokeping-users] Trouble Starting Smokeping
Romeo
romeo at asti.dost.gov.ph
Wed Jan 13 09:01:37 CET 2010
There was an old version apache 1.3.4_1 when I try to install apache22
there's an error because it can't install apache22 because there is
existing one. So do i need to repeat everything I've done by deinstall
smokeping? I think for me to erase apache 1.3 i need to deinstall
smokeping first? this is the config I've done;
|# find /usr/local/smokeping/htdocs/img -type d -exec chmod 777 {} \;
# find /usr/local/smokeping/htdocs/img -type f -exec chmod 666 {} \;|
Chris Gotstein wrote:
> Did you install apache using the ports system?
>
> Did you put in the generated smokeping config into the apache config
> file? You also may need to set permissions on the smokeping.cgi file
> to 755.
>
> Romeo wrote:
>> Thanks.. But I still have a problem, when I check my URL
>> http://myaddress/smokeping its says page can not be displayed but if
>> I remove the smokeping just http://my address/ it will display the
>> directory. when I start the apache22 it says
>>
>> # /usr/local/etc/rc.d/apache22 start
>> /usr/local/etc/rc.d/apache22: Command not found.
>>
>> # /usr/local/sbin/apachectl start ( it will start the program)
>>
>> what to do with this this? thanks
>>
>>
>>
>> Chris Gotstein wrote:
>>> Correct. Daemonizing means that is running in the background as a
>>> process. Once you issue the start or restart, run the command:
>>>
>>> ps -aux
>>>
>>> You should see a line that says /usr/local/bin/smokeping
>>>
>>> If you see that then you know it's running.
>>>
>>> Romeo wrote:
>>>> Hi Chris,
>>>>
>>>> After commented slaves and start smokeping i got the result below;
>>>>
>>>> # /usr/local/etc/rc.d/smokeping start
>>>> Starting smokeping.
>>>> Note: logging to syslog as local0/info.
>>>> Daemonizing /usr/local/bin/smokeping ...
>>>> romeo# /usr/local/etc/rc.d/smokeping restart
>>>> Stopping smokeping.
>>>> Starting smokeping.
>>>> Note: logging to syslog as local0/info.
>>>> Daemonizing /usr/local/bin/smokeping
>>>>
>>>> What does daemonizing means? does it mean smokeping is running now?
>>>> thanks
>>>>
>>>>
>>>>
>>>> Chris Gotstein wrote:
>>>>> If you aren't using slaves, then just comment out all those
>>>>> lines. It's just there as an example for setting up a slave.
>>>>>
>>>>> Romeo wrote:
>>>>>> When I checked the error on line 111 under
>>>>>> /usr/local/etc/smokeping/config . The error is under Slaves part
>>>>>> shown below;
>>>>>>
>>>>>>
>>>>>> *** Slaves ***
>>>>>> secrets=/home/oetiker/checkouts/smokeping/trunk/software/etc/smokeping_secrets.dist
>>>>>>
>>>>>> +boomer
>>>>>> display_name=boomer
>>>>>> color=0000ff
>>>>>> +slave2
>>>>>>
>>>>>>
>>>>>> any idea what to do on this? thanks
>>>>>>
>>>>>>
>>>>>>
>>>>>> Romeo wrote:
>>>>>>> Ho Chris,
>>>>>>>
>>>>>>> after i followed your instruction below and i ran the command
>>>>>>> again;
>>>>>>>
>>>>>>> /usr/local/etc/rc.d/smokeping start
>>>>>>>
>>>>>>> Starting smokeping.
>>>>>>> ERROR: /usr/local/etc/smokeping/config, line 111: File
>>>>>>> '/home/oetiker/checkouts/smokeping/trunk/software/etc/smokeping_secrets.dist'
>>>>>>> does not exist
>>>>>>>
>>>>>>>
>>>>>>> Any suggestion? thanks
>>>>>>>
>>>>>>> Chris Gotstein wrote:
>>>>>>>> portupgrade -Nr rrdtool
>>>>>>>>
>>>>>>>> Make sure your ports tree is up-to-date
>>>>>>>>
>>>>>>>> portsnap fetch extract update
>>>>>>>>
>>>>>>>> ---- ---- ---- ----
>>>>>>>> Chris Gotstein, Sr Network Engineer, UP Logon/Computer
>>>>>>>> Connection UP
>>>>>>>> http://uplogon.com | +1 906 774 4847 | chris at uplogon.com
>>>>>>>>
>>>>>>>> Peter Kristolaitis wrote:
>>>>>>>>
>>>>>>>>> Sorry, I haven't used FreeBSD in years. I'm an OpenBSD /
>>>>>>>>> Debian guy. ;)
>>>>>>>>>
>>>>>>>>> I suspect if you search through packages and ports for 'rrd'
>>>>>>>>> you'll get
>>>>>>>>> a fairly short list to look through. Look for anything that
>>>>>>>>> has 'rrd'
>>>>>>>>> and 'perl' (or 'p5') in the name; if you can't find that, try
>>>>>>>>> the basic
>>>>>>>>> 'rrdtool' package -- IIRC, some OS/distributions package the Perl
>>>>>>>>> modules with the rrdtool binaries.
>>>>>>>>>
>>>>>>>>> - Peter
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Romeo wrote:
>>>>>>>>>
>>>>>>>>>> Hi Peter,
>>>>>>>>>>
>>>>>>>>>> Do you know where can I find that package on FreeBSD 7.1?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Peter Kristolaitis wrote:
>>>>>>>>>>
>>>>>>>>>>> You need to install the rrdtool Perl modules, either from
>>>>>>>>>>> source or from
>>>>>>>>>>> packages for your platform (e.g. librrds-perl on Debian Lenny).
>>>>>>>>>>>
>>>>>>>>>>> - Peter
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Romeo wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> Hello folks,
>>>>>>>>>>>>
>>>>>>>>>>>> I am new to smokeping and when I setup and installed the
>>>>>>>>>>>> application
>>>>>>>>>>>> when I try to run it using the command below I am getting
>>>>>>>>>>>> the error
>>>>>>>>>>>> shown below. Any suggestion what to do on this one? Thanks
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> #/usr/local/etc/rc.d/smokeping start
>>>>>>>>>>>>
>>>>>>>>>>>> Starting smokeping.
>>>>>>>>>>>> Can't locate RRDs.pm in @INC (@INC contains:
>>>>>>>>>>>> /usr/local/smokeping/lib /usr/local/lib/perl5/5.8.8/BSDPAN
>>>>>>>>>>>> /usr/local/lib/perl5/site_perl/5.8.8/mach
>>>>>>>>>>>> /usr/local/lib/perl5/site_perl/5.8.8
>>>>>>>>>>>> /usr/local/lib/perl5/site_perl
>>>>>>>>>>>> /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8
>>>>>>>>>>>> .) at
>>>>>>>>>>>> /usr/local/smokeping/lib/Smokeping.pm line 13.
>>>>>>>>>>>> BEGIN failed--compilation aborted at
>>>>>>>>>>>> /usr/local/smokeping/lib/Smokeping.pm line 13.
>>>>>>>>>>>> Compilation failed in require at /usr/local/bin/smokeping
>>>>>>>>>>>> line 6.
>>>>>>>>>>>> BEGIN failed--compilation aborted at
>>>>>>>>>>>> /usr/local/bin/smokeping line 6.
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> smokeping-users mailing list
>>>>>>>>>>>> smokeping-users at lists.oetiker.ch
>>>>>>>>>>>> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>>>>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> smokeping-users mailing list
>>>>>>>>> smokeping-users at lists.oetiker.ch
>>>>>>>>> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
More information about the smokeping-users
mailing list