nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

squid service error loading on startup

This is a discussion on squid service error loading on startup within the Linux software forums, part of the Linux Getting Started category; hi i've installed squid on FC5 and i configured squid to start on startup"chkconfig squid on" but it fails to ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 07-25-2006, 02:57 PM
Member
User
 
Join Date: Jul 2006
Posts: 50
Rep Power: 0
asim.mcp
Default squid service error loading on startup

hi

i've installed squid on FC5 and i configured squid to start on startup"chkconfig squid on" but it fails to start on startup

any help please
regards
Asim
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-25-2006, 11:27 PM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Rep Power: 4
tom is on a distinguished road
Default

Use ntsysv to setup services:
Code:
ntsysv
and command to start squid -

Code:
service squid start
or
Code:
/etc/init.d/squid start
Reply With Quote
  #3 (permalink)  
Old 07-26-2006, 11:11 AM
Member
User
 
Join Date: Jul 2006
Posts: 50
Rep Power: 0
asim.mcp
Default

I already have added squid in ntsysv and as you told me to start it from

Code:
service squid start
or

Code:
/etc/init.d/squid start
i've done this all but invain

# service squid start
Starting squid: .................... [FAILED]
# /etc/init.d/squid start
Starting squid: .................... [FAILED]

Now what to do??

any help please?
Reply With Quote
  #4 (permalink)  
Old 07-27-2006, 05:05 AM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Rep Power: 4
tom is on a distinguished road
Default

What error message do you see in /var/log/message or squid access.log file
Reply With Quote
  #5 (permalink)  
Old 07-27-2006, 11:44 AM
Member
User
 
Join Date: Jul 2006
Posts: 50
Rep Power: 0
asim.mcp
Default

After enter this command

Code:
#service start squid
Code:
#Starting squid: ....................                       [FAILED]
in /var/log/messeges errors are

Jul 27 10:06:32 Support-24 squid[2629]: Squid Parent: child process 2631 started
Jul 27 10:06:32 Support-24 (squid): shmat failed
Jul 27 10:06:32 Support-24 squid[2629]: Squid Parent: child process 2631 exited due to signal 6
Jul 27 10:06:32 Support-24 kernel: audit(1153976792.352:30): avc: denied { read write } for pid=2631 comm="squid" name="SYSV00291c02" dev=tmpfs ino=655374 scontext=user_u:system_r:squid_t:s0 tcontext=user_ubject_r:tmpfs_t:s0 tclass=file
Jul 27 10:06:35 Support-24 squid[2629]: Squid Parent: child process 2639 started
Jul 27 10:06:35 Support-24 (squid): shmat failed
Jul 27 10:06:35 Support-24 squid[2629]: Squid Parent: child process 2639 exited due to signal 6
Jul 27 10:06:35 Support-24 kernel: audit(1153976795.644:31): avc: denied { read write } for pid=2639 comm="squid" name="SYSV00293c02" dev=tmpfs ino=688143 scontext=user_u:system_r:squid_t:s0 tcontext=user_ubject_r:tmpfs_t:s0 tclass=file
Jul 27 10:06:38 Support-24 squid[2629]: Squid Parent: child process 2645 started
Jul 27 10:06:38 Support-24 (squid): shmat failed
Jul 27 10:06:38 Support-24 squid[2629]: Squid Parent: child process 2645 exited due to signal 6
Jul 27 10:06:38 Support-24 kernel: audit(1153976798.956:32): avc: denied { read write } for pid=2645 comm="squid" name="SYSV00295402" dev=tmpfs ino=720912 scontext=user_u:system_r:squid_t:s0 tcontext=user_ubject_r:tmpfs_t:s0 tclass=file
Jul 27 10:06:41 Support-24 squid[2629]: Squid Parent: child process 2651 started
Jul 27 10:06:42 Support-24 (squid): msgget failed
Jul 27 10:06:42 Support-24 squid[2629]: Squid Parent: child process 2651 exited due to signal 6
Jul 27 10:06:45 Support-24 squid[2629]: Squid Parent: child process 2658 started
Jul 27 10:06:45 Support-24 (squid): msgget failed
Jul 27 10:06:45 Support-24 squid[2629]: Squid Parent: child process 2658 exited due to signal 6
Jul 27 10:06:45 Support-24 squid[2629]: Exiting due to repeated, frequent failures


Any help????????????????/


Regards
Asim
Reply With Quote
  #6 (permalink)  
Old 07-27-2006, 03:29 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,061
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

This is known problem. To solve this problem configure SELinux or disable SELinux for Squid.

Run system-config-securitylevel command and disable Squid. See old topic for same problem http://forum.cyberciti.biz/problem-w...uid-vt441.html
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Change/Set priority of startup service ssol CentOS / RHEL / Fedora 0 04-21-2008 06:33 AM
Squid Error zakaferoz Mail Servers 1 02-12-2008 05:05 AM
dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1 raj Mail Servers 1 11-15-2007 11:43 AM
Automatic startup service gthian Shell scripting 0 06-24-2007 09:21 AM
Squid Error rajuk Linux software 4 11-11-2005 04:05 PM


All times are GMT +5.5. The time now is 01:33 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36