[CentOS] Hostname question

Mon Apr 8 18:46:56 UTC 2013
Jason T. Slack-Moehrle <slackmoehrle at gmail.com>

Hi Johnny:

# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=mail.meowbox.me

Jason


On Mon, Apr 8, 2013 at 11:45 AM, Johnny Hughes <johnny at centos.org> wrote:

> On 04/08/2013 01:35 PM, Jason T. Slack-Moehrle wrote:
> > Hi Mark,
> >
> > I did a reboot and not `hostname -f` says: mail.
> >
> > But I think that will still be wrong in terms of what Zimbra is looking
> for.
> >
> > When I did the install I set the hostname to `webserver.localdomain`, so
> I
> > see in /var/log/messages:
> > `Apr  7 12:35:48 webserver kernel: SRAT: PXM 0 -> APIC 0 -> Node 0`
> >
> > I think I might need to trick Zimbra bu changing:
> >
> > 192.168.1.27 mail mail.meowbox.me meowbox.me
> >
> > to
> >
> > 192.168.1.27 mail.meowbox.me mail.meowbox.me meowbox.me
> >
> >
> > Jason
> >
> > On Mon, Apr 8, 2013 at 11:26 AM, <m.roth at 5-cent.us> wrote:
> >> Jason T. Slack-Moehrle wrote:
> >>> CentOS 6.4, clean install.
> >>> Zimbra 8.0.3
> >>>
> >>> I am behind a PfSense box using a virtual IP. So the IP of the box is
> >>> 192.168.1.27
> >>>
> >>> I entered this in /etc/hosts:
> >>>
> >>> 127.0.0.1   localhost localhost.localdomain localhost4
> >>> localhost4.localdomain4
> >>> ::1         localhost localhost.localdomain localhost6
> >>> localhost6.localdomain6
> >>> 192.168.1.27 mail mail.meowbox.me meowbox.me
> >>>
> >>> but `hostname -f` says:
> >>>
> >>> $ hostname -f
> >>> hostname: Unknown host
> >>>
> >>> Do I need to put the public IP for where this record resolves? Since
> >>> PFSense is forwarding traffic from it to the virtual IP?
> >> Quick check: is the hostname showing in /var/log/messages? If not, did
> you
> >> either reboot the box, or set the hostname manually, or restart the
> >> network? It won't take effect until you do one of those.
>
> What is the hostname listed in /etc/sysconfig/network ?
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>