In short, make install is not copying the o2cb init script.

If that is true, it could be because init scripts vary a little bit
across distros. The tools spec file knows how to modify the
script depending on whether it is RHEL or SLES. As in,
it is not a simple copy like for the other bits.

BTW, /etc/sysconfig/o2cb and /etc/init.d/o2cb are different.
Latter is the init script whereas the former is the config file.

File a bugzilla. We'll see what we can do.

Randy Ramsdell wrote:
Sunil Mushran wrote:
Have you installed ocfs2-tools? o2cb init script is included in it.

BTW 1.2.2 did not install this either.

ocfs2tools install steps:

./configure ; make ; make install


ocfs2-tools-1.2.4 # ls -l `locate o2cb |grep etc`
-rwxr-xr-x 1 root root 19037 Feb 13 15:53 /etc/init.d/o2cb
lrwxrwxrwx 1 root root     7 Feb 13 17:16 /etc/init.d/rc2.d/K16o2cb ->
../o2cb
lrwxrwxrwx 1 root root     7 Feb 13 17:16 /etc/init.d/rc2.d/S06o2cb ->
../o2cb
lrwxrwxrwx 1 root root     7 Feb 13 17:16 /etc/init.d/rc3.d/K16o2cb ->
../o2cb
lrwxrwxrwx 1 root root     7 Feb 13 17:16 /etc/init.d/rc3.d/S06o2cb ->
../o2cb
lrwxrwxrwx 1 root root     7 Feb 13 17:16 /etc/init.d/rc5.d/K16o2cb ->
../o2cb
lrwxrwxrwx 1 root root     7 Feb 13 17:16 /etc/init.d/rc5.d/S06o2cb ->
../o2cb
-rw-r--r-- 1 root root   454 Apr 13 11:24 /etc/sysconfig/o2cb

NOTE: I copy an old o2cb init script each tools upgrade: The o2cb dates
of Feb 13 are the date I copied o2cb over so they are not related to the
1.2.4 tools install. I see that it installs "/etc/sysconfig/o2cb" however.


Randy Ramsdell wrote:
Hi,

I might be overlooking the obvious, but I have yet to find
"/etc/init.d/o2cb" however, I read that configuration uses this init
script.

Where is it?



    # /etc/init.d/o2cb enable
    Writing O2CB configuration: OK

or:

    # /etc/init.d/o2cb configure
    Configuring the O2CB driver.

Thanks,

Randy Ramsdell

_______________________________________________
Ocfs2-users mailing list
[EMAIL PROTECTED]
http://oss.oracle.com/mailman/listinfo/ocfs2-users


_______________________________________________
Ocfs2-users mailing list
[EMAIL PROTECTED]
http://oss.oracle.com/mailman/listinfo/ocfs2-users

_______________________________________________
Ocfs2-users mailing list
[EMAIL PROTECTED]
http://oss.oracle.com/mailman/listinfo/ocfs2-users

Reply via email to