Smokeping :(
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 15 of 15
  1. #1
    Join Date
    Jul 2008
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smokeping :(

    i done all the prerequisite http://oss.oetiker.ch/smokeping/doc/...nstall.en.html
    all installation sucessfully but at the end i cannot appair cgi-bin page can any one explane the step by step procedure i have FC-9

  2. #2
    Join Date
    Oct 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    smokeping

    hi,
    I experience the same problem
    did you find your answer?
    thanx

  3. #3
    Join Date
    Aug 2007
    Location
    Liverpool, UK
    Posts
    729
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ummm.... did you just try install the fedora smokeping package?

    yum install smokeping

    HTH
    C

  4. #4
    Join Date
    Oct 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes i did ( i did it also with ubuntu ( version 2.3))
    but
    when I type http://localhost/cgi-bin/smokeping.cgi
    it can't find the cgi
    there's nothing in /var/www/cgi but with ubuntu it works very well
    did i miss something?

  5. #5
    Join Date
    Aug 2007
    Location
    Liverpool, UK
    Posts
    729
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no idea. is there a smokeping file in /etc/httpd/conf.d ?

  6. #6
    Join Date
    Oct 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes it contains:
    <Directory "/usr/share/smokeping" >
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
    </Directory>

    <Directory "/var/lib/smokeping" >
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
    </Directory>

    ScriptAlias /smokeping/sm.cgi /usr/share/smokeping/cgi/smokeping.cgi
    #ScriptAlias /smokeping/tr.cgi /usr/share/smokeping/cgi/tr.cgi
    Alias /smokeping/images /var/lib/smokeping/images
    Alias /smokeping /usr/share/smokeping/htdocs

  7. #7
    Join Date
    Aug 2007
    Location
    Liverpool, UK
    Posts
    729
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well there ya go. Restart apache (/etc/init.d/httpd restart) and then try visiting these links....

    http://localhost/smokeping/sm.cgi
    http://localhost/smokeping/

    Any joy?

  8. #8
    Join Date
    Oct 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Forbidden

    You don't have permission to access /smokeping/ on this server.
    that's a selinux pb
    I fix it
    It works
    thanx a lot.

  9. #9
    Join Date
    Oct 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    there ' a pb after
    i ' ve got this message when i want to see the ping graph
    Software error:

    ERROR: creating /var/lib/smokeping/images/Ping: No such file or directory

  10. #10
    Join Date
    Aug 2007
    Location
    Liverpool, UK
    Posts
    729
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What does this command output:

    ls -al /var/lib/smokeping/

    and also

    ls -al /var/lib/smokeping/images/

  11. #11
    Join Date
    Oct 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ls -al /var/lib/smokeping/images/
    total 20
    drwxr-xr-x 2 apache root 4096 nov 9 17:33 .
    drwxr-xr-x 4 root root 4096 nov 9 15:39 ..
    -rw-r--r-- 1 apache apache 3908 nov 9 17:33 rrdtool.png
    -rw-r--r-- 1 apache apache 4382 nov 9 17:33 smokeping.png


    ls -al /var/lib/smokeping/
    total 16
    drwxr-xr-x 4 root root 4096 nov 9 15:39 .
    drwxr-xr-x 46 root root 4096 nov 7 18:56 ..
    drwxr-xr-x 2 apache root 4096 nov 9 17:33 images
    drwxr-xr-x 4 root root 4096 oct 27 21:47 rrd

  12. #12
    Join Date
    Aug 2007
    Location
    Liverpool, UK
    Posts
    729
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm, permissions look okay. Try this (as root):

    mkdir /var/lib/smokeping/images/Ping
    chmod 755 /var/lib/smokeping/images/Ping
    chown apache:root /var/lib/smokeping/images/Ping

    Then try hitting the ping graph again.

    BTW, you should really file these problems as a bug over at redhat bugzilla because things like this should be fixed by the package maintainers.

  13. #13
    Join Date
    Oct 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok
    so for resume
    i made this:
    yum install rrdtool perl-CGI-SpeedyCGI fping smokeping
    i lauch http://localhost/smokeping/sm.cgi
    and i follow your answers
    but there is still a pb:
    i think it 'is selinux too
    i will see tomorrow
    thanx

  14. #14
    Join Date
    Oct 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    selinux is the Problem
    i put it in mode permisive
    like this : echo 0 >/selinux/enforce

  15. #15
    Join Date
    Aug 2007
    Location
    Liverpool, UK
    Posts
    729
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    glad you got it working - you really should raise a bug report in redhat bugzilla to let the package maintainers know of the problems... the things you describe happening should not happen and are just a packaging problem and not a problem with the upstream software.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •