Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

sudo service networking restart , sudo: service: command no

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
cola
Posts: 288
Joined: 2009-03-09 21:28

sudo service networking restart , sudo: service: command no

#1 Post by cola »

After sudo service networking restart

Code: Select all

sudo: service: command not found

User avatar
Telemachus
Posts: 4574
Joined: 2006-12-25 15:53
Been thanked: 2 times

Re: sudo service networking restart , sudo: service: command no

#2 Post by Telemachus »

cola wrote:After sudo service networking restart

Code: Select all

sudo: service: command not found
Hi. How are you? Are you by any chance a troll? What question are you asking here?

Why is this your signature: "Why is debian not being updated as other distribution!!!" I can only guess that the answer is because Debian is Debian, but since I don't know what "other" means here, maybe this is wrong.
"We have not been faced with the need to satisfy someone else's requirements, and for this freedom we are grateful."
Dennis Ritchie and Ken Thompson, The UNIX Time-Sharing System

User avatar
Telemachus
Posts: 4574
Joined: 2006-12-25 15:53
Been thanked: 2 times

Re: sudo service networking restart , sudo: service: command no

#3 Post by Telemachus »

I see that you reported my post. I did ask about your signature, but I also asked "What question are you asking here?" because your question wasn't clear.

Try to make your question more clear, and someone may answer it.
"We have not been faced with the need to satisfy someone else's requirements, and for this freedom we are grateful."
Dennis Ritchie and Ken Thompson, The UNIX Time-Sharing System

User avatar
sickie
Posts: 498
Joined: 2009-06-08 07:10
Location: The pig farm
Has thanked: 27 times
Been thanked: 2 times

Re: sudo service networking restart , sudo: service: command no

#4 Post by sickie »

Haha, telemachus, I reported your seccond post here! :D Gotcha!
:shock:

User avatar
Telemachus
Posts: 4574
Joined: 2006-12-25 15:53
Been thanked: 2 times

Re: sudo service networking restart , sudo: service: command no

#5 Post by Telemachus »

The funny thing is that usually around here I'm the nice one.
"We have not been faced with the need to satisfy someone else's requirements, and for this freedom we are grateful."
Dennis Ritchie and Ken Thompson, The UNIX Time-Sharing System

User avatar
anxious
Posts: 236
Joined: 2008-07-10 20:21
Location: U.S.

Re: sudo service networking restart , sudo: service: command no

#6 Post by anxious »

Telemachus wrote:The funny thing is that usually around here I'm the nice one.
you know the 'ol saying about nice guys. :D
For an idea that does not at first seem insane, there is no hope - Albert Einstein

User avatar
julian67
Posts: 4633
Joined: 2007-04-06 14:39
Location: Just hanging around
Been thanked: 7 times

Re: sudo service networking restart , sudo: service: command no

#7 Post by julian67 »

cola wrote:After sudo service networking restart

Code: Select all

sudo: service: command not found
Try

Code: Select all

$ sudo /etc/init.d/networking restart
It may well be that you just ran into one of the problems associated with using Ubuntu style sudo in a non-Ubuntu system.

See https://help.ubuntu.com/community/RootSudo which explains some of the benefits and disadvantages of Ubuntu's rootsudo. When you run the command 'service' you're calling a script intended to be run by the root user, which is one of the situations I mentioned to you yesterday where you might run into problems.
Wisdom from my inbox: "do not mock at your pottenocy"

Post Reply