Has someone else also faced this issue as I have not been able to get this working. I have tried compiling on soalris 8 sparc and now solaris 9 sparc and all the versions 3.3.6 as well as 3.3.7. Both of them just hang without giving back the prompt. These are the compialtion options that I have used,

./configure --enable-dynamic-linking --prefix=/opt/soe/local/syslog-ng-3.3.7 --with-pidfile-dir=/var/run .

Am i missing out something or is this a known issue as I could not figure out anything otherwise since my other compilations on RHEL have went fine.




On Mon, Feb 11, 2013 at 12:17 PM, Rakesh Rajasekharan <rakesh.rajasekharan@gmail.com> wrote:
yes..below is the o/p that i receive from pstack...

# ps -ef|grep -i syslog
    root 27430 27421 46 01:37:54 ?        0:52 /opt/soe/local/syslog-ng-3.3.6/sbin/syslog-ng -f /opt/soe/local/syslog_ng/etc/s
    root 27443 27435  0 01:38:47 pts/1    0:00 grep -i syslog
# pstack 27430
27430:  /opt/soe/local/syslog-ng-3.3.6/sbin/syslog-ng -f /opt/soe/local/syslog
 ff154e50 iv_signal_prepare (ff154e24, ff0d0000, 0, ff0d6be0, 0, ffbffc50) + 2c
 fee178ac run_prefork (fee40594, fee40594, 0, ff0d6000, 24738, fee40544) + 30
 ff0bc794 fork1    (ff0d6000, ff0d0000, 24630, ff0d6be0, 0, ffbffc50) + 2c
 ff0bc8d8 fork     (ff0d0000, 4, ff18a2ec, ff0d6000, 0, 1000) + 28
 ff12110c g_process_start (12a68, ffbffd2c, 24630, fffff400, 0, ffbffc50) + 4a4
 0001145c main     (12800, 23000, ffbffd64, 230f0, 7d8, ffbffe14) + 138
 00011068 _start   (0, ffbffd4c, 1, ff3db728, ff3ee814, ff3ee000) + 5c

# pstack 27430
27430:  /opt/soe/local/syslog-ng-3.3.6/sbin/syslog-ng -f /opt/soe/local/syslog
 ff154e54 iv_signal_prepare (ff154e24, ff0d0000, 0, ff0d6be0, 0, ffbffc50) + 30
 fee178ac run_prefork (fee40594, fee40594, 0, ff0d6000, 24738, fee40544) + 30
 ff0bc794 fork1    (ff0d6000, ff0d0000, 24630, ff0d6be0, 0, ffbffc50) + 2c
 ff0bc8d8 fork     (ff0d0000, 4, ff18a2ec, ff0d6000, 0, 1000) + 28
 ff12110c g_process_start (12a68, ffbffd2c, 24630, fffff400, 0, ffbffc50) + 4a4
 0001145c main     (12800, 23000, ffbffd64, 230f0, 7d8, ffbffe14) + 138
 00011068 _start   (0, ffbffd4c, 1, ff3db728, ff3ee814, ff3ee000) + 5c

# pstack 27430
27430:  /opt/soe/local/syslog-ng-3.3.6/sbin/syslog-ng -f /opt/soe/local/syslog
 ff154e50 iv_signal_prepare (ff154e24, ff0d0000, 0, ff0d6be0, 0, ffbffc50) + 2c
 fee178ac run_prefork (fee40594, fee40594, 0, ff0d6000, 24738, fee40544) + 30
 ff0bc794 fork1    (ff0d6000, ff0d0000, 24630, ff0d6be0, 0, ffbffc50) + 2c
 ff0bc8d8 fork     (ff0d0000, 4, ff18a2ec, ff0d6000, 0, 1000) + 28
 ff12110c g_process_start (12a68, ffbffd2c, 24630, fffff400, 0, ffbffc50) + 4a4
 0001145c main     (12800, 23000, ffbffd64, 230f0, 7d8, ffbffe14) + 138
 00011068 _start   (0, ffbffd4c, 1, ff3db728, ff3ee814, ff3ee000) + 5c
#



On Fri, Feb 8, 2013 at 6:08 PM, Gergely Nagy <algernon@balabit.hu> wrote:
Rakesh Rajasekharan <rakesh.rajasekharan@gmail.com> writes:

> the truss itself does not return any o/p.... looks like something wrong
> with my machine..as I have the issue with all the version ( 3.3.6, 3.3.8).
> So, probably I will try getting another machine..

The output will be sent to the syslog-ng.truss file, that's the output
I'd be interested in.

Also, since I learned about an interesting command on Solaris the other
day: can you run "pstack $PID"? Where $PID is the pid of the hung
syslog-ng process. The output of that command could provide hints
aswell.

--
|8]

______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq