Re: fqdn hostname fails after reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



2012/2/9 Stephen Harris <lists@xxxxxxxxxx>:
> On Thu, Feb 09, 2012 at 01:00:33AM +0100, Chris wrote:
>> Feb  9 00:49:57 x800 postfix[1387]: warning: valid_hostname: invalid
>> character 13(decimal): x800.mydomain.local?
>
> 13 is control-M.
>
> One of your config files is in DOS format and has an embedded control-M
> in it.  Check /etc/sysconfig/network.  If you "vi" it, does it show ^M
> at the end, or does the bottom line say [dos] ?
>
> When you find the file, "dos2unix" will fix it.

Thank you very very much !!

After converting...
[root@x800 sysconfig]# dos2unix network
dos2unix: converting file network to UNIX format ...

Everything works fine :)

But I do not understand why it was in DOS format?

--
Chris
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux