lpar2rrd upgrade - changing permissions error
Hey,
I have a question regarding the permission changes for the data.db file. During the update from 7.41 to 7.51 I noticed the following error:
chmod -R o + r, o + x / home / lpar2rrd / lpar2rrd / data chmod: changing permissions of '/home/lpar2rrd/lpar2rrd/data/_DB/data.db': Operation not permitted
Despite this, the upgrade is over and I wonder if this is the intended action or the error should not be displayed. The data.db file belongs to the user apache:
[lpar2rrd @ LPAR2RRD lpar2rrd] $ ls -la data / _DB / data.db -rw-rw-rw- 1 apache apache 118784 Oct 6 11:40 date / _DB / data.db
I did the upgrade from the lpar2rrd user who does not have root privileges. Should I manually add permissions to data.db or it doesn't matter and won't matter in the next upgrades?
Below I present the entire listing of the upgrade:
Where is LPAR2RRD actually located [/home/lpar2rrd/lpar2rrd]: Extracting distribution Backing up original version : 7.41 to /home/lpar2rrd/lpar2rrd/BACKUP-INSTALL/lpar2rrd-7.41 Saving 7.41 configuration Copy new version to the target destination Configuring new /home/lpar2rrd/lpar2rrd/etc/lpar2rrd.cfg Setting file/dir permissions, it might take some time in big environments chmod -R o+r,o+x /home/lpar2rrd/lpar2rrd/data chmod: changing permissions of '/home/lpar2rrd/lpar2rrd/data/_DB/data.db': Operation not permitted Stopping LPAR2RRD daemon Removing wrong RHV storage IOPS data Upgrade to version 7.51 is done Now you can start the tool: cd /home/lpar2rrd/lpar2rrd ./load.sh 2>&1 | tee logs/load.out-initial Wait for finishing of that, then refresh the GUI (Ctrl-F5)
Comments
-
Oh, I accidentally put the question in the wrong category, could I ask for the question to be moved to LPAR2RRD? I do not see this option from my account.
-
Hi,
either keep it as it is or change to lpar2rrd user ownersip with 644 file rights
-
Hey, thanks for the answer, that solves my problem
Howdy, Stranger!
Categories
- 1.6K All Categories
- 48 XORMON NG
- 25 XORMON
- 153 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 7 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 124 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 2 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle