error installing likewise-open via apt-get

Asked by mike

dpkg -l likewise-open
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=========================-=========================-==================================================================
iF likewise-open 5.4.0.42111-2ubuntu1.2 Authentication services for Active Directory Domains

cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS”

no idea why it does this

apt-get install likewise-open
Reading package lists… Done
Building dependency tree
Reading state information… Done
likewise-open is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up likewise-open (5.4.0.42111-2ubuntu1.2) ...
Error: ERROR_FILE_NOT_FOUND (2)
Unknown error
dpkg: error processing likewise-open (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
likewise-open
E: Sub-process /usr/bin/dpkg returned an error code (1)

I also tried the bitrok install and it installed but if I run the domainjoin-cli I get this error which appears to be a chckconfig problem

Error: chkconfig failed [code 0x00080019]

An error occurred while using chkconfig to process the ‘lwsmd’ daemon. This daemon was being added to the list of processes
to start on reboot.

if I manually try the chkconfig I get this. which seems to indicate that the init script is not set up correctly.

chkconfig lwsmd --add
insserv: warning: script ‘K01acpi-support’ missing LSB tags and overrides
insserv: Script lwsmd is broken: incomplete LSB comment.
insserv: missing `Provides:’ entry: please add.
insserv: missing `Required-Start:’ entry: please add even if empty.
insserv: missing `Required-Stop:’ entry: please add even if empty.
insserv: missing `Default-Start:’ entry: please add even if empty.
insserv: missing `Default-Stop:’ entry: please add even if empty.
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `lwsmd’
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `lwsmd’
insserv: warning: current start runlevel(s) (0) of script `halt’ overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script ‘ufw’ missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script ‘dbus’ missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script ‘rpc_pipefs’ missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script ‘kdm’ missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `wpa-ifupdown’ overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script ‘console-setup’ missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountfs’ overwrites defaults (empty).
insserv: warning: current start runlevel(s) (0 6) of script `networking’ overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script ‘apport’ missing LSB tags and overrides
insserv: Script netlogond is broken: incomplete LSB comment.
insserv: missing `Provides:’ entry: please add.
insserv: missing `Required-Start:’ entry: please add even if empty.
insserv: missing `Required-Stop:’ entry: please add even if empty.
insserv: missing `Default-Start:’ entry: please add even if empty.
insserv: missing `Default-Stop:’ entry: please add even if empty.
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `netlogond’
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `netlogond’
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script ‘rsyslog’ missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script ‘avahi-daemon’ missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script ‘hwclock’ missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script ‘module-init-tools’ missing LSB tags and overrides
insserv: Script lwiod is broken: incomplete LSB comment.
insserv: missing `Provides:’ entry: please add.
insserv: missing `Required-Start:’ entry: please add even if empty.
insserv: missing `Required-Stop:’ entry: please add even if empty.
insserv: missing `Default-Start:’ entry: please add even if empty.
insserv: missing `Default-Stop:’ entry: please add even if empty.
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `lwiod’
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `lwiod’
The script you are attempting to invoke

/opt/likewise/bin/domainjoin-cli --logfile . join <DOMAIN> <USERNAME>

Error: chkconfig failed [code 0x00000016]

An error occurred while using chkconfig to process the ‘lwsmd’ daemon. This daemon was being added to the list of processes
to start on reboot.
20100906202904:ERROR:chkconfig failed [ERROR_BAD_COMMAND]

An error occurred while using chkconfig to process the ‘lwsmd’ daemon. This daemon was being added to the list of processes to start on reboot.

Stack Trace:
/builder/src-buildserver/Platform-6.0/src/linux/domainjoin/domainjoin-cli/src/main.c:936
/builder/src-buildserver/Platform-6.0/src/linux/domainjoin/libdomainjoin/src/djauthinfo.c:1130
/builder/src-buildserver/Platform-6.0/src/linux/domainjoin/libdomainjoin/src/djdaemonmgr_nonmac.c:903
/builder/src-buildserver/Platform-6.0/src/linux/domainjoin/libdomainjoin/src/djdaemonmgr_nonmac.c:59

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu likewise-open Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Log a bug

ubuntu-bug likewise-open

Revision history for this message
Scott Salley (ssalley) said :
#2

The logic in likewise-open for setting up /etc/init.d symlinks is quite complex (because it tries to support many Un*x system and was incrementally developed).

One (admittedly poor) work around is to uninstall or otherwise hide chkconfig during the likewise-open installation and domainjoin.

And if you haven't logged a bug, please do so.

Can you help with this problem?

Provide an answer of your own, or ask mike for more information if necessary.

To post a message you must log in.