mysql password problem

Discussion in 'Installation/Configuration' started by brianetilley, Dec 7, 2005.

  1. brianetilley

    brianetilley New Member

    I bought a domain for ISPConfig to use exclusively, 'www.hostesp1.com'. I changed the '@' record to point to my servers IP. The alias 'www' points to '@'. I entered this IP in the 'config.inc.php' file, ["server_url"] = "IP";. I then setup this new domain with hosts ns1 - ns6 .hostesp1.com. I have tried using http and https...with or without the port ':81' to reach ISPConfig with no luck. I get 'connection refused' or 'no data' errors. I am stuck again...
     
  2. falko

    falko Super Moderator ISPConfig Developer

    hostesp1.com and www.hostesp1.com now point to 68.149.224.197. Is this your server's IP address?

    BTW, I get no answer section when I do a dig on ns1 - ns6.hostesp1.com. But maybe we have to wait. It can take up to 72 hours until DNS records propagate...
     
  3. brianetilley

    brianetilley New Member

    Yes, that is the IP of my server(eth0). I have a two port NIC with the second port (eth1) being 68.149.224.198 I wanted to configure eth1 as the mail and DNS server's IP.

    Brian
     
  4. falko

    falko Super Moderator ISPConfig Developer

    I can't ping neither 68.149.224.197 nor 68.149.224.198 so I guess something's wrong there (or your firewall is blocking pings). What's the output of
    Code:
    ifconfig
    ?
     
  5. brianetilley

    brianetilley New Member

    Here is the output of ifconfig;

    eth0 Link encap:Ethernet HWaddr 00:50:8B:DF:D0:18
    inet addr:68.149.224.197 Bcast:68.255.255.255 Mask:255.255.252.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:2387753 errors:0 dropped:0 overruns:0 frame:0
    TX packets:81 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:150040962 (143.0 MiB) TX bytes:6582 (6.4 KiB)
    Interrupt:29 Base address:0x5000 Memory:ecbf0000-ecbf0038

    eth1 Link encap:Ethernet HWaddr 00:50:8B:DF:D0:19
    inet addr:68.149.224.198 Bcast:68.255.255.255 Mask:255.255.252.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:2387753 errors:0 dropped:0 overruns:0 frame:0
    TX packets:288 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:149921147 (142.9 MiB) TX bytes:28154 (27.4 KiB)
    Interrupt:28 Base address:0x5020 Memory:ecbe0000-ecbe0038

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:321 errors:0 dropped:0 overruns:0 frame:0
    TX packets:321 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:19473 (19.0 KiB) TX bytes:19473 (19.0 KiB)

    Brian
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Your Broadcast is wrong. If your IP address is 68.149.224.197 and the subnet mask 255.255.252.0, then the Broadcast should be 68.149.227.255, not 68.255.255.255. The same goes for your other IP address. Have a look at www.subnetmask.info. That web site is very useful. :)
     
  7. brianetilley

    brianetilley New Member

    What file do I edit? I found /etc/network/interfaces but it only lists the address, netmask, and gateway -no broadcast address. Should I add a line for the broadcast address?

    Brian
     
  8. falko

    falko Super Moderator ISPConfig Developer

    It's /etc/network/interfaces, if you're using Debian.

    The file should look something like this:

    Code:
    # The loopback interface
    auto lo
    iface lo inet loopback
    
    # The first network card - this entry was created during the Debian installation
    # (network, broadcast and gateway are optional)
    auto eth0
    iface eth0 inet static
            address 192.168.0.100
            netmask 255.255.255.0
            network 192.168.0.0
            [B][COLOR="Red"]broadcast 192.168.0.255[/COLOR][/B]
            gateway 192.168.0.1
    Of course, you have to replace the values, and yes, you can add a broadcast line.

    Restart the network afterwards:
    Code:
    /etc/init.d/networking restart
     
  9. brianetilley

    brianetilley New Member

    Hi,

    I had to reinstall ISPConfig after resolving a server issue. I was wondering if I should put the nameservers I configured for the www.hostesp1.com in the /etc/resolv.conf file. I have a two port NIC, each with its own stativ IP. I wanted to use one IP for the web server and the other one for DNS and mail server. Is there any advantage to doing this?...or does it make any difference one way or the other. Thank you for all your help...

    Brian
     
  10. falko

    falko Super Moderator ISPConfig Developer

    You can put in any resolving name server you know of, e.g. the ones of your ISP, the ones from the "Perfect Setup" tutorials on HowtoForge or your own name servers.

    I don't see any advantage/disadvantage in doing it this way.
     
  11. rbkcbe

    rbkcbe New Member

    Solution to MySQL NO password problem

    instead of mysqladmin, use mysql command like below

    mysql -u root -p

    this will prompt to enter the password for user - root.

    You will be greeted with mysql prompt.

    Try this it worked for me after lots of experiment

    -Bala
     

Share This Page