 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

2nd November 2008, 11:34 AM
|
|
Registered User
|
|
Join Date: Apr 2008
Location: China
Posts: 101

|
|
|
restarting network service brought system down
I made changes to the network configuration and open the "services" window to restart network service and networkmanager service. My whole system stopped responding to me after I clicked the restarted button.
I took it as an accident and forced off power. I tried again to stop network service to see if it goes wrong again. And yes it didn't disappoint me... I tried it in several different cases later to check whether the online status conflicts with the restart operation but the answer is no. It let me down every time I click the restart button.
I restarted network service successfully in F8 before and currently I am running F9. Is there any restricts on using network service that forbids restarting after boot? Or is it caused by something I can't see?
I wondered if I should post this in the network section but I thought it was more like a general problem. Anybody has any clues?
|

2nd November 2008, 11:41 AM
|
 |
Registered User
|
|
Join Date: Oct 2008
Location: England, Lincolnshire
Posts: 1,576

|
|
It could be possible, that it is the service manager program that is causing it. Try doing it via terminal.
How:
Quote:
su -
password:
service network restart
|
__________________
Fedora user since FC6.
Linux user since 2003.
Registered Linux ID: #456478
OS: Fedora 16 x86_64
|

2nd November 2008, 12:15 PM
|
|
Registered User
|
|
Join Date: Apr 2008
Location: China
Posts: 101

|
|
|
It is impossible for me to use commands like service and ifconfig under the ordinary account even if I typed su and password to get the super privilege. The terminal simply returns command not found. That's why I resorted to service manager. And I tried to start and stop and restart the cups service. All done successfully without errors. So I guess it might be another issue than the problem of service manager.
|

2nd November 2008, 12:20 PM
|
 |
Retired Community Manager -- Banned from Texas by popular demand.
|
|
Join Date: Sep 2007
Location: NYC
Posts: 8,142

|
|
That's explained at http://home.nyc.rr.com/computertaijutsu/rhpath.html
That will be changing in F10, by the way, the /sbin commands will be in a normal user's path.
|

2nd November 2008, 12:23 PM
|
 |
Registered User
|
|
Join Date: Oct 2008
Location: England, Lincolnshire
Posts: 1,576

|
|
Quote:
Originally Posted by zak_wang
It is impossible for me to use commands like service and ifconfig under the ordinary account even if I typed su and password to get the super privilege. The terminal simply returns command not found. That's why I resorted to service manager. And I tried to start and stop and restart the cups service. All done successfully without errors. So I guess it might be another issue than the problem of service manager.
|
Type "su -" iinstead of "su". then try it.
__________________
Fedora user since FC6.
Linux user since 2003.
Registered Linux ID: #456478
OS: Fedora 16 x86_64
|

2nd November 2008, 02:00 PM
|
|
Registered User
|
|
Join Date: Apr 2008
Location: China
Posts: 101

|
|
Quote:
Originally Posted by JakeS
Type "su -" iinstead of "su". then try it.
|
this is great  thanks.
long way to go.
|

2nd November 2008, 02:08 PM
|
|
Registered User
|
|
Join Date: Apr 2008
Location: China
Posts: 101

|
|
Quote:
Originally Posted by scottro
|
This makes a lot of sense. But with this change taking place, will the security level be reduced for that a normal user could give out super commands?
|

2nd November 2008, 02:13 PM
|
|
Registered User
|
|
Join Date: Apr 2008
Location: China
Posts: 101

|
|
|
Back to my topic.
I typed service network restart and hit enter. Then, below is what happened before I forced shut my computer just now (I can't remember clearly but the last line is correct) :
shutting off eth0
stopping network service
starting network service
bringing(or starting? I'm not sure) up eth0
and then everything caaaaa..... Nothing recognize me as its friend. Crash. Stop.
Sounds like something weired?
|

2nd November 2008, 05:30 PM
|
 |
Registered User
|
|
Join Date: Oct 2008
Location: England, Lincolnshire
Posts: 1,576

|
|
|
That is strange. very strange, does your entire system lock up? including unable to move mouse? does ctrl alt F1(or F4) take you to run level 3? or is it completely locked?
Also, when you save network configuration, can you restart your system instead of restarting service? because it sounds like it might be your changes that are killing it. I think this because the system does not hang when you boot up initially when it starts the network service.
__________________
Fedora user since FC6.
Linux user since 2003.
Registered Linux ID: #456478
OS: Fedora 16 x86_64
|

3rd November 2008, 12:08 AM
|
|
Registered User
|
|
Join Date: Apr 2008
Location: China
Posts: 101

|
|
|
right. my entire system was locked up. no mouse move. no key pressed event. no virtual terminal.
but everything is fine to reboot. i tried afterwards to restart service without making changes to network. and it still happened.
if there is no solution... i would go for F10.
|

3rd November 2008, 12:23 AM
|
 |
Registered User
|
|
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,448

|
|
Quote:
Originally Posted by zak_wang
This makes a lot of sense. But with this change taking place, will the security level be reduced for that a normal user could give out super commands?
|
No, the usual protections will stay in place
|

3rd November 2008, 12:34 AM
|
|
Registered User
|
|
Join Date: Apr 2008
Location: China
Posts: 101

|
|
Quote:
Originally Posted by marko
No, the usual protections will stay in place
|
That would be great.
|

3rd November 2008, 12:40 AM
|
|
Registered User
|
|
Join Date: Apr 2008
Location: China
Posts: 101

|
|
|
but what about the service problem.
Does it look familiar to somebody?
|

3rd November 2008, 10:50 AM
|
 |
Registered User
|
|
Join Date: Oct 2008
Location: England, Lincolnshire
Posts: 1,576

|
|
|
I have never seen this problem before, though it does make me curious as to what could cause it. the fact the service starts perfectly fine when you boot, but then your system locks up if you do it manually is weird. Normally something like this could be down to a driver, but the fact it starts up in the first place tells me otherwise. Hmm, what happens if you disable the auto start of the service at boot, so when you boot it doesn't start the network. And then manually start it when logged in?
__________________
Fedora user since FC6.
Linux user since 2003.
Registered Linux ID: #456478
OS: Fedora 16 x86_64
|

3rd November 2008, 12:48 PM
|
|
Registered User
|
|
Join Date: Apr 2008
Location: China
Posts: 101

|
|
|
I'm not taking my laptop with me today so I can't execute what you suggested. But I thought of something that might help you get out of the puzzle and then take me out of it too:
1. I have NetworkManager service enabled and running, controlling eth0(wired), which is the only way that I could get internet access, while leaving eth1(wireless) uncontrolled.
2. Network service is disabled. However, it is alive running.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 19:05 (Sunday, 19-05-2013)
|
|
 |
 |
 |
 |
|
|