LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-19-2008, 02:48 PM   #1
brian.m
LQ Newbie
 
Registered: Nov 2008
Posts: 11

Rep: Reputation: 0
Exclamation Squid and Webmin: Cannot Start, No Errors


I've been looking around and can't seem to figure out what the problem is. I am able to start squid from the shell, but it fails if I try to start in Webmin. Any ideas would be helpful! Running Fedora 9, Webmin 1.441 and Squid 3.0.STABLE7.

From shell:
Quote:
[root@svr1 ~]# /etc/init.d/squid start
2008/11/19 13:01:24| Processing Configuration File: /etc/squid/squid.conf (depth 0)
2008/11/19 13:01:24| Initializing https proxy context
Starting squid: . [ OK ]
[root@svr1 ~]# ps aux | grep 'squid'
root 7852 0.0 0.2 10752 2336 ? Ss 13:01 0:00 squid -D
squid 7855 0.0 0.8 14404 8756 ? S 13:01 0:00 (squid) -D
squid 7856 0.0 0.0 3228 1008 ? Ss 13:01 0:00 (unlinkd)
root 7859 0.0 0.0 4120 688 pts/0 S+ 13:04 0:00 grep squid
[root@svr1 ~]# /etc/init.d/squid status
squid (pid 7852) is running...
[root@svr1 ~]#
From Webmin, I get the following error:
Quote:
Failed to start Squid :

2008/11/19 13:11:44| Processing Configuration File: /etc/squid/squid.conf (depth 0)
2008/11/19 13:11:44| Initializing https proxy context
Starting squid: .[ OK ]
While Webmin tries to start, it appears as if it is attempting to launch two processes:
Quote:
[root@svr1 ~]# ps aux | grep 'squid'
root 7972 2.0 1.0 16732 10968 ? S 13:11 0:00 /usr/libexec/webmin/squid/start.cgi
root 7983 0.0 0.2 10752 2332 ? Ss 13:11 0:00 squid -D
squid 7986 0.3 0.8 14404 8772 ? S 13:11 0:00 (squid) -D
squid 7988 0.0 0.0 3228 1008 ? Ss 13:11 0:00 (unlinkd)
root 7993 0.0 0.0 2716 1012 ? S 13:11 0:00 sh -c /etc/rc.d/init.d/squid stop >/dev/null 2>&1 </dev/null
root 7994 0.1 0.1 4924 1336 ? S 13:11 0:00 /bin/bash /etc/rc.d/init.d/squid stop
root 8019 0.0 0.0 4124 700 pts/0 S+ 13:12 0:00 grep squid
[root@svr1 ~]# /etc/init.d/squid status
squid (pid 7893 7852) is running...
[root@svr1 ~]#
There are no errors in the log.. it simply starts and shuts down:
Quote:
[root@svr1 ~]# nano /var/log/squid/cache.log

2008/11/19 13:11:44| Starting Squid Cache version 3.0.STABLE7 for i386-redhat-linux-gnu...
2008/11/19 13:11:44| Process ID 7986
2008/11/19 13:11:44| With 1024 file descriptors available
2008/11/19 13:11:44| DNS Socket created at 0.0.0.0, port 40816, FD 7
2008/11/19 13:11:44| Adding domain MYDOMAIN.COM from /etc/resolv.conf
2008/11/19 13:11:44| Adding nameserver XX.XX.XX.XX from /etc/resolv.conf
2008/11/19 13:11:44| Adding nameserver XX.XX.XX.XX from /etc/resolv.conf
2008/11/19 13:11:44| User-Agent logging is disabled.
2008/11/19 13:11:44| Referer logging is disabled.
2008/11/19 13:11:45| Unlinkd pipe opened on FD 12
2008/11/19 13:11:45| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2008/11/19 13:11:45| Swap maxSize 102400 KB, estimated 7876 objects
2008/11/19 13:11:45| Target number of buckets: 393
2008/11/19 13:11:45| Using 8192 Store buckets
2008/11/19 13:11:45| Max Mem size: 8192 KB
2008/11/19 13:11:45| Max Swap size: 102400 KB
2008/11/19 13:11:45| Version 1 of swap file with LFS support detected...
2008/11/19 13:11:45| Rebuilding storage in /var/spool/squid (CLEAN)
2008/11/19 13:11:45| Using Least Load store dir selection
2008/11/19 13:11:45| Set Current Directory to /var/spool/squid
2008/11/19 13:11:45| Loaded Icons.
2008/11/19 13:11:45| Accepting HTTP connections at 0.0.0.0, port 8080, FD 14.
2008/11/19 13:11:45| HTCP Disabled.
2008/11/19 13:11:45| Ready to serve requests.
2008/11/19 13:11:45| Done reading /var/spool/squid swaplog (0 entries)
2008/11/19 13:11:45| Finished rebuilding storage from disk.
2008/11/19 13:11:45| 0 Entries scanned
2008/11/19 13:11:45| 0 Invalid entries.
2008/11/19 13:11:45| 0 With invalid flags.
2008/11/19 13:11:45| 0 Objects loaded.
2008/11/19 13:11:45| 0 Objects expired.
2008/11/19 13:11:45| 0 Objects cancelled.
2008/11/19 13:11:45| 0 Duplicate URLs purged.
2008/11/19 13:11:45| 0 Swapfile clashes avoided.
2008/11/19 13:11:45| Took 0.03 seconds ( 0.00 objects/sec).
2008/11/19 13:11:45| Beginning Validation Procedure
2008/11/19 13:11:45| Beginning Validation Procedure
2008/11/19 13:11:45| Completed Validation Procedure
2008/11/19 13:11:45| Validated 25 Entries
2008/11/19 13:11:45| store_swap_size = 0
2008/11/19 13:11:46| storeLateRelease: released 0 objects
2008/11/19 13:11:50| Preparing for shutdown after 0 requests
2008/11/19 13:11:50| Waiting 30 seconds for active connections to finish
2008/11/19 13:11:50| FD 14 Closing HTTP connection
2008/11/19 13:12:22| Shutting down...
2008/11/19 13:12:22| Closing unlinkd pipe on FD 12
2008/11/19 13:12:22| storeDirWriteCleanLogs: Starting...
2008/11/19 13:12:22| Finished. Wrote 0 entries.
2008/11/19 13:12:22| Took 0.00 seconds ( 0.00 entries/sec).
CPU Usage: 0.129 seconds = 0.079 user + 0.050 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
total space in arena: 3396 KB
Ordinary blocks: 3315 KB 9 blks
Small blocks: 0 KB 1 blks
Holding blocks: 1712 KB 8 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 80 KB
Total in use: 5027 KB 148%
Total free: 80 KB 2%
2008/11/19 13:12:22| Squid Cache (Version 3.0.STABLE7): Exiting normally.
 
  


Reply



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
Can't create new ACL for Squid in Webmin ashwin_think Linux - Newbie 4 04-18-2008 05:58 AM
Squid howto using webmin linuxlover.chaitanya Linux - Software 0 04-18-2008 12:54 AM
Installing squid and dansguardian in webmin guy_ripper Linux - Networking 1 12-23-2006 12:16 PM
Webmin CGI errors... Gaz25 Linux - Software 3 05-22-2006 02:34 PM
webmin setup errors greatking Linux - Newbie 2 04-23-2004 11:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:58 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
Open Source Consulting | Domain Registration