multiple instances of syslogd - is it possible?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users multiple instances of syslogd - is it possible?
# 1  
Old 07-13-2004
Lightbulb multiple instances of syslogd - is it possible?

I would like to start up multiple instances of syslog daemon. I am having a little difficulty. Is this at all possible?

I have separate syslog.conf1.... syslog.conf5 files.
I have linked the daemon to separate files syslogd1 ... syslogd5
I have arranged the rcd.2 start/stop scripts for multiple instances

however, they don't appear to be running ?

I have placed the daemon in debug mode and I guess I got my answer unless someone knows how to do some magic.

logerror(1): syslogd: syslogd pid 7213 already running. Cannot start another syslogd pid 2974


Last edited by Gary Dunn; 07-13-2004 at 01:43 PM..
# 2  
Old 07-14-2004
And you want multiple syslogs running why???


On startup the syslog puts it's pid into a file - on Solaris it's /etc/syslog.pid. Since each instance you try to start is going to look for this file and not start another instance if it's running, I don't see how you can get around it (as I don't see any options in starting to not look at the file or to change it).

If you are looking to output to multiple log files or to other systems, you can do this with one syslog process. Provide more information on what you are trying to accomplish.
# 3  
Old 07-14-2004
Thank you.

However, I fully understand the syslog implementation. I am just seeking a resolve to a problem I have. I have placed a case with SUN. The reason is simple. As with many other daemons as Tuxedo and Orbix you can run separate instances within separate environments.

I need to do this to try to distribute the load. I believe the syslogd is over taxed. rouglhy 1% of my messages are getting corrupted.

thanks again.
# 4  
Old 07-14-2004
Are these locally generated messages? Or do they arrive over the network?
# 5  
Old 07-14-2004
over the network. I have 24 authentication servers, 4 session management servers, 9 accounting servers feeding a single syslog server. I use local4 , local5 and local6 files. These files get real big. lots of data.
# 6  
Old 07-14-2004
That's the problem. The syslog ptotocol is based on UDP which is inherently unreliable. If packets get trashed in transport, the network layers make no effort to correct them. Even delivery of the packets is not guaranteed. Sorry for the bad news.
# 7  
Old 07-14-2004
makes sense thanks - I did not even think to think on that layer.

Is there a way to ensure it is getting trashed over the network and not by the daemon process itself being over taxed?

I was hoping to be able to prove that out - but it does not look possible now.

thanks again.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Connecting to multiple instances on the same server

I have a db server with two instances...trying to create an expect script that will scan both the listener and the alert log files and retrieve their sizes. Issue we have is that the .profile is hard coded with one of the databases name and script is always pulling from the same instance (testdb1)... (1 Reply)
Discussion started by: donpasscal
1 Replies

2. Programming

Multiple instances of pthread

Suppose I declare pthread_t clear_thread; and then pthread_create(&clear_thread, &detach, clear_message, this); the thread is supposed to go away, perform the service it is intended to procide, and then kill itself. A little while later, I require this service again, so I say ... (2 Replies)
Discussion started by: clerew
2 Replies

3. Programming

Control multiple program instances - open multiple files problem

Hello. This shouldn't be an unusual problem, but I cannot find anything about it at google or at other search machine. So, I've made an application using C++ and QtCreator. I 've made a new mime type for application's project files. My system (ubuntu 10.10), when I right click a file and I... (3 Replies)
Discussion started by: hakermania
3 Replies

4. Shell Programming and Scripting

Grep with multiple instances of same pattern

Hi, This is my text file I'm trying to Grep. Apple Location Greenland Rdsds dsds fdfd ddsads http Received Return Immediately Received End My Grep command: grep only--matching 'Location.*Received' Because the keyword Received appears twice, the Grep command will stop at the last... (3 Replies)
Discussion started by: spywarebox
3 Replies

5. Shell Programming and Scripting

Grep with multiple instances of same pattern

Hi, This is my text file I'm trying to Grep. Apple Location Greenland Rdsds dsds fdfd ddsads http Received Return Immediately Received End My Grep command: grep only--matching 'Location.*Received' e. Because the keyword Received appears twice, the Grep command will stop at the last... (0 Replies)
Discussion started by: spywarebox
0 Replies

6. Shell Programming and Scripting

Multiple instances of a job.

Could you please let me know how to create/make a multiple instances of a job/process in ksh(shell scripting). i.e., at present the parent script is calling another child/dependent script for only once. What we want is, the parent script itself has to execute multiple times, and in each one it... (1 Reply)
Discussion started by: Gangegowda
1 Replies

7. AIX

multiple instances of same vg on same AIX machine

hi, i am new to AIX and to this forum as well. Can you please help me out with following issue/requirement 1) I have one physical volume (pv1) (a scsi disk). (pv1) on 1st AIX machine. I have a single volume group on it(vg1). 2)I removed it from the 1st AIX machine and exported to the 2nd... (1 Reply)
Discussion started by: navadeep
1 Replies

8. Solaris

ypbind - multiple instances starting

I have built this Solaris 10 server, uses NIS. When the server starts up, two instances of ypbind start. This prevents the server from binding to any domain. The SMF in turn prevents any other network services (sshd and the like) from starting up. Has anyone seen this problem before? (0 Replies)
Discussion started by: blowtorch
0 Replies

9. Shell Programming and Scripting

detecting multiple instances

Hi Gurus I have a requirement like this. i use solaris OS.. if there are 2 instances of the same ksh file running in the directory, i need to kill the ksh file that started to run latest. suppose ragha.ksh starts running thru cron in abc/xyz directory now ragha.ksh started running by any... (3 Replies)
Discussion started by: ragha81
3 Replies

10. UNIX for Dummies Questions & Answers

Multiple file instances

I am capturing text based reports with a specific program, which works no problem. However, since I send report warehouse output as they are migrated from the database software, on occasion when two capture process' initiate simultaneously, the capture file locks up. Is there a way to setup (in... (1 Reply)
Discussion started by: gozer13
1 Replies
Login or Register to Ask a Question