December 14, 2017, 10:03:10 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: My Squid doesn't start any more!  (Read 5180 times)

Offline Aleksandar

  • Linux Noob !
  • *
  • Posts: 25
My Squid doesn't start any more!
« on: June 15, 2004, 09:00:56 AM »
I have a problem with squid. When I try to start Squid service I reciving a message "squid failed. The error was: Starting squid..............[FAILED]". It has worked normal until now! Could you help me, please!

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
My Squid doesn't start any more!
« Reply #1 on: June 15, 2004, 09:27:36 AM »
If you can post last 10 lines of your "cache.log" then I can help u further.

Offline Aleksandar

  • Linux Noob !
  • *
  • Posts: 25
Hi, I copy much more than 10 lines!
« Reply #2 on: June 15, 2004, 10:01:37 AM »
May be you need it!

2004/06/15 11:40:27| Starting Squid Cache version 2.5.STABLE1 for i386-redhat-linux-gnu...
2004/06/15 11:40:27| Process ID 2765
2004/06/15 11:40:27| With 1024 file descriptors available
2004/06/15 11:40:27| DNS Socket created at 0.0.0.0, port 32781, FD 5
2004/06/15 11:40:27| Adding nameserver 217.26.64.130 from /etc/resolv.conf
2004/06/15 11:40:27| Adding nameserver 217.26.64.131 from /etc/resolv.conf
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_READ_TIMEOUT': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_LIFETIME_EXP': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_READ_ERROR': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_WRITE_ERROR': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_SHUTTING_DOWN': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_CONNECT_FAIL': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_INVALID_REQ': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_UNSUP_REQ': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_INVALID_URL': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_SOCKET_FAILURE': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_DNS_FAIL': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_CANNOT_FORWARD': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_FORWARDING_DENIED': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_NO_RELAY': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_ZERO_SIZE_OBJECT': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_FTP_DISABLED': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_FTP_FAILURE': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_URN_RESOLVE': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_ACCESS_DENIED': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_CACHE_ACCESS_DENIED': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_CACHE_MGR_ACCESS_DENIED': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_FTP_PUT_CREATED': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_FTP_PUT_MODIFIED': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_FTP_PUT_ERROR': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_FTP_NOT_FOUND': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_FTP_FORBIDDEN': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_FTP_UNAVAILABLE': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_ONLY_IF_CACHED_MISS': (2) No such file or directory
2004/06/15 11:40:27| errorTryLoadText: '/usr/share/squid/errors/ERR_TOO_BIG': (2) No such file or directory
2004/06/15 11:40:27| Unlinkd pipe opened on FD 10
2004/06/15 11:40:27| Swap maxSize 102400 KB, estimated 7876 objects
2004/06/15 11:40:27| Target number of buckets: 393
2004/06/15 11:40:27| Using 8192 Store buckets
2004/06/15 11:40:27| Max Mem  size: 8192 KB
2004/06/15 11:40:27| Max Swap size: 102400 KB
2004/06/15 11:40:27| Rebuilding storage in /var/spool/squid (DIRTY)
2004/06/15 11:40:27| Using Least Load store dir selection
2004/06/15 11:40:27| Set Current Directory to /var/spool/squid
2004/06/15 11:40:27| Loaded Icons.
2004/06/15 11:40:27| commBind: Cannot bind socket FD 12 to *:8080: (98) Address already in use
FATAL: Cannot open HTTP Port
Squid Cache (Version 2.5.STABLE1): Terminated abnormally.
CPU Usage: 0.050 seconds = 0.020 user + 0.030 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 481
Memory usage for squid via mallinfo():
   total space in arena:    1908 KB
   Ordinary blocks:         1897 KB      2 blks
   Small blocks:               0 KB      1 blks
   Holding blocks:           200 KB      1 blks
   Free Small blocks:          0 KB
   Free Ordinary blocks:      10 KB
   Total in use:            2097 KB 110%
   Total free:                10 KB 1%
10Q! :)

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
My Squid doesn't start any more!
« Reply #3 on: June 15, 2004, 03:06:27 PM »
r u running webserver on ur same computer ? ur problem is that u r using same port as some other application is using.. see
Quote
2004/06/15 11:40:27| commBind: Cannot bind socket FD 12 to *:8080: (9 Address already in use
FATAL: Cannot open HTTP Port
So solution is either change that application to use other port or tell squid to use different port.. you can use "8000" or "3128" . You can do that by changing following directive ..
Code: [Select]
http_port 3128

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
My Squid doesn't start any more!
« Reply #4 on: June 15, 2004, 03:07:20 PM »
btw. i had told u to post only last 10 lines.. :)

Offline Aleksandar

  • Linux Noob !
  • *
  • Posts: 25
Hi!
« Reply #5 on: June 16, 2004, 08:25:27 AM »
It's OK! I've found and resolved this problem.
Thank you a lot anyway!