LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 04-06-2005, 04:58 PM   #1
Imajica21
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Rep: Reputation: 0
Arrow sudo command not working startproc cmd not found


I used visudo to edit the sudoers file and created a group that would be allowed to use the /etc/init.d/cups restart command as root without using a password, as well as some other printing commands. When i use the command

sudo /etc/init.d/cup restart

This is what shows.

-n Shutting down cupsd
/etc/init.d/cups: line 98: killproc: command not found
-en -en
-en -en -
-en failed-en -en
-en -en

-n Starting cupsd
/etc/init.d/cups: line 88: startproc: command not found
-en -en
-en -en -
-en failed-en -en
-en -en

It obviously doesn't restart cups, however, if I execute this command as root it works fine. This is Suse 8, HP330 ML. I have had problems with cups dying off at this install, I didn't get any responses on that thread. so I was trying to be able to have my users be able to start this up with out me dialing in every morning. A girl needs her Beauty sleep, can anyone shed some light on my sudo problem.

Thanks

:D
 
Old 04-06-2005, 06:56 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Not knowing what your /etc/init.d/cups' line
98 and 88 look like it's hard to asses ... but
rather than wrapping a kludge around the failing
process: did you push the debug level up in
cupsd.conf and check the error logs to see
WHY it's dying?


Cheers,
Tink
 
Old 04-14-2005, 01:22 PM   #3
Imajica21
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Original Poster
Rep: Reputation: 0
I might be on to the problem. First we had a uni-directional cable on the printer. Changed that. Then we had two entries in yast for a network printer and the parallel printer. Removed the network printer and that seems to get rid of the the not responding error. So fingers crossed it may be resolved. Thanks for your help though
 
  


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
equivalent Linux command for windows start cmd alix123 Programming 4 11-16-2008 06:06 PM
iostat cmd not found karthic Linux - Enterprise 2 03-22-2005 05:04 AM
determine whether 'find' cmd found the file or not mufy Linux - General 7 03-16-2005 07:24 AM
installpkg cmd not found Hectic Slackware 2 10-13-2004 07:31 AM
sudo: readme : command not found vishal.thorat Linux - Security 3 07-17-2003 05:56 PM


All times are GMT -5. The time now is 05:33 AM.

Main Menu
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