Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-12-2013, 07:22 AM   #1
Sefid par
Registered: Jul 2013
Location: Iran, Shiraz
Distribution: Slackware Current, Ubuntu server 18.04, Debian 9
Posts: 127

Rep: Reputation: 26
Question Slackware: Start a service

I need to start the CUPS service. Because as I asked in another post, My port 631 is not open.
The "/etc/init.d/" has only two files and there is no cupsd:
-rw-r--r-- 1 root root   832 Sep 23  2008 README.functions
-rwxr-xr-x 1 root root 13913 Sep 23  2008 functions*
I know I have cups installed. I have removed and installed it again today.

Is there another way to start cupsd (or another service)?

Last edited by Sefid par; 07-12-2013 at 07:23 AM.
Old 07-12-2013, 08:17 AM   #2
Registered: Jan 2006
Distribution: Slackware
Posts: 855

Rep: Reputation: 169Reputation: 169
In Slackware, there is usually nothing in /etc/init.d/ directory. Most services are started from scripts in /etc/rc.d. For cups:

# chmod +x /etc/rc.d/rc.cups
# /etc/rc.d/rc.cups start
It will automatically start on subsequent boots.
1 members found this post helpful.
Old 07-12-2013, 08:23 AM   #3
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled

you'll have to make /etc/rc.d/rc.cupsd executeable, then it will be started automatically when the system starts.
chmod 755 /etc/rc.d/rc.cupsd
You can manually start it with
/etc/rc.d/rc.cupsd start

BTW: why don't you ask in the Slackware Forum of LQ?

Last edited by markush; 07-12-2013 at 08:25 AM.


service, slackware, start

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
[SOLVED] Slackware: Start a service Sefid par Linux - Newbie 2 07-12-2013 08:03 AM
puppet needs to stop a service, do something, then start the service edwardcode Programming 1 12-03-2012 01:58 PM
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 01:59 PM
how squid service be start/restart in slackware LinuxLover Slackware 5 10-22-2004 07:16 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration