squid service start with ./squid

Protecting your Linux box
majidnazeer
Naik
Posts: 60
Joined: Wed Oct 05, 2005 12:37 pm

squid service start with ./squid

Postby majidnazeer » Thu Mar 15, 2007 2:14 pm

AoA!

I installed squid-2.5.STABLE12. Everything work fine. when i restart machine afterthat i need to be manually start squid. I want to set squid to boot run level.
secondly i start squid with ./squid command. I want to run start service with just (squid start) command.
I add ./squid command to rc.local. but after restart machine that's not restarted. Again i start squid manually.

Anybody can solve these problems. 1) squid start on startup 2) squid service start with squid command don't with ./squid.


thanks
Majid Nazeer

zaigham_tt
Havaldaar
Posts: 142
Joined: Fri Sep 22, 2006 8:33 pm
Contact:

Postby zaigham_tt » Thu Mar 15, 2007 2:37 pm


[-RHEL-]
Cadet
Posts: 9
Joined: Fri Jan 19, 2007 7:24 am
Location: Lahore
Contact:

Postby [-RHEL-] » Thu Mar 15, 2007 9:58 pm

Windows : "Where do you want to go today?." Linux : "Where do you want to go tomorrow?." FreeBSD : "Are you guys coming what?."

soh_2000s
Cadet
Posts: 9
Joined: Sun Jun 18, 2006 6:30 am

try this command

Postby soh_2000s » Fri Mar 16, 2007 1:00 am

chkconfig –-level 3 squid on

this is auto matically start squid service when you login in init level 3

kbukhari
Major General
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Location: Lahore
Contact:

Re: squid service start with ./squid

Postby kbukhari » Sat Mar 17, 2007 1:32 am

--
Syed Kashif Ali Bukhari
+92-345-8444420
http://sysadminsline.com
http://kashifbukhari.com

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re: try this command

Postby LinuxFreaK » Sat Mar 17, 2007 9:29 am

Farrukh Ahmed

kbukhari
Major General
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Location: Lahore
Contact:

Re: try this command

Postby kbukhari » Sat Mar 17, 2007 8:51 pm

--

Syed Kashif Ali Bukhari

+92-345-8444420

http://sysadminsline.com

http://kashifbukhari.com

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Mon Mar 19, 2007 9:33 am

Farrukh Ahmed


Return to “Security”

Who is online

Users browsing this forum: No registered users and 1 guest