LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-04-2010, 04:54 AM   #1
shibu_sp
Member
 
Registered: Aug 2007
Posts: 57

Rep: Reputation: 15
Squid Cache (Version 2.5.STABLE14): Terminated abnormally.


Dear All

When i restart the squid service, the following error has occured

Code:
2010/10/04 12:14:14| Squid is already running!  Process ID 3941
FATAL: setrlimit: RLIMIT_NOFILE: (13) Permission denied
Squid Cache (Version 2.5.STABLE14): Terminated abnormally.
CPU Usage: 0.012 seconds = 0.007 user + 0.005 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
How can i rectify the error

Shibu
 
Old 10-04-2010, 06:45 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
This post porvides insufficeint data

Try whats the error in log files

Last edited by prayag_pjs; 10-04-2010 at 06:46 AM.
 
Old 10-04-2010, 11:35 PM   #3
shibu_sp
Member
 
Registered: Aug 2007
Posts: 57

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by prayag_pjs View Post
This post porvides insufficeint data

Try whats the error in log files
Dear Sir

Sorry for delay....

We are using RHAS 4 and squid-2.5.STABLE14-1.4E .

Our squid service is not running. When i start the squid service the follwoing error has occurred.

Code:
[root@localhost squid]# service squid restart

Stopping squid: /etc/init.d/squid: line 82:  7564 Aborted                 $SQUID -k check >>/var/log/squid/squid.out 2>&1
                                                           [FAILED]
Starting squid: /etc/init.d/squid: line 53:  7565 Aborted                 $SQUID $SQUID_OPTS >>/var/log/squid/squid.out 2>&1
                                                           [FAILED]
Code:
[root@localhost squid]# vi /var/log/squid/squid.out 2>&1


FATAL: setrlimit: RLIMIT_NOFILE: (13) Permission denied
Squid Cache (Version 2.5.STABLE14): Terminated abnormally.
CPU Usage: 0.011 seconds = 0.008 user + 0.003 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
2010/10/05 08:31:03| Squid is already running!  Process ID 3939
how to sortout the problem.

thanks in advance

Shibu
 
Old 10-05-2010, 12:00 AM   #4
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
SELinux may be causing the trouble

Do this:

vim /etc/selinux/config
Quote:
you will find a entry selinux="enforce"
change to selinux="disabled"
Using command prompt run the command

Quote:
setenforce 0
 
  


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
Using Active directory Authentication of parent non-squid cache to child squid cache espiya7 Linux - Server 0 05-05-2009 09:04 AM
squid just as cache abd_bela Debian 1 01-21-2009 07:21 AM
squid cache dablew Linux - Software 2 07-13-2007 12:45 PM
PHP Socket Server terminated abnormally janhouse00 Programming 1 07-12-2007 10:56 PM
How to make my program terminated abnormally? George2 Programming 14 04-25-2006 08:25 AM


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