bind9 and mySQL errors

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

  1. FuzzMaster

    FuzzMaster New Member

    http://howtoforge.com/perfect_setup_debian_etch_p4

    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:

    Code:
    # 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
            address 192.168.1.74
            netmask 255.255.255.0
            network 192.168.0.0
            broadcast 192.168.0.255
            gateway 192.168.1.254
            # dns-* options are implemented by the resolvconf package, if installed
            dns-nameservers 192.168.1.254
            dns-search pcsscreston.ca
    
    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

    Code:
    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 Howtoforge Staff

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

    FuzzMaster New Member

    Code:
    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 da-in-f165.google.c:www ESTABLISHED4 570/firefox-bin
    tcp        0      0 warren.pcsscresto:39364 annymegaadvip1.doub:www ESTABLISHED4 570/firefox-bin
    tcp        0      0 warren.pcsscresto:45060 wf-in-f189.google.c:www 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 wa-in-f83.google.co:www ESTABLISHED4 570/firefox-bin
    tcp        0      0 warren.pcsscresto:60965 wa-in-f83.google.co:www ESTABLISHED4 570/firefox-bin
    tcp        0      0 warren.pcsscresto:60964 wa-in-f83.google.co:www ESTABLISHED4 
    Code:
    127.0.0.1       localhost.localdomain                   localhost
    192.168.1.74    warren.pcsscreston.ca.                  warren.pcsscreston.ca
    
    # 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 Howtoforge Staff

    Looks ok.

    When exactly do you get this error?
     

Share This Page