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.

Suse 9.0 - the strange feeling

Discussion in 'General Discussion' started by deddy, Jul 31, 2004.

  1. deddy

    deddy Well-Known Member

    Joined:
    Oct 13, 2003
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    After the set up of my first two Suse 9 operating systems,
    I got a lot of problems to install WHM/cPanel properly.

    I fixed a lot of problems manually :

    - exim was not installed
    - spamassassin was not installed
    - FrontPage was not installed
    - Portsentry was not installed
    - Mailman directory was not installed
    - proftpd damaged

    Unfortunately I was unable to fix the named problem.

    WHM is modifying the named.conf entries regarding the path
    /var/named/

    The zone files generated by WHM are also stored to the /var/named
    directory.

    This is wrong because the correct path on SuSE is /var/lib/named

    I changed the scripts adddns and wwwacct in this matter,
    but without any success.

    WHM domain and DNS creation is still using /var/named

    My question is : what script of WHM and or cPanel is responsible
    for the named.conf entry and the creation of the zone.file of a
    new generated domain account ?

    The only thing I want to do is to change the path from /var/named
    to /var/lib/named in this script so it will work correctly.
     
  2. Pyro411

    Pyro411 Active Member

    Joined:
    Oct 2, 2002
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Stanton, Michigan.
    Hmm this wouldn't be a total fix but it should trick everything into being created in the proper areas...

    Have you tried setting up a Symbolic Link?

    ln -s /var/lib/named /var/named
     
  3. deddy

    deddy Well-Known Member

    Joined:
    Oct 13, 2003
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    SuSE 9.0

    symlinks were unable to fix that problem, because named was chrooted.
    You have to disable chroot : NAMED_RUN_CHROOTED="no"

    By default it is "yes"

    Now it's running fine.
     
Loading...

Share This Page