The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FreeBSD FrontPage 2002 Extentions

Discussion in 'General Discussion' started by lagoth, Dec 13, 2005.

  1. lagoth

    lagoth Member

    Joined:
    Apr 5, 2003
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    First, i know there are some other frontpage ext posts but this one is only for BSD!

    I have been having problems with frontpage properly installing. The errors I was getting was

    ================================
    Starting install, port: 80.

    Created: 30 Sep 2005 23:52:57 -0000
    Version: 5.0.2.2634
    Server extensions already installed on port 80.
    Reverting to upgrade.

    Starting upgrade, port: 80.

    Created: 30 Sep 2005 23:52:57 -0000
    Version: 5.0.2.2634
    Chowning Content in service /.
    Cannot chown content: user xxxxx does not exist.
    Port 80: Upgrade completed.
    Upgraded Version: 5.0.2.2634.
    Setting Password
    Frontpage passthough auth enabled!
    ============================

    In my auth.log i was seeing OWSADM.EXE denied access to /etc/spwd.db

    Seeing that frontpage works fine on a BSD Server without CPanel, I decided to put in a ticket which is still sitting unanswered over 5 days now.
    I decided to trouble shoot myself, and after searching through scripts found that
    /scripts/setupfp5 sets OWSADM to execute as USER.


    if ($isdynamic !~ /not.*dynamic/ && -x $fpfakeout) {
    open(FPF,">>","/usr/local/frontpage/${servername}:80.cnf");
    close(FPF);
    safe_chown($user,$user,"/usr/local/frontpage/${servername}:80.cnf");
    if (my $wpid = fork()) {
    waitpid($wpid,0);
    } else {
    $ENV{'LD_PRELOAD'} = $fpfakeout;
    chdir('/');
    $ENV{'PWD'} = '/';
    #cPScript::SafetyBits::setuids($user);


    Commenting this line in that script fixes the problem. Is this the correct solution? Waiting to hear from Cpanel on that if they ever reply to my ticket.

    Before doing that, I tried everything! UPCP, UPDATEFRONTPAGE, Apache Rebuild, UP Server soft, UP THIS UP THAT :) Nothing worked.

    By the way we're using STABLE BUILD on this freebsd 5.4 server.
     
Loading...

Share This Page