PDA

View Full Version : Errors during 6.10 install


knowram
7th March 2007, 06:00
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.

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.

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

ginocic
7th March 2007, 13:20
Maybe you should change
... linux-kernel-headers ...
in
... 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:

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++

knowram
7th March 2007, 13:56
I changed the command accordingly using my username for uname and also just trying uname and upon hitting return I get

>

martinfst
7th March 2007, 14:07
unameis a *nix command and should (in this case) be enclosed by back quotes.

ginocic
7th March 2007, 15:24
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...

knowram
7th March 2007, 23:48
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

knowram
8th March 2007, 01:54
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

knowram
8th March 2007, 02:33
OK now I am on the last part of step 11 the command is

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

error: 'Access denied for user: 'root@24-231-199-126.dhcp.bycy.mi.charter.com' (Using password: NO)'

Any ideas?
Thanks

knowram
8th March 2007, 04:24
I continued figuring I could go back and now I am at step 15 the command is

apt-get install proftpd proftpd-common ucf

The error I get is

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

martinfst
8th March 2007, 09:00
I continued figuring I could go back and now I am at step 15 the command is

apt-get install proftpd proftpd-common ucf

The error I get is

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
I think you can just leave out proftpd-common. Dependencies will be installed automagically.

martinfst
8th March 2007, 09:02
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

error: 'Access denied for user: 'root@24-231-199-126.dhcp.bycy.mi.charter.com' (Using password: NO)'

Any ideas?
Thanks
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:

falko
8th March 2007, 18:12
The error I got was

error: 'Access denied for user: 'root@24-231-199-126.dhcp.bycy.mi.charter.com' (Using password: NO)'

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

knowram
9th March 2007, 04:00
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)

knowram
9th March 2007, 06:06
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

falko
9th March 2007, 15:44
here is other stuff I did though
mysql> SELECT Host FROM user;
+-----------+
| Host |
+-----------+
| LBox |
| localhost |
| localhost |
+-----------+
3 rows in set (0.00 sec)

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

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.
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).

knowram
9th March 2007, 16:34
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

mysqladmin -h LBox -u root password mypassword

and got

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?

falko
10th March 2007, 11:25
Please log in to your MySQL server:

mysql -u root -p

Then switch to your mysql database:

USE mysql;

and run this query:
UPDATE user SET Host = 'LBox.bay.chartermi.net' WHERE Host = 'LBox';
FLUSH PRIVILEGES;
quit;

Then try
mysqladmin -h LBox -u root password mypassword
again.


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?Take a look here: http://www.howtoforge.com/forums/showthread.php?t=4684&highlight=ispconfig+webmin