VMware Cloud Community
buckmp
Enthusiast
Enthusiast

unable to source /lib/lsb/init-functions

Morning All,

Got a problem getting the vmware-vcd service to start, it always comes up with the following:

ERROR: unable to source /lib/lsb/init-functions, cannot proceed

I figured this would be because one the software packages is not installed, but i've been through the list and every one is installed.

Anyone else got any ideas, cos i'm out!

Mike

0 Kudos
8 Replies
IamTHEvilONE
Immortal
Immortal

yum install redhat-lsb

0 Kudos
buckmp
Enthusiast
Enthusiast

Thanks for you reply,

Yeah tried that comes up saying "Nothing to do", and same error on service

Mike

0 Kudos
IamTHEvilONE
Immortal
Immortal

It's basically saying that you're missing some pre-requisite for the vCD service.  the yum command provided should have installed them.

When you did the installation of CentOS itself, did you not install all the normal server packages for a non-GUI installation?  I can't remember the exact terms, but you're definitely missing something that's expected from the core OS/Packages.

0 Kudos
buckmp
Enthusiast
Enthusiast

Thanks for replying,

I'm using RedHat Enterprise 6.1.  Would be helpful if it told you what it was missing! lol

0 Kudos
IamTHEvilONE
Immortal
Immortal

weird, I usually only see these messages on CentOS installations.  to see which package it comes from you should be able to use this:

yum provides */init-functions

my response to the command is:

redhat-lsb-4.0-2.1.4.el5.x86_64 : LSB support for Red Hat Linux

Repo        : installed

Matched from:

Filename    : /lib/lsb/init-functions

redhat-lsb-4.0-2.1.4.el5.i386 : LSB support for Red Hat Linux

Repo        : installed

Matched from:

Filename    : /lib/lsb/init-functions

note, this response is from Red Hat Enterprise Linux Server release 5.5 (Tikanga)

0 Kudos
buckmp
Enthusiast
Enthusiast

K this gets wierder! lol

If I do a "yum provides */init-functions" i get:

Loaded plugins: product-id, refresh-packagekit, subscription-manager

Updating Red Hat repositories.

No Matches found

But if then do a "yum install redhat-lsb", i get:

Loaded plugins: product-id, refresh-packagekit, subscription-manager

Updating Red Hat repositories.

Setting up Install Process

Nothing to do

If I try to install another redhat-lsb package I have I get:

Loaded plugins: product-id, refresh-packagekit, subscription-manager

Updating Red Hat repositories.

Setting up Install Process

Examining redhat-lsb-4.1-5.fc18.x86_64.rpm:

redhat-lsb-4.1-5.fc18.x86_64.rpm: does not update installed package.

Error: Nothing to do

0 Kudos
IamTHEvilONE
Immortal
Immortal

did you join your system to redhat network to be able to pull repositories? There should also be a force install for redhat-lsb ... it's some toggle to yum.

otherwise, it might be worth it to reinstall from scratch and see if that works.  Might just be faster, but won't tell you what's wrong.

0 Kudos
buckmp
Enthusiast
Enthusiast

You know what, I'm thinking the same thing, might re-do the install with CentOS

0 Kudos