LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-09-2015, 03:03 AM   #1
ravikavala
LQ Newbie
 
Registered: Sep 2014
Posts: 9

Rep: Reputation: Disabled
service network restart error


Hi
i have done an nfs share in my fedora system 1 and mounted successfully in fedora system 2(client).i unmounted the share.in the server (system 1) i restarted the service it worked fine as the same i gave the command #service network restart it has given the error which attached the file.


Please help me why it is giving error.i did any wrong.
Thankyou
Attached Thumbnails
Click image for larger version

Name:	network service not restarting.jpg
Views:	40
Size:	155.6 KB
ID:	18909  
 
Old 07-09-2015, 09:05 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
You restarted the service where - client or server? And why did you restart networking? And is there any problem apart from the error message? An error message alone is not necessarily problematic.

It would help if more error messages where visible. Do the restart again, then journalctl -xn 20. This will show 20 lines instead of just 10.
 
Old 07-10-2015, 10:37 AM   #3
ravikavala
LQ Newbie
 
Registered: Sep 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
thanks for the reply
and the error is in the client system.
i will give you the brief explanation.i have created nfs share (seen in the youtube video).
# systemctl start rpcbind
# systemctl start nfs-server
# systemctl start nfs-lock
# systemctl start nfs.idmap
successfully done above without error after that
# systemctl enable rpcbind.service
# systemctl enable nfs-server.service
these two are successful but when i give the command below i got an error
# systemctl enable nfs-lock.service
Failed to execute operation: No such file or directory
# systemctl enable nfs-idmap.service
Failed to execute operation: No such file or directory

any way i go to the client and checked whether the share folder mounting or not i has successfully mounted.
i go to the server and given the share in /etc/exports file only for one sys (server 172.1.110.100 for practice) and restarted nfs and rpc services in server.go to the client iam able to mount and access,thats why i restarted the network service then i got this error.iam already posted another thread because of nfs-lock.service and nfs-idmap.service errors.check the link if u want to see.

http://www.linuxquestions.org/questi...ng-4175547489/

thats it thanks for patience.i have learned red hat linux 5 years back but i didnt practice.now i want to be a good linux admin thats why again started.getting errors.

please help me
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
register_cnic failed error when restart network service wwipro Linux - Server 0 01-15-2014 11:44 PM
error in linux when restart network service chuikingman Linux - Server 1 06-20-2011 05:59 AM
what is the difference between service network reload and service network restart ? markraem Linux - Networking 3 11-21-2007 04:08 PM
In FC6 network interface doesn't come up if 'service network restart' command is run rajat Linux - Networking 2 05-03-2007 12:53 AM
How do I set the regulatory daemon to restart when I restart the network service? zahadumy Linux - Networking 0 11-05-2006 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:35 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