MyDNS cannot connect to database

Discussion in 'Installation/Configuration' started by sizzlefire, Mar 1, 2009.

  1. sizzlefire

    sizzlefire New Member

    Hello, I followed the guide located on ISPconfig.com to install ISPconfig, however for some reason when I type the command to start or stop myDNS, i get the follwoing error:

    Code:
    robert@robert-laptop:~$ /etc/init.d/mydns start
    Starting DNS server: mydnsmydns[31769]: error loading gid for group `nobody'
    mydns[31769]: using gid 65534 from user `nobody'
    mydns[31769]: Error connecting to MySQL server at localhost: Access denied for user 'username'@'localhost' (using password: YES) (errno=0)
    robert@robert-laptop:~$ 
    
    The strange thing is, if I edit /etc/init.d/mydns.conf, it does not reflect in the error message.

    Can someone please help me figure out what I'm doing wrong.
     
  2. till

    till Super Moderator

    Please install ISPConfig before you start mydns as mydns is not configured before ispconfig is installed.
     
  3. sizzlefire

    sizzlefire New Member

    I have installed mydns then i have installed ispconfig.

    ISPconfig is already setup and running...

    But the myDNS isnt working and i get that error. I have tryed to edit the config, and it does not work.
     
  4. till

    till Super Moderator

    Which linux distribution do you use?
     
  5. sizzlefire

    sizzlefire New Member

    I am currently using Ubuntu 8.10
     
  6. till

    till Super Moderator

    The config does not has to be edited manually, it is written by the installer.

    1) Download the latest ispconfig 2 release and unpack it.
    2) run the uninstall.php script which is in the install folder.
    3) Mkae sure that the ispconfig mysql database is deleted.
    4) Reinstall ispconfig, make sure that you use the mysql root user to install it and no other mysql user.
     

Share This Page