Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

syslogd not sending hostname to remote syslog server? syslog-ng DSAU wizard ends with error

NicolaB
Occasional Visitor

syslogd not sending hostname to remote syslog server? syslog-ng DSAU wizard ends with error

Hi all,

i have several HP-UX machines (HP Release B.11.31) that need to be configured for sending auth.info logs to external syslog machine (Juniper STRM) for log retain purpose.

I've found some problems in this process, it seems that forwarded logs by HP-UX syslogd daemon do not contains "hostname" of the server, which is indeed registered in syslog.log local file and needed by remote syslog appliance to do Log Source association and parsing.

From what I've read around it seems to be a syslogd problem, am I correct?

I thoght then that switching to syslog-ng could save me from this issue.

I've read that I can configure syslog-ng in HP-UX using the DSAU wizard invoking "/opt/dsau/sbin/clog_wizard" and configuring the host as a standalone Log-forwarding client.

I tried the wizard but it ends with these errors:

 

[...]

Starting syslogd for the configuration changes to take effect.

ERROR: Unable to determine the DNS domain for host:
dbdr1

ERROR: Unable to update syslog files for local loopback
on node dbdr1.

ERROR: Unable to determine the DNS domain for host:
dbdr2

ERROR: Unable to update syslog files for local loopback
on node dbdr2.

ERROR: Errors encountered when configuring dbdr_cluster
as a log consolidation client.

[...]

 

any clue on what could be the problem?

Thanks

2 REPLIES
P Arumugavel
Respected Contributor

Re: syslogd not sending hostname to remote syslog server? syslog-ng DSAU wizard ends with error

Try to add client IP and name in hosts file on syslog server.

 

Rgds...

Vel

NicolaB
Occasional Visitor

Re: syslogd not sending hostname to remote syslog server? syslog-ng DSAU wizard ends with error

they are already in it...