Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-28-2007, 05:12 AM
|
#1
|
Member
Registered: May 2006
Location: Bangalore, INDIA
Distribution: Fedora Core
Posts: 69
Rep:
|
squid under chroot environment.
How to run squid under chroot environment ?
I am trying to use the chroot keyword in the configuration file
/etc/squid/squid.conf .
But while retsrting the service, it fails to start. The log file gives the following message.
"
FATAL: Bungled squid.conf line 3292: chroot
Squid Cache (Version 2.5.STABLE9): Terminated abnormally.
FATAL: Bungled squid.conf line 3291: chroot
Squid Cache (Version 2.5.STABLE9): Terminated abnormally.
FATAL: Bungled squid.conf line 3291: chroot
Squid Cache (Version 2.5.STABLE9): Terminated abnormally.
FATAL: Bungled squid.conf line 3291: chroot
Squid Cache (Version 2.5.STABLE9): Terminated abnormally.
FATAL: Bungled squid.conf line 3291: chroot
Squid Cache (Version 2.5.STABLE9): Terminated abnormally.
"
Also can i disable the version information of squid.
|
|
|
04-29-2007, 02:42 AM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
Quote:
Originally Posted by bzlaskar
FATAL: Bungled squid.conf line 3292: chroot
Squid Cache (Version 2.5.STABLE9): Terminated abnormally.
FATAL: Bungled squid.conf line 3291: chroot
Squid Cache (Version 2.5.STABLE9): Terminated abnormally.
|
this would indicate a syntax error on lines 3291 and 3292 of your squid.conf...
what do those lines look like??
Quote:
Also can i disable the version information of squid.
|
IIRC, with a line like:
Code:
httpd_suppress_version_string on
Last edited by win32sux; 04-29-2007 at 02:44 AM.
|
|
|
04-29-2007, 11:38 PM
|
#3
|
Member
Registered: May 2006
Location: Bangalore, INDIA
Distribution: Fedora Core
Posts: 69
Original Poster
Rep:
|
[QUOTE=win32sux]this would indicate a syntax error on lines 3291 and 3292 of your squid.conf...
what do those lines look like??
IIRC, with a line like:[code]httpd_suppress_version_string on
I searched for the string in /etc/squid/squid.conf , but no such string is there . So , I put the line myself at the end of
/etc/squid/squid.conf . But it throws the following error.
"
Stopping squid: 2007/04/30 10:13:49| parseConfigFile: line 3466 unrecognized: 'httpd_suppress_version_string on'.
[ OK ]
Starting squid: . [ OK ]
"
And it also displaying the squid version if i execute
squid -v
I am using squid2.5 .
|
|
|
04-29-2007, 11:39 PM
|
#4
|
Member
Registered: May 2006
Location: Bangalore, INDIA
Distribution: Fedora Core
Posts: 69
Original Poster
Rep:
|
this would indicate a syntax error on lines 3291 and 3292 of your squid.conf...
what do those lines look like??
I have just entered
chroot
at line 3291 so that squid runs in chrooted environment.
|
|
|
All times are GMT -5. The time now is 12:53 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|