perfsonar-dev - [pS-dev] Problem with SQL MA setup - BWCTL MP service
Subject: perfsonar development work
List archive
- 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-----Oh no worries, I think we're doing well so far, the issue was raised 20 hours
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.
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 fileI have heard back from him that he further had issues with other files too:
/var/lib/tomcat5.5/webapps/geant2-java-sql-ma/WEB-
INF/classes/perfsonar/conf/service.properties.
components.properties
service.properties
servlet.properties
wizard.properties
This is caused by the automatic PS DVD installation during which after SQL MAIn Paul's installation they were apparently owned by perfsonar:perfsonar.
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.
I see that in the current version of the Admin Guide this password is set viaI would vote for actually fixing the issue in the package if it is fixable,
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?
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
- [pS-dev] Problem with SQL MA setup - BWCTL MP service, Lukasz Lopatowski, 08/16/2011
- Message not available
- Message not available
- Re: [gn3-sa2-t3] Fwd: [pS-dev] Problem with SQL MA setup - BWCTL MP service, Lukasz Lopatowski, 08/22/2011
- Re: [gn3-sa2-t3] Fwd: [pS-dev] Problem with SQL MA setup - BWCTL MP service, Hakan Calim, 08/23/2011
- Re: [gn3-sa2-t3] Fwd: [pS-dev] Problem with SQL MA setup - BWCTL MP service, Lukasz Lopatowski, 08/22/2011
- Message not available
- Message not available
Archive powered by MHonArc 2.6.16.