HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: syslogd problem with /dev/log.un
Operating System - HP-UX
1838767
Members
3127
Online
110130
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2000 05:40 AM
04-12-2000 05:40 AM
syslogd problem with /dev/log.un
The syslogd man page talks about a UNIX domain socket, /dev/log.un, that the
syslogd daemon reads from. Why doesn't this socket exist? Why doesn't syslogd
create this socket when it starts up?
The reason I'm interested is that I'm trying to build Perl. Perl has an
interface to syslog called Sys::Syslog. When Perl builds it looks for a
#define'd macro called _PATH_LOG; this it what it uses for the AF_UNIX socket
path. The HPUX include file, syslog.h, does not define this macro.
syslogd daemon reads from. Why doesn't this socket exist? Why doesn't syslogd
create this socket when it starts up?
The reason I'm interested is that I'm trying to build Perl. Perl has an
interface to syslog called Sys::Syslog. When Perl builds it looks for a
#define'd macro called _PATH_LOG; this it what it uses for the AF_UNIX socket
path. The HPUX include file, syslog.h, does not define this macro.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2000 11:02 PM
04-13-2000 11:02 PM
Re: syslogd problem with /dev/log.un
Syslogd code will read from the file /dev/log.un IF the file exists. So,
program doing logging must create the AF_UNIX socket /dev/log.un and then
syslogd will read from it.
Berlene
program doing logging must create the AF_UNIX socket /dev/log.un and then
syslogd will read from it.
Berlene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2000 04:19 AM
04-14-2000 04:19 AM
Re: syslogd problem with /dev/log.un
I did not think the client program would have to create the socket for the
syslogd daemon to listen to. The client program does not have permission to
write to the /dev directory.
Also, I downloaded BSD source code for syslogd (syslogd.c). Looking thru the
code, it is syslogd that creates a unix socket and binds to the address
/dev/log.un. This allows the client program to connect to the unix socket.
syslogd daemon to listen to. The client program does not have permission to
write to the /dev directory.
Also, I downloaded BSD source code for syslogd (syslogd.c). Looking thru the
code, it is syslogd that creates a unix socket and binds to the address
/dev/log.un. This allows the client program to connect to the unix socket.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP