Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: 0Ad^ on October 29, 2014, 09:02:46 AM
-
Hi Guys,
Good day! I've replace static IP Address of my SME Server 9.0 64bit via terminal with this command & save
vi /etc/sysconfig/network-scripts/ifcfg-eth0
and confirm save via ifconfig
now I can't connect via ssh with this error:
ssh: connect to host XX.XXX.X.X port 22: Connection refused
-
This is clearly not the way to change IP address of your server. IP configuration must go through the console menu (either login as admin on your server, or login as root and type "console")
-
Hi Guys,
Good day! I've replace static IP Address of my SME Server 9.0 64bit via terminal with this command & save
vi /etc/sysconfig/network-scripts/ifcfg-eth0
and confirm save via ifconfig
now I can't connect via ssh with this error:
ssh: connect to host XX.XXX.X.X port 22: Connection refused
That command will not change the IPTables (i.e. firewall) instructions. You should change the Ip address using the admin console.
-
Thank you Daniel B. & brianr for the effort replying. Problem solved.
-
Good day! I've replace static IP Address of my SME Server 9.0 64bit via terminal with this command & save
vi /etc/sysconfig/network-scripts/ifcfg-eth0
When you opened that file in the editor, there was a big comment block telling you not to manually change the file.
-
yeah, thank for great reminder CharlieBrady, my bad not reading it though I search first at Internet since they said so (http://lintut.com/how-to-configure-static-ip-address-on-centos-6-5-minimal/),
#------------------------------------------------------------
# !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://www.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------
lesson learned to ask first the SME Forum :lol:
-
yeah, thank for great reminder CharlieBrady, my bad not reading it though I search first at Internet since they said so...
"they" were referring to CentOS, not SME server.
-
0Ad^
Seriously you need to ignore much of the generic advice re Linux when configuring SME server.
Mainly you should learn the SME db system & learn about templates & custom templates & you use these to change most of SME server config files.
There are Howtos on both.
See links at top of Forum
-
"they" were referring to CentOS, not SME server.
I'm thinking that since it's base on CentOS, anyway Thank You Charlie.
0Ad^
Seriously you need to ignore much of the generic advice re Linux when configuring SME server.
Mainly you should learn the SME db system & learn about templates & custom templates & you use these to change most of SME server config files.
There are Howtos on both.
See links at top of Forum
oh, much appreciated Janet for this. Thank You