On Mon, Nov 07, 2016 at 05:41:54PM +0530, Himanshu Joshi wrote: > On Mon, Nov 7, 2016 at 3:09 PM, William Hay <w....@ucl.ac.uk> wrote: > > On Sat, Nov 05, 2016 at 10:55:38AM +0530, Himanshu Joshi wrote: > > Redhat enterprise Linux 7.2 with X86-64 architecture > > Please find the requested information with other relevant info > > hostnamectl status > > Static hostname: mbialjpj > > Pretty hostname: MBIALJPJ > > Icon name: computer-desktop > > Chassis: desktop > > Machine ID: 431da268159243088e0e02874e8d36bf > > Boot ID: 24057a4a63554a72b9c7b4b7d9e72b74 > > Operating System: Red Hat Enterprise Linux > > CPE OS Name: > cpe:/o:redhat:enterprise_linux:7.2:GA:workstation > > Kernel: Linux 3.10.0-327.el7.x86_64 > > Architecture: x86-64 > > > > I was able to initiate the installation but now stuck up in the > same error > > reported on October 20 > > > > > qmaster startup script > > ---------------------- > > > > We can install the startup script that will > > start qmaster at machine boot (y/n) [y] >> > > > > cp /opt/sge/default/common/sgemaster > /etc/init.d/sgemaster.mbialjpj55 > > /usr/lib/lsb/install_initd /etc/init.d/sgemaster.mbialjpj55 > > > > Command failed: /usr/lib/lsb/install_initd > > /etc/init.d/sgemaster.mbialjpj55 > Does /usr/lib/lsb/install_initd exist? > > Yes it is a folder owned by root > > On my RHEL7 box this is a relative symlink pointing to /sbin/chkconfig. > > Yes exactly because the command " ls -la /usr/lib/lsb | grep "\->" " > provides > the output as > > lrwxrwxrwx. 1 root root 23 Jun 1 2015 install_initd -> > ../../../sbin/chkconfig > lrwxrwxrwx. 1 root root 23 Jun 1 2015 remove_initd -> > ../../../sbin/chkconfig > > Does it exist on your machine and to what does it point? > > Yes it exists with file permissions and it points to /sbin/chkconfig > > > What are the permissions on the file to which it points? > > The following command "ls -l /sbin/chkconfig" says > -rwxr-xr-x. 1 root root 41136 Apr 29 2016 /sbin/chkconfig > > > > > Probably a permission problem. Please check file access > permissions. > > Check root read/write permission. Check if SGE daemons are running. > > How to check whether SGE daemons is running? > > > > > Looking forward to receive binary packages from Dave because I do > not know > > how to look for the one which my distribution provides > > > Dave's packages for RHEL7 are available by downloading the file at: > > https://copr.fedorainfracloud.org/coprs/loveshack/SGE/repo/epel-7/loveshack-SGE-epel-7.repo > and placing it in /etc/yum.repos.d > > I had made a document file named "loveshack-SGE.repo" and pasted it in > /etc/yum.repos.d > > Then > yum install gridengine gridengine-qmaster gridengine-qmon > gridengine-execd > > Then I went into /opt/sge and followed the above command > > This resolved many dependencies and enabled sufficient repositories > > These install into /opt/sge so if you do switch to using these (which > will simplify future > upgrades) then remove any grid engine install you have there first. > > Again the command "./inst_sge -m -x"" reached upto the process of > We can install the startup script that will > start qmaster at machine boot (y/n) [y] >> > > but landed up in the same error i.e. > > cp /opt/sge/default/common/sgemaster /etc/init.d/sgemaster.mbialjpj55 > /usr/lib/lsb/install_initd /etc/init.d/sgemaster.mbialjpj55
I'd try running the command /usr/lib/lsb/install_initd /etc/init.d/sgemaster.mbialjpj55||echo $? To see if it produces any output. > > Command failed: /usr/lib/lsb/install_initd > /etc/init.d/sgemaster.mbialjpj55 > > Probably a permission problem. Please check file access permissions. > Check root read/write permission. Check if SGE daemons are running. > > I have found the file "sgeqmaster.mbialjpj55" in the location described > as /etc/init.d > and ls -l command gives the file permissions as > > -rwxr-xr-x. 1 root root 24883 Nov 7 17:27 sgemaster.mbialjpj55 > > How to check if SGE Daemons is running because command "service > --status-all" reveals ps ax |grep sge should reveal any sge daemons William
signature.asc
Description: Digital signature
_______________________________________________ SGE-discuss mailing list SGE-discuss@liv.ac.uk https://arc.liv.ac.uk/mailman/listinfo/sge-discuss