Comment 9 for bug 543963

Revision history for this message
Tony Mugan (tmugan) wrote : Re: [Bug 543963] Re: likewise package on lucid : Can no longer login to Windows domain

Gerard,

Thanks for your assistance.

I had to remove the "-p" from the line
 $ chmod 700 -p /var/lib/likewise-open/db

Also, the last line gave an error
lwsm start lsass
Error: LW_ERROR_NO_SUCH_SERVICE (41204)
No service with the specified name exists

I will restart and then try to join the domain again.

Regards,

Tony.

On 24 March 2010 00:03, Gerald Carter <email address hidden> wrote:

> Tony, Let's just reset to the beginning. Run the following commands.
> Don't worry about leaving
> the domain.
>
> $ killall lwsmd lwregd dcerpcd netlogond eventlogd lwiod lsassd
>
> killall -9 if you have to. We're going to reset state anyways.
>
> $ /bin/rm -rf /var/lib/likewise-open
> $ mkdir -p /var/lib/likewise-open/{db,rpc,run}
> $ chmod 700 -p /var/lib/likewise-open/db
>
> Now start lwsmd:
>
> $ /etc/init.d/lwsmd start
>
> Import settings
>
> $ for file in /etc/likewise-open/*.reg; do lwregshell import $file;
> done
>
> Reload lwsmd
>
> $ /etc/init.d/lwsmd reload
>
> Start lsassd
>
> $ lwsm start lsass
>
> You will have a clean state. You should now be able to rejoin the
> domain and hopefully everything will be resolved.
>
> --
> likewise package on lucid : Can no longer login to Windows domain
> https://bugs.launchpad.net/bugs/543963
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “likewise-open” package in Ubuntu: Confirmed
>
> Bug description:
> Binary package hint: likewise-open
>
> Up until this week, I had my desktop configured to login to a windows 2003
> Domain using Likewise under Lucid (with all latest updates).
>
> I performed an update this morning which would have included no more than a
> week's worth of Lucid updates and the Likewise daemon is not starting.
>
> I get an error dialog when I run /usr/bin/domainjoin-gui (as root) which
> says...
>
> An attempt was made to start the '/etc/init.d/lwsmd' daemon, but querying
> its status revealed that it did not start. Try running '/etc/init.d/lwsmd
> start; /etc/init.d/lwsmd status' to diagnose the issue
>
> Details...
>
> Error code: CENTERROR_DOMAINJOIN_INCORRECT_STATUS (0x00080018)
>
> Backtrace:
> main.c:592
> djauthinfo.c:1025
> djdaemonmgr_nonmac.c:915
> djdaemonmgr_nonmac.c:314
>
> If I then save the log file and look at that it shows
>
> 20100322173924:INFO:Checking status of daemon [/etc/init.d/lwsmd]
> 20100322173924:INFO:Daemon [/etc/init.d/lwsmd]: status [3]
> 20100322173924:VERBOSE:Looking for '/sbin/chkconfig'
> 20100322173924:VERBOSE:Looking for '/usr/sbin/update-rc.d'
> 20100322173924:VERBOSE:Found '/usr/sbin/update-rc.d'
> 20100322173924:INFO:Checking status of daemon [/etc/init.d/lwsmd]
> 20100322173924:INFO:Daemon [/etc/init.d/lwsmd]: status [3]
> 20100322173924:INFO:Starting daemon [/etc/init.d/lwsmd]
> 20100322173924:INFO:Checking status of daemon [/etc/init.d/lwsmd]
> 20100322173924:INFO:Daemon [/etc/init.d/lwsmd]: status [3]
>
> ProblemType: Bug
> Architecture: amd64
> Date: Mon Mar 22 17:46:03 2010
> DistroRelease: Ubuntu 10.04
> InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100224.1)
> Package: likewise-open-gui 5.4.0.42111-1
> ProcEnviron:
> LANG=en_AU.utf8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
> SourcePackage: likewise-open
> Uname: Linux 2.6.32-16-generic x86_64
>
> To unsubscribe from this bug, go to:
>
> https://bugs.launchpad.net/ubuntu/+source/likewise-open/+bug/543963/+subscribe
>