Errors during 6.10 install

Discussion in 'Installation/Configuration' started by knowram, Mar 7, 2007.

  1. knowram

    knowram New Member

    I am following the perfect setup Ubuntu 6.10 Server (Edgy Eft) guide but I am getting errors. I got my first on step 8 the command I entered was.

    Code:
    apt-get install binutils cpp cpp-4.0 fetchmail flex gcc gcc-4.0 libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev linux-kernel-headers lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++
    And the error was.

    Code:
    Package linux-kernel-headers is a virtual package provided by:
    Linux-libc-dev 2.6.17.1-11.35
    You should explicitly select one to install
    How should I change the command?

    Thanks for the help
     
  2. ginocic

    ginocic New Member

    Maybe you should change
    Code:
    ... linux-kernel-headers ...
    in
    Code:
    ... linux-headers-`uname -r` ...
    in your command. In this way, you'll get the headers of the kernel that is installed on your box.
    So, the complete command should be:

    Code:
    apt-get install binutils cpp cpp-4.0 fetchmail flex gcc gcc-4.0 libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev linux-headers-`uname -r` lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++
     
  3. knowram

    knowram New Member

    I changed the command accordingly using my username for uname and also just trying uname and upon hitting return I get

    >
     
  4. martinfst

    martinfst ISPConfig Developer ISPConfig Developer

    Code:
    uname
    is a *nix command and should (in this case) be enclosed by back quotes.
     
  5. ginocic

    ginocic New Member

    as said, you should use the commad 'as is' with no change....
    just a ' copy-and-paste'.

    uname -r -> will give you the version of your kernel.
    you need to 'pass' this 'number' to a command. you can do that with the back quotes. the terminal automagically change `uname -r` (with the back quotes)with the number of your kernel without any action from the user...

    :confused:
    sorry for my english. I hope i was clear...
     
  6. knowram

    knowram New Member

    sorry for the confusion I couldn't tell that they where back quotes and not single quotes. But now I get

    Couldn't find package linux-kernel-headers-2.6.17-10-server
     
  7. knowram

    knowram New Member

    So I just tried entering the command while logged in remotely and it worked fine. Maybe the local keyboard was not dissevered properly.


    Thanks for the help
     
  8. knowram

    knowram New Member

    OK now I am on the last part of step 11 the command is

    Code:
    mysqladmin -h server1.example.com -u root password yourrootsqlpassword
    I replaced server1.example.com with LBox.com which is the host name I gave my box

    The error I got was

    Code:
    error: 'Access denied for user: [email protected]' (Using password: NO)'
    Any ideas?
    Thanks
     
  9. knowram

    knowram New Member

    I continued figuring I could go back and now I am at step 15 the command is

    Code:
    apt-get install proftpd proftpd-common ucf
    The error I get is

    Code:
    Package proftpd-common is a virtual package provided by:
    proftpd 1.3.0-9ubuntu0.1
    You should explicitly select one to install 
    E: Package proftpd-common has no installation candidate
     
  10. martinfst

    martinfst ISPConfig Developer ISPConfig Developer

    I think you can just leave out proftpd-common. Dependencies will be installed automagically.
     
  11. martinfst

    martinfst ISPConfig Developer ISPConfig Developer

    You tell us you replaced example.com with LBox.com, yet the output of the error shows you're using 24-231-199-126.dhcp.bycy.mi.charter.com as the system name :confused:
     
  12. falko

    falko Super Moderator ISPConfig Developer

    Please log in to your MySQL server:
    Code:
    mysql -u root -p
    Then switch to your mysql database:
    Code:
    USE mysql;
    Then run this command:
    Code:
    SELECT Hostname FROM user;
    What's the output?
     
  13. knowram

    knowram New Member

    I get
    ERROR 1054 (42S22): Unknown column 'Hostname' in 'field list'
    if i enter the command
    SELECT Hostname FROM user;

    here is other stuff I did though
    mysql> SELECT Host FROM user;
    +-----------+
    | Host |
    +-----------+
    | LBox |
    | localhost |
    | localhost |
    +-----------+
    3 rows in set (0.00 sec)

    mysql> SELECT User FROM user;
    +------------------+
    | User |
    +------------------+
    | root |
    | debian-sys-maint |
    | root |
    +------------------+
    3 rows in set (0.00 sec)
     
  14. knowram

    knowram New Member

    Ok I think i got proftpd installed now. and i have moved on to installing ispconfig. I got through the install and now it is asking me to put in a host name and a domain. If I just make one up that I would like to use it says "The URL is not reachable" I have a DNS name pointed to my internet connection but i think port 81 is blocked by my ISP.

    What is it going to use this for? and how do i get past this?

    Thanks everyone for the help
     
  15. falko

    falko Super Moderator ISPConfig Developer

    Try
    Code:
    mysqladmin -h LBox -u root password yourrootsqlpassword
    then.

    You need a hostname that points to your server. If you don't have such a hostname in DNS but plan to create it, you can put that hostname in /etc/hosts for now (before you install ISPConfig).
    Otherwise you can use your IP address in the installation routine (leave the hostname empty).
     
  16. knowram

    knowram New Member

    Thanks for the help with ISPConfig that seems to be up and running now i just have to learn how to use it.

    For the mysql problem
    I tried

    Code:
    mysqladmin -h LBox -u root password mypassword
    and got

    Code:
    mysqladmin: connect to server at 'LBox' failed
    error: 'Host 'LBox.bay.chartermi.net' is not allowed to connect to this MySQL server'
    
    It looks like this it trying to check connectivity from the outside.
    And am starting to think that my ISP and if is causing a problem.
    sense that is where the .bay.chartermi.net is coming from.

    I would also like to use this box as a firewall/gateway which seems to be something I can do with webmin. Would there be a conflict if i had both webmin and ISPConfig installed?
     
  17. falko

    falko Super Moderator ISPConfig Developer

    Please log in to your MySQL server:

    Code:
    mysql -u root -p
    Then switch to your mysql database:

    Code:
    USE mysql;
    and run this query:
    Code:
    UPDATE user SET Host = 'LBox.bay.chartermi.net' WHERE Host = 'LBox';
    FLUSH PRIVILEGES;
    quit;
    Then try
    Code:
    mysqladmin -h LBox -u root password mypassword
    again.

    Take a look here: http://www.howtoforge.com/forums/showthread.php?t=4684&highlight=ispconfig webmin
     

Share This Page