LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General > LinuxQuestions.org Member Intro
User Name
Password
LinuxQuestions.org Member Intro New to LinuxQuestions.org? Been a long time member but never made a post? Introduce yourself here.

Notices



Reply
 
Search this Thread
Old 09-25-2009, 05:28 AM   #1
rajunetha
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Rep: Reputation: 0
How to start squid command when computer start fedora


Hello

every one

This is Raju Netha form Hyderabad

can your help me on this /etc/rc.d/init.d/squid start command when computer start fedora

Regards-

Rajunetha
 
Old 09-25-2009, 06:05 AM   #2
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,013

Rep: Reputation: 83
I take it that squid is not starting when the machine boots currently?

You need to know what your default runlevel is, you can find this out by typing:
Code:
runlevel
from the command prompt, run man runlevel for more details.

Assuming that your default runlevel is 3 and that you have a /etc/rc3.d folder.

(as root):
Code:
ln -s /etc/rc.d/init.d/squid /etc/rc3.d/S99squid
 
Old 09-29-2009, 12:44 AM   #3
rajunetha
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Original Poster
Rep: Reputation: 0
My default runlevel is N 5.

[root@localhost ~]# runlevel
N 5
[root@localhost ~]#
After booting I am giving command using Terminal

[root@localhost ~]#/etc/rc.d/init.d/squid start

it is starting.
 
Old 09-29-2009, 03:12 PM   #4
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,013

Rep: Reputation: 83
What is the output from:

Code:
find /etc -type d -name rc5.d
And additionally:

Code:
find /etc -type f -name '*squid*'
 
Old 10-01-2009, 01:06 AM   #5
rajunetha
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Original Poster
Rep: Reputation: 0
i did not get you

my terminal default prompt is

[root@localhost ~]#
 
Old 10-01-2009, 01:08 AM   #6
rajunetha
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Original Poster
Rep: Reputation: 0
form there i am typing this command line

/etc/rc.d/init.d/squid start
 
Old 10-01-2009, 01:48 AM   #7
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,013

Rep: Reputation: 83
Yes, I understand that.

Generally, the system startup scripts are in a sub folder of /etc

There would be a folder for each run level ( rc1.d rc2.d rc3.d etcetera)

What I was trying to find out from the find commands I asked you to perform, was "Where is your rc5.d folder located?" and "Do you have an automated startup file for squid at any run level?"

Please can you run the commands and let me know the results.
 
  


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
Squid failing to start fedora 5 kr1spen Linux - Newbie 3 09-10-2009 07:34 AM
The computer could not start after installation of Fedora 10! eastwind Fedora - Installation 2 04-27-2009 09:50 AM
installing squid : service squid start --> error jonaskellens Linux - Software 2 09-05-2008 04:06 AM
How to start bash commands automatically every time I start the computer brgsousa Linux - Software 2 10-18-2007 12:26 PM
Computer doesn't start; fans start then stop; 1 long, 1 short beep PatrickMay16 General 18 09-26-2007 08:48 PM


All times are GMT -5. The time now is 01:49 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