...Thanks,Thanks and Thank you, Maxim.
...the more i read the more mistakes i make bywriting...

............................


`startup.sh` doesn't support `-u` option
the only option is to use `sudo -u .....`

your error 'Permiso denegado' is caused by incorrect permissions on
folder
please do `sudo chown -R nobody:nogroup /opt/open500`
then the run should be successful

El lun, 20-07-2020 a las 07:51 +0200, Alvaro escribió:
> Thanks Maxim, but i mean for tomcat3 script.
> sudo -u nobody $CATALINA_HOME/bin/startup.sh
> ...this command is for running from terminal, butfor tomcat3 script,
> how?
> Is it right this?:
> $CATALINA_HOME/bin/startup.sh -u nobody
> If i put the first command i get:
> [root@archi]: /home/guadal># /etc/init.d/tomcat3 startUsing
> CATALINA_BASE:   /opt/open500Using CATALINA_HOME:   /opt/open500Using
> CATALINA_TMPDIR: /opt/open500/tempUsing JRE_HOME:        /usrUsing
> CLASSPATH:       /opt/open500/bin/bootstrap.jar:/opt/open500/bin/tomc
> at-juli.jartouch: no se puede efectuar `touch' sobre
> '/opt/open500/logs/catalina.out': Permiso
> denegado/opt/open500/bin/catalina.sh: línea 505:
> /opt/open500/logs/catalina.out: Permiso denegado[root@archi]:
> /home/guadal># 
> Thanks
> 
> ........................................
> 
> 
> El lun, 20-07-2020 a las 12:02 +0700, Maxim Solodovnik escribió:
> > Hello Alvaro,
> > 
> > On Sun, 19 Jul 2020 at 17:00, Alvaro <[email protected]> wrote:
> > > Hello Maxim,
> > > 
> > > Is it right this cpmmand to run OM as nobody user?:
> > > 
> > > $CATALINA_HOME/bin/startup.sh -u nobody
> > 
> > No this will not work this wayyou need to run ir as`sudo -u nobody
> > $CATALINA_HOME/bin/startup.sh` 
> > > Thanks
> > > 
> > > 
> > > 
> > > ....................
> > 
> > 
> > -- 
> > Best regards,
> > Maxim

Reply via email to