NFS server is not started in SuSE-12.1 (File not found)

Hello.

I have SuSE 12.1 with systemd running on it. I have installed nfs server and tried to configure it with its YaST module.

For now, I cannot start NFS server

katerina:/etc/init.d # rcnfsserver start
redirecting to systemctl
Failed to issue method call: Unit nfsserver.service failed to load: No such file or directory. See system logs and ‘systemctl status nfsserver.service’ for details.

/var/log/messages have nothing for the least several minutes. I’ve tried to use configure both NFSv3 and NFSv4.

Best regards,
Pavel

So I am not sure just what the problem might be. I am hoping that someone else that uses NSF might pop in and provide some help.

In the meantime of course our latest openSUSE version, containing all of its many fixes, is now up to version 12.2 that you can find here: software.opensuse.org: Download openSUSE 12.2

You don’t say what kind of computers you want to share with, but I normally just use Samba myself for all PC’s. I have a couple of blogs on the subject that you can find here:

Samba S.W.A.T. - Samba Web Administration Tool Setup for openSUSE - Blogs - openSUSE Forums

AND

SWAT - Samba Web Administration Tool - Setup & Creation Script - 1.04 - Blogs - openSUSE Forums

Until you get a proper answer, why not have a look at the new links I have posted here and good luck with your issue.

Thank You,

When you did cponfigure using YaST, why did younot start it usingYaST? in YaST > System > System services (runlevel).

Could you show us the output from


rpm -qa | grep nfs

between CODE tags?

And please explain how you tried to get NFS to work. I’m one of those preferring NFS over Samba :smiley:

pavel@katerina:~> rpm -qa | grep -i nfs
yast2-nfs-client-2.21.1-2.1.1.noarch
nfsidmap-0.24-12.1.2.x86_64
nfs-kernel-server-1.2.5-4.3.1.x86_64
limal-nfs-server-perl-1.6.3-2.1.3.x86_64
yast2-nfs-server-2.21.1-2.1.1.noarch
nfs-client-1.2.5-4.3.1.x86_64
yast2-nfs-common-2.21.1-2.1.1.noarch
limal-nfs-server-1.6.3-2.1.3.x86_64

And please explain how you tried to get NFS to work

I made the configuration through YaST2 (no manual configuration) and YaST failed to start NFS server.
After this I tried to start it in console, using both systemctl and /etc/init.d/nfsserver

Until you get a proper answer, why not have a look at the new links I have posted here and good luck with your issue.

I can setup samba, ftp or ssh sharing, but I do want to setup NFS.

You don’t say what kind of computers you want to share with

Both are openSuSE 12.1. But for my first step, I cannot even start NFS server.

Sorry, don’t have a 12.1 install available, but … on my 12.2 it works. There’s a couple of things to consider:

  • The output suggests more info to follow from

systemctl status nfsserver.service

  • Did you configure at least one folder to export? Show output of

cat /etc/exports

By “using Yast2” did you mean Yast-System-Runlevel-editor, or Yast-Network services-NFS-server? If the first, then use the second first to configure the NFS server.

On 2012-11-04 08:36, maednoldor wrote:

> I made the configuration through YaST2 (no manual configuration) and
> YaST failed to start NFS server.
> After this I tried to start it in console, using both systemctl and
> /etc/init.d/nfsserver

Try booting with systemv.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))

By “using Yast2” did you mean Yast-System-Runlevel-editor, or Yast-Network services-NFS-server? If the first, then use the second first to configure the NFS server.

I meant services-NFS-server. I have installed and configured several networks, using NFS and automount, so I am not new to NFS.

Sorry, don’t have a 12.1 install available, but … on my 12.2 it works.

I’ve updated to openSuSE 12.2 and NFS server started correctly without any other configurations. I suppose, it does not work in 12.1 only.

Thanks to everybody for help.

NFS is a kernel module. You have to restart your machine in order to properly load nfs module. When you updated your installation 12.1->12.2, you probably restarted machine and that solved problem, i guess.

This is a rather old message thread and not sure anyone in it is reading here. I see you are new and so welcome to the openSUSE forums. Please feel to post a new message to obtain help in using openSUSE.

Thank You,