Sponsored Content
Full Discussion: /dev/log as socket
Operating Systems HP-UX /dev/log as socket Post 302595764 by Peasant on Sunday 5th of February 2012 12:09:40 AM
Old 02-05-2012
Stop your syslog daemon.
Delete the /dev/log using rm, then restart the syslog daemon.
That should create socket /dev/log

Regards
Peasant.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Socket programming in bash (using /dev/udp)

Hi, I am trying to write 2 simple scripts. One to echo a message into a socket, and the other to read from it. There are many tutorials about, but they're mostly about retrieving web pages through a socket. The code I'm trying is echo qwerty > /dev/udp/localhost/22 (the first port I found that... (2 Replies)
Discussion started by: zeppelin147
2 Replies

2. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies

3. Shell Programming and Scripting

How to redirect the import log to /dev/null?

Hi i am running oracle database import through a script and script scans the import log to see if there are any errors. Now the porblem is that when i run the script the import log appears on the screen even if i direct the output of import to /dev/null. imp "'/ as sysdba'"... (5 Replies)
Discussion started by: vinoo128
5 Replies

4. UNIX for Advanced & Expert Users

connect problem for sctp socket (ipv6 socket) - Runtime fail Invalid Arguments

Hi, I was porting ipv4 application to ipv6; i was done with TCP transports. Now i am facing problem with SCTp transport at runtime. To test SCTP transport I am using following server and client socket programs. Server program runs fine, but client program fails giving Invalid Arguments for... (0 Replies)
Discussion started by: chandrutiptur
0 Replies

5. UNIX for Advanced & Expert Users

when a process fails to write to /dev/log

Hi , when a process fails to write to /dev/log ? (1 Reply)
Discussion started by: Gopi Krishna P
1 Replies

6. IP Networking

Clarification - Setting socket options at the same time when socket is listening

I need clarification on whether it is okay to set socket options on a listening socket simultaneously when it is being used in an accept() call? Following is the scenario:- -- Task 1 - is executing in a loop - polling a listen socket, lets call it 'fd', (whose file descriptor is global)... (2 Replies)
Discussion started by: jake24
2 Replies

7. Solaris

Lun remove, stuck in /dev/dsk and /dev/rdsk

So, we removed a LUN from the SAN and the system is refusing to remove the references to it in the /dev folder. I've done the following: devfsadm -Cv powermt -q luxadm -e offline <drive path> luxadm probe All those commands failed to remove the path. The drive stills shows up as <drive... (13 Replies)
Discussion started by: DustinT
13 Replies

8. AIX

Problem in /dev/hd1 and /dev/hd9var

Hello AIXians, I can't boot my AIX, it hangs and stops at the code error: 0518 After searching google, I knew the problem is due to problems in File Systems. So the solution is booting from any bootable media, then run these commands in maintenance mode: #fsck -y /dev/hd4 #fsck -y... (3 Replies)
Discussion started by: Mohannad
3 Replies

9. Shell Programming and Scripting

Automating partitioning setup of /dev/sda on /dev/sdc

Objective: To recreate the partitioning setup of /dev/sda on /dev/sdc How would I parse the below information and initialize variables (an array?) that can be used to build sgdisk commands in a script, regardless of the number of partitions? Something along the lines of: sgdisk -n... (12 Replies)
Discussion started by: RogerBaran
12 Replies

10. Red Hat

Changing grub from /dev/sda to /dev/sdb

Hi, Please suggest steps to change grub from /dev/sda to /dev/sdb, (1 Reply)
Discussion started by: manoj.solaris
1 Replies
HA_LOGD(8)						  System administration utilitie						HA_LOGD(8)

NAME
ha_logd - Logging Daemon for High-Availability Linux SYNOPSIS
ha_logd [-s] [-k] [-d] [-h] [-c file] DESCRIPTION
ha_logd is a logging daemon for Linux-HA. It receives messages from a local domain socket /var/lib/heartbeat/log_daemon, and writes them to appropriate files and syslog if enabled. The reason for utilizing this logging daemon is that occasionally Heartbeat suffers from disk I/O delays. By sending log messages to a logging daemon, heartbeat can avoid such I/O delays. OPTIONS
The following options are supported: -s Show ha_logd status (either running or stopped) -k Stop (kill) the daemon -d Daemonize (without this option, ha_logd will run in the foreground) -h Show a brief usage message -c file Configuration file. You may configure a regular log file, debug log file, log facility, and entity. For details, see the example ha_logd.cf file found in the documentation. FILES
o /var/run/ha_logd.pid - PID file o ha_logd.cf - example configuration file SEE ALSO
heartbeat(8), ha_logger(1) AUTHORS
Alan Robertson <alanr@unix.sh> ha_logd Guochun Shi <gshi@ncsa.uiuc.edu> ha_logd Marowsky-Bree Lars <lmb@suse.de> ha_logd Florian Haas <florian.haas@linbit.com> man page cluster-glue 1.0.9 December 8, 2009 HA_LOGD(8)
All times are GMT -4. The time now is 08:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy