- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Squid Error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2006 08:06 PM
04-24-2006 08:06 PM
Squid Error
I have installed redhat AS 4.0 and the cache_dir and cache_log seem to be ok for the squid. But when i start the squid, i get the below error which is enclosed for your reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2006 08:18 PM
04-24-2006 08:18 PM
Re: Squid Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2006 08:23 PM
04-24-2006 08:23 PM
Re: Squid Error
i checked out the dameon and its being owned by root .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2006 08:26 PM
04-24-2006 08:26 PM
Re: Squid Error
Apr 25 15:55:23 localhost squid: Failed to make swap directory /squid-cache/squid0: (13) Permission denied.
a few questions
1) Does this directory exist
2) what are the permissions
3) Is there free disk space on sda3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2006 08:42 PM
04-24-2006 08:42 PM
Re: Squid Error
Pls find the response to ur questions
1) Does this directory exist?
Yes, the directory exists.
2)what are the permissions?
The permissions are 755 and is being owned by squid
3)Is there free disk space on sda3?
25 gb of space is available on sda3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2006 08:42 PM
04-24-2006 08:42 PM
Re: Squid Error
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2006 08:50 PM
04-24-2006 08:50 PM
Re: Squid Error
I had executed squid -z which never created the squid directories , so i copied the cache directories from an existing proxy which also works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2006 01:50 AM
04-25-2006 01:50 AM
Re: Squid Error
1st run squid as squid and not root.
You need to have correct ownership & permissions on the squid directories:
chown -R squid:squid /var/squid/cache
& also to the squid dir
usually
chown -R squid:squid /usr/local/squid
else
chown -R squid:squid /etc/squid
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2006 08:50 PM
04-25-2006 08:50 PM
Re: Squid Error
step 1: install the squid rpm. This will create the user (squid) and all required directories and files (including, for instance, those needed for logs and logrotate)
step 2: adjust /etc/squid/squid.conf to your needs, (including the spool directory)
In case you replace the default cache directory, please make sure to allow squid to write in the new top directory of the hierarchy (i.e. chown squid /var/spool/new_squid_spool && chmod u+rwx /var/spool/new_squid_spool)
step 3: issue /etc/init.d/squid start
On the first run it will create the hierarchy needed by squid (actually it will run squid -z); on subsequent runs it will just use the existing directories.
Do not blindly copy the cache structure from another server, unless you know EXACTLY what you are doing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2006 11:56 PM
04-25-2006 11:56 PM