You need to change your line in jserv.properties to match what you have
in httpd.conf

I'd suggest using the full path as you did below:
/usr/local/etc/apache/jserv.secret.key

Also, make sure jserv.secret.key exists.  It is just a text file you
can create yourself.  Fill it with random characters. I just let my
fingers type random keys.  Others use a script like:

#!/usr/bin/perl

for ($n = 0; $n < $ARGV[0]; $n++) {
  print (chr rand 256);
}

Others use:
w > jserv.secret.key
uptime >> jserv.secret.key

The choices are varied.

Patrick

On 12-Apr-99 Joao Assad wrote:
> Greetings,
> 
> Im trying to configure JServ here ... but everytime I try to
> apachectl
> start I get the following message.
> -
> You must specify a secret key, or disable this feature.
> To disable, add "ApJServSecretKey DISABLED" to your Apache
> configuration
> file.
> To use, add "ApJServSecretKey {filename}" where filename is document
> with more or less random contents, and perhaps a few kb in length.
> The Apache JServ documentation explains this in more detail.
> /usr/local/sbin/apachectl start: httpd could not be started
> -
> 
> and I DO have ApJServSecretKey in my configuration.... no matter if I
> use "ApJServSecretKey DISABLED" or
> "ApJServSecretKey /usr/local/etc/apache/jserv.secret.key" ... I'll
> always get this message.
> 
> below is what I  have in my httpd.conf right now
> 
>###### in httpd.conf #######
> 
> LoadModule jserv_module       libexec/apache/mod_jserv.so
> AddModule mod_jserv.c
> 
> <IfModule mod_jserv.so>
>         ApJServManual off
>         #ApJServSecretKey DISABLED
>         ApJServSecretKey /usr/local/etc/apache/jserv.secret.key
>         ApJServProperties /usr/local/etc/apache/jserv.properties
>         ApJServLogFile /var/log/httpd/jserv.log
>         ApJServMount /webmail /webmail
> </IfModule>
> 
> 
> 
> --
> João Assad - 515-5055
> Depto de Operações
> Domain Internet -  Navegue Voando!!!
> http://www.domain.com.br
> 
> 
> 
> 
> 
> ----------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html/>
> Problems?:           [EMAIL PROTECTED]

---
Patrick S. Gardella                    Director of Web Development 
The Creative Group    1-800-804-0783 ext 29     606-858-8029 (fax)    
http://www.cre8tivegroup.com                 PGP Key ID 0xEE2D47A9


----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to