LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > 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, 04: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, 05:05 AM   #2
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 98
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-28-2009, 11:44 PM   #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, 02:12 PM   #4
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 98
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, 12: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, 12: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, 12:48 AM   #7
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

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

LinuxQuestions.org > Forums > LinuxQuestions.org > LinuxQuestions.org Member Intro

All times are GMT -5. The time now is 08:23 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
Open Source Consulting | Domain Registration