View previous topic :: View next topic |
Author |
Message |
signature16 Tux's lil' helper
Joined: 31 Aug 2005 Posts: 79
|
Posted: Fri Feb 10, 2006 6:02 pm Post subject: error restarting network card |
|
|
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 |
|
|
stickboy2642 Tux's lil' helper
Joined: 21 Jan 2004 Posts: 129 Location: MT, USA
|
Posted: Fri Feb 10, 2006 7:08 pm Post subject: |
|
|
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 |
|
|
|