Title: RE: Problem starting up nessus

George,

  You were right, Solaris use a link between init.d and rc*.d files.  I did it but it still does not work.  The error is the same:

Could not initialize OpenSSL - please use nessus-mkrand(1) first !

I think if I compile nessus without SSL support it will work fine, but I don't want to do that.

I modified a little the script and now it looks like this:


#!/sbin/sh

LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH
echo "Starting up Nessus" > /tmp/nessus-run
/usr/local/bin/nessus-mkrand
/usr/local/sbin/nessusd -D > /tmp/nessus-out 2> /tmp/nessus-error &

I added /usr/local/bin/nessus-mkrand line but it still doesn't work.  I am beginning to think that nessus is trying to find a file in a filesystem that is not mounted at the time nessus runs.  Maybe if I move the sript file to other rc*.d directory it will work. I will try to do this and will keep you  update.

Thanks again.

Jorge Corrales Romero
Proceso de Servicios
Direcci�n Administrativa de Tecnolog�as de la Informaci�n
Tel.  (506) 220 6126
Fax. (506) 220 7870
Beeper. 224 24 00



-----Mensaje original-----
De: George Theall [mailto:[EMAIL PROTECTED]]
Enviado el: viernes, 06 de febrero de 2004 8:58
Para: [EMAIL PROTECTED]
Asunto: Re: Problem starting up nessus

__ >    I am sending you a copy of both scripts.  I feel that nessus try to
>    run both it is not able to start up.

Is this the first script?

>    /etc/init.d/nessus
>
>    #!/sbin/sh
>
>    LD_LIBRARY_PATH=/usr/local/lib
>    export LD_LIBRARY_PATH
>    echo "Nessus is starting up" > /tmp/nessus-run
>    /usr/local/sbin/nessusd -D > /tmp/nessus-out 2> /tmp/nessus-error &

And this the second?

>    /etc/rc2.d/S90nessus
>
>    /etc/init.d/nessus

If so, your problem is that the second script lacks the pound-bang line
telling the shell how to execute the script.  That is, the first line
should be something like "#!/sbin/sh".

Alternatively, you could simply create /etc/rc2.d/S90nessus as a link to
/etc/init.d/nessus.  I suspect that's how Solaris sets up other start-up
scripts.


George
[EMAIL PROTECTED] _____________________________________________
Nessus mailing list
[EMAIL PROTECTED]
http://mail.nessus.org/mailman/listinfo/nessus

_______________________________________________
Nessus mailing list
[EMAIL PROTECTED]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to