Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
hostname
View previous topic :: View next topic  
Author Message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Thu Sep 13, 2007 7:52 pm    Post subject: hostname Reply with quote

Here is the problem I having:

Msql and igsuite work if I use the server without any changes. When I change the hostname in the following files; /etc/hostss /etc/HOSTNAME, after a reboot it shows the hostname as changed. However, when I try to create the igsuite databse and host option I get an error message that it can not connect to root@localhost.

I did a resolveip server1 and it comes back that it can not resolve ip for server1. If I type hostname it comes back server1.

So, this means there is someplace within the system that needs the ip or host name. Any suggestions where I should look. I've really tried but have not been successful in finding what is missing. I've been playing with sms at home since I have a broken foot. Next week I would like to setup at school and have them testing it, so any suggestions would be greatly appreciated.

thanks
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Thu Sep 13, 2007 8:07 pm    Post subject: Reply with quote

Quote:
can not connect to root@localhost


When you change hosts, by any chance remove
127.0.0.1 localhost
if you do don't.
You can try to connect root@server1

Quote:
I did a resolveip server1 and it comes back that it can not resolve ip for server1

Try to ping yourself, you might missed something, if it's no bother please post your hosts, HOSTNAME files.

I wish you a quick recovery.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Thu Sep 13, 2007 10:35 pm    Post subject: Reply with quote

I did not remove localhost :

/etc/hosts:

127.0.0.0 localhost
192.168.0.60 server1.cliqn.com server1

/etc/HOSTNAME:

server1.cliqn.com

I can ping myself and from any computer on net ping 192.168.0.60.

thanks for the help
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Thu Sep 13, 2007 10:48 pm    Post subject: Reply with quote

I believe /etc/hosts should be

Code:
127.0.0.1 localhost
127.0.0.1 server1.cliqn.com server1


Try this and tell me what's happened?

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Thu Sep 13, 2007 11:09 pm    Post subject: Reply with quote

I edited /etc/hosts and restarted mysql and network. Now I can not connect to mysql. I get access denied for user 'root' @ localhost
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Thu Sep 13, 2007 11:23 pm    Post subject: Reply with quote

/etc/hosts should be like described above...
server1 is your localhost so you have to give 127.0.0.1.
In your hosts you had 127.0.0.0 I don't know if it was a mistyped, if don't try it.
Try to reboot beside restarting services.
Try to reset root's mysql password.

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional