LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 03-25-2019, 12:38 AM   #1
AiHashem
LQ Newbie
 
Registered: Mar 2019
Posts: 2

Rep: Reputation: Disabled
centos7 lxc container autofs problem


[root@centos7 ~]# systemctl status autofs
● autofs.service - Automounts filesystems on demand
Loaded: loaded (/usr/lib/systemd/system/autofs.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2019-03-25 11:07:17 UTC; 25min ago
Process: 1112 ExecStart=/usr/sbin/automount $OPTIONS --foreground --dont-check-daemon (code=exited, status=1/FAILURE)
Main PID: 1112 (code=exited, status=1/FAILURE)

Mar 25 11:07:17 centos7.metafour.lan systemd[1]: Starting Automounts filesystems on demand...
Mar 25 11:07:17 centos7.metafour.lan automount[1112]: /usr/sbin/automount: test mount forbidden or incorrect kernel protocol version, kernel protocol version 5.00 or above required.
Mar 25 11:07:17 centos7.metafour.lan systemd[1]: autofs.service: main process exited, code=exited, status=1/FAILURE
Mar 25 11:07:17 centos7.metafour.lan systemd[1]: Failed to start Automounts filesystems on demand.
Mar 25 11:07:17 centos7.metafour.lan systemd[1]: Unit autofs.service entered failed state.
Mar 25 11:07:17 centos7.metafour.lan systemd[1]: autofs.service failed.


any one help me please...

Last edited by AiHashem; 03-25-2019 at 12:39 AM. Reason: something missing
 
Old 03-25-2019, 06:57 AM   #2
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
DELETED

Last edited by dc.901; 03-25-2019 at 07:29 AM.
 
Old 03-25-2019, 07:01 AM   #3
tyler2016
Member
 
Registered: Sep 2018
Distribution: Debian, CentOS, FreeBSD
Posts: 243

Rep: Reputation: Disabled
I'm not an LXC or autofs expert, but

Quote:
Mar 25 11:07:17 centos7.metafour.lan automount[1112]: /usr/sbin/automount: test mount forbidden or incorrect kernel protocol version, kernel protocol version 5.00 or above required.
Have you tried to manually mount the file systems that you are trying to make available through the automounter?
 
Old 03-26-2019, 03:53 AM   #4
dieselboy
LQ Newbie
 
Registered: Feb 2019
Posts: 25

Rep: Reputation: Disabled
OP - I think you need to read the "requirements" of autofs. Seems like your system may be missing something like one of the prerequisite requirements.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Any problem if I install CENTOS7 Workstation over CENTOS7 Server? Rich Strebendt Linux - Software 5 05-03-2018 11:05 PM
[SOLVED] "lxc list" vs "lxc-ls" yknivag Linux - Virtualization and Cloud 1 03-09-2017 05:53 AM
[SOLVED] Outputting X display from inside an LXC Container charlie101 Linux - Virtualization and Cloud 1 02-04-2013 09:41 PM
script to get a lxc-container like iso of current. cod_liver_0il Slackware 1 09-10-2012 11:12 AM
How to end a Linux Container (LXC) from within? Skaperen Linux - Virtualization and Cloud 0 06-14-2011 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 02:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration