nixCraft Linux Forum

nixCraft

Linux / UNIX 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

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 25-07-2006, 01:57 PM
Senior Member
User
 
Join Date: Jul 2006
Posts: 145
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
asim.mcp is on a distinguished road
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
  #2 (permalink)  
Old 25-07-2006, 10:27 PM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 5
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 26-07-2006, 10:11 AM
Senior Member
User
 
Join Date: Jul 2006
Posts: 145
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
asim.mcp is on a distinguished road
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 27-07-2006, 04:05 AM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 5
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 27-07-2006, 10:44 AM
Senior Member
User
 
Join Date: Jul 2006
Posts: 145
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
asim.mcp is on a distinguished road
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 27-07-2006, 02:29 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,706
Thanks: 11
Thanked 243 Times in 183 Posts
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 Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply


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 Off


Similar Threads

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


All times are GMT +5.5. The time now is 04:48 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

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 37 38