[OpenIndiana-discuss] How do I debug this?

Gary Mills gary_mills at fastmail.fm
Wed Feb 8 13:30:46 UTC 2012


On Wed, Feb 08, 2012 at 08:27:03AM -0500, Gary Gendel wrote:
> 
> I've got a service set up via svc and within a few days it crashes.
> Even though fmd it says it dumped core I can't find it anywhere.  I
> even added a cd into a directory and expected the core to go there,
> but no go.  When I run it using the startup script outside of svc,
> it runs fine... No crash after several weeks. So, it probably is
> something particular to the svc running environment.
> 
> FYI, The service is a smtp TLS interface into qmail:  sslserver
> [args] smtpfront-qmail [args]
> 
> What I'd like to do is get a core when it crashes so I can get
> debugging information. Thanks.

The easy way is to use `coreadm' to set up global core dumps.
/var/core is a good place for these.  See the man page for details.

-- 
-Gary Mills-		-refurb-		-Winnipeg, Manitoba, Canada-



More information about the OpenIndiana-discuss mailing list