bind9 and mySQL errors

Discussion in 'HOWTO-Related Questions' started by FuzzMaster, Mar 10, 2008.

  1. FuzzMaster

    FuzzMaster New Member

    Been using that. I get to the instruction /etc/init.d/bind9 start, but it tells me it's failed. I checked the log for errors, and as far as I know, it's empty.

    My /etc/network/interfaces is as follows:

    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    # The loopback network interface
    auto lo
    iface lo inet loopback
    # The primary network interface
    #allow-hotplug eth0
    auto eth0
    iface eth0 inet static
            # dns-* options are implemented by the resolvconf package, if installed
    As far as I know, that information is correct. I can't verify today (instructor is not present) but I can by tomorrow.

    As well, whenever I try to do anything regarding mySQL, I get

    mysqladmin: connect to server at 'localhost' failed 
    I'm new to Linux, so bear with me :p If I'm not providing the necessary information, just ask and I'll get it to you.
  2. zcworld

    zcworld New Member

    can you log into the sql server
    mysql -u root -p

    ( use the -p if you set a password on root account )

    and make sure you got the mysql to start up on the boot :
  3. FuzzMaster

    FuzzMaster New Member

    Yup, I can log in just fine.
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    netstat -tap
    ? What's in /etc/hosts?
  5. FuzzMaster

    FuzzMaster New Member

    warren:/home/warren# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State PID/Program name
    tcp        0      0 localhost.localdo:59840 *:*                     LISTEN     2 507/python
    tcp        0      0 localhost.localdom:2208 *:*                     LISTEN     2 504/hpiod
    tcp        0      0 *:mysql                 *:*                     LISTEN     2 592/mysqld
    tcp        0      0 *:sunrpc                *:*                     LISTEN     2 206/portmap
    tcp        0      0 *:auth                  *:*                     LISTEN     2 885/inetd
    tcp        0      0 localhost.localdoma:ipp *:*                     LISTEN     2 737/cupsd
    tcp        0      0 localhost.localdom:smtp *:*                     LISTEN     2 868/exim4
    tcp        0      0 *:56543                 *:*                     LISTEN     2 943/rpc.statd
    tcp        0      0 warren.pcsscresto:50403 ESTABLISHED4 570/firefox-bin
    tcp        0      0 warren.pcsscresto:39364 annymegaadvip1.doub:www ESTABLISHED4 570/firefox-bin
    tcp        0      0 warren.pcsscresto:45060 ESTABLISHED4 570/firefox-bin
    tcp        0      0 warren.pcsscresto:33309 a72-246-51-80.deplo:www ESTABLISHED4 570/firefox-bin
    tcp        0      0 warren.pcsscresto:60961 ESTABLISHED4 570/firefox-bin
    tcp        0      0 warren.pcsscresto:60965 ESTABLISHED4 570/firefox-bin
    tcp        0      0 warren.pcsscresto:60964 ESTABLISHED4 
    Code:       localhost.localdomain                   localhost        
    # The following lines are desirable for IPv6 capable hosts
    ::1     ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
  6. falko

    falko Super Moderator ISPConfig Developer

    Looks ok.

    When exactly do you get this error?

Share This Page