For the life of me I can not figure what is wrong. I have compiled and
install stunnel-4.05 on a Solaris 9 system. For some reason I get the
following error message. Any pointer would be welcome.
2004.08.11 15:25:38 LOG3[466:1]: Cannot create pid file /var/run/stunnel.pid
2004.08.11 15:25:38 LOG3[466:1]: create: No such file or directory (2)
# stunnel.conf file
cert = /usr/local/etc/stunnel/stunnel.pem
chroot = /var/run/
# PID is created inside chroot jail
pid = /var/run/stunnel.pid
setuid = nobody
setgid = nogroup
Paul E. Deering, Ph.D.
376 Stocker
Russ College of Engineering and Technology
Athens, OH 45701
PH: (740) 593-2478
FX: (740) 593-0659
dee...@ohiou.edu
> For the life of me I can not figure what is wrong. I have compiled and=
=20
> install stunnel-4.05 on a Solaris 9 system. For some reason I get the=20
> following error message. Any pointer would be welcome.
>=20
> 2004.08.11 15:25:38 LOG3[466:1]: Cannot create pid file /var/run/stunnel.=
pid
> 2004.08.11 15:25:38 LOG3[466:1]: create: No such file or directory (2)
is there a /var/run/ directory? is it writable as the user running
stunnel?
--=20
Brian Hatch The roll of elder
Systems and brother is being
Security Engineer more than adequately
http://www.ifokr.org/bri/ performed ... by my
elder brother.
Every message PGP signed
--3oCie2+XPXTnK5a5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFBGtTJP+Nf30gFDwERApSQAJwNR6erVy8aMc9O+fGRWr56O/liFACeJHhQ
5mBnghr+8W9fBzpHCK3r4zo=
=32Ny
-----END PGP SIGNATURE-----
--3oCie2+XPXTnK5a5--
Is there a /var/run/var/run directory? IIRC it does a chroot b4 writing the
pid file.
C.
Just for fun I put everything in /tmp and I still get the same error
message. I su to nobody and created a file in /tmp just to be sure I have
the proper permissions.
mailhub{root}32: ls -ld /tmp
drwxrwxrwt 5 root sys 445 Aug 12 05:58 /tmp/
Error message from stunnel
2004.08.12 05:56:47 LOG3[844:1]: Cannot create pid file /tmp/stunnel.pid
2004.08.12 05:56:47 LOG3[844:1]: create: No such file or directory (2)
#stunnel.conf
# Comment it out on Win32
cert = /usr/local/etc/stunnel/stunnel.pem
chroot = /tmp
# PID is created inside chroot jail
pid = /tmp/stunnel.pid
setuid = nobody
setgid = nogroup
At 07:24 PM 08/11/2004 -0700, Brian Hatch wrote:
> > For the life of me I can not figure what is wrong. I have compiled and
> > install stunnel-4.05 on a Solaris 9 system. For some reason I get the
> > following error message. Any pointer would be welcome.
> >
> > 2004.08.11 15:25:38 LOG3[466:1]: Cannot create pid file
> /var/run/stunnel.pid
> > 2004.08.11 15:25:38 LOG3[466:1]: create: No such file or directory (2)
>
>is there a /var/run/ directory? is it writable as the user running
>stunnel?
>
>--
>Brian Hatch The roll of elder
> Systems and brother is being
> Security Engineer more than adequately
>http://www.ifokr.org/bri/ performed ... by my
> elder brother.
>Every message PGP signed