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
  #1  
Old 28th July 2006, 23:32
LinuxNewb LinuxNewb is offline
Junior Member
 
Join Date: Jul 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help with The Perfect Setup - Ubuntu 6.06 LTS Server

I have 3 questions about the "The Perfect Setup - Ubuntu 6.06 LTS Server" howto:

1) in /etc/hosts I am not sure what I should fill in this information with....I mean I am sure the first row stays the same and the second row's ipaddress should be the static ip I put in /etc/network/interfaces but as far as server1.example.com and server1....I just have no idea what that means. Is it the url I am using for the website I built? Is it just something random? Is it my dyndns url? I mean I am just confused about that. I just put my domain in there so I guess that's why I am having problems on my second and third questions.

2)on the 4th page, at the very bottom, where it says:
mysqladmin -u root password yourrootsqlpassword
mysqladmin -h server1.example.com -u root password yourrootsqlpassword
I am getting the following error:
mysqladmin: connetc to server at 'my domain' failed
error: 'Host 'my domain' is not allowed to connect to this MySQL server
.
And again, I am sure this is due to me not setting up the /etc/hosts file right.

3)Finaly, I installed ispconfig and it ran great. Went though all the steps and everything...I go to log into it and nothing loads. I have tryed connecting to it from a different machine using my domain.com:81 (the one I put in the host file), I tryed using the static ip I put in the /etc/network/interfaces file, and nothing seems to work.

I am sure this is just me being a dummy newb at linux but any help would be greatly appreciated.
Reply With Quote
Sponsored Links
  #2  
Old 29th July 2006, 13:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by LinuxNewb
1) in /etc/hosts I am not sure what I should fill in this information with....I mean I am sure the first row stays the same and the second row's ipaddress should be the static ip I put in /etc/network/interfaces but as far as server1.example.com and server1....I just have no idea what that means. Is it the url I am using for the website I built? Is it just something random? Is it my dyndns url? I mean I am just confused about that. I just put my domain in there so I guess that's why I am having problems on my second and third questions.
Use your dyndns.org address instead of server1.example.com.

Quote:
Originally Posted by LinuxNewb
2)on the 4th page, at the very bottom, where it says:
mysqladmin -u root password yourrootsqlpassword
mysqladmin -h server1.example.com -u root password yourrootsqlpassword
I am getting the following error:
mysqladmin: connetc to server at 'my domain' failed
error: 'Host 'my domain' is not allowed to connect to this MySQL server
.
And again, I am sure this is due to me not setting up the /etc/hosts file right.
MySQL is using another server name. You can forget about this for now. Later on, when you have phpMyAdmin installed, you can go to the mysql.user table and change the server name to your dyndns.org address and restart MySQL.


Quote:
Originally Posted by LinuxNewb
3)Finaly, I installed ispconfig and it ran great. Went though all the steps and everything...I go to log into it and nothing loads. I have tryed connecting to it from a different machine using my domain.com:81 (the one I put in the host file), I tryed using the static ip I put in the /etc/network/interfaces file, and nothing seems to work.
What's the output of
Code:
netstat -tap
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 29th July 2006, 17:21
LinuxNewb LinuxNewb is offline
Junior Member
 
Join Date: Jul 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you Falko for taking the time to help me .

I have a quesiton about my dyndns.org account. All it is doing is forwarding all the traffic to my IP address with a dynamic dns host. Is that ok or do I need to use one of there other 500 services? I mean I am not using their webhop, mailhop outbound, recursive dns, sla, non of the my zone services and so on.

I will correct the /etc/hosts and /etc/postfix/main.cf but I assume that the ispconfig entery is correct? It isn't server1.example.com, it is the domain that my site is on.

