Results 1 to 8 of 8

Thread: New cPanel/WHM Install... named.conf missing

  1. #1
    Member
    Join Date
    Jan 2007
    Posts
    5

    Default New cPanel/WHM Install... named.conf missing

    Hi all,

    I'm not new to using cPanel/WHM, but this is the first time i've installed it myself, so maybe i'm missing something simple..

    I installed cPanel sucessfully, but when i went through the inital setup i had an issue with MySQL. I found out the service doesn't start. Okay fine. (low priority issue)

    I went to go add my 1st domain, a test domain i setup with dyndns.org, but it failed to add the dns zone. (high priority issue)

    So i went to edit the DNS Zone, and here's what i get:
    Attempting to locate /etc/named.confno bind configuration presentUnable to locate Bind configuration file.

    Now i figured i had done something wrong in the install.
    So i reformatted

    So, on this install, I followed the Newbie Guide 100% just to be sure I wasn't missing anything.

    Still, my MySQL service will not start, and and i get the same error when i try to do anything DNS related:
    Attempting to locate /etc/named.confno bind configuration presentUnable to locate Bind configuration file.
    I checked, and there isnt a named.conf file in /etc. i also checked /var/named, and though there are zone files there, there is no named.conf.

    I am running Fedora Core 6, inside a VMWare Virtual Machine. (VPS license)

    Has anyone run into this problem?

    thanks,
    Daniel

  2. #2
    Member
    Join Date
    Jan 2007
    Posts
    5

    Default

    bump

    any ideas?

  3. #3
    Member adept2003's Avatar
    Join Date
    Aug 2003
    Location
    ~ "/(extra|special)/data"
    Posts
    283

    Default

    For the MySQL issue, have you tried resetting the mysql root password via WHM?

    Named issue: Have you been through the steps in WHM >> Service Configuration >> Nameserver Setup
    Chad
    Adept Hosting Ltd
    UK Web Hosting

  4. #4
    Member
    Join Date
    Jan 2007
    Posts
    5

    Default

    Yes, it cant start mySQL to change the password I haven't tried re-installing mySQL manually yet.

    Yes, i did during initial setup, i will try again now and see what happens.

  5. #5
    Member
    Join Date
    Jan 2007
    Posts
    5

    Default

    Name Server Activated
    Ensuring caching-nameserver is installed
    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    Nothing to do
    Activating name server monitoring (chkservd)
    Setting up rndc configuration
    Attempting to locate /etc/named.confno bind configuration presentUnable to locate Bind configuration file.Restarting Nameserver
    Starting named: [ OK ]
    Restarting chkservd
    Stopping chkservd: [ OK ]
    Starting chkservd: [ OK ]



    Attempting to locate /etc/named.confno bind configuration presentUnable to locate Bind configuration file.

    Excuse my french... but.. WTF?

  6. #6
    Member
    Join Date
    Jan 2007
    Posts
    5

    Default

    I found a workaround, just so everyone knows.

    I searched google for "named.conf example" and copy/pasted the localhost zone into /etc/named.conf (i had to create the file ofcourse) then i ran the dns cleanup script from inside WHM and restarted the DNS server.

    Seems to be working, i'll tell you for sure when i can.

  7. #7
    Member
    Join Date
    Jan 2007
    Posts
    28

    Default

    Well, I am now in this jam. I will try the work around shortly and see what happens, but MySql won't start so . . . any ideas?


    Lane

  8. #8
    cPanel Development cPanelKenneth's Avatar
    Join Date
    Apr 2006
    Posts
    4,125
    cPanel/WHM Access Level

    Root Administrator

    Default

    Fedora Core 6 is not supported yet, although we are working on it.

    FC6 does not provide an /etc/named.conf file. Up to this point we used what the OS vendor provides. Now we are reworking that to generate a bare-bones named.conf if one is not present.

    Could you give some more detail about the MySQL problem? Which verson of MySQL? Is there anything in the error log? Is there anything in the /etc/my.cnf file?

    If you /etc/my.cnf file is empty, try placing the following in it and restarting MySQL:

    [mysqld]
    set-variable = max_connections=500
    safe-show-database
    log-error=/var/log/mysqld.log

    If it still doesn't start, post the contents of the error log (or PM me with them)

Similar Threads

  1. /etc/named.conf missing
    By phatrik in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 08-11-2008, 01:52 PM
  2. missing entry in named.conf
    By thewebhosting in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 05-19-2008, 06:17 PM
  3. More than 50 domains of their Zone records missing in named.conf
    By gundamz in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 04-23-2008, 01:58 AM
  4. Replies: 3
    Last Post: 07-07-2006, 07:59 AM
  5. Missing Zone Files and named.conf
    By WebTrooper in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 08-20-2005, 10:41 PM