Visit Our UNIX and Linux User Community


sco remote logging problem


 
Thread Tools Search this Thread
Operating Systems SCO sco remote logging problem
# 1  
Old 06-07-2011
sco remote logging problem

Hello,

I am trying to write log from sco box to a remote host.

We already have that setting working for linux server using syslog.

With this setting(on LINUX)

Code:
*.*   @remote-host

for sco I have this

Code:
*.debug                                         /usr/adm/syslog        
 *.*                                            @remote-host

But nothing reaches to remote-host.
I have used telnet

Code:
telnet remote-host 514

It makes connection.

I normally kill syslogd and then reissue syslogd to restart syslog.

If I try

Code:
syslogd -d

I get

Code:
# syslogd -d 
off & running....
init
attempting to open source named pipe (fn = 0x804ba30)
success - fd = 3
attempting to open source internet domain socket (fn = 0x804bb40)
bind fd 4, port 514
bind failed: 102
syslogd: cannot open internet domain socket for input: bind: Address already in use
logmsg: pri 53, flags 4, from scoX, msg syslogd: cannot open internet domain socket for input: bind: Address already in use
Logging to CONSOLE /dev/console
attempting to open source unix domain socket (fn = 0x804be00)
success - fd = 4
attempting to open source os logger (fn = 0x804c070)
success - fd = 5
found 3 sources
cfline(*.debug                                       /usr/adm/syslog)
cfline( *.*                                             @remote-host)
syslogd: unknown facility name " *"
logmsg: pri 53, flags 4, from scoX, msg syslogd: unknown facility name " *"
Logging to CONSOLE /dev/console
8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 X USERS:  /usr/ad, 
X X X X X X X X X X X X X X X X X X X X X X X X X UNUSED: 
logmsg: pri 56, flags 4, from scoX, msg syslogd: restart
Logging to USERS
syslogd: restarted
logmsg: pri 15, flags 0, from scoX, msg Jun  7 12:09:59 root: kkkk
Logging to USERS
logmsg: pri 15, flags 0, from scoX, msg Jun  7 12:10:12 root: hhhhhhhhhhhhhhhh
Logging to USERS

Any ideas?

Last edited by pludi; 06-07-2011 at 02:51 PM..
# 2  
Old 06-07-2011
A quick guess from these lines:
Code:
cfline( *.*                                             @remote-host)
syslogd: unknown facility name " *"
logmsg: pri 53, flags 4, from scoX, msg syslogd: unknown facility name " *"

Lose the space at the start of the second line.
# 3  
Old 06-07-2011
Code:
# # syslogd -d 
off & running....
init
attempting to open source named pipe (fn = 0x804ba30)
success - fd = 3
attempting to open source internet domain socket (fn = 0x804bb40)
bind fd 4, port 514
bind failed: 102
syslogd: cannot open internet domain socket for input: bind: Address already in use
logmsg: pri 53, flags 4, from scoX, msg syslogd: cannot open internet domain socket for input: bind: Address already in use
Logging to CONSOLE /dev/console
attempting to open source unix domain socket (fn = 0x804be00)
success - fd = 4
attempting to open source os logger (fn = 0x804c070)
success - fd = 5
found 3 sources
cfline(*.*                                       /usr/adm/syslog)
cfline(*.*                                              @remote-host)
8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 X USERS:   /usr/adm/syslog,
8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 X FORW: remote-host
logmsg: pri 56, flags 4, from scoX, msg syslogd: restart
Logging to USERS
Logging to FORW remote-host
syslogd: sendto: Socket operation on non-socket
logmsg: pri 53, flags 4, from scoX, msg syslogd: sendto: Socket operation on non-socket
Logging to USERS
Logging to UNUSED
syslogd: restarted
logmsg: pri 15, flags 0, from scoX, msg Jun  7 14:27:47 root: jjjjjjjj
Logging to USERS
Logging to UNUSED
logmsg: pri 15, flags 0, from scoX, msg Jun  7 14:28:02 root: an other test
Logging to USERS
Logging to UNUSED

Yeah some thing changed, I think unix don't write log messages as often. I will wait till I get some messages printed to remote-host.

Last edited by polestar; 06-07-2011 at 06:07 PM..
# 4  
Old 06-08-2011
This was resolved.

Previous Thread | Next Thread
Test Your Knowledge in Computers #909
Difficulty: Easy
In computer science, a pointer is a programming language object that stores the memory address of another value located on a hard drive.
True or False?

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to login with other set of credentials while remote logging?

Below is the code. I need to login into the router if the 1st set of credentials are correct.. if wrong... then it has to check with 2nd set of credentials.. => if the credentials are correct... then it should continue.. => if the credentials are wrong(should not check for 2nd time... then... (0 Replies)
Discussion started by: scriptscript
0 Replies

2. AIX

Remote Script command logging question

I've noticed that when running a script that connects to a number of our servers (to essentially run batch commands) that the commands aren't logged in the user's .sh_history or .bash_history files. Is there a place where this is logged (assuming the script itself isn't doing the logging and I'm... (3 Replies)
Discussion started by: kneemoe
3 Replies

3. Solaris

Logging remote telnet sessions via script

Hi, My requirement - for security purpose - I want all root logins to my solaris servers are done by a script kept in a separate unix box. This script will telnet into remote solaris server with root user and log every session via log file. Now my purpose is to log every telnet session... (3 Replies)
Discussion started by: rahul_jain250
3 Replies

4. Cybersecurity

how to configure ssh2 for not asking password when logging from remote

Hi gurus, I am trying to configure ssh2 for not asking passwords when logging in from a remote machine, but it is failing. I ran the command based on the oracle documentation. down below are the steps, please do let me know how to get this solved. the steps followed $ /usr/bin/ssh-keygen2 -t dsa... (2 Replies)
Discussion started by: arunrao_oradba
2 Replies

5. AIX

how to configure ssh2 for not asking password when logging from remote

Hi gurus, I am trying to configure ssh2 for not asking passwords when logging in from a remote machine, but it is failing. I ran the command based on the oracle documentation. down below are the steps, please do let me know how to get this solved. the steps followed $ /usr/bin/ssh-keygen2 -t dsa... (1 Reply)
Discussion started by: arunrao_oradba
1 Replies

6. Shell Programming and Scripting

Problem with logging into remote host

Hi All, I am using a script for remotely logging into a rhost using telnet and shutdown a server. The script is as follows. IP = 10.24.12.23; export IP UNAME = username ; export UNAME PWD = password; export PWD CRDIR = /etc/rc.d/init.d ; export CRDIR echo "logging into remote... (4 Replies)
Discussion started by: patil_reddy
4 Replies

7. UNIX for Dummies Questions & Answers

Command Logging in SCO

Hello, new user here. I am the "administrator" for a few SCO Unix servers here, but do not have much Unix administration experience other than some basic stuff (don't ask). Anyway, I have been charged with finding a way to log all users commands for auditing purposes. This includes root. The log... (2 Replies)
Discussion started by: brian_g
2 Replies

8. Shell Programming and Scripting

logging to remote server

Hi, I want to log-in to a remote server using shell script. The server requires the following while allowing a connection: username password one - letter authorisation. How can i implement this in my script? thanks, abey (6 Replies)
Discussion started by: abey
6 Replies

9. UNIX for Dummies Questions & Answers

Delay when logging in remote

Hello again! When I log in to my computer (Ultra 5 running Solaris 8) from a pc (FTP or Telnet) I have to wait forever (about 30 seconds) before I can log in. Is this some kind of security thing? Can I turn it of? How? Anders (8 Replies)
Discussion started by: alfabetman
8 Replies

Featured Tech Videos