Likewise-CIFS File Server (lwsm start srvsvc) won't start

Bug #544717 reported by David Colborne
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
likewise-open (Ubuntu)
Confirmed
Undecided
Gerald Carter

Bug Description

Binary package hint: likewise-open

Binary package hint: likewise-open

All testing undertaken an HP Proliant DL385G5p

Lucid Beta
Linux (servername) 2.6.32-16-generic #25-Ubuntu SMP Tue Mar 9 16:33:12 UTC 2010 x86_64 GNU/Linux

likewise-open:
  Installed: 5.4.0.42111-1
  Candidate: 5.4.0.42111-1
  Version table:
 *** 5.4.0.42111-1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

I'm following along with Likewise Open's documentation here: http://www.likewise.com/resources/documentation_library/manuals/cifs/likewise-cifs-smb-file-server-guide.html

My goal was to test out the Likewise-CIFS implementation in Likewise Open 5.4. My server is successfully joined to the domain and I was able to log in as a domain user on the server. DNS and domainjoin-cli query provide expected results. However, when I attempt to start the srvsvc service (see 1.5.3 of the above documentation), I receive the following error:

Starting service dependency: pvfs
Error: ERROR_GEN_FAILURE (31)
Unknown error

'lwsm list' shows the following:

lwreg running (standalone: 890)
dcerpc running (standalone: 1030)
eventlog running (standalone: 1151)
lsass running (standalone: 1299)
lwio running (standalone: 1218)
netlogon running (standalone: 1090)
npfs running (io: 1218)
pvfs stopped
rdr running (io: 1218)
srv stopped
srvsvc stopped

It looks like pvfs either isn't installed or isn't configured properly; nothing shows up when I search for it using find and there's no package for it. Based on this moderately cryptic PDF (http://likewiseopen.org/UDS-L_likewise-open.pdf), it appears that pvfs is used for POSIX file system compatibility; with that in mind, just to be on the safe side, I enabled user_xattr on my main partition and installed the acl package to turn on POSIX ACLs. That didn't do anything useful, unfortunately.

My suspicion is that the Likewise pvfs service wasn't compiled into the likewise-open package. Thoughts? Questions?

Changed in likewise-open (Ubuntu):
assignee: nobody → Gerald Carter (coffeedude.jerry)
status: New → Confirmed
Revision history for this message
David Colborne (oatworm) wrote :

Did a little more digging around - my initial thought is correct. In /etc/likewise-open is a set of registry files that detail the dependencies for each Likewise service. Since I was trying to start srvsvc, I started there:

[HKEY_THIS_MACHINE\Services]

[HKEY_THIS_MACHINE\Services\srvsvc]
"Description"="Likewise Server Service"
"Path"="/usr/sbin/srvsvcd"
"Arguments"="/usr/sbin/srvsvcd --syslog"
"Dependencies"="dcerpc lwio srv npfs"
"Type"=dword:00000001

Armed with this, I hunted through the dependencies for each. The key is in srv's dependencies, which are listed in lwio's registry file, /etc/likewise-open/lwiod.reg:

[HKEY_THIS_MACHINE\Services\srv]
"Description"="Likewise CIFS Server"
"Path"="/usr/lib/likewise-open/libsrv.sys.so"
"Arguments"="srv"
"Dependencies"="lwio pvfs npfs lsass"
"Type"=dword:00000003

Pvfs' configuration is also listed here:

[HKEY_THIS_MACHINE\Services\pvfs]
"Description"="Likewise POSIX VFS Filesystem"
"Path"="/usr/lib/likewise-open/libpvfs.sys.so"
"Arguments"="pvfs"
"Dependencies"="lwio"
"Type"=dword:00000003

When I ls to /usr/lib/likewise-open, I found that libpvfs.sys.so wasn't present, which confirmed my suspicion that, for whatever reason, Likewise's pvfs support was not included in the package during compile time.

I'm going to try downloading the package source and see if there's anything that would explain things there.

Revision history for this message
Gerald Carter (coffeedude.jerry) wrote :

did you install the likewise-openserver package?

Revision history for this message
David Colborne (oatworm) wrote :

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package likewise-openserver

Not in any of the default sources. Enabled the partner repositories, received the same result.

Revision history for this message
David Colborne (oatworm) wrote :

Looking at the source's README, I'm suspecting it was compiled without libattr1-dev. I'm going to try and see if that makes any difference.

Revision history for this message
Gerald Carter (coffeedude.jerry) wrote :

Sorry. The package name is "likewise-open-server"

Revision history for this message
David Colborne (oatworm) wrote :

Yep - that was it. Thanks! Odd that I didn't see that package in Aptitude when I searched for "likewise", but I'll take it.

Revision history for this message
Gerald Carter (coffeedude.jerry) wrote :

I've got an open issue on the server that I need to debug, so if you have issues, please let me know.
Should we close thsi bug out now? or is something still pending?

Revision history for this message
David Colborne (oatworm) wrote :

This particular bug is done, I think. That said, lwnet is missing, which means that I can't use the CLI to create new shares using L-CIFS. Should I add a new bug for that?

Revision history for this message
Gerald Carter (coffeedude.jerry) wrote :

lw-share is the stand in replacement for now. We are rewriting a new "net share add" etc... CLI
at the moment, but will not have that done in time for Lucid. Let's go ahead and close this bug out.
You can mail me direct or on the <email address hidden> ml if you have usage questions or about configuration.

Revision history for this message
David Colborne (oatworm) wrote :

Okay, that works. Thanks again!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.