the output for 'netstat -tap' is:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost.localdo:59939 *:* LISTEN 4 400/python
tcp 0 0 *:mysql *:* LISTEN 4 787/mysqld
tcp 0 0 localhost.localdo:33201 *:* LISTEN 4 397/hpiod
tcp 0 0 *:ftp *:* LISTEN 5 103/proftpd: (acce
tcp 0 0 localhost.localdoma:ipp *:* LISTEN 5 614/cupsd
tcp 0 0 *:smtp *:* LISTEN 9 504/master
tcp 0 0 localhost.localdo:33201 localhost.localdo:43750 ESTABLISHED4 397/hpiod
tcp 0 0 localhost.localdo:43750 localhost.localdo:33201 ESTABLISHED4 400/python
tcp6 0 0 *:imaps *:* LISTEN 4 536/couriertcpd
tcp6 0 0 *op3s *:* LISTEN 4 577/couriertcpd
tcp6 0 0 *op3 *:* LISTEN 4 554/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 4 513/couriertcpd
tcp6 0 0 *:www *:* LISTEN 5 173/apache2
tcp6 0 0 *:ssh *:* LISTEN 4 972/sshd
tcp6 0 0 *:smtp *:* LISTEN 9 504/master
tcp6 0 0 *:https *:* LISTEN 5 173/apache2
if you're getting smily faces on your pop3s and pop3, they should be ':' and 'p'. Once again Thank you for all your help and have a great day
Reply With Quote
  #4  
Old 29th July 2006, 17:27
LinuxNewb LinuxNewb is offline
Junior Member
 
Join Date: Jul 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

oops I forgot one thing....

I don't remember the how to saying anything about phpMyAdmin.
could you link me an how to on that or just expain it to me.

thanks again
Reply With Quote
  #5  
Old 29th July 2006, 19:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by LinuxNewb
I have a quesiton about my dyndns.org account. All it is doing is forwarding all the traffic to my IP address with a dynamic dns host. Is that ok
That's ok (as long as your dyndns.org address is pointing directly to your IP address instead of doing a redirect).

Quote:
Originally Posted by LinuxNewb
the output for 'netstat -tap' is:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost.localdo:59939 *:* LISTEN 4 400/python
tcp 0 0 *:mysql *:* LISTEN 4 787/mysqld
tcp 0 0 localhost.localdo:33201 *:* LISTEN 4 397/hpiod
tcp 0 0 *:ftp *:* LISTEN 5 103/proftpd: (acce
tcp 0 0 localhost.localdoma:ipp *:* LISTEN 5 614/cupsd
tcp 0 0 *:smtp *:* LISTEN 9 504/master
tcp 0 0 localhost.localdo:33201 localhost.localdo:43750 ESTABLISHED4 397/hpiod
tcp 0 0 localhost.localdo:43750 localhost.localdo:33201 ESTABLISHED4 400/python
tcp6 0 0 *:imaps *:* LISTEN 4 536/couriertcpd
tcp6 0 0 *op3s *:* LISTEN 4 577/couriertcpd
tcp6 0 0 *op3 *:* LISTEN 4 554/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 4 513/couriertcpd
tcp6 0 0 *:www *:* LISTEN 5 173/apache2
tcp6 0 0 *:ssh *:* LISTEN 4 972/sshd
tcp6 0 0 *:smtp *:* LISTEN 9 504/master
tcp6 0 0 *:https *:* LISTEN 5 173/apache2
if you're getting smily faces on your pop3s and pop3, they should be ':' and 'p'. Once again Thank you for all your help and have a great day
ISPConfig isn't running. Start it:
Code:
/etc/init.d/ispconfig_server start
If you get error messages, please post them here.

Quote:
Originally Posted by LinuxNewb
I don't remember the how to saying anything about phpMyAdmin.
could you link me an how to on that or just expain it to me.
Once you're logged into ISPConfig, You can go to Management -> Update Manager and install the phpMyAdmin package from here: http://www.ispconfig.org/downloads.htm
After successful installation you'll find a link to your phpMyAdmin under "Tools".
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 30th July 2006, 06:13
LinuxNewb LinuxNewb is offline
Junior Member
 
Join Date: Jul 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you SO much for helping me out . That salved all of my problems up to this point . You have been such a HUGE help. I am sure I will have questions in the future but for now I think I am content hehe.

If you have any ideas on how to make my url from godaddy look at my dyndns url that would be even better hehe. Though I hope I can figure this one out atleast LOL. Thanks again.
Reply With Quote
  #7  
Old 30th July 2006, 13:43
LinuxNewb LinuxNewb is offline
Junior Member
 
Join Date: Jul 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

WOOT!!! I got it hehe. I was up late last night working on some other stuff with the server and tryed something that worked when I checked it this morning !
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
How stable/secure is the server after the Perfect Setup (Ubuntu 6.06) install? carloscastaneda HOWTO-Related Questions 6 3rd February 2007 18:34
Having Problems loging into Mysql Database Ubuntu 6.06 Perfect Setup badgerbox76 Installation/Configuration 2 21st June 2006 23:00
HOWTO The Perfect Setup - Ubuntu 6.06 LTS Server mikeeblau Installation/Configuration 4 12th June 2006 14:08
Request: Perfect Ubuntu 6.06 LTS - Automatic LAMP Server Installation (co-location) Anim Suggest HOWTO 19 6th June 2006 11:30


All times are GMT +2. The time now is 01:30.


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