Skip to Content.
Sympa Menu

perfsonar-dev - [pS-dev] Problem with SQL MA setup - BWCTL MP service

Subject: perfsonar development work

List archive

[pS-dev] Problem with SQL MA setup - BWCTL MP service


Chronological Thread 
  • From: Lukasz Lopatowski <>
  • To: " List" <>
  • Subject: [pS-dev] Problem with SQL MA setup - BWCTL MP service
  • Date: Tue, 16 Aug 2011 12:01:58 +0200

Hi all,

Following the bug reported by Paul Gray and the discussion we had (attached) I made some tests of the Debian PS DVD installation. And ...

I noticed that when the BWCTL MP software is installed (from the DVD) on one machine with other Java based services (LS, AS, RRD MA, SQL MA) the owner of files in the /var/lib/tomcat5.5/webapps/<java service name>/WEB-INF/classes/perfsonar/conf/ directories is changed to "perfsonar perfsonar". This in fact caused the bug reported by the user. I do not make any additional configuration operations when installing the perfsonar-oppd-mp-bwctl service.

I didn't experience that on CentOS installation.

Do we consider this behaviour as a bug or something to be improved? Or should I just add some appropriate instructions to the automatic installation script to change the owner of those files back to "tomcat55 root"?


Best regards,
Lukasz


--
Lukasz Lopatowski
PSNC
Poznan Supercomputing and Networking Center
Network Department
skype: lukasz.lopatowski.psnc




W dniu 2011-08-11 14:13, Roland Karch pisze:
Hi Lukasz,

-----Original Message-----
From:

[
]
On Behalf Of Lukasz Lopatowski
Sent: Thursday, August 11, 2011 11:33 AM
To: Roland Karch
Cc: SA2 Task3
()
Subject: Re: [gn3-sa2-t3] FW: [perfsonar-user] Having a simple problem with
SQL MA setup

Dear Roland, all,

Sorry for the delayed response.
Oh no worries, I think we're doing well so far, the issue was raised 20 hours
ago and already seems resolved for the user. That's quite good!

The problem that Paul is facing is indeed related to write rights to file

/var/lib/tomcat5.5/webapps/geant2-java-sql-ma/WEB-
INF/classes/perfsonar/conf/service.properties.
I have heard back from him that he further had issues with other files too:
components.properties
service.properties
servlet.properties
wizard.properties

This is caused by the automatic PS DVD installation during which after SQL MA
service installation some additional service configuration is performed
including setting user password to the Exist DB in the above file.
This causes the owner of the service.properties file change to root.
In Paul's installation they were apparently owned by perfsonar:perfsonar.

I see that in the current version of the Admin Guide this password is set via
the Web Admin. I think that in previous AG there was an instruction to make
the change of the password manually in the file that's why I made the change
automatic in a script.

How should I proceed? Should I remove this automatic operation (or fix it -
not change file owner), build PS DVD Debian image and upload it to the
repository, or should we make some additional comment somewhere in the
Admin Guide?
I would vote for actually fixing the issue in the package if it is fixable,
rather than document the issue. One suggestion would be to add the tomcat
user to the perfsonar unix group and make the properties files writable by
that group. That way changes made through the web interface to these files
should be possible.

With best wishes,
Roland





Archive powered by MHonArc 2.6.16.

Top of Page