perfsonar-dev - Re: [pS-dev] broken install.pl script
Subject: perfsonar development work
List archive
- From: Frederic LOUI <>
- To: maxim <>
- Cc:
- Subject: Re: [pS-dev] broken install.pl script
- Date: Fri, 20 Jul 2007 10:22:07 +0200
- Organization: GIP RENATER
maxim a écrit :
Hello,
Hello MAXIM,
I've tried to install perfosnar-bundle from the websiteand it seems like
intall.pl script is broken ( and in many places ).
-------------
first place (while installing SQL MA and trying to go 'Basic'):
..................
perfSONAR-SQL-MA-1.3/perfsonar/src/objects.config
perfSONAR-SQL-MA-1.3/perfsonar/src/obs.pl
Continuing with installation...
Which installation type do you want?
1. Basic
2. Advanced
Please choose a number [enter to exit]: 1
Starting installation for service SQL MA...
It seems an error occurred in one of the installation steps.
Would you like to try that step again?
(yes [y] or [yes] to try, anything else goes back to the installation menu):
Welcome to the perfSONAR services installer.
---------------
What kind of error ???? Why ???? what should I do ????
------------
If you observed an error at this stage, it seems that you don't have all the required software installed.
On which platform do you try to install PerfSONAR 2.0 ? (All UNIX like OS should be fine...)
But just make sure that: (Using the native package management)
* wget is installed
* LWP (aka libwww is installed properly)
* ant package is installed
* Sometimes depending on the platform such as debian,ubuntu, nexentaOS, ant package is split in 2 parts. so make sure you have ant-optional
* gcc and its dependencies
* for RRD-MA you'll need package related to RRD development librrd2-dev
Also I STRONGLY recommend you to use the TOMCAT bundled by the installer.
And make sure your CLASSPATH , JAVA_HOME reflect the right path to the directory where reside the required jar file.
(Usually installer should cope with that without any issue....)
OK, trying again and going with already downloaded perfSONAR-SQL-MA-1.3.With PerfSONAR 2.0 it is possible to "mutualise" your TOMCAT with all the service installed in the same machine.
3. Use
/mnt/disk1/home/netadmin/LHCOPN/perfsonar-bundle-2.0/perfSONAR-SQL-MA-1.3/pe
rfsonar/
Please choose a number [enter to exit]: 3
Continuing with installation...
Which installation type do you want?
1. Basic
2. Advanced
Please choose a number [enter to exit]: 2
Available actions: 1. pre-install
2. configure
3. deploy
4. test
5. undeploy
6. enable/disable verbose
7. restart script
0. exit
Please choose a number: 3
Executing action deploy...
cat:
/mnt/disk1/home/netadmin/LHCOPN/perfsonar-bundle-2.0/perfSONAR-SQL-MA-1.3/pe
rfsonar/ant/const.properties: No such file or directory
cat:
/mnt/disk1/home/netadmin/LHCOPN/perfsonar-bundle-2.0/perfSONAR-SQL-MA-1.3/pe
rfsonar/ant/const.properties: No such file or directory
cat:
/mnt/disk1/home/netadmin/LHCOPN/perfsonar-bundle-2.0/perfSONAR-SQL-MA-1.3/pe
rfsonar/ant/const.properties: No such file or directory
cp: cannot stat
`/mnt/disk1/home/netadmin/LHCOPN/perfsonar-bundle-2.0/perfSONAR-SQL-MA-1.3/p
erfsonar/ant/const.properties': No such file or directory
An error occurred when trying to copy the file const.properties to the directory where the service was installed. The directory used was: //WEB-INF/classes/perfsonar/conf/ This file is copied so that it can be used in future modifications to the service through the use of this script. I recommend that you copy the file
/mnt/disk1/home/netadmin/LHCOPN/perfsonar-bundle-2.0/perfSONAR-SQL-MA-1.3/pe
rfsonar/ant/const.properties to the mentioned directory (or to the right one if the path detected of the service's WEB-INF directory is wrong). Press any key to continue...
-------------------
The same problem exists for RRD MA as well:
while installing RRD MA, its trying to copy
./perfSONAR-RRD-MA-2.2/perfsonar/ant/const.properties file somwhere.
The problem is that there is no such file, but there is a file
./perfSONAR-RRD-MA-2.2/perfsonar/ant/const.properties.ma.
Of course the installation is got broken at this point.
Another more complex question. How to reconfigure current perSONAR service
installed on tomcat 5.0.28 as a single SQL MA service
with definition inside of catalina.properties config file into server with
support for multiple perSONAR services.
I need to run SQL MA, RRD MA and LS on the single tomcat.
Or, please update your installation instructions on the website and include
examples how tomcat config files should look like.
Install TOMCAT once during the first service installation. For the others, just select the path to the existing TOMCAT
during the installation process.
Also, I need an example how to reconfigure cuurently used eXist to use withDuring the installation process, just create for each service a different user/password.
more than one services ( if its necessary).
So for a collection in the eXist db you'll have a diffreent user.
So that at boot time TOMCAT will consider that each service would have it own collection.
If you need to administer your collections manually you could log into the eXist db through the following URL:
http://<YOURTOMCAT>/exist/admin/admin.xql
Thanks,God luck with your installation.
Maxim Grigoriev.
Fermilab
Bgrds/Frederic
--
Frederic LOUI / GIP RENATER
Service de Suivi Operationnel / Metrologie & QoS
Network Operations Service / Metrology & QoS
Tel: +33 1 53 94 20 82 / Fax: +33 1 53 94 20 31
http://www.renater.fr
- broken install.pl script, maxim, 07/19/2007
- Re: [pS-dev] broken install.pl script, Frederic LOUI, 07/20/2007
- RE: [pS-dev] broken install.pl script, maxim, 07/20/2007
- Re: [pS-dev] broken install.pl script, Loukik Kudarimoti, 07/23/2007
- Re: [pS-dev] broken install.pl script, Loukik Kudarimoti, 07/30/2007
- Re: [pS-dev] broken install.pl script, Frederic LOUI, 07/20/2007
Archive powered by MHonArc 2.6.16.