LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-20-2008, 12:31 PM   #1
oicsdc
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Rep: Reputation: 0
Question Squid Error : no such process


Hi all

I am new at working in Linux Servers.
I am using Ubuntu Server 7.10 and i have installed Squid to control access to the internet. It was working fine and i had no problem so far with squid.

Now when i enter the command

squid -k reconfigure

it gives following error

"ERROR: SQUID no such process"

I am unable to start squid again and need urgent help. Can some one please tell me the way how can i make it work again. I need to know the exact commands to fix the problem.

An urgent reply requested.

Thanx
 
Old 03-20-2008, 01:19 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
there are no "exact commands" if that were the case then they'd stop it not working in the first place, wouldn't they? so why can't you start it? what happens when you do? what does it say in your squid.out file?

and don't use the word "urgent" it's not urgent for us, only you.
 
Old 03-22-2008, 04:49 AM   #3
oicsdc
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Well Chris i do understand that its urgent for me only.

Anyways The problem is that i tried to start the squid as:

/etc/init.d/squid start

and it does start. It says "OK" after starting it. But the problem is still there. I checked the process list and the "squid" is listed as a process.

But when i ammend my acls and use the command

squid -k reconfigure

it says "ERROR no such process"
what could be wrong ??
 
Old 03-22-2008, 04:58 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
as above, check the log files for squid and show us any relevant output
 
Old 02-19-2010, 12:30 PM   #5
sporkit
Member
 
Registered: Feb 2004
Posts: 71

Rep: Reputation: 15
This is high on the google search results.

Solution:

rm /usr/local/squid/logs/squid.pid

ps -aux | grep squid

kill -9 12345

squid -D
 
Old 02-19-2010, 01:44 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
That might be *A* solution, but it's not THE solution, this could be caused by a number of different things, mainly user error.
 
  


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 process terminates for no apparent reason. Palula Linux - Software 12 04-11-2008 09:39 AM
Squid process gets killed qs_tahmeed Linux - Server 1 09-12-2007 03:28 PM
Squid Process Error sachin_shetty Linux - Server 1 03-23-2007 09:12 PM
Squid process. need explaination! mrpc_cambodia Red Hat 5 10-11-2004 12:18 PM
Squid -D process chamnane Linux - Networking 0 08-10-2004 12:09 PM


All times are GMT -5. The time now is 05:37 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration