[GeoNetwork-users] Installing and running on RedHat Linux.

Hi -

     I've downloaded geonetwork-install-2.4.2-0.jar. I've got jdk 1.6
installed. I executed the jar, and went through the screens. As I understand
it, the next step is to go to /usr/local/geonetwork/bin and run
geonetwork-startup.sh. When I do that, it complains it cannot find the
'logs' directory. What am I doing wrong?

Thanks for any help;

Garey Mills
--
View this message in context: http://n2.nabble.com/Installing-and-running-on-RedHat-Linux-tp4550177p4550177.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Garey,

Is your jetty directory 'jetty/log' rather than 'jetty/logs'. Could be the reason
for the error as I note that the older GN2.2.0 had 'jetty/log' but the newer GN2.4.x uses jetty/logs.

Andrew

----- Original Message ----- From: "garey" <gmills@anonymised.com>
To: <geonetwork-users@lists.sourceforge.net>
Sent: Thursday, February 11, 2010 6:23 AM
Subject: [GeoNetwork-users] Installing and running on RedHat Linux.

Hi -

    I've downloaded geonetwork-install-2.4.2-0.jar. I've got jdk 1.6
installed. I executed the jar, and went through the screens. As I understand
it, the next step is to go to /usr/local/geonetwork/bin and run
geonetwork-startup.sh. When I do that, it complains it cannot find the
'logs' directory. What am I doing wrong?

Thanks for any help;

Garey Mills
--
View this message in context: http://n2.nabble.com/Installing-and-running-on-RedHat-Linux-tp4550177p4550177.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Andrew -

    Thanks for prompting me to take another look. Here is the solution I came up with. I replaced start-geonetwork.sh with

cd ../jetty
if [ -e logs/*request.log* ]; then
        rm logs/*request.log*
fi
if [ -e logs/output.log ]; then
        rm logs/output.log
fi
if [ -e logs/geonetwork.log.* ]; then
        mv logs/geonetwork.log.* logs/archive
fi
if [ -e logs/intermap.log.* ]; then
        mv logs/intermap.log.* logs/archive
fi
if [ -e logs/geoserver.log.* ]; then
        mv logs/geoserver.log.* logs/archive
fi

# try changing the Xmx parameter if your machine has little RAM
#java -Xms48m -Xmx256m -Xss2M -XX:MaxPermSize=128m -DSTOP.PORT=8079 -Djava.awt.headless=true -DSTOP.KEY=geonetwo
rk -jar start.jar ../bin/jetty.xml &

java -Xms48m -Xmx512m -Xss2M -XX:MaxPermSize=128m -DSTOP.PORT=8079 -Djava.awt.headless=true -DSTOP.KEY=geonetwor
k -jar start.jar ../bin/jetty.xml > logs/output.log 2>&1 &

Garey Mills

awalsh wrote:

Garey,

Is your jetty directory 'jetty/log' rather than 'jetty/logs'. Could be the reason
for the error as I note that the older GN2.2.0 had 'jetty/log' but the newer GN2.4.x uses jetty/logs.

Andrew

----- Original Message ----- From: "garey" <gmills@anonymised.com>
To: <geonetwork-users@lists.sourceforge.net>
Sent: Thursday, February 11, 2010 6:23 AM
Subject: [GeoNetwork-users] Installing and running on RedHat Linux.

Hi -

    I've downloaded geonetwork-install-2.4.2-0.jar. I've got jdk 1.6
installed. I executed the jar, and went through the screens. As I understand
it, the next step is to go to /usr/local/geonetwork/bin and run
geonetwork-startup.sh. When I do that, it complains it cannot find the
'logs' directory. What am I doing wrong?

Thanks for any help;

Garey Mills
--
View this message in context: http://n2.nabble.com/Installing-and-running-on-RedHat-Linux-tp4550177p4550177.html

Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------

SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork