Results 1 to 5 of 5

Thread: squid on 8.04

  1. #1
    Join Date
    Feb 2008
    Beans
    16

    Question squid on 8.04

    I cant get squid to work on ubuntu 8.04. i got squid via apt-get and when i tryed to start it i got a fail message telling me to set "visible_hostname" so i did. and that made the init.d script work fine but i cant find the pid file in /var/run and it never opens the ports for squid

    entering squid in the cl gave me an error saying it couldnt read from the squid.conf file due to permission issue so i chmod 777 /etc/squid/squid.conf and still no joy, any ideas?

  2. #2
    Join Date
    May 2007
    Location
    Phoenix, Arizona USA
    Beans
    2,909
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: squid on 8.04

    Quote Originally Posted by emada View Post
    I cant get squid to work on ubuntu 8.04. i got squid via apt-get and when i tryed to start it i got a fail message telling me to set "visible_hostname" so i did. and that made the init.d script work fine but i cant find the pid file in /var/run and it never opens the ports for squid

    entering squid in the cl gave me an error saying it couldnt read from the squid.conf file due to permission issue so i chmod 777 /etc/squid/squid.conf and still no joy, any ideas?
    After you start squid, do this:

    Code:
    ps aux | grep squid
    You should see two lines, one is you searching for the squid process and the other is the actual process itself. The process ID should be in that output. If you don't see it, it isn't starting.

    On reading the squid.conf file did you try a:

    Code:
    cat /etc/squid/squid.conf
    If you want to edit the file do this:

    Code:
    sudo nano /etc/squid/squid.conf
    After making changes do a ctl+o (that's the letter o) and hit enter to save the file. It's a good idea to make a copy before you start editing. Good luck!

    Oh, and it would be a good idea to change the permissions on the squid.conf file back to what they were after you finish editing. Leaving them world writable is not a good idea.

    -Tim
    Last edited by windependence; June 24th, 2008 at 06:29 PM. Reason: Add permissions instructions
    www.pcchopshop.net

    Hard to find and obsolete PC and server parts. "If we can't find it, it probably doesn't exist"

  3. #3
    Join Date
    Feb 2008
    Beans
    16

    Re: squid on 8.04

    yes i had to edit squid.conf to set visible_hostname

  4. #4
    Join Date
    Feb 2008
    Beans
    16

    Re: squid on 8.04

    thanx windependence your tip worked

    i can see it is running but still no pid and no open ports.

  5. #5
    Join Date
    May 2007
    Location
    Phoenix, Arizona USA
    Beans
    2,909
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: squid on 8.04

    You should get a PID # when you do the ps command. can you post the ouput of:

    ps aux | grep vsftpd

    -Tim
    www.pcchopshop.net

    Hard to find and obsolete PC and server parts. "If we can't find it, it probably doesn't exist"

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •