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

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

netconsole module not loaded
Configured devices:
lo Profile_2 enp0s25 p1p1
Currently active devices:
lo p1p1 enp0s25 virbr0
● rhnsd.service - LSB: Starts the Spacewalk Daemon
   Loaded: loaded (/etc/rc.d/init.d/rhnsd)
   Active: active (running) since Thu 2016-10-13 15:44:00 IST; 3 weeks 4
days ago
     Docs: man:systemd-sysv-generator(8)
 Main PID: 2453 (rhnsd)
   CGroup: /system.slice/rhnsd.service
           └─2453 rhnsd

Nov 06 03:13:31 mbialjpj rhnsd[2453]: /etc/sysconfig/rhn/systemid does not
exist or is unreadable
Nov 06 07:13:31 mbialjpj rhnsd[2453]: /etc/sysconfig/rhn/systemid does not
exist or is unreadable
Nov 06 11:13:31 mbialjpj rhnsd[2453]: /etc/sysconfig/rhn/systemid does not
exist or is unreadable
Nov 06 15:13:31 mbialjpj rhnsd[2453]: /etc/sysconfig/rhn/systemid does not
exist or is unreadable
Nov 06 19:13:31 mbialjpj rhnsd[2453]: /etc/sysconfig/rhn/systemid does not
exist or is unreadable
Nov 06 23:13:16 mbialjpj rhnsd[2453]: /etc/sysconfig/rhn/systemid does not
exist or is unreadable
Nov 07 03:13:16 mbialjpj rhnsd[2453]: /etc/sysconfig/rhn/systemid does not
exist or is unreadable
Nov 07 07:13:16 mbialjpj rhnsd[2453]: /etc/sysconfig/rhn/systemid does not
exist or is unreadable
Nov 07 11:13:16 mbialjpj rhnsd[2453]: /etc/sysconfig/rhn/systemid does not
exist or is unreadable
Nov 07 15:13:16 mbialjpj rhnsd[2453]: /etc/sysconfig/rhn/systemid does not
exist or is unreadable
qmaster is not running...
shadowd (pid ) is not running...
and  "ps -ef | grep sge_" says
root     25181 11235  0 17:36 pts/4    00:00:00 grep --color=auto sge_
[root@mbialjpj init.d]# ps -ef | grep sge
root      8457 11235  0 17:37 pts/4    00:00:00 grep --color=auto sge
root     26341 24687 38 Oct20 ?        7-02:16:54 /bin/sh ./inst_sge -m -x


> William
>

Thanks for your kind support and hope to receive the same for successful
installation

-- 
Himanshu Joshi
_______________________________________________
SGE-discuss mailing list
SGE-discuss@liv.ac.uk
https://arc.liv.ac.uk/mailman/listinfo/sge-discuss

Reply via email to