LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-30-2010, 07:48 AM   #1
ssouter
LQ Newbie
 
Registered: Oct 2010
Location: Waikerie South Australia
Distribution: Ubutu 10.10 server 10.04 Destop and Netbook
Posts: 3

Rep: Reputation: 0
Squid failing startup on Ubuntu 10.10 server


I've just built a home server/router with an Atom processor and Viking ADSL card, with the intension of running a content filter and providing a file server, and possible a mail server in the future.

I am not totally new to Linux having used desktop for about 9mths and have played with a testbed with server 10.04 32 bit. I had Squid/Dansguardian and ClamAV working on the testbed.

I've got Ubuntu Server 10.10 64bit running with OpenSSH, Webmin. I've setup the ADSL card as a bridge and PPPOE running. Masquerading is setup. A DHCP server using DHCP3 is running. My home network of 2 dual load PCs (a desktop and a laptop) are both running without incident.

When I try install Squid I get the following.

Setting up squid (2.7.STABLE9-2ubuntu5) ...
start: Job failed to start
dpkg: error processing squid (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
squid
E: Sub-process /usr/bin/dpkg returned an error code (1)

If I set the desktop PC proxy settings to direct traffic to the proxy on the server it tells me:

"The proxy server is refusing connections
Firefox is configured to use a proxy server that is refusing connections.
* Check the proxy settings to make sure that they are correct.

* Contact your network administrator to make sure the proxy server is
working."

If I look in /etc/init.d squid isn't there??

I've tried remove and install again and also loaded Tinyproxy all to no avail.

I can't get Dansguardian working without a proxy server. I'm at a loss.

Suggestions?

Last edited by ssouter; 10-30-2010 at 07:52 AM.
 
Old 10-30-2010, 08:22 AM   #2
HasC
Member
 
Registered: Oct 2009
Location: South America - Paraguay
Distribution: Debian 5 - Slackware 13.1 - Arch - Some others linuxes/*BSDs through KVM and Xen
Posts: 329

Rep: Reputation: 55
seems you couldn't even _install_ squid. no wonder you couldn't run it neither.
try to find why you couldn't install.
 
Old 11-01-2010, 05:27 AM   #3
ssouter
LQ Newbie
 
Registered: Oct 2010
Location: Waikerie South Australia
Distribution: Ubutu 10.10 server 10.04 Destop and Netbook
Posts: 3

Original Poster
Rep: Reputation: 0
A Locate squid shows squid commands all over the place. I installed with sudo apt-get install squid. all seemed ok until it came time to start squid. I've removed and installed again, no change. Ive also tried tinyproxy. All no good.

I have no idea if squid is not installing but it looks ok, apart from not being in /etc/init.d. I managed to install squid/dansguardian/clamav on my test bed with no issues.

I would appreciate some guidance on how to check the install. I'm totally reliant on apt to load stuff.

Scott
 
Old 11-03-2010, 07:24 PM   #4
ssouter
LQ Newbie
 
Registered: Oct 2010
Location: Waikerie South Australia
Distribution: Ubutu 10.10 server 10.04 Destop and Netbook
Posts: 3

Original Poster
Rep: Reputation: 0
Removed, cleaned, used autoremove and re installed. Changed Dansguardian socket to 8888. Now working?? already tried this before posting, not sure what was different!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Ubuntu 10.04 headless server failing to shutdown ivanmacx Linux - Server 5 08-13-2010 03:28 PM
Userful keeps failing to start the x server - ubuntu 9.10 ATI radeon adgators89 Linux - Software 7 04-12-2010 11:04 PM
[SOLVED] /etc/init.d network dependent scripts running/failing at boot [on ubuntu server] pimanlives Linux - Newbie 5 03-15-2010 08:59 PM
booting / lvm / failing hard drive issues (ubuntu server) ericthefish Linux - Newbie 15 08-09-2009 12:32 PM
Outlook Failing to Login Dovecot IMAP on Ubuntu Server ddoherty03 Linux - Newbie 1 01-03-2009 09:24 AM

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

All times are GMT -5. The time now is 10:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration