04-12-2012 02:13 AM
I was trying to install Sitescope 11.10 over Redhat Linux Server, while trying to execute the installer Binary, it interrupts with the below message "
"Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Please run the installer as root!
WARNING! This installation has been interrupted. The
installation process will now terminate and the temporary
files it is using will be deleted from /tmp/install.dir.28908. "
Does anyone have any idea on what is wrong with this installation, as when I was going through some support documentations, it is is not recommended to install this software with the "Root" user. Any help would be greatly appreciated.
Solved! Go to Solution.
04-13-2012 09:32 AM
Nothing is wrong and I suspect that documentation advises against running the software as root (it is generally a bad idea, yes).
However, SiteScope is shipped in .rpm packages and to use package manager you have to be root.
It can be avoided, if you really want - via private rpm database for user - but… just don't do it.
So, I suggest following the installer's advice and run it from the root account.
This thread is now 20% cooler
04-16-2012 01:22 PM - edited 04-16-2012 01:23 PM
this is really bad .... how it can be that root is mandatory for installation/administration on the new BSM.
a big "no no".
04-17-2012 02:42 AM
Thanks Sergey for your help in clearing my doubt, Appreciate it!! however the documentation looks to be little confusing by saying somewhere "it is not recommended to install/run by root" and somewhere "setting up a user with root account :)
* Depending on your environment, preparation for installation of SiteScope on Solaris or Linux involves creating a user root account, selecting a suitable Installation location and setting account permission
* SiteScope does not need to be installed or run by the root user unless the
SiteScope Web server is run on a privileged port
--> These both were extracted from the 11.10 Deployment documentation.
04-17-2012 05:46 AM
It's probably possible to just run the installer with a normal user that has the appropriate sudo privileges, as is the case with most installers?
So instead of logging into the root account itself, just use a normal account with sudo, i.e. instead of typing in for instance ./install.sh it would be sudo ./install.sh.