
1st October 2011, 21:27
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2005
Location: nj usa
Posts: 217
Thanks: 13
Thanked 10 Times in 9 Posts
|
|
ok i have taken some pictures of the directories as maybe it would make it easier i hope this helps thanks
kwick
__________________
Operating system Ubuntu Linux 10.04.4
ISPConfig Version: 3.0.4.3
Webmin version 1.580
Kernel and CPU Linux 2.6.32-40-server on x86_64
Processor information AMD Phenom(tm) II X4 945 Processor, 4 cores
Real memory 4.0 GB total
|

2nd October 2011, 09:44
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
You can find the correct file by running
Code:
cd /etc/amavis
grep -Ri myhostname
|

2nd October 2011, 17:47
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2005
Location: nj usa
Posts: 217
Thanks: 13
Thanked 10 Times in 9 Posts
|
|
i was able to change directories but when i run
Code:
grep -Ri myhostname
i get no output
Code:
0 packages can be updated.
0 updates are security updates.
No mail.
Last login: Sun Oct 2 11:24:27 2011 from 192.168.1.102
root@kwickxxxxxx:~# cd /etc/amavis
root@kwickxxxxxx:/etc/amavis# grep -Ri myhostname
__________________
Operating system Ubuntu Linux 10.04.4
ISPConfig Version: 3.0.4.3
Webmin version 1.580
Kernel and CPU Linux 2.6.32-40-server on x86_64
Processor information AMD Phenom(tm) II X4 945 Processor, 4 cores
Real memory 4.0 GB total
|

3rd October 2011, 18:59
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Can you post the outputs of , , and ? I guess your system does not have a proper hostname.
|

3rd October 2011, 19:56
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2005
Location: nj usa
Posts: 217
Thanks: 13
Thanked 10 Times in 9 Posts
|
|
root@kwickservers:~# uname
Linux
root@kwickservers:~# hostname
kwickservers.com
root@kwickservers:~# hostname -f
hostname: Name or service not known
kwick
__________________
Operating system Ubuntu Linux 10.04.4
ISPConfig Version: 3.0.4.3
Webmin version 1.580
Kernel and CPU Linux 2.6.32-40-server on x86_64
Processor information AMD Phenom(tm) II X4 945 Processor, 4 cores
Real memory 4.0 GB total
|

4th October 2011, 10:17
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Please run
Code:
echo kwickservers.com > /etc/hostname
/etc/init.d/hostname.sh start
Afterwards, run
Code:
hostname
hostname -f
Both should show kwickservers.com now.
|

4th October 2011, 14:14
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2005
Location: nj usa
Posts: 217
Thanks: 13
Thanked 10 Times in 9 Posts
|
|
root@kwickservers:~# /etc/init.d/hostname.sh start
-bash: /etc/init.d/hostname.sh: No such file or directory
__________________
Operating system Ubuntu Linux 10.04.4
ISPConfig Version: 3.0.4.3
Webmin version 1.580
Kernel and CPU Linux 2.6.32-40-server on x86_64
Processor information AMD Phenom(tm) II X4 945 Processor, 4 cores
Real memory 4.0 GB total
|

5th October 2011, 10:09
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Sorry - it's
Code:
/etc/init.d/hostname start
instead of
Code:
/etc/init.d/hostname.sh start
|
|
The Following User Says Thank You to falko For This Useful Post:
|
|

6th October 2011, 03:42
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2005
Location: nj usa
Posts: 217
Thanks: 13
Thanked 10 Times in 9 Posts
|
|
thank you all fixed
kwick
__________________
Operating system Ubuntu Linux 10.04.4
ISPConfig Version: 3.0.4.3
Webmin version 1.580
Kernel and CPU Linux 2.6.32-40-server on x86_64
Processor information AMD Phenom(tm) II X4 945 Processor, 4 cores
Real memory 4.0 GB total
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 15:13.
|
Recent comments
9 hours 25 min ago
16 hours 6 min ago
19 hours 57 min ago
21 hours 35 min ago
1 day 6 hours ago
1 day 15 hours ago
1 day 16 hours ago
1 day 19 hours ago
2 days 15 min ago
2 days 37 min ago