LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Squid Error : no such process (https://www.linuxquestions.org/questions/linux-newbie-8/squid-error-no-such-process-629477/)

oicsdc 03-20-2008 11:31 AM

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

acid_kewpie 03-20-2008 12:19 PM

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.

oicsdc 03-22-2008 03:49 AM

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 ??

acid_kewpie 03-22-2008 03:58 AM

as above, check the log files for squid and show us any relevant output

sporkit 02-19-2010 11:30 AM

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

acid_kewpie 02-19-2010 12:44 PM

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


All times are GMT -5. The time now is 01:42 AM.