LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 05-05-2005, 08:23 PM   #1
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Rep: Reputation: 33
I lost the halt command and the shutdown!!!!


Hi there!!!

Belive it or not I lost the halt command and the shutdown commands.?

I guess I deinstall something I shouldn't, any ideas?
 
Old 05-05-2005, 08:33 PM   #2
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Original Poster
Rep: Reputation: 33
By the way...

Yes I did try the locate and the find just in case.
I also check the path, and they are missing from the /sbin folder.
 
Old 05-05-2005, 08:53 PM   #3
buaku
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2 (2.4.31)
Posts: 111

Rep: Reputation: 15
could try using init to do those things
init 0 to shutdown.

could try and figure out what packages those commands are part of an reinstall that package
 
Old 05-05-2005, 09:22 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Don't panic, first you can see where they're using find or locate or by searching in http://slackware.com/pb.
The latest will also tell you in which package they're, in this case http://www.slackware.com/pb/searchfi...Fshutdown&w=on will tell you it's on sysvinit package.
Now you can see if you've that package using pkgtool or running this command:
Code:
ls /var/log/packages/*sysvinit*
If you see a line, then you've it, else, you'll need to get it, you can use your slackware cd or download it from that address.

If you have the binaries, then maybe your path has changed, you can see that with:
Code:
echo $PATH
In that case the problem could be that your /etc/profile file changed.

Last edited by gbonvehi; 05-05-2005 at 09:24 PM.
 
Old 05-06-2005, 10:45 AM   #5
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Original Poster
Rep: Reputation: 33
Thanks a lot!!!

I was using init 0, but still those binarys are quite attached to the system so they kept me wondering whtat else did I uninstall that I shouldn't.
 
Old 05-06-2005, 09:43 PM   #6
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
Isn't computing fun?
 
Old 05-07-2005, 04:13 AM   #7
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
Quote:
Originally posted by mago
Thanks a lot!!!

I was using init 0, but still those binarys are quite attached to the system so they kept me wondering whtat else did I uninstall that I shouldn't.
hhmm, look in /var/log/removed packages
AND /var/log/removed scripts
these will list what you took out........sounds like one of them was the
binutils package..........???
 
Old 05-07-2005, 06:20 AM   #8
wpyh
Member
 
Registered: Jun 2004
Location: Beijing
Distribution: Slackware 9.1 but FUBAR with packages I compile myself, and OpenBSD (not exactly a distro) on QEMU
Posts: 153

Rep: Reputation: 35
But they should be in the sysvinit package, right?
 
  


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
unable to 'shutdown' from x... need to shutdown using 'halt' guitarnix Linux - Newbie 5 11-24-2003 02:00 AM
debian shutdown halt problem acpi apm win32sux Linux - General 0 09-26-2003 01:57 PM
SuSE 8.2 Will Not Poweroff, Shutdown, Reboot, Halt... whiskeypriest Linux - Newbie 4 09-18-2003 10:29 AM
Disable reboot/halt/shutdown as normal user carstenbjensen Mandriva 4 09-09-2003 12:42 PM
halt, shutdown, and reboot HappyDude Linux - Software 29 07-24-2003 03:05 PM


All times are GMT -5. The time now is 06:08 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration