[opensuse-factory] nfsserver doesn't start
I was trying to setup a new NAS server, based on suse-tumbleweed, but cannot start nfsserver. in the file /etc/init.d/nfsserver, on line 33, the "/etc/rc.status" file is sourced. But in this file, on line 63, systemctl is called, which causes a "no such file or directory" error. Any suggestions? Thanks, Zingel -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Quoting Stefan Zimmer <zingel@gmx.de>:
I was trying to setup a new NAS server, based on suse-tumbleweed, but cannot start nfsserver.
in the file /etc/init.d/nfsserver, on line 33, the "/etc/rc.status" file is sourced. But in this file, on line 63, systemctl is called, which causes a "no such file or directory" error.
systemctl is the systemd controller; Did you do any special tricks to not run systemd on your machine? note: current tumbleweed is based on openSUSE 12.3 which is fully based on systemd; any way of 'working around this' leaves you in 'the open' I'm afraid. Dominique -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
I installed openSUSE 12.3, switched to tumbleweed, installed some packages such as apache2, perl, php5 and owncloud, and tried to configure nfsserver. So no, I haven't done some special trick to not run systemd. Tanks, Stefan Am Mittwoch, 28. August 2013, 09:13:10 schrieb Dominique Leuenberger a.k.a. Dimstar:
systemctl is the systemd controller; Did you do any special tricks to not run systemd on your machine?
note: current tumbleweed is based on openSUSE 12.3 which is fully based on systemd; any way of 'working around this' leaves you in 'the open' I'm afraid.
Dominique
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Quoting Stefan Zimmer <zingel@gmx.de>:
I installed openSUSE 12.3, switched to tumbleweed, installed some packages such as apache2, perl, php5 and owncloud, and tried to configure nfsserver.
So no, I haven't done some special trick to not run systemd.
Can you manually start 'systemctl' ? (just to understand if the error is for systemctl itself or for any underlying system... might be the 'translation' from rc script to systemd) Dominique -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Yes, systemctl is working. systemctl start apache2 starts the http server systemctl start nfsserver gives the error "Failed to issue method call: Unit nfsserver.service failed to load: No such file or directory. Stefan Am Mittwoch, 28. August 2013, 09:28:01 schrieb Dominique Leuenberger a.k.a. Dimstar:
Can you manually start 'systemctl' ?
(just to understand if the error is for systemctl itself or for any underlying system... might be the 'translation' from rc script to systemd)
Dominique
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Stefan Zimmer <zingel@gmx.de> writes:
systemctl start nfsserver gives the error "Failed to issue method call: Unit nfsserver.service failed to load: No such file or directory.
Did you enable it? Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Le mercredi 28 août 2013 à 09:43 +0200, Stefan Zimmer a écrit :
Yes, systemctl is working.
systemctl start apache2 starts the http server systemctl start nfsserver gives the error "Failed to issue method call: Unit nfsserver.service failed to load: No such file or directory.
Try "systemctl daemon-reload" and then, try again to start it. -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
That was the trick. MAN THANKS TO ALL ! Stefan Am Mittwoch, 28. August 2013, 09:57:13 schrieb Frederic Crozat:
Try "systemctl daemon-reload" and then, try again to start it. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Le mercredi 28 août 2013 à 10:09 +0200, Stefan Zimmer a écrit :
That was the trick.
This means we need to improve our RPM macros for "classic" initscripts, when a new package is installed,, to cause systemd to reload its configuration. There is already a bug report opened for that, but I can't remember the number :( -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2013-08-28 08:50 (GMT+0200) Stefan Zimmer composed:
I was trying to setup a new NAS server, based on suse-tumbleweed, but cannot start nfsserver.
in the file /etc/init.d/nfsserver, on line 33, the "/etc/rc.status" file is sourced. But in this file, on line 63, systemctl is called, which causes a "no such file or directory" error.
Any suggestions?
zypper in -f nfs-kernel-server ? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (5)
-
Andreas Schwab
-
Dominique Leuenberger a.k.a. Dimstar
-
Felix Miata
-
Frederic Crozat
-
Stefan Zimmer