|
From: Jamie C. <jca...@we...> - 2006-06-15 17:49:56
|
On 15/Jun/2006 02:30 Kaiser, Hans wrote ..
<blockquote type=3D"cite">
<blockquote type=3D"CITE">
<blockquote type=3D"CITE">
<font color=3D"#000000">I debugged it myself.</font><br />
<font color=3D"#000000">Here my results with the call sequence:</font><br />
<font color=3D"#000000">2. else {</font><br />
<font color=3D"#000000">=A0=A0=A0=A0=A0=A0 $get_system_hostname[$m] =3D $flag;</font><br />
<font color=3D"#000000"> </font><br />
<font color=3D"#000000">=A0=A0=A0 here I get the wrong hostname "localhost"</font><br />
<br />
<font color=3D"#000000">3. return $get_system_hostname[$m];</font><br />
<font color=3D"#000000"> </font><br />
<font color=3D"#000000">=A0=A0=A0 consequenty, here I get localhost</font><br />
<br />
<font color=3D"#000000">Does this helps?</font><br />
<br />
</blockquote>
<font color=3D"#000000">Yes, that is useful ..</font><br />
<font color=3D"#000000">If you run the command=A0 hostname -f=A0 as root at the shell prompt, what does it output?</font><br />
<br />
</blockquote>
Thats it!<br />
<br />
<font color=3D"#000000">hostname -f </font>=3D localhost
</blockquote>OK .. to fix this, edit the file /etc/webmin/config and add the line :<br />no_hostname_f=3D1<br /><br />Which Linux distribution are you running there by the way? I know that Slackware has<br />a problem with hostname -f=A0 , but others should be OK.<br /><br />=A0- Jamie<br /><br /><br />
|