Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2003 14:50:33 +0200
From:      Palle Girgensohn <girgen@pingpong.net>
To:        Mark Dixon <mnd2@kent.ac.uk>
Cc:        ports@freebsd.org
Subject:   Re: Tomcat 4.1 Installation Failure
Message-ID:  <CE33FD8A-9041-11D7-98DC-000502311E0D@pingpong.net>
In-Reply-To: <3ED20FEB.5040005@kent.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Yeah, without looking at the source it looks like the port does a chmod=20=

-R `find ...`  where it really has to to a find ... -exec chmod {} ;\
the argument list for chmod becomes too long....

BTW, I seem to remember that the tomcat port installs *all* its files=20
as the web server user. Is this really clever from a security=20
perspective? All tomcat needs to write to is work, webapps and perhaps=20=

conf if you want autocreated configurations, right? But this was beside=20=

the point, I guess... Try modifying the Makefile as describved above,=20
it should work.

/Palle

m=E5ndagen den 26 maj 2003 kl 15.00 skrev Mark Dixon:

> I'm trying to install Tomcat 4.1 on 5.1 beta, and I have the following=20=

> installation failure. Does anyone have any ideas as to the cause?
>
> TIA,
>
> Mark
>
>
> =3D=3D=3D>  Patching for jakarta-tomcat-4.1.24
> Installation settings:
>    Destination directory:    /usr/local/jakarta-tomcat4.1
>    Control program location: /usr/local/bin/tomcat41ctl
>    Startup script location: =20
> /usr/local/etc/rc.d/020.jakarta-tomcat41.sh
>    Location of JDK:          /usr/local/jdk1.4.1
>    Location of Java port:    java/jdk14
>    Running as (user/group):  www/www
>    HTTP port:                8180
>    Shutdown listener port:   8005
>    WARP port:                8008
>    AJP 1.3 connector port:   8009
>    Logfile stdout:          =20
> /usr/local/jakarta-tomcat4.1/logs/stdout.log
>    Logfile stderr:          =20
> /usr/local/jakarta-tomcat4.1/logs/stderr.log
>    Starting after install:   NO
>    Stop time-out:            5 sec.
> =3D=3D=3D>  Applying FreeBSD patches for jakarta-tomcat-4.1.24
> >> Removing unneeded files... [ DONE ]
> >> Customizing daemonctl.c... [ DONE ]
> >> Customizing daemonctl.1... [ DONE ]
> >> Customizing startup.sh... [ DONE ]
> >> Customizing server.xml... [ DONE ]
> =3D=3D=3D>   jakarta-tomcat-4.1.24 depends on file:=20
> /usr/local/jdk1.4.1/bin/java - fou nd
> =3D=3D=3D>  Configuring for jakarta-tomcat-4.1.24
> =3D=3D=3D>  Installing for jakarta-tomcat-4.1.24
> =3D=3D=3D>   jakarta-tomcat-4.1.24 depends on file:=20
> /usr/local/jdk1.4.1/bin/java - fou nd
> >> Creating destination directory... [ DONE ]
> >> Copying files to destination directory... [ DONE ]
> >> Compiling and installing control program... [ DONE ]
> >> Installing startup script... [ DONE ]
> >> Installing man pages... [ DONE ]
> >> Creating log files... [ DONE ]
> >> Creating symlink to tools.jar... [ DONE ]
> >> Fixing ownership settings... [ DONE ]
> >> Fixing permissions.../bin/chmod: Argument list too long
> *** Error code 2
>
> Stop in /usr/ports/www/jakarta-tomcat41.
>
>
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to=20
> "freebsd-ports-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CE33FD8A-9041-11D7-98DC-000502311E0D>