Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error restarting network card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
signature16
Tux's lil' helper
Tux's lil' helper


Joined: 31 Aug 2005
Posts: 79

PostPosted: Fri Feb 10, 2006 6:02 pm    Post subject: error restarting network card Reply with quote

when i try to restart eth0 it gives me an error. why?




brenden@linuxdesktop ~ $ /etc/init.d/net.eth0 restart
* Caching service dependencies ...
rm: cannot remove `/var/lib/init.d/depcache': Permission denied
rm: cannot remove `/var/lib/init.d/deptree': Permission denied
/bin/mktemp: cannot create temp file /var/lib/init.d/depcache.XmdJuNM: Permission denied
* Failed to create temporary cache!
bash: /var/lib/init.d/depcache: Permission denied
rm: cannot remove `/var/lib/init.d/deptree': Permission denied
:0: assertion failed: system(rm -f /var/lib/init.d/deptree)
gawk: /lib/rcscripts/awk/gendepends.awk:440: fatal: can't redirect to `/var/lib/init.d/deptree' (Permission denied)
touch: cannot touch `/var/lib/init.d/depcache': Permission denied
touch: cannot touch `/var/lib/init.d/deptree': Permission denied
* Failed to cache service dependencies [ !! ]

* Error running '/sbin/depscan.sh'!
* Please correct any problems above.
brenden@linuxdesktop ~ $ ifconfig -a
bash: ifconfig: command not found
Back to top
View user's profile Send private message
stickboy2642
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2004
Posts: 129
Location: MT, USA

PostPosted: Fri Feb 10, 2006 7:08 pm    Post subject: Reply with quote

From the prompt and the error messages you are reporting, it looks to me as though you are running this command as a standard user. Try running it as root.
_________________
<?PHP
if ($desireToSolveProblem > 0){
solve($problem);
}else{
drink($beer);
} ?>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum