perfsonar-dev - Re: [pS-dev] eXist port after installing by means of the rpm
Subject: perfsonar development work
List archive
- From: Guilherme Fernandes <>
- To:
- Cc: "" <>
- Subject: Re: [pS-dev] eXist port after installing by means of the rpm
- Date: Wed, 06 Feb 2008 12:57:19 -0200
Frederic LOUI wrote:
I think the perfSONAR-MDM-product-build-guide covers everything. It might be a good idea to build a troubleshooting FAQ with the questions and issues that have already been presented.
Sorry to bother you with that, but as I'm trying to "catch up the train" ... ;-)
do you have any updated document/recommendation regarding how the developers should build perfsonar rpms ?
So, I can figure out what exactly goes wrong when supporting the developers ?Yes, we tested RRD-MA and CL-MP without problems.
Maybe everything is on the wiki ?
Did you test the document with CL-MP and I guess it has worked ?! ;-)
Cheers,
Guilherme
Thnks in advance !
Cheers/Frederic
Guilherme Fernandes a écrit :
Stijn Melis wrote:
Hi,Hi Stijn,
The problem here is that the symbolic link is wrong, it's pointing to /home/perfsonar/webapps/geant2_java-sshtelnet-mp-1.3RC1 (note there's a dash missing before RC1). This can be due to the input given at the questions made by the rpm_maker script or maybe a bug of some kind. Did you give as input the name geant2_java-sshtelnet-mp and version 1.3-RC1?Normally, all the packages, perfsonar-tomcat and perfsonar-exist
should install files that belongs to perfsonar user. So all the folder perfsonar-tomcat and perfsonar-exist
should have the following UNIX access rights: perfsonar:perfsonar with read/write access for user perfsonar.
This is the case at the moment. I have this as output:
[perfsonar@localhost
~]$ pwd
/home/perfsonar
[perfsonar@localhost
~]$ ls -l
total 18192
-rw-r--r-- 1 root root 18565049 2008-02-06 10:18 geant2_java-sshtelnet-mp-1.3RC1-1.i386.rpm
lrwxrwxrwx 1 perfsonar perfsonar 37 2008-02-05 15:46 perfsonar-exist -> /home/perfsonar/perfsonar-exist-1.1.1
drwxr-xr-x 2 perfsonar perfsonar 4096 2008-02-05 15:46 perfsonar-exist-1.1.1
lrwxrwxrwx 1 perfsonar perfsonar 38 2008-02-05 15:46 perfsonar-tomcat -> /home/perfsonar/perfsonar-tomcat-6.0.7
drwxr-xr-x 9 perfsonar perfsonar 4096 2008-02-06 11:33 perfsonar-tomcat-6.0.7
drwxr-xr-x 3 perfsonar perfsonar 4096 2008-02-06 11:33 webapps
[perfsonar@localhost
~]$ cd webapps/
[perfsonar@localhost
webapps]$ ls -l
total 12
lrwxrwxrwx 1 perfsonar perfsonar 55 2008-02-06 11:33 geant2_java-sshtelnet-mp -> /home/perfsonar/webapps/geant2_java-sshtelnet-mp-1.3RC1
drwxr-xr-x 4 perfsonar perfsonar 4096 2008-02-06 11:33 geant2_java-sshtelnet-mp-1.3-RC1
As you can see the symbolic link also belongs to the perfsonar user, yet when I try to go to that directory I get an error.
[perfsonar@localhost
webapps]$ cd geant2_java-sshtelnet-mp
-bash: cd: geant2_java-sshtelnet-mp: No such file or directory
I tried going to that directory as root, and even this does not work. I get the same error.
[root@localhost
webapps]# cd geant2_java-sshtelnet-mp
-bash: cd: geant2_java-sshtelnet-mp: No such file or directory
Tomcat also doesn't start the webservice, because it can't access that directory.
Shouldn't make any difference, and here the symbolic link is fine.When you build your own package (using perfsonar user) make sure that all the files you install
have also the same UNIX access right. (i.e perfsonar:perfsonar with read/write access for perfsonar user)
Make sure that during the telnet/ssh mp rpm building process all these UNIX rights are set accordingly.
This is output of the machine I built the rpm on:
[perfsonar@localhost
~]$ ls -l
total 44
drwxr-xr-x 9 perfsonar perfsonar 4096 Feb 5 15:33 apache-tomcat-6.0.7
drwxr-xr-x 10 perfsonar perfsonar 4096 Feb 5 15:33 geant2_java-sshtelnet-mp-1.3-RC1
drwxr-xr-x 9 perfsonar perfsonar 4096 Feb 6 10:17 rpm
-rw-r--r-- 1 perfsonar perfsonar 7127 Jan 30 15:00 rpm_maker.pl
drwxr-xr-x 3 perfsonar perfsonar 4096 Feb 5 15:42 webapps
[perfsonar@localhost
~]$ cd webapps/
[perfsonar@localhost
webapps]$ ls -l
total 12
lrwxrwxrwx 1 perfsonar perfsonar 57 Feb 5 15:42 geant2_java-sshtelnet-mp -> /home/perfsonar/webapps/geant2_java-sshtelnet-mp-1.3-RC1/
drwxr-xr-x 4 perfsonar perfsonar 4096 Feb 5 15:41 geant2_java-sshtelnet-mp-1.3-RC1
Once again, the symbolic link belongs to the perfsonar user. And here I can go into this directory using the perfsonar user:
[perfsonar@localhost
webapps]$ cd geant2_java-sshtelnet-mp
[perfsonar@localhost
geant2_java-sshtelnet-mp]$ ls
default.css happyaxis.jsp index.jsp perfsonar_logo.gif
fingerprint.jsp i18nLib.jsp main.css WEB-INF
geant2_java-sshtelnet-mp index.html partners.gif wsdd
I use two different machines (both in VMware), the one I build the rpm on is Fedora Core 6, and the other one is Fedora Core 8. Does this make a difference?
The chmod command doesn't change ownership, you can use the chown command for that (e.g. chown -R perfsonar:perfsonar ~perfsonar and then chmod u+rw ~perfsonar), but I think you don't have a problem with ownership or permissions at the moment.
Just be careful when executing perfsonar-tomcat as root, because all the files created at this time will be owned by root (e.g root:root). So afterwads if you launch the perfsonar-tomcat as perfsonar user, tomcat won't start because of the files permission ...
If you're not sure, log as root and issue the followinf command:
chown -R perfsonar:perfsonar ~perfsonar
chmod -R u+rw perfsonar:perfsonar ~perfsonar
The chmod command does not seem to work.
[root@localhost
webapps]# chmod -R u+rw perfsonar:perfsonar ~perfsonar
chmod: cannot access `perfsonar:perfsonar': No such file or directory
Best regards,
Guilherme
Hope this help.
Best regards/Frederic
Thanks,
Stijn
- Re: [pS-dev] eXist port after installing by means of the rpm, (continued)
- Re: [pS-dev] eXist port after installing by means of the rpm, Stijn Melis, 02/01/2008
- Re: [pS-dev] eXist port after installing by means of the rpm, Frederic LOUI, 02/01/2008
- Re: [pS-dev] eXist port after installing by means of the rpm, Stijn Melis, 02/01/2008
- Re: [pS-dev] eXist port after installing by means of the rpm, Stijn Melis, 02/05/2008
- Re: [pS-dev] eXist port after installing by means of the rpm, Stijn Melis, 02/05/2008
- Re: [pS-dev] eXist port after installing by means of the rpm, Frederic LOUI, 02/05/2008
- Re: [pS-dev] eXist port after installing by means of the rpm, Stijn Melis, 02/06/2008
- Re: [pS-dev] eXist port after installing by means of the rpm, Guilherme Fernandes, 02/06/2008
- Re: [pS-dev] eXist port after installing by means of the rpm, Stijn Melis, 02/06/2008
- Re: [pS-dev] eXist port after installing by means of the rpm, Frederic LOUI, 02/06/2008
- Re: [pS-dev] eXist port after installing by means of the rpm, Guilherme Fernandes, 02/06/2008
- Re: [pS-dev] eXist port after installing by means of the rpm, Stijn Melis, 02/06/2008
- Re: [pS-dev] eXist port after installing by means of the rpm, Frederic LOUI, 02/06/2008
- Re: [pS-dev] eXist port after installing by means of the rpm, Frederic LOUI, 02/01/2008
- Re: [pS-dev] eXist port after installing by means of the rpm, Stijn Melis, 02/01/2008
Archive powered by MHonArc 2.6.16.