Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 13th February 2007, 18:30
anotherbigal anotherbigal is offline
Junior Member
 
Join Date: Feb 2007
Posts: 17
Thanks: 2
Thanked 0 Times in 0 Posts
Default 6.10 server Page 4 (8)

I was wondering if I had done something like that.
Ok. I will start again.
Thank you all for your help. It's all part of the learning curve
Reply With Quote
Sponsored Links
  #12  
Old 21st February 2007, 20:26
anotherbigal anotherbigal is offline
Junior Member
 
Join Date: Feb 2007
Posts: 17
Thanks: 2
Thanked 0 Times in 0 Posts
Default E: Couldn't find package ncftp

Hi again
As you suggested, I have reinstalled from a clean disk . Carfully checking that there were no typo's this time round. A different problem now.
HTML 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 lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package ncftp
This was cut and pasted into putty, but with the linux-kernal-headers removed as suggested earlier. I tried to re-run but got the same response. Where to go from here please?
Reply With Quote
  #13  
Old 21st February 2007, 20:32
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Thats not critical, you can leave out ncftp. Just execute the command again but without ncftp in it.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #14  
Old 21st February 2007, 20:41
anotherbigal anotherbigal is offline
Junior Member
 
Join Date: Feb 2007
Posts: 17
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Thanks for the advice. Will do.
Reply With Quote
  #15  
Old 16th March 2007, 22:03
anotherbigal anotherbigal is offline
Junior Member
 
Join Date: Feb 2007
Posts: 17
Thanks: 2
Thanked 0 Times in 0 Posts
Default How To 6.10 server Webpage 4 (11) MySQL

Hi again.
After a long pause I am back trying to get my set up completed again.
I have got MySQL set up but am having trouble setting passwords. Here is my output
HTML Code:
root@server1:/home/bigal# mysqladmin -u root password yourrootsqlpassword
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
root@server1:/home/bigal# mysqladmin -h server1.example.com -u root password yourrootsqlpassword
mysqladmin: connect to server at 'server1.example.com' failed
error: 'Access denied for user 'root'@'server1.example.com' (using password: NO)'
root@server1:/home/bigal#
Can anyone offer any help as to how to set the passwords please?
Reply With Quote
  #16  
Old 17th March 2007, 18:30
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Your server seems to have a password already. Have you set it before or is this a root server where your provider has already setup a password for mysql?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #17  
Old 17th March 2007, 18:56
anotherbigal anotherbigal is offline
Junior Member
 
Join Date: Feb 2007
Posts: 17
Thanks: 2
Thanked 0 Times in 0 Posts
Default

This was a clean install on a new machine so the only passwords that have been entered are my user password and my root password. There is only me here so there will be no others.
Reply With Quote
  #18  
Old 17th March 2007, 19:14
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Are you able to login to mysql when you enter:

mysql -u root -p

and then enter your root password? You can quit the mysql promt by enetring "quit;".
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #19  
Old 19th March 2007, 12:10
anotherbigal anotherbigal is offline
Junior Member
 
Join Date: Feb 2007
Posts: 17
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Hi Till

I am not able to log in to MySQL as you suggested. I get this response
HTML Code:
root@server1:/home/bigal# MySQL -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
root@server1:/home/bigal#
I am at a loss to explain where I could have entered another password. I have used two. One is my user and one as my root password. What is more, now I do not know what my MySQL password could be, or, even if I did know, how I could go about changing it.
By the way, I tried to access MySQL both from my user account as well as when I was root, and tried both passwords, both times.
Reply With Quote
  #20  
Old 19th March 2007, 12:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
 
Default

Please try this:

1) stop mysql with the start / stop script.
2) Open a new second SSH connection with e.g. putty and execute:

mysqld --skip-grant-tables

this starts mysql without authentication.

3) Now try to set a new mysql password in your first console with:

mysqladmin -u root password yourrootsqlpassword

4) Kill the mysql process in your second console that we started in 2) by pressing the keys: [ctrl] + c
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
The Perfect Setup - Ubuntu 6.10 Server Question n74jw HOWTO-Related Questions 5 27th January 2008 12:14
The Perfect Setup - Ubuntu 6.10 Server (Edgy Eft) - Page 4 hal2710 Installation/Configuration 4 4th January 2007 15:17
The Perfect Setup - Ubuntu 6.10 Server (Edgy Eft) - connection timeouts thegestetner HOWTO-Related Questions 3 15th December 2006 12:54
Webmail Relay Error palkat General 17 23rd April 2006 18:12


All times are GMT +2. The time now is 04:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.