Smokeping installation

Discussion in 'Installation/Configuration' started by ditCh, Oct 2, 2007.

  1. ditCh

    ditCh New Member

  2. falko

    falko Super Moderator ISPConfig Developer

    Where did you put the smokeping.cgi script? Did you copy it to the cgi-bin directory of your web site?
     
  3. ditCh

    ditCh New Member

    Yes I did, but it seems the paths where the config points to are not correct.

    I'm running ubuntu and I just apt-get installed smokeping.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the contents of smokeping.cgi?
     
  5. guardian

    guardian Member

    I also have a problem with smokeping on a Debian 4 system with ISPConfig
    I have create a new site and copied smokeping.cgi to cgi-bin directory of a new site.
    When I open http://smokeping.site/cgi-bin/smokeping.cgi all I see is a blank page or a 500 - Internal Server Error
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Any errors in Apache's error log? Did you make the CGI executable? Do you use suExec?
     
  7. guardian

    guardian Member

    1. Yes
    Code:
    [Wed Jun 18 19:56:06 2008] [error] [client 10.0.0.1] suexec policy violation: see suexec log for more details
    [Wed Jun 18 19:56:06 2008] [error] [client 10.0.0.1] Premature end of script headers: smokeping.cgi
    2. Yes
    3. Yes

    suexec log

    Code:
    [2008-06-18 19:56:06]: uid: (65534/nobody) gid: (10063/10063) cmd: smokeping.cgi
    [2008-06-18 19:56:06]: target uid/gid (65534/10063) mismatch with directory (33/10063) or program (0/0)
    Thanks, I didn't think to check log file.
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Can you go to the cgi-bin directory and post the output of
    Code:
    ls -la
    ?
     
  9. guardian

    guardian Member

    I fix it, thanks again.
    The owner of smokeping.cgi was root.
     
  10. thecuk

    thecuk New Member

    which owner should it be?
     
  11. skoena

    skoena Member HowtoForge Supporter

Share This Page